Skip to content

Commit

Permalink
chore: release main (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored Jul 12, 2023
1 parent 278447d commit ad72828
Show file tree
Hide file tree
Showing 32 changed files with 93 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.21.2",
"packages/ui5-cc-spreadsheetimporter-button": "0.9.2",
"packages/ui5-cc-spreadsheetimporter": "0.22.0",
"packages/ui5-cc-spreadsheetimporter-button": "0.10.0",
"packages/ui5-cc-spreadsheetimporter-generator": "0.4.0"
}
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_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2"
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_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_21_2"
"name": "cc.spreadsheetimporter.v0_22_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_9_2">
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_0">
...
</mvc:View>
````
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_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0"
},
````

Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
````
Expand All @@ -76,7 +76,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_21_2"
"name": "cc.spreadsheetimporter.v0_22_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_21_2/Component.js' from resources/cc/spreadsheetimporter/v0_21_2/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_22_0/Component.js' from resources/cc/spreadsheetimporter/v0_22_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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_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$CheckBeforeReadEventParameters } from "cc/spreadsheetimporter/v0_21_2/Component";
import Component, { Component$CheckBeforeReadEventParameters } from "cc/spreadsheetimporter/v0_22_0/Component";

export async function openSpreadsheetUploadDialog(this: ExtensionAPI) {
const view = this.getRouting().getView();
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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
},
"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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
},
"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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
},
"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_9_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_0"
>
<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_9_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_0"
>
<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_9_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_0"
>
<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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
},
"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_9_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_0"
>
<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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_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_21_2.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_22_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_21_2.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_22_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_21_2.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_22_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$CheckBeforeReadEventParameters } from "cc/spreadsheetimporter/v0_21_2/Component";
import Component, { Component$CheckBeforeReadEventParameters } from "cc/spreadsheetimporter/v0_22_0/Component";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
import Event from "sap/ui/base/Event";
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component, { Component$CheckBeforeReadEventParameters } from "cc/spreadsheetimporter/v0_21_2/Component";
import Component, { Component$CheckBeforeReadEventParameters } from "cc/spreadsheetimporter/v0_22_0/Component";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
import Event from "sap/ui/base/Event";
/**
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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
},
"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_9_2"
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_0"
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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
},
"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_21_2"
"name": "cc.spreadsheetimporter.v0_22_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_21_2": "./thirdparty/customControl/spreadsheetImporter/v0_21_2",
"cc.spreadsheetimporter.button.v0_9_2": "./thirdparty/customControl/spreadsheetImporterButton/v0_9_2"
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_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_21_2.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_22_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_21_2.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_22_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_21_2.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_22_0.SpreadsheetDialog",
success: function (dialog) {
Opa5.getContext().component.setDecimalSeparator(decimalSeparator);
// Call 'normalizeNumberString' method and check its output
Expand Down
14 changes: 14 additions & 0 deletions packages/ui5-cc-spreadsheetimporter-button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.21.0 to 0.21.1

## [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)


### Features

* new option, add your own `sampleData` ([#318](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/318)) ([24cef4f](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/24cef4f95944cbb2347b3474fe20c09f6ff3cee6))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.21.2 to 0.22.0

## [0.9.2](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-button-v0.9.1...ui5-cc-spreadsheetimporter-button-v0.9.2) (2023-07-03)


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_9_2.SpreadsheetUpload", {
return Button.extend("cc.spreadsheetimporter.button.v0_10_0.SpreadsheetUpload", {
metadata: {
properties: {
text: { type: "string", defaultValue: "Spreadsheet Upload" },
Expand Down
4 changes: 2 additions & 2 deletions packages/ui5-cc-spreadsheetimporter-button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui5-cc-spreadsheetimporter-button",
"version": "0.9.2",
"version": "0.10.0",
"description": "A UI5 Button to integrate a Spreadsheet Upload for Fiori Element Apps.",
"main": "SpreadsheetUpload.js",
"scripts": {
Expand All @@ -24,7 +24,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"ui5-cc-spreadsheetimporter": "0.21.2"
"ui5-cc-spreadsheetimporter": "0.22.0"
},
"devDependencies": {
"eslint": "^8.44.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui5-cc-spreadsheetimporter-button/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
resources:
configuration:
paths:
/thirdparty/customControl/spreadsheetImporterButton/v0_9_2/: ./
/thirdparty/customControl/spreadsheetImporterButton/v0_10_0/: ./
Loading

0 comments on commit ad72828

Please sign in to comment.