From 9fdbf0db2f25765aedb9bbfc0500590baeb8e95e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henry=20T=C3=A4schner?= <129834483+HenryT-CG@users.noreply.github.com> Date: Mon, 18 Nov 2024 06:32:06 +0100 Subject: [PATCH] fix: Angular setup: use output hashing (#431) * fix: use output hashing * fix: typo in detail * fix: update lib version * fix: finalize * fix: code cleanup --- angular.json | 11 +- package-lock.json | 430 ++++++++++++++---- package.json | 30 +- .../workspace-props.component.html | 2 +- .../menu-detail/menu-detail.component.ts | 2 +- src/styles.scss | 5 +- webpack.config.js | 3 +- 7 files changed, 354 insertions(+), 129 deletions(-) diff --git a/angular.json b/angular.json index 4673cf97..0c5597e3 100644 --- a/angular.json +++ b/angular.json @@ -5,7 +5,7 @@ "projects": { "onecx-workspace-ui": { "projectType": "application", - "schematics": {}, + "schematics": { "@schematics/angular:component": { "style": "scss" } }, "root": "", "sourceRoot": "src", "prefix": "app", @@ -29,14 +29,10 @@ "output": "/onecx-portal-lib/assets/" } ], - "styles": [ - "node_modules/primeicons/primeicons.css", - "node_modules/primeng/resources/primeng.min.css", - "node_modules/@onecx/portal-integration-angular/assets/styles.scss", - "src/styles.scss" - ], + "styles": ["src/styles.scss"], "scripts": ["node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"], "extraWebpackConfig": "webpack.config.js", + "outputHashing": "all", "commonChunk": false }, "configurations": { @@ -67,7 +63,6 @@ "with": "src/environments/environment.prod.ts" } ], - "outputHashing": "all", "extraWebpackConfig": "webpack.prod.config.js" } }, diff --git a/package-lock.json b/package-lock.json index 15649fe2..0b826ede 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,23 +20,23 @@ "@angular/platform-browser": "^18.2.6", "@angular/platform-browser-dynamic": "^18.2.6", "@angular/router": "^18.2.6", - "@ngneat/error-tailor": "^5.0.1", + "@ngneat/error-tailor": "5.0.1", "@ngneat/until-destroy": "^10.0.0", "@ngrx/effects": "^18.0.1", "@ngrx/router-store": "^18.0.1", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@onecx/accelerator": "^5.23.2", - "@onecx/angular-accelerator": "^5.23.2", - "@onecx/angular-auth": "^5.23.2", - "@onecx/angular-integration-interface": "^5.23.2", - "@onecx/angular-remote-components": "^5.23.2", - "@onecx/angular-testing": "^5.23.2", - "@onecx/angular-webcomponents": "^5.23.2", - "@onecx/integration-interface": "^5.23.2", - "@onecx/keycloak-auth": "^5.23.2", - "@onecx/portal-integration-angular": "^5.23.2", - "@onecx/portal-layout-styles": "^5.23.2", + "@onecx/accelerator": "^5.25.0", + "@onecx/angular-accelerator": "^5.25.0", + "@onecx/angular-auth": "^5.25.0", + "@onecx/angular-integration-interface": "^5.25.0", + "@onecx/angular-remote-components": "^5.25.0", + "@onecx/angular-testing": "^5.25.0", + "@onecx/angular-webcomponents": "^5.25.0", + "@onecx/integration-interface": "^5.25.0", + "@onecx/keycloak-auth": "^5.25.0", + "@onecx/portal-integration-angular": "^5.25.0", + "@onecx/portal-layout-styles": "^5.25.0", "@webcomponents/webcomponentsjs": "^2.8.0", "file-saver": "^2.0.5", "keycloak-angular": "^16.0.1", @@ -61,7 +61,7 @@ "@angular/language-service": "^18.2.6", "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", - "@openapitools/openapi-generator-cli": "^2.13.9", + "@openapitools/openapi-generator-cli": "^2.15.3", "@schematics/angular": "18.2.6", "@types/jasmine": "~5.1.4", "@types/node": "~22.6.1", @@ -73,7 +73,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-prettier": "^5.2.1", "husky": "^9.1.6", - "jasmine-core": "~5.2.0", + "jasmine-core": "~5.4.0", "jasmine-spec-reporter": "^7.0.0", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", @@ -84,7 +84,7 @@ "ng-packagr": "18.2.1", "ngx-build-plus": "^18.0.0", "ngx-translate-testing": "^7.0.0", - "postcss": "8.4.47", + "postcss": "8.4.49", "postcss-import": "~16.1.0", "postcss-preset-env": "~10.0.3", "postcss-url": "~10.1.3", @@ -5296,9 +5296,9 @@ } }, "node_modules/@nestjs/axios": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.0.3.tgz", - "integrity": "sha512-h6TCn3yJwD6OKqqqfmtRS5Zo4E46Ip2n+gK1sqwzNBC+qxQ9xpCu+ODVRFur6V3alHSCSBxb3nNtt73VEdluyA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-3.1.1.tgz", + "integrity": "sha512-ySoxrzqX80P1q6LKLKGcgyBd2utg4gbC+4FsJNpXYvILorMlxss/ECNogD9EXLCE4JS5exVFD5ez0nK5hXcNTQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -5308,9 +5308,9 @@ } }, "node_modules/@nestjs/common": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.3.tgz", - "integrity": "sha512-4hbLd3XIJubHSylYd/1WSi4VQvG68KM/ECYpMDqA3k3J1/T17SAg40sDoq3ZoO5OZgU0xuNyjuISdOTjs11qVg==", + "version": "10.4.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-10.4.6.tgz", + "integrity": "sha512-KkezkZvU9poWaNq4L+lNvx+386hpOxPJkfXBBeSMrcqBOx8kVr36TGN2uYkF4Ta4zNu1KbCjmZbc0rhHSg296g==", "dev": true, "license": "MIT", "dependencies": { @@ -5345,9 +5345,9 @@ "license": "0BSD" }, "node_modules/@nestjs/core": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", - "integrity": "sha512-6OQz+5C8mT8yRtfvE5pPCq+p6w5jDot+oQku1KzQ24ABn+lay1KGuJwcKZhdVNuselx+8xhdMxknZTA8wrGLIg==", + "version": "10.4.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.6.tgz", + "integrity": "sha512-zXVPxCNRfO6gAy0yvEDjUxE/8gfZICJFpsl2lZAUH31bPb6m+tXuhUq2mVCTEltyMYQ+DYtRe+fEYM2v152N1g==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -5399,6 +5399,8 @@ }, "node_modules/@ngneat/error-tailor": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ngneat/error-tailor/-/error-tailor-5.0.1.tgz", + "integrity": "sha512-7+07v9QNlV+OVCYTlJwuXpghr5oi/fjbkRpiV+BzfrDmpK8RBXYkQVwY38URfDdIlRe2EZW5Vie7phjIg8mvhg==", "license": "MIT", "dependencies": { "tslib": "2.5.0" @@ -5409,6 +5411,8 @@ }, "node_modules/@ngneat/error-tailor/node_modules/tslib": { "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", "license": "0BSD" }, "node_modules/@ngneat/until-destroy": { @@ -5835,9 +5839,9 @@ } }, "node_modules/@onecx/accelerator": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/accelerator/-/accelerator-5.23.2.tgz", - "integrity": "sha512-N+Nd39Bj0Z+J5mXGIsVod8cPFI9D/Cpiy5uet/7AXWUPnZ5Rzev3aNZxgq2a1GDNhAMJzCE9Yzc7K6yAgUgqqQ==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/accelerator/-/accelerator-5.25.0.tgz", + "integrity": "sha512-JsqbdOmSGesmOufi2hfGtWUn1Wa4Y/9nQxFtEjY17L68Vao8/+N6q8uA2N5i3AuLaIrSSUzh42X0p48lZJC8Pw==", "license": "Apache-2.0", "peerDependencies": { "rxjs": "^7.8.1", @@ -5845,9 +5849,9 @@ } }, "node_modules/@onecx/angular-accelerator": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/angular-accelerator/-/angular-accelerator-5.23.2.tgz", - "integrity": "sha512-AVoppHYdfhcZXzfbTGeWxT8DrZ/atwdM/5K4mZYPEGPl4qNItuD7SG3WlPPHg69lLeNImV7osVZwhYzAfVgnRQ==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/angular-accelerator/-/angular-accelerator-5.25.0.tgz", + "integrity": "sha512-xyg7KomwOes2+l2DumMyE+AdwOOqF87CzsvaHqITWwWHuiwM/EQzNYOTc4cfpxYmwkcwNIAb5DlFIMwMeNErgA==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5863,6 +5867,7 @@ "@ngx-translate/core": "^15.0.0", "@onecx/angular-integration-interface": "^5", "@onecx/angular-remote-components": "^5", + "@onecx/angular-testing": "^5", "@onecx/integration-interface": "^5", "chart.js": "^4.4.3", "d3-scale-chromatic": "^3.1.0", @@ -5871,9 +5876,9 @@ } }, "node_modules/@onecx/angular-auth": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/angular-auth/-/angular-auth-5.23.2.tgz", - "integrity": "sha512-2IHuC4AhBvst34CydSQsMX8fdXDHGOSfDo+AICv4gG9oCDgPNgr5JslnnCH+MV7L9Qhm38B7QDXvd72xxMEDJA==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/angular-auth/-/angular-auth-5.25.0.tgz", + "integrity": "sha512-aS/QEpDpTU+IdEfOmP5gGmZtT7wKOubCL0TbyYPyYHT7hAcN46ex4m/an/G1Gi0Aa5xOorjqMyatBq5Y8Pg8nw==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5890,9 +5895,9 @@ } }, "node_modules/@onecx/angular-integration-interface": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/angular-integration-interface/-/angular-integration-interface-5.23.2.tgz", - "integrity": "sha512-wJp/K56e8cIIq3hC6s7SNxG8RqzFFPFrWAQy07qyQBiP6RZZSU7ZwBl2C9kwl6qha0BEsSGxLeHf3vYDbMMN/Q==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/angular-integration-interface/-/angular-integration-interface-5.25.0.tgz", + "integrity": "sha512-kl6CYYsHHN9ZQso5HfUqDDBVRq4RSI26RJkbIukwtfZAA5n/UVpUwgHuqCB8bf4YM5NDddD3CIeZOwGsCL62hA==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5904,9 +5909,9 @@ } }, "node_modules/@onecx/angular-remote-components": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/angular-remote-components/-/angular-remote-components-5.23.2.tgz", - "integrity": "sha512-lp8ABPgd6v2xNh1Ii0OduQlnAC4HsOKOGaeqilPndp2vb+hUqvono9roBdZs5/AMhxHucXAIzDenrf7PY+5puw==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/angular-remote-components/-/angular-remote-components-5.25.0.tgz", + "integrity": "sha512-2O4ssGN6/fkwTq76UjlpbKhjqva3MOWaJj/smalHf7nxdVvaZfPSHaf4k3pB0FcpCwlfo7cfR3IbxCmZYjLsjg==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5921,9 +5926,9 @@ } }, "node_modules/@onecx/angular-testing": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/angular-testing/-/angular-testing-5.23.2.tgz", - "integrity": "sha512-LzYlMKLndkAWbHwAE04Cu6JWhjo9nkUbTNvNuzRihPhNWG4OMz1U95zcWe+a+j+rg+bXuHg8pbzZD6q03p9T/w==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/angular-testing/-/angular-testing-5.25.0.tgz", + "integrity": "sha512-bZmHn+v5tCRnWOouDTFZHf8YdF/D0KMWe5CpbFfz69BzJVBrJlH8aUi/8R8422rBIs4VkRacKBUXf3dpPwHLQw==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5934,9 +5939,9 @@ } }, "node_modules/@onecx/angular-webcomponents": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/angular-webcomponents/-/angular-webcomponents-5.23.2.tgz", - "integrity": "sha512-zKpJ/CG3NKpfZzQtQKjBacm/rD1DHm3CNXY62bIn5pxRnukDzfUfFwdGdq5BhnehdLoph084D+DTs3wT/0GBJw==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/angular-webcomponents/-/angular-webcomponents-5.25.0.tgz", + "integrity": "sha512-WJar1iplqB6yI2BQfUifK41Ib0hGIWvqlRnCv9qsvPVMNLpHfdIvWnz23E/+G9/UUmBJ6ZPTXlcx+gy15/osJQ==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5952,9 +5957,9 @@ } }, "node_modules/@onecx/integration-interface": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/integration-interface/-/integration-interface-5.23.2.tgz", - "integrity": "sha512-YFl4GGRPmvNtmiRYb0+evzB2gV+0tXDaUFT9QvoLBMco+jnVCh92hHO9qCn6wTvUtF2NC+GAOEtJqm/XLqe4fg==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/integration-interface/-/integration-interface-5.25.0.tgz", + "integrity": "sha512-sGywoPre6I8+c54qM1S7DLWfWUmLW9Q1rsmEwddeUfVB6VKHI5REgPJgo0LPf/8XmwvLzJNVIzRTYugn5F7aWw==", "license": "Apache-2.0", "peerDependencies": { "@onecx/accelerator": "^5", @@ -5963,9 +5968,9 @@ } }, "node_modules/@onecx/keycloak-auth": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/keycloak-auth/-/keycloak-auth-5.23.2.tgz", - "integrity": "sha512-7KOd+pEOt/kTHQpwD+LTJUYkgSk8F+rhDpIxrzsCgcznKX7NskHFyuAltak3fRDu++NEiYmv4prUwD36H1Wc6Q==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/keycloak-auth/-/keycloak-auth-5.25.0.tgz", + "integrity": "sha512-fuv9f4jbKMdcWZK9j6jve8Gce9kCqQA9k5g/Q3eEpS9TtHEw+ReToAvn1tKG1EOJHkm2Rq1jNymH7iHOMaCWiQ==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -5981,9 +5986,9 @@ } }, "node_modules/@onecx/portal-integration-angular": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/portal-integration-angular/-/portal-integration-angular-5.23.2.tgz", - "integrity": "sha512-E3LzjW+7KB0rxf0x5xW2EjH866BDnkGob5hkbSEyYx0pK7rHWJbYDwHJGube7twF0Ya42SNMwBXaMQs2Tc7ABA==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/portal-integration-angular/-/portal-integration-angular-5.25.0.tgz", + "integrity": "sha512-eMFBsFgjsl1KAVpwi8HLJhOg/OOESu9AvP6/C9hWe9L0wFGFgnd5E1ef9IPlC8gGRujuQqtwAr1er7Q47QEH+g==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" @@ -6016,9 +6021,9 @@ } }, "node_modules/@onecx/portal-layout-styles": { - "version": "5.23.2", - "resolved": "https://registry.npmjs.org/@onecx/portal-layout-styles/-/portal-layout-styles-5.23.2.tgz", - "integrity": "sha512-jPdGfW0By+E0duNI9prFhKUtiIgh4bE64t3qtkq2kL788QDndlJml86EgJ5uMqmKv/pRbDAZ9dz7gMcaDCnCnw==", + "version": "5.25.0", + "resolved": "https://registry.npmjs.org/@onecx/portal-layout-styles/-/portal-layout-styles-5.25.0.tgz", + "integrity": "sha512-opSA1/v4mv9h/uZ/1C+haBNX/mTemITvTWEGkzxBhOf1RWgBHBt+d8EyC9AYcYO2rGRX8BYKLOl+3ZOlJLmMqg==", "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3" @@ -6044,37 +6049,37 @@ "peer": true }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.9", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", - "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.15.3.tgz", + "integrity": "sha512-2UBnsDlMt36thhdXxisbA1qReVtbCaw+NCvXoslRXlaJBL4qkAmZUhNeDLNu3LCbwA2PASMWhJSqeLwgwMCitw==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@nestjs/axios": "3.0.3", - "@nestjs/common": "10.4.3", - "@nestjs/core": "10.4.3", + "@nestjs/axios": "3.1.1", + "@nestjs/common": "10.4.6", + "@nestjs/core": "10.4.6", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.4", + "axios": "1.7.7", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.2.3", - "https-proxy-agent": "7.0.4", + "glob": "9.3.5", "inquirer": "8.2.6", "lodash": "4.17.21", + "proxy-agent": "6.4.0", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.6.2" + "tslib": "2.8.1" }, "bin": { "openapi-generator-cli": "main.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=16" }, "funding": { "type": "opencollective", @@ -6095,18 +6100,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", - "dev": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "node_modules/@openapitools/openapi-generator-cli/node_modules/chalk": { "version": "4.1.2", "dev": true, @@ -6130,6 +6123,25 @@ "node": ">= 12" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/glob": { + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@openapitools/openapi-generator-cli/node_modules/has-flag": { "version": "4.0.0", "dev": true, @@ -6138,16 +6150,30 @@ "node": ">=8" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/https-proxy-agent": { - "version": "7.0.4", + "node_modules/@openapitools/openapi-generator-cli/node_modules/minimatch": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">= 14" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/reflect-metadata": { @@ -6168,13 +6194,6 @@ "node": ">=8" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true, - "license": "0BSD" - }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "dev": true, @@ -6700,6 +6719,13 @@ "@swc/counter": "^0.1.3" } }, + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "dev": true, + "license": "MIT" + }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "dev": true, @@ -7755,6 +7781,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/asynckit": { "version": "0.4.0", "dev": true, @@ -7938,6 +7977,16 @@ "node": "^4.5.0 || >= 5.9" } }, + "node_modules/basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/batch": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", @@ -9393,6 +9442,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/data-view-buffer": { "version": "1.0.1", "dev": true, @@ -9588,6 +9647,21 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "dev": true, @@ -10166,6 +10240,39 @@ "node": ">=0.8.0" } }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/eslint": { "version": "8.57.1", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", @@ -10650,6 +10757,20 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/esquery": { "version": "1.6.0", "dev": true, @@ -11285,6 +11406,37 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/get-uri": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", + "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "dev": true, + "license": "MIT", + "dependencies": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4", + "fs-extra": "^11.2.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/get-uri/node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, "node_modules/git-raw-commits": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz", @@ -12624,7 +12776,9 @@ } }, "node_modules/jasmine-core": { - "version": "5.2.0", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.4.0.tgz", + "integrity": "sha512-T4fio3W++llLd7LGSGsioriDHgWyhoL6YTu4k37uwJLF7DzOzspz7mNxRoM3cQdLWtL/ebazQpIf/yZGJx/gzg==", "dev": true, "license": "MIT" }, @@ -14398,6 +14552,16 @@ "dev": true, "license": "MIT" }, + "node_modules/netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/ng-packagr": { "version": "18.2.1", "resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-18.2.1.tgz", @@ -15269,6 +15433,40 @@ "node": ">=6" } }, + "node_modules/pac-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", + "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.5", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "dev": true, + "license": "MIT", + "dependencies": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/package-json-from-dist": { "version": "1.0.0", "dev": true, @@ -15459,9 +15657,9 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, @@ -15542,9 +15740,9 @@ } }, "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "dev": true, "funding": [ { @@ -15563,7 +15761,7 @@ "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, "engines": { @@ -16669,6 +16867,36 @@ "node": ">= 0.10" } }, + "node_modules/proxy-agent": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", + "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.3", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.0.1", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.2" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/proxy-agent/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/proxy-from-env": { "version": "1.1.0", "dev": true, diff --git a/package.json b/package.json index 18033022..027caed0 100644 --- a/package.json +++ b/package.json @@ -46,23 +46,23 @@ "@angular/platform-browser": "^18.2.6", "@angular/platform-browser-dynamic": "^18.2.6", "@angular/router": "^18.2.6", - "@ngneat/error-tailor": "^5.0.1", + "@ngneat/error-tailor": "5.0.1", "@ngneat/until-destroy": "^10.0.0", "@ngrx/effects": "^18.0.1", "@ngrx/router-store": "^18.0.1", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@onecx/accelerator": "^5.23.2", - "@onecx/angular-accelerator": "^5.23.2", - "@onecx/angular-auth": "^5.23.2", - "@onecx/angular-integration-interface": "^5.23.2", - "@onecx/angular-remote-components": "^5.23.2", - "@onecx/angular-testing": "^5.23.2", - "@onecx/angular-webcomponents": "^5.23.2", - "@onecx/integration-interface": "^5.23.2", - "@onecx/keycloak-auth": "^5.23.2", - "@onecx/portal-integration-angular": "^5.23.2", - "@onecx/portal-layout-styles": "^5.23.2", + "@onecx/accelerator": "^5.25.0", + "@onecx/angular-accelerator": "^5.25.0", + "@onecx/angular-auth": "^5.25.0", + "@onecx/angular-integration-interface": "^5.25.0", + "@onecx/angular-remote-components": "^5.25.0", + "@onecx/angular-testing": "^5.25.0", + "@onecx/angular-webcomponents": "^5.25.0", + "@onecx/integration-interface": "^5.25.0", + "@onecx/keycloak-auth": "^5.25.0", + "@onecx/portal-integration-angular": "^5.25.0", + "@onecx/portal-layout-styles": "^5.25.0", "@webcomponents/webcomponentsjs": "^2.8.0", "file-saver": "^2.0.5", "keycloak-angular": "^16.0.1", @@ -87,7 +87,7 @@ "@angular/language-service": "^18.2.6", "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", - "@openapitools/openapi-generator-cli": "^2.13.9", + "@openapitools/openapi-generator-cli": "^2.15.3", "@schematics/angular": "18.2.6", "@types/jasmine": "~5.1.4", "@types/node": "~22.6.1", @@ -99,7 +99,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-prettier": "^5.2.1", "husky": "^9.1.6", - "jasmine-core": "~5.2.0", + "jasmine-core": "~5.4.0", "jasmine-spec-reporter": "^7.0.0", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", @@ -110,7 +110,7 @@ "ng-packagr": "18.2.1", "ngx-build-plus": "^18.0.0", "ngx-translate-testing": "^7.0.0", - "postcss": "8.4.47", + "postcss": "8.4.49", "postcss-import": "~16.1.0", "postcss-preset-env": "~10.0.3", "postcss-url": "~10.1.3", diff --git a/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html b/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html index 5ce8870d..578da64e 100644 --- a/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html +++ b/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html @@ -1,5 +1,5 @@