Skip to content

Commit

Permalink
chore: release main
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored and npm-robot committed May 16, 2024
1 parent 9f7caef commit 145e7de
Show file tree
Hide file tree
Showing 26 changed files with 101 additions and 87 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packages/ui5-cc-spreadsheetimporter": "0.34.1",
"packages/ui5-cc-spreadsheetimporter": "0.35.0",
"packages/ui5-cc-spreadsheetimporter-generator": "0.6.0"
}
10 changes: 5 additions & 5 deletions docs/pages/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ npm install ui5-cc-spreadsheetimporter
⚠️ You must always keep your `ui5-cc-spreadsheetimporter` and button version up to date here when updating the module.

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
}
```

Expand All @@ -52,7 +52,7 @@ npm install ui5-cc-spreadsheetimporter
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_34_1": {}
"cc.spreadsheetimporter.v0_35_0": {}
}
}
```
Expand All @@ -64,7 +64,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
}
```
Expand Down Expand Up @@ -134,7 +134,7 @@ A sample configuration can be found in the manifest.json of the [OData V4 Fiori
"customSectionReuse": {
"title": "Spreadsheet Upload",
"embeddedComponent": {
"name": "cc.spreadsheetimporter.v0_34_1",
"name": "cc.spreadsheetimporter.v0_35_0",
"settings": {
"tableId": "ui.v4.ordersv4fe::OrdersObjectPage--fe::table::Items::LineItem-innerTable"
}
Expand Down
7 changes: 7 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTER.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.35.0](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.34.1...ui5-cc-spreadsheetimporter-v0.35.0) (2024-05-16)


### Features

* new language portuguese by LLM translation ([#553](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/553)) ([76d246c](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/76d246c55cd0e533d35c6972b8c587bf78a056bc))

## [0.34.1](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.34.0...ui5-cc-spreadsheetimporter-v0.34.1) (2024-05-08)


Expand Down
18 changes: 9 additions & 9 deletions docs/pages/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ npm install ui5-cc-spreadsheetimporter

```json
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
}
```

Expand All @@ -63,7 +63,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
}
```
Expand All @@ -75,12 +75,12 @@ If you deploy your app to a SAP System (S/4 On-Premise or SAP BTP ABAP environme
To avoid this error, you can add the following to your `manifest.json` file:

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"sap.app": {
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_34_1"]
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_35_0"]
}
```

Expand All @@ -95,7 +95,7 @@ To avoid this error, you can add the following to your `manifest.json` file:
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
}
```
Expand Down Expand Up @@ -272,7 +272,7 @@ openSpreadsheetUploadDialog: async function (oEvent) {
context: this,
},
url: "/sap/bc/ui5_ui5/sap/Z_XUP_v0_33_2",
name: "cc.spreadsheetimporter.v0_34_1"
name: "cc.spreadsheetimporter.v0_35_0"
});
this.spreadsheetUpload.openSpreadsheetUploadDialog();
this.getView().setBusy(false);
Expand All @@ -283,17 +283,17 @@ This is alternative to using resourceRoots in the manifest.json when you don't h

#### Error: library/component used in application does not exist

When deploying the app to your ABAP system, you may get an error like this: `SAPUI5 library/component cc.spreadsheetimporter.v0_34_1 used in application Z*** does not exist`. The application is deployed, but the service returns an error.
When deploying the app to your ABAP system, you may get an error like this: `SAPUI5 library/component cc.spreadsheetimporter.v0_35_0 used in application Z*** does not exist`. The application is deployed, but the service returns an error.

To avoid this error, you can add the following to your `manifest.json` file:

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"sap.app": {
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_34_1"]
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_35_0"]
}
```

Expand Down
8 changes: 4 additions & 4 deletions docs/pages/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Alternatively, you can try selecting all the messages and copying them to a text
If you receive an error similar to the following:

```
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_34_1/Component.js' from resources/cc/spreadsheetimporter/v0_34_1/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_35_0/Component.js' from resources/cc/spreadsheetimporter/v0_35_0/Component.js: script load error
```

Since the component is designed to always use a specific version, you must ensure that the correct version is used after an update.
Expand All @@ -59,16 +59,16 @@ See the configurations for this version below:
### manifest.json

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
}
```
8 changes: 4 additions & 4 deletions docs/pages/Typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ You can consume the types from the `@sapui5/ts-types-esm` and the `ui5-cc-spread
Add the component usage and the resource roots to the manifest.json as described in the [Getting Started](GettingStarted.md) section.

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.

```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
```

Expand All @@ -38,7 +38,7 @@ Add the component usage and the resource roots to the manifest.json as described
This is an example of how you could create the component and attach an event handler to the `checkBeforeRead` event with the types `Component` and `Component$CheckBeforeReadEventParameters` for the event parameters with an OData V4 Fiori Elements Application and UI5 Version 1.116.

```typescript
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_34_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_35_0/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";

Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv2fe/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"config": {},
Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv2fenondraft/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"config": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_34_1": {}
"cc.spreadsheetimporter.v0_35_0": {}
}
},
"contentDensities": {
Expand All @@ -79,14 +79,14 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1",
"name": "cc.spreadsheetimporter.v0_35_0",
"settings": {},
"componentData": {},
"lazy": false
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"config": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_34_1": {}
"cc.spreadsheetimporter.v0_35_0": {}
}
},
"contentDensities": {
Expand All @@ -79,11 +79,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"config": {
Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv4fe/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"routes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ sap.ui.require(
errorMessage: "Can not select 'sap.m.Button'"
});
Then.waitFor({
controlType: "cc.spreadsheetimporter.v0_34_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_35_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_34_1.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_35_0.Util;
console.log("Util", util);
Opa5.getContext().util = util;
Opa5.getContext().component = dialog[0].getComponent();
Expand Down Expand Up @@ -71,7 +71,7 @@ sap.ui.require(

function testNormalizeNumberString(Then, decimalSeparator, input, expectedOutput) {
Then.waitFor({
controlType: "cc.spreadsheetimporter.v0_34_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_35_0.SpreadsheetDialog",
success: function (dialog) {
Opa5.getContext().component.setDecimalSeparator(decimalSeparator);
// Call 'normalizeNumberString' method and check its output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_34_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_35_0/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_34_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_35_0/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
/**
Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv4fets/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"routes": [
Expand Down
6 changes: 3 additions & 3 deletions examples/packages/ordersv4fpm/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"sap.fe.templates": {}
},
"components": {
"cc.spreadsheetimporter.v0_34_1": {}
"cc.spreadsheetimporter.v0_35_0": {}
}
},
"contentDensities": {
Expand Down Expand Up @@ -95,11 +95,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_1"
"name": "cc.spreadsheetimporter.v0_35_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
"cc.spreadsheetimporter.v0_35_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_35_0"
},
"routing": {
"config": {},
Expand Down
7 changes: 7 additions & 0 deletions packages/ui5-cc-spreadsheetimporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.35.0](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.34.1...ui5-cc-spreadsheetimporter-v0.35.0) (2024-05-16)


### Features

* new language portuguese by LLM translation ([#553](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/553)) ([76d246c](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/76d246c55cd0e533d35c6972b8c587bf78a056bc))

## [0.34.1](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.34.0...ui5-cc-spreadsheetimporter-v0.34.1) (2024-05-08)


Expand Down
Loading

0 comments on commit 145e7de

Please sign in to comment.