Skip to content

Commit

Permalink
chore: release main (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored Aug 3, 2023
1 parent 50b21c3 commit 5c0b1d3
Show file tree
Hide file tree
Showing 32 changed files with 117 additions and 63 deletions.
6 changes: 3 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages/ui5-cc-spreadsheetimporter": "0.22.0",
"packages/ui5-cc-spreadsheetimporter-button": "0.10.0",
"packages/ui5-cc-spreadsheetimporter-generator": "0.4.0"
"packages/ui5-cc-spreadsheetimporter": "0.23.0",
"packages/ui5-cc-spreadsheetimporter-button": "0.10.1",
"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_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0"
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_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_22_0"
"name": "cc.spreadsheetimporter.v0_23_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_0">
xmlns:spreadsheet="cc.spreadsheetimporter.button.v0_10_1">
...
</mvc:View>
````
Expand Down
14 changes: 14 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTER.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

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


### Features

* add progress indicator for large files ([#327](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/327)) ([3bcfc26](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/3bcfc262dfdc75b8364aadbb37cacf84ad589fa8))
* improve tablechooser ([#326](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/326)) ([268a1a7](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/268a1a7606624c7d5d326a1192c09c4f58b7dc9b))
* new TableChooser if multiple tables in view ([#325](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/325)) ([bfe5096](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/bfe509691e6859f3aeb67a3c74cbe4ab62bd529f))


### Bug Fixes

* rename tableChooser to tableSelector ([#328](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/328)) ([50b21c3](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/50b21c33fa48b44ecaf5b5720ca4775ad8426ba2))

## [0.22.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.21.2...ui5-cc-spreadsheetimporter-v0.22.0) (2023-07-12)


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

### Dependencies

* The following workspace dependencies were updated
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.22.0 to 0.23.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
7 changes: 7 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTERGENERATOR.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.4.1](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/generator-ui5-spreadsheetimporter-v0.4.0...generator-ui5-spreadsheetimporter-v0.4.1) (2023-08-03)


### Bug Fixes

* remove spreadsheet button from list report template ([#322](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/322)) ([85aa4c1](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/85aa4c1b3602825b83c71fd2d1e175bd6f69c9d4))

## [0.4.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/generator-ui5-spreadsheetimporter-v0.3.0...generator-ui5-spreadsheetimporter-v0.4.0) (2023-06-30)


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_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0"
},
````

Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
````
Expand All @@ -76,7 +76,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_22_0"
"name": "cc.spreadsheetimporter.v0_23_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_22_0/Component.js' from resources/cc/spreadsheetimporter/v0_22_0/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_23_0/Component.js' from resources/cc/spreadsheetimporter/v0_23_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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_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_22_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_23_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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"routing": {
"config": {
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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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_22_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_23_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_22_0.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_23_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_22_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_23_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_22_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_23_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_22_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_23_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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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 @@ -92,12 +92,12 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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_22_0"
"name": "cc.spreadsheetimporter.v0_23_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_22_0": "./thirdparty/customControl/spreadsheetImporter/v0_22_0",
"cc.spreadsheetimporter.button.v0_10_0": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_0"
"cc.spreadsheetimporter.v0_23_0": "./thirdparty/customControl/spreadsheetImporter/v0_23_0",
"cc.spreadsheetimporter.button.v0_10_1": "./thirdparty/customControl/spreadsheetImporterButton/v0_10_1"
},
"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_22_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_23_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_22_0.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_23_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_22_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_23_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 @@ -78,6 +78,12 @@
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.21.0 to 0.21.1

### Dependencies

* The following workspace dependencies were updated
* dependencies
* ui5-cc-spreadsheetimporter bumped from 0.22.0 to 0.23.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_0.SpreadsheetUpload", {
return Button.extend("cc.spreadsheetimporter.button.v0_10_1.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.10.0",
"version": "0.10.1",
"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.22.0"
"ui5-cc-spreadsheetimporter": "0.23.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_10_0/: ./
/thirdparty/customControl/spreadsheetImporterButton/v0_10_1/: ./
Loading

0 comments on commit 5c0b1d3

Please sign in to comment.