From 00718afb73da756e132f76a7a6f1e1551eb6acee Mon Sep 17 00:00:00 2001 From: Johannes Doberer Date: Wed, 10 Jul 2024 11:46:51 +0200 Subject: [PATCH] Update fiddle deps (#3809) --- website/fiddle/package-lock.json | 130 ++++++++++----------- website/fiddle/package.json | 14 +-- website/fiddle/public/wc/luigiExampleWC.js | 15 ++- 3 files changed, 81 insertions(+), 78 deletions(-) diff --git a/website/fiddle/package-lock.json b/website/fiddle/package-lock.json index a7072869fc..e63f7b6851 100644 --- a/website/fiddle/package-lock.json +++ b/website/fiddle/package-lock.json @@ -6,14 +6,14 @@ "": { "name": "luigi-fiddle", "dependencies": { - "@luigi-project/client": "2.13.0", + "@luigi-project/client": "2.14.0", "@luigi-project/container": "1.1.0", - "@luigi-project/core": "2.13.0", - "@luigi-project/plugin-auth-oauth2": "2.13.0", - "@luigi-project/plugin-auth-oidc": "2.13.0", - "@ui5/webcomponents": "^1.24.3", - "@ui5/webcomponents-fiori": "^1.24.3", - "ace-builds": "^1.33.3", + "@luigi-project/core": "2.14.0", + "@luigi-project/plugin-auth-oauth2": "2.14.0", + "@luigi-project/plugin-auth-oidc": "2.14.0", + "@ui5/webcomponents": "^2.0.1", + "@ui5/webcomponents-fiori": "^2.0.1", + "ace-builds": "^1.35.2", "fs-extra": "^11.2.0", "fundamental-styles": "0.23.0" }, @@ -126,9 +126,9 @@ "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==" }, "node_modules/@luigi-project/client": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@luigi-project/client/-/client-2.13.0.tgz", - "integrity": "sha512-LhezY1XfqWeH4Avas9Ari3hztIQC2R0b1u1CtjQVv4Q7VarCMQC5LST9RhVmGVrGhpXn3koRzSsnuqbBzKOC3Q==" + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@luigi-project/client/-/client-2.14.0.tgz", + "integrity": "sha512-eLaQV3/iGT6yFyQEuoOa/FrySp4nP9Vx+ePf60vpss1/CZx9sDQTdeDAfyTGL/7XzamjiB0pb3u4yCg90t7AWg==" }, "node_modules/@luigi-project/container": { "version": "1.1.0", @@ -136,19 +136,19 @@ "integrity": "sha512-mGI7AMwnw4Alg270kWavKji8UmAUCQ1YbQcstp4Nf6alvPfCbIjrQXmvu+UMl/Ui980Auo+Bk/XjsqIzwtztZQ==" }, "node_modules/@luigi-project/core": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@luigi-project/core/-/core-2.13.0.tgz", - "integrity": "sha512-JhvuLun8gIzjfxwd2fPEGZzN3iHA2y+k2Dh2gbus5oG/KCtl5J4v8gqI4C4p7rN7RtTGbObQh18rSY/+b5bfdw==" + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@luigi-project/core/-/core-2.14.0.tgz", + "integrity": "sha512-YuCKNAt4waqTMCspfDYAx9ijg5uf/Y9vwI4eNollK2UxObWx2Iom5zprbBXrC4RLmoc9IXk+oC7+1WIDelLW6w==" }, "node_modules/@luigi-project/plugin-auth-oauth2": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@luigi-project/plugin-auth-oauth2/-/plugin-auth-oauth2-2.13.0.tgz", - "integrity": "sha512-YvRa7Ym0tN6mEpVSxHmRZ5L89ixFwE6NCXEfnUqtnqhSDmCB5U642oi3tYHPXnU4cjXkJwPWHmpNjaB2goNtXA==" + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@luigi-project/plugin-auth-oauth2/-/plugin-auth-oauth2-2.14.0.tgz", + "integrity": "sha512-L9NlKb9wctCNCtEhwq4kbXr6pQCQ0J1gaeaHZXBAi6GeesqPERPf62kbK0uuBTRgvmKTwX5pE7BbJflSooi+1A==" }, "node_modules/@luigi-project/plugin-auth-oidc": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@luigi-project/plugin-auth-oidc/-/plugin-auth-oidc-2.13.0.tgz", - "integrity": "sha512-DyXVCaJ1W5Je8SStjJRG/r528kTi5sjwZe56VsCR6cR9JwNmU41iFSB0TWrb6bL/+KJmRttfhkX3X9aRWcUMMw==" + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@luigi-project/plugin-auth-oidc/-/plugin-auth-oidc-2.14.0.tgz", + "integrity": "sha512-KRP9Y3G1xR2AzakC2bCWU3BT9ZKwE1cMZLfDa0Jr4xMIoi2eu91/Hh0N3vrK161GsU5c8XaXSLzvpdMmENIaJw==" }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -332,9 +332,9 @@ } }, "node_modules/@types/openui5": { - "version": "1.124.0", - "resolved": "https://registry.npmjs.org/@types/openui5/-/openui5-1.124.0.tgz", - "integrity": "sha512-lRn2aXgmgScvQfmeVEnqWWQSG5mXBmVcyB7Llb/PqTgGNu16ykXUkRqYxfG9YE6I5GPWRDR46GGn1HZ5T5pOJQ==", + "version": "1.125.0", + "resolved": "https://registry.npmjs.org/@types/openui5/-/openui5-1.125.0.tgz", + "integrity": "sha512-h5pToE9nEj5xSH21gXyWnO4iDdk3N1BN09WGw7YSFDpJyeqPlYLLmYaYm7N69qwm3XfjGyVfLzDqAUheqOEWUA==", "dependencies": { "@types/jquery": "~3.5.13", "@types/qunit": "^2.5.4" @@ -422,79 +422,79 @@ } }, "node_modules/@ui5/webcomponents": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents/-/webcomponents-1.24.3.tgz", - "integrity": "sha512-TqxmuW2Qq4UIhvERA9WcQYpuPCGw7+PxMjL2J6Ck9G2rV5MtRpR0EGITUmvwhfXPz/pYYZWRM/sq7tJhWaQN0g==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents/-/webcomponents-2.0.1.tgz", + "integrity": "sha512-+TLTH7PUYbThx/47NIEJLrMo/NnaIUIbgTQnWEkPjWH92YGnCQQh/je6Ml4E+vkUVwcEGzb1fTDIB3alHhVctQ==", "dependencies": { - "@ui5/webcomponents-base": "1.24.3", - "@ui5/webcomponents-icons": "1.24.3", - "@ui5/webcomponents-icons-business-suite": "1.24.3", - "@ui5/webcomponents-icons-tnt": "1.24.3", - "@ui5/webcomponents-localization": "1.24.3", - "@ui5/webcomponents-theming": "1.24.3" + "@ui5/webcomponents-base": "2.0.1", + "@ui5/webcomponents-icons": "2.0.1", + "@ui5/webcomponents-icons-business-suite": "2.0.1", + "@ui5/webcomponents-icons-tnt": "2.0.1", + "@ui5/webcomponents-localization": "2.0.1", + "@ui5/webcomponents-theming": "2.0.1" } }, "node_modules/@ui5/webcomponents-base": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-base/-/webcomponents-base-1.24.3.tgz", - "integrity": "sha512-IcaeA99kAZHOzcObmrlyd9YyH5F0LS8f3TnPCDHB0+KEqvZWagu5kuAJEaLDq/Ih1BWn4nbOkYevY+QttGd1fw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-base/-/webcomponents-base-2.0.1.tgz", + "integrity": "sha512-jdoUmPbZxMTjyx4MOjCFrxz1OCV/dIBiB/4mas4BkiZLV+jYc/jrPSckdko39KR1m152pIN1n1RxtxWa3S1cPA==", "dependencies": { "@lit-labs/ssr-dom-shim": "^1.1.2", "lit-html": "^2.0.1" } }, "node_modules/@ui5/webcomponents-fiori": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-fiori/-/webcomponents-fiori-1.24.3.tgz", - "integrity": "sha512-mCcBgDCr958fWa8vQDMngOt++88SjyCDO4LMx6zhj1+wSn3aDrPTPhqFsNZdTSP8h19SvDFzHBnSpEiwy1ka2Q==", - "dependencies": { - "@ui5/webcomponents": "1.24.3", - "@ui5/webcomponents-base": "1.24.3", - "@ui5/webcomponents-icons": "1.24.3", - "@ui5/webcomponents-theming": "1.24.3", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-fiori/-/webcomponents-fiori-2.0.1.tgz", + "integrity": "sha512-o+txrbWlY7TonPfw/5adUYma5imJBDDP0M4IuJnsfp8CiZEh0gKn+07C2M3PaIwcIaRmYnTfqa4A3mj8zyQqSg==", + "dependencies": { + "@ui5/webcomponents": "2.0.1", + "@ui5/webcomponents-base": "2.0.1", + "@ui5/webcomponents-icons": "2.0.1", + "@ui5/webcomponents-theming": "2.0.1", "@zxing/library": "^0.17.1" } }, "node_modules/@ui5/webcomponents-icons": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons/-/webcomponents-icons-1.24.3.tgz", - "integrity": "sha512-bitVWqyHIRnOFJ/oymAvPWX8mXsL6vy9UUUsW3eWiLeEnD22T9C+BBZISe2ziKT1TZ5kO/XW7MiYVr+5V9hEZA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons/-/webcomponents-icons-2.0.1.tgz", + "integrity": "sha512-dRSB3722pdQG3+ciKhGlJpU/nlnAQ63SgJ2PKXlIXvcbgc8BMRprasfz7Y7l9ZRsAMZZ2TVO3PUhLNMkZS6vlg==", "dependencies": { - "@ui5/webcomponents-base": "1.24.3" + "@ui5/webcomponents-base": "2.0.1" } }, "node_modules/@ui5/webcomponents-icons-business-suite": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons-business-suite/-/webcomponents-icons-business-suite-1.24.3.tgz", - "integrity": "sha512-A72Gm8p6AVKBbsCxol+QknDYYGmzb/bxIl3fjt+KG60er0xmeBkDi4ef/Sj/Gu8AkM2dfBZx6NWmSHfIAfBpTw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons-business-suite/-/webcomponents-icons-business-suite-2.0.1.tgz", + "integrity": "sha512-OQsLFFMlJWuj7ENFg7ZT1fiEpEqSWPnQ7I/EIIqPyBWjpgvDb84vzOv+c2Hou2DpNB/dGH0gAGmkWJnDHealYw==", "dependencies": { - "@ui5/webcomponents-base": "1.24.3" + "@ui5/webcomponents-base": "2.0.1" } }, "node_modules/@ui5/webcomponents-icons-tnt": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons-tnt/-/webcomponents-icons-tnt-1.24.3.tgz", - "integrity": "sha512-yL4Jevs1v2BvzUI4eEKSzfnnca5j4xjLMmjTUdiqcSxy/D3gQaXVa+GT/SB3xDB+aYBaNoBhFo5BmdfpJAkb5Q==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons-tnt/-/webcomponents-icons-tnt-2.0.1.tgz", + "integrity": "sha512-/4QwEYZ0UfJRrRhG7o4kAjoFZ2Wy8bEThq+ZTV1afqJWCiPDcrKZKhPqIEOCHIE1y2TMjmo/w7UIZSIBGF81oQ==", "dependencies": { - "@ui5/webcomponents-base": "1.24.3" + "@ui5/webcomponents-base": "2.0.1" } }, "node_modules/@ui5/webcomponents-localization": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-localization/-/webcomponents-localization-1.24.3.tgz", - "integrity": "sha512-GIfq4rcIh0QxCT8Lbv2hzVOn28U4StbOIchITkG7cIcJ7zdjLw7soaQ6C2Z0GxF3tuW4wcs4DC1m75/EmvCePQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-localization/-/webcomponents-localization-2.0.1.tgz", + "integrity": "sha512-GHtpC9Ayo4Nha2nRgUfc6dnz8qAmj73ldCfWBh2arcDQ6VY7ZdI5d6mSTPQeNn9/5ZzvtDccJScN+IMO1z169g==", "dependencies": { "@types/openui5": "^1.113.0", - "@ui5/webcomponents-base": "1.24.3" + "@ui5/webcomponents-base": "2.0.1" } }, "node_modules/@ui5/webcomponents-theming": { - "version": "1.24.3", - "resolved": "https://registry.npmjs.org/@ui5/webcomponents-theming/-/webcomponents-theming-1.24.3.tgz", - "integrity": "sha512-qK61VHAuEoSjgE0iktr5BuL0yzUCl35H1CZwwgvCNxsntCr0ed0qMu7/elZTmm0dX40b5cB8Ea3hgy9CuRLrpw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@ui5/webcomponents-theming/-/webcomponents-theming-2.0.1.tgz", + "integrity": "sha512-HdofJMU8xPDWReq3zjj6kW0HM3rvXfDm5lhIi3cFkqxZJN0nxY4nVCdIIrwzROxYNupeMmYvnj776B3GsAoAwQ==", "dependencies": { "@sap-theming/theming-base-content": "11.12.0", - "@ui5/webcomponents-base": "1.24.3" + "@ui5/webcomponents-base": "2.0.1" } }, "node_modules/@webassemblyjs/ast": { @@ -733,9 +733,9 @@ } }, "node_modules/ace-builds": { - "version": "1.33.3", - "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.33.3.tgz", - "integrity": "sha512-5/O4jgUKUrGo4lz+/aqiK9eYNr3/L1lvZvnBMuWodgfCG+eXNisXp4nw5MAW4HkIh0BB+GhALg2jRoZCvkdxyQ==" + "version": "1.35.2", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.35.2.tgz", + "integrity": "sha512-06d00u4jDZx+ieI0jLlgy/uefx8kcgz7lhI0mCIFEu8NVWirH00U5IEP7tePHy4sjPsRcJUH4VbJZacoit2Hng==" }, "node_modules/acorn": { "version": "8.11.3", diff --git a/website/fiddle/package.json b/website/fiddle/package.json index 5dfe68c14c..988c76dd8b 100644 --- a/website/fiddle/package.json +++ b/website/fiddle/package.json @@ -20,14 +20,14 @@ "dev": "node patch.js && node build_patch_ui5.js && webpack serve --static public" }, "dependencies": { - "@luigi-project/client": "2.13.0", - "@luigi-project/core": "2.13.0", - "@luigi-project/plugin-auth-oauth2": "2.13.0", - "@luigi-project/plugin-auth-oidc": "2.13.0", + "@luigi-project/client": "2.14.0", + "@luigi-project/core": "2.14.0", + "@luigi-project/plugin-auth-oauth2": "2.14.0", + "@luigi-project/plugin-auth-oidc": "2.14.0", "@luigi-project/container": "1.1.0", - "@ui5/webcomponents": "^1.24.3", - "@ui5/webcomponents-fiori": "^1.24.3", - "ace-builds": "^1.33.3", + "@ui5/webcomponents": "^2.0.1", + "@ui5/webcomponents-fiori": "^2.0.1", + "ace-builds": "^1.35.2", "fs-extra": "^11.2.0", "fundamental-styles": "0.23.0" }, diff --git a/website/fiddle/public/wc/luigiExampleWC.js b/website/fiddle/public/wc/luigiExampleWC.js index 5a10ac7a93..f523a6efa9 100644 --- a/website/fiddle/public/wc/luigiExampleWC.js +++ b/website/fiddle/public/wc/luigiExampleWC.js @@ -184,12 +184,15 @@ export default class luigiExampleWC extends HTMLElement { addConfirmationModal() { const button = this.shadowRoot.querySelector('#bConModal'); button.addEventListener('click', event => { - this.LuigiClient.uxManager().showConfirmationModal({ - header: 'Confirmation', - body: 'Are you sure you want to do this?', - buttonConfirm: 'Yes', - buttonDismiss: 'No' - }); + this.LuigiClient.uxManager() + .showConfirmationModal({ + header: 'Confirmation', + body: 'Are you sure you want to do this?', + buttonConfirm: 'Yes', + buttonDismiss: 'No' + }) + .then(() => console.log('Yes clicked')) + .catch(() => console.log('No clicked')); event.stopPropagation(); }); }