diff --git a/Dockerfile b/Dockerfile index 5ee92b7..dc0e490 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM archlinux:base-devel AS builder # update system RUN pacman -Syu --noconfirm && pacman-db-upgrade \ - && pacman -S --noconfirm jdk-openjdk maven npm \ + && pacman -S --noconfirm jdk-openjdk maven npm pnpm \ && pacman -Scc --noconfirm ENV PATH /tmp/node_modules/.bin:$PATH @@ -29,14 +29,15 @@ RUN mvn clean compile assembly:single ###################################################################################### FROM builder AS buildFront -ADD front/package-lock.json \ - front/package.json \ +RUN echo "@kangaroo-and-rabbit:registry=https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/npm/" > /root/.npmrc + +ADD front/package.json \ front/karma.conf.js \ front/protractor.conf.js \ /tmp/ # install and cache app dependencies -RUN npm install +RUN pnpm install ADD front/e2e \ front/tsconfig.json \ diff --git a/front/pnpm-lock.yaml b/front/pnpm-lock.yaml index aca87e2..4c8d97f 100644 --- a/front/pnpm-lock.yaml +++ b/front/pnpm-lock.yaml @@ -6,38 +6,38 @@ settings: dependencies: '@angular/animations': - specifier: ^17.3.4 - version: 17.3.4(@angular/core@17.3.4) + specifier: ^17.3.5 + version: 17.3.5(@angular/core@17.3.5) '@angular/cdk': - specifier: ^17.3.4 - version: 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(rxjs@7.8.1) + specifier: ^17.3.5 + version: 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(rxjs@7.8.1) '@angular/common': - specifier: ^17.3.4 - version: 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) + specifier: ^17.3.5 + version: 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) '@angular/compiler': - specifier: ^17.3.4 - version: 17.3.4(@angular/core@17.3.4) + specifier: ^17.3.5 + version: 17.3.5(@angular/core@17.3.5) '@angular/core': - specifier: ^17.3.4 - version: 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) + specifier: ^17.3.5 + version: 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) '@angular/forms': - specifier: ^17.3.4 - version: 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1) + specifier: ^17.3.5 + version: 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1) '@angular/material': - specifier: ^17.3.4 - version: 17.3.4(@angular/animations@17.3.4)(@angular/cdk@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/forms@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1) + specifier: ^17.3.5 + version: 17.3.5(@angular/animations@17.3.5)(@angular/cdk@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/forms@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1) '@angular/platform-browser': - specifier: ^17.3.4 - version: 17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4) + specifier: ^17.3.5 + version: 17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5) '@angular/platform-browser-dynamic': - specifier: ^17.3.4 - version: 17.3.4(@angular/common@17.3.4)(@angular/compiler@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4) + specifier: ^17.3.5 + version: 17.3.5(@angular/common@17.3.5)(@angular/compiler@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5) '@angular/router': - specifier: ^17.3.4 - version: 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1) + specifier: ^17.3.5 + version: 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1) '@kangaroo-and-rabbit/kar-cw': - specifier: ^0.2.0 - version: 0.2.0(@angular/common@17.3.4)(@angular/compiler@17.3.4)(@angular/core@17.3.4)(@angular/forms@17.3.4)(@angular/platform-browser-dynamic@17.3.4)(@angular/platform-browser@17.3.4)(@angular/router@17.3.4)(rxjs@7.8.1)(zone.js@0.14.4) + specifier: ^0.2.1 + version: 0.2.1(@angular/common@17.3.5)(@angular/compiler@17.3.5)(@angular/core@17.3.5)(@angular/forms@17.3.5)(@angular/platform-browser-dynamic@17.3.5)(@angular/platform-browser@17.3.5)(@angular/router@17.3.5)(rxjs@7.8.1)(zone.js@0.14.4) rxjs: specifier: ^7.8.1 version: 7.8.1 @@ -50,8 +50,8 @@ dependencies: devDependencies: '@angular-devkit/build-angular': - specifier: ^17.3.4 - version: 17.3.4(@angular/compiler-cli@17.3.4)(typescript@5.4.5) + specifier: ^17.3.5 + version: 17.3.5(@angular/compiler-cli@17.3.5)(typescript@5.4.5) '@angular-eslint/builder': specifier: 17.3.0 version: 17.3.0(eslint@8.57.0)(typescript@5.4.5) @@ -63,19 +63,19 @@ devDependencies: version: 17.3.0(eslint@8.57.0)(typescript@5.4.5) '@angular-eslint/schematics': specifier: 17.3.0 - version: 17.3.0(@angular/cli@17.3.4)(eslint@8.57.0)(typescript@5.4.5) + version: 17.3.0(@angular/cli@17.3.5)(eslint@8.57.0)(typescript@5.4.5) '@angular-eslint/template-parser': specifier: 17.3.0 version: 17.3.0(eslint@8.57.0)(typescript@5.4.5) '@angular/cli': - specifier: ^17.3.4 - version: 17.3.4 + specifier: ^17.3.5 + version: 17.3.5 '@angular/compiler-cli': - specifier: ^17.3.4 - version: 17.3.4(@angular/compiler@17.3.4)(typescript@5.4.5) + specifier: ^17.3.5 + version: 17.3.5(@angular/compiler@17.3.5)(typescript@5.4.5) '@angular/language-service': - specifier: ^17.3.4 - version: 17.3.4 + specifier: ^17.3.5 + version: 17.3.5 npm-check-updates: specifier: ^16.14.18 version: 16.14.18 @@ -98,18 +98,18 @@ packages: '@jridgewell/trace-mapping': 0.3.25 dev: true - /@angular-devkit/architect@0.1703.4: - resolution: {integrity: sha512-o+XCMOiMh8tmQGEwcxjAj2/lmUVT7CGSUAM31ydDomVOFFw4CnBvsoyKqQNRC+/AUXvovb2dCegQl/lTAnrwOg==} + /@angular-devkit/architect@0.1703.5: + resolution: {integrity: sha512-j3+9QeXIafuRMtk7N5Cmm/IiMSS/TOaybzfCv/LK+DP3hjEd8f8Az7hPmevUuOArvWNzUvoUeu30GmR3wABydA==} 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.4 + '@angular-devkit/core': 17.3.5 rxjs: 7.8.1 transitivePeerDependencies: - chokidar dev: true - /@angular-devkit/build-angular@17.3.4(@angular/compiler-cli@17.3.4)(typescript@5.4.5): - resolution: {integrity: sha512-8KieoPrsJcFPoza0gLQ6yebtIb3WdH3j/V1TnAihk4tVpgtdch8tOBE3FP1TnSW3RF+iCsA0I5NO9/4YbEsWtw==} + /@angular-devkit/build-angular@17.3.5(@angular/compiler-cli@17.3.5)(typescript@5.4.5): + resolution: {integrity: sha512-Ju2MkMidJglJq/iWgM9CNbhK7A/2n0LNYPZx+ucb+aOFWvurCQrU4Mt/es6xCsxOEs5OPhjqdva8mxE5FHwzTQ==} 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 @@ -150,10 +150,10 @@ packages: optional: true dependencies: '@ampproject/remapping': 2.3.0 - '@angular-devkit/architect': 0.1703.4 - '@angular-devkit/build-webpack': 0.1703.4(webpack-dev-server@4.15.1)(webpack@5.90.3) - '@angular-devkit/core': 17.3.4 - '@angular/compiler-cli': 17.3.4(@angular/compiler@17.3.4)(typescript@5.4.5) + '@angular-devkit/architect': 0.1703.5 + '@angular-devkit/build-webpack': 0.1703.5(webpack-dev-server@4.15.1)(webpack@5.90.3) + '@angular-devkit/core': 17.3.5 + '@angular/compiler-cli': 17.3.5(@angular/compiler@17.3.5)(typescript@5.4.5) '@babel/core': 7.24.0 '@babel/generator': 7.23.6 '@babel/helper-annotate-as-pure': 7.22.5 @@ -164,7 +164,7 @@ 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.4(@angular/compiler-cli@17.3.4)(typescript@5.4.5)(webpack@5.90.3) + '@ngtools/webpack': 17.3.5(@angular/compiler-cli@17.3.5)(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) @@ -236,14 +236,14 @@ packages: - webpack-cli dev: true - /@angular-devkit/build-webpack@0.1703.4(webpack-dev-server@4.15.1)(webpack@5.90.3): - resolution: {integrity: sha512-9Vsl6rfIH8kF02W7i3tW/aMOT2Ld1zpcok7n7JdL3Pb7oW0SOjt73FN6Ykm/hVig12gsOGJtEsDfQRsnCddmfQ==} + /@angular-devkit/build-webpack@0.1703.5(webpack-dev-server@4.15.1)(webpack@5.90.3): + resolution: {integrity: sha512-KcoKlWhDP6+2q3laQ6elXLt2QrVxWJFdCPUC9dIm0Tnc997Tal/UVhlDKaZgITYDgDvRFqG+tzNm2uFd8l7h+A==} 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.4 + '@angular-devkit/architect': 0.1703.5 rxjs: 7.8.1 webpack: 5.90.3(esbuild@0.20.1) webpack-dev-server: 4.15.1(webpack@5.90.3) @@ -251,8 +251,8 @@ packages: - chokidar dev: true - /@angular-devkit/core@17.3.4: - resolution: {integrity: sha512-vE69/Db555NTRPh+LUFO3rAQBbv7QGrK59F7chRggDZKamtCq/FfhEg2O+0BXQnUitOQN6WgQ79+payFYWyCCg==} + /@angular-devkit/core@17.3.5: + resolution: {integrity: sha512-iqGv45HVI+yRROoTqQTY0QChYlRCZkFUfIjdfJLegjc6xq9sLtxDr03CWM45BKGG5lSxDOy+qu/pdRvtL3V2eg==} 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 @@ -268,11 +268,11 @@ packages: source-map: 0.7.4 dev: true - /@angular-devkit/schematics@17.3.4: - resolution: {integrity: sha512-Z6801QhIwrMTcKPzdo9si+ZtJkPz8fys0ftOTfTM66+tDECasU7pvk8Dr54WkDY29mdSHzPxpSxAsooEwfxvQQ==} + /@angular-devkit/schematics@17.3.5: + resolution: {integrity: sha512-oh/mvpMKxGfk5v9QIB7LfGsDC/iVpmsIAvbb4+1ddCx86EJXdz3xWnVDbUehOd6n7HJXnQrNirWjWvWquM2GhQ==} 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.4 + '@angular-devkit/core': 17.3.5 jsonc-parser: 3.2.1 magic-string: 0.30.8 ora: 5.4.1 @@ -333,14 +333,14 @@ packages: - supports-color dev: true - /@angular-eslint/schematics@17.3.0(@angular/cli@17.3.4)(eslint@8.57.0)(typescript@5.4.5): + /@angular-eslint/schematics@17.3.0(@angular/cli@17.3.5)(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-5yssd5EOomxlKt9vN/OXXCTCuI3Pmfj16pkjBDoW0wzC8/M2l5zlXIEfoKumHYv2wtF553LhaMXVYVU35e0lTw==} peerDependencies: '@angular/cli': '>= 17.0.0 < 18.0.0' dependencies: '@angular-eslint/eslint-plugin': 17.3.0(eslint@8.57.0)(typescript@5.4.5) '@angular-eslint/eslint-plugin-template': 17.3.0(eslint@8.57.0)(typescript@5.4.5) - '@angular/cli': 17.3.4 + '@angular/cli': 17.3.5 '@nx/devkit': 18.2.4(nx@18.2.4) ignore: 5.3.1 nx: 18.2.4 @@ -381,40 +381,40 @@ packages: - supports-color dev: true - /@angular/animations@17.3.4(@angular/core@17.3.4): - resolution: {integrity: sha512-2nBgXRdTSVPZMueV6ZJjajDRucwJBLxwiVhGafk/nI5MJF0Yss/Jfp2Kfzk5Xw2AqGhz0rd00IyNNUQIzO2mlw==} + /@angular/animations@17.3.5(@angular/core@17.3.5): + resolution: {integrity: sha512-hbfCnBxwhYQMKB+9tDcmfvckUtB8LdY1gPST6TZ7CzrWCSPddsnXxqxBZSBjBI6zXvE4FOV3kUzaUXM/Bq5sRw==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/core': 17.3.4 + '@angular/core': 17.3.5 dependencies: - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) tslib: 2.6.2 dev: false - /@angular/cdk@17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(rxjs@7.8.1): - resolution: {integrity: sha512-/wbKUbc0YC3HGE2TCgW7D07Q99PZ/5uoRvMyWw0/wHa8VLNavXZPecbvtyLs//3HnqoCMSUFE7E2Mrd7jAWfcA==} + /@angular/cdk@17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(rxjs@7.8.1): + resolution: {integrity: sha512-6y8+yIPWG0wTdPwHIPxKrEFCX1JxxBh4aXcmQnrNTDIvtoEPGaea9SU9XKaU8ahiZMlcpUXqKLG0BVbEhA1Oow==} peerDependencies: '@angular/common': ^17.0.0 || ^18.0.0 '@angular/core': ^17.0.0 || ^18.0.0 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) rxjs: 7.8.1 tslib: 2.6.2 optionalDependencies: parse5: 7.1.2 dev: false - /@angular/cli@17.3.4: - resolution: {integrity: sha512-o4oIA2stUwXOur/T/kP3Zr8ZUCB4VYmvjACbsQ3tpzVCFYPeaW9psQagBNJfaBVVDSYL+EacVYBYJR9ZImvcGw==} + /@angular/cli@17.3.5: + resolution: {integrity: sha512-6MHJzPKy4uB9qlJO1eKs4rtDlRuCe0lOiz1f3kHFZ/GQQm5xA1xsmZJMN4ASsnu4yU3oZs6vJ/vt8i2/jvdPbA==} 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.4 - '@angular-devkit/core': 17.3.4 - '@angular-devkit/schematics': 17.3.4 - '@schematics/angular': 17.3.4 + '@angular-devkit/architect': 0.1703.5 + '@angular-devkit/core': 17.3.5 + '@angular-devkit/schematics': 17.3.5 + '@schematics/angular': 17.3.5 '@yarnpkg/lockfile': 1.1.0 ansi-colors: 4.1.3 ini: 4.1.2 @@ -435,27 +435,27 @@ packages: - supports-color dev: true - /@angular/common@17.3.4(@angular/core@17.3.4)(rxjs@7.8.1): - resolution: {integrity: sha512-rEsmtwUMJaNvaimh9hwaHdDLXaOIrjEnYdhmJUvDaKPQaFfSbH3CGGVz9brUyzVJyiWJYkYM0ssxavczeiEe8g==} + /@angular/common@17.3.5(@angular/core@17.3.5)(rxjs@7.8.1): + resolution: {integrity: sha512-Ox91WxSnOSrQ6I21cHi69EfT2Pxtd5Knb5AsdwpxqE57V2E7EnWMhb+LP+holCtFUhK529EGXCk788M+Elyw6g==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/core': 17.3.4 + '@angular/core': 17.3.5 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) rxjs: 7.8.1 tslib: 2.6.2 dev: false - /@angular/compiler-cli@17.3.4(@angular/compiler@17.3.4)(typescript@5.4.5): - resolution: {integrity: sha512-TVWjpZSI/GIXTYsmVgEKYjBckcW8Aj62DcxLNehRFR+c7UB95OY3ZFjU8U4jL0XvWPgTkkVWQVq+P6N4KCBsyw==} + /@angular/compiler-cli@17.3.5(@angular/compiler@17.3.5)(typescript@5.4.5): + resolution: {integrity: sha512-R53JNbbVDHWSGdL0e2vGQ5iJCrILOWZ1oemKjekOFB93fUBlEyi+nZmm4uTO7RU8PgjB0UpxI6ok5ZE3Amkt6A==} engines: {node: ^18.13.0 || >=20.9.0} hasBin: true peerDependencies: - '@angular/compiler': 17.3.4 + '@angular/compiler': 17.3.5 typescript: '>=5.2 <5.5' dependencies: - '@angular/compiler': 17.3.4(@angular/core@17.3.4) + '@angular/compiler': 17.3.5(@angular/core@17.3.5) '@babel/core': 7.23.9 '@jridgewell/sourcemap-codec': 1.4.15 chokidar: 3.6.0 @@ -469,20 +469,20 @@ packages: - supports-color dev: true - /@angular/compiler@17.3.4(@angular/core@17.3.4): - resolution: {integrity: sha512-YrDClIzgj6nQwiYHrfV6AkT1C5LCDgJh+LICus/2EY1w80j1Qf48Zh4asictReePdVE2Tarq6dnpDh4RW6LenQ==} + /@angular/compiler@17.3.5(@angular/core@17.3.5): + resolution: {integrity: sha512-lTubBFNlpH9zK46+yeVI7VJQNUELLAB8W1ucndYLCA9Rr9Jop+rYIXijmr42AGokOYr7yLc8HRiSQ5e+X2pUQg==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/core': 17.3.4 + '@angular/core': 17.3.5 peerDependenciesMeta: '@angular/core': optional: true dependencies: - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) tslib: 2.6.2 - /@angular/core@17.3.4(rxjs@7.8.1)(zone.js@0.14.4): - resolution: {integrity: sha512-fvhBkfa/DDBzp1UcNzSxHj+Z9DebSS/o9pZpZlbu/0uEiu9hScmScnhaty5E0EbutzHB0SVUCz7zZuDeAywvWg==} + /@angular/core@17.3.5(rxjs@7.8.1)(zone.js@0.14.4): + resolution: {integrity: sha512-y6P27lcrKy3yMx/rtMuGsAnDyVEsS3BdyArTXcD0TOImVGHhVIaB0L95DUCam3ajTe2f2x39eozJZDh7QSpJaw==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: rxjs: ^6.5.3 || ^7.4.0 @@ -492,44 +492,44 @@ packages: tslib: 2.6.2 zone.js: 0.14.4 - /@angular/forms@17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1): - resolution: {integrity: sha512-XWA/FAs0r7VRdztMIfGU9EE0Chj+1U/sDnzJK3ZPO0n8F8oDAEWGJyiw8GIyWTLs+mz43thVIED3DhbRNsXbWw==} + /@angular/forms@17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1): + resolution: {integrity: sha512-Rf/8XWHdFYZQaOVTJ0QVwxQm9fDqQqIJc0yfPcH/DYL5pT7R0U2z98I5McZawzUBJUo1Zt1gijzDlzNUGf6jiA==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/common': 17.3.4 - '@angular/core': 17.3.4 - '@angular/platform-browser': 17.3.4 + '@angular/common': 17.3.5 + '@angular/core': 17.3.5 + '@angular/platform-browser': 17.3.5 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/platform-browser': 17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/platform-browser': 17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5) rxjs: 7.8.1 tslib: 2.6.2 dev: false - /@angular/language-service@17.3.4: - resolution: {integrity: sha512-CgLg/7P0+NEeGU+vqvoG0rh2ns5iyfi/UO4JTxN1iMjuFBAUhGHxjiItPy8cN2XK/dWgOhXAFe4oqxA4dMBp/Q==} + /@angular/language-service@17.3.5: + resolution: {integrity: sha512-s3W5o+pRPU3jNWeeyO4XEdc28+s4MPhew+k0meQfZ11VMdmShzwFu5nPgOMmLB3fBhQqlSBrHUh1P9SB7Hu3FQ==} engines: {node: ^18.13.0 || >=20.9.0} dev: true - /@angular/material@17.3.4(@angular/animations@17.3.4)(@angular/cdk@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/forms@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1): - resolution: {integrity: sha512-SgCroIlHKt3s9pTEYlhW4ww6Gm1sIzJKuk0wlputPZvQS5PTJ8YY8vDg4QohpQcltlaXCbutt4qw+CBNU9W9iA==} + /@angular/material@17.3.5(@angular/animations@17.3.5)(@angular/cdk@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/forms@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1): + resolution: {integrity: sha512-1+QqBQ8HVOwxOkx/v2n53JA9ALOee55yVDbnAv7TkseNN4JEDxOcE5TO5HGmdV2A4tcsXQ00MIdy04jiB4sCng==} peerDependencies: '@angular/animations': ^17.0.0 || ^18.0.0 - '@angular/cdk': 17.3.4 + '@angular/cdk': 17.3.5 '@angular/common': ^17.0.0 || ^18.0.0 '@angular/core': ^17.0.0 || ^18.0.0 '@angular/forms': ^17.0.0 || ^18.0.0 '@angular/platform-browser': ^17.0.0 || ^18.0.0 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/animations': 17.3.4(@angular/core@17.3.4) - '@angular/cdk': 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/forms': 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1) - '@angular/platform-browser': 17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4) + '@angular/animations': 17.3.5(@angular/core@17.3.5) + '@angular/cdk': 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/forms': 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1) + '@angular/platform-browser': 17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5) '@material/animation': 15.0.0-canary.7f224ddd4.0 '@material/auto-init': 15.0.0-canary.7f224ddd4.0 '@material/banner': 15.0.0-canary.7f224ddd4.0 @@ -581,51 +581,51 @@ packages: tslib: 2.6.2 dev: false - /@angular/platform-browser-dynamic@17.3.4(@angular/common@17.3.4)(@angular/compiler@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4): - resolution: {integrity: sha512-S53jPyQtInVYkjdGEFt4dxM1NrHNkWCvXGRsCO7Uh+laDf1OpIDp9YHf49OZohYLajJradN6y4QfdZL6IUwXKA==} + /@angular/platform-browser-dynamic@17.3.5(@angular/common@17.3.5)(@angular/compiler@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5): + resolution: {integrity: sha512-KuS4j3Gh1h/CEj+bIOc/IcZIdiCB/DNbtUvz1eNp1o23aM8QutqelI3A4WBnQuR4yq8Z/8M3FH9F1OVwwhn2QQ==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/common': 17.3.4 - '@angular/compiler': 17.3.4 - '@angular/core': 17.3.4 - '@angular/platform-browser': 17.3.4 + '@angular/common': 17.3.5 + '@angular/compiler': 17.3.5 + '@angular/core': 17.3.5 + '@angular/platform-browser': 17.3.5 dependencies: - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/compiler': 17.3.4(@angular/core@17.3.4) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/platform-browser': 17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/compiler': 17.3.5(@angular/core@17.3.5) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/platform-browser': 17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5) tslib: 2.6.2 dev: false - /@angular/platform-browser@17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4): - resolution: {integrity: sha512-W2nH9WSQJfdNG4HH9B1Cvj5CTmy9gF3321I+65Tnb8jFmpeljYDBC/VVUhTZUCRpg8udMWeMHEQHuSb8CbozmQ==} + /@angular/platform-browser@17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5): + resolution: {integrity: sha512-ITlu/GTD64Sr0FMaFCJiHoTJrEZw8qRFXjPjv3BKhAp5dQKcwnCm02o1NOaj5d8oIItIh5fbI2zP0CSU2qNZkQ==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/animations': 17.3.4 - '@angular/common': 17.3.4 - '@angular/core': 17.3.4 + '@angular/animations': 17.3.5 + '@angular/common': 17.3.5 + '@angular/core': 17.3.5 peerDependenciesMeta: '@angular/animations': optional: true dependencies: - '@angular/animations': 17.3.4(@angular/core@17.3.4) - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/animations': 17.3.5(@angular/core@17.3.5) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) tslib: 2.6.2 dev: false - /@angular/router@17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1): - resolution: {integrity: sha512-B1zjUYyhN66dp47zdF96NRwo0dEdM5In4Ob8HN64PAbnaK3y1EPp31aN6EGernPvKum1ibgwSZw+Uwnbkuv7Ww==} + /@angular/router@17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1): + resolution: {integrity: sha512-KsIIs3t9IpxsdMSrJDZzO5WgIWkVE6Ep5WWiSyPIgEfA+ndGpJLmyv0d/r1yKKlYUJxz7Hde55o4thgT2n2x/A==} engines: {node: ^18.13.0 || >=20.9.0} peerDependencies: - '@angular/common': 17.3.4 - '@angular/core': 17.3.4 - '@angular/platform-browser': 17.3.4 + '@angular/common': 17.3.5 + '@angular/core': 17.3.5 + '@angular/platform-browser': 17.3.5 rxjs: ^6.5.3 || ^7.4.0 dependencies: - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/platform-browser': 17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/platform-browser': 17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5) rxjs: 7.8.1 tslib: 2.6.2 dev: false @@ -2470,26 +2470,26 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /@kangaroo-and-rabbit/kar-cw@0.2.0(@angular/common@17.3.4)(@angular/compiler@17.3.4)(@angular/core@17.3.4)(@angular/forms@17.3.4)(@angular/platform-browser-dynamic@17.3.4)(@angular/platform-browser@17.3.4)(@angular/router@17.3.4)(rxjs@7.8.1)(zone.js@0.14.4): - resolution: {integrity: sha512-Wg58CD4Mfh96rIWNBjRevBWcIBREJTqkqEelOIDfnrPQru8Gr0kovMccAvXDvBGEeklRSS8Oyg/Y5DuZLWlS2A==, tarball: https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/npm/%40kangaroo-and-rabbit%2Fkar-cw/-/0.2.0/kar-cw-0.2.0.tgz} + /@kangaroo-and-rabbit/kar-cw@0.2.1(@angular/common@17.3.5)(@angular/compiler@17.3.5)(@angular/core@17.3.5)(@angular/forms@17.3.5)(@angular/platform-browser-dynamic@17.3.5)(@angular/platform-browser@17.3.5)(@angular/router@17.3.5)(rxjs@7.8.1)(zone.js@0.14.4): + resolution: {integrity: sha512-gxvT5xRyXM7Ht0KV5VQcyqfUj14ufqzh0saImFTxXN/FdGCbZhyQ5pd45COLYAyXoHYiJSrKi3WFMfX9ottIUQ==, tarball: https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/npm/%40kangaroo-and-rabbit%2Fkar-cw/-/0.2.1/kar-cw-0.2.1.tgz} peerDependencies: - '@angular/common': ^17.3.3 - '@angular/compiler': ^17.3.3 - '@angular/core': ^17.3.3 - '@angular/forms': ^17.3.3 - '@angular/platform-browser': ^17.3.3 - '@angular/platform-browser-dynamic': ^17.3.3 - '@angular/router': ^17.3.3 + '@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 dependencies: - '@angular/common': 17.3.4(@angular/core@17.3.4)(rxjs@7.8.1) - '@angular/compiler': 17.3.4(@angular/core@17.3.4) - '@angular/core': 17.3.4(rxjs@7.8.1)(zone.js@0.14.4) - '@angular/forms': 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1) - '@angular/platform-browser': 17.3.4(@angular/animations@17.3.4)(@angular/common@17.3.4)(@angular/core@17.3.4) - '@angular/platform-browser-dynamic': 17.3.4(@angular/common@17.3.4)(@angular/compiler@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4) - '@angular/router': 17.3.4(@angular/common@17.3.4)(@angular/core@17.3.4)(@angular/platform-browser@17.3.4)(rxjs@7.8.1) + '@angular/common': 17.3.5(@angular/core@17.3.5)(rxjs@7.8.1) + '@angular/compiler': 17.3.5(@angular/core@17.3.5) + '@angular/core': 17.3.5(rxjs@7.8.1)(zone.js@0.14.4) + '@angular/forms': 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1) + '@angular/platform-browser': 17.3.5(@angular/animations@17.3.5)(@angular/common@17.3.5)(@angular/core@17.3.5) + '@angular/platform-browser-dynamic': 17.3.5(@angular/common@17.3.5)(@angular/compiler@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5) + '@angular/router': 17.3.5(@angular/common@17.3.5)(@angular/core@17.3.5)(@angular/platform-browser@17.3.5)(rxjs@7.8.1) rxjs: 7.8.1 tslib: 2.6.2 zone.js: 0.14.4 @@ -3158,15 +3158,15 @@ packages: tslib: 2.6.2 dev: false - /@ngtools/webpack@17.3.4(@angular/compiler-cli@17.3.4)(typescript@5.4.5)(webpack@5.90.3): - resolution: {integrity: sha512-3uNX4tRTKPm91mSQcnmQtqDMMKLGDevJERSPJU7hlOXZZ05QrT4et1mwvXNYYMpXqi2OkC7D4ryIS2YxAiItBA==} + /@ngtools/webpack@17.3.5(@angular/compiler-cli@17.3.5)(typescript@5.4.5)(webpack@5.90.3): + resolution: {integrity: sha512-0heI0yHUckdGI8uywu/wkp24KR/tdYMKYJOaYIU+9JydyN1zJRpbR7x0thddl7+k/zu2ZGbfFdv1779Ecw/xdA==} 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.4(@angular/compiler@17.3.4)(typescript@5.4.5) + '@angular/compiler-cli': 17.3.5(@angular/compiler@17.3.5)(typescript@5.4.5) typescript: 5.4.5 webpack: 5.90.3(esbuild@0.20.1) dev: true @@ -3611,12 +3611,12 @@ packages: dev: true optional: true - /@schematics/angular@17.3.4: - resolution: {integrity: sha512-Rqhp5l76Ej6BOZCHPrvHlA2SBkjv1aHFWAfW9gREke826j46D+fuA0eDAdgeVTz0Fx9e7XM3LdtWsz7CBlV4Ug==} + /@schematics/angular@17.3.5: + resolution: {integrity: sha512-SWCK16Eob0K86hpZ3NHmrTS6LSzTlhvnIdf3BXC6nzoiyDhcAS0oJ2Tjdq1opW/PaL1hB7MulcbIhxYln5du0w==} 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.4 - '@angular-devkit/schematics': 17.3.4 + '@angular-devkit/core': 17.3.5 + '@angular-devkit/schematics': 17.3.5 jsonc-parser: 3.2.1 transitivePeerDependencies: - chokidar diff --git a/front/src/app/component/element-series/element-series.html b/front/src/app/component/element-series/element-series.html index c94f4ee..1bdb2b7 100644 --- a/front/src/app/component/element-series/element-series.html +++ b/front/src/app/component/element-series/element-series.html @@ -1,8 +1,8 @@
- @if(countvideo) { + @if(countVideo) {
- {{countvideo}} + {{countVideo}}
}
diff --git a/front/src/app/component/element-series/element-series.ts b/front/src/app/component/element-series/element-series.ts index b9b4474..515d2dc 100644 --- a/front/src/app/component/element-series/element-series.ts +++ b/front/src/app/component/element-series/element-series.ts @@ -20,7 +20,7 @@ export class ElementSeriesComponent implements OnInit { name: string = 'plouf'; description: string = ''; - countvideo: number = null; + countVideo: number = null; covers: string[]; @@ -43,9 +43,9 @@ export class ElementSeriesComponent implements OnInit { this.seriesService.countVideo(this.element.id) .then((response) => { - self.countvideo = response; + self.countVideo = response; }).catch((response) => { - self.countvideo = 0; + self.countVideo = 0; }); } } diff --git a/front/src/app/component/element-type/element-type.html b/front/src/app/component/element-type/element-type.html index a5c186c..6214470 100644 --- a/front/src/app/component/element-type/element-type.html +++ b/front/src/app/component/element-type/element-type.html @@ -1,8 +1,8 @@
- @if(countvideo) { + @if(countVideo) { - {{countvideo}} + {{countVideo}} }
diff --git a/front/src/app/scene/upload/upload.ts b/front/src/app/scene/upload/upload.ts index cb35988..f4abcc3 100644 --- a/front/src/app/scene/upload/upload.ts +++ b/front/src/app/scene/upload/upload.ts @@ -23,6 +23,7 @@ export class FileParsedElement { public nameDetected: boolean = false; public episodeDetected: boolean = false; constructor( + public id: number, public file: File, public series: string, public season: number, @@ -94,6 +95,7 @@ export class UploadScene implements OnInit { globalSeries: string = ''; globalSeason: number = null; cancelHandle: RESTAbort = {}; + dataUniqueId: number = 0; constructor( private MediaService: MediaService, private seasonService: SeasonService, @@ -307,7 +309,7 @@ export class UploadScene implements OnInit { } // remove extension title = title.replace(new RegExp('\\.(mkv|MKV|Mkv|webm|WEBM|Webm|mp4)'), ''); - let tmp = new FileParsedElement(file, series, season, episode, title); + const tmp = new FileParsedElement(this.dataUniqueId++, file, series, season, episode, title); console.log(`==>${JSON.stringify(tmp)}`); // add it in the list. this.parsedElement.push(tmp);