Skip to content

Commit

Permalink
chore: release main (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored Aug 10, 2023
1 parent 1486de0 commit b86348e
Show file tree
Hide file tree
Showing 34 changed files with 92 additions and 66 deletions.
4 changes: 2 additions & 2 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages/ui5-cc-spreadsheetimporter": "0.23.1",
"packages/ui5-cc-spreadsheetimporter-button": "0.10.2",
"packages/ui5-cc-spreadsheetimporter": "0.24.0",
"packages/ui5-cc-spreadsheetimporter-button": "0.10.3",
"packages/ui5-cc-spreadsheetimporter-generator": "0.4.1"
}
8 changes: 4 additions & 4 deletions docs/pages/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ https://www.npmjs.com/package/ui5-cc-spreadsheetimporter-button?activeTab=code

````json
"resourceRoots": {
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1"
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0"
},
````

Expand All @@ -57,7 +57,7 @@ https://www.npmjs.com/package/ui5-cc-spreadsheetimporter-button?activeTab=code
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
````
Expand All @@ -69,7 +69,7 @@ https://www.npmjs.com/package/ui5-cc-spreadsheetimporter-button?activeTab=code
controllerName="sap.ui.demo.walkthrough.controller.HelloPanel"
xmlns="sap.m"
xmlns:mvc="sap.ui.core.mvc"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_2">
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_3">
...
</mvc:View>
````
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.24.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.23.1...ui5-cc-spreadsheetimporter-v0.24.0) (2023-08-10)


### Features

* use odataType to create data for other entity ([#334](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/334)) ([7330ebb](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/7330ebbd6ed89db1bf483f3aea97afe735edf821))

## [0.23.1](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.23.0...ui5-cc-spreadsheetimporter-v0.23.1) (2023-08-03)


Expand Down
6 changes: 6 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTERBUTTON.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.23.0 to 0.23.1

### Dependencies

* The following workspace dependencies were updated
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.23.1 to 0.24.0

## [0.10.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-button-v0.9.2...ui5-cc-spreadsheetimporter-button-v0.10.0) (2023-07-12)


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

````json
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0"
},
````

Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
````
Expand All @@ -76,7 +76,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
````
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ As a alternative, try to select all messages and copy them to a text file.
A error similar to the following:

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

Since the component is designed to always use a specific version, this version must also be used after an update.
Expand All @@ -61,11 +61,11 @@ See below the configurations for this version:
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0"
},
```

Expand Down
6 changes: 3 additions & 3 deletions docs/pages/Typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Add the component usage and the resource roots to the manifest.json as described
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0"
},
```
### Custom Action
Expand All @@ -35,7 +35,7 @@ This is a example how you could create the component and attach a event handler


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

Expand Down
6 changes: 3 additions & 3 deletions examples/packages/ordersv2fe/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"routing": {
"config": {},
Expand Down
6 changes: 3 additions & 3 deletions examples/packages/ordersv2fenondraft/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"routing": {
"config": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"routing": {
"config": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="sap.m"
xmlns:semantic="sap.f.semantic"
xmlns:mvc="sap.ui.core.mvc"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_3"
>
<semantic:SemanticPage id="detailPage" busy="{detailView>/busy}" busyIndicatorDelay="{detailView>/delay}" showFooter="true">
<semantic:titleHeading>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="sap.m"
xmlns:semantic="sap.f.semantic"
xmlns:mvc="sap.ui.core.mvc"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_3"
>
<semantic:SemanticPage id="listPage" preserveHeaderStateOnScroll="true" toggleHeaderOnTitleClick="false">
<semantic:titleHeading>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="sap.m"
xmlns:semantic="sap.f.semantic"
xmlns:mvc="sap.ui.core.mvc"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_3"
>
<semantic:SemanticPage id="detailPage2" busy="{detailView>/busy}" busyIndicatorDelay="{detailView>/delay}" showFooter="true">
<semantic:titleHeading>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"routing": {
"config": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="sap.m"
xmlns:semantic="sap.f.semantic"
xmlns:mvc="sap.ui.core.mvc"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_3"
>
<semantic:SemanticPage id="detailPage" busy="{detailView>/busy}" busyIndicatorDelay="{detailView>/delay}" showFooter="true">
<semantic:titleHeading>
Expand Down
6 changes: 3 additions & 3 deletions examples/packages/ordersv4fe/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"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_23_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_24_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_23_1.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_24_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_23_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_24_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_23_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_24_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_23_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_24_0/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
/**
Expand Down
6 changes: 3 additions & 3 deletions examples/packages/ordersv4fets/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"routing": {
"routes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
xmlns:macros="sap.fe.macros"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_3"
xmlns:html="http://www.w3.org/1999/xhtml"
controllerName="ui.v4.ordersv4fpm.ext.main.Main"
>
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 @@ -92,12 +92,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"routing": {
"config": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_23_1"
"name": "cc.spreadsheetimporter.v0_24_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_23_1": "./thirdparty/customControl/spreadsheetImporter/v0_23_1",
"cc.spreadsheetimporter.button.v0_10_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_2"
"cc.spreadsheetimporter.v0_24_0": "./thirdparty/customControl/spreadsheetImporter/v0_24_0",
"cc.spreadsheetimporter.button.v0_10_3": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_3"
},
"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_23_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_24_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_23_1.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_24_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_23_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_24_0.SpreadsheetDialog",
success: function (dialog) {
Opa5.getContext().component.setDecimalSeparator(decimalSeparator);
// Call 'normalizeNumberString' method and check its output
Expand Down
6 changes: 6 additions & 0 deletions packages/ui5-cc-spreadsheetimporter-button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.23.0 to 0.23.1

### Dependencies

* The following workspace dependencies were updated
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.23.1 to 0.24.0

## [0.10.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-button-v0.9.2...ui5-cc-spreadsheetimporter-button-v0.10.0) (2023-07-12)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sap.ui.define(["sap/m/Button"], (Button) => {
return Button.extend("cc.spreadsheetimporter.button.v0_10_2.SpreadsheetUpload", {
return Button.extend("cc.spreadsheetimporter.button.v0_10_3.SpreadsheetUpload", {
metadata: {
properties: {
text: { type: "string", defaultValue: "Spreadsheet Upload" },
Expand Down
Loading

0 comments on commit b86348e

Please sign in to comment.