From 2a174b2702c68b1239a44640d3df8849b3bf5d0f Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 10 May 2024 23:35:56 +0200 Subject: [PATCH] [DEV] set compatibility with old ES --- package.json | 30 +- pnpm-lock.yaml | 312 +++++++++--------- .../async-status-component.ts | 6 +- src/component/checkbox/checkbox.html | 1 + src/component/checkbox/checkbox.ts | 6 +- src/component/index.ts | 41 ++- tsconfig.json | 6 +- 7 files changed, 206 insertions(+), 196 deletions(-) diff --git a/package.json b/package.json index a5085ad..555f443 100644 --- a/package.json +++ b/package.json @@ -10,26 +10,26 @@ "lint": "ng lint", "style": "prettier --write .", "update_packages": "ncu --upgrade", - "install_dependency": "pnpm install" + "install_dependency": "pnpm install --force" }, "peerDependencies": { - "@angular/common": "^17.3.4", - "@angular/compiler": "^17.3.4", - "@angular/core": "^17.3.4", - "@angular/forms": "^17.3.4", - "@angular/platform-browser": "^17.3.4", - "@angular/platform-browser-dynamic": "^17.3.4", - "@angular/router": "^17.3.4", - "rxjs": "~7.8.0", - "zone.js": "~0.14.3" + "@angular/common": "^17.3.6", + "@angular/compiler": "^17.3.6", + "@angular/core": "^17.3.6", + "@angular/forms": "^17.3.6", + "@angular/platform-browser": "^17.3.6", + "@angular/platform-browser-dynamic": "^17.3.6", + "@angular/router": "^17.3.6", + "rxjs": "~7.8.1", + "zone.js": "~0.14.5" }, "dependencies": { "tslib": "^2.6.2" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.3.4", - "@angular/cli": "^17.3.4", - "@angular/compiler-cli": "^17.3.4", + "@angular-devkit/build-angular": "^17.3.6", + "@angular/cli": "^17.3.6", + "@angular/compiler-cli": "^17.3.6", "@types/jasmine": "~5.1.4", "jasmine-core": "~5.1.2", "karma": "~6.4.3", @@ -37,9 +37,9 @@ "karma-coverage": "~2.2.1", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", - "ng-packagr": "^17.3.3", + "ng-packagr": "^17.3.0", "typescript": "~5.4.5", - "npm-check-updates": "^16.14.18" + "npm-check-updates": "^16.14.20" }, "maintainers": [ { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49821b1..5fe12e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,46 +6,46 @@ settings: dependencies: '@angular/common': - specifier: ^17.3.0 - version: 17.3.3(@angular/core@17.3.3)(rxjs@7.8.1) + specifier: ^17.3.6 + version: 17.3.6(@angular/core@17.3.6)(rxjs@7.8.1) '@angular/compiler': - specifier: ^17.3.0 - version: 17.3.3(@angular/core@17.3.3) + specifier: ^17.3.6 + version: 17.3.6(@angular/core@17.3.6) '@angular/core': - specifier: ^17.3.0 - version: 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) + specifier: ^17.3.6 + version: 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) '@angular/forms': - specifier: ^17.3.0 - version: 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3)(rxjs@7.8.1) + specifier: ^17.3.6 + version: 17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6)(@angular/platform-browser@17.3.6)(rxjs@7.8.1) '@angular/platform-browser': - specifier: ^17.3.0 - version: 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3) + specifier: ^17.3.6 + version: 17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6) '@angular/platform-browser-dynamic': - specifier: ^17.3.0 - version: 17.3.3(@angular/common@17.3.3)(@angular/compiler@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3) + specifier: ^17.3.6 + version: 17.3.6(@angular/common@17.3.6)(@angular/compiler@17.3.6)(@angular/core@17.3.6)(@angular/platform-browser@17.3.6) '@angular/router': - specifier: ^17.3.0 - version: 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3)(rxjs@7.8.1) + specifier: ^17.3.6 + version: 17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6)(@angular/platform-browser@17.3.6)(rxjs@7.8.1) rxjs: - specifier: ~7.8.0 + specifier: ~7.8.1 version: 7.8.1 tslib: specifier: ^2.6.2 version: 2.6.2 zone.js: - specifier: ~0.14.3 - version: 0.14.4 + specifier: ~0.14.5 + version: 0.14.5 devDependencies: '@angular-devkit/build-angular': - specifier: ^17.3.3 - version: 17.3.3(@angular/compiler-cli@17.3.3)(karma@6.4.3)(ng-packagr@17.3.0)(typescript@5.4.4) + specifier: ^17.3.6 + version: 17.3.6(@angular/compiler-cli@17.3.6)(karma@6.4.3)(ng-packagr@17.3.0)(typescript@5.4.5) '@angular/cli': - specifier: ^17.3.3 - version: 17.3.3 + specifier: ^17.3.6 + version: 17.3.6 '@angular/compiler-cli': - specifier: ^17.3.3 - version: 17.3.3(@angular/compiler@17.3.3)(typescript@5.4.4) + specifier: ^17.3.6 + version: 17.3.6(@angular/compiler@17.3.6)(typescript@5.4.5) '@types/jasmine': specifier: ~5.1.4 version: 5.1.4 @@ -69,13 +69,13 @@ devDependencies: version: 2.1.0(jasmine-core@5.1.2)(karma-jasmine@5.1.0)(karma@6.4.3) ng-packagr: specifier: ^17.3.0 - version: 17.3.0(@angular/compiler-cli@17.3.3)(tslib@2.6.2)(typescript@5.4.4) + version: 17.3.0(@angular/compiler-cli@17.3.6)(tslib@2.6.2)(typescript@5.4.5) npm-check-updates: - specifier: ^16.14.18 - version: 16.14.18 + specifier: ^16.14.20 + version: 16.14.20 typescript: - specifier: ~5.4.4 - version: 5.4.4 + specifier: ~5.4.5 + version: 5.4.5 packages: @@ -87,18 +87,18 @@ packages: '@jridgewell/trace-mapping': 0.3.25 dev: true - /@angular-devkit/architect@0.1703.3: - resolution: {integrity: sha512-BKbdigCjmspqxOxSIQuWgPZzpyuKqZoTBDh0jDeLcAmvPsuxCgIWbsExI4OQ0CyusnQ+XT0IT39q8B9rvF56cg==} + /@angular-devkit/architect@0.1703.6: + resolution: {integrity: sha512-Ck501FD/QuOjeKVFs7hU92w8+Ffetv0d5Sq09XY2/uygo5c/thMzp9nkevaIWBxUSeU5RqYZizDrhFVgYzbbOw==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} dependencies: - '@angular-devkit/core': 17.3.3 + '@angular-devkit/core': 17.3.6 rxjs: 7.8.1 transitivePeerDependencies: - chokidar dev: true - /@angular-devkit/build-angular@17.3.3(@angular/compiler-cli@17.3.3)(karma@6.4.3)(ng-packagr@17.3.0)(typescript@5.4.4): - resolution: {integrity: sha512-E/6Z1MIMhEB1I2sN+Pw4/zinwAFj4vLDh6dEuj856WWEPndgPiUB6fGX4EbCTsyIUzboXI5ysdNyt2Eq56bllA==} + /@angular-devkit/build-angular@17.3.6(@angular/compiler-cli@17.3.6)(karma@6.4.3)(ng-packagr@17.3.0)(typescript@5.4.5): + resolution: {integrity: sha512-K4CEZvhQZUUOpmXPVoI1YBM8BARbIlqE6FZRxakmnr+YOtVTYE5s+Dr1wgja8hZIohNz6L7j167G9Aut7oPU/w==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} peerDependencies: '@angular/compiler-cli': ^17.0.0 @@ -139,10 +139,10 @@ packages: optional: true dependencies: '@ampproject/remapping': 2.3.0 - '@angular-devkit/architect': 0.1703.3 - '@angular-devkit/build-webpack': 0.1703.3(webpack-dev-server@4.15.1)(webpack@5.90.3) - '@angular-devkit/core': 17.3.3 - '@angular/compiler-cli': 17.3.3(@angular/compiler@17.3.3)(typescript@5.4.4) + '@angular-devkit/architect': 0.1703.6 + '@angular-devkit/build-webpack': 0.1703.6(webpack-dev-server@4.15.1)(webpack@5.90.3) + '@angular-devkit/core': 17.3.6 + '@angular/compiler-cli': 17.3.6(@angular/compiler@17.3.6)(typescript@5.4.5) '@babel/core': 7.24.0 '@babel/generator': 7.23.6 '@babel/helper-annotate-as-pure': 7.22.5 @@ -153,8 +153,8 @@ packages: '@babel/preset-env': 7.24.0(@babel/core@7.24.0) '@babel/runtime': 7.24.0 '@discoveryjs/json-ext': 0.5.7 - '@ngtools/webpack': 17.3.3(@angular/compiler-cli@17.3.3)(typescript@5.4.4)(webpack@5.90.3) - '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.1.5) + '@ngtools/webpack': 17.3.6(@angular/compiler-cli@17.3.6)(typescript@5.4.5)(webpack@5.90.3) + '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.1.7) ansi-colors: 4.1.3 autoprefixer: 10.4.18(postcss@8.4.35) babel-loader: 9.1.3(@babel/core@7.24.0)(webpack@5.90.3) @@ -178,14 +178,14 @@ packages: magic-string: 0.30.8 mini-css-extract-plugin: 2.8.1(webpack@5.90.3) mrmime: 2.0.0 - ng-packagr: 17.3.0(@angular/compiler-cli@17.3.3)(tslib@2.6.2)(typescript@5.4.4) + ng-packagr: 17.3.0(@angular/compiler-cli@17.3.6)(tslib@2.6.2)(typescript@5.4.5) open: 8.4.2 ora: 5.4.1 parse5-html-rewriting-stream: 7.0.0 picomatch: 4.0.1 piscina: 4.4.0 postcss: 8.4.35 - postcss-loader: 8.1.1(postcss@8.4.35)(typescript@5.4.4)(webpack@5.90.3) + postcss-loader: 8.1.1(postcss@8.4.35)(typescript@5.4.5)(webpack@5.90.3) resolve-url-loader: 5.0.0 rxjs: 7.8.1 sass: 1.71.1 @@ -196,9 +196,9 @@ packages: terser: 5.29.1 tree-kill: 1.2.2 tslib: 2.6.2 - typescript: 5.4.4 - undici: 6.7.1 - vite: 5.1.5(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + typescript: 5.4.5 + undici: 6.11.1 + vite: 5.1.7(less@4.2.0)(sass@1.71.1)(terser@5.29.1) watchpack: 2.4.0 webpack: 5.90.3(esbuild@0.20.1) webpack-dev-middleware: 6.1.2(webpack@5.90.3) @@ -227,14 +227,14 @@ packages: - webpack-cli dev: true - /@angular-devkit/build-webpack@0.1703.3(webpack-dev-server@4.15.1)(webpack@5.90.3): - resolution: {integrity: sha512-d0JjE8MaGVNphlJfeP1OZKhNT4wCXkEZKdSdwE0+W+vDHNUuZiUBB1czO48sb7T4xBrdjRWlV/9CzMNJ7n3ydA==} + /@angular-devkit/build-webpack@0.1703.6(webpack-dev-server@4.15.1)(webpack@5.90.3): + resolution: {integrity: sha512-pJu0et2SiF0kfXenHSTtAART0omzbWpLgBfeUo4hBh4uwX5IaT+mRpYpr8gCXMq+qsjoQp3HobSU3lPDeBn+bg==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} peerDependencies: webpack: ^5.30.0 webpack-dev-server: ^4.0.0 dependencies: - '@angular-devkit/architect': 0.1703.3 + '@angular-devkit/architect': 0.1703.6 rxjs: 7.8.1 webpack: 5.90.3(esbuild@0.20.1) webpack-dev-server: 4.15.1(webpack@5.90.3) @@ -242,8 +242,8 @@ packages: - chokidar dev: true - /@angular-devkit/core@17.3.3: - resolution: {integrity: sha512-J22Sh3M7rj8Ar3iEs20ko5wgC3DE7vWfYZNdimt2IJiS4J7BEX8R3Awf+TRt+6AN3NFm3/xe1Sz4yvDh3FvNFg==} + /@angular-devkit/core@17.3.6: + resolution: {integrity: sha512-FVbkT9dEwHEvjnxr4mvMNSMg2bCFoGoP4X68xXU9dhLEUpC05opLvfbaR3Qh543eCJ5AstosBFVzB/krfIkOvA==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} peerDependencies: chokidar: ^3.5.2 @@ -259,11 +259,11 @@ packages: source-map: 0.7.4 dev: true - /@angular-devkit/schematics@17.3.3: - resolution: {integrity: sha512-SABqTtj2im4PJhQjNaAsSypbNkpZFW8YozJ3P748tlh5a9XoHpgiqXv5JhRbyKElLDAyk5i9fe2++JmSudPG/Q==} + /@angular-devkit/schematics@17.3.6: + resolution: {integrity: sha512-2G1YuPInd8znG7uUgKOS7z72Aku50lTzB/2csWkWPJLAFkh7vKC8QZ40x8S1nC9npVYPhI5CRLX/HVpBh9CyxA==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} dependencies: - '@angular-devkit/core': 17.3.3 + '@angular-devkit/core': 17.3.6 jsonc-parser: 3.2.1 magic-string: 0.30.8 ora: 5.4.1 @@ -272,15 +272,15 @@ packages: - chokidar dev: true - /@angular/cli@17.3.3: - resolution: {integrity: sha512-veIGK2sRm0SfiLHeftx0W0xC3N8uxoqxXiSG57V6W2wIFN/fKm3aRq3sa8phz7vxUzoKGqyZh6hsT7ybkjgkGA==} + /@angular/cli@17.3.6: + resolution: {integrity: sha512-poKaRPeI+hFqX+AxIaEriaIggFVcC3XqlT9E1/uBC2rfHirE1n5F9Z7xqEDtMHduKwLbNXhQIPoKIKya8+Hnew==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} hasBin: true dependencies: - '@angular-devkit/architect': 0.1703.3 - '@angular-devkit/core': 17.3.3 - '@angular-devkit/schematics': 17.3.3 - '@schematics/angular': 17.3.3 + '@angular-devkit/architect': 0.1703.6 + '@angular-devkit/core': 17.3.6 + '@angular-devkit/schematics': 17.3.6 + '@schematics/angular': 17.3.6 '@yarnpkg/lockfile': 1.1.0 ansi-colors: 4.1.3 ini: 4.1.2 @@ -301,27 +301,27 @@ packages: - supports-color dev: true - /@angular/common@17.3.3(@angular/core@17.3.3)(rxjs@7.8.1): - resolution: {integrity: sha512-GwlKetNpfWKiG2j4S6bYTi6PA2iT4+eln7o8owo44xZWdQnWQjfxnH39vQuCyhi6OOQL1dozmae+fVXgQsV6jQ==} + /@angular/common@17.3.6(@angular/core@17.3.6)(rxjs@7.8.1): + resolution: {integrity: sha512-ufviCFzQQKWcwc2j3Zi8bHbwkvqh4QU6GDH0u0usOee8xd8KrjgcYl3vD0r1/yxlDsd53Wg9kNRvz/fY+5qQoQ==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/core': 17.3.3 + '@angular/core': 17.3.6 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/core': 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/core': 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) rxjs: 7.8.1 tslib: 2.6.2 dev: false - /@angular/compiler-cli@17.3.3(@angular/compiler@17.3.3)(typescript@5.4.4): - resolution: {integrity: sha512-vM0lqwuXQZ912HbLnIuvUblvIz2WEUsU7a5Z2ieNey6famH4zxPH12vCbVwXgicB6GLHorhOfcWC5443wD2mJw==} + /@angular/compiler-cli@17.3.6(@angular/compiler@17.3.6)(typescript@5.4.5): + resolution: {integrity: sha512-LaoUkY6uzcNocIEHJBvexvuU0a333IRQaG3Sj5IXhM1t864wTsfycn6yWJcQ7PhklB8BtNqiMbUQuEFtkxT8pg==} engines: {node: ^18.13.0 || >=20.9.0} hasBin: true peerDependencies: - '@angular/compiler': 17.3.3 + '@angular/compiler': 17.3.6 typescript: '>=5.2 <5.5' dependencies: - '@angular/compiler': 17.3.3(@angular/core@17.3.3) + '@angular/compiler': 17.3.6(@angular/core@17.3.6) '@babel/core': 7.23.9 '@jridgewell/sourcemap-codec': 1.4.15 chokidar: 3.6.0 @@ -329,26 +329,26 @@ packages: reflect-metadata: 0.2.2 semver: 7.6.0 tslib: 2.6.2 - typescript: 5.4.4 + typescript: 5.4.5 yargs: 17.7.2 transitivePeerDependencies: - supports-color dev: true - /@angular/compiler@17.3.3(@angular/core@17.3.3): - resolution: {integrity: sha512-ZNMRfagMxMjk1KW5H3ssCg5QL0J6ZW1JAZ1mrTXixqS7gbdwl60bTGE+EfuEwbjvovEYaj4l9cga47eMaxZTbQ==} + /@angular/compiler@17.3.6(@angular/core@17.3.6): + resolution: {integrity: sha512-ybx9O76RGv4J97IThiSVvvWukuGcuXu50KsBDPUd874BFT3ml0OcRGhXoMh/isz7EQipiiGgsA51cJVTLES5Zw==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/core': 17.3.3 + '@angular/core': 17.3.6 peerDependenciesMeta: '@angular/core': optional: true dependencies: - '@angular/core': 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/core': 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) tslib: 2.6.2 - /@angular/core@17.3.3(rxjs@7.8.1)(zone.js@0.14.4): - resolution: {integrity: sha512-O/jr3aFJMCxF6Jmymjx4jIigRHJfqM/ALIi60y2LVznBVFkk9xyMTsAjgWQIEHX+2muEIzgfKuXzpL0y30y+wA==} + /@angular/core@17.3.6(rxjs@7.8.1)(zone.js@0.14.5): + resolution: {integrity: sha512-8IoeZVNqyeHA+H2dR3VFfz76/TFN1BpXP0aABs2aIUNVQRYlKxALSm1UlavijX8IT0uvd/6GXwE3WgymTcg0wg==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: rxjs: ^6.5.3 || ^7.4.0 @@ -356,68 +356,68 @@ packages: dependencies: rxjs: 7.8.1 tslib: 2.6.2 - zone.js: 0.14.4 + zone.js: 0.14.5 - /@angular/forms@17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3)(rxjs@7.8.1): - resolution: {integrity: sha512-wqn+eAggbOZY91hr7oDjv5qdflszVOC9SZMcWJUoZTGn+8eoV6v6728GDFuDDwYkKQ9G9eQbX4IZmYoVw3TVjQ==} + /@angular/forms@17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6)(@angular/platform-browser@17.3.6)(rxjs@7.8.1): + resolution: {integrity: sha512-WXxWhwvgRfYLNP2dB4Qe83tavEh2LnS4H0uoiecWHXijW2R9z8304X1vEyS1EtQK7o/s8fCVDVDjeY+hxLnCLw==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/common': 17.3.3 - '@angular/core': 17.3.3 - '@angular/platform-browser': 17.3.3 + '@angular/common': 17.3.6 + '@angular/core': 17.3.6 + '@angular/platform-browser': 17.3.6 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/common': 17.3.3(@angular/core@17.3.3)(rxjs@7.8.1) - '@angular/core': 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/platform-browser': 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3) + '@angular/common': 17.3.6(@angular/core@17.3.6)(rxjs@7.8.1) + '@angular/core': 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) + '@angular/platform-browser': 17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6) rxjs: 7.8.1 tslib: 2.6.2 dev: false - /@angular/platform-browser-dynamic@17.3.3(@angular/common@17.3.3)(@angular/compiler@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3): - resolution: {integrity: sha512-jSgSNHRTXCIat20I+4tLm/e8qOvrIE3Zv7S/DtYZEiAth84uoznvo1kXnN+KREse2vP/WoNgSDKQ2JLzkwYXSQ==} + /@angular/platform-browser-dynamic@17.3.6(@angular/common@17.3.6)(@angular/compiler@17.3.6)(@angular/core@17.3.6)(@angular/platform-browser@17.3.6): + resolution: {integrity: sha512-dI+mgEROmSll042+XqkSsvkMQe6Et6L9BBiYYe7VbIFaRR9Dz5Pw2SeBLb+Ou+gWaxXc2Wc+13n442WEYWZ7Ew==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/common': 17.3.3 - '@angular/compiler': 17.3.3 - '@angular/core': 17.3.3 - '@angular/platform-browser': 17.3.3 + '@angular/common': 17.3.6 + '@angular/compiler': 17.3.6 + '@angular/core': 17.3.6 + '@angular/platform-browser': 17.3.6 dependencies: - '@angular/common': 17.3.3(@angular/core@17.3.3)(rxjs@7.8.1) - '@angular/compiler': 17.3.3(@angular/core@17.3.3) - '@angular/core': 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/platform-browser': 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3) + '@angular/common': 17.3.6(@angular/core@17.3.6)(rxjs@7.8.1) + '@angular/compiler': 17.3.6(@angular/core@17.3.6) + '@angular/core': 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) + '@angular/platform-browser': 17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6) tslib: 2.6.2 dev: false - /@angular/platform-browser@17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3): - resolution: {integrity: sha512-XFWjquD+Pr9VszRzrDlT6uaf57TsY9XhL9iHCNok6Op5DpVQpIAuw1vFt2t5ZoQ0gv+lY8mVWnxgqe3CgTdYxw==} + /@angular/platform-browser@17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6): + resolution: {integrity: sha512-UikrgvMwtZIXp2pCP5AtkM7ibz2B5wBiGpnhhkYsqHKy9ndKVDA+3B5Z+/j9xeYYdsJAAtHl45zqILewyg+4iw==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/animations': 17.3.3 - '@angular/common': 17.3.3 - '@angular/core': 17.3.3 + '@angular/animations': 17.3.6 + '@angular/common': 17.3.6 + '@angular/core': 17.3.6 peerDependenciesMeta: '@angular/animations': optional: true dependencies: - '@angular/common': 17.3.3(@angular/core@17.3.3)(rxjs@7.8.1) - '@angular/core': 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/common': 17.3.6(@angular/core@17.3.6)(rxjs@7.8.1) + '@angular/core': 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) tslib: 2.6.2 dev: false - /@angular/router@17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3)(rxjs@7.8.1): - resolution: {integrity: sha512-kj42+TtwvET7MFqxB3pkKyob0VNmspASlv8Y29vSpzzaOHn8J1fDf6H+8opoIC+Gmvo5NqXUDwq7nxI5aQ0mUQ==} + /@angular/router@17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6)(@angular/platform-browser@17.3.6)(rxjs@7.8.1): + resolution: {integrity: sha512-Gws3zukTlPO5lIGP0bmWBkmbRIRKvpPq6vs3BqQlbKsrfBh45SPvIRbx+BSv6WYUchQzfW7DFDXnQtiTEGGQNg==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/common': 17.3.3 - '@angular/core': 17.3.3 - '@angular/platform-browser': 17.3.3 + '@angular/common': 17.3.6 + '@angular/core': 17.3.6 + '@angular/platform-browser': 17.3.6 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/common': 17.3.3(@angular/core@17.3.3)(rxjs@7.8.1) - '@angular/core': 17.3.3(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/platform-browser': 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3) + '@angular/common': 17.3.6(@angular/core@17.3.6)(rxjs@7.8.1) + '@angular/core': 17.3.6(rxjs@7.8.1)(zone.js@0.14.5) + '@angular/platform-browser': 17.3.6(@angular/common@17.3.6)(@angular/core@17.3.6) rxjs: 7.8.1 tslib: 2.6.2 dev: false @@ -464,7 +464,7 @@ packages: dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.24.2 - '@babel/generator': 7.23.6 + '@babel/generator': 7.24.4 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) '@babel/helpers': 7.24.4 @@ -2414,16 +2414,16 @@ packages: call-bind: 1.0.7 dev: true - /@ngtools/webpack@17.3.3(@angular/compiler-cli@17.3.3)(typescript@5.4.4)(webpack@5.90.3): - resolution: {integrity: sha512-053KMbg1Tb+Mmg4Htsv8yTpI7ABghguoxhwosQXKB0CjO6M0oexuvdaxbRDQ1vd5xYNOW9LcOfxOMPIwyU4BBA==} + /@ngtools/webpack@17.3.6(@angular/compiler-cli@17.3.6)(typescript@5.4.5)(webpack@5.90.3): + resolution: {integrity: sha512-equxbgh2DKzZtiFMoVf1KD4yJcH1q8lpqQ/GSPPQUvONcmHrr+yqdRUdaJ7oZCyCYmXF/nByBxtMKtJr6nKZVg==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} peerDependencies: '@angular/compiler-cli': ^17.0.0 typescript: '>=5.2 <5.5' webpack: ^5.54.0 dependencies: - '@angular/compiler-cli': 17.3.3(@angular/compiler@17.3.3)(typescript@5.4.4) - typescript: 5.4.4 + '@angular/compiler-cli': 17.3.6(@angular/compiler@17.3.6)(typescript@5.4.5) + typescript: 5.4.5 webpack: 5.90.3(esbuild@0.20.1) dev: true @@ -2797,12 +2797,12 @@ packages: fsevents: 2.3.3 dev: true - /@schematics/angular@17.3.3: - resolution: {integrity: sha512-kNlyjIKTBhfi8Jab3MCkxNRbbpErbzdu0lZNSL8Nidmqs6Tk23Dc1bZe4t/gPNOCkCvQlwYa6X88SjC/ntyVng==} + /@schematics/angular@17.3.6: + resolution: {integrity: sha512-jCNZdjHSVrI8TrrCnCoXC8GYvQRj7zh+SDdmm91Ve8dbikYNmBOKYLuPaCTsmojWx7ytv962yLlgKzpaa2bbfw==} engines: {node: ^18.13.0 || >=20.9.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} dependencies: - '@angular-devkit/core': 17.3.3 - '@angular-devkit/schematics': 17.3.3 + '@angular-devkit/core': 17.3.6 + '@angular-devkit/schematics': 17.3.6 jsonc-parser: 3.2.1 transitivePeerDependencies: - chokidar @@ -3099,13 +3099,13 @@ packages: '@types/node': 20.12.6 dev: true - /@vitejs/plugin-basic-ssl@1.1.0(vite@5.1.5): + /@vitejs/plugin-basic-ssl@1.1.0(vite@5.1.7): resolution: {integrity: sha512-wO4Dk/rm8u7RNhOf95ZzcEmC9rYOncYgvq4z3duaJrCgjN8BxAnDVyndanfcJZ0O6XZzHz6Q0hTimxTg8Y9g/A==} engines: {node: '>=14.6.0'} peerDependencies: vite: ^3.0.0 || ^4.0.0 || ^5.0.0 dependencies: - vite: 5.1.5(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + vite: 5.1.7(less@4.2.0)(sass@1.71.1)(terser@5.29.1) dev: true /@webassemblyjs/ast@1.12.1: @@ -4079,7 +4079,7 @@ packages: vary: 1.1.2 dev: true - /cosmiconfig@9.0.0(typescript@5.4.4): + /cosmiconfig@9.0.0(typescript@5.4.5): resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} peerDependencies: @@ -4092,7 +4092,7 @@ packages: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - typescript: 5.4.4 + typescript: 5.4.5 dev: true /critters@0.0.22: @@ -4103,7 +4103,7 @@ packages: dom-serializer: 2.0.0 domhandler: 5.0.3 htmlparser2: 8.0.2 - postcss: 8.4.35 + postcss: 8.4.38 postcss-media-query-parser: 0.2.3 dev: true @@ -4135,12 +4135,12 @@ packages: webpack: optional: true dependencies: - icss-utils: 5.1.0(postcss@8.4.35) - postcss: 8.4.35 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.35) - postcss-modules-local-by-default: 4.0.5(postcss@8.4.35) - postcss-modules-scope: 3.2.0(postcss@8.4.35) - postcss-modules-values: 4.0.0(postcss@8.4.35) + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.38) + postcss-modules-local-by-default: 4.0.5(postcss@8.4.38) + postcss-modules-scope: 3.2.0(postcss@8.4.38) + postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 semver: 7.6.0 webpack: 5.90.3(esbuild@0.20.1) @@ -5320,13 +5320,13 @@ packages: safer-buffer: 2.1.2 dev: true - /icss-utils@5.1.0(postcss@8.4.35): + /icss-utils@5.1.0(postcss@8.4.38): resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 dev: true /ieee754@1.2.1: @@ -6419,7 +6419,7 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true - /ng-packagr@17.3.0(@angular/compiler-cli@17.3.3)(tslib@2.6.2)(typescript@5.4.4): + /ng-packagr@17.3.0(@angular/compiler-cli@17.3.6)(tslib@2.6.2)(typescript@5.4.5): resolution: {integrity: sha512-kMSqxeDgv88SWCoapWNRRN1UdBgwu9/Pw/j7u2WFGmzrIWUFivNWBBSSL94kMxr2La+Z9wMwiL8EwKNvmCpg2A==} engines: {node: ^18.13.0 || >=20.9.0} hasBin: true @@ -6432,7 +6432,7 @@ packages: tailwindcss: optional: true dependencies: - '@angular/compiler-cli': 17.3.3(@angular/compiler@17.3.3)(typescript@5.4.4) + '@angular/compiler-cli': 17.3.6(@angular/compiler@17.3.6)(typescript@5.4.5) '@rollup/plugin-json': 6.1.0(rollup@4.14.1) '@rollup/plugin-node-resolve': 15.2.3(rollup@4.14.1) '@rollup/wasm-node': 4.14.1 @@ -6456,7 +6456,7 @@ packages: rxjs: 7.8.1 sass: 1.74.1 tslib: 2.6.2 - typescript: 5.4.4 + typescript: 5.4.5 optionalDependencies: esbuild: 0.20.2 rollup: 4.14.1 @@ -6592,8 +6592,8 @@ packages: npm-normalize-package-bin: 3.0.1 dev: true - /npm-check-updates@16.14.18: - resolution: {integrity: sha512-9iaRe9ohx9ykdbLjPRIYcq1A0RkrPYUx9HmQK1JIXhfxtJCNE/+497H9Z4PGH6GWRALbz5KF+1iZoySK2uSEpQ==} + /npm-check-updates@16.14.20: + resolution: {integrity: sha512-sYbIhun4DrjO7NFOTdvs11nCar0etEhZTsEjL47eM0TuiGMhmYughRCxG2SpGRmGAQ7AkwN7bw2lWzoE7q6yOQ==} engines: {node: '>=14.14'} hasBin: true dependencies: @@ -7097,7 +7097,7 @@ packages: find-up: 6.3.0 dev: true - /postcss-loader@8.1.1(postcss@8.4.35)(typescript@5.4.4)(webpack@5.90.3): + /postcss-loader@8.1.1(postcss@8.4.35)(typescript@5.4.5)(webpack@5.90.3): resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} engines: {node: '>= 18.12.0'} peerDependencies: @@ -7110,7 +7110,7 @@ packages: webpack: optional: true dependencies: - cosmiconfig: 9.0.0(typescript@5.4.4) + cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.0 postcss: 8.4.35 semver: 7.6.0 @@ -7123,45 +7123,45 @@ packages: resolution: {integrity: sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==} dev: true - /postcss-modules-extract-imports@3.1.0(postcss@8.4.35): + /postcss-modules-extract-imports@3.1.0(postcss@8.4.38): resolution: {integrity: sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 dev: true - /postcss-modules-local-by-default@4.0.5(postcss@8.4.35): + /postcss-modules-local-by-default@4.0.5(postcss@8.4.38): resolution: {integrity: sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.35) - postcss: 8.4.35 + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 postcss-selector-parser: 6.0.16 postcss-value-parser: 4.2.0 dev: true - /postcss-modules-scope@3.2.0(postcss@8.4.35): + /postcss-modules-scope@3.2.0(postcss@8.4.38): resolution: {integrity: sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 postcss-selector-parser: 6.0.16 dev: true - /postcss-modules-values@4.0.0(postcss@8.4.35): + /postcss-modules-values@4.0.0(postcss@8.4.38): resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.35) - postcss: 8.4.35 + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 dev: true /postcss-selector-parser@6.0.16: @@ -7484,7 +7484,7 @@ packages: adjust-sourcemap-loader: 4.0.0 convert-source-map: 1.9.0 loader-utils: 2.0.4 - postcss: 8.4.35 + postcss: 8.4.38 source-map: 0.6.1 dev: true @@ -8335,8 +8335,8 @@ packages: is-typedarray: 1.0.0 dev: true - /typescript@5.4.4: - resolution: {integrity: sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==} + /typescript@5.4.5: + resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} engines: {node: '>=14.17'} hasBin: true dev: true @@ -8349,8 +8349,8 @@ packages: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} dev: true - /undici@6.7.1: - resolution: {integrity: sha512-+Wtb9bAQw6HYWzCnxrPTMVEV3Q1QjYanI0E4q02ehReMuquQdLTEFEYbfs7hcImVYKcQkWSwT6buEmSVIiDDtQ==} + /undici@6.11.1: + resolution: {integrity: sha512-KyhzaLJnV1qa3BSHdj4AZ2ndqI0QWPxYzaIOio0WzcEJB9gvuysprJSLtpvc2D9mhR9jPDUk7xlJlZbH2KR5iw==} engines: {node: '>=18.0'} dev: true @@ -8497,8 +8497,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite@5.1.5(less@4.2.0)(sass@1.71.1)(terser@5.29.1): - resolution: {integrity: sha512-BdN1xh0Of/oQafhU+FvopafUp6WaYenLU/NFoL5WyJL++GxkNfieKzBhM24H3HVsPQrlAqB7iJYTHabzaRed5Q==} + /vite@5.1.7(less@4.2.0)(sass@1.71.1)(terser@5.29.1): + resolution: {integrity: sha512-sgnEEFTZYMui/sTlH1/XEnVNHMujOahPLGMxn1+5sIT45Xjng1Ec1K78jRP15dSmVgg5WBin9yO81j3o9OxofA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -8527,7 +8527,7 @@ packages: dependencies: esbuild: 0.19.12 less: 4.2.0 - postcss: 8.4.35 + postcss: 8.4.38 rollup: 4.14.1 sass: 1.71.1 terser: 5.29.1 @@ -8902,7 +8902,7 @@ packages: engines: {node: '>=12.20'} dev: true - /zone.js@0.14.4: - resolution: {integrity: sha512-NtTUvIlNELez7Q1DzKVIFZBzNb646boQMgpATo9z3Ftuu/gWvzxCW7jdjcUDoRGxRikrhVHB/zLXh1hxeJawvw==} + /zone.js@0.14.5: + resolution: {integrity: sha512-9XYWZzY6PhHOSdkYryNcMm7L8EK7a4q+GbTvxbIA2a9lMdRUpGuyaYvLDcg8D6bdn+JomSsbPcilVKg6SmUx6w==} dependencies: tslib: 2.6.2 diff --git a/src/component/async-action-status/async-status-component.ts b/src/component/async-action-status/async-status-component.ts index 00582f8..9b16325 100644 --- a/src/component/async-action-status/async-status-component.ts +++ b/src/component/async-action-status/async-status-component.ts @@ -20,9 +20,9 @@ export enum AsyncActionState { export class AsyncActionStatusComponent { /// Value of the password @Input() value: AsyncActionState = AsyncActionState.IDLE; - + public getImage(): string { - switch(this.value) { + switch (this.value) { case AsyncActionState.IDLE: return ''; case AsyncActionState.LOADING: @@ -33,5 +33,5 @@ export class AsyncActionStatusComponent { return 'assets/images/validate-not.svg'; } - } + } } diff --git a/src/component/checkbox/checkbox.html b/src/component/checkbox/checkbox.html index c0b63f3..c1a8506 100644 --- a/src/component/checkbox/checkbox.html +++ b/src/component/checkbox/checkbox.html @@ -1,6 +1,7 @@
{{comment}} diff --git a/src/component/checkbox/checkbox.ts b/src/component/checkbox/checkbox.ts index 0877516..c285444 100644 --- a/src/component/checkbox/checkbox.ts +++ b/src/component/checkbox/checkbox.ts @@ -11,18 +11,20 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; styleUrls: ['checkbox.less'], }) export class CheckboxComponent { + /// Checkbox value + @Input() isDisable: boolean = false; /// Checkbox value @Input() value: boolean = false; /// Description of the checkbox @Input() comment: string = ""; /// event when change the value of the password - @Output() changeValue: EventEmitter = new EventEmitter(); + @Output() changeValue: EventEmitter = new EventEmitter(); /** * When input value change, need update the display and change the internal value. * @param newValue New value set on the password */ - onChange(newValue: boolean): void { + onChange(newValue: boolean): void { this.value = newValue; this.changeValue.emit(this.value); } diff --git a/src/component/index.ts b/src/component/index.ts index 184ba21..3e8a312 100644 --- a/src/component/index.ts +++ b/src/component/index.ts @@ -1,17 +1,24 @@ -import { AsyncActionState, AsyncActionStatusComponent } from './async-action-status/async-status-component'; -import { BurgerPropertyComponent } from './burger-property/burger-property'; -import { CheckboxComponent } from './checkbox/checkbox'; -import { EntryNumberComponent } from './entry-number/entry-number'; -import { EntryValidatorComponent } from './entry-validator/entry-validator'; -import { EntryComponent } from './entry/entry'; -import { ErrorMessageStateComponent } from './error-message-state/error-message-state'; -import { ErrorComponent } from './error/error'; -import { PasswordEntryComponent } from './password-entry/password-entry'; -import { PopInComponent } from './popin/popin'; -import { RenderFormComponent } from './render-settings/render-form'; -import { RenderSettingsComponent } from './render-settings/render-settings'; -import { SpinnerComponent } from './spinner/spinner'; -import { EventOnMenu, TopMenuComponent } from './top-menu/top-menu'; -import { UploadFileComponent } from './upload-file/upload-file'; - -export { EventOnMenu, BurgerPropertyComponent, EntryNumberComponent, CheckboxComponent, RenderFormComponent, RenderSettingsComponent, ErrorMessageStateComponent, AsyncActionState, AsyncActionStatusComponent, EntryValidatorComponent, PopInComponent, TopMenuComponent, UploadFileComponent, ErrorComponent, SpinnerComponent, PasswordEntryComponent, EntryComponent }; +export { AsyncActionState, AsyncActionStatusComponent } from './async-action-status/async-status-component'; +export { BurgerPropertyComponent } from './burger-property/burger-property'; +export { CheckboxComponent } from './checkbox/checkbox'; +export { EntryNumberComponent } from './entry-number/entry-number'; +export { EntryValidatorComponent } from './entry-validator/entry-validator'; +export { EntryComponent } from './entry/entry'; +export { ErrorMessageStateComponent } from './error-message-state/error-message-state'; +export { ErrorComponent } from './error/error'; +export { PasswordEntryComponent } from './password-entry/password-entry'; +export { PopInComponent } from './popin/popin'; +export { RenderFormComponent } from './render-settings/render-form'; +export { + RenderSettingsComponent, + SettingsItem, + isSettingsItem, + SettingType, + isSettingType, + CheckerParameter, + CheckerParameterType, + ReturnFunction, +} from './render-settings/render-settings'; +export { SpinnerComponent } from './spinner/spinner'; +export { EventOnMenu, TopMenuComponent } from './top-menu/top-menu'; +export { UploadFileComponent } from './upload-file/upload-file'; diff --git a/tsconfig.json b/tsconfig.json index 00259ba..abe97e2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,11 +23,11 @@ "experimentalDecorators": true, "moduleResolution": "node", "importHelpers": true, - "target": "ES2022", - "module": "ES2022", + "target": "ES2018", + "module": "ES2015", "useDefineForClassFields": false, "lib": [ - "ES2022", + "ES2018", "dom" ], "emitDecoratorMetadata": true,