diff --git a/package-lock.json b/package-lock.json index 52633731e..50c23bf4b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,6 +59,7 @@ "@types/node": "^24.13.2", "@typescript-eslint/parser": "^8.59.3", "@vitest/coverage-v8": "^4.0.18", + "axe-core": "^4.14.1", "concurrently": "^10.0.3", "eslint": "^9.39.4", "eslint-import-resolver-typescript": "^4.4.4", @@ -84,7 +85,8 @@ "unplugin-icons": "^23.0.1", "vite": "^8.0.16", "vite-plugin-lit-css": "^3.0.0", - "vitest": "^4.0.18" + "vitest": "^4.0.18", + "vitest-axe": "^0.1.0" }, "optionalDependencies": { "fsevents": "*" @@ -202,9 +204,9 @@ } }, "node_modules/@babel/cli": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.29.7.tgz", - "integrity": "sha512-/75HwRbAYPqXv/Ax1h7Fg3IZfXgdU98jnA8H93/m/QBaPV3Hp5ICoLqzGYye1yHBCgpmXvtqgSUN8oOKX5tojQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.29.17.tgz", + "integrity": "sha512-gpMFi4PcwSeoODgv5Ed2Gxbz8EhTJoOzSSNsgZHgHQRbz1Shm7jMSHAsMHyM29bBQDOZ0xbvgnzIqZ4A1qxuQw==", "dev": true, "license": "MIT", "dependencies": { @@ -232,13 +234,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", - "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.17.tgz", + "integrity": "sha512-IdlVpcDeoDATtN2cfmnVk0A4XJKhu7SlpGuSaiOFdko09YC1MD07WokWUSEdw5R2o4o8VObX2LzViQW6VXnzkA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.17", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" }, @@ -247,9 +249,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", - "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.17.tgz", + "integrity": "sha512-pC/HCNB1loXYCLB9S7FDieWKJiXH8LJTUGFvVAm+7hWUKBjL07EcvVITNH9KlXdS/TTSbChZHZCYx/yag6LbRw==", "dev": true, "license": "MIT", "engines": { @@ -257,21 +259,21 @@ } }, "node_modules/@babel/core": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.16.tgz", - "integrity": "sha512-qK40pOeReBJY7B0JX6CCIfauMLAa0IlvuVYJ+aZBYLVJwmNUTvsQcEu0En9hVMmNjeSUSQYwvpi1JgXn5imIQw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.17.tgz", + "integrity": "sha512-dP4g0UpATLviwEEb46bBaeL5MyW3q7LwqGoaQJvjXGS8tdpxckLtDTI9FBwA5ioVHnYoR2nRqCf1BmlMwbZV5A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.16", - "@babel/helper-compilation-targets": "^7.29.13", - "@babel/helper-module-transforms": "^7.29.16", - "@babel/helpers": "^7.29.16", - "@babel/parser": "^7.29.15", - "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.16", - "@babel/types": "^7.29.15", + "@babel/code-frame": "^7.29.17", + "@babel/generator": "^7.29.17", + "@babel/helper-compilation-targets": "^7.29.17", + "@babel/helper-module-transforms": "^7.29.17", + "@babel/helpers": "^7.29.17", + "@babel/parser": "^7.29.17", + "@babel/template": "^7.29.17", + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -288,14 +290,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.16.tgz", - "integrity": "sha512-yRtddtrcYdLJt0l70aP7usb2YpMHNXAdAvJW2hXdka5boR4vKMS/F5BTR5sULkbht9xPk/EKzbY2mCczMutZqQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.17.tgz", + "integrity": "sha512-xjNUVINWex7s4U0vESYwa8ChCBnmvhCQ6nkAdnhM8WYPlhXvU9D9fPurOSYQLV4FwcNXacDkN/MWIPNHsTI2OA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.29.15", - "@babel/types": "^7.29.15", + "@babel/parser": "^7.29.17", + "@babel/types": "^7.29.17", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -305,27 +307,27 @@ } }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz", - "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.17.tgz", + "integrity": "sha512-fvR+p3NNtZADSaekH7R5hVcv8uv0kDCXWlro7XVlH867QOLHs+u1e6NVcmCX7TUJNL9nqIVwNcz0Um3Glo0niQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.7" + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz", - "integrity": "sha512-8WxJ4/Vmes3ghacj8VOJy3NW8eyHiFY/4thU/LSBuBE470+igjR/j1ZTNn8fV5VdNrLx6iXUwig526UdOvfP0w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.17.tgz", + "integrity": "sha512-6uFqkZstBw0lSRaEr/7HNuqURHubX4BvnN0FbbIBNFa5/nUcKLp5AFubCcUlbik9mI/Ztsz3mdjjpqoF3dVqrA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.29.7", - "@babel/helper-validator-option": "^7.29.7", + "@babel/compat-data": "^7.29.17", + "@babel/helper-validator-option": "^7.29.17", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -335,18 +337,18 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.16.tgz", - "integrity": "sha512-WtgkoMdh0RChZDUirmEzuMRHzswXUyIIiq13tHBgP0mvYuaDWlMK73vsatiba0Q1dsxWCeIceg9q8GE5GynFlw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.17.tgz", + "integrity": "sha512-wN402n5bTKhdw+DY0VgE+RU7evPzrLgiFpW10yo0Zo24cuPLGmgPVSWojfcAlXs8FkztWde8q+8poku1zACEnw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", - "@babel/helper-member-expression-to-functions": "^7.29.14", - "@babel/helper-optimise-call-expression": "^7.29.7", - "@babel/helper-replace-supers": "^7.29.16", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13", - "@babel/traverse": "^7.29.16", + "@babel/helper-annotate-as-pure": "^7.29.17", + "@babel/helper-member-expression-to-functions": "^7.29.17", + "@babel/helper-optimise-call-expression": "^7.29.17", + "@babel/helper-replace-supers": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17", + "@babel/traverse": "^7.29.17", "semver": "^6.3.1" }, "engines": { @@ -357,13 +359,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.29.14.tgz", - "integrity": "sha512-nKvzhuLMMnFHHsENpUZh4N2e+LqnKDgT0SMibSyv8aW8FqGKWMqLO/zdnRjAYcruH9At6LVicWg7DgTc6IPzNg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.29.17.tgz", + "integrity": "sha512-SjOQHRXd37vQXhvtfmWO84qZvqZtr193/5Lq2s+4rMuoXylhwt1WYylTaeI4x9Oy5NTVKWCMvN+KrtOf+ok8TQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", + "@babel/helper-annotate-as-pure": "^7.29.17", "regexpu-core": "^6.5.4", "semver": "^6.3.1" }, @@ -392,9 +394,9 @@ } }, "node_modules/@babel/helper-globals": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", - "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.17.tgz", + "integrity": "sha512-SeQUwFlH8hH1vjUmBFeqwxt6Nsjp01MKEZOtZPJ86lpA4GBdb/o0dShjC+Awf7v74/+84KIL1RiJ4TOJj6gU+A==", "dev": true, "license": "MIT", "engines": { @@ -402,44 +404,44 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.29.14.tgz", - "integrity": "sha512-FuTSn8mXKAP+aHXnbkCYQsQAdlEIJptEutwc2NaPd28hyVqsjRDmBnI2EPJX6HCodKIqOHfayQHqtxQCkqwthA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.29.17.tgz", + "integrity": "sha512-/mTo42pDFDxzfYCCL24qxlMPKHcz47iUXr9GfhbV/CHnFkOaAFObtsJQ2y3G3e2qP3eRrvlQ29QqBfVllOhonQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13", - "@babel/traverse": "^7.29.14", - "@babel/types": "^7.29.14" + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17", + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", - "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.17.tgz", + "integrity": "sha512-bLxkfvUEHeWShbadKTm7EfDCkosXZh6PjWEa9bYiCuob24c0nm388ara2Hz6KisGaXe+XCsi6VyfJNSJjeUUwg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.16.tgz", - "integrity": "sha512-jzdW9nRNJXbNAfcbtfZA75vcQK8c/PRniwNL1KIQukiptryb5JlCl+nwi3idOSj611tMgiZxb9PuKg1FI0BvVQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.17.tgz", + "integrity": "sha512-eY/pAYlV7pC5biPmW0M7fDqv1D+opqI0Ioa6OQeg0AV3465b8K8g9I9fvZIV11u35f7jU6q5RXYlUD6k4QLC3w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.29.7", - "@babel/helper-validator-identifier": "^7.29.7", - "@babel/traverse": "^7.29.16" + "@babel/helper-module-imports": "^7.29.17", + "@babel/helper-validator-identifier": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -449,22 +451,22 @@ } }, "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.29.7.tgz", - "integrity": "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.29.17.tgz", + "integrity": "sha512-3D6B+IxDVqg0s3oLUe6p5nQ4VYtJSeLLyvd9c2dwrxVbd4uoyPjUNq23uhfhq21kjhFX2pJu15jVcMBYgLstjA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.7" + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", - "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.17.tgz", + "integrity": "sha512-pdztM6tDPJu52CYy07frAD1XpDAvndtxPhPyehcarNv5Pyq5hutWmTVXd0XIPaI749vUIJ+vxG6KYWoVExn+lg==", "dev": true, "license": "MIT", "engines": { @@ -472,15 +474,15 @@ } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.29.7.tgz", - "integrity": "sha512-16AMiW26DbXWBbr3B8wNozKM0ydMLB892vaOaJW/fPJdnT8vJk5sdkQcU/isqUxyCE0cEoa8wZOcbgDuC4b6Og==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.29.17.tgz", + "integrity": "sha512-F9ozmdIK2VONOv/sGnx7hVvA/bEUHMxSnoeaBN/E3FjZ7PnrUqJx7jnRH8qtqvw4mj37qpex00Fc0Bcu1C4RiQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", - "@babel/helper-wrap-function": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-annotate-as-pure": "^7.29.17", + "@babel/helper-wrap-function": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -490,15 +492,15 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.29.16.tgz", - "integrity": "sha512-dO04oKhF0qDY0xnuZPF8t34lYkuhimqJ4skwGHEPPAmtxMKH2KS5lGdIbFrgz5tQPWqtyPMBbHfpyJLQacpE1Q==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.29.17.tgz", + "integrity": "sha512-yFmWa/3E81mCG9aHvkgfgnEncEM7QrpYwl5HawGN1ZbJ0n7UgegbcVYZRB+YJraRVAxhsrgqVQXjjnojdumcSw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.29.14", - "@babel/helper-optimise-call-expression": "^7.29.7", - "@babel/traverse": "^7.29.16" + "@babel/helper-member-expression-to-functions": "^7.29.17", + "@babel/helper-optimise-call-expression": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -508,23 +510,23 @@ } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.29.13.tgz", - "integrity": "sha512-Abm4rKIH0tmCayJLwcoeOkdzpYUphTbO52fHhyEBHn7S0R+ni4epNLI/8nq1L0DN2Bl0u5qmgWm2Og/z4fBb+Q==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.29.17.tgz", + "integrity": "sha512-Qu080ZNwb6ZDozXfjjWvPTy+6dTWanQgmBHb/wIivl3yeZvvE27UWBEdn5d6U1WOide3kh+/B+7Xm0tvI/+Ygg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.29.13", - "@babel/types": "^7.29.11" + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz", - "integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.17.tgz", + "integrity": "sha512-iY5lvqFhfgMXp4o4zWads4NvQZXizBxzCoADPOgFMcMwk1XefAdBJbc9i1y94aflY57lokjOjRTa3AOOW9R7BQ==", "dev": true, "license": "MIT", "engines": { @@ -532,9 +534,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", - "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.17.tgz", + "integrity": "sha512-AG+olLB+teKhkQ2WYJeaZqJwNLjtWTz1waQIP/tEYITzVzpdHLP7IXx2c/bH2JTsNCgvWlkqdCv91xcb8lul8Q==", "dev": true, "license": "MIT", "engines": { @@ -542,9 +544,9 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", - "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.17.tgz", + "integrity": "sha512-Pr+bjfbd4TYVax16KyHVyElTnid5nbWQWQvA/dPlESoKVZ8B4eTAUhoqug/mtD9hWAEgIQIOyvjUBMI9HjdrGw==", "dev": true, "license": "MIT", "engines": { @@ -552,42 +554,42 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.15.tgz", - "integrity": "sha512-14dKROQSpuNYPw+4wpADe87YLS1VnP/ua3gKTRpEAX1ErBayLMgK/KpWbCP/uYiCSBAVGp/a7bY8MqRfFNRqOQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.17.tgz", + "integrity": "sha512-2kpH7/YkL1aHQKBOKRN5gdSkUQmvVbXl0ZIx6q5vTn2Xn6iifvZDAFJyvPfvNSiYBJQN0lMV9yn4ZVGaGqNdYw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.15", - "@babel/types": "^7.29.15" + "@babel/template": "^7.29.17", + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.16.tgz", - "integrity": "sha512-JGNbyEyvOAvceLDQoO6b/w/HbW6KX3sdWgrPCFcAyHfhfsqRoRN14vfaG3GZ90g2dVK7UEe65giopuldeimBjg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.17.tgz", + "integrity": "sha512-Q7LRJjIiFAiOtfkVBzXe4op1tQ8dXYsRsdojKzLfERndnXcmyyn9RZIBlSJzFo0O3CouXV3Tvb8AGolaDr1M7A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.29.7", - "@babel/types": "^7.29.15" + "@babel/template": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz", - "integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.17.tgz", + "integrity": "sha512-I+0olVqWMm9bimQJc/5B3jn1nivNDXtnMtDVs07XdHzZLcWa2N/mlCTPmAsQg95QcKoXSuFD2Yz4fwdtoyk7DQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.15" + "@babel/types": "^7.29.17" }, "bin": { "parser": "bin/babel-parser.js" @@ -597,14 +599,14 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.29.7.tgz", - "integrity": "sha512-j8SrR0zLZrRsC09DlszEx8FpMiwukKffYXMK0d5LmOglO7vGG6sz/BR/20yHqWH+Lnn31JTt2PE3hIWNgM2J6w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.29.17.tgz", + "integrity": "sha512-8jtzP+p4ixtQbd+yP3SYJ/T9ocGeUdgf0ZowzozebM3IEdk8iXNMcJfPUv15y3QyD0iE3kjrw8PmuNBZ0wLqZw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -614,13 +616,13 @@ } }, "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.29.7.tgz", - "integrity": "sha512-r8j8escF+U2FUHo0KOhPUdMzUO+jp9fInva6+ACVAF3Y97Ev+5iNZwiqTghmzNeWwDkOPlYuTcfb1vDaoZKmAQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.29.17.tgz", + "integrity": "sha512-bOG06fJnQdsoc0L2eQQQl7NZpuqjMrifAvf2/3RSqzh0pNg6fJYqSowZMfLAxMs6K/LqEy5r5VB/Shfo6GtRxA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -630,13 +632,13 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.29.7.tgz", - "integrity": "sha512-GE1TFSiuFeGsCxmYXZl8HwoPrVlwe4rHPFE8weieGKZqnDORK+Ar3vgWMgW+AOxQ6/2TgLSKx9p6W7O4rC6qgQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.29.17.tgz", + "integrity": "sha512-PSl5Q1XxtW8y4zuxEqBHU2HzWGJTTlglJVk9RWwUtduKUtX5l8tDiBT06oGhar0WW/3hgdRmc3LbBiEXHPGyUw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -646,14 +648,14 @@ } }, "node_modules/@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-rest-destructuring-rhs-array/-/plugin-bugfix-safari-rest-destructuring-rhs-array-7.29.13.tgz", - "integrity": "sha512-7RpEgFZq9xNRHsWwPLFQpjPOi0ZECE2QZWMBes+vgK7E02krjOfPiYtnHTIUF2nCDyeCJPvSAj0AP4NTVf4hsw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-rest-destructuring-rhs-array/-/plugin-bugfix-safari-rest-destructuring-rhs-array-7.29.17.tgz", + "integrity": "sha512-DNah44OKcoypJTyIeYM0yAYX/DToo16e2rj0bjGwcf4Kelv8XFG/GQWhWGhN/m6gp11v8GrnOQ4UiUxbOvJlMQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -663,15 +665,15 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.29.7.tgz", - "integrity": "sha512-QQt9qKHZ2sg/kivaLr7lnQr8HVrQDdBNSfCsTjiDxRuX/K5ORyKq+Bu8Xr0cDE3Dfkv0cw28Ve0EKyKMvulkOw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.29.17.tgz", + "integrity": "sha512-o8zNqHKXc467fbxtLPEnEFZedQtD5zx/UEClyg3X4G5FHrquHBcFdeUC3SlGT9b9H7Ld9yd4vR4xLbFoiMQGhg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", - "@babel/plugin-transform-optional-chaining": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17", + "@babel/plugin-transform-optional-chaining": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -681,14 +683,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.29.7.tgz", - "integrity": "sha512-pn6QacGLgvCcwc+syUhKE/qSjV2D1IHDB84RNxWYSt1mW3K/SCtjinZ2p0cETJxAWBjPy3K/1lHwG5BjjPxNlw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.29.17.tgz", + "integrity": "sha512-Ok8XJAVmprYl4HyIz+JZqaJrX3NHN2QrDScujOqz1F5wav8DnJ7Qyl0BnNGI59g94S30hLW9TrE3BaIKgd5mEg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -716,15 +718,15 @@ } }, "node_modules/@babel/plugin-proposal-decorators": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.29.7.tgz", - "integrity": "sha512-EtU0Hi3GvrTqD56xKmZvV/uCXK2ZbwVNPNLAquVItcAZpUhkXwWlo3Fmj0c2LxgSf2I8IDULeAepwNP1OefLXg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.29.17.tgz", + "integrity": "sha512-Rj1cf4Q2AOL4hG1D3ggTUXuiXvSFXM1yTExSdTkkceOLa/CeLUL4c9d7gJUPrNldahfN/Lx1Hot7kdiFICMJlA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/plugin-syntax-decorators": "^7.29.7" + "@babel/helper-create-class-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/plugin-syntax-decorators": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -747,13 +749,13 @@ } }, "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.29.7.tgz", - "integrity": "sha512-9MTTLbF39X6sqM92JPEsoI7++26hjZvzkxKZy64aMhWLH2mPkJ/Q3AV4QLmls3R14FpSpkOwQQfUh962JGQxxg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.29.17.tgz", + "integrity": "sha512-n2LsiLBBEzs1KquB1QHY3z1PbdYVPGN2rTcNEHTwOVcU/Sjkw4325yL8X6ivCWIVnkdnuFK0mCRdJ74adA4B5A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -763,13 +765,13 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.29.7.tgz", - "integrity": "sha512-/An1OCBN93thpBAGyfsK2pcf0jvju1SAtKkL2Ny++B5Sy6sqgzXDQH1cZxWbF96Wuk+bn41MDA9bLd4VVAw6rw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.29.17.tgz", + "integrity": "sha512-UA1lZTaghMx8HgkcLTkpFodJFWEbl3ICWQNNTJOFM9gFv2jxZFwLrhSYja+NS6sFY5jozkLpkcQFBcUlzJciXw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -779,13 +781,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.29.7.tgz", - "integrity": "sha512-zGYcYfq/WmZ4V+kBIXQon9dSSc8ircGZqw9ZaNhhGj9nZkeBu1jHLBDQqYYi5WA9uawvA2sIMbry2nCFhf5Djg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.29.17.tgz", + "integrity": "sha512-LAVq6GOC7+6LSgVP+aPFAyDtqb90dMNdxkAR1y6jG3rP9LTmX4BIshEDV4o4CczrlHv5UL/dXfUK9DnigphOBg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -795,13 +797,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz", - "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.17.tgz", + "integrity": "sha512-HfwdKDLVNg6KjRb2z1QSkQC1EP0YIYQhg83vps+JyqOIrX9ZoVhcTYt9yeFkTy5U/iSRXRvW4S59sl/0eej5VA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -811,13 +813,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz", - "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.17.tgz", + "integrity": "sha512-C1v4jKWUnV9aoCTbc7YSmxKflPzi0Geuh+mc7xuLSpNiRr3mO4i4elL8u97Ij9XKj9Iqy2aFnc1l1AMWL4DhbQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -844,13 +846,13 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.29.7.tgz", - "integrity": "sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.29.17.tgz", + "integrity": "sha512-q2MPYTsdY9ct1Iae6m1Dzs0H0PkDoavQtTtEvnvUdkE2xr8pcMnHLNVEdzH9KCDKg7fGxxQgir8mZhpQCIYTcA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -860,15 +862,15 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.29.7.tgz", - "integrity": "sha512-d98gXZkgswvkyohMBABkhm3GeXhYj8psWfwQ2C7gtfrKGTykQa/iOIi+JJhwMjPlZ6Vm2XN+DCf3Es1EoG4ZLA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.29.17.tgz", + "integrity": "sha512-GYhyjAK/sXGs8H941mFVH+Z69nta9jSN1tGY48MJB2xwSc4jQPnNDsRGhcHBFJ8uR3os25sC3r9zdvFhH24FvQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-remap-async-to-generator": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-remap-async-to-generator": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -878,15 +880,15 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.29.7.tgz", - "integrity": "sha512-pcUb2SS+RMo9TWVBwKGI5ShtoG7R+zBsFmCKDa6fe8c+hPr3XJlZgoE5j6i8W7gDjhyvy+85vmYexanvXh3d1w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.29.17.tgz", + "integrity": "sha512-gjOtlu+GMs2WR9zOFNzQTbx5IYAtchEyfolBsYP01iuF0FFz4b9MeSb5cp7MwVcFoFuavaO+EfjB+0pgBtfS/g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-remap-async-to-generator": "^7.29.7" + "@babel/helper-module-imports": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-remap-async-to-generator": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -896,13 +898,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.29.7.tgz", - "integrity": "sha512-cUSmjh72N+rN4PrkFlN1dJwNCwjVp5d38/CQrEsFggkD10UiFlBFgdH3tv5dNsLuHY+3S8db2xCHjhZcv5WgvA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.29.17.tgz", + "integrity": "sha512-Rrjn6t0ItbnLcA35jPK68I8uWxOnA1EsFi7BkLHYQ7eQ9s3FM8JKtiv3FOHKKZVxJfxXkKlmhAQXK2ECfDG4pw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -912,13 +914,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.29.16.tgz", - "integrity": "sha512-LRtPA4rwT4hkuvoFk/0l32acTAiXVOf58JwsyMcf+3vgKGu7aThsPb/ukWyWv5JfaLe3+StkkkxYLB8peYdZcQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.29.17.tgz", + "integrity": "sha512-nUSscxaV0qMvS/ZR4Lc7dXBWcz/PwISV1pySs5xhxRuuWkRGhH7W0/hk/8LojZPgG4r3+rMIFGU8+oaRDBR6Rg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -928,14 +930,14 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.29.7.tgz", - "integrity": "sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.29.17.tgz", + "integrity": "sha512-bAPPnc6aGv3QzTkKV97Kodh2cruhycr0B9bFq8AGsQm81PyCSG+lcBCmdRtYAhvpKz+xno7REssecXrmrk6qbA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-class-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -945,14 +947,14 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.14.tgz", - "integrity": "sha512-4rr6WKSu9DzMYpcTlbjHw6hFRk0Gkys3D54mqNE4tOyYQFOTrf3RBhntYH62ec/fbvgGEVATh5cqGZjM2Yc3gw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.17.tgz", + "integrity": "sha512-B53EzbzOZgeW+5IE3wv/MWMaPIlpZNuwY1kd0PMGBVr2nmP5ELWZJ8wywgBlfUxLgX97rZNW6j6ljenQUZtK1g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.29.13", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-class-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -962,18 +964,18 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.29.16.tgz", - "integrity": "sha512-Tg70GK4ewfbGY6sfu8/F+S5rv6Wc8iJFirHbvZ494JCOcSjr5qPXLJbfZruMCsLh8FLqdpWq1S/9gzVpnt9ssw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.29.17.tgz", + "integrity": "sha512-BJZSyh8x5BdNV4LM7gyU8i29vb18R9jpAw/hLPOWPRnmmHblFnlNeu/F+zq638/Bqt1/Gp7BEomQU+142ckbbQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", - "@babel/helper-compilation-targets": "^7.29.13", - "@babel/helper-globals": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-replace-supers": "^7.29.16", - "@babel/traverse": "^7.29.16" + "@babel/helper-annotate-as-pure": "^7.29.17", + "@babel/helper-compilation-targets": "^7.29.17", + "@babel/helper-globals": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-replace-supers": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -983,14 +985,14 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.29.15.tgz", - "integrity": "sha512-7KXqHuNE6FMjtFW8mDbc6VxIN96wz5+3AtHCZMAU6onPLM5p4M3u+G35EildFczRQotAZjDvDjEPD/wGNPAPAA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.29.17.tgz", + "integrity": "sha512-8NE8coilcPpSRsqp9Ioufl6DQLPdtAW2+ay5Ke6mqeJLlutyJrHlaZnFLh2gG5FU+YvFBeFZK7mWg/PVnJO2gQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/template": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/template": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1000,14 +1002,14 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.29.13.tgz", - "integrity": "sha512-X2meXB39NOPPmmshSRJzyd50hX9uCzbscNQwVCjLCtq363PZIJFFxJIeZPpgAewC570vpdeGIHTcltwd0QUlJg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.29.17.tgz", + "integrity": "sha512-iebptXn9fRatXQ/t0TsrZXll2WOqnoGE4NnYmTTOIJ5rto5UQOy/UJ4zfwhk39DwEwl1wWgLd1I183H2SSB3Cw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/traverse": "^7.29.13" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1017,14 +1019,14 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.29.7.tgz", - "integrity": "sha512-3qc18hsD2RdZiyJNDNc7HQpv6xbncwh8FYtxNFFzclSyh/trPD9KkVR9BDECUjDLvb7yJVF15GfYUuC+LMkkiQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.29.17.tgz", + "integrity": "sha512-iqLxKeSRciKpLRladclQ9xFA4kRkeKuFtU9o0HuHJXO9ssgctwqjPwGMNmqr1eibry60h5tSw2PtRZ5x/TLcrg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1034,13 +1036,13 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.29.15.tgz", - "integrity": "sha512-iv3sO0YBzp3QEmnY5yg2OydUp6TbfvdBtOojKL2Jp4BcgHs5ewbuq73YJNlDDLgRV2B6sTDbOEeONigLmzdIAg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.29.17.tgz", + "integrity": "sha512-w7oGKMEvyJV3P7stk2ERELBagPjkn9aawjLeTnfPZ2l8LB4+JCutQGiTP3Bc6rwvdHIGTtJyyKQjgK3/SyV4NQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1050,14 +1052,14 @@ } }, "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.29.7.tgz", - "integrity": "sha512-2wiIyo2BjtgU7HufSeDnL9L2O7zr8jmhFKuSr65VpRkUiRKRNpb0mdlk56+XPPKoIrfHqzbMuglDvZun0RISsA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.29.17.tgz", + "integrity": "sha512-APR4PomE5QAbQ9dNhTipDecw/JiiEOOd8dO9t17X8M2GsZvxfmgdmx2Erwpb/Q7lX3miVpEViVvKwefuGGpmpA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1067,13 +1069,13 @@ } }, "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.29.7.tgz", - "integrity": "sha512-giOlEm/EFjfjr+te9NsdjkUo2v4f8rS/SXPumRVHAtbNcyNlvtREkU1dZzaIDclNpnaVhlCqRdFKhJBjBikzLg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.29.17.tgz", + "integrity": "sha512-eFBofeV+TMF2mLxkyGWL3yTYqwjX43v5BP5i7lGEVbKZPupLOrQuHrz6KpAYq0JA5oMRYfgkdAQ/PtdZFa984w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1083,14 +1085,14 @@ } }, "node_modules/@babel/plugin-transform-explicit-resource-management": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.29.15.tgz", - "integrity": "sha512-vucdtV+NaX38S/D/Yf7MfF0txyyOrV3Mb8nPjJMyqe3PnzvyhK1/Y1FTrNw0hRKD/DdXHxX6ECsDn7RMB5AfaQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.29.17.tgz", + "integrity": "sha512-kqsd+xyA/2FFhhnJrdoaBCb1dmsPnGA23mD8YV/gUQd1n/4dulxksX32peqne5Yl48ehPofQCYvl7L5aFsFNEA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/plugin-transform-destructuring": "^7.29.13" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/plugin-transform-destructuring": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1100,13 +1102,13 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.29.7.tgz", - "integrity": "sha512-zFpMOTLZBdW5LfObqcSbL6kefg4R4eLdmvS0wbN9M6D5Mym/sKm9toOoWyVOa+xDjvCnuWcHls2YonXwHvH3CQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.29.17.tgz", + "integrity": "sha512-NWti5xxKeoUSIr7K6dCxYTR35ca40QDJMh51AGmzViJqCX0ynJAA90vozSdaYgRmPSpIx/sMbLaVh2KCLYRi6Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1116,13 +1118,13 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.15.tgz", - "integrity": "sha512-wUo8dEPcDN/gO5/ZoNLDcAFqbJ//idBuMpprfa7NAZ6+Y3PRShTNLcgnKnBAW6vnEDMHiPDwDi62mM90qz7mcQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.17.tgz", + "integrity": "sha512-lVj1+lRiOm2RC9SVOFJ8gslt5XWJaJofEFdqzDakbEw6ImtmuJqPVcPnJwofPq16o0zTXaRKNdvWmkIy/ASblg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1132,14 +1134,14 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.29.15.tgz", - "integrity": "sha512-JHa0QfVEG23goXwV1j8HT31EEIZ8nUJBKNTJ/UU1AwfRqY+7xXBEg9M61Tbz60sxKomE2MQBA3vovEbplL964Q==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.29.17.tgz", + "integrity": "sha512-biX//ow5MvNtYDTzmrn/CBkvCagj3sBCtYbvnz4ID1pjOh9jcH/M+j2ExNijIH0m8gMRrI+JZUVLLA8UHEj2iQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1149,15 +1151,15 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.29.7.tgz", - "integrity": "sha512-otRWaHXE6fbAGkePvaj/kvs3HsqXfPhlnzwSOlnFgbqCPMd975dW+4wZ00WFBt+/YlBGcJwNrARQTOJOb4ZrIg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.29.17.tgz", + "integrity": "sha512-4IUF7769cOCnc44O/QAFDHkl/tT5CuMW220NVSNEf5WTiMubN2A6R7dSKS58LuyuJHsUHg4z++nGGCGcclhyMw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-compilation-targets": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1167,13 +1169,13 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.29.7.tgz", - "integrity": "sha512-RRnE2+eon1rJAq8MnoF1b5kTpY1vU88twHcvcKMrsqP/jxIRqDVs9iJB5fqPuqyeFAW0wJo4MlUIPpQCq/aRsg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.29.17.tgz", + "integrity": "sha512-wESwmOL8vIlODnh3ML4jRj/qmexmF6JOYJItxZm7VV2dddmfQliS4pjVvT0o6dQ7bRKv/pflWsUQc/6ayDixDw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1183,13 +1185,13 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.29.7.tgz", - "integrity": "sha512-DZ/oLP21ZuWx1vKqnoNv6/tvEK48AQOBRai40CX9dTjGluvT/YZCyY3rryDtyUqCEoyNroy5KKPwX2iQCiRvyw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.29.17.tgz", + "integrity": "sha512-9+dpLK5HnTpCSqgRhIEqmy5efBd82wwIWYYA6W+sUhoT9ICFHloD6UYR0hCYfJJMKJS+p6j7rCRXV+A268sTtw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1199,13 +1201,13 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.29.7.tgz", - "integrity": "sha512-A0H91hh6W8MFRkp5TqJmMr39jzGD1A1E1Ysiv2O06Sfbhkapm+XyIzxWCEh5kqwOZ1/8QZ0dY3SeQ7XBqfJd5Q==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.29.17.tgz", + "integrity": "sha512-XNVE+kwpsqhkyhiqQ4TIhuBD5z1sDpp0i9AlZwoeTJQjEgOjO/FsNZawlQ35Ohex3cLwNGog9T76a8pagdF5Ag==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1215,13 +1217,13 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.29.7.tgz", - "integrity": "sha512-hl1kwFZCCiDyfH25Xmco9jTrkPgnS9pmOzSG7W5I4SaGbLeqKv417hcU2RKmaxoPEgsoJh7ZPOrnPGq99bHoUg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.29.17.tgz", + "integrity": "sha512-IT8hmtSjwfIymQ4/sYSs5Ni5hp1uTi173U9G2NTcNPd7b4Crt4fnsIvXcMaBBuXirqkudgdidEGH6eXvd6FGFw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1231,14 +1233,14 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.29.16.tgz", - "integrity": "sha512-lYgLdLcLwe842v1oTZcoKAhoJ8EOonaD9wuwAn65fklAuOMwrdaKn2/SsO13w3APrdpFpET4osd8vX1whC2C7Q==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.29.17.tgz", + "integrity": "sha512-pWJUQqVnUdcIIErXDBgbiGbgraz/hc95/RtdqyGyUf4c8KDEVQ/4lFKWz8Q62uipq3+yYMjhCfwiSrGNntBTPw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.29.16", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-module-transforms": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1248,14 +1250,14 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.29.16.tgz", - "integrity": "sha512-bQgsq3VGgNZLoEaT3EA5cH9t2cEbzZWrmaEBPCeDG4SnaXjO0WKycCbOfl/+QKxy8mnja+O+5/YhL/EHdEZrmw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.29.17.tgz", + "integrity": "sha512-pm8Y/ei0BNKnQDlgBxt1Gdh6nD+ulWB0xooAADgiT8TTXXPxDzU93F2OraEfei2s2X0UFvFExc4Ag9A5GE4XWQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.29.16", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-module-transforms": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1265,16 +1267,16 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.16.tgz", - "integrity": "sha512-/qgrtXJxPMfjsYXPFbxSrfwfzWFt2mDI2nyvywCiUYlE9GmDBA4YHU7tq5Pm6IY8gKT1OluPfMgtYgxQaXLmtg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.17.tgz", + "integrity": "sha512-BpPzdCkJTHguUouCuc0S5+35OMzkvSXysD6082AhtoIL74NCJJkvAQNmYiF9hEkQzl+Xo8p5Vq1S3U7FIWxwgQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.29.16", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-validator-identifier": "^7.29.7", - "@babel/traverse": "^7.29.16" + "@babel/helper-module-transforms": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-validator-identifier": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1284,14 +1286,14 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.29.14.tgz", - "integrity": "sha512-R9DargOyEaXhrsZNsUTof3RUxZupSpSmwQ58emYbmdUa/aMrZE/mLpeEZjze4RnijUyivyjJnLa/hbVEB7sy3w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.29.17.tgz", + "integrity": "sha512-LUwkZJRe1p7xUYSx8EYBThjT7xdNhFUUEHoTJAdDIRoIcxNmEWZRBiKKUvTm+w59SFF6V2tnaeH0kjEwGymHug==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.29.14", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-module-transforms": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1301,14 +1303,14 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.29.7.tgz", - "integrity": "sha512-vuFoLwr4qnv2xbZ16SQd6uPcH5FNrLHhk/Jzo++0XJFcaDsr4gjJVg6j398oMHiC+83k/GiBzviwF5KBJkPUtQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.29.17.tgz", + "integrity": "sha512-TeLMadZJwUx9DXETgUsGNNRJ0tiRBLyCEduJxgqz0euez3cw5OhXp9ooCnkfOSNMZ5kzSXhJXPp6b6s2Tz+rnQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1318,13 +1320,13 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.29.7.tgz", - "integrity": "sha512-fEo41GmsOUhOBlw8ioo6zvjX5Xc2Lqkzlyfqbpsk3eB6TReV18uhxZ0esfEokVbY2+PVJAQHNKxER6lGrzNd3A==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.29.17.tgz", + "integrity": "sha512-BjpKlXJ+feuIux+ctjdXJHsdM7syyMgXJbYBKAq0Pil2Y9kG0TtXjC+u7wQm3MHHPHHo8WWx2I8McBrPxSQ+Hw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1334,13 +1336,13 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.29.7.tgz", - "integrity": "sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.29.17.tgz", + "integrity": "sha512-hFUy6UxMqhaJSSaSKlBOPreiWWQQV0/W03nS3WSqe14LwLpbeZcvF/HTSC32Njd61JbJS9nGnadGqQB7qPeIVQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1350,13 +1352,13 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.29.7.tgz", - "integrity": "sha512-zR7fv/z14OjgHl4AgRtkDBvBMhIzCxqV/qN/2BCRC7LjFwvuzjYe7gDWxC4Wl/SNsLM6SE1IWvRPYMgSJaUvNw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.29.17.tgz", + "integrity": "sha512-Rmt/dkJf/+xTxlFa/ZrxKp+p/TdQut3x8u1g1w0gNzqXjRvlKsHKZv9oPy/veGZGjEczcLzw4Cry5o5PmuuY+Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1366,17 +1368,17 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.29.7.tgz", - "integrity": "sha512-Ld98jn4c0smUywL57m7SgsHq3OpThOa6LqZJif3G6jYOovPleoFhVrBJ1WegRApSFB2wu4+RelAj9AC9G08Z4A==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.29.17.tgz", + "integrity": "sha512-Po5+rRF461T40ARmQUMBuWW+ciqvezMLopf4n2GS6AR/MCVYkMB96nSUmRjMwsZiU9yWSef7Bu9pi3fXTe4F+g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/plugin-transform-destructuring": "^7.29.7", - "@babel/plugin-transform-parameters": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-compilation-targets": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/plugin-transform-destructuring": "^7.29.17", + "@babel/plugin-transform-parameters": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1386,14 +1388,14 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.29.7.tgz", - "integrity": "sha512-Ea/diGcw0twB5IlZPO5sgET6fJsLJqPABqTuFWIR+iMPGPZJkATEIWx0wa+aEQ5UY1CBQyP/gkAiLEqn1vBiQA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.29.17.tgz", + "integrity": "sha512-yruEO4LT5rpkNA65Sp0f6MQO/ioPjvlyoJPj9ghrbmYzmLpF4B3bxTtq90ydy++MxWqkIBoIXWA40h013jM/NA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-replace-supers": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-replace-supers": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1403,13 +1405,13 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.29.7.tgz", - "integrity": "sha512-sLsyndxK2VwX6yNUOakMb7Sh553ZTe/vVM1XJ+9Z5aW1ytsc8xOIwmyk05NNjN60vkc5/KqoTH6hB4V41LJhng==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.29.17.tgz", + "integrity": "sha512-62+soYiJwm7GqbTsejo23BAASW3lC9x80lJqrEPbDv5P/JNq0D6FEt7mfQkNrr0HRZBG7NOV81FtuSdPru31/w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1419,14 +1421,14 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.29.16.tgz", - "integrity": "sha512-A5R2n4cBu9Rr7jLcu+2N1O9TrbiFOKyD07XU7j7dqYjwRWan3oQEwviEgyf73mLu4Nn/aHg1CJSYot6fsVcoSg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.29.17.tgz", + "integrity": "sha512-RY0fenokpzl4GF1zXdWd1c7gPvInnbIQBh9SGlp3VJrcbZ12ZRXijlMMtehTpFsPum/m+7T9j6ZjIBMN9b1KhQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1436,13 +1438,13 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.29.7.tgz", - "integrity": "sha512-ZDOBqV/qLYJI0YElr8DcENEyARsFQeESqWXH6gZlghYXuPPjvweuDhP4VyEi4BlUBlLRFZVjxoZDMjxhLW766g==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.29.17.tgz", + "integrity": "sha512-AB4p3TS9gGPJnVOWOTFzA0r6JZCQVIonmgBhuGaxUIRPIkR3H91mCxOyFy4nLx/6GxOQ+dVoav1I+aNeKEX4rA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1452,14 +1454,14 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.29.7.tgz", - "integrity": "sha512-/6Rz4DK1ETDEM/bWHsPHcaEe7ZaT1EqSXjtSP/L0DijOYuaUhiRiOKcwpZ8P7zR4xXEHc2ITdiCgBm9Tpyv9ug==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.29.17.tgz", + "integrity": "sha512-pvDf/4JPHHI+qCf/An3PNpqWgPi5nrMTJhF1VQ6TwehNSx8UUALYkeVPoW3mVSdWi88up+OwKCrP3P1EZXY0OA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-class-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1469,15 +1471,15 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.29.16.tgz", - "integrity": "sha512-GcfGRfUwktYNUN4WAzWBxP2dnXzbgWMGHTlH9pQgoRo6hJ3gGo6KVmVLrW+ziOf9uia8UeXHm0+jOCSgXGCy7A==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.29.17.tgz", + "integrity": "sha512-aL+JlLI+FjgHpMVd6NIMPHKBfEcwA7rfD53knSIUVc4RfqTArr/WyGd7AFEGuew/VgJPJZZThgxDqy0HKFmSRw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", - "@babel/helper-create-class-features-plugin": "^7.29.16", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-annotate-as-pure": "^7.29.17", + "@babel/helper-create-class-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1487,13 +1489,13 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.29.7.tgz", - "integrity": "sha512-bOMRLQuI0A5ZqHq3OWJ89/rXpJ/NJrbVhXiP4zwPGMs6kpcVsuTUNjwoE30K0Qm3mf48a/TnRYYD6vPNqcg6jA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.29.17.tgz", + "integrity": "sha512-O/ABojCLBDgi1UkuY/tZPRgd1TZp+8DaNCZUXSaqctopv06RWnNseDlYdGjsPJy3jM4u6eUPCy/9kTIv8psQdg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1503,13 +1505,14 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.29.16.tgz", - "integrity": "sha512-p3vpw4U5390ReOyc6s0dBMsf7EolYD0t5v8uJ+EXo6Bu39bgh2WLRAgvhiBhWEGyLjzRLMJN/itLg0z0ENWzEQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.29.17.tgz", + "integrity": "sha512-eYOeX3AUcgvVatFST0l5R2a7J71sCqkckgB1+I8UT+cQrixj2XKvC/el/zu/2Exe3o8IhmTJ9dBwCUW8DDXr5A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1519,14 +1522,14 @@ } }, "node_modules/@babel/plugin-transform-regexp-modifiers": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.29.7.tgz", - "integrity": "sha512-mB5Fs0VWrJ42ZCmc8114v60qetdaUVNkj9PmSZRmanCZM3S9hm0CFRLjRmYIsuXav14l2jvZ+4T8iiCGnhj3nQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.29.17.tgz", + "integrity": "sha512-mPG8dYn4XF4s2UJjGiAJxUI0YhYRaE9W9OsX9YTSZXFymRaSiC3xOSkITw66ImmP+cam5qYa/W85MNDT4M+iPA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1536,13 +1539,13 @@ } }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.29.7.tgz", - "integrity": "sha512-5+YhdpVgmfSmwZyLMftfaiffLRMHjzIRHFHHLdibcSyJm2pasMrKHrO3Ptrt2DRshjvpgjEJJ1zVW14WPq/6QA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.29.17.tgz", + "integrity": "sha512-rXP/0AGqDzOakfegZpdy0d3aMS5cI7aH8r1tp24M/lYI+tGD9LXWOFf9PqU77WqHNKwEItQfRWFGxE595WBOPw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1552,14 +1555,14 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.29.7.tgz", - "integrity": "sha512-xmAscdE/AsqRW7vutbPNoUmu/nF5SrLKPs7aoJgEjo35lLKA/Bc0i2rMv/hr1+Y0o1bQCiVtith3u2vdgRL39Q==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.29.17.tgz", + "integrity": "sha512-HK58VCV1C2SUxn6nVUCELHpZ8wsy7w4pSoZ4TkmFLeN1P4HzZpRdoq9v9DMRYBZD4+tyDoTqkyvU+sVbaiMrEA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-module-imports": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", "babel-plugin-polyfill-corejs2": "^0.4.14", "babel-plugin-polyfill-corejs3": "^0.13.0", "babel-plugin-polyfill-regenerator": "^0.6.5", @@ -1573,13 +1576,13 @@ } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.29.7.tgz", - "integrity": "sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.29.17.tgz", + "integrity": "sha512-Ip4Jg7tcuIj6fS1vHZPW5EWKqoAaojBKXhN+nkIVWP3jZROJj2w4CkgCTgR3YGLLYfoD6HBhE6RESr3DxeZimw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1589,14 +1592,14 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.29.16.tgz", - "integrity": "sha512-hGstg/Knidvmmt6YCIZMQ1WvSp1bMaevQBml5tZ7paNZ1kGLDcq8vPls+wCkp5EHE3HhQciiyg2dmW/lSMgr1A==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.29.17.tgz", + "integrity": "sha512-HTugAMid6Pb5OVY24Pde7daQqxJUlkFnX1RjLUEbSwKZ5bzwc9N+/c3EtodMvINIyGDlJ20sM+I9kc1CkzRS5A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1606,13 +1609,13 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.29.7.tgz", - "integrity": "sha512-BCHzNYJGe9l7EpwwDBN/ztlL2NYFFq8hp9ddjtUEM9f2O7S7kKV/lL6Fwo7IF7NSkYhPK2vO+86nIGltA90MsA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.29.17.tgz", + "integrity": "sha512-N1uO0PX1nQIKO5S5GYc4u7O1a6b0JbVYJvtCgOqgckMdLILUDjfIs/zenF9KAAqSfEWkZOcIMLLt6KIueUIDEw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1622,13 +1625,13 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.29.7.tgz", - "integrity": "sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.29.17.tgz", + "integrity": "sha512-FP1wNBcgqBxy5Yun/enep9Qv2T8ur02ObbM+o/TJvwH1qOfqWJTA5G5n+jxjhLOMm5LRA+mjjOhzan3M1RrYEw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1638,13 +1641,13 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.29.7.tgz", - "integrity": "sha512-223mNGoTkBiTEWFoK+Q6Go3tueMRclO8vxxxxquNCYuNI4jWOofFKJRRDu6SDrB8Sgo1UEGW9T4GAQ8ZyRso1A==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.29.17.tgz", + "integrity": "sha512-4PWdL3zRYJKtUJ7rCBq5SjmJa+sl0V7C9CsipCrwycPtfmcBmLqI57QO6nlplj5icCkr3MoMeKFe2va3qDbNmQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1654,17 +1657,17 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.29.16.tgz", - "integrity": "sha512-wH2gjNIPmkinpBNvOys3boTY/8uyzP1ER8EbmURCf7auJ+DSWboT2OiOs4DBFbsGM0k9hAburELJqw/d4xvgWA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.29.17.tgz", + "integrity": "sha512-n6zjiDiKZwII0iqSv5o9qW92Yy4R+5+vryrkp3Rcx5AQbQWOi8XF4VDYzfBCDWf/lD7b1h7pGxDXR2ORiobBVg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", - "@babel/helper-create-class-features-plugin": "^7.29.16", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13", - "@babel/plugin-syntax-typescript": "^7.29.7" + "@babel/helper-annotate-as-pure": "^7.29.17", + "@babel/helper-create-class-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.17", + "@babel/plugin-syntax-typescript": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1674,13 +1677,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.29.7.tgz", - "integrity": "sha512-jCfXxSjf94lf4E0hKE0AByxF6F3/pVFqRdUUNkDJhsY0m1ZKjnN6ZYyMeHNpzflxb/0q5b7t3p+BE+SLF1WOtA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.29.17.tgz", + "integrity": "sha512-jYKefjRRdWw0lgwGTBE8DdC1c7cnZApeRPGxVkXJ+aDCmup4uyEdeMY/bzy/X3+aSg3Rlf3o30X3whqOedXCKw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1690,14 +1693,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.29.7.tgz", - "integrity": "sha512-OgZ+zoAJgZLUCunsTRQ5LAjOywDv5zzZ2/hQ5aMw1pGXyY2rtE8/chXYUmu3AlVHKpm10KEdG9aMwbI/K76ZGw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.29.17.tgz", + "integrity": "sha512-EOLDjq6FzuPVbfoJO2ad9PmegP5lfJ/O6Fi3l2ZK4qaUZeIaz6Qas51w3CMTYcZrZMnOuhNFGdr3J90qUBlxgQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1707,14 +1710,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.29.7.tgz", - "integrity": "sha512-7D/x/23/d/3VqZ0QA+LGbZMlGwZjztBygSWWWsfTPoQ1oQ6Q1P6Mr3d0kk42XabyUVw+fha3LqdRsFqeKqvCyA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.29.17.tgz", + "integrity": "sha512-blvNpLZuO4qmj9oMakw/fDhiTxFUDmgR3kd07yRPIPDXR1cWBUdMeYs8amgAp5W4UUWgp5sJ0TODd71WNbAuHQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1724,14 +1727,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.29.7.tgz", - "integrity": "sha512-BLOhLht9DOJwIxlmp91wHvkXv1lguuHS3/FwUO8HL1H0u8s4hR1gASVFyilu9iGtcTRYqjTZmlsFFeQletntEg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.29.17.tgz", + "integrity": "sha512-8dh2fnyWihUCt1FtlzbJ37SzZfkgMfqP2I/3KZbRdbZ03xt/3wwQTT7yNfgieJ3svh2VIGObVWmj7PjltPW+DA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.29.7", - "@babel/helper-plugin-utils": "^7.29.7" + "@babel/helper-create-regexp-features-plugin": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1741,77 +1744,77 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.29.14.tgz", - "integrity": "sha512-Vigj5vlTvQVUUzw5geGRE7SLQ3wEDHWP00PMxmM80eWNUfLPCrvaKttN+bqqu6ev4g+GJ24ILel4stUN+DPAUw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.29.7", - "@babel/helper-compilation-targets": "^7.29.13", - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-validator-option": "^7.29.7", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.29.7", - "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.29.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.29.7", - "@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": "^7.29.13", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.29.7", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.29.7", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.29.17.tgz", + "integrity": "sha512-LQ72QZm7CZDM/jFE+iDkREhftXu1RIMYz3XZ0W47bgemlfp9vYlLIu/22LE/FwOopTSOIqMheuOgwMlxD/TI/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.17", + "@babel/helper-compilation-targets": "^7.29.17", + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-validator-option": "^7.29.17", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.29.17", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.29.17", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.29.17", + "@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": "^7.29.17", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.29.17", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.29.17", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-import-assertions": "^7.29.7", - "@babel/plugin-syntax-import-attributes": "^7.29.7", + "@babel/plugin-syntax-import-assertions": "^7.29.17", + "@babel/plugin-syntax-import-attributes": "^7.29.17", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.29.7", - "@babel/plugin-transform-async-generator-functions": "^7.29.7", - "@babel/plugin-transform-async-to-generator": "^7.29.7", - "@babel/plugin-transform-block-scoped-functions": "^7.29.7", - "@babel/plugin-transform-block-scoping": "^7.29.13", - "@babel/plugin-transform-class-properties": "^7.29.7", - "@babel/plugin-transform-class-static-block": "^7.29.14", - "@babel/plugin-transform-classes": "^7.29.11", - "@babel/plugin-transform-computed-properties": "^7.29.7", - "@babel/plugin-transform-destructuring": "^7.29.13", - "@babel/plugin-transform-dotall-regex": "^7.29.7", - "@babel/plugin-transform-duplicate-keys": "^7.29.7", - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.29.7", - "@babel/plugin-transform-dynamic-import": "^7.29.7", - "@babel/plugin-transform-explicit-resource-management": "^7.29.7", - "@babel/plugin-transform-exponentiation-operator": "^7.29.7", - "@babel/plugin-transform-export-namespace-from": "^7.29.7", - "@babel/plugin-transform-for-of": "^7.29.13", - "@babel/plugin-transform-function-name": "^7.29.7", - "@babel/plugin-transform-json-strings": "^7.29.7", - "@babel/plugin-transform-literals": "^7.29.7", - "@babel/plugin-transform-logical-assignment-operators": "^7.29.7", - "@babel/plugin-transform-member-expression-literals": "^7.29.7", - "@babel/plugin-transform-modules-amd": "^7.29.14", - "@babel/plugin-transform-modules-commonjs": "^7.29.14", - "@babel/plugin-transform-modules-systemjs": "^7.29.8", - "@babel/plugin-transform-modules-umd": "^7.29.14", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.29.7", - "@babel/plugin-transform-new-target": "^7.29.7", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.29.7", - "@babel/plugin-transform-numeric-separator": "^7.29.7", - "@babel/plugin-transform-object-rest-spread": "^7.29.7", - "@babel/plugin-transform-object-super": "^7.29.7", - "@babel/plugin-transform-optional-catch-binding": "^7.29.7", - "@babel/plugin-transform-optional-chaining": "^7.29.7", - "@babel/plugin-transform-parameters": "^7.29.7", - "@babel/plugin-transform-private-methods": "^7.29.7", - "@babel/plugin-transform-private-property-in-object": "^7.29.7", - "@babel/plugin-transform-property-literals": "^7.29.7", - "@babel/plugin-transform-regenerator": "^7.29.8", - "@babel/plugin-transform-regexp-modifiers": "^7.29.7", - "@babel/plugin-transform-reserved-words": "^7.29.7", - "@babel/plugin-transform-shorthand-properties": "^7.29.7", - "@babel/plugin-transform-spread": "^7.29.11", - "@babel/plugin-transform-sticky-regex": "^7.29.7", - "@babel/plugin-transform-template-literals": "^7.29.7", - "@babel/plugin-transform-typeof-symbol": "^7.29.7", - "@babel/plugin-transform-unicode-escapes": "^7.29.7", - "@babel/plugin-transform-unicode-property-regex": "^7.29.7", - "@babel/plugin-transform-unicode-regex": "^7.29.7", - "@babel/plugin-transform-unicode-sets-regex": "^7.29.7", + "@babel/plugin-transform-arrow-functions": "^7.29.17", + "@babel/plugin-transform-async-generator-functions": "^7.29.17", + "@babel/plugin-transform-async-to-generator": "^7.29.17", + "@babel/plugin-transform-block-scoped-functions": "^7.29.17", + "@babel/plugin-transform-block-scoping": "^7.29.17", + "@babel/plugin-transform-class-properties": "^7.29.17", + "@babel/plugin-transform-class-static-block": "^7.29.17", + "@babel/plugin-transform-classes": "^7.29.17", + "@babel/plugin-transform-computed-properties": "^7.29.17", + "@babel/plugin-transform-destructuring": "^7.29.17", + "@babel/plugin-transform-dotall-regex": "^7.29.17", + "@babel/plugin-transform-duplicate-keys": "^7.29.17", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.29.17", + "@babel/plugin-transform-dynamic-import": "^7.29.17", + "@babel/plugin-transform-explicit-resource-management": "^7.29.17", + "@babel/plugin-transform-exponentiation-operator": "^7.29.17", + "@babel/plugin-transform-export-namespace-from": "^7.29.17", + "@babel/plugin-transform-for-of": "^7.29.17", + "@babel/plugin-transform-function-name": "^7.29.17", + "@babel/plugin-transform-json-strings": "^7.29.17", + "@babel/plugin-transform-literals": "^7.29.17", + "@babel/plugin-transform-logical-assignment-operators": "^7.29.17", + "@babel/plugin-transform-member-expression-literals": "^7.29.17", + "@babel/plugin-transform-modules-amd": "^7.29.17", + "@babel/plugin-transform-modules-commonjs": "^7.29.17", + "@babel/plugin-transform-modules-systemjs": "^7.29.17", + "@babel/plugin-transform-modules-umd": "^7.29.17", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.29.17", + "@babel/plugin-transform-new-target": "^7.29.17", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.29.17", + "@babel/plugin-transform-numeric-separator": "^7.29.17", + "@babel/plugin-transform-object-rest-spread": "^7.29.17", + "@babel/plugin-transform-object-super": "^7.29.17", + "@babel/plugin-transform-optional-catch-binding": "^7.29.17", + "@babel/plugin-transform-optional-chaining": "^7.29.17", + "@babel/plugin-transform-parameters": "^7.29.17", + "@babel/plugin-transform-private-methods": "^7.29.17", + "@babel/plugin-transform-private-property-in-object": "^7.29.17", + "@babel/plugin-transform-property-literals": "^7.29.17", + "@babel/plugin-transform-regenerator": "^7.29.17", + "@babel/plugin-transform-regexp-modifiers": "^7.29.17", + "@babel/plugin-transform-reserved-words": "^7.29.17", + "@babel/plugin-transform-shorthand-properties": "^7.29.17", + "@babel/plugin-transform-spread": "^7.29.17", + "@babel/plugin-transform-sticky-regex": "^7.29.17", + "@babel/plugin-transform-template-literals": "^7.29.17", + "@babel/plugin-transform-typeof-symbol": "^7.29.17", + "@babel/plugin-transform-unicode-escapes": "^7.29.17", + "@babel/plugin-transform-unicode-property-regex": "^7.29.17", + "@babel/plugin-transform-unicode-regex": "^7.29.17", + "@babel/plugin-transform-unicode-sets-regex": "^7.29.17", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.15", "babel-plugin-polyfill-corejs3": "^0.14.0", @@ -1856,17 +1859,17 @@ } }, "node_modules/@babel/preset-typescript": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.29.16.tgz", - "integrity": "sha512-WBpmSQeUIhKvQ6fDgXhuAAvNLgOQbtKlZJHCOw/1Ptq9Tv74bRoex3g5H7f0voMKWmqnAht0dKXKIrn8lQyaKA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.29.17.tgz", + "integrity": "sha512-ry3D6biT5YX41N65zAZshkDpuCY++34ueyVceTnqDL/x8Xt9byMsbDSkBgpTljS5HSsFx4TZmbTLq8xwCN1TBw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.29.7", - "@babel/helper-validator-option": "^7.29.7", - "@babel/plugin-syntax-jsx": "^7.29.7", - "@babel/plugin-transform-modules-commonjs": "^7.29.16", - "@babel/plugin-transform-typescript": "^7.29.16" + "@babel/helper-plugin-utils": "^7.29.17", + "@babel/helper-validator-option": "^7.29.17", + "@babel/plugin-syntax-jsx": "^7.29.17", + "@babel/plugin-transform-modules-commonjs": "^7.29.17", + "@babel/plugin-transform-typescript": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -1876,42 +1879,42 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.16.tgz", - "integrity": "sha512-LKBjGopxrQE0aFucNL69OyyyF143MOWUULEOftU3oCgyD35Sy84UUpVnt/sNvTb7ZmCyALSt7om+fojlW35zYQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.17.tgz", + "integrity": "sha512-CvlZdpED5dsu21yK0DfpXksJWt1zeW09lY49hp7P9cA5Qedx/QkwEs1PfluSJjijH9i94oT9LmtgGWlPY8ISzw==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", - "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.17.tgz", + "integrity": "sha512-D4nOLKOzIBwn7/Z78h3UPEwzFObmPVTukBJ9+63BijgMVeLj6mQ77FJb6YCZ4QBo6VjAk/yj4QnpKusTcBy6vA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.29.7", - "@babel/parser": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/code-frame": "^7.29.17", + "@babel/parser": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.16.tgz", - "integrity": "sha512-a16ah9dTLOLUq5BL7NElJ7keefg/276vgfTfExDf1PizddYboqRnQXDTooVPb0VArIqrKe8KLlghnTxlZFEZtQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.17.tgz", + "integrity": "sha512-q+CnfQcmNfDdOUARkt9FWtdR0HPOCcyQBj1Z7l2SOpFIfUB/XI3dXS0B5UOlZWwQCun80xVhgcv4ip6w128u9g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.16", - "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.15", - "@babel/template": "^7.29.7", - "@babel/types": "^7.29.15", + "@babel/code-frame": "^7.29.17", + "@babel/generator": "^7.29.17", + "@babel/helper-globals": "^7.29.17", + "@babel/parser": "^7.29.17", + "@babel/template": "^7.29.17", + "@babel/types": "^7.29.17", "debug": "^4.3.1" }, "engines": { @@ -1919,14 +1922,14 @@ } }, "node_modules/@babel/types": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz", - "integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.17.tgz", + "integrity": "sha512-kzo3lZUbI0gARA4QvhmOTH/aws2SrZ880ECQRIjPPSrdfBM0bZCkj1U7UN2fB0GNeXayqCiLVXa2+1jAhn377Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.15", - "@babel/helper-validator-identifier": "^7.29.7" + "@babel/helper-string-parser": "^7.29.17", + "@babel/helper-validator-identifier": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -3947,19 +3950,20 @@ } }, "node_modules/@oxc-project/types": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.160.0.tgz", - "integrity": "sha512-gw4k9syEmnckbOgw2A2FU1TBDdX9hfwV9jEn/uio65pguPzwWiXQS3OIJDMEhv9m06tj9XiEe6RoD0YA+LgreA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.161.0.tgz", + "integrity": "sha512-9vJdwWhmlmA/bqykS4fdREI7aDvCjoYucXAB8ARsIZWFLx/1NeNXhTPgQab6ZuDp99exJXBlY1mY/oJf7rXYqg==", "dev": true, "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/oxc-project" } }, "node_modules/@oxc-resolver/binding-android-arm-eabi": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm-eabi/-/binding-android-arm-eabi-11.24.2.tgz", - "integrity": "sha512-y09e0L0SRI2OA2tUIrjBgoV3eH5hvUKXNkJqXmNo5V2WxIjyC7I7aJfRLMEVpA8yi95f90gFDvO0VMgrDw+vwA==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm-eabi/-/binding-android-arm-eabi-11.25.0.tgz", + "integrity": "sha512-NjOpdsT7Wic2LA/TJC6MNVjeJ5CHMLs/NMczMfG8FGtaOcWQmQTdJnPD7NIa5KoO9dpGXC5lvDzOmEnPHtDqNQ==", "cpu": [ "arm" ], @@ -3971,9 +3975,9 @@ ] }, "node_modules/@oxc-resolver/binding-android-arm64": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm64/-/binding-android-arm64-11.24.2.tgz", - "integrity": "sha512-cl4icWaZFnLdg8m6qtnh5rBMuGbxc/ptStFHLeCNwr+2cZjkjNwQu/jYRS0CHlnPecOJMpuS5M6/BH+0J/YkEg==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm64/-/binding-android-arm64-11.25.0.tgz", + "integrity": "sha512-D0X5o69tvOzmLDQ1kPUDveDNLhxg2NlEOdG3qCo1B8NMAR9ywSpsqKTdOj9MWX8lcNIhlPx6dC0UOJWloF7W6w==", "cpu": [ "arm64" ], @@ -3985,9 +3989,9 @@ ] }, "node_modules/@oxc-resolver/binding-darwin-arm64": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-11.24.2.tgz", - "integrity": "sha512-At29QEMF6HajbQvgY8K6OXnHD1x9rad74xBEfmCB6ZqCGsdq75aK7tOYcTbOanMy8qdIBrfL3SMr3p/lfSlb9w==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-11.25.0.tgz", + "integrity": "sha512-el9PtPI0H0lhTjXl28XuEJFtXA3ZuJw6NOmUYb4+dvz1jsF7L4zBtrQYHxdx9GyIenYskbnHFZQrlE6InJoVUA==", "cpu": [ "arm64" ], @@ -3999,9 +4003,9 @@ ] }, "node_modules/@oxc-resolver/binding-darwin-x64": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-11.24.2.tgz", - "integrity": "sha512-A5Kqr1EUj4oIL5CF4WRssq/o5P0Y11cwoFouMRmQ7YnC/A8V93nv1nb7aSU8HwcgmXropjLNkVTl4MN87cu28Q==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-11.25.0.tgz", + "integrity": "sha512-j/zVAieLhQxFE7PPQA6T8uYE/87b9TjJbVyrZgcDqGmml8MuUfhgY7XdEb66R7OJncef5fOhbnYWQfvkrtiRNQ==", "cpu": [ "x64" ], @@ -4013,9 +4017,9 @@ ] }, "node_modules/@oxc-resolver/binding-freebsd-x64": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-11.24.2.tgz", - "integrity": "sha512-R5xkRBRRz7ceH/P5Jrc6G7FmdUdgpLYyESFAUDVTNQ9K0sGPxcp4ljiwEwEqsvNcQ4sYbMRrWcHHBCu7ksAJVw==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-11.25.0.tgz", + "integrity": "sha512-C0KGcJNADgfGOuppaEl1URxarTRiv1yraXQ0A6REnHSOY+DjCM+RiVn2jb2iZWZiMS6Md8Qcc+7befo67qezDg==", "cpu": [ "x64" ], @@ -4027,9 +4031,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm-gnueabihf": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-11.24.2.tgz", - "integrity": "sha512-k/RuYL4L/R58IBn3wT5ma3Wh4k62bp1eYCFRWCmMsasUOqL+H6sW0VGFadEzKWXFFlz+2uIMoeMk9ySSZJHgbg==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-11.25.0.tgz", + "integrity": "sha512-BpFFQbiR/E7m06WR9EYxnXuDUHp0CO14xvCyZwFJ0/TG31s6aQGjlM+bc8F0tJuok06Nj278pHlS905s8ux8vQ==", "cpu": [ "arm" ], @@ -4041,9 +4045,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm-musleabihf": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-11.24.2.tgz", - "integrity": "sha512-bnHAak3ujYfH5pKk4NieFNbvYvernfoQDgwLddbZ3OtMYrem87/qjlA+u+aKG0oZcqSLGCful/6/CEA+aeAgaA==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-11.25.0.tgz", + "integrity": "sha512-Z0LIWn9P1zu1LkFSN+KClu4bB+xihSOYZ+Ps1e+KwDnoSrZ/vd9qzsdsDcITS33Q9gtcLLZutLmotzyMbTaB8w==", "cpu": [ "arm" ], @@ -4055,9 +4059,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm64-gnu": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-11.24.2.tgz", - "integrity": "sha512-vDT3KHgzYp47gmtNOqL2VNhCyl5Zv643eyxm//A68J8DeUGXrvD1pZFiaT4jSfe+RInfnn1R2yVHye4enx6RnA==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-11.25.0.tgz", + "integrity": "sha512-jPL2643RaDlWt4qpcG136Hv98b7CEyJsgndqDuRtnAIEYd+de8vgNBaCkrJUQ97ogHk/ABfqmRkn02W6eOYiyQ==", "cpu": [ "arm64" ], @@ -4072,9 +4076,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm64-musl": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-11.24.2.tgz", - "integrity": "sha512-+kMlQvbzfyEYtu5FcjE4p+ttBLpKW4d/AsAsuE69BxV6V4twZJeIQZFfD8gh/wqglY0MkPSezWXQH0jBV13MUw==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-11.25.0.tgz", + "integrity": "sha512-9ddappYw3+bQUFvjyyf3x1wHChIx8/fr8fkTe0MxRJSLkeIaV2iwvyfhwVmULttAKe5B0bZwTDCbE8pOydMVLg==", "cpu": [ "arm64" ], @@ -4089,9 +4093,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-ppc64-gnu": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-11.24.2.tgz", - "integrity": "sha512-shjfMhmZ3gq9fv/w7bi3PnZlgOPG+2QAOFf0BJF0EgBSIGZ6PMLN2zbGEblTUYB/NKVDRyYhE2ff3dJ1QqNPkA==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-11.25.0.tgz", + "integrity": "sha512-RJ+Pgx6ZinIM0GR3WuYpp0W0uOcJceLEl98ByU+BFur4ADzThYhdE3LWFJB9U8GAFWVoIRF6DALScbu+DCEsXQ==", "cpu": [ "ppc64" ], @@ -4106,9 +4110,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-riscv64-gnu": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-11.24.2.tgz", - "integrity": "sha512-zGelwFR5oRo+b69k8Lrzun86DyUHzfKN6cnjbR9l7Z7NIRznOE/2ZvPa1IUKqAL2PzAXOdwkfVqNvO1H2RlpAw==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-11.25.0.tgz", + "integrity": "sha512-7jthC/hWkhEM+yC8Jp9XXYv/2eShiCJJ9ARW0YRqwU6mNWPcIExAderYczkglEjdTitgfzEshXtDCoCya5XlQQ==", "cpu": [ "riscv64" ], @@ -4123,9 +4127,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-riscv64-musl": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-11.24.2.tgz", - "integrity": "sha512-qxZ1SWCXJY0eyhAlP6Lmo9F2Nrtx7EkYj9oCgL8apDPCwXwCEDA2U697bbT81JIc2IrVjxO4KX6WU2N+oN9Z4w==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-11.25.0.tgz", + "integrity": "sha512-TZMxca5OWAwezhgQKWakEIhW9tkbuCP5bM5wr4ci/Gbosl5OHZPemKmsFi7yX4yW+JSHBmnqh+VfMLt1nS60rw==", "cpu": [ "riscv64" ], @@ -4140,9 +4144,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-s390x-gnu": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-11.24.2.tgz", - "integrity": "sha512-sGCecF3cx2DFlH4t/z7ApnOnXqN48p5p5mlHDEnHTAukQa2P+qMVE4CwyWE9W+q/m3QJ7kKfGrIjax31f44oFQ==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-11.25.0.tgz", + "integrity": "sha512-pPBxx8K9hpZA3oKGcju3ak+jIInGnXD/L2EGDNtoC6UiKeeRz8utJWoAP8EeiKoEsNMgLz7cEd4yp5SHA3Yn7w==", "cpu": [ "s390x" ], @@ -4157,9 +4161,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-x64-gnu": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-11.24.2.tgz", - "integrity": "sha512-k/VlMMcSzMlahb3/fENM4rTlsJ0s3fFROA0KXPBmKggqmTSaE383sl8F3KCOXPLmVsYfW6hCitMhXCEtNeZxxg==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-11.25.0.tgz", + "integrity": "sha512-2l8Wp53AJMwC4H3ogN/L7yLqqiBJHoax5aZ6t/E4LVShXamuo9l6z8lDTRiR3OBnfgVARP9+GWTgOFAF3TaFGg==", "cpu": [ "x64" ], @@ -4174,9 +4178,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-x64-musl": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-11.24.2.tgz", - "integrity": "sha512-8hbnZyNi97b/8wapYaIF9+t9GmZKBW2vunaOc3h9HGJptH7b7XpvZqOTBSm/MpTjr7H497BlgOaSfLUdhmy2bw==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-11.25.0.tgz", + "integrity": "sha512-Ha2tO9HomMSUiq/aJtbnrJt+9hpaT3fP7J33wrCkmqGQBYWLv+2TdT5Z6M29uAmfndaH7QDkZ4pJprVBxr+vng==", "cpu": [ "x64" ], @@ -4191,9 +4195,9 @@ ] }, "node_modules/@oxc-resolver/binding-openharmony-arm64": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-openharmony-arm64/-/binding-openharmony-arm64-11.24.2.tgz", - "integrity": "sha512-MvyGik3a6pVgZ0t/kWlbmFxFLmXQJwgLsY2eYFHLpy0wGwRbfzeIGgDwQ3kXqE30z+kSXennRkCrT7TUvkptNg==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-openharmony-arm64/-/binding-openharmony-arm64-11.25.0.tgz", + "integrity": "sha512-rgtWQHS+x0Y3Asgfz5PSVpHLiVkwFolP8/KuU2u7jSO48GllO+AtMsUxdF2SRUbYD5NdO2CwXRQafuI/88Z44Q==", "cpu": [ "arm64" ], @@ -4205,9 +4209,9 @@ ] }, "node_modules/@oxc-resolver/binding-wasm32-wasi": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-11.24.2.tgz", - "integrity": "sha512-vHcssMPwO08RTvj/c0iOBz90attxyG3wQJ0dTcyEQK43LRpcdLWZlV5feBhv6Isn6ahbQIzHbCgfa81+RiML0Q==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-11.25.0.tgz", + "integrity": "sha512-m+Z3MMP8cyaloi8URLrrBkpMTtHvFUblReW5138Te398Ivm39OyKLpdz/jFJr4K6IvN9aS4S9zbU3oz8HuTUCg==", "cpu": [ "wasm32" ], @@ -4215,30 +4219,30 @@ "license": "MIT", "optional": true, "dependencies": { - "@emnapi/core": "1.11.2", - "@emnapi/runtime": "1.11.2", - "@napi-rs/wasm-runtime": "^1.1.6" + "@emnapi/core": "2.0.0-beta.3", + "@emnapi/runtime": "2.0.0-beta.3", + "@napi-rs/wasm-runtime": "~1.2.7" }, "engines": { - "node": ">=14.0.0" + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" } }, "node_modules/@oxc-resolver/binding-wasm32-wasi/node_modules/@emnapi/core": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.2.tgz", - "integrity": "sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA==", + "version": "2.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-2.0.0-beta.3.tgz", + "integrity": "sha512-KA+gOBtbifRATmUa/Gpf5C2B2EJ0r4brHUT3XSgACeHREcuiObXH56xd+B3fFsEFbUT04VBEe6MuZiCtMp0tQg==", "dev": true, "license": "MIT", "optional": true, "dependencies": { - "@emnapi/wasi-threads": "1.2.2", + "@emnapi/wasi-threads": "2.2.0", "tslib": "^2.4.0" } }, "node_modules/@oxc-resolver/binding-wasm32-wasi/node_modules/@emnapi/runtime": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.2.tgz", - "integrity": "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==", + "version": "2.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-2.0.0-beta.3.tgz", + "integrity": "sha512-ayb/PyyLzpwRyFVxeC0uoEHu59QlB1iWGcGsOpXQcaB/Dc+uGfBmNmpCHp3HmTT0t8lSsMmg3j7+tdJW/TlHjQ==", "dev": true, "license": "MIT", "optional": true, @@ -4247,9 +4251,9 @@ } }, "node_modules/@oxc-resolver/binding-wasm32-wasi/node_modules/@emnapi/wasi-threads": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz", - "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-2.2.0.tgz", + "integrity": "sha512-JP7OYH38Q7+pyTAe14raZHLQIK7BDKbdwji+Xi3pcd/6QkJYQH3SX4wu6EplGrGJWRepoNzedfm0G3B9Z4e9Rw==", "dev": true, "license": "MIT", "optional": true, @@ -4258,9 +4262,9 @@ } }, "node_modules/@oxc-resolver/binding-win32-arm64-msvc": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-11.24.2.tgz", - "integrity": "sha512-uokJqro2iBqkFvJdKQLP7d8/BUmFwESQFVmIJUQKj1Xn1a/LysJoe1vmeECLF5b3jsV8CAL5sEMJXX6SdK9Nhg==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-11.25.0.tgz", + "integrity": "sha512-87iso5O2IJT4K46nlRT0OY5wA5ZWD+cwrni8fk1s/RsmAqj2miWLDTY83fTC4NiKrauDbLpt/kllFvfyXOiI3Q==", "cpu": [ "arm64" ], @@ -4272,9 +4276,9 @@ ] }, "node_modules/@oxc-resolver/binding-win32-x64-msvc": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-11.24.2.tgz", - "integrity": "sha512-UqGPmo56KDfLlfXFAFIrNflHT8tFxWGEivWg3Zeyp4Uy2NlKN1FGPr6/BxcLGG3+kZ6Wp14g5Uj+n71boqZfiw==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-11.25.0.tgz", + "integrity": "sha512-vukJUQ2tuOM1ehXru42gOYFfDkX7/1SN7sPKs4CoBQILWH65mXIS3c3UQCmnWv/xdjQuIpyGFgREsPQIzQow2A==", "cpu": [ "x64" ], @@ -4313,9 +4317,9 @@ } }, "node_modules/@rolldown/binding-android-arm-eabi": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.3.4.tgz", - "integrity": "sha512-xCW8CkL/ualx/SbYqeG9iK87lJCZGDQ0soE+kaORJ0Bd+pHALyE4qK7BStmEAyYWLEzZ3/biSIpA6/7GDFvzIg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.4.0.tgz", + "integrity": "sha512-XvouOmCwiV6erLhn4u3gtzT3RE/tXmtG+0HS4r7t1sbUmSLzK4ZUsi8/dexfb/jGEgmjdh+9vWjsOz6pjpHw0Q==", "cpu": [ "arm" ], @@ -4325,14 +4329,15 @@ "os": [ "android" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.3.4.tgz", - "integrity": "sha512-5lifIO+b/prcM9sx/bkPN4w6UEToEfQ3gjhx0+0neuL+dkYskI792CfAq03T51jc8JFcaYXs2hi3l8RjiH/VWQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.4.0.tgz", + "integrity": "sha512-Yp+iVZ3jPyljcLjH+0uJvcWZ4Gn92+hSoWyEJ76YL7LlPT1D5jxIdhi7tFdAJcszVVHn0bE3XnjWtoeMrQnGjA==", "cpu": [ "arm64" ], @@ -4342,14 +4347,15 @@ "os": [ "android" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.3.4.tgz", - "integrity": "sha512-RCgxTI4AJQxhVF//BI3ImQOsXTHrF4Eg+f99jBy8WoETA2kSEGFxpnrVmW0leQq/2aBR4R5AC6csmy3rc66e3Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.4.0.tgz", + "integrity": "sha512-vROGxLbehwpEJznzoVmAt6unArrRCBVTXAaBnldxHCASDhenMULoPjqZzkWwnQ3/20C/pERj/adTTr9PQynl6w==", "cpu": [ "arm64" ], @@ -4359,14 +4365,15 @@ "os": [ "darwin" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.3.4.tgz", - "integrity": "sha512-zNPJVVPUaDEj+L0lImoK3rFv2b+Z5gNijI6DWu/fcD3/1TfmRXKb9ZyxbSN+2AhlctqjbNzUvCsMa+EBhnEM4Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.4.0.tgz", + "integrity": "sha512-A12NhHpNYUBQn6zyQ3Di58VvGdcJID2Knd0+fjOiEA9AnOYl/A4D61skc/J/2DNU4XUB6v59ALhuJQwPUFxXXw==", "cpu": [ "x64" ], @@ -4376,14 +4383,15 @@ "os": [ "darwin" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.3.4.tgz", - "integrity": "sha512-upP6g7ZIRy5by1RDQ/EphHIdJ5xK0eUD7sUgfZFWJ49s4XdbYsIvIlAPtrFpayR70Hhf9J22lb4Pm8/9FhrZmg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.4.0.tgz", + "integrity": "sha512-JQEGbCIyh3JiOZwWd4R4AJUSo0g6f4jdsJIkgFizVqw/57rc8j4a3VAw8gJUehSXTH0ZDPSUJWTvuexqZj63lQ==", "cpu": [ "x64" ], @@ -4393,14 +4401,15 @@ "os": [ "freebsd" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.3.4.tgz", - "integrity": "sha512-SAX5C5+poMLCxu8dkPF6h5yst40rkzs+9Y3cbPn2OFSydmHjAEprrGi64zGgnYyPIVZfdGUFqJ2fJbfbnHI+mA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.4.0.tgz", + "integrity": "sha512-uIqIOaVL+fXepn9456vCfc6kd1Vej9juCiQHP55tifjtKOvl6k4zVTeEUNcJUHXCSSmDgcTuvMtQU8o9SaDQrQ==", "cpu": [ "arm" ], @@ -4410,14 +4419,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.3.4.tgz", - "integrity": "sha512-nwHqdlRZS6GWBef3dG5/pMY6RNTBBUjj7s0Da+m6xsFpe7jx6IC46SLZcCu8f46JOfCovZmwnrz51EzGE+7Fyw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.4.0.tgz", + "integrity": "sha512-OLLIjbthXdV25tvt0t/Jg1lOQb3BIIBRd3FwBpIR8w5pLJW5RkWwEEU6izcmh8kTBFOz79MKukqNrt5BNuYLCw==", "cpu": [ "arm64" ], @@ -4430,14 +4440,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.3.4.tgz", - "integrity": "sha512-Gr78X2ur/AgLCkmZgHffk/FerIX8S5zb/eII4bCcvJo0ANzeXhTShahdNbpnY6bpiszIAgIfiuKS9ziziWsamw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.4.0.tgz", + "integrity": "sha512-m82cq/8eVjEwNHiqY50PWlMUH7H41PJVuj4B5i6oHjRLvst5uelqfE4ssd+pOcRW0bFn4cyzZ50gXimZghlwSg==", "cpu": [ "arm64" ], @@ -4450,14 +4461,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.3.4.tgz", - "integrity": "sha512-o9Wcn8nWrsQasaBRYM4d//FwhlBsTJYWkPVlhlt6FwzpwEoovY4IopRZjk5Fq3+ntRuSDORJjF/nA8sFeF2q6w==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.4.0.tgz", + "integrity": "sha512-PE0c4F0YSFEu8Ce0QnCoI63gtFQqT2WrJM2PGN3lcR0iXL6CNLMx9h2NrGf4nOWurIvjKBUx8SJ0ol11jNvj+Q==", "cpu": [ "ppc64" ], @@ -4470,14 +4482,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.3.4.tgz", - "integrity": "sha512-UDWu4jkVcx2kiBKm3Ec//4lVCbeTWj8gmJ9SyLWCdLWtTlyq7fQVeVV/14nXvRtSLErvJ2+yA/Ux5taS31Y17Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.4.0.tgz", + "integrity": "sha512-dZdyz6Jopus+HPoGUnFu+y2zJoBdueWw+WV1B3nOaKi//sUnxp6gjLNYlb/srfPnFR/aSX4n3JbdhclzZgDRDA==", "cpu": [ "s390x" ], @@ -4490,14 +4503,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.3.4.tgz", - "integrity": "sha512-W9mGtTa0w4fWh8RLMNPyaEhhcuqUfO07Q4I1bBc4PDMNg7gQSw0yPQNQ3D0qwbkXwxbyL4YrIzc8n6k1vuFExQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.4.0.tgz", + "integrity": "sha512-ORhO42q6+vHmpu9jns2WB3WoBYGLJLJYqtFJLRow0J+WqdGls0W6WTfYIPS6U0/j4JRzkcdH/KEAi1Pa83mcjQ==", "cpu": [ "x64" ], @@ -4510,14 +4524,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.3.4.tgz", - "integrity": "sha512-8B+ofyQZ7/aCmkqnyMonPr5zKLqMVNczhRGFNtdIuItiwNn8iQWJawMq2E58r7bxD1XEbtRRsULY/eCWwZQ01Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.4.0.tgz", + "integrity": "sha512-7vfFdVAExGFf2Kh9RDJKtID/M/p/BDohXjWXHonANmFu+cPgYqpTFjsm7KgBkKnBo1LYcz4yTn1QISl+W9GGzw==", "cpu": [ "x64" ], @@ -4530,14 +4545,15 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.3.4.tgz", - "integrity": "sha512-TlD0FSZaC7o2B4NCe9V5N11ugTnhzTM9ksj4sgRLvrKosDzjEkvlsTX3ehkw4ZlPv8AADimZZTvJGEa16pfXug==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.4.0.tgz", + "integrity": "sha512-xR9cPk5OrPYlvVfbnI9VdomeeGweeuVAlcZ+KepplkhRkmG3+ySWW7tAvdPCfH0qXprZUSYUrK5zeGH8/YsyEw==", "cpu": [ "arm64" ], @@ -4547,31 +4563,33 @@ "os": [ "openharmony" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-wasm32-wasi": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.3.4.tgz", - "integrity": "sha512-jwO8P3o53ygo7b5061B7BeaJ1BGv3BKZ6jroFdw/01qWry7Z+qNBlDvulzbTle5s/A0Fc1FRgsTxrke9DvsSbA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.4.0.tgz", + "integrity": "sha512-Bi7qc/VJz4duyeXTJ1nI0HO/D+maonNcInrCFx3llXWWVJvZWRWpWUPNnGcdmf9X+cZtX0vJaFWC7dVUKFGpvw==", "cpu": [ "wasm32" ], "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { - "@oxc-project/types": "0.160.0" + "@oxc-project/types": "0.161.0" }, "engines": { "node": "^20.19.0 || ^22.13.0 || >=23.5.0" } }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.3.4.tgz", - "integrity": "sha512-8adGMrNtrdzi2WD1ozhYapER59gD8Q/DV6SCKJlyG2HqULPdeQUBvMa33lTsiEYwIqTZUaIU2MmvPp5f1wbtXA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.4.0.tgz", + "integrity": "sha512-/MMbq8Mi+juPmbS28EBuGF9ehP3iN2ExyxuZFae8msWHV0bOsxGD4/9GS/awOTy351CakTPUMBWRHFXdKYjFgw==", "cpu": [ "arm64" ], @@ -4581,14 +4599,15 @@ "os": [ "win32" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.3.4.tgz", - "integrity": "sha512-rIMjtESdXJCIoOiUTroQ1Y1rjVDZkuUVRUxs3APX2vNv175D7TDWvzdELiIhzGq9cUNUFat+co+PTmPHPqSREg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.4.0.tgz", + "integrity": "sha512-5o9rlhYacTJjg6lmW/FxDNzVUhXja0OIsEZ0eexT5aauCaFlWu4bv5zCt2ZcXq3Wq2C6RWSEHjBemldmwIOj4A==", "cpu": [ "x64" ], @@ -4598,6 +4617,7 @@ "os": [ "win32" ], + "peer": true, "engines": { "node": "^20.19.0 || >=22.12.0" } @@ -4641,9 +4661,9 @@ "license": "MIT" }, "node_modules/@rollup/pluginutils": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.5.1.tgz", - "integrity": "sha512-P9ZvnfouRu4MSC+ilERaw6FmZs8zqKhpHxEs4aGDGWQAMzQGXnhvCSvoNwokfNvdt7t3Y5Y4p6gStQgezeIqug==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.6.0.tgz", + "integrity": "sha512-sHGIxCuydUbd2Rr3eg5TQqXSIA5Gi7esaC0T+v1Wr4n2jbJMXb9r133pRajV+5HM3dgr0bJIQQPO6ZxXabFTYQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4655,7 +4675,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0||^5.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -6820,6 +6840,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/axe-core": { + "version": "4.14.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.1.tgz", + "integrity": "sha512-FHfa+lmNjQZfJz1q8wKqIDwC6DExcHt/pkjNQb09a3NPjCKg2rhu5qb2S4r76ASyFNNtuFooJpZe37OgudVGtQ==", + "dev": true, + "license": "MPL-2.0", + "engines": { + "node": ">=4" + } + }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.17", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz", @@ -6893,9 +6923,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.11.41", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.41.tgz", - "integrity": "sha512-yjL/sZCpbpL0ocwmrUe1YFUelyMcifcByF4UYCBDyubFXQRs3lUjo9VoPKdjoFFhmzLAAGNJb1GBBCQJ6B4eyg==", + "version": "2.11.42", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.42.tgz", + "integrity": "sha512-zZavzWoNo65+3gcv5AQetEgQ86Rbsge3QPe3wjQFjl1D4/mYzqreOR6DkE0SMMBqYr95w0mLi+69+V0SSeOStQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -7090,9 +7120,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001829", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001829.tgz", - "integrity": "sha512-FeVvlaVr3r+cdHIYXyZhtVkqroSYjYaoNxItxQNjusurUE+IqODawDsbzk02HJgi2RdKiaGGFm+EKbXku+yITg==", + "version": "1.0.30001830", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001830.tgz", + "integrity": "sha512-0TFl6VuW52V0JxUPXnqjNNxZ9I8bAH9to34KYZZBUWe/5yD+YBWda/mBXxlwnLLHm5LSoGyyo2KeuNheSJXywA==", "dev": true, "funding": [ { @@ -7137,13 +7167,13 @@ } }, "node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-6.0.1.tgz", + "integrity": "sha512-/Ce6KNm3vIbWdMlNna6RVIZ/ICQxnJxCicet5LBKK9ZffBkqzDw0xh9EiKSljdRtiIQ1S1z4YgcscUUGzNCWrA==", "dev": true, "license": "MIT", "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": ">=22" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" @@ -7216,6 +7246,24 @@ "node": ">=20" } }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -7270,18 +7318,18 @@ "license": "MIT" }, "node_modules/concurrently": { - "version": "10.0.7", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.7.tgz", - "integrity": "sha512-zMCeLhawVIj3SLbpg0/BWCdJl1wcBSpcHKbNrhaM01P3xAlEWcH30Lea2q+F4uGZ7YM0scDK0dgpWyn1uCJj6w==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.1.0.tgz", + "integrity": "sha512-Zg+cmqvXKtvYnrticZHTusSBbkerXjBJUjvta/ujFIskBX3luCQrKIX/yTuFC42XS/6x6Voe/NeAjwsfrdFz0g==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "5.6.2", + "chalk": "6.0.1", "rxjs": "7.8.2", "shell-quote": "1.12.0", - "supports-color": "10.2.2", + "supports-color": "11.0.0", "tree-kill": "1.2.2", - "yargs": "18.0.0" + "yargs": "18.2.0" }, "bin": { "conc": "dist/bin/index.js", @@ -7705,9 +7753,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.496", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.496.tgz", - "integrity": "sha512-4sf4mO47X5zvV2sdcuxiI2JCk7isjijaim3YGhl3bleY+fOf7dvua8Ucg889v3htWk8bP3T2+eYVxx9bUGTvPQ==", + "version": "1.5.501", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.501.tgz", + "integrity": "sha512-UVcdnFm1UW3UZBBL/Nsi7mLqdxGqUbzW0rO0WsdEqwJr4vnFWrs93MBig2neS0TnQ5MUCwg3y91FhM/+oZE4hg==", "dev": true, "license": "ISC" }, @@ -7719,9 +7767,9 @@ "license": "MIT" }, "node_modules/enhanced-resolve": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.27.1.tgz", - "integrity": "sha512-QnT3ioXm47iCbUZ4yz+I04XStINU9hslvd0XuifFqp9VjkEP3tOAhmhfbRCn4W5uFlpP76XqzFh4eQ8wRGRWMQ==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.27.2.tgz", + "integrity": "sha512-Cpp3nuaI7ZdgEsvVP6zzk08uxrfGTSUnDwijv6PZfe8qHjcUYv5X9bJF71WTt5HwOeaeVandf9zACK4jcWroNw==", "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", @@ -8111,13 +8159,13 @@ } }, "node_modules/eslint-import-context": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/eslint-import-context/-/eslint-import-context-0.1.9.tgz", - "integrity": "sha512-K9Hb+yRaGAGUbwjhFNHvSmmkZs9+zbuoe3kFQ4V1wYjrepUFYM2dZAfNtjbbj3qsPfUfsA68Bx/ICWQMi+C8Eg==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/eslint-import-context/-/eslint-import-context-0.2.2.tgz", + "integrity": "sha512-YHdR+e47b1f3Ys+MZlgZ4oF+C9R9wJ39gAM0XfIaUyA7/08TfgbxT2vdr7i3CBfsXZDL5EUuvykIKs25sgAAng==", "dev": true, "license": "MIT", "dependencies": { - "get-tsconfig": "^4.10.1", + "get-tsconfig": "^4.14.3", "stable-hash-x": "^0.2.0" }, "engines": { @@ -8127,9 +8175,13 @@ "url": "https://opencollective.com/eslint-import-context" }, "peerDependencies": { + "@typescript-eslint/utils": ">=8.0.0", "unrs-resolver": "^1.0.0" }, "peerDependenciesMeta": { + "@typescript-eslint/utils": { + "optional": true + }, "unrs-resolver": { "optional": true } @@ -8182,19 +8234,19 @@ } }, "node_modules/eslint-import-resolver-typescript": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-4.4.5.tgz", - "integrity": "sha512-nbE5XLph6TLtGYcu/U6e6ZVXyKBhbDWK5cLGk76eJ7NdZpwf1P9EFkpt1Z01mNZNrrilsAYWKH6zUkL4reoXbw==", + "version": "4.4.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-4.4.6.tgz", + "integrity": "sha512-RQYEDzopHS1KBruU5uJyHp2gNCOCL9qCCGCL7w4B1WVOvjm6nVRSsy0UC5+tcBSEHlBvW7S89zOchr1bXXQWUA==", "dev": true, "license": "ISC", "dependencies": { - "debug": "^4.4.1", - "eslint-import-context": "^0.1.8", - "get-tsconfig": "^4.10.1", + "debug": "^4.4.3", + "eslint-import-context": "^0.1.9 || ^0.2.2", + "get-tsconfig": "^4.14.3", "is-bun-module": "^2.0.0", "stable-hash-x": "^0.2.0", - "tinyglobby": "^0.2.14", - "unrs-resolver": "^1.7.11" + "tinyglobby": "^0.2.17", + "unrs-resolver": "^1.13.0" }, "engines": { "node": "^16.17.0 || >=18.6.0" @@ -9185,9 +9237,9 @@ } }, "node_modules/get-tsconfig": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.3.tgz", - "integrity": "sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==", + "version": "4.14.4", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.4.tgz", + "integrity": "sha512-4Iu8LtDLsJIvPG4IjvRK55uGLRk1AxQnGkdGI7IOUDIPqgrJ9ng6lNg3vd6536/i/SqNFIyzPxWge/VRshtSxg==", "dev": true, "license": "MIT", "dependencies": { @@ -10940,6 +10992,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lodash-es": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", + "dev": true, + "license": "MIT" + }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -11840,34 +11899,34 @@ } }, "node_modules/oxc-resolver": { - "version": "11.24.2", - "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-11.24.2.tgz", - "integrity": "sha512-FY91FiDBj7ls5MsFS9jN3tjz2o0/zsdSsymlakySaBwVJZorHhkWyICLZMKxlu1R9vYo+sd3z1jwb4J8x7bNDw==", + "version": "11.25.0", + "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-11.25.0.tgz", + "integrity": "sha512-Vp+2ppX2xLMTzSytdNcFWH+D8hgmx/3VP0y0/c8bXan/N7qZQljNOR6ds8ylcfjO9BeiadEolrOZsOiFaDh3DQ==", "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/Boshen" }, "optionalDependencies": { - "@oxc-resolver/binding-android-arm-eabi": "11.24.2", - "@oxc-resolver/binding-android-arm64": "11.24.2", - "@oxc-resolver/binding-darwin-arm64": "11.24.2", - "@oxc-resolver/binding-darwin-x64": "11.24.2", - "@oxc-resolver/binding-freebsd-x64": "11.24.2", - "@oxc-resolver/binding-linux-arm-gnueabihf": "11.24.2", - "@oxc-resolver/binding-linux-arm-musleabihf": "11.24.2", - "@oxc-resolver/binding-linux-arm64-gnu": "11.24.2", - "@oxc-resolver/binding-linux-arm64-musl": "11.24.2", - "@oxc-resolver/binding-linux-ppc64-gnu": "11.24.2", - "@oxc-resolver/binding-linux-riscv64-gnu": "11.24.2", - "@oxc-resolver/binding-linux-riscv64-musl": "11.24.2", - "@oxc-resolver/binding-linux-s390x-gnu": "11.24.2", - "@oxc-resolver/binding-linux-x64-gnu": "11.24.2", - "@oxc-resolver/binding-linux-x64-musl": "11.24.2", - "@oxc-resolver/binding-openharmony-arm64": "11.24.2", - "@oxc-resolver/binding-wasm32-wasi": "11.24.2", - "@oxc-resolver/binding-win32-arm64-msvc": "11.24.2", - "@oxc-resolver/binding-win32-x64-msvc": "11.24.2" + "@oxc-resolver/binding-android-arm-eabi": "11.25.0", + "@oxc-resolver/binding-android-arm64": "11.25.0", + "@oxc-resolver/binding-darwin-arm64": "11.25.0", + "@oxc-resolver/binding-darwin-x64": "11.25.0", + "@oxc-resolver/binding-freebsd-x64": "11.25.0", + "@oxc-resolver/binding-linux-arm-gnueabihf": "11.25.0", + "@oxc-resolver/binding-linux-arm-musleabihf": "11.25.0", + "@oxc-resolver/binding-linux-arm64-gnu": "11.25.0", + "@oxc-resolver/binding-linux-arm64-musl": "11.25.0", + "@oxc-resolver/binding-linux-ppc64-gnu": "11.25.0", + "@oxc-resolver/binding-linux-riscv64-gnu": "11.25.0", + "@oxc-resolver/binding-linux-riscv64-musl": "11.25.0", + "@oxc-resolver/binding-linux-s390x-gnu": "11.25.0", + "@oxc-resolver/binding-linux-x64-gnu": "11.25.0", + "@oxc-resolver/binding-linux-x64-musl": "11.25.0", + "@oxc-resolver/binding-openharmony-arm64": "11.25.0", + "@oxc-resolver/binding-wasm32-wasi": "11.25.0", + "@oxc-resolver/binding-win32-arm64-msvc": "11.25.0", + "@oxc-resolver/binding-win32-x64-msvc": "11.25.0" } }, "node_modules/p-limit": { @@ -12619,13 +12678,14 @@ "license": "MIT" }, "node_modules/rolldown": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.3.4.tgz", - "integrity": "sha512-p2rq4bfBmF0M6yaR8+A89fbkBQynZI2fxUW4G07eq9kpctAkpo7q5BZ4X4Mo4XZ7HHROu33cX9PeopUFN6u+2Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.4.0.tgz", + "integrity": "sha512-Ta8smLdthVphb6Zmlyv4YisqDiIYDEbBq1YredOKKeZ2BiA20iQNdXH2Ox6k8y0g+sqH3JOu46rvnaU2MmO8nQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { - "@oxc-project/types": "=0.160.0", + "@oxc-project/types": "=0.161.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -12635,22 +12695,22 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.3.4", - "@rolldown/binding-android-arm64": "1.3.4", - "@rolldown/binding-darwin-arm64": "1.3.4", - "@rolldown/binding-darwin-x64": "1.3.4", - "@rolldown/binding-freebsd-x64": "1.3.4", - "@rolldown/binding-linux-arm-gnueabihf": "1.3.4", - "@rolldown/binding-linux-arm64-gnu": "1.3.4", - "@rolldown/binding-linux-arm64-musl": "1.3.4", - "@rolldown/binding-linux-ppc64-gnu": "1.3.4", - "@rolldown/binding-linux-s390x-gnu": "1.3.4", - "@rolldown/binding-linux-x64-gnu": "1.3.4", - "@rolldown/binding-linux-x64-musl": "1.3.4", - "@rolldown/binding-openharmony-arm64": "1.3.4", - "@rolldown/binding-wasm32-wasi": "1.3.4", - "@rolldown/binding-win32-arm64-msvc": "1.3.4", - "@rolldown/binding-win32-x64-msvc": "1.3.4" + "@rolldown/binding-android-arm-eabi": "1.4.0", + "@rolldown/binding-android-arm64": "1.4.0", + "@rolldown/binding-darwin-arm64": "1.4.0", + "@rolldown/binding-darwin-x64": "1.4.0", + "@rolldown/binding-freebsd-x64": "1.4.0", + "@rolldown/binding-linux-arm-gnueabihf": "1.4.0", + "@rolldown/binding-linux-arm64-gnu": "1.4.0", + "@rolldown/binding-linux-arm64-musl": "1.4.0", + "@rolldown/binding-linux-ppc64-gnu": "1.4.0", + "@rolldown/binding-linux-s390x-gnu": "1.4.0", + "@rolldown/binding-linux-x64-gnu": "1.4.0", + "@rolldown/binding-linux-x64-musl": "1.4.0", + "@rolldown/binding-openharmony-arm64": "1.4.0", + "@rolldown/binding-wasm32-wasi": "1.4.0", + "@rolldown/binding-win32-arm64-msvc": "1.4.0", + "@rolldown/binding-win32-x64-msvc": "1.4.0" } }, "node_modules/run-applescript": { @@ -13197,18 +13257,17 @@ } }, "node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", "dev": true, "license": "MIT", "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -13385,13 +13444,13 @@ "license": "MIT" }, "node_modules/supports-color": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", - "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-11.0.0.tgz", + "integrity": "sha512-/zyImLdxhdygBIaVX0xTlQhKaCDLCrm665aqHk8xqK/Pa6k61fL6gwQGQq1k31yNyz6x55PppQgF2DMyPQa5xw==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=22" }, "funding": { "url": "https://github.com/chalk/supports-color?sponsor=1" @@ -13858,9 +13917,9 @@ } }, "node_modules/undici": { - "version": "7.30.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.2.tgz", - "integrity": "sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==", + "version": "7.30.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.3.tgz", + "integrity": "sha512-Zlb+QdzEW3+j3Yt5GyAycC7nFHhrGQaZhK0C65WWslTvEh11sN3G5EkBkboFt+dcNZEGSFuK3XoDSq6YqmXo5Q==", "dev": true, "license": "MIT", "engines": { @@ -13868,9 +13927,9 @@ } }, "node_modules/undici-types": { - "version": "7.30.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.30.2.tgz", - "integrity": "sha512-Vx15rZHtDo7X+sZVzcecz08ooRvEa0cjSs8z85v/jRRf81BT1m9eaoMI4gxvaNwgQg2IgkfjJ45dMpKrSl0zEQ==", + "version": "7.30.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.30.3.tgz", + "integrity": "sha512-Q+cvnsXYQLODOP78xg67imEdCjtYgjIDVwRl1k+2QLGna4quJbr5FRB3SPGPpLKYGWt8HfW+WrayEeIN7yh/4Q==", "dev": true, "license": "MIT" }, @@ -14160,16 +14219,16 @@ } }, "node_modules/vite": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.4.0.tgz", - "integrity": "sha512-X2nUJg+9cutlz3hzqyO6p+WTwk9H257DjwAEf9EQYUFrQbDItmetadi9gYmb+l7VDy4r3VXLUnmLTwuPmzejDw==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.4.1.tgz", + "integrity": "sha512-2bl8n3+GkKBKQQR8CZC+t+3NvjWCBNh9S0Dbfu7hr7+Jjeg71jcZk7uKF6mo8GZXjIws+Nl6jhvAfHUO320VuQ==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.33", - "rolldown": "~1.3.2", + "postcss": "^8.5.34", + "rolldown": "~1.3.4", "tinyglobby": "^0.2.17" }, "bin": { @@ -14261,102 +14320,468 @@ "vite": "^7.0.0 || ^8.0.0" } }, - "node_modules/vitest": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.12.tgz", - "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==", + "node_modules/vite/node_modules/@oxc-project/types": { + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.160.0.tgz", + "integrity": "sha512-gw4k9syEmnckbOgw2A2FU1TBDdX9hfwV9jEn/uio65pguPzwWiXQS3OIJDMEhv9m06tj9XiEe6RoD0YA+LgreA==", "dev": true, "license": "MIT", - "dependencies": { - "@vitest/expect": "4.1.12", - "@vitest/mocker": "4.1.12", - "@vitest/pretty-format": "4.1.12", - "@vitest/runner": "4.1.12", - "@vitest/snapshot": "4.1.12", - "@vitest/spy": "4.1.12", - "@vitest/utils": "4.1.12", - "es-module-lexer": "^2.0.0", - "expect-type": "^1.3.0", - "magic-string": "^0.30.21", - "obug": "^2.1.1", - "pathe": "^2.0.3", - "picomatch": "^4.0.3", - "std-env": "^4.0.0-rc.1", - "tinybench": "^2.9.0", - "tinyexec": "^1.0.2", - "tinyglobby": "^0.2.15", - "tinyrainbow": "^3.1.0", - "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", - "why-is-node-running": "^2.3.0" - }, - "bin": { - "vitest": "vitest.mjs" - }, - "engines": { - "node": "^20.0.0 || ^22.0.0 || >=24.0.0" - }, "funding": { - "url": "https://opencollective.com/vitest" - }, - "peerDependencies": { - "@edge-runtime/vm": "*", - "@opentelemetry/api": "^1.9.0", - "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "4.1.12", - "@vitest/browser-preview": "4.1.12", - "@vitest/browser-webdriverio": "^4.1.11", - "@vitest/coverage-istanbul": "4.1.12", - "@vitest/coverage-v8": "4.1.12", - "@vitest/ui": "4.1.12", - "happy-dom": "*", - "jsdom": "*", - "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "@edge-runtime/vm": { - "optional": true - }, - "@opentelemetry/api": { - "optional": true - }, - "@types/node": { - "optional": true - }, - "@vitest/browser-playwright": { - "optional": true - }, - "@vitest/browser-preview": { - "optional": true - }, - "@vitest/browser-webdriverio": { - "optional": true - }, - "@vitest/coverage-istanbul": { - "optional": true - }, - "@vitest/coverage-v8": { - "optional": true - }, - "@vitest/ui": { - "optional": true - }, - "happy-dom": { - "optional": true - }, - "jsdom": { - "optional": true - }, - "vite": { - "optional": false - } + "url": "https://github.com/sponsors/oxc-project" } }, - "node_modules/vitest/node_modules/@vitest/expect": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.12.tgz", - "integrity": "sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==", - "dev": true, - "license": "MIT", + "node_modules/vite/node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.3.4.tgz", + "integrity": "sha512-xCW8CkL/ualx/SbYqeG9iK87lJCZGDQ0soE+kaORJ0Bd+pHALyE4qK7BStmEAyYWLEzZ3/biSIpA6/7GDFvzIg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-android-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.3.4.tgz", + "integrity": "sha512-5lifIO+b/prcM9sx/bkPN4w6UEToEfQ3gjhx0+0neuL+dkYskI792CfAq03T51jc8JFcaYXs2hi3l8RjiH/VWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-RCgxTI4AJQxhVF//BI3ImQOsXTHrF4Eg+f99jBy8WoETA2kSEGFxpnrVmW0leQq/2aBR4R5AC6csmy3rc66e3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-darwin-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.3.4.tgz", + "integrity": "sha512-zNPJVVPUaDEj+L0lImoK3rFv2b+Z5gNijI6DWu/fcD3/1TfmRXKb9ZyxbSN+2AhlctqjbNzUvCsMa+EBhnEM4Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.3.4.tgz", + "integrity": "sha512-upP6g7ZIRy5by1RDQ/EphHIdJ5xK0eUD7sUgfZFWJ49s4XdbYsIvIlAPtrFpayR70Hhf9J22lb4Pm8/9FhrZmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.3.4.tgz", + "integrity": "sha512-SAX5C5+poMLCxu8dkPF6h5yst40rkzs+9Y3cbPn2OFSydmHjAEprrGi64zGgnYyPIVZfdGUFqJ2fJbfbnHI+mA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.3.4.tgz", + "integrity": "sha512-nwHqdlRZS6GWBef3dG5/pMY6RNTBBUjj7s0Da+m6xsFpe7jx6IC46SLZcCu8f46JOfCovZmwnrz51EzGE+7Fyw==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.3.4.tgz", + "integrity": "sha512-Gr78X2ur/AgLCkmZgHffk/FerIX8S5zb/eII4bCcvJo0ANzeXhTShahdNbpnY6bpiszIAgIfiuKS9ziziWsamw==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.3.4.tgz", + "integrity": "sha512-o9Wcn8nWrsQasaBRYM4d//FwhlBsTJYWkPVlhlt6FwzpwEoovY4IopRZjk5Fq3+ntRuSDORJjF/nA8sFeF2q6w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.3.4.tgz", + "integrity": "sha512-UDWu4jkVcx2kiBKm3Ec//4lVCbeTWj8gmJ9SyLWCdLWtTlyq7fQVeVV/14nXvRtSLErvJ2+yA/Ux5taS31Y17Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.3.4.tgz", + "integrity": "sha512-W9mGtTa0w4fWh8RLMNPyaEhhcuqUfO07Q4I1bBc4PDMNg7gQSw0yPQNQ3D0qwbkXwxbyL4YrIzc8n6k1vuFExQ==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.3.4.tgz", + "integrity": "sha512-8B+ofyQZ7/aCmkqnyMonPr5zKLqMVNczhRGFNtdIuItiwNn8iQWJawMq2E58r7bxD1XEbtRRsULY/eCWwZQ01Q==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.3.4.tgz", + "integrity": "sha512-TlD0FSZaC7o2B4NCe9V5N11ugTnhzTM9ksj4sgRLvrKosDzjEkvlsTX3ehkw4ZlPv8AADimZZTvJGEa16pfXug==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.3.4.tgz", + "integrity": "sha512-jwO8P3o53ygo7b5061B7BeaJ1BGv3BKZ6jroFdw/01qWry7Z+qNBlDvulzbTle5s/A0Fc1FRgsTxrke9DvsSbA==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@oxc-project/types": "0.160.0" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.3.4.tgz", + "integrity": "sha512-8adGMrNtrdzi2WD1ozhYapER59gD8Q/DV6SCKJlyG2HqULPdeQUBvMa33lTsiEYwIqTZUaIU2MmvPp5f1wbtXA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.3.4.tgz", + "integrity": "sha512-rIMjtESdXJCIoOiUTroQ1Y1rjVDZkuUVRUxs3APX2vNv175D7TDWvzdELiIhzGq9cUNUFat+co+PTmPHPqSREg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/vite/node_modules/rolldown": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.3.4.tgz", + "integrity": "sha512-p2rq4bfBmF0M6yaR8+A89fbkBQynZI2fxUW4G07eq9kpctAkpo7q5BZ4X4Mo4XZ7HHROu33cX9PeopUFN6u+2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.160.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm-eabi": "1.3.4", + "@rolldown/binding-android-arm64": "1.3.4", + "@rolldown/binding-darwin-arm64": "1.3.4", + "@rolldown/binding-darwin-x64": "1.3.4", + "@rolldown/binding-freebsd-x64": "1.3.4", + "@rolldown/binding-linux-arm-gnueabihf": "1.3.4", + "@rolldown/binding-linux-arm64-gnu": "1.3.4", + "@rolldown/binding-linux-arm64-musl": "1.3.4", + "@rolldown/binding-linux-ppc64-gnu": "1.3.4", + "@rolldown/binding-linux-s390x-gnu": "1.3.4", + "@rolldown/binding-linux-x64-gnu": "1.3.4", + "@rolldown/binding-linux-x64-musl": "1.3.4", + "@rolldown/binding-openharmony-arm64": "1.3.4", + "@rolldown/binding-wasm32-wasi": "1.3.4", + "@rolldown/binding-win32-arm64-msvc": "1.3.4", + "@rolldown/binding-win32-x64-msvc": "1.3.4" + } + }, + "node_modules/vitest": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.12.tgz", + "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/expect": "4.1.12", + "@vitest/mocker": "4.1.12", + "@vitest/pretty-format": "4.1.12", + "@vitest/runner": "4.1.12", + "@vitest/snapshot": "4.1.12", + "@vitest/spy": "4.1.12", + "@vitest/utils": "4.1.12", + "es-module-lexer": "^2.0.0", + "expect-type": "^1.3.0", + "magic-string": "^0.30.21", + "obug": "^2.1.1", + "pathe": "^2.0.3", + "picomatch": "^4.0.3", + "std-env": "^4.0.0-rc.1", + "tinybench": "^2.9.0", + "tinyexec": "^1.0.2", + "tinyglobby": "^0.2.15", + "tinyrainbow": "^3.1.0", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@opentelemetry/api": "^1.9.0", + "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", + "@vitest/browser-playwright": "4.1.12", + "@vitest/browser-preview": "4.1.12", + "@vitest/browser-webdriverio": "^4.1.11", + "@vitest/coverage-istanbul": "4.1.12", + "@vitest/coverage-v8": "4.1.12", + "@vitest/ui": "4.1.12", + "happy-dom": "*", + "jsdom": "*", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@opentelemetry/api": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser-playwright": { + "optional": true + }, + "@vitest/browser-preview": { + "optional": true + }, + "@vitest/browser-webdriverio": { + "optional": true + }, + "@vitest/coverage-istanbul": { + "optional": true + }, + "@vitest/coverage-v8": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + }, + "vite": { + "optional": false + } + } + }, + "node_modules/vitest-axe": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/vitest-axe/-/vitest-axe-0.1.0.tgz", + "integrity": "sha512-jvtXxeQPg8R/2ANTY8QicA5pvvdRP4F0FsVUAHANJ46YCDASie/cuhlSzu0DGcLmZvGBSBNsNuK3HqfaeknyvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "aria-query": "^5.0.0", + "axe-core": "^4.4.2", + "chalk": "^5.0.1", + "dom-accessibility-api": "^0.5.14", + "lodash-es": "^4.17.21", + "redent": "^3.0.0" + }, + "peerDependencies": { + "vitest": ">=0.16.0" + } + }, + "node_modules/vitest-axe/node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/vitest/node_modules/@vitest/expect": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.12.tgz", + "integrity": "sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==", + "dev": true, + "license": "MIT", "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", @@ -14688,6 +15113,24 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -14800,16 +15243,16 @@ } }, "node_modules/yargs": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", - "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.2.0.tgz", + "integrity": "sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w==", "dev": true, "license": "MIT", "dependencies": { "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "string-width": "^7.2.0", + "string-width": "^8.2.1", "y18n": "^5.0.5", "yargs-parser": "^22.0.0" }, diff --git a/package.json b/package.json index 30776fa22..d4778be3d 100644 --- a/package.json +++ b/package.json @@ -141,6 +141,7 @@ "@types/node": "^24.13.2", "@typescript-eslint/parser": "^8.59.3", "@vitest/coverage-v8": "^4.0.18", + "axe-core": "^4.14.1", "concurrently": "^10.0.3", "eslint": "^9.39.4", "eslint-import-resolver-typescript": "^4.4.4", @@ -166,7 +167,8 @@ "unplugin-icons": "^23.0.1", "vite": "^8.0.16", "vite-plugin-lit-css": "^3.0.0", - "vitest": "^4.0.18" + "vitest": "^4.0.18", + "vitest-axe": "^0.1.0" }, "optionalDependencies": { "fsevents": "*" diff --git a/src/components/access-control-modal/AccessControlAddAccess.ts b/src/components/access-control-modal/AccessControlAddAccess.ts index b4fa38153..3e09f3832 100644 --- a/src/components/access-control-modal/AccessControlAddAccess.ts +++ b/src/components/access-control-modal/AccessControlAddAccess.ts @@ -63,6 +63,10 @@ export default class AccessControlAddAccess extends WebComponent { @query('.access-role-select--top') private accessor roleCombobox: HTMLElement & { value?: string } | null = null + public focusAdvancedToggle () { + this.renderRoot.querySelector('.access-control-advanced-toggle')?.focus() + } + protected updated (changedProperties: PropertyValues) { super.updated(changedProperties) diff --git a/src/components/access-control-modal/AccessControlErrors.styles.css b/src/components/access-control-modal/AccessControlErrors.styles.css index 9d30cb117..625251983 100644 --- a/src/components/access-control-modal/AccessControlErrors.styles.css +++ b/src/components/access-control-modal/AccessControlErrors.styles.css @@ -20,29 +20,33 @@ li { display: grid; - grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); - align-items: baseline; - gap: 6px; + gap: 4px; min-width: 0; color: var(--solid-ui-color-red-600, #be2e48); font-size: var(--solid-ui-font-size-sm, .875rem); line-height: 1.4; } - .access-control-save-error-label { + .access-control-save-error-detail { font-weight: 500; + min-width: 0; overflow-wrap: anywhere; } - .access-control-save-error-detail { + .access-control-save-error-message { min-width: 0; overflow-wrap: anywhere; } } - @media (max-width: 600px) { - .access-control-save-errors li { - grid-template-columns: minmax(0, 40%) minmax(0, 1fr); + @media (max-width: 768px) { + .access-control-save-errors { + gap: 10px; + + li { + gap: 6px; + font-size: var(--solid-ui-font-size-xs, .75rem); + } } } } diff --git a/src/components/access-control-modal/AccessControlErrors.ts b/src/components/access-control-modal/AccessControlErrors.ts index fa8041153..71dd91044 100644 --- a/src/components/access-control-modal/AccessControlErrors.ts +++ b/src/components/access-control-modal/AccessControlErrors.ts @@ -35,15 +35,33 @@ export default class AccessControlErrors extends WebComponent { : 'resource' } + private getErrorDetail (error: AccessSaveError): string | undefined { + switch (error.action) { + case 'grant': + return `${error.label}: Could not grant ${error.role ?? 'access'} for ${error.scope ? this.getScopeLabel(error.scope) : 'resource'}` + case 'revoke': + return `${error.label}: Could not remove access for ${error.scope ? this.getScopeLabel(error.scope) : 'resource'}` + case 'reset': + return 'Could not reset sharing' + case 'validation': + return undefined + default: + return 'Could not save access changes' + } + } + protected render () { if (!this.errors.length) { return html`` } + const validationOnly = this.errors.every(error => error.action === 'validation') return html` ${this.errors.map(error => html`
  • - ${error.label} - - ${error.action === 'grant' - ? `Could not grant ${error.role ?? 'access'} for ${error.scope ? this.getScopeLabel(error.scope) : 'resource'}` - : error.action === 'revoke' - ? `Could not remove access for ${error.scope ? this.getScopeLabel(error.scope) : 'resource'}` - : error.action === 'reset' - ? 'Could not reset sharing' - : 'Could not save access changes'} - + ${this.getErrorDetail(error) + ? html`${this.getErrorDetail(error)}` + : ''} ${error.message}
  • `)} diff --git a/src/components/access-control-modal/AccessControlGeneralAccess.styles.css b/src/components/access-control-modal/AccessControlGeneralAccess.styles.css index 1c07efed5..9a197a731 100644 --- a/src/components/access-control-modal/AccessControlGeneralAccess.styles.css +++ b/src/components/access-control-modal/AccessControlGeneralAccess.styles.css @@ -13,8 +13,7 @@ padding: 0 10px; align-self: stretch; - solid-ui-combobox, - solid-ui-input { + solid-ui-combobox { --solid-ui-input-border-color: var(--solid-ui-color-slate-200, #E2E8F0); } @@ -39,17 +38,19 @@ } .access-grants-general-share { - display: flex; - align-items: center; + display: grid; + grid-template-columns: minmax(0, 1fr) 150px 120px; + align-items: start; gap: 10px; align-self: stretch; .access-grants-general-share-content { + grid-column: 1; + grid-row: 1; display: flex; flex-direction: row; align-items: flex-start; gap: 10px; - flex: 1 0 0; .access-grants-general-share-icon { display: flex; @@ -73,12 +74,13 @@ flex-shrink: 0; aspect-ratio: 1/1; - icon-lucide-globe { + .access-grants-general-share-icon-image { width: 17.5px; height: 17.5px; flex-shrink: 0; aspect-ratio: 1/1; } + } .access-grants-general-share-text { @@ -86,17 +88,64 @@ min-width: 0; .access-grants-general-share-text-title { + display: flex; + align-items: center; + gap: 4px; color: var(--solid-ui-color-gray-900, #101828); - font-size: var(--solid-ui-font-size-sm, .875rem); + font-size: var(--solid-ui-font-size-xs, .75rem); font-weight: 600; - } - .access-grants-general-share-text-description { - color: var(--solid-ui-color-gray-700, #364153); - font-size: var(--solid-ui-font-size-sm, .875rem); + .access-grants-general-info-button { + display: inline-flex; + align-items: center; + justify-content: center; + width: 42px; + height: 42px; + padding: 13px; + flex: 0 0 42px; + border: 0; + border-radius: 50%; + color: var(--solid-ui-color-gray-600, #4A5565); + background: transparent; + cursor: pointer; + + &:hover, + &:focus-visible { + color: var(--solid-ui-color-gray-900, #101828); + background: var(--solid-ui-color-slate-100, #F1F5F9); + } + + icon-lucide-info { + width: 16px; + height: 16px; + } + } } + } } + + .access-grants-general-share-entries { + grid-column: 2 / 4; + grid-row: 1; + display: flex; + flex-direction: column; + gap: 4px; + } + + .access-grants-general-share-entry { + display: flex; + align-items: center; + justify-content: flex-end; + gap: 10px; + } + + .access-scope-select { + width: 150px; + min-width: 150px; + font-size: var(--solid-ui-font-size-xs, .75rem); + font-weight: 500; + } } } @@ -108,10 +157,152 @@ font-weight: 500; } + .access-role-readonly { + display: inline-flex; + width: 120px; + min-width: 120px; + box-sizing: border-box; + align-items: center; + min-height: 36px; + color: var(--solid-ui-color-gray-600, #4A5565); + font-size: var(--solid-ui-font-size-xs, .75rem); + font-weight: 500; + } + .access-role-select--compact { display: block; max-width: 100%; --solid-ui-input-border-color: transparent; margin-top: 0; } + + .access-grants-general-info-dialog { + position: fixed; + left: 0; + top: 0; + box-sizing: border-box; + width: min(320px, calc(100vw - 32px)); + max-width: min(320px, calc(100vw - 32px)); + max-height: calc(100vh - 24px); + margin: 0; + padding: 16px; + align-items: flex-start; + gap: 8px; + overflow: auto; + border: 1px solid var(--solid-ui-color-slate-200, #E2E8F0); + border-radius: 6px; + color: var(--solid-ui-color-gray-700, #364153); + font-size: var(--solid-ui-font-size-xs, .75rem); + + &[open] { + display: flex; + } + + p { + margin: 0; + flex: 1; + } + + .access-grants-general-info-dialog-close { + display: inline-flex; + align-items: center; + justify-content: center; + width: 42px; + height: 42px; + padding: 13px; + flex: 0 0 42px; + border: 0; + border-radius: 50%; + color: var(--solid-ui-color-gray-900, #101828); + background: transparent; + cursor: pointer; + + &:hover, + &:focus-visible { + background: var(--solid-ui-color-slate-100, #F1F5F9); + } + + icon-lucide-x { + width: 16px; + height: 16px; + } + } + + } + + @media (max-width: 768px) { + .access-grants-general { + padding: 0; + + .access-grants-general-share { + display: flex; + flex-direction: column; + gap: 8px; + + .access-grants-general-share-content { + width: 100%; + flex: 0 0 auto; + } + + .access-grants-general-share-entries { + width: 100%; + } + + .access-grants-general-share-entry { + justify-content: flex-start; + flex-wrap: wrap; + } + + .access-scope-select, + .access-role-select--general { + min-width: 0; + width: auto; + flex: 1 1 140px; + } + } + } + + .access-grants-general-info-dialog { + width: calc(100vw - 24px); + max-width: none; + } + } +} + +:host([layout='mobile']) { + .access-grants-general { + padding: 0; + + .access-grants-general-share { + display: flex; + flex-direction: column; + gap: 8px; + + .access-grants-general-share-content { + width: 100%; + flex: 0 0 auto; + } + + .access-grants-general-share-entries { + width: 100%; + } + + .access-grants-general-share-entry { + justify-content: flex-start; + flex-wrap: wrap; + } + + .access-scope-select, + .access-role-select--general { + min-width: 0; + width: auto; + flex: 1 1 140px; + } + } + } + + .access-grants-general-info-dialog { + width: calc(100vw - 24px); + max-width: none; + } } diff --git a/src/components/access-control-modal/AccessControlGeneralAccess.ts b/src/components/access-control-modal/AccessControlGeneralAccess.ts index 0b3aa87de..bbb3e89b1 100644 --- a/src/components/access-control-modal/AccessControlGeneralAccess.ts +++ b/src/components/access-control-modal/AccessControlGeneralAccess.ts @@ -1,18 +1,21 @@ import { customElement, WebComponent } from '@/lib/components' -import { html } from 'lit' -import { property } from 'lit/decorators.js' -import { ACCESS_ROLES, PUBLIC_ACCESS_ROLES, type AccessRole } from 'solid-logic' +import { html, nothing } from 'lit' +import { property, query, state } from 'lit/decorators.js' +import { ACCESS_ROLES, PUBLIC_ACCESS_ROLES, type AccessRole, type ContainerAccessScope } from 'solid-logic' import * as debug from '@/lib/debug' import type { ComboboxChangeEvent } from '@/components/combobox' import '~icons/lucide/link' import '~icons/lucide/globe' +import '~icons/lucide/globe-lock' +import '~icons/lucide/info' +import '~icons/lucide/x' import '@/components/button' import '@/components/combobox' import '@/components/combobox-option' import styles from './AccessControlGeneralAccess.styles.css' -import type { RoleChangedDetail } from './types' +import type { AccessDisplayRole, GeneralAccessEntry, GeneralAccessRoleChangedDetail, GeneralAccessScopeChangedDetail, GeneralAccessVariant, RoleChangedDetail } from './types' @customElement('solid-ui-access-control-general-access') export default class AccessControlGeneralAccess extends WebComponent { @@ -30,12 +33,62 @@ export default class AccessControlGeneralAccess extends WebComponent { @property({ type: Boolean }) accessor disabled = false - private onAuthenticatedRoleChange (event: ComboboxChangeEvent) { - this.dispatchRoleChange('authenticated-role-changed', event, ACCESS_ROLES) + @property({ type: Boolean }) + accessor showContainerScope = false + + @property({ type: Boolean }) + accessor advancedSharingOpen = false + + @property({ reflect: true }) + accessor layout: 'desktop' | 'mobile' = 'desktop' + + @property({ attribute: false }) + accessor authenticatedAccessScope: ContainerAccessScope = 'folder+contents' + + @property({ attribute: false }) + accessor publicAccessScope: ContainerAccessScope = 'folder+contents' + + @property({ attribute: false }) + accessor authenticatedAccessEntries: GeneralAccessEntry[] = [] + + @property({ attribute: false }) + accessor publicAccessEntries: GeneralAccessEntry[] = [] + + @state() + private accessor informationMessage = '' + + @state() + private accessor informationTriggerId = 'general-access-info-authenticated' + + private informationAnchor: HTMLElement | undefined + + @query('.access-grants-general-info-dialog') + private accessor informationDialog: HTMLDialogElement | null = null + + private onAuthenticatedRoleChange (index: number, event: ComboboxChangeEvent) { + this.dispatchGeneralRoleChange('authenticated-role-changed', 'authenticated', index, event, ACCESS_ROLES) } - private onPublicRoleChange (event: ComboboxChangeEvent) { - this.dispatchRoleChange('public-role-changed', event, PUBLIC_ACCESS_ROLES) + private onPublicRoleChange (index: number, event: ComboboxChangeEvent) { + this.dispatchGeneralRoleChange('public-role-changed', 'public', index, event, PUBLIC_ACCESS_ROLES) + } + + private dispatchGeneralRoleChange ( + eventName: 'authenticated-role-changed' | 'public-role-changed', + variant: GeneralAccessVariant, + index: number, + event: ComboboxChangeEvent, + roles: readonly string[] + ) { + const value = event.detail.option.value + if (typeof value !== 'string' || !roles.includes(value) || value === 'Owner' || value === 'Admin') return + if (index === 0) this.dispatchRoleChange(eventName, event, roles) + const detail: GeneralAccessRoleChangedDetail = { variant, index, role: value as AccessRole } + this.dispatchEvent(new CustomEvent('general-access-role-changed', { + detail, + bubbles: true, + composed: true + })) } private dispatchRoleChange ( @@ -71,7 +124,9 @@ export default class AccessControlGeneralAccess extends WebComponent { } private renderAuthenticatedRoleOptions () { - return ACCESS_ROLES.map(role => html` + return ACCESS_ROLES + .filter(role => role !== 'Owner' && role !== 'Admin') + .map(role => html` ${role} `) } @@ -82,63 +137,178 @@ export default class AccessControlGeneralAccess extends WebComponent { `) } - private renderAuthenticatedModeSelector () { + private renderAuthenticatedModeSelector (index: number, role: AccessDisplayRole) { + if (role === 'Mixed permissions') { + return html` + Mixed permissions + ` + } return html` this.onAuthenticatedRoleChange(index, event)} > ${this.renderAuthenticatedRoleOptions()} ` } - private renderPublicModeSelector () { + private renderPublicModeSelector (index: number, role: AccessDisplayRole) { + if (role === 'Mixed permissions') { + return html` + Mixed permissions + ` + } return html` this.onPublicRoleChange(index, event)} > ${this.renderPublicRoleOptions()} ` } - private renderGeneralAccessIcon () { + private renderGeneralAccessIcon (variant: GeneralAccessVariant) { return html` ` } + private onScopeChange (variant: GeneralAccessVariant, index: number, event: ComboboxChangeEvent) { + const value = event.detail.option.value + if (value !== 'folder+contents' && value !== 'folder' && value !== 'contents') { + return + } + + const detail: GeneralAccessScopeChangedDetail = { + variant, + index, + scope: value + } + this.dispatchEvent(new CustomEvent('general-access-scope-changed', { + detail, + bubbles: true, + composed: true + })) + } + + private renderScopeSelector (variant: GeneralAccessVariant, index: number, value: ContainerAccessScope) { + return this.showContainerScope + ? html` + entry.role === 'Mixed permissions')} + .value=${value} + @change=${(event: ComboboxChangeEvent) => this.onScopeChange(variant, index, event)} + > + Folder And Contents + Folder Only + Contents Only + + ` + : nothing + } + + private showInformation (message: string, event: Event) { + this.informationMessage = message + this.informationAnchor = event.currentTarget instanceof HTMLElement + ? event.currentTarget + : undefined + this.informationTriggerId = this.informationAnchor?.id ?? this.informationTriggerId + this.updateComplete.then(() => { + if (!this.informationDialog || !this.informationAnchor) return + const anchor = this.informationAnchor.getBoundingClientRect() + if (this.informationDialog.open) this.informationDialog.close() + this.informationDialog.showModal() + // Keep the modal beside its button and within the viewport, including + // browsers without CSS anchor positioning and position-try fallbacks. + // Those CSS features could replace this calculation when older browsers + // no longer need to be supported. + const dialog = this.informationDialog.getBoundingClientRect() + const horizontalMargin = 12 + const verticalMargin = 12 + const left = Math.min( + Math.max(horizontalMargin, anchor.left), + Math.max(horizontalMargin, window.innerWidth - dialog.width - horizontalMargin) + ) + const belowTop = anchor.bottom + 8 + const top = belowTop + dialog.height <= window.innerHeight - verticalMargin + ? belowTop + : Math.max(verticalMargin, anchor.top - dialog.height - 8) + this.informationDialog.style.left = `${left}px` + this.informationDialog.style.top = `${top}px` + }) + } + + private closeInformation (event: Event) { + event.stopPropagation() + this.informationDialog?.close() + } + private renderGeneralShareRow (options: { title: string description: string - variant: 'authenticated' | 'public' + variant: GeneralAccessVariant + entries: GeneralAccessEntry[] }) { return html` ` } @@ -158,15 +328,40 @@ export default class AccessControlGeneralAccess extends WebComponent { ${this.renderGeneralShareRow({ - title: 'Only logged in users with the link', + title: 'Anyone logged in', description: 'Users must sign in to SolidOS to access this shared item using the link.', - variant: 'authenticated' + variant: 'authenticated', + entries: this.authenticatedAccessEntries.length + ? this.authenticatedAccessEntries + : [{ scope: this.authenticatedAccessScope, role: this.authenticatedAccessRoleValue }] })} ${this.renderGeneralShareRow({ title: 'Anyone with the Link', description: 'The selected role applies to anyone on the internet with the link.', - variant: 'public' + variant: 'public', + entries: this.publicAccessEntries.length + ? this.publicAccessEntries + : [{ scope: this.publicAccessScope, role: this.publicAccessRoleValue }] })} + { + if (event.target === event.currentTarget) this.informationDialog?.close() + }} + > +

    ${this.informationMessage}

    + +
    ` } diff --git a/src/components/access-control-modal/AccessControlModal.styles.css b/src/components/access-control-modal/AccessControlModal.styles.css index f6bc132eb..53b9fe1e7 100644 --- a/src/components/access-control-modal/AccessControlModal.styles.css +++ b/src/components/access-control-modal/AccessControlModal.styles.css @@ -1,41 +1,4 @@ :host { - .access-control-mode-confirmation { - box-sizing: border-box; - width: min(540px, calc(100vw - 32px)); - max-height: calc(100dvh - 32px); - padding: 24px; - overflow: auto; - border: 1px solid var(--solid-ui-color-slate-200, #E2E8F0); - border-radius: 8px; - background: var(--solid-ui-color-white, #FFF); - color: var(--solid-ui-color-gray-600, #4A5565); - - &::backdrop { - background: rgb(0 0 0 / 40%); - } - - h2 { - margin: 0 0 12px; - font-size: var(--solid-ui-font-size-lg, 1.125rem); - } - - p { - margin: 0; - line-height: 1.5; - } - } - - .access-control-mode-actions { - display: flex; - flex-wrap: wrap; - gap: 8px; - margin-top: 20px; - - solid-ui-button { - flex: 1 1 auto; - } - } - .access-control-sharing-state, .access-control-contents-prompt { box-sizing: border-box; @@ -200,4 +163,26 @@ } } } + +} + +:host([layout='mobile']) { + .access-control-sharing-guidance { + align-items: flex-start; + flex-direction: column; + gap: 8px; + + solid-ui-button { + align-self: flex-end; + } + } + + .access-control-footer-actions { + gap: 8px; + + > solid-ui-button { + min-width: 0; + flex: 1 1 0; + } + } } diff --git a/src/components/access-control-modal/AccessControlModal.ts b/src/components/access-control-modal/AccessControlModal.ts index aa1384914..64cfd6b4a 100644 --- a/src/components/access-control-modal/AccessControlModal.ts +++ b/src/components/access-control-modal/AccessControlModal.ts @@ -1,4 +1,5 @@ import { customElement, DialogComponent } from '@/lib/components' +import { showDialog } from '@/lib/dialogs' import { html, nothing } from 'lit' import type { PropertyValues } from 'lit' import { property, state } from 'lit/decorators.js' @@ -17,19 +18,21 @@ import '@/components/dialog-footer' import '@/components/button' import '@/components/combobox' import '@/components/combobox-option' +import AccessControlAddAccess from './AccessControlAddAccess' import './AccessControlSharedAccess' import './AccessControlGeneralAccess' import './AccessControlErrors' +import AdvancedSharingExitConfirmation, { type AdvancedExitChoice } from './AdvancedSharingExitConfirmation' import styles from './AccessControlModal.styles.css' -import type { AccessChange, AccessControlError, AccessGrantDraft, AccessGrantRoleChangedEvent, AccessGrantScopeChangedEvent, AccessGrantViewModel, AccessSaveError, AccessSaveScope, AdvancedSharingChangedEvent, InputAccessControlError, PendingAccessGrant, PendingGrantRemovedEvent, RoleChangedEvent, TargetInputEvent, TargetSelectedEvent } from './types' -import { createAccessGrantDrafts, getAccessGrantViewModels, getAuthenticatedAccessRole, getAuthorizationSubjectLabel, getChangedAccessGrants, getPublicAccessRole, stagePendingAccessGrant, validateAccessGrantScopes } from './accessGrantDrafts' +import type { AccessChange, AccessControlError, AccessGrantDraft, AccessGrantRoleChangedEvent, AccessGrantScopeChangedEvent, AccessGrantViewModel, AccessSaveError, AccessSaveScope, AdvancedSharingChangedEvent, GeneralAccessEntry, GeneralAccessRoleChangedEvent, GeneralAccessScopeChangedEvent, InputAccessControlError, PendingAccessGrant, PendingGrantRemovedEvent, RoleChangedEvent, TargetInputEvent, TargetSelectedEvent } from './types' +import { createAccessGrantDrafts, getAccessGrantViewModels, getAuthenticatedAccessRole, getAuthorizationRole, getAuthorizationSubjectLabel, getChangedAccessGrants, getGeneralAccessEntries, getGeneralAccessScope, getPublicAccessRole, stagePendingAccessGrant, validateAccessGrantScopes } from './accessGrantDrafts' import { accessPrincipalOptionsProvider, resolveAccessTarget } from './accessTargetResolver' import { applyAccessChanges } from './applyAccessChanges' import { buildAccessChanges } from './buildAccessChanges' -function isDefined (value: T | undefined | null): value is T { - return value !== undefined && value !== null +function isOwnerOrAdmin (role: AccessGrantViewModel['role']): boolean { + return role === 'Owner' || role === 'Admin' } type PendingAccessGrantCreationResult = @@ -46,6 +49,9 @@ export default class AccessControlModal extends DialogComponent { @property({ attribute: false }) accessor accessGrants: Authorization[] | undefined = undefined + @property({ reflect: true }) + accessor layout: 'desktop' | 'mobile' = 'desktop' + @state() private accessor principalInputValue: string = '' @@ -89,7 +95,23 @@ export default class AccessControlModal extends DialogComponent { private accessor advancedSharingOpen = false @state() - private accessor confirmingAdvancedExit = false + private accessor authenticatedAccessScope: ContainerAccessScope = 'folder+contents' + + @state() + private accessor publicAccessScope: ContainerAccessScope = 'folder+contents' + + @state() + private accessor authenticatedAccessEntries: GeneralAccessEntry[] = [] + + @state() + private accessor publicAccessEntries: GeneralAccessEntry[] = [] + + private authenticatedAccessEntriesInitial: GeneralAccessEntry[] = [] + private publicAccessEntriesInitial: GeneralAccessEntry[] = [] + + private confirmingAdvancedExit = false + private advancedExitConfirmation?: AdvancedSharingExitConfirmation + private accessControlLifecycleVersion = 0 @state() private accessor protectedTarget = false @@ -102,11 +124,13 @@ export default class AccessControlModal extends DialogComponent { protected override close () { this.pendingPrincipalVersion++ + this.invalidateAdvancedExitConfirmation() super.close() } disconnectedCallback (): void { this.pendingPrincipalVersion++ + this.invalidateAdvancedExitConfirmation() this.accessGrantLabelRequestVersion++ this.accessContextRequestVersion++ this.errors = [] @@ -121,6 +145,89 @@ export default class AccessControlModal extends DialogComponent { return this.errors.filter((error): error is AccessSaveError => error.action !== 'input') } + private get hasSaveFailure (): boolean { + return this.saveErrors.some(error => error.action !== 'validation') + } + + private get hasOwnerAccess (): boolean { + const unchangedAuthenticatedEntryHasOwnerAccess = (entry: GeneralAccessEntry) => { + const initial = this.authenticatedAccessEntriesInitial.find(candidate => candidate.id === entry.id) + return initial?.scope === entry.scope && + initial.role === entry.role && + entry.authorizations?.some(authorization => isOwnerOrAdmin(getAuthorizationRole(authorization))) === true + } + const hasOwnerDraft = (draft: AccessGrantDraft) => + draft.subjects.length > 0 && ( + draft.role === draft.initialRole && draft.authorizations?.length + ? draft.authorizations.some(authorization => isOwnerOrAdmin(getAuthorizationRole(authorization))) + : isOwnerOrAdmin(draft.role) + ) + + if (!this.isContainer()) { + return this.accessGrantDrafts.some(hasOwnerDraft) || + this.pendingAccessGrants.some(({ role }) => isOwnerOrAdmin(role)) || + (this.authenticatedAccessEntries.length + ? this.authenticatedAccessEntries.some(entry => + unchangedAuthenticatedEntryHasOwnerAccess(entry) || + isOwnerOrAdmin(entry.role)) + : isOwnerOrAdmin(this.authenticatedAccessRoleValue)) + } + + const coverage = { folder: false, contents: false } + const addCoverage = (role: AccessGrantViewModel['role'], scope: ContainerAccessScope = 'folder+contents', hasSubject = true) => { + if (!hasSubject || !isOwnerOrAdmin(role)) return + if (scope === 'folder' || scope === 'folder+contents') coverage.folder = true + if (scope === 'contents' || scope === 'folder+contents') coverage.contents = true + } + + for (const draft of this.accessGrantDrafts) { + const authorizations = draft.authorizations ?? [] + if (authorizations.length && draft.role === draft.initialRole) { + for (const authorization of authorizations) { + addCoverage(getAuthorizationRole(authorization), draft.scope, draft.subjects.length > 0) + } + } else { + addCoverage(draft.role, draft.scope, draft.subjects.length > 0) + } + } + for (const grant of this.pendingAccessGrants) { + addCoverage(grant.role, grant.scope) + } + if (this.authenticatedAccessEntries.length) { + for (const entry of this.authenticatedAccessEntries) { + if (unchangedAuthenticatedEntryHasOwnerAccess(entry)) { + for (const authorization of entry.authorizations ?? []) { + addCoverage(getAuthorizationRole(authorization), entry.scope) + } + } else { + addCoverage(entry.role, entry.scope) + } + } + } else { + addCoverage(this.authenticatedAccessRoleValue, this.authenticatedAccessScope) + } + + return coverage.folder && coverage.contents + } + + private clearOwnerValidationError () { + if (this.errors.some(error => error.action === 'validation')) { + this.errors = this.errors.filter(error => error.action !== 'validation') + } + } + + private setOwnerValidationError () { + this.errors = [ + ...this.errors.filter(error => error.action !== 'validation'), + { + action: 'validation', + targetUri: this.subjectUri ?? '', + label: 'Owner', + message: 'An owner or admin is required. Add or select one before saving.' + } + ] + } + private setInputError (error: InputAccessControlError) { this.errors = [ ...this.errors.filter(item => item.action !== 'input'), @@ -145,8 +252,8 @@ export default class AccessControlModal extends DialogComponent { super.updated(changedProperties) if (changedProperties.has('subjectUri')) { + this.invalidateAdvancedExitConfirmation() this.advancedSharingOpen = false - this.confirmingAdvancedExit = false this.loadAccessContext().catch(error => { debug.error('Failed to load access control context', error) }) @@ -371,7 +478,11 @@ export default class AccessControlModal extends DialogComponent { private shouldShowContainerScope (): boolean { const hasSpecificScope = this.getSharedAccessViewModels() .some(entry => entry.scope !== undefined && entry.scope !== 'folder+contents') - return this.isContainer() && !this.protectedTarget && (hasSpecificScope || this.advancedSharingOpen) + const hasSpecificGeneralScope = [ + ...this.authenticatedAccessEntries, + ...this.publicAccessEntries + ].some(entry => entry.scope !== 'folder+contents') + return this.isContainer() && !this.protectedTarget && (hasSpecificScope || hasSpecificGeneralScope || this.advancedSharingOpen) } private renderAccessContextState () { @@ -418,6 +529,22 @@ export default class AccessControlModal extends DialogComponent { } this.authenticatedAccessRoleValue = getAuthenticatedAccessRole(accessGrants) this.publicAccessRoleValue = getPublicAccessRole(accessGrants) + this.authenticatedAccessScope = getGeneralAccessScope( + accessGrants, + Authenticated.iri, + this.subjectUri, + this.accessContext?.inherited + ) + this.publicAccessScope = getGeneralAccessScope( + accessGrants, + Public.iri, + this.subjectUri, + this.accessContext?.inherited + ) + this.authenticatedAccessEntries = getGeneralAccessEntries(accessGrants, Authenticated.iri, this.subjectUri, this.accessContext?.inherited) + this.publicAccessEntries = getGeneralAccessEntries(accessGrants, Public.iri, this.subjectUri, this.accessContext?.inherited) + this.authenticatedAccessEntriesInitial = this.authenticatedAccessEntries.map(entry => ({ ...entry })) + this.publicAccessEntriesInitial = this.publicAccessEntries.map(entry => ({ ...entry })) } private getSharedAccessViewModels (): AccessGrantViewModel[] { @@ -455,7 +582,7 @@ export default class AccessControlModal extends DialogComponent {
    ${this.renderAccessContextState()} - { @access-grant-scope-changed=${this.onAccessGrantScopeInput} > ${this.renderSharingInformation()} @@ -503,7 +639,7 @@ export default class AccessControlModal extends DialogComponent { Cancel 0} + ?disabled=${!this.canMutate() || !this.hasUnsavedChanges() || this.submitting || this.hasSaveFailure} ?loading=${this.submitting} type="button" @click=${this.onSaveClick} @@ -513,34 +649,6 @@ export default class AccessControlModal extends DialogComponent { - ${this.confirmingAdvancedExit - ? html` - -

    Leave Advanced with unsaved changes?

    -

    - Keep your changes or discard all unsaved edits in this dialog. - Keeping changes will not merge folder and contents permissions. - Nothing is saved until you choose Save Changes. -

    -
    - this.finishAdvancedExit('stay')}> - Stay in Advanced - - this.finishAdvancedExit('discard')}> - Discard Changes and Switch - - this.finishAdvancedExit('keep')}> - Keep Changes and Switch - -
    -
    - ` - : nothing} ` } @@ -559,33 +667,41 @@ export default class AccessControlModal extends DialogComponent { await this.commitPrincipalFromInputSafely() } - private async onSaveClick () { + private async onSaveClick (closeDialog = true): Promise { if (this.submitting) { - return + return false } if (this.isConnected && !await this.ensureAccessContext()) { - return + return false } if (this.principalInputValue.trim()) { const committed = await this.commitPrincipalFromInputSafely() if (!committed) { - return + return false } } const scope = this.isContainer() && !this.protectedTarget ? this.getSelectedContainerScope() : 'file' - await this.saveAccessChanges(scope === 'folder' ? 'container' : scope) + return this.saveAccessChanges(scope === 'folder' ? 'container' : scope, closeDialog) } private onCancelClick () { this.close() } + private onErrorsClose () { + if (this.hasSaveFailure) { + this.close() + } else { + this.clearOwnerValidationError() + } + } + private async onResetToDefault () { if (!this.subjectUri || !this.canMutate() || !this.accessContext || this.accessContext.inherited || this.submitting) return @@ -611,39 +727,83 @@ export default class AccessControlModal extends DialogComponent { } } - private async onAdvancedSharingChanged (event: AdvancedSharingChangedEvent) { + private onAdvancedSharingChanged (event: AdvancedSharingChangedEvent) { if (!this.canMutate() || this.submitting || this.confirmingAdvancedExit) return if (!event.detail.open && this.advancedSharingOpen && this.hasUnsavedChanges()) { this.confirmingAdvancedExit = true - await this.updateComplete - const dialog = this.renderRoot.querySelector('.access-control-mode-confirmation') - if (typeof dialog?.showModal === 'function') dialog.showModal() - else dialog?.setAttribute('open', '') + const lifecycleVersion = this.accessControlLifecycleVersion + const originatingSubjectUri = this.subjectUri + const confirmation = showDialog(AdvancedSharingExitConfirmation, { + onClose: (choice?: AdvancedExitChoice) => { + if ( + this.advancedExitConfirmation !== confirmation || + lifecycleVersion !== this.accessControlLifecycleVersion || + originatingSubjectUri !== this.subjectUri || + !this.isConnected + ) { + return + } + this.advancedExitConfirmation = undefined + this.confirmingAdvancedExit = false + if (choice === 'discard') { + this.finishAdvancedExit(choice) + } else if (choice === 'save') { + this.saveAndExitAdvanced().then(() => this.restoreAdvancedToggleFocus()) + return + } + this.restoreAdvancedToggleFocus() + } + }) + this.advancedExitConfirmation = confirmation return } this.advancedSharingOpen = event.detail.open } - private onAdvancedExitCancel (event: Event) { - event.preventDefault() - this.finishAdvancedExit('stay') - } - - private finishAdvancedExit (choice: 'stay' | 'keep' | 'discard') { - this.renderRoot.querySelector('.access-control-mode-confirmation')?.close?.() + private finishAdvancedExit (choice: AdvancedExitChoice) { this.confirmingAdvancedExit = false - if (choice === 'stay') return + if (choice === 'save') { + this.advancedSharingOpen = false + return + } if (choice === 'discard') { this.pendingPrincipalVersion++ this.pendingAccessGrants = [] this.principalInputValue = '' this.addAccessRoleValue = 'No Access' this.clearInputError() + this.clearOwnerValidationError() this.refreshScopedAccessGrantDrafts() } this.advancedSharingOpen = false } + private async saveAndExitAdvanced () { + const saved = await this.onSaveClick(false) + if (saved) { + this.advancedSharingOpen = false + } + } + + private restoreAdvancedToggleFocus () { + setTimeout(async () => { + await this.updateComplete + const addAccess = this.renderRoot.querySelector('solid-ui-access-control-add-access') + if (this.isConnected && addAccess) { + await addAccess.updateComplete + addAccess.focusAdvancedToggle() + } + }) + } + + private invalidateAdvancedExitConfirmation () { + this.accessControlLifecycleVersion++ + const confirmation = this.advancedExitConfirmation + this.advancedExitConfirmation = undefined + this.confirmingAdvancedExit = false + confirmation?.dismiss() + } + private onAccessGrantScopeInput (event: AccessGrantScopeChangedEvent) { if (!this.canMutate()) return this.clearInputError() @@ -661,9 +821,15 @@ export default class AccessControlModal extends DialogComponent { ) } - private async saveAccessChanges (scope: AccessSaveScope = 'file') { + private async saveAccessChanges (scope: AccessSaveScope = 'file', closeDialog = true): Promise { if (this.submitting || !this.canMutate()) { - return + return false + } + + const saveStartedConnected = this.isConnected + if (saveStartedConnected) { + await this.updateComplete + if (!this.isConnected || this.submitting || !this.canMutate()) return false } const unassignedGrant = this.pendingAccessGrants.find(grant => grant.role === 'No Access') @@ -674,14 +840,14 @@ export default class AccessControlModal extends DialogComponent { label: unassignedGrant.label, message: 'Choose an access role for the pending additions before saving.' }) - return + return false } if (this.isContainer() && !this.protectedTarget) { const overlap = validateAccessGrantScopes(this.getSharedAccessViewModels()) if (overlap) { this.setInputError(overlap) - return + return false } } @@ -689,11 +855,23 @@ export default class AccessControlModal extends DialogComponent { const generalAccessChanges = this.getGeneralAccessChanges() if (!this.pendingAccessGrants.length && !changedAccessGrants.length && !generalAccessChanges.length) { - return + return false } if (!this.subjectUri) { - return + return false + } + + const saveSubjectUri = this.subjectUri + const saveLifecycleVersion = this.accessControlLifecycleVersion + const isCurrentSave = () => + this.subjectUri === saveSubjectUri && + this.accessControlLifecycleVersion === saveLifecycleVersion && + (!saveStartedConnected || this.isConnected) + + if (!this.hasOwnerAccess) { + this.setOwnerValidationError() + return false } this.submitting = true @@ -707,23 +885,36 @@ export default class AccessControlModal extends DialogComponent { changedAccessGrants }) - const saveErrors = await applyAccessChanges(this.subjectUri, accessChanges, { + const saveErrors = await applyAccessChanges(saveSubjectUri, accessChanges, { containerScope: scope }) + if (!isCurrentSave()) return false if (saveErrors.length) { this.errors = [...this.errors, ...saveErrors] this.principalInputValue = '' - this.pendingAccessGrants = [] + this.pendingAccessGrants = this.pendingAccessGrants.filter(grant => { + const grantScope = this.isContainer() + ? grant.scope === 'folder' ? 'container' : grant.scope ?? scope + : 'file' + return saveErrors.some(error => + error.action === 'grant' && + error.targetUri === grant.subjectValue && + error.scope === grantScope && + error.role === grant.role) + }) try { - this.accessGrants = await solidLogicSingleton.acl.findAccessGrants(this.subjectUri) + const refreshedGrants = await solidLogicSingleton.acl.findAccessGrants(saveSubjectUri) + if (!isCurrentSave()) return false + this.accessGrants = refreshedGrants } catch (error) { + if (!isCurrentSave()) return false this.successfulChangesRefreshed = false this.errors = [ ...this.errors, { action: 'save', - targetUri: this.subjectUri, + targetUri: saveSubjectUri, label: 'Shared with list', message: error instanceof Error ? error.message @@ -734,24 +925,56 @@ export default class AccessControlModal extends DialogComponent { } debug.error('Failed to save some access changes', saveErrors) - return + return false } this.principalInputValue = '' this.pendingAccessGrants = [] - this.close() + if (!closeDialog) { + try { + const refreshedGrants = await solidLogicSingleton.acl.findAccessGrants(saveSubjectUri) + if (!isCurrentSave()) return false + this.accessGrants = refreshedGrants + if (this.accessContext) { + const refreshedContext = await solidLogicSingleton.acl.findEffectiveAcl(saveSubjectUri) + if (!isCurrentSave()) return false + this.accessContext = refreshedContext + } + this.refreshScopedAccessGrantDrafts() + } catch (error) { + if (!isCurrentSave()) return false + this.successfulChangesRefreshed = false + this.errors = [ + ...this.errors, + { + action: 'save', + targetUri: saveSubjectUri, + label: 'Shared with list', + message: error instanceof Error + ? error.message + : 'Unable to refresh the access list.' + } + ] + debug.error('Failed to refresh access grants after saving without closing', error) + return false + } + } + if (closeDialog) this.close() + return true } catch (error) { + if (!isCurrentSave()) return false this.errors = [ ...this.errors, { action: 'save', - targetUri: this.subjectUri ?? '', + targetUri: saveSubjectUri, label: 'Access changes', message: error instanceof Error ? error.message : 'Unexpected error while saving access changes.' } ] + return false } finally { this.submitting = false } @@ -759,12 +982,14 @@ export default class AccessControlModal extends DialogComponent { private onPrincipalInput (event: TargetInputEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() this.principalInputValue = event.detail.value this.clearInputError() } private onPrincipalSelect (event: TargetSelectedEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() this.queuePendingPrincipal( event.detail.value, this.addAccessRoleValue, @@ -780,31 +1005,35 @@ export default class AccessControlModal extends DialogComponent { return [] } - const accessGrants = this.getScopedAccessGrants() - const currentAuthenticatedRole = getAuthenticatedAccessRole(accessGrants) - const currentPublicRole = getPublicAccessRole(accessGrants) - - const authenticatedChange = this.authenticatedAccessRoleValue === currentAuthenticatedRole - ? undefined - : { - subject: Authenticated, - role: this.authenticatedAccessRoleValue, - label: 'Authenticated users' - } - - const publicChange = this.publicAccessRoleValue === currentPublicRole - ? undefined - : { - subject: Public, - role: this.publicAccessRoleValue, - label: 'Public' - } + const buildChanges = (subject: typeof Authenticated, labelText: string, entries: GeneralAccessEntry[], initial: GeneralAccessEntry[]) => + entries.flatMap((entry, index) => { + const previous = entry.id + ? initial.find(candidate => candidate.id === entry.id) + : initial[index] + const changed = !previous || previous.role !== entry.role || previous.scope !== entry.scope + const generatedComplement = entry.role === 'No Access' && + !previous && + entry.id?.endsWith(':complement') && + initial.some(candidate => candidate.scope === 'folder+contents' && candidate.role !== 'No Access') + if (!changed || (entry.role === 'No Access' && !previous && !generatedComplement) || + (entry.role === 'No Access' && previous?.role === 'No Access' && previous.scope === entry.scope)) return [] + return [{ + subject, + role: entry.role, + label: labelText, + scope: this.isContainer() ? entry.scope : undefined + }] + }) - return [authenticatedChange, publicChange].filter(isDefined) + return [ + ...buildChanges(Authenticated, 'Authenticated users', this.authenticatedAccessEntries, this.authenticatedAccessEntriesInitial), + ...buildChanges(Public, 'Public', this.publicAccessEntries, this.publicAccessEntriesInitial) + ] } private onAddAccessRoleInput (event: RoleChangedEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() const role = event.detail.role if (role === 'No Access' || !this.pendingAccessGrants.length) { this.addAccessRoleValue = role @@ -845,16 +1074,67 @@ export default class AccessControlModal extends DialogComponent { private onAuthenticatedAccessRoleInput (event: RoleChangedEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() this.authenticatedAccessRoleValue = event.detail.role } private onPublicAccessRoleInput (event: RoleChangedEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() this.publicAccessRoleValue = event.detail.role } + private onGeneralAccessScopeInput (event: GeneralAccessScopeChangedEvent) { + if (!this.canMutate()) return + this.clearOwnerValidationError() + const entries = event.detail.variant === 'authenticated' ? [...this.authenticatedAccessEntries] : [...this.publicAccessEntries] + const current = entries[event.detail.index] + if (!current) return + entries[event.detail.index] = { ...current, scope: event.detail.scope } + if (entries.length === 1 && event.detail.scope !== 'folder+contents') { + entries.push({ + id: `${current.id ?? `${event.detail.variant}:${event.detail.index}`}:complement`, + scope: event.detail.scope === 'folder' ? 'contents' : 'folder', + role: 'No Access' + }) + } else if (entries.length === 2) { + if (event.detail.scope === 'folder+contents') { + entries.splice(1 - event.detail.index, 1) + } else { + const otherIndex = 1 - event.detail.index + if (entries[otherIndex].scope === event.detail.scope) { + entries[otherIndex] = { ...entries[otherIndex], scope: current.scope } + } + } + } + if (event.detail.variant === 'authenticated') { + this.authenticatedAccessEntries = entries + this.authenticatedAccessScope = event.detail.scope + } else { + this.publicAccessEntries = entries + this.publicAccessScope = event.detail.scope + } + } + + private onGeneralAccessRoleInput (event: GeneralAccessRoleChangedEvent) { + if (!this.canMutate()) return + this.clearOwnerValidationError() + const entries = event.detail.variant === 'authenticated' ? [...this.authenticatedAccessEntries] : [...this.publicAccessEntries] + const current = entries[event.detail.index] + if (!current) return + entries[event.detail.index] = { ...current, role: event.detail.role } + if (event.detail.variant === 'authenticated') { + this.authenticatedAccessEntries = entries + if (event.detail.index === 0) this.authenticatedAccessRoleValue = event.detail.role + } else { + this.publicAccessEntries = entries + if (event.detail.index === 0) this.publicAccessRoleValue = event.detail.role + } + } + private onAccessGrantRoleInput (event: AccessGrantRoleChangedEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() this.clearInputError() if (event.detail.id.startsWith('pending:')) { const index = Number(event.detail.id.slice('pending:'.length)) @@ -872,6 +1152,7 @@ export default class AccessControlModal extends DialogComponent { private onPendingGrantRemoved (event: PendingGrantRemovedEvent) { if (!this.canMutate()) return + this.clearOwnerValidationError() const removed = this.pendingAccessGrants[event.detail.index] if (removed?.automaticSplit) { const { draftId, previousScope } = removed.automaticSplit diff --git a/src/components/access-control-modal/AccessControlSharedAccess.ts b/src/components/access-control-modal/AccessControlSharedAccess.ts index a670f123e..30cad01d1 100644 --- a/src/components/access-control-modal/AccessControlSharedAccess.ts +++ b/src/components/access-control-modal/AccessControlSharedAccess.ts @@ -98,7 +98,7 @@ export default class AccessControlSharedAccess extends WebComponent {
  • ${this.renderAuthorizationBadge(entry.authorization, entry.subjectLabel)}

    ${entry.subjectLabel}

    - ${this.showContainerScope && (this.advancedSharingOpen || entry.scope !== 'folder+contents') + ${this.showContainerScope ? html`
    { + static styles = styles + + dismiss () { + this.close() + } + + protected render () { + return html` + + +
    +

    + You need to save your changes or discard them before leaving Advanced mode. +

    +
    +
    + +
    + this.close('discard')}> + Discard + + this.close('save')}> + Save Changes + +
    +
    +
    + ` + } +} diff --git a/src/components/access-control-modal/accessGrantDrafts.ts b/src/components/access-control-modal/accessGrantDrafts.ts index 642edd63b..ba957dc4d 100644 --- a/src/components/access-control-modal/accessGrantDrafts.ts +++ b/src/components/access-control-modal/accessGrantDrafts.ts @@ -1,7 +1,7 @@ import { label } from '@/utils/label' import { Authenticated, Public, classifyAuthorizationScope, solidLogicSingleton, type AccessRole, type AccessSubject, type ContainerAccessScope } from 'solid-logic' import { sym } from 'rdflib' -import type { AccessAuthorization, AccessGrantDraft, AccessGrantViewModel, AuthorizationSubjectSet, ChangedAccessGrant, InputAccessControlError, PendingAccessGrant } from './types' +import type { AccessAuthorization, AccessGrantDraft, AccessGrantViewModel, AuthorizationSubjectSet, ChangedAccessGrant, GeneralAccessEntry, InputAccessControlError, PendingAccessGrant } from './types' export function getSharedAuthorization (authorization: AccessAuthorization): AccessAuthorization { return { @@ -80,6 +80,92 @@ export function authorizationForSubjects (authorization: AccessAuthorization, su } } +export function getAuthorizationContainerScope ( + container: string, + authorization: AccessAuthorization, + inherited = false +): ContainerAccessScope { + return classifyAuthorizationScope(container, { + ...authorization, + id: authorization.id ?? getAccessGrantId(authorization), + blankNode: false, + mode: [...authorization.mode], + accessTo: authorization.accessTo ?? [], + default: authorization.default ?? [], + condition: authorization.condition ?? [] + }, inherited) ?? 'folder+contents' +} + +export function getGeneralAccessScope ( + accessGrants: AccessAuthorization[], + subjectIri: string, + container: string | undefined, + inherited = false +): ContainerAccessScope { + if (!container) { + return 'folder+contents' + } + + const scopes = accessGrants + .filter(authorization => authorization.agentClass.includes(subjectIri)) + .map(authorization => getAuthorizationContainerScope(container, authorization, inherited)) + + if (scopes.includes('folder+contents') || + (scopes.includes('folder') && scopes.includes('contents'))) { + return 'folder+contents' + } + + return scopes[0] ?? 'folder+contents' +} + +export function getGeneralAccessEntries ( + accessGrants: AccessAuthorization[], + subjectIri: string, + container: string | undefined, + inherited = false +): GeneralAccessEntry[] { + const matching = accessGrants.filter(authorization => authorization.agentClass.includes(subjectIri)) + const aggregate = (scope: ContainerAccessScope, authorizations: AccessAuthorization[]): GeneralAccessEntry => { + const roles = new Set(authorizations.map(getAuthorizationRole)) + return { + id: `${subjectIri}:${scope}`, + scope, + role: roles.size === 1 ? [...roles][0] : 'Mixed permissions', + authorizations + } + } + if (!container) { + return matching.length + ? [aggregate('folder+contents', matching)] + : [{ id: `${subjectIri}:folder+contents`, scope: 'folder+contents', role: 'No Access' }] + } + const authorizationsByScope = new Map() + for (const authorization of matching) { + const scope = getAuthorizationContainerScope(container, authorization, inherited) + authorizationsByScope.set(scope, [...(authorizationsByScope.get(scope) ?? []), authorization]) + } + const entries: GeneralAccessEntry[] = [...authorizationsByScope.entries()] + .map(([scope, authorizations]) => aggregate(scope, authorizations)) + if (entries.some(entry => entry.scope === 'folder+contents')) return entries + + const folder = entries.filter(entry => entry.scope === 'folder') + const contents = entries.filter(entry => entry.scope === 'contents') + if (!folder.length && !contents.length) return [{ id: `${subjectIri}:folder+contents`, scope: 'folder+contents', role: 'No Access' }] + if (folder.length === 1 && contents.length === 1 && matching.length === 2 && + matching.every(authorization => !authorization.condition?.length) && + folder[0].role === contents[0].role && + [...new Set(matching[0].mode)].sort().join('|') === [...new Set(matching[1].mode)].sort().join('|')) { + return [{ id: `${subjectIri}:folder+contents`, scope: 'folder+contents', role: folder[0].role }] + } + const folderEntries: GeneralAccessEntry[] = folder.length + ? folder + : [{ id: `${subjectIri}:folder`, scope: 'folder', role: 'No Access' }] + const contentsEntries: GeneralAccessEntry[] = contents.length + ? contents + : [{ id: `${subjectIri}:contents`, scope: 'contents', role: 'No Access' }] + return [...folderEntries, ...contentsEntries] +} + export function createAccessGrantDrafts ( authorizations: AccessAuthorization[], options: { resource?: string, inherited?: boolean } = {} @@ -90,15 +176,10 @@ export function createAccessGrantDrafts ( const subjects = new Map }>() authorizations.forEach((authorization, index) => { const scope = container - ? classifyAuthorizationScope(container, { + ? getAuthorizationContainerScope(container, { ...authorization, - id: ids[index], - blankNode: false, - mode: [...authorization.mode], - accessTo: authorization.accessTo ?? [], - default: authorization.default ?? [], - condition: authorization.condition ?? [] - }, options.inherited) ?? 'folder+contents' + id: ids[index] + }, options.inherited) : undefined for (const subject of getAuthorizationSubjectEntries(getSharedAuthorization(authorization))) { const key = `${subject.type}:${subject.iri}` @@ -138,6 +219,7 @@ export function createAccessGrantDrafts ( return { id: `${indices.map(index => ids[index]).join('|')}${scope ? `:${scope}` : ''}`, authorization, + authorizations: indices.map(index => getSharedAuthorization(authorizations[index])), subjects, role, initialRole: role, diff --git a/src/components/access-control-modal/applyAccessChanges.ts b/src/components/access-control-modal/applyAccessChanges.ts index e96bf17ad..2756ac7cb 100644 --- a/src/components/access-control-modal/applyAccessChanges.ts +++ b/src/components/access-control-modal/applyAccessChanges.ts @@ -90,7 +90,7 @@ export async function applyAccessChanges ( } function isControlGrant (role: AccessChange['role']): boolean { - return role === 'Owner' || role === 'Owner (write locked)' || role === 'Admin' + return role === 'Owner' || role === 'Admin' } function toAccessSaveScope (scope: ContainerAccessScope | AccessSaveScope): AccessSaveScope { diff --git a/src/components/access-control-modal/types.ts b/src/components/access-control-modal/types.ts index 10f8f6ba8..0b0d05415 100644 --- a/src/components/access-control-modal/types.ts +++ b/src/components/access-control-modal/types.ts @@ -32,6 +32,25 @@ export type PendingGrantRemovedDetail = { export type TargetInputEvent = CustomEvent export type TargetSelectedEvent = CustomEvent export type RoleChangedEvent = CustomEvent +export type GeneralAccessVariant = 'authenticated' | 'public' +export type GeneralAccessEntry = { + id?: string + scope: ContainerAccessScope + role: AccessDisplayRole + authorizations?: AccessAuthorization[] +} +export type GeneralAccessScopeChangedDetail = { + variant: GeneralAccessVariant + index: number + scope: ContainerAccessScope +} +export type GeneralAccessScopeChangedEvent = CustomEvent +export type GeneralAccessRoleChangedDetail = { + variant: GeneralAccessVariant + index: number + role: AccessRole +} +export type GeneralAccessRoleChangedEvent = CustomEvent export type PendingGrantRemovedEvent = CustomEvent export type ContainerScopeChangedDetail = { scope: ContainerAccessScope @@ -77,6 +96,7 @@ export type AccessGrantViewModel = AccessGrantEntry & { initialScope?: ContainerAccessScope subjects: AccessSubject[] scope?: ContainerAccessScope + authorizations?: AccessAuthorization[] } export type AccessGrantDraft = AccessGrantViewModel @@ -123,6 +143,11 @@ export type AccessSaveError = { targetUri: string label: string message: string +} | { + action: 'validation' + targetUri: string + label: string + message: string } export type AccessControlError = InputAccessControlError | AccessSaveError diff --git a/src/components/dialog/Dialog.stories.ts b/src/components/dialog/Dialog.stories.ts index 1e91fab36..f71a3edd6 100644 --- a/src/components/dialog/Dialog.stories.ts +++ b/src/components/dialog/Dialog.stories.ts @@ -9,6 +9,8 @@ import SampleModal from './docs/sample-modal' * * This works using `` to orchestrate the opening and closing of dialogs under the hood. If * you're using ``, it comes configured out of the box. + * + * Give each dialog a title; it is also used as the native dialog's accessible name. */ const meta = { title: 'Advanced/Dialogs', diff --git a/src/components/dialog/Dialog.ts b/src/components/dialog/Dialog.ts index 6b8ed7dea..4f4f666b7 100644 --- a/src/components/dialog/Dialog.ts +++ b/src/components/dialog/Dialog.ts @@ -69,7 +69,7 @@ export default class Dialog extends WebComponent { : nothing return html` - + ${header} diff --git a/src/components/file-explorer-header/FileExplorerHeaderControls.ts b/src/components/file-explorer-header/FileExplorerHeaderControls.ts index d02b5cd22..43a6fdad7 100644 --- a/src/components/file-explorer-header/FileExplorerHeaderControls.ts +++ b/src/components/file-explorer-header/FileExplorerHeaderControls.ts @@ -17,7 +17,7 @@ export default class FileExplorerHeaderControls extends WebComponent { static styles = styles private mobileMediaQuery: MediaQueryList | undefined - private readonly mobileQuery = '(max-width: 600px)' + private readonly mobileQuery = '(max-width: 768px)' private readonly handleMobileMediaChange = (event: MediaQueryListEvent) => { this.isMobile = event.matches } @@ -36,7 +36,7 @@ export default class FileExplorerHeaderControls extends WebComponent { @state() accessor isMobile = typeof window !== 'undefined' && typeof window.matchMedia === 'function' - ? window.matchMedia('(max-width: 600px)').matches + ? window.matchMedia('(max-width: 768px)').matches : false connectedCallback () { @@ -77,7 +77,10 @@ export default class FileExplorerHeaderControls extends WebComponent { if (!subjectUri) return showDialog(AccessControlModal, { - props: { subjectUri } + props: { + subjectUri, + layout: this.fileExplorerContext.layout + } }) } @@ -90,11 +93,12 @@ export default class FileExplorerHeaderControls extends WebComponent { render () { const isContainerResource = isContainerSubject(this.fileExplorerContext.store, this.fileExplorerContext.subjectUri) const supportsEditing = this.fileExplorerContext.canEdit + const isMobile = this.fileExplorerContext.layout === 'mobile' || this.isMobile return html`
    ${this.renderDirtyIndicator()} - ${!isContainerResource && !this.isMobile && this.canManageAccess + ${!isContainerResource && !isMobile && this.canManageAccess ? html`
    ` diff --git a/src/components/file-explorer-provider/FileExplorerProvider.ts b/src/components/file-explorer-provider/FileExplorerProvider.ts index 3a15a6a83..eb8f9b379 100644 --- a/src/components/file-explorer-provider/FileExplorerProvider.ts +++ b/src/components/file-explorer-provider/FileExplorerProvider.ts @@ -38,6 +38,7 @@ export default class FileExplorerProvider extends WebComponent { store: this.context?.session.store, subjectUri: this.subjectUri, pane: this.pane, + layout: this.context?.environment?.layout ?? 'desktop', isDirty: this.isDirty, canEdit: !!this.editor, registerEditor: this.registerEditor, diff --git a/src/lib/file-explorer/context.ts b/src/lib/file-explorer/context.ts index 1e349fe37..f7891e697 100644 --- a/src/lib/file-explorer/context.ts +++ b/src/lib/file-explorer/context.ts @@ -11,6 +11,7 @@ export interface FileExplorerContext { readonly store: LiveStore | undefined readonly subjectUri: string | undefined readonly pane: PaneDefinition | undefined + readonly layout: 'desktop' | 'mobile' readonly isDirty: boolean readonly canEdit: boolean // true while an editor is registered registerEditor (editor: FileExplorerEditor): () => void // returns unregister diff --git a/test/components/access-control-accessibility.test.ts b/test/components/access-control-accessibility.test.ts new file mode 100644 index 000000000..a07c426eb --- /dev/null +++ b/test/components/access-control-accessibility.test.ts @@ -0,0 +1,45 @@ +// @vitest-environment jsdom + +import { axe } from 'vitest-axe' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { LitElement } from 'lit' +import type AccessControlGeneralAccess from '../../src/components/access-control-modal/AccessControlGeneralAccess' +import '../../src/components/access-control-modal/AccessControlGeneralAccess' + +describe('access control accessibility', () => { + beforeEach(() => { + const attachInternals = HTMLElement.prototype.attachInternals + vi.spyOn(HTMLElement.prototype, 'attachInternals').mockImplementation(function (this: HTMLElement) { + return Object.assign(attachInternals.call(this), { + setFormValue: vi.fn(), + setValidity: vi.fn() + }) + }) + }) + + afterEach(() => { + document.body.replaceChildren() + vi.restoreAllMocks() + }) + + it.each([false, true])('checks General Access with Advanced %s', async advanced => { + const element = document.createElement('solid-ui-access-control-general-access') as AccessControlGeneralAccess + element.subjectUri = 'https://example.com/folder/' + element.advancedSharingOpen = advanced + element.showContainerScope = advanced + document.body.appendChild(element) + await element.updateComplete + + const controls = element.shadowRoot!.querySelectorAll('solid-ui-button, solid-ui-combobox') + await Promise.all(Array.from(controls, control => control.updateComplete)) + expect(element.shadowRoot!.querySelectorAll('.access-scope-select')).toHaveLength(advanced ? 2 : 0) + + const results = await axe(element, { + runOnly: { type: 'tag', values: ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'] }, + // jsdom cannot calculate color contrast; the browser axe tests cover it. + rules: { 'color-contrast': { enabled: false } } + }) + expect(results.passes.some(result => result.id === 'button-name')).toBe(true) + expect(results.violations).toEqual([]) + }) +}) diff --git a/test/components/access-control-modal.test.ts b/test/components/access-control-modal.test.ts index 99c78921a..9cce14917 100644 --- a/test/components/access-control-modal.test.ts +++ b/test/components/access-control-modal.test.ts @@ -8,6 +8,7 @@ import type AccessControlModal from '../../src/components/access-control-modal/A import type AccessControlSharedAccess from '../../src/components/access-control-modal/AccessControlSharedAccess' import type AccessControlAddAccess from '../../src/components/access-control-modal/AccessControlAddAccess' import type AccessControlGeneralAccess from '../../src/components/access-control-modal/AccessControlGeneralAccess' +import '../../src/components/dialogs-root' const planGrant = vi.fn() const planGrantContainer = vi.fn() @@ -29,6 +30,19 @@ const isStorageRoot = vi.fn() const currentUser = vi.fn() const findStorage = vi.fn() const load = vi.fn() +let getGeneralAccessEntries: typeof import('../../src/components/access-control-modal/accessGrantDrafts').getGeneralAccessEntries + +function addExistingOwner (element: any) { + const iri = 'https://example.com/owner#me' + element.accessGrantDrafts = [...element.accessGrantDrafts, { + id: `agent:${iri}`, + authorization: { agent: [iri], agentGroup: [], agentClass: [], origin: [], mode: ['Read', 'Write', 'Control'] }, + role: 'Owner', + initialRole: 'Owner', + subjectLabel: 'Owner', + subjects: [{ type: 'agent', iri }] + }] +} vi.mock('@/components/combobox', () => ({ defineAsyncComboboxOptionsProvider: (provider: T) => provider @@ -123,12 +137,241 @@ describe('AccessControlModal submit', () => { planPublicRead.mockResolvedValue({ target: 'https://example.com/resource.ttl.acl', deletes: [], inserts: [] }) applyPlan.mockResolvedValue(new Response('ok', { status: 200 })) findAccessGrants.mockResolvedValue([]) - findEffectiveAcl.mockResolvedValue({ inherited: true, authorizations: [] }) + findEffectiveAcl.mockResolvedValue({ + inherited: true, + authorizations: [{ + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] + }) + resetToDefault.mockResolvedValue(new Response(null, { status: 204 })) isProtectedResource.mockReturnValue(false) load.mockResolvedValue(undefined) await import('../../src/components/access-control-modal/AccessControlModal') await import('../../src/components/access-control-modal/AccessControlErrors') + getGeneralAccessEntries = (await import('../../src/components/access-control-modal/accessGrantDrafts')).getGeneralAccessEntries + }) + + describe('general access entries', () => { + const resource = 'https://example.com/container/' + const publicIri = 'http://xmlns.com/foaf/0.1/Agent' + + it('preserves a combined grant and additional folder grant', () => { + const entries = getGeneralAccessEntries([ + { + agent: [], + agentGroup: [], + agentClass: [publicIri], + origin: [], + mode: ['Read'], + accessTo: [resource], + default: [resource], + condition: [] + }, + { + agent: [], + agentGroup: [], + agentClass: [publicIri], + origin: [], + mode: ['Read', 'Write'], + accessTo: [resource], + default: [], + condition: [] + } + ], publicIri, resource) + + expect(entries).toEqual([ + expect.objectContaining({ scope: 'folder+contents', role: 'Viewer' }), + expect.objectContaining({ scope: 'folder', role: 'Editor' }) + ]) + }) + + it('aggregates authorizations in the same scope when conditions or roles differ', () => { + const entries = getGeneralAccessEntries([ + { + agent: [], + agentGroup: [], + agentClass: [publicIri], + origin: [], + mode: ['Read'], + accessTo: [resource], + default: [], + condition: [{ + id: 'condition-1', + blankNode: false, + properties: {} + }] + }, + { + agent: [], + agentGroup: [], + agentClass: [publicIri], + origin: [], + mode: ['Read', 'Write'], + accessTo: [resource], + default: [], + condition: [] + } + ], publicIri, resource) + + expect(entries).toEqual([ + expect.objectContaining({ scope: 'folder', role: 'Mixed permissions' }), + expect.objectContaining({ scope: 'contents', role: 'No Access' }) + ]) + }) + + it('shows scopes for individually scoped general-access grants', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = resource + element.accessGrants = [ + { + agent: [], + agentGroup: [], + agentClass: ['http://www.w3.org/ns/auth/acl#AuthenticatedAgent'], + origin: [], + mode: ['Read'], + accessTo: [resource], + default: [] + }, + { + agent: [], + agentGroup: [], + agentClass: ['http://www.w3.org/ns/auth/acl#AuthenticatedAgent'], + origin: [], + mode: ['Read', 'Write'], + accessTo: [], + default: [resource] + } + ] + element.accessContext = { inherited: false } + + element.refreshScopedAccessGrantDrafts() + + expect(element.authenticatedAccessScope).toBe('folder+contents') + expect(element.authenticatedAccessEntries).toEqual([ + expect.objectContaining({ scope: 'folder', role: 'Viewer' }), + expect.objectContaining({ scope: 'contents', role: 'Editor' }) + ]) + expect(element.shouldShowContainerScope()).toBe(true) + }) + + it('does not treat unchanged duplicate or combined general-access rows as changes', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = resource + element.authenticatedAccessEntriesInitial = [ + { id: 'viewer', scope: 'folder', role: 'Viewer' }, + { id: 'editor', scope: 'folder', role: 'Editor' } + ] + element.authenticatedAccessEntries = element.authenticatedAccessEntriesInitial.map((entry: object) => ({ ...entry })) + element.publicAccessEntriesInitial = [ + { id: 'combined', scope: 'folder+contents', role: 'Viewer' }, + { id: 'narrow', scope: 'folder', role: 'Editor' } + ] + element.publicAccessEntries = element.publicAccessEntriesInitial.map((entry: object) => ({ ...entry })) + + expect(element.hasUnsavedChanges()).toBe(false) + expect(element.getGeneralAccessChanges()).toEqual([]) + }) + }) + + it.each([ + { resource: 'https://example.com/resource.ttl', scope: undefined }, + { resource: 'https://example.com/folder/', scope: 'folder+contents' } + ])('recognizes owner access in mixed-role drafts for $resource', async ({ resource, scope }) => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = resource + element.accessContext = { inherited: false, authorizations: [] } + element.accessGrantDrafts = [{ + id: 'mixed-owner', + authorization: { + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read'] + }, + authorizations: [ + { + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'], + accessTo: scope ? [resource] : undefined, + default: scope ? [resource] : undefined + }, + { + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read'], + accessTo: scope ? [resource] : undefined, + default: scope ? [resource] : undefined + } + ], + role: 'Mixed permissions', + initialRole: 'Mixed permissions', + subjectLabel: 'Owner', + subjects: [{ type: 'agent', iri: 'https://example.com/owner#me' }], + scope, + initialScope: scope + }] + element.pendingAccessGrants = [{ + subjectType: 'agent', + subjectValue: 'https://example.com/new#me', + role: 'Viewer', + label: 'New user', + scope + }] + + await element.onSaveClick() + + expect(element.saveErrors).not.toContainEqual(expect.objectContaining({ action: 'validation' })) + expect(applyPlan).toHaveBeenCalled() + }) + + it('recognizes unchanged authenticated mixed general-access entries from their owner grants', () => { + const resource = 'https://example.com/folder/' + const ownerAuthorization = { + agent: [], + agentGroup: [], + agentClass: ['http://www.w3.org/ns/auth/acl#AuthenticatedAgent'], + origin: [], + mode: ['Read', 'Write', 'Control'] as const, + accessTo: [resource], + default: [resource] + } + const viewerAuthorization = { + ...ownerAuthorization, + mode: ['Read'] as const + } + const entries = [ + { + id: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent:folder', + scope: 'folder' as const, + role: 'Mixed permissions' as const, + authorizations: [{ ...ownerAuthorization, default: [] }, { ...viewerAuthorization, default: [] }] + }, + { + id: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent:contents', + scope: 'contents' as const, + role: 'Mixed permissions' as const, + authorizations: [{ ...ownerAuthorization, accessTo: [] }, { ...viewerAuthorization, accessTo: [] }] + } + ] + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = resource + element.authenticatedAccessEntries = entries + element.authenticatedAccessEntriesInitial = entries.map(entry => ({ ...entry })) + element.accessGrantDrafts = [] + element.pendingAccessGrants = [] + + expect(element.hasOwnerAccess).toBe(true) }) describe('access-control URL predicates', () => { @@ -354,6 +597,7 @@ describe('AccessControlModal submit', () => { element.principalInputValue = 'https://alice.example.com/profile/card.ttl#me' element.addAccessRoleValue = 'Editor' + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenCalledTimes(1) @@ -370,8 +614,134 @@ describe('AccessControlModal submit', () => { expect(element.pendingAccessGrants).toEqual([]) }) + it('shows an owner validation error and does not save when no owner is listed', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/resource.ttl' + element.accessContext = { inherited: false, authorizations: [] } + element.pendingAccessGrants = [{ + subjectType: 'agent', + subjectValue: 'https://alice.example.com/profile/card.ttl#me', + role: 'Editor', + label: 'Alice' + }] + + await element.onSaveClick() + + expect(applyPlan).not.toHaveBeenCalled() + expect(element.saveErrors).toEqual([expect.objectContaining({ + action: 'validation', + label: 'Owner', + message: 'An owner or admin is required. Add or select one before saving.' + })]) + }) + + it.each(['Owner', 'Admin'])('allows saving when %s is listed', async role => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/resource.ttl' + element.accessContext = { inherited: false, authorizations: [] } + element.pendingAccessGrants = [{ + subjectType: 'agent', + subjectValue: 'https://alice.example.com/profile/card.ttl#me', + role, + label: 'Alice' + }] + + await element.onSaveClick() + + expect(applyPlan).toHaveBeenCalledTimes(1) + expect(element.saveErrors).toEqual([]) + }) + + it.each(['No Access', 'Viewer', 'Editor'])('blocks saving when the last owner is changed to %s', async role => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/resource.ttl' + addExistingOwner(element) + element.accessContext = { + inherited: false, + authorizations: [element.accessGrantDrafts[0].authorization] + } + element.onAccessGrantRoleInput(new CustomEvent('access-grant-role-changed', { + detail: { id: element.accessGrantDrafts[0].id, role } + })) + + await element.onSaveClick() + + expect(planGrant).not.toHaveBeenCalled() + expect(planRevoke).not.toHaveBeenCalled() + expect(applyPlan).not.toHaveBeenCalled() + expect(element.saveErrors).toEqual([expect.objectContaining({ action: 'validation' })]) + + element.onAccessGrantRoleInput(new CustomEvent('access-grant-role-changed', { + detail: { id: element.accessGrantDrafts[0].id, role: 'Admin' } + })) + expect(element.saveErrors).toEqual([]) + await element.onSaveClick() + expect(applyPlan).toHaveBeenCalledTimes(1) + }) + + it.each(['folder', 'contents'] as const)('blocks saving when the sole container owner is scoped to %s', async scope => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/container/' + addExistingOwner(element) + element.accessContext = { + inherited: false, + authorizations: [element.accessGrantDrafts[0].authorization] + } + element.accessGrantDrafts[0] = { + ...element.accessGrantDrafts[0], + scope, + initialScope: 'folder+contents' + } + + await element.onSaveClick() + + expect(planGrant).not.toHaveBeenCalled() + expect(planRevoke).not.toHaveBeenCalled() + expect(applyPlan).not.toHaveBeenCalled() + expect(element.saveErrors).toEqual([expect.objectContaining({ action: 'validation' })]) + }) + + it('shows a dismissible validation error without closing the dialog', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/resource.ttl' + document.body.appendChild(element) + try { + element.setOwnerValidationError() + await element.updateComplete + const errors = element.shadowRoot.querySelector('solid-ui-access-control-errors')! + await errors.updateComplete + const errorState = errors.shadowRoot.querySelector('solid-ui-error-state')! + expect(errorState.shadowRoot?.querySelector('[role="alert"]')).not.toBeNull() + expect(errorState.getAttribute('message')).toBe('Update the access settings and try again.') + expect(errorState.textContent).not.toContain('Owner') + expect(errorState.textContent).not.toContain('Could not save changes') + expect(errorState.textContent).toContain('An owner or admin is required') + errors.dispatchEvent(new CustomEvent('close')) + await element.updateComplete + expect(element.isConnected).toBe(true) + expect(element.saveErrors).toEqual([]) + expect(applyPlan).not.toHaveBeenCalled() + } finally { + element.remove() + } + }) + + it.each(['Owner', 'Admin'])('accepts %s authenticated access as an owner', async role => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/resource.ttl' + element.authenticatedAccessRoleValue = role + element.pendingAccessGrants = [{ + subjectType: 'agent', + subjectValue: 'https://example.com/viewer#me', + role: 'Viewer', + label: 'Viewer' + }] + await element.onSaveClick() + expect(applyPlan).toHaveBeenCalledTimes(1) + }) + it('does not apply changes while the effective ACL context is loading', async () => { - let resolveContext!: (context: { inherited: boolean, authorizations: [] }) => void + let resolveContext!: (context: { inherited: boolean, authorizations: unknown[] }) => void findEffectiveAcl.mockImplementationOnce(() => new Promise(resolve => { resolveContext = resolve })) @@ -395,7 +765,16 @@ describe('AccessControlModal submit', () => { await Promise.resolve() expect(applyPlan).not.toHaveBeenCalled() - resolveContext({ inherited: true, authorizations: [] }) + resolveContext({ + inherited: true, + authorizations: [{ + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] + }) await savePromise expect(applyPlan).toHaveBeenCalledTimes(1) @@ -443,6 +822,7 @@ describe('AccessControlModal submit', () => { element.principalInputValue = 'www.sharonstratsianis.com' element.addAccessRoleValue = 'Editor' + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenCalledWith( @@ -470,6 +850,7 @@ describe('AccessControlModal submit', () => { element.principalInputValue = 'https://alice.example.com/profile/card.ttl#me' element.addAccessRoleValue = role + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenCalledWith( @@ -500,6 +881,7 @@ describe('AccessControlModal submit', () => { subjects: [{ type: 'agent', iri: 'https://alice.example.com/profile/card.ttl#me' }] }] + addExistingOwner(element) await element.onSaveClick() expect(planGrant).not.toHaveBeenCalled() @@ -521,6 +903,13 @@ describe('AccessControlModal submit', () => { authorizations: [] } element.accessContextSubjectUri = element.subjectUri + element.accessContext.authorizations = [{ + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] element.accessGrantDrafts = [{ id: 'agent:https://alice.example.com/profile/card.ttl#me', authorization: { @@ -537,6 +926,7 @@ describe('AccessControlModal submit', () => { }] document.body.appendChild(element) + addExistingOwner(element) await element.saveAccessChanges('file') await element.updateComplete @@ -591,10 +981,11 @@ describe('AccessControlModal submit', () => { const saveErrorState = errors.shadowRoot.querySelector('solid-ui-error-state') expect(saveErrorState).not.toBeNull() const errorItems = [...saveErrorState.querySelectorAll('li')].map((item: Element) => item.textContent) - const errorLabels = [...saveErrorState.querySelectorAll('li .access-control-save-error-label')].map((label: Element) => label.textContent) const errorText = errorItems.join(' ') - expect(errorLabels).toEqual(['Agent 2', 'Agent 4', 'Agent 7', 'Agent 10']) - expect(errorText.match(/Could not grant Editor/g)).toHaveLength(4) + expect(errorText).toContain('Agent 2: Could not grant Editor') + expect(errorText).toContain('Agent 7: Could not grant Editor') + expect(errorText).toContain('Agent 4: Could not grant Editor') + expect(errorText).toContain('Agent 10: Could not grant Editor') const saveButton = [...element.shadowRoot.querySelectorAll('solid-ui-button')] .find((button: Element) => button.textContent?.includes('Save Changes')) as HTMLElement @@ -641,15 +1032,13 @@ describe('AccessControlModal submit', () => { await element.onSaveClick() await element.updateComplete - // The refreshed authorizations replace pending drafts, so successful - // changes are visible while failed changes cannot be retried in-place. expect(planGrant).toHaveBeenCalledTimes(2) expect(applyPlan).toHaveBeenCalledTimes(1) expect(applyPlan).toHaveBeenCalledWith(expect.objectContaining({ target: `${successfulGrant.subjectValue}.acl` })) expect(findAccessGrants).toHaveBeenCalledWith(element.subjectUri) - expect(element.pendingAccessGrants).toEqual([]) + expect(element.pendingAccessGrants).toEqual([failedGrant]) expect(element.accessGrants).toEqual([{ agent: [successfulGrant.subjectValue], agentGroup: [], @@ -660,9 +1049,11 @@ describe('AccessControlModal submit', () => { expect(close).not.toHaveBeenCalled() const errors = element.shadowRoot.querySelector('solid-ui-access-control-errors') await errors.updateComplete - expect(errors.shadowRoot.querySelector('solid-ui-error-state')).not.toBeNull() - expect([...errors.shadowRoot.querySelectorAll('solid-ui-error-state li .access-control-save-error-label')].map((label: Element) => label.textContent)) - .toEqual(['Failed agent']) + const saveErrorState = errors.shadowRoot.querySelector('solid-ui-error-state') + expect(saveErrorState).not.toBeNull() + expect(saveErrorState.shadowRoot?.querySelector('[role="alert"]')).not.toBeNull() + expect(errors.shadowRoot.querySelector('solid-ui-error-state').textContent) + .toContain('Failed agent: Could not grant Editor') expect(errors.shadowRoot.querySelector('solid-ui-error-state').getAttribute('message')) .toContain('Close this dialog and reopen it if you want to try again.') const saveButton = [...element.shadowRoot.querySelectorAll('solid-ui-button')] @@ -712,8 +1103,8 @@ describe('AccessControlModal submit', () => { expect(close).not.toHaveBeenCalled() const errors = element.shadowRoot.querySelector('solid-ui-access-control-errors') await errors.updateComplete - expect([...errors.shadowRoot.querySelectorAll('solid-ui-error-state li .access-control-save-error-label')].map((label: Element) => label.textContent)) - .toEqual(['Failed agent 0', 'Failed agent 1', 'Failed agent 2']) + expect(errors.shadowRoot.querySelector('solid-ui-error-state').textContent) + .toContain('Failed agent 0: Could not grant Editor') document.body.removeChild(element) }) @@ -749,7 +1140,7 @@ describe('AccessControlModal submit', () => { await element.updateComplete expect(findAccessGrants).toHaveBeenCalledWith(element.subjectUri) - expect(element.pendingAccessGrants).toEqual([]) + expect(element.pendingAccessGrants).toEqual([failedGrant]) expect(element.successfulChangesRefreshed).toBe(false) const errors = element.shadowRoot.querySelector('solid-ui-access-control-errors') await errors.updateComplete @@ -787,43 +1178,18 @@ describe('AccessControlModal submit', () => { document.body.removeChild(element) }) - it.skip('reports an unexpected outer save failure as a general error', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/resource.ttl' - element.pendingAccessGrants = [{ - get subjectType () { - throw new Error('unexpected save failure') - }, - subjectValue: 'https://example.com/agent', - role: 'Editor', - label: 'Agent' - }] - document.body.appendChild(element) - await element.updateComplete - const close = vi.fn() - window.addEventListener('solid-ui:close-dialog', close) - await element.onSaveClick() - await element.updateComplete - - expect(close).not.toHaveBeenCalled() - const errors = element.shadowRoot.querySelector('solid-ui-access-control-errors') - await errors.updateComplete - const errorState = errors.shadowRoot.querySelector('solid-ui-error-state') - expect(errorState).not.toBeNull() - expect(errorState.textContent).toContain('Could not save access changes') - expect([...errorState.querySelectorAll('li .access-control-save-error-label')].map((label: Element) => label.textContent)) - .toEqual(['Access changes']) - - document.body.removeChild(element) - }) - it('persists authenticated and public access changes on save', async () => { const element = document.createElement('solid-ui-access-control-modal') as any element.subjectUri = 'https://example.com/resource.ttl' element.accessGrants = [] element.authenticatedAccessRoleValue = 'Editor' element.publicAccessRoleValue = 'Viewer' + element.authenticatedAccessEntries = [{ scope: 'folder+contents', role: 'Editor' }] + element.publicAccessEntries = [{ scope: 'folder+contents', role: 'Viewer' }] + element.authenticatedAccessEntriesInitial = [{ scope: 'folder+contents', role: 'No Access' }] + element.publicAccessEntriesInitial = [{ scope: 'folder+contents', role: 'No Access' }] + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenNthCalledWith( @@ -841,6 +1207,119 @@ describe('AccessControlModal submit', () => { expect(applyPlan).toHaveBeenCalledTimes(2) }) + it('uses grant planners when adding general access to a container without existing grants', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/container/' + element.accessGrants = [] + element.authenticatedAccessEntries = [{ scope: 'folder+contents', role: 'Editor' }] + element.publicAccessEntries = [{ scope: 'folder+contents', role: 'Viewer' }] + element.authenticatedAccessEntriesInitial = [{ scope: 'folder+contents', role: 'No Access' }] + element.publicAccessEntriesInitial = [{ scope: 'folder+contents', role: 'No Access' }] + addExistingOwner(element) + await element.onSaveClick() + + expect(planGrantContainerAndContents).toHaveBeenNthCalledWith( + 1, + 'https://example.com/container/', + { type: 'agentClass', iri: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent' }, + ['Read', 'Write'] + ) + expect(planGrantContainerAndContents).toHaveBeenNthCalledWith( + 2, + 'https://example.com/container/', + { type: 'agentClass', iri: 'http://xmlns.com/foaf/0.1/Agent' }, + ['Read'] + ) + expect(planChangeContainerAccess).not.toHaveBeenCalled() + }) + + it('updates and revokes split General Access against the original combined grant', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/container/' + element.authenticatedAccessEntriesInitial = [{ scope: 'folder+contents', role: 'Editor' }] + element.authenticatedAccessEntries = [ + { scope: 'folder', role: 'No Access' }, + { scope: 'contents', role: 'Viewer' } + ] + addExistingOwner(element) + + await element.onSaveClick() + + const authenticated = { type: 'agentClass', iri: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent' } + expect(planRevokeContainer).toHaveBeenCalledExactlyOnceWith(element.subjectUri, authenticated) + expect(planGrantContainerContents).toHaveBeenCalledExactlyOnceWith(element.subjectUri, authenticated, ['Read']) + expect(planChangeContainerAccess).not.toHaveBeenCalled() + expect(applyPlan).toHaveBeenCalledTimes(2) + }) + + it('revokes contents when General Access narrows a combined grant to the folder', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/container/' + element.authenticatedAccessEntriesInitial = [{ scope: 'folder+contents', role: 'Viewer' }] + element.authenticatedAccessEntries = [{ scope: 'folder+contents', role: 'Viewer' }] + addExistingOwner(element) + element.onGeneralAccessScopeInput(new CustomEvent('general-access-scope-changed', { + detail: { variant: 'authenticated', index: 0, scope: 'folder' } + })) + + await element.onSaveClick() + + const authenticated = { type: 'agentClass', iri: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent' } + expect(planRevokeContainerContents).toHaveBeenCalledExactlyOnceWith(element.subjectUri, authenticated) + expect(planGrantContainer).toHaveBeenCalledExactlyOnceWith(element.subjectUri, authenticated, ['Read']) + expect(planRevokeContainer).not.toHaveBeenCalled() + expect(applyPlan).toHaveBeenCalledTimes(2) + }) + + it('merges split General Access using the selected row role', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/container/' + element.publicAccessEntriesInitial = [ + { scope: 'folder', role: 'Viewer' }, + { scope: 'contents', role: 'Editor' } + ] + element.publicAccessEntries = element.publicAccessEntriesInitial.map((entry: object) => ({ ...entry })) + addExistingOwner(element) + + element.onGeneralAccessScopeInput(new CustomEvent('general-access-scope-changed', { + detail: { variant: 'public', index: 1, scope: 'folder+contents' } + })) + expect(element.publicAccessEntries).toEqual([{ scope: 'folder+contents', role: 'Editor' }]) + await element.onSaveClick() + + expect(planGrantContainerAndContents).toHaveBeenCalledExactlyOnceWith( + element.subjectUri, + { type: 'agentClass', iri: 'http://xmlns.com/foaf/0.1/Agent' }, + ['Read', 'Write'] + ) + }) + + it('swaps General Access scopes without overlapping or revoking the other row', async () => { + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/container/' + element.authenticatedAccessEntriesInitial = [ + { scope: 'folder', role: 'Viewer' }, + { scope: 'contents', role: 'Editor' } + ] + element.authenticatedAccessEntries = element.authenticatedAccessEntriesInitial.map((entry: object) => ({ ...entry })) + addExistingOwner(element) + + element.onGeneralAccessScopeInput(new CustomEvent('general-access-scope-changed', { + detail: { variant: 'authenticated', index: 0, scope: 'contents' } + })) + expect(element.authenticatedAccessEntries).toEqual([ + { scope: 'contents', role: 'Viewer' }, + { scope: 'folder', role: 'Editor' } + ]) + await element.onSaveClick() + + const authenticated = { type: 'agentClass', iri: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent' } + expect(planGrantContainerContents).toHaveBeenCalledExactlyOnceWith(element.subjectUri, authenticated, ['Read']) + expect(planGrantContainer).toHaveBeenCalledExactlyOnceWith(element.subjectUri, authenticated, ['Read', 'Write']) + expect(planRevokeContainer).not.toHaveBeenCalled() + expect(planRevokeContainerContents).not.toHaveBeenCalled() + }) + it.each<{ role: AccessRole, modes: AccessMode[] }>([ { role: 'Editor', modes: ['Read', 'Write'] }, { role: 'Commenter', modes: ['Append', 'Read'] }, @@ -862,6 +1341,38 @@ describe('AccessControlModal submit', () => { expect(applyPlan).toHaveBeenCalledTimes(1) }) + it('uses the correct container planners for combined and split General Access scopes', async () => { + const { applyAccessChanges } = await import('../../src/components/access-control-modal/applyAccessChanges') + const subjectUri = 'https://example.com/folder/' + const authenticated = { type: 'agentClass' as const, iri: 'http://www.w3.org/ns/auth/acl#AuthenticatedAgent' } + const publicAgent = { type: 'agentClass' as const, iri: 'http://xmlns.com/foaf/0.1/Agent' } + + await applyAccessChanges(subjectUri, [ + { subject: authenticated, label: 'Authenticated users', role: 'Editor', scope: 'folder+contents' }, + { subject: publicAgent, label: 'Public', role: 'Viewer', scope: 'folder+contents' } + ], { containerScope: 'folder+contents' }) + expect(planGrantContainerAndContents).toHaveBeenCalledTimes(2) + expect(planGrantContainer).not.toHaveBeenCalled() + expect(planGrantContainerContents).not.toHaveBeenCalled() + + planGrantContainerAndContents.mockClear() + await applyAccessChanges(subjectUri, [ + { subject: authenticated, label: 'Authenticated users', role: 'Viewer', scope: 'folder' }, + { subject: publicAgent, label: 'Public', role: 'Editor', scope: 'contents' } + ], { containerScope: 'folder+contents' }) + expect(planGrantContainer).toHaveBeenCalledWith(subjectUri, authenticated, ['Read']) + expect(planGrantContainerContents).toHaveBeenCalledWith(subjectUri, publicAgent, ['Read', 'Write']) + + planGrantContainer.mockClear() + planGrantContainerContents.mockClear() + await applyAccessChanges(subjectUri, [ + { subject: authenticated, label: 'Authenticated users', role: 'No Access', scope: 'folder' }, + { subject: publicAgent, label: 'Public', role: 'No Access', scope: 'contents' } + ], { containerScope: 'folder+contents' }) + expect(planRevokeContainer).toHaveBeenCalledWith(subjectUri, authenticated) + expect(planRevokeContainerContents).toHaveBeenCalledWith(subjectUri, publicAgent) + }) + it.each(['Owner', 'Admin'] as const)('rejects programmatic public %s access without applying a plan', async role => { const { applyAccessChanges } = await import('../../src/components/access-control-modal/applyAccessChanges') const errors = await applyAccessChanges('https://example.com/resource.ttl', [{ @@ -1055,6 +1566,61 @@ describe('AccessControlModal submit', () => { document.body.removeChild(element) }) + it('shows general access scope controls and on-demand information for containers', async () => { + const folder = 'https://example.com/folder/' + const grants = [{ + agent: [], + agentGroup: [], + agentClass: ['http://www.w3.org/ns/auth/acl#AuthenticatedAgent'], + origin: [], + mode: ['Read'] as AccessMode[], + accessTo: [folder], + default: [] + }] + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = folder + element.accessContext = { + inherited: false, + resource: folder, + effectiveContainer: folder, + authorizations: grants + } + element.accessGrants = grants + document.body.appendChild(element) + await element.updateComplete + + const generalAccess = element.shadowRoot.querySelector('solid-ui-access-control-general-access') as any + await generalAccess.updateComplete + expect(generalAccess.showContainerScope).toBe(true) + expect(generalAccess.shadowRoot.querySelectorAll('.access-scope-select')).toHaveLength(3) + expect(generalAccess.shadowRoot.querySelector('.access-scope-select')?.textContent) + .toContain('Folder Only') + + const infoButton = generalAccess.shadowRoot.querySelector('.access-grants-general-info-button') as HTMLButtonElement + const infoDialog = generalAccess.shadowRoot.querySelector('.access-grants-general-info-dialog') as HTMLDialogElement + expect(infoDialog.getAttribute('aria-labelledby')).toBe('general-access-info-authenticated') + expect(infoDialog.getAttribute('aria-describedby')).toBe('general-access-info-message') + expect(infoButton.getAttribute('aria-controls')).toBe('general-access-info-dialog') + infoDialog.showModal = vi.fn() + expect(generalAccess.shadowRoot.querySelectorAll('.access-grants-general-info-button')).toHaveLength(2) + expect(generalAccess.shadowRoot.textContent).not.toContain('Users must sign in to SolidOS') + infoButton.click() + await generalAccess.updateComplete + expect(generalAccess.shadowRoot.textContent).toContain('Users must sign in to SolidOS') + expect(infoDialog.getAttribute('aria-labelledby')).toBe('general-access-info-authenticated') + const publicInfoButton = generalAccess.shadowRoot.querySelectorAll('.access-grants-general-info-button')[1] as HTMLButtonElement + publicInfoButton.click() + await generalAccess.updateComplete + expect(infoDialog.getAttribute('aria-labelledby')).toBe('general-access-info-public') + + for (const selector of generalAccess.shadowRoot.querySelectorAll('.access-role-select--general')) { + expect(selector.textContent).not.toContain('Owner') + expect(selector.textContent).not.toContain('Admin') + } + + document.body.removeChild(element) + }) + it('enables save when a shared access grant is changed', async () => { const element = document.createElement('solid-ui-access-control-modal') as any element.accessGrants = [{ @@ -1093,7 +1659,7 @@ describe('AccessControlModal submit', () => { expect(element.getDialogTitle()).toBe('Manage Access of "this resource"') }) - it('offers public roles without Owner or Admin while retaining authenticated roles', async () => { + it('excludes Owner and Admin from General Access roles', async () => { const element = document.createElement('solid-ui-access-control-modal') as any document.body.appendChild(element) await element.updateComplete @@ -1118,7 +1684,8 @@ describe('AccessControlModal submit', () => { expect(authenticatedOptions).toContain('No Access') expect(authenticatedOptions).toContain('Editor') expect(publicOptions).toEqual(['No Access', 'Viewer', 'Commenter', 'Appender', 'Editor']) - expect(authenticatedOptions).toEqual(expect.arrayContaining(['Owner', 'Admin'])) + expect(authenticatedOptions).not.toEqual(expect.arrayContaining(['Owner'])) + expect(authenticatedOptions).not.toEqual(expect.arrayContaining(['Admin'])) document.body.removeChild(element) }) @@ -1198,6 +1765,16 @@ describe('AccessControlModal submit', () => { const group = 'https://example.com/group' const agentClass = 'https://example.com/team' element.subjectUri = 'https://example.com/resource.ttl' + element.accessContext = { + inherited: true, + authorizations: [{ + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] + } element.accessGrants = [{ agent: [agent], agentGroup: [group], @@ -1241,6 +1818,7 @@ describe('AccessControlModal submit', () => { detail: { option: { value: 'Editor', label: 'Editor' } } })) await element.updateComplete + addExistingOwner(element) await element.onSaveClick() expect(planGrant.mock.calls.map(([, subject]) => subject)).toEqual([ @@ -1400,6 +1978,43 @@ describe('AccessControlModal submit', () => { expect(element.accessContext.resource).toBe('https://example.com/second.ttl') }) + it('ignores access grants that refresh after a save resource change', async () => { + let resolveRefresh!: (grants: any[]) => void + findAccessGrants.mockImplementationOnce(() => new Promise(resolve => { resolveRefresh = resolve })) + + const element = document.createElement('solid-ui-access-control-modal') as any + element.subjectUri = 'https://example.com/first.ttl' + element.pendingAccessGrants = [{ + subjectType: 'agent', + subjectValue: 'https://example.com/alice#me', + role: 'Viewer', + label: 'Alice' + }] + addExistingOwner(element) + document.body.appendChild(element) + await element.updateComplete + + const saving = element.saveAccessChanges('file', false) + await vi.waitFor(() => expect(findAccessGrants).toHaveBeenCalledWith('https://example.com/first.ttl')) + + element.subjectUri = 'https://example.com/second.ttl' + await element.updateComplete + const staleGrant = { + agent: ['https://example.com/stale#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read'] + } + resolveRefresh([staleGrant]) + await saving + + expect(element.subjectUri).toBe('https://example.com/second.ttl') + expect(element.accessGrants).not.toEqual([staleGrant]) + expect(element.errors).toEqual([]) + element.remove() + }) + it('replaces a duplicate pending principal with its latest role', async () => { const element = document.createElement('solid-ui-access-control-modal') as any element.subjectUri = 'https://example.com/resource.ttl' @@ -1432,6 +2047,7 @@ describe('AccessControlModal submit', () => { await expect(element.queuePendingPrincipal(alice, 'No Access', 'Alice')).resolves.toBe(false) expect(element.inputError).toBe('Alice already has access.') + addExistingOwner(element) await element.saveAccessChanges('folder+contents') expect(planGrantContainer).toHaveBeenCalledWith(element.subjectUri, { type: 'agent', iri: alice }, ['Read']) expect(planGrantContainerContents).toHaveBeenCalledWith(element.subjectUri, { type: 'agent', iri: alice }, ['Read', 'Write']) @@ -1442,9 +2058,11 @@ describe('AccessControlModal submit', () => { const alice = 'https://alice.example.com/profile/card.ttl#me' const bob = 'https://bob.example.com/profile/card.ttl#me' element.subjectUri = 'https://example.com/container/' + element.accessGrants = [] document.body.appendChild(element) await element.updateComplete await vi.waitFor(() => expect(element.accessContextLoading).toBe(false)) + element.accessGrants = [] element.advancedSharingOpen = true await element.queuePendingPrincipal(alice, 'No Access', 'Alice') await element.queuePendingPrincipal(alice, 'No Access', 'Alice') @@ -1457,6 +2075,7 @@ describe('AccessControlModal submit', () => { expect(element.accessGrantDrafts.map((draft: any) => [draft.subjects[0].iri, draft.scope])).toEqual([ [alice, 'folder'], [alice, 'contents'], [bob, 'folder+contents'] ]) + addExistingOwner(element) await element.saveAccessChanges('folder+contents') expect(planGrantContainer).toHaveBeenCalledWith(element.subjectUri, { type: 'agent', iri: alice }, ['Read']) expect(planGrantContainerContents).toHaveBeenCalledWith(element.subjectUri, { type: 'agent', iri: alice }, ['Read']) @@ -1539,6 +2158,7 @@ describe('AccessControlModal submit', () => { const rows = element.getSharedAccessViewModels() expect(rows.map((row: any) => [row.subjects.map((subject: any) => subject.iri), row.scope])) .toEqual([[[bob], 'folder+contents'], [[alice], 'folder'], [[alice], 'contents']]) + addExistingOwner(element) await element.saveAccessChanges('folder+contents') expect(planChangeContainerAccess).toHaveBeenCalledWith(element.subjectUri, { type: 'agent', iri: alice }, { previousScope: 'folder+contents', scope: 'folder', modes: ['Read'], revoke: false @@ -1574,6 +2194,7 @@ describe('AccessControlModal submit', () => { initialScope: 'folder', subjectLabel: 'Alice' }] + addExistingOwner(element) await element.saveAccessChanges('folder+contents') expect(planChangeContainerAccess).toHaveBeenCalledWith(element.subjectUri, { type: 'agent', iri: alice }, { previousScope: 'folder', scope: 'folder', modes: undefined, revoke: true @@ -1585,6 +2206,16 @@ describe('AccessControlModal submit', () => { it('persists a changed shared access grant on save', async () => { const element = document.createElement('solid-ui-access-control-modal') as any element.subjectUri = 'https://example.com/resource.ttl' + element.accessContext = { + inherited: true, + authorizations: [{ + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] + } element.accessGrants = [{ agent: ['https://alice.example.com/profile/card.ttl#me'], agentGroup: [], @@ -1605,6 +2236,7 @@ describe('AccessControlModal submit', () => { detail: { option: { value: 'Editor', label: 'Editor' } } })) + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenCalledWith( @@ -1650,6 +2282,16 @@ describe('AccessControlModal submit', () => { document.body.appendChild(element) await element.updateComplete + element.accessContext = { + inherited: true, + authorizations: [{ + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] + } const sharedAccess = element.shadowRoot.querySelector('solid-ui-access-control-shared-access') await sharedAccess.updateComplete @@ -1660,6 +2302,7 @@ describe('AccessControlModal submit', () => { detail: { option: { value: 'Editor', label: 'Editor' } } })) + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenNthCalledWith( @@ -1690,6 +2333,7 @@ describe('AccessControlModal submit', () => { label: 'Alice' }] + addExistingOwner(element) await element.onSaveClick() expect(planGrant).toHaveBeenCalledWith( @@ -1709,6 +2353,7 @@ describe('AccessControlModal submit', () => { label: 'Alice' }] + addExistingOwner(element) await element.saveAccessChanges('folder+contents') expect(planGrant).toHaveBeenCalledWith( @@ -1737,6 +2382,7 @@ describe('AccessControlModal submit', () => { label: 'Alice' }] + addExistingOwner(element) await element.onSaveClick() expect(planGrant).not.toHaveBeenCalled() @@ -1761,6 +2407,7 @@ describe('AccessControlModal submit', () => { element.advancedSharingOpen = true element.containerScope = 'folder' + addExistingOwner(element) await element.onSaveClick() expect(planGrantContainer).toHaveBeenCalledWith( @@ -1783,6 +2430,7 @@ describe('AccessControlModal submit', () => { element.advancedSharingOpen = true element.containerScope = 'contents' + addExistingOwner(element) await element.onSaveClick() expect(planGrantContainerContents).toHaveBeenCalledWith( @@ -1815,6 +2463,7 @@ describe('AccessControlModal submit', () => { subjects: [subject] }] + addExistingOwner(element) await element.saveAccessChanges('folder+contents') expect(planChangeContainerAccess).toHaveBeenCalledExactlyOnceWith(subjectUri, subject, { @@ -1826,44 +2475,6 @@ describe('AccessControlModal submit', () => { expect(applyPlan).toHaveBeenCalledTimes(1) }) - it.skip('offers advanced folder-versus-contents sharing for containers', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/' - element.accessContext = { inherited: true, effectiveContainer: 'https://example.com/' } - document.body.appendChild(element) - await element.updateComplete - - element.advancedSharingOpen = true - await element.updateComplete - expect(element.shadowRoot.textContent).toContain('different access requirements') - expect(element.shadowRoot.textContent).toContain('Folder Only') - expect(element.shadowRoot.textContent).toContain('Contents Only') - - document.body.removeChild(element) - }) - - it.skip('exposes an accessible opener for advanced container sharing', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/' - element.accessContext = { inherited: true, effectiveContainer: 'https://example.com/' } - document.body.appendChild(element) - await element.updateComplete - - const opener = [...element.shadowRoot.querySelectorAll('solid-ui-button')] - .find((button: HTMLElement) => button.textContent?.includes('Advanced sharing')) as HTMLElement - expect(opener).not.toBeNull() - expect(opener.getAttribute('aria-expanded')).toBe('false') - expect(opener.getAttribute('aria-controls')).toBe('access-control-advanced-sharing') - - opener.click() - await element.updateComplete - expect(opener.textContent).toContain('Hide advanced sharing') - expect(opener.getAttribute('aria-expanded')).toBe('true') - expect(element.shadowRoot.querySelector('#access-control-advanced-sharing')).not.toBeNull() - - document.body.removeChild(element) - }) - it('defaults containers to folder-and-contents without a scope summary', async () => { const element = document.createElement('solid-ui-access-control-modal') as any element.subjectUri = 'https://example.com/folder/' @@ -1898,6 +2509,8 @@ describe('AccessControlModal submit', () => { describe('leaving Advanced with unsaved changes', () => { async function openFolder () { + const dialogsRoot = document.createElement('solid-ui-dialogs-root') as HTMLElement & { updateComplete: Promise } + document.body.appendChild(dialogsRoot) const folder = 'https://example.com/folder/' const grants = [{ id: `${folder}.acl#alice`, @@ -1911,7 +2524,17 @@ describe('AccessControlModal submit', () => { accessTo: [folder], default: [folder] }] - findEffectiveAcl.mockResolvedValue({ inherited: false, resource: folder, authorizations: grants }) + findEffectiveAcl.mockResolvedValue({ + inherited: false, + resource: folder, + authorizations: [...grants, { + agent: ['https://example.com/owner#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read', 'Write', 'Control'] + }] + }) const element = document.createElement('solid-ui-access-control-modal') as AccessControlModal element.subjectUri = folder element.accessGrants = grants @@ -1931,53 +2554,133 @@ describe('AccessControlModal submit', () => { await element.updateComplete } const choose = async (label: string) => { - const button = [...element.shadowRoot!.querySelectorAll('dialog solid-ui-button')] - .find(button => button.textContent?.trim() === label)! + const confirmation = await vi.waitFor(() => { + const element = dialogsRoot.shadowRoot!.querySelector('solid-ui-advanced-sharing-exit-confirmation') + expect(element).not.toBeNull() + return element as HTMLElement & { updateComplete: Promise } + }) + await confirmation.updateComplete + const button = [...confirmation.shadowRoot!.querySelectorAll('solid-ui-button')] + .find(button => button.textContent?.trim() === (label === 'Save' ? 'Save Changes' : label))! button.dispatchEvent(new MouseEvent('click', { bubbles: true })) await element.updateComplete } - return { element, addAccess, shared, toggle, changeScope, choose } + const getConfirmation = () => dialogsRoot.shadowRoot!.querySelector('solid-ui-advanced-sharing-exit-confirmation') + return { element, dialogsRoot, addAccess, shared, toggle, changeScope, choose, getConfirmation, grants } } it('switches freely without edits and does not save', async () => { - const { element, addAccess, toggle } = await openFolder() + const { element, dialogsRoot, addAccess, toggle, getConfirmation } = await openFolder() try { await toggle(true) await toggle(false) expect(addAccess.advancedSharingOpen).toBe(false) - expect(element.shadowRoot!.querySelector('.access-control-mode-confirmation')).toBeNull() + expect(getConfirmation()).toBeNull() expect(applyPlan).not.toHaveBeenCalled() } finally { element.remove() + dialogsRoot.remove() } }) - it.each(['Stay in Advanced', 'Escape', 'Keep Changes and Switch'])('preserves independent edits on %s without saving', async choice => { - const { element, addAccess, shared, toggle, changeScope, choose } = await openFolder() + it.each(['Escape', 'Save'])('preserves independent edits on %s without saving', async choice => { + const { element, dialogsRoot, addAccess, shared, toggle, changeScope, choose, getConfirmation, grants } = await openFolder() try { await toggle(true) await changeScope() await toggle(false) - const confirmation = element.shadowRoot!.querySelector('.access-control-mode-confirmation')! + await vi.waitFor(() => expect(getConfirmation()).not.toBeNull()) + const confirmation = getConfirmation() as HTMLElement & { updateComplete: Promise } + await confirmation.updateComplete + const solidDialog = confirmation.shadowRoot!.querySelector('solid-ui-dialog') as HTMLElement & { updateComplete: Promise } + await solidDialog.updateComplete + const nativeDialog = solidDialog.shadowRoot!.querySelector('dialog')! + expect(nativeDialog.getAttribute('aria-label')).toBe('Leave Advanced mode?') expect(confirmation).not.toBeNull() expect(addAccess.advancedSharingOpen).toBe(true) if (choice === 'Escape') { - confirmation.dispatchEvent(new Event('cancel', { cancelable: true })) + nativeDialog.dispatchEvent(new Event('cancel', { cancelable: true })) + nativeDialog.dispatchEvent(new Event('close')) await element.updateComplete } else { + addExistingOwner(element) + if (choice === 'Save') { + const refreshedGrant = { + agent: ['https://example.com/refreshed#me'], + agentGroup: [], + agentClass: [], + origin: [], + mode: ['Read'] as AccessMode[], + accessTo: [grants[0].accessTo[0]], + default: [grants[0].default[0]] + } + findAccessGrants.mockResolvedValueOnce([refreshedGrant]) + } await choose(choice) } - expect(addAccess.advancedSharingOpen).toBe(choice !== 'Keep Changes and Switch') - expect(shared.accessGrantViewModels[0].scope).toBe('contents') - expect(element.shadowRoot!.querySelector('.access-control-mode-confirmation')).toBeNull() + expect(addAccess.advancedSharingOpen).toBe(true) + expect(shared.accessGrantViewModels.find(entry => + entry.subjects.some(subject => subject.iri === 'https://example.com/alice#me'))?.scope).toBe('contents') + await dialogsRoot.updateComplete + expect(getConfirmation()).toBeNull() + if (choice === 'Save') { + await vi.waitFor(() => expect(applyPlan).toHaveBeenCalled()) + await vi.waitFor(() => expect(addAccess.advancedSharingOpen).toBe(false)) + await vi.waitFor(() => expect(element.accessGrants).toEqual([expect.objectContaining({ + agent: ['https://example.com/refreshed#me'] + })])) + expect((element as any).accessGrantDrafts[0]).toMatchObject({ + initialRole: 'Viewer', + role: 'Viewer', + initialScope: 'folder+contents', + scope: 'folder+contents' + }) + + expect(element.isConnected).toBe(true) + } else { + expect(applyPlan).not.toHaveBeenCalled() + } + } finally { + element.remove() + dialogsRoot.remove() + } + }) + + it.each(['close', 'resource change'] as const)('invalidates a pending confirmation after %s', async action => { + const { element, dialogsRoot, addAccess, toggle, changeScope, getConfirmation } = await openFolder() + try { + await toggle(true) + await changeScope() + await toggle(false) + const confirmation = await vi.waitFor(() => { + const current = getConfirmation() + expect(current).not.toBeNull() + return current as HTMLElement & { updateComplete: Promise } + }) + await confirmation.updateComplete + + if (action === 'close') { + ;(element as any).close() + } else { + element.subjectUri = 'https://example.com/other/' + await element.updateComplete + } + + expect((element as any).advancedExitConfirmation).toBeUndefined() + const saveButton = [...confirmation.shadowRoot!.querySelectorAll('solid-ui-button')] + .find(button => button.textContent?.trim() === 'Save Changes')! + saveButton.dispatchEvent(new MouseEvent('click', { bubbles: true })) + await element.updateComplete expect(applyPlan).not.toHaveBeenCalled() + expect(addAccess.advancedSharingOpen).toBe(action === 'close') } finally { element.remove() + dialogsRoot.remove() } }) it.each(['Discard', 'resource change', 'close'] as const)('ignores a target lookup that finishes after %s', async action => { - const { element, addAccess, shared, toggle, changeScope, choose } = await openFolder() + const { element, dialogsRoot, addAccess, shared, toggle, changeScope, choose } = await openFolder() try { await toggle(true) await changeScope() @@ -1989,7 +2692,7 @@ describe('AccessControlModal submit', () => { await vi.waitFor(() => expect(finish).toBeTypeOf('function')) if (action === 'Discard') { await toggle(false) - await choose('Discard Changes and Switch') + await choose('Discard') } else if (action === 'resource change') { element.subjectUri = 'https://example.com/other/' await element.updateComplete @@ -2006,11 +2709,12 @@ describe('AccessControlModal submit', () => { expect(applyPlan).not.toHaveBeenCalled() } finally { element.remove() + dialogsRoot.remove() } }) it('discards additions, typed targets, role/scope edits and general access edits without saving', async () => { - const { element, addAccess, shared, toggle, changeScope, choose } = await openFolder() + const { element, dialogsRoot, addAccess, shared, toggle, changeScope, choose } = await openFolder() try { await toggle(true) await changeScope() @@ -2027,7 +2731,7 @@ describe('AccessControlModal submit', () => { general.dispatchEvent(new CustomEvent('authenticated-role-changed', { detail: { role: 'Editor' } })) await element.updateComplete await toggle(false) - await choose('Discard Changes and Switch') + await choose('Discard') expect(addAccess.advancedSharingOpen).toBe(false) expect(addAccess.pendingAccessGrants).toEqual([]) expect(addAccess.principalInputValue).toBe('') @@ -2038,6 +2742,7 @@ describe('AccessControlModal submit', () => { expect(applyPlan).not.toHaveBeenCalled() } finally { element.remove() + dialogsRoot.remove() } }) }) @@ -2120,139 +2825,16 @@ describe('AccessControlModal submit', () => { expect(sharedAccess.accessGrantViewModels.map((entry: any) => entry.scope)) .toEqual(['folder', 'contents', 'folder+contents']) - document.body.removeChild(element) - }) - - it.skip('recomputes Shared with entries immediately when Advanced changes scope', async () => { - const folder = 'https://example.com/folder/' - const grants = [ - { agent: ['https://example.com/folder#me'], agentGroup: [], agentClass: [], origin: [], mode: ['Read'] as AccessMode[], accessTo: [folder], default: [] }, - { agent: ['https://example.com/contents#me'], agentGroup: [], agentClass: [], origin: [], mode: ['Read'] as AccessMode[], accessTo: [], default: [folder] }, - { agent: ['https://example.com/both#me'], agentGroup: [], agentClass: [], origin: [], mode: ['Read'] as AccessMode[], accessTo: [folder], default: [folder] } - ] - findEffectiveAcl.mockResolvedValue({ resource: folder, inherited: false, effectiveContainer: folder, authorizations: grants }) - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = folder - element.accessGrants = grants - element.advancedSharingOpen = true - document.body.appendChild(element) - await element.updateComplete - const sharedAccess = () => element.shadowRoot.querySelector('solid-ui-access-control-shared-access') as any - await sharedAccess().updateComplete - expect(sharedAccess().accessGrantViewModels).toHaveLength(1) - - const contentsOnly = [...element.shadowRoot.querySelectorAll('solid-ui-button')] - .find((button: HTMLElement) => button.textContent?.includes('Contents Only')) as HTMLElement - contentsOnly.click() - await element.updateComplete - await sharedAccess().updateComplete - expect(sharedAccess().accessGrantViewModels).toHaveLength(1) - expect(sharedAccess().accessGrantViewModels[0].authorization.agent).toEqual(['https://example.com/contents#me']) - - document.body.removeChild(element) - }) - - it.skip('updates the summary and save planner when a scope card is selected', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/' - element.pendingAccessGrants = [{ - subjectType: 'agent', - subjectValue: 'https://example.com/alice#me', - role: 'Viewer', - label: 'Alice' - }] - document.body.appendChild(element) - await element.updateComplete - - element.advancedSharingOpen = true - await element.updateComplete - const folderOnly = [...element.shadowRoot.querySelectorAll('solid-ui-button')] - .find((button: HTMLElement) => button.textContent?.includes('Folder Only')) as HTMLElement - folderOnly.click() - await element.updateComplete - - await element.onSaveClick() - expect(planGrantContainer).toHaveBeenCalledWith( - element.subjectUri, - { type: 'agent', iri: 'https://example.com/alice#me' }, - ['Read'] - ) - - document.body.removeChild(element) - }) - - it.skip('supports the same-access toggle in advanced mode', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/' - document.body.appendChild(element) - await element.updateComplete - - element.advancedSharingOpen = true - await element.updateComplete - const toggle = element.shadowRoot.querySelector('.access-control-same-access-toggle') as HTMLButtonElement - expect(toggle.getAttribute('aria-checked')).toBe('true') - toggle.click() - await element.updateComplete - - expect(element.containerScope).toBe('folder') - document.body.removeChild(element) - }) - - it.skip('closes advanced sharing with an accessible ghost X button', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/' - document.body.appendChild(element) - await element.updateComplete - - element.advancedSharingOpen = true + element.advancedSharingOpen = false await element.updateComplete - const closeButton = element.shadowRoot.querySelector('.access-control-advanced-sharing-actions solid-ui-button') as HTMLElement - expect(closeButton?.getAttribute('variant')).toBe('ghost') - expect(closeButton?.getAttribute('aria-label')).toBe('Close advanced sharing') - expect(closeButton?.getAttribute('title')).toBe('Close advanced sharing') - expect(closeButton?.querySelector('icon-lucide-x')).not.toBeNull() - expect(closeButton?.querySelector('.sr-only')?.textContent).toBe('Close') - - closeButton.click() - await element.updateComplete - expect(element.shadowRoot.querySelector('.access-control-advanced-sharing')).toBeNull() + await sharedAccess.updateComplete + expect(sharedAccess.shadowRoot.querySelectorAll('.access-scope-select')).toHaveLength(3) + expect(sharedAccess.shadowRoot.textContent).toContain('Folder And Contents') document.body.removeChild(element) }) - it.skip('places sharing details inside Advanced', async () => { - const inherited = document.createElement('solid-ui-access-control-modal') as any - inherited.subjectUri = 'https://example.com/inherited-folder/' - inherited.accessContext = { - inherited: true, - effectiveContainer: 'https://example.com/' - } - document.body.appendChild(inherited) - await inherited.updateComplete - - inherited.advancedSharingOpen = true - await inherited.updateComplete - expect(inherited.shadowRoot.querySelector('.access-control-advanced-sharing')).not.toBeNull() - document.body.removeChild(inherited) - - const custom = document.createElement('solid-ui-access-control-modal') as any - custom.subjectUri = 'https://example.com/custom-folder/' - custom.accessContext = { - inherited: false, - effectiveContainer: 'https://example.com/', - authorizations: [] - } - document.body.appendChild(custom) - await custom.updateComplete - - custom.advancedSharingOpen = true - await custom.updateComplete - const advancedActions = custom.shadowRoot.querySelector('.access-control-advanced-sharing-actions') - expect(advancedActions).not.toBeNull() - document.body.removeChild(custom) - }) - - it.skip.each([ + it.each([ { subjectUri: 'https://example.com/file.ttl', inherited: false, protectedTarget: false }, { subjectUri: 'https://example.com/file.ttl', inherited: true, protectedTarget: false }, { subjectUri: 'https://example.com/folder/', inherited: false, protectedTarget: false }, @@ -2285,7 +2867,8 @@ describe('AccessControlModal submit', () => { expect(element.shadowRoot.querySelector('.access-control-advanced-sharing')).toBeNull() expect(element.shadowRoot.querySelector('.access-control-same-access-toggle')).toBeNull() expect(element.shadowRoot.querySelector('[aria-label="Reset custom sharing to default"]')).toBeNull() - const advancedOpener = element.shadowRoot.querySelector('.access-control-advanced-sharing-toggle') + const addAccess = element.shadowRoot.querySelector('solid-ui-access-control-add-access') as HTMLElement & { shadowRoot: ShadowRoot } + const advancedOpener = addAccess?.shadowRoot?.querySelector('.access-control-advanced-toggle') if (subjectUri.endsWith('/') && !protectedTarget) { expect(advancedOpener).not.toBeNull() } else { @@ -2298,7 +2881,7 @@ describe('AccessControlModal submit', () => { } }) - it.skip('hides Advanced for files and protected containers without offering reset controls', async () => { + it('hides Advanced for files and protected containers without offering reset controls', async () => { const file = document.createElement('solid-ui-access-control-modal') as any file.subjectUri = 'https://example.com/file.ttl' file.accessContext = { inherited: true, effectiveContainer: 'https://example.com/' } @@ -2321,87 +2904,6 @@ describe('AccessControlModal submit', () => { document.body.removeChild(protectedContainer) }) - it.skip('keeps resource sharing details inside Advanced', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/file.ttl' - element.accessContext = { - inherited: false, - effectiveContainer: 'https://example.com/folder/', - authorizations: [] - } - document.body.appendChild(element) - await element.updateComplete - element.advancedSharingOpen = true - await element.updateComplete - - const generalAccess = element.shadowRoot.querySelector('solid-ui-access-control-general-access') - const customSharing = element.shadowRoot.querySelector('.access-control-sharing-state') - expect(generalAccess).not.toBeNull() - expect(customSharing).not.toBeNull() - expect(generalAccess.compareDocumentPosition(customSharing) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy() - expect(element.shadowRoot.querySelector('.access-control-advanced-sharing')).not.toBeNull() - const panel = element.shadowRoot.querySelector('.access-control-sharing-state-panel') - expect(panel).not.toBeNull() - expect(panel?.querySelector('p')).not.toBeNull() - document.body.removeChild(element) - }) - - it.skip('shows inherited sharing details inside Advanced', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/file.ttl' - element.accessContext = { - inherited: true, - effectiveContainer: 'https://example.com/folder/', - authorizations: [] - } - document.body.appendChild(element) - await element.updateComplete - element.advancedSharingOpen = true - await element.updateComplete - - const sharingState = element.shadowRoot.querySelector('.access-control-sharing-state') - expect(sharingState).not.toBeNull() - expect(sharingState?.querySelector('.access-control-advanced-sharing')).not.toBeNull() - expect(sharingState?.textContent).not.toContain('Reset to default') - document.body.removeChild(element) - }) - - it.skip('keeps the sharing state inside Advanced when no inherited container is known', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/file.ttl' - element.accessContext = { - inherited: false, - authorizations: [] - } - document.body.appendChild(element) - await element.updateComplete - element.advancedSharingOpen = true - await element.updateComplete - - const sharingState = element.shadowRoot.querySelector('.access-control-sharing-state') - expect(sharingState?.querySelector('.access-control-advanced-sharing')).not.toBeNull() - document.body.removeChild(element) - }) - - it.skip('explains when an inherited resource has no default container', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/file.ttl' - element.accessContext = { - inherited: true, - authorizations: [] - } - document.body.appendChild(element) - await element.updateComplete - element.advancedSharingOpen = true - await element.updateComplete - - const sharingState = element.shadowRoot.querySelector('.access-control-sharing-state') - expect(sharingState?.textContent).toContain('no inherited default is available') - expect(sharingState?.textContent).not.toContain('sharing from') - expect(sharingState?.textContent).not.toContain('Reset to default') - document.body.removeChild(element) - }) - it.each([ ['https://example.com/sharon/', 'your main storage'], ['https://example.com/sharon/Documents/', 'Documents'] @@ -2446,54 +2948,6 @@ describe('AccessControlModal submit', () => { document.body.removeChild(element) }) - it.skip('blocks edits and explains mixed container policies until Advanced is released', async () => { - const element = document.createElement('solid-ui-access-control-modal') as any - element.subjectUri = 'https://example.com/folder/' - findEffectiveAcl.mockResolvedValueOnce({ - resource: element.subjectUri, - inherited: false, - authorizations: [ - { - agent: ['https://example.com/folder-agent#me'], - agentGroup: [], - agentClass: [], - origin: [], - accessTo: [element.subjectUri], - default: [], - mode: ['Read'] - }, - { - agent: ['https://example.com/contents-agent#me'], - agentGroup: [], - agentClass: [], - origin: [], - accessTo: [], - default: [element.subjectUri], - mode: ['Read'] - } - ] - }) - document.body.appendChild(element) - await element.updateComplete - await Promise.resolve() - await element.updateComplete - - const warning = element.shadowRoot.querySelector('.access-control-mixed-policy-warning') - expect(warning?.getAttribute('role')).toBe('alert') - expect(warning?.textContent).toContain('different access settings for the folder and its contents') - expect(warning?.textContent).toContain('You can still change access for the folder or its contents separately below.') - expect(element.shadowRoot.querySelector('solid-ui-access-control-add-access')?.disabled).toBe(true) - expect(element.shadowRoot.querySelector('solid-ui-access-control-shared-access')?.disabled).toBe(true) - expect(element.shadowRoot.querySelector('solid-ui-access-control-general-access')?.disabled).toBe(true) - const saveButton = [...element.shadowRoot.querySelectorAll('solid-ui-button')] - .find((button: Element) => button.textContent?.includes('Save Changes')) as HTMLElement - expect(saveButton.hasAttribute('disabled')).toBe(true) - - await element.onSaveClick() - expect(planGrant).not.toHaveBeenCalled() - document.body.removeChild(element) - }) - it('resets custom sharing and refreshes context and grants', async () => { findEffectiveAcl .mockResolvedValueOnce({ inherited: true, authorizations: [{ agent: ['https://example.com/owner#me'], agentGroup: [], agentClass: [], origin: [], mode: ['Read'] }] }) @@ -2585,7 +3039,7 @@ describe('AccessControlModal submit', () => { document.body.removeChild(element) }) - it.skip('reports reset errors without changing the custom state', async () => { + it('reports reset errors without changing the custom state', async () => { resetToDefault.mockRejectedValueOnce(new Error('reset failed')) const element = document.createElement('solid-ui-access-control-modal') as any element.subjectUri = 'https://example.com/file.ttl' @@ -2597,7 +3051,7 @@ describe('AccessControlModal submit', () => { expect(element.saveErrors[0]).toEqual(expect.objectContaining({ action: 'reset', message: 'reset failed' })) }) - it.skip('does not offer reset for an inherited resource', async () => { + it('does not offer reset for an inherited resource', async () => { const element = document.createElement('solid-ui-access-control-modal') as any element.subjectUri = 'https://example.com/file.ttl' element.accessContext = { inherited: true, effectiveContainer: 'https://example.com/folder/', authorizations: [] } diff --git a/test/components/access-control-modal/accessGrantDrafts.test.ts b/test/components/access-control-modal/accessGrantDrafts.test.ts index 4e77307eb..daa1488a2 100644 --- a/test/components/access-control-modal/accessGrantDrafts.test.ts +++ b/test/components/access-control-modal/accessGrantDrafts.test.ts @@ -7,6 +7,7 @@ import { getChangedAccessGrants, getSharedAuthorization, getAuthenticatedAccessRole, + getGeneralAccessEntries, getPublicAccessRole, createAccessGrantDrafts, stagePendingAccessGrant, @@ -14,6 +15,30 @@ import { } from '../../../src/components/access-control-modal/accessGrantDrafts' describe('access-control grant drafts', () => { + it('displays equivalent unconditional folder and contents grants together without merging conditions', () => { + const folder = 'https://example.com/folder/' + const grant: AccessAuthorization = { + agent: [], + agentClass: [Public.iri], + agentGroup: [], + origin: [], + mode: ['Read'], + accessTo: [folder], + default: [] + } + const contents = { ...grant, accessTo: [], default: [folder] } + expect(getGeneralAccessEntries([grant, contents], Public.iri, folder)).toEqual([ + expect.objectContaining({ id: `${Public.iri}:folder+contents`, scope: 'folder+contents', role: 'Viewer' }) + ]) + expect(getGeneralAccessEntries([ + grant, + { ...contents, condition: [{ id: 'condition', blankNode: false, properties: {} }] } + ], Public.iri, folder)).toEqual([ + expect.objectContaining({ id: `${Public.iri}:folder`, scope: 'folder', role: 'Viewer' }), + expect.objectContaining({ id: `${Public.iri}:contents`, scope: 'contents', role: 'Viewer' }) + ]) + }) + it('groups matching recipients without exposing their distinct conditions or unioning modes', () => { const source = (id: string, mode: AccessMode[], agents: string[]) => ({ id, diff --git a/test/components/error-state.test.ts b/test/components/error-state.test.ts index e9119cd46..36bb557ad 100644 --- a/test/components/error-state.test.ts +++ b/test/components/error-state.test.ts @@ -13,6 +13,7 @@ describe('solid-ui-error-state', () => { await (element as unknown as { updateComplete: Promise }).updateComplete + expect(element.shadowRoot?.querySelector('[role="alert"]')).not.toBeNull() expect(element.shadowRoot?.textContent).toContain('Changes could not be synced') expect(element.shadowRoot?.textContent).toContain('Try again when your connection is restored.') const closeButton = element.shadowRoot?.querySelector('solid-ui-button.close-button')