From 4764a011a6c203a85e45f3fef26e7977615dffed Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Wed, 28 Oct 2026 22:18:00 +0100 Subject: [PATCH 01/10] Update Angular to version 22 --- bun.lock | 1377 +++++++---------- package.json | 41 +- src/app/app.component.ts | 2 + src/app/app.routes.ts | 28 +- .../actionbar/actionbar.component.ts | 3 +- .../compilation-detail.component.ts | 3 +- .../detail-entity/detail-entity.component.ts | 3 +- .../detail-institution.component.ts | 3 +- .../detail-person/detail-person.component.ts | 3 +- .../entity-detail/entity-detail.component.ts | 3 +- .../collection-media-container.component.ts | 3 +- .../entity-media-container.component.ts | 3 +- .../grid-element/grid-element.component.ts | 3 +- .../title-container.component.ts | 3 +- .../language-dropdown.component.ts | 3 +- .../metadata/address/address.component.ts | 3 +- .../agents/agent-card/agent-card.component.ts | 3 +- .../agents/agent-list/agent-list.component.ts | 3 +- .../metadata/agents/agents.component.ts | 2 + .../metadata/entity/entity.component.ts | 3 +- .../metadata/general/general.component.ts | 3 +- .../metadata/licence/licence.component.ts | 3 +- .../biblio-ref/biblio-ref.component.ts | 3 +- .../optional/dimension/dimension.component.ts | 3 +- .../external-ids/external-ids.component.ts | 3 +- .../optional/links/links.component.ts | 3 +- .../metadata-files.component.ts | 3 +- .../optional-card-list.component.ts | 3 +- .../optional/phys-obj/phys-obj.component.ts | 3 +- .../navigation/footer/footer.component.ts | 3 +- .../navigation/navbar/navbar.component.ts | 3 +- .../sidenav-list/sidenav-list.component.ts | 3 +- .../news-card/news-card.component.ts | 3 +- .../notification-area.component.ts | 3 +- .../outlined-input.component.html | 24 +- .../outlined-input.component.ts | 107 +- .../pagination/pagination.component.ts | 3 +- .../search-bar/search-bar.component.ts | 3 +- .../selection-box/selection-box.component.ts | 3 +- .../selection-container.component.ts | 3 +- .../selection-tab/selection-tab.component.ts | 3 +- .../sidenav-container.component.ts | 2 + src/app/components/tabs/tabs.component.ts | 2 + src/app/components/upload/upload.component.ts | 3 +- .../uploaded-by/uploaded-by.component.ts | 3 +- .../add-to-compilation.component.ts | 3 +- .../auth-dialog/auth-dialog.component.html | 123 +- .../auth-dialog/auth-dialog.component.ts | 56 +- .../confirmation-dialog.component.ts | 3 +- .../create-or-edit-compilation.component.ts | 3 +- .../create-new-entity.component.ts | 2 + .../edit-entity-dialog.component.ts | 3 +- .../embed-object-dialog.component.ts | 3 +- .../entity-download-dialog.component.ts | 3 +- .../forgot-password-dialog.component.ts | 3 +- .../forgot-username-dialog.component.ts | 3 +- .../manage-ownership.component.ts | 3 +- .../news-dialog/news-dialog.component.ts | 3 +- .../profile-page-edit.component.ts | 3 +- .../register-dialog.component.ts | 3 +- .../remove-from-compilation.component.ts | 3 +- .../reset-password-dialog.component.ts | 3 +- .../viewer-dialog/viewer-dialog.component.ts | 3 +- .../visibility-and-access-dialog.component.ts | 3 +- .../pages/admin-page/admin-page.component.ts | 3 +- src/app/pages/annotate/annotate.component.ts | 3 +- .../debug-page/debug-page.component.html | 1 + .../debug-page/debug-page.component.scss | 1 + .../pages/debug-page/debug-page.component.ts | 10 + .../detail-page/detail-page.component.ts | 3 +- .../explore-filter-option.component.ts | 2 + ...explore-filter-sidenav-toggle.component.ts | 3 +- .../explore-filter-sidenav.component.ts | 2 + src/app/pages/explore/explore.component.html | 4 +- src/app/pages/explore/explore.component.ts | 2 + src/app/pages/home/home.component.ts | 3 +- src/app/pages/index.ts | 11 - src/app/pages/notfound/notfound.component.ts | 3 +- .../compilations/compilations.component.html | 4 +- .../compilations/compilations.component.ts | 2 + .../entities/entities.component.html | 2 +- .../entities/entities.component.ts | 2 + .../profile-page-header.component.ts | 3 +- .../profile-page-help.component.ts | 3 +- .../profile-page/profile-page.component.ts | 3 +- .../profile-public-view.component.ts | 3 +- .../static-pages/about/about.component.ts | 3 +- .../static-pages/imprint/imprint.component.ts | 3 +- .../static-pages/privacy/privacy.component.ts | 3 +- src/app/services/backend.service.ts | 2 +- src/app/services/dialog-helper.service.ts | 4 +- src/app/util/form-helpers.ts | 3 + tsconfig.json | 7 +- 93 files changed, 951 insertions(+), 1069 deletions(-) create mode 100644 src/app/pages/debug-page/debug-page.component.html create mode 100644 src/app/pages/debug-page/debug-page.component.scss create mode 100644 src/app/pages/debug-page/debug-page.component.ts delete mode 100644 src/app/pages/index.ts create mode 100644 src/app/util/form-helpers.ts diff --git a/bun.lock b/bun.lock index 873df8cd..12100ee0 100644 --- a/bun.lock +++ b/bun.lock @@ -5,19 +5,19 @@ "": { "name": "kompakkt.repo", "dependencies": { - "@angular/animations": "21.2.6", - "@angular/cdk": "21.2.4", - "@angular/common": "21.2.6", - "@angular/compiler": "21.2.6", - "@angular/core": "21.2.6", - "@angular/forms": "21.2.6", - "@angular/material": "21.2.4", - "@angular/platform-browser": "21.2.6", - "@angular/platform-browser-dynamic": "21.2.6", - "@angular/router": "21.2.6", + "@angular/animations": "22.2.3", + "@angular/cdk": "22.2.4", + "@angular/common": "22.2.3", + "@angular/compiler": "22.2.3", + "@angular/core": "22.2.3", + "@angular/forms": "22.2.3", + "@angular/material": "22.2.4", + "@angular/platform-browser": "22.2.3", + "@angular/platform-browser-dynamic": "22.2.3", + "@angular/router": "22.2.3", "@kompakkt/common": "git+https://github.com/Kompakkt/Common.git#49b7d222f9d6edd719ae7183ba53c96acedd9d0f", - "@kompakkt/komponents": "git+https://github.com/Kompakkt/Komponents.git#2bd681606d9b50f24856d6764b5aaf56953a4a39", - "@kompakkt/plugins": "git+https://github.com/Kompakkt/Plugins.git#3ce5c36c4a82683c984fed0ca259217c49878e91", + "@kompakkt/komponents": "git+https://github.com/Kompakkt/Komponents.git#a8299aa77713b01270aa43d2a69a3a6ba26959e7", + "@kompakkt/plugins": "git+https://github.com/Kompakkt/Plugins.git#0ff71dfc2f48041b5e8ea3d652f7c0101f2813ad", "@kompakkt/server-openapi": "git+https://github.com/Kompakkt/Server.git#d73de702a6b2a94c4824f95e5fef008ac18d572b", "bson-objectid": "^2.0.4", "fast-deep-equal": "^3.1.3", @@ -31,10 +31,10 @@ "zone.js": "0.16.1", }, "devDependencies": { - "@angular-devkit/build-angular": "21.2.5", - "@angular/cli": "21.2.5", - "@angular/compiler-cli": "21.2.6", - "@angular/language-service": "21.2.6", + "@angular-devkit/build-angular": "22.2.5", + "@angular/cli": "22.2.5", + "@angular/compiler-cli": "22.2.3", + "@angular/language-service": "22.2.3", "@types/bun": "^1.4.3", "@types/fscreen": "1.0.4", "@types/node": "^25.5.0", @@ -44,341 +44,308 @@ "oxlint": "^1.57.0", "oxlint-tsgolint": "^0.18.1", "ts-node": "~10.9.2", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "wait-on": "^9.0.4", }, }, }, "trustedDependencies": [ + "@kompakkt/common", "@kompakkt/plugins", ], "overrides": { "@kompakkt/komponents": { - "@angular/core": "21.2.6", + "@angular/core": "22.2.3", }, "@kompakkt/plugins": { - "@angular/core": "21.2.6", + "@angular/core": "22.2.3", "@kompakkt/common": "git+https://github.com/Kompakkt/Common.git#49b7d222f9d6edd719ae7183ba53c96acedd9d0f", }, }, "packages": { - "@algolia/abtesting": ["@algolia/abtesting@1.14.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-Dkj0BgPiLAaim9sbQ97UKDFHJE/880wgStAM18U++NaJ/2Cws34J5731ovJifr6E3Pv4T2CqvMXf8qLCC417Ew=="], - - "@algolia/client-abtesting": ["@algolia/client-abtesting@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-LV5qCJdj+/m9I+Aj91o+glYszrzd7CX6NgKaYdTOj4+tUYfbS62pwYgUfZprYNayhkQpVFcrW8x8ZlIHpS23Vw=="], - - "@algolia/client-analytics": ["@algolia/client-analytics@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-/AVoMqHhPm14CcHq7mwB+bUJbfCv+jrxlNvRjXAuO+TQa+V37N8k1b0ijaRBPdmSjULMd8KtJbQyUyabXOu6Kg=="], - - "@algolia/client-common": ["@algolia/client-common@5.48.1", "", {}, "sha512-VXO+qu2Ep6ota28ktvBm3sG53wUHS2n7bgLWmce5jTskdlCD0/JrV4tnBm1l7qpla1CeoQb8D7ShFhad+UoSOw=="], - - "@algolia/client-insights": ["@algolia/client-insights@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-zl+Qyb0nLg+Y5YvKp1Ij+u9OaPaKg2/EPzTwKNiVyOHnQJlFxmXyUZL1EInczAZsEY8hVpPCLtNfhMhfxluXKQ=="], - - "@algolia/client-personalization": ["@algolia/client-personalization@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-r89Qf9Oo9mKWQXumRu/1LtvVJAmEDpn8mHZMc485pRfQUMAwSSrsnaw1tQ3sszqzEgAr1c7rw6fjBI+zrAXTOw=="], - - "@algolia/client-query-suggestions": ["@algolia/client-query-suggestions@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-TPKNPKfghKG/bMSc7mQYD9HxHRUkBZA4q1PEmHgICaSeHQscGqL4wBrKkhfPlDV1uYBKW02pbFMUhsOt7p4ZpA=="], - - "@algolia/client-search": ["@algolia/client-search@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-4Fu7dnzQyQmMFknYwTiN/HxPbH4DyxvQ1m+IxpPp5oslOgz8m6PG5qhiGbqJzH4HiT1I58ecDiCAC716UyVA8Q=="], - - "@algolia/ingestion": ["@algolia/ingestion@1.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-/RFq3TqtXDUUawwic/A9xylA2P3LDMO8dNhphHAUOU51b1ZLHrmZ6YYJm3df1APz7xLY1aht6okCQf+/vmrV9w=="], - - "@algolia/monitoring": ["@algolia/monitoring@1.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-Of0jTeAZRyRhC7XzDSjJef0aBkgRcvRAaw0ooYRlOw57APii7lZdq+layuNdeL72BRq1snaJhoMMwkmLIpJScw=="], - - "@algolia/recommend": ["@algolia/recommend@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-bE7JcpFXzxF5zHwj/vkl2eiCBvyR1zQ7aoUdO+GDXxGp0DGw7nI0p8Xj6u8VmRQ+RDuPcICFQcCwRIJT5tDJFw=="], - - "@algolia/requester-browser-xhr": ["@algolia/requester-browser-xhr@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1" } }, "sha512-MK3wZ2koLDnvH/AmqIF1EKbJlhRS5j74OZGkLpxI4rYvNi9Jn/C7vb5DytBnQ4KUWts7QsmbdwHkxY5txQHXVw=="], - - "@algolia/requester-fetch": ["@algolia/requester-fetch@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1" } }, "sha512-2oDT43Y5HWRSIQMPQI4tA/W+TN/N2tjggZCUsqQV440kxzzoPGsvv9QP1GhQ4CoDa+yn6ygUsGp6Dr+a9sPPSg=="], - - "@algolia/requester-node-http": ["@algolia/requester-node-http@5.48.1", "", { "dependencies": { "@algolia/client-common": "5.48.1" } }, "sha512-xcaCqbhupVWhuBP1nwbk1XNvwrGljozutEiLx06mvqDf3o8cHyEgQSHS4fKJM+UAggaWVnnFW+Nne5aQ8SUJXg=="], - "@ampproject/remapping": ["@ampproject/remapping@2.3.0", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw=="], - "@angular-devkit/architect": ["@angular-devkit/architect@0.2102.5", "", { "dependencies": { "@angular-devkit/core": "21.2.5", "rxjs": "7.8.2" }, "bin": { "architect": "bin/cli.js" } }, "sha512-9xE7G177R9G9Kte+4AtbEMlEeZUupnvdBUMVBlZRa/n4UDUyAkB/vj58KrzRCCIVQ/ypHVMwUilaDTO484dd+g=="], + "@angular-devkit/architect": ["@angular-devkit/architect@0.2202.5", "", { "dependencies": { "@angular-devkit/core": "22.2.5", "rxjs": "7.8.2" }, "bin": { "architect": "bin/cli.js" } }, "sha512-VBkWJs44/5kexjCGOnazwmI0ZqKAJC0YJb4RjvE0JIm26jFp85VmzkeQeIYMY0Y04f4rQe4TdfHM3Tf2E6BzWw=="], - "@angular-devkit/build-angular": ["@angular-devkit/build-angular@21.2.5", "", { "dependencies": { "@ampproject/remapping": "2.3.0", "@angular-devkit/architect": "0.2102.5", "@angular-devkit/build-webpack": "0.2102.5", "@angular-devkit/core": "21.2.5", "@angular/build": "21.2.5", "@babel/core": "7.29.0", "@babel/generator": "7.29.1", "@babel/helper-annotate-as-pure": "7.27.3", "@babel/helper-split-export-declaration": "7.24.7", "@babel/plugin-transform-async-generator-functions": "7.29.0", "@babel/plugin-transform-async-to-generator": "7.28.6", "@babel/plugin-transform-runtime": "7.29.0", "@babel/preset-env": "7.29.0", "@babel/runtime": "7.28.6", "@discoveryjs/json-ext": "0.6.3", "@ngtools/webpack": "21.2.5", "ansi-colors": "4.1.3", "autoprefixer": "10.4.27", "babel-loader": "10.0.0", "browserslist": "^4.26.0", "copy-webpack-plugin": "14.0.0", "css-loader": "7.1.3", "esbuild-wasm": "0.27.3", "http-proxy-middleware": "3.0.5", "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", "karma-source-map-support": "1.4.0", "less": "4.4.2", "less-loader": "12.3.1", "license-webpack-plugin": "4.0.2", "loader-utils": "3.3.1", "mini-css-extract-plugin": "2.10.0", "open": "11.0.0", "ora": "9.3.0", "picomatch": "4.0.4", "piscina": "5.1.4", "postcss": "8.5.6", "postcss-loader": "8.2.0", "resolve-url-loader": "5.0.0", "rxjs": "7.8.2", "sass": "1.97.3", "sass-loader": "16.0.7", "semver": "7.7.4", "source-map-loader": "5.0.0", "source-map-support": "0.5.21", "terser": "5.46.0", "tinyglobby": "0.2.15", "tree-kill": "1.2.2", "tslib": "2.8.1", "webpack": "5.105.2", "webpack-dev-middleware": "7.4.5", "webpack-dev-server": "5.2.3", "webpack-merge": "6.0.1", "webpack-subresource-integrity": "5.1.0" }, "optionalDependencies": { "esbuild": "0.27.3" }, "peerDependencies": { "@angular/compiler-cli": "^21.0.0", "@angular/core": "^21.0.0", "@angular/localize": "^21.0.0", "@angular/platform-browser": "^21.0.0", "@angular/platform-server": "^21.0.0", "@angular/service-worker": "^21.0.0", "@angular/ssr": "^21.2.5", "@web/test-runner": "^0.20.0", "browser-sync": "^3.0.2", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "karma": "^6.3.0", "ng-packagr": "^21.0.0", "protractor": "^7.0.0", "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", "typescript": ">=5.9 <6.0" }, "optionalPeers": ["@angular/core", "@angular/localize", "@angular/platform-browser", "@angular/platform-server", "@angular/service-worker", "@angular/ssr", "@web/test-runner", "browser-sync", "jest", "jest-environment-jsdom", "karma", "ng-packagr", "protractor", "tailwindcss"] }, "sha512-r07RZPM0AeYEk/VDY3JXdciUQUeSLx5C8S3ntEUmRc2OXILYIJLmuQ9ldcSQCcFeAcbTr1EYIg/iMjV0vjB4Yw=="], + "@angular-devkit/build-angular": ["@angular-devkit/build-angular@22.2.5", "", { "dependencies": { "@ampproject/remapping": "2.3.0", "@angular-devkit/architect": "0.2202.5", "@angular-devkit/build-webpack": "0.2202.5", "@angular-devkit/core": "22.2.5", "@angular/build": "22.2.5", "@babel/core": "8.0.5", "@babel/generator": "8.0.5", "@babel/helper-annotate-as-pure": "8.0.0", "@babel/helper-split-export-declaration": "7.24.7", "@babel/plugin-transform-async-generator-functions": "8.0.1", "@babel/plugin-transform-async-to-generator": "8.0.1", "@babel/plugin-transform-runtime": "8.0.1", "@babel/preset-env": "8.0.5", "@babel/runtime": "8.0.5", "@discoveryjs/json-ext": "1.1.0", "@ngtools/webpack": "22.2.5", "ansi-colors": "4.1.3", "autoprefixer": "10.6.0", "babel-loader": "10.1.1", "beasties": "0.5.4", "browserslist": "^4.26.0", "copy-webpack-plugin": "14.0.0", "css-loader": "7.1.5", "esbuild-wasm": "0.28.2", "http-proxy-middleware": "4.2.0", "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", "karma-source-map-support": "1.4.0", "less": "4.9.1", "less-loader": "13.0.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.3.1", "mini-css-extract-plugin": "2.10.2", "open": "11.0.4", "ora": "9.4.1", "picomatch": "4.0.7", "piscina": "5.3.2", "postcss": "8.5.28", "postcss-loader": "8.2.1", "resolve-url-loader": "5.0.0", "rxjs": "7.8.2", "sass-loader": "17.0.1", "semver": "7.8.5", "source-map-loader": "5.0.0", "source-map-support": "0.5.21", "terser": "5.51.2", "tinyglobby": "0.2.17", "tslib": "2.8.1", "webpack": "5.112.0", "webpack-dev-middleware": "8.5.0", "webpack-dev-server": "6.0.0", "webpack-merge": "6.0.1", "webpack-subresource-integrity": "5.1.0" }, "optionalDependencies": { "esbuild": "0.28.2" }, "peerDependencies": { "@angular/compiler-cli": "^22.0.0", "@angular/core": "^22.0.0", "@angular/localize": "^22.0.0", "@angular/platform-browser": "^22.0.0", "@angular/platform-server": "^22.0.0", "@angular/service-worker": "^22.0.0", "@angular/ssr": "^22.2.5", "browser-sync": "^3.0.2", "karma": "^6.3.0", "ng-packagr": "^22.0.0", "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", "typescript": ">=6.0 <6.1" }, "optionalPeers": ["@angular/core", "@angular/localize", "@angular/platform-browser", "@angular/platform-server", "@angular/service-worker", "@angular/ssr", "browser-sync", "karma", "ng-packagr", "tailwindcss"] }, "sha512-bK7dTlqEqBaJHlmOpd+ILBULkdz38/o74JBkj5EUKIZtcsmZPWCSPhcGZgEARaL5yO93QT+lnTIU9ylDQHV40A=="], - "@angular-devkit/build-webpack": ["@angular-devkit/build-webpack@0.2102.5", "", { "dependencies": { "@angular-devkit/architect": "0.2102.5", "rxjs": "7.8.2" }, "peerDependencies": { "webpack": "^5.30.0", "webpack-dev-server": "^5.0.2" } }, "sha512-DBhMEbPD7scUXjoA/43f/6tS6PckIWkY15LldAEWwxbJqRUokMLfnuX21+pv+RETGrIKOQuXxZgLFeQYpodGfA=="], + "@angular-devkit/build-webpack": ["@angular-devkit/build-webpack@0.2202.5", "", { "dependencies": { "@angular-devkit/architect": "0.2202.5", "rxjs": "7.8.2" }, "peerDependencies": { "webpack": "^5.30.0", "webpack-dev-server": "^5.0.2 || ^6.0.0" } }, "sha512-6cpo6qsMSSNnm2tR66EOjQeKW4Arih8nLLdZ9nSGCZgLELqtwl1iKlOfbLfklhjBDFaEg+WejKgHOBd8Moy2Fg=="], - "@angular-devkit/core": ["@angular-devkit/core@21.2.5", "", { "dependencies": { "ajv": "8.18.0", "ajv-formats": "3.0.1", "jsonc-parser": "3.3.1", "picomatch": "4.0.4", "rxjs": "7.8.2", "source-map": "0.7.6" }, "peerDependencies": { "chokidar": "^5.0.0" }, "optionalPeers": ["chokidar"] }, "sha512-9z9w7UxKKVmib5QHFZTOfJpAiSudqQwwEZFpQy31yaXR3tJw85xO5owi+66sgTpEvNh9Ix2THhcUq//ToP/0VA=="], + "@angular-devkit/core": ["@angular-devkit/core@22.2.5", "", { "dependencies": { "ajv": "8.20.0", "ajv-formats": "3.0.1", "jsonc-parser": "3.3.1", "picomatch": "4.0.7", "rxjs": "7.8.2", "source-map": "0.8.0" }, "peerDependencies": { "chokidar": "^5.0.0" }, "optionalPeers": ["chokidar"] }, "sha512-djhGvLmsb8Zje+faIlsDgBpo/yVBvoz7DVRWcGqTWhj7tIItjXUKMwFsYnKb1ykS0EMH08V/D3UXDCL/a7Zr7g=="], - "@angular-devkit/schematics": ["@angular-devkit/schematics@21.2.5", "", { "dependencies": { "@angular-devkit/core": "21.2.5", "jsonc-parser": "3.3.1", "magic-string": "0.30.21", "ora": "9.3.0", "rxjs": "7.8.2" } }, "sha512-gEg84eipTX6lcpNTDVUXBBwp0vs3rXM319Qom+sCLOKBGyqE0mvb1RM1WwfNcyOqeSMQC/vLUwRKqnP0wg1UDg=="], + "@angular-devkit/schematics": ["@angular-devkit/schematics@22.2.5", "", { "dependencies": { "@angular-devkit/core": "22.2.5", "jsonc-parser": "3.3.1", "magic-string": "1.4.1", "ora": "9.4.1", "rxjs": "7.8.2" } }, "sha512-jBKY++JDbyiAbC4Bi7iC+lybdWIY7WcvkP1G7KFEvswjYVIBX135t4hmBLpXew/80BKDHibF74CEn6qfxLiApA=="], - "@angular/animations": ["@angular/animations@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/core": "21.2.6" } }, "sha512-SPzTOlkyVagPdb7OMe9hw3dnpMGq2p/nADatzNfRUMXwit8AU8VaiPIrFRsCD52sAL1zDDj60gKsk/dprzIyFA=="], + "@angular/animations": ["@angular/animations@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/core": "22.2.3" } }, "sha512-sslKnTrKwHwtTvT/pWj7UoYq0cfuX3PijZM7v0JtCajQkK1Nj0Ljob0mebxXBXUVBrOixfCnfBS0EG4JNEznFA=="], - "@angular/build": ["@angular/build@21.2.5", "", { "dependencies": { "@ampproject/remapping": "2.3.0", "@angular-devkit/architect": "0.2102.5", "@babel/core": "7.29.0", "@babel/helper-annotate-as-pure": "7.27.3", "@babel/helper-split-export-declaration": "7.24.7", "@inquirer/confirm": "5.1.21", "@vitejs/plugin-basic-ssl": "2.1.4", "beasties": "0.4.1", "browserslist": "^4.26.0", "esbuild": "0.27.3", "https-proxy-agent": "7.0.6", "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", "listr2": "9.0.5", "magic-string": "0.30.21", "mrmime": "2.0.1", "parse5-html-rewriting-stream": "8.0.0", "picomatch": "4.0.4", "piscina": "5.1.4", "rolldown": "1.0.0-rc.4", "sass": "1.97.3", "semver": "7.7.4", "source-map-support": "0.5.21", "tinyglobby": "0.2.15", "undici": "7.24.4", "vite": "7.3.1", "watchpack": "2.5.1" }, "optionalDependencies": { "lmdb": "3.5.1" }, "peerDependencies": { "@angular/compiler": "^21.0.0", "@angular/compiler-cli": "^21.0.0", "@angular/core": "^21.0.0", "@angular/localize": "^21.0.0", "@angular/platform-browser": "^21.0.0", "@angular/platform-server": "^21.0.0", "@angular/service-worker": "^21.0.0", "@angular/ssr": "^21.2.5", "karma": "^6.4.0", "less": "^4.2.0", "ng-packagr": "^21.0.0", "postcss": "^8.4.0", "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", "tslib": "^2.3.0", "typescript": ">=5.9 <6.0", "vitest": "^4.0.8" }, "optionalPeers": ["@angular/core", "@angular/localize", "@angular/platform-browser", "@angular/platform-server", "@angular/service-worker", "@angular/ssr", "karma", "less", "ng-packagr", "postcss", "tailwindcss", "vitest"] }, "sha512-AfE09K+pkgS3VB84R74XG/XB9LQmO6Q6YfpssjDwMnWGwDGGwUGydXn8AKdhnhI4mM2nFKoe+QYszFgrzu5HeQ=="], + "@angular/build": ["@angular/build@22.2.5", "", { "dependencies": { "@ampproject/remapping": "2.3.0", "@angular-devkit/architect": "0.2202.5", "@babel/core": "8.0.5", "@inquirer/confirm": "6.3.2", "@parcel/watcher": "2.6.0", "@vitejs/plugin-basic-ssl": "2.3.0", "beasties": "0.5.4", "browserslist": "^4.26.0", "chokidar": "5.0.0", "esbuild": "0.28.2", "https-proxy-agent": "9.1.0", "jsonc-parser": "3.3.1", "listr2": "11.1.0", "magic-string": "1.4.1", "mrmime": "2.0.1", "oxc-parser": "0.150.0", "parse5-html-rewriting-stream": "8.0.1", "picomatch": "4.0.7", "piscina": "5.3.2", "rolldown": "1.2.15", "sass": "1.104.1", "sass-embedded": "1.104.1", "semver": "7.8.5", "source-map-support": "0.5.21", "tinyglobby": "0.2.17", "vite": "8.3.5", "xxhash-wasm": "1.1.0" }, "optionalDependencies": { "@oxc-parser/binding-wasm32-wasi": "0.150.0", "lmdb": "3.5.6" }, "peerDependencies": { "@angular/compiler": "^22.0.0", "@angular/compiler-cli": "^22.0.0", "@angular/core": "^22.0.0", "@angular/localize": "^22.0.0", "@angular/platform-browser": "^22.0.0", "@angular/platform-server": "^22.0.0", "@angular/service-worker": "^22.0.0", "@angular/ssr": "^22.2.5", "istanbul-lib-instrument": "^6.0.0", "karma": "^6.4.0", "less": "^4.2.0", "ng-packagr": "^22.0.0", "postcss": "^8.4.0", "rollup": "^4.0.0", "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", "tslib": "^2.3.0", "typescript": ">=6.0 <6.1", "vitest": "^4.0.8 || ^5.0.0" }, "optionalPeers": ["@angular/core", "@angular/localize", "@angular/platform-browser", "@angular/platform-server", "@angular/service-worker", "@angular/ssr", "istanbul-lib-instrument", "karma", "less", "ng-packagr", "postcss", "rollup", "tailwindcss", "vitest"] }, "sha512-Td25Dalv+jcCso1NChuAyIDwEGPyw3gi++Wg4bwA2lXlKZRRynhfoX0wDGqh74RJhLxyad8IdI6GrjzT4Onrig=="], - "@angular/cdk": ["@angular/cdk@21.2.4", "", { "dependencies": { "parse5": "^8.0.0", "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "^21.0.0 || ^22.0.0", "@angular/core": "^21.0.0 || ^22.0.0", "@angular/platform-browser": "^21.0.0 || ^22.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-Zv+q9Z/wVWTt0ckuO3gnU7PbpCLTr1tKPEsofLGGzDufA5/85aBLn2UiLcjlY6wQ+V3EMqANhGo/8XJgvBEYFA=="], + "@angular/cdk": ["@angular/cdk@22.2.4", "", { "dependencies": { "parse5": "^8.0.0", "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "^22.0.0 || ^23.0.0", "@angular/core": "^22.0.0 || ^23.0.0", "@angular/forms": "^22.0.0 || ^23.0.0", "@angular/platform-browser": "^22.0.0 || ^23.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-c/DSWyCnN17f/EIl9Y1zVmSEWCAEdp4yeS53WWiHghIPg3kDX32Qbe/9b0/hlYfxcBSdPxtcgZMLSvqtu6hvkA=="], - "@angular/cli": ["@angular/cli@21.2.5", "", { "dependencies": { "@angular-devkit/architect": "0.2102.5", "@angular-devkit/core": "21.2.5", "@angular-devkit/schematics": "21.2.5", "@inquirer/prompts": "7.10.1", "@listr2/prompt-adapter-inquirer": "3.0.5", "@modelcontextprotocol/sdk": "1.26.0", "@schematics/angular": "21.2.5", "@yarnpkg/lockfile": "1.1.0", "algoliasearch": "5.48.1", "ini": "6.0.0", "jsonc-parser": "3.3.1", "listr2": "9.0.5", "npm-package-arg": "13.0.2", "pacote": "21.3.1", "parse5-html-rewriting-stream": "8.0.0", "semver": "7.7.4", "yargs": "18.0.0", "zod": "4.3.6" }, "bin": { "ng": "bin/ng.js" } }, "sha512-nLpyqXQ0s96jC/vR8CsKM3q94/F/nZwtbjM3E6g5lXpKe7cHfJkCfERPexx+jzzYP5JBhtm+u61aH6auu9KYQw=="], + "@angular/cli": ["@angular/cli@22.2.5", "", { "dependencies": { "@angular-devkit/architect": "0.2202.5", "@angular-devkit/core": "22.2.5", "@angular-devkit/schematics": "22.2.5", "@inquirer/prompts": "8.7.2", "@listr2/prompt-adapter-inquirer": "4.2.7", "@modelcontextprotocol/server": "2.3.1", "@schematics/angular": "22.2.5", "jsonc-parser": "3.3.1", "listr2": "11.1.0", "npm-package-arg": "14.0.0", "parse5-html-rewriting-stream": "8.0.1", "semver": "7.8.5", "yargs": "18.1.0", "zod": "4.6.6" }, "bin": { "ng": "bin/ng.js" } }, "sha512-nauKuEyBgSgZyH+LFGwoSIHGML6cY7SH+KMGhBv3iFJ+njkTFbwOZeiaed3ySjOSWJMtpUEoh1Zgf8To3s8erw=="], - "@angular/common": ["@angular/common@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/core": "21.2.6", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-2FcpZ1h6AZ4JwCIlnpHCYrbRTGQTOj/RFXkuX/qw7K6cFmJGfWFMmr++xWtHZEvUddfbR9hqDo+v1mkqEKE/Kw=="], + "@angular/common": ["@angular/common@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/core": "22.2.3", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-sRzcvxzurbkCDVFJMguNVgsHds3NvDj5qbZ44NHjH7J9MBk5oZYXHppdHVm8AolBhCXAWvMk0vx+NO8Bt4rS7A=="], - "@angular/compiler": ["@angular/compiler@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" } }, "sha512-shGkb/aAIPbG8oSYkVJ0msGlRdDVcJBVaUVx2KenMltifQjfLn5N8DFMAzOR6haaA3XeugFExxKqmvySjrVq+A=="], + "@angular/compiler": ["@angular/compiler@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" } }, "sha512-GjDkmOBqW+6RJTeW5mlLRivf6Zy7Ed0auVh+DYD67d4UF4Sk17F1vIt8puF4CQ2PIezlHh7oOnermCBNHAOGkQ=="], - "@angular/compiler-cli": ["@angular/compiler-cli@21.2.6", "", { "dependencies": { "@babel/core": "7.29.0", "@jridgewell/sourcemap-codec": "^1.4.14", "chokidar": "^5.0.0", "convert-source-map": "^1.5.1", "reflect-metadata": "^0.2.0", "semver": "^7.0.0", "tslib": "^2.3.0", "yargs": "^18.0.0" }, "peerDependencies": { "@angular/compiler": "21.2.6", "typescript": ">=5.9 <6.1" }, "optionalPeers": ["typescript"], "bin": { "ngc": "bundles/src/bin/ngc.js", "ng-xi18n": "bundles/src/bin/ng_xi18n.js" } }, "sha512-CiPmat4+D+hWXMTAY++09WeII/5D0r6iTjdLdaTq8tlo0uJcrOlazib4CpA94kJ2CRdzfhmC1H+ttwBI1xIlTg=="], + "@angular/compiler-cli": ["@angular/compiler-cli@22.2.3", "", { "dependencies": { "@babel/core": "8.0.1", "@jridgewell/sourcemap-codec": "^1.4.14", "chokidar": "^5.0.0", "convert-source-map": "^1.5.1", "reflect-metadata": "^0.2.0", "semver": "^7.0.0", "tslib": "^2.3.0", "yargs": "^18.0.0" }, "peerDependencies": { "@angular/compiler": "22.2.3", "typescript": ">=6.0 <6.1" }, "optionalPeers": ["typescript"], "bin": { "ngc": "bundles/src/bin/ngc.js", "ng-xi18n": "bundles/src/bin/ng_xi18n.js" } }, "sha512-em7Ht0Dv7cN7vZgvl2fl1yscAs+zUG2Vr2YKpVZ/rOWuTL2JZyT1qIfKhC4wQoo/3lN8fiUIwQMpflSGzIEPng=="], - "@angular/core": ["@angular/core@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/compiler": "21.2.6", "rxjs": "^6.5.3 || ^7.4.0", "zone.js": "~0.15.0 || ~0.16.0" }, "optionalPeers": ["@angular/compiler", "zone.js"] }, "sha512-svgK5DhFlQlS+sMybXftn08rHHRiDGY/uIKT5LZUaKgyffnkPb8uClpMIW0NzANtU8qs8pwgDZFoJw85Ia3oqQ=="], + "@angular/core": ["@angular/core@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/compiler": "22.2.3", "rxjs": "^6.5.3 || ^7.4.0", "zone.js": "~0.15.0 || ~0.16.0" }, "optionalPeers": ["@angular/compiler", "zone.js"] }, "sha512-ponarFrAZsPutT+htRt3PEmkt2/IB7DyrBy2f48sxsIx3ZA6xw09i2HOEBo+VBphlN6B/ynK9q+o04HPhdJ+dQ=="], - "@angular/forms": ["@angular/forms@21.2.6", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "21.2.6", "@angular/core": "21.2.6", "@angular/platform-browser": "21.2.6", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-i8BoWxBAm0g2xOMcQ8wTdj07gqMPIFYIyefCOo0ezcGj5XhYjd+C2UrYnKsup0aMZqqEAO1l2aZbmfHx9xLheQ=="], + "@angular/forms": ["@angular/forms@22.2.3", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "tslib": "^2.3.0", "zod": "^4.0.10" }, "peerDependencies": { "@angular/common": "22.2.3", "@angular/core": "22.2.3", "@angular/platform-browser": "22.2.3", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-TKP8FpeRCY/++vKWsY8GC1J2sNtEkdNNBPdgnMAMLTwheW5JzjwVatuQlbuZEx3WaAjbll1Ux3d+eHeqAVrtQg=="], - "@angular/language-service": ["@angular/language-service@21.2.6", "", {}, "sha512-ui2Zf/h736Kf/jwyXHN2OBQC9fEzGUCz5fJr72sEe4nqa6aTiCL0FfkTarHDLKEYPNr8M+ZX/icgo3j9yztJhQ=="], + "@angular/language-service": ["@angular/language-service@22.2.3", "", {}, "sha512-n7LJ7NaHiC+NMHscCInhHTAvCsBLi8WfF47KuVv1eGj6rgFn1ZMpE81OBIWdJbSdytarwSU3KInaYESjao0ItA=="], - "@angular/material": ["@angular/material@21.2.4", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/cdk": "21.2.4", "@angular/common": "^21.0.0 || ^22.0.0", "@angular/core": "^21.0.0 || ^22.0.0", "@angular/forms": "^21.0.0 || ^22.0.0", "@angular/platform-browser": "^21.0.0 || ^22.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-YzkPjgZezdsDeAhSm3zix2h+ohApwaRUMG8ea/75XR1eSkT1n3N7qZaHC8HDkhPYApk8a951RDxsTiiAidnGqg=="], + "@angular/material": ["@angular/material@22.2.4", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/cdk": "22.2.4", "@angular/common": "^22.0.0 || ^23.0.0", "@angular/core": "^22.0.0 || ^23.0.0", "@angular/forms": "^22.0.0 || ^23.0.0", "@angular/platform-browser": "^22.0.0 || ^23.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-3CFxsj+U4fGQFwY1ZBOAltazAQucNupbzRFIx2d4aW4k94R+C6kQ9EoRi5evRNUtXa2boeF/DuVjY6fBtNfLig=="], - "@angular/platform-browser": ["@angular/platform-browser@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/animations": "21.2.6", "@angular/common": "21.2.6", "@angular/core": "21.2.6" }, "optionalPeers": ["@angular/animations"] }, "sha512-LW1vPXVHvy71LBahn+fSzPlWQl25kJIdcXq+ptG7HsMVgbPQ3/vvkKXAHYaRdppLGCFL+v+3dQGHYLNLiYL9qg=="], + "@angular/platform-browser": ["@angular/platform-browser@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/animations": "22.2.3", "@angular/common": "22.2.3", "@angular/core": "22.2.3" }, "optionalPeers": ["@angular/animations"] }, "sha512-eWZGsbG4bSrSg9UB/NE8wORGVrh1u+x6rirPGpMWqq/mTi6q+nS+pnPxAxmiEs8wmPH5nCz5b2pRKQeYUkhAGA=="], - "@angular/platform-browser-dynamic": ["@angular/platform-browser-dynamic@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "21.2.6", "@angular/compiler": "21.2.6", "@angular/core": "21.2.6", "@angular/platform-browser": "21.2.6" } }, "sha512-6a+zA9jM70b1kH3fSfAJIEVmkE3qB3oIXw7otWkv1nEhOJtNO0mM0dTUuO70C3GhnV9tmpLXa2him56C2LhVig=="], + "@angular/platform-browser-dynamic": ["@angular/platform-browser-dynamic@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "22.2.3", "@angular/compiler": "22.2.3", "@angular/core": "22.2.3", "@angular/platform-browser": "22.2.3" } }, "sha512-+WBe2JjaEeK0NpMlBzV7UBkO+ltUBYTDtMfGYkew2xHdIviITnzXX7yUXijB1Y6jxALgz3jEuJa9iLid8s11rg=="], - "@angular/router": ["@angular/router@21.2.6", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "21.2.6", "@angular/core": "21.2.6", "@angular/platform-browser": "21.2.6", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-0ajhkKYeOqHQEEH88+Q0HrheR3helwTvdTqD/0gTaapCe+HOoC+SYwmzzsYP2zwAxBNQEg4JHOGKQ30X9/gwgw=="], + "@angular/router": ["@angular/router@22.2.3", "", { "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": "22.2.3", "@angular/core": "22.2.3", "@angular/platform-browser": "22.2.3", "rxjs": "^6.5.3 || ^7.4.0" } }, "sha512-h4C3iJ3OXM9HItErmTo9fFrFRDj1DSqbvweHAWl8eYJvyuhDD80gBNgdpN8/5gpt9K1HV+PXk0YbyjyQ0zMfPA=="], - "@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + "@babel/code-frame": ["@babel/code-frame@8.0.6", "", { "dependencies": { "@babel/helper-validator-identifier": "^8.0.6", "js-tokens": "^10.0.0" } }, "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw=="], - "@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], + "@babel/compat-data": ["@babel/compat-data@8.0.5", "", {}, "sha512-YLsYoQMvL8l8WrGpN3Zj7O1wK5LEBN+cQtux7BcuHyxIXve724XG+zuJ1n3U1cUweRtTzQOA4IHbuQw3N34SZw=="], - "@babel/core": ["@babel/core@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-module-transforms": "^7.28.6", "@babel/helpers": "^7.28.6", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/traverse": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA=="], + "@babel/core": ["@babel/core@8.0.5", "", { "dependencies": { "@babel/code-frame": "^8.0.0", "@babel/generator": "^8.0.5", "@babel/helper-compilation-targets": "^8.0.5", "@babel/helpers": "^8.0.5", "@babel/parser": "^8.0.5", "@babel/template": "^8.0.0", "@babel/traverse": "^8.0.5", "@babel/types": "^8.0.5", "@types/gensync": "^1.0.5", "convert-source-map": "^2.0.0", "empathic": "^2.0.1", "gensync": "^1.0.0-beta.2", "import-meta-resolve": "^4.2.0", "json5": "^2.2.3", "obug": "^2.1.1", "verkit": "^0.3.2" } }, "sha512-2/oWkgTbBYoqioCWAE4XJobOrzwxTDa5/XjDP3tJ1BhDr/owcd9qnXBp4xc3/2G5X4bvXM04nrxbRJxFcXAxFQ=="], - "@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@babel/generator": ["@babel/generator@8.0.5", "", { "dependencies": { "@babel/parser": "^8.0.5", "@babel/types": "^8.0.5", "@jridgewell/gen-mapping": "0.4.0-beta.0", "@jridgewell/trace-mapping": "^0.3.31", "@types/jsesc": "^2.5.0", "jsesc": "^3.0.2" } }, "sha512-f/TuhuMAxJqhwxEGNsJrswuG9VHmh0oNFoQoo6TbpgtFAz9wYZXcTAcWZMHfp7ljesr0RG04bp3Aos9GI59L7w=="], - "@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + "@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@8.0.0", "", { "dependencies": { "@babel/types": "^8.0.0" } }, "sha512-NSpMkMsvvZqzThJ0p1B02cbtA2ObEyfBvq950bmNkyxsxvcxwhvvCB036rKhlEnuBBo30bOrk13u3FzlKSoRrw=="], - "@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.28.6", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA=="], + "@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@8.0.7", "", { "dependencies": { "@babel/compat-data": "^8.0.5", "@babel/helper-validator-option": "^8.0.0", "browserslist": "^4.24.0", "flru": "1.0.2", "verkit": "^0.5.0" } }, "sha512-ilAZCdOOlOVA7dQbaFNw2f/59p6GW33NxTopc3DvEE3efp3ZXTrGX/yZScaKw8/vd9bq31Ag0EcXiLw32bAgJg=="], - "@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], + "@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@8.0.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^8.0.0", "@babel/helper-member-expression-to-functions": "^8.0.5", "@babel/helper-optimise-call-expression": "^8.0.0", "@babel/helper-replace-supers": "^8.0.1", "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0", "@babel/traverse": "^8.0.7", "verkit": "^0.5.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-7ug3KrOhNVPPxFFLTel0/pMzimKzU/vTlNJKVL/dKguCpmNJZjjibyFbWg+Qs8QHmiIZPNuZ2UNnDGdHWGEpOg=="], - "@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.28.5", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw=="], + "@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@8.0.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^8.0.0", "regexpu-core": "^6.5.3", "verkit": "^0.5.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-pyia4a5cQ9fmUuimPO4pl3p8aX9aGBBMqZyNUmwhJGO/e3bIbbt/26Zun6SE1CRvNaUWiTsfLuZeaLX6EIIUWQ=="], - "@babel/helper-define-polyfill-provider": ["@babel/helper-define-polyfill-provider@0.6.8", "", { "dependencies": { "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "debug": "^4.4.3", "lodash.debounce": "^4.0.8", "resolve": "^1.22.11" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA=="], + "@babel/helper-define-polyfill-provider": ["@babel/helper-define-polyfill-provider@1.0.0", "", { "dependencies": { "@babel/helper-compilation-targets": "^8.0.0", "@babel/helper-plugin-utils": "^8.0.0", "lodash.debounce": "^4.0.8" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0" } }, "sha512-9jzVaTeZyXRDKTgUnNzcPQMO8y0ga3o+Z4fKjNet9Fcx7slgKa83qRbz0EwROSd6qO6CoEe/HQszqSPKb5lhkw=="], - "@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@babel/helper-globals": ["@babel/helper-globals@8.0.6", "", {}, "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA=="], - "@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + "@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@8.0.5", "", { "dependencies": { "@babel/traverse": "^8.0.5", "@babel/types": "^8.0.5" } }, "sha512-GLe05QD98BkNFTkjaqeqF9QSRoHLKrrB4tpoplyQuuPrQJ72rtmkM4wvqJLX/sjZPqkbK5MUYSsuUTqdJoOVjA=="], - "@babel/helper-module-imports": ["@babel/helper-module-imports@7.28.6", "", { "dependencies": { "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw=="], + "@babel/helper-module-imports": ["@babel/helper-module-imports@8.0.0", "", { "dependencies": { "@babel/traverse": "^8.0.0", "@babel/types": "^8.0.0" } }, "sha512-NZ7mSS93o4ndX4KrbD7W8Sf3QT8Qe24PrnFyUcuOPDzK6faqDFKjY9RG7he7+I7FdiQ4llpnosFqzrXa+Vy3Ew=="], - "@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.28.6", "", { "dependencies": { "@babel/helper-module-imports": "^7.28.6", "@babel/helper-validator-identifier": "^7.28.5", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA=="], + "@babel/helper-module-transforms": ["@babel/helper-module-transforms@8.0.6", "", { "dependencies": { "@babel/helper-module-imports": "^8.0.0", "@babel/helper-validator-identifier": "^8.0.6", "@babel/traverse": "^8.0.6" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-YUi+3X0cb0v97xKhuqkLdrwQtP6XXv1eVbhLRCFyMwG481UskbMQk4mjH7K/Jg3oJ1KLskvFwwq4kF/QnABkWQ=="], - "@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + "@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@8.0.0", "", { "dependencies": { "@babel/types": "^8.0.0" } }, "sha512-3W6satvtPuCUkUx63S2jMoW9EQNYkADgs1HTfufmL7gCmAulHMKupA/12WNz4A0GMMFn/YnWWwqOT9IZrJHQjg=="], - "@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@8.0.1", "", { "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-3PKFgjTyPlhFhorfP+SjKQxLViIL++zWjFOO4hGriYU+Bsm983DxEM1JmDRJVWXV0O9npu+xXRqz7Pbd3mh70g=="], - "@babel/helper-remap-async-to-generator": ["@babel/helper-remap-async-to-generator@7.27.1", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", "@babel/helper-wrap-function": "^7.27.1", "@babel/traverse": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA=="], + "@babel/helper-remap-async-to-generator": ["@babel/helper-remap-async-to-generator@8.0.1", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^8.0.0", "@babel/helper-wrap-function": "^8.0.0", "@babel/traverse": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-baAKuLEMmu6BCSY3tuiU7qglM1qOZt6F1SrFScA241oNqksxkxfEZEKztlGRmoVns9AQ5UgArH7RsUEjxWnzgQ=="], - "@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + "@babel/helper-replace-supers": ["@babel/helper-replace-supers@8.0.1", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^8.0.0", "@babel/helper-optimise-call-expression": "^8.0.0", "@babel/traverse": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-B1SZADIcy3tmH8CmWvj4SHi/oAPom4UL3uknTc2QRNsPVLFk/sPnZvQL/8kj7Y5omvjMqie0vklvs6XM4OLW5Q=="], - "@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + "@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@8.0.0", "", { "dependencies": { "@babel/traverse": "^8.0.0", "@babel/types": "^8.0.0" } }, "sha512-xmCA9kP3IhySsqhzwIdWGlDN/1A4cCKNBO/uwZx/3YzmDoMePwno2Q5/Bq0q+tYaKbeF940YiKV/kaW8Mzvpjw=="], "@babel/helper-split-export-declaration": ["@babel/helper-split-export-declaration@7.24.7", "", { "dependencies": { "@babel/types": "^7.24.7" } }, "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA=="], - "@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-validator-option": ["@babel/helper-validator-option@7.27.1", "", {}, "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg=="], - - "@babel/helper-wrap-function": ["@babel/helper-wrap-function@7.28.6", "", { "dependencies": { "@babel/template": "^7.28.6", "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ=="], + "@babel/helper-string-parser": ["@babel/helper-string-parser@8.0.8", "", {}, "sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng=="], - "@babel/helpers": ["@babel/helpers@7.29.2", "", { "dependencies": { "@babel/template": "^7.28.6", "@babel/types": "^7.29.0" } }, "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw=="], + "@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@8.0.6", "", {}, "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ=="], - "@babel/parser": ["@babel/parser@7.29.2", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="], + "@babel/helper-validator-option": ["@babel/helper-validator-option@8.0.0", "", {}, "sha512-U4Dybxh4WESWHt5XhBeExi4DrY0/DNK1aHpQbsrQXCUbFHuMweT0TpLEWKvaraV2Y6fS+ZXunsZ8zIuZIgvF2Q=="], - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ["@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.28.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/traverse": "^7.28.5" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q=="], + "@babel/helper-wrap-function": ["@babel/helper-wrap-function@8.0.0", "", { "dependencies": { "@babel/template": "^8.0.0", "@babel/traverse": "^8.0.0", "@babel/types": "^8.0.0" } }, "sha512-Qpm8+wi5xfDkBfollanwriCcKniFfBmMmaKB01GVM6VGzKXo1fdxosZp04qEr5HM+LKhwr3hG1yRy8+ORsficA=="], - "@babel/plugin-bugfix-safari-class-field-initializer-scope": ["@babel/plugin-bugfix-safari-class-field-initializer-scope@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA=="], + "@babel/helpers": ["@babel/helpers@8.0.8", "", { "dependencies": { "@babel/template": "^8.0.0", "@babel/types": "^8.0.8" } }, "sha512-FBmhiDWs625wHg03OKiLQDeT6LOc2lWBbW97Yqs2iI1tZcucjpmYnO29NHsQ83XxKvredcvUymW/AAn2UtnakA=="], - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ["@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA=="], + "@babel/parser": ["@babel/parser@8.0.8", "", { "dependencies": { "@babel/types": "^8.0.8" }, "bin": "./bin/babel-parser.js" }, "sha512-Gq65JogAr0S2p0BzvfSJboyuiRnxDQApyOqHkKmkrvm+VlLK4gC3pKsiOKEdnhFBemrFbSnOu90mZZWDpiJnmQ=="], - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ["@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/plugin-transform-optional-chaining": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.13.0" } }, "sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw=="], + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ["@babel/plugin-bugfix-firefox-class-in-computed-class-key@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-Ytgjjne4RnG3Oig7ik+NfY4ebRY30BPptVkkyu1f72eINJXRM3/bkU++tIc5aPvyLmo4KH20avq0xJ2o+9aEnw=="], - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ["@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g=="], + "@babel/plugin-bugfix-safari-class-field-initializer-scope": ["@babel/plugin-bugfix-safari-class-field-initializer-scope@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-X7pAMBhuKluA7UfwZNvKN0XVVu/AGeo84Z75eJl85rcb8J2aBzLK92btahM1X5h0oi0QIrbe0qIMA/0+4Buk7w=="], - "@babel/plugin-proposal-private-property-in-object": ["@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w=="], + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ["@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-DJviKTxYfH0hFwnMiW4dnPyMGzS3Hrr4zUfXl1zwQ0QiGlGlNYklLoPSYEQr8S7nau0/K7NdQjTh0qbYuyFjCA=="], - "@babel/plugin-syntax-import-assertions": ["@babel/plugin-syntax-import-assertions@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw=="], + "@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": ["@babel/plugin-bugfix-safari-rest-destructuring-rhs-array@8.0.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-vk9CzgaQGcTTBL8F0YNr7LBEka6pXP/I5KcMj0oicGXUquWSNqxiijHGQkHF+s8m910NbGMpn5mU2sFV7AQjBA=="], - "@babel/plugin-syntax-import-attributes": ["@babel/plugin-syntax-import-attributes@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw=="], + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ["@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0", "@babel/plugin-transform-optional-chaining": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-x8bi0LFVD2xkULjfNn+hCMg16yAFHAM9fS/ThSFeYBi+0MP9K6qcY2BZb4urUwC7PYtEy5wPe6TKjOEjXrCGFA=="], - "@babel/plugin-syntax-unicode-sets-regex": ["@babel/plugin-syntax-unicode-sets-regex@7.18.6", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.18.6", "@babel/helper-plugin-utils": "^7.18.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg=="], + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ["@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-P8+RN2n7ts2s1vnE+lXdHYf+dhnmcGSen/kWzBsVluT9Sey5AqmcRXYWlHqgQxaNlKTD5YMa1tf5z4d1v8W88w=="], - "@babel/plugin-transform-arrow-functions": ["@babel/plugin-transform-arrow-functions@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA=="], + "@babel/plugin-transform-arrow-functions": ["@babel/plugin-transform-arrow-functions@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-o/gr7kRlq3PKLLuYth4udOsrC7geBerti+QtwPeyxMOsEQO1d8kDHqk9r2PtMx2y9i8FG7tzyTerfv1yMLSMsQ=="], - "@babel/plugin-transform-async-generator-functions": ["@babel/plugin-transform-async-generator-functions@7.29.0", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-remap-async-to-generator": "^7.27.1", "@babel/traverse": "^7.29.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-va0VdWro4zlBr2JsXC+ofCPB2iG12wPtVGTWFx2WLDOM3nYQZZIGP82qku2eW/JR83sD+k2k+CsNtyEbUqhU6w=="], + "@babel/plugin-transform-async-generator-functions": ["@babel/plugin-transform-async-generator-functions@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-remap-async-to-generator": "^8.0.1", "@babel/traverse": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-kqnSMF1YHBzuiQrl68675i5Ma1oljvo+SJsNEZFZVBu5BUrVIZm9KId3ui2PdtLK2sv2zM8sJnjPDfgLxQlEqQ=="], - "@babel/plugin-transform-async-to-generator": ["@babel/plugin-transform-async-to-generator@7.28.6", "", { "dependencies": { "@babel/helper-module-imports": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-remap-async-to-generator": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g=="], + "@babel/plugin-transform-async-to-generator": ["@babel/plugin-transform-async-to-generator@8.0.1", "", { "dependencies": { "@babel/helper-module-imports": "^8.0.0", "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-remap-async-to-generator": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-e1jmmEU4p2Lx64sA1+EF8e8/RxPuegzbXcEbmFp5alDyLE+f2ViUpZ77bRWMXzihTwgVVmn/TOpqDbAuS5g1Ew=="], - "@babel/plugin-transform-block-scoped-functions": ["@babel/plugin-transform-block-scoped-functions@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg=="], + "@babel/plugin-transform-block-scoped-functions": ["@babel/plugin-transform-block-scoped-functions@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-0V97/gcf7LIgPieEiK1YT0eXa18XJFSLOTZjzEZhA9SJIqZhD/IwGUrCitBzXSmnGCP7hchwC6svHtJ/Eidcpg=="], - "@babel/plugin-transform-block-scoping": ["@babel/plugin-transform-block-scoping@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw=="], + "@babel/plugin-transform-block-scoping": ["@babel/plugin-transform-block-scoping@8.0.8", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-a7ZJdS0EDbFRMsWZ3nS7pD8oZ97Ige9Ebi2Nc5BLhF/SyyNLGITATvx1BLELgXzS2qzSaiVVLeAEPJ1CTbRDKA=="], - "@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw=="], + "@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@8.0.1", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-tORnYiVhIHnKj90TgbSZXrO24f9oEpA6MgFxpIDSKKlHv7AzBIRhkMlYevanueLNYaQXqZWarfCgXM4bWTfNiw=="], - "@babel/plugin-transform-class-static-block": ["@babel/plugin-transform-class-static-block@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.12.0" } }, "sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ=="], + "@babel/plugin-transform-class-static-block": ["@babel/plugin-transform-class-static-block@8.0.5", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^8.0.5", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-hyqluKOSy6PVOoHDEb4xsjFbtOSy+FFNzHNCrAHS5T+LxS8BtZHBCIVYFAcWzhBf/wRYsYu2uEpUvRmHYeOf8A=="], - "@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-globals": "^7.28.0", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-replace-supers": "^7.28.6", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q=="], + "@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@8.0.8", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^8.0.0", "@babel/helper-compilation-targets": "^8.0.7", "@babel/helper-globals": "^8.0.6", "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-replace-supers": "^8.0.1", "@babel/traverse": "^8.0.7" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-0OkTHsaXfvkuE9C/FKQLuYP3dIGrAx/tLPk96CmsNr2H0bg9C+1YtmwESwoZUUJ3T6AuxZyEC789FEbHoamFEQ=="], - "@babel/plugin-transform-computed-properties": ["@babel/plugin-transform-computed-properties@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/template": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ=="], + "@babel/plugin-transform-computed-properties": ["@babel/plugin-transform-computed-properties@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-i4l3OGLO8DUDcwdnyraOvILbhqdUf4QgfzhVxSOSzRy49XKXrY7pwaSg9gDSKmhZfNPrEMciBSJSciQh/CjB1A=="], - "@babel/plugin-transform-destructuring": ["@babel/plugin-transform-destructuring@7.28.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/traverse": "^7.28.5" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw=="], + "@babel/plugin-transform-destructuring": ["@babel/plugin-transform-destructuring@8.0.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-evjxc5fGvpXG2WMGSalpX8IJZVumLIDgk5r5eRhvXRDqFX/GPWq1BeRfJalPCcwJfrR5A/wvegUhx9W5Nr7/mg=="], - "@babel/plugin-transform-dotall-regex": ["@babel/plugin-transform-dotall-regex@7.28.6", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg=="], + "@babel/plugin-transform-dotall-regex": ["@babel/plugin-transform-dotall-regex@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-czOUoSaZljJ92yu+bYlXqb/UBN8K9daNCob/B6/7nthSvfGP6YhCnfqD64XWfyb2dN4ypxALNplApoJrsMd4fw=="], - "@babel/plugin-transform-duplicate-keys": ["@babel/plugin-transform-duplicate-keys@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q=="], + "@babel/plugin-transform-duplicate-keys": ["@babel/plugin-transform-duplicate-keys@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-kNnVLkxFUEcTtCyB5PFVQ5Xoy88Bk1lU/ZgDu97CW8eNhRH2Wsiy8Sq5l5dFnwtIUYjzsXHU77jUy1W5AtGSIw=="], - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ["@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.29.0", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-zBPcW2lFGxdiD8PUnPwJjag2J9otbcLQzvbiOzDxpYXyCuYX9agOwMPGn1prVH0a4qzhCKu24rlH4c1f7yA8rw=="], + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ["@babel/plugin-transform-duplicate-named-capturing-groups-regex@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-Tv43P47o6fuHgBL7HLHQg3WKXohW9CEUGjLtnCDW27yJLK0zKUdTTqREbZbycNHA83hewMjde5tF6ekrHu9bAA=="], - "@babel/plugin-transform-dynamic-import": ["@babel/plugin-transform-dynamic-import@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A=="], + "@babel/plugin-transform-dynamic-import": ["@babel/plugin-transform-dynamic-import@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-AS9GlgKc43tJNRu7yOvLaTko4qmdOb+8M69uNS8i421WLO20eVez7LdG5khKdi8E0LIQpYzzzdGIrdXWnO753g=="], - "@babel/plugin-transform-explicit-resource-management": ["@babel/plugin-transform-explicit-resource-management@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/plugin-transform-destructuring": "^7.28.5" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg=="], + "@babel/plugin-transform-explicit-resource-management": ["@babel/plugin-transform-explicit-resource-management@8.0.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/plugin-transform-destructuring": "^8.0.5" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-Vr20jk/ZxRGu30o0jYvcKl2Pf0tiyr8H9q2ZGxYD6yjOpv9DdP6//I85q0cSOdADZhsu/ZZoApjGVCfl4xnVJw=="], - "@babel/plugin-transform-exponentiation-operator": ["@babel/plugin-transform-exponentiation-operator@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw=="], + "@babel/plugin-transform-exponentiation-operator": ["@babel/plugin-transform-exponentiation-operator@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-DsZvUUklUmDQ7d2vp+VjqgUWD51mGxhZZ1FPdPP9Hcj0vsgGUKX+zEBGp/vzB1O5PZUxWT/Euq5fu39M9dm9wg=="], - "@babel/plugin-transform-export-namespace-from": ["@babel/plugin-transform-export-namespace-from@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ=="], + "@babel/plugin-transform-export-namespace-from": ["@babel/plugin-transform-export-namespace-from@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-bFzznm46bvWGaTYKle3iolbBJ+oPBfUjwCPesxlFE3SQ7DaY9EHf/8Y5ZzrodKJi8JDdcAyaVWaDUSVyhULh0g=="], - "@babel/plugin-transform-for-of": ["@babel/plugin-transform-for-of@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw=="], + "@babel/plugin-transform-for-of": ["@babel/plugin-transform-for-of@8.0.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-h+/9Kyy55fWlnLDmMIWwz21nWLFodIZYpvvCq7gW6Fb55via7sTYPymeTNKbh8N9XZjZ025ClVtg0kxIPnEjGA=="], - "@babel/plugin-transform-function-name": ["@babel/plugin-transform-function-name@7.27.1", "", { "dependencies": { "@babel/helper-compilation-targets": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1", "@babel/traverse": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ=="], + "@babel/plugin-transform-function-name": ["@babel/plugin-transform-function-name@8.0.1", "", { "dependencies": { "@babel/helper-compilation-targets": "^8.0.0", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-H1L/JfPf3CqmubuaiZaquXKQ8MRs4YWSsgRllkTviM8TafcCNnlvc4/fJZ3rXP8HmFM+/Bg+TlsPehUI9BtDFA=="], - "@babel/plugin-transform-json-strings": ["@babel/plugin-transform-json-strings@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw=="], + "@babel/plugin-transform-json-strings": ["@babel/plugin-transform-json-strings@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-Mowp8X0J6p7ZehLU82B5e65te2uuSeDHyxrEROwEAS2VKXNXssfw5ZMqhY7k9iXTsOv1Xs/49G3lDCj9Vvw8qQ=="], - "@babel/plugin-transform-literals": ["@babel/plugin-transform-literals@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA=="], + "@babel/plugin-transform-literals": ["@babel/plugin-transform-literals@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-ai7kfPRcfyUV1EszXoF1PvL3IuJoCuH08WSEPoRcJTWfZZ55VL/rcfvbVY16QLA3jjbzzSneQSoCtD3L6OyUjw=="], - "@babel/plugin-transform-logical-assignment-operators": ["@babel/plugin-transform-logical-assignment-operators@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A=="], + "@babel/plugin-transform-logical-assignment-operators": ["@babel/plugin-transform-logical-assignment-operators@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-Emvtr5zkEGyCNAmt+qKD5EUh8G0RbxV9EZWrDdX0LuVy5tBq1B3fOIslvVF9aCJmpnwS/AvAT53b9LxAZyXlng=="], - "@babel/plugin-transform-member-expression-literals": ["@babel/plugin-transform-member-expression-literals@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ=="], + "@babel/plugin-transform-member-expression-literals": ["@babel/plugin-transform-member-expression-literals@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-3Axi9abnyGsm/hh6DsKPZ1Cr9fTtKqS7w0Ig5g12mU269YclpH8pV3xMln2vPLexXgUp6S6L+I06d9/YOLfRKA=="], - "@babel/plugin-transform-modules-amd": ["@babel/plugin-transform-modules-amd@7.27.1", "", { "dependencies": { "@babel/helper-module-transforms": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA=="], + "@babel/plugin-transform-modules-amd": ["@babel/plugin-transform-modules-amd@8.0.1", "", { "dependencies": { "@babel/helper-module-transforms": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-FDdhET8y1YFDNRuoynqSf23WTzbBBpbIB2oRrlFX7YYm9uWtFvJDSD1r/epBSjfPkOjeaaLgRW9xNnt3JGx46A=="], - "@babel/plugin-transform-modules-commonjs": ["@babel/plugin-transform-modules-commonjs@7.28.6", "", { "dependencies": { "@babel/helper-module-transforms": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA=="], + "@babel/plugin-transform-modules-commonjs": ["@babel/plugin-transform-modules-commonjs@8.0.1", "", { "dependencies": { "@babel/helper-module-transforms": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-PMuzulWrrzFNmY3lXSk/tV9NRb7y0eZZLJY4UEo2TKszroxvUZHAPPi+T9FDyrQhod+TQA+t+8/QYaaMpiEuhA=="], - "@babel/plugin-transform-modules-systemjs": ["@babel/plugin-transform-modules-systemjs@7.29.0", "", { "dependencies": { "@babel/helper-module-transforms": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-validator-identifier": "^7.28.5", "@babel/traverse": "^7.29.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-PrujnVFbOdUpw4UHiVwKvKRLMMic8+eC0CuNlxjsyZUiBjhFdPsewdXCkveh2KqBA9/waD0W1b4hXSOBQJezpQ=="], + "@babel/plugin-transform-modules-systemjs": ["@babel/plugin-transform-modules-systemjs@8.0.1", "", { "dependencies": { "@babel/helper-module-transforms": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-validator-identifier": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-0NEHanXmnFEnfT2dLKTXnu7m8GXFsnxRgteBC2aH21hYMBwAgxu5dcTdi/Eg+ToI1HbZe0CHwz4XRLgRNQhYoQ=="], - "@babel/plugin-transform-modules-umd": ["@babel/plugin-transform-modules-umd@7.27.1", "", { "dependencies": { "@babel/helper-module-transforms": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w=="], + "@babel/plugin-transform-modules-umd": ["@babel/plugin-transform-modules-umd@8.0.1", "", { "dependencies": { "@babel/helper-module-transforms": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-XKTa2J2MdkmbVEeChq9f7Or0VYcsF0NyVBgytRyeN9F+J+ETAB2SHhfkG4toz/ssuU0i+h/QgJ6ddo5YakSQcA=="], - "@babel/plugin-transform-named-capturing-groups-regex": ["@babel/plugin-transform-named-capturing-groups-regex@7.29.0", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-1CZQA5KNAD6ZYQLPw7oi5ewtDNxH/2vuCh+6SmvgDfhumForvs8a1o9n0UrEoBD8HU4djO2yWngTQlXl1NDVEQ=="], + "@babel/plugin-transform-named-capturing-groups-regex": ["@babel/plugin-transform-named-capturing-groups-regex@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-zCHu+Jr2gTdJE48lN9SV/kXueCW2M79mKtKJc/ttfzzr/jvgdQdCd17RADMqFRQc/25MLxdtjTmlD0HSAMOlIQ=="], - "@babel/plugin-transform-new-target": ["@babel/plugin-transform-new-target@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ=="], + "@babel/plugin-transform-new-target": ["@babel/plugin-transform-new-target@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-QSQxVg1x4PuOuhWUs4Y9u+x9Y+ER8z6G3tC+bDLBzvoOrNLJrEBQLRnwrTP8e5klihAw6Z+e9X5RjdAKcAGapA=="], - "@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg=="], + "@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-AgCJAmQLF7+PtsK79wJqr4xJ2StHCXlz7JL5CVFP4HejJx25Tk6yl1ZrXvi0cKh3VGDVnfVxefxnrpsBirgpyQ=="], - "@babel/plugin-transform-numeric-separator": ["@babel/plugin-transform-numeric-separator@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w=="], + "@babel/plugin-transform-numeric-separator": ["@babel/plugin-transform-numeric-separator@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-it2DmUyLIA1GQUXlFDEnI+/G89mTgxndnAiZYpW8xYR6LboblfirMqiWJeTna5uypQJg7viTT4D1iEURRtFcfw=="], - "@babel/plugin-transform-object-rest-spread": ["@babel/plugin-transform-object-rest-spread@7.28.6", "", { "dependencies": { "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "@babel/plugin-transform-destructuring": "^7.28.5", "@babel/plugin-transform-parameters": "^7.27.7", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA=="], + "@babel/plugin-transform-object-rest-spread": ["@babel/plugin-transform-object-rest-spread@8.0.1", "", { "dependencies": { "@babel/helper-compilation-targets": "^8.0.0", "@babel/helper-plugin-utils": "^8.0.1", "@babel/plugin-transform-destructuring": "^8.0.1", "@babel/plugin-transform-parameters": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-VmxkDu6bBdbxRzqn6E93hYucug4OVa6svSO19W//vVzNUGAmQzk3QRyHyyEtfcjSLR3NWfRsWwVM9zExLmd+2w=="], - "@babel/plugin-transform-object-super": ["@babel/plugin-transform-object-super@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-replace-supers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng=="], + "@babel/plugin-transform-object-super": ["@babel/plugin-transform-object-super@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-replace-supers": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-fDkPXRTRKGm25bAq01q82UM4ypPqdVXCwphUUm4t1dL01fGIG0v8KRvT+4BjhMAtRxtPuI34t5Vs7yjRgs3ZgQ=="], - "@babel/plugin-transform-optional-catch-binding": ["@babel/plugin-transform-optional-catch-binding@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ=="], + "@babel/plugin-transform-optional-catch-binding": ["@babel/plugin-transform-optional-catch-binding@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-b2OQ74uGliyATcasTjxGy2O/86UI/n+EN4juB4EMfEwTi9j9uq70PuP0L8fW77vfRY66gO/YoTo/WbIdQ/Si1g=="], - "@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w=="], + "@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@8.0.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-w8ouIDKdmUc2oyvBx4S/WtiQM7bMww5LGjB2A4L1+sDWZGw37XxzqOqfgHnPm+2ldINmAqrf2ekzpeJ/sS9poQ=="], - "@babel/plugin-transform-parameters": ["@babel/plugin-transform-parameters@7.27.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg=="], + "@babel/plugin-transform-parameters": ["@babel/plugin-transform-parameters@8.0.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-oXsstDkzuE+gOqBz2+e1VFqDew0KlGgd9GT4MGptmcIq3uDbxcowHRSaqMCvp3nbiZws4wTm8Phuk9ZJO3NtTg=="], - "@babel/plugin-transform-private-methods": ["@babel/plugin-transform-private-methods@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg=="], + "@babel/plugin-transform-private-methods": ["@babel/plugin-transform-private-methods@8.0.1", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-TrFCGcXaVDh6S5IRhmLSRTY9H80VTCMQWnZtzBRg4RWg3KCLmdmsmj4M15kZAPZfoPkWL/SJb4em3Py/vOiX8g=="], - "@babel/plugin-transform-private-property-in-object": ["@babel/plugin-transform-private-property-in-object@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA=="], + "@babel/plugin-transform-private-property-in-object": ["@babel/plugin-transform-private-property-in-object@8.0.5", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^8.0.0", "@babel/helper-create-class-features-plugin": "^8.0.5", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-OilYoElZMdD/My3fJTh0jLOPy8Y9Jfpcb9nPXG0Bpy4oRbZeeVX39P1cXKsPwnXTBZg7qEKk8TQ0lzpJvdK3yw=="], - "@babel/plugin-transform-property-literals": ["@babel/plugin-transform-property-literals@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ=="], + "@babel/plugin-transform-property-literals": ["@babel/plugin-transform-property-literals@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-Z/qx4cxUtYR1nt7XWRutObPxDks98fEYsjWbVeKEqZH6y3AGknmgzCqmHf2FHWZCl1DfoPeuJY+3hZ+35D+2tg=="], - "@babel/plugin-transform-regenerator": ["@babel/plugin-transform-regenerator@7.29.0", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-FijqlqMA7DmRdg/aINBSs04y8XNTYw/lr1gJ2WsmBnnaNw1iS43EPkJW+zK7z65auG3AWRFXWj+NcTQwYptUog=="], + "@babel/plugin-transform-regenerator": ["@babel/plugin-transform-regenerator@8.0.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-ky/yW+PcQfHyOhbQFNkcHOCIHXaEANYaXCucZ1MY1PdSJRjaf3AX/TMKS6nCij73YtU1bVNy7Zx5NWAJy42TQA=="], - "@babel/plugin-transform-regexp-modifiers": ["@babel/plugin-transform-regexp-modifiers@7.28.6", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg=="], + "@babel/plugin-transform-regexp-modifiers": ["@babel/plugin-transform-regexp-modifiers@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-02ITRDBesPdTYU0oShAzERwEPzozOUQSXlz3qrt8JGuhalBJQv9z5NjgHJPC9sS3Fsam8gDtfAEpBnqZwUIdjQ=="], - "@babel/plugin-transform-reserved-words": ["@babel/plugin-transform-reserved-words@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw=="], + "@babel/plugin-transform-reserved-words": ["@babel/plugin-transform-reserved-words@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-+aykZi7ZP3U84veqfJXm3HhPZGddWFi64g7jr0ni6tb1zel+1ey+SL+IRKPoZXFyFqvYEsoqrmx4PyEJRlHl/Q=="], - "@babel/plugin-transform-runtime": ["@babel/plugin-transform-runtime@7.29.0", "", { "dependencies": { "@babel/helper-module-imports": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "babel-plugin-polyfill-corejs2": "^0.4.14", "babel-plugin-polyfill-corejs3": "^0.13.0", "babel-plugin-polyfill-regenerator": "^0.6.5", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-jlaRT5dJtMaMCV6fAuLbsQMSwz/QkvaHOHOSXRitGGwSpR1blCY4KUKoyP2tYO8vJcqYe8cEj96cqSztv3uF9w=="], + "@babel/plugin-transform-runtime": ["@babel/plugin-transform-runtime@8.0.1", "", { "dependencies": { "@babel/helper-module-imports": "^8.0.0", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-MPDpKBrxn+thQay3eJmUiSeHswiT7MkINb48hHkX6OzodB149PKq1kred+lpMebrDzHA+G1ekCQnlYSkyEqAOw=="], - "@babel/plugin-transform-shorthand-properties": ["@babel/plugin-transform-shorthand-properties@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ=="], + "@babel/plugin-transform-shorthand-properties": ["@babel/plugin-transform-shorthand-properties@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-JddANd9yPVH8dYgVoNkqAH5BftnsDxFpG51Zas7sc6F3poz5QWcejHNGO8a/57IX5ByjGSzEmYk9Z7ZMa5MWaw=="], - "@babel/plugin-transform-spread": ["@babel/plugin-transform-spread@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA=="], + "@babel/plugin-transform-spread": ["@babel/plugin-transform-spread@8.0.8", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-utcuNZcN76LeCKZQ/JjwkhPgKycS/q2K84Im+CDhDToofxx0vQ4ViXwCbJZ6kPKuqKQVBrUQpdZvgxhxcRPepg=="], - "@babel/plugin-transform-sticky-regex": ["@babel/plugin-transform-sticky-regex@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g=="], + "@babel/plugin-transform-sticky-regex": ["@babel/plugin-transform-sticky-regex@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-IsVP6WrZZQdaG2zLmeKwWiI+ua2NB5L1+f77C2/8z2NCDz7uxlIA/lnwocYOJk9PXcOC2sZgRls3LN4XpNduzQ=="], - "@babel/plugin-transform-template-literals": ["@babel/plugin-transform-template-literals@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg=="], + "@babel/plugin-transform-template-literals": ["@babel/plugin-transform-template-literals@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-JXvtj5+BJA9Qv3prDzW2z2DkGTJNmG0BObTdUD03STiu1Jr4fNQkQy3hYZgPL46a2RjcuhwBMYf49BOuJ98gnA=="], - "@babel/plugin-transform-typeof-symbol": ["@babel/plugin-transform-typeof-symbol@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw=="], + "@babel/plugin-transform-typeof-symbol": ["@babel/plugin-transform-typeof-symbol@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-+wJoxgxP2gtey0UMUOMhzMMji2XHO/Uu6MXUh/r5Yhc2jngKzK/wFxY2WNe4UCaRcMvCb4gcnB8wIgFXJsocXg=="], - "@babel/plugin-transform-unicode-escapes": ["@babel/plugin-transform-unicode-escapes@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg=="], + "@babel/plugin-transform-unicode-escapes": ["@babel/plugin-transform-unicode-escapes@8.0.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-TAXJepIJ6vZphytTwcf+LuXi2M2ZWI43VCqNw+1ZZLPP/38Z1A8j4Mahvg8kqDgMOSM/cakk+hedTJCiw3jQuQ=="], - "@babel/plugin-transform-unicode-property-regex": ["@babel/plugin-transform-unicode-property-regex@7.28.6", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A=="], + "@babel/plugin-transform-unicode-property-regex": ["@babel/plugin-transform-unicode-property-regex@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-zjBN9tSMSuomNDfurL69Gf7+v4D2t5uI1mSZaYJDo88SKpbduhCXqtxH7Tx66iCF6caWYwnBzSM0tnCozmQq5Q=="], - "@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@7.27.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw=="], + "@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-v0oO83cvT5lwbcIVRShpx4vaHD8AvM9IBowsQuTeP+kGmhh3recJQs33Bl6dlo3/2g9amlznLbFGn4VJbPCJqA=="], - "@babel/plugin-transform-unicode-sets-regex": ["@babel/plugin-transform-unicode-sets-regex@7.28.6", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q=="], + "@babel/plugin-transform-unicode-sets-regex": ["@babel/plugin-transform-unicode-sets-regex@8.0.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^8.0.1", "@babel/helper-plugin-utils": "^8.0.1" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-MlQeyS0K7gh0XNeLBMS/3Z07HjDOKhA7xm2L18GyxOXyiFHI9E+ZuQ4mFYmcLjluXsE/Wf6dABIqZvKpKw0Z3w=="], - "@babel/preset-env": ["@babel/preset-env@7.29.0", "", { "dependencies": { "@babel/compat-data": "^7.29.0", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5", "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1", "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.6", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-import-assertions": "^7.28.6", "@babel/plugin-syntax-import-attributes": "^7.28.6", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.27.1", "@babel/plugin-transform-async-generator-functions": "^7.29.0", "@babel/plugin-transform-async-to-generator": "^7.28.6", "@babel/plugin-transform-block-scoped-functions": "^7.27.1", "@babel/plugin-transform-block-scoping": "^7.28.6", "@babel/plugin-transform-class-properties": "^7.28.6", "@babel/plugin-transform-class-static-block": "^7.28.6", "@babel/plugin-transform-classes": "^7.28.6", "@babel/plugin-transform-computed-properties": "^7.28.6", "@babel/plugin-transform-destructuring": "^7.28.5", "@babel/plugin-transform-dotall-regex": "^7.28.6", "@babel/plugin-transform-duplicate-keys": "^7.27.1", "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.29.0", "@babel/plugin-transform-dynamic-import": "^7.27.1", "@babel/plugin-transform-explicit-resource-management": "^7.28.6", "@babel/plugin-transform-exponentiation-operator": "^7.28.6", "@babel/plugin-transform-export-namespace-from": "^7.27.1", "@babel/plugin-transform-for-of": "^7.27.1", "@babel/plugin-transform-function-name": "^7.27.1", "@babel/plugin-transform-json-strings": "^7.28.6", "@babel/plugin-transform-literals": "^7.27.1", "@babel/plugin-transform-logical-assignment-operators": "^7.28.6", "@babel/plugin-transform-member-expression-literals": "^7.27.1", "@babel/plugin-transform-modules-amd": "^7.27.1", "@babel/plugin-transform-modules-commonjs": "^7.28.6", "@babel/plugin-transform-modules-systemjs": "^7.29.0", "@babel/plugin-transform-modules-umd": "^7.27.1", "@babel/plugin-transform-named-capturing-groups-regex": "^7.29.0", "@babel/plugin-transform-new-target": "^7.27.1", "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6", "@babel/plugin-transform-numeric-separator": "^7.28.6", "@babel/plugin-transform-object-rest-spread": "^7.28.6", "@babel/plugin-transform-object-super": "^7.27.1", "@babel/plugin-transform-optional-catch-binding": "^7.28.6", "@babel/plugin-transform-optional-chaining": "^7.28.6", "@babel/plugin-transform-parameters": "^7.27.7", "@babel/plugin-transform-private-methods": "^7.28.6", "@babel/plugin-transform-private-property-in-object": "^7.28.6", "@babel/plugin-transform-property-literals": "^7.27.1", "@babel/plugin-transform-regenerator": "^7.29.0", "@babel/plugin-transform-regexp-modifiers": "^7.28.6", "@babel/plugin-transform-reserved-words": "^7.27.1", "@babel/plugin-transform-shorthand-properties": "^7.27.1", "@babel/plugin-transform-spread": "^7.28.6", "@babel/plugin-transform-sticky-regex": "^7.27.1", "@babel/plugin-transform-template-literals": "^7.27.1", "@babel/plugin-transform-typeof-symbol": "^7.27.1", "@babel/plugin-transform-unicode-escapes": "^7.27.1", "@babel/plugin-transform-unicode-property-regex": "^7.28.6", "@babel/plugin-transform-unicode-regex": "^7.27.1", "@babel/plugin-transform-unicode-sets-regex": "^7.28.6", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.15", "babel-plugin-polyfill-corejs3": "^0.14.0", "babel-plugin-polyfill-regenerator": "^0.6.6", "core-js-compat": "^3.48.0", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-fNEdfc0yi16lt6IZo2Qxk3knHVdfMYX33czNb4v8yWhemoBhibCpQK/uYHtSKIiO+p/zd3+8fYVXhQdOVV608w=="], + "@babel/preset-env": ["@babel/preset-env@8.0.5", "", { "dependencies": { "@babel/compat-data": "^8.0.5", "@babel/helper-compilation-targets": "^8.0.5", "@babel/helper-plugin-utils": "^8.0.1", "@babel/helper-validator-option": "^8.0.0", "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^8.0.1", "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^8.0.1", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^8.0.1", "@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": "^8.0.5", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^8.0.1", "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^8.0.1", "@babel/plugin-transform-arrow-functions": "^8.0.1", "@babel/plugin-transform-async-generator-functions": "^8.0.1", "@babel/plugin-transform-async-to-generator": "^8.0.1", "@babel/plugin-transform-block-scoped-functions": "^8.0.1", "@babel/plugin-transform-block-scoping": "^8.0.5", "@babel/plugin-transform-class-properties": "^8.0.1", "@babel/plugin-transform-class-static-block": "^8.0.5", "@babel/plugin-transform-classes": "^8.0.5", "@babel/plugin-transform-computed-properties": "^8.0.1", "@babel/plugin-transform-destructuring": "^8.0.5", "@babel/plugin-transform-dotall-regex": "^8.0.1", "@babel/plugin-transform-duplicate-keys": "^8.0.1", "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^8.0.1", "@babel/plugin-transform-dynamic-import": "^8.0.1", "@babel/plugin-transform-explicit-resource-management": "^8.0.5", "@babel/plugin-transform-exponentiation-operator": "^8.0.1", "@babel/plugin-transform-export-namespace-from": "^8.0.1", "@babel/plugin-transform-for-of": "^8.0.1", "@babel/plugin-transform-function-name": "^8.0.1", "@babel/plugin-transform-json-strings": "^8.0.1", "@babel/plugin-transform-literals": "^8.0.1", "@babel/plugin-transform-logical-assignment-operators": "^8.0.1", "@babel/plugin-transform-member-expression-literals": "^8.0.1", "@babel/plugin-transform-modules-amd": "^8.0.1", "@babel/plugin-transform-modules-commonjs": "^8.0.1", "@babel/plugin-transform-modules-systemjs": "^8.0.1", "@babel/plugin-transform-modules-umd": "^8.0.1", "@babel/plugin-transform-named-capturing-groups-regex": "^8.0.1", "@babel/plugin-transform-new-target": "^8.0.1", "@babel/plugin-transform-nullish-coalescing-operator": "^8.0.1", "@babel/plugin-transform-numeric-separator": "^8.0.1", "@babel/plugin-transform-object-rest-spread": "^8.0.1", "@babel/plugin-transform-object-super": "^8.0.1", "@babel/plugin-transform-optional-catch-binding": "^8.0.1", "@babel/plugin-transform-optional-chaining": "^8.0.5", "@babel/plugin-transform-parameters": "^8.0.5", "@babel/plugin-transform-private-methods": "^8.0.1", "@babel/plugin-transform-private-property-in-object": "^8.0.5", "@babel/plugin-transform-property-literals": "^8.0.1", "@babel/plugin-transform-regenerator": "^8.0.5", "@babel/plugin-transform-regexp-modifiers": "^8.0.1", "@babel/plugin-transform-reserved-words": "^8.0.1", "@babel/plugin-transform-shorthand-properties": "^8.0.1", "@babel/plugin-transform-spread": "^8.0.5", "@babel/plugin-transform-sticky-regex": "^8.0.1", "@babel/plugin-transform-template-literals": "^8.0.1", "@babel/plugin-transform-typeof-symbol": "^8.0.1", "@babel/plugin-transform-unicode-escapes": "^8.0.1", "@babel/plugin-transform-unicode-property-regex": "^8.0.1", "@babel/plugin-transform-unicode-regex": "^8.0.1", "@babel/plugin-transform-unicode-sets-regex": "^8.0.1", "@babel/preset-modules": "^0.2.0", "babel-plugin-polyfill-corejs3": "^1.0.0", "core-js-compat": "^3.48.0", "verkit": "^0.3.2" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-0ZiW2jOnEQ3+FV3ro3uh6B5afBT0C2yJHCKvw+s1BOKKXg7VfCvTpGBylN5UFeO2SFtkVJB2KY0tEpdnUjjguw=="], - "@babel/preset-modules": ["@babel/preset-modules@0.1.6-no-external-plugins", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@babel/types": "^7.4.4", "esutils": "^2.0.2" }, "peerDependencies": { "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA=="], + "@babel/preset-modules": ["@babel/preset-modules@0.2.0", "", { "dependencies": { "@babel/helper-plugin-utils": "^8.0.1", "@babel/plugin-transform-dotall-regex": "^8.0.1", "@babel/plugin-transform-unicode-property-regex": "^8.0.1", "@babel/types": "^8.0.0", "esutils": "^2.0.2" }, "peerDependencies": { "@babel/core": "^8.0.0" } }, "sha512-yz0RBN2fx4fjCeFcTWsWgL7PxSRltvTa0Qg14HkWCU3qS8MO7ZSJlBVbGceynd5C9NsJwwUHNQD3dc6tYO+jqQ=="], - "@babel/runtime": ["@babel/runtime@7.28.6", "", {}, "sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA=="], + "@babel/runtime": ["@babel/runtime@8.0.5", "", {}, "sha512-7NK+Lz3spQ52XsUGTxIEVU4jYN2/dIaX8sTxRFAUtYmttYZnVh3aehiihv+/Gb7+duMNHl2OrFcBQRyOHScxpg=="], - "@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + "@babel/template": ["@babel/template@8.0.0", "", { "dependencies": { "@babel/code-frame": "^8.0.0", "@babel/parser": "^8.0.0", "@babel/types": "^8.0.0" } }, "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ=="], - "@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + "@babel/traverse": ["@babel/traverse@8.0.7", "", { "dependencies": { "@babel/code-frame": "^8.0.6", "@babel/generator": "^8.0.6", "@babel/helper-globals": "^8.0.6", "@babel/parser": "^8.0.7", "@babel/template": "^8.0.0", "@babel/types": "^8.0.6", "obug": "^3.0.0" } }, "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg=="], - "@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@babel/types": ["@babel/types@8.0.8", "", { "dependencies": { "@babel/helper-string-parser": "^8.0.8", "@babel/helper-validator-identifier": "^8.0.6" } }, "sha512-iXSSZAKQWmaeAwGtFw10v9fg5hUiUs0L+w+Z2K11kym3pDNK+SF0VcAQPsEFvWcTSZ7LMgClMXDBvTbH0IlICg=="], "@borewit/text-codec": ["@borewit/text-codec@0.2.2", "", {}, "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ=="], - "@cspotcode/source-map-support": ["@cspotcode/source-map-support@0.8.1", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="], + "@bufbuild/protobuf": ["@bufbuild/protobuf@2.16.0", "", {}, "sha512-FWa0sPlqYGJgpTs6OxBRcL/AW4JT0OIO+W1ajerluoTVh8CV0B7XM1qsNCRgnkSCkRCgOICKHRQlY17jrsm0+Q=="], - "@discoveryjs/json-ext": ["@discoveryjs/json-ext@0.6.3", "", {}, "sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ=="], + "@cspotcode/source-map-support": ["@cspotcode/source-map-support@0.8.1", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="], - "@emnapi/core": ["@emnapi/core@1.9.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.0", "tslib": "^2.4.0" } }, "sha512-mukuNALVsoix/w1BJwFzwXBN/dHeejQtuVzcDsfOEsdpCumXb/E9j8w11h5S54tT1xhifGfbbSm/ICrObRb3KA=="], + "@discoveryjs/json-ext": ["@discoveryjs/json-ext@1.1.0", "", {}, "sha512-Xc3VhU02wqZ1HvHRJUwL09HkZSTvidqY5Ya0NXBSYOxAp+Ln9dcJr9fySI+CkONzP3PekQo9WdzCv0PGER/mOA=="], - "@emnapi/runtime": ["@emnapi/runtime@1.9.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-VYi5+ZVLhpgK4hQ0TAjiQiZ6ol0oe4mBx7mVv7IflsiEp0OWoVsp/+f9Vc1hOhE0TtkORVrI1GvzyreqpgWtkA=="], + "@emnapi/core": ["@emnapi/core@2.0.0-alpha.3", "", { "dependencies": { "@emnapi/wasi-threads": "2.0.1", "tslib": "^2.4.0" } }, "sha512-AZypUeJ/yByuxyS7BlSNRDOMLMlROYtjYdIAuBmJssVz1UJDSeYxLrdizhXCFYhedC5bqd/ASy8EuNXbVVXp9g=="], - "@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.2.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg=="], + "@emnapi/runtime": ["@emnapi/runtime@2.0.0-alpha.3", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-hFPAhMUjJD9BSyCANEISPOogeXC9Zo9ZQl7L6vKnaVsMkCtzznaW/naYypeyl0Gv5rYfWYsZbpixTMpjDJzQeA=="], - "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.27.3", "", { "os": "aix", "cpu": "ppc64" }, "sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg=="], + "@emnapi/wasi-threads": ["@emnapi/wasi-threads@2.0.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9DsSk+o5NBX0CCJT8s0EROGSGxjR/tKu6aBTaVyq+SjAEQH4XcdcRxPBRzsBLizTTJ49MJjF+jgu3qnO9GLQcQ=="], - "@esbuild/android-arm": ["@esbuild/android-arm@0.27.3", "", { "os": "android", "cpu": "arm" }, "sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA=="], + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.28.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ=="], - "@esbuild/android-arm64": ["@esbuild/android-arm64@0.27.3", "", { "os": "android", "cpu": "arm64" }, "sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg=="], + "@esbuild/android-arm": ["@esbuild/android-arm@0.28.2", "", { "os": "android", "cpu": "arm" }, "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg=="], - "@esbuild/android-x64": ["@esbuild/android-x64@0.27.3", "", { "os": "android", "cpu": "x64" }, "sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ=="], + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.28.2", "", { "os": "android", "cpu": "arm64" }, "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A=="], - "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.27.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg=="], + "@esbuild/android-x64": ["@esbuild/android-x64@0.28.2", "", { "os": "android", "cpu": "x64" }, "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q=="], - "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.27.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg=="], + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.28.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw=="], - "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.27.3", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w=="], + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.28.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw=="], - "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.27.3", "", { "os": "freebsd", "cpu": "x64" }, "sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA=="], + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.28.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw=="], - "@esbuild/linux-arm": ["@esbuild/linux-arm@0.27.3", "", { "os": "linux", "cpu": "arm" }, "sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw=="], + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.28.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg=="], - "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.27.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg=="], + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.28.2", "", { "os": "linux", "cpu": "arm" }, "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w=="], - "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.27.3", "", { "os": "linux", "cpu": "ia32" }, "sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg=="], + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.28.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug=="], - "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.27.3", "", { "os": "linux", "cpu": "none" }, "sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA=="], + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.28.2", "", { "os": "linux", "cpu": "ia32" }, "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ=="], - "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.27.3", "", { "os": "linux", "cpu": "none" }, "sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw=="], + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.28.2", "", { "os": "linux", "cpu": "none" }, "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ=="], - "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.27.3", "", { "os": "linux", "cpu": "ppc64" }, "sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA=="], + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.28.2", "", { "os": "linux", "cpu": "none" }, "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA=="], - "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.27.3", "", { "os": "linux", "cpu": "none" }, "sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ=="], + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.28.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ=="], - "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.27.3", "", { "os": "linux", "cpu": "s390x" }, "sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw=="], + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.28.2", "", { "os": "linux", "cpu": "none" }, "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA=="], - "@esbuild/linux-x64": ["@esbuild/linux-x64@0.27.3", "", { "os": "linux", "cpu": "x64" }, "sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA=="], + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.28.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg=="], - "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.27.3", "", { "os": "none", "cpu": "arm64" }, "sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA=="], + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.28.2", "", { "os": "linux", "cpu": "x64" }, "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ=="], - "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.27.3", "", { "os": "none", "cpu": "x64" }, "sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA=="], + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.28.2", "", { "os": "none", "cpu": "arm64" }, "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw=="], - "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.27.3", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw=="], + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.28.2", "", { "os": "none", "cpu": "x64" }, "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw=="], - "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.27.3", "", { "os": "openbsd", "cpu": "x64" }, "sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ=="], + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.28.2", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ=="], - "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.27.3", "", { "os": "none", "cpu": "arm64" }, "sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g=="], + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.28.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw=="], - "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.27.3", "", { "os": "sunos", "cpu": "x64" }, "sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA=="], + "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.28.2", "", { "os": "none", "cpu": "arm64" }, "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q=="], - "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.27.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA=="], + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.28.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g=="], - "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.27.3", "", { "os": "win32", "cpu": "ia32" }, "sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q=="], + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.28.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ=="], - "@esbuild/win32-x64": ["@esbuild/win32-x64@0.27.3", "", { "os": "win32", "cpu": "x64" }, "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA=="], + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.28.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA=="], - "@gar/promise-retry": ["@gar/promise-retry@1.0.3", "", {}, "sha512-GmzA9ckNokPypTg10pgpeHNQe7ph+iIKKmhKu3Ob9ANkswreCx7R3cKmY781K8QK3AqVL3xVh9A42JvIAbkkSA=="], + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.28.2", "", { "os": "win32", "cpu": "x64" }, "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g=="], "@hapi/address": ["@hapi/address@5.1.1", "", { "dependencies": { "@hapi/hoek": "^11.0.2" } }, "sha512-A+po2d/dVoY7cYajycYI43ZbYMXukuopIsqCjh5QzsBCipDtdofHntljDlpccMjIfTy6UOkg+5KPriwYch2bXA=="], @@ -394,41 +361,37 @@ "@harperfast/extended-iterable": ["@harperfast/extended-iterable@1.0.3", "", {}, "sha512-sSAYhQca3rDWtQUHSAPeO7axFIUJOI6hn1gjRC5APVE1a90tuyT8f5WIgRsFhhWA7htNkju2veB9eWL6YHi/Lw=="], - "@hono/node-server": ["@hono/node-server@1.19.12", "", { "peerDependencies": { "hono": "^4" } }, "sha512-txsUW4SQ1iilgE0l9/e9VQWmELXifEFvmdA1j6WFh/aFPj99hIntrSsq/if0UWyGVkmrRPKA1wCeP+UCr1B9Uw=="], - - "@inquirer/ansi": ["@inquirer/ansi@1.0.2", "", {}, "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ=="], + "@inquirer/ansi": ["@inquirer/ansi@2.0.10", "", {}, "sha512-dwrc+1aqVZpHNkNDswXGtn1typ+Pxpo5FHZRyBw1le7onEJUkPUkYOY1FIFC1LvFMYUqqLuWBwElhAmencL7MQ=="], - "@inquirer/checkbox": ["@inquirer/checkbox@4.3.2", "", { "dependencies": { "@inquirer/ansi": "^1.0.2", "@inquirer/core": "^10.3.2", "@inquirer/figures": "^1.0.15", "@inquirer/type": "^3.0.10", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA=="], + "@inquirer/checkbox": ["@inquirer/checkbox@5.2.8", "", { "dependencies": { "@inquirer/ansi": "^2.0.10", "@inquirer/core": "^12.0.6", "@inquirer/figures": "^2.0.10", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-NY/S1EalQhlonqhwwsarrcnkH7s9ByQuvjWYdk1jB2Gb9EPQJjKkhCTWjM3yQ0UpHaLm1XbIL89b+32G8rhO5w=="], - "@inquirer/confirm": ["@inquirer/confirm@5.1.21", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ=="], + "@inquirer/confirm": ["@inquirer/confirm@6.3.2", "", { "dependencies": { "@inquirer/core": "^12.0.3", "@inquirer/type": "4.1.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-Xvr/0HggjddPtGppuqVmxhTw+Hr8PvsZ/k0HmOEaAqQEt80OITNkFWnsdNmyT0/eM4Ab+iJLx2R8rctlEyfSVg=="], - "@inquirer/core": ["@inquirer/core@10.3.2", "", { "dependencies": { "@inquirer/ansi": "^1.0.2", "@inquirer/figures": "^1.0.15", "@inquirer/type": "^3.0.10", "cli-width": "^4.1.0", "mute-stream": "^2.0.0", "signal-exit": "^4.1.0", "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A=="], + "@inquirer/core": ["@inquirer/core@12.0.6", "", { "dependencies": { "@inquirer/ansi": "^2.0.10", "@inquirer/figures": "^2.0.10", "@inquirer/type": "4.2.1", "cli-width": "^4.1.0", "fast-wrap-ansi": "^0.2.0", "mute-stream": "^3.0.0", "signal-exit": "^4.1.0" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-5yxn2LsJ8Tu4ei2a+yNkmFRhM/cb+JMEsEs/AW6CCOnBnpMy4IjYiPMFyHtYq8weOmlTyqqCx40y0DsD7OsEPw=="], - "@inquirer/editor": ["@inquirer/editor@4.2.23", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/external-editor": "^1.0.3", "@inquirer/type": "^3.0.10" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ=="], + "@inquirer/editor": ["@inquirer/editor@5.3.6", "", { "dependencies": { "@inquirer/core": "^12.0.6", "@inquirer/external-editor": "^3.0.7", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-Z5SOeRC5VNkINfKN4rY8BSaYKb3GYi8iSEqZZRqogsE2GhBBToQ0Xw25SbI+4bcatLzU009mZ5d9EuJNiJuUCg=="], - "@inquirer/expand": ["@inquirer/expand@4.0.23", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew=="], + "@inquirer/expand": ["@inquirer/expand@5.1.8", "", { "dependencies": { "@inquirer/core": "^12.0.6", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-dMEnTkpLqzM/sbILwL7QJgx9iX5hoEM8+bh6shgwd9mYJamdOnth7y2mMaFd08Glj9AXEFKllWcGYyBqnJsHrA=="], - "@inquirer/external-editor": ["@inquirer/external-editor@1.0.3", "", { "dependencies": { "chardet": "^2.1.1", "iconv-lite": "^0.7.0" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA=="], + "@inquirer/external-editor": ["@inquirer/external-editor@3.0.7", "", { "dependencies": { "chardet": "^2.1.1", "iconv-lite": "^0.7.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-enNqTJpojgISCG+a5acjnfJ02hcRTFUBVm8uXiCY40PRPZtSzFnNLskOTU+kDUUEODYma90syxuea1rRtUFh0Q=="], - "@inquirer/figures": ["@inquirer/figures@1.0.15", "", {}, "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g=="], + "@inquirer/figures": ["@inquirer/figures@2.0.10", "", {}, "sha512-51elrUJV3jZpvD0ygz8+U10Kc6+Lzqln+/tYmnbhy6jo5oXpE6hMCcv+OTBC0enwJXsb3JIuT3VtEinRNCSK2A=="], - "@inquirer/input": ["@inquirer/input@4.3.1", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g=="], + "@inquirer/input": ["@inquirer/input@5.1.9", "", { "dependencies": { "@inquirer/core": "^12.0.6", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-2Vd5T7lTxfgJMpAd3aOu6bQpbUnCU7tBgvTQIZkP/7juJzmRmTM2t5XfOCuirFduWLTSJI/WZp32Cq1E01TVeg=="], - "@inquirer/number": ["@inquirer/number@3.0.23", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg=="], + "@inquirer/number": ["@inquirer/number@4.2.6", "", { "dependencies": { "@inquirer/core": "^12.0.6", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-22LnGGCDm1M/pKXxxF8n6ppr/1IztdsxqeqeBRUMTTNnJTkjIBiAkewiDM4u/gjtazj/FvZS+nk9AbO/vEcBFQ=="], - "@inquirer/password": ["@inquirer/password@4.0.23", "", { "dependencies": { "@inquirer/ansi": "^1.0.2", "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA=="], + "@inquirer/password": ["@inquirer/password@5.2.5", "", { "dependencies": { "@inquirer/ansi": "^2.0.10", "@inquirer/core": "^12.0.6", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-0v0wLQA4uhWbybmdH6oPl7ooxCiymNylkvi2gCSc+mA5ZQB6QoJLVhoHq12T82lhozpp9fpMJnJkC1nJrU/A+A=="], - "@inquirer/prompts": ["@inquirer/prompts@7.10.1", "", { "dependencies": { "@inquirer/checkbox": "^4.3.2", "@inquirer/confirm": "^5.1.21", "@inquirer/editor": "^4.2.23", "@inquirer/expand": "^4.0.23", "@inquirer/input": "^4.3.1", "@inquirer/number": "^3.0.23", "@inquirer/password": "^4.0.23", "@inquirer/rawlist": "^4.1.11", "@inquirer/search": "^3.2.2", "@inquirer/select": "^4.4.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg=="], + "@inquirer/prompts": ["@inquirer/prompts@8.7.2", "", { "dependencies": { "@inquirer/checkbox": "^5.2.5", "@inquirer/confirm": "^6.3.2", "@inquirer/editor": "^5.3.3", "@inquirer/expand": "^5.1.5", "@inquirer/input": "^5.1.6", "@inquirer/number": "^4.2.3", "@inquirer/password": "^5.2.2", "@inquirer/rawlist": "^5.3.5", "@inquirer/search": "^4.3.3", "@inquirer/select": "^5.2.5" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-QoRB4wFIjgH5iOhSjoIKMkTvSHDuV+O3OITlIqAYO0oK5x364GJILXiMBvlPiE+klg7Xx9tq5XVqQHcGUDYYPA=="], - "@inquirer/rawlist": ["@inquirer/rawlist@4.1.11", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw=="], + "@inquirer/rawlist": ["@inquirer/rawlist@5.3.8", "", { "dependencies": { "@inquirer/core": "^12.0.6", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-h+6Y4pPvYvuRbksn1kIBdD9tCYD+E468W5sIcVfLmoLP5IasnY0r33N+r+46ej/P8b2PCREjyKR+MnnfPGdTzg=="], - "@inquirer/search": ["@inquirer/search@3.2.2", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/figures": "^1.0.15", "@inquirer/type": "^3.0.10", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA=="], + "@inquirer/search": ["@inquirer/search@4.3.6", "", { "dependencies": { "@inquirer/core": "^12.0.6", "@inquirer/figures": "^2.0.10", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-JZj9ttkIvuaFQIc2oxsyqC1ad05WL02ku6W/INVKTCzNaVq1KkhP3AfTRC0m7OWlKZyw+EWwPBFZfYiG9jF6Yw=="], - "@inquirer/select": ["@inquirer/select@4.4.2", "", { "dependencies": { "@inquirer/ansi": "^1.0.2", "@inquirer/core": "^10.3.2", "@inquirer/figures": "^1.0.15", "@inquirer/type": "^3.0.10", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w=="], + "@inquirer/select": ["@inquirer/select@5.2.8", "", { "dependencies": { "@inquirer/ansi": "^2.0.10", "@inquirer/core": "^12.0.6", "@inquirer/figures": "^2.0.10", "@inquirer/type": "4.2.1" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-BklkkAAOpjdCfuQw5fVGcDuhKxA7T1iBpn6b2JUvDDdkIsO3Ftlg+WnWUCVpkUBFagL2o036OFW+xL4lC9wIPw=="], - "@inquirer/type": ["@inquirer/type@3.0.10", "", { "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA=="], - - "@isaacs/fs-minipass": ["@isaacs/fs-minipass@4.0.1", "", { "dependencies": { "minipass": "^7.0.4" } }, "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w=="], + "@inquirer/type": ["@inquirer/type@4.2.1", "", { "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-lDkPsnv5M5CcYB2T1qTc3dobNTPkVr4DU3Ic2Q6SW8/qVRHgvzdRdmVZ6YqG9Ag1aJTeMsLU0s0WPRh3CZWDQQ=="], "@istanbuljs/schema": ["@istanbuljs/schema@0.1.3", "", {}, "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA=="], @@ -440,7 +403,7 @@ "@jridgewell/source-map": ["@jridgewell/source-map@0.3.11", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" } }, "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA=="], - "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], + "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.6.0", "", {}, "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw=="], "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="], @@ -450,21 +413,21 @@ "@jsonjoy.com/codegen": ["@jsonjoy.com/codegen@1.0.0", "", { "peerDependencies": { "tslib": "2" } }, "sha512-E8Oy+08cmCf0EK/NMxpaJZmOxPqM+6iSe2S4nlSBrPZOORoDJILxtbSUEDKQyTamm/BVAhIGllOBNU79/dwf0g=="], - "@jsonjoy.com/fs-core": ["@jsonjoy.com/fs-core@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-node-builtins": "4.57.1", "@jsonjoy.com/fs-node-utils": "4.57.1", "thingies": "^2.5.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-YrEi/ZPmgc+GfdO0esBF04qv8boK9Dg9WpRQw/+vM8Qt3nnVIJWIa8HwZ/LXVZ0DB11XUROM8El/7yYTJX+WtA=="], + "@jsonjoy.com/fs-core": ["@jsonjoy.com/fs-core@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-node-builtins": "4.80.0", "@jsonjoy.com/fs-node-utils": "4.80.0", "thingies": "^2.5.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-qMKWshnyjbyhm+NbzqGE3w5y1mckFFEMj0aDPU2/JBNh1BzIjVy9esq9lBmRnNVmhMEkxwDzLZ8Gqh5G1P5Dag=="], - "@jsonjoy.com/fs-fsa": ["@jsonjoy.com/fs-fsa@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-core": "4.57.1", "@jsonjoy.com/fs-node-builtins": "4.57.1", "@jsonjoy.com/fs-node-utils": "4.57.1", "thingies": "^2.5.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-ooEPvSW/HQDivPDPZMibHGKZf/QS4WRir1czGZmXmp3MsQqLECZEpN0JobrD8iV9BzsuwdIv+PxtWX9WpPLsIA=="], + "@jsonjoy.com/fs-fsa": ["@jsonjoy.com/fs-fsa@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-core": "4.80.0", "@jsonjoy.com/fs-node-builtins": "4.80.0", "@jsonjoy.com/fs-node-utils": "4.80.0", "thingies": "^2.5.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-ZBEKl7J6dbkRCfmrFV48Re211A/FHqniTUhsWCsaRteNSOqMgkX3qF1UreVgwB9oSPm81JLAwhIi6Lb/NH/PoA=="], - "@jsonjoy.com/fs-node": ["@jsonjoy.com/fs-node@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-core": "4.57.1", "@jsonjoy.com/fs-node-builtins": "4.57.1", "@jsonjoy.com/fs-node-utils": "4.57.1", "@jsonjoy.com/fs-print": "4.57.1", "@jsonjoy.com/fs-snapshot": "4.57.1", "glob-to-regex.js": "^1.0.0", "thingies": "^2.5.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-3YaKhP8gXEKN+2O49GLNfNb5l2gbnCFHyAaybbA2JkkbQP3dpdef7WcUaHAulg/c5Dg4VncHsA3NWAUSZMR5KQ=="], + "@jsonjoy.com/fs-node": ["@jsonjoy.com/fs-node@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-core": "4.80.0", "@jsonjoy.com/fs-node-builtins": "4.80.0", "@jsonjoy.com/fs-node-utils": "4.80.0", "@jsonjoy.com/fs-print": "4.80.0", "@jsonjoy.com/fs-snapshot": "4.80.0", "glob-to-regex.js": "^1.3.1", "thingies": "^2.5.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-yiBlUfkMMRFFGy8CD/h2zd5rPnrM6bjlF+nx2LRAxNV6hOSiuObQIUEE7m7y2VTMisjxCRtzINH94bFGySWL7g=="], - "@jsonjoy.com/fs-node-builtins": ["@jsonjoy.com/fs-node-builtins@4.57.1", "", { "peerDependencies": { "tslib": "2" } }, "sha512-XHkFKQ5GSH3uxm8c3ZYXVrexGdscpWKIcMWKFQpMpMJc8gA3AwOMBJXJlgpdJqmrhPyQXxaY9nbkNeYpacC0Og=="], + "@jsonjoy.com/fs-node-builtins": ["@jsonjoy.com/fs-node-builtins@4.80.0", "", { "peerDependencies": { "tslib": "2" } }, "sha512-OIOIhqaWiwUySFMny4epIAoviXsyMaQQ63PTc3zH+5HEOvarl5hpUmZIhp2m5+OfyKAh5ylxXnQIgew1OgJDVw=="], - "@jsonjoy.com/fs-node-to-fsa": ["@jsonjoy.com/fs-node-to-fsa@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-fsa": "4.57.1", "@jsonjoy.com/fs-node-builtins": "4.57.1", "@jsonjoy.com/fs-node-utils": "4.57.1" }, "peerDependencies": { "tslib": "2" } }, "sha512-pqGHyWWzNck4jRfaGV39hkqpY5QjRUQ/nRbNT7FYbBa0xf4bDG+TE1Gt2KWZrSkrkZZDE3qZUjYMbjwSliX6pg=="], + "@jsonjoy.com/fs-node-to-fsa": ["@jsonjoy.com/fs-node-to-fsa@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-fsa": "4.80.0", "@jsonjoy.com/fs-node-builtins": "4.80.0", "@jsonjoy.com/fs-node-utils": "4.80.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-ljeaR5xwtX1EyRmB0wvXANUMQZ3mjKcm7z8s2N8D8SLQ04CcAGtUhHFRZQXFb9mhgFyEVMydQGQtSOFS7pcrFQ=="], - "@jsonjoy.com/fs-node-utils": ["@jsonjoy.com/fs-node-utils@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-node-builtins": "4.57.1" }, "peerDependencies": { "tslib": "2" } }, "sha512-vp+7ZzIB8v43G+GLXTS4oDUSQmhAsRz532QmmWBbdYA20s465JvwhkSFvX9cVTqRRAQg+vZ7zWDaIEh0lFe2gw=="], + "@jsonjoy.com/fs-node-utils": ["@jsonjoy.com/fs-node-utils@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-node-builtins": "4.80.0", "glob-to-regex.js": "^1.3.1" }, "peerDependencies": { "tslib": "2" } }, "sha512-xwHeVVi3f+Khg/Fmb8i5qoYVmQ08QznE5TWhQokUmIZjz4KBPzU+zt/+bahBI6G1ghtqajt27lWuAciIxApuzA=="], - "@jsonjoy.com/fs-print": ["@jsonjoy.com/fs-print@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-node-utils": "4.57.1", "tree-dump": "^1.1.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-Ynct7ZJmfk6qoXDOKfpovNA36ITUx8rChLmRQtW08J73VOiuNsU8PB6d/Xs7fxJC2ohWR3a5AqyjmLojfrw5yw=="], + "@jsonjoy.com/fs-print": ["@jsonjoy.com/fs-print@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-node-utils": "4.80.0", "tree-dump": "^1.1.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-1ocZLJw/m/xlq0moaIHO7HV9nHRVBUvdc2zMzhsJGkFOrqfwWvexfCv5cYCPPLRhP+9p3yunoi4Ep5YhRORC9Q=="], - "@jsonjoy.com/fs-snapshot": ["@jsonjoy.com/fs-snapshot@4.57.1", "", { "dependencies": { "@jsonjoy.com/buffers": "^17.65.0", "@jsonjoy.com/fs-node-utils": "4.57.1", "@jsonjoy.com/json-pack": "^17.65.0", "@jsonjoy.com/util": "^17.65.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-/oG8xBNFMbDXTq9J7vepSA1kerS5vpgd3p5QZSPd+nX59uwodGJftI51gDYyHRpP57P3WCQf7LHtBYPqwUg2Bg=="], + "@jsonjoy.com/fs-snapshot": ["@jsonjoy.com/fs-snapshot@4.80.0", "", { "dependencies": { "@jsonjoy.com/buffers": "^17.65.0", "@jsonjoy.com/fs-node-utils": "4.80.0", "@jsonjoy.com/json-pack": "^17.65.0", "@jsonjoy.com/util": "^17.65.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-3AV23Q1H228KTtJKTUE0nNq8FCtxSvtENOLrEat80wkAJCKHuqQEv8yjhpS8Bei2OEFJAnluGXp9Ri2SWBlROw=="], "@jsonjoy.com/json-pack": ["@jsonjoy.com/json-pack@1.21.0", "", { "dependencies": { "@jsonjoy.com/base64": "^1.1.2", "@jsonjoy.com/buffers": "^1.2.0", "@jsonjoy.com/codegen": "^1.0.0", "@jsonjoy.com/json-pointer": "^1.0.2", "@jsonjoy.com/util": "^1.9.0", "hyperdyperid": "^1.2.0", "thingies": "^2.5.0", "tree-dump": "^1.1.0" }, "peerDependencies": { "tslib": "2" } }, "sha512-+AKG+R2cfZMShzrF2uQw34v3zbeDYUqnQ+jg7ORic3BGtfw9p/+N6RJbq/kkV8JmYZaINknaEQ2m0/f693ZPpg=="], @@ -474,31 +437,33 @@ "@kompakkt/common": ["@kompakkt/common@github:Kompakkt/Common#49b7d22", { "dependencies": { "elysia": "^1.4.28" } }, "Kompakkt-Common-49b7d22", "sha512-PujVgRn0bLS+yLJZ/+XD3cK3qLe5h5ZWOMOfLfsZuhbRQx/IJqhHquaoJQ/zLRRKmx850mJshg/fwUh13etdhg=="], - "@kompakkt/komponents": ["@kompakkt/komponents@github:Kompakkt/Komponents#2bd6816", { "dependencies": { "@angular/common": "21.2.6", "@angular/compiler": "21.2.6", "@angular/core": "21.2.6", "@angular/platform-browser": "21.2.6", "rxjs": "7.8.2", "tslib": "^2.8.1", "zone.js": "0.16.1" } }, "Kompakkt-Komponents-2bd6816", "sha512-CxFi8OzsLaePIYrYkNZMv0T62uLlmPdTxUuhl9Ggqvg0rzQGFFZwOBYZd4zMYrbvLxyaxApWb/Ski1hl/rsxEg=="], + "@kompakkt/komponents": ["@kompakkt/komponents@github:Kompakkt/Komponents#a8299aa", { "dependencies": { "@angular/common": "22.2.3", "@angular/compiler": "22.2.3", "@angular/core": "22.2.3", "@angular/platform-browser": "22.2.3", "rxjs": "7.8.2", "tslib": "^2.8.1", "zone.js": "0.16.1" } }, "Kompakkt-Komponents-a8299aa", "sha512-Qa2OVD+Hhy1a+SBXXSnwHaGLGVHItwGXCLz25jtP9Kvn5v21xxmgwV0qvoPREwj59kQT2nMfMGnd2LhSG/NlOw=="], - "@kompakkt/plugins": ["@kompakkt/plugins@github:Kompakkt/Plugins#3ce5c36", { "dependencies": { "@angular/animations": "21.2.6", "@angular/cdk": "21.2.4", "@angular/common": "21.2.6", "@angular/compiler": "21.2.6", "@angular/core": "21.2.6", "@angular/forms": "21.2.6", "@angular/material": "21.2.4", "@angular/platform-browser": "21.2.6", "@angular/platform-browser-dynamic": "21.2.6", "@angular/router": "21.2.6", "@kompakkt/common": "git+https://github.com/Kompakkt/Common.git#49b7d222f9d6edd719ae7183ba53c96acedd9d0f", "@kompakkt/komponents": "git+https://github.com/Kompakkt/Komponents.git#2bd681606d9b50f24856d6764b5aaf56953a4a39", "bson": "^7.2.0", "bson-objectid": "^2.0.4", "rxjs": "7.8.2", "slugify": "^1.6.6", "tslib": "^2.3.0", "uuid": "^14.0.0", "zone.js": "0.16.1" } }, "Kompakkt-Plugins-3ce5c36", "sha512-pCYR7Q9+pvBMjO381PXt+O4eRw43yk2EokE5gFe+S3tjaP5jo+41LETve5gCPdo90FxNoJzvZ+kV274UuPSKHw=="], + "@kompakkt/plugins": ["@kompakkt/plugins@github:Kompakkt/Plugins#0ff71df", { "dependencies": { "@angular/animations": "22.2.3", "@angular/cdk": "22.2.4", "@angular/common": "22.2.3", "@angular/compiler": "22.2.3", "@angular/core": "22.2.3", "@angular/forms": "22.2.3", "@angular/material": "22.2.4", "@angular/platform-browser": "22.2.3", "@angular/platform-browser-dynamic": "22.2.3", "@angular/router": "22.2.3", "@kompakkt/common": "git+https://github.com/Kompakkt/Common.git#49b7d222f9d6edd719ae7183ba53c96acedd9d0f", "@kompakkt/komponents": "git+https://github.com/Kompakkt/Komponents.git#a8299aa77713b01270aa43d2a69a3a6ba26959e7", "bson": "^7.2.0", "bson-objectid": "^2.0.4", "rxjs": "7.8.2", "slugify": "^1.6.6", "tslib": "^2.3.0", "uuid": "^14.0.0", "zone.js": "0.16.1" }, "hasInstallScript": true }, "Kompakkt-Plugins-0ff71df", "sha512-Qo7jdC5ZpZEkMtVeSp/11eCffO6QnGFagVwbkSYiPICFq5whznOacPy8UjaYHRy1JGE7/hsNfD6UckgeFo3kUw=="], "@kompakkt/server-openapi": ["@kompakkt/server-openapi@github:Kompakkt/Server#d73de70", {}, "Kompakkt-Server-d73de70", "sha512-vc9s5caCLXi6RTmOilfrLKFIIe2+w/XHd3EeaX8ncRaoJfy/GyvHc7tpYjQqm/epRkw83PQ6RuyPNUub9Kt6sw=="], "@leichtgewicht/ip-codec": ["@leichtgewicht/ip-codec@2.0.5", "", {}, "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw=="], - "@listr2/prompt-adapter-inquirer": ["@listr2/prompt-adapter-inquirer@3.0.5", "", { "dependencies": { "@inquirer/type": "^3.0.8" }, "peerDependencies": { "@inquirer/prompts": ">= 3 < 8", "listr2": "9.0.5" } }, "sha512-WELs+hj6xcilkloBXYf9XXK8tYEnKsgLj01Xl5ONUJpKjmT5hGVUzNUS5tooUxs7pGMrw+jFD/41WpqW4V3LDA=="], + "@listr2/prompt-adapter-inquirer": ["@listr2/prompt-adapter-inquirer@4.2.7", "", { "dependencies": { "@inquirer/type": "^4.0.7" }, "peerDependencies": { "@inquirer/prompts": ">= 3 < 9", "listr2": "11.1.0" } }, "sha512-k180vxSv2KqmnDxoato6pCqEJsov4U5C0EVmldZkAdNeVBxY48A/LM6TCNPGIzDK/iZSfsZP0Mw+gbWc5hXLyA=="], + + "@lmdb/lmdb-darwin-arm64": ["@lmdb/lmdb-darwin-arm64@3.5.6", "", { "os": "darwin", "cpu": "arm64" }, "sha512-mY5FG4TjPAkY4P0w+OhHaUka5mDh2TX2WKYIwuKzJ1zeW3VvRgxdam/lGJTquI+bthTx5CSHDW+BAQCnNAzkEA=="], - "@lmdb/lmdb-darwin-arm64": ["@lmdb/lmdb-darwin-arm64@3.5.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-tpfN4kKrrMpQ+If1l8bhmoNkECJi0iOu6AEdrTJvWVC+32sLxTARX5Rsu579mPImRP9YFWfWgeRQ5oav7zApQQ=="], + "@lmdb/lmdb-darwin-x64": ["@lmdb/lmdb-darwin-x64@3.5.6", "", { "os": "darwin", "cpu": "x64" }, "sha512-foa+pwitysO8k+xhs7psBFfTKnVgR69NlZRRTHaFVDqphh7AdGpLeyRzKw/ofatr/sN6TiHRRW6mmop0ZrrppQ=="], - "@lmdb/lmdb-darwin-x64": ["@lmdb/lmdb-darwin-x64@3.5.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-+a2tTfc3rmWhLAolFUWRgJtpSuu+Fw/yjn4rF406NMxhfjbMuiOUTDRvRlMFV+DzyjkwnokisskHbCWkS3Ly5w=="], + "@lmdb/lmdb-linux-arm": ["@lmdb/lmdb-linux-arm@3.5.6", "", { "os": "linux", "cpu": "arm" }, "sha512-QR4YRyR5h5Z8eGXrNQjiyo2NNDfqi3tCc9dQG5Is1blCt+qWw1ZoBWhlWAr5d+jshkifMIJjVHzHGKbkKzF8Tw=="], - "@lmdb/lmdb-linux-arm": ["@lmdb/lmdb-linux-arm@3.5.1", "", { "os": "linux", "cpu": "arm" }, "sha512-0EgcE6reYr8InjD7V37EgXcYrloqpxVPINy3ig1MwDSbl6LF/vXTYRH9OE1Ti1D8YZnB35ZH9aTcdfSb5lql2A=="], + "@lmdb/lmdb-linux-arm64": ["@lmdb/lmdb-linux-arm64@3.5.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-HmiyFFdJa38s1heCMSooSPaBSFTHJ3C+ERPp28xAPlDX1YiALJVOgbry065nXd8Y7KISWjnw05zpG1RX8IfftA=="], - "@lmdb/lmdb-linux-arm64": ["@lmdb/lmdb-linux-arm64@3.5.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-aoERa5B6ywXdyFeYGQ1gbQpkMkDbEo45qVoXE5QpIRavqjnyPwjOulMkmkypkmsbJ5z4Wi0TBztON8agCTG0Vg=="], + "@lmdb/lmdb-linux-x64": ["@lmdb/lmdb-linux-x64@3.5.6", "", { "os": "linux", "cpu": "x64" }, "sha512-ADzCuCF2cTNiX9kDScqcz1fjnAkxPpQNneV3KFTdV3wWtVlI2sTGzySoMTgDpinkMMFj1NTJlxA6XR8fwc4hlA=="], - "@lmdb/lmdb-linux-x64": ["@lmdb/lmdb-linux-x64@3.5.1", "", { "os": "linux", "cpu": "x64" }, "sha512-SqNDY1+vpji7bh0sFH5wlWyFTOzjbDOl0/kB5RLLYDAFyd/uw3n7wyrmas3rYPpAW7z18lMOi1yKlTPv967E3g=="], + "@lmdb/lmdb-win32-arm64": ["@lmdb/lmdb-win32-arm64@3.5.6", "", { "os": "win32", "cpu": "arm64" }, "sha512-J7A9aEQsQiv0TYtBGL7NDIPp2lOS8nnl+zm4sWZm1xlsTTaQ4PgD096Adzdrk27rw3UxCkDXdCUa4ax41oztBQ=="], - "@lmdb/lmdb-win32-arm64": ["@lmdb/lmdb-win32-arm64@3.5.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-50v0O1Lt37cwrmR9vWZK5hRW0Aw+KEmxJJ75fge/zIYdvNKB/0bSMSVR5Uc2OV9JhosIUyklOmrEvavwNJ8D6w=="], + "@lmdb/lmdb-win32-x64": ["@lmdb/lmdb-win32-x64@3.5.6", "", { "os": "win32", "cpu": "x64" }, "sha512-1g7G0knRX2iV/voDu54yxrGqw5Dk0w2oIYb7dgJq8IkOi+m7wbD8Q3QpPFjh0C01G58S88dqGn03len6UPCXsg=="], - "@lmdb/lmdb-win32-x64": ["@lmdb/lmdb-win32-x64@3.5.1", "", { "os": "win32", "cpu": "x64" }, "sha512-qwosvPyl+zpUlp3gRb7UcJ3H8S28XHCzkv0Y0EgQToXjQP91ZD67EHSCDmaLjtKhe+GVIW5om1KUpzVLA0l6pg=="], + "@modelcontextprotocol/core": ["@modelcontextprotocol/core@2.3.1", "", { "dependencies": { "zod": "^4.2.0" } }, "sha512-laVmIhPGpWi7rG9q+0UigblRN0Hws/Yjlb6qLFtVqryXVLkc4h+yN8z731POD2LnAGQlFe7/tXhUm7Bi0YB91g=="], - "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.26.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg=="], + "@modelcontextprotocol/server": ["@modelcontextprotocol/server@2.3.1", "", { "dependencies": { "@modelcontextprotocol/core": "2.3.1", "zod": "^4.2.0" } }, "sha512-e59MfWuSssj6DoQ96JCTqdW1AXT5/XtnTl0WWd6MU1Ka434fFUGGosCLJbGNySDhHGvxQWoRWK137FXYFkYNWw=="], "@msgpackr-extract/msgpackr-extract-darwin-arm64": ["@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw=="], @@ -548,31 +513,53 @@ "@napi-rs/nice-win32-x64-msvc": ["@napi-rs/nice-win32-x64-msvc@1.1.1", "", { "os": "win32", "cpu": "x64" }, "sha512-vB+4G/jBQCAh0jelMTY3+kgFy00Hlx2f2/1zjMoH821IbplbWZOkLiTYXQkygNTzQJTq5cvwBDgn2ppHD+bglQ=="], - "@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.2", "", { "dependencies": { "@tybys/wasm-util": "^0.10.1" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" } }, "sha512-sNXv5oLJ7ob93xkZ1XnxisYhGYXfaG9f65/ZgYuAu3qt7b3NadcOEhLvx28hv31PgX8SZJRYrAIPQilQmFpLVw=="], + "@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.2.6", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1 || 2.0.0-beta.2", "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2" } }, "sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw=="], - "@ngtools/webpack": ["@ngtools/webpack@21.2.5", "", { "peerDependencies": { "@angular/compiler-cli": "^21.0.0", "typescript": ">=5.9 <6.0", "webpack": "^5.54.0" } }, "sha512-1TRy5KIMOlrseKsPD+OukdHFo9MNn7xRrJ2nuEKmoeA+DovIaldheAbLuw5llkGWa6LZ8uzsL/AuOIUR8z/paQ=="], + "@ngtools/webpack": ["@ngtools/webpack@22.2.5", "", { "peerDependencies": { "@angular/compiler-cli": "^22.0.0", "typescript": ">=6.0 <6.1", "webpack": "^5.54.0" } }, "sha512-K8EeriZUilJrGPSRB+39QfNprYzasM+zXH0gwu3nBMAtdaVVUF95bd/zRPNhTdiA38JJusEhD3DiGQ2r5lLqqg=="], "@noble/hashes": ["@noble/hashes@1.4.0", "", {}, "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg=="], - "@npmcli/agent": ["@npmcli/agent@4.0.0", "", { "dependencies": { "agent-base": "^7.1.0", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.1", "lru-cache": "^11.2.1", "socks-proxy-agent": "^8.0.3" } }, "sha512-kAQTcEN9E8ERLVg5AsGwLNoFb+oEG6engbqAU2P43gD4JEIkNGMHdVQ096FsOAAYpZPB0RSt0zgInKIAS1l5QA=="], + "@oxc-parser/binding-android-arm-eabi": ["@oxc-parser/binding-android-arm-eabi@0.150.0", "", { "os": "android", "cpu": "arm" }, "sha512-oQef2Zu4Prz1KLKznz3HqZzU9uVoA5PMoDZuuLmqms7hKmKSAPzlaMnLllJq3t+rgKmfJJ2siPrpZfFrW06btw=="], + + "@oxc-parser/binding-android-arm64": ["@oxc-parser/binding-android-arm64@0.150.0", "", { "os": "android", "cpu": "arm64" }, "sha512-B6ofpoFiAUwIZ0MJ2IgHPvZK8FAtL4qzSZRwOkAKIfxEobE1mQC8nDdiFZj7pUaJiVUVCsfkMsBJKedzO8rZvA=="], + + "@oxc-parser/binding-darwin-arm64": ["@oxc-parser/binding-darwin-arm64@0.150.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-J+9IHKzx/bSz1JetOfD4zKXSK9sOm4/a7+0qomJODcTL6JsRXGeV/ZdkAPSIDydfFmWzYCraMlQEosSZEyBYkQ=="], + + "@oxc-parser/binding-darwin-x64": ["@oxc-parser/binding-darwin-x64@0.150.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-v6IPfcAcSYrBWXV5Tce1DmxDMXLhEYpIIWiRFPJopgCVscZdLaV4MRQOUxvL3usQlw+yrwYOjBFB9IwBx+jUiQ=="], + + "@oxc-parser/binding-freebsd-x64": ["@oxc-parser/binding-freebsd-x64@0.150.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-AoR/4jD02HET0KO0yNT4nbTE+XJUxiO9jB1X/ycEjUE3WrIJ3IjV/Vf+gskhWLcqqeXfvNnkDtBR7epllAm88A=="], - "@npmcli/fs": ["@npmcli/fs@5.0.0", "", { "dependencies": { "semver": "^7.3.5" } }, "sha512-7OsC1gNORBEawOa5+j2pXN9vsicaIOH5cPXxoR6fJOmH6/EXpJB2CajXOu1fPRFun2m1lktEFX11+P89hqO/og=="], + "@oxc-parser/binding-linux-arm-gnueabihf": ["@oxc-parser/binding-linux-arm-gnueabihf@0.150.0", "", { "os": "linux", "cpu": "arm" }, "sha512-A/hycCFjLUrCmLoL5O/vBp40ohlaXO1Ta3v5hqYZxicYFs129wZmgZJggcW4mYGYbZebQLhup+N8JjeQl8qwyw=="], - "@npmcli/git": ["@npmcli/git@7.0.2", "", { "dependencies": { "@gar/promise-retry": "^1.0.0", "@npmcli/promise-spawn": "^9.0.0", "ini": "^6.0.0", "lru-cache": "^11.2.1", "npm-pick-manifest": "^11.0.1", "proc-log": "^6.0.0", "semver": "^7.3.5", "which": "^6.0.0" } }, "sha512-oeolHDjExNAJAnlYP2qzNjMX/Xi9bmu78C9dIGr4xjobrSKbuMYCph8lTzn4vnW3NjIqVmw/f8BCfouqyJXlRg=="], + "@oxc-parser/binding-linux-arm-musleabihf": ["@oxc-parser/binding-linux-arm-musleabihf@0.150.0", "", { "os": "linux", "cpu": "arm" }, "sha512-pbqahg1Pkz7J4RKmXm30s/iQu99hv64ayXCu8P4p75HcEH5azOdR4eGqiB6lFGkFR3mMpzaYsSKLkS8oJbjmeQ=="], - "@npmcli/installed-package-contents": ["@npmcli/installed-package-contents@4.0.0", "", { "dependencies": { "npm-bundled": "^5.0.0", "npm-normalize-package-bin": "^5.0.0" }, "bin": { "installed-package-contents": "bin/index.js" } }, "sha512-yNyAdkBxB72gtZ4GrwXCM0ZUedo9nIbOMKfGjt6Cu6DXf0p8y1PViZAKDC8q8kv/fufx0WTjRBdSlyrvnP7hmA=="], + "@oxc-parser/binding-linux-arm64-gnu": ["@oxc-parser/binding-linux-arm64-gnu@0.150.0", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-HV11aRbBQGwqv8bEo+K/6qr88uB4fEe1mhXncMhlVCrj+WpBSraxrUzHaPVmeQRU6x6x8v/3DuCbbo93rpp+fw=="], - "@npmcli/node-gyp": ["@npmcli/node-gyp@5.0.0", "", {}, "sha512-uuG5HZFXLfyFKqg8QypsmgLQW7smiRjVc45bqD/ofZZcR/uxEjgQU8qDPv0s9TEeMUiAAU/GC5bR6++UdTirIQ=="], + "@oxc-parser/binding-linux-arm64-musl": ["@oxc-parser/binding-linux-arm64-musl@0.150.0", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-k6pVkJqALwtEuP4zukVhGRhdIy4+ofChUIUUsAHHyqDZlNsknmel3JjbggrJiWGaes6h/dIcWmEXsKW4SmK9oQ=="], - "@npmcli/package-json": ["@npmcli/package-json@7.0.5", "", { "dependencies": { "@npmcli/git": "^7.0.0", "glob": "^13.0.0", "hosted-git-info": "^9.0.0", "json-parse-even-better-errors": "^5.0.0", "proc-log": "^6.0.0", "semver": "^7.5.3", "spdx-expression-parse": "^4.0.0" } }, "sha512-iVuTlG3ORq2iaVa1IWUxAO/jIp77tUKBhoMjuzYW2kL4MLN1bi/ofqkZ7D7OOwh8coAx1/S2ge0rMdGv8sLSOQ=="], + "@oxc-parser/binding-linux-ppc64-gnu": ["@oxc-parser/binding-linux-ppc64-gnu@0.150.0", "", { "os": "linux", "cpu": "ppc64", "libc": "glibc" }, "sha512-tEFg39mw/rHO5n8GK2DR4ZMFfsPQZtnQIPbsIpjoQRomJc/2tRfsCSmCT6gNit+NZGoeJG5aH9ATDH5bf0WnoQ=="], - "@npmcli/promise-spawn": ["@npmcli/promise-spawn@9.0.1", "", { "dependencies": { "which": "^6.0.0" } }, "sha512-OLUaoqBuyxeTqUvjA3FZFiXUfYC1alp3Sa99gW3EUDz3tZ3CbXDdcZ7qWKBzicrJleIgucoWamWH1saAmH/l2Q=="], + "@oxc-parser/binding-linux-riscv64-gnu": ["@oxc-parser/binding-linux-riscv64-gnu@0.150.0", "", { "os": "linux", "cpu": "none", "libc": "glibc" }, "sha512-0JO7IFkoek6HqV589Menx3hJySNXi6quRhO4tq2P7kpEHKEXoDATnoPVUpn5B7gDH2KLkdo751N0uIrGJFCTCw=="], - "@npmcli/redact": ["@npmcli/redact@4.0.0", "", {}, "sha512-gOBg5YHMfZy+TfHArfVogwgfBeQnKbbGo3pSUyK/gSI0AVu+pEiDVcKlQb0D8Mg1LNRZILZ6XG8I5dJ4KuAd9Q=="], + "@oxc-parser/binding-linux-riscv64-musl": ["@oxc-parser/binding-linux-riscv64-musl@0.150.0", "", { "os": "linux", "cpu": "none", "libc": "musl" }, "sha512-7XPzREnyAS5wHU9aB+49Uaqgoo1gVCklHc3DRlc3fJy2tXD/eAJFN1QFz/crj+Ulup5P1+axNREF+/RGaB/IRA=="], - "@npmcli/run-script": ["@npmcli/run-script@10.0.4", "", { "dependencies": { "@npmcli/node-gyp": "^5.0.0", "@npmcli/package-json": "^7.0.0", "@npmcli/promise-spawn": "^9.0.0", "node-gyp": "^12.1.0", "proc-log": "^6.0.0" } }, "sha512-mGUWr1uMnf0le2TwfOZY4SFxZGXGfm4Jtay/nwAa2FLNAKXUoUwaGwBMNH36UHPtinWfTSJ3nqFQr0091CxVGg=="], + "@oxc-parser/binding-linux-s390x-gnu": ["@oxc-parser/binding-linux-s390x-gnu@0.150.0", "", { "os": "linux", "cpu": "s390x", "libc": "glibc" }, "sha512-7n7ZxcbRWDFaTdyj8M8p0O9OfzoMKm8O6syBAIgcSutbOALq0Bb9G52Me+XH0anMLZV+NgXc726gqgG2q39vcQ=="], - "@oxc-project/types": ["@oxc-project/types@0.113.0", "", {}, "sha512-Tp3XmgxwNQ9pEN9vxgJBAqdRamHibi76iowQ38O2I4PMpcvNRQNVsU2n1x1nv9yh0XoTrGFzf7cZSGxmixxrhA=="], + "@oxc-parser/binding-linux-x64-gnu": ["@oxc-parser/binding-linux-x64-gnu@0.150.0", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-Vx0GSA9ZCRTUiczoEQnIIyXkMvtEY8uc6IiwLQtMe5ci2sXPqjrry0Ek5fsPP1k2kCzkML3ow9UOOEgnEDi7Bw=="], + + "@oxc-parser/binding-linux-x64-musl": ["@oxc-parser/binding-linux-x64-musl@0.150.0", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-ii4/9m3viDLssMnfXU7/Pni/3nYplApuGayceX4qsVGaqqQJCx3tHIH9M/HWIeSty5i8LjS21zPYT6lVIkwLxw=="], + + "@oxc-parser/binding-openharmony-arm64": ["@oxc-parser/binding-openharmony-arm64@0.150.0", "", { "os": "none", "cpu": "arm64" }, "sha512-ZtoxX5rez36ZWkwtiEhjkCPnlTPoQ2I7lIL0IYZ1yjxMYohbvoOjBmUIZzrf9W/HouONq0omIfTeCWEY+R380w=="], + + "@oxc-parser/binding-wasm32-wasi": ["@oxc-parser/binding-wasm32-wasi@0.150.0", "", { "dependencies": { "@emnapi/core": "2.0.0-alpha.3", "@emnapi/runtime": "2.0.0-alpha.3", "@napi-rs/wasm-runtime": "~1.2.4" } }, "sha512-bTxhIS4YI/Qr6dt5UACoOUNBeGTMr7tjLTjZzmD93OwMg9Qq5Y4RTmfEWUf4h0DM/Ury+3yVdPAoMEqAE+zFnA=="], + + "@oxc-parser/binding-win32-arm64-msvc": ["@oxc-parser/binding-win32-arm64-msvc@0.150.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-VqeRb5JX/bKYBrff7TUDvJyKY0914UzuCkuXIGxJS4FUmvMNfqkCbc7Sq90iMz9DlmAtlggwaBYQ9eg3h3ltiw=="], + + "@oxc-parser/binding-win32-ia32-msvc": ["@oxc-parser/binding-win32-ia32-msvc@0.150.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-EPqJfeZ4Pgg2BJSsCV8GozxV0FDltRzpVtGVa1r2noJu1iu+opOw3gtBWXwIo9odCT/MdFfyHxdy0/CRqs3OqA=="], + + "@oxc-parser/binding-win32-x64-msvc": ["@oxc-parser/binding-win32-x64-msvc@0.150.0", "", { "os": "win32", "cpu": "x64" }, "sha512-n5YMzbqwPQqozbkrexi0lNZrUz5cnPHalYpFWe6Dau7AmKIWNo+y24IwzDuZEQtEdUHuKhXmMMih/MPjOI+CMw=="], + + "@oxc-project/types": ["@oxc-project/types@0.150.0", "", {}, "sha512-rDS5/31E9HfPl/CIzGrn0DOlvBbXFseQ5URJ9sYMfstbKLD/c6Gm9vmRzRGDdAXyOIL4zmO37lc9RIwYqVruZw=="], "@oxlint-tsgolint/darwin-arm64": ["@oxlint-tsgolint/darwin-arm64@0.18.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-CxSd15ZwHn70UJFTXVvy76bZ9zwI097cVyjvUFmYRJwvkQF3VnrTf2oe1gomUacErksvtqLgn9OKvZhLMYwvog=="], @@ -624,33 +611,31 @@ "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.57.0", "", { "os": "win32", "cpu": "x64" }, "sha512-6PuxhYgth8TuW0+ABPOIkGdBYw+qYGxgIdXPHSVpiCDm+hqTTWCmC739St1Xni0DJBt8HnSHTG67i1y6gr8qrA=="], - "@parcel/watcher": ["@parcel/watcher@2.5.6", "", { "dependencies": { "detect-libc": "^2.0.3", "is-glob": "^4.0.3", "node-addon-api": "^7.0.0", "picomatch": "^4.0.3" }, "optionalDependencies": { "@parcel/watcher-android-arm64": "2.5.6", "@parcel/watcher-darwin-arm64": "2.5.6", "@parcel/watcher-darwin-x64": "2.5.6", "@parcel/watcher-freebsd-x64": "2.5.6", "@parcel/watcher-linux-arm-glibc": "2.5.6", "@parcel/watcher-linux-arm-musl": "2.5.6", "@parcel/watcher-linux-arm64-glibc": "2.5.6", "@parcel/watcher-linux-arm64-musl": "2.5.6", "@parcel/watcher-linux-x64-glibc": "2.5.6", "@parcel/watcher-linux-x64-musl": "2.5.6", "@parcel/watcher-win32-arm64": "2.5.6", "@parcel/watcher-win32-ia32": "2.5.6", "@parcel/watcher-win32-x64": "2.5.6" } }, "sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ=="], - - "@parcel/watcher-android-arm64": ["@parcel/watcher-android-arm64@2.5.6", "", { "os": "android", "cpu": "arm64" }, "sha512-YQxSS34tPF/6ZG7r/Ih9xy+kP/WwediEUsqmtf0cuCV5TPPKw/PQHRhueUo6JdeFJaqV3pyjm0GdYjZotbRt/A=="], + "@parcel/watcher": ["@parcel/watcher@2.6.0", "", { "dependencies": { "detect-libc": "^2.0.3", "is-glob": "^4.0.3", "node-addon-api": "^7.0.0", "picomatch": "^4.0.4" }, "optionalDependencies": { "@parcel/watcher-android-arm64": "2.6.0", "@parcel/watcher-darwin-arm64": "2.6.0", "@parcel/watcher-darwin-x64": "2.6.0", "@parcel/watcher-freebsd-x64": "2.6.0", "@parcel/watcher-linux-arm-glibc": "2.6.0", "@parcel/watcher-linux-arm-musl": "2.6.0", "@parcel/watcher-linux-arm64-glibc": "2.6.0", "@parcel/watcher-linux-arm64-musl": "2.6.0", "@parcel/watcher-linux-x64-glibc": "2.6.0", "@parcel/watcher-linux-x64-musl": "2.6.0", "@parcel/watcher-win32-arm64": "2.6.0", "@parcel/watcher-win32-x64": "2.6.0" }, "hasInstallScript": true }, "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w=="], - "@parcel/watcher-darwin-arm64": ["@parcel/watcher-darwin-arm64@2.5.6", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Z2ZdrnwyXvvvdtRHLmM4knydIdU9adO3D4n/0cVipF3rRiwP+3/sfzpAwA/qKFL6i1ModaabkU7IbpeMBgiVEA=="], + "@parcel/watcher-android-arm64": ["@parcel/watcher-android-arm64@2.6.0", "", { "os": "android", "cpu": "arm64" }, "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA=="], - "@parcel/watcher-darwin-x64": ["@parcel/watcher-darwin-x64@2.5.6", "", { "os": "darwin", "cpu": "x64" }, "sha512-HgvOf3W9dhithcwOWX9uDZyn1lW9R+7tPZ4sug+NGrGIo4Rk1hAXLEbcH1TQSqxts0NYXXlOWqVpvS1SFS4fRg=="], + "@parcel/watcher-darwin-arm64": ["@parcel/watcher-darwin-arm64@2.6.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw=="], - "@parcel/watcher-freebsd-x64": ["@parcel/watcher-freebsd-x64@2.5.6", "", { "os": "freebsd", "cpu": "x64" }, "sha512-vJVi8yd/qzJxEKHkeemh7w3YAn6RJCtYlE4HPMoVnCpIXEzSrxErBW5SJBgKLbXU3WdIpkjBTeUNtyBVn8TRng=="], + "@parcel/watcher-darwin-x64": ["@parcel/watcher-darwin-x64@2.6.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw=="], - "@parcel/watcher-linux-arm-glibc": ["@parcel/watcher-linux-arm-glibc@2.5.6", "", { "os": "linux", "cpu": "arm" }, "sha512-9JiYfB6h6BgV50CCfasfLf/uvOcJskMSwcdH1PHH9rvS1IrNy8zad6IUVPVUfmXr+u+Km9IxcfMLzgdOudz9EQ=="], + "@parcel/watcher-freebsd-x64": ["@parcel/watcher-freebsd-x64@2.6.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ=="], - "@parcel/watcher-linux-arm-musl": ["@parcel/watcher-linux-arm-musl@2.5.6", "", { "os": "linux", "cpu": "arm" }, "sha512-Ve3gUCG57nuUUSyjBq/MAM0CzArtuIOxsBdQ+ftz6ho8n7s1i9E1Nmk/xmP323r2YL0SONs1EuwqBp2u1k5fxg=="], + "@parcel/watcher-linux-arm-glibc": ["@parcel/watcher-linux-arm-glibc@2.6.0", "", { "os": "linux", "cpu": "arm", "libc": "glibc" }, "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg=="], - "@parcel/watcher-linux-arm64-glibc": ["@parcel/watcher-linux-arm64-glibc@2.5.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-f2g/DT3NhGPdBmMWYoxixqYr3v/UXcmLOYy16Bx0TM20Tchduwr4EaCbmxh1321TABqPGDpS8D/ggOTaljijOA=="], + "@parcel/watcher-linux-arm-musl": ["@parcel/watcher-linux-arm-musl@2.6.0", "", { "os": "linux", "cpu": "arm", "libc": "musl" }, "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw=="], - "@parcel/watcher-linux-arm64-musl": ["@parcel/watcher-linux-arm64-musl@2.5.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-qb6naMDGlbCwdhLj6hgoVKJl2odL34z2sqkC7Z6kzir8b5W65WYDpLB6R06KabvZdgoHI/zxke4b3zR0wAbDTA=="], + "@parcel/watcher-linux-arm64-glibc": ["@parcel/watcher-linux-arm64-glibc@2.6.0", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g=="], - "@parcel/watcher-linux-x64-glibc": ["@parcel/watcher-linux-x64-glibc@2.5.6", "", { "os": "linux", "cpu": "x64" }, "sha512-kbT5wvNQlx7NaGjzPFu8nVIW1rWqV780O7ZtkjuWaPUgpv2NMFpjYERVi0UYj1msZNyCzGlaCWEtzc+exjMGbQ=="], + "@parcel/watcher-linux-arm64-musl": ["@parcel/watcher-linux-arm64-musl@2.6.0", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA=="], - "@parcel/watcher-linux-x64-musl": ["@parcel/watcher-linux-x64-musl@2.5.6", "", { "os": "linux", "cpu": "x64" }, "sha512-1JRFeC+h7RdXwldHzTsmdtYR/Ku8SylLgTU/reMuqdVD7CtLwf0VR1FqeprZ0eHQkO0vqsbvFLXUmYm/uNKJBg=="], + "@parcel/watcher-linux-x64-glibc": ["@parcel/watcher-linux-x64-glibc@2.6.0", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A=="], - "@parcel/watcher-win32-arm64": ["@parcel/watcher-win32-arm64@2.5.6", "", { "os": "win32", "cpu": "arm64" }, "sha512-3ukyebjc6eGlw9yRt678DxVF7rjXatWiHvTXqphZLvo7aC5NdEgFufVwjFfY51ijYEWpXbqF5jtrK275z52D4Q=="], + "@parcel/watcher-linux-x64-musl": ["@parcel/watcher-linux-x64-musl@2.6.0", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw=="], - "@parcel/watcher-win32-ia32": ["@parcel/watcher-win32-ia32@2.5.6", "", { "os": "win32", "cpu": "ia32" }, "sha512-k35yLp1ZMwwee3Ez/pxBi5cf4AoBKYXj00CZ80jUz5h8prpiaQsiRPKQMxoLstNuqe2vR4RNPEAEcjEFzhEz/g=="], + "@parcel/watcher-win32-arm64": ["@parcel/watcher-win32-arm64@2.6.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ=="], - "@parcel/watcher-win32-x64": ["@parcel/watcher-win32-x64@2.5.6", "", { "os": "win32", "cpu": "x64" }, "sha512-hbQlYcCq5dlAX9Qx+kFb0FHue6vbjlf0FrNzSKdYK2APUf7tGfGxQCk2ihEREmbR6ZMc0MVAD5RIX/41gpUzTw=="], + "@parcel/watcher-win32-x64": ["@parcel/watcher-win32-x64@2.6.0", "", { "os": "win32", "cpu": "x64" }, "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A=="], "@peculiar/asn1-cms": ["@peculiar/asn1-cms@2.6.1", "", { "dependencies": { "@peculiar/asn1-schema": "^2.6.0", "@peculiar/asn1-x509": "^2.6.1", "@peculiar/asn1-x509-attr": "^2.6.1", "asn1js": "^3.0.6", "tslib": "^2.8.1" } }, "sha512-vdG4fBF6Lkirkcl53q6eOdn3XYKt+kJTG59edgRZORlg/3atWWEReRCx5rYE1ZzTTX6vLK5zDMjHh7vbrcXGtw=="], @@ -674,97 +659,39 @@ "@peculiar/x509": ["@peculiar/x509@1.14.3", "", { "dependencies": { "@peculiar/asn1-cms": "^2.6.0", "@peculiar/asn1-csr": "^2.6.0", "@peculiar/asn1-ecc": "^2.6.0", "@peculiar/asn1-pkcs9": "^2.6.0", "@peculiar/asn1-rsa": "^2.6.0", "@peculiar/asn1-schema": "^2.6.0", "@peculiar/asn1-x509": "^2.6.0", "pvtsutils": "^1.3.6", "reflect-metadata": "^0.2.2", "tslib": "^2.8.1", "tsyringe": "^4.10.0" } }, "sha512-C2Xj8FZ0uHWeCXXqX5B4/gVFQmtSkiuOolzAgutjTfseNOHT3pUjljDZsTSxXFGgio54bCzVFqmEOUrIVk8RDA=="], - "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.0.0-rc.4", "", { "os": "android", "cpu": "arm64" }, "sha512-vRq9f4NzvbdZavhQbjkJBx7rRebDKYR9zHfO/Wg486+I7bSecdUapzCm5cyXoK+LHokTxgSq7A5baAXUZkIz0w=="], + "@rolldown/binding-android-arm-eabi": ["@rolldown/binding-android-arm-eabi@1.2.15", "", { "os": "android", "cpu": "arm" }, "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw=="], - "@rolldown/binding-darwin-arm64": ["@rolldown/binding-darwin-arm64@1.0.0-rc.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-kFgEvkWLqt3YCgKB5re9RlIrx9bRsvyVUnaTakEpOPuLGzLpLapYxE9BufJNvPg8GjT6mB1alN4yN1NjzoeM8Q=="], + "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.2.15", "", { "os": "android", "cpu": "arm64" }, "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg=="], - "@rolldown/binding-darwin-x64": ["@rolldown/binding-darwin-x64@1.0.0-rc.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-JXmaOJGsL/+rsmMfutcDjxWM2fTaVgCHGoXS7nE8Z3c9NAYjGqHvXrAhMUZvMpHS/k7Mg+X7n/MVKb7NYWKKww=="], + "@rolldown/binding-darwin-arm64": ["@rolldown/binding-darwin-arm64@1.2.15", "", { "os": "darwin", "cpu": "arm64" }, "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA=="], - "@rolldown/binding-freebsd-x64": ["@rolldown/binding-freebsd-x64@1.0.0-rc.4", "", { "os": "freebsd", "cpu": "x64" }, "sha512-ep3Catd6sPnHTM0P4hNEvIv5arnDvk01PfyJIJ+J3wVCG1eEaPo09tvFqdtcaTrkwQy0VWR24uz+cb4IsK53Qw=="], + "@rolldown/binding-darwin-x64": ["@rolldown/binding-darwin-x64@1.2.15", "", { "os": "darwin", "cpu": "x64" }, "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A=="], - "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.4", "", { "os": "linux", "cpu": "arm" }, "sha512-LwA5ayKIpnsgXJEwWc3h8wPiS33NMIHd9BhsV92T8VetVAbGe2qXlJwNVDGHN5cOQ22R9uYvbrQir2AB+ntT2w=="], + "@rolldown/binding-freebsd-x64": ["@rolldown/binding-freebsd-x64@1.2.15", "", { "os": "freebsd", "cpu": "x64" }, "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ=="], - "@rolldown/binding-linux-arm64-gnu": ["@rolldown/binding-linux-arm64-gnu@1.0.0-rc.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-AC1WsGdlV1MtGay/OQ4J9T7GRadVnpYRzTcygV1hKnypbYN20Yh4t6O1Sa2qRBMqv1etulUknqXjc3CTIsBu6A=="], + "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/binding-linux-arm-gnueabihf@1.2.15", "", { "os": "linux", "cpu": "arm" }, "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ=="], - "@rolldown/binding-linux-arm64-musl": ["@rolldown/binding-linux-arm64-musl@1.0.0-rc.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-lU+6rgXXViO61B4EudxtVMXSOfiZONR29Sys5VGSetUY7X8mg9FCKIIjcPPj8xNDeYzKl+H8F/qSKOBVFJChCQ=="], + "@rolldown/binding-linux-arm64-gnu": ["@rolldown/binding-linux-arm64-gnu@1.2.15", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw=="], - "@rolldown/binding-linux-x64-gnu": ["@rolldown/binding-linux-x64-gnu@1.0.0-rc.4", "", { "os": "linux", "cpu": "x64" }, "sha512-DZaN1f0PGp/bSvKhtw50pPsnln4T13ycDq1FrDWRiHmWt1JeW+UtYg9touPFf8yt993p8tS2QjybpzKNTxYEwg=="], + "@rolldown/binding-linux-arm64-musl": ["@rolldown/binding-linux-arm64-musl@1.2.15", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ=="], - "@rolldown/binding-linux-x64-musl": ["@rolldown/binding-linux-x64-musl@1.0.0-rc.4", "", { "os": "linux", "cpu": "x64" }, "sha512-RnGxwZLN7fhMMAItnD6dZ7lvy+TI7ba+2V54UF4dhaWa/p8I/ys1E73KO6HmPmgz92ZkfD8TXS1IMV8+uhbR9g=="], + "@rolldown/binding-linux-ppc64-gnu": ["@rolldown/binding-linux-ppc64-gnu@1.2.15", "", { "os": "linux", "cpu": "ppc64", "libc": "glibc" }, "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw=="], - "@rolldown/binding-openharmony-arm64": ["@rolldown/binding-openharmony-arm64@1.0.0-rc.4", "", { "os": "none", "cpu": "arm64" }, "sha512-6lcI79+X8klGiGd8yHuTgQRjuuJYNggmEml+RsyN596P23l/zf9FVmJ7K0KVKkFAeYEdg0iMUKyIxiV5vebDNQ=="], + "@rolldown/binding-linux-s390x-gnu": ["@rolldown/binding-linux-s390x-gnu@1.2.15", "", { "os": "linux", "cpu": "s390x", "libc": "glibc" }, "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA=="], - "@rolldown/binding-wasm32-wasi": ["@rolldown/binding-wasm32-wasi@1.0.0-rc.4", "", { "dependencies": { "@napi-rs/wasm-runtime": "^1.1.1" }, "cpu": "none" }, "sha512-wz7ohsKCAIWy91blZ/1FlpPdqrsm1xpcEOQVveWoL6+aSPKL4VUcoYmmzuLTssyZxRpEwzuIxL/GDsvpjaBtOw=="], + "@rolldown/binding-linux-x64-gnu": ["@rolldown/binding-linux-x64-gnu@1.2.15", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw=="], - "@rolldown/binding-win32-arm64-msvc": ["@rolldown/binding-win32-arm64-msvc@1.0.0-rc.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-cfiMrfuWCIgsFmcVG0IPuO6qTRHvF7NuG3wngX1RZzc6dU8FuBFb+J3MIR5WrdTNozlumfgL4cvz+R4ozBCvsQ=="], + "@rolldown/binding-linux-x64-musl": ["@rolldown/binding-linux-x64-musl@1.2.15", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ=="], - "@rolldown/binding-win32-x64-msvc": ["@rolldown/binding-win32-x64-msvc@1.0.0-rc.4", "", { "os": "win32", "cpu": "x64" }, "sha512-p6UeR9y7ht82AH57qwGuFYn69S6CZ7LLKdCKy/8T3zS9VTrJei2/CGsTUV45Da4Z9Rbhc7G4gyWQ/Ioamqn09g=="], + "@rolldown/binding-openharmony-arm64": ["@rolldown/binding-openharmony-arm64@1.2.15", "", { "os": "none", "cpu": "arm64" }, "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w=="], - "@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.0-rc.4", "", {}, "sha512-1BrrmTu0TWfOP1riA8uakjFc9bpIUGzVKETsOtzY39pPga8zELGDl8eu1Dx7/gjM5CAz14UknsUMpBO8L+YntQ=="], + "@rolldown/binding-win32-arm64-msvc": ["@rolldown/binding-win32-arm64-msvc@1.2.15", "", { "os": "win32", "cpu": "arm64" }, "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg=="], - "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.60.1", "", { "os": "android", "cpu": "arm" }, "sha512-d6FinEBLdIiK+1uACUttJKfgZREXrF0Qc2SmLII7W2AD8FfiZ9Wjd+rD/iRuf5s5dWrr1GgwXCvPqOuDquOowA=="], + "@rolldown/binding-win32-x64-msvc": ["@rolldown/binding-win32-x64-msvc@1.2.15", "", { "os": "win32", "cpu": "x64" }, "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ=="], - "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.60.1", "", { "os": "android", "cpu": "arm64" }, "sha512-YjG/EwIDvvYI1YvYbHvDz/BYHtkY4ygUIXHnTdLhG+hKIQFBiosfWiACWortsKPKU/+dUwQQCKQM3qrDe8c9BA=="], + "@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.1", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="], - "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.60.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-mjCpF7GmkRtSJwon+Rq1N8+pI+8l7w5g9Z3vWj4T7abguC4Czwi3Yu/pFaLvA3TTeMVjnu3ctigusqWUfjZzvw=="], - - "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.60.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-haZ7hJ1JT4e9hqkoT9R/19XW2QKqjfJVv+i5AGg57S+nLk9lQnJ1F/eZloRO3o9Scy9CM3wQ9l+dkXtcBgN5Ew=="], - - "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.60.1", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-czw90wpQq3ZsAVBlinZjAYTKduOjTywlG7fEeWKUA7oCmpA8xdTkxZZlwNJKWqILlq0wehoZcJYfBvOyhPTQ6w=="], - - "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.60.1", "", { "os": "freebsd", "cpu": "x64" }, "sha512-KVB2rqsxTHuBtfOeySEyzEOB7ltlB/ux38iu2rBQzkjbwRVlkhAGIEDiiYnO2kFOkJp+Z7pUXKyrRRFuFUKt+g=="], - - "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.60.1", "", { "os": "linux", "cpu": "arm" }, "sha512-L+34Qqil+v5uC0zEubW7uByo78WOCIrBvci69E7sFASRl0X7b/MB6Cqd1lky/CtcSVTydWa2WZwFuWexjS5o6g=="], - - "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.60.1", "", { "os": "linux", "cpu": "arm" }, "sha512-n83O8rt4v34hgFzlkb1ycniJh7IR5RCIqt6mz1VRJD6pmhRi0CXdmfnLu9dIUS6buzh60IvACM842Ffb3xd6Gg=="], - - "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.60.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-Nql7sTeAzhTAja3QXeAI48+/+GjBJ+QmAH13snn0AJSNL50JsDqotyudHyMbO2RbJkskbMbFJfIJKWA6R1LCJQ=="], - - "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.60.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-+pUymDhd0ys9GcKZPPWlFiZ67sTWV5UU6zOJat02M1+PiuSGDziyRuI/pPue3hoUwm2uGfxdL+trT6Z9rxnlMA=="], - - "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.60.1", "", { "os": "linux", "cpu": "none" }, "sha512-VSvgvQeIcsEvY4bKDHEDWcpW4Yw7BtlKG1GUT4FzBUlEKQK0rWHYBqQt6Fm2taXS+1bXvJT6kICu5ZwqKCnvlQ=="], - - "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.60.1", "", { "os": "linux", "cpu": "none" }, "sha512-4LqhUomJqwe641gsPp6xLfhqWMbQV04KtPp7/dIp0nzPxAkNY1AbwL5W0MQpcalLYk07vaW9Kp1PBhdpZYYcEw=="], - - "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.60.1", "", { "os": "linux", "cpu": "ppc64" }, "sha512-tLQQ9aPvkBxOc/EUT6j3pyeMD6Hb8QF2BTBnCQWP/uu1lhc9AIrIjKnLYMEroIz/JvtGYgI9dF3AxHZNaEH0rw=="], - - "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.60.1", "", { "os": "linux", "cpu": "ppc64" }, "sha512-RMxFhJwc9fSXP6PqmAz4cbv3kAyvD1etJFjTx4ONqFP9DkTkXsAMU4v3Vyc5BgzC+anz7nS/9tp4obsKfqkDHg=="], - - "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.60.1", "", { "os": "linux", "cpu": "none" }, "sha512-QKgFl+Yc1eEk6MmOBfRHYF6lTxiiiV3/z/BRrbSiW2I7AFTXoBFvdMEyglohPj//2mZS4hDOqeB0H1ACh3sBbg=="], - - "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.60.1", "", { "os": "linux", "cpu": "none" }, "sha512-RAjXjP/8c6ZtzatZcA1RaQr6O1TRhzC+adn8YZDnChliZHviqIjmvFwHcxi4JKPSDAt6Uhf/7vqcBzQJy0PDJg=="], - - "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.60.1", "", { "os": "linux", "cpu": "s390x" }, "sha512-wcuocpaOlaL1COBYiA89O6yfjlp3RwKDeTIA0hM7OpmhR1Bjo9j31G1uQVpDlTvwxGn2nQs65fBFL5UFd76FcQ=="], - - "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.60.1", "", { "os": "linux", "cpu": "x64" }, "sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg=="], - - "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.60.1", "", { "os": "linux", "cpu": "x64" }, "sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w=="], - - "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.60.1", "", { "os": "openbsd", "cpu": "x64" }, "sha512-cl0w09WsCi17mcmWqqglez9Gk8isgeWvoUZ3WiJFYSR3zjBQc2J5/ihSjpl+VLjPqjQ/1hJRcqBfLjssREQILw=="], - - "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.60.1", "", { "os": "none", "cpu": "arm64" }, "sha512-4Cv23ZrONRbNtbZa37mLSueXUCtN7MXccChtKpUnQNgF010rjrjfHx3QxkS2PI7LqGT5xXyYs1a7LbzAwT0iCA=="], - - "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.60.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-i1okWYkA4FJICtr7KpYzFpRTHgy5jdDbZiWfvny21iIKky5YExiDXP+zbXzm3dUcFpkEeYNHgQ5fuG236JPq0g=="], - - "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.60.1", "", { "os": "win32", "cpu": "ia32" }, "sha512-u09m3CuwLzShA0EYKMNiFgcjjzwqtUMLmuCJLeZWjjOYA3IT2Di09KaxGBTP9xVztWyIWjVdsB2E9goMjZvTQg=="], - - "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.60.1", "", { "os": "win32", "cpu": "x64" }, "sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg=="], - - "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.60.1", "", { "os": "win32", "cpu": "x64" }, "sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ=="], - - "@schematics/angular": ["@schematics/angular@21.2.5", "", { "dependencies": { "@angular-devkit/core": "21.2.5", "@angular-devkit/schematics": "21.2.5", "jsonc-parser": "3.3.1" } }, "sha512-orOiXcG86t34ejqbkm7ZHEkGfwTU/ySYFgY7BOQdaYFCoNQXxtU87fZoHckJ2xYpVitoKTvbf1bxDDphXb3ycw=="], - - "@sigstore/bundle": ["@sigstore/bundle@4.0.0", "", { "dependencies": { "@sigstore/protobuf-specs": "^0.5.0" } }, "sha512-NwCl5Y0V6Di0NexvkTqdoVfmjTaQwoLM236r89KEojGmq/jMls8S+zb7yOwAPdXvbwfKDlP+lmXgAL4vKSQT+A=="], - - "@sigstore/core": ["@sigstore/core@3.2.0", "", {}, "sha512-kxHrDQ9YgfrWUSXU0cjsQGv8JykOFZQ9ErNKbFPWzk3Hgpwu8x2hHrQ9IdA8yl+j9RTLTC3sAF3Tdq1IQCP4oA=="], - - "@sigstore/protobuf-specs": ["@sigstore/protobuf-specs@0.5.0", "", {}, "sha512-MM8XIwUjN2bwvCg1QvrMtbBmpcSHrkhFSCu1D11NyPvDQ25HEc4oG5/OcQfd/Tlf/OxmKWERDj0zGE23jQaMwA=="], - - "@sigstore/sign": ["@sigstore/sign@4.1.1", "", { "dependencies": { "@gar/promise-retry": "^1.0.2", "@sigstore/bundle": "^4.0.0", "@sigstore/core": "^3.2.0", "@sigstore/protobuf-specs": "^0.5.0", "make-fetch-happen": "^15.0.4", "proc-log": "^6.1.0" } }, "sha512-Hf4xglukg0XXQ2RiD5vSoLjdPe8OBUPA8XeVjUObheuDcWdYWrnH/BNmxZCzkAy68MzmNCxXLeurJvs6hcP2OQ=="], - - "@sigstore/tuf": ["@sigstore/tuf@4.0.2", "", { "dependencies": { "@sigstore/protobuf-specs": "^0.5.0", "tuf-js": "^4.1.0" } }, "sha512-TCAzTy0xzdP79EnxSjq9KQ3eaR7+FmudLC6eRKknVKZbV7ZNlGLClAAQb/HMNJ5n2OBNk2GT1tEmU0xuPr+SLQ=="], - - "@sigstore/verify": ["@sigstore/verify@3.1.0", "", { "dependencies": { "@sigstore/bundle": "^4.0.0", "@sigstore/core": "^3.1.0", "@sigstore/protobuf-specs": "^0.5.0" } }, "sha512-mNe0Iigql08YupSOGv197YdHpPPr+EzDZmfCgMc7RPNaZTw5aLN01nBl6CHJOh3BGtnMIj83EeN4butBchc8Ag=="], + "@schematics/angular": ["@schematics/angular@22.2.5", "", { "dependencies": { "@angular-devkit/core": "22.2.5", "@angular-devkit/schematics": "22.2.5", "jsonc-parser": "3.3.1", "oxc-parser": "0.150.0", "typescript": "6.0.3" } }, "sha512-wP4pzkm1lwrC1UxaGqq6/4sEAHeBNsg/vyyKy4y94C6B0YzDQbMnvPBFvVsv1sD7ORhiQe5n2DBr8gzgr6mAYg=="], "@sinclair/typebox": ["@sinclair/typebox@0.34.49", "", {}, "sha512-brySQQs7Jtn0joV8Xh9ZV/hZb9Ozb0pmazDIASBkYKCjXrXU3mpcFahmK/z4YDhGkQvP9mWJbVyahdtU5wQA+A=="], @@ -782,11 +709,7 @@ "@tsconfig/node16": ["@tsconfig/node16@1.0.4", "", {}, "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA=="], - "@tufjs/canonical-json": ["@tufjs/canonical-json@2.0.0", "", {}, "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA=="], - - "@tufjs/models": ["@tufjs/models@4.1.0", "", { "dependencies": { "@tufjs/canonical-json": "2.0.0", "minimatch": "^10.1.1" } }, "sha512-Y8cK9aggNRsqJVaKUlEYs4s7CvQ1b1ta2DVPyAimb0I2qhzjNk+A+mxvll/klL0RlfuIUei8BF7YWiua4kQqww=="], - - "@tybys/wasm-util": ["@tybys/wasm-util@0.10.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="], + "@tybys/wasm-util": ["@tybys/wasm-util@0.10.4", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A=="], "@types/body-parser": ["@types/body-parser@1.19.6", "", { "dependencies": { "@types/connect": "*", "@types/node": "*" } }, "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g=="], @@ -798,24 +721,24 @@ "@types/connect-history-api-fallback": ["@types/connect-history-api-fallback@1.5.4", "", { "dependencies": { "@types/express-serve-static-core": "*", "@types/node": "*" } }, "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw=="], - "@types/eslint": ["@types/eslint@9.6.1", "", { "dependencies": { "@types/estree": "*", "@types/json-schema": "*" } }, "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag=="], - - "@types/eslint-scope": ["@types/eslint-scope@3.7.7", "", { "dependencies": { "@types/eslint": "*", "@types/estree": "*" } }, "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg=="], - "@types/estree": ["@types/estree@1.0.8", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="], - "@types/express": ["@types/express@4.17.25", "", { "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", "@types/qs": "*", "@types/serve-static": "^1" } }, "sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw=="], + "@types/express": ["@types/express@5.0.6", "", { "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^5.0.0", "@types/serve-static": "^2" } }, "sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA=="], - "@types/express-serve-static-core": ["@types/express-serve-static-core@4.19.8", "", { "dependencies": { "@types/node": "*", "@types/qs": "*", "@types/range-parser": "*", "@types/send": "*" } }, "sha512-02S5fmqeoKzVZCHPZid4b8JH2eM5HzQLZWN2FohQEy/0eXTq8VXZfSN6Pcr3F6N9R/vNrj7cpgbhjie6m/1tCA=="], + "@types/express-serve-static-core": ["@types/express-serve-static-core@5.1.3", "", { "dependencies": { "@types/node": "*", "@types/qs": "*", "@types/range-parser": "*", "@types/send": "*" } }, "sha512-dPfW8NFiOF4wOHc7+N/QSxlY9cfSsenewGbAz8C8U/MULPd/YZ27LvJUIlzaXie7e6Ove9YunJGgC9tbHD2cKw=="], "@types/fscreen": ["@types/fscreen@1.0.4", "", {}, "sha512-TsjxyAUvlvuQyao9vNk0yES4nY07K9xoAbkhgXU948JG39EqlLxniWuW9OiZde9Q8ACSpu3fmbXXRAfb/l/HqQ=="], + "@types/gensync": ["@types/gensync@1.0.5", "", {}, "sha512-MbsRCT7mTikHwKZ0X+LVUTLRrZZRLipTuXEO9qOYO+zmjMVk81axyClMROf6uoPD9MRVu46bx8zoR0Ad9q3NAg=="], + "@types/http-errors": ["@types/http-errors@2.0.5", "", {}, "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg=="], - "@types/http-proxy": ["@types/http-proxy@1.17.17", "", { "dependencies": { "@types/node": "*" } }, "sha512-ED6LB+Z1AVylNTu7hdzuBqOgMnvG/ld6wGCG8wFnAzKX5uyW2K3WD52v0gnLCTK/VLpXtKckgWuyScYK6cSPaw=="], + "@types/jsesc": ["@types/jsesc@2.5.1", "", {}, "sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw=="], "@types/json-schema": ["@types/json-schema@7.0.15", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="], + "@types/less": ["@types/less@3.0.8", "", {}, "sha512-Gjm4+H9noDJgu5EdT3rUw5MhPBag46fiOy27BefvWkNL8mlZnKnCaVVVTLKj6RYXed9b62CPKnPav9govyQDzA=="], + "@types/mime": ["@types/mime@1.3.5", "", {}, "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="], "@types/node": ["@types/node@25.5.0", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw=="], @@ -826,21 +749,17 @@ "@types/range-parser": ["@types/range-parser@1.2.7", "", {}, "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ=="], - "@types/retry": ["@types/retry@0.12.2", "", {}, "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow=="], - "@types/send": ["@types/send@0.17.6", "", { "dependencies": { "@types/mime": "^1", "@types/node": "*" } }, "sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og=="], "@types/serve-index": ["@types/serve-index@1.9.4", "", { "dependencies": { "@types/express": "*" } }, "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug=="], - "@types/serve-static": ["@types/serve-static@1.15.10", "", { "dependencies": { "@types/http-errors": "*", "@types/node": "*", "@types/send": "<1" } }, "sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw=="], - - "@types/sockjs": ["@types/sockjs@0.3.36", "", { "dependencies": { "@types/node": "*" } }, "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q=="], + "@types/serve-static": ["@types/serve-static@2.2.0", "", { "dependencies": { "@types/http-errors": "*", "@types/node": "*" } }, "sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ=="], "@types/spark-md5": ["@types/spark-md5@3.0.5", "", {}, "sha512-lWf05dnD42DLVKQJZrDHtWFidcLrHuip01CtnC2/S6AMhX4t9ZlEUj4iuRlAnts0PQk7KESOqKxeGE/b6sIPGg=="], "@types/ws": ["@types/ws@8.18.1", "", { "dependencies": { "@types/node": "*" } }, "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg=="], - "@vitejs/plugin-basic-ssl": ["@vitejs/plugin-basic-ssl@2.1.4", "", { "peerDependencies": { "vite": "^6.0.0 || ^7.0.0" } }, "sha512-HXciTXN/sDBYWgeAD4V4s0DN0g72x5mlxQhHxtYu3Tt8BLa6MzcJZUyDVFCdtjNs3bfENVHVzOsmooTVuNgAAw=="], + "@vitejs/plugin-basic-ssl": ["@vitejs/plugin-basic-ssl@2.3.0", "", { "peerDependencies": { "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-bdyo8rB3NnQbikdMpHaML9Z1OZPBu6fFOBo+OtxsBlvMJtysWskmBcnbIDhUqgC8tcxNv/a+BcV5U+2nQMm1OQ=="], "@webassemblyjs/ast": ["@webassemblyjs/ast@1.14.1", "", { "dependencies": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" } }, "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ=="], @@ -876,30 +795,22 @@ "@xtuc/long": ["@xtuc/long@4.2.2", "", {}, "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="], - "@yarnpkg/lockfile": ["@yarnpkg/lockfile@1.1.0", "", {}, "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ=="], - - "abbrev": ["abbrev@4.0.0", "", {}, "sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA=="], - - "accepts": ["accepts@1.3.8", "", { "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" } }, "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw=="], + "accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="], "acorn": ["acorn@8.16.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw=="], - "acorn-import-phases": ["acorn-import-phases@1.0.4", "", { "peerDependencies": { "acorn": "^8.14.0" } }, "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ=="], - "acorn-walk": ["acorn-walk@8.3.5", "", { "dependencies": { "acorn": "^8.11.0" } }, "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw=="], "adjust-sourcemap-loader": ["adjust-sourcemap-loader@4.0.0", "", { "dependencies": { "loader-utils": "^2.0.0", "regex-parser": "^2.2.11" } }, "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A=="], - "agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="], + "agent-base": ["agent-base@9.0.0", "", {}, "sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA=="], - "ajv": ["ajv@8.18.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A=="], + "ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="], "ajv-formats": ["ajv-formats@3.0.1", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="], "ajv-keywords": ["ajv-keywords@5.1.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3" }, "peerDependencies": { "ajv": "^8.8.2" } }, "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw=="], - "algoliasearch": ["algoliasearch@5.48.1", "", { "dependencies": { "@algolia/abtesting": "1.14.1", "@algolia/client-abtesting": "5.48.1", "@algolia/client-analytics": "5.48.1", "@algolia/client-common": "5.48.1", "@algolia/client-insights": "5.48.1", "@algolia/client-personalization": "5.48.1", "@algolia/client-query-suggestions": "5.48.1", "@algolia/client-search": "5.48.1", "@algolia/ingestion": "1.48.1", "@algolia/monitoring": "1.48.1", "@algolia/recommend": "5.48.1", "@algolia/requester-browser-xhr": "5.48.1", "@algolia/requester-fetch": "5.48.1", "@algolia/requester-node-http": "5.48.1" } }, "sha512-Rf7xmeuIo7nb6S4mp4abW2faW8DauZyE2faBIKFaUfP3wnpOvNSbiI5AwVhqBNj0jPgBWEvhyCu0sLjN2q77Rg=="], - "ansi-colors": ["ansi-colors@4.1.3", "", {}, "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw=="], "ansi-escapes": ["ansi-escapes@7.3.0", "", { "dependencies": { "environment": "^1.0.0" } }, "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg=="], @@ -910,49 +821,35 @@ "ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], - "anymatch": ["anymatch@3.1.3", "", { "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } }, "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw=="], - "arg": ["arg@4.1.3", "", {}, "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="], "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], - "array-flatten": ["array-flatten@1.1.1", "", {}, "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="], - "asn1js": ["asn1js@3.0.7", "", { "dependencies": { "pvtsutils": "^1.3.6", "pvutils": "^1.1.3", "tslib": "^2.8.1" } }, "sha512-uLvq6KJu04qoQM6gvBfKFjlh6Gl0vOKQuR5cJMDHQkmwfMOQeN3F3SHCv9SNYSL+CRoHvOGFfllDlVz03GQjvQ=="], "asynckit": ["asynckit@0.4.0", "", {}, "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="], - "autoprefixer": ["autoprefixer@10.4.27", "", { "dependencies": { "browserslist": "^4.28.1", "caniuse-lite": "^1.0.30001774", "fraction.js": "^5.3.4", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": { "autoprefixer": "bin/autoprefixer" } }, "sha512-NP9APE+tO+LuJGn7/9+cohklunJsXWiaWEfV3si4Gi/XHDwVNgkwr1J3RQYFIvPy76GmJ9/bW8vyoU1LcxwKHA=="], + "autoprefixer": ["autoprefixer@10.6.0", "", { "dependencies": { "browserslist": "^4.28.9", "caniuse-lite": "^1.0.30001810", "fraction.js": "^5.3.4", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": { "autoprefixer": "bin/autoprefixer" } }, "sha512-A26d6qs9kqGgkmImIXMYvXTzqb4Qv7AVgpY1NXzr9Y659J8qHHnLOO/zE8ewIGFMprOolAoRAQYDgNryXIJKBw=="], "axios": ["axios@1.14.0", "", { "dependencies": { "follow-redirects": "^1.15.11", "form-data": "^4.0.5", "proxy-from-env": "^2.1.0" } }, "sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ=="], - "babel-loader": ["babel-loader@10.0.0", "", { "dependencies": { "find-up": "^5.0.0" }, "peerDependencies": { "@babel/core": "^7.12.0", "webpack": ">=5.61.0" } }, "sha512-z8jt+EdS61AMw22nSfoNJAZ0vrtmhPRVi6ghL3rCeRZI8cdNYFiV5xeV3HbE7rlZZNmGH8BVccwWt8/ED0QOHA=="], - - "babel-plugin-polyfill-corejs2": ["babel-plugin-polyfill-corejs2@0.4.17", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-define-polyfill-provider": "^0.6.8", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w=="], - - "babel-plugin-polyfill-corejs3": ["babel-plugin-polyfill-corejs3@0.13.0", "", { "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.5", "core-js-compat": "^3.43.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A=="], - - "babel-plugin-polyfill-regenerator": ["babel-plugin-polyfill-regenerator@0.6.8", "", { "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.8" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg=="], + "babel-loader": ["babel-loader@10.1.1", "", { "dependencies": { "find-up": "^5.0.0" }, "peerDependencies": { "@babel/core": "^7.12.0 || ^8.0.0-beta.1", "@rspack/core": "^1.0.0 || ^2.0.0-0", "webpack": ">=5.61.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-JwKSzk2kjIe7mgPK+/lyZ2QAaJcpahNAdM+hgR2HI8D0OJVkdj8Rl6J3kaLYki9pwF7P2iWnD8qVv80Lq1ABtg=="], - "balanced-match": ["balanced-match@4.0.4", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="], + "babel-plugin-polyfill-corejs3": ["babel-plugin-polyfill-corejs3@1.0.0", "", { "dependencies": { "@babel/helper-define-polyfill-provider": "^1.0.0", "core-js-compat": "^3.48.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0" } }, "sha512-yIkslVjbmml2Xjb6XhFW7lISXHsqk6cesxTdDsXoMom4Lnb99DbD3OQbSOoM5Z+ASh8YXYaLAsRQrU2Jeh3Qig=="], "baseline-browser-mapping": ["baseline-browser-mapping@2.10.12", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-qyq26DxfY4awP2gIRXhhLWfwzwI+N5Nxk6iQi8EFizIaWIjqicQTE4sLnZZVdeKPRcVNoJOkkpfzoIYuvCKaIQ=="], "batch": ["batch@0.6.1", "", {}, "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw=="], - "beasties": ["beasties@0.4.1", "", { "dependencies": { "css-select": "^6.0.0", "css-what": "^7.0.0", "dom-serializer": "^2.0.0", "domhandler": "^5.0.3", "htmlparser2": "^10.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.49", "postcss-media-query-parser": "^0.2.3", "postcss-safe-parser": "^7.0.1" } }, "sha512-2Imdcw3LznDuxAbJM26RHniOLAzE6WgrK8OuvVXCQtNBS8rsnD9zsSEa3fHl4hHpUY7BYTlrpvtPVbvu9G6neg=="], + "beasties": ["beasties@0.5.4", "", { "dependencies": { "css-select": "^7.0.0", "css-what": "^8.0.0", "dom-serializer": "^3.0.0", "domhandler": "^6.0.0", "htmlparser2": "^12.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.49", "postcss-media-query-parser": "^0.2.3", "postcss-safe-parser": "^7.0.1" } }, "sha512-8/lOOjT+PElYCnaUbmhgd3Uad5R1VTQ4Wg0k4rK8bX04m5WEqHNmnlLy3Q/lJ7dk25XA+72gayzc/skTfKKpcA=="], "big.js": ["big.js@5.2.2", "", {}, "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="], - "binary-extensions": ["binary-extensions@2.3.0", "", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="], - - "body-parser": ["body-parser@1.20.4", "", { "dependencies": { "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "~1.2.0", "http-errors": "~2.0.1", "iconv-lite": "~0.4.24", "on-finished": "~2.4.1", "qs": "~6.14.0", "raw-body": "~2.5.3", "type-is": "~1.6.18", "unpipe": "~1.0.0" } }, "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA=="], + "body-parser": ["body-parser@2.2.2", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", "debug": "^4.4.3", "http-errors": "^2.0.0", "iconv-lite": "^0.7.0", "on-finished": "^2.4.1", "qs": "^6.14.1", "raw-body": "^3.0.1", "type-is": "^2.0.1" } }, "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA=="], "bonjour-service": ["bonjour-service@1.3.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "multicast-dns": "^7.2.5" } }, "sha512-3YuAUiSkWykd+2Azjgyxei8OWf8thdn8AITIog2M4UICzoqfjlqr64WIjEXZllf/W6vK1goqleSR6brGomxQqA=="], - "boolbase": ["boolbase@1.0.0", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="], - - "brace-expansion": ["brace-expansion@5.0.5", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ=="], + "boolbase": ["boolbase@2.0.0", "", {}, "sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA=="], "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], @@ -972,15 +869,13 @@ "bytestreamjs": ["bytestreamjs@2.0.1", "", {}, "sha512-U1Z/ob71V/bXfVABvNr/Kumf5VyeQRBEm6Txb0PQ6S7V5GpBM3w4Cbqz/xPDicR5tN0uvDifng8C+5qECeGwyQ=="], - "cacache": ["cacache@20.0.4", "", { "dependencies": { "@npmcli/fs": "^5.0.0", "fs-minipass": "^3.0.0", "glob": "^13.0.0", "lru-cache": "^11.1.0", "minipass": "^7.0.3", "minipass-collect": "^2.0.1", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "p-map": "^7.0.2", "ssri": "^13.0.0" } }, "sha512-M3Lab8NPYlZU2exsL3bMVvMrMqgwCnMWfdZbK28bn3pK6APT/Te/I8hjRPNu1uwORY9a1eEQoifXbKPQMfMTOA=="], - "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="], "callsites": ["callsites@3.1.0", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="], - "caniuse-lite": ["caniuse-lite@1.0.30001782", "", {}, "sha512-dZcaJLJeDMh4rELYFw1tvSn1bhZWYFOt468FcbHHxx/Z/dFidd1I6ciyFdi3iwfQCyOjqo9upF6lGQYtMiJWxw=="], + "caniuse-lite": ["caniuse-lite@1.0.30001819", "", {}, "sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg=="], "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], @@ -988,15 +883,13 @@ "chokidar": ["chokidar@5.0.0", "", { "dependencies": { "readdirp": "^5.0.0" } }, "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw=="], - "chownr": ["chownr@3.0.0", "", {}, "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g=="], - "chrome-trace-event": ["chrome-trace-event@1.0.4", "", {}, "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ=="], "cli-cursor": ["cli-cursor@5.0.0", "", { "dependencies": { "restore-cursor": "^5.0.0" } }, "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw=="], "cli-spinners": ["cli-spinners@3.4.0", "", {}, "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw=="], - "cli-truncate": ["cli-truncate@5.2.0", "", { "dependencies": { "slice-ansi": "^8.0.0", "string-width": "^8.2.0" } }, "sha512-xRwvIOMGrfOAnM1JYtqQImuaNtDEv9v6oIYAs4LIHwTiKee8uwvIi363igssOC0O5U04i4AlENs79LQLu9tEMw=="], + "cli-truncate": ["cli-truncate@6.1.1", "", { "dependencies": { "slice-ansi": "^9.0.0", "string-width": "^8.2.0" } }, "sha512-06p9vyLahLa4zkGcgsGxU6iEkSOiuI4fhCH6Emhe2lPAcoUv73n72DnODsnHA+5wwXGnV0n9M9/qOQJSjYhFhw=="], "cli-width": ["cli-width@4.1.0", "", {}, "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ=="], @@ -1008,7 +901,7 @@ "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], - "colorette": ["colorette@2.0.20", "", {}, "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w=="], + "colorjs.io": ["colorjs.io@0.7.1", "", {}, "sha512-LY7OHnJZxHwT5UlzNa9bbhHHDbzB6yE5+3MIPwJEQKRvSCt/T4G7epsj+9j2BExUIIfXFIJGsIXUKdfrK9Q5tA=="], "combined-stream": ["combined-stream@1.0.8", "", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="], @@ -1022,7 +915,7 @@ "connect-history-api-fallback": ["connect-history-api-fallback@2.0.0", "", {}, "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA=="], - "content-disposition": ["content-disposition@0.5.4", "", { "dependencies": { "safe-buffer": "5.2.1" } }, "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ=="], + "content-disposition": ["content-disposition@1.0.1", "", {}, "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q=="], "content-type": ["content-type@1.0.5", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="], @@ -1030,35 +923,29 @@ "cookie": ["cookie@1.1.1", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="], - "cookie-signature": ["cookie-signature@1.0.7", "", {}, "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA=="], + "cookie-signature": ["cookie-signature@1.2.2", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="], - "copy-anything": ["copy-anything@2.0.6", "", { "dependencies": { "is-what": "^3.14.1" } }, "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw=="], + "copy-anything": ["copy-anything@3.0.5", "", { "dependencies": { "is-what": "^4.1.8" } }, "sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w=="], "copy-webpack-plugin": ["copy-webpack-plugin@14.0.0", "", { "dependencies": { "glob-parent": "^6.0.1", "normalize-path": "^3.0.0", "schema-utils": "^4.2.0", "serialize-javascript": "^7.0.3", "tinyglobby": "^0.2.12" }, "peerDependencies": { "webpack": "^5.1.0" } }, "sha512-3JLW90aBGeaTLpM7mYQKpnVdgsUZRExY55giiZgLuX/xTQRUs1dOCwbBnWnvY6Q6rfZoXMNwzOQJCSZPppfqXA=="], "core-js-compat": ["core-js-compat@3.49.0", "", { "dependencies": { "browserslist": "^4.28.1" } }, "sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA=="], - "core-util-is": ["core-util-is@1.0.3", "", {}, "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="], - - "cors": ["cors@2.8.6", "", { "dependencies": { "object-assign": "^4", "vary": "^1" } }, "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw=="], - "cosmiconfig": ["cosmiconfig@9.0.1", "", { "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", "parse-json": "^5.2.0" }, "peerDependencies": { "typescript": ">=4.9.5" }, "optionalPeers": ["typescript"] }, "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ=="], "create-require": ["create-require@1.1.1", "", {}, "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="], - "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], - - "css-loader": ["css-loader@7.1.3", "", { "dependencies": { "icss-utils": "^5.1.0", "postcss": "^8.4.40", "postcss-modules-extract-imports": "^3.1.0", "postcss-modules-local-by-default": "^4.0.5", "postcss-modules-scope": "^3.2.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", "semver": "^7.6.3" }, "peerDependencies": { "@rspack/core": "0.x || 1.x", "webpack": "^5.27.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-frbERmjT0UC5lMheWpJmMilnt9GEhbZJN/heUb7/zaJYeIzj5St9HvDcfshzzOqbsS+rYpMk++2SD3vGETDSyA=="], + "css-loader": ["css-loader@7.1.5", "", { "dependencies": { "icss-utils": "^5.1.0", "postcss": "^8.4.40", "postcss-modules-extract-imports": "^3.1.0", "postcss-modules-local-by-default": "^4.0.5", "postcss-modules-scope": "^3.2.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", "semver": "^7.6.3" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "webpack": "^5.27.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-Q7iAfQkU2twNBryKX/vGAlE+GAmkF7quhSzAGNK8fBimxk3+tqg245rH52UPb9dioBolBc8rP0ihmHBaDTJQBA=="], - "css-select": ["css-select@6.0.0", "", { "dependencies": { "boolbase": "^1.0.0", "css-what": "^7.0.0", "domhandler": "^5.0.3", "domutils": "^3.2.2", "nth-check": "^2.1.1" } }, "sha512-rZZVSLle8v0+EY8QAkDWrKhpgt6SA5OtHsgBnsj6ZaLb5dmDVOWUDtQitd9ydxxvEjhewNudS6eTVU7uOyzvXw=="], + "css-select": ["css-select@7.0.0", "", { "dependencies": { "boolbase": "^2.0.0", "css-what": "^8.0.0", "domhandler": "^6.0.1", "domutils": "^4.0.2", "nth-check": "^3.0.1" } }, "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g=="], - "css-what": ["css-what@7.0.0", "", {}, "sha512-wD5oz5xibMOPHzy13CyGmogB3phdvcDaB5t0W/Nr5Z2O/agcB8YwOz6e2Lsp10pNDzBoDO9nVa3RGs/2BttpHQ=="], + "css-what": ["css-what@8.0.0", "", {}, "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw=="], "cssesc": ["cssesc@3.0.0", "", { "bin": { "cssesc": "bin/cssesc" } }, "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="], "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], - "default-browser": ["default-browser@5.5.0", "", { "dependencies": { "bundle-name": "^4.1.0", "default-browser-id": "^5.0.0" } }, "sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw=="], + "default-browser": ["default-browser@5.5.1", "", { "dependencies": { "bundle-name": "^4.1.0", "default-browser-id": "^5.0.0" } }, "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw=="], "default-browser-id": ["default-browser-id@5.0.1", "", {}, "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q=="], @@ -1068,23 +955,19 @@ "depd": ["depd@2.0.0", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="], - "destroy": ["destroy@1.2.0", "", {}, "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg=="], - "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], - "detect-node": ["detect-node@2.1.0", "", {}, "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g=="], - "diff": ["diff@4.0.4", "", {}, "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ=="], "dns-packet": ["dns-packet@5.6.1", "", { "dependencies": { "@leichtgewicht/ip-codec": "^2.0.1" } }, "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw=="], - "dom-serializer": ["dom-serializer@2.0.0", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", "entities": "^4.2.0" } }, "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg=="], + "dom-serializer": ["dom-serializer@3.1.1", "", { "dependencies": { "domelementtype": "^3.0.0", "domhandler": "^6.0.0", "entities": "^8.0.0" } }, "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw=="], - "domelementtype": ["domelementtype@2.3.0", "", {}, "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw=="], + "domelementtype": ["domelementtype@3.0.0", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="], - "domhandler": ["domhandler@5.0.3", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="], + "domhandler": ["domhandler@6.0.1", "", { "dependencies": { "domelementtype": "^3.0.0" } }, "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg=="], - "domutils": ["domutils@3.2.2", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="], + "domutils": ["domutils@4.0.2", "", { "dependencies": { "dom-serializer": "^3.0.0", "domelementtype": "^3.0.0", "domhandler": "^6.0.0" } }, "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA=="], "dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="], @@ -1094,22 +977,22 @@ "elysia": ["elysia@1.4.29", "", { "dependencies": { "cookie": "^1.1.1", "exact-mirror": "^0.2.7", "fast-decode-uri-component": "^1.0.1", "memoirist": "^0.4.0" }, "peerDependencies": { "@sinclair/typebox": ">= 0.34.0 < 1", "@types/bun": ">= 1.2.0", "file-type": ">= 20.0.0", "openapi-types": ">= 12.0.0", "typescript": ">= 5.0.0" }, "optionalPeers": ["@types/bun", "typescript"] }, "sha512-GwMRGGwSdjfPt+w3LA0fqTuYJtS8uVRJicvoar98/HrO5qdFKDc9CwjIb6Kja+v39lkY+58hr2JvdR9jQzlUuA=="], - "emoji-regex": ["emoji-regex@10.6.0", "", {}, "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="], + "emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], "emojis-list": ["emojis-list@3.0.0", "", {}, "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="], + "empathic": ["empathic@2.1.0", "", {}, "sha512-AnfC1ATldl49/cvZdLPDjBfrRNwbDO05aibiOtzQu3qtlbJtomNLhF30HEtn/7iBz50dlMECqATo3fG0LrdEgw=="], + "encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="], - "enhanced-resolve": ["enhanced-resolve@5.20.1", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.0" } }, "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA=="], + "enhanced-resolve": ["enhanced-resolve@5.26.0", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw=="], - "entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="], + "entities": ["entities@8.1.0", "", {}, "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA=="], "env-paths": ["env-paths@2.2.1", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="], "environment": ["environment@1.1.0", "", {}, "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q=="], - "err-code": ["err-code@2.0.3", "", {}, "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA=="], - "errno": ["errno@0.1.8", "", { "dependencies": { "prr": "~1.0.1" }, "bin": { "errno": "cli.js" } }, "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A=="], "error-ex": ["error-ex@1.3.4", "", { "dependencies": { "is-arrayish": "^0.2.1" } }, "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ=="], @@ -1118,53 +1001,41 @@ "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], - "es-module-lexer": ["es-module-lexer@2.0.0", "", {}, "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw=="], + "es-module-lexer": ["es-module-lexer@2.3.2", "", {}, "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw=="], "es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="], "es-set-tostringtag": ["es-set-tostringtag@2.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="], - "esbuild": ["esbuild@0.27.3", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.3", "@esbuild/android-arm": "0.27.3", "@esbuild/android-arm64": "0.27.3", "@esbuild/android-x64": "0.27.3", "@esbuild/darwin-arm64": "0.27.3", "@esbuild/darwin-x64": "0.27.3", "@esbuild/freebsd-arm64": "0.27.3", "@esbuild/freebsd-x64": "0.27.3", "@esbuild/linux-arm": "0.27.3", "@esbuild/linux-arm64": "0.27.3", "@esbuild/linux-ia32": "0.27.3", "@esbuild/linux-loong64": "0.27.3", "@esbuild/linux-mips64el": "0.27.3", "@esbuild/linux-ppc64": "0.27.3", "@esbuild/linux-riscv64": "0.27.3", "@esbuild/linux-s390x": "0.27.3", "@esbuild/linux-x64": "0.27.3", "@esbuild/netbsd-arm64": "0.27.3", "@esbuild/netbsd-x64": "0.27.3", "@esbuild/openbsd-arm64": "0.27.3", "@esbuild/openbsd-x64": "0.27.3", "@esbuild/openharmony-arm64": "0.27.3", "@esbuild/sunos-x64": "0.27.3", "@esbuild/win32-arm64": "0.27.3", "@esbuild/win32-ia32": "0.27.3", "@esbuild/win32-x64": "0.27.3" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg=="], + "esbuild": ["esbuild@0.28.2", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.2", "@esbuild/android-arm": "0.28.2", "@esbuild/android-arm64": "0.28.2", "@esbuild/android-x64": "0.28.2", "@esbuild/darwin-arm64": "0.28.2", "@esbuild/darwin-x64": "0.28.2", "@esbuild/freebsd-arm64": "0.28.2", "@esbuild/freebsd-x64": "0.28.2", "@esbuild/linux-arm": "0.28.2", "@esbuild/linux-arm64": "0.28.2", "@esbuild/linux-ia32": "0.28.2", "@esbuild/linux-loong64": "0.28.2", "@esbuild/linux-mips64el": "0.28.2", "@esbuild/linux-ppc64": "0.28.2", "@esbuild/linux-riscv64": "0.28.2", "@esbuild/linux-s390x": "0.28.2", "@esbuild/linux-x64": "0.28.2", "@esbuild/netbsd-arm64": "0.28.2", "@esbuild/netbsd-x64": "0.28.2", "@esbuild/openbsd-arm64": "0.28.2", "@esbuild/openbsd-x64": "0.28.2", "@esbuild/openharmony-arm64": "0.28.2", "@esbuild/sunos-x64": "0.28.2", "@esbuild/win32-arm64": "0.28.2", "@esbuild/win32-ia32": "0.28.2", "@esbuild/win32-x64": "0.28.2" }, "hasInstallScript": true, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA=="], - "esbuild-wasm": ["esbuild-wasm@0.27.3", "", { "bin": { "esbuild": "bin/esbuild" } }, "sha512-AUXuOxZ145/5Az+lIqk6TdJbxKTyDGkXMJpTExmBdbnHR6n6qAFx+F4oG9ORpVYJ9dQYeQAqzv51TO4DFKsbXw=="], + "esbuild-wasm": ["esbuild-wasm@0.28.2", "", { "bin": { "esbuild": "bin/esbuild" } }, "sha512-GccVwhv3mmOUVQHCQm2Ox/rby8n/EqUwvZxE6Pjfikrq/lWw9g9WX/u9EykWnpot3Ko6j426DgQdea2xWKIAQA=="], "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], "escape-html": ["escape-html@1.0.3", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="], - "eslint-scope": ["eslint-scope@5.1.1", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" } }, "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw=="], - - "esrecurse": ["esrecurse@4.3.0", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="], - - "estraverse": ["estraverse@4.3.0", "", {}, "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=="], - "esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], "etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="], - "eventemitter3": ["eventemitter3@5.0.4", "", {}, "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw=="], - "events": ["events@3.3.0", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="], - "eventsource": ["eventsource@3.0.7", "", { "dependencies": { "eventsource-parser": "^3.0.1" } }, "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA=="], - - "eventsource-parser": ["eventsource-parser@3.0.6", "", {}, "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg=="], - "exact-mirror": ["exact-mirror@0.2.7", "", { "peerDependencies": { "@sinclair/typebox": "^0.34.15" }, "optionalPeers": ["@sinclair/typebox"] }, "sha512-+MeEmDcLA4o/vjK2zujgk+1VTxPR4hdp23qLqkWfStbECtAq9gmsvQa3LW6z/0GXZyHJobrCnmy1cdeE7BjsYg=="], - "exponential-backoff": ["exponential-backoff@3.1.3", "", {}, "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA=="], - - "express": ["express@4.22.1", "", { "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "~1.20.3", "content-disposition": "~0.5.4", "content-type": "~1.0.4", "cookie": "~0.7.1", "cookie-signature": "~1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", "finalhandler": "~1.3.1", "fresh": "~0.5.2", "http-errors": "~2.0.0", "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "~2.4.1", "parseurl": "~1.3.3", "path-to-regexp": "~0.1.12", "proxy-addr": "~2.0.7", "qs": "~6.14.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", "send": "~0.19.0", "serve-static": "~1.16.2", "setprototypeof": "1.2.0", "statuses": "~2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" } }, "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g=="], - - "express-rate-limit": ["express-rate-limit@8.3.2", "", { "dependencies": { "ip-address": "10.1.0" }, "peerDependencies": { "express": ">= 4.11" } }, "sha512-77VmFeJkO0/rvimEDuUC5H30oqUC4EyOhyGccfqoLebB0oiEYfM7nwPrsDsBL1gsTpwfzX8SFy2MT3TDyRq+bg=="], + "express": ["express@5.2.1", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw=="], "fast-decode-uri-component": ["fast-decode-uri-component@1.0.1", "", {}, "sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg=="], "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], + "fast-string-truncated-width": ["fast-string-truncated-width@3.0.3", "", {}, "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g=="], + + "fast-string-width": ["fast-string-width@3.0.2", "", { "dependencies": { "fast-string-truncated-width": "^3.0.2" } }, "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg=="], + "fast-uri": ["fast-uri@3.1.0", "", {}, "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA=="], - "faye-websocket": ["faye-websocket@0.11.4", "", { "dependencies": { "websocket-driver": ">=0.5.1" } }, "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g=="], + "fast-wrap-ansi": ["fast-wrap-ansi@0.2.2", "", { "dependencies": { "fast-string-width": "^3.0.2" } }, "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q=="], "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], @@ -1172,12 +1043,14 @@ "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], - "finalhandler": ["finalhandler@1.3.2", "", { "dependencies": { "debug": "2.6.9", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "~2.4.1", "parseurl": "~1.3.3", "statuses": "~2.0.2", "unpipe": "~1.0.0" } }, "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg=="], + "finalhandler": ["finalhandler@2.1.1", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="], "find-up": ["find-up@5.0.0", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="], "flat": ["flat@5.0.2", "", { "bin": { "flat": "cli.js" } }, "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ=="], + "flru": ["flru@1.0.2", "", {}, "sha512-kWyh8ADvHBFz6ua5xYOPnUroZTT/bwWfrCeL0Wj1dzG4/YOmOcfJ99W8dOVyyynJN35rZ9aCOtHChqQovV7yog=="], + "follow-redirects": ["follow-redirects@1.15.11", "", {}, "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ=="], "form-data": ["form-data@4.0.5", "", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", "hasown": "^2.0.2", "mime-types": "^2.1.12" } }, "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w=="], @@ -1186,9 +1059,7 @@ "fraction.js": ["fraction.js@5.3.4", "", {}, "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ=="], - "fresh": ["fresh@0.5.2", "", {}, "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q=="], - - "fs-minipass": ["fs-minipass@3.0.3", "", { "dependencies": { "minipass": "^7.0.3" } }, "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw=="], + "fresh": ["fresh@2.0.0", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="], "fscreen": ["fscreen@1.2.0", "", {}, "sha512-hlq4+BU0hlPmwsFjwGGzZ+OZ9N/wq9Ljg/sq3pX+2CD7hrJsX9tJgWWK/wiNTFM212CLHWhicOoqwXyZGGetJg=="], @@ -1206,20 +1077,14 @@ "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], - "glob": ["glob@13.0.6", "", { "dependencies": { "minimatch": "^10.2.2", "minipass": "^7.1.3", "path-scurry": "^2.0.2" } }, "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw=="], - "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], - "glob-to-regex.js": ["glob-to-regex.js@1.2.0", "", { "peerDependencies": { "tslib": "2" } }, "sha512-QMwlOQKU/IzqMUOAZWubUOT8Qft+Y0KQWnX9nK3ch0CJg0tTp4TvGZsTfudYKv2NzoQSyPcnA6TYeIQ3jGichQ=="], - - "glob-to-regexp": ["glob-to-regexp@0.4.1", "", {}, "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="], + "glob-to-regex.js": ["glob-to-regex.js@1.3.1", "", { "peerDependencies": { "tslib": "2" } }, "sha512-zhWhMRsgnOym+1txhUmYJGD6eUsbUdrZv55gCYKuJX8t2p3+M8My23PD09bEIsreGUs5pnSa/idmcfp2/IlqGg=="], "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="], "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], - "handle-thing": ["handle-thing@2.0.1", "", {}, "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg=="], - "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], @@ -1228,29 +1093,17 @@ "hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="], - "hono": ["hono@4.12.9", "", {}, "sha512-wy3T8Zm2bsEvxKZM5w21VdHDDcwVS1yUFFY6i8UobSsKfFceT7TOwhbhfKsDyx7tYQlmRM5FLpIuYvNFyjctiA=="], - - "hosted-git-info": ["hosted-git-info@9.0.2", "", { "dependencies": { "lru-cache": "^11.1.0" } }, "sha512-M422h7o/BR3rmCQ8UHi7cyyMqKltdP9Uo+J2fXK+RSAY+wTcKOIRyhTuKv4qn+DJf3g+PL890AzId5KZpX+CBg=="], - - "hpack.js": ["hpack.js@2.1.6", "", { "dependencies": { "inherits": "^2.0.1", "obuf": "^1.0.0", "readable-stream": "^2.0.1", "wbuf": "^1.1.0" } }, "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ=="], - - "htmlparser2": ["htmlparser2@10.1.0", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.2.2", "entities": "^7.0.1" } }, "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ=="], - - "http-cache-semantics": ["http-cache-semantics@4.2.0", "", {}, "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ=="], + "hosted-git-info": ["hosted-git-info@10.1.1", "", { "dependencies": { "lru-cache": "^11.1.0" } }, "sha512-DeOnSPAvOndYKfw075gt8yZzQ7S2hNztw34zBTfhIzLhmBTswIBg5/y+pqu/VD5cYWm5goAFTusDmUEmKZ0PEQ=="], - "http-deceiver": ["http-deceiver@1.2.7", "", {}, "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw=="], + "htmlparser2": ["htmlparser2@12.0.0", "", { "dependencies": { "domelementtype": "^3.0.0", "domhandler": "^6.0.0", "domutils": "^4.0.2", "entities": "^8.0.0" } }, "sha512-Tz7u1i95/g2x2jz81+x0FBVhBhY5aRTvD3tXXdFaljuNdzDLJ8UGNRrTcj2cgQvAg3iW/h77Fz15nLW0L0CrZw=="], "http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="], - "http-parser-js": ["http-parser-js@0.5.10", "", {}, "sha512-Pysuw9XpUq5dVc/2SMHpuTY01RFl8fttgcyunjL7eEMhGM3cI4eOmiCycJDVCo/7O7ClfQD3SaI6ftDzqOXYMA=="], + "http-proxy-middleware": ["http-proxy-middleware@4.2.0", "", { "dependencies": { "debug": "^4.4.3", "httpxy": "^0.5.4", "is-glob": "^4.0.3", "is-plain-obj": "^4.1.0", "micromatch": "^4.0.8" } }, "sha512-ZA+oNOoM+GLoFTIzhkJptVQov73Srep2LBqhF8hG8CIPKO3nam1jonXVQ/QUH8RbwsmaaVz2SOJdzBNBHNtKbw=="], - "http-proxy": ["http-proxy@1.18.1", "", { "dependencies": { "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", "requires-port": "^1.0.0" } }, "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ=="], + "https-proxy-agent": ["https-proxy-agent@9.1.0", "", { "dependencies": { "agent-base": "9.0.0", "debug": "^4.3.4", "proxy-agent-negotiate": "1.1.0" } }, "sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA=="], - "http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="], - - "http-proxy-middleware": ["http-proxy-middleware@3.0.5", "", { "dependencies": { "@types/http-proxy": "^1.17.15", "debug": "^4.3.6", "http-proxy": "^1.18.1", "is-glob": "^4.0.3", "is-plain-object": "^5.0.0", "micromatch": "^4.0.8" } }, "sha512-GLZZm1X38BPY4lkXA01jhwxvDoOkkXqjgVyUzVxiEK4iuRu03PZoYHhHRwxnfhQMDuaxi3vVri0YgSro/1oWqg=="], - - "https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="], + "httpxy": ["httpxy@0.5.6", "", {}, "sha512-iqc3nOxvNb5FxbhJozt8wNmHgjlmk4zzba512jMEXVwHCEBCbGAj49eGfy5PI8ts3/LFSFq8siiSNqwfY1AlfQ=="], "hyperdyperid": ["hyperdyperid@1.2.0", "", {}, "sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A=="], @@ -1262,28 +1115,18 @@ "ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="], - "ignore-walk": ["ignore-walk@8.0.0", "", { "dependencies": { "minimatch": "^10.0.3" } }, "sha512-FCeMZT4NiRQGh+YkeKMtWrOmBgWjHjMJ26WQWrRQyoyzqevdaGSakUaJW5xQYmjLlUVk2qUnCjYVBax9EKKg8A=="], - - "image-size": ["image-size@0.5.5", "", { "bin": { "image-size": "bin/image-size.js" } }, "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ=="], - "immutable": ["immutable@5.1.5", "", {}, "sha512-t7xcm2siw+hlUM68I+UEOK+z84RzmN59as9DZ7P1l0994DKUWV7UXBMQZVxaoMSRQ+PBZbHCOoBt7a2wxOMt+A=="], "import-fresh": ["import-fresh@3.3.1", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="], - "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="], - - "ini": ["ini@6.0.0", "", {}, "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ=="], + "import-meta-resolve": ["import-meta-resolve@4.2.0", "", {}, "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg=="], - "ip-address": ["ip-address@10.1.0", "", {}, "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q=="], + "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="], "ipaddr.js": ["ipaddr.js@2.3.0", "", {}, "sha512-Zv/pA+ciVFbCSBBjGfaKUya/CcGmUHzTydLMaTwrUUEM2DIEO3iZvueGxmacvmN50fGpGVKeTXpb2LcYQxeVdg=="], "is-arrayish": ["is-arrayish@0.2.1", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="], - "is-binary-path": ["is-binary-path@2.1.0", "", { "dependencies": { "binary-extensions": "^2.0.0" } }, "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw=="], - - "is-core-module": ["is-core-module@2.16.1", "", { "dependencies": { "hasown": "^2.0.2" } }, "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w=="], - "is-docker": ["is-docker@3.0.0", "", { "bin": { "is-docker": "cli.js" } }, "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ=="], "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="], @@ -1302,22 +1145,18 @@ "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="], - "is-plain-obj": ["is-plain-obj@3.0.0", "", {}, "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA=="], + "is-plain-obj": ["is-plain-obj@4.1.0", "", {}, "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="], - "is-plain-object": ["is-plain-object@5.0.0", "", {}, "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="], + "is-plain-object": ["is-plain-object@2.0.4", "", { "dependencies": { "isobject": "^3.0.1" } }, "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og=="], "is-promise": ["is-promise@4.0.0", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="], "is-unicode-supported": ["is-unicode-supported@2.1.0", "", {}, "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ=="], - "is-what": ["is-what@3.14.1", "", {}, "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA=="], + "is-what": ["is-what@4.1.16", "", {}, "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A=="], "is-wsl": ["is-wsl@3.1.1", "", { "dependencies": { "is-inside-container": "^1.0.0" } }, "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw=="], - "isarray": ["isarray@1.0.0", "", {}, "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="], - - "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], - "isobject": ["isobject@3.0.1", "", {}, "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg=="], "istanbul-lib-coverage": ["istanbul-lib-coverage@3.2.2", "", {}, "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg=="], @@ -1330,9 +1169,7 @@ "joi": ["joi@18.1.2", "", { "dependencies": { "@hapi/address": "^5.1.1", "@hapi/formula": "^3.0.2", "@hapi/hoek": "^11.0.7", "@hapi/pinpoint": "^2.0.1", "@hapi/tlds": "^1.1.1", "@hapi/topo": "^6.0.2", "@standard-schema/spec": "^1.1.0" } }, "sha512-rF5MAmps5esSlhCA+N1b6IYHDw9j/btzGaqfgie522jS02Ju/HXBxamlXVlKEHAxoMKQL77HWI8jlqWsFuekZA=="], - "jose": ["jose@6.2.2", "", {}, "sha512-d7kPDd34KO/YnzaDOlikGpOurfF0ByC2sEV4cANCtdqLlTfBlw2p14O/5d/zv40gJPbIQxfES3nSx1/oYNyuZQ=="], - - "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], + "js-tokens": ["js-tokens@10.0.0", "", {}, "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q=="], "js-yaml": ["js-yaml@4.1.1", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="], @@ -1342,33 +1179,51 @@ "json-schema-traverse": ["json-schema-traverse@1.0.0", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="], - "json-schema-typed": ["json-schema-typed@8.0.2", "", {}, "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA=="], - "json5": ["json5@2.2.3", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="], "jsonc-parser": ["jsonc-parser@3.3.1", "", {}, "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ=="], - "jsonparse": ["jsonparse@1.3.1", "", {}, "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg=="], - "karma-source-map-support": ["karma-source-map-support@1.4.0", "", { "dependencies": { "source-map-support": "^0.5.5" } }, "sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A=="], "kind-of": ["kind-of@6.0.3", "", {}, "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="], - "launch-editor": ["launch-editor@2.13.2", "", { "dependencies": { "picocolors": "^1.1.1", "shell-quote": "^1.8.3" } }, "sha512-4VVDnbOpLXy/s8rdRCSXb+zfMeFR0WlJWpET1iA9CQdlZDfwyLjUuGQzXU4VeOoey6AicSAluWan7Etga6Kcmg=="], + "launch-editor": ["launch-editor@2.14.2", "", { "dependencies": { "picocolors": "^1.1.1", "shell-quote": "^1.10.0" } }, "sha512-NHJEb30MGBCkmZXLZwz25t37QR4aY03ZzPYUJXOJaOa92uWwExI9SBQUuIznBYc1xkD7cJNGX7oc3Nl3sq2kQQ=="], - "less": ["less@4.4.2", "", { "dependencies": { "copy-anything": "^2.0.1", "parse-node-version": "^1.0.1", "tslib": "^2.3.0" }, "optionalDependencies": { "errno": "^0.1.1", "graceful-fs": "^4.1.2", "image-size": "~0.5.0", "make-dir": "^2.1.0", "mime": "^1.4.1", "needle": "^3.1.0", "source-map": "~0.6.0" }, "bin": { "lessc": "bin/lessc" } }, "sha512-j1n1IuTX1VQjIy3tT7cyGbX7nvQOsFLoIqobZv4ttI5axP923gA44zUj6miiA6R5Aoms4sEGVIIcucXUbRI14g=="], + "less": ["less@4.9.1", "", { "dependencies": { "copy-anything": "^3.0.5", "parse-node-version": "^1.0.1" }, "optionalDependencies": { "errno": "^0.1.1", "graceful-fs": "^4.1.2", "make-dir": "^5.1.0", "mime": "^1.4.1", "needle": "^3.1.0", "probe-image-size": "^7.2.3", "source-map": "~0.6.0" }, "bin": { "lessc": "bin/lessc" } }, "sha512-orp15PfJvvNDIqJdVWzMI9Sjpjp3VTiw3sfvbB+67LlISTEn8uVT2EdYSuyl02BLvaftv6sdk9Umnxmm5rckmg=="], - "less-loader": ["less-loader@12.3.1", "", { "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "less": "^3.5.0 || ^4.0.0", "webpack": "^5.0.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-JZZmG7gMzoDP3VGeEG8Sh6FW5wygB5jYL7Wp29FFihuRTsIBacqO3LbRPr2yStYD11riVf13selLm/CPFRDBRQ=="], + "less-loader": ["less-loader@13.0.0", "", { "dependencies": { "@types/less": "^3.0.8" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "less": "^3.5.0 || ^4.0.0", "webpack": "^5.0.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-TIa8d6znKH634Mg+7OU3jevZT6KeOhh0amW+YeMPD0GM9buUn5Y7HvtyCR5pUDdLaFfqLA8AX5PTSIHMNSexEA=="], "license-webpack-plugin": ["license-webpack-plugin@4.0.2", "", { "dependencies": { "webpack-sources": "^3.0.0" } }, "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw=="], - "lines-and-columns": ["lines-and-columns@1.2.4", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="], + "lightningcss": ["lightningcss@1.33.0", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.33.0", "lightningcss-darwin-arm64": "1.33.0", "lightningcss-darwin-x64": "1.33.0", "lightningcss-freebsd-x64": "1.33.0", "lightningcss-linux-arm-gnueabihf": "1.33.0", "lightningcss-linux-arm64-gnu": "1.33.0", "lightningcss-linux-arm64-musl": "1.33.0", "lightningcss-linux-x64-gnu": "1.33.0", "lightningcss-linux-x64-musl": "1.33.0", "lightningcss-win32-arm64-msvc": "1.33.0", "lightningcss-win32-x64-msvc": "1.33.0" } }, "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA=="], + + "lightningcss-android-arm64": ["lightningcss-android-arm64@1.33.0", "", { "os": "android", "cpu": "arm64" }, "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg=="], - "listr2": ["listr2@9.0.5", "", { "dependencies": { "cli-truncate": "^5.0.0", "colorette": "^2.0.20", "eventemitter3": "^5.0.1", "log-update": "^6.1.0", "rfdc": "^1.4.1", "wrap-ansi": "^9.0.0" } }, "sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g=="], + "lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.33.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg=="], - "lmdb": ["lmdb@3.5.1", "", { "dependencies": { "@harperfast/extended-iterable": "^1.0.3", "msgpackr": "^1.11.2", "node-addon-api": "^6.1.0", "node-gyp-build-optional-packages": "5.2.2", "ordered-binary": "^1.5.3", "weak-lru-cache": "^1.2.2" }, "optionalDependencies": { "@lmdb/lmdb-darwin-arm64": "3.5.1", "@lmdb/lmdb-darwin-x64": "3.5.1", "@lmdb/lmdb-linux-arm": "3.5.1", "@lmdb/lmdb-linux-arm64": "3.5.1", "@lmdb/lmdb-linux-x64": "3.5.1", "@lmdb/lmdb-win32-arm64": "3.5.1", "@lmdb/lmdb-win32-x64": "3.5.1" }, "bin": { "download-lmdb-prebuilds": "bin/download-prebuilds.js" } }, "sha512-NYHA0MRPjvNX+vSw8Xxg6FLKxzAG+e7Pt8RqAQA/EehzHVXq9SxDqJIN3JL1hK0dweb884y8kIh6rkWvPyg9Wg=="], + "lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.33.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ=="], - "loader-runner": ["loader-runner@4.3.1", "", {}, "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q=="], + "lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.33.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg=="], + + "lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.33.0", "", { "os": "linux", "cpu": "arm" }, "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ=="], + + "lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.33.0", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg=="], + + "lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.33.0", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ=="], + + "lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.33.0", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg=="], + + "lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.33.0", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw=="], + + "lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.33.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA=="], + + "lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.33.0", "", { "os": "win32", "cpu": "x64" }, "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA=="], + + "lines-and-columns": ["lines-and-columns@1.2.4", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="], + + "listr2": ["listr2@11.1.0", "", { "dependencies": { "cli-truncate": "^6.1.1", "log-update": "^8.0.0", "wrap-ansi": "^10.0.1" } }, "sha512-xsuczF6mWkEo/E80QHaEokQzKmTy7m80KcLRnkUt9wrcePres2w7dbQi5zOsWtDUg8Dac4gPFyu4EJ/IvKwTOg=="], + + "lmdb": ["lmdb@3.5.6", "", { "dependencies": { "@harperfast/extended-iterable": "^1.0.3", "msgpackr": "^1.11.2", "node-addon-api": "^6.1.0", "node-gyp-build-optional-packages": "5.2.2", "ordered-binary": "^1.5.3", "weak-lru-cache": "^1.2.2" }, "optionalDependencies": { "@lmdb/lmdb-darwin-arm64": "3.5.6", "@lmdb/lmdb-darwin-x64": "3.5.6", "@lmdb/lmdb-linux-arm": "3.5.6", "@lmdb/lmdb-linux-arm64": "3.5.6", "@lmdb/lmdb-linux-x64": "3.5.6", "@lmdb/lmdb-win32-arm64": "3.5.6", "@lmdb/lmdb-win32-x64": "3.5.6" }, "hasInstallScript": true, "bin": { "download-lmdb-prebuilds": "bin/download-prebuilds.js" } }, "sha512-j3uE8ReKNyUWDjhfEFSJqE/1DLtfTR5Z8yFzVHvBjAk37wNg7HdScjcv8ttPHRvrdgPQMPWxFFI0SsdBzI5lBw=="], "loader-utils": ["loader-utils@3.3.1", "", {}, "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg=="], @@ -1378,65 +1233,47 @@ "lodash.debounce": ["lodash.debounce@4.0.8", "", {}, "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="], + "lodash.merge": ["lodash.merge@4.6.2", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="], + "log-symbols": ["log-symbols@7.0.1", "", { "dependencies": { "is-unicode-supported": "^2.0.0", "yoctocolors": "^2.1.1" } }, "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg=="], - "log-update": ["log-update@6.1.0", "", { "dependencies": { "ansi-escapes": "^7.0.0", "cli-cursor": "^5.0.0", "slice-ansi": "^7.1.0", "strip-ansi": "^7.1.0", "wrap-ansi": "^9.0.0" } }, "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w=="], + "log-update": ["log-update@8.0.0", "", { "dependencies": { "ansi-escapes": "^7.3.0", "cli-cursor": "^5.0.0", "slice-ansi": "^9.0.0", "string-width": "^8.2.0", "strip-ansi": "^7.2.0", "wrap-ansi": "^10.0.0" } }, "sha512-lddSgOt3bPASrylL54ZSpy8nBHns+vBVSoILlVOx+dei300pnLRN958rj/EdlVLKuWlSESU3qdnDZdAI7FXYGg=="], - "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], + "lru-cache": ["lru-cache@11.2.7", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="], - "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], + "magic-string": ["magic-string@1.4.1", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0" } }, "sha512-8lyCu36ErXR0J9uaGKlKQoiLZKmtI63YGLE8G2o9jyRPdr4X47LusSOwgOJOzcVtp81fTAAjxR7BwKz682Jhow=="], - "make-dir": ["make-dir@2.1.0", "", { "dependencies": { "pify": "^4.0.1", "semver": "^5.6.0" } }, "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA=="], + "make-dir": ["make-dir@5.1.0", "", {}, "sha512-IfpFq6UM39dUNiphpA6uDezNx/AvWyhwfICWPR3t1VspkgkMZrL+Rk1RbN1bx+aeNYwOrqGJgEgV3yotk+ZUVw=="], "make-error": ["make-error@1.3.6", "", {}, "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="], - "make-fetch-happen": ["make-fetch-happen@15.0.5", "", { "dependencies": { "@gar/promise-retry": "^1.0.0", "@npmcli/agent": "^4.0.0", "@npmcli/redact": "^4.0.0", "cacache": "^20.0.1", "http-cache-semantics": "^4.1.1", "minipass": "^7.0.2", "minipass-fetch": "^5.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^1.0.0", "proc-log": "^6.0.0", "ssri": "^13.0.0" } }, "sha512-uCbIa8jWWmQZt4dSnEStkVC6gdakiinAm4PiGsywIkguF0eWMdcjDz0ECYhUolFU3pFLOev9VNPCEygydXnddg=="], - "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], - "media-typer": ["media-typer@0.3.0", "", {}, "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ=="], + "media-typer": ["media-typer@1.1.0", "", {}, "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw=="], - "memfs": ["memfs@4.57.1", "", { "dependencies": { "@jsonjoy.com/fs-core": "4.57.1", "@jsonjoy.com/fs-fsa": "4.57.1", "@jsonjoy.com/fs-node": "4.57.1", "@jsonjoy.com/fs-node-builtins": "4.57.1", "@jsonjoy.com/fs-node-to-fsa": "4.57.1", "@jsonjoy.com/fs-node-utils": "4.57.1", "@jsonjoy.com/fs-print": "4.57.1", "@jsonjoy.com/fs-snapshot": "4.57.1", "@jsonjoy.com/json-pack": "^1.11.0", "@jsonjoy.com/util": "^1.9.0", "glob-to-regex.js": "^1.0.1", "thingies": "^2.5.0", "tree-dump": "^1.0.3", "tslib": "^2.0.0" } }, "sha512-WvzrWPwMQT+PtbX2Et64R4qXKK0fj/8pO85MrUCzymX3twwCiJCdvntW3HdhG1teLJcHDDLIKx5+c3HckWYZtQ=="], + "memfs": ["memfs@4.80.0", "", { "dependencies": { "@jsonjoy.com/fs-core": "4.80.0", "@jsonjoy.com/fs-fsa": "4.80.0", "@jsonjoy.com/fs-node": "4.80.0", "@jsonjoy.com/fs-node-builtins": "4.80.0", "@jsonjoy.com/fs-node-to-fsa": "4.80.0", "@jsonjoy.com/fs-node-utils": "4.80.0", "@jsonjoy.com/fs-print": "4.80.0", "@jsonjoy.com/fs-snapshot": "4.80.0", "@jsonjoy.com/json-pack": "^1.11.0", "@jsonjoy.com/util": "^1.9.0", "glob-to-regex.js": "^1.3.1", "thingies": "^2.5.0", "tree-dump": "^1.0.3", "tslib": "^2.0.0" } }, "sha512-N70W2isi44XdGn7uPo9NJ4zRukcdkwSFHlnYx42SWOH/+hzqNc8P7+tVoA2up4z7faHvNi1RSNCFjxoYQ71VPQ=="], "memoirist": ["memoirist@0.4.0", "", {}, "sha512-zxTgA0mSYELa66DimuNQDvyLq36AwDlTuVRbnQtB+VuTcKWm5Qc4z3WkSpgsFWHNhexqkIooqpv4hdcqrX5Nmg=="], - "merge-descriptors": ["merge-descriptors@1.0.3", "", {}, "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ=="], + "merge-descriptors": ["merge-descriptors@2.0.0", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="], "merge-stream": ["merge-stream@2.0.0", "", {}, "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="], - "methods": ["methods@1.1.2", "", {}, "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w=="], - "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="], "mime": ["mime@1.6.0", "", { "bin": { "mime": "cli.js" } }, "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="], - "mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], + "mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], - "mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], + "mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="], "mimic-function": ["mimic-function@5.0.1", "", {}, "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA=="], - "mini-css-extract-plugin": ["mini-css-extract-plugin@2.10.0", "", { "dependencies": { "schema-utils": "^4.0.0", "tapable": "^2.2.1" }, "peerDependencies": { "webpack": "^5.0.0" } }, "sha512-540P2c5dYnJlyJxTaSloliZexv8rji6rY8FhQN+WF/82iHQfA23j/xtJx97L+mXOML27EqksSek/g4eK7jaL3g=="], - - "minimalistic-assert": ["minimalistic-assert@1.0.1", "", {}, "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="], - - "minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], + "mini-css-extract-plugin": ["mini-css-extract-plugin@2.10.2", "", { "dependencies": { "schema-utils": "^4.0.0", "tapable": "^2.2.1" }, "peerDependencies": { "webpack": "^5.0.0" } }, "sha512-AOSS0IdEB95ayVkxn5oGzNQwqAi2J0Jb/kKm43t7H73s8+f5873g0yuj0PNvK4dO75mu5DHg4nlgp4k6Kga8eg=="], "minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="], - "minipass": ["minipass@7.1.3", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="], - - "minipass-collect": ["minipass-collect@2.0.1", "", { "dependencies": { "minipass": "^7.0.3" } }, "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw=="], - - "minipass-fetch": ["minipass-fetch@5.0.2", "", { "dependencies": { "minipass": "^7.0.3", "minipass-sized": "^2.0.0", "minizlib": "^3.0.1" }, "optionalDependencies": { "iconv-lite": "^0.7.2" } }, "sha512-2d0q2a8eCi2IRg/IGubCNRJoYbA1+YPXAzQVRFmB45gdGZafyivnZ5YSEfo3JikbjGxOdntGFvBQGqaSMXlAFQ=="], - - "minipass-flush": ["minipass-flush@1.0.7", "", { "dependencies": { "minipass": "^3.0.0" } }, "sha512-TbqTz9cUwWyHS2Dy89P3ocAGUGxKjjLuR9z8w4WUTGAVgEj17/4nhgo2Du56i0Fm3Pm30g4iA8Lcqctc76jCzA=="], - - "minipass-pipeline": ["minipass-pipeline@1.2.4", "", { "dependencies": { "minipass": "^3.0.0" } }, "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A=="], - - "minipass-sized": ["minipass-sized@2.0.0", "", { "dependencies": { "minipass": "^7.1.2" } }, "sha512-zSsHhto5BcUVM2m1LurnXY6M//cGhVaegT71OfOXoprxT6o780GZd792ea6FfrQkuU4usHZIUczAQMRUE2plzA=="], - - "minizlib": ["minizlib@3.1.0", "", { "dependencies": { "minipass": "^7.1.2" } }, "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw=="], + "minimizer-webpack-plugin": ["minimizer-webpack-plugin@5.13.1", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.31", "jest-worker": "^27.4.5", "schema-utils": "^4.6.0", "terser": "^5.51.0" }, "peerDependencies": { "@minify-html/node": "*", "@napi-rs/image": "*", "@swc/core": "*", "@swc/css": "*", "@swc/html": "*", "clean-css": "*", "cssnano": "*", "csso": "*", "esbuild": "*", "html-minifier-terser": "*", "imagemin": "*", "lightningcss": "*", "postcss": "*", "sharp": "*", "svgo": "*", "uglify-js": "*", "webpack": "^5.1.0" }, "optionalPeers": ["@minify-html/node", "@napi-rs/image", "@swc/core", "@swc/css", "@swc/html", "clean-css", "cssnano", "csso", "esbuild", "html-minifier-terser", "imagemin", "lightningcss", "postcss", "sharp", "svgo", "uglify-js"] }, "sha512-1mhAfvachWYYOm8tpmany5NLuvP+F2wxZWBSX8DC0uFS2wJpM9q3rWgN9wBooAH9d5V12wX0BjyJe4fMjHMarQ=="], "mrmime": ["mrmime@2.0.1", "", {}, "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ=="], @@ -1448,49 +1285,29 @@ "multicast-dns": ["multicast-dns@7.2.5", "", { "dependencies": { "dns-packet": "^5.2.2", "thunky": "^1.0.2" }, "bin": { "multicast-dns": "cli.js" } }, "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg=="], - "mute-stream": ["mute-stream@2.0.0", "", {}, "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA=="], + "mute-stream": ["mute-stream@3.0.0", "", {}, "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw=="], - "nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], + "nanoid": ["nanoid@3.3.20", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ=="], "needle": ["needle@3.5.0", "", { "dependencies": { "iconv-lite": "^0.6.3", "sax": "^1.2.4" }, "bin": { "needle": "bin/needle" } }, "sha512-jaQyPKKk2YokHrEg+vFDYxXIHTCBgiZwSHOoVx/8V3GIBS8/VN6NdVRmg8q1ERtPkMvmOvebsgga4sAj5hls/w=="], "negotiator": ["negotiator@0.6.4", "", {}, "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w=="], - "neo-async": ["neo-async@2.6.2", "", {}, "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="], - "node-addon-api": ["node-addon-api@6.1.0", "", {}, "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA=="], - "node-gyp": ["node-gyp@12.2.0", "", { "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", "graceful-fs": "^4.2.6", "make-fetch-happen": "^15.0.0", "nopt": "^9.0.0", "proc-log": "^6.0.0", "semver": "^7.3.5", "tar": "^7.5.4", "tinyglobby": "^0.2.12", "which": "^6.0.0" }, "bin": { "node-gyp": "bin/node-gyp.js" } }, "sha512-q23WdzrQv48KozXlr0U1v9dwO/k59NHeSzn6loGcasyf0UnSrtzs8kRxM+mfwJSf0DkX0s43hcqgnSO4/VNthQ=="], - "node-gyp-build-optional-packages": ["node-gyp-build-optional-packages@5.2.2", "", { "dependencies": { "detect-libc": "^2.0.1" }, "bin": { "node-gyp-build-optional-packages": "bin.js", "node-gyp-build-optional-packages-optional": "optional.js", "node-gyp-build-optional-packages-test": "build-test.js" } }, "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw=="], "node-releases": ["node-releases@2.0.36", "", {}, "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA=="], - "nopt": ["nopt@9.0.0", "", { "dependencies": { "abbrev": "^4.0.0" }, "bin": { "nopt": "bin/nopt.js" } }, "sha512-Zhq3a+yFKrYwSBluL4H9XP3m3y5uvQkB/09CwDruCiRmR/UJYnn9W4R48ry0uGC70aeTPKLynBtscP9efFFcPw=="], - "normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="], - "npm-bundled": ["npm-bundled@5.0.0", "", { "dependencies": { "npm-normalize-package-bin": "^5.0.0" } }, "sha512-JLSpbzh6UUXIEoqPsYBvVNVmyrjVZ1fzEFbqxKkTJQkWBO3xFzFT+KDnSKQWwOQNbuWRwt5LSD6HOTLGIWzfrw=="], + "npm-package-arg": ["npm-package-arg@14.0.0", "", { "dependencies": { "hosted-git-info": "^10.1.0", "proc-log": "^7.0.0", "semver": "^7.3.5", "validate-npm-package-name": "^8.0.0" } }, "sha512-69XQh3k+dtGa1p+7RaR57IuG3rCko96xr/nUfN4yDYBXbTYICiWcOpsFKLN2GtGE9cyIljE+f1exnaYt9MvM+Q=="], - "npm-install-checks": ["npm-install-checks@8.0.0", "", { "dependencies": { "semver": "^7.1.1" } }, "sha512-ScAUdMpyzkbpxoNekQ3tNRdFI8SJ86wgKZSQZdUxT+bj0wVFpsEMWnkXP0twVe1gJyNF5apBWDJhhIbgrIViRA=="], - - "npm-normalize-package-bin": ["npm-normalize-package-bin@5.0.0", "", {}, "sha512-CJi3OS4JLsNMmr2u07OJlhcrPxCeOeP/4xq67aWNai6TNWWbTrlNDgl8NcFKVlcBKp18GPj+EzbNIgrBfZhsag=="], - - "npm-package-arg": ["npm-package-arg@13.0.2", "", { "dependencies": { "hosted-git-info": "^9.0.0", "proc-log": "^6.0.0", "semver": "^7.3.5", "validate-npm-package-name": "^7.0.0" } }, "sha512-IciCE3SY3uE84Ld8WZU23gAPPV9rIYod4F+rc+vJ7h7cwAJt9Vk6TVsK60ry7Uj3SRS3bqRRIGuTp9YVlk6WNA=="], - - "npm-packlist": ["npm-packlist@10.0.4", "", { "dependencies": { "ignore-walk": "^8.0.0", "proc-log": "^6.0.0" } }, "sha512-uMW73iajD8hiH4ZBxEV3HC+eTnppIqwakjOYuvgddnalIw2lJguKviK1pcUJDlIWm1wSJkchpDZDSVVsZEYRng=="], - - "npm-pick-manifest": ["npm-pick-manifest@11.0.3", "", { "dependencies": { "npm-install-checks": "^8.0.0", "npm-normalize-package-bin": "^5.0.0", "npm-package-arg": "^13.0.0", "semver": "^7.3.5" } }, "sha512-buzyCfeoGY/PxKqmBqn1IUJrZnUi1VVJTdSSRPGI60tJdUhUoSQFhs0zycJokDdOznQentgrpf8LayEHyyYlqQ=="], - - "npm-registry-fetch": ["npm-registry-fetch@19.1.1", "", { "dependencies": { "@npmcli/redact": "^4.0.0", "jsonparse": "^1.3.1", "make-fetch-happen": "^15.0.0", "minipass": "^7.0.2", "minipass-fetch": "^5.0.0", "minizlib": "^3.0.1", "npm-package-arg": "^13.0.0", "proc-log": "^6.0.0" } }, "sha512-TakBap6OM1w0H73VZVDf44iFXsOS3h+L4wVMXmbWOQroZgFhMch0juN6XSzBNlD965yIKvWg2dfu7NSiaYLxtw=="], - - "nth-check": ["nth-check@2.1.1", "", { "dependencies": { "boolbase": "^1.0.0" } }, "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w=="], - - "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], + "nth-check": ["nth-check@3.0.1", "", { "dependencies": { "boolbase": "^2.0.0" } }, "sha512-GX0gsdbGVCgnRgbeGaubfjpBXyYRWOOCVeYh08bSQvDZqxz5ndXs1OTfAt/h36G1xvI94YIspsI0sVFqAV9+RQ=="], "object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="], - "obuf": ["obuf@1.1.2", "", {}, "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg=="], + "obug": ["obug@2.2.1", "", {}, "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q=="], "on-finished": ["on-finished@2.4.1", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg=="], @@ -1500,14 +1317,16 @@ "onetime": ["onetime@7.0.0", "", { "dependencies": { "mimic-function": "^5.0.0" } }, "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ=="], - "open": ["open@11.0.0", "", { "dependencies": { "default-browser": "^5.4.0", "define-lazy-prop": "^3.0.0", "is-in-ssh": "^1.0.0", "is-inside-container": "^1.0.0", "powershell-utils": "^0.1.0", "wsl-utils": "^0.3.0" } }, "sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw=="], + "open": ["open@11.0.4", "", { "dependencies": { "default-browser": "^5.5.1", "define-lazy-prop": "^3.0.0", "is-in-ssh": "^1.0.0", "is-inside-container": "^1.0.0", "powershell-utils": "^0.2.1", "wsl-utils": "^1.0.0" } }, "sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg=="], "openapi-types": ["openapi-types@12.1.3", "", {}, "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw=="], - "ora": ["ora@9.3.0", "", { "dependencies": { "chalk": "^5.6.2", "cli-cursor": "^5.0.0", "cli-spinners": "^3.2.0", "is-interactive": "^2.0.0", "is-unicode-supported": "^2.1.0", "log-symbols": "^7.0.1", "stdin-discarder": "^0.3.1", "string-width": "^8.1.0" } }, "sha512-lBX72MWFduWEf7v7uWf5DHp9Jn5BI8bNPGuFgtXMmr2uDz2Gz2749y3am3agSDdkhHPHYmmxEGSKH85ZLGzgXw=="], + "ora": ["ora@9.4.1", "", { "dependencies": { "chalk": "^5.6.2", "cli-cursor": "^5.0.0", "cli-spinners": "^3.2.0", "is-interactive": "^2.0.0", "is-unicode-supported": "^2.1.0", "log-symbols": "^7.0.1", "stdin-discarder": "^0.3.2", "string-width": "^8.1.0" } }, "sha512-6VlU9MLXbjVQD04AZCMX28hVtA5bUoadvUqO76MUCVA0ilwJbMiHsITRPfyVm6p/BC0Av/BXMujx39WCe1LEqw=="], "ordered-binary": ["ordered-binary@1.6.1", "", {}, "sha512-QkCdPooczexPLiXIrbVOPYkR3VO3T6v2OyKRkR1Xbhpy7/LAVXwahnRCgRp78Oe/Ehf0C/HATAxfSr6eA1oX+w=="], + "oxc-parser": ["oxc-parser@0.150.0", "", { "dependencies": { "@oxc-project/types": "^0.150.0" }, "optionalDependencies": { "@oxc-parser/binding-android-arm-eabi": "0.150.0", "@oxc-parser/binding-android-arm64": "0.150.0", "@oxc-parser/binding-darwin-arm64": "0.150.0", "@oxc-parser/binding-darwin-x64": "0.150.0", "@oxc-parser/binding-freebsd-x64": "0.150.0", "@oxc-parser/binding-linux-arm-gnueabihf": "0.150.0", "@oxc-parser/binding-linux-arm-musleabihf": "0.150.0", "@oxc-parser/binding-linux-arm64-gnu": "0.150.0", "@oxc-parser/binding-linux-arm64-musl": "0.150.0", "@oxc-parser/binding-linux-ppc64-gnu": "0.150.0", "@oxc-parser/binding-linux-riscv64-gnu": "0.150.0", "@oxc-parser/binding-linux-riscv64-musl": "0.150.0", "@oxc-parser/binding-linux-s390x-gnu": "0.150.0", "@oxc-parser/binding-linux-x64-gnu": "0.150.0", "@oxc-parser/binding-linux-x64-musl": "0.150.0", "@oxc-parser/binding-openharmony-arm64": "0.150.0", "@oxc-parser/binding-win32-arm64-msvc": "0.150.0", "@oxc-parser/binding-win32-ia32-msvc": "0.150.0", "@oxc-parser/binding-win32-x64-msvc": "0.150.0" } }, "sha512-zwajKw1GUa57IOdafIS7/yOObGF2NihwIfZfs5yJTRprMSkiwhWOc/k+n8bwnUPbHr2/XsjfBO8KyTPaW3VpWg=="], + "oxlint": ["oxlint@1.57.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.57.0", "@oxlint/binding-android-arm64": "1.57.0", "@oxlint/binding-darwin-arm64": "1.57.0", "@oxlint/binding-darwin-x64": "1.57.0", "@oxlint/binding-freebsd-x64": "1.57.0", "@oxlint/binding-linux-arm-gnueabihf": "1.57.0", "@oxlint/binding-linux-arm-musleabihf": "1.57.0", "@oxlint/binding-linux-arm64-gnu": "1.57.0", "@oxlint/binding-linux-arm64-musl": "1.57.0", "@oxlint/binding-linux-ppc64-gnu": "1.57.0", "@oxlint/binding-linux-riscv64-gnu": "1.57.0", "@oxlint/binding-linux-riscv64-musl": "1.57.0", "@oxlint/binding-linux-s390x-gnu": "1.57.0", "@oxlint/binding-linux-x64-gnu": "1.57.0", "@oxlint/binding-linux-x64-musl": "1.57.0", "@oxlint/binding-openharmony-arm64": "1.57.0", "@oxlint/binding-win32-arm64-msvc": "1.57.0", "@oxlint/binding-win32-ia32-msvc": "1.57.0", "@oxlint/binding-win32-x64-msvc": "1.57.0" }, "peerDependencies": { "oxlint-tsgolint": ">=0.15.0" }, "optionalPeers": ["oxlint-tsgolint"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-DGFsuBX5MFZX9yiDdtKjTrYPq45CZ8Fft6qCltJITYZxfwYjVdGf/6wycGYTACloauwIPxUnYhBVeZbHvleGhw=="], "oxlint-tsgolint": ["oxlint-tsgolint@0.18.1", "", { "optionalDependencies": { "@oxlint-tsgolint/darwin-arm64": "0.18.1", "@oxlint-tsgolint/darwin-x64": "0.18.1", "@oxlint-tsgolint/linux-arm64": "0.18.1", "@oxlint-tsgolint/linux-x64": "0.18.1", "@oxlint-tsgolint/win32-arm64": "0.18.1", "@oxlint-tsgolint/win32-x64": "0.18.1" }, "bin": { "tsgolint": "bin/tsgolint.js" } }, "sha512-Hgb0wMfuXBYL0ddY+1hAG8IIfC40ADwPnBuUaC6ENAuCtTF4dHwsy7mCYtQ2e7LoGvfoSJRY0+kqQRiembJ/jQ=="], @@ -1516,11 +1335,7 @@ "p-locate": ["p-locate@5.0.0", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="], - "p-map": ["p-map@7.0.4", "", {}, "sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ=="], - - "p-retry": ["p-retry@6.2.1", "", { "dependencies": { "@types/retry": "0.12.2", "is-network-error": "^1.0.0", "retry": "^0.13.1" } }, "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ=="], - - "pacote": ["pacote@21.3.1", "", { "dependencies": { "@npmcli/git": "^7.0.0", "@npmcli/installed-package-contents": "^4.0.0", "@npmcli/package-json": "^7.0.0", "@npmcli/promise-spawn": "^9.0.0", "@npmcli/run-script": "^10.0.0", "cacache": "^20.0.0", "fs-minipass": "^3.0.0", "minipass": "^7.0.2", "npm-package-arg": "^13.0.0", "npm-packlist": "^10.0.1", "npm-pick-manifest": "^11.0.1", "npm-registry-fetch": "^19.0.0", "proc-log": "^6.0.0", "promise-retry": "^2.0.1", "sigstore": "^4.0.0", "ssri": "^13.0.0", "tar": "^7.4.3" }, "bin": { "pacote": "bin/index.js" } }, "sha512-O0EDXi85LF4AzdjG74GUwEArhdvawi/YOHcsW6IijKNj7wm8IvEWNF5GnfuxNpQ/ZpO3L37+v8hqdVh8GgWYhg=="], + "p-retry": ["p-retry@8.0.1", "", { "dependencies": { "is-network-error": "^1.3.0" } }, "sha512-NAigyu8hfvJe7MsS18mnc4is0MZtau3QMdBklaJKK23oBQb6occO3UPM3vHmTckW8KhfyjMZaUOqdTFEYliHgg=="], "parent-module": ["parent-module@1.0.1", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="], @@ -1530,7 +1345,7 @@ "parse5": ["parse5@8.0.0", "", { "dependencies": { "entities": "^6.0.0" } }, "sha512-9m4m5GSgXjL4AjumKzq1Fgfp3Z8rsvjRNbnkVwfu2ImRqE5D0LnY2QfDen18FSY9C573YU5XxSapdHZTZ2WolA=="], - "parse5-html-rewriting-stream": ["parse5-html-rewriting-stream@8.0.0", "", { "dependencies": { "entities": "^6.0.0", "parse5": "^8.0.0", "parse5-sax-parser": "^8.0.0" } }, "sha512-wzh11mj8KKkno1pZEu+l2EVeWsuKDfR5KNWZOTsslfUX8lPDZx77m9T0kIoAVkFtD1nx6YF8oh4BnPHvxMtNMw=="], + "parse5-html-rewriting-stream": ["parse5-html-rewriting-stream@8.0.1", "", { "dependencies": { "entities": "^8.0.0", "parse5": "^8.0.0", "parse5-sax-parser": "^8.0.0" } }, "sha512-NaRku2aMpUN1Sh1Gyk1KWUh2A7EJx2c6qYzvwsPtqhoHoaURshdrceYK3LunVCm3WHhm6FS7Vcczbvdh3/UIVw=="], "parse5-sax-parser": ["parse5-sax-parser@8.0.0", "", { "dependencies": { "parse5": "^8.0.0" } }, "sha512-/dQ8UzHZwnrzs3EvDj6IkKrD/jIZyTlB+8XrHJvcjNgRdmWruNdN9i9RK/JtxakmlUdPwKubKPTCqvbTgzGhrw=="], @@ -1538,31 +1353,21 @@ "path-exists": ["path-exists@4.0.0", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="], - "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], - - "path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="], - - "path-scurry": ["path-scurry@2.0.2", "", { "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" } }, "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg=="], - - "path-to-regexp": ["path-to-regexp@0.1.13", "", {}, "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA=="], + "path-to-regexp": ["path-to-regexp@8.4.0", "", {}, "sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg=="], "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], - "picomatch": ["picomatch@4.0.4", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], + "picomatch": ["picomatch@4.0.7", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="], - "pify": ["pify@4.0.1", "", {}, "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="], - - "piscina": ["piscina@5.1.4", "", { "optionalDependencies": { "@napi-rs/nice": "^1.0.4" } }, "sha512-7uU4ZnKeQq22t9AsmHGD2w4OYQGonwFnTypDypaWi7Qr2EvQIFVtG8J5D/3bE7W123Wdc9+v4CZDu5hJXVCtBg=="], - - "pkce-challenge": ["pkce-challenge@5.0.1", "", {}, "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ=="], + "piscina": ["piscina@5.3.2", "", { "optionalDependencies": { "@napi-rs/nice": "^1.0.4" } }, "sha512-vv7l/mM7B9WgrhDaudIqv1x6v4LOBRYYmpWGdWushhpbCmVHp11sUB2v4hj1CAeTGXVxuZFz6xOU1RalAiPKfQ=="], "pkijs": ["pkijs@3.4.0", "", { "dependencies": { "@noble/hashes": "1.4.0", "asn1js": "^3.0.6", "bytestreamjs": "^2.0.1", "pvtsutils": "^1.3.6", "pvutils": "^1.1.3", "tslib": "^2.8.1" } }, "sha512-emEcLuomt2j03vxD54giVB4SxTjnsqkU692xZOZXHDVoYyypEm+b3jpiTcc+Cf+myooc+/Ly0z01jqeNHVgJGw=="], "pluralize": ["pluralize@8.0.0", "", {}, "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA=="], - "postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], + "postcss": ["postcss@8.5.28", "", { "dependencies": { "nanoid": "^3.3.18", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A=="], - "postcss-loader": ["postcss-loader@8.2.0", "", { "dependencies": { "cosmiconfig": "^9.0.0", "jiti": "^2.5.1", "semver": "^7.6.2" }, "peerDependencies": { "@rspack/core": "0.x || 1.x", "postcss": "^7.0.0 || ^8.0.1", "webpack": "^5.0.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-tHX+RkpsXVcc7st4dSdDGliI+r4aAQDuv+v3vFYHixb6YgjreG5AG4SEB0kDK8u2s6htqEEpKlkhSBUTvWKYnA=="], + "postcss-loader": ["postcss-loader@8.2.1", "", { "dependencies": { "cosmiconfig": "^9.0.0", "jiti": "^2.5.1", "semver": "^7.6.2" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "postcss": "^7.0.0 || ^8.0.1", "webpack": "^5.0.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-k98jtRzthjj3f76MYTs9JTpRqV1RaaMhEU0Lpw9OTmQZQdppg4B30VZ74BojuBHt3F4KyubHJoXCMUeM8Bqeow=="], "postcss-media-query-parser": ["postcss-media-query-parser@0.2.3", "", {}, "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig=="], @@ -1580,16 +1385,16 @@ "postcss-value-parser": ["postcss-value-parser@4.2.0", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="], - "powershell-utils": ["powershell-utils@0.1.0", "", {}, "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A=="], + "powershell-utils": ["powershell-utils@0.2.1", "", {}, "sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A=="], - "proc-log": ["proc-log@6.1.0", "", {}, "sha512-iG+GYldRf2BQ0UDUAd6JQ/RwzaQy6mXmsk/IzlYyal4A4SNFw54MeH4/tLkF4I5WoWG9SQwuqWzS99jaFQHBuQ=="], + "probe-image-size": ["probe-image-size@7.5.0", "", { "dependencies": { "lodash.merge": "^4.6.2", "needle": "^2.5.2" } }, "sha512-ietdx4XPgmnzHRZOq1/KtcnsBkL4bRsBe+Szj5Tuq1/KPqDG42OspG1IhJb7vz6Z9pSzhp0J6UPnw6hujJTWoQ=="], - "process-nextick-args": ["process-nextick-args@2.0.1", "", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="], - - "promise-retry": ["promise-retry@2.0.1", "", { "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" } }, "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g=="], + "proc-log": ["proc-log@7.0.0", "", {}, "sha512-FYgfaA69XZ93zaXLoMNQ+ViDXGGBgR8aLh03txzcFhV+9xOXx7+8DLCULrKKpR9+GsH9ZfHm82aSUPpozX0Ztg=="], "proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="], + "proxy-agent-negotiate": ["proxy-agent-negotiate@1.1.0", "", { "peerDependencies": { "kerberos": "^2.0.0" }, "optionalPeers": ["kerberos"] }, "sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ=="], + "proxy-from-env": ["proxy-from-env@2.1.0", "", {}, "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA=="], "prr": ["prr@1.0.1", "", {}, "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw=="], @@ -1600,23 +1405,21 @@ "qs": ["qs@6.14.2", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q=="], - "range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="], + "range-parser": ["range-parser@1.3.0", "", {}, "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw=="], "raw-body": ["raw-body@3.0.2", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="], - "readable-stream": ["readable-stream@3.6.2", "", { "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="], - "readdirp": ["readdirp@5.0.0", "", {}, "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ=="], "reflect-metadata": ["reflect-metadata@0.2.2", "", {}, "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q=="], - "regenerate": ["regenerate@1.4.2", "", {}, "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A=="], + "regenerate": ["regenerate@1.5.0", "", {}, "sha512-1s+CxXjJ71i7LNVy8nYwg47XV4y6lAnOEhsMtSKq3WpmPfhl9LuKlTqKIn/3yUpE8lBz+W+TT88Bxyhnr0U4yw=="], - "regenerate-unicode-properties": ["regenerate-unicode-properties@10.2.2", "", { "dependencies": { "regenerate": "^1.4.2" } }, "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g=="], + "regenerate-unicode-properties": ["regenerate-unicode-properties@10.3.0", "", { "dependencies": { "regenerate": "^1.4.2" } }, "sha512-9ns8odR8e9q3otKeHj3DE80jZYKg6zVeZKE+zQmRKXFoVUcuiTGeO6iusDhPRoIQQPVPRvH+SfBhrTud4eczuw=="], "regex-parser": ["regex-parser@2.3.1", "", {}, "sha512-yXLRqatcCuKtVHsWrNg0JL3l1zGfdXeEvDa0bdu4tCDQw0RpMDZsqbkyRTUnKMR0tXF627V2oEWjBEaEdqTwtQ=="], - "regexpu-core": ["regexpu-core@6.4.0", "", { "dependencies": { "regenerate": "^1.4.2", "regenerate-unicode-properties": "^10.2.2", "regjsgen": "^0.8.0", "regjsparser": "^0.13.0", "unicode-match-property-ecmascript": "^2.0.0", "unicode-match-property-value-ecmascript": "^2.2.1" } }, "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA=="], + "regexpu-core": ["regexpu-core@6.5.3", "", { "dependencies": { "regenerate": "^1.5.0", "regenerate-unicode-properties": "^10.3.0", "regjsgen": "^0.8.0", "regjsparser": "^0.13.0", "unicode-match-property-ecmascript": "^2.0.0", "unicode-match-property-value-ecmascript": "^2.2.1" } }, "sha512-E8VgUoSK+LMQrLboDxavm76MTBGrQhx9RiNuomRmYnZ10Uw12HrI8fkxOOncktb2hBpzIZ9SV/347euQHG5z+g=="], "regjsgen": ["regjsgen@0.8.0", "", {}, "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q=="], @@ -1626,23 +1429,15 @@ "require-from-string": ["require-from-string@2.0.2", "", {}, "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="], - "requires-port": ["requires-port@1.0.0", "", {}, "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="], - - "resolve": ["resolve@1.22.11", "", { "dependencies": { "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" } }, "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ=="], - "resolve-from": ["resolve-from@4.0.0", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="], "resolve-url-loader": ["resolve-url-loader@5.0.0", "", { "dependencies": { "adjust-sourcemap-loader": "^4.0.0", "convert-source-map": "^1.7.0", "loader-utils": "^2.0.0", "postcss": "^8.2.14", "source-map": "0.6.1" } }, "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg=="], "restore-cursor": ["restore-cursor@5.1.0", "", { "dependencies": { "onetime": "^7.0.0", "signal-exit": "^4.1.0" } }, "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA=="], - "retry": ["retry@0.13.1", "", {}, "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="], - "rfdc": ["rfdc@1.4.1", "", {}, "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA=="], - "rolldown": ["rolldown@1.0.0-rc.4", "", { "dependencies": { "@oxc-project/types": "=0.113.0", "@rolldown/pluginutils": "1.0.0-rc.4" }, "optionalDependencies": { "@rolldown/binding-android-arm64": "1.0.0-rc.4", "@rolldown/binding-darwin-arm64": "1.0.0-rc.4", "@rolldown/binding-darwin-x64": "1.0.0-rc.4", "@rolldown/binding-freebsd-x64": "1.0.0-rc.4", "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.4", "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.4", "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.4", "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.4", "@rolldown/binding-linux-x64-musl": "1.0.0-rc.4", "@rolldown/binding-openharmony-arm64": "1.0.0-rc.4", "@rolldown/binding-wasm32-wasi": "1.0.0-rc.4", "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.4", "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.4" }, "bin": { "rolldown": "bin/cli.mjs" } }, "sha512-V2tPDUrY3WSevrvU2E41ijZlpF+5PbZu4giH+VpNraaadsJGHa4fR6IFwsocVwEXDoAdIv5qgPPxgrvKAOIPtA=="], - - "rollup": ["rollup@4.60.1", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.60.1", "@rollup/rollup-android-arm64": "4.60.1", "@rollup/rollup-darwin-arm64": "4.60.1", "@rollup/rollup-darwin-x64": "4.60.1", "@rollup/rollup-freebsd-arm64": "4.60.1", "@rollup/rollup-freebsd-x64": "4.60.1", "@rollup/rollup-linux-arm-gnueabihf": "4.60.1", "@rollup/rollup-linux-arm-musleabihf": "4.60.1", "@rollup/rollup-linux-arm64-gnu": "4.60.1", "@rollup/rollup-linux-arm64-musl": "4.60.1", "@rollup/rollup-linux-loong64-gnu": "4.60.1", "@rollup/rollup-linux-loong64-musl": "4.60.1", "@rollup/rollup-linux-ppc64-gnu": "4.60.1", "@rollup/rollup-linux-ppc64-musl": "4.60.1", "@rollup/rollup-linux-riscv64-gnu": "4.60.1", "@rollup/rollup-linux-riscv64-musl": "4.60.1", "@rollup/rollup-linux-s390x-gnu": "4.60.1", "@rollup/rollup-linux-x64-gnu": "4.60.1", "@rollup/rollup-linux-x64-musl": "4.60.1", "@rollup/rollup-openbsd-x64": "4.60.1", "@rollup/rollup-openharmony-arm64": "4.60.1", "@rollup/rollup-win32-arm64-msvc": "4.60.1", "@rollup/rollup-win32-ia32-msvc": "4.60.1", "@rollup/rollup-win32-x64-gnu": "4.60.1", "@rollup/rollup-win32-x64-msvc": "4.60.1", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w=="], + "rolldown": ["rolldown@1.2.15", "", { "dependencies": { "@oxc-project/types": "=0.155.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm-eabi": "1.2.15", "@rolldown/binding-android-arm64": "1.2.15", "@rolldown/binding-darwin-arm64": "1.2.15", "@rolldown/binding-darwin-x64": "1.2.15", "@rolldown/binding-freebsd-x64": "1.2.15", "@rolldown/binding-linux-arm-gnueabihf": "1.2.15", "@rolldown/binding-linux-arm64-gnu": "1.2.15", "@rolldown/binding-linux-arm64-musl": "1.2.15", "@rolldown/binding-linux-ppc64-gnu": "1.2.15", "@rolldown/binding-linux-s390x-gnu": "1.2.15", "@rolldown/binding-linux-x64-gnu": "1.2.15", "@rolldown/binding-linux-x64-musl": "1.2.15", "@rolldown/binding-openharmony-arm64": "1.2.15", "@rolldown/binding-win32-arm64-msvc": "1.2.15", "@rolldown/binding-win32-x64-msvc": "1.2.15" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g=="], "router": ["router@2.2.0", "", { "dependencies": { "debug": "^4.4.0", "depd": "^2.0.0", "is-promise": "^4.0.0", "parseurl": "^1.3.3", "path-to-regexp": "^8.0.0" } }, "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ=="], @@ -1654,36 +1449,68 @@ "safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="], - "sass": ["sass@1.97.3", "", { "dependencies": { "chokidar": "^4.0.0", "immutable": "^5.0.2", "source-map-js": ">=0.6.2 <2.0.0" }, "optionalDependencies": { "@parcel/watcher": "^2.4.1" }, "bin": { "sass": "sass.js" } }, "sha512-fDz1zJpd5GycprAbu4Q2PV/RprsRtKC/0z82z0JLgdytmcq0+ujJbJ/09bPGDxCLkKY3Np5cRAOcWiVkLXJURg=="], + "sass": ["sass@1.104.1", "", { "dependencies": { "chokidar": "^5.0.0", "immutable": "^5.1.5", "source-map-js": ">=0.6.2 <2.0.0" }, "optionalDependencies": { "@parcel/watcher": "^2.4.1" }, "bin": { "sass": "sass.js" } }, "sha512-yDA+1aIG3EHgN4V/BvuhCvu61FF6hEd4e+9DxikUm9U0CAGuvdIZ/UYy7qbOxjhbbWQraoyLlMuzdRGOSV5Bmw=="], + + "sass-embedded": ["sass-embedded@1.104.1", "", { "dependencies": { "@bufbuild/protobuf": "^2.5.0", "colorjs.io": "^0.7.0", "immutable": "^5.1.5", "rxjs": "^7.4.0", "supports-color": "^8.1.1", "sync-child-process": "^1.0.2", "varint": "^6.0.0" }, "optionalDependencies": { "sass-embedded-all-unknown": "1.104.1", "sass-embedded-android-arm": "1.104.1", "sass-embedded-android-arm64": "1.104.1", "sass-embedded-android-riscv64": "1.104.1", "sass-embedded-android-x64": "1.104.1", "sass-embedded-darwin-arm64": "1.104.1", "sass-embedded-darwin-x64": "1.104.1", "sass-embedded-linux-arm": "1.104.1", "sass-embedded-linux-arm64": "1.104.1", "sass-embedded-linux-musl-arm": "1.104.1", "sass-embedded-linux-musl-arm64": "1.104.1", "sass-embedded-linux-musl-riscv64": "1.104.1", "sass-embedded-linux-musl-x64": "1.104.1", "sass-embedded-linux-riscv64": "1.104.1", "sass-embedded-linux-x64": "1.104.1", "sass-embedded-unknown-all": "1.104.1", "sass-embedded-win32-arm64": "1.104.1", "sass-embedded-win32-x64": "1.104.1" }, "bin": { "sass": "dist/bin/sass.js" } }, "sha512-7LxbtPJ1MWKVbhzOnGx1sHTkHTcHVJ9hbgVsU29p/8gY1VeXt19fcJFr5xsx2f6zfrrR3FeOcYMt0uYDLAxpgw=="], + + "sass-embedded-all-unknown": ["sass-embedded-all-unknown@1.104.1", "", { "dependencies": { "sass": "1.104.1" }, "cpu": [ "!arm", "!x64", "!arm64", ] }, "sha512-toyMCyUKkT6DsYlHuKZGjd8T6WltaW4TGX07F7HnF4tNJM5m/8VaVsd74zrq3QSPqGE9JjxIDK4NrNc/QY9pkA=="], + + "sass-embedded-android-arm": ["sass-embedded-android-arm@1.104.1", "", { "os": "android", "cpu": "arm" }, "sha512-g/XPAJYAzSSQZFP4xCdGD0HLKB4mf24cJ/+5Nls8rMool3jNkBv9+AFO4EV0b+RxN8rLcEsMccH1CR64yIFYcQ=="], + + "sass-embedded-android-arm64": ["sass-embedded-android-arm64@1.104.1", "", { "os": "android", "cpu": "arm64" }, "sha512-yW3BVW4YFpN2vu2cVQ+Pz5JrRTvoIz36aCdo+J/Mo1A9gEN8eVPV/AL7aeZ803YdKgIitd3qw3pY4wpmT6TXNg=="], + + "sass-embedded-android-riscv64": ["sass-embedded-android-riscv64@1.104.1", "", { "os": "android", "cpu": "none" }, "sha512-ZYY8oMKQS7Q/6FBoC8w3T16O3MucDe3xv8iKym41Nht5uvLCGGpm4fC4OF5nlv7wQkJv8oactYddGG3Wd0Rqkg=="], + + "sass-embedded-android-x64": ["sass-embedded-android-x64@1.104.1", "", { "os": "android", "cpu": "x64" }, "sha512-5WZKC4lSfjMIjzZdQUlYQUAV+UiatBhD8w28U7cYLLj4/dMgEPOBd4g3VMv0BwpgH2JOaycMS42dXq29W2bcDg=="], + + "sass-embedded-darwin-arm64": ["sass-embedded-darwin-arm64@1.104.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-oatuHzn0NsEg0d9Dcze6CuWUPvuETtMxRK4cv0eRAg7p6R0vHnv5GZRyWG6gEy3nc/ha/L+GtTasWVU82f4jrQ=="], + + "sass-embedded-darwin-x64": ["sass-embedded-darwin-x64@1.104.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-gql/5sHGzUTVwuHfM3QLCDeb6NYwen+LLj22gz81C2NKHF/4nUtDyh4N+fURWdT7J0/EhtMOd0+FLML3sGNP7g=="], + + "sass-embedded-linux-arm": ["sass-embedded-linux-arm@1.104.1", "", { "os": "linux", "cpu": "arm", "libc": "glibc" }, "sha512-WfmshPJOp9vUKxgp8wZ2ncaKBbyrlW9J51M2aUQHWECjMNxTULnGOHWSmD7FViXv4zwn1Co5FIFQUipW7RCxtA=="], + + "sass-embedded-linux-arm64": ["sass-embedded-linux-arm64@1.104.1", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-sVWUKXNTu8sP3X95Df0xo/t49Ce5IseTIMqXHxhFBKVmx7gf7kBWNLK0wH5ym+4khc+B5nNJPgq4IxpelG8tMQ=="], + + "sass-embedded-linux-musl-arm": ["sass-embedded-linux-musl-arm@1.104.1", "", { "os": "linux", "cpu": "arm", "libc": "musl" }, "sha512-k0cQ/CxBzFVYiQEObg6CpF6CUglkdEhi/DZgZXQbwC27kbGGY+fatmIs/cFPJL2z1ulACwoAr86RQUFzYvw5eg=="], + + "sass-embedded-linux-musl-arm64": ["sass-embedded-linux-musl-arm64@1.104.1", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-H7b+LzZ/w8pwNExInM8HDHraqvxCMdUc5ZRGU/aSJJhZ9HjeRKBjF3GxaisVHnx7o18j1l4VQ5cLBL9tTmNzZw=="], - "sass-loader": ["sass-loader@16.0.7", "", { "dependencies": { "neo-async": "^2.6.2" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "sass": "^1.3.0", "sass-embedded": "*", "webpack": "^5.0.0" }, "optionalPeers": ["@rspack/core", "node-sass", "sass", "sass-embedded", "webpack"] }, "sha512-w6q+fRHourZ+e+xA1kcsF27iGM6jdB8teexYCfdUw0sYgcDNeZESnDNT9sUmmPm3ooziwUJXGwZJSTF3kOdBfA=="], + "sass-embedded-linux-musl-riscv64": ["sass-embedded-linux-musl-riscv64@1.104.1", "", { "os": "linux", "cpu": "none", "libc": "musl" }, "sha512-9DYdn4wfrkidjxJVtEd2iCx8HKdZe+uF82GDmrYEZhgu4NjVE6a4fQyW7OLwzn3erZMHKBaObBOH1d37DnXI1A=="], + + "sass-embedded-linux-musl-x64": ["sass-embedded-linux-musl-x64@1.104.1", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-5xz+nAr01b6yaRdrGVgE7lNvm1lGFjwNdUvnz+teidvHCbD5oTcbhrRVrnDoLHHvq5n3Jve9TzWaaHhezaEfHA=="], + + "sass-embedded-linux-riscv64": ["sass-embedded-linux-riscv64@1.104.1", "", { "os": "linux", "cpu": "none", "libc": "glibc" }, "sha512-oWryPJWTXK5adtlz/FD7wd2kS4I0CEgp6mWLUVb4oMFURMLz9bA9fO87D7lc4SV++lds7T51PU1kykCbOvNHMg=="], + + "sass-embedded-linux-x64": ["sass-embedded-linux-x64@1.104.1", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-j/sX/yKTx/wJKepC5/ISlR6kPeSuHKThf76D2za5i2VnbHg0MN19jQq3WMorowR3kRghqt6azs3awogG+e7IRA=="], + + "sass-embedded-unknown-all": ["sass-embedded-unknown-all@1.104.1", "", { "dependencies": { "sass": "1.104.1" }, "os": [ "!linux", "!win32", "!darwin", "!android", ] }, "sha512-RaMsYZB5mRioL4qhoI7T5mmNb2OunakbPTJW2cuu3MeIULnGoxo7Wd5QKFxeQvF7sSQL57RuaQ+q9pH+/pQ9Fg=="], + + "sass-embedded-win32-arm64": ["sass-embedded-win32-arm64@1.104.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-fS6DL7lcnTPclqGLF4xRt8egZlFY9cU23d57ufbWqaUbCFu9JTu0+8qB4jMxfx1la6byi3GoSTfbnNOLfWv8sw=="], + + "sass-embedded-win32-x64": ["sass-embedded-win32-x64@1.104.1", "", { "os": "win32", "cpu": "x64" }, "sha512-/c4N2A93Ckms6DuRFVftKYISuI1tyC8gmlVJ8WaWFzgCBN/Swq2rARJIBUNeuxlmxjmYXfd3+2f/u887K63wbA=="], + + "sass-loader": ["sass-loader@17.0.1", "", { "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "sass": "^1.3.0", "sass-embedded": "*", "webpack": "^5.0.0" }, "optionalPeers": ["@rspack/core", "sass", "sass-embedded", "webpack"] }, "sha512-pgJMwCuLjVTSIWsv/2luVRXKlCeaViUGcgSe8dx95zMG4hUwqIMFmjbhq29ypFLflJU0GyiJZeLM9iI1n3KYAA=="], "sax": ["sax@1.6.0", "", {}, "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA=="], "schema-utils": ["schema-utils@4.3.3", "", { "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", "ajv-formats": "^2.1.1", "ajv-keywords": "^5.1.0" } }, "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA=="], - "select-hose": ["select-hose@2.0.0", "", {}, "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg=="], - "selfsigned": ["selfsigned@5.5.0", "", { "dependencies": { "@peculiar/x509": "^1.14.2", "pkijs": "^3.3.3" } }, "sha512-ftnu3TW4+3eBfLRFnDEkzGxSF/10BJBkaLJuBHZX0kiPS7bRdlpZGu6YGt4KngMkdTwJE6MbjavFpqHvqVt+Ew=="], - "semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="], - "send": ["send@0.19.2", "", { "dependencies": { "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "~0.5.2", "http-errors": "~2.0.1", "mime": "1.6.0", "ms": "2.1.3", "on-finished": "~2.4.1", "range-parser": "~1.2.1", "statuses": "~2.0.2" } }, "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg=="], + "send": ["send@1.2.1", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="], "serialize-javascript": ["serialize-javascript@7.0.5", "", {}, "sha512-F4LcB0UqUl1zErq+1nYEEzSHJnIwb3AF2XWB94b+afhrekOUijwooAYqFyRbjYkm2PAKBabx6oYv/xDxNi8IBw=="], "serve-index": ["serve-index@1.9.2", "", { "dependencies": { "accepts": "~1.3.8", "batch": "0.6.1", "debug": "2.6.9", "escape-html": "~1.0.3", "http-errors": "~1.8.0", "mime-types": "~2.1.35", "parseurl": "~1.3.3" } }, "sha512-KDj11HScOaLmrPxl70KYNW1PksP4Nb/CLL2yvC+Qd2kHMPEEpfc4Re2e4FOay+bC/+XQl/7zAcWON3JVo5v3KQ=="], - "serve-static": ["serve-static@1.16.3", "", { "dependencies": { "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "~0.19.1" } }, "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA=="], + "serve-static": ["serve-static@2.2.1", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="], "setprototypeof": ["setprototypeof@1.2.0", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="], "shallow-clone": ["shallow-clone@3.0.1", "", { "dependencies": { "kind-of": "^6.0.2" } }, "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA=="], - "shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="], - - "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], - "shell-quote": ["shell-quote@1.8.3", "", {}, "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw=="], "side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="], @@ -1696,21 +1523,11 @@ "signal-exit": ["signal-exit@4.1.0", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="], - "sigstore": ["sigstore@4.1.0", "", { "dependencies": { "@sigstore/bundle": "^4.0.0", "@sigstore/core": "^3.1.0", "@sigstore/protobuf-specs": "^0.5.0", "@sigstore/sign": "^4.1.0", "@sigstore/tuf": "^4.0.1", "@sigstore/verify": "^3.1.0" } }, "sha512-/fUgUhYghuLzVT/gaJoeVehLCgZiUxPCPMcyVNY0lIf/cTCz58K/WTI7PefDarXxp9nUKpEwg1yyz3eSBMTtgA=="], - - "slice-ansi": ["slice-ansi@8.0.0", "", { "dependencies": { "ansi-styles": "^6.2.3", "is-fullwidth-code-point": "^5.1.0" } }, "sha512-stxByr12oeeOyY2BlviTNQlYV5xOj47GirPr4yA1hE9JCtxfQN0+tVbkxwCtYDQWhEKWFHsEK48ORg5jrouCAg=="], + "slice-ansi": ["slice-ansi@9.0.1", "", { "dependencies": { "ansi-styles": "^6.2.3", "is-fullwidth-code-point": "^5.1.0" } }, "sha512-aBY19bn/XA+hKOKX0qL7Z0UfdBsbQvc9hn993U8ALUjzxCvDcuZqLoRXjGJrUARWAlwMnsRVD9sw2AFNOYvalA=="], "slugify": ["slugify@1.6.9", "", {}, "sha512-vZ7rfeehZui7wQs438JXBckYLkIIdfHOXsaVEUMyS5fHo1483l1bMdo0EDSWYclY0yZKFOipDy4KHuKs6ssvdg=="], - "smart-buffer": ["smart-buffer@4.2.0", "", {}, "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg=="], - - "sockjs": ["sockjs@0.3.24", "", { "dependencies": { "faye-websocket": "^0.11.3", "uuid": "^8.3.2", "websocket-driver": "^0.7.4" } }, "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ=="], - - "socks": ["socks@2.8.7", "", { "dependencies": { "ip-address": "^10.0.1", "smart-buffer": "^4.2.0" } }, "sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A=="], - - "socks-proxy-agent": ["socks-proxy-agent@8.0.5", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="], - - "source-map": ["source-map@0.7.6", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="], + "source-map": ["source-map@0.8.0", "", {}, "sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ=="], "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], @@ -1720,47 +1537,31 @@ "spark-md5": ["spark-md5@3.0.2", "", {}, "sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw=="], - "spdx-exceptions": ["spdx-exceptions@2.5.0", "", {}, "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w=="], - - "spdx-expression-parse": ["spdx-expression-parse@4.0.0", "", { "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ=="], - - "spdx-license-ids": ["spdx-license-ids@3.0.23", "", {}, "sha512-CWLcCCH7VLu13TgOH+r8p1O/Znwhqv/dbb6lqWy67G+pT1kHmeD/+V36AVb/vq8QMIQwVShJ6Ssl5FPh0fuSdw=="], - - "spdy": ["spdy@4.0.2", "", { "dependencies": { "debug": "^4.1.0", "handle-thing": "^2.0.0", "http-deceiver": "^1.2.7", "select-hose": "^2.0.0", "spdy-transport": "^3.0.0" } }, "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA=="], - - "spdy-transport": ["spdy-transport@3.0.0", "", { "dependencies": { "debug": "^4.1.0", "detect-node": "^2.0.4", "hpack.js": "^2.1.6", "obuf": "^1.1.2", "readable-stream": "^3.0.6", "wbuf": "^1.7.3" } }, "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw=="], - - "ssri": ["ssri@13.0.1", "", { "dependencies": { "minipass": "^7.0.3" } }, "sha512-QUiRf1+u9wPTL/76GTYlKttDEBWV1ga9ZXW8BG6kfdeyyM8LGPix9gROyg9V2+P0xNyF3X2Go526xKFdMZrHSQ=="], - "statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="], - "stdin-discarder": ["stdin-discarder@0.3.1", "", {}, "sha512-reExS1kSGoElkextOcPkel4NE99S0BWxjUHQeDFnR8S993JxpPX7KU4MNmO19NXhlJp+8dmdCbKQVNgLJh2teA=="], + "stdin-discarder": ["stdin-discarder@0.3.2", "", {}, "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A=="], "string-width": ["string-width@8.2.0", "", { "dependencies": { "get-east-asian-width": "^1.5.0", "strip-ansi": "^7.1.2" } }, "sha512-6hJPQ8N0V0P3SNmP6h2J99RLuzrWz2gvT7VnK5tKvrNqJoyS9W4/Fb8mo31UiPvy00z7DQXkP2hnKBVav76thw=="], - "string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="], - "strip-ansi": ["strip-ansi@7.2.0", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="], "strtok3": ["strtok3@10.3.5", "", { "dependencies": { "@tokenizer/token": "^0.3.0" } }, "sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA=="], "supports-color": ["supports-color@8.1.1", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="], - "supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="], - - "tapable": ["tapable@2.3.2", "", {}, "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA=="], + "sync-child-process": ["sync-child-process@1.1.1", "", { "dependencies": { "sync-message-port": "^1.0.0" } }, "sha512-54zMOnH5qgjdKW8SGpCx3daSP+v+TtTfOxgPdhUE3P0hytMMpknZfP67S4JeRcx5IQRWJERz6890yO4dkTywww=="], - "tar": ["tar@7.5.13", "", { "dependencies": { "@isaacs/fs-minipass": "^4.0.0", "chownr": "^3.0.0", "minipass": "^7.1.2", "minizlib": "^3.1.0", "yallist": "^5.0.0" } }, "sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng=="], + "sync-message-port": ["sync-message-port@1.2.0", "", {}, "sha512-gAQ9qrUN/UCypHtGFbbe7Rc/f9bzO88IwrG8TDo/aMKAApKyD6E3W4Cm0EfhfBb6Z6SKt59tTCTfD+n1xmAvMg=="], - "terser": ["terser@5.46.0", "", { "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg=="], + "tapable": ["tapable@2.3.2", "", {}, "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA=="], - "terser-webpack-plugin": ["terser-webpack-plugin@5.4.0", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", "schema-utils": "^4.3.0", "terser": "^5.31.1" }, "peerDependencies": { "webpack": "^5.1.0" } }, "sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g=="], + "terser": ["terser@5.51.2", "", { "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q=="], "thingies": ["thingies@2.6.0", "", { "peerDependencies": { "tslib": "^2" } }, "sha512-rMHRjmlFLM1R96UYPvpmnc3LYtdFrT33JIB7L9hetGue1qAPfn1N2LJeEjxUSidu1Iku+haLZXDuEXUHNGO/lg=="], "thunky": ["thunky@1.1.0", "", {}, "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA=="], - "tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], + "tinyglobby": ["tinyglobby@0.2.17", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="], "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="], @@ -1778,18 +1579,14 @@ "tsyringe": ["tsyringe@4.10.0", "", { "dependencies": { "tslib": "^1.9.3" } }, "sha512-axr3IdNuVIxnaK5XGEUFTu3YmAQ6lllgrvqfEoR16g/HGnYY/6We4oWENtAnzK6/LpJ2ur9PAb80RBt7/U4ugw=="], - "tuf-js": ["tuf-js@4.1.0", "", { "dependencies": { "@tufjs/models": "4.1.0", "debug": "^4.4.3", "make-fetch-happen": "^15.0.1" } }, "sha512-50QV99kCKH5P/Vs4E2Gzp7BopNV+KzTXqWeaxrfu5IQJBOULRsTIS9seSsOVT8ZnGXzCyx55nYWAi4qJzpZKEQ=="], - - "type-is": ["type-is@1.6.18", "", { "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" } }, "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g=="], + "type-is": ["type-is@2.0.1", "", { "dependencies": { "content-type": "^1.0.5", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw=="], "typed-assert": ["typed-assert@1.0.9", "", {}, "sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg=="], - "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], "uint8array-extras": ["uint8array-extras@1.5.0", "", {}, "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A=="], - "undici": ["undici@7.24.4", "", {}, "sha512-BM/JzwwaRXxrLdElV2Uo6cTLEjhSb3WXboncJamZ15NgUURmvlXvxa6xkwIOILIjPNo9i8ku136ZvWV0Uly8+w=="], - "undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="], "unicode-canonical-property-names-ecmascript": ["unicode-canonical-property-names-ecmascript@2.0.1", "", {}, "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg=="], @@ -1806,31 +1603,31 @@ "util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="], - "utils-merge": ["utils-merge@1.0.1", "", {}, "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA=="], - "uuid": ["uuid@14.0.3", "", { "bin": { "uuid": "dist-node/bin/uuid" } }, "sha512-Sc5u1VVln93y1Xnz4R+CunOZc7R9LUcTmhj7Rc7Eg3HVcf7rVn2FOoa812fe0W8p3jD7xeoGSYbfqCGGH2B6xw=="], "v8-compile-cache-lib": ["v8-compile-cache-lib@3.0.1", "", {}, "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="], - "validate-npm-package-name": ["validate-npm-package-name@7.0.2", "", {}, "sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A=="], + "validate-npm-package-name": ["validate-npm-package-name@8.0.0", "", {}, "sha512-SCv6OOV6Xj2/3cXy3dGmADluJTNcL3o7hZAglNPTe+WYuEuvxgJzxPrSDLZhF+CwyQOubqgecjMmTJGMVLWjYQ=="], + + "varint": ["varint@6.0.0", "", {}, "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg=="], "vary": ["vary@1.1.2", "", {}, "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="], - "vite": ["vite@7.3.1", "", { "dependencies": { "esbuild": "^0.27.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.15" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA=="], + "verkit": ["verkit@0.3.2", "", {}, "sha512-zj/ob3UsvJGN0whEAKFp53REA5X66hvffVqoCtVQAakJKnKlH+/PcOfMoFwIG/o4rElqLv/ycAFlx8ZlXUorCg=="], - "wait-on": ["wait-on@9.0.4", "", { "dependencies": { "axios": "^1.13.5", "joi": "^18.0.2", "lodash": "^4.17.23", "minimist": "^1.2.8", "rxjs": "^7.8.2" }, "bin": { "wait-on": "bin/wait-on" } }, "sha512-k8qrgfwrPVJXTeFY8tl6BxVHiclK11u72DVKhpybHfUL/K6KM4bdyK9EhIVYGytB5MJe/3lq4Tf0hrjM+pvJZQ=="], + "vite": ["vite@8.3.5", "", { "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", "postcss": "^8.5.30", "rolldown": "~1.2.14", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.7.1 || ^0.8.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ=="], - "watchpack": ["watchpack@2.5.1", "", { "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" } }, "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg=="], + "wait-on": ["wait-on@9.0.4", "", { "dependencies": { "axios": "^1.13.5", "joi": "^18.0.2", "lodash": "^4.17.23", "minimist": "^1.2.8", "rxjs": "^7.8.2" }, "bin": { "wait-on": "bin/wait-on" } }, "sha512-k8qrgfwrPVJXTeFY8tl6BxVHiclK11u72DVKhpybHfUL/K6KM4bdyK9EhIVYGytB5MJe/3lq4Tf0hrjM+pvJZQ=="], - "wbuf": ["wbuf@1.7.3", "", { "dependencies": { "minimalistic-assert": "^1.0.0" } }, "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA=="], + "watchpack": ["watchpack@2.6.3", "", { "dependencies": { "graceful-fs": "^4.1.2" } }, "sha512-s3NZy0QpTY9qGqzc0wtz4qI28z3+5qKbbAec4MV4G9N3CfgZ9wgvQRr0cl2jh/tqkWG1NWHkmVMHZpCamev5Wg=="], "weak-lru-cache": ["weak-lru-cache@1.2.2", "", {}, "sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw=="], - "webpack": ["webpack@5.105.2", "", { "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", "@types/json-schema": "^7.0.15", "@webassemblyjs/ast": "^1.14.1", "@webassemblyjs/wasm-edit": "^1.14.1", "@webassemblyjs/wasm-parser": "^1.14.1", "acorn": "^8.15.0", "acorn-import-phases": "^1.0.3", "browserslist": "^4.28.1", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.19.0", "es-module-lexer": "^2.0.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.11", "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.3.1", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "schema-utils": "^4.3.3", "tapable": "^2.3.0", "terser-webpack-plugin": "^5.3.16", "watchpack": "^2.5.1", "webpack-sources": "^3.3.3" }, "bin": { "webpack": "bin/webpack.js" } }, "sha512-dRXm0a2qcHPUBEzVk8uph0xWSjV/xZxenQQbLwnwP7caQCYpqG1qddwlyEkIDkYn0K8tvmcrZ+bOrzoQ3HxCDw=="], + "webpack": ["webpack@5.112.0", "", { "dependencies": { "@types/estree": "^1.0.8", "@types/json-schema": "^7.0.15", "@webassemblyjs/ast": "^1.14.1", "@webassemblyjs/wasm-edit": "^1.14.1", "@webassemblyjs/wasm-parser": "^1.14.1", "browserslist": "^4.28.1", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.26.0", "es-module-lexer": "^2.1.0", "events": "^3.2.0", "graceful-fs": "^4.2.11", "mime-db": "^1.54.0", "minimizer-webpack-plugin": "^5.13.0", "schema-utils": "^4.5.0", "tapable": "^2.3.0", "watchpack": "^2.6.1", "webpack-sources": "^3.6.0" }, "peerDependencies": { "webpack-cli": "*" }, "optionalPeers": ["webpack-cli"], "bin": { "webpack": "bin/webpack.js" } }, "sha512-NIBpsRuCll036haDDt/CfcTDfsWNR9Z782nMRMI9D377BsGcYzZDTNU5TyzhCJzPIcihAxMBaMAhq2WSaDrH8Q=="], - "webpack-dev-middleware": ["webpack-dev-middleware@7.4.5", "", { "dependencies": { "colorette": "^2.0.10", "memfs": "^4.43.1", "mime-types": "^3.0.1", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "schema-utils": "^4.0.0" }, "peerDependencies": { "webpack": "^5.0.0" }, "optionalPeers": ["webpack"] }, "sha512-uxQ6YqGdE4hgDKNf7hUiPXOdtkXvBJXrfEGYSx7P7LC8hnUYGK70X6xQXUvXeNyBDDcsiQXpG2m3G9vxowaEuA=="], + "webpack-dev-middleware": ["webpack-dev-middleware@8.5.0", "", { "dependencies": { "memfs": "^4.68.2", "mime-db": "^1.54.0", "range-parser": "^1.3.0", "schema-utils": "^4.3.3" }, "optionalDependencies": { "ws": "^8.18.3" }, "peerDependencies": { "webpack": "^5.101.0" }, "optionalPeers": ["webpack"] }, "sha512-+rXF28E5GKr7VnLH5qJaGIKLNPkthlA0VhqBFp/K6mjjCzOd6q34vYc2/3/ysRTjxmN01S98r1LwTTpWXDzWWA=="], - "webpack-dev-server": ["webpack-dev-server@5.2.3", "", { "dependencies": { "@types/bonjour": "^3.5.13", "@types/connect-history-api-fallback": "^1.5.4", "@types/express": "^4.17.25", "@types/express-serve-static-core": "^4.17.21", "@types/serve-index": "^1.9.4", "@types/serve-static": "^1.15.5", "@types/sockjs": "^0.3.36", "@types/ws": "^8.5.10", "ansi-html-community": "^0.0.8", "bonjour-service": "^1.2.1", "chokidar": "^3.6.0", "colorette": "^2.0.10", "compression": "^1.8.1", "connect-history-api-fallback": "^2.0.0", "express": "^4.22.1", "graceful-fs": "^4.2.6", "http-proxy-middleware": "^2.0.9", "ipaddr.js": "^2.1.0", "launch-editor": "^2.6.1", "open": "^10.0.3", "p-retry": "^6.2.0", "schema-utils": "^4.2.0", "selfsigned": "^5.5.0", "serve-index": "^1.9.1", "sockjs": "^0.3.24", "spdy": "^4.0.2", "webpack-dev-middleware": "^7.4.2", "ws": "^8.18.0" }, "peerDependencies": { "webpack": "^5.0.0" }, "optionalPeers": ["webpack"], "bin": { "webpack-dev-server": "bin/webpack-dev-server.js" } }, "sha512-9Gyu2F7+bg4Vv+pjbovuYDhHX+mqdqITykfzdM9UyKqKHlsE5aAjRhR+oOEfXW5vBeu8tarzlJFIZva4ZjAdrQ=="], + "webpack-dev-server": ["webpack-dev-server@6.0.0", "", { "dependencies": { "@types/bonjour": "^3.5.13", "@types/connect-history-api-fallback": "^1.5.4", "@types/express": "^5.0.6", "@types/express-serve-static-core": "^5.1.1", "@types/serve-index": "^1.9.4", "@types/serve-static": "^2.2.0", "@types/ws": "^8.18.1", "ansi-html-community": "^0.0.8", "bonjour-service": "^1.3.0", "chokidar": "^5.0.0", "compression": "^1.8.1", "connect-history-api-fallback": "^2.0.0", "express": "^5.2.1", "graceful-fs": "^4.2.11", "http-proxy-middleware": "^4.1.1", "ipaddr.js": "^2.3.0", "launch-editor": "^2.14.1", "open": "^11.0.0", "p-retry": "^8.0.0", "schema-utils": "^4.3.3", "selfsigned": "^5.5.0", "serve-index": "^1.9.2", "tinyglobby": "^0.2.15", "webpack-dev-middleware": "^8.0.3", "ws": "^8.20.0" }, "peerDependencies": { "webpack": "^5.101.0", "webpack-cli": "*" }, "optionalPeers": ["webpack", "webpack-cli"], "bin": { "webpack-dev-server": "bin/webpack-dev-server.js" } }, "sha512-q9SD4ItOGhZLeU6EGT10caDZdHjF50Pz1DtkRZZOPsfluMXOkacWKKOtSBSLVkPqKiF67eFUC0rI88U/tSFPEw=="], "webpack-merge": ["webpack-merge@6.0.1", "", { "dependencies": { "clone-deep": "^4.0.1", "flat": "^5.0.2", "wildcard": "^2.0.1" } }, "sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg=="], @@ -1838,27 +1635,23 @@ "webpack-subresource-integrity": ["webpack-subresource-integrity@5.1.0", "", { "dependencies": { "typed-assert": "^1.0.8" }, "peerDependencies": { "html-webpack-plugin": ">= 5.0.0-beta.1 < 6", "webpack": "^5.12.0" }, "optionalPeers": ["html-webpack-plugin"] }, "sha512-sacXoX+xd8r4WKsy9MvH/q/vBtEHr86cpImXwyg74pFIpERKt6FmB8cXpeuh0ZLgclOlHI4Wcll7+R5L02xk9Q=="], - "websocket-driver": ["websocket-driver@0.7.4", "", { "dependencies": { "http-parser-js": ">=0.5.1", "safe-buffer": ">=5.1.0", "websocket-extensions": ">=0.1.1" } }, "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg=="], - - "websocket-extensions": ["websocket-extensions@0.1.4", "", {}, "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="], - - "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], - "wildcard": ["wildcard@2.0.1", "", {}, "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ=="], - "wrap-ansi": ["wrap-ansi@9.0.2", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=="], + "wrap-ansi": ["wrap-ansi@10.0.2", "", { "dependencies": { "ansi-styles": "^6.2.3", "string-width": "^8.2.0" } }, "sha512-6OLRNZqRntVGBm26ghZ5eZhCuWWyOkRCSn8XsOIuq5stpCE/tjLbdozd93naILZig0lmD8ANfRwnhn0DLeXGlg=="], "wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="], "ws": ["ws@8.20.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA=="], - "wsl-utils": ["wsl-utils@0.3.1", "", { "dependencies": { "is-wsl": "^3.1.0", "powershell-utils": "^0.1.0" } }, "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg=="], + "wsl-utils": ["wsl-utils@1.0.1", "", { "dependencies": { "is-wsl": "^3.1.0", "powershell-utils": "^0.2.0" } }, "sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ=="], + + "xxhash-wasm": ["xxhash-wasm@1.1.0", "", {}, "sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA=="], "y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="], - "yallist": ["yallist@5.0.0", "", {}, "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw=="], + "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="], - "yargs": ["yargs@18.0.0", "", { "dependencies": { "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "string-width": "^7.2.0", "y18n": "^5.0.5", "yargs-parser": "^22.0.0" } }, "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg=="], + "yargs": ["yargs@18.1.0", "", { "dependencies": { "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "string-width": "^8.2.1", "y18n": "^5.0.5", "yargs-parser": "^22.0.0" } }, "sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg=="], "yargs-parser": ["yargs-parser@22.0.0", "", {}, "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw=="], @@ -1868,33 +1661,37 @@ "yoctocolors": ["yoctocolors@2.1.2", "", {}, "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug=="], - "yoctocolors-cjs": ["yoctocolors-cjs@2.1.3", "", {}, "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw=="], + "zod": ["zod@4.6.6", "", {}, "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA=="], - "zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="], + "zone.js": ["zone.js@0.16.1", "", {}, "sha512-dpvY17vxYIW3+bNrP0ClUlaiY0CiIRK3tnoLaGoQsQcY9/I/NpzIWQ7tQNhbV7LacQMpCII6wVzuL3tuWOyfuA=="], - "zod-to-json-schema": ["zod-to-json-schema@3.25.2", "", { "peerDependencies": { "zod": "^3.25.28 || ^4" } }, "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA=="], + "@angular/compiler-cli/@babel/core": ["@babel/core@8.0.1", "", { "dependencies": { "@babel/code-frame": "^8.0.0", "@babel/generator": "^8.0.0", "@babel/helper-compilation-targets": "^8.0.0", "@babel/helpers": "^8.0.0", "@babel/parser": "^8.0.0", "@babel/template": "^8.0.0", "@babel/traverse": "^8.0.0", "@babel/types": "^8.0.0", "@types/gensync": "^1.0.5", "convert-source-map": "^2.0.0", "empathic": "^2.0.1", "gensync": "^1.0.0-beta.2", "import-meta-resolve": "^4.2.0", "json5": "^2.2.3", "obug": "^2.1.1", "semver": "^7.7.3" } }, "sha512-5FgxM4dLQpMJHSiVATk8foW263dVHQHBVpXYiimNECVWG01f4nFyEbQixeT6Mwvg7TayREJ2gpKl3o2RoMdnqw=="], - "zone.js": ["zone.js@0.16.1", "", {}, "sha512-dpvY17vxYIW3+bNrP0ClUlaiY0CiIRK3tnoLaGoQsQcY9/I/NpzIWQ7tQNhbV7LacQMpCII6wVzuL3tuWOyfuA=="], + "@angular/compiler-cli/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + + "@angular/forms/zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="], + + "@babel/core/@babel/generator": ["@babel/generator@8.0.6", "", { "dependencies": { "@babel/parser": "^8.0.6", "@babel/types": "^8.0.6", "@jridgewell/gen-mapping": "0.4.0-beta.0", "@jridgewell/trace-mapping": "^0.3.31", "@types/jsesc": "^2.5.0", "jsesc": "^3.0.2" } }, "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng=="], "@babel/core/convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], - "@babel/core/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/generator/@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.4.0-beta.0", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w=="], - "@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/helper-compilation-targets/verkit": ["verkit@0.5.0", "", {}, "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g=="], - "@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/helper-create-class-features-plugin/verkit": ["verkit@0.5.0", "", {}, "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g=="], - "@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/helper-create-regexp-features-plugin/verkit": ["verkit@0.5.0", "", {}, "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g=="], - "@babel/plugin-transform-runtime/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/helper-split-export-declaration/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/preset-env/babel-plugin-polyfill-corejs3": ["babel-plugin-polyfill-corejs3@0.14.2", "", { "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.8", "core-js-compat": "^3.48.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-coWpDLJ410R781Npmn/SIBZEsAetR4xVi0SxLMXPaMO4lSf1MwnkGYMtkFxew0Dn8B3/CpbpYxN0JCgg8mn67g=="], + "@babel/traverse/@babel/generator": ["@babel/generator@8.0.6", "", { "dependencies": { "@babel/parser": "^8.0.6", "@babel/types": "^8.0.6", "@jridgewell/gen-mapping": "0.4.0-beta.0", "@jridgewell/trace-mapping": "^0.3.31", "@types/jsesc": "^2.5.0", "jsesc": "^3.0.2" } }, "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng=="], - "@babel/preset-env/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/traverse/obug": ["obug@3.0.0", "", {}, "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw=="], "@cspotcode/source-map-support/@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.9", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="], - "@inquirer/core/wrap-ansi": ["wrap-ansi@6.2.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA=="], + "@inquirer/confirm/@inquirer/type": ["@inquirer/type@4.1.1", "", { "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-yJoHYrMnxIsJZCY+0Vb66Dy3he3kL3e2wOBKhoSwWWAzZAY82emlxwgprCtp6yRixvNRNq9ztfRWQYPNr3Go7A=="], "@inquirer/external-editor/iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="], @@ -1906,91 +1703,85 @@ "@jsonjoy.com/util/@jsonjoy.com/buffers": ["@jsonjoy.com/buffers@1.2.1", "", { "peerDependencies": { "tslib": "2" } }, "sha512-12cdlDwX4RUM3QxmUbVJWqZ/mrK6dFQH4Zxq6+r1YXKXYBNgZXndx2qbCJwh3+WWkCSn67IjnlG3XYTvmvYtgA=="], - "@modelcontextprotocol/sdk/express": ["express@5.2.1", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw=="], + "@modelcontextprotocol/core/zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="], - "@npmcli/agent/lru-cache": ["lru-cache@11.2.7", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="], + "@modelcontextprotocol/server/zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="], - "@npmcli/git/lru-cache": ["lru-cache@11.2.7", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="], + "@napi-rs/wasm-runtime/@emnapi/core": ["@emnapi/core@1.9.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.0", "tslib": "^2.4.0" } }, "sha512-mukuNALVsoix/w1BJwFzwXBN/dHeejQtuVzcDsfOEsdpCumXb/E9j8w11h5S54tT1xhifGfbbSm/ICrObRb3KA=="], - "@npmcli/git/which": ["which@6.0.1", "", { "dependencies": { "isexe": "^4.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg=="], + "@napi-rs/wasm-runtime/@emnapi/runtime": ["@emnapi/runtime@1.9.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-VYi5+ZVLhpgK4hQ0TAjiQiZ6ol0oe4mBx7mVv7IflsiEp0OWoVsp/+f9Vc1hOhE0TtkORVrI1GvzyreqpgWtkA=="], - "@npmcli/package-json/json-parse-even-better-errors": ["json-parse-even-better-errors@5.0.0", "", {}, "sha512-ZF1nxZ28VhQouRWhUcVlUIN3qwSgPuswK05s/HIaoetAoE/9tngVmCHjSxmSQPav1nd+lPtTL0YZ/2AFdR/iYQ=="], + "@parcel/watcher/node-addon-api": ["node-addon-api@7.1.1", "", {}, "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ=="], - "@npmcli/promise-spawn/which": ["which@6.0.1", "", { "dependencies": { "isexe": "^4.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg=="], + "@parcel/watcher/picomatch": ["picomatch@4.0.4", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], - "@parcel/watcher/node-addon-api": ["node-addon-api@7.1.1", "", {}, "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ=="], + "@types/connect-history-api-fallback/@types/express-serve-static-core": ["@types/express-serve-static-core@4.19.8", "", { "dependencies": { "@types/node": "*", "@types/qs": "*", "@types/range-parser": "*", "@types/send": "*" } }, "sha512-02S5fmqeoKzVZCHPZid4b8JH2eM5HzQLZWN2FohQEy/0eXTq8VXZfSN6Pcr3F6N9R/vNrj7cpgbhjie6m/1tCA=="], - "accepts/negotiator": ["negotiator@0.6.3", "", {}, "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="], + "@types/serve-index/@types/express": ["@types/express@4.17.25", "", { "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", "@types/qs": "*", "@types/serve-static": "^1" } }, "sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw=="], - "adjust-sourcemap-loader/loader-utils": ["loader-utils@2.0.4", "", { "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", "json5": "^2.1.2" } }, "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw=="], + "accepts/negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], - "anymatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], + "adjust-sourcemap-loader/loader-utils": ["loader-utils@2.0.4", "", { "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", "json5": "^2.1.2" } }, "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw=="], - "babel-plugin-polyfill-corejs2/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "ajv-formats/ajv": ["ajv@8.18.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A=="], - "body-parser/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], + "autoprefixer/browserslist": ["browserslist@4.29.5", "", { "dependencies": { "baseline-browser-mapping": "^2.11.33", "caniuse-lite": "^1.0.30001819", "electron-to-chromium": "^1.5.464", "node-releases": "^2.0.60", "update-browserslist-db": "^1.3.4" }, "bin": { "browserslist": "cli.js" } }, "sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ=="], - "body-parser/iconv-lite": ["iconv-lite@0.4.24", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3" } }, "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA=="], + "beasties/postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], - "body-parser/raw-body": ["raw-body@2.5.3", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.4.24", "unpipe": "~1.0.0" } }, "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA=="], + "body-parser/iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="], - "cacache/lru-cache": ["lru-cache@11.2.7", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="], + "browserslist/caniuse-lite": ["caniuse-lite@1.0.30001782", "", {}, "sha512-dZcaJLJeDMh4rELYFw1tvSn1bhZWYFOt468FcbHHxx/Z/dFidd1I6ciyFdi3iwfQCyOjqo9upF6lGQYtMiJWxw=="], "chalk/supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="], "cliui/string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="], - "clone-deep/is-plain-object": ["is-plain-object@2.0.4", "", { "dependencies": { "isobject": "^3.0.1" } }, "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og=="], - - "compressible/mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], + "cliui/wrap-ansi": ["wrap-ansi@9.0.2", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=="], "compression/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], "concurrently/yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="], - "dom-serializer/entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="], - - "esrecurse/estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="], + "copy-webpack-plugin/tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], - "express/cookie": ["cookie@0.7.2", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="], - - "express/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], + "css-loader/postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], - "finalhandler/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], + "css-loader/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], - "hosted-git-info/lru-cache": ["lru-cache@11.2.7", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="], + "enhanced-resolve/tapable": ["tapable@2.3.3", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="], - "hpack.js/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="], + "express/cookie": ["cookie@0.7.2", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="], - "htmlparser2/entities": ["entities@7.0.1", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="], + "express/range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="], - "http-proxy/eventemitter3": ["eventemitter3@4.0.7", "", {}, "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="], + "form-data/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], - "less/source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], + "istanbul-lib-instrument/@babel/core": ["@babel/core@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-module-transforms": "^7.28.6", "@babel/helpers": "^7.28.6", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/traverse": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA=="], - "log-update/slice-ansi": ["slice-ansi@7.1.2", "", { "dependencies": { "ansi-styles": "^6.2.1", "is-fullwidth-code-point": "^5.0.0" } }, "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w=="], + "istanbul-lib-instrument/@babel/parser": ["@babel/parser@7.29.2", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="], - "lru-cache/yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="], + "istanbul-lib-instrument/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], - "make-dir/semver": ["semver@5.7.2", "", { "bin": { "semver": "bin/semver" } }, "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g=="], + "launch-editor/shell-quote": ["shell-quote@1.12.0", "", {}, "sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q=="], - "make-fetch-happen/negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], + "less/source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], "micromatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], - "minipass-fetch/iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="], + "minimizer-webpack-plugin/schema-utils": ["schema-utils@4.8.1", "", { "dependencies": { "@types/json-schema": "^7.0.15", "ajv": "^8.20.0", "ajv-formats": "^3.0.1", "ajv-keywords": "^5.1.0" }, "peerDependencies": { "webpack": "^5.112.0" }, "optionalPeers": ["webpack"], "bin": { "schema-utils": "bin/schema-utils.js" } }, "sha512-x39pYlJPyH7Uge5QO64B9XGP9zLDc9WNmiQZc+CE3IzZPvMu3lHOuAMGpYNoPixEL7MSWlGhYTg5UlLSL8G6iw=="], - "minipass-flush/minipass": ["minipass@3.3.6", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="], + "npm-package-arg/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], - "minipass-pipeline/minipass": ["minipass@3.3.6", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="], + "ora/chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="], - "node-gyp/which": ["which@6.0.1", "", { "dependencies": { "isexe": "^4.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg=="], + "parse-json/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - "ora/chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="], + "parse5/entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="], - "path-scurry/lru-cache": ["lru-cache@11.2.7", "", {}, "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA=="], + "postcss-loader/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], - "promise-retry/retry": ["retry@0.12.0", "", {}, "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow=="], + "probe-image-size/needle": ["needle@2.9.1", "", { "dependencies": { "debug": "^3.2.6", "iconv-lite": "^0.4.4", "sax": "^1.2.4" }, "bin": { "needle": "./bin/needle" } }, "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ=="], "proxy-addr/ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="], @@ -1998,47 +1789,59 @@ "resolve-url-loader/loader-utils": ["loader-utils@2.0.4", "", { "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", "json5": "^2.1.2" } }, "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw=="], + "resolve-url-loader/postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], + "resolve-url-loader/source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], - "router/path-to-regexp": ["path-to-regexp@8.4.0", "", {}, "sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg=="], + "rolldown/@oxc-project/types": ["@oxc-project/types@0.155.0", "", {}, "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q=="], - "sass/chokidar": ["chokidar@4.0.3", "", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="], + "schema-utils/ajv": ["ajv@8.18.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A=="], "schema-utils/ajv-formats": ["ajv-formats@2.1.1", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA=="], - "send/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], + "send/range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="], + + "serve-index/accepts": ["accepts@1.3.8", "", { "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" } }, "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw=="], "serve-index/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], "serve-index/http-errors": ["http-errors@1.8.1", "", { "dependencies": { "depd": "~1.1.2", "inherits": "2.0.4", "setprototypeof": "1.2.0", "statuses": ">= 1.5.0 < 2", "toidentifier": "1.0.1" } }, "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g=="], + "serve-index/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], + "slice-ansi/ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], "slice-ansi/is-fullwidth-code-point": ["is-fullwidth-code-point@5.1.0", "", { "dependencies": { "get-east-asian-width": "^1.3.1" } }, "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ=="], - "sockjs/uuid": ["uuid@8.3.2", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="], - "source-map-support/source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], + "tinyglobby/picomatch": ["picomatch@4.0.4", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], + "tsyringe/tslib": ["tslib@1.14.1", "", {}, "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="], - "webpack-dev-middleware/mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="], + "vite/postcss": ["postcss@8.5.32", "", { "dependencies": { "nanoid": "^3.3.20", "picocolors": "^1.1.1", "source-map-js": "^1.2.2" } }, "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g=="], - "webpack-dev-server/chokidar": ["chokidar@3.6.0", "", { "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" }, "optionalDependencies": { "fsevents": "~2.3.2" } }, "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw=="], + "webpack/schema-utils": ["schema-utils@4.8.1", "", { "dependencies": { "@types/json-schema": "^7.0.15", "ajv": "^8.20.0", "ajv-formats": "^3.0.1", "ajv-keywords": "^5.1.0" }, "peerDependencies": { "webpack": "^5.112.0" }, "optionalPeers": ["webpack"], "bin": { "schema-utils": "bin/schema-utils.js" } }, "sha512-x39pYlJPyH7Uge5QO64B9XGP9zLDc9WNmiQZc+CE3IzZPvMu3lHOuAMGpYNoPixEL7MSWlGhYTg5UlLSL8G6iw=="], - "webpack-dev-server/http-proxy-middleware": ["http-proxy-middleware@2.0.9", "", { "dependencies": { "@types/http-proxy": "^1.17.8", "http-proxy": "^1.18.1", "is-glob": "^4.0.1", "is-plain-obj": "^3.0.0", "micromatch": "^4.0.2" }, "peerDependencies": { "@types/express": "^4.17.13" }, "optionalPeers": ["@types/express"] }, "sha512-c1IyJYLYppU574+YI7R4QyX2ystMtVXZwIdzazUIPIJsHuWNd+mho2j+bKoHftndicGj9yh+xjd+l0yj7VeT1Q=="], + "webpack/webpack-sources": ["webpack-sources@3.6.0", "", {}, "sha512-EIMmPVvNI0CYXyRPp34F2Qk7W37/BZVZIofS6LAUnrNjCVahS+hO4mxwFJDjQjODTGZDtVzLYoN2+1dYkhk9qA=="], - "webpack-dev-server/open": ["open@10.2.0", "", { "dependencies": { "default-browser": "^5.2.1", "define-lazy-prop": "^3.0.0", "is-inside-container": "^1.0.0", "wsl-utils": "^0.1.0" } }, "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA=="], + "webpack-dev-server/tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], "wrap-ansi/ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], - "wrap-ansi/string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="], + "yargs/string-width": ["string-width@8.3.0", "", { "dependencies": { "get-east-asian-width": "^1.5.0", "strip-ansi": "^7.1.2" } }, "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ=="], + + "@angular/compiler-cli/@babel/core/@babel/generator": ["@babel/generator@8.0.6", "", { "dependencies": { "@babel/parser": "^8.0.6", "@babel/types": "^8.0.6", "@jridgewell/gen-mapping": "0.4.0-beta.0", "@jridgewell/trace-mapping": "^0.3.31", "@types/jsesc": "^2.5.0", "jsesc": "^3.0.2" } }, "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng=="], - "yargs/string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="], + "@angular/compiler-cli/@babel/core/convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], - "@inquirer/core/wrap-ansi/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], + "@babel/core/@babel/generator/@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.4.0-beta.0", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w=="], - "@inquirer/core/wrap-ansi/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + "@babel/helper-split-export-declaration/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@babel/helper-split-export-declaration/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/traverse/@babel/generator/@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.4.0-beta.0", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w=="], "@jsonjoy.com/fs-snapshot/@jsonjoy.com/json-pack/@jsonjoy.com/base64": ["@jsonjoy.com/base64@17.67.0", "", { "peerDependencies": { "tslib": "2" } }, "sha512-5SEsJGsm15aP8TQGkDfJvz9axgPwAEm98S5DxOuYe8e1EbfajcDmgeXXzccEjh+mLnjqEKrkBdjHWS5vFNwDdw=="], @@ -2048,65 +1851,73 @@ "@jsonjoy.com/fs-snapshot/@jsonjoy.com/util/@jsonjoy.com/codegen": ["@jsonjoy.com/codegen@17.67.0", "", { "peerDependencies": { "tslib": "2" } }, "sha512-idnkUplROpdBOV0HMcwhsCUS5TRUi9poagdGs70A6S4ux9+/aPuKbh8+UYRTLYQHtXvAdNfQWXDqZEx5k4Dj2Q=="], - "@modelcontextprotocol/sdk/express/accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="], + "@napi-rs/wasm-runtime/@emnapi/core/@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.2.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg=="], - "@modelcontextprotocol/sdk/express/body-parser": ["body-parser@2.2.2", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", "debug": "^4.4.3", "http-errors": "^2.0.0", "iconv-lite": "^0.7.0", "on-finished": "^2.4.1", "qs": "^6.14.1", "raw-body": "^3.0.1", "type-is": "^2.0.1" } }, "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA=="], + "@types/serve-index/@types/express/@types/express-serve-static-core": ["@types/express-serve-static-core@4.19.8", "", { "dependencies": { "@types/node": "*", "@types/qs": "*", "@types/range-parser": "*", "@types/send": "*" } }, "sha512-02S5fmqeoKzVZCHPZid4b8JH2eM5HzQLZWN2FohQEy/0eXTq8VXZfSN6Pcr3F6N9R/vNrj7cpgbhjie6m/1tCA=="], - "@modelcontextprotocol/sdk/express/content-disposition": ["content-disposition@1.0.1", "", {}, "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q=="], + "@types/serve-index/@types/express/@types/serve-static": ["@types/serve-static@1.15.10", "", { "dependencies": { "@types/http-errors": "*", "@types/node": "*", "@types/send": "<1" } }, "sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw=="], - "@modelcontextprotocol/sdk/express/cookie": ["cookie@0.7.2", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="], + "autoprefixer/browserslist/baseline-browser-mapping": ["baseline-browser-mapping@2.11.34", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-Aqr8mA1kIvyJ3UY5YAY7ib8LSo1DmDMbMnVqGPtsKW1LxaFQFwn9Eb3yvq2fUKJsRvaXjnAV7R5osqETapzNiA=="], - "@modelcontextprotocol/sdk/express/cookie-signature": ["cookie-signature@1.2.2", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="], + "autoprefixer/browserslist/electron-to-chromium": ["electron-to-chromium@1.5.467", "", {}, "sha512-Nw9X371rtZmYcBSnEijnCDONILjs93biCZO34juC7MBOmK8E+GFnyD4T/WvyrlJkppul7oxg6TwvtKst9SODTw=="], - "@modelcontextprotocol/sdk/express/finalhandler": ["finalhandler@2.1.1", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="], + "autoprefixer/browserslist/node-releases": ["node-releases@2.0.60", "", {}, "sha512-OmO8+GM1JUZqXET720VrJCwkjUCXmCMQm0Z3UDDRbfNLHS4NEAvY60j5jiFv0tkKw2PNNlqOLhahVmwJIOLDIQ=="], - "@modelcontextprotocol/sdk/express/fresh": ["fresh@2.0.0", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="], + "autoprefixer/browserslist/update-browserslist-db": ["update-browserslist-db@1.3.4", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A=="], - "@modelcontextprotocol/sdk/express/merge-descriptors": ["merge-descriptors@2.0.0", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="], + "beasties/postcss/nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], - "@modelcontextprotocol/sdk/express/mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="], + "cliui/string-width/emoji-regex": ["emoji-regex@10.6.0", "", {}, "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="], - "@modelcontextprotocol/sdk/express/send": ["send@1.2.1", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="], + "cliui/wrap-ansi/ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], - "@modelcontextprotocol/sdk/express/serve-static": ["serve-static@2.2.1", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="], + "compression/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], - "@modelcontextprotocol/sdk/express/type-is": ["type-is@2.0.1", "", { "dependencies": { "content-type": "^1.0.5", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw=="], + "concurrently/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="], - "@npmcli/git/which/isexe": ["isexe@4.0.0", "", {}, "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw=="], + "concurrently/yargs/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], - "@npmcli/promise-spawn/which/isexe": ["isexe@4.0.0", "", {}, "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw=="], + "concurrently/yargs/yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="], - "body-parser/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], + "copy-webpack-plugin/tinyglobby/picomatch": ["picomatch@4.0.4", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], - "compression/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], + "css-loader/postcss/nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], - "concurrently/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="], + "form-data/mime-types/mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], - "concurrently/yargs/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], + "istanbul-lib-instrument/@babel/core/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - "concurrently/yargs/yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="], + "istanbul-lib-instrument/@babel/core/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "istanbul-lib-instrument/@babel/core/@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.28.6", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA=="], + + "istanbul-lib-instrument/@babel/core/@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.28.6", "", { "dependencies": { "@babel/helper-module-imports": "^7.28.6", "@babel/helper-validator-identifier": "^7.28.5", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA=="], - "express/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], + "istanbul-lib-instrument/@babel/core/@babel/helpers": ["@babel/helpers@7.29.2", "", { "dependencies": { "@babel/template": "^7.28.6", "@babel/types": "^7.29.0" } }, "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw=="], - "finalhandler/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], + "istanbul-lib-instrument/@babel/core/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - "hpack.js/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="], + "istanbul-lib-instrument/@babel/core/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - "hpack.js/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="], + "istanbul-lib-instrument/@babel/core/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "log-update/slice-ansi/ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], + "istanbul-lib-instrument/@babel/core/convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], - "log-update/slice-ansi/is-fullwidth-code-point": ["is-fullwidth-code-point@5.1.0", "", { "dependencies": { "get-east-asian-width": "^1.3.1" } }, "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ=="], + "istanbul-lib-instrument/@babel/core/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "minipass-flush/minipass/yallist": ["yallist@4.0.0", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="], + "istanbul-lib-instrument/@babel/parser/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "minipass-pipeline/minipass/yallist": ["yallist@4.0.0", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="], + "parse-json/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - "node-gyp/which/isexe": ["isexe@4.0.0", "", {}, "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw=="], + "parse-json/@babel/code-frame/js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], - "sass/chokidar/readdirp": ["readdirp@4.1.2", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="], + "probe-image-size/needle/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="], - "send/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], + "probe-image-size/needle/iconv-lite": ["iconv-lite@0.4.24", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3" } }, "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA=="], + + "resolve-url-loader/postcss/nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], + + "serve-index/accepts/negotiator": ["negotiator@0.6.3", "", {}, "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="], "serve-index/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], @@ -2114,35 +1925,43 @@ "serve-index/http-errors/statuses": ["statuses@1.5.0", "", {}, "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA=="], - "webpack-dev-middleware/mime-types/mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], + "serve-index/mime-types/mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], + + "vite/postcss/source-map-js": ["source-map-js@1.2.2", "", {}, "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="], + + "webpack-dev-server/tinyglobby/picomatch": ["picomatch@4.0.4", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], - "webpack-dev-server/chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], + "@angular/compiler-cli/@babel/core/@babel/generator/@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.4.0-beta.0", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w=="], - "webpack-dev-server/chokidar/readdirp": ["readdirp@3.6.0", "", { "dependencies": { "picomatch": "^2.2.1" } }, "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA=="], + "concurrently/yargs/cliui/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], - "webpack-dev-server/open/wsl-utils": ["wsl-utils@0.1.0", "", { "dependencies": { "is-wsl": "^3.1.0" } }, "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw=="], + "concurrently/yargs/cliui/wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="], - "@inquirer/core/wrap-ansi/string-width/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], + "concurrently/yargs/string-width/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], - "@inquirer/core/wrap-ansi/strip-ansi/ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], + "istanbul-lib-instrument/@babel/core/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - "@modelcontextprotocol/sdk/express/accepts/negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], + "istanbul-lib-instrument/@babel/core/@babel/code-frame/js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], - "@modelcontextprotocol/sdk/express/body-parser/iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="], + "istanbul-lib-instrument/@babel/core/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], - "@modelcontextprotocol/sdk/express/mime-types/mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], + "istanbul-lib-instrument/@babel/core/@babel/helper-compilation-targets/@babel/helper-validator-option": ["@babel/helper-validator-option@7.27.1", "", {}, "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg=="], - "@modelcontextprotocol/sdk/express/type-is/media-typer": ["media-typer@1.1.0", "", {}, "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw=="], + "istanbul-lib-instrument/@babel/core/@babel/helper-compilation-targets/lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], - "concurrently/yargs/cliui/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + "istanbul-lib-instrument/@babel/core/@babel/helper-module-transforms/@babel/helper-module-imports": ["@babel/helper-module-imports@7.28.6", "", { "dependencies": { "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw=="], - "concurrently/yargs/cliui/wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="], + "istanbul-lib-instrument/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - "concurrently/yargs/string-width/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], + "istanbul-lib-instrument/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], - "concurrently/yargs/string-width/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + "istanbul-lib-instrument/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "istanbul-lib-instrument/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "istanbul-lib-instrument/@babel/parser/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - "webpack-dev-server/chokidar/readdirp/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], + "istanbul-lib-instrument/@babel/parser/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "concurrently/yargs/cliui/strip-ansi/ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], diff --git a/package.json b/package.json index 4a53e832..2870b602 100644 --- a/package.json +++ b/package.json @@ -42,19 +42,19 @@ "bun": ">=1.0.0" }, "dependencies": { - "@angular/animations": "21.2.6", - "@angular/cdk": "21.2.4", - "@angular/common": "21.2.6", - "@angular/compiler": "21.2.6", - "@angular/core": "21.2.6", - "@angular/forms": "21.2.6", - "@angular/material": "21.2.4", - "@angular/platform-browser": "21.2.6", - "@angular/platform-browser-dynamic": "21.2.6", - "@angular/router": "21.2.6", + "@angular/animations": "22.2.3", + "@angular/cdk": "22.2.4", + "@angular/common": "22.2.3", + "@angular/compiler": "22.2.3", + "@angular/core": "22.2.3", + "@angular/forms": "22.2.3", + "@angular/material": "22.2.4", + "@angular/platform-browser": "22.2.3", + "@angular/platform-browser-dynamic": "22.2.3", + "@angular/router": "22.2.3", "@kompakkt/common": "git+https://github.com/Kompakkt/Common.git#49b7d222f9d6edd719ae7183ba53c96acedd9d0f", - "@kompakkt/komponents": "git+https://github.com/Kompakkt/Komponents.git#2bd681606d9b50f24856d6764b5aaf56953a4a39", - "@kompakkt/plugins": "git+https://github.com/Kompakkt/Plugins.git#3ce5c36c4a82683c984fed0ca259217c49878e91", + "@kompakkt/komponents": "git+https://github.com/Kompakkt/Komponents.git#a8299aa77713b01270aa43d2a69a3a6ba26959e7", + "@kompakkt/plugins": "git+https://github.com/Kompakkt/Plugins.git#0ff71dfc2f48041b5e8ea3d652f7c0101f2813ad", "@kompakkt/server-openapi": "git+https://github.com/Kompakkt/Server.git#d73de702a6b2a94c4824f95e5fef008ac18d572b", "bson-objectid": "^2.0.4", "fast-deep-equal": "^3.1.3", @@ -68,10 +68,10 @@ "zone.js": "0.16.1" }, "devDependencies": { - "@angular-devkit/build-angular": "21.2.5", - "@angular/cli": "21.2.5", - "@angular/compiler-cli": "21.2.6", - "@angular/language-service": "21.2.6", + "@angular-devkit/build-angular": "22.2.5", + "@angular/cli": "22.2.5", + "@angular/compiler-cli": "22.2.3", + "@angular/language-service": "22.2.3", "@types/bun": "^1.4.3", "@types/fscreen": "1.0.4", "@types/node": "^25.5.0", @@ -81,19 +81,20 @@ "oxlint": "^1.57.0", "oxlint-tsgolint": "^0.18.1", "ts-node": "~10.9.2", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "wait-on": "^9.0.4" }, "overrides": { "@kompakkt/komponents": { - "@angular/core": "21.2.6" + "@angular/core": "22.2.3" }, "@kompakkt/plugins": { - "@angular/core": "21.2.6", + "@angular/core": "22.2.3", "@kompakkt/common": "git+https://github.com/Kompakkt/Common.git#49b7d222f9d6edd719ae7183ba53c96acedd9d0f" } }, "trustedDependencies": [ + "@kompakkt/common", "@kompakkt/plugins" ] -} +} \ No newline at end of file diff --git a/src/app/app.component.ts b/src/app/app.component.ts index ebef61cf..65dac37d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -9,6 +9,7 @@ import { inject, signal, viewChild, + ChangeDetectionStrategy } from '@angular/core'; import { MatSidenavModule } from '@angular/material/sidenav'; @@ -26,6 +27,7 @@ import { MatButtonModule } from '@angular/material/button'; selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatSidenavModule, MatButtonModule, diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 2e60acb8..90cf8780 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,19 +1,17 @@ import { Routes } from '@angular/router'; -import { - AboutComponent, - AdminPageComponent, - AnnotateComponent, - DetailPageComponent, - ExploreComponent, - HomeComponent, - ImprintComponent, - NotFoundComponent, - PrivacyComponent, - ProfilePageComponent, -} from './pages'; - import { AuthenticatedGuard } from './guards'; +import { HomeComponent } from './pages/home/home.component'; +import { PrivacyComponent } from './pages/static-pages/privacy/privacy.component'; +import { ImprintComponent } from './pages/static-pages/imprint/imprint.component'; +import { AboutComponent } from './pages/static-pages/about/about.component'; +import { DetailPageComponent } from './pages/detail-page/detail-page.component'; +import { ExploreComponent } from './pages/explore/explore.component'; +import { ProfilePageComponent } from './pages/profile-page/profile-page.component'; +import { AdminPageComponent } from './pages/admin-page/admin-page.component'; +import { AnnotateComponent } from './pages/annotate/annotate.component'; +import { NotFoundComponent } from './pages/notfound/notfound.component'; +import { DebugPageComponent } from './pages/debug-page/debug-page.component'; export const routes: Routes = [ { @@ -104,6 +102,10 @@ export const routes: Routes = [ path: '404', component: NotFoundComponent, }, + { + path: '__debug', + component: DebugPageComponent, + }, { path: '**', redirectTo: '/404', diff --git a/src/app/components/actionbar/actionbar.component.ts b/src/app/components/actionbar/actionbar.component.ts index 2fbefaf4..1665445a 100644 --- a/src/app/components/actionbar/actionbar.component.ts +++ b/src/app/components/actionbar/actionbar.component.ts @@ -1,6 +1,6 @@ import { filter, firstValueFrom, map, of, shareReplay, switchMap, tap } from 'rxjs'; -import { Component, computed, inject, input, signal, viewChild } from '@angular/core'; +import { Component, computed, inject, input, signal, viewChild, ChangeDetectionStrategy } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatSelectModule } from '@angular/material/select'; import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; @@ -43,6 +43,7 @@ import { PermissionService } from 'src/app/services/permissions.service'; selector: 'app-actionbar', templateUrl: './actionbar.component.html', styleUrls: ['./actionbar.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatToolbarModule, MatButtonModule, diff --git a/src/app/components/compilation-detail/compilation-detail.component.ts b/src/app/components/compilation-detail/compilation-detail.component.ts index 46f139fd..26962137 100644 --- a/src/app/components/compilation-detail/compilation-detail.component.ts +++ b/src/app/components/compilation-detail/compilation-detail.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { DatePipe } from '@angular/common'; import { MatIconModule } from '@angular/material/icon'; import { MatTooltipModule } from '@angular/material/tooltip'; @@ -11,6 +11,7 @@ import { UploadedByComponent } from '../uploaded-by/uploaded-by.component'; selector: 'app-compilation-detail', templateUrl: './compilation-detail.component.html', styleUrls: ['./compilation-detail.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ DatePipe, MatTooltipModule, diff --git a/src/app/components/entity-detail/detail-entity/detail-entity.component.ts b/src/app/components/entity-detail/detail-entity/detail-entity.component.ts index d0800e81..ebc36f8f 100644 --- a/src/app/components/entity-detail/detail-entity/detail-entity.component.ts +++ b/src/app/components/entity-detail/detail-entity/detail-entity.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { MatExpansionModule } from '@angular/material/expansion'; import { Licences } from 'src/app/metadata/licences'; import { @@ -33,6 +33,7 @@ const isAddress = (obj: IAddress): obj is IAddress => { selector: 'app-detail-entity', templateUrl: './detail-entity.component.html', styleUrls: ['./detail-entity.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatDividerModule, MatExpansionModule, diff --git a/src/app/components/entity-detail/detail-institution/detail-institution.component.ts b/src/app/components/entity-detail/detail-institution/detail-institution.component.ts index cae2b911..15d30985 100644 --- a/src/app/components/entity-detail/detail-institution/detail-institution.component.ts +++ b/src/app/components/entity-detail/detail-institution/detail-institution.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { IAddress, IInstitution, isAddress } from '@kompakkt/common'; import { TranslatePipe } from '../../../pipes/translate.pipe'; @@ -8,6 +8,7 @@ import { MatMenuModule } from '@angular/material/menu'; selector: 'app-detail-institution', templateUrl: './detail-institution.component.html', styleUrls: ['./detail-institution.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [TranslatePipe, MatMenuModule], }) export class DetailInstitutionComponent { diff --git a/src/app/components/entity-detail/detail-person/detail-person.component.ts b/src/app/components/entity-detail/detail-person/detail-person.component.ts index 7f25834d..f1c65fd3 100644 --- a/src/app/components/entity-detail/detail-person/detail-person.component.ts +++ b/src/app/components/entity-detail/detail-person/detail-person.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { IContact, IInstitution, IPerson, isContact, isInstitution } from '@kompakkt/common'; import { DetailInstitutionComponent } from '../detail-institution/detail-institution.component'; @@ -9,6 +9,7 @@ import { MatMenuModule } from '@angular/material/menu'; selector: 'app-detail-person', templateUrl: './detail-person.component.html', styleUrls: ['./detail-person.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [DetailInstitutionComponent, TranslatePipe, MatMenuModule], }) export class DetailPersonComponent { diff --git a/src/app/components/entity-detail/entity-detail.component.ts b/src/app/components/entity-detail/entity-detail.component.ts index 328c97ab..0b559416 100644 --- a/src/app/components/entity-detail/entity-detail.component.ts +++ b/src/app/components/entity-detail/entity-detail.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, inject, input } from '@angular/core'; +import { Component, computed, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { DatePipe } from '@angular/common'; import { AccountService } from 'src/app/services'; import { IEntity, isDigitalEntity, isPhysicalEntity, isTag } from '@kompakkt/common'; @@ -13,6 +13,7 @@ import { TranslatePipe } from 'src/app/pipes'; selector: 'app-entity-detail', templateUrl: './entity-detail.component.html', styleUrls: ['./entity-detail.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ DatePipe, TranslatePipe, diff --git a/src/app/components/grid-element/collection-media-container/collection-media-container.component.ts b/src/app/components/grid-element/collection-media-container/collection-media-container.component.ts index f57d43f2..6f302c45 100644 --- a/src/app/components/grid-element/collection-media-container/collection-media-container.component.ts +++ b/src/app/components/grid-element/collection-media-container/collection-media-container.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, inject, input } from '@angular/core'; +import { Component, computed, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { Router } from '@angular/router'; import { AnimatedImageDirective } from 'src/app/directives/animated-image.directive'; import { getServerUrl } from 'src/app/util/get-server-url'; @@ -9,6 +9,7 @@ import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; imports: [AnimatedImageDirective], templateUrl: './collection-media-container.component.html', styleUrl: './collection-media-container.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, host: { '[style.--bg-color]': 'backgroundColor()', '[class.single-image]': 'imageSources().length === 1', diff --git a/src/app/components/grid-element/entity-media-container/entity-media-container.component.ts b/src/app/components/grid-element/entity-media-container/entity-media-container.component.ts index 387cfdc3..cbb27071 100644 --- a/src/app/components/grid-element/entity-media-container/entity-media-container.component.ts +++ b/src/app/components/grid-element/entity-media-container/entity-media-container.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, inject, input } from '@angular/core'; +import { Component, computed, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { Router } from '@angular/router'; import { AnimatedImageDirective } from 'src/app/directives/animated-image.directive'; import { getServerUrl } from 'src/app/util/get-server-url'; @@ -9,6 +9,7 @@ import { IEntity } from '@kompakkt/common'; imports: [AnimatedImageDirective], templateUrl: './entity-media-container.component.html', styleUrl: './entity-media-container.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, host: { '[style.--bg-color]': 'backgroundColor()', }, diff --git a/src/app/components/grid-element/grid-element.component.ts b/src/app/components/grid-element/grid-element.component.ts index 640fda58..5928b4fa 100644 --- a/src/app/components/grid-element/grid-element.component.ts +++ b/src/app/components/grid-element/grid-element.component.ts @@ -1,4 +1,4 @@ -import { Component, EventEmitter, Output, computed, inject, input, output } from '@angular/core'; +import { Component, EventEmitter, Output, computed, inject, input, output, ChangeDetectionStrategy } from '@angular/core'; import { MatMenu } from '@angular/material/menu'; import { MatIconModule } from '@angular/material/icon'; @@ -27,6 +27,7 @@ import { SelectionService } from 'src/app/services/selection.service'; TitleContainerComponent, TranslatePipe, ], + changeDetection: ChangeDetectionStrategy.Eager, host: { '[class.cursor-pointer]': 'enableNavigationOnClick()', '(click)': 'navigateOnClick()', diff --git a/src/app/components/grid-element/title-container/title-container.component.ts b/src/app/components/grid-element/title-container/title-container.component.ts index 002273ea..65cb6751 100644 --- a/src/app/components/grid-element/title-container/title-container.component.ts +++ b/src/app/components/grid-element/title-container/title-container.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { MatIconModule } from '@angular/material/icon'; import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; @@ -8,6 +8,7 @@ import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; imports: [MatIconModule], templateUrl: './title-container.component.html', styleUrl: './title-container.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, host: { '[class.private]': 'private()', }, diff --git a/src/app/components/language-dropdown/language-dropdown.component.ts b/src/app/components/language-dropdown/language-dropdown.component.ts index afdc28d0..2677e00e 100644 --- a/src/app/components/language-dropdown/language-dropdown.component.ts +++ b/src/app/components/language-dropdown/language-dropdown.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, OnInit } from '@angular/core'; +import { Component, inject, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { createExtenderComponent } from '@kompakkt/plugins/extender'; import { FormControl } from '@angular/forms'; import { KeyValuePipe } from '@angular/common'; @@ -8,6 +8,7 @@ import { TranslateService } from 'src/app/services'; selector: 'app-language-dropdown', templateUrl: './language-dropdown.component.html', styleUrl: './language-dropdown.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, imports: [KeyValuePipe], }) export class LanguageDropdownComponent extends createExtenderComponent() implements OnInit { diff --git a/src/app/components/metadata/address/address.component.ts b/src/app/components/metadata/address/address.component.ts index 5b555e6e..86e7f959 100644 --- a/src/app/components/metadata/address/address.component.ts +++ b/src/app/components/metadata/address/address.component.ts @@ -1,4 +1,4 @@ -import { Component, input, Input } from '@angular/core'; +import { Component, input, Input, ChangeDetectionStrategy } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { Address } from 'src/app/metadata'; import { TranslatePipe } from '../../../pipes/translate.pipe'; @@ -8,6 +8,7 @@ import { OutlinedInputComponent } from '../../outlined-input/outlined-input.comp selector: 'app-address', templateUrl: './address.component.html', styleUrls: ['./address.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [FormsModule, TranslatePipe, OutlinedInputComponent], }) export class AddressComponent { diff --git a/src/app/components/metadata/agents/agent-card/agent-card.component.ts b/src/app/components/metadata/agents/agent-card/agent-card.component.ts index cf7f8a09..1a5a7922 100644 --- a/src/app/components/metadata/agents/agent-card/agent-card.component.ts +++ b/src/app/components/metadata/agents/agent-card/agent-card.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, inject, input, output, Pipe, PipeTransform } from '@angular/core'; +import { Component, computed, inject, input, output, Pipe, PipeTransform, ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule, MatIconButton } from '@angular/material/button'; import { MatIcon, MatIconModule } from '@angular/material/icon'; import { Institution, Person } from 'src/app/metadata'; @@ -19,6 +19,7 @@ export class IsPersonPipe implements PipeTransform { standalone: true, imports: [MatIconModule, MatButtonModule, IsPersonPipe], templateUrl: './agent-card.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './agent-card.component.scss', }) export class AgentCardComponent { diff --git a/src/app/components/metadata/agents/agent-list/agent-list.component.ts b/src/app/components/metadata/agents/agent-list/agent-list.component.ts index 775f037d..f41395ab 100644 --- a/src/app/components/metadata/agents/agent-list/agent-list.component.ts +++ b/src/app/components/metadata/agents/agent-list/agent-list.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, inject, input } from '@angular/core'; +import { Component, computed, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { AnyEntity, Institution, Person, PhysicalEntity } from 'src/app/metadata'; import { isDigitalEntity, isPhysicalEntity } from '@kompakkt/common'; @@ -10,6 +10,7 @@ import { AgentCardComponent } from '../agent-card/agent-card.component'; standalone: true, imports: [AgentCardComponent], templateUrl: './agent-list.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './agent-list.component.scss', }) export class AgentListComponent { diff --git a/src/app/components/metadata/agents/agents.component.ts b/src/app/components/metadata/agents/agents.component.ts index 4add9060..604e15af 100644 --- a/src/app/components/metadata/agents/agents.component.ts +++ b/src/app/components/metadata/agents/agents.component.ts @@ -9,6 +9,7 @@ import { signal, SimpleChanges, viewChild, + ChangeDetectionStrategy } from '@angular/core'; import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; @@ -91,6 +92,7 @@ const withoutProps = (obj: T, ...props: K[]): Omit = OutlinedInputComponent, ], templateUrl: './agents.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './agents.component.scss', }) export class AgentsComponent implements OnDestroy, OnChanges, OnInit { diff --git a/src/app/components/metadata/entity/entity.component.ts b/src/app/components/metadata/entity/entity.component.ts index 60a7985c..8ff723f9 100644 --- a/src/app/components/metadata/entity/entity.component.ts +++ b/src/app/components/metadata/entity/entity.component.ts @@ -1,5 +1,5 @@ import { COMMA, ENTER } from '@angular/cdk/keycodes'; -import { Component, computed, input, signal } from '@angular/core'; +import { Component, computed, input, signal, ChangeDetectionStrategy } from '@angular/core'; import { toObservable } from '@angular/core/rxjs-interop'; import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; @@ -49,6 +49,7 @@ type AnyEntity = DigitalEntity | PhysicalEntity; selector: 'app-entity', templateUrl: './entity.component.html', styleUrls: ['./entity.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatIconModule, MatTooltipModule, diff --git a/src/app/components/metadata/general/general.component.ts b/src/app/components/metadata/general/general.component.ts index 1def553c..e70d4b94 100644 --- a/src/app/components/metadata/general/general.component.ts +++ b/src/app/components/metadata/general/general.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe } from '@angular/common'; -import { Component, computed, EventEmitter, input, output, Output } from '@angular/core'; +import { Component, computed, EventEmitter, input, output, Output, ChangeDetectionStrategy } from '@angular/core'; import { toObservable } from '@angular/core/rxjs-interop'; import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { @@ -37,6 +37,7 @@ import { OutlinedInputComponent } from '../../outlined-input/outlined-input.comp OutlinedInputComponent, ], templateUrl: './general.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './general.component.scss', }) export class GeneralComponent { diff --git a/src/app/components/metadata/licence/licence.component.ts b/src/app/components/metadata/licence/licence.component.ts index 159b2117..a0ef22a5 100644 --- a/src/app/components/metadata/licence/licence.component.ts +++ b/src/app/components/metadata/licence/licence.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input, signal } from '@angular/core'; +import { Component, computed, input, signal, ChangeDetectionStrategy } from '@angular/core'; import { MatRadioModule } from '@angular/material/radio'; import { MatIconModule } from '@angular/material/icon'; @@ -21,6 +21,7 @@ import { KeyValuePipe } from '@angular/common'; TranslatePipe, ], templateUrl: './licence.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './licence.component.scss', }) export class LicenceComponent { diff --git a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts index ab4c083f..b095cbb6 100644 --- a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts +++ b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; @@ -31,6 +31,7 @@ import { toSignal } from '@angular/core/rxjs-interop'; OutlinedInputComponent, ], templateUrl: './biblio-ref.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './biblio-ref.component.scss', }) export class BiblioRefComponent { diff --git a/src/app/components/metadata/optional/dimension/dimension.component.ts b/src/app/components/metadata/optional/dimension/dimension.component.ts index 686beff9..b1d86b4a 100644 --- a/src/app/components/metadata/optional/dimension/dimension.component.ts +++ b/src/app/components/metadata/optional/dimension/dimension.component.ts @@ -1,4 +1,4 @@ -import { Component, input } from '@angular/core'; +import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; @@ -23,6 +23,7 @@ import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlin OutlinedInputComponent, ], templateUrl: './dimension.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './dimension.component.scss', }) export class DimensionComponent { diff --git a/src/app/components/metadata/optional/external-ids/external-ids.component.ts b/src/app/components/metadata/optional/external-ids/external-ids.component.ts index 8e2a1c4c..dd6db084 100644 --- a/src/app/components/metadata/optional/external-ids/external-ids.component.ts +++ b/src/app/components/metadata/optional/external-ids/external-ids.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe } from '@angular/common'; -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; @@ -26,6 +26,7 @@ import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlin OutlinedInputComponent, ], templateUrl: './external-ids.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './external-ids.component.scss', }) export class ExternalIdsComponent { diff --git a/src/app/components/metadata/optional/links/links.component.ts b/src/app/components/metadata/optional/links/links.component.ts index 5883246e..ae96f973 100644 --- a/src/app/components/metadata/optional/links/links.component.ts +++ b/src/app/components/metadata/optional/links/links.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe } from '@angular/common'; -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; @@ -28,6 +28,7 @@ import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlin OutlinedInputComponent, ], templateUrl: './links.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './links.component.scss', }) export class LinksComponent { diff --git a/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts b/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts index 26e5205e..265ca019 100644 --- a/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts +++ b/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input } from '@angular/core'; +import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; @@ -10,6 +10,7 @@ import { FilesizePipe, TranslatePipe } from 'src/app/pipes'; standalone: true, imports: [FilesizePipe, MatDividerModule, MatButtonModule, MatIconModule, TranslatePipe], templateUrl: './metadata-files.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './metadata-files.component.scss', }) export class MetadataFilesComponent { diff --git a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts index 1164fd2f..29906ab0 100644 --- a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts +++ b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, input } from '@angular/core'; +import { Component, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; @@ -21,6 +21,7 @@ import type { DataTuple } from '@kompakkt/common'; DataTupleKeyValuePipe, ], templateUrl: './optional-card-list.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './optional-card-list.component.scss', }) export class OptionalCardListComponent { diff --git a/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts b/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts index 9d0a1acf..463d6865 100644 --- a/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts +++ b/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, effect, inject, input } from '@angular/core'; +import { Component, computed, effect, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatExpansionModule } from '@angular/material/expansion'; @@ -38,6 +38,7 @@ import { DimensionComponent } from '../dimension/dimension.component'; DimensionComponent, ], templateUrl: './phys-obj.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './phys-obj.component.scss', }) export class PhysObjComponent { diff --git a/src/app/components/navigation/footer/footer.component.ts b/src/app/components/navigation/footer/footer.component.ts index ec760b6c..70e9b695 100644 --- a/src/app/components/navigation/footer/footer.component.ts +++ b/src/app/components/navigation/footer/footer.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, computed } from '@angular/core'; +import { Component, inject, computed, ChangeDetectionStrategy } from '@angular/core'; import { TranslatePipe } from '../../../pipes/translate.pipe'; import { RouterLink } from '@angular/router'; import { CustomBrandingPlugin } from '@kompakkt/plugins/custom-branding'; @@ -9,6 +9,7 @@ import { ExtenderSlotDirective } from 'src/app/directives/extender-slot.directiv selector: 'app-footer', templateUrl: './footer.component.html', styleUrls: ['./footer.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [RouterLink, TranslatePipe, LanguageDropdownComponent, ExtenderSlotDirective], }) export class FooterComponent { diff --git a/src/app/components/navigation/navbar/navbar.component.ts b/src/app/components/navigation/navbar/navbar.component.ts index 49ea3854..9ea9fd7f 100644 --- a/src/app/components/navigation/navbar/navbar.component.ts +++ b/src/app/components/navigation/navbar/navbar.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe } from '@angular/common'; -import { AfterViewInit, Component, computed, inject, input, viewChild } from '@angular/core'; +import { AfterViewInit, Component, computed, inject, input, viewChild, ChangeDetectionStrategy } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; import { MatDialog } from '@angular/material/dialog'; @@ -41,6 +41,7 @@ import { getServerUrl } from 'src/app/util/get-server-url'; selector: 'app-navbar', templateUrl: './navbar.component.html', styleUrls: ['./navbar.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatToolbarModule, MatDividerModule, diff --git a/src/app/components/navigation/sidenav-list/sidenav-list.component.ts b/src/app/components/navigation/sidenav-list/sidenav-list.component.ts index 460a1f8e..104fceea 100644 --- a/src/app/components/navigation/sidenav-list/sidenav-list.component.ts +++ b/src/app/components/navigation/sidenav-list/sidenav-list.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe } from '@angular/common'; -import { Component, inject, input, output, signal } from '@angular/core'; +import { Component, inject, input, output, signal, ChangeDetectionStrategy } from '@angular/core'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatListModule } from '@angular/material/list'; @@ -14,6 +14,7 @@ import { TranslatePipe } from '../../../pipes/translate.pipe'; selector: 'app-sidenav-list', templateUrl: './sidenav-list.component.html', styleUrls: ['./sidenav-list.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatListModule, RouterModule, diff --git a/src/app/components/news-card/news-card.component.ts b/src/app/components/news-card/news-card.component.ts index 9baa47ed..4aa9e1a4 100644 --- a/src/app/components/news-card/news-card.component.ts +++ b/src/app/components/news-card/news-card.component.ts @@ -1,4 +1,4 @@ -import { Component, output, input } from '@angular/core'; +import { Component, output, input, ChangeDetectionStrategy } from '@angular/core'; import { DatePipe } from '@angular/common'; import { MatIconModule } from '@angular/material/icon'; import { MatButtonModule } from '@angular/material/button'; @@ -11,6 +11,7 @@ import type { INewsItem } from '@kompakkt/common'; templateUrl: './news-card.component.html', styleUrl: './news-card.component.scss', imports: [DatePipe, MatIconModule, MatButtonModule, MatTooltipModule, TranslatePipe], + changeDetection: ChangeDetectionStrategy.Eager, host: { '[class.is-preview]': 'isPreview()', '(click)': 'openLink(newsItem().link)', diff --git a/src/app/components/notification-area/notification-area.component.ts b/src/app/components/notification-area/notification-area.component.ts index 7157f546..d50dbe1e 100644 --- a/src/app/components/notification-area/notification-area.component.ts +++ b/src/app/components/notification-area/notification-area.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, Injectable, signal } from '@angular/core'; +import { Component, inject, Injectable, signal, ChangeDetectionStrategy } from '@angular/core'; import { MatIconModule } from '@angular/material/icon'; import { TranslatePipe } from 'src/app/pipes'; import ObjectId from 'bson-objectid'; @@ -59,6 +59,7 @@ export class NotificationService { selector: 'app-notification-area', imports: [TranslatePipe, MatIconModule], templateUrl: './notification-area.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './notification-area.component.scss', }) export class NotificationAreaComponent { diff --git a/src/app/components/outlined-input/outlined-input.component.html b/src/app/components/outlined-input/outlined-input.component.html index 626255b5..19d0315b 100644 --- a/src/app/components/outlined-input/outlined-input.component.html +++ b/src/app/components/outlined-input/outlined-input.component.html @@ -7,13 +7,13 @@ } @@ -24,12 +24,12 @@ [type]="type()" [value]="value()" [matAutocomplete]="autocomplete" - [placeholder]="definedPlaceholder() | translate" - [disabled]="disabled" + [placeholder]="(placeholder() ?? '') | translate" + [disabled]="disabled()" (input)="onInputChange($event)" - (blur)="onBlur()" + (blur)="touch.emit()" [autocomplete]="autofillHint()" - [name]="name()" + [name]="inputName()" (keydown)="onKeydown($event)" /> } @else { @@ -37,12 +37,12 @@ #inputElement [type]="type()" [value]="value()" - [placeholder]="definedPlaceholder() | translate" - [disabled]="disabled" + [placeholder]="(placeholder() ?? '') | translate" + [disabled]="disabled()" (input)="onInputChange($event)" - (blur)="onBlur()" + (blur)="touch.emit()" [autocomplete]="autofillHint()" - [name]="name()" + [name]="inputName()" (keydown)="onKeydown($event)" /> } diff --git a/src/app/components/outlined-input/outlined-input.component.ts b/src/app/components/outlined-input/outlined-input.component.ts index 233c720f..f77a7a39 100644 --- a/src/app/components/outlined-input/outlined-input.component.ts +++ b/src/app/components/outlined-input/outlined-input.component.ts @@ -1,45 +1,34 @@ import { Component, - computed, + DestroyRef, effect, ElementRef, - forwardRef, + inject, input, + model, output, - signal, viewChildren, + ChangeDetectionStrategy } from '@angular/core'; -import { - ControlValueAccessor, - FormsModule, - NG_VALUE_ACCESSOR, - ReactiveFormsModule, -} from '@angular/forms'; +import { FormValueControl } from '@angular/forms/signals'; import { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatIconModule } from '@angular/material/icon'; +import { Subscription } from 'rxjs'; import { TranslatePipe } from 'src/app/pipes'; @Component({ selector: 'app-outlined-input', - imports: [MatAutocompleteModule, FormsModule, ReactiveFormsModule, MatIconModule, TranslatePipe], + imports: [MatAutocompleteModule, MatIconModule, TranslatePipe], templateUrl: './outlined-input.component.html', styleUrl: './outlined-input.component.scss', - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => OutlinedInputComponent), - multi: true, - }, - ], + changeDetection: ChangeDetectionStrategy.Eager, host: { - '[class.has-label]': 'hasLabel()', + '[class.has-label]': '!!label()', }, }) -export class OutlinedInputComponent implements ControlValueAccessor { +export class OutlinedInputComponent implements FormValueControl { label = input(); - hasLabel = computed(() => !!this.label()); placeholder = input(); - definedPlaceholder = computed(() => this.placeholder() ?? ''); icon = input(undefined); iconStyle = input<'filled' | 'outlined' | undefined>(undefined); autocomplete = input(undefined); @@ -55,70 +44,52 @@ export class OutlinedInputComponent implements ControlValueAccessor { // Browser autofill hints (e.g., "on", "off", "name", "email", etc.) // Sometimes name is required for autofill to work, so we provide it as an optional input autofillHint = input('on'); - name = input(undefined); + inputName = input(undefined, { alias: 'name' }); - // Track which value changes are from our inputs vs from external sources - #expectedValueChange = signal(false); + // Required by FormValueControl; kept in sync with the bound form field or ngModel/formControl + value = model(''); - // Internal value and control value accessor implementation - value = signal(''); - disabled = false; + // Form state provided by the binding (FormField, ngModel or formControl) + disabled = input(false); + touch = output(); _valueChangedEffectRef = effect(() => { - const value = this.value(); - this.onChange(value); - const expected = this.#expectedValueChange(); - if (expected) { - this.#expectedValueChange.set(false); - return; - } - this.#updateInputElementValues(value); + this.value(); + this.#syncNativeInputValues(); }); - #updateInputElementValues(value: string) { - const inputElements = this.inputElements(); - inputElements.forEach(element => { - const nativeElement = element.nativeElement; - if (nativeElement.value !== value) { - nativeElement.value = value; - } + // MatAutocomplete writes the option's value string directly into the native + // input on selection, without an input event. If the consumer then writes the + // same value the model already holds, Angular skips the binding update, so + // the stale text persists. Re-assert the model value when the panel closes. + #panelClosedSubscription?: Subscription; + _panelClosedEffectRef = effect(() => { + const panel = this.autocomplete(); + this.#panelClosedSubscription?.unsubscribe(); + this.#panelClosedSubscription = panel?.closed.subscribe(() => { + this.#syncNativeInputValues(); }); - } - - private onChange = (value: string) => {}; - private onTouched = () => {}; - - // ControlValueAccessor methods - writeValue(value: string): void { - this.value.set(value || ''); - //To be sure to update the native input properly - // (issue with displaying id + ,person sometimes when autocomplete by prename) - this.#updateInputElementValues(value); - } - - registerOnChange(fn: (value: string) => void): void { - this.onChange = fn; - } + }); - registerOnTouched(fn: () => void): void { - this.onTouched = fn; + constructor() { + inject(DestroyRef).onDestroy(() => this.#panelClosedSubscription?.unsubscribe()); } - setDisabledState(isDisabled: boolean): void { - this.disabled = isDisabled; + #syncNativeInputValues(): void { + const value = this.value(); + for (const element of this.inputElements()) { + const nativeElement = element.nativeElement; + if (nativeElement.value !== value) { + nativeElement.value = value; + } + } } - // Handle input changes onInputChange(event: Event): void { - this.#expectedValueChange.set(true); const target = event.target as HTMLInputElement | HTMLTextAreaElement; this.value.set(target.value); } - onBlur(): void { - this.onTouched(); - } - onKeydown(event: KeyboardEvent): void { this.onKeyDown.emit(event); if (this.seperators().includes(event.key)) { diff --git a/src/app/components/pagination/pagination.component.ts b/src/app/components/pagination/pagination.component.ts index 5f9669d6..6e98a10e 100644 --- a/src/app/components/pagination/pagination.component.ts +++ b/src/app/components/pagination/pagination.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, model } from '@angular/core'; +import { Component, computed, model, ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { TranslatePipe } from 'src/app/pipes'; @@ -16,6 +16,7 @@ export type Pagination = { selector: 'app-pagination', imports: [MatIconModule, MatButtonModule, TranslatePipe, MathPipe], templateUrl: './pagination.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './pagination.component.scss', }) export class PaginationComponent { diff --git a/src/app/components/search-bar/search-bar.component.ts b/src/app/components/search-bar/search-bar.component.ts index 120769c1..28fb0fa6 100644 --- a/src/app/components/search-bar/search-bar.component.ts +++ b/src/app/components/search-bar/search-bar.component.ts @@ -1,4 +1,4 @@ -import { Component, effect, input, output, signal } from '@angular/core'; +import { Component, effect, input, output, signal, ChangeDetectionStrategy } from '@angular/core'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatIconModule } from '@angular/material/icon'; import { TranslatePipe } from 'src/app/pipes'; @@ -7,6 +7,7 @@ import { TranslatePipe } from 'src/app/pipes'; selector: 'app-search-bar', imports: [MatIconModule, TranslatePipe, MatAutocompleteModule], templateUrl: './search-bar.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './search-bar.component.scss', }) export class SearchBarComponent { diff --git a/src/app/components/selection/selection-box/selection-box.component.ts b/src/app/components/selection/selection-box/selection-box.component.ts index 3f57564e..18703216 100644 --- a/src/app/components/selection/selection-box/selection-box.component.ts +++ b/src/app/components/selection/selection-box/selection-box.component.ts @@ -1,10 +1,11 @@ -import { Component, inject, computed } from '@angular/core'; +import { Component, inject, computed, ChangeDetectionStrategy } from '@angular/core'; import { SelectionService } from 'src/app/services/selection.service'; @Component({ selector: 'app-selection-box', templateUrl: './selection-box.component.html', styleUrl: './selection-box.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, standalone: true, }) export class SelectionBox { diff --git a/src/app/components/selection/selection-container.component.ts b/src/app/components/selection/selection-container.component.ts index 38f461d2..93cd8b53 100644 --- a/src/app/components/selection/selection-container.component.ts +++ b/src/app/components/selection/selection-container.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, TemplateRef, input } from '@angular/core'; +import { Component, inject, TemplateRef, input, ChangeDetectionStrategy } from '@angular/core'; import { SelectionService } from 'src/app/services/selection.service'; import { SelectionBox } from 'src/app/components/selection/selection-box/selection-box.component'; import { MatIconModule } from '@angular/material/icon'; @@ -9,6 +9,7 @@ import { MatButtonModule } from '@angular/material/button'; templateUrl: './selection-container.component.html', styleUrls: ['./selection-container.component.scss'], standalone: true, + changeDetection: ChangeDetectionStrategy.Eager, imports: [SelectionBox, MatIconModule, MatButtonModule], }) export class SelectionContainerComponent { diff --git a/src/app/components/selection/selection-tab/selection-tab.component.ts b/src/app/components/selection/selection-tab/selection-tab.component.ts index b5a9e4ce..b36b3cfa 100644 --- a/src/app/components/selection/selection-tab/selection-tab.component.ts +++ b/src/app/components/selection/selection-tab/selection-tab.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, input, TemplateRef } from '@angular/core'; +import { Component, inject, input, TemplateRef, ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; @@ -13,6 +13,7 @@ import { toSignal } from '@angular/core/rxjs-interop'; imports: [MatButtonModule, MatIconModule, TranslatePipe, NgTemplateOutlet], templateUrl: './selection-tab.component.html', styleUrl: './selection-tab.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, standalone: true, }) export class SelectionTab { diff --git a/src/app/components/sidenav-container/sidenav-container.component.ts b/src/app/components/sidenav-container/sidenav-container.component.ts index b101e4fc..9bc73279 100644 --- a/src/app/components/sidenav-container/sidenav-container.component.ts +++ b/src/app/components/sidenav-container/sidenav-container.component.ts @@ -9,6 +9,7 @@ import { viewChild, ViewContainerRef, WritableSignal, + ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; @@ -19,6 +20,7 @@ import { SidenavComponent, SidenavService } from 'src/app/services/sidenav.servi selector: 'app-sidenav-container', imports: [MatButtonModule, MatIconModule, TranslatePipe], templateUrl: './sidenav-container.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './sidenav-container.component.scss', }) export class SidenavContainerComponent implements AfterViewInit { diff --git a/src/app/components/tabs/tabs.component.ts b/src/app/components/tabs/tabs.component.ts index 49640ecf..5aeeacf4 100644 --- a/src/app/components/tabs/tabs.component.ts +++ b/src/app/components/tabs/tabs.component.ts @@ -9,6 +9,7 @@ import { signal, viewChild, WritableSignal, + ChangeDetectionStrategy } from '@angular/core'; import { TranslatePipe } from 'src/app/pipes'; @@ -25,6 +26,7 @@ export type Tab = { imports: [TranslatePipe], templateUrl: './tabs.component.html', styleUrl: './tabs.component.scss', + changeDetection: ChangeDetectionStrategy.Eager, host: { '[style.--tab-count]': 'topBarChildren()', '[style.--tab-alignment]': 'topBarChildren() > 2 ? "center" : "start"', diff --git a/src/app/components/upload/upload.component.ts b/src/app/components/upload/upload.component.ts index d2d8875d..050be0fb 100644 --- a/src/app/components/upload/upload.component.ts +++ b/src/app/components/upload/upload.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe } from '@angular/common'; -import { Component, computed, effect, ElementRef, inject, viewChild } from '@angular/core'; +import { Component, computed, effect, ElementRef, inject, viewChild, ChangeDetectionStrategy } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; @@ -17,6 +17,7 @@ import { MatExpansionModule } from '@angular/material/expansion'; selector: 'app-upload', templateUrl: './upload.component.html', styleUrls: ['./upload.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatIconModule, MatTooltipModule, diff --git a/src/app/components/uploaded-by/uploaded-by.component.ts b/src/app/components/uploaded-by/uploaded-by.component.ts index c1a85757..3668f056 100644 --- a/src/app/components/uploaded-by/uploaded-by.component.ts +++ b/src/app/components/uploaded-by/uploaded-by.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, effect, inject, input, signal } from '@angular/core'; +import { Component, computed, effect, inject, input, signal, ChangeDetectionStrategy } from '@angular/core'; import { RouterLink } from '@angular/router'; import { isProfileType, @@ -16,6 +16,7 @@ import { getServerUrl } from 'src/app/util/get-server-url'; selector: 'app-uploaded-by', templateUrl: './uploaded-by.component.html', styleUrls: ['./uploaded-by.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, imports: [RouterLink, TranslatePipe, AnimatedImageDirective], }) export class UploadedByComponent { diff --git a/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts b/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts index cda7252f..dd07c6cc 100644 --- a/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts +++ b/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts @@ -1,5 +1,5 @@ import { AsyncPipe, KeyValuePipe } from '@angular/common'; -import { Component, inject, signal } from '@angular/core'; +import { Component, inject, signal, ChangeDetectionStrategy } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; @@ -52,6 +52,7 @@ type CompilationChangeLogEntry = { PluralizePipe, ], templateUrl: './add-to-compilation.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './add-to-compilation.component.scss', }) export class AddToCompilationComponent { diff --git a/src/app/dialogs/auth-dialog/auth-dialog.component.html b/src/app/dialogs/auth-dialog/auth-dialog.component.html index 8aebae7a..6dfc920c 100644 --- a/src/app/dialogs/auth-dialog/auth-dialog.component.html +++ b/src/app/dialogs/auth-dialog/auth-dialog.component.html @@ -1,76 +1,71 @@ -
-
-
-

{{ concern() !== '' ? (concern() | translate) : ('Login' | translate) }}

- -
+
+
+

{{ concern() !== '' ? (concern() | translate) : ('Login' | translate) }}

+ +
- + - + - - -
- - } - + + @if (isPrefilled()) { + + } + - - @if (agentIsEditable()) { - - } - + + @if (isPrefilled()) { + + } + + } - - - @if (filteredInstitutions$ | async; as filteredInstitutionList) { - @if (filteredInstitutionList.length > 0) { + + @if (filteredInstitutions(); as filteredInstitutionList) { @for (agent of filteredInstitutionList; track agent) { @if (agent | isInstitution) { - - - - @if (agentIsEditable()) { - - } - - -
- - @if (agentIsEditable()) { - - } + - @if (agentIsEditable()) { - } - - @if (agentIsEditable()) { - - } - -
+
+ + @if (isPrefilled()) { + + } + -
- - @if (agentIsEditable()) { - - } - + + @if (isPrefilled()) { + + } + - - @if (agentIsEditable()) { - - } - + + @if (isPrefilled()) { + + } + +
- - @if (agentIsEditable()) { - - } - -
+
+ + @if (isPrefilled()) { + + } + + + + @if (isPrefilled()) { + + } + + + + @if (isPrefilled()) { + + } + +
+ }

{{ 'Assigned role(s)' | translate }}

- @for (role of availableRoles(); track role) { - - {{ role.value }} + @for (role of roleForm().value(); track role.type; let i = $index) { + + @if (role | isDefaultRole) { + {{ role.value }} + } @else { + + } } -
- - {{ 'Other:' | translate }} - - -
@@ -266,7 +231,7 @@ mat-flat-button color="primary" (click)="!isUpdating() ? addNewAgentToEntity() : updateAgent()" - [disabled]="!isFormValid || !selectionIsValid || !atLeastOneRoleSelected" + [disabled]="agentForm().invalid() || roleForm().invalid()" > {{ (isUpdating() ? 'Update' : 'Add') | translate }} @@ -274,4 +239,4 @@ - + diff --git a/src/app/components/metadata/agents/agents.component.ts b/src/app/components/metadata/agents/agents.component.ts index 604e15af..30e8d10b 100644 --- a/src/app/components/metadata/agents/agents.component.ts +++ b/src/app/components/metadata/agents/agents.component.ts @@ -1,63 +1,69 @@ -import { AsyncPipe } from '@angular/common'; import { Component, computed, input, - OnChanges, - OnDestroy, OnInit, signal, - SimpleChanges, viewChild, - ChangeDetectionStrategy + model, + inject, + effect, + PipeTransform, + Pipe, } from '@angular/core'; -import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatAutocompleteModule, MatAutocompleteSelectedEvent, } from '@angular/material/autocomplete'; import { MatButtonModule } from '@angular/material/button'; -import { MatCheckboxModule } from '@angular/material/checkbox'; -import { MatOptionModule } from '@angular/material/core'; +import { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox'; +import { MatOption, MatOptionModule } from '@angular/material/core'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatTabChangeEvent, MatTabGroup, MatTabsModule } from '@angular/material/tabs'; -import { Address, AnyEntity, ContactReference, Institution, Person } from 'src/app/metadata'; +import { + Address, + AnyEntity, + cloneEntity, + ContactReference, + DigitalEntity, + Institution, + Person, + PhysicalEntity, +} from 'src/app/metadata'; import { TranslatePipe } from '../../../pipes/translate.pipe'; -import { - BehaviorSubject, - combineLatest, - combineLatestWith, - firstValueFrom, - map, - shareReplay, - startWith, - Subscription, - tap, -} from 'rxjs'; import { AccountService, BackendService } from 'src/app/services'; -import { MetadataCommunicationService } from 'src/app/services/metadata-communication.service'; import { AgentListComponent } from './agent-list/agent-list.component'; import { IInstitution, IPerson, isAddress, isContact, + isDigitalEntity, isInstitution, isPerson, - ITag, } from '@kompakkt/common'; import { IsPersonPipe } from 'src/app/pipes/is-person.pipe'; import { IsInstitutionPipe } from 'src/app/pipes/is-institution.pipe'; import { CacheManagerService } from 'src/app/services/cache-manager.service'; -import { IsAgentInEntityPipe } from './is-agent-in-entity.pipe'; +import { isAgentInEntity, IsAgentInEntityPipe } from './is-agent-in-entity.pipe'; import { IsAgentSelfPipe } from './is-agent-self.pipe'; import { OutlinedInputComponent } from '../../outlined-input/outlined-input.component'; +import { + applyWhenValue, + disabled, + FieldTree, + form, + FormField, + required, + validate, +} from '@angular/forms/signals'; +import { WrappedModel } from '../metadata-util'; const withoutProps = (obj: T, ...props: K[]): Omit => { const copy = { ...obj }; @@ -67,11 +73,78 @@ const withoutProps = (obj: T, ...props: K[]): Omit = return copy; }; +type RoleEntry = { + type: string; + value: string; + checked: boolean; +}; +const emptyRoleEntry = (): RoleEntry => ({ + type: `EMPTY_CUSTOM-${Date.now()}`, + value: '', + checked: false, +}); + +const DEFAULT_ROLES: RoleEntry[] = [ + { type: 'RIGHTS_OWNER', value: 'Rightsowner', checked: false }, + { type: 'CONTACT_PERSON', value: 'Contact person', checked: false }, +]; + +@Pipe({ name: 'isDefaultRole' }) +export class IsDefaultRolePipe implements PipeTransform { + transform(role: RoleEntry, roleArr = DEFAULT_ROLES) { + return roleArr.some(r => r.type === role.type); + } +} + +type PersonModel = WrappedModel<{ + surname: string; + prename: string; + mail: string; + phoneNumber: string; +}> & { __kind: 'person' }; +const emptyPerson = (): PersonModel => ({ + __kind: 'person', + __prefilled: false, + __editing: [], + prename: '', + surname: '', + mail: '', + phoneNumber: '', +}); + +type InstitutionModel = WrappedModel<{ + name: string; + university: string; + country: string; + postal: string; + city: string; + street: string; + number: string; + building: string; +}> & { __kind: 'institution' }; +const emptyInstitution = (): InstitutionModel => ({ + __kind: 'institution', + __prefilled: false, + __editing: [], + name: '', + university: '', + country: '', + postal: '', + city: '', + street: '', + number: '', + building: '', +}); + +type AgentModel = PersonModel | InstitutionModel; +type PersonModelKeys = keyof Omit; +type InstitutionModelKeys = keyof Omit; + @Component({ selector: 'app-agents', standalone: true, imports: [ - FormsModule, + FormField, MatAutocompleteModule, MatButtonModule, MatCheckboxModule, @@ -81,442 +154,429 @@ const withoutProps = (obj: T, ...props: K[]): Omit = MatFormFieldModule, MatOptionModule, MatTabsModule, - ReactiveFormsModule, TranslatePipe, AgentListComponent, IsPersonPipe, IsInstitutionPipe, - AsyncPipe, IsAgentInEntityPipe, IsAgentSelfPipe, + IsDefaultRolePipe, OutlinedInputComponent, ], templateUrl: './agents.component.html', - changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './agents.component.scss', }) -export class AgentsComponent implements OnDestroy, OnChanges, OnInit { - entity = input.required(); +export class AgentsComponent implements OnInit { + account = inject(AccountService); + backend = inject(BackendService); + cache = inject(CacheManagerService); + + entity = model.required(); entityId = computed(() => this.entity()._id); isPhysicalObject = input(false); agentGroup = viewChild.required('agentGroup'); - selectedType = signal<'person' | 'institution'>('person'); - personSelected = computed(() => this.selectedType() === 'person'); - institutionSelected = computed(() => this.selectedType() === 'institution'); - - agentIsEditable = signal(false); - isUpdating = signal(false); - agentIsSelected = signal(false); - - formControls = { - institutionName: new FormControl('', { nonNullable: true }), - personName: new FormControl('', { nonNullable: true }), - personPrename: new FormControl('', { nonNullable: true }), - mail: new FormControl('', { nonNullable: true }), - phoneNumber: new FormControl('', { nonNullable: true }), - university: new FormControl('', { nonNullable: true }), - country: new FormControl('', { nonNullable: true }), - postal: new FormControl('', { nonNullable: true }), - city: new FormControl('', { nonNullable: true }), - street: new FormControl('', { nonNullable: true }), - number: new FormControl('', { nonNullable: true }), - building: new FormControl('', { nonNullable: true }), - }; + agentModel = model(emptyPerson()); + agentForm = form(this.agentModel, path => { + applyWhenValue( + path, + data => data.__kind === 'person', + ctx => { + required(ctx.prename); + required(ctx.surname); + required(ctx.mail); + + disabled(ctx.prename, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('prename'), + }); + disabled(ctx.surname, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('surname'), + }); + disabled(ctx.mail, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('mail'), + }); + disabled(ctx.phoneNumber, { + when: schema => + schema.valueOf(ctx.__prefilled) && + !schema.valueOf(ctx.__editing).includes('phoneNumber'), + }); + }, + ); + applyWhenValue( + path, + data => data.__kind === 'institution', + ctx => { + required(ctx.name); + required(ctx.postal); + required(ctx.city); + required(ctx.street); + + disabled(ctx.name, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('name'), + }); + disabled(ctx.university, { + when: schema => + schema.valueOf(ctx.__prefilled) && + !schema.valueOf(ctx.__editing).includes('university'), + }); + disabled(ctx.country, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('country'), + }); + disabled(ctx.postal, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('postal'), + }); + disabled(ctx.city, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('city'), + }); + disabled(ctx.street, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('street'), + }); + disabled(ctx.building, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('building'), + }); + disabled(ctx.number, { + when: schema => + schema.valueOf(ctx.__prefilled) && !schema.valueOf(ctx.__editing).includes('number'), + }); + }, + ); + }); + selectedKind = computed(() => this.agentForm().value().__kind); + personForm = computed(() => { + const form = this.agentForm; + if (this.agentForm().value().__kind !== 'person') return undefined; + return form as FieldTree; + }); + institutionForm = computed(() => { + const form = this.agentForm; + if (this.agentForm().value().__kind !== 'institution') return undefined; + return form as FieldTree; + }); + isPrefilled = computed(() => this.agentForm().value().__prefilled); + isUpdating = computed(() => { + const entity = this.entity(); + const agent = this.selectedAgent(); + if (!agent) return false; + return isAgentInEntity({ + entity, + agent, + entityId: entity._id, + }); + }); selectedAgent = signal(null); - entitySubject = new BehaviorSubject(undefined); - - selfAsPerson$ = this.account.user$.pipe( - map(user => { - if (!user) return null; - const selfAsPerson = new Person({ - prename: user.prename, - name: user.surname, - }); - selfAsPerson.contact_references[this.entityId()] = new ContactReference({ - mail: user.mail, - }); - return selfAsPerson; - }), - shareReplay(), - ); + #selfAsPerson = computed(() => { + const user = this.account.user(); + if (!user) return null; + const entityId = this.entityId(); + if (!entityId) return null; + const selfAsPerson = new Person({ + prename: user.prename, + name: user.surname, + }); + selfAsPerson.contact_references[entityId] = new ContactReference({ + mail: user.mail, + }); + return selfAsPerson; + }); - availablePersons = this.cache - .getItem('metadata-agents-persons', () => - this.backend.getUserDataPersons({ full: true }), - ) - .pipe( - map(persons => persons ?? []), - map(persons => { - // De-duplication of suggested persons based on their contact references - const map = new Map(); - for (const person of persons) { - const pairs = Object.values(person.contact_references) - .filter(isContact) - .map(cr => withoutProps(cr, '_id', 'creation_date', 'note')) - .filter(pair => Object.values(pair).filter(_ => _).length > 0) - .flat(); - for (const pair of pairs) { - const pairString = Object.values(pair).join('-'); - map.set(pairString, { - ...person, - contact_references: { - ...person.contact_references, - [this.entityId()]: - person.contact_references[this.entityId()] ?? - new ContactReference({ - mail: pair.mail, - phonenumber: pair.phonenumber, - }), - }, - }); - } - } - return Array.from(map.values()); - }), - tap(persons => console.log('Persons after flattening contact references', persons)), - map(persons => persons.map(p => new Person(p))), - combineLatestWith(this.selfAsPerson$), - map(([persons, self]) => { - if (!self) return persons; - if (persons.find(p => p.mostRecentContactRef?.mail === self.mostRecentContactRef?.mail)) - return persons; - // Prepend self as option - return [self, ...persons]; - }), - ); - availableInstitutions = this.cache - .getItem('metadata-agents-institutions', () => - this.backend.getUserDataInstitutions({ full: true }), - ) - .pipe( - map(institutions => institutions ?? []), - map(institutions => { - // De-duplication of suggested institutions based on their addresses - const map = new Map(); - for (const institution of institutions) { - const pairs = Object.values(institution.addresses) - .filter(isAddress) - .map(cr => withoutProps(cr, '_id', 'creation_date')) - .filter(pair => Object.values(pair).filter(_ => _).length > 0) - .flat(); - for (const pair of pairs) { - const pairString = Object.values(pair).join('-'); - map.set(pairString, { - ...institution, - addresses: { - ...institution.addresses, - [this.entityId()]: - institution.addresses[this.entityId()] ?? - new Address({ - building: pair.building, - number: pair.number, - street: pair.street, - postcode: pair.postcode, - city: pair.city, - country: pair.country, - }), - }, - }); - } - } - return Array.from(map.values()); - }), - map(institutions => institutions.map(i => new Institution(i))), - ); - availableTags = this.cache - .getItem('metadata-agents-tags', () => this.backend.getUserDataTags({})) - .pipe(map(tags => tags ?? [])); - - filteredPersons$ = this.formControls.personName.valueChanges.pipe( - startWith(''), - map(value => (value as string).toLowerCase()), - combineLatestWith(this.availablePersons), - map(([value, persons]) => { - if (!value) { - return []; - } - return persons.filter(p => p.fullName.toLowerCase().includes(value)); - }), - ); - filteredPersonsPrename$ = this.formControls.personPrename.valueChanges.pipe( - startWith(''), - map(value => (value as string).toLowerCase()), - combineLatestWith(this.availablePersons), - map(([value, persons]) => { - if (!value) { - return []; - } - return persons.filter(p => p.prename.toLowerCase().includes(value)); - }), + #personsResource = this.cache.cachedResource( + () => 'metadata-agents-persons', + () => this.backend.getUserDataPersons({ full: true }), ); - filteredInstitutions$ = this.formControls.institutionName.valueChanges.pipe( - startWith(''), - map(value => (value as string).toLowerCase()), - combineLatestWith(this.availableInstitutions), - map(([value, institutions]) => { - if (!value) { - return []; + #mappedPersons = computed(() => { + const persons = this.#personsResource.value() ?? []; + // De-duplication of suggested persons based on their contact references + const map = new Map(); + for (const person of persons) { + const pairs = Object.values(person.contact_references) + .filter(isContact) + .map(cr => withoutProps(cr, '_id', 'creation_date', 'note')) + .filter(pair => Object.values(pair).filter(_ => _).length > 0) + .flat(); + for (const pair of pairs) { + const pairString = Object.values(pair).join('-'); + map.set(pairString, { + ...person, + contact_references: { + ...person.contact_references, + [this.entityId()]: + person.contact_references[this.entityId()] ?? + new ContactReference({ + mail: pair.mail, + phonenumber: pair.phonenumber, + }), + }, + }); } - return institutions.filter(i => i.name.toLowerCase().includes(value)); - }), + } + return Array.from(map.values()).map(p => new Person(p)); + }); + availablePersons = computed(() => { + const persons = this.#mappedPersons(); + const self = this.#selfAsPerson(); + if (!self) return persons; + if (persons.find(p => p.mostRecentContactRef?.mail === self.mostRecentContactRef?.mail)) + return persons; + // Prepend self as option + return [self, ...persons]; + }); + + #institutionsResource = this.cache.cachedResource( + () => 'metadata-agents-institutions', + () => this.backend.getUserDataInstitutions({ full: true }), ); - filteredAgentList$ = combineLatest([this.filteredPersons$, this.filteredInstitutions$]).pipe( - map(([persons, institutions]) => { - if (!this.personSelected() && !this.institutionSelected()) { - const combinedList = [...persons, ...institutions]; - return combinedList.length > 0 ? combinedList : []; - } - - if (this.personSelected()) { - return persons; + #mappedInstitutions = computed(() => { + const institutions = this.#institutionsResource.value() ?? []; + // De-duplication of suggested institutions based on their addresses + const map = new Map(); + for (const institution of institutions) { + const pairs = Object.values(institution.addresses) + .filter(isAddress) + .map(cr => withoutProps(cr, '_id', 'creation_date')) + .filter(pair => Object.values(pair).filter(_ => _).length > 0) + .flat(); + for (const pair of pairs) { + const pairString = Object.values(pair).join('-'); + map.set(pairString, { + ...institution, + addresses: { + ...institution.addresses, + [this.entityId()]: + institution.addresses[this.entityId()] ?? + new Address({ + building: pair.building, + number: pair.number, + street: pair.street, + postcode: pair.postcode, + city: pair.city, + country: pair.country, + }), + }, + }); } + } + return Array.from(map.values()).map(i => new Institution(i)); + }); + availableInstitutions = computed(() => this.#mappedInstitutions()); - return institutions; - }), + #tagsResource = this.cache.cachedResource( + () => 'metadata-agents-tags', + () => this.backend.getUserDataTags({}), ); - - private agentSubscription!: Subscription; - - selectedTabIndex = 0; - - availableRoles = signal([ - { type: 'RIGHTS_OWNER', value: 'Rightsowner', checked: false }, - { type: 'CONTACT_PERSON', value: 'Contact person', checked: false }, - ]); - - newCustomRole = { value: '', checked: false }; - - constructor( - public account: AccountService, - public backend: BackendService, - public cache: CacheManagerService, - private metaDataCommunicationService: MetadataCommunicationService, - ) { - this.agentSubscription = this.metaDataCommunicationService.selectedAgent$.subscribe(update => { - if (update && update.entityId === this.entityId()) { - this.selectAgentToUpdate(update.agent); + availableTags = computed(() => this.#tagsResource.value() ?? []); + + filteredPersons = computed(() => { + const data = this.agentForm().value(); + const persons = this.availablePersons() ?? []; + if (data.__kind !== 'person') return []; + const prename = data.prename.trim().toLowerCase(); + const surname = data.surname.trim().toLowerCase(); + if (!prename && !surname) return persons; + return persons.filter( + person => + person.prename.toLowerCase().includes(prename) || + person.name.toLowerCase().includes(surname), + ); + }); + filteredInstitutions = computed(() => { + const data = this.agentForm().value(); + const institutions = this.availableInstitutions() ?? []; + if (data.__kind !== 'institution') return []; + const name = data.name.trim().toLowerCase(); + if (!name) return institutions; + return institutions.filter(institution => institution.name.toLowerCase().includes(name)); + }); + + selectedTabIndex = model(0); + + roleModel = model([...DEFAULT_ROLES, emptyRoleEntry()]); + roleForm = form(this.roleModel, path => { + validate(path, ctx => { + if (!ctx.value().some(role => role.checked && role.value.trim().length > 0)) { + return { + kind: 'error', + message: 'At least one role must be selected', + }; } + return null; }); + }); + + #getCurrentRoleSelection(): string[] { + const data = this.roleForm().value(); + return data + .filter(role => role.checked && role.value.trim().length > 0) + .map(role => { + if (role.type.startsWith('EMPTY_CUSTOM-')) + return this.entity().formatRoleLabel(role.value.trim()); + return role.type; + }); } - get isFormValid(): boolean { - if (this.personSelected()) { - return ( - this.formControls.personPrename.value != '' && - this.formControls.personName.value != '' && - this.formControls.mail.value != '' - ); - } else if (this.institutionSelected()) { - return ( - this.formControls.institutionName.value != '' && - this.formControls.postal.value != '' && - this.formControls.city.value != '' && - this.formControls.street.value != '' - ); - } else return false; - } - - get atLeastOneRoleSelected(): boolean { - return ( - this.availableRoles().some(role => role.checked) || - (this.newCustomRole.checked && this.newCustomRole.value != '') - ); + #getAddress(): Address | undefined { + const data = this.agentForm().value(); + if (data.__kind !== 'institution') return undefined; + return new Address({ ...data }); } - get selectionIsValid(): boolean { - return this.personSelected() || this.institutionSelected(); + #getContactRef(): ContactReference | undefined { + const data = this.agentForm().value(); + if (data.__kind !== 'person') return undefined; + return new ContactReference({ ...data }); } - get currentRoleSelection(): string[] { - const availableRoleTypes = this.availableRoles() - .filter(role => role.checked) - .map(role => role.type); - - const customRole = - this.newCustomRole.checked && this.newCustomRole.value.trim() - ? this.entity().formatRoleLabel(this.newCustomRole.value) - : ''; - - return customRole ? [...availableRoleTypes, customRole] : availableRoleTypes; - } - - get newContactRef(): Address | ContactReference { - if (this.personSelected()) { - return new ContactReference({ - mail: this.formControls.mail.value ?? '', - phonenumber: this.formControls.phoneNumber.value ?? '', - }); - } else if (this.institutionSelected()) { - return new Address({ - street: this.formControls.street.value ?? '', - number: this.formControls.number.value ?? '', - postcode: this.formControls.postal.value ?? '', - city: this.formControls.city.value ?? '', - country: this.formControls.country.value ?? '', - building: this.formControls.building.value ?? '', - }); + public updateCustomRole(role: RoleEntry, value: string) { + const trimmed = value.trim(); + if (trimmed.length > 0) { + this.roleForm().value.update(roles => + roles.map(r => + r.type === role.type ? { value: trimmed, type: role.type, checked: role.checked } : r, + ), + ); + this.addCustomRoleSlot(); + } else { + this.roleForm().value.update(roles => + roles + .map(r => + r.type === role.type ? { value: trimmed, type: role.type, checked: role.checked } : r, + ) + .filter(r => r.type === role.type || r.value.trim().length > 0), + ); } - - return new Address(); } - public currentAgentSelection(tabChangeEvent: MatTabChangeEvent) { - if (tabChangeEvent.tab.textLabel === 'Person') { - this.selectedType.set('person'); - } else if (tabChangeEvent.tab.textLabel === 'Institution') { - this.selectedType.set('institution'); - } - - if (!this.isUpdating()) { - this.resetAgentForm(); - } else { - this.isUpdating.set(false); - this.agentIsEditable.set(false); - } + public addCustomRoleSlot() { + const roles = this.roleForm().value(); + if (roles.some(r => r.value.trim().length === 0)) return; + this.roleForm().value.update(roles => [...roles, emptyRoleEntry()]); } - public async selectExistingAgent(event: MatAutocompleteSelectedEvent) { - const [agentId, agentType] = event.option.value.split(','); + public selectExistingAgent(event: MatAutocompleteSelectedEvent) { + const [agentId, agentType] = (event.option as MatOption).value.split(','); if (agentType !== 'person' && agentType !== 'institution') throw new Error(`Unknown agent type: ${agentType}`); - const persons = await firstValueFrom(this.availablePersons); - const institutions = await firstValueFrom(this.availableInstitutions); - const currentAgent = agentType === 'person' - ? persons.find(p => p._id === agentId) - : institutions.find(i => i._id === agentId); + ? this.availablePersons().find(p => p._id === agentId) + : this.availableInstitutions().find(i => i._id === agentId); if (!currentAgent) throw new Error(`Agent with ID ${agentId} not found`); - - this.agentIsSelected.set(true); - this.setAgentInForm(currentAgent); + this.setAgentInForm(currentAgent, false); } - selectAgentToUpdate(agentToUpdate: Person | Institution) { - this.isUpdating.set(true); - this.setAgentInForm(agentToUpdate); - this.selectedAgent.set(agentToUpdate); - } + _onSelectedAgentEffectRef = effect(() => { + const agent = this.selectedAgent(); + if (!agent) return; + this.setAgentInForm(agent, true); + }); - setAgentInForm(agent: Person | Institution) { + setAgentInForm(agent: Person | Institution, clearRoles: boolean) { if (isPerson(agent)) { - this.selectedType.set('person'); - this.selectedTabIndex = 0; - this.setPersonInForm(agent); - } - if (isInstitution(agent)) { - this.selectedType.set('institution'); - this.selectedTabIndex = 1; - this.setInstitutionInForm(agent); + this.selectedTabIndex.set(0); + } else if (isInstitution(agent)) { + this.selectedTabIndex.set(1); } - this.agentIsEditable.set(true); + this.agentForm().value.update(v => { + if (v.__kind === 'person' && agent instanceof Person) { + const mostRecentContactRef = Person.getMostRecentContactRef(agent); + return { + ...v, + prename: agent.prename, + surname: agent.name, + mail: mostRecentContactRef.mail, + phoneNumber: mostRecentContactRef.phonenumber, + __prefilled: true, + }; + } else if (v.__kind === 'institution' && agent instanceof Institution) { + const mostRecentAdress = Institution.getMostRecentAddress(agent); + return { + ...v, + name: agent.name, + university: agent.university, + country: mostRecentAdress.country, + postal: mostRecentAdress.postcode, + city: mostRecentAdress.city, + street: mostRecentAdress.street, + number: mostRecentAdress.number, + building: mostRecentAdress.building, + __prefilled: true, + }; + } + return { ...v }; + }); - if (this.isUpdating()) { + if (clearRoles) { this.clearRoleSelection(); - const rolesToActivate = agent.roles[this.entityId()] ?? []; - - this.availableRoles.update(roles => - roles.map(role => - rolesToActivate.includes(role.type) ? { ...role, checked: true } : role, - ), + this.roleForm().value.update(roles => + roles.map(role => ({ ...role, checked: rolesToActivate.includes(role.type) })), ); } } - setPersonInForm(agent: Person) { - this.formControls.personPrename.setValue(agent.prename); - this.formControls.personPrename.disable(); - this.formControls.personName.setValue(agent.name); - this.formControls.personName.disable(); - - const mostRecentContactRef = Person.getMostRecentContactRef(agent); - this.formControls.mail.setValue(mostRecentContactRef.mail); - this.formControls.mail.disable(); - this.formControls.phoneNumber.setValue(mostRecentContactRef.phonenumber); - this.formControls.phoneNumber.disable(); - } - - setInstitutionInForm(agent: Institution) { - this.formControls.institutionName.setValue(agent.name); - this.formControls.institutionName.disable(); - this.formControls.university.setValue(agent.university); - this.formControls.university.disable(); - - const mostRecentAdress = Institution.getMostRecentAddress(agent); - this.formControls.country.setValue(mostRecentAdress.country); - this.formControls.country.disable(); - this.formControls.postal.setValue(mostRecentAdress.postcode); - this.formControls.postal.disable(); - this.formControls.city.setValue(mostRecentAdress.city); - this.formControls.city.disable(); - this.formControls.street.setValue(mostRecentAdress.street); - this.formControls.street.disable(); - this.formControls.number.setValue(mostRecentAdress.number); - this.formControls.number.disable(); - this.formControls.building.setValue(mostRecentAdress.building); - this.formControls.building.disable(); - } - public addNewAgentToEntity() { - if (this.personSelected()) { - this.addPerson(); - } else if (this.institutionSelected()) { - this.addInstitution(); + const data = this.agentForm().value(); + const entityId = this.entityId(); + const roles = this.#getCurrentRoleSelection(); + if (data.__kind === 'person') { + const contactRef = this.#getContactRef(); + if (!contactRef) return; + const personInstance = new Person({ prename: data.prename, name: data.surname }); + personInstance.contact_references[entityId] = contactRef; + personInstance.roles[entityId] = roles; + this.entity.update(entity => { + const clone = cloneEntity(entity); + clone.persons.push(personInstance); + return clone; + }); + } else if (data.__kind === 'institution') { + const address = this.#getAddress(); + if (!address) return; + const institutionInstance = new Institution({ name: data.name }); + institutionInstance.addresses[entityId] = address; + institutionInstance.roles[entityId] = roles; + this.entity.update(entity => { + const clone = cloneEntity(entity); + clone.institutions.push(institutionInstance); + return clone; + }); } - this.resetAgentForm(); } - private addPerson() { - const personInstance = new Person({ - prename: this.formControls.personPrename.value ?? '', - name: this.formControls.personName.value ?? '', - }); - - personInstance.contact_references[this.entityId()] = this.newContactRef as ContactReference; - personInstance.roles[this.entityId()] = this.currentRoleSelection; - - this.entity().addPerson(personInstance); - this.metaDataCommunicationService.setEntity(this.entity()); - this.addCustomRole(); - } - - private addInstitution() { - const institutionInstance = new Institution({ - name: this.formControls.institutionName.value ?? '', - }); - - institutionInstance.addresses[this.entityId()] = this.newContactRef as Address; - institutionInstance.roles[this.entityId()] = this.currentRoleSelection; - - this.entity().addInstitution(institutionInstance); - this.metaDataCommunicationService.setEntity(this.entity()); - this.addCustomRole(); - } - - private addCustomRole() { - const newCustomRole = this.newCustomRole; - if (!newCustomRole.checked || !newCustomRole.value.trim()) return; - - this.addRoleIfNotExists(newCustomRole.value); + public updateRoleState(event: MatCheckboxChange, roleType: string) { + this.roleForm().value.update(roles => + roles.map(role => ({ + ...role, + checked: role.type === roleType ? event.checked : role.checked, + })), + ); } private addRoleIfNotExists(newRoleName: string) { const entity = this.entity(); const cleanedUpRoleName = entity.formatRoleLabel(newRoleName); - if (!cleanedUpRoleName || this.availableRoles().some(r => r.value === cleanedUpRoleName)) + const currentRoles = this.roleForm().value(); + if (!cleanedUpRoleName || currentRoles.some(r => r.value === cleanedUpRoleName)) { return; + } - this.availableRoles.update(roles => [ + this.roleForm().value.update(roles => [ ...roles, { type: cleanedUpRoleName, value: cleanedUpRoleName, checked: false }, ]); @@ -525,97 +585,117 @@ export class AgentsComponent implements OnDestroy, OnChanges, OnInit { public updateAgent() { const currentAgent = this.selectedAgent(); const currentAgentId = currentAgent?._id.toString(); - - const agentOnEntity: Person | Institution | undefined = (() => { - if (this.personSelected()) { - const index = this.entity().persons.findIndex(p => p._id.toString() === currentAgentId); - if (index === -1) return undefined; - const person = this.entity().persons[index]; - - const contactRef = this.newContactRef; - if (!isContact(contactRef)) return undefined; - - person.contact_references[this.entityId()] = contactRef; - this.entity().persons[index] = new Person(person); - - return this.entity().persons[index]; - } else if (this.institutionSelected()) { - const index = this.entity().institutions.findIndex( - i => i._id.toString() === currentAgentId, - ); - if (index === -1) return undefined; - const institution = this.entity().institutions[index]; - - const address = this.newContactRef; - if (!isAddress(address)) return undefined; - institution.addresses[this.entityId()] = address; - - institution.university = this.formControls.university.value ?? ''; - this.entity().institutions[index] = new Institution(institution); - return this.entity().institutions[index]; - } - return undefined; - })(); - - if (!agentOnEntity) { - console.error('Selected agent not found on entity'); - return; + const data = this.agentForm().value(); + const entityId = this.entityId(); + + if (data.__kind === 'person') { + this.entity.update(entity => { + const persons = [...entity.persons]; + const index = persons.findIndex(p => p._id.toString() === currentAgentId); + if (index === -1) { + console.warn('Could not find person in entity. No changes', { + entity, + data, + currentAgent, + }); + return entity; + } + const person = persons[index]; + const contactRef = this.#getContactRef(); + if (!isContact(contactRef)) { + console.warn('Could not find contact ref for person in entity. No changes', { + entity, + data, + currentAgent, + }); + return entity; + } + person.contact_references[entityId] = contactRef; + const newPerson = new Person(person); + newPerson.roles[entityId] = this.#getCurrentRoleSelection(); + persons[index] = newPerson; + const clone = cloneEntity(entity); + clone.persons = persons; + return clone; + }); + } else if (data.__kind === 'institution') { + this.entity.update(entity => { + const institutions = [...entity.institutions]; + const index = institutions.findIndex(i => i._id.toString() === currentAgentId); + if (index === -1) { + console.warn('Could not find institution in entity. No changes', { + entity, + data, + currentAgent, + }); + return entity; + } + const institution = institutions[index]; + const address = this.#getAddress(); + if (!isAddress(address)) { + console.warn('Could not find address for institution in entity. No changes', { + entity, + data, + currentAgent, + }); + return entity; + } + institution.addresses[entityId] = address; + institution.university = data.__kind === 'institution' ? data.university : ''; + + const newInstitution = new Institution(institution); + newInstitution.roles[entityId] = this.#getCurrentRoleSelection(); + institutions[index] = newInstitution; + const clone = cloneEntity(entity); + clone.institutions = institutions; + return clone; + }); } - - agentOnEntity.roles[this.entityId()] = this.currentRoleSelection; - this.resetAgentForm(); - this.metaDataCommunicationService.selectAgent(null); - this.metaDataCommunicationService.setEntity(this.entity()); } - onEditAgent(inputElementString: string) { - const currentFormControl = { - mail: this.formControls.mail, - phone: this.formControls.phoneNumber, - university: this.formControls.university, - country: this.formControls.country, - postalCode: this.formControls.postal, - city: this.formControls.city, - street: this.formControls.street, - number: this.formControls.number, - building: this.formControls.building, - }[inputElementString]; - - currentFormControl?.enable(); + onEditAgent(field: PersonModelKeys | InstitutionModelKeys) { + this.agentForm().value.update(v => { + if (v.__kind === 'person' && field in v) { + const hasValue = v.__editing.includes(field as PersonModelKeys); + return { + ...v, + __editing: hasValue + ? v.__editing.filter(f => f !== field) + : v.__editing.concat(field as PersonModelKeys), + }; + } else if (v.__kind === 'institution' && field in v) { + const hasValue = v.__editing.includes(field as InstitutionModelKeys); + return { + ...v, + __editing: hasValue + ? v.__editing.filter(f => f !== field) + : v.__editing.concat(field as InstitutionModelKeys), + }; + } + return { ...v }; + }); } - resetAgentForm() { - this.agentIsSelected.set(false); - this.isUpdating.set(false); + changeTab(event: MatTabChangeEvent) { + this.selectedTabIndex.set(event.index); + this.resetAgentForm(); + } - this.clearAgentInformation(); + resetAgentForm() { + this.selectedAgent.set(null); + this.agentForm().reset(); + this.agentForm().value.set(this.selectedTabIndex() === 0 ? emptyPerson() : emptyInstitution()); this.clearRoleSelection(); } clearRoleSelection() { - this.availableRoles.update(roles => roles.map(role => ({ ...role, checked: false }))); - this.newCustomRole = { value: '', checked: false }; - } - - clearAgentInformation() { - this.agentIsEditable.set(false); - Object.values(this.formControls).forEach(control => { - control.reset(); - control.enable(); - }); - } - - ngOnChanges(changes: SimpleChanges): void { - console.log('Agents-Component => ', changes); - - let currentEntity = changes.entity?.currentValue; - - this.metaDataCommunicationService.setEntity(currentEntity); + this.roleForm().value.update(roles => roles.map(role => ({ ...role, checked: false }))); + // this.newCustomRoleForm().value.set({ checked: false, value: '' }); } ngOnInit(): void { - const fixedRoles = this.availableRoles().map(r => r.type); + /*const fixedRoles = this.availableRoles().map(r => r.type); const allAgents = [...this.entity().persons, ...this.entity().institutions]; for (const agent of allAgents) { @@ -624,13 +704,6 @@ export class AgentsComponent implements OnDestroy, OnChanges, OnInit { this.addRoleIfNotExists(role); } } - } - } - - ngOnDestroy(): void { - this.resetAgentForm(); - this.selectedAgent.set(null); - this.metaDataCommunicationService.selectAgent(null); - this.agentSubscription.unsubscribe(); + }*/ } } diff --git a/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts b/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts index 716c4949..9d5a2080 100644 --- a/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts +++ b/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts @@ -2,23 +2,35 @@ import { Pipe, PipeTransform } from '@angular/core'; import { isInstitution, isPerson } from '@kompakkt/common'; import { AnyEntity, Institution, Person } from 'src/app/metadata'; +export const isAgentInEntity = ({ + entity, + agent, + entityId, +}: { + entity: AnyEntity; + agent: Person | Institution; + entityId: string; +}) => { + if (isPerson(agent)) { + return entity.persons.some( + p => + p.contact_references[entityId]?.mail === agent.contact_references[entityId]?.mail && + p.fullName === agent.fullName, + ); + } else if (isInstitution(agent)) { + return entity.institutions.some( + i => + i.name === agent.name && + i.addresses[entityId]?.street === agent.addresses[entityId]?.street && + i.addresses[entityId]?.number === agent.addresses[entityId]?.number, + ); + } + return false; +}; + @Pipe({ name: 'isAgentInEntity' }) export class IsAgentInEntityPipe implements PipeTransform { - transform(value: AnyEntity, agent: Person | Institution, entityId: string): boolean { - if (isPerson(agent)) { - return value.persons.some( - p => - p.contact_references[entityId]?.mail === agent.contact_references[entityId]?.mail && - p.fullName === agent.fullName, - ); - } else if (isInstitution(agent)) { - return value.institutions.some( - i => - i.name === agent.name && - i.addresses[entityId]?.street === agent.addresses[entityId]?.street && - i.addresses[entityId]?.number === agent.addresses[entityId]?.number, - ); - } - return false; + transform(entity: AnyEntity, agent: Person | Institution, entityId: string): boolean { + return isAgentInEntity({ entity, agent, entityId }); } } diff --git a/src/app/components/metadata/entity/entity.component.html b/src/app/components/metadata/entity/entity.component.html index 5efa7971..848590d0 100644 --- a/src/app/components/metadata/entity/entity.component.html +++ b/src/app/components/metadata/entity/entity.component.html @@ -1,272 +1,268 @@ -@if (entity(); as entity) { - - - - + + + - - + } + {{ 'Related persons and institutions' | translate }} + + + + +

{{ 'Optional metadata:' | translate }}

+
- - - -

{{ 'Optional metadata:' | translate }}

-
- - + label_important + + {{ 'External Identifiers' | translate }} + @if (entity().externalId.length; as count) { + {{ '(' + count + ')' }} + } + - - + - + + - -
-
-
- - - - - @if (digitalEntity(); as digitalEntity) { - } - - + + + + + + + + + @if (digitalEntity(); as digitalEntity) { + + } + + - - - @if (digitalEntity(); as digitalEntity) { - - } - - + + + @if (digitalEntity(); as digitalEntity) { + + } + + - - -
- -
-
- + + +
+ +
+
+ - - - @if (digitalEntity(); as digitalEntity) { - + + + @if (digitalEntity(); as digitalEntity) { + - - - } - - + + + } + + - - - @if (digitalEntity(); as digitalEntity) { - - } - - + + + @if (digitalEntity(); as digitalEntity) { + + } + + - - - - - + + + + + - - - - - + + + + + - - - @if (digitalEntity(); as digitalEntity) { - - } - - + + + @if (digitalEntity(); as digitalEntity) { + + } + + - - - @if (digitalEntity(); as digitalEntity) { - + + + @if (digitalEntity(); as digitalEntity) { + @if (digitalEntity.phyObjs[0]; as physEntity) { + } - + } + - -
-
-
-} + + + + diff --git a/src/app/components/metadata/entity/entity.component.ts b/src/app/components/metadata/entity/entity.component.ts index 8ff723f9..0c023c2f 100644 --- a/src/app/components/metadata/entity/entity.component.ts +++ b/src/app/components/metadata/entity/entity.component.ts @@ -1,5 +1,13 @@ import { COMMA, ENTER } from '@angular/cdk/keycodes'; -import { Component, computed, input, signal, ChangeDetectionStrategy } from '@angular/core'; +import { + Component, + computed, + input, + signal, + ChangeDetectionStrategy, + inject, + model, +} from '@angular/core'; import { toObservable } from '@angular/core/rxjs-interop'; import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; @@ -15,6 +23,7 @@ import { MatSidenavModule } from '@angular/material/sidenav'; import { MatTabsModule } from '@angular/material/tabs'; import { MatTooltipModule } from '@angular/material/tooltip'; import { + AnyEntity, CreationTuple, DescriptionValueTuple, DigitalEntity, @@ -30,7 +39,7 @@ import { import { isFreeLicence, Licences } from 'src/app/metadata/licences'; import { ContentProviderService, SnackbarService } from 'src/app/services'; import { MetadataCommunicationService } from 'src/app/services/metadata-communication.service'; -import { isDigitalEntity } from '@kompakkt/common'; +import { isDigitalEntity, isPhysicalEntity } from '@kompakkt/common'; import { TranslatePipe } from '../../../pipes/translate.pipe'; import { AgentsComponent } from '../agents/agents.component'; import { GeneralComponent } from '../general/general.component'; @@ -43,8 +52,6 @@ import { PhysObjComponent } from '../optional/phys-obj/phys-obj.component'; import { MatExpansionModule } from '@angular/material/expansion'; import { LicenceComponent } from '../licence/licence.component'; -type AnyEntity = DigitalEntity | PhysicalEntity; - @Component({ selector: 'app-entity', templateUrl: './entity.component.html', @@ -73,11 +80,18 @@ type AnyEntity = DigitalEntity | PhysicalEntity; ], }) export class EntityComponent { - digitalEntity = input(); - physicalEntity = input(); - entity = computed(() => { - return this.digitalEntity() ?? this.physicalEntity() ?? new DigitalEntity(); - }); + public content = inject(ContentProviderService); + public dialog = inject(MatDialog); + private snackbar = inject(SnackbarService); + public metaService = inject(MetadataCommunicationService); + + entity = model.required(); + digitalEntity = computed(() => + isDigitalEntity(this.entity()) ? (this.entity() as DigitalEntity) : new DigitalEntity(), + ); + physicalEntity = computed(() => + isPhysicalEntity(this.entity()) ? (this.entity() as PhysicalEntity) : new PhysicalEntity(), + ); selectedTabIndex = 0; @@ -124,12 +138,7 @@ export class EntityComponent { public filteredTags$: Observable; public separatorKeysCodes: number[] = [ENTER, COMMA]; - constructor( - public content: ContentProviderService, - public dialog: MatDialog, - private snackbar: SnackbarService, - public metaService: MetadataCommunicationService, - ) { + constructor() { (window as any)['printEntity'] = () => console.log(this.entity()); this.content.$Persons.subscribe(persons => { diff --git a/src/app/components/metadata/general/general.component.ts b/src/app/components/metadata/general/general.component.ts index e70d4b94..bd80c040 100644 --- a/src/app/components/metadata/general/general.component.ts +++ b/src/app/components/metadata/general/general.component.ts @@ -1,5 +1,13 @@ import { AsyncPipe } from '@angular/common'; -import { Component, computed, EventEmitter, input, output, Output, ChangeDetectionStrategy } from '@angular/core'; +import { + Component, + computed, + EventEmitter, + input, + output, + Output, + ChangeDetectionStrategy, +} from '@angular/core'; import { toObservable } from '@angular/core/rxjs-interop'; import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { @@ -107,7 +115,7 @@ export class GeneralComponent { public onChangeInputValues() { if (this.entity instanceof PhysicalEntity) { - this.metaService.updatePhysicalEntity(this.entity); + this.metaService.physicalEntity.set(this.entity); } } diff --git a/src/app/components/metadata/metadata-util.ts b/src/app/components/metadata/metadata-util.ts new file mode 100644 index 00000000..93176174 --- /dev/null +++ b/src/app/components/metadata/metadata-util.ts @@ -0,0 +1,18 @@ +export type WrappedModel = T & { + __kind: string; + __prefilled: boolean; + __editing: Array; +}; +export type UnwrappedModelKeys = keyof Omit< + WrappedModel, + '__kind' | '__prefilled' | '__editing' +>; + +export const createWrappedModel = (obj: T, kind = 'default'): WrappedModel => { + return { + ...obj, + __editing: [], + __kind: kind, + __prefilled: false, + }; +}; diff --git a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html index 77cd670f..51c8c122 100644 --- a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html +++ b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html @@ -6,13 +6,11 @@ - @if (dataIsEditable) { + @if (isPrefilled()) { @@ -21,13 +19,11 @@ - @if (dataIsEditable) { + @if (isPrefilled()) { @@ -41,10 +37,10 @@
@@ -52,4 +48,8 @@ } - + diff --git a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts index b095cbb6..af907b95 100644 --- a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts +++ b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts @@ -1,122 +1,127 @@ -import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core'; -import { FormControl, ReactiveFormsModule } from '@angular/forms'; - +import { Component, computed, model, signal } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; -import { Subscription } from 'rxjs'; -import { AnyEntity, DescriptionValueTuple, PhysicalEntity } from 'src/app/metadata'; -import { MetadataCommunicationService } from 'src/app/services/metadata-communication.service'; +import { AnyEntity, cloneEntity, DescriptionValueTuple, PhysicalEntity } from 'src/app/metadata'; import { DataTuple } from '@kompakkt/common'; import { TranslatePipe } from '../../../../pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; -import { toSignal } from '@angular/core/rxjs-interop'; +import { disabled, form, FormField, minLength } from '@angular/forms/signals'; +import { createWrappedModel, UnwrappedModelKeys, WrappedModel } from '../../metadata-util'; + +type BiblioRefModel = WrappedModel<{ + reference: string; + description: string; +}>; @Component({ selector: 'app-biblio-ref', standalone: true, imports: [ + FormField, MatButtonModule, MatDividerModule, MatFormFieldModule, MatIconModule, MatInputModule, - ReactiveFormsModule, TranslatePipe, OptionalCardListComponent, OutlinedInputComponent, ], templateUrl: './biblio-ref.component.html', - changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './biblio-ref.component.scss', }) export class BiblioRefComponent { - public entity = input.required(); + public entity = model.required(); isPhysical = computed(() => this.entity() instanceof PhysicalEntity); - public referenceControl = new FormControl('', { nonNullable: true }); - public descriptionControl = new FormControl('', { - nonNullable: true, + biblioRefModel = model(createWrappedModel({ reference: '', description: '' })); + biblioRefForm = form(this.biblioRefModel, path => { + minLength(path.description, 1); + minLength(path.reference, 1); + disabled(path.description, { + when: schema => + schema.valueOf(path.__prefilled) && !schema.valueOf(path.__editing).includes('description'), + }); + disabled(path.reference, { + when: schema => + schema.valueOf(path.__prefilled) && !schema.valueOf(path.__editing).includes('reference'), + }); }); + isPrefilled = computed(() => this.biblioRefForm().value().__prefilled); - private biblioSubscription: Subscription; - public dataIsEditable: boolean = false; - public isUpdating: boolean = false; - - private dataIndex: number = -1; + private dataIndex = signal(0); - constructor(private metadataCommunicationService: MetadataCommunicationService) { - this.biblioSubscription = this.metadataCommunicationService.selectedMetadata$.subscribe( - update => { - if (update) { - this.dataIndex = update.index; - this.setDataInForm(update.data); - } - }, - ); + selectForEdit(index: number) { + const ref = this.entity().biblioRefs.at(index); + if (!ref) throw new Error('Ref does not exist'); + this.dataIndex.set(index); + this.setDataInForm(ref); } - descriptionValue = toSignal(this.descriptionControl.valueChanges, { - initialValue: this.descriptionControl.value, - }); - - isBiblioDataValid = computed(() => this.descriptionValue() !== ''); - addNewBiblioData(): void { + if (this.biblioRefForm().invalid()) throw new Error('Invalid'); + const { reference, description } = this.biblioRefForm().value(); + const biblioInstance = new DescriptionValueTuple({ - value: this.referenceControl.value ?? '', - description: this.descriptionControl.value ?? '', + value: reference, + description: description, }); - if (this.isBiblioDataValid() && DescriptionValueTuple.checkIsValid(biblioInstance)) { - this.entity().biblioRefs.push(biblioInstance); - this.resetFormFields(); - } + this.entity.update(entity => { + const clone = cloneEntity(entity); + const biblioRefs = [...clone.biblioRefs, biblioInstance]; + clone.biblioRefs = biblioRefs; + return clone; + }); + this.resetFormFields(); } updateMetadata(): void { - if (!this.isBiblioDataValid() || this.dataIndex < 0) { - return; - } - this.entity().biblioRefs[this.dataIndex].description = this.descriptionControl.value ?? ''; - this.entity().biblioRefs[this.dataIndex].value = this.referenceControl.value ?? ''; - + if (this.biblioRefForm().invalid()) throw new Error('Invalid'); + const { reference, description } = this.biblioRefForm().value(); + const index = this.dataIndex(); + this.entity.update(entity => { + const clone = cloneEntity(entity); + const biblioRefs = [...clone.biblioRefs]; + biblioRefs[index] = new DescriptionValueTuple({ value: reference, description: description }); + clone.biblioRefs = biblioRefs; + return clone; + }); this.resetFormFields(); } - onEditData(inputElementString: string): void { - const currentFormControl = { - description: this.descriptionControl, - reference: this.referenceControl, - }[inputElementString]; - - currentFormControl?.enable(); + onEditData(field: UnwrappedModelKeys): void { + this.biblioRefForm().value.update(v => { + const hasValue = v.__editing.includes(field); + return { + ...v, + __editing: hasValue ? v.__editing.filter(f => f !== field) : v.__editing.concat(field), + }; + }); } setDataInForm(biblioData: DataTuple) { if ('value' in biblioData && 'description' in biblioData) { - this.referenceControl.setValue(biblioData?.value); - this.referenceControl.disable(); - this.descriptionControl.setValue(biblioData?.description); - this.descriptionControl.disable(); - - this.dataIsEditable = true; - this.isUpdating = true; + this.biblioRefForm().value.update(v => ({ + ...v, + description: biblioData.description, + reference: biblioData.value, + __prefilled: true, + })); } } resetFormFields(): void { - this.referenceControl.reset(); - this.descriptionControl.reset(); - - this.descriptionControl.enable(); - this.referenceControl.enable(); - - this.dataIsEditable = false; - this.isUpdating = false; + this.biblioRefForm().value.set( + createWrappedModel({ + description: '', + reference: '', + }), + ); } } diff --git a/src/app/components/metadata/optional/creation/creation.component.html b/src/app/components/metadata/optional/creation/creation.component.html index 66d46532..ce009925 100644 --- a/src/app/components/metadata/optional/creation/creation.component.html +++ b/src/app/components/metadata/optional/creation/creation.component.html @@ -2,33 +2,33 @@
- - - + + +
@@ -37,7 +37,7 @@ } diff --git a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts index 29906ab0..037c5962 100644 --- a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts +++ b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts @@ -1,4 +1,4 @@ -import { Component, inject, input, ChangeDetectionStrategy } from '@angular/core'; +import { Component, input, ChangeDetectionStrategy, output, model } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; @@ -7,7 +7,6 @@ import { IsDescriptionValueTuple, IsDimensionTuple, } from 'src/app/pipes/tuple-helper.pipes'; -import { MetadataCommunicationService } from 'src/app/services/metadata-communication.service'; import type { DataTuple } from '@kompakkt/common'; @Component({ @@ -21,20 +20,19 @@ import type { DataTuple } from '@kompakkt/common'; DataTupleKeyValuePipe, ], templateUrl: './optional-card-list.component.html', - changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './optional-card-list.component.scss', }) export class OptionalCardListComponent { - #metadataCommunicationService = inject(MetadataCommunicationService); - - optionalData = input.required(); + optionalData = model.required(); propertyType = input(''); - public onRemove(index: number) { - this.optionalData().splice(index, 1); - } + selected = output(); - public onSelectData(index: number) { - this.#metadataCommunicationService.selectMetadata(this.optionalData()[index], index); + public onRemove(index: number) { + this.optionalData.update(data => { + const clone = [...data]; + clone.splice(index, 1); + return clone; + }); } } diff --git a/src/app/components/metadata/optional/phys-obj/phys-obj.component.html b/src/app/components/metadata/optional/phys-obj/phys-obj.component.html index deec0a87..14c325fb 100644 --- a/src/app/components/metadata/optional/phys-obj/phys-obj.component.html +++ b/src/app/components/metadata/optional/phys-obj/phys-obj.component.html @@ -1,37 +1,35 @@ -@if (physEntity(); as physEntity) { - - - - - - - - - - - - - - - - - - - - -} + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts b/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts index 463d6865..0d3ac3bd 100644 --- a/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts +++ b/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts @@ -1,4 +1,12 @@ -import { Component, computed, effect, inject, input, ChangeDetectionStrategy } from '@angular/core'; +import { + Component, + computed, + effect, + inject, + input, + ChangeDetectionStrategy, + model, +} from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatExpansionModule } from '@angular/material/expansion'; @@ -44,21 +52,12 @@ import { DimensionComponent } from '../dimension/dimension.component'; export class PhysObjComponent { #metaService = inject(MetadataCommunicationService); - entity = input.required(); - physEntity = computed(() => { - const existing = this.entity().phyObjs.at(0); - if (!existing) { - const newEntity = new PhysicalEntity(); - this.entity().addPhysicalEntity(newEntity); - return newEntity; - } else { - return existing; - } - }); + entity = model.required(); + updatePhysEntityEffect = effect(() => { - const physEntity = this.physEntity(); + const physEntity = this.entity(); if (physEntity) { - this.#metaService.updatePhysicalEntity(physEntity); + this.#metaService.physicalEntity.set(physEntity); } }); } diff --git a/src/app/components/navigation/navbar/navbar.component.html b/src/app/components/navigation/navbar/navbar.component.html index bb39ef12..07e98037 100644 --- a/src/app/components/navigation/navbar/navbar.component.html +++ b/src/app/components/navigation/navbar/navbar.component.html @@ -136,7 +136,7 @@ class="menu-organization" (click)="$event.stopPropagation(); account.switchToProfile(profile)" > - @if (profileImageUrl(profile); as imgUrl) { + @if (profile.imageUrl; as imgUrl) { } @else { {{ diff --git a/src/app/components/navigation/navbar/navbar.component.ts b/src/app/components/navigation/navbar/navbar.component.ts index 9ea9fd7f..c8ffd03f 100644 --- a/src/app/components/navigation/navbar/navbar.component.ts +++ b/src/app/components/navigation/navbar/navbar.component.ts @@ -1,5 +1,13 @@ import { AsyncPipe } from '@angular/common'; -import { AfterViewInit, Component, computed, inject, input, viewChild, ChangeDetectionStrategy } from '@angular/core'; +import { + AfterViewInit, + Component, + computed, + inject, + input, + viewChild, + ChangeDetectionStrategy, +} from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; import { MatDialog } from '@angular/material/dialog'; @@ -37,6 +45,14 @@ import { SidenavListComponent } from '../sidenav-list/sidenav-list.component'; import { MatDividerModule } from '@angular/material/divider'; import { getServerUrl } from 'src/app/util/get-server-url'; +const constructProfileImageUrl = ( + profile: IPublicProfile | null | undefined, +): string | undefined => { + const imageUrl = profile?.imageUrl; + if (!imageUrl) return undefined; + return imageUrl.startsWith('data:') ? imageUrl : getServerUrl(imageUrl); +}; + @Component({ selector: 'app-navbar', templateUrl: './navbar.component.html', @@ -60,6 +76,13 @@ import { getServerUrl } from 'src/app/util/get-server-url'; ], }) export class NavbarComponent implements AfterViewInit { + public account = inject(AccountService); + private progress = inject(ProgressBarService); + private dialogHelper = inject(DialogHelperService); + public selectHistory = inject(SelectHistoryService); + private router = inject(Router); + private events = inject(EventsService); + element = input(); isEntity = computed(() => isEntity(this.element())); @@ -78,7 +101,12 @@ export class NavbarComponent implements AfterViewInit { allProfiles = toSignal(this.account.profiles$, { initialValue: [] }); currentProfile = toSignal(this.account.currentProfile$, { initialValue: null }); otherProfiles = computed(() => - this.allProfiles().filter(profile => profile._id !== this.currentProfile()?._id), + this.allProfiles() + .filter(profile => profile._id !== this.currentProfile()?._id) + .map(profile => ({ + ...profile, + imageUrl: constructProfileImageUrl(profile), + })), ); userProfile = toSignal(this.account.userProfile$, { initialValue: null }); user = toSignal(this.account.user$, { initialValue: undefined }); @@ -93,25 +121,10 @@ export class NavbarComponent implements AfterViewInit { return !!membership && membership.role !== ProfileMemberRole.viewer; }); - profileImageUrl = (profile: IPublicProfile | null | undefined): string | undefined => { - const imageUrl = profile?.imageUrl; - if (!imageUrl) return undefined; - return imageUrl.startsWith('data:') ? imageUrl : getServerUrl(`${imageUrl}?t=${Date.now()}`); - }; - currentProfileImageUrl = computed( - () => this.profileImageUrl(this.currentProfile()) ?? '/assets/kompakkt-logo-cube.svg', + () => constructProfileImageUrl(this.currentProfile()) ?? '/assets/kompakkt-logo-cube.svg', ); - constructor( - public account: AccountService, - private progress: ProgressBarService, - private dialogHelper: DialogHelperService, - public selectHistory: SelectHistoryService, - private router: Router, - private events: EventsService, - ) {} - ngAfterViewInit() { this.progress.setProgressBar(this.progressBar()); } diff --git a/src/app/components/outlined-input/outlined-input.component.html b/src/app/components/outlined-input/outlined-input.component.html index 19d0315b..99af6af2 100644 --- a/src/app/components/outlined-input/outlined-input.component.html +++ b/src/app/components/outlined-input/outlined-input.component.html @@ -7,7 +7,7 @@ - {{ contentLength }} / {{ maxContentLength }} - @if (newsFormGroup.controls.content.touched && newsFormGroup.controls.content.invalid) { - {{ 'Content is required (max 240 characters)' | translate }} - } -
+ + + -
- - -
- -
- -
- + +
- } - - @if (imagePreviewUrl()) { - }
-
+ -
- -
- - -
- -
+ + + + + -
- - {{ 'Published' | translate }} - -
+ + {{ 'Published' | translate }} +
@@ -104,7 +95,9 @@

{{ 'Live preview' | translate }}

-
+ + diff --git a/src/app/dialogs/news-dialog/news-dialog.component.scss b/src/app/dialogs/news-dialog/news-dialog.component.scss index 56b740fc..1f0add4a 100644 --- a/src/app/dialogs/news-dialog/news-dialog.component.scss +++ b/src/app/dialogs/news-dialog/news-dialog.component.scss @@ -73,20 +73,6 @@ } } -.image-input-row { - display: flex; - gap: 8px; - align-items: center; - - input { - flex: 1; - } - - mat-spinner { - display: inline-block; - } -} - .date-input-row { display: flex; gap: 8px; diff --git a/src/app/dialogs/news-dialog/news-dialog.component.ts b/src/app/dialogs/news-dialog/news-dialog.component.ts index 9e72ba3e..7709c8d8 100644 --- a/src/app/dialogs/news-dialog/news-dialog.component.ts +++ b/src/app/dialogs/news-dialog/news-dialog.component.ts @@ -5,15 +5,10 @@ import { inject, signal, viewChild, - ChangeDetectionStrategy, + model, + AfterViewInit, + effect, } from '@angular/core'; -import { - FormControl, - FormGroup, - FormsModule, - ReactiveFormsModule, - Validators, -} from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { provideNativeDateAdapter } from '@angular/material/core'; import { MatDatepickerModule } from '@angular/material/datepicker'; @@ -22,20 +17,31 @@ import { MatIconModule } from '@angular/material/icon'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { BackendService } from 'src/app/services'; import { NewsCardComponent } from 'src/app/components/news-card/news-card.component'; import type { INewsItem } from '@kompakkt/common'; +import { + disabled, + form, + FormField, + maxLength, + minLength, + required, + submit, +} from '@angular/forms/signals'; +import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; +import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; @Component({ selector: 'app-news-dialog', templateUrl: './news-dialog.component.html', styleUrl: './news-dialog.component.scss', providers: [provideNativeDateAdapter()], - changeDetection: ChangeDetectionStrategy.Eager, imports: [ - FormsModule, - ReactiveFormsModule, + FormField, + CombinedFormErrorsComponent, + OutlinedInputComponent, MatDatepickerModule, MatDialogModule, MatButtonModule, @@ -47,148 +53,159 @@ import type { INewsItem } from '@kompakkt/common'; NewsCardComponent, ], }) -export class NewsDialogComponent { +export class NewsDialogComponent implements AfterViewInit { #backend = inject(BackendService); #dialogRef = inject>(MatDialogRef); - existing = inject(MAT_DIALOG_DATA, { optional: true }); + #existing = inject(MAT_DIALOG_DATA, { optional: true }); + existing = signal(undefined); isUploading = signal(false); - imagePreviewUrl = signal(''); - fileInput = viewChild>('fileInput'); triggerFileInput() { - console.log('[NewsDialog] triggerFileInput called'); const input = this.fileInput(); - console.log('[NewsDialog] fileInput ref:', input); - if (input) { - console.log('[NewsDialog] nativeElement:', input.nativeElement); - input.nativeElement.click(); - console.log('[NewsDialog] click() called on file input'); - } else { - console.warn('[NewsDialog] fileInput ref is null — element may not be in DOM'); - } + if (input) input.nativeElement.click(); + else console.warn('[NewsDialog] fileInput ref is null — element may not be in DOM'); } - newsFormGroup = new FormGroup({ - title: new FormControl('', { - validators: [Validators.required, Validators.minLength(3), Validators.maxLength(120)], - nonNullable: true, - }), - content: new FormControl('', { - validators: [Validators.required, Validators.maxLength(240)], - nonNullable: true, - }), - link: new FormControl('', { - validators: [Validators.maxLength(500)], - nonNullable: true, - }), - imageUrl: new FormControl('', { - validators: [Validators.maxLength(500)], - nonNullable: true, - }), - published: new FormControl(false, { nonNullable: true }), - date: new FormControl(null), + newsModel = model({ + title: '', + content: '', + link: '', + imageUrl: '', + published: false, + date: new Date(), + }); + newsForm = form(this.newsModel, path => { + required(path.title); + minLength(path.title, 3); + maxLength(path.title, 120); + required(path.content); + maxLength(path.content, 240); + maxLength(path.link, 500); + disabled(path.imageUrl, { + when: image => image.value().includes('base64'), + }); }); previewItem = computed(() => { - const form = this.newsFormGroup.getRawValue(); + const form = this.newsForm().value(); + const existing = this.existing(); return { - _id: this.existing?._id ?? '', + _id: existing?._id ?? '', title: form.title || 'Preview title', content: form.content || 'Preview content text...', link: form.link || '', - imageUrl: form.imageUrl || this.imagePreviewUrl() || '', - author: this.existing?.author ?? 'You', - createdBy: this.existing?.createdBy ?? '', + imageUrl: form.imageUrl || '', + author: existing?.author ?? 'You', + createdBy: existing?.createdBy ?? '', published: form.published, - date: form.date ? form.date.toISOString() : (this.existing?.date ?? new Date().toISOString()), + date: form.date.toISOString(), } as INewsItem; }); - get contentLength() { - return this.newsFormGroup.controls.content.value.length; - } + dateString = computed(() => this.newsForm.date().value().toLocaleDateString('en-US')); + contentLength = computed(() => this.newsForm.content().value().length); + maxContentLength = computed(() => this.newsForm.content().maxLength?.() ?? 240); - get maxContentLength() { - return 240; - } - - async onImageSelected(event: Event) { - const input = event.target as HTMLInputElement; - const file = input.files?.[0]; + #selectedFile = signal(undefined); + _selectedFileChangedEffectRef = effect(() => { + const file = this.#selectedFile(); if (!file) return; - const reader = new FileReader(); reader.onload = e => { - this.imagePreviewUrl.set(e.target?.result as string); + this.newsForm().value.update(data => ({ ...data, imageUrl: e.target?.result as string })); }; reader.readAsDataURL(file); - - this.isUploading.set(true); - try { - const result = await this.#backend.uploadNewsImage(file); - this.newsFormGroup.controls.imageUrl.setValue(result.url); - this.imagePreviewUrl.set(result.url); - } catch (err) { - console.error('Failed to upload news image:', err); - } finally { - this.isUploading.set(false); - } + }); + async onImageSelected(event: Event) { + const input = event.target as HTMLInputElement; + const file = input.files?.[0]; + if (!file) return; + this.#selectedFile.set(file); } clearImage() { - this.newsFormGroup.controls.imageUrl.setValue(''); - this.imagePreviewUrl.set(''); + this.#selectedFile.set(undefined); + this.newsForm().value.update(data => ({ ...data, imageUrl: '' })); + } + + onDateSelect(event: any) { + console.log(event); } async save() { - if (!this.newsFormGroup.valid) { - this.newsFormGroup.markAllAsTouched(); - return; - } - - const { title, content, link, imageUrl, published, date } = this.newsFormGroup.getRawValue(); - - try { - if (this.existing) { - const updated = await this.#backend.updateNews(this.existing._id.toString(), { - title, - content, - link: link || undefined, - imageUrl: imageUrl || undefined, - published, - date: date ? date.toISOString() : undefined, - }); - this.#dialogRef.close(updated); - } else { - const created = await this.#backend.createNews({ - title, - content, - link: link || undefined, - imageUrl: imageUrl || undefined, - published, - }); - this.#dialogRef.close(created); + let savedItem: INewsItem | undefined = undefined; + const success = await submit(this.newsForm, async form => { + const { title, content, link, imageUrl, published, date } = form().value(); + + const updatedUrl = await (async () => { + const file = this.#selectedFile(); + if (file) { + const result = await this.#backend + .uploadNewsImage(file) + .catch(() => ({ error: 'Failed uploading file' })); + return result; + } + return undefined; + })(); + + if (updatedUrl && 'error' in updatedUrl) { + return { + kind: 'serverError', + fieldTree: form, + message: updatedUrl.error, + }; } - } catch (err) { - console.error('Failed to save news item:', err); - } + + const existing = this.existing(); + const item = existing + ? await this.#backend + .updateNews(existing._id.toString(), { + title, + content, + link: link || undefined, + imageUrl: updatedUrl?.url || imageUrl || undefined, + published, + date: date ? date.toISOString() : undefined, + }) + .catch(() => ({ error: 'Failed updating news item' })) + : await this.#backend + .createNews({ + title, + content, + link: link || undefined, + imageUrl: updatedUrl?.url || imageUrl || undefined, + published, + }) + .catch(() => ({ error: 'Failed creating news item' })); + + if ('error' in item) { + return { + kind: 'serverError', + fieldTree: form, + message: item.error, + }; + } + savedItem = item; + return undefined; + }); + + if (!success) return; + this.#dialogRef.close(savedItem); } - ngOnInit() { - if (this.existing) { - this.newsFormGroup.patchValue({ - title: this.existing.title, - content: this.existing.content, - link: this.existing.link ?? '', - imageUrl: this.existing.imageUrl ?? '', - published: this.existing.published, - date: this.existing.date ? new Date(this.existing.date) : new Date(), - }); - this.imagePreviewUrl.set(this.existing.imageUrl ?? ''); - } else { - this.newsFormGroup.controls.date.setValue(new Date()); - } + ngAfterViewInit() { + this.existing.set(this.#existing ?? undefined); + const existing = this.#existing; + this.newsForm().value.update(data => ({ + ...data, + title: existing?.title ?? '', + content: existing?.content ?? '', + link: existing?.link ?? '', + imageUrl: existing?.imageUrl ?? '', + published: existing?.published ?? false, + date: existing?.date ? new Date(existing.date) : new Date(), + })); } } diff --git a/src/app/dialogs/profile-page-edit/profile-page-edit.component.html b/src/app/dialogs/profile-page-edit/profile-page-edit.component.html index 797e22a2..8c158705 100644 --- a/src/app/dialogs/profile-page-edit/profile-page-edit.component.html +++ b/src/app/dialogs/profile-page-edit/profile-page-edit.component.html @@ -26,7 +26,7 @@

@@ -34,7 +34,7 @@

@@ -42,17 +42,17 @@

- +
- +
@@ -65,11 +65,11 @@

@if (canManageMembers()) { - @if (filteredAccounts$ | async; as filteredAccounts) { + @if (filteredAccounts(); as filteredAccounts) {
-
diff --git a/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts b/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts index 6337eff9..f3864a69 100644 --- a/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts +++ b/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts @@ -1,7 +1,5 @@ -import { AsyncPipe } from '@angular/common'; -import { Component, computed, inject, signal, ChangeDetectionStrategy } from '@angular/core'; +import { Component, computed, inject, model, resource, signal } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; -import { FormBuilder, FormControl, ReactiveFormsModule, Validators } from '@angular/forms'; import { MatAutocompleteModule, MatAutocompleteSelectedEvent, @@ -14,10 +12,9 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatSelectModule } from '@angular/material/select'; -import { catchError, combineLatestWith, from, map, of, startWith } from 'rxjs'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { AnimatedImageDirective } from 'src/app/directives/animated-image.directive'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { AccountService } from 'src/app/services'; import { BackendService } from 'src/app/services/backend.service'; import { getServerUrl } from 'src/app/util/get-server-url'; @@ -27,6 +24,7 @@ import { ProfileMemberRole, ProfileType, } from '@kompakkt/common'; +import { form, FormField, maxLength, required, submit } from '@angular/forms/signals'; type MemberRow = { userId: string; @@ -37,9 +35,8 @@ type MemberRow = { @Component({ selector: 'app-profile-page-edit', - standalone: true, imports: [ - ReactiveFormsModule, + FormField, MatDialogModule, MatFormFieldModule, MatInputModule, @@ -49,39 +46,32 @@ type MemberRow = { MatSelectModule, MatIconModule, MatDividerModule, - AsyncPipe, TranslatePipe, AnimatedImageDirective, OutlinedInputComponent, ], templateUrl: './profile-page-edit.component.html', - changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './profile-page-edit.component.scss', }) export class ProfilePageEditComponent { - #fb = inject(FormBuilder); data = inject>(MAT_DIALOG_DATA); - - isOrganization = signal(this.data?.type === ProfileType.organization); - - form = this.#fb.nonNullable.group({ - displayName: [this.data?.displayName ?? '', Validators.required], - location: [this.data?.location ?? ''], - imageUrl: [this.data?.imageUrl ?? ''], - description: [this.data?.description ?? '', Validators.maxLength(500)], - website: [this.data?.socials?.website ?? ''], - }); - dialogRef: MatDialogRef = inject(MatDialogRef); backend = inject(BackendService); #account = inject(AccountService); - formImageUrl = toSignal( - this.form.controls.imageUrl.valueChanges.pipe(startWith(this.data?.imageUrl)), - ); + isOrganization = signal(this.data?.type === ProfileType.organization); + + model = model({ displayName: '', location: '', imageUrl: '', description: '', website: '' }); + + form = form(this.model, path => { + required(path.displayName, { message: 'Display name is required' }); + maxLength(path.description, 500, { + message: 'Description length cannot exceed 500 characters', + }); + }); imageUrl = computed(() => { - const imageUrl = this.formImageUrl(); + const imageUrl = this.form().value().imageUrl; if (!imageUrl) return '/assets/kompakkt-logo-cube.svg'; return imageUrl.startsWith('data:') ? imageUrl : getServerUrl(imageUrl); }); @@ -104,34 +94,23 @@ export class ProfilePageEditComponent { roleOptions = [{ value: ProfileMemberRole.editor, label: 'Member' }] as const; - searchControl = new FormControl('', { nonNullable: true }); + searchModel = model(''); + searchForm = form(this.searchModel); #memberIds = computed(() => new Set(this.members().map(member => member.userId))); - allAccounts$ = from(this.backend.getAccounts()).pipe( - catchError(error => { - console.error('Failed fetching accounts', error); - return of([]); - }), - ); - - filteredAccounts$ = this.allAccounts$.pipe( - combineLatestWith( - this.searchControl.valueChanges.pipe( - startWith(''), - map(value => value.toLowerCase().trim()), - ), - ), - map(([accounts, search]) => - search.length >= 1 - ? accounts.filter( - account => - !this.#memberIds().has(account._id) && - Object.values(account).join('').toLowerCase().includes(search), - ) - : [], - ), - ); + #allAccountsResource = resource({ loader: () => this.backend.getAccounts() }); + filteredAccounts = computed(() => { + const query = this.searchForm().value().trim().toLowerCase(); + const accounts = this.#allAccountsResource.hasValue() ? this.#allAccountsResource.value() : []; + return query.length >= 1 + ? accounts.filter( + account => + !this.#memberIds().has(account._id) && + Object.values(account).join('').toLowerCase().includes(query), + ) + : []; + }); isBootstrapOwner = (userId: string): boolean => this.data?.ownerId === userId; @@ -176,7 +155,7 @@ export class ProfilePageEditComponent { public userSelected(event: MatAutocompleteSelectedEvent) { const account = event.option.value as IStrippedUserData; - this.searchControl.setValue(''); + this.searchForm().value.set(''); void this.#addMember(account); } @@ -214,25 +193,40 @@ export class ProfilePageEditComponent { } async save() { - if (this.form.valid) { - const formValue = this.form.value; + let updatedProfile: IPublicProfile | undefined = undefined; + const success = submit(this.form, async form => { + const existing = this.data; + const data = form().value(); const payload = { - ...this.data, - displayName: formValue.displayName, - location: formValue.location, - imageUrl: formValue.imageUrl, - description: formValue.description, + ...existing, + displayName: data.displayName, + location: data.location, + imageUrl: data.imageUrl, + description: data.description, socials: { - ...this.data?.socials, - website: formValue.website ?? '', + ...existing?.socials, + website: data.website ?? '', }, - type: this.data?.type ?? ProfileType.user, + type: existing?.type ?? ProfileType.user, }; - const updateProfile = await this.backend.updateProfile(payload); - this.#account.updateTrigger$.next('profile'); - this.dialogRef.close(updateProfile); - } + const result = await this.backend + .updateProfile(payload) + .catch(() => ({ error: 'Failed updating profile' })); + if ('error' in result) { + return { + kind: 'serverError', + message: result.error, + fieldTree: form, + }; + } + + updatedProfile = result; + return undefined; + }); + if (!success) return; + this.#account.updateTrigger$.next('profile'); + this.dialogRef.close(updatedProfile); } close(): void { @@ -246,7 +240,7 @@ export class ProfilePageEditComponent { const reader = new FileReader(); reader.onload = () => { const base64String = reader.result as string; - this.form.patchValue({ imageUrl: base64String }); + this.form().value.update(form => ({ ...form, imageUrl: base64String })); }; reader.readAsDataURL(file); } diff --git a/src/app/dialogs/register-dialog/register-dialog.component.html b/src/app/dialogs/register-dialog/register-dialog.component.html index e25a37a1..d62e9d7e 100644 --- a/src/app/dialogs/register-dialog/register-dialog.component.html +++ b/src/app/dialogs/register-dialog/register-dialog.component.html @@ -1,86 +1,75 @@ -
-
-
-

{{ 'Register' | translate }}

- -
+
+

{{ 'Register' | translate }}

+ +
- + - @if (form.touched && form.get('mail')?.hasError('email')) { -

{{ 'Please enter a valid email address' | translate }}

- } +@if (form.mail().touched()) { + +} - + - + - + - + - + - @if (form.get('passwordRepeat')?.hasError('passwordMismatch')) { -

{{ 'Passwords do not match' | translate }}

- } + -
- -
-

- {{ 'Already have an account?' | translate }} - {{ 'Login' | translate }} -

-
-
+
+ +
+

+ {{ 'Already have an account?' | translate }} + {{ 'Login' | translate }} +

diff --git a/src/app/dialogs/register-dialog/register-dialog.component.scss b/src/app/dialogs/register-dialog/register-dialog.component.scss index 05c5925f..d1b906f0 100644 --- a/src/app/dialogs/register-dialog/register-dialog.component.scss +++ b/src/app/dialogs/register-dialog/register-dialog.component.scss @@ -1,4 +1,4 @@ -.registerDialog { +:host { display: flex; flex-direction: column; gap: 16px; @@ -28,12 +28,6 @@ } } -p.error { - color: red; - font-size: 14px; - margin-top: calc(1em * -1); -} - .help { .help-row { display: flex; diff --git a/src/app/dialogs/register-dialog/register-dialog.component.ts b/src/app/dialogs/register-dialog/register-dialog.component.ts index 8a596d33..bd94b5d9 100644 --- a/src/app/dialogs/register-dialog/register-dialog.component.ts +++ b/src/app/dialogs/register-dialog/register-dialog.component.ts @@ -1,135 +1,99 @@ -import { Component, ChangeDetectionStrategy } from '@angular/core'; +import { Component, ChangeDetectionStrategy, model, inject, effect } from '@angular/core'; import { MatDialogRef, MatDialog } from '@angular/material/dialog'; - import { AuthDialogComponent } from 'src/app/dialogs/auth-dialog/auth-dialog.component'; - -import { HttpErrorResponse } from '@angular/common/http'; -import { - FormControl, - FormGroup, - Validators, - FormsModule, - ReactiveFormsModule, -} from '@angular/forms'; - import { AccountService, BackendService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; - import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; -import { MatInputModule } from '@angular/material/input'; -import { MatFormFieldModule } from '@angular/material/form-field'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; +import { email, form, FormField, required, submit, validateTree } from '@angular/forms/signals'; +import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; @Component({ selector: 'app-register-dialog', templateUrl: './register-dialog.component.html', styleUrls: ['./register-dialog.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [ - FormsModule, - ReactiveFormsModule, - MatFormFieldModule, - MatInputModule, + FormField, + OutlinedInputComponent, + CombinedFormErrorsComponent, MatButtonModule, TranslatePipe, MatIconModule, - OutlinedInputComponent, ], }) export class RegisterDialogComponent { - public form = new FormGroup({ - prename: new FormControl('', { - validators: Validators.required, - nonNullable: true, - }), - surname: new FormControl('', { - validators: Validators.required, - nonNullable: true, - }), - username: new FormControl('', { - validators: Validators.required, - nonNullable: true, - }), - mail: new FormControl('', { - validators: [Validators.required, Validators.email], - nonNullable: true, - }), - password: new FormControl('', { - validators: Validators.required, - nonNullable: true, - }), - passwordRepeat: new FormControl('', { - validators: [ - Validators.required, - control => { - const password = control.parent?.get('password'); - if (!password?.value) return null; - if (!password?.touched) return null; - if (!control.touched) return null; - return control.value === password.value ? null : { passwordMismatch: true }; - }, - ], - nonNullable: true, - }), - }); - - public waitingForResponse = false; + #backend = inject(BackendService); + #account = inject(AccountService); + #dialog = inject(MatDialog); + dialogRef = inject>(MatDialogRef); - constructor( - private backend: BackendService, - public dialogRef: MatDialogRef, - private account: AccountService, - private dialog: MatDialog, - ) {} - - public async trySubmit() { - const { username, password, mail, prename, surname, passwordRepeat } = this.form.value; - if (!username || !password || !mail || !prename || !surname || !passwordRepeat) { - alert('Please fill in all fields'); - return; - } - - if (password !== passwordRepeat) { - alert('Passwords do not match'); - return; - } + model = model({ + prename: '', + surname: '', + username: '', + mail: '', + password: '', + passwordRepeat: '', + }); + form = form(this.model, path => { + required(path.prename); + required(path.surname); + required(path.username); + required(path.mail); + email(path.mail, { message: 'E-Mail address is not valid' }); + required(path.password); + required(path.passwordRepeat); + validateTree(path, ctx => { + if (ctx.value().password !== ctx.value().passwordRepeat) { + return { + kind: 'notEqual', + fieldTree: ctx.fieldTree.password, + message: 'Passwords do not match', + }; + } + return null; + }); + }); - this.waitingForResponse = true; + async trySubmit() { this.dialogRef.disableClose = true; + const { username, password, mail, prename, surname } = this.form().value(); + const success = await submit(this.form, async form => { + const registerSuccess = await this.#backend + .registerAccount({ + username, + password, + mail, + prename, + surname, + fullname: `${prename} ${surname}`, + }) + .catch(() => ({ error: 'Failed to register account' })); + if ('error' in registerSuccess) { + return { + kind: 'serverError', + fieldTree: form, + message: registerSuccess.error, + }; + } + + return undefined; + }); - const registerSuccess = await this.backend - .registerAccount({ - username, - password, - mail, - prename, - surname, - fullname: `${prename} ${surname}`, - }) - .catch((e: HttpErrorResponse) => { - console.log('Error', e); - alert(e.error); - return false; - }); - console.log('Response', registerSuccess); - if (!registerSuccess) { - this.waitingForResponse = false; + if (!success) { this.dialogRef.disableClose = false; return; } - - const userdata = await this.account.loginOrFetch({ username, password }); - + const userdata = await this.#account.loginOrFetch({ username, password }); this.dialogRef.disableClose = false; - this.waitingForResponse = false; if (!userdata) return; this.dialogRef.close({ username, password }); } - public openAuthDialog() { - this.dialog.open(AuthDialogComponent); + openAuthDialog() { + this.#dialog.open(AuthDialogComponent); } } diff --git a/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts b/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts index a54ba40e..e8771cd3 100644 --- a/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts +++ b/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts @@ -17,7 +17,7 @@ import { import { MatIconModule } from '@angular/material/icon'; import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; import { GridElementComponent } from 'src/app/components'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { BackendService, DialogHelperService, SnackbarService } from 'src/app/services'; export type RemoveFromCompilationResult = { diff --git a/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.html b/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.html index c9fc8c0e..737a67a4 100644 --- a/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.html +++ b/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.html @@ -1,49 +1,25 @@ -
-

{{ 'Choose a new password' | translate }}

- - {{ 'Username' | translate }} - - - - {{ 'New password' | translate }} - - - - {{ 'Repeat new password' | translate }} - - -
- - @if (form.errors?.not_equal) { - {{ 'Passwords are not equal' | translate }} - } - @if (serverErrorMsg.length > 0) { - {{ serverErrorMsg }} - } - - -
-
+

{{ 'Choose a new password' | translate }}

+ + + + + + + +
+ +
+ + diff --git a/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts b/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts index 5642a2f5..9032dd1e 100644 --- a/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts +++ b/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts @@ -1,81 +1,70 @@ import { HttpErrorResponse } from '@angular/common/http'; -import { Component, Inject, OnInit, ChangeDetectionStrategy } from '@angular/core'; -import { - FormControl, - FormGroup, - FormsModule, - ReactiveFormsModule, - Validators, -} from '@angular/forms'; +import { Component, inject, model } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; - import { MatButtonModule } from '@angular/material/button'; import { BackendService, SnackbarService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; - -import { MatFormField } from '@angular/material/form-field'; -import { MatInputModule } from '@angular/material/input'; +import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; +import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; +import { form, FormField, required, submit, validateTree } from '@angular/forms/signals'; @Component({ selector: 'app-reset-password-dialog', templateUrl: './reset-password-dialog.component.html', styleUrls: ['./reset-password-dialog.component.scss'], - changeDetection: ChangeDetectionStrategy.Eager, imports: [ - FormsModule, - ReactiveFormsModule, - MatFormField, - MatInputModule, + FormField, + OutlinedInputComponent, + CombinedFormErrorsComponent, MatButtonModule, TranslatePipe, ], }) -export class ResetPasswordDialogComponent implements OnInit { - public form = new FormGroup( - { - username: new FormControl('', Validators.required), - password: new FormControl('', Validators.required), - passwordRepeat: new FormControl('', Validators.required), - }, - control => { - const password = control.get('password'); - const passwordRepeat = control.get('passwordRepeat'); +export class ResetPasswordDialogComponent { + dialogRef = inject>(MatDialogRef); + dialogData = inject<{ token: string }>(MAT_DIALOG_DATA); + #backend = inject(BackendService); + #snackbar = inject(SnackbarService); - if (!password?.touched && !passwordRepeat?.touched) return null; - - if (password?.value !== passwordRepeat?.value) return { not_equal: 'Passwords do not match' }; + model = model({ username: '', password: '', passwordRepeat: '' }); + form = form(this.model, path => { + required(path.password); + required(path.passwordRepeat); + required(path.username); + validateTree(path, ctx => { + if (ctx.value().password !== ctx.value().passwordRepeat) { + return { + kind: 'notEqual', + fieldTree: ctx.fieldTree.password, + message: 'Passwords do not match', + }; + } return null; - }, - ); + }); + }); - public serverErrorMsg: string = ''; + async trySubmit() { + const success = await submit(this.form, async form => { + const { username, password } = this.form().value(); + const token = this.dialogData.token; - constructor( - public dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data: { token: string }, - private backend: BackendService, - private snackbar: SnackbarService, - ) {} + const error = await this.#backend + .confirmPasswordResetRequest(username, token, password) + .then(() => {}) + .catch((error: HttpErrorResponse) => error.error.toString()); - public trySubmit() { - const { username, token, password } = { - username: this.form.get('username')!.value as string, - password: this.form.get('password')!.value as string, - token: this.data.token, - }; + if (error) { + return { + kind: 'serverError', + message: error, + fieldTree: form, + }; + } + }); - this.backend - .confirmPasswordResetRequest(username, token, password) - .then(() => { - this.snackbar.showInfo('Your new password has been set! Try to log in!'); - this.dialogRef.close(); - }) - .catch((error: HttpErrorResponse) => { - console.log(error); - this.serverErrorMsg = error.error.toString(); - }); + if (!success) return; + this.#snackbar.showInfo('Your new password has been set! Try to log in!'); + this.dialogRef.close(); } - - ngOnInit(): void {} } diff --git a/src/app/dialogs/viewer-dialog/viewer-dialog.component.ts b/src/app/dialogs/viewer-dialog/viewer-dialog.component.ts index 90fa8ca6..e46abef8 100644 --- a/src/app/dialogs/viewer-dialog/viewer-dialog.component.ts +++ b/src/app/dialogs/viewer-dialog/viewer-dialog.component.ts @@ -1,6 +1,6 @@ -import { Component, computed, inject, ChangeDetectionStrategy } from '@angular/core'; +import { Component, computed, inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; -import { SafePipe } from 'src/app/pipes'; +import { SafePipe } from 'src/app/pipes/safe.pipe'; import { getViewerUrl } from 'src/app/util/get-viewer-url'; export type ViewerDialogData = { @@ -13,7 +13,6 @@ export type ViewerDialogData = { selector: 'app-viewer-dialog', imports: [SafePipe], templateUrl: './viewer-dialog.component.html', - changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './viewer-dialog.component.scss', }) export class ViewerDialogComponent { diff --git a/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.html b/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.html index ecddb0ff..5ff0ec93 100644 --- a/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.html +++ b/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.html @@ -77,17 +77,14 @@

{{ 'User access' | translate }}

@if (canEditVisibilityAndAccess()) { - @if (filteredAccounts$ | async; as filteredAccounts) { + @if (filteredAccounts(); as filteredAccounts) { - + @for (account of filteredAccounts; track account._id) { {{ account.fullname }} - {{ account.username }} diff --git a/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts b/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts index ae6e89c0..81e42a5f 100644 --- a/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts +++ b/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts @@ -1,16 +1,4 @@ -import { - AfterViewInit, - Component, - computed, - effect, - inject, - input, - signal, - ChangeDetectionStrategy, -} from '@angular/core'; - -import { AsyncPipe } from '@angular/common'; -import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { Component, computed, effect, inject, input, signal, model, resource } from '@angular/core'; import { MatAutocompleteModule, MatAutocompleteSelectedEvent, @@ -26,7 +14,6 @@ import { MatSelectChange, MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { catchError, combineLatestWith, from, map, of, startWith } from 'rxjs'; import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { Collection, @@ -43,6 +30,7 @@ import { ExtenderTransformer } from '@kompakkt/plugins/extender'; import { toObservable } from '@angular/core/rxjs-interop'; import { ExtenderSlotDirective } from 'src/app/directives/extender-slot.directive'; import { PermissionService } from 'src/app/services/permissions.service'; +import { form, FormField } from '@angular/forms/signals'; export type ChangedVisibilitySettings = Pick; @@ -50,13 +38,10 @@ export type ChangedVisibilitySettings = Pick, { + #dialogRef = inject(MatDialogRef, { optional: true, }); - private backend = inject(BackendService); - private account = inject(AccountService); - private helper = inject(DialogHelperService); - private permission = inject(PermissionService); + #backend = inject(BackendService); + #account = inject(AccountService); + #helper = inject(DialogHelperService); + #permission = inject(PermissionService); public embedded = input(false); @@ -120,7 +104,7 @@ export class VisibilityAndAccessDialogComponent { }); public canEditVisibilityAndAccess = computed(() => - this.permission.canEditVisibilityAndAccess(this.data()), + this.#permission.canEditVisibilityAndAccess(this.data()), ); public isLastOwner(userId: string): boolean { @@ -151,7 +135,8 @@ export class VisibilityAndAccessDialogComponent { return data.map(e => e.name).join('\n'); }); - public searchControl = new FormControl('', { nonNullable: true }); + searchModel = model(''); + searchForm = form(this.searchModel); public roleOptions = signal>([ { value: EntityAccessRole.editor, label: 'Editor' }, @@ -221,30 +206,19 @@ export class VisibilityAndAccessDialogComponent { return deduplicatedUsersWithDisplayRole; } - public allAccounts$ = from(this.backend.getAccounts()).pipe( - catchError(err => { - console.error('Failed fetching accounts', err); - return of([]); - }), - ); - public filteredAccounts$ = this.allAccounts$.pipe( - combineLatestWith( - this.searchControl.valueChanges.pipe( - startWith(''), - map(value => (typeof value === 'string' ? value.toLowerCase().trim() : '')), - ), - this.account.user$, - ), - map(([accounts, search, user]) => - search.length >= 1 - ? accounts.filter( - account => - account._id !== user?._id && - Object.values(account).join('').toLowerCase().includes(search), - ) - : [], - ), - ); + #allAccountsResource = resource({ loader: () => this.#backend.getAccounts() }); + filteredAccounts = computed(() => { + const query = this.searchForm().value().trim().toLowerCase(); + const accounts = this.#allAccountsResource.hasValue() ? this.#allAccountsResource.value() : []; + const user = this.#account.user(); + return query.length >= 1 + ? accounts.filter( + account => + account._id !== user?._id && + Object.values(account).join('').toLowerCase().includes(query), + ) + : []; + }); public published = signal(false); public download = signal(false); @@ -274,6 +248,7 @@ export class VisibilityAndAccessDialogComponent { } public userSelected(event: MatAutocompleteSelectedEvent) { + this.searchForm().value.set(''); const newUser = event.option.value; const currentAccess = this.accessPersons(); @@ -303,7 +278,7 @@ export class VisibilityAndAccessDialogComponent { } public async updateUserRole(role: MatSelectChange, userId: string) { - const accounts = await this.backend.getAccounts(); + const accounts = await this.#backend.getAccounts(); const user = accounts.find(user => user._id === userId); if (!user) { throw new Error(`User with ID ${userId} not found`); @@ -348,12 +323,12 @@ export class VisibilityAndAccessDialogComponent { } public cancel() { - this.dialogRef?.close(false); + this.#dialogRef?.close(false); } public async save() { if (this.data()) { - const loginData = await this.helper.verifyAuthentication('Validate login before saving'); + const loginData = await this.#helper.verifyAuthentication('Validate login before saving'); if (!loginData) return; } @@ -391,12 +366,12 @@ export class VisibilityAndAccessDialogComponent { const savePromises = data.map((element: IEntity | ICompilation) => isEntity(element) - ? this.backend.pushEntity(element) - : this.backend.pushCompilation(element), + ? this.#backend.pushEntity(element) + : this.#backend.pushCompilation(element), ); await Promise.all(savePromises); - this.dialogRef?.close(data); + this.#dialogRef?.close(data); } catch (error) { console.error('Entity could not be saved: ', error); } diff --git a/src/app/guards/authenticated.guard.ts b/src/app/guards/authenticated.guard.ts index 844c0a18..139bf077 100644 --- a/src/app/guards/authenticated.guard.ts +++ b/src/app/guards/authenticated.guard.ts @@ -1,15 +1,12 @@ -import { Injectable } from '@angular/core'; +import { inject, Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; - import { AccountService } from 'src/app/services'; -@Injectable({ - providedIn: 'root', -}) +@Injectable({ providedIn: 'root' }) export class AuthenticatedGuard { - constructor(private account: AccountService) {} + #account = inject(AccountService); canActivate(_: ActivatedRouteSnapshot, __: RouterStateSnapshot) { - return this.account.isAuthenticated$; + return this.#account.isAuthenticated$; } } diff --git a/src/app/pages/admin-page/admin-page.component.html b/src/app/pages/admin-page/admin-page.component.html index 03c6c2c0..70ce313d 100644 --- a/src/app/pages/admin-page/admin-page.component.html +++ b/src/app/pages/admin-page/admin-page.component.html @@ -18,7 +18,7 @@

{{ 'User administration' | translate }}

@@ -45,7 +45,7 @@

{{ 'User administration' | translate }}

mat-header-cell *matHeaderCellDef mat-sort-header - sortActionDescription="{{ 'Sort by full name' | translate }}" + [sortActionDescription]="'Sort by full name' | translate" > {{ 'Full name' | translate }} @@ -57,7 +57,7 @@

{{ 'User administration' | translate }}

mat-header-cell *matHeaderCellDef mat-sort-header - sortActionDescription="{{ 'Sort by username' | translate }}" + [sortActionDescription]="'Sort by username' | translate" > {{ 'Username' | translate }} @@ -69,7 +69,7 @@

{{ 'User administration' | translate }}

mat-header-cell *matHeaderCellDef mat-sort-header - sortActionDescription="{{ 'Sort by mail' | translate }}" + [sortActionDescription]="'Sort by mail' | translate" > {{ 'Mail' | translate }} @@ -81,7 +81,7 @@

{{ 'User administration' | translate }}

mat-header-cell *matHeaderCellDef mat-sort-header - sortActionDescription="{{ 'Sort by role' | translate }}" + [sortActionDescription]="'Sort by role' | translate" > {{ 'Role' | translate }} @@ -93,7 +93,7 @@

{{ 'User administration' | translate }}

mat-header-cell *matHeaderCellDef mat-sort-header - sortActionDescription="{{ 'Sort by created at' | translate }}" + [sortActionDescription]="'Sort by created at' | translate" > {{ 'Created at' | translate }} @@ -134,7 +134,7 @@

{{ 'Mail' | translate }}: {{ selectedUser.mail }}

{{ 'ID' | translate }}: {{ selectedUser._id }}

@if (entities$ | async; as entities) { - +

{{ 'Showing' | translate }} {{ entities.length }} {{ 'objects' | translate }}

@for (entity of entities; track entity._id) { @@ -150,7 +150,7 @@
{{ 'ID' | translate }}: {{ entity._id }}
} @if (compilations$ | async; as compilations) { - +

{{ 'Showing' | translate }} {{ compilations.length }} {{ 'objects' | translate }}

@@ -170,7 +170,7 @@
{{ 'ID' | translate }}: {{ compilation._id }}
} @if (tags$ | async; as tags) { - +

{{ 'Showing' | translate }} {{ tags.length }} {{ 'objects' | translate }}

@for (tag of tags; track tag._id) { @@ -183,7 +183,7 @@
{{ 'ID' | translate }}: {{ tag._id }}
} @if (persons$ | async; as persons) { - +

{{ 'Showing' | translate }} {{ persons.length }} {{ 'objects' | translate }}

@for (person of persons; track person._id) { @@ -196,7 +196,7 @@
{{ 'ID' | translate }}: {{ person._id }}
} @if (institutions$ | async; as institutions) { - +

{{ 'Showing' | translate }} {{ institutions.length }} {{ 'objects' | translate }}

@@ -214,7 +214,7 @@
{{ 'ID' | translate }}: {{ institution._id }}
} @if (annotations$ | async; as annotations) { - +

{{ 'Showing' | translate }} {{ annotations.length }} {{ 'objects' | translate }}

@@ -241,7 +241,7 @@
{{ 'ID' | translate }}: {{ annotation._id }}
} @if (metadata$ | async; as metadata) { - +

{{ 'Showing' | translate }} {{ metadata.length }} {{ 'objects' | translate }}

@for (data of metadata; track data._id) { diff --git a/src/app/pages/admin-page/admin-page.component.ts b/src/app/pages/admin-page/admin-page.component.ts index 3ea513fe..c732bb9d 100644 --- a/src/app/pages/admin-page/admin-page.component.ts +++ b/src/app/pages/admin-page/admin-page.component.ts @@ -61,7 +61,6 @@ type ReturnedUser = ReturnedUsersArray[number]; selector: 'app-admin-page', templateUrl: './admin-page.component.html', styleUrls: ['./admin-page.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [ FormsModule, diff --git a/src/app/pages/annotate/annotate.component.ts b/src/app/pages/annotate/annotate.component.ts index 6c351815..92712104 100644 --- a/src/app/pages/annotate/annotate.component.ts +++ b/src/app/pages/annotate/annotate.component.ts @@ -4,16 +4,13 @@ import { HostBinding, inject, OnInit, - SecurityContext, ChangeDetectionStrategy, } from '@angular/core'; -import { DomSanitizer, Meta, SafeResourceUrl, Title } from '@angular/platform-browser'; -import { ActivatedRoute, convertToParamMap, RouterModule } from '@angular/router'; - -import { TranslatePipe } from 'src/app/pipes'; +import { Meta, Title } from '@angular/platform-browser'; +import { ActivatedRoute, RouterModule } from '@angular/router'; import { SafePipe } from '../../pipes/safe.pipe'; -import { toObservable, toSignal } from '@angular/core/rxjs-interop'; +import { toSignal } from '@angular/core/rxjs-interop'; import { getViewerUrl } from 'src/app/util/get-viewer-url'; import { ActionbarComponent } from '../../components/actionbar/actionbar.component'; import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; @@ -22,8 +19,8 @@ import { AsyncPipe } from '@angular/common'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { GridElementComponent } from 'src/app/components'; -import { Collection } from '@kompakkt/common'; import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-annotate', diff --git a/src/app/pages/detail-page/detail-page.component.ts b/src/app/pages/detail-page/detail-page.component.ts index ab111161..8348211c 100644 --- a/src/app/pages/detail-page/detail-page.component.ts +++ b/src/app/pages/detail-page/detail-page.component.ts @@ -38,7 +38,7 @@ import ObjectID from 'bson-objectid'; import { toSignal } from '@angular/core/rxjs-interop'; import { IsEntityPipe } from 'src/app/pipes/is-entity.pipe'; import { IsCompilationPipe } from 'src/app/pipes/is-compilation.pipe'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { GridElementComponent } from 'src/app/components'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; diff --git a/src/app/pages/explore/explore-filter-option/explore-filter-option.component.ts b/src/app/pages/explore/explore-filter-option/explore-filter-option.component.ts index 148c5467..903365b3 100644 --- a/src/app/pages/explore/explore-filter-option/explore-filter-option.component.ts +++ b/src/app/pages/explore/explore-filter-option/explore-filter-option.component.ts @@ -15,7 +15,7 @@ import { MatExpansionModule } from '@angular/material/expansion'; import { MatIconModule } from '@angular/material/icon'; import { MatRadioChange, MatRadioGroup, MatRadioModule } from '@angular/material/radio'; import equal from 'fast-deep-equal'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; export type ExploreFilterOption = { label: string; diff --git a/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts b/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts index fbe01655..72677ade 100644 --- a/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts +++ b/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts @@ -11,7 +11,7 @@ import { } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { SidenavComponent, SidenavService } from 'src/app/services/sidenav.service'; import { ExploreFilterOption, diff --git a/src/app/pages/explore/explore.component.ts b/src/app/pages/explore/explore.component.ts index 4b3b470a..8f7b126d 100644 --- a/src/app/pages/explore/explore.component.ts +++ b/src/app/pages/explore/explore.component.ts @@ -34,7 +34,7 @@ import { } from 'rxjs'; import { SearchBarComponent } from 'src/app/components/search-bar/search-bar.component'; import { TabsComponent } from 'src/app/components/tabs/tabs.component'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { MathPipe } from 'src/app/pipes/math.pipe'; import { AccountService, diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index b0c0b34d..fb1c2d5c 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -12,7 +12,7 @@ import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { RouterLink } from '@angular/router'; import { CustomBrandingPlugin } from '@kompakkt/plugins/custom-branding'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { getViewerUrl } from 'src/app/util/get-viewer-url'; import { SafePipe } from '../../pipes/safe.pipe'; import { diff --git a/src/app/pages/notfound/notfound.component.ts b/src/app/pages/notfound/notfound.component.ts index e5394244..c14eee09 100644 --- a/src/app/pages/notfound/notfound.component.ts +++ b/src/app/pages/notfound/notfound.component.ts @@ -1,13 +1,10 @@ -import { Component, ChangeDetectionStrategy } from '@angular/core'; -import { TranslatePipe } from 'src/app/pipes'; +import { Component } from '@angular/core'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-notfound', templateUrl: './notfound.component.html', styleUrls: ['./notfound.component.scss'], - changeDetection: ChangeDetectionStrategy.Eager, imports: [TranslatePipe], }) -export class NotFoundComponent { - constructor(private translatePipe: TranslatePipe) {} -} +export class NotFoundComponent {} diff --git a/src/app/pages/profile-page/compilations/compilations.component.ts b/src/app/pages/profile-page/compilations/compilations.component.ts index 7cc06448..04c83a0e 100644 --- a/src/app/pages/profile-page/compilations/compilations.component.ts +++ b/src/app/pages/profile-page/compilations/compilations.component.ts @@ -33,7 +33,7 @@ import { } from 'src/app/components/pagination/pagination.component'; import { SelectionContainerComponent } from 'src/app/components/selection/selection-container.component'; import { ManageOwnershipComponent } from 'src/app/dialogs/manage-ownership/manage-ownership.component'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { AccountService, BackendService, @@ -57,7 +57,6 @@ import { PermissionService } from 'src/app/services/permissions.service'; selector: 'app-profile-compilations', templateUrl: './compilations.component.html', styleUrls: ['./compilations.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatChipsModule, diff --git a/src/app/pages/profile-page/entities/entities.component.ts b/src/app/pages/profile-page/entities/entities.component.ts index 279fb6db..9a620fc9 100644 --- a/src/app/pages/profile-page/entities/entities.component.ts +++ b/src/app/pages/profile-page/entities/entities.component.ts @@ -33,7 +33,7 @@ import { Pagination, PaginationComponent, } from 'src/app/components/pagination/pagination.component'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { AccountService, BackendService, @@ -65,7 +65,6 @@ const getAnnotationCount = (entity: IEntity): number => { selector: 'app-profile-entities', templateUrl: './entities.component.html', styleUrls: ['./entities.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [ RouterModule, diff --git a/src/app/pages/profile-page/profile-page-header/profile-page-header.component.ts b/src/app/pages/profile-page/profile-page-header/profile-page-header.component.ts index e1bf0d8d..63c32cc3 100644 --- a/src/app/pages/profile-page/profile-page-header/profile-page-header.component.ts +++ b/src/app/pages/profile-page/profile-page-header/profile-page-header.component.ts @@ -11,7 +11,6 @@ import { TranslatePipe } from '../../../pipes/translate.pipe'; selector: 'app-profile-page-header', templateUrl: './profile-page-header.component.html', styleUrls: ['./profile-page-header.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatIconModule, diff --git a/src/app/pages/profile-page/profile-page-help.component.ts b/src/app/pages/profile-page/profile-page-help.component.ts index ee282688..93f0872b 100644 --- a/src/app/pages/profile-page/profile-page-help.component.ts +++ b/src/app/pages/profile-page/profile-page-help.component.ts @@ -1,11 +1,10 @@ -import { Component, ChangeDetectionStrategy } from '@angular/core'; -import { TranslatePipe } from 'src/app/pipes'; +import { Component } from '@angular/core'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-profile-page-help', templateUrl: './profile-page-help.component.html', styleUrls: ['./profile-page-help.component.scss'], - changeDetection: ChangeDetectionStrategy.Eager, imports: [TranslatePipe], }) export class ProfilePageHelpComponent {} diff --git a/src/app/pages/profile-page/profile-page.component.ts b/src/app/pages/profile-page/profile-page.component.ts index 8df1efbc..33e30e46 100644 --- a/src/app/pages/profile-page/profile-page.component.ts +++ b/src/app/pages/profile-page/profile-page.component.ts @@ -24,7 +24,6 @@ import { ActivatedRoute, Router } from '@angular/router'; import { debounceTime, map } from 'rxjs'; import { SearchBarComponent } from 'src/app/components/search-bar/search-bar.component'; import { Tab, TabsComponent } from 'src/app/components/tabs/tabs.component'; -import { TranslatePipe } from 'src/app/pipes'; import { AccountService, BackendService, @@ -57,6 +56,7 @@ import { MiscOptions, SortByOptions, } from '../explore/shared-types'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-profile-page', diff --git a/src/app/pages/profile-page/public-view/profile-public-view.component.ts b/src/app/pages/profile-page/public-view/profile-public-view.component.ts index b63e084f..e452cbd6 100644 --- a/src/app/pages/profile-page/public-view/profile-public-view.component.ts +++ b/src/app/pages/profile-page/public-view/profile-public-view.component.ts @@ -14,7 +14,7 @@ import { type ICompilation, type IEntity, type IPublicProfile } from '@kompakkt/ import { GridElementComponent } from 'src/app/components'; import { SearchBarComponent } from 'src/app/components/search-bar/search-bar.component'; import { Tab, TabsComponent } from 'src/app/components/tabs/tabs.component'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { SidenavService } from 'src/app/services/sidenav.service'; import { ExploreFilterOption } from '../../explore/explore-filter-option/explore-filter-option.component'; @@ -53,7 +53,6 @@ type FilterableProfileItem = { selector: 'app-profile-public-view', templateUrl: './profile-public-view.component.html', styleUrls: ['./profile-public-view.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatIconModule, diff --git a/src/app/pages/static-pages/about/about.component.ts b/src/app/pages/static-pages/about/about.component.ts index ad6657df..9b696337 100644 --- a/src/app/pages/static-pages/about/about.component.ts +++ b/src/app/pages/static-pages/about/about.component.ts @@ -1,13 +1,12 @@ import { Component, OnInit, inject, ChangeDetectionStrategy } from '@angular/core'; import { MatIcon } from '@angular/material/icon'; import { Meta, Title } from '@angular/platform-browser'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-about', templateUrl: './about.component.html', styleUrls: ['./about.component.scss'], - standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [MatIcon], }) diff --git a/src/app/pages/static-pages/imprint/imprint.component.ts b/src/app/pages/static-pages/imprint/imprint.component.ts index 5daf13af..c8e0cb01 100644 --- a/src/app/pages/static-pages/imprint/imprint.component.ts +++ b/src/app/pages/static-pages/imprint/imprint.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { Meta, Title } from '@angular/platform-browser'; import { ExtenderSlotDirective } from 'src/app/directives/extender-slot.directive'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-imprint', diff --git a/src/app/pages/static-pages/privacy/privacy.component.ts b/src/app/pages/static-pages/privacy/privacy.component.ts index 007ae7f4..cdf3df4d 100644 --- a/src/app/pages/static-pages/privacy/privacy.component.ts +++ b/src/app/pages/static-pages/privacy/privacy.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { Meta, Title } from '@angular/platform-browser'; import { ExtenderSlotDirective } from 'src/app/directives/extender-slot.directive'; -import { TranslatePipe } from 'src/app/pipes'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @Component({ selector: 'app-privacy', diff --git a/src/app/pipes/filesize.pipe.ts b/src/app/pipes/filesize.pipe.ts index 8f6c3d90..82189b3f 100644 --- a/src/app/pipes/filesize.pipe.ts +++ b/src/app/pipes/filesize.pipe.ts @@ -1,9 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'filesize', - standalone: true, -}) +@Pipe({ name: 'filesize' }) export class FilesizePipe implements PipeTransform { transform(value: number, ..._: unknown[]): string { const dataUnits = ['kB', 'MB', 'GB']; diff --git a/src/app/pipes/index.ts b/src/app/pipes/index.ts deleted file mode 100644 index 97d77361..00000000 --- a/src/app/pipes/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { FilesizePipe } from './filesize.pipe'; -export { SafePipe } from './safe.pipe'; -export { TranslatePipe } from './translate.pipe'; diff --git a/src/app/pipes/is-compilation.pipe.ts b/src/app/pipes/is-compilation.pipe.ts index de20796b..ccec54b8 100644 --- a/src/app/pipes/is-compilation.pipe.ts +++ b/src/app/pipes/is-compilation.pipe.ts @@ -1,10 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { ICompilation, IEntity, isCompilation } from '@kompakkt/common'; -@Pipe({ - name: 'isCompilation', - standalone: true, -}) +@Pipe({ name: 'isCompilation' }) export class IsCompilationPipe implements PipeTransform { transform(value: IEntity | ICompilation): value is ICompilation { return isCompilation(value); diff --git a/src/app/pipes/is-entity.pipe.ts b/src/app/pipes/is-entity.pipe.ts index b140f440..4cdfdc8a 100644 --- a/src/app/pipes/is-entity.pipe.ts +++ b/src/app/pipes/is-entity.pipe.ts @@ -1,10 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; -@Pipe({ - name: 'isEntity', - standalone: true, -}) +@Pipe({ name: 'isEntity' }) export class IsEntityPipe implements PipeTransform { transform(value: IEntity | ICompilation): value is IEntity { return isEntity(value); diff --git a/src/app/pipes/is-institution.pipe.ts b/src/app/pipes/is-institution.pipe.ts index 7073a45e..c35db376 100644 --- a/src/app/pipes/is-institution.pipe.ts +++ b/src/app/pipes/is-institution.pipe.ts @@ -1,10 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { IInstitution, IPerson, isInstitution } from '@kompakkt/common'; -@Pipe({ - name: 'isInstitution', - standalone: true, -}) +@Pipe({ name: 'isInstitution' }) export class IsInstitutionPipe implements PipeTransform { transform(value: IPerson | IInstitution): value is IInstitution { return isInstitution(value); diff --git a/src/app/pipes/is-person.pipe.ts b/src/app/pipes/is-person.pipe.ts index ee283e2c..8357666d 100644 --- a/src/app/pipes/is-person.pipe.ts +++ b/src/app/pipes/is-person.pipe.ts @@ -1,10 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { IInstitution, IPerson, isPerson } from '@kompakkt/common'; -@Pipe({ - name: 'isPerson', - standalone: true, -}) +@Pipe({ name: 'isPerson' }) export class IsPersonPipe implements PipeTransform { transform(value: IPerson | IInstitution): value is IPerson { return isPerson(value); diff --git a/src/app/pipes/is-user-of-role.pipe.ts b/src/app/pipes/is-user-of-role.pipe.ts index 62fe5c16..7797e862 100644 --- a/src/app/pipes/is-user-of-role.pipe.ts +++ b/src/app/pipes/is-user-of-role.pipe.ts @@ -1,10 +1,7 @@ import { Pipe } from '@angular/core'; import { ICompilation, IEntity, IUserData, IUserDataWithoutData } from '@kompakkt/common'; -@Pipe({ - name: 'isUserOfRole', - standalone: true, -}) +@Pipe({ name: 'isUserOfRole' }) export class IsUserOfRolePipe { transform( item: IEntity | ICompilation, diff --git a/src/app/pipes/observable-value.ts b/src/app/pipes/observable-value.ts index a27f6ee5..ce7cc956 100644 --- a/src/app/pipes/observable-value.ts +++ b/src/app/pipes/observable-value.ts @@ -1,10 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { map, Observable } from 'rxjs'; -@Pipe({ - name: 'observableValue', - standalone: true, -}) +@Pipe({ name: 'observableValue' }) export class ObservableValuePipe implements PipeTransform { transform(value: Observable): Observable<{ value: T }> { return value.pipe(map(value => ({ value }))); diff --git a/src/app/pipes/safe.pipe.ts b/src/app/pipes/safe.pipe.ts index 82a96470..8b43c50e 100644 --- a/src/app/pipes/safe.pipe.ts +++ b/src/app/pipes/safe.pipe.ts @@ -1,4 +1,4 @@ -import { Pipe, PipeTransform } from '@angular/core'; +import { inject, Pipe, PipeTransform } from '@angular/core'; import { DomSanitizer, SafeHtml, @@ -8,12 +8,9 @@ import { SafeUrl, } from '@angular/platform-browser'; -@Pipe({ - name: 'safe', - standalone: true, -}) +@Pipe({ name: 'safe' }) export class SafePipe implements PipeTransform { - constructor(protected sanitizer: DomSanitizer) {} + #sanitizer = inject(DomSanitizer); public transform( value: any, @@ -21,15 +18,15 @@ export class SafePipe implements PipeTransform { ): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl { switch (type) { case 'html': - return this.sanitizer.bypassSecurityTrustHtml(value); + return this.#sanitizer.bypassSecurityTrustHtml(value); case 'style': - return this.sanitizer.bypassSecurityTrustStyle(value); + return this.#sanitizer.bypassSecurityTrustStyle(value); case 'script': - return this.sanitizer.bypassSecurityTrustScript(value); + return this.#sanitizer.bypassSecurityTrustScript(value); case 'url': - return this.sanitizer.bypassSecurityTrustUrl(value); + return this.#sanitizer.bypassSecurityTrustUrl(value); case 'resourceUrl': - return this.sanitizer.bypassSecurityTrustResourceUrl(value); + return this.#sanitizer.bypassSecurityTrustResourceUrl(value); default: throw new Error(`Invalid safe type specified: ${type}`); } diff --git a/src/app/pipes/translate.pipe.ts b/src/app/pipes/translate.pipe.ts index 78a7dc0e..64eb7f79 100644 --- a/src/app/pipes/translate.pipe.ts +++ b/src/app/pipes/translate.pipe.ts @@ -1,15 +1,14 @@ -import { Pipe, PipeTransform } from '@angular/core'; +import { inject, Pipe, PipeTransform } from '@angular/core'; import { TranslateService } from '../services/translate.service'; @Pipe({ name: 'translate', pure: false, - standalone: true, }) export class TranslatePipe implements PipeTransform { - constructor(private translateService: TranslateService) {} + #service = inject(TranslateService); transform(key: string): string { - return this.translateService.getTranslatedKey(key); + return this.#service.getTranslatedKey(key); } } diff --git a/src/app/pipes/truncate.pipe.ts b/src/app/pipes/truncate.pipe.ts index 4c323463..d54f9610 100644 --- a/src/app/pipes/truncate.pipe.ts +++ b/src/app/pipes/truncate.pipe.ts @@ -1,9 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({ - name: 'truncate', - standalone: true, -}) +@Pipe({ name: 'truncate' }) export class TruncatePipe implements PipeTransform { transform(value: string, length: number, outputAsBoolean?: boolean): string | boolean { if (value.length < length) { diff --git a/src/app/pipes/tuple-helper.pipes.ts b/src/app/pipes/tuple-helper.pipes.ts index d2c8407c..64dfe951 100644 --- a/src/app/pipes/tuple-helper.pipes.ts +++ b/src/app/pipes/tuple-helper.pipes.ts @@ -1,14 +1,14 @@ import { Pipe, PipeTransform } from '@angular/core'; import { DataTuple, IDescriptionValueTuple, IDimensionTuple } from '@kompakkt/common'; -@Pipe({ name: 'dataTupleKeyValue', standalone: true }) +@Pipe({ name: 'dataTupleKeyValue' }) export class DataTupleKeyValuePipe implements PipeTransform { transform(value: DataTuple): Array<{ key: string; value: unknown }> { return Object.entries(value).map(([key, value]) => ({ key, value })); } } -@Pipe({ name: 'isDimensionTuple', standalone: true }) +@Pipe({ name: 'isDimensionTuple' }) export class IsDimensionTuple implements PipeTransform { transform(value: DataTuple): value is IDimensionTuple { return ( @@ -17,7 +17,7 @@ export class IsDimensionTuple implements PipeTransform { } } -@Pipe({ name: 'isDescriptionValueTuple', standalone: true }) +@Pipe({ name: 'isDescriptionValueTuple' }) export class IsDescriptionValueTuple implements PipeTransform { transform(value: DataTuple): value is IDescriptionValueTuple { return value && typeof value === 'object' && 'description' in value && 'value' in value; diff --git a/src/app/services/account.service.ts b/src/app/services/account.service.ts index 0a0938ce..75d13b31 100644 --- a/src/app/services/account.service.ts +++ b/src/app/services/account.service.ts @@ -77,10 +77,12 @@ export class AccountService { map(profiles => profiles.filter(profile => !!profile) as IPublicProfile[]), shareReplay(1), ); + readonly profiles = toSignal(this.profiles$, { initialValue: [] as IPublicProfile[] }); userProfile$ = this.profiles$.pipe( map(profiles => profiles.find(profile => profile.type === ProfileType.user)), ); + readonly userProfile = toSignal(this.userProfile$, { initialValue: undefined }); selectedProfile$ = new BehaviorSubject(null); currentProfile$ = combineLatest([this.userProfile$, this.selectedProfile$]).pipe( @@ -184,6 +186,7 @@ export class AccountService { }) as IStrippedUserData, ), ); + strippedUser = toSignal(this.strippedUser$, { initialValue: undefined }); isAuthenticated$ = this.user$.pipe(map(user => !!user)); role = { diff --git a/src/app/services/dialog-helper.service.ts b/src/app/services/dialog-helper.service.ts index 7bed0b00..fd5a995e 100644 --- a/src/app/services/dialog-helper.service.ts +++ b/src/app/services/dialog-helper.service.ts @@ -3,13 +3,10 @@ import { MatDialog } from '@angular/material/dialog'; import { firstValueFrom } from 'rxjs'; import { AuthDialogComponent } from 'src/app/components'; -import type { ConfirmationDialogData } from '../dialogs/confirmation-dialog/confirmation-dialog.component'; import { ConfirmationDialogComponent, - EditEntityDialogComponent, - RegisterDialogComponent, - VisibilityAndAccessDialogComponent, -} from 'src/app/dialogs'; + type ConfirmationDialogData, +} from '../dialogs/confirmation-dialog/confirmation-dialog.component'; import { ProfilePageEditComponent } from 'src/app/dialogs/profile-page-edit/profile-page-edit.component'; import { IPublicProfile, @@ -41,6 +38,9 @@ import { ManageOwnershipComponent } from '../dialogs/manage-ownership/manage-own import { EmbedObjectDialogComponent } from '../dialogs/embed-object-dialog/embed-object-dialog.component'; import { NewsDialogComponent } from '../dialogs/news-dialog/news-dialog.component'; import type { INewsItem } from '@kompakkt/common'; +import { RegisterDialogComponent } from '../dialogs/register-dialog/register-dialog.component'; +import { EditEntityDialogComponent } from '../dialogs/edit-entity-dialog/edit-entity-dialog.component'; +import { VisibilityAndAccessDialogComponent } from '../dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component'; @Service() export class DialogHelperService { @@ -51,7 +51,7 @@ export class DialogHelperService { public openLoginDialog() { const ref = this.#dialog.open(AuthDialogComponent); - firstValueFrom(ref.afterClosed()).then(() => { + void firstValueFrom(ref.afterClosed()).then(() => { this.#events.updateSearchEvent(); }); @@ -80,7 +80,7 @@ export class DialogHelperService { CreateOrEditCompilationComponent, { data, disableClose: true }, ); - firstValueFrom(ref.afterClosed()).then(() => { + void firstValueFrom(ref.afterClosed()).then(() => { this.#account.updateTrigger$.next(Collection.compilation); this.#events.updateSearchEvent(); }); @@ -96,7 +96,7 @@ export class DialogHelperService { data, disableClose: true, }); - firstValueFrom(ref.afterClosed()).then(() => { + void firstValueFrom(ref.afterClosed()).then(() => { this.#account.updateTrigger$.next(Collection.compilation); this.#events.updateSearchEvent(); }); @@ -108,7 +108,7 @@ export class DialogHelperService { AddToCompilationComponent, { data, disableClose: true }, ); - firstValueFrom(ref.afterClosed()).then(() => { + void firstValueFrom(ref.afterClosed()).then(() => { this.#account.updateTrigger$.next(Collection.compilation); this.#events.updateSearchEvent(); }); @@ -130,7 +130,7 @@ export class DialogHelperService { disableClose: !!element, }); - firstValueFrom(ref.afterClosed()).then(() => { + void firstValueFrom(ref.afterClosed()).then(() => { this.#account.updateTrigger$.next(Collection.entity); this.#events.updateSearchEvent(); }); @@ -147,7 +147,7 @@ export class DialogHelperService { }, ); - firstValueFrom(ref.afterClosed()).then(() => { + void firstValueFrom(ref.afterClosed()).then(() => { this.#account.updateTrigger$.next(Collection.entity); this.#account.updateTrigger$.next(Collection.compilation); this.#events.updateSearchEvent(); @@ -166,7 +166,7 @@ export class DialogHelperService { data: profile, }); - firstValueFrom(ref.afterClosed()).then(updatedProfile => { + void firstValueFrom(ref.afterClosed()).then(updatedProfile => { if (!updatedProfile) return; this.#account.updateTrigger$.next('profile'); }); @@ -191,7 +191,7 @@ export class DialogHelperService { disableClose: false, }); - firstValueFrom(dialogRef.afterClosed()).then(() => { + void firstValueFrom(dialogRef.afterClosed()).then(() => { if (isEntity(data)) { this.#account.updateTrigger$.next(Collection.entity); } else if (isCompilation(data)) { diff --git a/src/app/services/metadata-communication.service.ts b/src/app/services/metadata-communication.service.ts deleted file mode 100644 index 1a91d11f..00000000 --- a/src/app/services/metadata-communication.service.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Service, signal } from '@angular/core'; -import { Institution, Person, PhysicalEntity } from '../metadata'; -import { DataTuple } from '@kompakkt/common'; - -export type SelectedMetadata = { - data: DataTuple; - index: number; -}; -export type SelectedAgent = { - agent: Person | Institution; - entityId: string; -}; - -@Service() -export class MetadataCommunicationService { - readonly selectedAgent = signal(null); - readonly physicalEntity = signal(undefined); -} diff --git a/src/app/services/query-action.service.ts b/src/app/services/query-action.service.ts index bdcce3f7..61073a18 100644 --- a/src/app/services/query-action.service.ts +++ b/src/app/services/query-action.service.ts @@ -3,7 +3,7 @@ import { MatDialog } from '@angular/material/dialog'; import { firstValueFrom } from 'rxjs'; import { AuthDialogComponent } from 'src/app/components'; -import { ResetPasswordDialogComponent } from 'src/app/dialogs'; +import { ResetPasswordDialogComponent } from '../dialogs/reset-password-dialog/reset-password-dialog.component'; @Service() export class QueryActionService { @@ -34,7 +34,7 @@ export class QueryActionService { data: { username }, disableClose: true, }); - firstValueFrom(dialog.afterClosed()).then(() => { + void firstValueFrom(dialog.afterClosed()).then(() => { this.removeParams(); }); } @@ -45,7 +45,7 @@ export class QueryActionService { data: { token }, disableClose: true, }); - firstValueFrom(dialog.afterClosed()).then(() => { + void firstValueFrom(dialog.afterClosed()).then(() => { this.removeParams(); this.#dialog.open(AuthDialogComponent, { disableClose: true }); }); From f49475227e924d2fe3a9e3516f3f2ec5fb79fbd4 Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Sat, 31 Oct 2026 16:06:47 +0100 Subject: [PATCH 04/10] Remove classes from metadata/index.ts --- .../detail-entity/detail-entity.component.ts | 13 +- .../metadata/address/address.component.ts | 13 +- .../agent-card/agent-card.component.html | 2 +- .../agents/agent-card/agent-card.component.ts | 12 +- .../agent-list/agent-list.component.html | 83 +- .../agents/agent-list/agent-list.component.ts | 71 +- .../metadata/agents/agents.component.html | 70 +- .../metadata/agents/agents.component.ts | 214 ++-- .../agents/is-agent-in-entity.pipe.ts | 15 +- .../metadata/agents/is-agent-self.pipe.ts | 7 +- src/app/components/metadata/agents/shared.ts | 21 + .../metadata/entity/entity.component.html | 120 +- .../metadata/entity/entity.component.ts | 103 +- .../metadata/general/general.component.html | 66 +- .../metadata/general/general.component.ts | 50 +- .../metadata/licence/licence.component.ts | 6 +- .../biblio-ref/biblio-ref.component.ts | 17 +- .../optional/creation/creation.component.ts | 10 +- .../optional/dimension/dimension.component.ts | 10 +- .../external-ids/external-ids.component.ts | 15 +- .../optional/links/links.component.ts | 15 +- .../metadata-files.component.ts | 18 +- .../optional/phys-obj/phys-obj.component.html | 4 +- .../optional/phys-obj/phys-obj.component.ts | 4 +- .../create-new-entity.component.html | 4 +- .../create-new-entity.component.ts | 54 +- src/app/metadata/index.ts | 1083 +++++------------ src/app/pipes/most-recent-address.pipe.ts | 10 + src/app/pipes/most-recent-contact-ref.pipe.ts | 10 + src/app/pipes/pretty-print-address.pipe.ts | 10 + .../pipes/pretty-print-contact-ref.pipe.ts | 10 + src/app/services/content-provider.service.ts | 114 -- src/app/services/index.ts | 1 - 33 files changed, 859 insertions(+), 1396 deletions(-) create mode 100644 src/app/components/metadata/agents/shared.ts create mode 100644 src/app/pipes/most-recent-address.pipe.ts create mode 100644 src/app/pipes/most-recent-contact-ref.pipe.ts create mode 100644 src/app/pipes/pretty-print-address.pipe.ts create mode 100644 src/app/pipes/pretty-print-contact-ref.pipe.ts delete mode 100644 src/app/services/content-provider.service.ts diff --git a/src/app/components/entity-detail/detail-entity/detail-entity.component.ts b/src/app/components/entity-detail/detail-entity/detail-entity.component.ts index ebc36f8f..b527fb05 100644 --- a/src/app/components/entity-detail/detail-entity/detail-entity.component.ts +++ b/src/app/components/entity-detail/detail-entity/detail-entity.component.ts @@ -5,6 +5,7 @@ import { IAddress, IDigitalEntity, IPhysicalEntity, + isAddress, isDigitalEntity, isInstitution, isPerson, @@ -17,18 +18,6 @@ import { KeyValuePipe } from '@angular/common'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; -// TODO: Kompakkt/Common typeguard -const isAddress = (obj: IAddress): obj is IAddress => { - return ( - !!obj?.building || - !!obj?.city || - !!obj?.country || - !!obj?.number || - !!obj?.street || - !!obj?.postcode - ); -}; - @Component({ selector: 'app-detail-entity', templateUrl: './detail-entity.component.html', diff --git a/src/app/components/metadata/address/address.component.ts b/src/app/components/metadata/address/address.component.ts index 1d2285fb..213d4cfb 100644 --- a/src/app/components/metadata/address/address.component.ts +++ b/src/app/components/metadata/address/address.component.ts @@ -1,8 +1,9 @@ import { Component, model, effect } from '@angular/core'; -import { Address, cloneEntity, PhysicalEntity } from 'src/app/metadata'; import { TranslatePipe } from '../../../pipes/translate.pipe'; import { OutlinedInputComponent } from '../../outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; +import { emptyAddress } from 'src/app/metadata'; +import { IPhysicalEntityResolved } from '@kompakkt/common'; @Component({ selector: 'app-address', @@ -11,7 +12,7 @@ import { form, FormField, required } from '@angular/forms/signals'; imports: [FormField, TranslatePipe, OutlinedInputComponent], }) export class AddressComponent { - entity = model.required(); + entity = model.required(); addressModel = model({ building: '', number: '', @@ -30,8 +31,8 @@ export class AddressComponent { _addressFormChangedEffectRef = effect(() => { const data = this.addressForm().value(); this.entity.update(entity => { - const clone = cloneEntity(entity) as PhysicalEntity; - clone.place.address = new Address({ ...data }); + const clone = structuredClone(entity); + clone.place.address = { ...emptyAddress(), ...data }; return clone; }); }); @@ -42,8 +43,8 @@ export class AddressComponent { const keys = Object.keys(this.addressModel()); if (keys.every(key => entity.place.address[key] === data[key])) return; this.entity.update(entity => { - const clone = cloneEntity(entity) as PhysicalEntity; - clone.place.address = new Address({ ...data }); + const clone = structuredClone(entity); + clone.place.address = { ...emptyAddress(), ...data }; return clone; }); }); diff --git a/src/app/components/metadata/agents/agent-card/agent-card.component.html b/src/app/components/metadata/agents/agent-card/agent-card.component.html index 78dc499a..39a05be7 100644 --- a/src/app/components/metadata/agents/agent-card/agent-card.component.html +++ b/src/app/components/metadata/agents/agent-card/agent-card.component.html @@ -2,7 +2,7 @@
@if (agent | isPerson) { -

{{ agent.fullName }}

+

{{ agent.prename }} {{ agent.name }}

@if (contactReference(); as contactRef) {

{{ contactRef.mail }}

} diff --git a/src/app/components/metadata/agents/agent-card/agent-card.component.ts b/src/app/components/metadata/agents/agent-card/agent-card.component.ts index 7e4f9354..96f0f579 100644 --- a/src/app/components/metadata/agents/agent-card/agent-card.component.ts +++ b/src/app/components/metadata/agents/agent-card/agent-card.component.ts @@ -1,12 +1,12 @@ import { Component, computed, input, output, Pipe, PipeTransform } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; -import { Institution, Person } from 'src/app/metadata'; +import { IInstitutionResolved, IPersonResolved, isInstitution, isPerson } from '@kompakkt/common'; @Pipe({ name: 'isPerson' }) export class IsPersonPipe implements PipeTransform { - transform(agent: Person | Institution): agent is Person { - return agent instanceof Person; + transform(agent: IPersonResolved | IInstitutionResolved): agent is IPersonResolved { + return isPerson(agent); } } @@ -17,7 +17,7 @@ export class IsPersonPipe implements PipeTransform { styleUrl: './agent-card.component.scss', }) export class AgentCardComponent { - agent = input.required(); + agent = input.required(); entityId = input.required(); remove = output(); @@ -26,12 +26,12 @@ export class AgentCardComponent { contactReference = computed(() => { const agent = this.agent(); const entityId = this.entityId(); - return agent instanceof Person ? agent.contact_references[entityId] : undefined; + return isPerson(agent) ? agent.contact_references[entityId] : undefined; }); address = computed(() => { const agent = this.agent(); const entityId = this.entityId(); - return agent instanceof Institution ? agent.addresses[entityId] : undefined; + return isInstitution(agent) ? agent.addresses[entityId] : undefined; }); } diff --git a/src/app/components/metadata/agents/agent-list/agent-list.component.html b/src/app/components/metadata/agents/agent-list/agent-list.component.html index 92c4e689..bfc66c56 100644 --- a/src/app/components/metadata/agents/agent-list/agent-list.component.html +++ b/src/app/components/metadata/agents/agent-list/agent-list.component.html @@ -1,65 +1,40 @@ -@if (entity(); as entity) { - @if (digitalEntity(); as digitalEntity) { -

- Rightsowner:* -

- } - @if (entity.rightsOwnerList(); as rightsOwnerList) { - @if (rightsOwnerList.length > 0) { - @if (physicalEntity()) { -

Rightsowner:*

- } - @for (agent of rightsOwnerList; track $index) { - - } - } +

Rightsowner:*

+@if (rightsOwners(); as rightsOwnerList) { + @for (agent of rightsOwnerList; track $index) { + } +} - @if (digitalEntity(); as digitalEntity) { -

- Contact person:* -

+

Contact person:*

+@if (contactPersons(); as contactPersonList) { + @for (agent of contactPersonList; track agent; let index = $index) { + } - @if (entity.contactPersonList(); as contactPersonList) { - @if (contactPersonList.length > 0) { - @if (physicalEntity()) { -

Contact person:*

- } - @for (agent of contactPersonList; track agent; let index = $index) { +} + +@if (customRoleAgents(); as customRoleList) { + @if (customRoleList.length > 0) { + @for (item of customRoleList; track item.role) { +

{{ item.label + ':' }}

+ + @for (agent of item.agents; track agent) { } } } - - @if (entity.customRolesList(); as customRoleList) { - @if (customRoleList.length > 0) { - @for (item of customRoleList; track item.role) { -

{{ item.label + ':' }}

- - @for (agent of item.agents; track agent) { - - } - } - } - } } diff --git a/src/app/components/metadata/agents/agent-list/agent-list.component.ts b/src/app/components/metadata/agents/agent-list/agent-list.component.ts index c9126ca7..7033f7a1 100644 --- a/src/app/components/metadata/agents/agent-list/agent-list.component.ts +++ b/src/app/components/metadata/agents/agent-list/agent-list.component.ts @@ -1,8 +1,13 @@ -import { Component, computed, input, output } from '@angular/core'; -import { AnyEntity, Institution, Person, PhysicalEntity } from 'src/app/metadata'; -import { isDigitalEntity, isPhysicalEntity } from '@kompakkt/common'; - +import { Component, computed, model, output } from '@angular/core'; +import { + IInstitutionResolved, + IPersonResolved, + isPerson, + isPhysicalEntity, +} from '@kompakkt/common'; import { AgentCardComponent } from '../agent-card/agent-card.component'; +import { AnyEntity } from 'src/app/metadata'; +import { DEFAULT_ROLE_TYPES, formatRoleLabel } from '../shared'; @Component({ selector: 'app-agent-list', @@ -11,31 +16,55 @@ import { AgentCardComponent } from '../agent-card/agent-card.component'; styleUrl: './agent-list.component.scss', }) export class AgentListComponent { - entity = input.required(); + entity = model.required(); entityId = computed(() => this.entity()._id.toString()); - selectAgent = output(); - - digitalEntity = computed(() => { - const entity = this.entity(); - return isDigitalEntity(entity) ? entity : undefined; + rightsOwners = computed(() => { + const { persons, institutions, _id } = this.entity(); + return [...persons, ...institutions].filter(a => a.roles[_id].includes('RIGHTS_OWNER')); + }); + contactPersons = computed(() => { + const { persons, institutions, _id } = this.entity(); + return [...persons, ...institutions].filter(a => a.roles[_id].includes('CONTACT_PERSON')); + }); + customRoleAgents = computed(() => { + const { persons, institutions, _id } = this.entity(); + const customRoles = [...persons, ...institutions].flatMap(a => + a.roles[_id].filter(role => !DEFAULT_ROLE_TYPES.includes(role)), + ); + const uniqueCustomRoles = Array.from(new Set(customRoles)); + return uniqueCustomRoles.map(role => ({ + role, + label: formatRoleLabel(role), + agents: [...persons, ...institutions].filter(a => a.roles[_id].includes(role)), + })); }); - physicalEntity = computed(() => { + rightsOwnerTitleClass = computed(() => { const entity = this.entity(); - return isPhysicalEntity(entity) ? (entity as PhysicalEntity) : undefined; + const rightsOwners = this.rightsOwners(); + if (isPhysicalEntity(entity)) return ''; + return rightsOwners.length > 0 ? 'black-text' : 'accent-text'; }); - removeAgentRole(agent: Person | Institution, role: string) { + contactPersonTitleClass = computed(() => { const entity = this.entity(); - const entityId = this.entityId(); + const contactPersons = this.contactPersons(); + if (isPhysicalEntity(entity)) return ''; + return contactPersons.length > 0 ? 'black-text' : 'accent-text'; + }); - const agentType = agent instanceof Person ? 'persons' : 'institutions'; + selectAgent = output(); - if (Array.isArray(entity[agentType])) { - const currentAgent = entity[agentType].find(a => a._id == agent._id); + removeAgentRole(agent: IPersonResolved | IInstitutionResolved, role: string) { + const entityId = this.entityId(); + const agentType = isPerson(agent) ? 'persons' : 'institutions'; + this.entity.update(entity => { + const clone = structuredClone(entity); + if (!Array.isArray(clone[agentType])) return clone; + const currentAgent = clone[agentType].find(a => a._id == agent._id); - if (!currentAgent) return; + if (!currentAgent) return clone; const roleIndex = currentAgent.roles[entityId].indexOf(role); @@ -45,12 +74,14 @@ export class AgentListComponent { if (currentAgent.roles[entityId].length === 0) { delete currentAgent.roles[entityId]; - const agentsArray = entity[agentType] as Array; + const agentsArray = clone[agentType] as Array; const agentIndex = agentsArray.indexOf(currentAgent); if (agentIndex > -1) { agentsArray.splice(agentIndex, 1); } } - } + + return clone; + }); } } diff --git a/src/app/components/metadata/agents/agents.component.html b/src/app/components/metadata/agents/agents.component.html index 31bdb7a0..6e14667a 100644 --- a/src/app/components/metadata/agents/agents.component.html +++ b/src/app/components/metadata/agents/agents.component.html @@ -35,9 +35,9 @@ @if (entity() | isAgentInEntity: agent : entityId()) { (already added, see below to edit) } - {{ agent.fullName }} - @if (agent.mostRecentContactRef; as ref) { - {{ ref.infoString }} + {{ agent.prename }} {{ agent.name }} + @if (agent | mostRecentContactRef; as ref) { + {{ ref | prettyPrintContactRef }} } @@ -57,24 +57,22 @@ > @if (filteredPersons(); as personList) { @for (agent of personList; track agent) { - @if (agent | isPerson) { - - @if (agent | isAgentSelf) { - (you) - } - @if (entity() | isAgentInEntity: agent : entityId()) { - (already added, see below to edit) - } - {{ agent.fullName }} - @if (agent.mostRecentContactRef; as ref) { - {{ ref.infoString }} - } - - } + + @if (agent | isAgentSelf) { + (you) + } + @if (entity() | isAgentInEntity: agent : entityId()) { + (already added, see below to edit) + } + {{ agent.prename }} {{ agent.name }} + @if (agent | mostRecentContactRef; as ref) { + {{ ref | prettyPrintContactRef }} + } + } } @@ -111,21 +109,19 @@ > @if (filteredInstitutions(); as filteredInstitutionList) { @for (agent of filteredInstitutionList; track agent) { - @if (agent | isInstitution) { - - @if (entity() | isAgentInEntity: agent : entityId()) { - (already added, see below to edit) - } - {{ agent.name }} - @if (agent.mostRecentAddress; as addr) { - {{ addr.infoString }} - } - - } + + @if (entity() | isAgentInEntity: agent : entityId()) { + (already added, see below to edit) + } + {{ agent.name }} + @if (agent | mostRecentAddress; as addr) { + {{ addr | prettyPrintAddress }} + } + } } @@ -236,4 +232,4 @@ - + diff --git a/src/app/components/metadata/agents/agents.component.ts b/src/app/components/metadata/agents/agents.component.ts index 1eebfd71..29efaece 100644 --- a/src/app/components/metadata/agents/agents.component.ts +++ b/src/app/components/metadata/agents/agents.component.ts @@ -23,27 +23,19 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatTabChangeEvent, MatTabGroup, MatTabsModule } from '@angular/material/tabs'; -import { - Address, - AnyEntity, - cloneEntity, - ContactReference, - Institution, - Person, -} from 'src/app/metadata'; import { TranslatePipe } from '../../../pipes/translate.pipe'; import { AccountService, BackendService } from 'src/app/services'; import { AgentListComponent } from './agent-list/agent-list.component'; import { - IInstitution, - IPerson, + IAddress, + IContact, + IInstitutionResolved, + IPersonResolved, isAddress, isContact, isInstitution, isPerson, } from '@kompakkt/common'; -import { IsPersonPipe } from 'src/app/pipes/is-person.pipe'; -import { IsInstitutionPipe } from 'src/app/pipes/is-institution.pipe'; import { CacheManagerService } from 'src/app/services/cache-manager.service'; import { isAgentInEntity, IsAgentInEntityPipe } from './is-agent-in-entity.pipe'; import { IsAgentSelfPipe } from './is-agent-self.pipe'; @@ -58,6 +50,20 @@ import { validate, } from '@angular/forms/signals'; import { createWrappedModel, UnwrappedModelKeys, WrappedModel } from '../metadata-util'; +import { + AnyEntity, + emptyAddress, + emptyContactRef, + emptyInstitution, + emptyPerson, + getMostRecentAddress, + getMostRecentContactRef, +} from 'src/app/metadata'; +import { MostRecentAddressPipe } from 'src/app/pipes/most-recent-address.pipe'; +import { PrettyPrintAddressPipe } from 'src/app/pipes/pretty-print-address.pipe'; +import { MostRecentContactRefPipe } from 'src/app/pipes/most-recent-contact-ref.pipe'; +import { PrettyPrintContactRefPipe } from 'src/app/pipes/pretty-print-contact-ref.pipe'; +import { DEFAULT_ROLES, emptyRoleEntry, formatRoleLabel, RoleEntry } from './shared'; const withoutProps = (obj: T, ...props: K[]): Omit => { const copy = { ...obj }; @@ -67,22 +73,6 @@ const withoutProps = (obj: T, ...props: K[]): Omit = return copy; }; -type RoleEntry = { - type: string; - value: string; - checked: boolean; -}; -const emptyRoleEntry = (): RoleEntry => ({ - type: `EMPTY_CUSTOM-${Date.now()}`, - value: '', - checked: false, -}); - -const DEFAULT_ROLES: RoleEntry[] = [ - { type: 'RIGHTS_OWNER', value: 'Rightsowner', checked: false }, - { type: 'CONTACT_PERSON', value: 'Contact person', checked: false }, -]; - @Pipe({ name: 'isDefaultRole' }) export class IsDefaultRolePipe implements PipeTransform { transform(role: RoleEntry, roleArr = DEFAULT_ROLES) { @@ -96,7 +86,7 @@ type PersonModel = WrappedModel<{ mail: string; phoneNumber: string; }> & { __kind: 'person' }; -const emptyPerson = (): PersonModel => +const emptyPersonModel = (): PersonModel => createWrappedModel( { prename: '', @@ -117,7 +107,7 @@ type InstitutionModel = WrappedModel<{ number: string; building: string; }> & { __kind: 'institution' }; -const emptyInstitution = () => +const emptyInstitutionModel = () => createWrappedModel( { name: '', @@ -151,12 +141,14 @@ type InstitutionModelKeys = UnwrappedModelKeys; MatTabsModule, TranslatePipe, AgentListComponent, - IsPersonPipe, - IsInstitutionPipe, IsAgentInEntityPipe, IsAgentSelfPipe, IsDefaultRolePipe, OutlinedInputComponent, + MostRecentAddressPipe, + MostRecentContactRefPipe, + PrettyPrintAddressPipe, + PrettyPrintContactRefPipe, ], templateUrl: './agents.component.html', styleUrl: './agents.component.scss', @@ -173,7 +165,7 @@ export class AgentsComponent implements OnInit { agentGroup = viewChild.required('agentGroup'); - agentModel = model(emptyPerson()); + agentModel = model(emptyPersonModel()); agentForm = form(this.agentModel, path => { applyWhenValue( path, @@ -270,31 +262,33 @@ export class AgentsComponent implements OnInit { }); }); - selectedAgent = signal(null); + selectedAgent = signal(null); #selfAsPerson = computed(() => { const user = this.account.user(); if (!user) return null; const entityId = this.entityId(); if (!entityId) return null; - const selfAsPerson = new Person({ + const selfAsPerson = { + ...emptyPerson(), prename: user.prename, name: user.surname, - }); - selfAsPerson.contact_references[entityId] = new ContactReference({ + } as IPersonResolved; + selfAsPerson.contact_references[entityId] = { + ...emptyContactRef(), mail: user.mail, - }); + }; return selfAsPerson; }); #personsResource = this.cache.cachedResource( () => 'metadata-agents-persons', - () => this.backend.getUserDataPersons({ full: true }), + () => this.backend.getUserDataPersons({ full: true }) as Promise, ); #mappedPersons = computed(() => { const persons = this.#personsResource.value() ?? []; // De-duplication of suggested persons based on their contact references - const map = new Map(); + const map = new Map(); for (const person of persons) { const pairs = Object.values(person.contact_references) .filter(isContact) @@ -307,23 +301,25 @@ export class AgentsComponent implements OnInit { ...person, contact_references: { ...person.contact_references, - [this.entityId()]: - person.contact_references[this.entityId()] ?? - new ContactReference({ - mail: pair.mail, - phonenumber: pair.phonenumber, - }), + [this.entityId()]: person.contact_references[this.entityId()] ?? { + ...emptyContactRef(), + mail: pair.mail, + phonenumber: pair.phonenumber, + }, }, }); } } - return Array.from(map.values()).map(p => new Person(p)); + return Array.from(map.values()).map(p => ({ + ...emptyPerson(), + ...p, + })); }); availablePersons = computed(() => { const persons = this.#mappedPersons(); const self = this.#selfAsPerson(); if (!self) return persons; - if (persons.find(p => p.mostRecentContactRef?.mail === self.mostRecentContactRef?.mail)) + if (persons.find(p => getMostRecentContactRef(p)?.mail === getMostRecentContactRef(self)?.mail)) return persons; // Prepend self as option return [self, ...persons]; @@ -331,12 +327,12 @@ export class AgentsComponent implements OnInit { #institutionsResource = this.cache.cachedResource( () => 'metadata-agents-institutions', - () => this.backend.getUserDataInstitutions({ full: true }), + () => this.backend.getUserDataInstitutions({ full: true }) as Promise, ); #mappedInstitutions = computed(() => { const institutions = this.#institutionsResource.value() ?? []; // De-duplication of suggested institutions based on their addresses - const map = new Map(); + const map = new Map(); for (const institution of institutions) { const pairs = Object.values(institution.addresses) .filter(isAddress) @@ -349,21 +345,23 @@ export class AgentsComponent implements OnInit { ...institution, addresses: { ...institution.addresses, - [this.entityId()]: - institution.addresses[this.entityId()] ?? - new Address({ - building: pair.building, - number: pair.number, - street: pair.street, - postcode: pair.postcode, - city: pair.city, - country: pair.country, - }), + [this.entityId()]: institution.addresses[this.entityId()] ?? { + ...emptyAddress(), + building: pair.building, + number: pair.number, + street: pair.street, + postcode: pair.postcode, + city: pair.city, + country: pair.country, + }, }, }); } } - return Array.from(map.values()).map(i => new Institution(i)); + return Array.from(map.values()).map(i => ({ + ...emptyInstitution(), + ...i, + })); }); availableInstitutions = computed(() => this.#mappedInstitutions()); @@ -415,22 +413,21 @@ export class AgentsComponent implements OnInit { return data .filter(role => role.checked && role.value.trim().length > 0) .map(role => { - if (role.type.startsWith('EMPTY_CUSTOM-')) - return this.entity().formatRoleLabel(role.value.trim()); + if (role.type.startsWith('EMPTY_CUSTOM-')) return formatRoleLabel(role.value.trim()); return role.type; }); } - #getAddress(): Address | undefined { + #getAddress(): IAddress | undefined { const data = this.agentForm().value(); if (data.__kind !== 'institution') return undefined; - return new Address({ ...data }); + return { ...emptyAddress(), ...data }; } - #getContactRef(): ContactReference | undefined { + #getContactRef(): IContact | undefined { const data = this.agentForm().value(); if (data.__kind !== 'person') return undefined; - return new ContactReference({ ...data }); + return { ...emptyContactRef(), ...data }; } public updateCustomRole(role: RoleEntry, value: string) { @@ -479,7 +476,7 @@ export class AgentsComponent implements OnInit { this.setAgentInForm(agent, true); }); - setAgentInForm(agent: Person | Institution, clearRoles: boolean) { + setAgentInForm(agent: IPersonResolved | IInstitutionResolved, clearRoles: boolean) { if (isPerson(agent)) { this.selectedTabIndex.set(0); } else if (isInstitution(agent)) { @@ -487,30 +484,34 @@ export class AgentsComponent implements OnInit { } this.agentForm().value.update(v => { - if (v.__kind === 'person' && agent instanceof Person) { - const mostRecentContactRef = Person.getMostRecentContactRef(agent); - return { - ...v, - prename: agent.prename, - surname: agent.name, - mail: mostRecentContactRef.mail, - phoneNumber: mostRecentContactRef.phonenumber, - __prefilled: true, - }; - } else if (v.__kind === 'institution' && agent instanceof Institution) { - const mostRecentAdress = Institution.getMostRecentAddress(agent); - return { - ...v, - name: agent.name, - university: agent.university, - country: mostRecentAdress.country, - postal: mostRecentAdress.postcode, - city: mostRecentAdress.city, - street: mostRecentAdress.street, - number: mostRecentAdress.number, - building: mostRecentAdress.building, - __prefilled: true, - }; + if (v.__kind === 'person' && 'prename' in agent) { + const mostRecentContactRef = getMostRecentContactRef(agent); + if (mostRecentContactRef) { + return { + ...v, + prename: agent.prename, + surname: agent.name, + mail: mostRecentContactRef.mail, + phoneNumber: mostRecentContactRef.phonenumber, + __prefilled: true, + }; + } + } else if (v.__kind === 'institution' && 'university' in agent) { + const mostRecentAdress = getMostRecentAddress(agent); + if (mostRecentAdress) { + return { + ...v, + name: agent.name, + university: agent.university, + country: mostRecentAdress.country, + postal: mostRecentAdress.postcode, + city: mostRecentAdress.city, + street: mostRecentAdress.street, + number: mostRecentAdress.number, + building: mostRecentAdress.building, + __prefilled: true, + }; + } } return { ...v }; }); @@ -531,22 +532,29 @@ export class AgentsComponent implements OnInit { if (data.__kind === 'person') { const contactRef = this.#getContactRef(); if (!contactRef) return; - const personInstance = new Person({ prename: data.prename, name: data.surname }); + const personInstance: IPersonResolved = { + ...emptyPerson(), + prename: data.prename, + name: data.surname, + }; personInstance.contact_references[entityId] = contactRef; personInstance.roles[entityId] = roles; this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); clone.persons.push(personInstance); return clone; }); } else if (data.__kind === 'institution') { const address = this.#getAddress(); if (!address) return; - const institutionInstance = new Institution({ name: data.name }); + const institutionInstance: IInstitutionResolved = { + ...emptyInstitution(), + name: data.name, + }; institutionInstance.addresses[entityId] = address; institutionInstance.roles[entityId] = roles; this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); clone.institutions.push(institutionInstance); return clone; }); @@ -565,7 +573,7 @@ export class AgentsComponent implements OnInit { private addRoleIfNotExists(newRoleName: string) { const entity = this.entity(); - const cleanedUpRoleName = entity.formatRoleLabel(newRoleName); + const cleanedUpRoleName = formatRoleLabel(newRoleName); const currentRoles = this.roleForm().value(); if (!cleanedUpRoleName || currentRoles.some(r => r.value === cleanedUpRoleName)) { return; @@ -606,10 +614,10 @@ export class AgentsComponent implements OnInit { return entity; } person.contact_references[entityId] = contactRef; - const newPerson = new Person(person); + const newPerson: IPersonResolved = { ...emptyPerson(), ...person }; newPerson.roles[entityId] = this.#getCurrentRoleSelection(); persons[index] = newPerson; - const clone = cloneEntity(entity); + const clone = structuredClone(entity); clone.persons = persons; return clone; }); @@ -638,10 +646,10 @@ export class AgentsComponent implements OnInit { institution.addresses[entityId] = address; institution.university = data.__kind === 'institution' ? data.university : ''; - const newInstitution = new Institution(institution); + const newInstitution: IInstitutionResolved = { ...emptyInstitution(), ...institution }; newInstitution.roles[entityId] = this.#getCurrentRoleSelection(); institutions[index] = newInstitution; - const clone = cloneEntity(entity); + const clone = structuredClone(entity); clone.institutions = institutions; return clone; }); @@ -680,7 +688,9 @@ export class AgentsComponent implements OnInit { resetAgentForm() { this.selectedAgent.set(null); this.agentForm().reset(); - this.agentForm().value.set(this.selectedTabIndex() === 0 ? emptyPerson() : emptyInstitution()); + this.agentForm().value.set( + this.selectedTabIndex() === 0 ? emptyPersonModel() : emptyInstitutionModel(), + ); this.clearRoleSelection(); } diff --git a/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts b/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts index 9d5a2080..547e8bb8 100644 --- a/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts +++ b/src/app/components/metadata/agents/is-agent-in-entity.pipe.ts @@ -1,6 +1,6 @@ import { Pipe, PipeTransform } from '@angular/core'; -import { isInstitution, isPerson } from '@kompakkt/common'; -import { AnyEntity, Institution, Person } from 'src/app/metadata'; +import { IInstitutionResolved, IPersonResolved, isInstitution, isPerson } from '@kompakkt/common'; +import { AnyEntity } from 'src/app/metadata'; export const isAgentInEntity = ({ entity, @@ -8,14 +8,15 @@ export const isAgentInEntity = ({ entityId, }: { entity: AnyEntity; - agent: Person | Institution; + agent: IPersonResolved | IInstitutionResolved; entityId: string; }) => { if (isPerson(agent)) { return entity.persons.some( p => p.contact_references[entityId]?.mail === agent.contact_references[entityId]?.mail && - p.fullName === agent.fullName, + p.prename === agent.prename && + p.name === agent.name, ); } else if (isInstitution(agent)) { return entity.institutions.some( @@ -30,7 +31,11 @@ export const isAgentInEntity = ({ @Pipe({ name: 'isAgentInEntity' }) export class IsAgentInEntityPipe implements PipeTransform { - transform(entity: AnyEntity, agent: Person | Institution, entityId: string): boolean { + transform( + entity: AnyEntity, + agent: IPersonResolved | IInstitutionResolved, + entityId: string, + ): boolean { return isAgentInEntity({ entity, agent, entityId }); } } diff --git a/src/app/components/metadata/agents/is-agent-self.pipe.ts b/src/app/components/metadata/agents/is-agent-self.pipe.ts index b9b719d3..cc96a588 100644 --- a/src/app/components/metadata/agents/is-agent-self.pipe.ts +++ b/src/app/components/metadata/agents/is-agent-self.pipe.ts @@ -1,6 +1,7 @@ import { inject, Pipe, PipeTransform } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; -import { Person } from 'src/app/metadata'; +import { IPersonResolved } from '@kompakkt/common'; +import { getMostRecentContactRef } from 'src/app/metadata'; import { AccountService } from 'src/app/services'; @Pipe({ name: 'isAgentSelf' }) @@ -8,9 +9,9 @@ export class IsAgentSelfPipe implements PipeTransform { #account = inject(AccountService); #user = toSignal(this.#account.user$); - transform(value: Person): boolean { + transform(value: IPersonResolved): boolean { const user = this.#user(); if (!user) return false; - return value.mostRecentContactRef?.mail === user.mail; + return getMostRecentContactRef(value)?.mail === user.mail; } } diff --git a/src/app/components/metadata/agents/shared.ts b/src/app/components/metadata/agents/shared.ts new file mode 100644 index 00000000..988cb6e9 --- /dev/null +++ b/src/app/components/metadata/agents/shared.ts @@ -0,0 +1,21 @@ +export type RoleEntry = { + type: string; + value: string; + checked: boolean; +}; +export const emptyRoleEntry = (): RoleEntry => ({ + type: `EMPTY_CUSTOM-${Date.now()}`, + value: '', + checked: false, +}); + +export const DEFAULT_ROLES: RoleEntry[] = [ + { type: 'RIGHTS_OWNER', value: 'Rightsowner', checked: false }, + { type: 'CONTACT_PERSON', value: 'Contact person', checked: false }, +]; + +export const DEFAULT_ROLE_TYPES = DEFAULT_ROLES.map(r => r.type); + +export const formatRoleLabel = (role: string): string => { + return role.trim().replace(/\s+/g, ' '); +}; diff --git a/src/app/components/metadata/entity/entity.component.html b/src/app/components/metadata/entity/entity.component.html index 47ecd86a..f374fcfa 100644 --- a/src/app/components/metadata/entity/entity.component.html +++ b/src/app/components/metadata/entity/entity.component.html @@ -35,29 +35,18 @@ (click)="selectTab('Related')" [class.active-tab]="indexString == 'Related'" > - @if (digitalEntity(); as digitalEntity) { - - label_important - - } @else { - - label - - } + + label_important + + {{ 'Related persons and institutions' | translate }} @@ -70,20 +59,18 @@ (click)="selectTab('Creation')" [class.active-tab]="indexString == 'Creation'" > - @if (digitalEntity(); as digitalEntity) { - - label_important - - {{ 'Creation' | translate }} - @if (digitalEntity.creation.length; as count) { - {{ '(' + count + ')' }} - } + + label_important + + {{ 'Creation' | translate }} + @if (entity().creation.length; as count) { + {{ '(' + count + ')' }} } @@ -165,21 +152,17 @@ (click)="selectTab('Physical')" [class.active-tab]="indexString == 'Physical'" > - @if (digitalEntity(); as digitalEntity) { - - label_important - - {{ 'Reference object' | translate }} - @if ( - phyObjsValid && digitalEntity.phyObjs[0] && digitalEntity.phyObjs[0].title !== '' - ) { - (1) - } + + label_important + + {{ 'Reference object' | translate }} + @if (phyObjsValid && entity().phyObjs[0] && entity().phyObjs[0].title !== '') { + (1) } @@ -189,20 +172,13 @@ - @if (digitalEntity(); as digitalEntity) { - - } + - @if (digitalEntity(); as digitalEntity) { - - } + @@ -216,20 +192,16 @@ - @if (digitalEntity(); as digitalEntity) { - + - - - } + + - @if (digitalEntity(); as digitalEntity) { - - } + @@ -247,18 +219,14 @@ - @if (digitalEntity(); as digitalEntity) { - - } + - @if (digitalEntity(); as digitalEntity) { - @if (digitalEntity.phyObjs[0]; as physEntity) { - - } + @if (entity().phyObjs.at(0); as physEntity) { + } diff --git a/src/app/components/metadata/entity/entity.component.ts b/src/app/components/metadata/entity/entity.component.ts index 28ccee9b..e38e61f1 100644 --- a/src/app/components/metadata/entity/entity.component.ts +++ b/src/app/components/metadata/entity/entity.component.ts @@ -1,5 +1,5 @@ import { COMMA, ENTER } from '@angular/cdk/keycodes'; -import { Component, computed, signal, ChangeDetectionStrategy, inject, model } from '@angular/core'; +import { Component, signal, ChangeDetectionStrategy, inject, model } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { MatListModule } from '@angular/material/list'; @@ -8,23 +8,20 @@ import { MatSidenavModule } from '@angular/material/sidenav'; import { MatTabsModule } from '@angular/material/tabs'; import { MatTooltipModule } from '@angular/material/tooltip'; import { - AnyEntity, - cloneEntity, - CreationTuple, - DescriptionValueTuple, - DigitalEntity, - DimensionTuple, - FileTuple, - Institution, - Person, - PhysicalEntity, - PlaceTuple, - Tag, - TypeValueTuple, + entityHasRole, + isCreationTupleValid, + isDescriptionValueTupleValid, + isDimensionTupleValid, + isFileTupleValid, + isInstitutionValid, + isPersonValid, + isPhysicalEntityValid, + isPlaceTupleValid, + isTypeValueTupleValid, + type AnyEntity, } from 'src/app/metadata'; import { isFreeLicence } from 'src/app/metadata/licences'; -import { ContentProviderService, SnackbarService } from 'src/app/services'; -import { isDigitalEntity, isPhysicalEntity } from '@kompakkt/common'; +import { IDigitalEntityResolved } from '@kompakkt/common'; import { TranslatePipe } from '../../../pipes/translate.pipe'; import { AgentsComponent } from '../agents/agents.component'; import { GeneralComponent } from '../general/general.component'; @@ -63,16 +60,9 @@ import { LicenceComponent } from '../licence/licence.component'; ], }) export class EntityComponent { - public content = inject(ContentProviderService); public dialog = inject(MatDialog); - entity = model.required(); - digitalEntity = computed(() => - isDigitalEntity(this.entity()) ? (this.entity() as DigitalEntity) : new DigitalEntity(), - ); - physicalEntity = computed(() => - isPhysicalEntity(this.entity()) ? (this.entity() as PhysicalEntity) : new PhysicalEntity(), - ); + entity = model.required(); selectedTabIndex = 0; @@ -91,20 +81,7 @@ export class EntityComponent { 'Physical', ]; - // Public for validation - public PhysicalEntity = PhysicalEntity; - public DimensionTuple = DimensionTuple; - public PlaceTuple = PlaceTuple; - public CreationTuple = CreationTuple; - public TypeValueTuple = TypeValueTuple; - public DescriptionValueTuple = DescriptionValueTuple; - public Person = Person; - public Institution = Institution; - public Tag = Tag; - public FileTuple = FileTuple; - public indexString = 'General'; - public separatorKeysCodes: number[] = [ENTER, COMMA]; constructor() { @@ -123,7 +100,7 @@ export class EntityComponent { } get licenceValid() { - const digitalEntity = this.digitalEntity(); + const digitalEntity = this.entity(); return ( !!digitalEntity?.licence && (!isFreeLicence(digitalEntity.licence) ? !!digitalEntity.licenceAttribution?.trim() : true) @@ -131,81 +108,75 @@ export class EntityComponent { } get placeValid() { - const physicalEntity = this.physicalEntity(); - return physicalEntity ? PlaceTuple.checkIsValid(physicalEntity.place) : false; + const physicalEntity = this.entity().phyObjs.find(p => isPhysicalEntityValid(p)); + return physicalEntity ? isPlaceTupleValid(physicalEntity.place) : false; } get hasRightsOwner() { - const digitalEntity = this.digitalEntity(); - return digitalEntity?.hasRightsOwner(); + const digitalEntity = this.entity(); + return entityHasRole(digitalEntity, 'RIGHTS_OWNER'); } get hasContactPerson() { - const digitalEntity = this.digitalEntity(); - return digitalEntity?.hasContactPerson(); + const digitalEntity = this.entity(); + return entityHasRole(digitalEntity, 'CONTACT_PERSON'); } get personsValid() { const entity = this.entity(); - return undefined === entity.persons.find(p => !Person.checkIsValid(p, entity._id.toString())); + return entity.persons.every(p => isPersonValid(p, entity._id.toString())); } get institutionsValid() { const entity = this.entity(); - return ( - undefined === - entity.institutions.find(i => !Institution.checkIsValid(i, entity._id.toString())) - ); + return entity.institutions.every(i => isInstitutionValid(i, entity._id.toString())); } get dimensionsValid() { - const entity = this.digitalEntity(); - return entity - ? undefined === entity.dimensions.find(d => !DimensionTuple.checkIsValid(d)) - : false; + const entity = this.entity(); + return entity.dimensions.every(d => isDimensionTupleValid(d)); } get creationValid() { - const entity = this.digitalEntity(); - return entity ? undefined === entity.creation.find(c => !CreationTuple.checkIsValid(c)) : false; + const entity = this.entity(); + return entity.creation.every(c => isCreationTupleValid(c)); } get externalIdValid() { const entity = this.entity(); - return undefined === entity.externalId.find(c => !TypeValueTuple.checkIsValid(c)); + return entity.externalId.every(c => isTypeValueTupleValid(c)); } get externalLinkValid() { const entity = this.entity(); - return undefined === entity.externalLink.find(c => !DescriptionValueTuple.checkIsValid(c)); + return entity.externalLink.every(c => isDescriptionValueTupleValid(c)); } get biblioRefsValid() { const entity = this.entity(); - return undefined === entity.biblioRefs.find(c => !DescriptionValueTuple.checkIsValid(c, false)); + return entity.biblioRefs.every(c => isDescriptionValueTupleValid(c, false)); } get metadataFilesValid() { const entity = this.entity(); - return undefined === entity.metadata_files.find(c => !FileTuple.checkIsValid(c)); + return entity.metadata_files.every(c => isFileTupleValid(c)); } get phyObjsValid() { - const entity = this.digitalEntity(); - return entity ? undefined === entity.phyObjs.find(p => !PhysicalEntity.checkIsValid(p)) : false; + const entity = this.entity(); + return entity.phyObjs.every(p => isPhysicalEntityValid(p)); } // /Validation - public removeValueFromProperty(entity: AnyEntity, data: any) { - const { property, index } = data; + public removeValueFromProperty({ property, index }: { property: string; index: number }) { this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); if (Array.isArray(clone[property])) { const arr = [...clone[property]]; - arr[property].splice(index, 1); + arr.splice(index, 1); clone[property] = arr; } return clone; - }) + }); } } diff --git a/src/app/components/metadata/general/general.component.html b/src/app/components/metadata/general/general.component.html index c4835633..ae628400 100644 --- a/src/app/components/metadata/general/general.component.html +++ b/src/app/components/metadata/general/general.component.html @@ -1,4 +1,4 @@ -

+

{{ 'General Information' | translate }}

-@if (physicalEntity(); as physicalEntity) { +@if (isPhysicalEntity()) { } -@if (digitalEntity(); as digitalEntity) { - - - @for (tag of filteredTags(); track tag) { - {{ tag.value }} - } - - +@if (isDigitalEntity()) { + @if (entity(); as entity) { + @if ('tags' in entity) { + + + @for (tag of filteredTags(); track tag) { + {{ tag.value }} + } + + -

{{ 'Seperate many tags by pressing comma or enter/return' | translate }}

+

+ {{ 'Seperate many tags by pressing comma or enter/return' | translate }} +

- - @for (tag of digitalEntity.tags; track tag; let index = $index) { - - {{ tag.value }} - cancel - + + @for (tag of entity.tags; track tag; let index = $index) { + + {{ tag.value }} + cancel + + } + } - + } } diff --git a/src/app/components/metadata/general/general.component.ts b/src/app/components/metadata/general/general.component.ts index ca86e00e..3cc48727 100644 --- a/src/app/components/metadata/general/general.component.ts +++ b/src/app/components/metadata/general/general.component.ts @@ -1,5 +1,13 @@ -import { Component, computed, output, model, inject, signal, effect } from '@angular/core'; -import { toSignal } from '@angular/core/rxjs-interop'; +import { + Component, + computed, + output, + model, + inject, + signal, + effect, + resource, +} from '@angular/core'; import { MatAutocompleteModule, type MatAutocompleteSelectedEvent, @@ -9,12 +17,12 @@ import { MatOption, MatOptionModule } from '@angular/material/core'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; -import { cloneEntity, DigitalEntity, PhysicalEntity, Tag } from 'src/app/metadata'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { ContentProviderService } from 'src/app/services'; +import { BackendService } from 'src/app/services'; import { OutlinedInputComponent } from '../../outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; -import { isDigitalEntity, isPhysicalEntity } from '@kompakkt/common'; +import { isDigitalEntity, isPhysicalEntity, ITag } from '@kompakkt/common'; +import { AnyEntity, emptyTag } from 'src/app/metadata'; @Component({ selector: 'app-general', @@ -33,18 +41,12 @@ import { isDigitalEntity, isPhysicalEntity } from '@kompakkt/common'; styleUrl: './general.component.scss', }) export class GeneralComponent { - public content = inject(ContentProviderService); + #backend = inject(BackendService); - entity = model.required(); - digitalEntity = computed(() => { - const entity = this.entity(); - return isDigitalEntity(entity) ? (entity as DigitalEntity) : undefined; - }); - physicalEntity = computed(() => { - const entity = this.entity(); - return isPhysicalEntity(entity) ? (entity as PhysicalEntity) : undefined; - }); - remove = output(); + entity = model.required(); + isDigitalEntity = computed(() => isDigitalEntity(this.entity())); + isPhysicalEntity = computed(() => isPhysicalEntity(this.entity())); + remove = output<{ property: string; index: number }>(); searchTagModel = model(''); searchTagForm = form(this.searchTagModel); @@ -57,7 +59,7 @@ export class GeneralComponent { _updateEntityFromFormChangeEffectRef = effect(() => { const data = this.entityFieldsForm().value(); this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); clone.title = data.title; clone.description = data.description; if ('collection' in clone) { @@ -67,14 +69,16 @@ export class GeneralComponent { }); }); - #contentTags = toSignal(this.content.$Tags, { initialValue: [] }); + #tagsResource = resource({ + loader: () => this.#backend.getAllTags(), + }); availableTags = computed(() => { - const tags = this.#contentTags(); + const tags = this.#tagsResource.hasValue() ? this.#tagsResource.value() : []; // De-duplicate tags based on value - const tagMap = new Map(); + const tagMap = new Map(); tags.forEach(t => { if (!tagMap.has(t.value)) { - tagMap.set(t.value, new Tag(t)); + tagMap.set(t.value, { ...emptyTag(), ...t }); } }); return Array.from(tagMap.values()).sort((a, b) => a.value.localeCompare(b.value)); @@ -96,9 +100,9 @@ export class GeneralComponent { #addTag(value: string) { this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); if ('tags' in clone) { - const tags = [...clone.tags, new Tag({ value })]; + const tags = [...clone.tags, { ...emptyTag(), value }]; clone.tags = tags; return clone; } else { diff --git a/src/app/components/metadata/licence/licence.component.ts b/src/app/components/metadata/licence/licence.component.ts index a0ef22a5..889a1178 100644 --- a/src/app/components/metadata/licence/licence.component.ts +++ b/src/app/components/metadata/licence/licence.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, input, signal, ChangeDetectionStrategy } from '@angular/core'; +import { Component, computed, input, signal, ChangeDetectionStrategy, model } from '@angular/core'; import { MatRadioModule } from '@angular/material/radio'; import { MatIconModule } from '@angular/material/icon'; @@ -7,8 +7,8 @@ import { OutlinedInputComponent } from '../../outlined-input/outlined-input.comp import { TranslatePipe } from '../../../pipes/translate.pipe'; import { FormsModule } from '@angular/forms'; import { isFreeLicence, Licences } from '../../../metadata/licences'; -import { DigitalEntity } from 'src/app/metadata'; import { KeyValuePipe } from '@angular/common'; +import { IDigitalEntityResolved } from '@kompakkt/common'; @Component({ selector: 'app-licence', @@ -25,7 +25,7 @@ import { KeyValuePipe } from '@angular/common'; styleUrl: './licence.component.scss', }) export class LicenceComponent { - entity = input(); + entity = model.required(); currentLicenceKey = signal(''); public availableLicences = Licences; diff --git a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts index e05487d7..779d1bde 100644 --- a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts +++ b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts @@ -5,13 +5,13 @@ import { MatInputModule } from '@angular/material/input'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; -import { AnyEntity, cloneEntity, DescriptionValueTuple, PhysicalEntity } from 'src/app/metadata'; -import { DataTuple } from '@kompakkt/common'; +import { DataTuple, isPhysicalEntity } from '@kompakkt/common'; import { TranslatePipe } from '../../../../pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { disabled, form, FormField, minLength } from '@angular/forms/signals'; import { createWrappedModel, UnwrappedModelKeys, WrappedModel } from '../../metadata-util'; +import { AnyEntity, emptyDescriptionValueTuple } from 'src/app/metadata'; type BiblioRefModel = WrappedModel<{ reference: string; @@ -36,7 +36,7 @@ type BiblioRefModel = WrappedModel<{ }) export class BiblioRefComponent { public entity = model.required(); - isPhysical = computed(() => this.entity() instanceof PhysicalEntity); + isPhysical = computed(() => isPhysicalEntity(this.entity())); biblioRefModel = model(createWrappedModel({ reference: '', description: '' })); biblioRefForm = form(this.biblioRefModel, path => { @@ -66,13 +66,10 @@ export class BiblioRefComponent { if (this.biblioRefForm().invalid()) throw new Error('Invalid'); const { reference, description } = this.biblioRefForm().value(); - const biblioInstance = new DescriptionValueTuple({ - value: reference, - description: description, - }); + const biblioInstance = { ...emptyDescriptionValueTuple(), value: reference, description }; this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); const biblioRefs = [...clone.biblioRefs, biblioInstance]; clone.biblioRefs = biblioRefs; return clone; @@ -85,9 +82,9 @@ export class BiblioRefComponent { const { reference, description } = this.biblioRefForm().value(); const index = this.dataIndex(); this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); const biblioRefs = [...clone.biblioRefs]; - biblioRefs[index] = new DescriptionValueTuple({ value: reference, description: description }); + biblioRefs[index] = { ...emptyDescriptionValueTuple(), value: reference, description }; clone.biblioRefs = biblioRefs; return clone; }); diff --git a/src/app/components/metadata/optional/creation/creation.component.ts b/src/app/components/metadata/optional/creation/creation.component.ts index eff32c71..e62d1b82 100644 --- a/src/app/components/metadata/optional/creation/creation.component.ts +++ b/src/app/components/metadata/optional/creation/creation.component.ts @@ -9,13 +9,14 @@ import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; -import { CreationTuple, DigitalEntity } from 'src/app/metadata'; import { TranslatePipe } from '../../../../pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { toSignal } from '@angular/core/rxjs-interop'; import { form, FormField, submit, validateTree } from '@angular/forms/signals'; +import { IDigitalEntityResolved } from '@kompakkt/common'; +import { emptyCreationTuple } from 'src/app/metadata'; type CreationModel = { technique: string; @@ -43,7 +44,7 @@ type CreationModel = { providers: [provideNativeDateAdapter()], }) export class CreationComponent { - public entity = input.required(); + public entity = model.required(); creationModel = model({ technique: '', @@ -83,12 +84,13 @@ export class CreationComponent { start && end ? `${formatDate(start, 'MM/dd/yyyy', 'en-US')} - ${formatDate(end, 'MM/dd/yyyy', 'en-US')}` : ''; - const creationInstance = new CreationTuple({ + const creationInstance = { + ...emptyCreationTuple(), technique: technique ?? '', program: software ?? '', equipment: equipment ?? '', date: formattedDate, - }); + }; this.entity().creation.push(creationInstance); return; diff --git a/src/app/components/metadata/optional/dimension/dimension.component.ts b/src/app/components/metadata/optional/dimension/dimension.component.ts index d686a961..26c2e28e 100644 --- a/src/app/components/metadata/optional/dimension/dimension.component.ts +++ b/src/app/components/metadata/optional/dimension/dimension.component.ts @@ -3,11 +3,11 @@ import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; -import { cloneEntity, DimensionTuple, PhysicalEntity } from 'src/app/metadata'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; +import { IPhysicalEntityResolved } from '@kompakkt/common'; const emptyDimensionTuple = () => ({ name: '', value: '', type: '' }); @@ -27,7 +27,7 @@ const emptyDimensionTuple = () => ({ name: '', value: '', type: '' }); styleUrl: './dimension.component.scss', }) export class DimensionComponent { - entity = model.required(); + entity = model.required(); dimensionModel = model(emptyDimensionTuple()); dimensionForm = form(this.dimensionModel, path => { @@ -37,11 +37,11 @@ export class DimensionComponent { }); addNewDimensionData() { - const { name, value, type } = this.dimensionForm().value(); + const data = this.dimensionForm().value(); this.entity.update(entity => { - const clone = cloneEntity(entity) as PhysicalEntity; + const clone = structuredClone(entity); const dimensions = [...clone.dimensions]; - dimensions.push(new DimensionTuple({ name, value, type })); + dimensions.push({ ...emptyDimensionTuple(), ...data }); return clone; }); this.dimensionForm().value.set(emptyDimensionTuple()); diff --git a/src/app/components/metadata/optional/external-ids/external-ids.component.ts b/src/app/components/metadata/optional/external-ids/external-ids.component.ts index bab1f6b2..14a9b077 100644 --- a/src/app/components/metadata/optional/external-ids/external-ids.component.ts +++ b/src/app/components/metadata/optional/external-ids/external-ids.component.ts @@ -3,13 +3,12 @@ import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; -import { AnyEntity, cloneEntity, PhysicalEntity, TypeValueTuple } from 'src/app/metadata'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; - -const emptyTuple = () => ({ value: '', type: '' }); +import { AnyEntity, emptyTypeValueTuple } from 'src/app/metadata'; +import { isPhysicalEntity } from '@kompakkt/common'; @Component({ selector: 'app-external-ids', @@ -29,21 +28,21 @@ const emptyTuple = () => ({ value: '', type: '' }); export class ExternalIdsComponent { entity = model.required(); - tupleModel = model(emptyTuple()); + tupleModel = model(emptyTypeValueTuple()); tupleForm = form(this.tupleModel, path => { required(path.type); required(path.value); }); - isPhysical = computed(() => this.entity() instanceof PhysicalEntity); + isPhysical = computed(() => isPhysicalEntity(this.entity())); addNewIdentifier() { const { type, value } = this.tupleForm().value(); this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); const externalIds = [...clone.externalId]; - externalIds.push(new TypeValueTuple({ type, value })); + externalIds.push({ ...emptyTypeValueTuple(), type, value }); return clone; }); - this.tupleForm().value.set(emptyTuple()); + this.tupleForm().value.set(emptyTypeValueTuple()); } } diff --git a/src/app/components/metadata/optional/links/links.component.ts b/src/app/components/metadata/optional/links/links.component.ts index 9ee5610e..d609d43f 100644 --- a/src/app/components/metadata/optional/links/links.component.ts +++ b/src/app/components/metadata/optional/links/links.component.ts @@ -3,13 +3,12 @@ import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; -import { AnyEntity, cloneEntity, DescriptionValueTuple, PhysicalEntity } from 'src/app/metadata'; import { TranslatePipe } from '../../../../pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; - -const emptyTuple = () => ({ value: '', description: '' }); +import { AnyEntity, emptyDescriptionValueTuple } from 'src/app/metadata'; +import { isPhysicalEntity } from '@kompakkt/common'; @Component({ selector: 'app-links', @@ -28,9 +27,9 @@ const emptyTuple = () => ({ value: '', description: '' }); }) export class LinksComponent { entity = model.required(); - isPhysical = computed(() => this.entity() instanceof PhysicalEntity); + isPhysical = computed(() => isPhysicalEntity(this.entity())); - tupleModel = model(emptyTuple()); + tupleModel = model(emptyDescriptionValueTuple()); tupleForm = form(this.tupleModel, path => { required(path.description); required(path.value); @@ -39,11 +38,11 @@ export class LinksComponent { addNewLinkData() { const { description, value } = this.tupleForm().value(); this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); const externalLinhk = [...clone.externalLink]; - externalLinhk.push(new DescriptionValueTuple({ description, value })); + externalLinhk.push({ ...emptyDescriptionValueTuple(), value, description }); return clone; }); - this.tupleForm().value.set(emptyTuple()); + this.tupleForm().value.set(emptyDescriptionValueTuple()); } } diff --git a/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts b/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts index 7a47950b..3cbb9743 100644 --- a/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts +++ b/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts @@ -2,7 +2,8 @@ import { Component, computed, model } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; -import { AnyEntity, cloneEntity, FileTuple, PhysicalEntity } from 'src/app/metadata'; +import { IFile, isPhysicalEntity } from '@kompakkt/common'; +import { AnyEntity, emptyFileTuple } from 'src/app/metadata'; import { FilesizePipe } from 'src/app/pipes/filesize.pipe'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; @@ -14,11 +15,11 @@ import { TranslatePipe } from 'src/app/pipes/translate.pipe'; }) export class MetadataFilesComponent { entity = model.required(); - isPhysical = computed(() => this.entity() instanceof PhysicalEntity); + isPhysical = computed(() => isPhysicalEntity(this.entity())); removeProperty(index: number) { this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); const arr = [...clone.metadata_files]; arr.splice(index, 1); clone.metadata_files = arr; @@ -41,7 +42,7 @@ export class MetadataFilesComponent { const files: File[] = Array.from(fileInput.files); const readfile = (_fileToRead: File) => - new Promise((resolve, _) => { + new Promise((resolve, _) => { const reader = new FileReader(); reader.readAsText(_fileToRead); @@ -59,12 +60,7 @@ export class MetadataFilesComponent { ? _fileToRead.name.slice(_fileToRead.name.indexOf('.')) : _fileToRead.name; - const file = new FileTuple({ - file_name, - file_link, - file_size, - file_format, - }); + const file: IFile = { ...emptyFileTuple(), file_name, file_link, file_size, file_format }; //console.log('Item content length:', fileContent.length); //console.log('File:', file); @@ -76,7 +72,7 @@ export class MetadataFilesComponent { files.filter(v => v !== undefined), ); this.entity.update(entity => { - const clone = cloneEntity(entity); + const clone = structuredClone(entity); const arr = [...clone.metadata_files, ...fileTuples]; clone.metadata_files = arr; return clone; diff --git a/src/app/components/metadata/optional/phys-obj/phys-obj.component.html b/src/app/components/metadata/optional/phys-obj/phys-obj.component.html index efd4d4a0..84c524fa 100644 --- a/src/app/components/metadata/optional/phys-obj/phys-obj.component.html +++ b/src/app/components/metadata/optional/phys-obj/phys-obj.component.html @@ -1,7 +1,7 @@ - + - +

{{ 'Downloadable' | translate }}

{{ 'Metadata' | translate }}
- @if (digitalEntity$ | async; as digitalEntity) { - - } +
@if (serverEntityFinished()) { diff --git a/src/app/dialogs/create-new-entity/create-new-entity.component.ts b/src/app/dialogs/create-new-entity/create-new-entity.component.ts index 97ebe3cc..51a58cdf 100644 --- a/src/app/dialogs/create-new-entity/create-new-entity.component.ts +++ b/src/app/dialogs/create-new-entity/create-new-entity.component.ts @@ -23,7 +23,7 @@ import { Router } from '@angular/router'; import fscreen from 'fscreen'; import { BehaviorSubject, empty, filter, firstValueFrom } from 'rxjs'; import { AsyncPipe } from '@angular/common'; -import { toSignal } from '@angular/core/rxjs-interop'; +import { toObservable, toSignal } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; import { MatChipsModule } from '@angular/material/chips'; import { MatDividerModule } from '@angular/material/divider'; @@ -40,12 +40,12 @@ import { CreatorField, isEntitySettings, isDigitalEntity, + IDigitalEntityResolved, } from '@kompakkt/common'; import { ExtenderSlotManager } from '@kompakkt/plugins/extender'; import ObjectID from 'bson-objectid'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { TabsComponent } from 'src/app/components/tabs/tabs.component'; -import { DigitalEntity, PhysicalEntity } from 'src/app/metadata'; import { Licences } from 'src/app/metadata/licences'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { GetSketchfabPreviewPipe } from 'src/app/pipes/get-sketchfab-preview.pipe'; @@ -53,7 +53,6 @@ import { IsLastStepPipe } from 'src/app/pipes/is-last-step.pipe'; import { AccountService, BackendService, - ContentProviderService, EventsService, supportedFileFormats, UploadHandlerService, @@ -66,7 +65,6 @@ import { ElementRef } from '@angular/core'; import { ViewContainerRef } from '@angular/core'; import { Subscription } from 'rxjs'; import { - applyWhen, applyWhenValue, form, FormField, @@ -79,6 +77,7 @@ import { import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; import { VisibilityAndAccessDialogComponent } from '../visibility-and-access-dialog/visibility-and-access-dialog.component'; import { ConfirmationDialogComponent } from '../confirmation-dialog/confirmation-dialog.component'; +import { emptyDigitalEntity, isDigitalEntityValid, isPhysicalEntityValid } from 'src/app/metadata'; const SECURE_REGEX = /^https:\/\//; @@ -162,7 +161,6 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro private account = inject(AccountService); private backend = inject(BackendService); private router = inject(Router); - private content = inject(ContentProviderService); private sanitizer = inject(DomSanitizer); private events = inject(EventsService); private dialog = inject(MatDialog); @@ -191,7 +189,8 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro return defaultWidth; }); - readonly digitalEntity$ = new BehaviorSubject(new DigitalEntity()); + readonly digitalEntity = signal(emptyDigitalEntity()); + readonly digitalEntityObservable$ = toObservable(this.digitalEntity); readonly uploadedFiles = signal([]); readonly serverEntity = signal(undefined); readonly entitySettings = signal(undefined); @@ -363,8 +362,8 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro if (isPluginDigitalEntity) { return this.isPluginDigitalEntityValid$.getValue(); } - const digitalEntity = this.digitalEntity$.getValue(); - return DigitalEntity.checkIsValid(digitalEntity); + const digitalEntity = this.digitalEntity(); + return isDigitalEntityValid(digitalEntity); } settingsValid = computed(() => this.entitySettings() !== undefined); @@ -431,7 +430,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro const entity = { ...this.dialogData } as IEntity; const { relatedDigitalEntity, settings } = entity; this.serverEntity.set(entity); - this.digitalEntity$.next(new DigitalEntity(relatedDigitalEntity as IDigitalEntity)); + this.digitalEntity.set(structuredClone(relatedDigitalEntity as IDigitalEntityResolved)); console.log('AddEntityWizard DialogData', this.dialogData, relatedDigitalEntity); this.entitySettings.set( this.dialogData.settings.preview !== '' ? { ...this.dialogData.settings } : undefined, @@ -476,12 +475,12 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro this.#slotSubscription = ExtenderSlotManager.registerSlot({ slotName: 'entity-wizard', slotBehaviour: 'replace', - dataObservable: this.digitalEntity$, + dataObservable: this.digitalEntityObservable$, elementRef, viewContainerRef: this.#viewContainerRef, }).subscribe(slotEvent => { const { detail } = slotEvent.event as CustomEvent<{ - entity: DigitalEntity; + entity: IDigitalEntityResolved; isValid: boolean; }>; console.log('Slot event received in CreateNewEntityComponent', slotEvent, detail); @@ -493,7 +492,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro ) { this.isPluginDigitalEntity$.next(true); this.isPluginDigitalEntityValid$.next(detail.isValid); - this.digitalEntity$.next(detail.entity); + this.digitalEntity.set(structuredClone(detail.entity)); } }); } @@ -542,7 +541,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro name: `Temp-${_id}`, creator, mediaType, - relatedDigitalEntityId: `${this.digitalEntity$.getValue()._id}`, + relatedDigitalEntityId: this.digitalEntity()._id, }); if (externalFileValid) entity.externalFile = externalFile; entity.files = uploadedFiles; @@ -581,7 +580,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro console.log('uploadBaseEntity serverEntity', this.serverEntity()); // this.entity.objecttype = mediaType; - this.digitalEntity$.getValue().type = mediaType; + this.digitalEntity.update(entity => ({ ...entity, type: mediaType })); stepper.next(); } @@ -608,8 +607,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro } public async updateDigitalEntity() { - const digitalEntity = this.digitalEntity$.getValue(); - + const digitalEntity = this.digitalEntity(); const serverEntity = this.serverEntity(); const settings = this.entitySettings(); @@ -666,7 +664,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro this.isFinishing.set(true); const visibilitySettings = visibilityDialogComponent.changedSettings(); - const digitalEntity = this.digitalEntity$.getValue(); + const digitalEntity = this.digitalEntity(); const settings = this.entitySettings(); const files = this.uploadedFiles(); @@ -679,7 +677,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro if (!settings || !visibilitySettings) return; - digitalEntity.phyObjs = digitalEntity.phyObjs.filter(obj => PhysicalEntity.checkIsValid(obj)); + digitalEntity.phyObjs = digitalEntity.phyObjs.filter(obj => isPhysicalEntityValid(obj)); const serverEntityResult = await this.backend .pushDigitalEntity(digitalEntity) @@ -771,8 +769,6 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro .then(() => { if (this.dialogRef) { this.dialogRef.close(undefined); - // TODO: Deprecate in favor of AccountService.updateTrigger$ - this.content.updateContent(); } }) .catch(e => console.error(e)); @@ -839,18 +835,18 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro name: selectedModel.name, creator, mediaType, - relatedDigitalEntityId: `${this.digitalEntity$.getValue()._id}`, + relatedDigitalEntityId: this.digitalEntity()._id, }); entity.files = [sketchfabFile]; entity.dataSource.service = 'sketchfab'; - (entity.relatedDigitalEntity as Partial).title = selectedModel.name; - (entity.relatedDigitalEntity as Partial).description = + (entity.relatedDigitalEntity as Partial).title = selectedModel.name; + (entity.relatedDigitalEntity as Partial).description = selectedModel.description; - (entity.relatedDigitalEntity as Partial).licence = hasKompakktLicence + (entity.relatedDigitalEntity as Partial).licence = hasKompakktLicence ? sketchfabLicence : undefined; - (entity.relatedDigitalEntity as Partial).externalLink ??= []; - (entity.relatedDigitalEntity as Partial).externalLink?.push({ + (entity.relatedDigitalEntity as Partial).externalLink ??= []; + (entity.relatedDigitalEntity as Partial).externalLink?.push({ description: 'Sketchfab URL', value: url, }); @@ -880,8 +876,10 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro // this.entity.objecttype = mediaType; this.wasSketchfabUploaded.set(true); - this.digitalEntity$.next( - new DigitalEntity({ ...entity.relatedDigitalEntity, type: mediaType }), + + // TODO: Figure out typing on this + this.digitalEntity.update( + other => ({ ...other, ...entity.relatedDigitalEntity, type: mediaType }) as any, ); stepper.next(); } diff --git a/src/app/metadata/index.ts b/src/app/metadata/index.ts index 9d6daeb5..e1c8eb71 100644 --- a/src/app/metadata/index.ts +++ b/src/app/metadata/index.ts @@ -1,20 +1,17 @@ import ObjectID from 'bson-objectid'; import { IAddress, - IBaseEntity, + IBaseEntityResolved, IContact, ICreationTuple, IDescriptionValueTuple, - IDigitalEntity, + IDigitalEntityResolved, IDimensionTuple, IFile, - IInstitution, - IPerson, - IPhysicalEntity, + IInstitutionResolved, + IPersonResolved, + IPhysicalEntityResolved, IPlaceTuple, - isDigitalEntity, - isInstitution, - isPerson, ITag, ITypeValueTuple, } from '@kompakkt/common'; @@ -34,768 +31,342 @@ const emptyProps = (arr: unknown[], props?: string[]) => return false; }); -export const cloneEntity = (entity: AnyEntity) => { - if (isDigitalEntity(entity)) return new DigitalEntity({ ...entity }); - else return new PhysicalEntity({ ...entity }); +export const entityHasRole = ( + { persons, institutions, _id }: IBaseEntityResolved, + role: string, +): boolean => { + return [...persons, ...institutions].some(a => a.roles[_id.toString()].includes(role)); }; -class BaseEntity implements IBaseEntity { - _id: string = getObjectId(); - - extensions = {}; - - title = ''; - description = ''; - - externalId = new Array(); - externalLink = new Array(); - biblioRefs = new Array(); - other = new Array(); - metadata_files = new Array(); - - persons = new Array(); - institutions = new Array(); - - public formatRoleLabel(role: string): string { - return role.trim().replace(/\s+/g, ' '); - } - - constructor(obj: Partial = {}) { - this._id = obj._id?.toString() ?? this._id; - - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - switch (key) { - case 'persons': { - if (Array.isArray(value)) { - // Filter out invalid persons and persons not related to this entity - const persons = value.filter(p => isPerson(p)).filter(p => !!p.roles[this._id]); - persons.forEach(p => this.addPerson(p)); - } - break; - } - case 'institutions': { - // Filter out invalid institutions and institutions not related to this entity - if (Array.isArray(value)) { - const institutions = value - .filter(i => isInstitution(i)) - .filter(i => !!i.roles[this._id]); - institutions.forEach(i => this.addInstitution(i)); - } - break; - } - default: { - this[key] = value; - } - } - } - } - - get properties() { - return Object.keys(this); - } - - public addPerson(person: Partial = {}) { - this.persons.push(new Person(person)); - } - - public addInstitution(institution: Partial = {}) { - this.institutions.push(new Institution(institution)); - } - - public static checkIsValid(entity: BaseEntity): boolean { - const { - title, - description, - persons, - institutions, - externalId, - externalLink, - biblioRefs, - other, - metadata_files, - _id, - } = entity; - - // Every entity needs a title - if (empty(title)) return false; - - // Every entity needs a description - if (empty(description)) return false; - - // Every person of an entity needs to be valid - if (persons.find(p => !Person.checkIsValid(p, _id))) return false; - - // Every institution of an entity needs to be valid - if (institutions.find(i => !Institution.checkIsValid(i, _id))) return false; - - // Any existing external identifier needs all fields filled - if (emptyProps(externalId)) return false; - - // Any existing external link needs all fields filled - if (emptyProps(externalLink)) return false; - - // Any existing bibliographic reference needs a value - if (emptyProps(biblioRefs, ['value'])) return false; - - // Any additional information added as 'other' needs all fields filled - if (emptyProps(other)) return false; - - // Any added metadata file needs correctly filled fields - if (emptyProps(metadata_files)) return false; - - return true; - } - - public hasRightsOwner(): boolean { - const { persons, institutions, _id } = this; - if (!persons.some(p => Person.hasRole(p, _id, 'RIGHTS_OWNER'))) - if (!institutions.some(i => Institution.hasRole(i, _id, 'RIGHTS_OWNER'))) return false; - return true; - } - - public hasContactPerson(): boolean { - const { persons, institutions, _id } = this; - if (!persons.some(p => Person.hasRole(p, _id, 'CONTACT_PERSON'))) - if (!institutions.some(i => Institution.hasRole(i, _id, 'CONTACT_PERSON'))) return false; - return true; - } - - public rightsOwnerList(): (Person | Institution)[] { - const { persons, institutions, _id } = this; - const filteredPersons = persons.filter(p => Person.hasRole(p, _id, 'RIGHTS_OWNER')); - const filteredInstitutions = institutions.filter(i => - Institution.hasRole(i, _id, 'RIGHTS_OWNER'), - ); - - return [...filteredPersons, ...filteredInstitutions]; - } - - public contactPersonList(): (Person | Institution)[] { - const { persons, institutions, _id } = this; - const filteredPersons = persons.filter(p => Person.hasRole(p, _id, 'CONTACT_PERSON')); - const filteredInstitutions = institutions.filter(i => - Institution.hasRole(i, _id, 'CONTACT_PERSON'), - ); - - return [...filteredPersons, ...filteredInstitutions]; - } - - public customRolesList(): { - role: string; - label: string; - agents: (Person | Institution)[]; - }[] { - const { persons, institutions, _id } = this; - const fixedRoles = ['RIGHTS_OWNER', 'CONTACT_PERSON']; - - const customRoles = new Set(); - [...persons, ...institutions].forEach(agent => { - (agent.roles?.[_id] ?? []) - .filter(r => !fixedRoles.includes(r)) - .forEach(r => customRoles.add(r)); - }); - - return Array.from(customRoles).map(role => ({ - role, - label: this.formatRoleLabel(role), - agents: [ - ...persons.filter(p => Person.hasRole(p, _id, role)), - ...institutions.filter(i => Institution.hasRole(i, _id, role)), - ], - })); - } -} - -class DigitalEntity extends BaseEntity implements IDigitalEntity { - type = ''; - licence = ''; - licenceAttribution = ''; - - discipline = new Array(); - tags = new Array(); - - dimensions = new Array(); - creation = new Array(); - files = new Array(); - - statement = ''; - objecttype = ''; - - phyObjs = new Array(); - - constructor(obj: Partial = {}) { - super(obj); - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - switch (key) { - case 'persons': - case 'institutions': - break; - case 'tags': - (value as ITag[]).forEach(t => this.addTag(t)); - break; - case 'phyObjs': - (value as IPhysicalEntity[]).forEach(p => this.addPhysicalEntity(p)); - break; - default: - (this as any)[key] = value; - } - } - } - - public addPhysicalEntity(physical: Partial) { - this.phyObjs.push(new PhysicalEntity(physical)); - } - - public addTag(tag: Partial) { - this.tags.push(new Tag(tag)); - } - - public static checkIsValid(entity: DigitalEntity): boolean { - if (!BaseEntity.checkIsValid(entity)) return false; - - const { persons, institutions, dimensions, creation, phyObjs } = entity; - const combined = [...persons, ...institutions]; - - // Either a person or an institution must be supplied per entity - if (empty(combined)) return false; - - // Every entity needs atleast 1 rights owner person/institution - if (!entity.hasRightsOwner()) return false; - - // Every entity needs atleast 1 contact person - if (!entity.hasContactPerson()) return false; - - // Any added dimension needs all fields filled - if (emptyProps(dimensions)) return false; - - // Every physical entity needs to be valid - if (phyObjs.find(p => !PhysicalEntity.checkIsValid(p))) return false; - - // Every digital entity needs a licence with attribution if neccessary - if (!entity.licence || (!isFreeLicence(entity.licence) && !entity.licenceAttribution?.trim())) - return false; - - return true; - } -} - -class PhysicalEntity extends BaseEntity implements IPhysicalEntity { - place = new PlaceTuple(); - collection = ''; - dimensions = new Array(); - - constructor(obj: Partial = {}) { - super(obj); - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - switch (key) { - case 'persons': - case 'institutions': - break; - case 'place': - this.place = new PlaceTuple(value as IPlaceTuple); - break; - case 'dimensions': - (value as IDimensionTuple[]).forEach(d => this.dimensions.push(new DimensionTuple(d))); - break; - default: - (this as any)[key] = value; - } - } - } - - public setAddress(address: Partial) { - this.place.setAddress(address); - } - - public static checkIsValid(entity: PhysicalEntity): boolean { - return ( - (entity.title === '' && entity.description === '' && entity.place.name === '') || - (entity.title !== '' && entity.description !== '' && entity.place.name !== '') - ); - } -} - -class Person implements IPerson { - _id: string = getObjectId(); - - prename = ''; - name = ''; - - roles: Record = {}; - institutions: Record = {}; - contact_references: Record = {}; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - switch (key) { - case 'institutions': - for (const [id, insts] of Object.entries(value as Record)) { - insts?.forEach(i => this.addInstitution(i, id)); - } - break; - case 'contact_references': - for (const [id, contact] of Object.entries(value as Record)) { - if (!contact) continue; - this.setContactRef(contact, id); - } - break; - default: - (this as any)[key] = value; - } - } - } - - get fullName() { - return `${this.prename} ${this.name}`; - } - - public addInstitution(inst: IInstitution, relatedId: string) { - relatedId = relatedId.toString(); - if (!this.institutions[relatedId]) this.institutions[relatedId] = new Array(); - (this.institutions[relatedId] as Institution[]).push(new Institution(inst)); - } - - public static getRelatedInstitutions(person: Person, relatedId: string) { - return person.institutions[relatedId.toString()] ?? new Array(); - } - - public static getMostRecentContactRef(person: Person) { - let mostRecent: ContactReference | undefined; - for (const contact of Object.values(person.contact_references)) { - if (!contact) continue; - const patched = new ContactReference(contact); - if (!ContactReference.checkIsValid(contact)) continue; - if (patched.creation_date > (mostRecent?.creation_date ?? 0)) mostRecent = patched; - } - return mostRecent ? mostRecent : new ContactReference(); - } - - get mostRecentContactRef() { - return Person.getMostRecentContactRef(this); - } - - public static getValidContactRefs(person: Person) { - const map = new Map(); - for (const contact of Object.values(person.contact_references)) { - if (!contact) continue; - const patched = new ContactReference(contact); - if (!ContactReference.checkIsValid(contact)) continue; - map.set(patched._id.toString(), patched); - } - return Array.from(map.values()); - } - - public setContactRef(contact: IContact, relatedId: string) { - this.contact_references[relatedId.toString()] = new ContactReference(contact); - } - - public static getRelatedContactRef(person: Person, relatedId: string) { - return person.contact_references[relatedId.toString()] ?? new ContactReference(); - } - - public static getRelatedRoles(person: Person, relatedId: string) { - return person.roles[relatedId.toString()] ?? new Array(); - } - - public static hasRole(person: Person, relatedId: string, role: string) { - return Person.getRelatedRoles(person, relatedId).includes(role); - } - - public setRoles(roles: string[], relatedId: string) { - relatedId = relatedId.toString(); - this.roles[relatedId] = roles; - } - - public static checkIsValid(person: Person, relatedId: string): boolean { - // console.log('Index meta => ', person, relatedId); - const { prename, name } = person; - - // Every person needs a prename - if (empty(prename)) return false; - - // Every person needs a name - if (empty(name)) return false; - - // Every person needs atleast 1 role - const roles = Person.getRelatedRoles(person, relatedId); - if (empty(roles)) return false; - - // Contact persons need a mail address - const contact = Person.getRelatedContactRef(person, relatedId); - const mail = contact?.mail ?? ''; - if (roles?.includes('CONTACT_PERSON') && empty(mail)) return false; - - // Every institution attached to a person needs to be valid - // Institutions in persons should only be shallow references, so they don't - // actually need to be valid - /*const institutions = Person.getRelatedInstitutions(person, relatedId); - if (institutions.find(i => !Institution.checkIsValid(i, relatedId))) return false;*/ - - return true; - } -} - -class Institution implements IInstitution { - _id: string = getObjectId(); - - name = ''; - university = ''; - - roles: Record = {}; - notes: Record = {}; - addresses: Record = {}; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - switch (key) { - case 'addresses': - for (const [id, addr] of Object.entries(value as Record)) { - if (!addr) continue; - this.setAddress(addr, id); - } - break; - default: - (this as any)[key] = value; - } - } - } - - public setAddress(inst: IAddress, relatedId: string) { - relatedId = relatedId.toString(); - this.addresses[relatedId] = new Address(inst); - } - - public setRoles(roles: string[], relatedId: string) { - relatedId = relatedId.toString(); - this.roles[relatedId] = roles; - } - - public static getMostRecentAddress(inst: Institution) { - let mostRecent: Address | undefined; - for (const address of Object.values(inst.addresses)) { - if (!address) continue; - const patched = new Address(address); - if (!Address.checkIsValid(address)) continue; - if (patched.creation_date > (mostRecent?.creation_date ?? 0)) mostRecent = patched; - } - return mostRecent ? mostRecent : new Address(); - } - - get mostRecentAddress() { - return Institution.getMostRecentAddress(this); - } - - public static getValidAddresses(inst: Institution) { - const map = new Map(); - for (const address of Object.values(inst.addresses)) { - if (!address) continue; - const patched = new Address(address); - if (!Address.checkIsValid(address)) continue; - map.set(patched._id.toString(), patched); - } - return Array.from(map.values()); - } - - public static getRelatedAddress(inst: Institution, relatedId: string) { - return inst.addresses[relatedId.toString()] ?? new Address(); - } - - public static getRelatedRoles(inst: Institution, relatedId: string) { - return inst.roles[relatedId.toString()] ?? []; - } - - public static hasRole(inst: Institution, relatedId: string, role: string) { - return Institution.getRelatedRoles(inst, relatedId).includes(role); - } - - public static checkIsValid(inst: Institution, relatedId: string): boolean { - // Every institution needs a name - if (empty(inst.name)) return false; - - relatedId = relatedId.toString(); - // Every institution needs atleast 1 role - const roles = Institution.getRelatedRoles(inst, relatedId); - if (empty(roles)) return false; - - // Every institution needs a valid address - const address = Institution.getRelatedAddress(inst, relatedId); - if (!Address.checkIsValid(address)) return false; - - return true; - } -} - -class Tag implements ITag { - _id: string = getObjectId(); - - value = ''; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } - - get isValid() { - return Tag.checkIsValid(this); - } - - public static checkIsValid(tag: ITag): boolean { - if (empty(tag.value)) return false; - - return true; - } -} - -class Address implements IAddress { - _id: string = getObjectId(); - - building = ''; - number = ''; - street = ''; - postcode = ''; - city = ''; - country = ''; - // Internal & only used to sort addresses - creation_date = Date.now(); - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } - - get infoString() { - const lines = [ - [this.country], - [this.postcode, this.city], - [this.street, this.number], - [this.building], - ] - .map(s => s.join(' ').trim()) - .filter(_ => _); - return lines.every(line => line.length === 0) ? 'Empty address' : lines.join('\n'); - } - - get isValid() { - return Address.checkIsValid(this); - } - - public static checkIsValid(address: IAddress): boolean { - if (empty(address.street)) return false; - if (empty(address.postcode)) return false; - if (empty(address.city)) return false; - - return true; - } -} - -class ContactReference implements IContact { - _id: string = getObjectId(); - - mail = ''; - phonenumber = ''; - note = ''; - - // Internal & only used to sort contact references - creation_date = Date.now(); - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } - - get infoString() { - const joined = [this.mail, this.phonenumber, this.note].filter(_ => _).join(' '); - return joined.trim().length === 0 ? 'Empty contact reference' : joined; - } - - get isValid() { - return ContactReference.checkIsValid(this); - } - - public static checkIsValid(contact: IContact): boolean { - if (empty(contact.mail)) return false; - - return true; - } -} - -class DimensionTuple implements IDimensionTuple { - type = ''; - value = ''; - name = ''; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } - - get isValid() { - return DimensionTuple.checkIsValid(this); - } - - public static checkIsValid(dimension: IDimensionTuple): boolean { - if (empty(dimension.type)) return false; - if (empty(dimension.value)) return false; - if (empty(dimension.name)) return false; - - return true; - } -} - -class TypeValueTuple implements ITypeValueTuple { - type = ''; - value = ''; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } - - get isValid() { - return TypeValueTuple.checkIsValid(this); - } - - public static checkIsValid(obj: ITypeValueTuple): boolean { - if (empty(obj.type)) return false; - if (empty(obj.value)) return false; - - return true; - } -} - -class CreationTuple implements ICreationTuple { - technique = ''; - program = ''; - equipment = ''; - date = ''; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } +const emptyBaseEntity = (): IBaseEntityResolved => + ({ + _id: getObjectId(), + extensions: {}, + title: '', + description: '', + externalId: [], + externalLink: [], + biblioRefs: [], + other: [], + metadata_files: [], + persons: [], + institutions: [], + }) satisfies IBaseEntityResolved; +export const isBaseEntityValid = (entity: IBaseEntityResolved): boolean => { + // Every entity needs a title + if (empty(entity.title)) return false; + + // Every entity needs a description + if (empty(entity.description)) return false; + + // Every person of an entity needs to be valid + if (!entity.persons.some(p => isPersonValid(p, entity._id))) return false; + + // Every institution of an entity needs to be valid + if (!entity.institutions.some(i => isInstitutionValid(i, entity._id))) return false; + + // Any existing external identifier needs all fields filled + if (emptyProps(entity.externalId)) return false; + + // Any existing external link needs all fields filled + if (emptyProps(entity.externalLink)) return false; + + // Any existing bibliographic reference needs a value + if (emptyProps(entity.biblioRefs, ['value'])) return false; + + // Any additional information added as 'other' needs all fields filled + if (emptyProps(entity.other)) return false; + + // Any added metadata file needs correctly filled fields + if (emptyProps(entity.metadata_files)) return false; + + return true; +}; - get isValid() { - return CreationTuple.checkIsValid(this); - } +export const emptyDigitalEntity = (): IDigitalEntityResolved => + ({ + ...emptyBaseEntity(), + type: '', + licence: '', + licenceAttribution: '', + discipline: [], + tags: [], + dimensions: [], + creation: [], + files: [], + statement: '', + objecttype: '', + phyObjs: [], + }) satisfies IDigitalEntityResolved; +export const isDigitalEntityValid = (entity: IDigitalEntityResolved): boolean => { + if (!isBaseEntityValid(entity)) return false; + + const { persons, institutions, dimensions, creation, phyObjs } = entity; + const combined = [...persons, ...institutions]; + + // Either a person or an institution must be supplied per entity + if (empty(combined)) return false; + + // Every entity needs atleast 1 rights owner person/institution + if (!entityHasRole(entity, 'RIGHTS_OWNER')) return false; + + // Every entity needs atleast 1 contact person + if (!entityHasRole(entity, 'CONTACT_PERSON')) return false; + + // Any added dimension needs all fields filled + if (emptyProps(dimensions)) return false; + + // Every physical entity needs to be valid + if (phyObjs.some(p => !isPhysicalEntityValid(p))) return false; + + // Every digital entity needs a licence with attribution if neccessary + if (!entity.licence || (!isFreeLicence(entity.licence) && !entity.licenceAttribution?.trim())) + return false; - public static checkIsValid(obj: ICreationTuple): boolean { - if (empty(obj.technique) && empty(obj.program) && empty(obj.equipment) && empty(obj.date)) - return false; + return true; +}; - return true; - } -} +export const emptyPhysicalEntity = (): IPhysicalEntityResolved => + ({ + ...emptyBaseEntity(), + place: { + name: '', + geopolarea: '', + address: { + _id: getObjectId(), + building: '', + city: '', + country: '', + number: '', + postcode: '', + street: '', + creation_date: Date.now(), + }, + }, + collection: '', + dimensions: [], + }) satisfies IPhysicalEntityResolved; +export const isPhysicalEntityValid = (entity: IPhysicalEntityResolved): boolean => { + if (!isBaseEntityValid(entity)) return false; + const { title, description, place } = entity; + const allEmpty = empty(title) && empty(description) && empty(place.name); + const someEmpty = empty(title) || empty(description) || empty(place.name); + + // Untouched + if (allEmpty) return true; + if (someEmpty) return false; + return true; +}; -class DescriptionValueTuple implements IDescriptionValueTuple { - description = ''; - value = ''; +export const emptyPerson = (): IPersonResolved => + ({ + _id: getObjectId(), + prename: '', + name: '', + roles: {}, + institutions: {}, + contact_references: {}, + }) satisfies IPersonResolved; +export const isPersonValid = (person: IPersonResolved, entityId: string) => { + const { prename, name } = person; + + // Every person needs a prename + if (empty(prename)) return false; + + // Every person needs a name + if (empty(name)) return false; + + // Every person needs atleast 1 role + const roles = person.roles[entityId] ?? []; + if (empty(roles)) return false; + + // Contact persons need a mail address + const contact = person.contact_references[entityId] as IContact | undefined; + const mail = contact?.mail ?? ''; + if (roles?.includes('CONTACT_PERSON') && empty(mail)) return false; + + // Every institution attached to a person needs to be valid + // Institutions in persons should only be shallow references, so they don't + // actually need to be valid + /*const institutions = Person.getRelatedInstitutions(person, entityId); + if (institutions.find(i => !Institution.checkIsValid(i, entityId))) return false;*/ + + return true; +}; - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } +const getMostRecentOf = ( + agent: IPersonResolved | IInstitutionResolved, + field: 'contact_references' | 'addresses', +): T | undefined => { + const validityCheck = field === 'contact_references' ? isContactRefValid : isAddressValid; + let mostRecent: T | undefined; + for (const obj of Object.values(agent[field])) { + if ( + typeof obj !== 'object' || + obj === null || + !('creation_date' in obj) || + typeof obj.creation_date !== 'number' + ) + continue; + if (!validityCheck(obj as any)) continue; + if (obj.creation_date > (mostRecent?.creation_date ?? 0)) mostRecent = obj as T; + } + return mostRecent; +}; - get isValid() { - return DescriptionValueTuple.checkIsValid(this); - } +export const getMostRecentContactRef = (person: IPersonResolved): IContact | undefined => + getMostRecentOf(person, 'contact_references'); +export const getMostRecentAddress = (institution: IInstitutionResolved): IAddress | undefined => + getMostRecentOf(institution, 'addresses'); + +export const emptyInstitution = (): IInstitutionResolved => + ({ + _id: getObjectId(), + name: '', + university: '', + roles: {}, + notes: {}, + addresses: {}, + }) satisfies IInstitutionResolved; +export const isInstitutionValid = (institution: IInstitutionResolved, entityId: string) => { + // Every institution needs a name + if (empty(institution.name)) return false; + + // Every institution needs atleast 1 role + const roles = institution.roles[entityId] ?? []; + if (empty(roles)) return false; + + // Every institution needs a valid address + const address = institution.addresses[entityId] as IAddress | undefined; + if (!address || !isAddressValid(address)) return false; + + return true; +}; - public static checkIsValid(obj: IDescriptionValueTuple, requireDescription = true): boolean { - if (requireDescription && empty(obj.description)) return false; - // if (empty(obj.value)) return false; +export const emptyTag = (): ITag => + ({ + _id: getObjectId(), + value: '', + }) satisfies ITag; +export const isTagValid = (tag: ITag): boolean => tag.value.trim().length > 0; + +export const emptyAddress = (): IAddress => + ({ + _id: getObjectId(), + building: '', + number: '', + street: '', + postcode: '', + city: '', + country: '', + creation_date: Date.now(), + }) satisfies IAddress; +export const formatAddress = (address: IAddress) => { + const lines = [ + [address.country], + [address.postcode, address.city], + [address.street, address.number], + [address.building], + ] + .map(s => s.join(' ').trim()) + .filter(_ => _); + return lines.every(line => line.length === 0) ? 'Empty address' : lines.join('\n'); +}; +export const isAddressValid = (address: IAddress): boolean => { + if (empty(address.street)) return false; + if (empty(address.postcode)) return false; + if (empty(address.city)) return false; + return true; +}; - return true; - } -} - -class PlaceTuple implements IPlaceTuple { - name = ''; - geopolarea = ''; - address = new Address(); - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - switch (key) { - case 'address': - this.address = new Address(value as IAddress); - break; - default: - (this as any)[key] = value; - } - } - } +export const emptyContactRef = (): IContact => + ({ + _id: getObjectId(), + mail: '', + phonenumber: '', + note: '', + creation_date: Date.now(), + }) satisfies IContact; +export const formatContactRef = (ref: IContact) => { + const joined = [ref.mail, ref.phonenumber, ref.note].filter(_ => _).join(' '); + return joined.trim().length === 0 ? 'Empty contact reference' : joined; +}; +export const isContactRefValid = (ref: IContact): boolean => { + if (empty(ref.mail)) return false; + return true; +}; - public setAddress(address: Partial) { - this.address = new Address(address); - } +export const emptyTypeValueTuple = (): ITypeValueTuple => + ({ + type: '', + value: '', + }) satisfies ITypeValueTuple; +export const isTypeValueTupleValid = (tuple: ITypeValueTuple) => { + if (empty(tuple.type)) return false; + if (empty(tuple.value)) return false; + return true; +}; - get isValid() { - return PlaceTuple.checkIsValid(this); - } +export const emptyDimensionTuple = (): IDimensionTuple => + ({ + ...emptyTypeValueTuple(), + name: '', + }) satisfies IDimensionTuple; +export const isDimensionTupleValid = (tuple: IDimensionTuple) => { + if (!isTypeValueTupleValid(tuple)) return false; + if (empty(tuple.name)) return false; + return true; +}; - public static checkIsValid(place: IPlaceTuple): boolean { - if (empty(place.name) && empty(place.geopolarea) && !Address.checkIsValid(place.address)) - return false; +export const emptyCreationTuple = (): ICreationTuple => + ({ + technique: '', + program: '', + equipment: '', + date: '', + }) satisfies ICreationTuple; +export const isCreationTupleValid = (tuple: ICreationTuple): boolean => { + if (empty(tuple.technique) && empty(tuple.program) && empty(tuple.equipment) && empty(tuple.date)) + return false; + return true; +}; - return true; - } -} - -class FileTuple implements IFile { - file_name = ''; - file_link = ''; - file_size = 0; - file_format = ''; - - constructor(obj: Partial = {}) { - for (const [key, value] of Object.entries(obj)) { - if (!Object.prototype.hasOwnProperty.call(this, key)) continue; - (this as any)[key] = value; - } - } +export const emptyDescriptionValueTuple = (): IDescriptionValueTuple => + ({ + description: '', + value: '', + }) satisfies IDescriptionValueTuple; +export const isDescriptionValueTupleValid = ( + tuple: IDescriptionValueTuple, + requireDescription = true, +) => { + if (requireDescription && empty(tuple.description)) return false; + // if (empty(obj.value)) return false; + + return true; +}; - public static checkIsValid(file: IFile): boolean { - if (empty(file.file_name)) return false; - if (empty(file.file_link)) return false; +export const emptyPlaceTuple = (): IPlaceTuple => ({ + name: '', + geopolarea: '', + address: emptyAddress(), +}); +export const isPlaceTupleValid = (tuple: IPlaceTuple) => { + if (empty(tuple.name) && empty(tuple.geopolarea) && !isAddressValid(tuple.address)) return false; + return true; +}; - return true; - } -} - -type AnyEntity = DigitalEntity | PhysicalEntity; - -export { - Address, - AnyEntity, - ContactReference, - CreationTuple, - DescriptionValueTuple, - DigitalEntity, - DimensionTuple, - FileTuple, - Institution, - Person, - PhysicalEntity, - PlaceTuple, - Tag, - TypeValueTuple, +export const emptyFileTuple = (): IFile => + ({ + file_name: '', + file_link: '', + file_size: 0, + file_format: '', + }) satisfies IFile; +export const isFileTupleValid = (tuple: IFile) => { + if (empty(tuple.file_name)) return false; + if (empty(tuple.file_link)) return false; + return true; }; + +export type AnyEntity = IDigitalEntityResolved | IPhysicalEntityResolved; diff --git a/src/app/pipes/most-recent-address.pipe.ts b/src/app/pipes/most-recent-address.pipe.ts new file mode 100644 index 00000000..2c00e03a --- /dev/null +++ b/src/app/pipes/most-recent-address.pipe.ts @@ -0,0 +1,10 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { IAddress, IInstitutionResolved, IPersonResolved } from '@kompakkt/common'; +import { getMostRecentAddress } from '../metadata'; + +@Pipe({ name: 'mostRecentAddress' }) +export class MostRecentAddressPipe implements PipeTransform { + transform(agent: IPersonResolved | IInstitutionResolved): IAddress | undefined { + return 'addresses' in agent ? getMostRecentAddress(agent) : undefined; + } +} diff --git a/src/app/pipes/most-recent-contact-ref.pipe.ts b/src/app/pipes/most-recent-contact-ref.pipe.ts new file mode 100644 index 00000000..61636f0b --- /dev/null +++ b/src/app/pipes/most-recent-contact-ref.pipe.ts @@ -0,0 +1,10 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { IContact, IPersonResolved } from '@kompakkt/common'; +import { getMostRecentContactRef } from '../metadata'; + +@Pipe({ name: 'mostRecentContactRef' }) +export class MostRecentContactRefPipe implements PipeTransform { + transform(agent: IPersonResolved): IContact | undefined { + return getMostRecentContactRef(agent); + } +} diff --git a/src/app/pipes/pretty-print-address.pipe.ts b/src/app/pipes/pretty-print-address.pipe.ts new file mode 100644 index 00000000..377aebf2 --- /dev/null +++ b/src/app/pipes/pretty-print-address.pipe.ts @@ -0,0 +1,10 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { IAddress } from '@kompakkt/common'; +import { formatAddress } from '../metadata'; + +@Pipe({ name: 'prettyPrintAddress' }) +export class PrettyPrintAddressPipe implements PipeTransform { + transform(value: IAddress): string { + return formatAddress(value); + } +} diff --git a/src/app/pipes/pretty-print-contact-ref.pipe.ts b/src/app/pipes/pretty-print-contact-ref.pipe.ts new file mode 100644 index 00000000..bf43ad5f --- /dev/null +++ b/src/app/pipes/pretty-print-contact-ref.pipe.ts @@ -0,0 +1,10 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { formatContactRef } from '../metadata'; +import { IContact } from '@kompakkt/common'; + +@Pipe({ name: 'prettyPrintContactRef' }) +export class PrettyPrintContactRefPipe implements PipeTransform { + transform(value: IContact): string { + return formatContactRef(value); + } +} diff --git a/src/app/services/content-provider.service.ts b/src/app/services/content-provider.service.ts deleted file mode 100644 index 2ad3d84b..00000000 --- a/src/app/services/content-provider.service.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { inject, Service } from '@angular/core'; - -import { Institution, Person, Tag } from 'src/app/metadata'; -import { BackendService } from './'; - -import { BehaviorSubject, combineLatest } from 'rxjs'; -import { map } from 'rxjs/operators'; - -@Service() -export class ContentProviderService { - private backend = inject(BackendService); - - // Existing server content - private ServerPersons = new BehaviorSubject([]); - private ServerInstitutions = new BehaviorSubject([]); - private ServerTags = new BehaviorSubject([]); - - // Newly added content - private LocalPersons = new BehaviorSubject([]); - private LocalInstitutions = new BehaviorSubject([]); - // There are no cases where local tags are needed - // private LocalTags = new BehaviorSubject([]); - - constructor() { - void this.updateContent(); - } - - get $Persons() { - return combineLatest(this.ServerPersons, this.LocalPersons).pipe( - map(([serverPersons, localPersons]) => serverPersons.concat(localPersons)), - ); - } - - get $Institutions() { - return combineLatest(this.ServerInstitutions, this.LocalInstitutions).pipe( - map(([serverInstitutions, localInstitutions]) => - serverInstitutions.concat(localInstitutions), - ), - ); - } - - get $Tags() { - return this.ServerTags.asObservable(); - } - - public async updateContent() { - // TODO: refetch on some occasions, e.g. after wizard completion - await Promise.all([this.updatePersons(), this.updateInstitutions(), this.updateTags()]); - } - - public async updatePersons() { - this.backend - .getAllPersons() - .then(result => { - this.ServerPersons.next(result.map(p => new Person(p))); - }) - .catch(() => {}); - } - - public async updateInstitutions() { - this.backend - .getAllInstitutions() - .then(result => { - this.ServerInstitutions.next(result.map(i => new Institution(i))); - }) - .catch(() => {}); - } - - public async updateTags() { - this.backend - .getAllTags() - .then(result => { - const map = new Map(); - for (const tag of result) { - map.set(tag._id.toString(), new Tag(tag)); - } - const tags = Array.from(map.values()).sort((a, b) => (a.value > b.value ? 1 : -1)); - this.ServerTags.next(tags); - }) - .catch(() => {}); - } - - public addLocalPerson(person: Person) { - this.LocalPersons.next(this.LocalPersons.value.concat(person)); - return this.LocalPersons.value[this.LocalPersons.value.length - 1]; - } - - public removeLocalPerson(person: Person) { - const persons = [...this.LocalPersons.value]; - const index = persons.findIndex(p => p._id.toString() === person._id.toString()); - if (index >= 0) { - persons.splice(index, 1); - this.LocalPersons.next(persons); - } else { - console.warn("Couldn't find person in LocalPersons", person, persons); - } - } - - public addLocalInstitution(institution: Institution) { - this.LocalInstitutions.next(this.LocalInstitutions.value.concat(institution)); - return this.LocalInstitutions.value[this.LocalInstitutions.value.length - 1]; - } - - public removeLocalInstitution(institution: Institution) { - const institutions = [...this.LocalInstitutions.value]; - const index = institutions.findIndex(i => i._id.toString() === institution._id.toString()); - if (index >= 0) { - institutions.splice(index, 1); - this.LocalInstitutions.next(institutions); - } else { - console.warn("Couldn't find institution in LocalInstitutions", institution, institutions); - } - } -} diff --git a/src/app/services/index.ts b/src/app/services/index.ts index 89924e11..4eb3190b 100644 --- a/src/app/services/index.ts +++ b/src/app/services/index.ts @@ -1,6 +1,5 @@ export { AccountService } from './account.service'; export { BackendService } from './backend.service'; -export { ContentProviderService } from './content-provider.service'; export { EventsService } from './events.service'; export { ProgressBarService } from './progress-bar.service'; export { SelectHistoryService } from './select-history.service'; From 0c9ee35a5779addfc71762110aef3f1ece138cc9 Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Tue, 3 Nov 2026 19:03:49 +0100 Subject: [PATCH 05/10] Remove all FormsModule. Use signal forms validation for CreateNewEntity --- angular.json | 2 +- src/app/app.component.ts | 1 - src/app/app.config.ts | 20 +- src/app/app.routes.ts | 6 +- .../actionbar/actionbar.component.ts | 164 +++-- .../agents/agent-list/agent-list.component.ts | 46 +- .../metadata/agents/agents.component.html | 8 +- .../metadata/agents/agents.component.ts | 126 ++-- .../metadata/entity/entity.component.html | 213 +++---- .../metadata/entity/entity.component.ts | 135 ++--- .../entity/optional-count.component.ts | 13 + .../metadata/general/general.component.html | 9 +- .../metadata/general/general.component.ts | 23 +- .../metadata/licence/licence.component.html | 93 ++- .../metadata/licence/licence.component.ts | 47 +- src/app/components/metadata/metadata-util.ts | 3 + .../biblio-ref/biblio-ref.component.html | 4 +- .../biblio-ref/biblio-ref.component.ts | 9 +- .../optional/creation/creation.component.html | 2 +- .../optional/creation/creation.component.ts | 16 +- .../dimension/dimension.component.html | 2 +- .../optional/dimension/dimension.component.ts | 6 +- .../external-ids/external-ids.component.html | 2 +- .../external-ids/external-ids.component.ts | 3 +- .../optional/links/links.component.html | 2 +- .../optional/links/links.component.ts | 6 +- .../optional-card-list.component.html | 10 +- .../optional-card-list.component.ts | 32 +- .../optional/phys-obj/phys-obj.component.html | 23 +- .../optional/phys-obj/phys-obj.component.ts | 49 +- .../add-to-compilation.component.ts | 3 - .../auth-dialog/auth-dialog.component.ts | 1 - .../create-new-entity.component.html | 39 +- .../create-new-entity.component.scss | 18 + .../create-new-entity.component.ts | 91 ++- .../embed-object-dialog.component.html | 4 +- .../embed-object-dialog.component.ts | 24 +- src/app/metadata/index.ts | 136 ++++- .../admin-page/admin-page.component.html | 559 +++++++++--------- .../pages/admin-page/admin-page.component.ts | 410 ++++++------- .../compilations/compilations.component.ts | 2 - .../entities/entities.component.ts | 2 - .../profile-page/profile-page.component.ts | 2 - 43 files changed, 1226 insertions(+), 1140 deletions(-) create mode 100644 src/app/components/metadata/entity/optional-count.component.ts diff --git a/angular.json b/angular.json index 3f755e6c..a3406c2c 100644 --- a/angular.json +++ b/angular.json @@ -70,7 +70,7 @@ } }, "serve": { - "builder": "@angular-devkit/build-angular:dev-server", + "builder": "@angular/build:dev-server", "configurations": { "development": { "buildTarget": "kompakkt-repo:build:development" diff --git a/src/app/app.component.ts b/src/app/app.component.ts index adb813f4..6f8a4f1e 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -11,7 +11,6 @@ import { viewChild, ChangeDetectionStrategy, } from '@angular/core'; - import { MatSidenavModule } from '@angular/material/sidenav'; import { RouterOutlet } from '@angular/router'; import { CustomBrandingPlugin } from '@kompakkt/plugins/custom-branding'; diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 92cffd13..e9282be0 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,8 +1,7 @@ import { DragDropModule } from '@angular/cdk/drag-drop'; import { CommonModule, DATE_PIPE_DEFAULT_OPTIONS } from '@angular/common'; -import { provideHttpClient, withFetch, withInterceptors } from '@angular/common/http'; +import { provideHttpClient, withInterceptors } from '@angular/common/http'; import { APP_INITIALIZER, ApplicationConfig, LOCALE_ID, importProvidersFrom } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; @@ -32,7 +31,13 @@ import { MatToolbarModule } from '@angular/material/toolbar'; import { MatTooltipModule } from '@angular/material/tooltip'; import { BrowserModule } from '@angular/platform-browser'; import { provideAnimations } from '@angular/platform-browser/animations'; -import { RouteReuseStrategy, provideRouter, withRouterConfig } from '@angular/router'; +import { + RouteReuseStrategy, + provideRouter, + withComponentInputBinding, + withRouterConfig, + withRouterResources, +} from '@angular/router'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { RouteReuse } from 'src/app/route-reuse-strategy'; import { exploreTimingInterceptor } from 'src/app/services/interceptors/explore-timing-interceptor'; @@ -77,8 +82,6 @@ export const appConfig: ApplicationConfig = { MatPaginatorModule, MatProgressBarModule, MatSortModule, - FormsModule, - ReactiveFormsModule, ), TranslateService, TranslatePipe, @@ -99,9 +102,9 @@ export const appConfig: ApplicationConfig = { }, provideRouter( routes, - withRouterConfig({ - onSameUrlNavigation: 'reload', - }), + withRouterConfig({ onSameUrlNavigation: 'reload' }), + withComponentInputBinding(), + withRouterResources(), ), provideAnimations(), provideHttpClient( @@ -112,7 +115,6 @@ export const appConfig: ApplicationConfig = { requestProgressInterceptor, jwtInterceptor, ]), - withFetch(), ), pluginProviders, ], diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 90cf8780..089ec0ac 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,6 +1,4 @@ import { Routes } from '@angular/router'; - -import { AuthenticatedGuard } from './guards'; import { HomeComponent } from './pages/home/home.component'; import { PrivacyComponent } from './pages/static-pages/privacy/privacy.component'; import { ImprintComponent } from './pages/static-pages/imprint/imprint.component'; @@ -8,7 +6,7 @@ import { AboutComponent } from './pages/static-pages/about/about.component'; import { DetailPageComponent } from './pages/detail-page/detail-page.component'; import { ExploreComponent } from './pages/explore/explore.component'; import { ProfilePageComponent } from './pages/profile-page/profile-page.component'; -import { AdminPageComponent } from './pages/admin-page/admin-page.component'; +import { AdminPageComponent, adminPageResource } from './pages/admin-page/admin-page.component'; import { AnnotateComponent } from './pages/annotate/annotate.component'; import { NotFoundComponent } from './pages/notfound/notfound.component'; import { DebugPageComponent } from './pages/debug-page/debug-page.component'; @@ -80,7 +78,7 @@ export const routes: Routes = [ { path: 'admin', component: AdminPageComponent, - canActivate: [AuthenticatedGuard], + resources: adminPageResource, }, { path: 'annotate/:id', diff --git a/src/app/components/actionbar/actionbar.component.ts b/src/app/components/actionbar/actionbar.component.ts index f57c06f2..c0aae6e8 100644 --- a/src/app/components/actionbar/actionbar.component.ts +++ b/src/app/components/actionbar/actionbar.component.ts @@ -8,8 +8,8 @@ import { signal, viewChild, ChangeDetectionStrategy, + resource, } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatSelectModule } from '@angular/material/select'; import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; import { Router, RouterLink } from '@angular/router'; @@ -46,6 +46,7 @@ import { TranslatePipe } from '../../pipes/translate.pipe'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { OverlayModule } from '@angular/cdk/overlay'; import { PermissionService } from 'src/app/services/permissions.service'; +import { FormField } from '@angular/forms/signals'; @Component({ selector: 'app-actionbar', @@ -57,13 +58,11 @@ import { PermissionService } from 'src/app/services/permissions.service'; MatButtonModule, MatTooltipModule, MatIconModule, - FormsModule, MatFormFieldModule, MatInputModule, MatSelectModule, MatAutocompleteModule, MatProgressSpinnerModule, - ReactiveFormsModule, MatOptionModule, OverlayModule, RouterLink, @@ -74,7 +73,14 @@ import { PermissionService } from 'src/app/services/permissions.service'; ], }) export class ActionbarComponent { - private permission = inject(PermissionService); + #account = inject(AccountService); + #backend = inject(BackendService); + #dialogHelper = inject(DialogHelperService); + #router = inject(Router); + #sanitizer = inject(DomSanitizer); + #snackbar = inject(SnackbarService); + #permission = inject(PermissionService); + selectHistory = inject(SelectHistoryService); parentPage = input.required<'detail-page' | 'annotate-page'>(); isDetailPage = computed(() => this.parentPage() === 'detail-page'); @@ -113,7 +119,7 @@ export class ActionbarComponent { metadataDownload = computed(() => { const element = this.element(); if (!isEntity(element) && !isCompilation(element)) return; - const url = this.sanitizer.bypassSecurityTrustUrl( + const url = this.#sanitizer.bypassSecurityTrustUrl( `data:text/json;charset=UTF-8,${encodeURIComponent(JSON.stringify(element))}`, ); const title = (() => { @@ -134,69 +140,46 @@ export class ActionbarComponent { }; }); - element$ = toObservable(this.element); - private entityDownloadOptions$ = this.element$.pipe( - filter(isEntity), - switchMap(element => - element.options?.allowDownload - ? this.backend.getEntityDownloadStats(element._id) - : of(undefined), - ), - shareReplay(1), - ); - - entityDownloadOptions = toSignal(this.entityDownloadOptions$); + #entityDownloadOptionsResource = resource({ + params: () => { + const element = this.element(); + if (!element) return undefined; + if (!('options' in element)) return undefined; + if (!element.options?.allowDownload) return undefined; + return { _id: element._id.toString() }; + }, + loader: ({ params }) => this.#backend.getEntityDownloadStats(params._id), + }); isDownloadable = computed(() => { const element = this.element(); if (!isEntity(element)) return false; - return !!element.options?.allowDownload; + if (!('options' in element)) return false; + if (!element.options?.allowDownload) return false; + if (!this.#entityDownloadOptionsResource.hasValue()) return false; + return true; }); readonly infoMenuTrigger = viewChild('infoMenuTrigger'); - constructor( - private account: AccountService, - private backend: BackendService, - private dialogHelper: DialogHelperService, - private router: Router, - private sanitizer: DomSanitizer, - public selectHistory: SelectHistoryService, - private snackbar: SnackbarService, - ) { - this.element$.subscribe(element => { - console.debug('Actionbar element$', element); - }); - - this.entityDownloadOptions$.subscribe(options => { - console.debug('EntityDownloadOptions', options); - }); - } - - isAuthenticated = toSignal(this.account.isAuthenticated$); + isAuthenticated = toSignal(this.#account.isAuthenticated$); - userCompilations$ = this.account.compilations$.pipe( - map(compilations => compilations.filter(isCompilation)), - ); - - public user = toSignal(this.account.user$); - - public quickAddToCompilation() { + quickAddToCompilation() { const element = this.element(); if (!element) return; if (!isEntity(element)) return; - this.dialogHelper.addToCompilation([element]); + this.#dialogHelper.addToCompilation([element]); } - public openRemoveCompilationDialog(compilation: ICompilation) { - this.dialogHelper.removeFromCompilation(compilation); + openRemoveCompilationDialog(compilation: ICompilation) { + this.#dialogHelper.removeFromCompilation(compilation); } /** * Display whether the current entity has been recently * annotated in a compilation * */ - public isRecentlyAnnotated(compilation: ICompilation) { + isRecentlyAnnotated(compilation: ICompilation) { const element = this.element(); if (!element) return false; if (!isEntity(element)) return false; @@ -210,7 +193,7 @@ export class ActionbarComponent { return false; } - public isAnnotatedInCompilation(compilation: ICompilation) { + isAnnotatedInCompilation(compilation: ICompilation) { const element = this.element(); if (!element) return false; if (!isEntity(element)) return false; @@ -224,37 +207,37 @@ export class ActionbarComponent { canEditAnnotation = computed(() => { const element = this.element(); - return element ? this.permission.canEditAnnotation(element) : false; + return element ? this.#permission.canEditAnnotation(element) : false; }); canEditEntitySettings = computed(() => { const element = this.element(); - return element ? this.permission.canEditEntitySettings(element) : false; + return element ? this.#permission.canEditEntitySettings(element) : false; }); canEditMetadata = computed(() => { const element = this.element(); - return element ? this.permission.canEditMetaData(element) : false; + return element ? this.#permission.canEditMetaData(element) : false; }); canEditVisibilityAndAccess = computed(() => { const element = this.element(); - return element ? this.permission.canEditVisibilityAndAccess(element) : false; + return element ? this.#permission.canEditVisibilityAndAccess(element) : false; }); canViewVisibilityAndAccess = computed(() => { const element = this.element(); - return element ? this.permission.canViewVisibilityAndAccess(element) : false; + return element ? this.#permission.canViewVisibilityAndAccess(element) : false; }); canRemoveObjects = computed(() => { const element = this.element(); - return element ? this.permission.canEditCompilationObjects(element) : false; + return element ? this.#permission.canEditCompilationObjects(element) : false; }); canTransferOwnership = computed(() => { const element = this.element(); - return element ? this.permission.canTransferOwnership(element) : false; + return element ? this.#permission.canTransferOwnership(element) : false; }); annotateLink = computed(() => { @@ -274,40 +257,40 @@ export class ActionbarComponent { : ['/explore']; }); - public navigate(element: IEntity | ICompilation) { - return this.router.navigateByUrl( + navigate(element: IEntity | ICompilation) { + return this.#router.navigateByUrl( `/${isEntity(element) ? 'entity' : 'compilation'}/${element._id}`, ); } - public openLoginDialog() { - this.dialogHelper.openLoginDialog(); + openLoginDialog() { + this.#dialogHelper.openLoginDialog(); } - public openRegisterDialog() { - this.dialogHelper.openRegisterDialog(); + openRegisterDialog() { + this.#dialogHelper.openRegisterDialog(); } - public editSettingsInViewer() { + editSettingsInViewer() { const element = this.element(); if (!isEntity(element)) return; - this.dialogHelper.editSettingsInViewer(element); + this.#dialogHelper.editSettingsInViewer(element); } - public editMetadata() { + editMetadata() { const element = this.element(); if (isEntity(element)) { - return this.dialogHelper.editEntity(element); + return this.#dialogHelper.editEntity(element); } else if (isCompilation(element)) { - return this.dialogHelper.createOrEditCompilation(element); + return this.#dialogHelper.createOrEditCompilation(element); } } - public editVisibility() { + editVisibility() { const element = this.element(); if (!element) return; - const ref = this.dialogHelper.editVisibilityAndAccess([element] as IEntity[] | ICompilation[]); + const ref = this.#dialogHelper.editVisibilityAndAccess([element] as IEntity[] | ICompilation[]); ref.afterClosed().subscribe(result => { if (!result) return; @@ -319,16 +302,16 @@ export class ActionbarComponent { }); } - public openTransferOwnerDialog() { + openTransferOwnerDialog() { const element = this.element(); if (!element) return; - return this.dialogHelper.openTransferOwnershipDialog(element); + return this.#dialogHelper.openTransferOwnershipDialog(element); } - public openEmbedDialog() { + openEmbedDialog() { const element = this.element(); if (!element) return; - return this.dialogHelper.openEmbedDialog(element); + return this.#dialogHelper.openEmbedDialog(element); } isPublished = computed(() => { @@ -337,11 +320,11 @@ export class ActionbarComponent { }); isUpdatingPublishState = signal(false); - public async togglePublished() { + async togglePublished() { this.isUpdatingPublishState.set(true); const element = this.element(); if (isEntity(element)) { - await this.backend + await this.#backend .pushEntity({ ...element, online: !element.online }) .then(result => { console.log('Toggled?:', result); @@ -349,7 +332,7 @@ export class ActionbarComponent { }) .catch(error => console.error(error)); } else if (isCompilation(element)) { - await this.backend + await this.#backend .pushCompilation({ ...element, online: !element.online }) .then(result => { console.log('Toggled?:', result); @@ -360,28 +343,25 @@ export class ActionbarComponent { this.isUpdatingPublishState.set(false); } - public closeInfoMenu() { + closeInfoMenu() { this.infoMenuTrigger()?.closeMenu(); } - public async openDownloadDialog() { - const options = await firstValueFrom(this.entityDownloadOptions$); - if (!options) { - this.snackbar.showMessage('No download options available for this entity'); - return; - } + openDownloadDialog() { + if (!this.#entityDownloadOptionsResource.hasValue()) + return this.#snackbar.showMessage('Download options not ready'); + + const options = this.#entityDownloadOptionsResource.value(); + if (!options) + return this.#snackbar.showMessage('No download options available for this entity'); const element = this.element(); - if (!element || !isEntity(element)) { - this.snackbar.showMessage('No entity selected for download'); - return; - } + if (!element || !isEntity(element)) + return this.#snackbar.showMessage('No entity selected for download'); - if (!element.options?.allowDownload) { - this.snackbar.showMessage('Download not allowed for this entity'); - return; - } + if (!element.options?.allowDownload) + return this.#snackbar.showMessage('Download not allowed for this entity'); - return this.dialogHelper.openEntityDownloadDialog(element, options); + return this.#dialogHelper.openEntityDownloadDialog(element, options); } } diff --git a/src/app/components/metadata/agents/agent-list/agent-list.component.ts b/src/app/components/metadata/agents/agent-list/agent-list.component.ts index 7033f7a1..d016f5ac 100644 --- a/src/app/components/metadata/agents/agent-list/agent-list.component.ts +++ b/src/app/components/metadata/agents/agent-list/agent-list.component.ts @@ -1,4 +1,4 @@ -import { Component, computed, model, output } from '@angular/core'; +import { Component, computed, input, model, output } from '@angular/core'; import { IInstitutionResolved, IPersonResolved, @@ -16,27 +16,30 @@ import { DEFAULT_ROLE_TYPES, formatRoleLabel } from '../shared'; styleUrl: './agent-list.component.scss', }) export class AgentListComponent { - entity = model.required(); - entityId = computed(() => this.entity()._id.toString()); + agents = model.required>(); + entity = input.required(); rightsOwners = computed(() => { - const { persons, institutions, _id } = this.entity(); - return [...persons, ...institutions].filter(a => a.roles[_id].includes('RIGHTS_OWNER')); + const _id = this.entity()._id; + const agents = this.agents(); + return agents.filter(a => a.roles[_id].includes('RIGHTS_OWNER')); }); contactPersons = computed(() => { - const { persons, institutions, _id } = this.entity(); - return [...persons, ...institutions].filter(a => a.roles[_id].includes('CONTACT_PERSON')); + const _id = this.entity()._id; + const agents = this.agents(); + return agents.filter(a => a.roles[_id].includes('CONTACT_PERSON')); }); customRoleAgents = computed(() => { - const { persons, institutions, _id } = this.entity(); - const customRoles = [...persons, ...institutions].flatMap(a => + const _id = this.entity()._id; + const agents = this.agents(); + const customRoles = agents.flatMap(a => a.roles[_id].filter(role => !DEFAULT_ROLE_TYPES.includes(role)), ); const uniqueCustomRoles = Array.from(new Set(customRoles)); return uniqueCustomRoles.map(role => ({ role, label: formatRoleLabel(role), - agents: [...persons, ...institutions].filter(a => a.roles[_id].includes(role)), + agents: agents.filter(a => a.roles[_id].includes(role)), })); }); @@ -57,28 +60,19 @@ export class AgentListComponent { selectAgent = output(); removeAgentRole(agent: IPersonResolved | IInstitutionResolved, role: string) { - const entityId = this.entityId(); - const agentType = isPerson(agent) ? 'persons' : 'institutions'; - this.entity.update(entity => { - const clone = structuredClone(entity); - if (!Array.isArray(clone[agentType])) return clone; - const currentAgent = clone[agentType].find(a => a._id == agent._id); - + const entityId = this.entity()._id; + this.agents.update(agents => { + const clone = [...agents]; + const currentAgent = clone.find(a => a._id == agent._id); if (!currentAgent) return clone; const roleIndex = currentAgent.roles[entityId].indexOf(role); - - if (roleIndex > -1) { - currentAgent.roles[entityId].splice(roleIndex, 1); - } + if (roleIndex > -1) currentAgent.roles[entityId].splice(roleIndex, 1); if (currentAgent.roles[entityId].length === 0) { delete currentAgent.roles[entityId]; - const agentsArray = clone[agentType] as Array; - const agentIndex = agentsArray.indexOf(currentAgent); - if (agentIndex > -1) { - agentsArray.splice(agentIndex, 1); - } + const agentIndex = clone.indexOf(currentAgent); + if (agentIndex > -1) clone.splice(agentIndex, 1); } return clone; diff --git a/src/app/components/metadata/agents/agents.component.html b/src/app/components/metadata/agents/agents.component.html index 6e14667a..a6a10a6f 100644 --- a/src/app/components/metadata/agents/agents.component.html +++ b/src/app/components/metadata/agents/agents.component.html @@ -224,7 +224,7 @@ mat-flat-button color="primary" (click)="!isUpdating() ? addNewAgentToEntity() : updateAgent()" - [disabled]="agentForm().invalid() || roleForm().invalid()" + [disabled]="currentAgentForm().invalid() || roleForm().invalid()" > {{ (isUpdating() ? 'Update' : 'Add') | translate }} @@ -232,4 +232,8 @@ - + diff --git a/src/app/components/metadata/agents/agents.component.ts b/src/app/components/metadata/agents/agents.component.ts index 29efaece..c71fca97 100644 --- a/src/app/components/metadata/agents/agents.component.ts +++ b/src/app/components/metadata/agents/agents.component.ts @@ -46,6 +46,7 @@ import { FieldTree, form, FormField, + minLength, required, validate, } from '@angular/forms/signals'; @@ -165,8 +166,37 @@ export class AgentsComponent implements OnInit { agentGroup = viewChild.required('agentGroup'); - agentModel = model(emptyPersonModel()); - agentForm = form(this.agentModel, path => { + agentsModel = model>([]); + agentsForm = form(this.agentsModel, path => { + minLength(path, 1, { message: 'At least one agent is required' }); + validate(path, ({ value }) => { + const agents = value(); + if (!agents.some(a => a.roles[this.entity()._id].includes('CONTACT_PERSON'))) + return { + kind: 'required', + message: 'At least one contact person is required', + }; + if (!agents.some(a => a.roles[this.entity()._id].includes('RIGHTS_OWNER'))) + return { + kind: 'required', + message: 'At least one rights owner is required', + }; + return undefined; + }); + }); + _agentsFormChangedRef = effect(() => { + const data = this.agentsForm().value(); + const persons = data.filter(a => isPerson(a)); + const institutions = data.filter(a => isInstitution(a)); + this.entity.update(entity => ({ + ...entity, + persons, + institutions, + })); + }); + + currentAgentModel = model(emptyPersonModel()); + currentAgentForm = form(this.currentAgentModel, path => { applyWhenValue( path, data => data.__kind === 'person', @@ -239,18 +269,18 @@ export class AgentsComponent implements OnInit { }, ); }); - selectedKind = computed(() => this.agentForm().value().__kind); + selectedKind = computed(() => this.currentAgentForm().value().__kind); personForm = computed(() => { - const form = this.agentForm; - if (this.agentForm().value().__kind !== 'person') return undefined; + const form = this.currentAgentForm; + if (this.currentAgentForm().value().__kind !== 'person') return undefined; return form as FieldTree; }); institutionForm = computed(() => { - const form = this.agentForm; - if (this.agentForm().value().__kind !== 'institution') return undefined; + const form = this.currentAgentForm; + if (this.currentAgentForm().value().__kind !== 'institution') return undefined; return form as FieldTree; }); - isPrefilled = computed(() => this.agentForm().value().__prefilled); + isPrefilled = computed(() => this.currentAgentForm().value().__prefilled); isUpdating = computed(() => { const entity = this.entity(); const agent = this.selectedAgent(); @@ -372,7 +402,7 @@ export class AgentsComponent implements OnInit { availableTags = computed(() => this.#tagsResource.value() ?? []); filteredPersons = computed(() => { - const data = this.agentForm().value(); + const data = this.currentAgentForm().value(); const persons = this.availablePersons() ?? []; if (data.__kind !== 'person') return []; const prename = data.prename.trim().toLowerCase(); @@ -385,7 +415,7 @@ export class AgentsComponent implements OnInit { ); }); filteredInstitutions = computed(() => { - const data = this.agentForm().value(); + const data = this.currentAgentForm().value(); const institutions = this.availableInstitutions() ?? []; if (data.__kind !== 'institution') return []; const name = data.name.trim().toLowerCase(); @@ -419,13 +449,13 @@ export class AgentsComponent implements OnInit { } #getAddress(): IAddress | undefined { - const data = this.agentForm().value(); + const data = this.currentAgentForm().value(); if (data.__kind !== 'institution') return undefined; return { ...emptyAddress(), ...data }; } #getContactRef(): IContact | undefined { - const data = this.agentForm().value(); + const data = this.currentAgentForm().value(); if (data.__kind !== 'person') return undefined; return { ...emptyContactRef(), ...data }; } @@ -483,7 +513,7 @@ export class AgentsComponent implements OnInit { this.selectedTabIndex.set(1); } - this.agentForm().value.update(v => { + this.currentAgentForm().value.update(v => { if (v.__kind === 'person' && 'prename' in agent) { const mostRecentContactRef = getMostRecentContactRef(agent); if (mostRecentContactRef) { @@ -526,7 +556,7 @@ export class AgentsComponent implements OnInit { } public addNewAgentToEntity() { - const data = this.agentForm().value(); + const data = this.currentAgentForm().value(); const entityId = this.entityId(); const roles = this.#getCurrentRoleSelection(); if (data.__kind === 'person') { @@ -539,11 +569,7 @@ export class AgentsComponent implements OnInit { }; personInstance.contact_references[entityId] = contactRef; personInstance.roles[entityId] = roles; - this.entity.update(entity => { - const clone = structuredClone(entity); - clone.persons.push(personInstance); - return clone; - }); + this.agentsForm().value.update(arr => [...arr, personInstance]); } else if (data.__kind === 'institution') { const address = this.#getAddress(); if (!address) return; @@ -553,11 +579,7 @@ export class AgentsComponent implements OnInit { }; institutionInstance.addresses[entityId] = address; institutionInstance.roles[entityId] = roles; - this.entity.update(entity => { - const clone = structuredClone(entity); - clone.institutions.push(institutionInstance); - return clone; - }); + this.agentsForm().value.update(arr => [...arr, institutionInstance]); } this.resetAgentForm(); } @@ -588,60 +610,68 @@ export class AgentsComponent implements OnInit { public updateAgent() { const currentAgent = this.selectedAgent(); const currentAgentId = currentAgent?._id.toString(); - const data = this.agentForm().value(); + const data = this.currentAgentForm().value(); const entityId = this.entityId(); if (data.__kind === 'person') { - this.entity.update(entity => { - const persons = [...entity.persons]; + this.agentsForm().value.update(arr => { + const persons = [...arr]; const index = persons.findIndex(p => p._id.toString() === currentAgentId); if (index === -1) { console.warn('Could not find person in entity. No changes', { - entity, data, currentAgent, }); - return entity; + return persons; } const person = persons[index]; const contactRef = this.#getContactRef(); + if (!isPerson(person)) { + console.warn('Agent is not a person. No changes', { + data, + currentAgent, + }); + return persons; + } if (!isContact(contactRef)) { console.warn('Could not find contact ref for person in entity. No changes', { - entity, data, currentAgent, }); - return entity; + return persons; } person.contact_references[entityId] = contactRef; const newPerson: IPersonResolved = { ...emptyPerson(), ...person }; newPerson.roles[entityId] = this.#getCurrentRoleSelection(); persons[index] = newPerson; - const clone = structuredClone(entity); - clone.persons = persons; - return clone; + return persons; }); } else if (data.__kind === 'institution') { - this.entity.update(entity => { - const institutions = [...entity.institutions]; + this.agentsForm().value.update(arr => { + const institutions = [...arr]; const index = institutions.findIndex(i => i._id.toString() === currentAgentId); if (index === -1) { console.warn('Could not find institution in entity. No changes', { - entity, data, currentAgent, }); - return entity; + return institutions; } const institution = institutions[index]; + if (!isInstitution(institution)) { + console.warn('Agent is not an institution. No changes', { + data, + currentAgent, + }); + return institutions; + } const address = this.#getAddress(); if (!isAddress(address)) { console.warn('Could not find address for institution in entity. No changes', { - entity, data, currentAgent, }); - return entity; + return institutions; } institution.addresses[entityId] = address; institution.university = data.__kind === 'institution' ? data.university : ''; @@ -649,16 +679,14 @@ export class AgentsComponent implements OnInit { const newInstitution: IInstitutionResolved = { ...emptyInstitution(), ...institution }; newInstitution.roles[entityId] = this.#getCurrentRoleSelection(); institutions[index] = newInstitution; - const clone = structuredClone(entity); - clone.institutions = institutions; - return clone; + return institutions; }); } this.resetAgentForm(); } onEditAgent(field: PersonModelKeys | InstitutionModelKeys) { - this.agentForm().value.update(v => { + this.currentAgentForm().value.update(v => { if (v.__kind === 'person' && field in v) { const hasValue = v.__editing.includes(field as PersonModelKeys); return { @@ -687,8 +715,8 @@ export class AgentsComponent implements OnInit { resetAgentForm() { this.selectedAgent.set(null); - this.agentForm().reset(); - this.agentForm().value.set( + this.currentAgentForm().reset(); + this.currentAgentForm().value.set( this.selectedTabIndex() === 0 ? emptyPersonModel() : emptyInstitutionModel(), ); this.clearRoleSelection(); @@ -700,8 +728,12 @@ export class AgentsComponent implements OnInit { } ngOnInit(): void { - /*const fixedRoles = this.availableRoles().map(r => r.type); const allAgents = [...this.entity().persons, ...this.entity().institutions]; + this.agentsModel.update(() => allAgents); + /* + TODO: Re-enable + const fixedRoles = this.availableRoles().map(r => r.type); + for (const agent of allAgents) { for (const role of agent.roles?.[this.entityId()] ?? []) { diff --git a/src/app/components/metadata/entity/entity.component.html b/src/app/components/metadata/entity/entity.component.html index f374fcfa..5972a804 100644 --- a/src/app/components/metadata/entity/entity.component.html +++ b/src/app/components/metadata/entity/entity.component.html @@ -3,51 +3,43 @@ - @@ -56,181 +48,114 @@ - - + + - - - - + + + - - - - + + - - - -
- -
+ + - - - + - - - - - - + - - - + - - - + - - - + - - - - @if (entity().phyObjs.at(0); as physEntity) { - - } + + - -
diff --git a/src/app/components/metadata/entity/entity.component.ts b/src/app/components/metadata/entity/entity.component.ts index e38e61f1..c11c8e25 100644 --- a/src/app/components/metadata/entity/entity.component.ts +++ b/src/app/components/metadata/entity/entity.component.ts @@ -1,24 +1,26 @@ import { COMMA, ENTER } from '@angular/cdk/keycodes'; -import { Component, signal, ChangeDetectionStrategy, inject, model } from '@angular/core'; +import { Component, signal, inject, model, input, viewChild } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { MatListModule } from '@angular/material/list'; import { MatRadioModule } from '@angular/material/radio'; import { MatSidenavModule } from '@angular/material/sidenav'; -import { MatTabsModule } from '@angular/material/tabs'; +import { MatTab, MatTabGroup, MatTabsModule } from '@angular/material/tabs'; import { MatTooltipModule } from '@angular/material/tooltip'; import { entityHasRole, + FormFieldGroups, + FormFieldGroupsValues, isCreationTupleValid, isDescriptionValueTupleValid, isDimensionTupleValid, isFileTupleValid, + isFormFieldGroupValue, isInstitutionValid, isPersonValid, isPhysicalEntityValid, isPlaceTupleValid, isTypeValueTupleValid, - type AnyEntity, } from 'src/app/metadata'; import { isFreeLicence } from 'src/app/metadata/licences'; import { IDigitalEntityResolved } from '@kompakkt/common'; @@ -33,12 +35,13 @@ import { MetadataFilesComponent } from '../optional/metadata-files/metadata-file import { PhysObjComponent } from '../optional/phys-obj/phys-obj.component'; import { MatExpansionModule } from '@angular/material/expansion'; import { LicenceComponent } from '../licence/licence.component'; +import { OptionalCount } from './optional-count.component'; +import { ValidationError } from '@angular/forms/signals'; @Component({ selector: 'app-entity', templateUrl: './entity.component.html', styleUrls: ['./entity.component.scss'], - changeDetection: ChangeDetectionStrategy.Eager, imports: [ MatIconModule, MatTooltipModule, @@ -57,118 +60,50 @@ import { LicenceComponent } from '../licence/licence.component'; MetadataFilesComponent, MatExpansionModule, LicenceComponent, + OptionalCount, ], }) export class EntityComponent { - public dialog = inject(MatDialog); - + dialog = inject(MatDialog); entity = model.required(); - - selectedTabIndex = 0; - - licenceKey = signal(''); - licenceAttribution = signal(''); - - tabList = [ - 'General', - 'Licence', - 'Related', - 'Creation', - 'Ids', - 'Links', - 'References', - 'Files', - 'Physical', - ]; - - public indexString = 'General'; - public separatorKeysCodes: number[] = [ENTER, COMMA]; + selectedTabIndex = signal(0); + separatorKeysCodes: number[] = [ENTER, COMMA]; + tabLabels = FormFieldGroups; constructor() { (window as any)['printEntity'] = () => console.log(this.entity()); } - public selectTab(indexString: string) { - this.selectedTabIndex = this.tabList.findIndex(tab => tab == indexString); - this.indexString = indexString; - } - - // Validation - get generalInformationValid() { - const entity = this.entity(); - return entity.title && entity.description; - } - - get licenceValid() { - const digitalEntity = this.entity(); - return ( - !!digitalEntity?.licence && - (!isFreeLicence(digitalEntity.licence) ? !!digitalEntity.licenceAttribution?.trim() : true) - ); - } - - get placeValid() { - const physicalEntity = this.entity().phyObjs.find(p => isPhysicalEntityValid(p)); - return physicalEntity ? isPlaceTupleValid(physicalEntity.place) : false; - } - - get hasRightsOwner() { - const digitalEntity = this.entity(); - return entityHasRole(digitalEntity, 'RIGHTS_OWNER'); - } - - get hasContactPerson() { - const digitalEntity = this.entity(); - return entityHasRole(digitalEntity, 'CONTACT_PERSON'); - } - - get personsValid() { - const entity = this.entity(); - return entity.persons.every(p => isPersonValid(p, entity._id.toString())); - } - - get institutionsValid() { - const entity = this.entity(); - return entity.institutions.every(i => isInstitutionValid(i, entity._id.toString())); - } - - get dimensionsValid() { - const entity = this.entity(); - return entity.dimensions.every(d => isDimensionTupleValid(d)); - } - - get creationValid() { - const entity = this.entity(); - return entity.creation.every(c => isCreationTupleValid(c)); - } - - get externalIdValid() { - const entity = this.entity(); - return entity.externalId.every(c => isTypeValueTupleValid(c)); - } - - get externalLinkValid() { - const entity = this.entity(); - return entity.externalLink.every(c => isDescriptionValueTupleValid(c)); - } + tabGroup = viewChild.required('tabGroup'); - get biblioRefsValid() { - const entity = this.entity(); - return entity.biblioRefs.every(c => isDescriptionValueTupleValid(c, false)); + selectTab(tab: MatTab) { + const tabIndex = this.tabGroup()._tabs.reduce((acc, curr, index) => { + if (curr === tab) acc = index; + return acc; + }, 0); + this.selectedTabIndex.set(tabIndex); } - get metadataFilesValid() { - const entity = this.entity(); - return entity.metadata_files.every(c => isFileTupleValid(c)); + selectTabByLabel(label: FormFieldGroupsValues) { + const tabIndex = this.tabGroup()._tabs.reduce((acc, curr, index) => { + if (curr.textLabel === label) acc = index; + return acc; + }, 0); + this.selectedTabIndex.set(tabIndex); } - get phyObjsValid() { - const entity = this.entity(); - return entity.phyObjs.every(p => isPhysicalEntityValid(p)); + jumpToError(error: ValidationError) { + const kind = error.kind; + if (!kind) return console.warn('Cannot jump to tab with errors without error kind', error); + if (!isFormFieldGroupValue(kind)) + return console.warn( + 'Cannot jump to tab with errors without error kind being a valid tab label', + error, + ); + return this.selectTabByLabel(kind); } - // /Validation - public removeValueFromProperty({ property, index }: { property: string; index: number }) { + removeValueFromProperty({ property, index }: { property: string; index: number }) { this.entity.update(entity => { const clone = structuredClone(entity); if (Array.isArray(clone[property])) { diff --git a/src/app/components/metadata/entity/optional-count.component.ts b/src/app/components/metadata/entity/optional-count.component.ts new file mode 100644 index 00000000..1dca5281 --- /dev/null +++ b/src/app/components/metadata/entity/optional-count.component.ts @@ -0,0 +1,13 @@ +import { Component, input } from '@angular/core'; + +@Component({ + selector: 'app-optional-count', + template: ` + @if (count() > 0) { + ({{ count() }}) + } + `, +}) +export class OptionalCount { + count = input.required(); +} diff --git a/src/app/components/metadata/general/general.component.html b/src/app/components/metadata/general/general.component.html index ae628400..8565c8f8 100644 --- a/src/app/components/metadata/general/general.component.html +++ b/src/app/components/metadata/general/general.component.html @@ -1,11 +1,12 @@

{{ 'General Information' | translate }}

+ + + @if (isPhysicalEntity()) { } diff --git a/src/app/components/metadata/general/general.component.ts b/src/app/components/metadata/general/general.component.ts index 3cc48727..41b806b6 100644 --- a/src/app/components/metadata/general/general.component.ts +++ b/src/app/components/metadata/general/general.component.ts @@ -7,6 +7,7 @@ import { signal, effect, resource, + OnInit, } from '@angular/core'; import { MatAutocompleteModule, @@ -23,6 +24,7 @@ import { OutlinedInputComponent } from '../../outlined-input/outlined-input.comp import { form, FormField, required } from '@angular/forms/signals'; import { isDigitalEntity, isPhysicalEntity, ITag } from '@kompakkt/common'; import { AnyEntity, emptyTag } from 'src/app/metadata'; +import { CombinedFormErrorsComponent } from '../../combined-form-errors/combined-form-errors.component'; @Component({ selector: 'app-general', @@ -36,11 +38,12 @@ import { AnyEntity, emptyTag } from 'src/app/metadata'; MatOptionModule, TranslatePipe, OutlinedInputComponent, + CombinedFormErrorsComponent, ], templateUrl: './general.component.html', styleUrl: './general.component.scss', }) -export class GeneralComponent { +export class GeneralComponent implements OnInit { #backend = inject(BackendService); entity = model.required(); @@ -51,13 +54,13 @@ export class GeneralComponent { searchTagModel = model(''); searchTagForm = form(this.searchTagModel); - entityFieldsModel = model({ title: '', description: '', collection: '' }); - entityFieldsForm = form(this.entityFieldsModel, path => { - required(path.title); - required(path.description); + generalModel = model({ title: '', description: '', collection: '' }); + generalForm = form(this.generalModel, path => { + required(path.title, { message: 'Title is required' }); + required(path.description, { message: 'Description is required' }); }); _updateEntityFromFormChangeEffectRef = effect(() => { - const data = this.entityFieldsForm().value(); + const data = this.generalForm().value(); this.entity.update(entity => { const clone = structuredClone(entity); clone.title = data.title; @@ -133,4 +136,12 @@ export class GeneralComponent { if (value.length === 0) return; this.#addTag(value); } + + ngOnInit() { + this.generalModel.update(model => { + const entity = this.entity(); + const collection = 'collection' in entity ? entity.collection : model.collection; + return { ...model, title: entity.title, description: entity.description, collection }; + }); + } } diff --git a/src/app/components/metadata/licence/licence.component.html b/src/app/components/metadata/licence/licence.component.html index 9c16bb60..1b923c1a 100644 --- a/src/app/components/metadata/licence/licence.component.html +++ b/src/app/components/metadata/licence/licence.component.html @@ -1,51 +1,48 @@ -@if (entity(); as entity) { - -
- - @for (item of availableLicences | keyvalue; track item.key) { - - - {{ item.value.name + ' (' + item.value.short + ')' }} - - } - -
- @if (requiresAttribution()) { -
- -
-
- info - {{ 'INFO' | translate }} -
-

- {{ - 'Copyrighted as well as Creative-Commons-licensed content requires attribution of the original author unless otherwise specified by the license. Click' - | translate - }} - - {{ 'here' | translate }} - - {{ 'for more information.' | translate }} -

+ +
+ + @for (item of availableLicences | keyvalue; track item.key) { + + + {{ item.value.name + ' (' + item.value.short + ')' }} + + } + +
+@if (requiresAttribution()) { +
+ +
+
+ info + {{ 'INFO' | translate }}
+

+ {{ + 'Copyrighted as well as Creative-Commons-licensed content requires attribution of the original author unless otherwise specified by the license. Click' + | translate + }} + + {{ 'here' | translate }} + + {{ 'for more information.' | translate }} +

- } +
} diff --git a/src/app/components/metadata/licence/licence.component.ts b/src/app/components/metadata/licence/licence.component.ts index 889a1178..fcc4c7a2 100644 --- a/src/app/components/metadata/licence/licence.component.ts +++ b/src/app/components/metadata/licence/licence.component.ts @@ -1,19 +1,17 @@ -import { Component, computed, input, signal, ChangeDetectionStrategy, model } from '@angular/core'; - -import { MatRadioModule } from '@angular/material/radio'; +import { Component, computed, effect, model, OnInit } from '@angular/core'; +import { MatRadioChange, MatRadioModule } from '@angular/material/radio'; import { MatIconModule } from '@angular/material/icon'; - import { OutlinedInputComponent } from '../../outlined-input/outlined-input.component'; import { TranslatePipe } from '../../../pipes/translate.pipe'; -import { FormsModule } from '@angular/forms'; import { isFreeLicence, Licences } from '../../../metadata/licences'; import { KeyValuePipe } from '@angular/common'; import { IDigitalEntityResolved } from '@kompakkt/common'; +import { applyWhen, form, FormField, required } from '@angular/forms/signals'; @Component({ selector: 'app-licence', imports: [ - FormsModule, + FormField, KeyValuePipe, MatIconModule, MatRadioModule, @@ -21,23 +19,44 @@ import { IDigitalEntityResolved } from '@kompakkt/common'; TranslatePipe, ], templateUrl: './licence.component.html', - changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './licence.component.scss', }) -export class LicenceComponent { +export class LicenceComponent implements OnInit { entity = model.required(); - currentLicenceKey = signal(''); + + licenceModel = model({ licence: '', attribution: '' }); + licenceForm = form(this.licenceModel, path => { + required(path.licence, { message: 'Licence is required' }); + applyWhen( + path, + ({ value }) => value().licence.length > 0 && !isFreeLicence(value().licence), + ctx => { + required(ctx.attribution, { message: 'This licence requires an attribution' }); + }, + ); + }); + _formChangedEffectRef = effect(() => { + const data = this.licenceForm().value(); + this.entity.update(entity => ({ + ...entity, + licence: data.licence, + licenceAttribution: data.attribution, + })); + }); public availableLicences = Licences; requiresAttribution = computed(() => { - const key = this.currentLicenceKey() || this.entity()?.licence || ''; + const key = this.licenceForm.licence().value(); return !!key && !isFreeLicence(key); }); - onLicenceChange(key: string) { - const entity = this.entity(); - if (entity) entity.licence = key; - this.currentLicenceKey.set(key); + onLicenceChange({ value }: MatRadioChange) { + this.licenceModel.update(m => ({ ...m, licence: value })); + } + + ngOnInit() { + const { licence, licenceAttribution } = this.entity(); + this.licenceModel.update(m => ({ licence, attribution: licenceAttribution ?? m.attribution })); } } diff --git a/src/app/components/metadata/metadata-util.ts b/src/app/components/metadata/metadata-util.ts index 93176174..af434a6a 100644 --- a/src/app/components/metadata/metadata-util.ts +++ b/src/app/components/metadata/metadata-util.ts @@ -1,3 +1,6 @@ +import { IDigitalEntityResolved, IPhysicalEntityResolved } from '@kompakkt/common'; +import { AnyEntity } from 'src/app/metadata'; + export type WrappedModel = T & { __kind: string; __prefilled: boolean; diff --git a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html index 51c8c122..2e01c991 100644 --- a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html +++ b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.html @@ -49,7 +49,7 @@ } diff --git a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts index 779d1bde..038b6e76 100644 --- a/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts +++ b/src/app/components/metadata/optional/biblio-ref/biblio-ref.component.ts @@ -65,13 +65,12 @@ export class BiblioRefComponent { addNewBiblioData(): void { if (this.biblioRefForm().invalid()) throw new Error('Invalid'); const { reference, description } = this.biblioRefForm().value(); - - const biblioInstance = { ...emptyDescriptionValueTuple(), value: reference, description }; - this.entity.update(entity => { const clone = structuredClone(entity); - const biblioRefs = [...clone.biblioRefs, biblioInstance]; - clone.biblioRefs = biblioRefs; + clone.biblioRefs = [ + ...clone.biblioRefs, + { ...emptyDescriptionValueTuple(), value: reference, description }, + ]; return clone; }); this.resetFormFields(); diff --git a/src/app/components/metadata/optional/creation/creation.component.html b/src/app/components/metadata/optional/creation/creation.component.html index ce009925..ba370047 100644 --- a/src/app/components/metadata/optional/creation/creation.component.html +++ b/src/app/components/metadata/optional/creation/creation.component.html @@ -46,5 +46,5 @@ - +
diff --git a/src/app/components/metadata/optional/creation/creation.component.ts b/src/app/components/metadata/optional/creation/creation.component.ts index e62d1b82..7d906158 100644 --- a/src/app/components/metadata/optional/creation/creation.component.ts +++ b/src/app/components/metadata/optional/creation/creation.component.ts @@ -1,19 +1,14 @@ import { formatDate } from '@angular/common'; -import { Component, effect, input, model } from '@angular/core'; -import { ReactiveFormsModule } from '@angular/forms'; - +import { Component, effect, model } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { provideNativeDateAdapter } from '@angular/material/core'; import { MatDatepickerModule } from '@angular/material/datepicker'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; - import { TranslatePipe } from '../../../../pipes/translate.pipe'; import { OptionalCardListComponent } from '../optional-card-list/optional-card-list.component'; - import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; -import { toSignal } from '@angular/core/rxjs-interop'; import { form, FormField, submit, validateTree } from '@angular/forms/signals'; import { IDigitalEntityResolved } from '@kompakkt/common'; import { emptyCreationTuple } from 'src/app/metadata'; @@ -44,7 +39,7 @@ type CreationModel = { providers: [provideNativeDateAdapter()], }) export class CreationComponent { - public entity = model.required(); + entity = model.required(); creationModel = model({ technique: '', @@ -91,9 +86,10 @@ export class CreationComponent { equipment: equipment ?? '', date: formattedDate, }; - this.entity().creation.push(creationInstance); - - return; + this.entity.update(entity => ({ + ...entity, + creation: [...entity.creation, creationInstance], + })); }); if (success) this.resetFormFields(); } diff --git a/src/app/components/metadata/optional/dimension/dimension.component.html b/src/app/components/metadata/optional/dimension/dimension.component.html index 60cfc3df..b4ed9c80 100644 --- a/src/app/components/metadata/optional/dimension/dimension.component.html +++ b/src/app/components/metadata/optional/dimension/dimension.component.html @@ -34,4 +34,4 @@
- + diff --git a/src/app/components/metadata/optional/dimension/dimension.component.ts b/src/app/components/metadata/optional/dimension/dimension.component.ts index 26c2e28e..bed7f6c0 100644 --- a/src/app/components/metadata/optional/dimension/dimension.component.ts +++ b/src/app/components/metadata/optional/dimension/dimension.component.ts @@ -8,8 +8,7 @@ import { OptionalCardListComponent } from '../optional-card-list/optional-card-l import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; import { IPhysicalEntityResolved } from '@kompakkt/common'; - -const emptyDimensionTuple = () => ({ name: '', value: '', type: '' }); +import { emptyDimensionTuple } from 'src/app/metadata'; @Component({ selector: 'app-dimension', @@ -40,8 +39,7 @@ export class DimensionComponent { const data = this.dimensionForm().value(); this.entity.update(entity => { const clone = structuredClone(entity); - const dimensions = [...clone.dimensions]; - dimensions.push({ ...emptyDimensionTuple(), ...data }); + clone.dimensions = [...clone.dimensions, { ...emptyDimensionTuple(), ...data }]; return clone; }); this.dimensionForm().value.set(emptyDimensionTuple()); diff --git a/src/app/components/metadata/optional/external-ids/external-ids.component.html b/src/app/components/metadata/optional/external-ids/external-ids.component.html index 99dede4b..88f17454 100644 --- a/src/app/components/metadata/optional/external-ids/external-ids.component.html +++ b/src/app/components/metadata/optional/external-ids/external-ids.component.html @@ -29,4 +29,4 @@ } - + diff --git a/src/app/components/metadata/optional/external-ids/external-ids.component.ts b/src/app/components/metadata/optional/external-ids/external-ids.component.ts index 14a9b077..3fc0f0d1 100644 --- a/src/app/components/metadata/optional/external-ids/external-ids.component.ts +++ b/src/app/components/metadata/optional/external-ids/external-ids.component.ts @@ -39,8 +39,7 @@ export class ExternalIdsComponent { const { type, value } = this.tupleForm().value(); this.entity.update(entity => { const clone = structuredClone(entity); - const externalIds = [...clone.externalId]; - externalIds.push({ ...emptyTypeValueTuple(), type, value }); + clone.externalId = [...clone.externalId, { ...emptyTypeValueTuple(), type, value }]; return clone; }); this.tupleForm().value.set(emptyTypeValueTuple()); diff --git a/src/app/components/metadata/optional/links/links.component.html b/src/app/components/metadata/optional/links/links.component.html index d0ada2f1..7742471e 100644 --- a/src/app/components/metadata/optional/links/links.component.html +++ b/src/app/components/metadata/optional/links/links.component.html @@ -30,4 +30,4 @@ } - + diff --git a/src/app/components/metadata/optional/links/links.component.ts b/src/app/components/metadata/optional/links/links.component.ts index d609d43f..e46f33e9 100644 --- a/src/app/components/metadata/optional/links/links.component.ts +++ b/src/app/components/metadata/optional/links/links.component.ts @@ -39,8 +39,10 @@ export class LinksComponent { const { description, value } = this.tupleForm().value(); this.entity.update(entity => { const clone = structuredClone(entity); - const externalLinhk = [...clone.externalLink]; - externalLinhk.push({ ...emptyDescriptionValueTuple(), value, description }); + clone.externalLink = [ + ...clone.externalLink, + { ...emptyDescriptionValueTuple(), value, description }, + ]; return clone; }); this.tupleForm().value.set(emptyDescriptionValueTuple()); diff --git a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.html b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.html index 0e8aa7b0..5dabdb78 100644 --- a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.html +++ b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.html @@ -1,16 +1,16 @@
@for (data of optionalData(); track $index) {
-
+
@switch (propertyType()) { - @case ('dimension') { + @case ('dimensions') { @if (data | isDimensionTuple) {

{{ data.name + ': ' + data.value + ' ' + data.type }}

} } - @case ('biblio') { + @case ('biblioRefs') { @if (data | isDescriptionValueTuple) {

{{ data.description }}

{{ data.value }}

@@ -20,7 +20,7 @@ @for (item of data | dataTupleKeyValue; track $index) { @if (item.key && item.value) {

- @if (propertyType() === 'link' && item.key === 'value') { + @if (propertyType() === 'externalLink' && item.key === 'value') { URL: } @else { {{ item.key }}: @@ -33,7 +33,7 @@ } }

- @if (propertyType() === 'biblio') { + @if (propertyType() === 'biblioRefs') { diff --git a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts index 4e896697..9ba52061 100644 --- a/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts +++ b/src/app/components/metadata/optional/optional-card-list/optional-card-list.component.ts @@ -1,5 +1,4 @@ -import { Component, input, ChangeDetectionStrategy, output, model } from '@angular/core'; - +import { Component, computed, input, model, output } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { @@ -7,7 +6,13 @@ import { IsDescriptionValueTuple, IsDimensionTuple, } from 'src/app/pipes/tuple-helper.pipes'; -import type { DataTuple } from '@kompakkt/common'; +import type { DataTuple, IDigitalEntityResolved, IPhysicalEntityResolved } from '@kompakkt/common'; +import { AnyEntity } from 'src/app/metadata'; + +type AllowedPropertyType = keyof Pick< + IPhysicalEntityResolved & IDigitalEntityResolved, + 'biblioRefs' | 'externalId' | 'externalLink' | 'creation' | 'dimensions' +>; @Component({ selector: 'app-optional-card-list', @@ -22,16 +27,21 @@ import type { DataTuple } from '@kompakkt/common'; styleUrl: './optional-card-list.component.scss', }) export class OptionalCardListComponent { - optionalData = model.required(); - propertyType = input(''); + entity = model.required(); + propertyType = input.required(); + optionalData = computed(() => { + const entity = this.entity(); + const property = this.propertyType(); + return entity[property]; + }); selected = output(); - public onRemove(index: number) { - this.optionalData.update(data => { - const clone = [...data]; - clone.splice(index, 1); - return clone; - }); + onRemove(index: number) { + const property = this.propertyType(); + this.entity.update(entity => ({ + ...entity, + [property]: [...entity[property].filter((_, i) => index !== i)], + })); } } diff --git a/src/app/components/metadata/optional/phys-obj/phys-obj.component.html b/src/app/components/metadata/optional/phys-obj/phys-obj.component.html index 84c524fa..3a2f41bf 100644 --- a/src/app/components/metadata/optional/phys-obj/phys-obj.component.html +++ b/src/app/components/metadata/optional/phys-obj/phys-obj.component.html @@ -1,35 +1,32 @@ - + - + - + - + - + - + - + - + diff --git a/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts b/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts index bb0c7d74..c2851bfb 100644 --- a/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts +++ b/src/app/components/metadata/optional/phys-obj/phys-obj.component.ts @@ -1,5 +1,4 @@ -import { Component, model } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { Component, computed, effect, model, OnInit } from '@angular/core'; import { MatExpansionModule } from '@angular/material/expansion'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; @@ -13,11 +12,14 @@ import { LinksComponent } from '../links/links.component'; import { MetadataFilesComponent } from '../metadata-files/metadata-files.component'; import { OutlinedInputComponent } from '../../../outlined-input/outlined-input.component'; import { DimensionComponent } from '../dimension/dimension.component'; -import { IPhysicalEntityResolved } from '@kompakkt/common'; +import { IDigitalEntityResolved } from '@kompakkt/common'; +import { emptyPhysicalEntity, isPhysicalEntityValid } from 'src/app/metadata'; +import { form, FormField, required } from '@angular/forms/signals'; @Component({ selector: 'app-phys-obj', imports: [ + FormField, MatExpansionModule, MatFormFieldModule, MatInputModule, @@ -25,8 +27,6 @@ import { IPhysicalEntityResolved } from '@kompakkt/common'; AgentsComponent, LinksComponent, BiblioRefComponent, - ReactiveFormsModule, - FormsModule, GeneralComponent, AddressComponent, ExternalIdsComponent, @@ -37,6 +37,41 @@ import { IPhysicalEntityResolved } from '@kompakkt/common'; templateUrl: './phys-obj.component.html', styleUrl: './phys-obj.component.scss', }) -export class PhysObjComponent { - entity = model.required(); +export class PhysObjComponent implements OnInit { + digitalEntity = model.required({ alias: 'entity' }); + + physicalEntityModel = model(emptyPhysicalEntity()); + physicalEntityForm = form(this.physicalEntityModel, path => { + required(path.place.name, { message: 'Place name is required' }); + }); + isNonEmptyAndValidOrIsEmpty = computed(() => { + const { + title, + description, + place: { name }, + } = this.physicalEntityForm().value(); + const touched = this.physicalEntityForm().touched(); + if (!touched) return true; + const hasTitle = title.trim().length > 0; + const hasDescription = description.trim().length > 0; + const hasPlaceName = name.trim().length > 0; + if (hasTitle && hasDescription && hasPlaceName) return true; + if (hasTitle || hasDescription || hasPlaceName) return false; + return false; + }); + _formChangedEffectRef = effect(() => { + const data = this.physicalEntityForm().value(); + this.digitalEntity.update(entity => ({ + ...entity, + phyObjs: [{ ...data }], + })); + }); + + ngOnInit() { + const phyObj = this.digitalEntity().phyObjs.at(0); + if (phyObj && isPhysicalEntityValid(phyObj, false)) { + this.physicalEntityModel.update(() => phyObj); + this.physicalEntityForm().markAsTouched(); + } + } } diff --git a/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts b/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts index 680a0a98..18a6f694 100644 --- a/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts +++ b/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts @@ -1,6 +1,5 @@ import { AsyncPipe, KeyValuePipe } from '@angular/common'; import { Component, inject, signal, ChangeDetectionStrategy } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; import { MatDividerModule } from '@angular/material/divider'; @@ -33,8 +32,6 @@ type CompilationChangeLogEntry = { @Component({ selector: 'app-add-to-compilation', imports: [ - FormsModule, - ReactiveFormsModule, OutlinedInputComponent, TranslatePipe, MatButtonModule, diff --git a/src/app/dialogs/auth-dialog/auth-dialog.component.ts b/src/app/dialogs/auth-dialog/auth-dialog.component.ts index 24b9fd46..d7851090 100644 --- a/src/app/dialogs/auth-dialog/auth-dialog.component.ts +++ b/src/app/dialogs/auth-dialog/auth-dialog.component.ts @@ -9,7 +9,6 @@ import { ChangeDetectionStrategy, model, } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material/dialog'; import { MatButtonModule } from '@angular/material/button'; diff --git a/src/app/dialogs/create-new-entity/create-new-entity.component.html b/src/app/dialogs/create-new-entity/create-new-entity.component.html index e62e573d..ed531a0a 100644 --- a/src/app/dialogs/create-new-entity/create-new-entity.component.html +++ b/src/app/dialogs/create-new-entity/create-new-entity.component.html @@ -240,13 +240,46 @@

{{ 'Downloadable' | translate }}

} - + {{ 'Metadata' | translate }}
- +
+ @if (errorSummary(); as errors) { + @if (errors.length > 0) { + + + @for (error of errors; track $index) { + + } + + } + } + @if (serverEntityFinished()) { - -

{{ 'Username' | translate }}: {{ selectedUser.username }}

-

{{ 'Mail' | translate }}: {{ selectedUser.mail }}

-

{{ 'ID' | translate }}: {{ selectedUser._id }}

- - @if (entities$ | async; as entities) { - -

{{ 'Showing' | translate }} {{ entities.length }} {{ 'objects' | translate }}

-
- @for (entity of entities; track entity._id) { -
-
{{ 'Title' | translate }}: {{ entity.name }}
-
{{ 'Type' | translate }}: {{ entity.mediaType }}
-
{{ 'Finished' | translate }}: {{ entity.finished }}
-
{{ 'Online' | translate }}: {{ entity.online }}
-
{{ 'ID' | translate }}: {{ entity._id }}
-
- } -
-
- } - @if (compilations$ | async; as compilations) { - -

- {{ 'Showing' | translate }} {{ compilations.length }} {{ 'objects' | translate }} -

-
- @for (compilation of compilations; track compilation._id) { -
-
{{ 'Title' | translate }}: {{ compilation.name }}
-
{{ 'Description' | translate }}: {{ compilation.description }}
-
# {{ 'of objects' | translate }}: {{ compilation.entities.length }}
-
- # {{ 'of annotations' | translate }}: {{ compilation.annotations.length }} -
-
{{ 'ID' | translate }}: {{ compilation._id }}
-
- } -
-
- } - @if (tags$ | async; as tags) { - -

{{ 'Showing' | translate }} {{ tags.length }} {{ 'objects' | translate }}

-
- @for (tag of tags; track tag._id) { -
-
{{ 'Value' | translate }}: {{ tag.value }}
-
{{ 'ID' | translate }}: {{ tag._id }}
-
- } -
-
- } - @if (persons$ | async; as persons) { - -

{{ 'Showing' | translate }} {{ persons.length }} {{ 'objects' | translate }}

-
- @for (person of persons; track person._id) { -
-
{{ 'Name' | translate }}: {{ person.prename }} {{ person.name }}
-
{{ 'ID' | translate }}: {{ person._id }}
-
- } -
-
- } - @if (institutions$ | async; as institutions) { - -

- {{ 'Showing' | translate }} {{ institutions.length }} {{ 'objects' | translate }} -

-
- @for (institution of institutions; track institution._id) { -
-
{{ 'Name' | translate }}: {{ institution.name }}
- @if (institution.university !== '') { -
{{ 'University' | translate }}: {{ institution.university }}
- } -
{{ 'ID' | translate }}: {{ institution._id }}
-
- } -
-
- } - @if (annotations$ | async; as annotations) { - -

- {{ 'Showing' | translate }} {{ annotations.length }} {{ 'objects' | translate }} -

-
- @for (annotation of annotations; track annotation._id) { -
-
{{ 'Title' | translate }}: {{ annotation.body.content.title }}
-
- {{ 'Description' | translate }}: {{ annotation.body.content.description }} -
-
- {{ 'Target object' | translate }}: {{ annotation.target.source.relatedEntity }} -
-
- {{ 'Target collection' | translate }}: - {{ annotation.target.source.relatedCompilation }} -
-
{{ 'Validated' | translate }}: {{ annotation.validated }}
-
{{ 'Ranking' | translate }}: {{ annotation.ranking }}
-
{{ 'ID' | translate }}: {{ annotation._id }}
-
- } -
-
- } - @if (metadata$ | async; as metadata) { - -

{{ 'Showing' | translate }} {{ metadata.length }} {{ 'objects' | translate }}

-
- @for (data of metadata; track data._id) { -
-
{{ 'Title' | translate }}: {{ data.title }}
-
{{ 'Description' | translate }}: {{ data.description }}
-
{{ 'ID' | translate }}: {{ data._id }}
-
- } -
-
- } -
- } - -

Digest

+ + - Hint: First objects were uploaded starting from August 2019 + + + + -
+ @if (selectedUser(); as selectedUser) { +

{{ 'Showing information about' | translate }} {{ selectedUser.fullname }}

+

{{ 'Full name' | translate }}: {{ selectedUser.fullname }}

+ + {{ 'Role' | translate }}: {{ selectedUser.role }} - Year - - @for (year of yearOptions; track year) { - {{ year }} - } + + {{ 'User' | translate }} + {{ 'Uploader' | translate }} + + +

{{ 'Username' | translate }}: {{ selectedUser.username }}

+

{{ 'Mail' | translate }}: {{ selectedUser.mail }}

+

{{ 'ID' | translate }}: {{ selectedUser._id }}

+ + @if (entities(); as entities) { + +

{{ 'Showing' | translate }} {{ entities.length }} {{ 'objects' | translate }}

+
+ @for (entity of entities; track entity._id) { +
+
{{ 'Title' | translate }}: {{ entity.name }}
+
{{ 'Type' | translate }}: {{ entity.mediaType }}
+
{{ 'Finished' | translate }}: {{ entity.finished }}
+
{{ 'Online' | translate }}: {{ entity.online }}
+
{{ 'ID' | translate }}: {{ entity._id }}
+
+ } +
+
+ } + @if (compilations(); as compilations) { + +

{{ 'Showing' | translate }} {{ compilations.length }} {{ 'objects' | translate }}

+
+ @for (compilation of compilations; track compilation._id) { +
+
{{ 'Title' | translate }}: {{ compilation.name }}
+
{{ 'Description' | translate }}: {{ compilation.description }}
+
# {{ 'of objects' | translate }}: {{ compilation.entities.length }}
+
# {{ 'of annotations' | translate }}: {{ compilation.annotations.length }}
+
{{ 'ID' | translate }}: {{ compilation._id }}
+
+ } +
+
+ } + @if (tags(); as tags) { + +

{{ 'Showing' | translate }} {{ tags.length }} {{ 'objects' | translate }}

+
+ @for (tag of tags; track tag._id) { +
+
{{ 'Value' | translate }}: {{ tag.value }}
+
{{ 'ID' | translate }}: {{ tag._id }}
+
+ } +
+
+ } + @if (persons(); as persons) { + +

{{ 'Showing' | translate }} {{ persons.length }} {{ 'objects' | translate }}

+
+ @for (person of persons; track person._id) { +
+
{{ 'Name' | translate }}: {{ person.prename }} {{ person.name }}
+
{{ 'ID' | translate }}: {{ person._id }}
+
+ } +
+
+ } + @if (institutions(); as institutions) { + +

{{ 'Showing' | translate }} {{ institutions.length }} {{ 'objects' | translate }}

+
+ @for (institution of institutions; track institution._id) { +
+
{{ 'Name' | translate }}: {{ institution.name }}
+ @if (institution.university !== '') { +
{{ 'University' | translate }}: {{ institution.university }}
+ } +
{{ 'ID' | translate }}: {{ institution._id }}
+
+ } +
+
+ } + @if (annotations(); as annotations) { + +

{{ 'Showing' | translate }} {{ annotations.length }} {{ 'objects' | translate }}

+
+ @for (annotation of annotations; track annotation._id) { +
+
{{ 'Title' | translate }}: {{ annotation.body.content.title }}
+
{{ 'Description' | translate }}: {{ annotation.body.content.description }}
+
+ {{ 'Target object' | translate }}: {{ annotation.target.source.relatedEntity }} +
+
+ {{ 'Target collection' | translate }}: + {{ annotation.target.source.relatedCompilation }} +
+
{{ 'Validated' | translate }}: {{ annotation.validated }}
+
{{ 'Ranking' | translate }}: {{ annotation.ranking }}
+
{{ 'ID' | translate }}: {{ annotation._id }}
+
+ } +
+
+ } + @if (metadata(); as metadata) { + +

{{ 'Showing' | translate }} {{ metadata.length }} {{ 'objects' | translate }}

+
+ @for (data of metadata; track data._id) { +
+
{{ 'Title' | translate }}: {{ data.title }}
+
{{ 'Description' | translate }}: {{ data.description }}
+
{{ 'ID' | translate }}: {{ data._id }}
+
+ } +
+
+ } +
+ } - - Month - - @for (month of monthOptions; track month; let index = $index) { - {{ month }} - } - - +

Digest

- Only show finished - Only show offline + Hint: First objects were uploaded starting from August 2019 - -
+
+ + Year + + @for (year of yearOptions(); track year) { + {{ year }} + } + + - @if (digestEntities(); as entities) { -
- @for (entity of entities; track entity._id) { -
- - - - Finished: {{ entity.finished ? 'Yes' : 'No' }} - Online: {{ entity.online ? 'Yes' : 'No' }} - @if (entity.creator && entity.creator.fullname && entity.creator.username) { - {{ entity.creator.fullname }} ({{ entity.creator.username }}) - } @else { - No creator info - } -
- } @empty { -

No entities

+ + Month + + @for (month of monthOptions(); track month; let index = $index) { + {{ month }} } -
- } + + + + Only show finished + Only show offline +
+ + @if (digestEntities(); as entities) { +
+ @for (entity of entities; track entity._id) { +
+ + + + Finished: {{ entity.finished ? 'Yes' : 'No' }} + Online: {{ entity.online ? 'Yes' : 'No' }} + @if (entity.creator && entity.creator.fullname && entity.creator.username) { + {{ entity.creator.fullname }} ({{ entity.creator.username }}) + } @else { + No creator info + } +
+ } @empty { +

No entities

+ } +
}
diff --git a/src/app/pages/admin-page/admin-page.component.ts b/src/app/pages/admin-page/admin-page.component.ts index c732bb9d..79361d0c 100644 --- a/src/app/pages/admin-page/admin-page.component.ts +++ b/src/app/pages/admin-page/admin-page.component.ts @@ -1,4 +1,4 @@ -import { AsyncPipe, DatePipe } from '@angular/common'; +import { DatePipe } from '@angular/common'; import { Component, effect, @@ -6,9 +6,12 @@ import { OnInit, signal, viewChild, - ChangeDetectionStrategy, + inject, + resource, + computed, + input, + AfterViewInit, } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatChipsModule } from '@angular/material/chips'; @@ -22,13 +25,11 @@ import { MatSort, MatSortModule } from '@angular/material/sort'; import { MatTableDataSource, MatTableModule } from '@angular/material/table'; import { MatTabsModule } from '@angular/material/tabs'; import { Meta, Title } from '@angular/platform-browser'; -import { BehaviorSubject, combineLatest, map } from 'rxjs'; import { GridElementComponent } from 'src/app/components'; import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { areDocumentsEqual, IDocument, - IEntity, isAnnotation, isCompilation, isDigitalEntity, @@ -36,13 +37,15 @@ import { isInstitution, isPerson, isTag, - isUserData, isUserRank, IUserData, } from '@kompakkt/common'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { Endpoint, Response } from '@kompakkt/server-openapi'; import { scrollToMainContent } from 'src/app/util/scroll-to-main-content'; +import { RedirectCommand, ResourceContext, ResourceResult, Router } from '@angular/router'; +import { AuthDialogResult } from 'src/app/dialogs/auth-dialog/auth-dialog.component'; +import { form, FormField } from '@angular/forms/signals'; const getTimestampFromObjectId = (objectId: string) => { return new Date(parseInt(objectId.substring(0, 8), 16) * 1000); @@ -57,14 +60,28 @@ const uniqueArrayByObjectId = (array: T[]) type ReturnedUsersArray = Response>; type ReturnedUser = ReturnedUsersArray[number]; +export const adminPageResource = (_: ResourceContext): ResourceResult | Promise => { + const router = inject(Router); + const helper = inject(DialogHelperService); + return { + loginData: resource({ + loader: async () => { + const data = helper.verifyAuthentication('Validate login before receiving admin data'); + if (!data) { + throw new RedirectCommand(router.parseUrl('/404')); + } + return data; + }, + }), + }; +}; + @Component({ selector: 'app-admin-page', templateUrl: './admin-page.component.html', styleUrls: ['./admin-page.component.scss'], - changeDetection: ChangeDetectionStrategy.Eager, imports: [ - FormsModule, - ReactiveFormsModule, + FormField, MatCheckboxModule, MatFormFieldModule, MatInputModule, @@ -78,152 +95,104 @@ type ReturnedUser = ReturnedUsersArray[number]; MatButtonModule, MatTabsModule, GridElementComponent, - AsyncPipe, TranslatePipe, DatePipe, ], }) export class AdminPageComponent implements OnInit { - public sort = viewChild(MatSort); - public paginator = viewChild(MatPaginator); - - private fetchedData = false; + account = inject(AccountService); + #backend = inject(BackendService); + #titleService = inject(Title); + #metaService = inject(Meta); - public users$ = new BehaviorSubject([]); - public selectedUser$ = new BehaviorSubject(undefined); + sort = viewChild(MatSort); + paginator = viewChild(MatPaginator); - public selectedRole$ = new BehaviorSubject('user'); - public roleFilter$ = new BehaviorSubject('all'); + selectedRole = signal('user'); + roleFilter = signal('all'); - public dataSource = new MatTableDataSource([]); + dataSource = new MatTableDataSource([]); - public onPageChange() { + onPageChange() { scrollToMainContent(); } - private loginData?: { username: string; password: string }; - - readonly yearOptions = (() => { - const firstYear = 2019; - const lastYear = new Date().getFullYear(); - const years: number[] = []; - for (let year = firstYear; year <= lastYear; year++) years.push(year); - return years; - })(); - readonly monthOptions = (() => { - // Return as names derived from Date locale - const monthNames: string[] = []; - for (let month = 0; month < 12; month++) { - const date = new Date(2000, month, 1); - monthNames.push(date.toLocaleString('default', { month: 'long' })); - } - return monthNames; - })(); - - readonly year = model(new Date().getFullYear()); - readonly month = model(new Date().getMonth()); - readonly onlyFinished = model(true); - readonly onlyRestricted = model(false); - - public digestOptions = signal<{ - from: number; - to: number; - finished: boolean; - restricted: boolean; - }>({ - from: Date.now() - 7 * 24 * 60 * 60 * 1000, - to: Date.now(), - // Filters: "Only restricted" and "Only finished" - finished: false, + yearOptions = signal( + (() => { + const firstYear = 2019; + const lastYear = new Date().getFullYear(); + const years: number[] = []; + for (let year = firstYear; year <= lastYear; year++) years.push(year); + return years; + })(), + ); + monthOptions = signal( + (() => { + // Return as names derived from Date locale + const monthNames: string[] = []; + for (let month = 0; month < 12; month++) { + const date = new Date(2000, month, 1); + monthNames.push(date.toLocaleString('default', { month: 'long' })); + } + return monthNames; + })(), + ); + + selectedYear = signal(new Date().getFullYear()); + selectedMonth = signal(new Date().getMonth()); + optionsModel = model({ restricted: false, + finished: false, }); - setDigestOptionsEffect = effect(() => { - const year = this.year(); - const month = this.month(); - - // Get start and end of the current month - const from = new Date(year, month, 1).getTime(); - const to = new Date(year, month + 1, 0, 23, 59, 59, 999).getTime(); - console.log(new Date(year, month, 1), new Date(year, month + 1, 0, 23, 59, 59, 999)); - - const finished = this.onlyFinished(); - const restricted = this.onlyRestricted(); - this.digestOptions.set({ from, to, finished, restricted }); - }); - public digestEntities = signal([]); - - public displayedColumns: string[] = [ - 'fullname', - 'username', - 'mail', - 'role', - 'createdAt', - 'actions', - ]; - - constructor( - public account: AccountService, - private backend: BackendService, - private titleService: Title, - private metaService: Meta, - private helper: DialogHelperService, - ) { - combineLatest([this.account.isAuthenticated$, this.account.role.isAdmin$]).subscribe( - ([authenticated, admin]) => { - if (!authenticated) { - console.error('User is not authenticated'); - } else if (!admin) { - console.error('User is not an admin'); - } else { - this.fetchAdminData(); - } - }, - ); - } - - private async getLoginData() { - console.log('loginData', this.loginData); - if (!this.loginData) { - const loginData = await this.helper.verifyAuthentication( - 'Validate login before receiving admin data', - ); - this.loginData = loginData; - } - return this.loginData; - } + optionsForm = form(this.optionsModel); - private async fetchAdminData() { - if (this.fetchedData) return; - this.fetchedData = true; + displayedColumns: string[] = ['fullname', 'username', 'mail', 'role', 'createdAt', 'actions']; - const loginData = await this.getLoginData(); - if (!loginData) { - this.fetchedData = false; - return; - } - const { username, password } = loginData; + loginData = input.required(); - await Promise.all([ - this.backend.getAllUsers(username, password).then(result => { - if (!result) throw new Error('Failed to fetch users'); - this.users$.next(result); - }), - this.backend - .getDigest(username, password, this.digestOptions()) - .then(result => this.digestEntities.set(result)), - ]); - } + #usersResource = resource({ + params: () => this.loginData(), + loader: ({ params: { username, password } }) => this.#backend.getAllUsers(username, password), + }); + #digestResource = resource({ + params: () => { + const loginData = this.loginData(); + const year = this.selectedYear(); + const month = this.selectedMonth(); + const { finished, restricted } = this.optionsForm().value(); + // Get start and end of the current month + const from = new Date(year, month, 1).getTime(); + const to = new Date(year, month + 1, 0, 23, 59, 59, 999).getTime(); + const digestOptions = { finished, restricted, from, to }; + return { ...loginData, digestOptions }; + }, + loader: ({ params: { username, password, digestOptions } }) => + this.#backend.getDigest(username, password, digestOptions), + }); + digestEntities = computed(() => { + const digest = this.#digestResource.hasValue() ? this.#digestResource.value() : undefined; + return digest; + }); - public async loadDigest() { - const loginData = await this.getLoginData(); - if (!loginData) return; - const { username, password } = loginData; - return this.backend - .getDigest(username, password, this.digestOptions()) - .then(result => this.digestEntities.set(result)); - } + selectedUserId = signal(undefined); + #selectedUserResource = resource({ + params: () => { + const loginData = this.loginData(); + const userId = this.selectedUserId(); + if (!userId) return undefined; + return { ...loginData, userId }; + }, + loader: ({ params: { username, password, userId } }) => + this.#backend.getUser(username, password, userId), + }); + selectedUser = computed(() => { + const user = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + return user; + }); - public updateFilter(filter: string, role = 'all') { + updateFilter(filter: string, role = 'all') { const removedRoleFilter = filter.replace(/\s?role:\w+\s?/g, ''); this.dataSource.filter = [removedRoleFilter.toLowerCase(), `role:${role}`] .filter(v => !!v) @@ -231,7 +200,7 @@ export class AdminPageComponent implements OnInit { console.log('filter', this.dataSource.filter); } - public changeSearchInput(event: Event) { + changeSearchInput(event: Event) { this.updateFilter((event.target as HTMLInputElement).value?.toString() ?? ''); } @@ -239,121 +208,103 @@ export class AdminPageComponent implements OnInit { return user.fullname; } - public async selectUser(user?: IUserData) { - if (!user) return; - - const loginData = await this.getLoginData(); - if (!loginData) return; - const { username, password } = loginData; - - user = await this.backend.getUser(username, password, user._id).then(result => result); - - if (!user) return; - - this.selectedUser$.next(user); - } - - public async updateUserRole() { - const selectedUser = this.selectedUser$.getValue(); + async updateUserRole() { + const loginData = this.loginData(); + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; if (!selectedUser) return; - const selectedRole = this.selectedRole$.getValue(); + const selectedRole = this.selectedRole(); - const loginData = await this.getLoginData(); - if (!loginData) return; const { username, password } = loginData; if (!isUserRank(selectedRole)) return; - await this.backend + await this.#backend .promoteUser(username, password, selectedUser._id, selectedRole) .then(result => console.log(result)); - const user = await this.backend + const user = await this.#backend .getUser(username, password, selectedUser._id) .then(result => result); if (!user) return; - - this.selectedUser$.next(user); + this.#selectedUserResource.reload(); } - get entities$() { - return this.selectedUser$.pipe( - map(user => user?.data?.entity?.filter(isEntity) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } - - get compilations$() { - return this.selectedUser$.pipe( - map(user => user?.data?.compilation?.filter(isCompilation) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } - - get tags$() { - return this.selectedUser$.pipe( - map(user => user?.data?.tag?.filter(isTag) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } + entities = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.entity?.filter(isEntity) ?? []); + }); - get persons$() { - return this.selectedUser$.pipe( - map(user => user?.data?.person?.filter(isPerson) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } + compilations = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.compilation?.filter(isCompilation) ?? []); + }); - get institutions$() { - return this.selectedUser$.pipe( - map(user => user?.data?.institution?.filter(isInstitution) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } + tags = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.tag?.filter(isTag) ?? []); + }); - get annotations$() { - return this.selectedUser$.pipe( - map(user => user?.data?.annotation?.filter(isAnnotation) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } + persons = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.person?.filter(isPerson) ?? []); + }); - get metadata$() { - return this.selectedUser$.pipe( - map(user => user?.data?.digitalentity?.filter(isDigitalEntity) ?? []), - map(arr => uniqueArrayByObjectId(arr)), - ); - } + institutions = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.institution?.filter(isInstitution) ?? []); + }); - ngOnInit() { - this.titleService.setTitle('Kompakkt – Admin'); - this.metaService.updateTag({ name: 'description', content: 'Admin area.' }); + annotations = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.annotation?.filter(isAnnotation) ?? []); + }); - this.dataSource.filterPredicate = (user, filter) => { - const words = filter.split(/\s+/).filter(word => word.length > 0); - const role = words.find(word => word.startsWith('role:'))?.replace('role:', ''); - if (role && role !== 'all' && user.role !== role) return false; - const pattern = words - .filter(word => !word.startsWith('role:')) - .map(word => `(${word})`) - .join('.*'); - const regex = new RegExp(pattern, 'i'); - return regex.test([user.fullname, user.username, user.mail].join(' ')); - }; + metadata = computed(() => { + const selectedUser = this.#selectedUserResource.hasValue() + ? this.#selectedUserResource.value() + : undefined; + if (!selectedUser) return undefined; + return uniqueArrayByObjectId(selectedUser?.data?.digitalentity?.filter(isDigitalEntity) ?? []); + }); - this.roleFilter$.subscribe(role => { + constructor() { + effect(() => { + const role = this.roleFilter(); this.updateFilter(this.dataSource.filter, role); }); - this.users$.pipe(map(arr => uniqueArrayByObjectId(arr))).subscribe(users => { + effect(() => { + const users = this.#usersResource.hasValue() ? this.#usersResource.value() : undefined; + if (!users) return; + const unique = uniqueArrayByObjectId(users); const sort = this.sort(); if (sort) { this.dataSource.sort = sort; } const paginator = this.paginator(); if (paginator) this.dataSource.paginator = paginator; - const withDate = users + const withDate = unique .map(user => user._id ? { @@ -366,4 +317,21 @@ export class AdminPageComponent implements OnInit { this.dataSource.data = withDate; }); } + + ngOnInit() { + this.#titleService.setTitle('Kompakkt – Admin'); + this.#metaService.updateTag({ name: 'description', content: 'Admin area.' }); + + this.dataSource.filterPredicate = (user, filter) => { + const words = filter.split(/\s+/).filter(word => word.length > 0); + const role = words.find(word => word.startsWith('role:'))?.replace('role:', ''); + if (role && role !== 'all' && user.role !== role) return false; + const pattern = words + .filter(word => !word.startsWith('role:')) + .map(word => `(${word})`) + .join('.*'); + const regex = new RegExp(pattern, 'i'); + return regex.test([user.fullname, user.username, user.mail].join(' ')); + }; + } } diff --git a/src/app/pages/profile-page/compilations/compilations.component.ts b/src/app/pages/profile-page/compilations/compilations.component.ts index 04c83a0e..f0615e87 100644 --- a/src/app/pages/profile-page/compilations/compilations.component.ts +++ b/src/app/pages/profile-page/compilations/compilations.component.ts @@ -14,7 +14,6 @@ import { ChangeDetectionStrategy, } from '@angular/core'; import { toObservable, toSignal } from '@angular/core/rxjs-interop'; -import { FormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatChipsModule } from '@angular/material/chips'; import { MatDialog } from '@angular/material/dialog'; @@ -68,7 +67,6 @@ import { PermissionService } from 'src/app/services/permissions.service'; RouterLink, MatDividerModule, MatSlideToggleModule, - FormsModule, TranslatePipe, AsyncPipe, SelectionContainerComponent, diff --git a/src/app/pages/profile-page/entities/entities.component.ts b/src/app/pages/profile-page/entities/entities.component.ts index 9a620fc9..78e6d459 100644 --- a/src/app/pages/profile-page/entities/entities.component.ts +++ b/src/app/pages/profile-page/entities/entities.component.ts @@ -14,7 +14,6 @@ import { ChangeDetectionStrategy, } from '@angular/core'; import { toObservable, toSignal } from '@angular/core/rxjs-interop'; -import { FormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; import { MatChipsModule } from '@angular/material/chips'; @@ -81,7 +80,6 @@ const getAnnotationCount = (entity: IEntity): number => { MatDividerModule, MatSlideToggleModule, GridElementComponent, - FormsModule, TranslatePipe, AsyncPipe, SelectionContainerComponent, diff --git a/src/app/pages/profile-page/profile-page.component.ts b/src/app/pages/profile-page/profile-page.component.ts index 33e30e46..85b82c37 100644 --- a/src/app/pages/profile-page/profile-page.component.ts +++ b/src/app/pages/profile-page/profile-page.component.ts @@ -9,7 +9,6 @@ import { ChangeDetectionStrategy, } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; -import { FormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; import { MatChipsModule } from '@angular/material/chips'; @@ -71,7 +70,6 @@ import { TranslatePipe } from 'src/app/pipes/translate.pipe'; MatButtonModule, MatDividerModule, MatSlideToggleModule, - FormsModule, MatProgressSpinnerModule, TranslatePipe, ProfileEntitiesComponent, From d47578decffd9e7d1b07939b6ca26de7c30940b7 Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Tue, 3 Nov 2026 19:28:39 +0100 Subject: [PATCH 06/10] Fix AdminPage errors --- .../admin-page/admin-page.component.html | 32 ++++++++++------ .../admin-page/admin-page.component.scss | 23 ++++++++--- .../pages/admin-page/admin-page.component.ts | 38 +++++++++++-------- 3 files changed, 59 insertions(+), 34 deletions(-) diff --git a/src/app/pages/admin-page/admin-page.component.html b/src/app/pages/admin-page/admin-page.component.html index 135ee39b..610bdcc0 100644 --- a/src/app/pages/admin-page/admin-page.component.html +++ b/src/app/pages/admin-page/admin-page.component.html @@ -127,7 +127,7 @@

{{ 'Full name' | translate }}: {{ selectedUser.fullname }}

{{ 'Username' | translate }}: {{ selectedUser.username }}

{{ 'Mail' | translate }}: {{ selectedUser.mail }}

-

{{ 'ID' | translate }}: {{ selectedUser._id }}

+

{{ 'ID' | translate }}: {{ selectedUser._id | json }}

@if (entities(); as entities) { @@ -250,7 +250,10 @@

Digest

Year - + @for (year of yearOptions(); track year) { {{ year }} } @@ -259,15 +262,18 @@

Digest

Month - + @for (month of monthOptions(); track month; let index = $index) { {{ month }} } - Only show finished - Only show offline + Only show finished + Only show offline
@if (digestEntities(); as entities) { @@ -277,13 +283,15 @@

Digest

- Finished: {{ entity.finished ? 'Yes' : 'No' }} - Online: {{ entity.online ? 'Yes' : 'No' }} - @if (entity.creator && entity.creator.fullname && entity.creator.username) { - {{ entity.creator.fullname }} ({{ entity.creator.username }}) - } @else { - No creator info - } +
+ Finished: {{ entity.finished ? 'Yes' : 'No' }} + Online: {{ entity.online ? 'Yes' : 'No' }} + @if (entity.creator && entity.creator.fullname && entity.creator.username) { + {{ entity.creator.fullname }} ({{ entity.creator.username }}) + } @else { + No creator info + } +
} @empty {

No entities

diff --git a/src/app/pages/admin-page/admin-page.component.scss b/src/app/pages/admin-page/admin-page.component.scss index f50cb0a1..620c449d 100644 --- a/src/app/pages/admin-page/admin-page.component.scss +++ b/src/app/pages/admin-page/admin-page.component.scss @@ -47,21 +47,32 @@ div.entity-grid { display: flex; flex-direction: column; align-items: stretch; - border: solid 1px gray; - border-radius: 4px; + width: 100%; + position: relative; a { text-decoration: none; color: inherit; } app-grid-element { - border-bottom: solid 1px gray; min-height: 200px; } - > span { - padding: 2px 8px; - font-size: 12px; + div.floating { + display: flex; + flex-direction: column; + position: absolute; + top: 8px; + left: 8px; + background-color: rgba(255, 255, 255, 0.8); + backdrop-filter: blur(2px); + border-radius: 4px; + padding: 4px; + + > span { + padding: 2px 8px; + font-size: 12px; + } } } } diff --git a/src/app/pages/admin-page/admin-page.component.ts b/src/app/pages/admin-page/admin-page.component.ts index 79361d0c..751fbe9a 100644 --- a/src/app/pages/admin-page/admin-page.component.ts +++ b/src/app/pages/admin-page/admin-page.component.ts @@ -1,8 +1,7 @@ -import { DatePipe } from '@angular/common'; +import { DatePipe, JsonPipe } from '@angular/common'; import { Component, effect, - model, OnInit, signal, viewChild, @@ -10,12 +9,11 @@ import { resource, computed, input, - AfterViewInit, } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatChipsModule } from '@angular/material/chips'; -import { MatOptionModule } from '@angular/material/core'; +import { MatOptionModule, provideNativeDateAdapter } from '@angular/material/core'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator'; @@ -45,7 +43,7 @@ import { Endpoint, Response } from '@kompakkt/server-openapi'; import { scrollToMainContent } from 'src/app/util/scroll-to-main-content'; import { RedirectCommand, ResourceContext, ResourceResult, Router } from '@angular/router'; import { AuthDialogResult } from 'src/app/dialogs/auth-dialog/auth-dialog.component'; -import { form, FormField } from '@angular/forms/signals'; +import { MatDatepickerModule } from '@angular/material/datepicker'; const getTimestampFromObjectId = (objectId: string) => { return new Date(parseInt(objectId.substring(0, 8), 16) * 1000); @@ -81,10 +79,10 @@ export const adminPageResource = (_: ResourceContext): ResourceResult | Promise< templateUrl: './admin-page.component.html', styleUrls: ['./admin-page.component.scss'], imports: [ - FormField, MatCheckboxModule, MatFormFieldModule, MatInputModule, + MatDatepickerModule, MatChipsModule, MatTableModule, MatPaginatorModule, @@ -97,7 +95,9 @@ export const adminPageResource = (_: ResourceContext): ResourceResult | Promise< GridElementComponent, TranslatePipe, DatePipe, + JsonPipe, ], + providers: [provideNativeDateAdapter()], }) export class AdminPageComponent implements OnInit { account = inject(AccountService); @@ -138,13 +138,18 @@ export class AdminPageComponent implements OnInit { })(), ); - selectedYear = signal(new Date().getFullYear()); - selectedMonth = signal(new Date().getMonth()); - optionsModel = model({ - restricted: false, - finished: false, - }); - optionsForm = form(this.optionsModel); + currentYear = new Date().getFullYear(); + currentMonth = new Date().getMonth(); + + // Due to a bug with FormFields and the Angular Material mat-select and mat-checkbox, these can't be turned into a form yet + selectedYear = signal(this.currentYear); + selectedMonth = signal(this.currentMonth); + onlyRestricted = signal(false); + onlyFinished = signal(false); + setMonthAndYear(date: Date) { + this.selectedYear.set(date.getFullYear()); + this.selectedMonth.set(date.getMonth()); + } displayedColumns: string[] = ['fullname', 'username', 'mail', 'role', 'createdAt', 'actions']; @@ -157,9 +162,10 @@ export class AdminPageComponent implements OnInit { #digestResource = resource({ params: () => { const loginData = this.loginData(); - const year = this.selectedYear(); - const month = this.selectedMonth(); - const { finished, restricted } = this.optionsForm().value(); + const year = this.selectedYear() ?? new Date().getFullYear(); + const month = this.selectedMonth() ?? new Date().getMonth(); + const finished = this.onlyFinished() ?? false; + const restricted = this.onlyRestricted() ?? false; // Get start and end of the current month const from = new Date(year, month, 1).getTime(); const to = new Date(year, month + 1, 0, 23, 59, 59, 999).getTime(); From 37c0f21cb50d13fbff36dec4b05b8a25a2e59c1e Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Tue, 3 Nov 2026 21:05:58 +0100 Subject: [PATCH 07/10] Update code style (less public/private keywords, use # for private fields) --- src/app/app.component.ts | 4 +- src/app/app.config.ts | 30 ++-- src/app/app.plugin.ts | 2 +- src/app/app.routes.ts | 58 ++++--- .../actionbar/actionbar.component.ts | 13 +- .../entity-detail/entity-detail.component.ts | 2 +- src/app/components/index.ts | 15 -- .../language-dropdown.component.ts | 2 +- .../metadata/agents/agents.component.ts | 3 +- .../metadata/agents/is-agent-self.pipe.ts | 2 +- .../metadata/general/general.component.ts | 4 +- .../metadata-files.component.ts | 2 +- .../navigation/navbar/navbar.component.html | 2 - .../navigation/navbar/navbar.component.scss | 14 -- .../navigation/navbar/navbar.component.ts | 58 ++----- .../sidenav-list/sidenav-list.component.ts | 3 +- .../selection-container.component.ts | 2 +- .../selection-tab/selection-tab.component.ts | 10 +- src/app/components/upload/upload.component.ts | 15 +- .../uploaded-by/uploaded-by.component.ts | 2 +- .../add-to-compilation.component.ts | 4 +- .../auth-dialog/auth-dialog.component.ts | 4 +- .../create-or-edit-compilation.component.ts | 3 +- .../create-new-entity.component.ts | 84 +++++---- .../embed-object-dialog.component.ts | 5 +- .../entity-download-dialog.component.ts | 2 +- .../forgot-password-dialog.component.ts | 3 +- .../forgot-username-dialog.component.ts | 3 +- .../manage-ownership.component.ts | 14 +- .../news-dialog/news-dialog.component.ts | 2 +- .../profile-page-edit.component.ts | 6 +- .../register-dialog.component.ts | 3 +- .../remove-from-compilation.component.ts | 14 +- .../reset-password-dialog.component.ts | 3 +- .../visibility-and-access-dialog.component.ts | 12 +- src/app/guards/authenticated.guard.ts | 12 -- src/app/guards/index.ts | 1 - .../pages/admin-page/admin-page.component.ts | 6 +- src/app/pages/annotate/annotate.component.ts | 6 +- .../detail-page/detail-page.component.ts | 62 ++++--- .../explore-filter-sidenav.component.ts | 2 +- src/app/pages/explore/explore.component.ts | 56 +++--- src/app/pages/home/home.component.ts | 50 +++--- .../compilations/compilations.component.ts | 22 ++- .../entities/entities.component.ts | 72 ++++---- .../profile-page/profile-page.component.ts | 15 +- .../profile-public-view.component.ts | 8 +- src/app/services/account.service.ts | 10 +- src/app/services/backend.service.ts | 164 +++++++++--------- src/app/services/clipboard.service.ts | 11 +- .../services/detail-page-helper.service.ts | 17 +- src/app/services/dialog-helper.service.ts | 20 ++- src/app/services/index.ts | 14 -- .../request-progress-interceptor.ts | 18 -- src/app/services/permissions.service.ts | 10 +- src/app/services/progress-bar.service.ts | 35 ---- src/app/services/query-action.service.ts | 2 +- src/app/services/select-history.service.ts | 9 +- src/app/services/snackbar.service.ts | 6 +- src/app/services/translate.service.ts | 24 +-- src/app/services/upload-handler.service.ts | 50 +++--- 61 files changed, 481 insertions(+), 626 deletions(-) delete mode 100644 src/app/components/index.ts delete mode 100644 src/app/guards/authenticated.guard.ts delete mode 100644 src/app/guards/index.ts delete mode 100644 src/app/services/index.ts delete mode 100644 src/app/services/interceptors/request-progress-interceptor.ts delete mode 100644 src/app/services/progress-bar.service.ts diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6f8a4f1e..a0e214b9 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -14,13 +14,15 @@ import { import { MatSidenavModule } from '@angular/material/sidenav'; import { RouterOutlet } from '@angular/router'; import { CustomBrandingPlugin } from '@kompakkt/plugins/custom-branding'; -import { AccountService, QueryActionService, SnackbarService } from 'src/app/services'; import { FooterComponent } from './components/navigation/footer/footer.component'; import { NavbarComponent } from './components/navigation/navbar/navbar.component'; import { SidenavContainerComponent } from './components/sidenav-container/sidenav-container.component'; import { NotificationAreaComponent } from './components/notification-area/notification-area.component'; import { environment } from 'src/environment'; import { MatButtonModule } from '@angular/material/button'; +import { AccountService } from './services/account.service'; +import { SnackbarService } from './services/snackbar.service'; +import { QueryActionService } from './services/query-action.service'; @Component({ selector: 'app-root', diff --git a/src/app/app.config.ts b/src/app/app.config.ts index e9282be0..5baa396b 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,7 +1,13 @@ import { DragDropModule } from '@angular/cdk/drag-drop'; import { CommonModule, DATE_PIPE_DEFAULT_OPTIONS } from '@angular/common'; import { provideHttpClient, withInterceptors } from '@angular/common/http'; -import { APP_INITIALIZER, ApplicationConfig, LOCALE_ID, importProvidersFrom } from '@angular/core'; +import { + ApplicationConfig, + LOCALE_ID, + importProvidersFrom, + inject, + provideAppInitializer, +} from '@angular/core'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; @@ -43,7 +49,6 @@ import { RouteReuse } from 'src/app/route-reuse-strategy'; import { exploreTimingInterceptor } from 'src/app/services/interceptors/explore-timing-interceptor'; import { httpErrorInterceptor } from 'src/app/services/interceptors/http-error-interceptor'; import { httpOptionsInterceptor } from 'src/app/services/interceptors/http-options-interceptor'; -import { requestProgressInterceptor } from 'src/app/services/interceptors/request-progress-interceptor'; import { jwtInterceptor } from './services/interceptors/jwt-interceptor'; import { TranslateService } from 'src/app/services/translate.service'; import { pluginProviders } from './app.plugin'; @@ -53,7 +58,6 @@ export const appConfig: ApplicationConfig = { providers: [ importProvidersFrom( CommonModule, - BrowserModule, DragDropModule, MatAutocompleteModule, MatSidenavModule, @@ -85,21 +89,10 @@ export const appConfig: ApplicationConfig = { ), TranslateService, TranslatePipe, - { - provide: [APP_INITIALIZER, RouteReuseStrategy], - useFactory: (service: TranslateService) => service.requestLanguage(), - deps: [TranslateService], - useClass: RouteReuse, - multi: true, - }, - { - provide: DATE_PIPE_DEFAULT_OPTIONS, - useValue: { dateFormat: 'full' }, - }, - { - provide: LOCALE_ID, - useValue: 'en-US', - }, + provideAppInitializer(() => inject(TranslateService).requestLanguage()), + { provide: RouteReuseStrategy, useExisting: RouteReuse }, + { provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: { dateFormat: 'full' } }, + { provide: LOCALE_ID, useValue: 'en-US' }, provideRouter( routes, withRouterConfig({ onSameUrlNavigation: 'reload' }), @@ -112,7 +105,6 @@ export const appConfig: ApplicationConfig = { exploreTimingInterceptor, httpErrorInterceptor, httpOptionsInterceptor, - requestProgressInterceptor, jwtInterceptor, ]), ), diff --git a/src/app/app.plugin.ts b/src/app/app.plugin.ts index 9ac969ef..705fb120 100644 --- a/src/app/app.plugin.ts +++ b/src/app/app.plugin.ts @@ -1,8 +1,8 @@ import { provideExtender } from '@kompakkt/plugins/extender'; -import { BackendService } from './services'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import plugins from './custom-plugins'; +import { BackendService } from './services/backend.service'; export const pluginProviders = provideExtender({ plugins, diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 089ec0ac..00625b4f 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,15 +1,5 @@ import { Routes } from '@angular/router'; -import { HomeComponent } from './pages/home/home.component'; -import { PrivacyComponent } from './pages/static-pages/privacy/privacy.component'; -import { ImprintComponent } from './pages/static-pages/imprint/imprint.component'; -import { AboutComponent } from './pages/static-pages/about/about.component'; -import { DetailPageComponent } from './pages/detail-page/detail-page.component'; -import { ExploreComponent } from './pages/explore/explore.component'; -import { ProfilePageComponent } from './pages/profile-page/profile-page.component'; -import { AdminPageComponent, adminPageResource } from './pages/admin-page/admin-page.component'; -import { AnnotateComponent } from './pages/annotate/annotate.component'; -import { NotFoundComponent } from './pages/notfound/notfound.component'; -import { DebugPageComponent } from './pages/debug-page/debug-page.component'; +import { adminPageResource } from './pages/admin-page/admin-page.component'; export const routes: Routes = [ { @@ -19,28 +9,31 @@ export const routes: Routes = [ }, { path: 'home', - component: HomeComponent, + loadComponent: () => import('./pages/home/home.component').then(m => m.HomeComponent), data: { title: 'Kompakkt', }, }, { path: 'privacy', - component: PrivacyComponent, + loadComponent: () => + import('./pages/static-pages/privacy/privacy.component').then(m => m.PrivacyComponent), data: { title: 'Privacy Policy', }, }, { path: 'imprint', - component: ImprintComponent, + loadComponent: () => + import('./pages/static-pages/imprint/imprint.component').then(m => m.ImprintComponent), data: { title: 'Imprint', }, }, { path: 'about', - component: AboutComponent, + loadComponent: () => + import('./pages/static-pages/about/about.component').then(m => m.AboutComponent), data: { title: 'About the Kompakkt Consortium', }, @@ -55,54 +48,65 @@ export const routes: Routes = [ }, { path: 'entity/:id', - component: DetailPageComponent, + loadComponent: () => + import('./pages/detail-page/detail-page.component').then(m => m.DetailPageComponent), data: { type: 'entity' }, }, { path: 'compilation/:id', - component: DetailPageComponent, + loadComponent: () => + import('./pages/detail-page/detail-page.component').then(m => m.DetailPageComponent), data: { type: 'compilation' }, }, { path: 'explore', - component: ExploreComponent, + loadComponent: () => import('./pages/explore/explore.component').then(m => m.ExploreComponent), }, { path: 'profile', - component: ProfilePageComponent, + loadComponent: () => + import('./pages/profile-page/profile-page.component').then(m => m.ProfilePageComponent), }, { path: 'profile/:type/:id', - component: ProfilePageComponent, + loadComponent: () => + import('./pages/profile-page/profile-page.component').then(m => m.ProfilePageComponent), }, { path: 'admin', - component: AdminPageComponent, + loadComponent: () => + import('./pages/admin-page/admin-page.component').then(m => m.AdminPageComponent), resources: adminPageResource, }, { path: 'annotate/:id', - component: AnnotateComponent, + loadComponent: () => + import('./pages/annotate/annotate.component').then(m => m.AnnotateComponent), }, { path: 'annotate/:type/:id', - component: AnnotateComponent, + loadComponent: () => + import('./pages/annotate/annotate.component').then(m => m.AnnotateComponent), }, { path: 'annotate', - component: AnnotateComponent, + loadComponent: () => + import('./pages/annotate/annotate.component').then(m => m.AnnotateComponent), }, { path: 'about', - component: AboutComponent, + loadComponent: () => + import('./pages/static-pages/about/about.component').then(m => m.AboutComponent), }, { path: '404', - component: NotFoundComponent, + loadComponent: () => + import('./pages/notfound/notfound.component').then(m => m.NotFoundComponent), }, { path: '__debug', - component: DebugPageComponent, + loadComponent: () => + import('./pages/debug-page/debug-page.component').then(m => m.DebugPageComponent), }, { path: '**', diff --git a/src/app/components/actionbar/actionbar.component.ts b/src/app/components/actionbar/actionbar.component.ts index c0aae6e8..8a21401c 100644 --- a/src/app/components/actionbar/actionbar.component.ts +++ b/src/app/components/actionbar/actionbar.component.ts @@ -35,18 +35,15 @@ import { } from '@kompakkt/common'; import { IsCompilationPipe } from 'src/app/pipes/is-compilation.pipe'; import { IsEntityPipe } from 'src/app/pipes/is-entity.pipe'; -import { - AccountService, - BackendService, - DialogHelperService, - SelectHistoryService, - SnackbarService, -} from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { OverlayModule } from '@angular/cdk/overlay'; import { PermissionService } from 'src/app/services/permissions.service'; -import { FormField } from '@angular/forms/signals'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; +import { SelectHistoryService } from 'src/app/services/select-history.service'; @Component({ selector: 'app-actionbar', diff --git a/src/app/components/entity-detail/entity-detail.component.ts b/src/app/components/entity-detail/entity-detail.component.ts index 333768e5..64c80dab 100644 --- a/src/app/components/entity-detail/entity-detail.component.ts +++ b/src/app/components/entity-detail/entity-detail.component.ts @@ -1,6 +1,5 @@ import { Component, computed, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { DatePipe } from '@angular/common'; -import { AccountService } from 'src/app/services'; import { IEntity, isDigitalEntity, isPhysicalEntity, isTag } from '@kompakkt/common'; import { DetailEntityComponent } from './detail-entity/detail-entity.component'; import { UploadedByComponent } from '../uploaded-by/uploaded-by.component'; @@ -8,6 +7,7 @@ import { MatChipsModule } from '@angular/material/chips'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; +import { AccountService } from 'src/app/services/account.service'; @Component({ selector: 'app-entity-detail', diff --git a/src/app/components/index.ts b/src/app/components/index.ts deleted file mode 100644 index a8f0efd8..00000000 --- a/src/app/components/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -export { ActionbarComponent } from './actionbar/actionbar.component'; -export { AuthDialogComponent } from '../dialogs/auth-dialog/auth-dialog.component'; -export { CompilationDetailComponent } from './compilation-detail/compilation-detail.component'; -export { DetailEntityComponent } from './entity-detail/detail-entity/detail-entity.component'; -export { EntityDetailComponent } from './entity-detail/entity-detail.component'; -export { DetailInstitutionComponent } from './entity-detail/detail-institution/detail-institution.component'; -export { DetailPersonComponent } from './entity-detail/detail-person/detail-person.component'; -export { GridElementComponent } from './grid-element/grid-element.component'; -export { AddressComponent } from './metadata/address/address.component'; -export { SidenavListComponent } from './navigation/sidenav-list/sidenav-list.component'; -export { NavbarComponent } from './navigation/navbar/navbar.component'; -export { FooterComponent } from './navigation/footer/footer.component'; -export { UploadComponent } from './upload/upload.component'; -export { UploadedByComponent } from './uploaded-by/uploaded-by.component'; -export { NewsCardComponent } from './news-card/news-card.component'; diff --git a/src/app/components/language-dropdown/language-dropdown.component.ts b/src/app/components/language-dropdown/language-dropdown.component.ts index 0f3f3c60..05847a3d 100644 --- a/src/app/components/language-dropdown/language-dropdown.component.ts +++ b/src/app/components/language-dropdown/language-dropdown.component.ts @@ -1,8 +1,8 @@ import { Component, inject, OnInit, model } from '@angular/core'; import { createExtenderComponent } from '@kompakkt/plugins/extender'; import { KeyValuePipe } from '@angular/common'; -import { TranslateService } from 'src/app/services'; import { form, FormField, required } from '@angular/forms/signals'; +import { TranslateService } from 'src/app/services/translate.service'; @Component({ selector: 'app-language-dropdown', diff --git a/src/app/components/metadata/agents/agents.component.ts b/src/app/components/metadata/agents/agents.component.ts index c71fca97..cdc0bf4a 100644 --- a/src/app/components/metadata/agents/agents.component.ts +++ b/src/app/components/metadata/agents/agents.component.ts @@ -24,7 +24,6 @@ import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatTabChangeEvent, MatTabGroup, MatTabsModule } from '@angular/material/tabs'; import { TranslatePipe } from '../../../pipes/translate.pipe'; -import { AccountService, BackendService } from 'src/app/services'; import { AgentListComponent } from './agent-list/agent-list.component'; import { IAddress, @@ -65,6 +64,8 @@ import { PrettyPrintAddressPipe } from 'src/app/pipes/pretty-print-address.pipe' import { MostRecentContactRefPipe } from 'src/app/pipes/most-recent-contact-ref.pipe'; import { PrettyPrintContactRefPipe } from 'src/app/pipes/pretty-print-contact-ref.pipe'; import { DEFAULT_ROLES, emptyRoleEntry, formatRoleLabel, RoleEntry } from './shared'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; const withoutProps = (obj: T, ...props: K[]): Omit => { const copy = { ...obj }; diff --git a/src/app/components/metadata/agents/is-agent-self.pipe.ts b/src/app/components/metadata/agents/is-agent-self.pipe.ts index cc96a588..2329f9db 100644 --- a/src/app/components/metadata/agents/is-agent-self.pipe.ts +++ b/src/app/components/metadata/agents/is-agent-self.pipe.ts @@ -2,7 +2,7 @@ import { inject, Pipe, PipeTransform } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; import { IPersonResolved } from '@kompakkt/common'; import { getMostRecentContactRef } from 'src/app/metadata'; -import { AccountService } from 'src/app/services'; +import { AccountService } from 'src/app/services/account.service'; @Pipe({ name: 'isAgentSelf' }) export class IsAgentSelfPipe implements PipeTransform { diff --git a/src/app/components/metadata/general/general.component.ts b/src/app/components/metadata/general/general.component.ts index 41b806b6..27b9ab2b 100644 --- a/src/app/components/metadata/general/general.component.ts +++ b/src/app/components/metadata/general/general.component.ts @@ -19,12 +19,12 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { BackendService } from 'src/app/services'; import { OutlinedInputComponent } from '../../outlined-input/outlined-input.component'; import { form, FormField, required } from '@angular/forms/signals'; import { isDigitalEntity, isPhysicalEntity, ITag } from '@kompakkt/common'; import { AnyEntity, emptyTag } from 'src/app/metadata'; import { CombinedFormErrorsComponent } from '../../combined-form-errors/combined-form-errors.component'; +import { BackendService } from 'src/app/services/backend.service'; @Component({ selector: 'app-general', @@ -115,7 +115,7 @@ export class GeneralComponent implements OnInit { this.searchTagForm().value.set(''); } - public async selectTag(event: MatAutocompleteSelectedEvent) { + async selectTag(event: MatAutocompleteSelectedEvent) { const tagId = (event.option as MatOption).value; const tag = this.availableTags().find(t => t._id === tagId); if (!tag) return console.warn(`Could not find tag with id ${tagId}`); diff --git a/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts b/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts index 3cbb9743..84bbb4b8 100644 --- a/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts +++ b/src/app/components/metadata/optional/metadata-files/metadata-files.component.ts @@ -37,7 +37,7 @@ export class MetadataFilesComponent { input.click(); } - public async handleFileInput(fileInput: HTMLInputElement) { + async handleFileInput(fileInput: HTMLInputElement) { if (!fileInput.files) return alert('Failed getting files'); const files: File[] = Array.from(fileInput.files); diff --git a/src/app/components/navigation/navbar/navbar.component.html b/src/app/components/navigation/navbar/navbar.component.html index 07e98037..89e62f77 100644 --- a/src/app/components/navigation/navbar/navbar.component.html +++ b/src/app/components/navigation/navbar/navbar.component.html @@ -166,5 +166,3 @@ {{ 'Logout' | translate }} - - diff --git a/src/app/components/navigation/navbar/navbar.component.scss b/src/app/components/navigation/navbar/navbar.component.scss index 4d119165..2a5e9c96 100644 --- a/src/app/components/navigation/navbar/navbar.component.scss +++ b/src/app/components/navigation/navbar/navbar.component.scss @@ -183,20 +183,6 @@ div.profile-dropdown-button { font-weight: 500; } -#progress-bar { - // transition: opacity 280ms; - position: fixed; - z-index: 19; - pointer-events: none; - left: 0; - top: 0; - opacity: 0; - margin: 0; - &.loading { - opacity: 1; - } -} - .desktop { @include breakpoints.max-width(m) { display: none; diff --git a/src/app/components/navigation/navbar/navbar.component.ts b/src/app/components/navigation/navbar/navbar.component.ts index c8ffd03f..cee7af0c 100644 --- a/src/app/components/navigation/navbar/navbar.component.ts +++ b/src/app/components/navigation/navbar/navbar.component.ts @@ -1,19 +1,9 @@ import { AsyncPipe } from '@angular/common'; -import { - AfterViewInit, - Component, - computed, - inject, - input, - viewChild, - ChangeDetectionStrategy, -} from '@angular/core'; +import { Component, computed, inject, input, ChangeDetectionStrategy } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; -import { MatDialog } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { MatProgressBar, MatProgressBarModule } from '@angular/material/progress-bar'; import { MatToolbarModule } from '@angular/material/toolbar'; import { MatTooltipModule } from '@angular/material/tooltip'; import { Router, RouterLink, RouterLinkActive } from '@angular/router'; @@ -22,16 +12,8 @@ import { CustomBrandingPlugin } from '@kompakkt/plugins/custom-branding'; import { IsCompilationPipe } from 'src/app/pipes/is-compilation.pipe'; import { IsEntityPipe } from 'src/app/pipes/is-entity.pipe'; import { TruncatePipe } from 'src/app/pipes/truncate.pipe'; -import { - AccountService, - DialogHelperService, - EventsService, - ProgressBarService, - SelectHistoryService, -} from 'src/app/services'; import { SidenavService } from 'src/app/services/sidenav.service'; import { - Collection, ICompilation, IEntity, ProfileMemberRole, @@ -44,6 +26,9 @@ import { TranslatePipe } from '../../../pipes/translate.pipe'; import { SidenavListComponent } from '../sidenav-list/sidenav-list.component'; import { MatDividerModule } from '@angular/material/divider'; import { getServerUrl } from 'src/app/util/get-server-url'; +import { AccountService } from 'src/app/services/account.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { SelectHistoryService } from 'src/app/services/select-history.service'; const constructProfileImageUrl = ( profile: IPublicProfile | null | undefined, @@ -65,7 +50,6 @@ const constructProfileImageUrl = ( RouterLinkActive, MatButtonModule, MatIconModule, - MatProgressBarModule, AsyncPipe, TranslatePipe, MatTooltipModule, @@ -75,21 +59,17 @@ const constructProfileImageUrl = ( TruncatePipe, ], }) -export class NavbarComponent implements AfterViewInit { - public account = inject(AccountService); - private progress = inject(ProgressBarService); - private dialogHelper = inject(DialogHelperService); - public selectHistory = inject(SelectHistoryService); - private router = inject(Router); - private events = inject(EventsService); +export class NavbarComponent { + account = inject(AccountService); + #dialogHelper = inject(DialogHelperService); + selectHistory = inject(SelectHistoryService); + #router = inject(Router); element = input(); isEntity = computed(() => isEntity(this.element())); isCompilation = computed(() => isCompilation(this.element())); - progressBar = viewChild.required(MatProgressBar); - #customBrandingPlugin = inject(CustomBrandingPlugin.providerToken, { optional: true, }); @@ -125,47 +105,43 @@ export class NavbarComponent implements AfterViewInit { () => constructProfileImageUrl(this.currentProfile()) ?? '/assets/kompakkt-logo-cube.svg', ); - ngAfterViewInit() { - this.progress.setProgressBar(this.progressBar()); - } - public navigate(element: IEntity | ICompilation) { - return this.router.navigateByUrl( + return this.#router.navigateByUrl( `/${isEntity(element) ? 'entity' : 'compilation'}/${element._id}`, ); } public openEntityCreation(entity?: IEntity) { - return this.dialogHelper.editEntity(entity); + return this.#dialogHelper.editEntity(entity); } public logout() { - this.account.logout().then(() => this.router.navigate(['/'])); + this.account.logout().then(() => this.#router.navigate(['/'])); } #sidenavService = inject(SidenavService); - public async onToggleSidenav() { + async onToggleSidenav() { await this.#sidenavService.openWithResult(SidenavListComponent); } public openLoginDialog() { - this.dialogHelper.openLoginDialog(); + this.#dialogHelper.openLoginDialog(); } public openRegisterDialog() { - this.dialogHelper.openRegisterDialog(); + this.#dialogHelper.openRegisterDialog(); } public editProfile(profile?: IPublicProfile) { const isCreate = !profile; firstValueFrom( - this.dialogHelper + this.#dialogHelper .editProfile(profile ? profile : { type: ProfileType.organization }) .afterClosed(), ).then(createdProfile => { if (!isCreate || !createdProfile) return; this.account.switchToProfile(createdProfile); - this.router.navigateByUrl(`/profile/${createdProfile.type}/${createdProfile._id}`); + this.#router.navigateByUrl(`/profile/${createdProfile.type}/${createdProfile._id}`); }); } } diff --git a/src/app/components/navigation/sidenav-list/sidenav-list.component.ts b/src/app/components/navigation/sidenav-list/sidenav-list.component.ts index 104fceea..e0ee0e71 100644 --- a/src/app/components/navigation/sidenav-list/sidenav-list.component.ts +++ b/src/app/components/navigation/sidenav-list/sidenav-list.component.ts @@ -6,9 +6,10 @@ import { MatListModule } from '@angular/material/list'; import { MatProgressBarModule } from '@angular/material/progress-bar'; import { RouterModule } from '@angular/router'; import { ObservableValuePipe } from 'src/app/pipes/observable-value'; -import { AccountService, DialogHelperService } from 'src/app/services'; import { SidenavComponent, SidenavService } from 'src/app/services/sidenav.service'; import { TranslatePipe } from '../../../pipes/translate.pipe'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { AccountService } from 'src/app/services/account.service'; @Component({ selector: 'app-sidenav-list', diff --git a/src/app/components/selection/selection-container.component.ts b/src/app/components/selection/selection-container.component.ts index cb97dea8..dc0e4ddc 100644 --- a/src/app/components/selection/selection-container.component.ts +++ b/src/app/components/selection/selection-container.component.ts @@ -13,7 +13,7 @@ import { MatButtonModule } from '@angular/material/button'; }) export class SelectionContainerComponent { actionsTemplate = input.required>(); - public selectionService = inject(SelectionService); + selectionService = inject(SelectionService); public onMouseDown(event: MouseEvent) { this.selectionService.onMouseDown(event); diff --git a/src/app/components/selection/selection-tab/selection-tab.component.ts b/src/app/components/selection/selection-tab/selection-tab.component.ts index 13bf94a4..b23d8df3 100644 --- a/src/app/components/selection/selection-tab/selection-tab.component.ts +++ b/src/app/components/selection/selection-tab/selection-tab.component.ts @@ -5,8 +5,8 @@ import { MatIconModule } from '@angular/material/icon'; import { SelectionService } from 'src/app/services/selection.service'; import { TranslatePipe } from '../../../pipes/translate.pipe'; import { NgTemplateOutlet } from '@angular/common'; -import { AccountService } from 'src/app/services'; import { toSignal } from '@angular/core/rxjs-interop'; +import { AccountService } from 'src/app/services/account.service'; @Component({ selector: 'app-selection-tab', @@ -19,10 +19,8 @@ export class SelectionTab { actionsTemplate = input | null>(null); isCollections = input(false); - public selectionService = inject(SelectionService); - private account = inject(AccountService); + selectionService = inject(SelectionService); + #account = inject(AccountService); - public isAuthenticated = toSignal(this.account.isAuthenticated$); - - constructor() {} + public isAuthenticated = toSignal(this.#account.isAuthenticated$); } diff --git a/src/app/components/upload/upload.component.ts b/src/app/components/upload/upload.component.ts index 81c7e8b4..a54922c8 100644 --- a/src/app/components/upload/upload.component.ts +++ b/src/app/components/upload/upload.component.ts @@ -16,10 +16,11 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { MatTableModule } from '@angular/material/table'; import { MatTooltipModule } from '@angular/material/tooltip'; import { TruncatePipe } from 'src/app/pipes/truncate.pipe'; -import { BrowserSupportService, UploadHandlerService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { MatExpansionModule } from '@angular/material/expansion'; import { FilesizePipe } from 'src/app/pipes/filesize.pipe'; +import { UploadHandlerService } from 'src/app/services/upload-handler.service'; +import { BrowserSupportService } from 'src/app/services/browser-support.service'; @Component({ selector: 'app-upload', @@ -42,8 +43,8 @@ import { FilesizePipe } from 'src/app/pipes/filesize.pipe'; ], }) export class UploadComponent { - public uploadHandler = inject(UploadHandlerService); - public browserSupport = inject(BrowserSupportService); + uploadHandler = inject(UploadHandlerService); + browserSupport = inject(BrowserSupportService); uploadHints = viewChild('uploadHints'); @@ -118,7 +119,7 @@ export class UploadComponent { } } - public async handleDragDrop(event: DragEvent) { + async handleDragDrop(event: DragEvent) { const dropzone = event.currentTarget as HTMLElement; dropzone.classList.remove('dragover'); event.preventDefault(); @@ -161,7 +162,7 @@ export class UploadComponent { } } - return this.fileHandler(files); + return this.#fileHandler(files); } public handleFileInput(fileInput: HTMLInputElement) { @@ -174,10 +175,10 @@ export class UploadComponent { files.push(fileInput.files[i]); } fileInput.value = ''; - return this.fileHandler(files); + return this.#fileHandler(files); } - private async fileHandler(files: File[]) { + async #fileHandler(files: File[]) { const isEmpty = this.uploadHandler.isEmpty(); const reset = isEmpty || (await this.uploadHandler.resetQueue(true)); if (reset) this.uploadHandler.addMultipleToQueue(files); diff --git a/src/app/components/uploaded-by/uploaded-by.component.ts b/src/app/components/uploaded-by/uploaded-by.component.ts index e0bb7fee..439c7eac 100644 --- a/src/app/components/uploaded-by/uploaded-by.component.ts +++ b/src/app/components/uploaded-by/uploaded-by.component.ts @@ -17,7 +17,7 @@ import { } from '@kompakkt/common'; import { AnimatedImageDirective } from 'src/app/directives/animated-image.directive'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { BackendService } from 'src/app/services'; +import { BackendService } from 'src/app/services/backend.service'; import { getServerUrl } from 'src/app/util/get-server-url'; @Component({ diff --git a/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts b/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts index 18a6f694..b3e4cb9f 100644 --- a/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts +++ b/src/app/dialogs/add-to-compilation/add-to-compilation.component.ts @@ -10,12 +10,14 @@ import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlin import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { FilterArrayByStringPipe } from 'src/app/pipes/filter-array-by-string.pipe'; import { ObservableValuePipe } from 'src/app/pipes/observable-value'; -import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { ICompilation, IEntity } from '@kompakkt/common'; import { toObservable } from '@angular/core/rxjs-interop'; import { IsAnyEntityInCompilationPipe } from './is-any-entity-in-compilation.pipe'; import { PluralizePipe } from 'src/app/pipes/pluralize.pipe'; import { MatTooltipModule } from '@angular/material/tooltip'; +import { AccountService } from 'src/app/services/account.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { BackendService } from 'src/app/services/backend.service'; export type AddToCompilationResult = { hasSavedChanges: boolean; diff --git a/src/app/dialogs/auth-dialog/auth-dialog.component.ts b/src/app/dialogs/auth-dialog/auth-dialog.component.ts index d7851090..b6df673a 100644 --- a/src/app/dialogs/auth-dialog/auth-dialog.component.ts +++ b/src/app/dialogs/auth-dialog/auth-dialog.component.ts @@ -17,7 +17,6 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { ExtenderPluginManager } from '@kompakkt/plugins/extender'; -import { AccountService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { OutlinedInputComponent } from '../../components/outlined-input/outlined-input.component'; import { ExtenderSlotDirective } from '../../directives/extender-slot.directive'; @@ -26,6 +25,7 @@ import { getFormErrorMessages } from 'src/app/util/form-helpers'; import { ForgotUsernameDialogComponent } from '../forgot-username-dialog/forgot-username-dialog.component'; import { ForgotPasswordDialogComponent } from '../forgot-password-dialog/forgot-password-dialog.component'; import { RegisterDialogComponent } from '../register-dialog/register-dialog.component'; +import { AccountService } from 'src/app/services/account.service'; export type AuthDialogData = { concern?: string; @@ -71,7 +71,7 @@ export class AuthDialogComponent implements OnInit { }); authErrors = signal([]); - public async trySubmit() { + async trySubmit() { this.dialogRef.disableClose = true; const result = await submit(this.authForm, async field => { const userdata = await this.account.loginOrFetch(field().value()); diff --git a/src/app/dialogs/create-new-compilation/create-or-edit-compilation.component.ts b/src/app/dialogs/create-new-compilation/create-or-edit-compilation.component.ts index fa4dc786..39bbfd28 100644 --- a/src/app/dialogs/create-new-compilation/create-or-edit-compilation.component.ts +++ b/src/app/dialogs/create-new-compilation/create-or-edit-compilation.component.ts @@ -5,9 +5,10 @@ import { MatIconModule } from '@angular/material/icon'; import { firstValueFrom } from 'rxjs'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { AccountService, BackendService } from 'src/app/services'; import { ICompilation } from '@kompakkt/common'; import { form, FormField, minLength, required } from '@angular/forms/signals'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; @Component({ selector: 'app-create-or-edit-compilation', diff --git a/src/app/dialogs/create-new-entity/create-new-entity.component.ts b/src/app/dialogs/create-new-entity/create-new-entity.component.ts index 1fa86458..52f93ba3 100644 --- a/src/app/dialogs/create-new-entity/create-new-entity.component.ts +++ b/src/app/dialogs/create-new-entity/create-new-entity.component.ts @@ -21,7 +21,7 @@ import { MatTooltipModule } from '@angular/material/tooltip'; import { DomSanitizer } from '@angular/platform-browser'; import { Router } from '@angular/router'; import fscreen from 'fscreen'; -import { BehaviorSubject, empty, filter, firstValueFrom } from 'rxjs'; +import { filter, firstValueFrom } from 'rxjs'; import { AsyncPipe } from '@angular/common'; import { toObservable, toSignal } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; @@ -46,16 +46,8 @@ import ObjectID from 'bson-objectid'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { TabsComponent } from 'src/app/components/tabs/tabs.component'; import { Licences } from 'src/app/metadata/licences'; -import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { GetSketchfabPreviewPipe } from 'src/app/pipes/get-sketchfab-preview.pipe'; import { IsLastStepPipe } from 'src/app/pipes/is-last-step.pipe'; -import { - AccountService, - BackendService, - EventsService, - supportedFileFormats, - UploadHandlerService, -} from 'src/app/services'; import { getServerUrl } from 'src/app/util/get-server-url'; import { environment } from 'src/environment'; import { EntityComponent } from '../../components/metadata/entity/entity.component'; @@ -79,8 +71,15 @@ import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-er import { VisibilityAndAccessDialogComponent } from '../visibility-and-access-dialog/visibility-and-access-dialog.component'; import { ConfirmationDialogComponent } from '../confirmation-dialog/confirmation-dialog.component'; import { emptyDigitalEntity, isPhysicalEntityValid, validateDigitalEntity } from 'src/app/metadata'; -import { OverlayModule } from '@angular/cdk/overlay'; import { MatMenuModule } from '@angular/material/menu'; +import { + supportedFileFormats, + UploadHandlerService, +} from 'src/app/services/upload-handler.service'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { EventsService } from 'src/app/services/events.service'; +import { TranslatePipe } from 'src/app/pipes/translate.pipe'; const SECURE_REGEX = /^https:\/\//; @@ -146,13 +145,13 @@ const emptyEntity = ({ UploadComponent, EntityComponent, AsyncPipe, - TranslatePipe, IsLastStepPipe, VisibilityAndAccessDialogComponent, OutlinedInputComponent, GetSketchfabPreviewPipe, TabsComponent, CombinedFormErrorsComponent, + TranslatePipe, ], changeDetection: ChangeDetectionStrategy.Eager, host: { @@ -160,15 +159,14 @@ const emptyEntity = ({ }, }) export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestroy { - private translatePipe = inject(TranslatePipe); - public uploadHandler = inject(UploadHandlerService); - private account = inject(AccountService); - private backend = inject(BackendService); - private router = inject(Router); - private sanitizer = inject(DomSanitizer); - private events = inject(EventsService); - private dialog = inject(MatDialog); - public dialogRef = inject(MatDialogRef, { + uploadHandler = inject(UploadHandlerService); + #account = inject(AccountService); + #backend = inject(BackendService); + #router = inject(Router); + #sanitizer = inject(DomSanitizer); + #events = inject(EventsService); + #dialog = inject(MatDialog); + dialogRef = inject(MatDialogRef, { optional: true, }); public dialogData = inject(MAT_DIALOG_DATA, { @@ -241,7 +239,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro const url = `${environment.viewer_url}${ environment.viewer_url.endsWith('index.html') ? '' : '/' }?mode=upload&entity=${entity._id}`; - return this.sanitizer.bypassSecurityTrustResourceUrl(url); + return this.#sanitizer.bypassSecurityTrustResourceUrl(url); }); // While waiting for server responses, block further user interaction @@ -298,7 +296,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro if (!id || !token) return undefined; return { id, token }; }, - loader: ({ params }) => this.backend.getSketchfabModelDetails(params.id), + loader: ({ params }) => this.#backend.getSketchfabModelDetails(params.id), }); sketchfabModel = computed(() => { if (!this.sketchfabModelResource.hasValue()) return; @@ -315,8 +313,8 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro Licences = Licences; - #strippedUser = toSignal(this.account.strippedUser$); - #currentProfile = toSignal(this.account.currentProfile$); + #strippedUser = toSignal(this.#account.strippedUser$); + #currentProfile = toSignal(this.#account.currentProfile$); #creator = computed(() => { const strippedUser = this.#strippedUser(); const selectedProfile = this.#currentProfile(); @@ -339,11 +337,11 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro console.log('Sketchfab Model', model); }); - this.account.isAuthenticated$.subscribe(isAuthenticated => { + this.#account.isAuthenticated$.subscribe(isAuthenticated => { if (!isAuthenticated) this.dialogRef?.close('User is not authenticated'); }); - this.events.windowMessages$ + this.#events.windowMessages$ .pipe(filter(message => message?.data?.type === 'settings')) .subscribe(async ({ data }) => { if (!data.data || !('entityId' in data.data) || !('settings' in data.data)) return; @@ -414,7 +412,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro return this.uploadedFiles().length > 0 && this.uploadHandler.hasAllChecksums(); }); - isAuthenticated$ = this.account.isAuthenticated$; + isAuthenticated$ = this.#account.isAuthenticated$; canCancel = computed(() => { const isUploading = this.uploadHandler.isUploading(); @@ -539,7 +537,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro return !this.initialEntityFinished(); }); - public async uploadBaseEntity(stepper: MatStepper) { + async uploadBaseEntity(stepper: MatStepper) { const externalFile = this.externalFileControlForm().value(); const externalFileValid = this.externalFileControlForm().valid(); const uploadedFiles = this.uploadedFiles(); @@ -591,7 +589,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro }; } - const serverEntity = await this.backend + const serverEntity = await this.#backend .pushEntity(entity, { profileId: this.#currentProfile()?._id }) .then(res => res) .catch(err => { @@ -611,7 +609,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro stepper.next(); } - public async updateSettings() { + async updateSettings() { const serverEntity = this.serverEntity(); const settings = this.entitySettings(); if (!serverEntity) { @@ -623,7 +621,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro return; } - await this.backend + await this.#backend .pushEntity({ ...serverEntity, settings }) .then(result => { console.log('Updated settings:', result); @@ -633,7 +631,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro .catch(err => console.error(err)); } - public async updateDigitalEntity() { + async updateDigitalEntity() { const digitalEntity = this.digitalEntity(); const serverEntity = this.serverEntity(); const settings = this.entitySettings(); @@ -653,7 +651,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro finished: true, }; - await this.backend + await this.#backend .pushEntity({ ...updatedEntity, settings, @@ -680,7 +678,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro } } - public async tryFinish( + async tryFinish( stepper: MatStepper, visibilityDialogComponent: VisibilityAndAccessDialogComponent, ) { @@ -706,7 +704,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro digitalEntity.phyObjs = digitalEntity.phyObjs.filter(obj => isPhysicalEntityValid(obj)); - const serverEntityResult = await this.backend + const serverEntityResult = await this.#backend .pushDigitalEntity(digitalEntity) .then(result => { console.log('Got DigitalEntity from server:', result); @@ -754,7 +752,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro console.log('Saving entity to server:', entity); return entity; }) - .then(entity => this.backend.pushEntity(entity)) + .then(entity => this.#backend.pushEntity(entity)) .then(result => { console.log('Saved entity to server', result); return result; @@ -777,7 +775,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro } // Refresh account data - await this.account.loginOrFetch(); + await this.#account.loginOrFetch(); this.navigateToFinishedEntity(); } else { @@ -789,7 +787,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro public navigateToFinishedEntity() { const serverEntity = this.serverEntity(); if (!serverEntity) return; - this.router + this.#router .navigate([`/entity/${serverEntity._id}`], { onSameUrlNavigation: 'reload', }) @@ -808,7 +806,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro event.selectedStep.interacted = true; } - public async closeWindow() { + async closeWindow() { if (await this.confirmClose()) { this.dialogRef?.close(); } @@ -818,7 +816,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro const stateString = this.serverEntity() ? 'metadata editor' : 'upload'; return firstValueFrom( - this.dialog + this.#dialog .open(ConfirmationDialogComponent, { data: { title: `Close ${stateString}`, @@ -829,7 +827,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro ); } - public async importSketchfabModel(stepper: MatStepper) { + async importSketchfabModel(stepper: MatStepper) { if (this.isImportingSketchfab()) return; this.isImportingSketchfab.set(true); const { token, url } = this.sketchfabForm().value(); @@ -841,7 +839,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro return; } const mediaType = 'model'; - const sketchfabFile = await this.backend.downloadAndPrepareSketchfabModel( + const sketchfabFile = await this.#backend.downloadAndPrepareSketchfabModel( token, selectedModel.uid, ); @@ -885,7 +883,7 @@ export class CreateNewEntityComponent implements AfterViewInit, OnInit, OnDestro low: sketchfabFile.file_link, }; - const serverEntity = await this.backend + const serverEntity = await this.#backend .pushEntity(entity, { profileId: this.#currentProfile()?._id }) .then(res => res) .catch(err => { diff --git a/src/app/dialogs/embed-object-dialog/embed-object-dialog.component.ts b/src/app/dialogs/embed-object-dialog/embed-object-dialog.component.ts index d64b765c..5bc260d1 100644 --- a/src/app/dialogs/embed-object-dialog/embed-object-dialog.component.ts +++ b/src/app/dialogs/embed-object-dialog/embed-object-dialog.component.ts @@ -1,13 +1,12 @@ import { Component, computed, inject, ChangeDetectionStrategy } from '@angular/core'; - import { MatButtonModule } from '@angular/material/button'; import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; - import { TranslatePipe } from '../../pipes/translate.pipe'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { ICompilation, IEntity, isCompilation, isDigitalEntity } from '@kompakkt/common'; -import { DetailPageHelperService, SnackbarService } from 'src/app/services'; +import { SnackbarService } from 'src/app/services/snackbar.service'; +import { DetailPageHelperService } from 'src/app/services/detail-page-helper.service'; @Component({ selector: 'app-embed-object-dialog', diff --git a/src/app/dialogs/entity-download-dialog/entity-download-dialog.component.ts b/src/app/dialogs/entity-download-dialog/entity-download-dialog.component.ts index 2849c579..b94819fb 100644 --- a/src/app/dialogs/entity-download-dialog/entity-download-dialog.component.ts +++ b/src/app/dialogs/entity-download-dialog/entity-download-dialog.component.ts @@ -4,12 +4,12 @@ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { catchError } from 'rxjs'; import { Licences } from 'src/app/metadata/licences'; -import { SnackbarService } from 'src/app/services'; import { BackendService, IDownloadOptions } from 'src/app/services/backend.service'; import { getServerUrl } from 'src/app/util/get-server-url'; import { IEntity, isDigitalEntity } from '@kompakkt/common'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { FilesizePipe } from 'src/app/pipes/filesize.pipe'; +import { SnackbarService } from 'src/app/services/snackbar.service'; @Component({ selector: 'app-entity-download-dialog', diff --git a/src/app/dialogs/forgot-password-dialog/forgot-password-dialog.component.ts b/src/app/dialogs/forgot-password-dialog/forgot-password-dialog.component.ts index 54be94ea..61e5330f 100644 --- a/src/app/dialogs/forgot-password-dialog/forgot-password-dialog.component.ts +++ b/src/app/dialogs/forgot-password-dialog/forgot-password-dialog.component.ts @@ -1,13 +1,14 @@ import { Component, inject, model } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { HttpErrorResponse } from '@angular/common/http'; -import { BackendService, SnackbarService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { form, FormField, required, submit } from '@angular/forms/signals'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; +import { BackendService } from 'src/app/services/backend.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; @Component({ selector: 'app-forgot-password-dialog', diff --git a/src/app/dialogs/forgot-username-dialog/forgot-username-dialog.component.ts b/src/app/dialogs/forgot-username-dialog/forgot-username-dialog.component.ts index 9e318cc5..8bd4a487 100644 --- a/src/app/dialogs/forgot-username-dialog/forgot-username-dialog.component.ts +++ b/src/app/dialogs/forgot-username-dialog/forgot-username-dialog.component.ts @@ -1,13 +1,14 @@ import { Component, inject, model } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { HttpErrorResponse } from '@angular/common/http'; -import { BackendService, SnackbarService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { form, FormField, required, submit } from '@angular/forms/signals'; import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; +import { BackendService } from 'src/app/services/backend.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; @Component({ selector: 'app-forgot-username-dialog', diff --git a/src/app/dialogs/manage-ownership/manage-ownership.component.ts b/src/app/dialogs/manage-ownership/manage-ownership.component.ts index e03aceb9..a59d6017 100644 --- a/src/app/dialogs/manage-ownership/manage-ownership.component.ts +++ b/src/app/dialogs/manage-ownership/manage-ownership.component.ts @@ -10,12 +10,6 @@ import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatSelectModule } from '@angular/material/select'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { - AccountService, - BackendService, - DialogHelperService, - SnackbarService, -} from 'src/app/services'; import { Collection, EntityAccessRole, @@ -29,6 +23,10 @@ import { TranslatePipe } from '../../pipes/translate.pipe'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { getServerUrl } from 'src/app/util/get-server-url'; import { form, FormField } from '@angular/forms/signals'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; @Component({ selector: 'app-manage-ownership', @@ -119,7 +117,7 @@ export class ManageOwnershipComponent { ]; }); - public async profileSelected(event: MatAutocompleteSelectedEvent) { + async profileSelected(event: MatAutocompleteSelectedEvent) { this.searchForm().value.set(''); const profile = event.option.value as IPublicProfile; this.targetProfile.set(profile); @@ -150,7 +148,7 @@ export class ManageOwnershipComponent { this.targetUserId.set(undefined); } - public async transferOwnership() { + async transferOwnership() { const data = this.data(); const targetProfile = this.targetProfile(); const targetUserId = this.targetUserId(); diff --git a/src/app/dialogs/news-dialog/news-dialog.component.ts b/src/app/dialogs/news-dialog/news-dialog.component.ts index 7709c8d8..b4b1ac4e 100644 --- a/src/app/dialogs/news-dialog/news-dialog.component.ts +++ b/src/app/dialogs/news-dialog/news-dialog.component.ts @@ -18,7 +18,6 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { MatTooltipModule } from '@angular/material/tooltip'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { BackendService } from 'src/app/services'; import { NewsCardComponent } from 'src/app/components/news-card/news-card.component'; import type { INewsItem } from '@kompakkt/common'; import { @@ -32,6 +31,7 @@ import { } from '@angular/forms/signals'; import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; +import { BackendService } from 'src/app/services/backend.service'; @Component({ selector: 'app-news-dialog', diff --git a/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts b/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts index f3864a69..52b106ca 100644 --- a/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts +++ b/src/app/dialogs/profile-page-edit/profile-page-edit.component.ts @@ -15,7 +15,6 @@ import { MatSelectModule } from '@angular/material/select'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { AnimatedImageDirective } from 'src/app/directives/animated-image.directive'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { AccountService } from 'src/app/services'; import { BackendService } from 'src/app/services/backend.service'; import { getServerUrl } from 'src/app/util/get-server-url'; import { @@ -25,6 +24,7 @@ import { ProfileType, } from '@kompakkt/common'; import { form, FormField, maxLength, required, submit } from '@angular/forms/signals'; +import { AccountService } from 'src/app/services/account.service'; type MemberRow = { userId: string; @@ -172,7 +172,7 @@ export class ProfilePageEditComponent { } } - public async updateMemberRole(role: ProfileMemberRole, member: MemberRow) { + async updateMemberRole(role: ProfileMemberRole, member: MemberRow) { if (!this.profileId) return; try { await this.backend.updateOrganizationMemberRole(this.profileId, member.userId, { role }); @@ -182,7 +182,7 @@ export class ProfilePageEditComponent { } } - public async removeMember(member: MemberRow) { + async removeMember(member: MemberRow) { if (!this.profileId) return; try { await this.backend.removeOrganizationMember(this.profileId, member.userId); diff --git a/src/app/dialogs/register-dialog/register-dialog.component.ts b/src/app/dialogs/register-dialog/register-dialog.component.ts index bd94b5d9..d0ce5610 100644 --- a/src/app/dialogs/register-dialog/register-dialog.component.ts +++ b/src/app/dialogs/register-dialog/register-dialog.component.ts @@ -1,13 +1,14 @@ import { Component, ChangeDetectionStrategy, model, inject, effect } from '@angular/core'; import { MatDialogRef, MatDialog } from '@angular/material/dialog'; import { AuthDialogComponent } from 'src/app/dialogs/auth-dialog/auth-dialog.component'; -import { AccountService, BackendService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { email, form, FormField, required, submit, validateTree } from '@angular/forms/signals'; import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; @Component({ selector: 'app-register-dialog', diff --git a/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts b/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts index e8771cd3..1aec950c 100644 --- a/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts +++ b/src/app/dialogs/remove-from-compilation/remove-from-compilation.component.ts @@ -8,17 +8,14 @@ import { } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; -import { - MAT_DIALOG_DATA, - MatDialog, - MatDialogModule, - MatDialogRef, -} from '@angular/material/dialog'; +import { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; -import { GridElementComponent } from 'src/app/components'; +import { GridElementComponent } from 'src/app/components/grid-element/grid-element.component'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { BackendService, DialogHelperService, SnackbarService } from 'src/app/services'; +import { BackendService } from 'src/app/services/backend.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; export type RemoveFromCompilationResult = { hasSavedChanges: boolean; @@ -40,7 +37,6 @@ export type RemoveFromCompilationResult = { styleUrl: './remove-from-compilation.component.scss', }) export class RemoveFromCompilationComponent implements AfterViewInit { - #dialog = inject(MatDialog); #helper = inject(DialogHelperService); #dialogRef = inject>(MatDialogRef); diff --git a/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts b/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts index 9032dd1e..6c0b68f5 100644 --- a/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts +++ b/src/app/dialogs/reset-password-dialog/reset-password-dialog.component.ts @@ -2,11 +2,12 @@ import { HttpErrorResponse } from '@angular/common/http'; import { Component, inject, model } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { MatButtonModule } from '@angular/material/button'; -import { BackendService, SnackbarService } from 'src/app/services'; import { TranslatePipe } from '../../pipes/translate.pipe'; import { OutlinedInputComponent } from 'src/app/components/outlined-input/outlined-input.component'; import { CombinedFormErrorsComponent } from 'src/app/components/combined-form-errors/combined-form-errors.component'; import { form, FormField, required, submit, validateTree } from '@angular/forms/signals'; +import { BackendService } from 'src/app/services/backend.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; @Component({ selector: 'app-reset-password-dialog', diff --git a/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts b/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts index 81e42a5f..79200f29 100644 --- a/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts +++ b/src/app/dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component.ts @@ -14,7 +14,6 @@ import { MatSelectChange, MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { Collection, EntityAccessRole, @@ -31,6 +30,9 @@ import { toObservable } from '@angular/core/rxjs-interop'; import { ExtenderSlotDirective } from 'src/app/directives/extender-slot.directive'; import { PermissionService } from 'src/app/services/permissions.service'; import { form, FormField } from '@angular/forms/signals'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; export type ChangedVisibilitySettings = Pick; @@ -223,12 +225,12 @@ export class VisibilityAndAccessDialogComponent { public published = signal(false); public download = signal(false); - public async togglePublished(checked: boolean) { + async togglePublished(checked: boolean) { if (!this.data) return; this.published.set(checked); } - public async toggleDownload(checked: boolean) { + async toggleDownload(checked: boolean) { if (!this.data) return; this.download.set(checked); } @@ -277,7 +279,7 @@ export class VisibilityAndAccessDialogComponent { console.log('After adding user', this.data()); } - public async updateUserRole(role: MatSelectChange, userId: string) { + async updateUserRole(role: MatSelectChange, userId: string) { const accounts = await this.#backend.getAccounts(); const user = accounts.find(user => user._id === userId); if (!user) { @@ -326,7 +328,7 @@ export class VisibilityAndAccessDialogComponent { this.#dialogRef?.close(false); } - public async save() { + async save() { if (this.data()) { const loginData = await this.#helper.verifyAuthentication('Validate login before saving'); if (!loginData) return; diff --git a/src/app/guards/authenticated.guard.ts b/src/app/guards/authenticated.guard.ts deleted file mode 100644 index 139bf077..00000000 --- a/src/app/guards/authenticated.guard.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { inject, Injectable } from '@angular/core'; -import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; -import { AccountService } from 'src/app/services'; - -@Injectable({ providedIn: 'root' }) -export class AuthenticatedGuard { - #account = inject(AccountService); - - canActivate(_: ActivatedRouteSnapshot, __: RouterStateSnapshot) { - return this.#account.isAuthenticated$; - } -} diff --git a/src/app/guards/index.ts b/src/app/guards/index.ts deleted file mode 100644 index e850b759..00000000 --- a/src/app/guards/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { AuthenticatedGuard } from './authenticated.guard'; diff --git a/src/app/pages/admin-page/admin-page.component.ts b/src/app/pages/admin-page/admin-page.component.ts index 751fbe9a..6ac24f7d 100644 --- a/src/app/pages/admin-page/admin-page.component.ts +++ b/src/app/pages/admin-page/admin-page.component.ts @@ -23,8 +23,6 @@ import { MatSort, MatSortModule } from '@angular/material/sort'; import { MatTableDataSource, MatTableModule } from '@angular/material/table'; import { MatTabsModule } from '@angular/material/tabs'; import { Meta, Title } from '@angular/platform-browser'; -import { GridElementComponent } from 'src/app/components'; -import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { areDocumentsEqual, IDocument, @@ -44,6 +42,10 @@ import { scrollToMainContent } from 'src/app/util/scroll-to-main-content'; import { RedirectCommand, ResourceContext, ResourceResult, Router } from '@angular/router'; import { AuthDialogResult } from 'src/app/dialogs/auth-dialog/auth-dialog.component'; import { MatDatepickerModule } from '@angular/material/datepicker'; +import { GridElementComponent } from 'src/app/components/grid-element/grid-element.component'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; const getTimestampFromObjectId = (objectId: string) => { return new Date(parseInt(objectId.substring(0, 8), 16) * 1000); diff --git a/src/app/pages/annotate/annotate.component.ts b/src/app/pages/annotate/annotate.component.ts index 92712104..a77f35b9 100644 --- a/src/app/pages/annotate/annotate.component.ts +++ b/src/app/pages/annotate/annotate.component.ts @@ -13,14 +13,16 @@ import { SafePipe } from '../../pipes/safe.pipe'; import { toSignal } from '@angular/core/rxjs-interop'; import { getViewerUrl } from 'src/app/util/get-viewer-url'; import { ActionbarComponent } from '../../components/actionbar/actionbar.component'; -import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { filter, map, shareReplay, switchMap } from 'rxjs'; import { AsyncPipe } from '@angular/common'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; -import { GridElementComponent } from 'src/app/components'; import { MatProgressBarModule } from '@angular/material/progress-bar'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; +import { GridElementComponent } from 'src/app/components/grid-element/grid-element.component'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; @Component({ selector: 'app-annotate', diff --git a/src/app/pages/detail-page/detail-page.component.ts b/src/app/pages/detail-page/detail-page.component.ts index 8348211c..1bc31426 100644 --- a/src/app/pages/detail-page/detail-page.component.ts +++ b/src/app/pages/detail-page/detail-page.component.ts @@ -12,15 +12,7 @@ import { Meta, Title } from '@angular/platform-browser'; import { ActivatedRoute, Data, NavigationEnd, Params, Router } from '@angular/router'; import { of, combineLatest } from 'rxjs'; import { filter, map, shareReplay, switchMap, tap } from 'rxjs/operators'; - -import { - AccountService, - BackendService, - DialogHelperService, - SelectHistoryService, -} from 'src/app/services'; import { environment } from 'src/environment'; - import { Collection, ICompilation, @@ -39,7 +31,6 @@ import { toSignal } from '@angular/core/rxjs-interop'; import { IsEntityPipe } from 'src/app/pipes/is-entity.pipe'; import { IsCompilationPipe } from 'src/app/pipes/is-compilation.pipe'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { GridElementComponent } from 'src/app/components'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { inject } from '@angular/core'; @@ -47,6 +38,10 @@ import { ViewContainerRef } from '@angular/core'; import { effect } from '@angular/core'; import { OnDestroy } from '@angular/core'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; +import { BackendService } from 'src/app/services/backend.service'; +import { SelectHistoryService } from 'src/app/services/select-history.service'; +import { AccountService } from 'src/app/services/account.service'; +import { GridElementComponent } from 'src/app/components/grid-element/grid-element.component'; type DataWithType = { type: 'entity' | 'compilation'; @@ -89,13 +84,21 @@ const isParamsWithId = (params: Params): params is ParamsWithId => { }, }) export class DetailPageComponent implements AfterViewInit, OnDestroy { + #route = inject(ActivatedRoute); + #router = inject(Router); + #backend = inject(BackendService); + #selectHistory = inject(SelectHistoryService); + #titleService = inject(Title); + #metaService = inject(Meta); + #account = inject(AccountService); + private baseURL = `${environment.viewer_url}`; isLoading = signal(true); #routeInfo$ = combineLatest([ - this.router.events.pipe(filter(event => event instanceof NavigationEnd)), - this.route.params, - this.route.data, + this.#router.events.pipe(filter(event => event instanceof NavigationEnd)), + this.#route.params, + this.#route.data, ]).pipe( map(([_, params, data]) => { if (!isParamsWithId(params) || !isDataWithType(data)) { @@ -112,7 +115,7 @@ export class DetailPageComponent implements AfterViewInit, OnDestroy { element$ = combineLatest([ this.#routeInfo$, - this.account.updateTrigger$.pipe( + this.#account.updateTrigger$.pipe( filter( trigger => trigger === 'all' || trigger === Collection.entity || trigger === Collection.compilation, @@ -131,9 +134,9 @@ export class DetailPageComponent implements AfterViewInit, OnDestroy { } if (data.type === 'entity') { - return this.fetchEntity(params.id); + return this.#fetchEntity(params.id); } else { - return this.fetchCompilation(params.id); + return this.#fetchCompilation(params.id); } }), tap(() => this.isLoading.set(false)), @@ -183,7 +186,7 @@ export class DetailPageComponent implements AfterViewInit, OnDestroy { #usedInCompilations$ = this.element$.pipe( filter(isEntity), - switchMap(entity => this.backend.countEntityUses(entity._id)), + switchMap(entity => this.#backend.countEntityUses(entity._id)), ); usedInCompilations = toSignal(this.#usedInCompilations$); @@ -212,30 +215,23 @@ export class DetailPageComponent implements AfterViewInit, OnDestroy { } constructor( - private route: ActivatedRoute, - private router: Router, - private backend: BackendService, - private selectHistory: SelectHistoryService, - private titleService: Title, - private metaService: Meta, - private dialog: DialogHelperService, - private account: AccountService, + ) { this.element$.subscribe(element => { if (!element) return; - return this.updatePageMetadata(element); + return this.#updatePageMetadata(element); }); } - private async fetchEntity(id: string) { - const entity = await this.backend.getEntity(id); + async #fetchEntity(id: string) { + const entity = await this.#backend.getEntity(id); if (!entity || !isEntity(entity)) return console.error('Failed getting entity'); console.log('Fetched entity', entity); return entity; } - private async fetchCompilation(id: string) { - const compilation = await this.backend.getCompilation(id); + async #fetchCompilation(id: string) { + const compilation = await this.#backend.getCompilation(id); if (!compilation || !isCompilation(compilation)) { console.error('Failed getting compilation'); return; @@ -244,8 +240,8 @@ export class DetailPageComponent implements AfterViewInit, OnDestroy { } } - private async updatePageMetadata(element: IEntity | ICompilation) { - this.titleService.setTitle(`Kompakkt – ${element.name}`); + async #updatePageMetadata(element: IEntity | ICompilation) { + this.#titleService.setTitle(`Kompakkt – ${element.name}`); const description = isEntity(element) && isDigitalEntity(element.relatedDigitalEntity) @@ -254,12 +250,12 @@ export class DetailPageComponent implements AfterViewInit, OnDestroy { ? element.description : ''; - this.metaService.updateTag({ + this.#metaService.updateTag({ name: 'description', content: description, }); - await this.selectHistory.select(element); + await this.#selectHistory.select(element); } scrollToElementBottom(el: HTMLDivElement) { diff --git a/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts b/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts index 72677ade..e45d99fd 100644 --- a/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts +++ b/src/app/pages/explore/explore-filter-sidenav/explore-filter-sidenav.component.ts @@ -27,8 +27,8 @@ import { SortByOptions, } from '../shared-types'; import { MatDividerModule } from '@angular/material/divider'; -import { AccountService } from 'src/app/services'; import { toSignal } from '@angular/core/rxjs-interop'; +import { AccountService } from 'src/app/services/account.service'; export type ExploreFilterSidenavData = { options: ExploreFilterOption[]; diff --git a/src/app/pages/explore/explore.component.ts b/src/app/pages/explore/explore.component.ts index 8f7b126d..f9884309 100644 --- a/src/app/pages/explore/explore.component.ts +++ b/src/app/pages/explore/explore.component.ts @@ -12,7 +12,6 @@ import { } from '@angular/core'; import { Meta, Title } from '@angular/platform-browser'; import { NavigationEnd, Router, RouterModule } from '@angular/router'; - import { toObservable, toSignal } from '@angular/core/rxjs-interop'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatButtonModule } from '@angular/material/button'; @@ -36,13 +35,6 @@ import { SearchBarComponent } from 'src/app/components/search-bar/search-bar.com import { TabsComponent } from 'src/app/components/tabs/tabs.component'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { MathPipe } from 'src/app/pipes/math.pipe'; -import { - AccountService, - BackendService, - DialogHelperService, - EventsService, - SnackbarService, -} from 'src/app/services'; import { SidenavService } from 'src/app/services/sidenav.service'; import { ICompilation, IEntity, IPublicProfile, isCompilation, isEntity } from '@kompakkt/common'; import { GridElementComponent } from '../../components/grid-element/grid-element.component'; @@ -68,6 +60,11 @@ import { IsEntityPipe } from 'src/app/pipes/is-entity.pipe'; import { ExploreRequestBody } from 'src/app/services/types/backend-types'; import { scrollToMainContent } from 'src/app/util/scroll-to-main-content'; import { getServerUrl } from 'src/app/util/get-server-url'; +import { SnackbarService } from 'src/app/services/snackbar.service'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { EventsService } from 'src/app/services/events.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; type Pagination = { pageCount: number; @@ -117,6 +114,13 @@ export class ExploreComponent implements OnInit { #sidenavOptionsService = inject(ExploreFilterSidenavOptionsService); #rootSelectionService = inject(SelectionService); #snackbar = inject(SnackbarService); + #account = inject(AccountService); + #backend = inject(BackendService); + #events = inject(EventsService); + #dialogHelper = inject(DialogHelperService); + #titleService = inject(Title); + #metaService = inject(Meta); + #router = inject(Router); gridItems = viewChildren('gridItem'); @@ -244,17 +248,9 @@ export class ExploreComponent implements OnInit { shareReplay(1), ); - constructor( - private account: AccountService, - private backend: BackendService, - private events: EventsService, - private dialogHelper: DialogHelperService, - private titleService: Title, - private metaService: Meta, - private router: Router, - ) { + constructor() { // This prevents resetting filters when page is first loaded **with** URL parameters, but allows for resetting filters when clicking on navigation - this.router.events + this.#router.events .pipe( filter((event): event is NavigationEnd => event instanceof NavigationEnd), skip(2), @@ -272,7 +268,7 @@ export class ExploreComponent implements OnInit { }); }); - this.events.windowMessages$.subscribe(message => { + this.#events.windowMessages$.subscribe(message => { if (message.data.type === 'updateSearch') { this.updateFilter(); } @@ -302,7 +298,7 @@ export class ExploreComponent implements OnInit { collections: 'compilation', }[category]; if (!mappedName) return; - this.backend + this.#backend .getPopularExploreSeachTerms(mappedName) .then(terms => { this.popularSearches.set(terms.sort((a, b) => a[1] - b[1]).map(t => t[0])); @@ -325,17 +321,17 @@ export class ExploreComponent implements OnInit { }); } - isAuthenticated = toSignal(this.account.isAuthenticated$); + isAuthenticated = toSignal(this.#account.isAuthenticated$); - userCompilations$ = this.account.compilations$.pipe( + userCompilations$ = this.#account.compilations$.pipe( map(compilations => compilations.filter(isCompilation)), ); userCompilations = toSignal( - this.account.compilations$.pipe(map(compilations => compilations.filter(isCompilation))), + this.#account.compilations$.pipe(map(compilations => compilations.filter(isCompilation))), ); - public async quickAddToCompilation(entity?: IEntity) { + async quickAddToCompilation(entity?: IEntity) { const selectedEntities = (() => { if (entity) return [entity]; const selection = this.selectionService().selectedElements(); @@ -348,7 +344,7 @@ export class ExploreComponent implements OnInit { return; } - this.dialogHelper + this.#dialogHelper .addToCompilation(selectedEntities) .afterClosed() .subscribe(result => { @@ -402,7 +398,7 @@ export class ExploreComponent implements OnInit { } satisfies ExploreRequestBody; this.isWaitingForExploreResult.set(true); - this.backend + this.#backend .explore(query) .then(response => { if (response.requestTime < this.lastRequestTime) return; @@ -443,7 +439,7 @@ export class ExploreComponent implements OnInit { public updateProfileResults() { this.isWaitingForExploreResult.set(true); this.filteredResults = []; - this.backend + this.#backend .searchProfiles(this.searchText().trim()) .then(profiles => this.profileResults.set(profiles ?? [])) .catch(e => console.error(e)) @@ -474,7 +470,7 @@ export class ExploreComponent implements OnInit { scrollToMainContent(); } - public async openFilterSidenav() { + async openFilterSidenav() { if (this.#sidenavService.state().opened) return; const result = await this.#sidenavService.openWithResult< ExploreFilterOption[], @@ -569,7 +565,7 @@ export class ExploreComponent implements OnInit { } ngOnInit() { - this.titleService.setTitle(this.metaTitle); - this.metaService.addTags(this.metaTags); + this.#titleService.setTitle(this.metaTitle); + this.#metaService.addTags(this.metaTags); } } diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index fb1c2d5c..092bcdcf 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -15,15 +15,13 @@ import { CustomBrandingPlugin } from '@kompakkt/plugins/custom-branding'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; import { getViewerUrl } from 'src/app/util/get-viewer-url'; import { SafePipe } from '../../pipes/safe.pipe'; -import { - AccountService, - BackendService, - DialogHelperService, - EventsService, -} from 'src/app/services'; import { filter, firstValueFrom } from 'rxjs'; import { NewsCardComponent } from 'src/app/components/news-card/news-card.component'; import type { INewsItem } from '@kompakkt/common'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { EventsService } from 'src/app/services/events.service'; @Component({ selector: 'app-home', @@ -33,6 +31,15 @@ import type { INewsItem } from '@kompakkt/common'; imports: [RouterLink, MatIconModule, MatButtonModule, SafePipe, TranslatePipe, NewsCardComponent], }) export class HomeComponent implements AfterViewInit { + #account = inject(AccountService); + #backend = inject(BackendService); + #dialogHelper = inject(DialogHelperService); + #translatePipe = inject(TranslatePipe); + #titleService = inject(Title); + #metaService = inject(Meta); + #eventsService = inject(EventsService); + + private metaTitle = 'Kompakkt – '; private metaTags = [ { @@ -67,10 +74,6 @@ export class HomeComponent implements AfterViewInit { return settings?.base64Assets?.explorePageLogo; }); - #account = inject(AccountService); - #backend = inject(BackendService); - #dialogHelper = inject(DialogHelperService); - newsItems = signal([]); showUnpublishedNews = signal(false); visibleNewsItems = computed(() => @@ -78,7 +81,7 @@ export class HomeComponent implements AfterViewInit { ); canModifyNews = signal(false); - settingsLoadedEvent$ = this.eventsService.windowMessages$.pipe( + settingsLoadedEvent$ = this.#eventsService.windowMessages$.pipe( filter(event => event.data.type === 'settingsLoaded'), ); @@ -87,10 +90,7 @@ export class HomeComponent implements AfterViewInit { } constructor( - private translatePipe: TranslatePipe, - private titleService: Title, - private metaService: Meta, - private eventsService: EventsService, + ) { // Show viewer after we get a signal from the viewer that settings have been loaded void firstValueFrom(this.settingsLoadedEvent$).then(() => { @@ -99,14 +99,14 @@ export class HomeComponent implements AfterViewInit { }, 100); }); - this.loadNews(); + void this.#loadNews(); this.#account.flags.canModifyNews$.subscribe(hasFlag => { this.canModifyNews.set(hasFlag); }); } - private async loadNews() { + async #loadNews() { try { const items = await this.#backend.getNews(); this.newsItems.set(items as unknown as INewsItem[]); @@ -117,15 +117,15 @@ export class HomeComponent implements AfterViewInit { openCreateNewsDialog() { const ref = this.#dialogHelper.openCreateNewsDialog(); - firstValueFrom(ref.afterClosed()).then(result => { - if (result) this.loadNews(); + void firstValueFrom(ref.afterClosed()).then(result => { + if (result) void this.#loadNews(); }); } openEditNewsDialog(item: INewsItem) { const ref = this.#dialogHelper.openEditNewsDialog(item); - firstValueFrom(ref.afterClosed()).then(result => { - if (result) this.loadNews(); + void firstValueFrom(ref.afterClosed()).then(result => { + if (result) void this.#loadNews(); }); } @@ -138,7 +138,7 @@ export class HomeComponent implements AfterViewInit { try { await this.#backend.deleteNews(item._id.toString()); - this.loadNews(); + void this.#loadNews(); } catch (err) { console.error('Failed to delete news item:', err); } @@ -152,10 +152,10 @@ export class HomeComponent implements AfterViewInit { } ngAfterViewInit() { - this.titleService.setTitle( - this.metaTitle + this.translatePipe.transform('\u2019cause the world is multidimensional.'), + this.#titleService.setTitle( + this.metaTitle + this.#translatePipe.transform('\u2019cause the world is multidimensional.'), ); - this.metaService.addTags(this.metaTags); + this.#metaService.addTags(this.metaTags); const url = new URL(getViewerUrl()); url.searchParams.set('transparent', 'true'); diff --git a/src/app/pages/profile-page/compilations/compilations.component.ts b/src/app/pages/profile-page/compilations/compilations.component.ts index f0615e87..311deb14 100644 --- a/src/app/pages/profile-page/compilations/compilations.component.ts +++ b/src/app/pages/profile-page/compilations/compilations.component.ts @@ -33,12 +33,6 @@ import { import { SelectionContainerComponent } from 'src/app/components/selection/selection-container.component'; import { ManageOwnershipComponent } from 'src/app/dialogs/manage-ownership/manage-ownership.component'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { - AccountService, - BackendService, - DialogHelperService, - SnackbarService, -} from 'src/app/services'; import { SelectionService } from 'src/app/services/selection.service'; import { Collection, ICompilation, isCompilation } from '@kompakkt/common'; import { MatCheckboxModule } from '@angular/material/checkbox'; @@ -51,6 +45,10 @@ import { } from '../../explore/shared-types'; import { ExploreFilterSidenavOptionsService } from '../../explore/explore-filter-sidenav/explore-filter-sidenav.component'; import { PermissionService } from 'src/app/services/permissions.service'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; @Component({ selector: 'app-profile-compilations', @@ -82,7 +80,7 @@ export class ProfileCompilationsComponent implements AfterViewInit { #rootSelectionService = inject(SelectionService); #snackbar = inject(SnackbarService); #sidenavOptionsService = inject(ExploreFilterSidenavOptionsService); - public permission = inject(PermissionService); + permission = inject(PermissionService); gridItems = viewChildren('gridItem'); @@ -245,16 +243,16 @@ export class ProfileCompilationsComponent implements AfterViewInit { this.selectionService().clearSelection(); } - public async singleRemoveCompilation(compilation: ICompilation) { + async singleRemoveCompilation(compilation: ICompilation) { const loginData = await this.#dialogHelper.confirmWithAuth( `Do you really want to delete ${compilation.name}?`, `Validate login before deleting: ${compilation.name}`, ); if (!loginData) return; - this.removeCompilation(compilation, loginData); + this.#removeCompilation(compilation, loginData); } - public async multiRemoveCompilations() { + async multiRemoveCompilations() { const loginData = await this.#dialogHelper.confirmWithAuth( `Do you really want to delete these ${this.selectionService().selectedElements().length}?`, `Validate login before deleting.`, @@ -264,14 +262,14 @@ export class ProfileCompilationsComponent implements AfterViewInit { .selectedElements() .forEach(compilation => { if (isCompilation(compilation)) { - this.removeCompilation(compilation, loginData); + this.#removeCompilation(compilation, loginData); } }); this.selectionService().clearSelection(); } - private async removeCompilation( + async #removeCompilation( compilation: ICompilation, loginData: { username: string; password: string }, ) { diff --git a/src/app/pages/profile-page/entities/entities.component.ts b/src/app/pages/profile-page/entities/entities.component.ts index 78e6d459..5aeee006 100644 --- a/src/app/pages/profile-page/entities/entities.component.ts +++ b/src/app/pages/profile-page/entities/entities.component.ts @@ -27,18 +27,11 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatTooltipModule } from '@angular/material/tooltip'; import { RouterModule } from '@angular/router'; import { combineLatest, map, switchMap } from 'rxjs'; -import { GridElementComponent } from 'src/app/components'; import { Pagination, PaginationComponent, } from 'src/app/components/pagination/pagination.component'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { - AccountService, - BackendService, - DialogHelperService, - SnackbarService, -} from 'src/app/services'; import { SelectionService } from 'src/app/services/selection.service'; import { Collection, IEntity, isEntity, isMetadataEntity } from '@kompakkt/common'; import { SelectionContainerComponent } from 'src/app/components/selection/selection-container.component'; @@ -52,6 +45,11 @@ import { } from '../../explore/shared-types'; import { ExploreFilterSidenavOptionsService } from '../../explore/explore-filter-sidenav/explore-filter-sidenav.component'; import { PermissionService } from 'src/app/services/permissions.service'; +import { GridElementComponent } from 'src/app/components/grid-element/grid-element.component'; +import { AccountService } from 'src/app/services/account.service'; +import { BackendService } from 'src/app/services/backend.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; const getAnnotationCount = (entity: IEntity): number => { if (entity.__annotationCount !== undefined) { @@ -88,12 +86,12 @@ const getAnnotationCount = (entity: IEntity): number => { ], }) export class ProfileEntitiesComponent implements AfterViewInit { - private account = inject(AccountService); - private backend = inject(BackendService); - private helper = inject(DialogHelperService); - private _rootSelectionService = inject(SelectionService); - private snackbar = inject(SnackbarService); - public permission = inject(PermissionService); + #account = inject(AccountService); + #backend = inject(BackendService); + #helper = inject(DialogHelperService); + #_rootSelectionService = inject(SelectionService); + #snackbar = inject(SnackbarService); + permission = inject(PermissionService); #sidenavOptionsService = inject(ExploreFilterSidenavOptionsService); @@ -112,10 +110,10 @@ export class ProfileEntitiesComponent implements AfterViewInit { actionsTemplateChange = output>(); public selectionService = computed( - () => this.selectionContainer()?.selectionService ?? this._rootSelectionService, + () => this.selectionContainer()?.selectionService ?? this.#_rootSelectionService, ); - public user = toSignal(this.account.user$); + public user = toSignal(this.#account.user$); readonly singleSelectedEntity = computed(() => this.selectionService().singleSelectedEntity()); @@ -127,19 +125,19 @@ export class ProfileEntitiesComponent implements AfterViewInit { }); #paginator$ = toObservable(this.paginator); - public userCompilations = toSignal(this.account.compilations$, { + public userCompilations = toSignal(this.#account.compilations$, { initialValue: null, }); entitiesByEntityType$ = this.entityType$.pipe( switchMap(type => - type === 'finished' ? this.account.finishedEntities$ : this.account.draftEntities$, + type === 'finished' ? this.#account.finishedEntities$ : this.#account.draftEntities$, ), ); entitiesByEntityTypeSignal = toSignal(this.entitiesByEntityType$); filteredEntities$ = combineLatest([ - this.account.user$, + this.#account.user$, this.entitiesByEntityType$, this.searchText$.pipe(map(text => text.trim().toLowerCase())), this.selectedFilterOptions$.pipe(map(options => reduceExploreFilterOptions(options))), @@ -244,13 +242,13 @@ export class ProfileEntitiesComponent implements AfterViewInit { } public editViewerSettings(entity: IEntity) { - this.helper.editSettingsInViewer(entity); + this.#helper.editSettingsInViewer(entity); } - public async editEntity(entity: IEntity) { - const resolvedEntity = await this.backend.getEntity(entity._id); + async editEntity(entity: IEntity) { + const resolvedEntity = await this.#backend.getEntity(entity._id); - return this.helper.editEntity(resolvedEntity); + return this.#helper.editEntity(resolvedEntity); } //Multi entities @@ -259,17 +257,17 @@ export class ProfileEntitiesComponent implements AfterViewInit { const selection = this.selectionService().selectedElements(); const data = entity ?? (selection.length === 1 ? selection[0] : selection); if (!isEntity(data)) return; - this.helper.openTransferOwnershipDialog(data); + this.#helper.openTransferOwnershipDialog(data); } public openVisibilityAndAccessDialog(entity?: IEntity) { const selection = this.selectionService().selectedElements(); const data = entity ? [entity] : selection.filter(isEntity); - this.helper.editVisibilityAndAccess(data); + this.#helper.editVisibilityAndAccess(data); this.selectionService().clearSelection(); } - public async quickAddToCompilation(entity?: IEntity) { + async quickAddToCompilation(entity?: IEntity) { const selectedEntities = (() => { if (entity) return [entity]; const selection = this.selectionService().selectedElements(); @@ -278,11 +276,11 @@ export class ProfileEntitiesComponent implements AfterViewInit { })(); if (selectedEntities.length === 0) { - this.snackbar.showMessage('Please select at least one entity to add to the compilation.', 5); + this.#snackbar.showMessage('Please select at least one entity to add to the compilation.', 5); return; } - this.helper + this.#helper .addToCompilation(selectedEntities) .afterClosed() .subscribe(result => { @@ -292,8 +290,8 @@ export class ProfileEntitiesComponent implements AfterViewInit { }); } - public async singleRemoveEntity(entity: IEntity) { - const loginData = await this.helper.confirmWithAuth( + async singleRemoveEntity(entity: IEntity) { + const loginData = await this.#helper.confirmWithAuth( `Do you really want to delete ${entity.name}?`, `Validate login before deleting ${entity.name}`, ); @@ -301,8 +299,8 @@ export class ProfileEntitiesComponent implements AfterViewInit { this.removeEntity(entity, loginData); } - public async multiRemoveEntities() { - const loginData = await this.helper.confirmWithAuth( + async multiRemoveEntities() { + const loginData = await this.#helper.confirmWithAuth( `Do you really want to delete these ${this.selectionService().selectedElements().length} items?`, `Validate login before deleting.`, ); @@ -318,21 +316,21 @@ export class ProfileEntitiesComponent implements AfterViewInit { this.selectionService().clearSelection(); } - public async removeEntity(entity: IEntity, loginData: { username: string; password: string }) { + async removeEntity(entity: IEntity, loginData: { username: string; password: string }) { const { username, password } = loginData; if (this.permission.canDeleteCompletely(entity)) { - this.backend + this.#backend .deleteRequest(entity._id, 'entity', username, password) .then(result => { - this.account.updateTrigger$.next(Collection.entity); + this.#account.updateTrigger$.next(Collection.entity); }) .catch(e => console.error(e)); } else { - this.backend + this.#backend .removeSelfFromAccess('entity', entity._id) .then(result => { - this.account.updateTrigger$.next(Collection.entity); + this.#account.updateTrigger$.next(Collection.entity); }) .catch(e => console.error(e)); } @@ -392,7 +390,7 @@ export class ProfileEntitiesComponent implements AfterViewInit { const user = this.user(); if (!user?._id) { - this.snackbar.showMessage('You must be logged in to select entities.', 5); + this.#snackbar.showMessage('You must be logged in to select entities.', 5); return; } diff --git a/src/app/pages/profile-page/profile-page.component.ts b/src/app/pages/profile-page/profile-page.component.ts index 85b82c37..5fc10615 100644 --- a/src/app/pages/profile-page/profile-page.component.ts +++ b/src/app/pages/profile-page/profile-page.component.ts @@ -23,12 +23,6 @@ import { ActivatedRoute, Router } from '@angular/router'; import { debounceTime, map } from 'rxjs'; import { SearchBarComponent } from 'src/app/components/search-bar/search-bar.component'; import { Tab, TabsComponent } from 'src/app/components/tabs/tabs.component'; -import { - AccountService, - BackendService, - DialogHelperService, - SnackbarService, -} from 'src/app/services'; import { isPublicProfile, type IPublicProfile } from '@kompakkt/common'; import { ProfileCompilationsComponent } from './compilations/compilations.component'; import { ProfileEntitiesComponent } from './entities/entities.component'; @@ -56,6 +50,10 @@ import { SortByOptions, } from '../explore/shared-types'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; +import { SnackbarService } from 'src/app/services/snackbar.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; @Component({ selector: 'app-profile-page', @@ -94,6 +92,7 @@ export class ProfilePageComponent implements OnInit { #selectionService = inject(SelectionService); #sidenavService = inject(SidenavService); #sidenavOptionsService = inject(ExploreFilterSidenavOptionsService); + #backend = inject(BackendService); selectedFilterOptions = signal([]); numFilterOptions = computed( @@ -160,8 +159,6 @@ export class ProfilePageComponent implements OnInit { return this.viewedProfile(); }); - #backend = inject(BackendService); - availableTabs = [ { label: 'Objects', value: 'objects' }, { label: 'Drafts', value: 'drafts' }, @@ -198,7 +195,7 @@ export class ProfilePageComponent implements OnInit { this.#selectionService.clearSelection(); } - public async openFilterSidenav() { + async openFilterSidenav() { if (this.#sidenavService.state().opened) return; const tab = this.selectedTab(); const category: ExploreCategory = tab === 'collections' ? 'collections' : 'objects'; diff --git a/src/app/pages/profile-page/public-view/profile-public-view.component.ts b/src/app/pages/profile-page/public-view/profile-public-view.component.ts index e452cbd6..2c2f2d2c 100644 --- a/src/app/pages/profile-page/public-view/profile-public-view.component.ts +++ b/src/app/pages/profile-page/public-view/profile-public-view.component.ts @@ -11,11 +11,9 @@ import { toSignal } from '@angular/core/rxjs-interop'; import { MatIconModule } from '@angular/material/icon'; import { MatTooltipModule } from '@angular/material/tooltip'; import { type ICompilation, type IEntity, type IPublicProfile } from '@kompakkt/common'; -import { GridElementComponent } from 'src/app/components'; import { SearchBarComponent } from 'src/app/components/search-bar/search-bar.component'; import { Tab, TabsComponent } from 'src/app/components/tabs/tabs.component'; import { TranslatePipe } from 'src/app/pipes/translate.pipe'; -import { AccountService, BackendService, DialogHelperService } from 'src/app/services'; import { SidenavService } from 'src/app/services/sidenav.service'; import { ExploreFilterOption } from '../../explore/explore-filter-option/explore-filter-option.component'; import { ExploreFilterSidenavToggleComponent } from '../../explore/explore-filter-sidenav-toggle/explore-filter-sidenav-toggle.component'; @@ -35,6 +33,10 @@ import { SortOrder, } from '../../explore/shared-types'; import { ProfilePageHeaderComponent } from '../profile-page-header/profile-page-header.component'; +import { GridElementComponent } from 'src/app/components/grid-element/grid-element.component'; +import { BackendService } from 'src/app/services/backend.service'; +import { AccountService } from 'src/app/services/account.service'; +import { DialogHelperService } from 'src/app/services/dialog-helper.service'; type FilterableProfileItem = { name: string; @@ -201,7 +203,7 @@ export class ProfilePublicViewComponent { }); } - public async openFilterSidenav() { + async openFilterSidenav() { if (this.#sidenavService.state().opened) return; const tab = this.selectedTab(); const category: ExploreCategory = tab === 'collections' ? 'collections' : 'objects'; diff --git a/src/app/services/account.service.ts b/src/app/services/account.service.ts index 75d13b31..31f8c544 100644 --- a/src/app/services/account.service.ts +++ b/src/app/services/account.service.ts @@ -23,9 +23,11 @@ import { IUserDataWithoutData, isUserDataWithoutData, } from '@kompakkt/common'; -import { BackendService, EventsService, SnackbarService } from './'; import { CacheManagerService } from './cache-manager.service'; import { toSignal } from '@angular/core/rxjs-interop'; +import { BackendService } from './backend.service'; +import { SnackbarService } from './snackbar.service'; +import { EventsService } from './events.service'; @Service() export class AccountService { @@ -213,7 +215,7 @@ export class AccountService { // Unfinished: !finished draftEntities$ = this.entities$.pipe(map(arr => arr.filter(e => !e.finished))); - public async loginOrFetch(data?: { username: string; password: string }) { + async loginOrFetch(data?: { username: string; password: string }) { this.isWaitingForLogin$.next(true); const promise = data ? this.#backend.login(data.username, data.password) @@ -233,7 +235,7 @@ export class AccountService { return userdata; } - public async logout() { + async logout() { await this.#backend.logout().catch(() => {}); localStorage.removeItem('jwt'); this.#userdata$.next(undefined); @@ -247,7 +249,7 @@ export class AccountService { * Get a snapshot of the current user data. * Can be undefined, or out of date if only cache hit is available. */ - public async getUserDataSnapshot() { + async getUserDataSnapshot() { return await firstValueFrom(this.user$.pipe(defaultIfEmpty(undefined))); } } diff --git a/src/app/services/backend.service.ts b/src/app/services/backend.service.ts index ed3fb049..fea0cce7 100644 --- a/src/app/services/backend.service.ts +++ b/src/app/services/backend.service.ts @@ -114,19 +114,19 @@ export class BackendService { readonly http = inject(HttpClient); // Simple methods. These are shared with Plugins using the Kompakkt Extender - public async get(path: string): Promise { + async get(path: string): Promise { return firstValueFrom(this.http.get(`${this.endpoint}${path}`)); } - public async post(path: string, obj: any): Promise { + async post(path: string, obj: any): Promise { return firstValueFrom(this.http.post(`${this.endpoint}${path}`, obj)); } - public async put(path: string, obj: any): Promise { + async put(path: string, obj: any): Promise { return firstValueFrom(this.http.put(`${this.endpoint}${path}`, obj)); } - public async delete(path: string): Promise { + async delete(path: string): Promise { return firstValueFrom(this.http.delete(`${this.endpoint}${path}`)); } @@ -305,84 +305,84 @@ export class BackendService { } // GETs - private async getAllOfCollection(collection: Collection) { + async #getAllOfCollection(collection: Collection) { return this.createGet('/server/api/v1/get/findall/{collection}', { pathParams: { collection }, queryParams: {}, }); } - public async getAllPersons() { - return this.getAllOfCollection(Collection.person).then(arr => arr.filter(isResolvedPerson)); + async getAllPersons() { + return this.#getAllOfCollection(Collection.person).then(arr => arr.filter(isResolvedPerson)); } - public async getAllInstitutions() { - return this.getAllOfCollection(Collection.institution).then(arr => + async getAllInstitutions() { + return this.#getAllOfCollection(Collection.institution).then(arr => arr.filter(isResolvedInstitution), ); } - public async getAllTags() { - return this.getAllOfCollection(Collection.tag).then(arr => arr.filter(isTag)); + async getAllTags() { + return this.#getAllOfCollection(Collection.tag).then(arr => arr.filter(isTag)); } - private async getSingleOfCollectionById(collection: Collection, identifier: string) { + async #getSingleOfCollectionById(collection: Collection, identifier: string) { return this.createGet('/server/api/v1/get/find/{collection}/{identifier}', { pathParams: { collection, identifier }, queryParams: {}, }); } - public async getEntity(identifier: string) { - return this.getSingleOfCollectionById(Collection.entity, identifier).then(res => { + async getEntity(identifier: string) { + return this.#getSingleOfCollectionById(Collection.entity, identifier).then(res => { if (isEntity(res)) return res; return undefined; }); } - public async getCompilation(identifier: string) { - return this.getSingleOfCollectionById(Collection.compilation, identifier).then(res => { + async getCompilation(identifier: string) { + return this.#getSingleOfCollectionById(Collection.compilation, identifier).then(res => { if (isCompilation(res)) return res; return null; }); } // PROFILE ROUTES - public async getProfileById(id: string) { + async getProfileById(id: string) { return this.createGet('/server/api/v2/profile/via-id/{id}', { pathParams: { id }, queryParams: {}, }); } - public async getUserOfProfile(id: string) { + async getUserOfProfile(id: string) { return this.createGet('/server/api/v2/profile/user-of-profile/{id}', { pathParams: { id }, queryParams: {}, }); } - public async getPublicProfileEntities(id: string): Promise { + async getPublicProfileEntities(id: string): Promise { return this.createGet('/server/api/v2/profile/via-id/{id}/entities', { pathParams: { id }, queryParams: {}, }); } - public async getPublicProfileCompilations(id: string): Promise { + async getPublicProfileCompilations(id: string): Promise { return this.createGet('/server/api/v2/profile/via-id/{id}/compilations', { pathParams: { id }, queryParams: {}, }); } - public async getOrganizationMembers(id: string) { + async getOrganizationMembers(id: string) { return this.createGet('/server/api/v2/profile/organization/{id}/members', { pathParams: { id }, queryParams: {}, }); } - public async addOrganizationMember( + async addOrganizationMember( id: string, body: { userId: string; role: ProfileMemberRole }, ) { @@ -393,7 +393,7 @@ export class BackendService { }); } - public async updateOrganizationMemberRole( + async updateOrganizationMemberRole( id: string, userId: string, body: { role: ProfileMemberRole }, @@ -405,14 +405,14 @@ export class BackendService { }); } - public async removeOrganizationMember(id: string, userId: string) { + async removeOrganizationMember(id: string, userId: string) { return this.createDelete('/server/api/v2/profile/organization/{id}/members/{userId}', { pathParams: { id, userId }, queryParams: {}, }); } - public async searchProfiles( + async searchProfiles( query: string, type?: 'user' | 'organization' | 'all', ): Promise { @@ -422,7 +422,7 @@ export class BackendService { }); } - public async updateProfile( + async updateProfile( // Overwrite _id for the organization case, otherwise we'd need seperate routes profileData: Omit & { _id?: string | undefined }, ) { @@ -451,16 +451,16 @@ export class BackendService { } // Account specific GETs - public async getAccounts() { + async getAccounts() { return this.createGet('/server/api/v1/get/users', { pathParams: {}, queryParams: {} }); } - public async logout() { + async logout() { return this.createGet('/server/user-management/logout', { pathParams: {}, queryParams: {} }); } // POSTs - public async explore(exploreRequest: ExploreRequestBody) { + async explore(exploreRequest: ExploreRequestBody) { return this.createPost('/server/api/v2/explore', { body: exploreRequest, pathParams: {}, @@ -469,7 +469,7 @@ export class BackendService { } // Uses type-guard to infer the correct return type based on the collection, since all push endpoints return the same type - private async pushSingleDocumentToCollection( + async #pushSingleDocumentToCollection( collection: Collection, document: T, guard: (obj: unknown) => obj is T, @@ -488,31 +488,31 @@ export class BackendService { }); } - public async pushEntity(entity: IEntity, options?: { profileId?: string }) { - return this.pushSingleDocumentToCollection(Collection.entity, entity, isEntity, options); + async pushEntity(entity: IEntity, options?: { profileId?: string }) { + return this.#pushSingleDocumentToCollection(Collection.entity, entity, isEntity, options); } - public async pushPerson(person: IPerson) { - return this.pushSingleDocumentToCollection(Collection.person, person, isPerson); + async pushPerson(person: IPerson) { + return this.#pushSingleDocumentToCollection(Collection.person, person, isPerson); } - public async pushInstitution(institution: IInstitution) { - return this.pushSingleDocumentToCollection(Collection.institution, institution, isInstitution); + async pushInstitution(institution: IInstitution) { + return this.#pushSingleDocumentToCollection(Collection.institution, institution, isInstitution); } - public async pushCompilation(compilation: ICompilation) { - return this.pushSingleDocumentToCollection(Collection.compilation, compilation, isCompilation); + async pushCompilation(compilation: ICompilation) { + return this.#pushSingleDocumentToCollection(Collection.compilation, compilation, isCompilation); } - public async pushDigitalEntity(digitalEntity: IDigitalEntity) { - return this.pushSingleDocumentToCollection( + async pushDigitalEntity(digitalEntity: IDigitalEntity) { + return this.#pushSingleDocumentToCollection( Collection.digitalentity, digitalEntity, isDigitalEntity, ); } - public async deleteRequest( + async deleteRequest( identifier: string, collection: Collection, username: string, @@ -525,7 +525,7 @@ export class BackendService { }); } - public async removeSelfFromAccess(collection: Collection, identifier: string) { + async removeSelfFromAccess(collection: Collection, identifier: string) { return this.createPost('/server/api/v2/remove-self-from-access/{collection}/{identifier}', { body: {}, pathParams: { collection, identifier }, @@ -534,7 +534,7 @@ export class BackendService { } // Admin routes - public async getAllUsers(username: string, password: string) { + async getAllUsers(username: string, password: string) { return this.createPost('/server/admin/getusers', { body: { username, password }, pathParams: {}, @@ -542,7 +542,7 @@ export class BackendService { }); } - public async getUser(username: string, password: string, identifier: string) { + async getUser(username: string, password: string, identifier: string) { return this.createPost('/server/admin/getuser/{identifier}', { body: { username, password }, pathParams: { identifier }, @@ -550,7 +550,7 @@ export class BackendService { }); } - public async getDigest( + async getDigest( username: string, password: string, params: { from: number; to: number; finished?: boolean; restricted?: boolean }, @@ -567,7 +567,7 @@ export class BackendService { }); } - public async promoteUser(username: string, password: string, identifier: string, role: UserRank) { + async promoteUser(username: string, password: string, identifier: string, role: UserRank) { return this.createPost('/server/admin/promoteuser', { body: { username, password, role, identifier }, queryParams: {}, @@ -576,7 +576,7 @@ export class BackendService { } // Upload / Download - public async completeUpload(uuid: string, type: string) { + async completeUpload(uuid: string, type: string) { return this.createPost('/server/upload/finish', { body: { uuid, type }, pathParams: {}, @@ -584,7 +584,7 @@ export class BackendService { }); } - public async cancelUpload(uuid: string, type: string) { + async cancelUpload(uuid: string, type: string) { return this.createPost('/server/upload/cancel', { body: { uuid, type }, pathParams: {}, @@ -592,7 +592,7 @@ export class BackendService { }); } - public async processUpload(uuid: string, type: string) { + async processUpload(uuid: string, type: string) { return this.createPost('/server/upload/process/start', { body: { uuid, type }, pathParams: {}, @@ -600,7 +600,7 @@ export class BackendService { }); } - public async processInfo(uuid: string, type: string) { + async processInfo(uuid: string, type: string) { return this.createPost('/server/upload/process/info', { body: { uuid, type }, pathParams: {}, @@ -608,7 +608,7 @@ export class BackendService { }); } - public async getEntityDownloadStats(id: string) { + async getEntityDownloadStats(id: string) { return this.createGet('/server/download/options/{entityId}', { pathParams: { entityId: id }, queryParams: {}, @@ -630,14 +630,14 @@ export class BackendService { } // Utility - public async countEntityUses(entityId: string) { + async countEntityUses(entityId: string) { return this.createGet('/server/utility/countentityuses/{id}', { pathParams: { id: entityId }, queryParams: {}, }); } - public async transferOwnerShip({ + async transferOwnerShip({ docId, collection, targetUserId, @@ -664,7 +664,7 @@ export class BackendService { } // User-management - public async login(username: string, password: string) { + async login(username: string, password: string) { return this.createPost('/server/user-management/login/{strategy}', { body: { username, password }, pathParams: { strategy: 'local' }, @@ -672,7 +672,7 @@ export class BackendService { }); } - public async registerAccount( + async registerAccount( accountData: RequestBody>, ) { return this.createPost('/server/user-management/register', { @@ -682,14 +682,14 @@ export class BackendService { }); } - public async isAuthorized() { + async isAuthorized() { return this.createGet('/server/user-management/auth', { pathParams: {}, queryParams: {}, }); } - public async requestPasswordReset(username: string) { + async requestPasswordReset(username: string) { return this.createPost('/server/user-management/help/request-reset', { body: { username }, pathParams: {}, @@ -697,7 +697,7 @@ export class BackendService { }); } - public async confirmPasswordResetRequest(username: string, token: string, password: string) { + async confirmPasswordResetRequest(username: string, token: string, password: string) { return this.createPost('/server/user-management/help/confirm-reset', { body: { username, token, password }, pathParams: {}, @@ -705,7 +705,7 @@ export class BackendService { }); } - public async forgotUsername(mail: string) { + async forgotUsername(mail: string) { return this.createPost('/server/user-management/help/forgot-username', { body: { mail }, pathParams: {}, @@ -714,14 +714,14 @@ export class BackendService { } // API V2 - public async getUserDataPersons(options: { depth?: number; full?: boolean; profileId?: string }) { + async getUserDataPersons(options: { depth?: number; full?: boolean; profileId?: string }) { return this.createGet('/server/api/v2/user-data/get-collection/person', { pathParams: {}, queryParams: options, }); } - public async getUserDataInstitutions(options: { + async getUserDataInstitutions(options: { depth?: number; full?: boolean; profileId?: string; @@ -732,14 +732,14 @@ export class BackendService { }); } - public async getUserDataTags(options: { depth?: number; full?: boolean; profileId?: string }) { + async getUserDataTags(options: { depth?: number; full?: boolean; profileId?: string }) { return this.createGet('/server/api/v2/user-data/get-collection/tag', { pathParams: {}, queryParams: options, }); } - public async getUserDataEntities(options: { + async getUserDataEntities(options: { depth?: number; full?: boolean; profileId?: string; @@ -750,7 +750,7 @@ export class BackendService { }); } - public async getUserDataCompilations(options: { + async getUserDataCompilations(options: { depth?: number; full?: boolean; profileId?: string; @@ -761,7 +761,7 @@ export class BackendService { }); } - public async getUserDataDigitalEntities(options: { + async getUserDataDigitalEntities(options: { depth?: number; full?: boolean; profileId?: string; @@ -772,7 +772,7 @@ export class BackendService { }); } - public async getUserDataAddresses(options: { + async getUserDataAddresses(options: { depth?: number; full?: boolean; profileId?: string; @@ -783,7 +783,7 @@ export class BackendService { }); } - public async getUserDataAnnotations(options: { + async getUserDataAnnotations(options: { depth?: number; full?: boolean; profileId?: string; @@ -794,7 +794,7 @@ export class BackendService { }); } - public async getUserDataContacts(options: { + async getUserDataContacts(options: { depth?: number; full?: boolean; profileId?: string; @@ -805,7 +805,7 @@ export class BackendService { }); } - public async getUserDataPhysicalEntities(options: { + async getUserDataPhysicalEntities(options: { depth?: number; full?: boolean; profileId?: string; @@ -816,14 +816,14 @@ export class BackendService { }); } - public async getPopularExploreSeachTerms(collection: 'entity' | 'compilation') { + async getPopularExploreSeachTerms(collection: 'entity' | 'compilation') { return this.createGet('/server/api/v2/explore-popular-searches', { pathParams: {}, queryParams: { collection }, }); } - public async createEmptyCompilation( + async createEmptyCompilation( data: Pick & { profileId: string }, ) { return this.createPost('/server/api/v2/compilation/create-empty', { @@ -833,7 +833,7 @@ export class BackendService { }); } - public async updateCompilationMetadata( + async updateCompilationMetadata( data: Pick & { profileId: string }, ) { return this.createPost('/server/api/v2/compilation/update-metadata', { @@ -843,7 +843,7 @@ export class BackendService { }); } - public async addToCompilations(data: { compilationIds: string[]; entityIds: string[] }) { + async addToCompilations(data: { compilationIds: string[]; entityIds: string[] }) { return this.createPost('/server/api/v2/compilation/add-entities', { body: data, pathParams: {}, @@ -851,7 +851,7 @@ export class BackendService { }); } - public async removeFromCompilation(data: { compilationId: string; entityIds: string[] }) { + async removeFromCompilation(data: { compilationId: string; entityIds: string[] }) { return this.createPost('/server/api/v2/compilation/remove-entities', { body: data, pathParams: {}, @@ -860,7 +860,7 @@ export class BackendService { } // Sketchfab Import - public async getSketchfabModels(token: string) { + async getSketchfabModels(token: string) { return this.createPost('/server/sketchfab-import/get-models', { body: { token }, pathParams: {}, @@ -868,14 +868,14 @@ export class BackendService { }); } - public async getSketchfabModelDetails(modelId: string) { + async getSketchfabModelDetails(modelId: string) { return this.createGet('/server/sketchfab-import/model-info/{id}', { pathParams: { id: modelId }, queryParams: {}, }); } - public async downloadAndPrepareSketchfabModel(token: string, modelId: string) { + async downloadAndPrepareSketchfabModel(token: string, modelId: string) { return this.createPost('/server/sketchfab-import/download-and-prepare-model', { body: { token, modelId }, pathParams: {}, @@ -884,14 +884,14 @@ export class BackendService { } // News - public async getNews() { + async getNews() { return this.createGet('/server/api/v2/news/', { pathParams: {}, queryParams: {}, }); } - public async createNews(body: { + async createNews(body: { title: string; content: string; link?: string; @@ -905,7 +905,7 @@ export class BackendService { }); } - public async updateNews( + async updateNews( id: string, body: { title: string; @@ -923,14 +923,14 @@ export class BackendService { }); } - public async deleteNews(id: string) { + async deleteNews(id: string) { return this.createDelete('/server/api/v2/news/{id}', { pathParams: { id }, queryParams: {}, }); } - public async uploadNewsImage(file: File) { + async uploadNewsImage(file: File) { // Convert file to base64 string and send it to the backend const base64Image = await new Promise((resolve, reject) => { const reader = new FileReader(); diff --git a/src/app/services/clipboard.service.ts b/src/app/services/clipboard.service.ts index 274c7a6d..2011e131 100644 --- a/src/app/services/clipboard.service.ts +++ b/src/app/services/clipboard.service.ts @@ -1,7 +1,6 @@ import { inject, Service } from '@angular/core'; import { Clipboard } from '@angular/cdk/clipboard'; - -import { SnackbarService } from './'; +import { SnackbarService } from './snackbar.service'; declare global { interface WindowEventMap { @@ -11,8 +10,8 @@ declare global { @Service() export class ClipboardService { - private snackbar = inject(SnackbarService); - private clipboard = inject(Clipboard); + #snackbar = inject(SnackbarService); + #clipboard = inject(Clipboard); constructor() { window.addEventListener('copy-to-clipboard', (event: CustomEvent) => { @@ -21,7 +20,7 @@ export class ClipboardService { } public copy(message: string) { - if (this.clipboard.copy(message)) this.snackbar.showMessage('Copied to clipboard'); - else this.snackbar.showMessage('Could not copy to clipboard'); + if (this.#clipboard.copy(message)) this.#snackbar.showMessage('Copied to clipboard'); + else this.#snackbar.showMessage('Could not copy to clipboard'); } } diff --git a/src/app/services/detail-page-helper.service.ts b/src/app/services/detail-page-helper.service.ts index e8e6fd69..508a5196 100644 --- a/src/app/services/detail-page-helper.service.ts +++ b/src/app/services/detail-page-helper.service.ts @@ -1,11 +1,10 @@ import { inject, Service } from '@angular/core'; - import { ICompilation, IEntity } from '@kompakkt/common'; -import { SnackbarService } from './'; +import { SnackbarService } from './snackbar.service'; @Service() export class DetailPageHelperService { - private snackbar = inject(SnackbarService); + #snackbar = inject(SnackbarService); public getNumQualities = (element: IEntity) => new Set(Object.values(element.processed)).size; @@ -34,30 +33,30 @@ export class DetailPageHelperService { public copyID(_id: string) { try { this.copyToClipboard(_id); - this.snackbar.showMessage('ID copied to clipboard.', 3); + this.#snackbar.showMessage('ID copied to clipboard.', 3); } catch (e) { console.error(e); - this.snackbar.showMessage('Could not access your clipboard.', 3); + this.#snackbar.showMessage('Could not access your clipboard.', 3); } } public copyUrl(url: string) { try { this.copyToClipboard(url); - this.snackbar.showMessage('Model link copied to clipboard.', 3); + this.#snackbar.showMessage('Model link copied to clipboard.', 3); } catch (e) { console.error(e); - this.snackbar.showMessage('Could not access your clipboard.', 3); + this.#snackbar.showMessage('Could not access your clipboard.', 3); } } public copyEmbed(embed: string) { try { this.copyToClipboard(embed); - this.snackbar.showMessage('Copied embed-markup to clipboard.', 3); + this.#snackbar.showMessage('Copied embed-markup to clipboard.', 3); } catch (e) { console.error(e); - this.snackbar.showMessage('Could not access your clipboard.', 3); + this.#snackbar.showMessage('Could not access your clipboard.', 3); } } diff --git a/src/app/services/dialog-helper.service.ts b/src/app/services/dialog-helper.service.ts index fd5a995e..ba4ac23a 100644 --- a/src/app/services/dialog-helper.service.ts +++ b/src/app/services/dialog-helper.service.ts @@ -2,7 +2,6 @@ import { inject, Service } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { firstValueFrom } from 'rxjs'; -import { AuthDialogComponent } from 'src/app/components'; import { ConfirmationDialogComponent, type ConfirmationDialogData, @@ -16,13 +15,16 @@ import { isCompilation, isEntity, } from '@kompakkt/common'; -import { AuthDialogData, AuthDialogResult } from '../dialogs/auth-dialog/auth-dialog.component'; +import { + AuthDialogComponent, + AuthDialogData, + AuthDialogResult, +} from '../dialogs/auth-dialog/auth-dialog.component'; import { EntityDownloadDialogComponent } from '../dialogs/entity-download-dialog/entity-download-dialog.component'; import { ViewerDialogComponent, ViewerDialogData, } from '../dialogs/viewer-dialog/viewer-dialog.component'; -import { AccountService, EventsService } from './'; import { IDownloadOptions } from './backend.service'; import { CreateOrEditCompilationComponent } from '../dialogs/create-new-compilation/create-or-edit-compilation.component'; import { CreateNewEntityComponent } from '../dialogs/create-new-entity/create-new-entity.component'; @@ -41,6 +43,8 @@ import type { INewsItem } from '@kompakkt/common'; import { RegisterDialogComponent } from '../dialogs/register-dialog/register-dialog.component'; import { EditEntityDialogComponent } from '../dialogs/edit-entity-dialog/edit-entity-dialog.component'; import { VisibilityAndAccessDialogComponent } from '../dialogs/visibility-and-access-dialog/visibility-and-access-dialog.component'; +import { EventsService } from './events.service'; +import { AccountService } from './account.service'; @Service() export class DialogHelperService { @@ -174,7 +178,7 @@ export class DialogHelperService { return ref; } - public async openEntityDownloadDialog(entity: IEntity, downloadOptions: IDownloadOptions) { + async openEntityDownloadDialog(entity: IEntity, downloadOptions: IDownloadOptions) { const ref = this.#dialog.open(EntityDownloadDialogComponent, { data: { entity, @@ -185,7 +189,7 @@ export class DialogHelperService { return ref; } - public async openTransferOwnershipDialog(data: IEntity | ICompilation) { + async openTransferOwnershipDialog(data: IEntity | ICompilation) { const dialogRef = this.#dialog.open(ManageOwnershipComponent, { data, disableClose: false, @@ -200,7 +204,7 @@ export class DialogHelperService { }); } - public async confirm(message: string, title?: string) { + async confirm(message: string, title?: string) { const data: ConfirmationDialogData = title ? { title, message } : message; const confirmDialog = this.#dialog.open< @@ -214,7 +218,7 @@ export class DialogHelperService { return confirmed; } - public async verifyAuthentication(text: string) { + async verifyAuthentication(text: string) { const user = await this.#account.getUserDataSnapshot(); const loginDialog = this.#dialog.open( AuthDialogComponent, @@ -228,7 +232,7 @@ export class DialogHelperService { return result; } - public async confirmWithAuth(confirmText: string, authText: string) { + async confirmWithAuth(confirmText: string, authText: string) { // Get confirmation const confirmed = await this.confirm(confirmText); if (!confirmed) return undefined; diff --git a/src/app/services/index.ts b/src/app/services/index.ts deleted file mode 100644 index 4eb3190b..00000000 --- a/src/app/services/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -export { AccountService } from './account.service'; -export { BackendService } from './backend.service'; -export { EventsService } from './events.service'; -export { ProgressBarService } from './progress-bar.service'; -export { SelectHistoryService } from './select-history.service'; -export { BrowserSupportService } from './browser-support.service'; -export { DetailPageHelperService } from './detail-page-helper.service'; -export { SnackbarService } from './snackbar.service'; -export { ClipboardService } from './clipboard.service'; -export { DialogHelperService } from './dialog-helper.service'; -export { getMapping, setMapping, showMap } from './selected-id.service'; -export { supportedFileFormats, UploadHandlerService } from './upload-handler.service'; -export { QueryActionService } from './query-action.service'; -export { TranslateService, TranslationData } from './translate.service'; diff --git a/src/app/services/interceptors/request-progress-interceptor.ts b/src/app/services/interceptors/request-progress-interceptor.ts deleted file mode 100644 index 1b2d9203..00000000 --- a/src/app/services/interceptors/request-progress-interceptor.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { HttpEvent, HttpHandlerFn, HttpRequest } from '@angular/common/http'; -import { Observable } from 'rxjs'; -import { finalize } from 'rxjs/operators'; -import { ProgressBarService } from '../progress-bar.service'; - -export const requestProgressInterceptor = ( - req: HttpRequest, - next: HttpHandlerFn, -): Observable> => { - const progress = new ProgressBarService(); - const cleanUrl = req.url.split('?').at(0)!; - progress.addProcess(cleanUrl); - return next(req).pipe( - finalize(() => { - progress.removeProcess(cleanUrl); - }), - ); -}; diff --git a/src/app/services/permissions.service.ts b/src/app/services/permissions.service.ts index 7af1a936..0210e737 100644 --- a/src/app/services/permissions.service.ts +++ b/src/app/services/permissions.service.ts @@ -49,11 +49,11 @@ export const Permissions: Record = { @Service() export class PermissionService { - private account = inject(AccountService); - private selection = inject(SelectionService); + #account = inject(AccountService); + #selection = inject(SelectionService); - private user = toSignal(this.account.user$); - private currentProfile = toSignal(this.account.currentProfile$, { initialValue: null }); + private user = toSignal(this.#account.user$); + private currentProfile = toSignal(this.#account.currentProfile$, { initialValue: null }); private readonly rolePriority = [ EntityAccessRole.viewer, @@ -109,7 +109,7 @@ export class PermissionService { if (target) { role = Array.isArray(target) ? this.getLowestRole(target) : this.getRole(target); } else { - const selectedElements = this.selection.selectedElements(); + const selectedElements = this.#selection.selectedElements(); role = this.getLowestRole(selectedElements); } diff --git a/src/app/services/progress-bar.service.ts b/src/app/services/progress-bar.service.ts deleted file mode 100644 index 9317e7d3..00000000 --- a/src/app/services/progress-bar.service.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Service } from '@angular/core'; -import { MatProgressBar } from '@angular/material/progress-bar'; -import { BehaviorSubject } from 'rxjs'; - -@Service() -export class ProgressBarService { - #progressBar: MatProgressBar | undefined; - readonly progressState$ = new BehaviorSubject(new Set()); - - constructor() { - this.progressState$.subscribe(value => { - if (!this.#progressBar) return; - if (value.size > 0) { - this.#progressBar._elementRef.nativeElement.classList.add('loading'); - } else { - this.#progressBar._elementRef.nativeElement.classList.remove('loading'); - } - }); - } - - public setProgressBar(progressBar: MatProgressBar) { - this.#progressBar = progressBar; - } - - public addProcess(url: string) { - const currentValue = this.progressState$.getValue(); - this.progressState$.next(new Set(currentValue).add(url)); - } - - public removeProcess(url: string) { - const currentValue = this.progressState$.getValue(); - currentValue.delete(url); - this.progressState$.next(new Set(currentValue)); - } -} diff --git a/src/app/services/query-action.service.ts b/src/app/services/query-action.service.ts index 61073a18..50fe1674 100644 --- a/src/app/services/query-action.service.ts +++ b/src/app/services/query-action.service.ts @@ -2,8 +2,8 @@ import { inject, Service } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { firstValueFrom } from 'rxjs'; -import { AuthDialogComponent } from 'src/app/components'; import { ResetPasswordDialogComponent } from '../dialogs/reset-password-dialog/reset-password-dialog.component'; +import { AuthDialogComponent } from '../dialogs/auth-dialog/auth-dialog.component'; @Service() export class QueryActionService { diff --git a/src/app/services/select-history.service.ts b/src/app/services/select-history.service.ts index 43bf0d4d..0fa55f8b 100644 --- a/src/app/services/select-history.service.ts +++ b/src/app/services/select-history.service.ts @@ -1,12 +1,11 @@ import { inject, Service } from '@angular/core'; import { ICompilation, IEntity, isEntity } from '@kompakkt/common'; -import { BackendService } from './'; -import { CountEntityUsesResponse } from './backend.service'; +import { BackendService, CountEntityUsesResponse } from './backend.service'; @Service() export class SelectHistoryService { - private backend = inject(BackendService); + #backend = inject(BackendService); public usedInCompilations: CountEntityUsesResponse = { occurences: 0, @@ -33,7 +32,7 @@ export class SelectHistoryService { }; } - public async select(element: IEntity | ICompilation) { + async select(element: IEntity | ICompilation) { // Append element to history if (element) { // If element exists in history, remove @@ -52,7 +51,7 @@ export class SelectHistoryService { } if (isEntity(element)) { - this.backend + this.#backend .countEntityUses(element._id) .then(result => (this.usedInCompilations = result)) .catch(() => this.resetEntityUses()); diff --git a/src/app/services/snackbar.service.ts b/src/app/services/snackbar.service.ts index 2a9400c6..fb1385d4 100644 --- a/src/app/services/snackbar.service.ts +++ b/src/app/services/snackbar.service.ts @@ -3,17 +3,17 @@ import { MatSnackBar } from '@angular/material/snack-bar'; @Service() export class SnackbarService { - private snackbar = inject(MatSnackBar); + #snackbar = inject(MatSnackBar); public showMessage(message: string, durationInSeconds = 5) { - return this.snackbar.open(message, 'Ok!', { + return this.#snackbar.open(message, 'Ok!', { duration: durationInSeconds * 1000, panelClass: 'styled-snackbar', }); } public showInfo(message: string) { - if (this.snackbar._openedSnackBarRef) return; + if (this.#snackbar._openedSnackBarRef) return; this.showMessage(message); } } diff --git a/src/app/services/translate.service.ts b/src/app/services/translate.service.ts index fdd2b134..54aed092 100644 --- a/src/app/services/translate.service.ts +++ b/src/app/services/translate.service.ts @@ -7,9 +7,9 @@ export type TranslationData = Record; @Service() export class TranslateService { - private http = inject(HttpClient); - private router = inject(Router); - private activatedRoute = inject(ActivatedRoute); + #http = inject(HttpClient); + #router = inject(Router); + #activatedRoute = inject(ActivatedRoute); private requestedLanguage$ = new BehaviorSubject(undefined); private languageData$ = new BehaviorSubject({}); @@ -27,7 +27,7 @@ export class TranslateService { constructor() { this.requestedLanguage$.subscribe(requestedLanguage => { const supportedLanguage = this.getSupportedLanguage(requestedLanguage); - this.getTranslationData(supportedLanguage) + this.#getTranslationData(supportedLanguage) .then(data => { console.log('Loaded translation data', { requestedLanguage, supportedLanguage, data }); this.languageData$.next(data); @@ -43,7 +43,7 @@ export class TranslateService { }); this.selectedLanguage$.subscribe(language => { - this.addLocaleToSearchParams(); + void this.#addLocaleToSearchParams(); const languageRequestedEvent = new CustomEvent('language-requested', { detail: { language }, @@ -52,7 +52,7 @@ export class TranslateService { }); (document as any).addEventListener('language-requested', (event: CustomEvent) => { - firstValueFrom(this.selectedLanguage$).then(currentLanguage => { + void firstValueFrom(this.selectedLanguage$).then(currentLanguage => { if (currentLanguage === event.detail.language) return; this.requestLanguage(event.detail.language); console.log('Language requested by event', event.detail); @@ -60,17 +60,17 @@ export class TranslateService { }); } - private async addLocaleToSearchParams() { + async #addLocaleToSearchParams() { const locale = await firstValueFrom(this.selectedLanguage$); const windowQueryParams = new URLSearchParams(window.location.search); const queryParams = { ...Object.fromEntries(windowQueryParams.entries()), - ...this.router.currentNavigation()?.extras.state, + ...this.#router.currentNavigation()?.extras.state, locale: locale, }; - this.router.navigate([], { - relativeTo: this.activatedRoute, + return this.#router.navigate([], { + relativeTo: this.#activatedRoute, queryParams: queryParams, queryParamsHandling: 'merge', }); @@ -101,11 +101,11 @@ export class TranslateService { return supportedLanguage; } - private async getTranslationData(language: string): Promise { + async #getTranslationData(language: string): Promise { const path = `assets/i18n/${language}.json`; try { - return await firstValueFrom(this.http.get(path)); + return await firstValueFrom(this.#http.get(path)); } catch (e) { console.log('Could not load translation', e); } diff --git a/src/app/services/upload-handler.service.ts b/src/app/services/upload-handler.service.ts index 612ca6a3..bdb6968a 100644 --- a/src/app/services/upload-handler.service.ts +++ b/src/app/services/upload-handler.service.ts @@ -1,14 +1,14 @@ -import { HttpClient, HttpErrorResponse, HttpEventType, HttpResponse } from '@angular/common/http'; +import { HttpClient } from '@angular/common/http'; import { computed, effect, inject, Service, signal } from '@angular/core'; import { map, switchMap } from 'rxjs/operators'; import spark from 'spark-md5'; import ObjectID from 'bson-objectid'; - import { toObservable } from '@angular/core/rxjs-interop'; import { BehaviorSubject, combineLatest, lastValueFrom } from 'rxjs'; import { IFile } from '@kompakkt/common'; import { getServerUrl } from '../util/get-server-url'; -import { BackendService, DialogHelperService } from './'; +import { BackendService } from './backend.service'; +import { DialogHelperService } from './dialog-helper.service'; interface IQFile { _file: File; @@ -90,9 +90,9 @@ const calculateMD5 = (file: File) => @Service() export class UploadHandlerService { - private backend = inject(BackendService); - private http = inject(HttpClient); - private helper = inject(DialogHelperService); + #backend = inject(BackendService); + #http = inject(HttpClient); + #helper = inject(DialogHelperService); private initEndpoint = getServerUrl(`upload/chunk/init`); private chunkEndpoint = getServerUrl(`upload/chunk/upload`); @@ -164,27 +164,27 @@ export class UploadHandlerService { .slice(minSameSegments) .join('/'); - return this.uploadFileChunked(item, normalizedRelativePath); + return this.#uploadFileChunked(item, normalizedRelativePath); }); Promise.all(uploads) .then(results => { console.log('Post upload queue', results); - return this.handleUploadCompleted(); + return this.#handleUploadCompleted(); }) .catch(error => { console.log('Upload failed', error); alert('Upload failed'); - this.resetQueue(false); + return this.resetQueue(false); }); }); } - private async uploadFileChunked(item: IQFile, normalizedRelativePath: string): Promise { + async #uploadFileChunked(item: IQFile, normalizedRelativePath: string): Promise { try { // 1. Initialize Upload const initResponse = await lastValueFrom( - this.http.post<{ status: string; uploadId: string }>( + this.#http.post<{ status: string; uploadId: string }>( this.initEndpoint, {}, { withCredentials: true }, @@ -215,7 +215,7 @@ export class UploadHandlerService { formData.append('index', chunkIndex.toString()); await new Promise((resolve, reject) => { - this.http.post(this.chunkEndpoint, formData, { withCredentials: true }).subscribe({ + this.#http.post(this.chunkEndpoint, formData, { withCredentials: true }).subscribe({ next: event => { // Calculate progress by current chunk of total chunks const progressValue = Math.floor( @@ -243,7 +243,7 @@ export class UploadHandlerService { }; const finishResponse = await lastValueFrom( - this.http.post<{ status: string; path: string; serverChecksum: string }>( + this.#http.post<{ status: string; path: string; serverChecksum: string }>( this.finishEndpoint, finishBody, { withCredentials: true }, @@ -317,13 +317,13 @@ export class UploadHandlerService { * @param needConfirmation * Whether the user needs to confirm resetting the queue. Defaults to true. */ - public async resetQueue(needConfirmation = true) { + async resetQueue(needConfirmation = true) { const mediaType = this.mediaType(); const queue = this.queue(); if (queue.length === 0) return true; if (needConfirmation && queue.length > 0) { - const confirmed = await this.helper.confirm( + const confirmed = await this.#helper.confirm( 'This action will clear the current queue.\nContinue?', 'Reset queue', ); @@ -335,7 +335,7 @@ export class UploadHandlerService { this.uploadResults.set([]); if (needConfirmation) { - await this.backend + await this.#backend .cancelUpload(this.uuid(), mediaType) .then(() => {}) .catch(err => console.error('Failed deleting files from server', err)); @@ -370,7 +370,7 @@ export class UploadHandlerService { this.mediaType.set(type); } - private async initiateChecksumCalculation(file: File) { + async #initiateChecksumCalculation(file: File) { const promise = calculateMD5(file); this.#checksumPromiseMap.set(file, promise); const checksum = await promise; @@ -391,7 +391,7 @@ export class UploadHandlerService { } } - private async fileToQueueable(_file: File): Promise { + async #fileToQueueable(_file: File): Promise { const relativePath = _file.webkitRelativePath ?? ''; const token = this.uuid(); @@ -405,7 +405,7 @@ export class UploadHandlerService { } if (!error) { - setTimeout(() => this.initiateChecksumCalculation(_file), 0); + setTimeout(() => this.#initiateChecksumCalculation(_file), 0); } const queueableFile: IQFile = { @@ -432,27 +432,27 @@ export class UploadHandlerService { public addToQueue(file: File) { if (!file) return console.warn('Invalid file', file); - this.fileToQueueable(file) + this.#fileToQueueable(file) .then(file => this.pushToQueue([file])) .catch(err => console.error('Failed adding file to queue', err, file)); } public addMultipleToQueue(files: File[]) { - Promise.all(files.map(file => this.fileToQueueable(file))) + Promise.all(files.map(file => this.#fileToQueueable(file))) .then(files => this.pushToQueue(files)) .catch(err => console.error('Failed adding files to queue', err, files)); } - private async handleUploadCompleted() { + async #handleUploadCompleted() { const uuid = this.uuid(); const type = this.mediaType(); - const queueUploadResult = await this.backend.processUpload(uuid, type); + const queueUploadResult = await this.#backend.processUpload(uuid, type); console.log('queueUploadResult', queueUploadResult); if (queueUploadResult.requiresProcessing) { await new Promise((resolve, reject) => { const getInfo = async () => { - const info = await this.backend.processInfo(uuid, type); + const info = await this.#backend.processInfo(uuid, type); this.processingProgress.set({ value: info.progress }); if (info.progress === 100) { resolve(); @@ -466,7 +466,7 @@ export class UploadHandlerService { }); } - const completeUploadResult = await this.backend.completeUpload(uuid, type); + const completeUploadResult = await this.#backend.completeUpload(uuid, type); this.uploadCompleted.set(true); this.isUploading.set(false); if (Array.isArray(completeUploadResult?.files)) { From a0c442cbd2fdbb208aa0c37d20718f8cf4848556 Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Tue, 3 Nov 2026 23:28:49 +0100 Subject: [PATCH 08/10] More code style updates. Signal based AccountService outputs. Remove almost all AsyncPipe --- src/app/app.component.ts | 25 +- src/app/app.config.ts | 8 +- src/app/app.routes.ts | 12 - .../actionbar/actionbar.component.html | 4 +- .../actionbar/actionbar.component.ts | 6 +- .../detail-entity/detail-entity.component.ts | 4 +- .../entity-detail/entity-detail.component.ts | 4 +- .../grid-element/grid-element.component.ts | 13 +- .../metadata/agents/is-agent-self.pipe.ts | 4 +- .../metadata/general/general.component.ts | 10 +- .../metadata/licence/licence.component.ts | 2 +- .../biblio-ref/biblio-ref.component.ts | 8 +- .../navigation/footer/footer.component.ts | 2 +- .../navigation/navbar/navbar.component.html | 20 +- .../navigation/navbar/navbar.component.ts | 21 +- .../sidenav-list/sidenav-list.component.html | 46 ++-- .../sidenav-list/sidenav-list.component.ts | 4 - .../selection-tab.component.html | 2 +- .../selection-tab/selection-tab.component.ts | 5 +- .../sidenav-container.component.ts | 1 - src/app/components/upload/upload.component.ts | 6 +- .../add-to-compilation.component.html | 12 +- .../add-to-compilation.component.ts | 65 +++-- .../create-or-edit-compilation.component.ts | 4 +- .../create-new-entity.component.html | 12 +- .../create-new-entity.component.ts | 61 +++-- .../profile-page-edit.component.ts | 5 +- .../visibility-and-access-dialog.component.ts | 38 +-- .../pages/annotate/annotate.component.html | 12 +- src/app/pages/annotate/annotate.component.ts | 76 +++--- .../detail-page/detail-page.component.html | 2 +- .../detail-page/detail-page.component.ts | 191 +++++---------- .../explore-filter-sidenav.component.html | 2 +- .../explore-filter-sidenav.component.ts | 7 +- src/app/pages/explore/explore.component.html | 16 +- src/app/pages/explore/explore.component.ts | 54 ++--- src/app/pages/home/home.component.html | 4 +- src/app/pages/home/home.component.ts | 70 +++--- .../compilations/compilations.component.html | 8 +- .../compilations/compilations.component.ts | 208 ++++++++-------- .../entities/entities.component.html | 6 +- .../entities/entities.component.ts | 222 ++++++++---------- .../profile-page/profile-page.component.html | 2 +- .../profile-page/profile-page.component.ts | 71 +++--- .../profile-public-view.component.ts | 8 +- .../static-pages/imprint/imprint.component.ts | 14 +- .../static-pages/privacy/privacy.component.ts | 17 +- src/app/pipes/observable-value.ts | 9 - src/app/services/account.service.ts | 177 +++++++------- src/app/services/backend.service.ts | 41 +--- src/app/services/browser-support.service.ts | 13 +- .../services/detail-page-helper.service.ts | 4 +- src/app/services/permissions.service.ts | 8 +- src/app/services/query-action.service.ts | 6 +- src/app/services/select-history.service.ts | 20 +- src/app/services/selection.service.ts | 104 ++++---- src/app/services/translate.service.ts | 2 +- src/app/services/upload-handler.service.ts | 14 +- 58 files changed, 768 insertions(+), 1024 deletions(-) delete mode 100644 src/app/pipes/observable-value.ts diff --git a/src/app/app.component.ts b/src/app/app.component.ts index a0e214b9..4a5a647d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -5,7 +5,6 @@ import { Component, effect, ElementRef, - HostBinding, inject, signal, viewChild, @@ -38,6 +37,11 @@ import { QueryActionService } from './services/query-action.service'; SidenavContainerComponent, NotificationAreaComponent, ], + host: { + '[style.--navbar-height]': 'contentHeights().navbar', + '[style.--footer-height]': 'contentHeights().footer', + '[style.--brand-color]': 'customPrimaryColor()', + }, }) export class AppComponent implements AfterViewInit, AfterContentChecked { #account = inject(AccountService); @@ -47,19 +51,12 @@ export class AppComponent implements AfterViewInit, AfterContentChecked { #customBrandingPlugin = inject(CustomBrandingPlugin.providerToken, { optional: true, }); - #customPrimaryColor = 'var(--brand-color);'; + customPrimaryColor = signal('var(--brand-color);'); navbar = viewChild.required('navbar', { read: ElementRef }); footer = viewChild.required('footer', { read: ElementRef }); contentHeights = signal({ navbar: '67px', footer: '48px' }); - @HostBinding('style.--navbar-height') get navbarHeight() { - return this.contentHeights().navbar; - } - @HostBinding('style.--footer-height') get footerHeight() { - return this.contentHeights().footer; - } - showDevInstanceWarning = signal( 'isDevelopmentInstance' in environment && !!environment.isDevelopmentInstance, ); @@ -67,10 +64,8 @@ export class AppComponent implements AfterViewInit, AfterContentChecked { constructor() { effect(() => { const settings = this.#customBrandingPlugin?.settings(); - - if (settings?.customBrandColors) { - this.#customPrimaryColor = settings.customBrandColors.primary; - } + if (settings?.customBrandColors) + this.customPrimaryColor.set(settings.customBrandColors.primary); }); } @@ -106,8 +101,4 @@ export class AppComponent implements AfterViewInit, AfterContentChecked { ngAfterContentChecked(): void { this.#changeDetector.detectChanges(); } - - @HostBinding('style.--brand-color') get brandColor() { - return this.#customPrimaryColor; - } } diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 5baa396b..1081fd23 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -89,16 +89,16 @@ export const appConfig: ApplicationConfig = { ), TranslateService, TranslatePipe, - provideAppInitializer(() => inject(TranslateService).requestLanguage()), - { provide: RouteReuseStrategy, useExisting: RouteReuse }, - { provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: { dateFormat: 'full' } }, - { provide: LOCALE_ID, useValue: 'en-US' }, + { provide: RouteReuseStrategy, useClass: RouteReuse }, provideRouter( routes, withRouterConfig({ onSameUrlNavigation: 'reload' }), withComponentInputBinding(), withRouterResources(), ), + provideAppInitializer(() => inject(TranslateService).requestLanguage()), + { provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: { dateFormat: 'full' } }, + { provide: LOCALE_ID, useValue: 'en-US' }, provideAnimations(), provideHttpClient( withInterceptors([ diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 00625b4f..6baddac2 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -10,33 +10,21 @@ export const routes: Routes = [ { path: 'home', loadComponent: () => import('./pages/home/home.component').then(m => m.HomeComponent), - data: { - title: 'Kompakkt', - }, }, { path: 'privacy', loadComponent: () => import('./pages/static-pages/privacy/privacy.component').then(m => m.PrivacyComponent), - data: { - title: 'Privacy Policy', - }, }, { path: 'imprint', loadComponent: () => import('./pages/static-pages/imprint/imprint.component').then(m => m.ImprintComponent), - data: { - title: 'Imprint', - }, }, { path: 'about', loadComponent: () => import('./pages/static-pages/about/about.component').then(m => m.AboutComponent), - data: { - title: 'About the Kompakkt Consortium', - }, }, { path: 'consortium', diff --git a/src/app/components/actionbar/actionbar.component.html b/src/app/components/actionbar/actionbar.component.html index 7acc0d6d..4041f5b3 100644 --- a/src/app/components/actionbar/actionbar.component.html +++ b/src/app/components/actionbar/actionbar.component.html @@ -1,7 +1,7 @@ @if (element(); as element) { - @if (isAuthenticated() && canEditVisibilityAndAccess() && isDetailPage()) { + @if (account.isAuthenticated() && canEditVisibilityAndAccess() && isDetailPage()) {
} - @if (account.isAuthenticated$ | async) { - @if (account.user$ | async; as user) { + @if (account.isAuthenticated()) { + @if (account.user(); as user) {
- {{ currentProfile()?.displayName }} + {{ account.currentProfile()?.displayName }} @if (currentProfileImageUrl(); as imageUrl) { @@ -60,7 +60,7 @@ }