100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Introduce frontend testing (#1890)
Ekhorn0298a7314a20
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.shindex f0bf82ea5..78c4c120b 100644--- a/.ci_cd/deploy.sh+++ b/.ci_cd/deploy.sh@@ -276,38 +276,7 @@ if [ \$? -ne 0 ]; thenexit 1fi-echo "Waiting for up to 5mins for all services to be healthy"-COUNT=1-STATUSES_OK=false-IFS=\$'\n'-while [ "\$STATUSES_OK" != 'true' ] && [ \$COUNT -le 60 ]; do-- echo "Checking service health...attempt \$COUNT"- STATUSES=\$(docker ps --format "{{.Names}} {{.Status}}")- STATUSES_OK=true-- for STATUS in \$STATUSES; do- if [[ "\$STATUS" != *"healthy"* ]]; then- STATUSES_OK=false- break- fi- done-- if [ "\$STATUSES_OK" == 'true' ]; then- break- fi-- sleep 5- COUNT=\$((COUNT+1))-done--if [ "\$STATUSES_OK" == 'true' ]; then- echo "All services are healthy"-else- echo "One or more services are unhealthy"- docker ps -a- exit 1-fi+temp/host_init/healthy.sh# Run host post inithostPostInitCmd=@@ -436,37 +405,7 @@ if [ \$? -ne 0 ]; thenexit 1fi-echo "Waiting for up to 5mins for all services to be healthy"-COUNT=1-STATUSES_OK=false-IFS=\$'\n'-while [ "\$STATUSES_OK" != 'true' ] && [ \$COUNT -le 60 ]; do-- echo "Checking service health...attempt \$COUNT"- STATUSES=\$(docker ps --format "{{.Names}} {{.Status}}")- STATUSES_OK=true-- for STATUS in \$STATUSES; do- if [[ "\$STATUS" != *"healthy"* ]]; then- STATUSES_OK=false- break- fi- done-- if [ "\$STATUSES_OK" == 'true' ]; then- break- fi-- sleep 5- COUNT=\$((COUNT+1))-done--if [ "\$STATUSES_OK" == 'true' ]; then- echo "All services are healthy"-else- echo "One or more services are unhealthy"- exit 1-fi+temp/host_init/healthy.sh# Run host post inithostPostInitCmd=diff --git a/.ci_cd/host_init/healthy.sh b/.ci_cd/host_init/healthy.shnew file mode 100644index 000000000..a54bc3441--- /dev/null+++ b/.ci_cd/host_init/healthy.sh@@ -0,0 +1,38 @@+#!/bin/bash+# -----------------------------------------------------------------------------------------------------+# Script for waiting until all docker services are healthy+#+# An argument can be provided to filter on a specific service name+# -----------------------------------------------------------------------------------------------------+echo "Waiting for up to 5mins for all services to be healthy"+COUNT=1+STATUSES_OK=false+IFS=$'\n'+while [ "$STATUSES_OK" != 'true' ] && [ $COUNT -le 60 ]; do++ echo "Checking service health...attempt $COUNT"+ STATUSES=$(docker ps --format "{{.Names}} {{.Status}}" | grep ${1:-""})+ STATUSES_OK=true++ for STATUS in $STATUSES; do+ if [[ "$STATUS" != *"healthy"* ]]; then+ STATUSES_OK=false+ break+ fi+ done++ if [ "$STATUSES_OK" == 'true' ]; then+ break+ fi++ sleep 5+ COUNT=$((COUNT+1))+done++if [ "$STATUSES_OK" == 'true' ]; then+ echo "All services are healthy"+else+ echo "One or more services are unhealthy"+ docker ps -a+ exit 1+fidiff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex f0e8c2bc1..7b454b839 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -203,8 +203,8 @@ jobs:if: steps.backend-files-changed.outputs.any_modified != 'true'run: echo "value=true" >> $GITHUB_OUTPUT- - name: Set skip UI tests- id: skip-ui-tests+ - name: Set skip UI component tests+ id: skip-ui-component-testsif: steps.ui-files-changed.outputs.any_modified != 'true'run: echo "value=true" >> $GITHUB_OUTPUT@@ -427,10 +427,14 @@ jobs:if: ${{ steps.skip-backend-tests.outputs.value != 'true' }}run: echo "value=./gradlew -p test test" >> $GITHUB_OUTPUT- - name: Define UI test command- id: test-ui-command- if: ${{ steps.skip-ui-tests.outputs.value != 'true' }}- run: echo ""+ - name: Define UI component test command+ id: test-ui-components-command+ if: ${{ steps.skip-ui-component-tests.outputs.value != 'true' }}+ run: echo "value=./gradlew -p ui/component npmTest" >> $GITHUB_OUTPUT++ - name: Define UI app test command+ id: test-ui-apps-command+ run: echo "value=./gradlew -p ui/app npmTest" >> $GITHUB_OUTPUT- name: Define manager docker build commandid: manager-docker-command@@ -447,7 +451,11 @@ jobs:echo "pushRequired=true" >> $GITHUB_OUTPUTecho "managerDockerImage=openremote/manager:$FIRST_MANAGER_TAG" >> $GITHUB_OUTPUTelse- command="docker build --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 -t openremote/manager:$commitShaShort $buildPath"+ if [ "$(uname -m)" == "aarch64" ]; then+ PLATFORM=linux/aarch64+ OTHER_PLATFORM=linux/amd64+ fi+ command="docker build --build-arg GIT_COMMIT=$commitSha --platform ${PLATFORM:-linux/amd64} --load -t openremote/manager:$commitShaShort $buildPath && docker build --build-arg GIT_COMMIT=$commitSha --platform ${OTHER_PLATFORM:-linux/aarch64} -t openremote/manager:$commitShaShort $buildPath"echo "managerDockerImage=openremote/manager:$commitShaShort" >> $GITHUB_OUTPUTfiecho "value=$command" >> $GITHUB_OUTPUT@@ -458,7 +466,7 @@ jobs:FIRST_MANAGER_TAG: ${{ steps.ci-cd-output.outputs.firstDockerTag }}MANAGER_TAGS: ${{ steps.ci-cd-output.outputs.dockerTags }}DEPLOYMENTS: ${{ steps.deployments.outputs.value }}- TEST_UI_CMD: ${{ steps.test-ui-command.outputs.value }}+ TEST_UI_CMD: ${{ steps.test-ui-apps-command.outputs.value }}- name: Define maven publish commandid: maven-publish-command@@ -571,7 +579,8 @@ jobs:echo 'Deployment commit SHA: ${{ steps.deployment-docker-command.outputs.refTag }}'echo 'Deployments: ${{ steps.deployments.outputs.value }}'echo 'Test backend command: ${{ steps.test-backend-command.outputs.value }}'- echo 'Test UI command: ${{ steps.test-ui-command.outputs.value }}'+ echo 'Test UI components command: ${{ steps.test-ui-components-command.outputs.value }}'+ echo 'End-To-End test command: ${{ steps.test-ui-apps-command.outputs.value }}'echo 'Manager docker build command: ${{ steps.manager-docker-command.outputs.value }}'echo 'Manager docker image: ${{ steps.manager-docker-command.outputs.managerDockerImage }}'echo 'Maven publish command: ${{ steps.maven-publish-command.outputs.value }}'@@ -584,19 +593,10 @@ jobs:echo "************************************************************"- name: Pull docker images- if: ${{ steps.test-backend-command.outputs.value != '' || steps.test-ui-command.outputs.value != '' }}+ if: ${{ steps.test-backend-command.outputs.value != '' || steps.test-ui-apps-command.outputs.value != '' }}run: |- # Only need keycloak and postgres services for backend testing- if [ -z $TEST_UI_COMMAND ]; then- composeProfile='profile/dev-testing.yml'- else- composeProfile='profile/dev-ui.yml'- fi-- # Pull the images- docker compose -f $composeProfile pull- env:- TEST_UI_COMMAND: ${{ steps.test-ui-command.outputs.value }}+ # Only need keycloak and postgres services for backend and end-to-end testing+ docker compose -f profile/dev-testing.yml pull# Use docker layer caching to speed up image building- uses: jpribyl/action-docker-layer-caching@c632825d12ec837065f49726ea27ddd40bcc7894 # v0.1.1@@ -664,29 +664,9 @@ jobs:path: test/build/reports/tests- name: Cleanup backend tests- if: ${{ steps.test-backend-command.outputs.value != '' && steps.test-ui-command.outputs.value != '' }}+ if: ${{ steps.test-backend-command.outputs.value != '' }}run: ${{ steps.run-backend-tests.outputs.cleanup }}- - name: Run frontend tests- if: steps.test-ui-command.outputs.value != ''- run: |- composeProfile='profile/dev-ui.yml'-- if [ $IS_MAIN_REPO == 'false' ]; then- composeProfile="openremote/$composeProfile"- fi-- # Start the stack- MANAGER_VERSION=$MANAGER_TAG docker compose -f $composeProfile up -d --no-build-- # Run the tests- ${{ steps.test-ui-command.outputs.value }}- env:- IS_MAIN_REPO: ${{ steps.is_main_repo.outputs.value }}- MANAGER_TAG: ${{ steps.manager-docker-command.outputs.refTag }}- timeout-minutes: 20- continue-on-error: true-- name: Run install distif: steps.install-command.outputs.value != ''shell: python@@ -725,11 +705,59 @@ jobs:INPUTS_AND_SECRETS: ${{ toJSON(steps.inputs-and-secrets.outputs) }}timeout-minutes: 20+ - name: Run install playwright browser(s)+ if: ${{ steps.test-ui-components-command.value != '' || steps.test-ui-apps-command.outputs.value != '' }}+ run: npx playwright install --with-deps chromium+ timeout-minutes: 20++ - name: Run UI component tests+ if: steps.test-ui-components-command.outputs.value != ''+ run: ${{ steps.test-ui-components-command.outputs.value }}+ timeout-minutes: 20+ # continue-on-error: true++ - name: Archive UI component test results+ if: always()+ uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1+ with:+ name: ui-component-test-results+ path: ui/component/*/component-test-report/**+- name: Run manager docker build commandif: steps.manager-docker-command.outputs.value != ''run: |${{ steps.manager-docker-command.outputs.value }}+ - name: Run UI app tests+ if: steps.test-ui-apps-command.outputs.value != ''+ run: |+ composeProfile='profile/dev-ui.yml'++ if [ $IS_MAIN_REPO == 'false' ]; then+ composeProfile="openremote/$composeProfile"+ fi++ # Start the stack+ MANAGER_VERSION=$MANAGER_TAG docker compose -f $composeProfile up -d --no-build++ # Wait for services to be healthy+ bash .ci_cd/host_init/healthy.sh profile++ # Run the tests+ ${{ steps.test-ui-apps-command.outputs.value }}+ env:+ IS_MAIN_REPO: ${{ steps.is_main_repo.outputs.value }}+ MANAGER_TAG: ${{ steps.manager-docker-command.outputs.refTag }}+ timeout-minutes: 20+ # continue-on-error: true++ - name: Archive UI app test results+ if: always()+ uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1+ with:+ name: ui-app-test-results+ path: ui/app/*/app-test-report/**+- name: Scan manager docker imageif: steps.manager-docker-command.outputs.pushRequired == 'true'uses: anchore/scan-action@2c901ab7378897c01b8efaa2d0c9bf519cc64b9e # v6.2.0diff --git a/.gitignore b/.gitignoreindex f6faa6fee..562687cce 100644--- a/.gitignore+++ b/.gitignore@@ -60,3 +60,9 @@ local.properties*~*.tar.gz/balena/manager-build/++# Playwright+test-results+app-test-report+component-test-report+.authdiff --git a/package.json b/package.jsonindex 3d60ac7f7..69fd122f7 100644--- a/package.json+++ b/package.json@@ -4,11 +4,13 @@"private": true,"workspaces": ["ui/util",+ "ui/test","ui/app/*","ui/component/*","ui/demo/*"],"devDependencies": {+ "@openremote/test": "workspace:*","@openremote/util": "workspace:*"}}diff --git a/project.gradle b/project.gradleindex 8c5f4b0c4..f0add6da9 100644--- a/project.gradle+++ b/project.gradle@@ -330,48 +330,39 @@ ext.npmCommand = {}// Add yarn tasks-task yarnInstall(type: Exec) {+tasks.register('yarnInstall', Exec) {commandLine npmCommand("yarn"), "install"}-task yarnInstallForce(type: Exec) {+tasks.register('yarnInstallForce', Exec) {commandLine npmCommand("yarn"), "install", "--force"}-task npmClean(type: Exec) {+tasks.register('npmClean', Exec) {dependsOn getYarnInstallTask()commandLine npmCommand("yarn"), "run", "clean"}-task npmAnalyze(type: Exec) {+tasks.register('npmAnalyze', Exec) {dependsOn getYarnInstallTask()commandLine npmCommand("yarn"), "run", "analyze"}-task npmBuild(type: Exec) {- mustRunAfter npmClean- dependsOn getYarnInstallTask()- commandLine npmCommand("yarn"), "run", "build"-}-task npmTest(type: Exec) {- dependsOn getYarnInstallTask()- commandLine npmCommand("yarn"), "run", "test"-}-task npmServe(type: Exec) {+tasks.register('npmServe', Exec) {dependsOn getYarnInstallTask()commandLine npmCommand("yarn"), "run", "serve"}-task npmPrepare(type: Exec) {+tasks.register('npmPrepare', Exec) {dependsOn getYarnInstallTask()commandLine npmCommand("yarn"), "pack"}-task npmPublish(type: Exec) {+tasks.register('npmPublish', Exec) {dependsOn getYarnInstallTask()commandLine npmCommand("yarn"), "npm", "publish", "--access", "public"}-task npmServeProduction(type: Exec) {+tasks.register('npmServeProduction', Exec) {dependsOn getYarnInstallTask()commandLine npmCommand("yarn"), "run", "serveProduction"}// Add typescript tasks-task tscWatch(type: Exec) {+tasks.register('tscWatch', Exec) {commandLine npmCommand("npx"), "tsc", "-b", "--watch"}@@ -393,7 +384,7 @@ plugins.withType(JavaPlugin).whenPluginAdded {}// Allow dependencyInsight checks across all projects- task allDependencyInsight(type: DependencyInsightReportTask) {}+ tasks.register('allDependencyInsight', DependencyInsightReportTask) {}base {// JAR/ZIP base name is the fully qualified subproject namediff --git a/setup/build.gradle b/setup/build.gradleindex 7ae387958..eaed4d97b 100644--- a/setup/build.gradle+++ b/setup/build.gradle@@ -17,7 +17,7 @@ dependencies {implementation project(":manager")}-task (load1Jar, type: Jar) {+tasks.register('load1Jar', Jar) {base {archivesName = "openremote-load1-${project.name}"}@@ -26,7 +26,7 @@ task (load1Jar, type: Jar) {// Order of JAR tasks affects the name of the final jar but not the contents which is odd// So putting demo last-task (demoJar, type: Jar) {+tasks.register('demoJar', Jar) {base {archivesName = "openremote-demo-${project.name}"}@@ -34,7 +34,7 @@ task (demoJar, type: Jar) {}// Use demo setup sourceset by default for jar-task installDist(type: Copy) {+tasks.register('installDist', Copy) {def setupTask = getTasksByName(project.hasProperty("SETUP_JAR") ? "${project.getProperties().get("SETUP_JAR")}Jar" : "demoJar", false)[0] as org.gradle.jvm.tasks.JarSystem.out.println(setupTask.name)dependsOn setupTaskdiff --git a/ui/app/insights/build.gradle b/ui/app/insights/build.gradleindex 61435113c..a38f6440c 100644--- a/ui/app/insights/build.gradle+++ b/ui/app/insights/build.gradle@@ -69,6 +69,12 @@ signing {}}+tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}+tasks.register('cleanDist') {dependsOn npmClean}diff --git a/ui/app/insights/package.json b/ui/app/insights/package.jsonindex f23935e1d..4c8dc6f12 100644--- a/ui/app/insights/package.json+++ b/ui/app/insights/package.json@@ -22,7 +22,7 @@"build": "npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack --mode production","serve": "npx tsc -b --clean && npx shx rm -rf dist lib && npx orutil build && npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack serve --mode development","serveNoModelBuild": "npx tsc -b --clean && npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack serve --mode development",- "test": "echo \"Error: no test specified\" && exit 1"+ "test": "echo \"No tests\" && exit 0"},"dependencies": {"@openremote/or-app": "workspace:*"diff --git a/ui/app/manager/build.gradle b/ui/app/manager/build.gradleindex 9021fa33f..c0d78bfa0 100644--- a/ui/app/manager/build.gradle+++ b/ui/app/manager/build.gradle@@ -69,6 +69,22 @@ signing {}}+tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}++tasks.register('npmTest', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test"+}++tasks.register('npmTestUI', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test", "--ui"+}+tasks.register('cleanDist') {dependsOn npmClean}diff --git a/ui/app/manager/package.json b/ui/app/manager/package.jsonindex 2e3f9a4f1..e9d854d2c 100644--- a/ui/app/manager/package.json+++ b/ui/app/manager/package.json@@ -23,7 +23,7 @@"build": "npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack --mode production","serve": "npx tsc -b --clean && npx shx rm -rf dist lib && npx orutil build && npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack serve --mode development","serveNoModelBuild": "npx tsc -b --clean && npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack serve --mode development",- "test": "echo \"Error: no test specified\" && exit 1",+ "test": "npx playwright test","prepack": "npx tsc -b"},"dependencies": {@@ -32,6 +32,8 @@"iso-639-1": "^3.1.3"},"devDependencies": {+ "@openremote/rest": "workspace:*",+ "@openremote/test": "workspace:*","@openremote/util": "workspace:*"},"publishConfig": {diff --git a/ui/app/manager/playwright.config.ts b/ui/app/manager/playwright.config.tsnew file mode 100644index 000000000..e132bcc15--- /dev/null+++ b/ui/app/manager/playwright.config.ts@@ -0,0 +1,3 @@+import { defineAppConfig } from "@openremote/test/app.config";++export default defineAppConfig(__dirname);diff --git a/ui/app/manager/src/pages/page-users.ts b/ui/app/manager/src/pages/page-users.tsindex 42aa5f346..5f07260ad 100644--- a/ui/app/manager/src/pages/page-users.ts+++ b/ui/app/manager/src/pages/page-users.ts@@ -34,7 +34,7 @@ export function pageUsersProvider(store: Store<AppStateKeyed>): PageProvider<App};}-interface UserModel extends User {+export interface UserModel extends User {password?: string;loaded?: boolean;loading?: boolean;diff --git a/ui/app/manager/test/assets.test.ts b/ui/app/manager/test/assets.test.tsnew file mode 100644index 000000000..4904e5bcb--- /dev/null+++ b/ui/app/manager/test/assets.test.ts@@ -0,0 +1,228 @@+import { expect } from "@openremote/test";+import { test, userStatePath } from "./fixtures/manager.js";+import assets, { assetMap, assetPatches, thing } from "./fixtures/data/assets.js";+import { WellknownMetaItems } from "@openremote/model";+import * as Util from "@openremote/core/lib/util";++test.use({ storageState: userStatePath });++assets.forEach(({ type, name, attributes }) => {+ const { attribute1, attribute2, attribute3, value1, value2, value3, x, y } =+ assetPatches[name as keyof typeof assetPatches];++ /**+ * @given Logged in to OpenRemote "smartcity" realm as "smartcity"+ * @when Navigating to the "asset" tab+ * @and Creating an asset of a specific type with the given name+ * @and Opening the asset's detail page+ * @and Switching to modify mode+ * @and Setting values for specified attributes+ * @and Saving the changes+ * @then The asset with the given name should be visible in the UI+ */+ test(`Add new ${name} asset and configure its attributes`, async ({ page, manager, assetsPage, assetViewer }) => {+ await manager.goToRealmStartPage("smartcity");+ await assetsPage.goto();+ await assetsPage.addAsset(assetMap[name!], name!);+ await page.click(`#list-container >> text=${name}`);+ await assetViewer.switchMode("modify");+ await assetViewer.setAttributeValue(attribute1, value1);+ await assetViewer.setAttributeValue(attribute2, value2);+ const saveBtn = page.getByRole("button", { name: "Save" });+ await saveBtn.click();+ await expect(saveBtn).toBeDisabled();+ await expect(page.locator(`text=${name}`)).toHaveCount(1);+ });++ /**+ * @given Assets are set up in the "smartcity" realm+ * @when Logging in to the OpenRemote "smartcity" realm+ * @and Navigating to the "asset" tab+ * @and Searching for the asset by name+ * @and Selecting the asset from the list+ * @then The asset detail page is displayed+ */+ test(`Search for and select a ${name} asset`, async ({ page, manager }) => {+ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("asset");+ await page.fill('#filterInput input[type="text"]', name);+ await page.click(`text=${name}`);+ await expect(page.locator(`#asset-header`, { hasText: name })).toBeVisible();+ });++ /**+ * @given Assets are set up in the "smartcity" realm+ * @when Logging in to the OpenRemote "smartcity" realm+ * @and Navigating to the "asset" tab+ * @and Selecting an asset by name+ * @and Updating a specific attribute with a new value and type+ * @and Switching to modify mode+ * @and Updating the asset's location via map click+ * @and Saving the changes+ * @then The updated asset is saved and changes are persisted+ */+ test(`Update a ${name} asset's attributes and location`, async ({ page, manager, assetViewer }) => {+ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("asset");+ await page.click(`text=${name}`);++ const type = attributes[attribute3 as keyof typeof attributes].type;+ const item = page.locator(`#field-${attribute3} input[type="${type}"]`);+ if (await item.isEditable()) {+ await item.fill(value3);+ await page.click(`#field-${attribute3} #send-btn span`);+ }++ await assetViewer.switchMode("modify");+ await assetViewer.getAttributeLocator("location").getByRole("button").click();+ await page.mouse.click(x, y, { delay: 1000 });+ await page.getByRole("button", { name: "OK" }).click();++ const saveBtn = page.getByRole("button", { name: "Save" });+ await saveBtn.click();+ await expect(saveBtn).toBeDisabled();+ });++ /**+ * @given Assets are set up in the "smartcity" realm+ * @when Logging in to the OpenRemote "smartcity" realm+ * @and Navigating to the "asset" tab+ * @and Selecting the asset by name+ * @and Switching to modify mode+ * @and Toggling read-only status for two attributes+ * @and Saving the changes+ * @and Navigating to the asset's view panel+ * @then The correct read-only indicators should be present for the attributes+ */+ test(`Toggle read-only for two attributes on a ${name} asset`, async ({ page, manager, assetViewer }) => {+ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("asset");+ await page.click(`text=${name}`);++ await assetViewer.switchMode("modify");+ await page.getByRole("button", { name: "Expand all" }).click();++ await assetViewer.getAttributeLocator(attribute1).click();+ await assetViewer.getConfigurationItemLocator(attribute1, "Read only").locator("label").click();++ await assetViewer.getAttributeLocator(attribute2).click();+ await assetViewer.getConfigurationItemLocator(attribute2, "Read only").locator("label").click();++ const saveBtn = page.getByRole("button", { name: "Save" });+ await saveBtn.click();+ await expect(saveBtn).toBeDisabled();++ await page.getByRole("button", { name: "View" }).click();+ await expect(page.getByRole("button", { name: "Modify" })).toBeVisible();++ await expect(page.locator(`#field-${attribute1} #send-btn`)).toBeVisible();+ await expect(page.locator(`#field-${attribute2} #send-btn`)).not.toBeVisible();+ });++ /**+ * @given Assets are set up in the "smartcity" realm+ * @when Logging in to the OpenRemote "smartcity" realm+ * @and Navigating to the "asset" tab+ * @and Selecting the asset by name+ * @and Switching to modify mode+ * @and Selecting configuration items like "ruleState" and "storeDataPoints" for two attributes+ * @and Saving the changes+ * @then The configuration items are persisted correctly+ */+ test(`Set "ruleState" and "storeDataPoints" for ${name} asset attributes`, async ({ page, manager, assetViewer }) => {+ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("asset");+ await page.click(`text=${name}`);++ await assetViewer.switchMode("modify");+ await page.getByRole("button", { name: "Expand all" }).click();++ await assetViewer.addConfigurationItems(attribute1, "ruleState", "storeDataPoints");+ await assetViewer.addConfigurationItems(attribute2, "ruleState", "storeDataPoints");++ const saveBtn = page.getByRole("button", { name: "Save" });+ await saveBtn.click();+ await expect(saveBtn).toBeDisabled();+ });+});++/**+ * @given Assets are set up in the "smartcity" realm+ * @when Login to OpenRemote "smartcity" realm as "smartcity"+ * @and Modifying thing asset+ * @and Adding primitive configuration items+ * @then The configuration items to be visible+ */+test("Add all primitive configuration items", async ({ page, manager, assetViewer }) => {+ await manager.setup("smartcity", { assets: [thing] });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("Assets");+ await page.getByText("Thing").click();+ await assetViewer.switchMode("modify");+ await page.getByRole("button", { name: "Expand all" }).click();+ const items: [`${WellknownMetaItems}`, any][] = [+ ["ruleState", true],+ ["hasPredictedDataPoints", true],+ ["storeDataPoints", true],+ ["label", "test"],+ ["showOnDashboard", true],+ ["readOnly", true],+ ["multiline", true],+ ["accessPublicWrite", true],+ ["momentary", true],+ ["accessRestrictedRead", true],+ ["dataPointsMaxAgeDays", 7],+ ["accessRestrictedWrite", true],+ ["secret", true],+ ["ruleResetImmediate", true],+ ["userConnected", "test"],+ ["accessPublicRead", true],+ ];+ await assetViewer.addConfigurationItems("notes", ...items.map(([item]) => item));+ for (const [item, value] of items) {+ const itemLocator = assetViewer.getConfigurationItemLocator("notes");+ const options = { name: Util.camelCaseToSentenceCase(item) };+ if (typeof value === "string") {+ const input = itemLocator.getByRole("textbox", options);+ await input.fill(value);+ await expect(input).toHaveValue(value);+ } else if (typeof value === "number") {+ const input = itemLocator.getByRole("spinbutton", options);+ await input.fill(`${value}`);+ await expect(input).toHaveValue(`${value}`);+ } else if (value) {+ await expect(itemLocator.getByRole("checkbox", options)).toBeChecked();+ } else {+ await expect(itemLocator.getByRole("checkbox", options)).not.toBeChecked();+ }+ }+});++test.fixme("Add all complex configuration items", async ({ page, manager, shared }) => {});++/**+ * @given Assets are set up in the "smartcity" realm+ * @when Logging in to OpenRemote "smartcity" realm as admin+ * @and Navigating to the "Assets" tab+ * @and Deleting the assets "Battery" and "Solar Panel"+ * @then The asset list should no longer show the deleted assets+ * @and The asset column should appear empty (showing "Console")+ */+test("Delete specified assets and verify they are removed", async ({ page, manager, assetsPage }) => {+ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("Assets");+ await assetsPage.deleteSelectedAsset("Battery");+ await assetsPage.deleteSelectedAsset("Solar Panel");+ await expect(page.locator("text=Console")).toHaveCount(1);+ await expect(page.locator("text=Solar Panel")).toHaveCount(0);+ await expect(page.locator("text=Battery")).toHaveCount(0);+});++test.afterEach(async ({ manager }) => {+ await manager.cleanUp();+});diff --git a/ui/app/manager/test/fixtures/data/assets.ts b/ui/app/manager/test/fixtures/data/assets.tsnew file mode 100644index 000000000..f52621ed2--- /dev/null+++ b/ui/app/manager/test/fixtures/data/assets.ts@@ -0,0 +1,128 @@+import * as Util from "@openremote/core/lib/util";+import { Asset } from "@openremote/model";++export const assetMap = {+ Battery: "ElectricityBatteryAsset",+ "Solar Panel": "ElectricityProducerSolarAsset",+};+const assets = [+ {+ name: "Battery",+ type: "ThingAsset",+ realm: "smartcity",+ attributes: {+ notes: { name: "notes", type: "text" },+ location: { name: "location", type: "GEO_JSONPoint" },+ energyLevel: { name: "energyLevel", type: "positiveNumber", meta: { readOnly: true } },+ power: { name: "power", type: "number", meta: { readOnly: false } },+ powerSetpoint: { name: "powerSetpoint", type: "number" },+ energyCapacity: { name: "energyCapacity", type: "positiveNumber" },+ },+ },+ {+ name: "Solar Panel",+ type: "ThingAsset",+ realm: "smartcity",+ attributes: {+ notes: { name: "notes", type: "text" },+ location: { name: "location", type: "GEO_JSONPoint" },+ panelPitch: { name: "panelPitch", type: "positiveInteger", meta: { readOnly: true } },+ power: { name: "power", type: "number", meta: { readOnly: false } },+ powerForecast: { name: "powerForecast", type: "number", meta: { readOnly: true } },+ },+ },+] as const;++export const preparedAssetsWithLocation = Object.values(+ Util.mergeObjects(+ structuredClone(assets),+ [+ { attributes: { location: { value: { type: "Point", coordinates: [4.482259693115793, 51.91756799273] } } } },+ { attributes: { location: { value: { type: "Point", coordinates: [4.4845127486877345, 51.917435642781214] } } } },+ ],+ true+ )+);++export const preparedAssetsForRules = Object.values(+ Util.mergeObjects(+ structuredClone(assets),+ [+ {+ attributes: {+ energyLevel: { meta: { ruleState: true, storeDataPoints: true } },+ power: { meta: { ruleState: true, storeDataPoints: true } },+ },+ },+ {+ attributes: {+ power: { meta: { ruleState: true, storeDataPoints: true } },+ powerForecast: { meta: { ruleState: true, storeDataPoints: true } },+ },+ },+ ],+ true+ )+);++type AssetNames = (typeof assets)[number]["name"];++export const assetPatches: Record<+ AssetNames,+ {+ attribute1: string;+ attribute2: string;+ attribute3: string;+ value1: string;+ value2: string;+ value3: string;+ x: number;+ y: number;+ }+> = {+ Battery: {+ attribute1: "energyLevel",+ attribute2: "power",+ attribute3: "powerSetpoint",+ value1: "30",+ value2: "50",+ value3: "70",+ x: 705,+ y: 210,+ },+ "Solar Panel": {+ attribute1: "panelPitch",+ attribute2: "power",+ attribute3: "powerForecast",+ value1: "30",+ value2: "70",+ value3: "100",+ x: 600,+ y: 200,+ },+};++export type DefaultAssets = typeof assets;+export default assets;++export const thing: Asset = {+ name: "Thing",+ realm: "smartcity",+ type: "ThingAsset",+ attributes: {+ notes: { name: "notes", type: "text", meta: {} },+ location: { name: "location", type: "GEO_JSONPoint", meta: {} },+ },+};++export const agent: Asset = {+ name: "Simulator",+ realm: "smartcity",+ type: "SimulatorAgent",+ attributes: {+ notes: { name: "notes", type: "text", meta: {} },+ agentDisabled: { name: "agentDisabled", type: "boolean", meta: {} },+ location: { name: "location", type: "GEO_JSONPoint", meta: {} },+ agentStatus: { name: "agentStatus", type: "connectionStatus", meta: { readOnly: true } },+ },+};diff --git a/ui/app/manager/test/fixtures/data/permissions.ts b/ui/app/manager/test/fixtures/data/permissions.tsnew file mode 100644index 000000000..c6b89491a--- /dev/null+++ b/ui/app/manager/test/fixtures/data/permissions.ts@@ -0,0 +1,18 @@+export default [+ "write:assets",+ "write:alarms",+ "write:attributes",+ "read:assets",+ "write:logs",+ "write:user",+ "write:admin",+ "read:users",+ "read:insights",+ "write:rules",+ "read:map",+ "read:admin",+ "read:alarms",+ "read:rules",+ "read:logs",+ "write:insights",+];diff --git a/ui/app/manager/test/fixtures/data/roles.ts b/ui/app/manager/test/fixtures/data/roles.tsnew file mode 100644index 000000000..144589ab1--- /dev/null+++ b/ui/app/manager/test/fixtures/data/roles.ts@@ -0,0 +1,7 @@+export const custom = {+ composite: true,+ name: "Custom",+ // Find and replace with role IDs+ compositeRoleIds: ["read:assets", "write:assets"],+ description: "read:assets, write:assets",+};diff --git a/ui/app/manager/test/fixtures/data/rules.ts b/ui/app/manager/test/fixtures/data/rules.tsnew file mode 100644index 000000000..8a746a9c0--- /dev/null+++ b/ui/app/manager/test/fixtures/data/rules.ts@@ -0,0 +1,8 @@+export const energyRule = {+ name: "Energy rule",+ attribute_type: "Thing asset",+ asset: "Battery",+ attribute_when: "Energy level",+ attribute_then: "Energy capacity",+ value: 50,+};diff --git a/ui/app/manager/test/fixtures/data/users.ts b/ui/app/manager/test/fixtures/data/users.tsnew file mode 100644index 000000000..988680708--- /dev/null+++ b/ui/app/manager/test/fixtures/data/users.ts@@ -0,0 +1,26 @@+import { UserModel } from "../../../src/pages/page-users";+import { Role } from "@openremote/model";++export const roles: Record<string, Role> = {+ Custom: {},+};++export type Usernames = "admin" | "smartcity";+export const users: Record<Usernames, UserModel & { username: Usernames; password: string }> = {+ admin: {+ username: "admin",+ password: "secret",+ },+ smartcity: {+ enabled: true,+ username: "smartcity",+ password: "smartcity",+ realm: "smartcity",+ roles: ["read", "write"],+ previousRoles: [],+ realmRoles: [],+ previousRealmRoles: [],+ userAssetLinks: [],+ serviceAccount: false,+ },+};diff --git a/ui/app/manager/test/fixtures/manager.ts b/ui/app/manager/test/fixtures/manager.tsnew file mode 100644index 000000000..3da5e8c7d--- /dev/null+++ b/ui/app/manager/test/fixtures/manager.ts@@ -0,0 +1,385 @@+import path from "node:path";++import rest, { RestApi } from "@openremote/rest";+import { users, Usernames } from "./data/users";+import type { DefaultAssets } from "./data/assets";+const { admin, smartcity } = users;++import { UserModel } from "../../src/pages/page-users";+import { Asset, Role } from "@openremote/model";+import { test as base, expect, type Page, type ComponentTestFixtures, type Shared, withPage } from "@openremote/test";+import { AssetsPage, RealmsPage, RolesPage, RulesPage, UsersPage } from "./pages";+import { AssetViewer } from "../../../../component/or-asset-viewer/test/fixtures";+import { CollapsiblePanel } from "../../../../component/or-components/test/fixtures";+import { JsonForms } from "../../../../component/or-json-forms/test/fixtures";++export const adminStatePath = path.join(__dirname, "data/.auth/admin.json");+export const userStatePath = path.join(__dirname, "data/.auth/user.json");++export class Manager {+ private readonly clientId = "openremote";+ private readonly managerHost: String;+ readonly axios: RestApi["_axiosInstance"];++ public realm?: string;+ public user?: UserModel;+ public role?: Role;+ public assets: Asset[] = [];+ public rules: number[] = [];++ constructor(readonly page: Page, readonly baseURL: string) {+ this.managerHost = process.env.managerUrl || "http://localhost:8080";+ rest.initialise(`${this.managerHost}/api/master/`);+ this.axios = rest.axiosInstance;+ }++ async goToRealmStartPage(realm: string) {+ await this.page.goto(this.getAppUrl(realm));+ }++ /**+ * Navigate to a settings page inside the manager using the settings menu at the top right+ * @param setting Name of the setting menu item+ */+ async navigateToMenuItem(setting: string) {+ await this.page.click("button#menu-btn-desktop");+ const menu = this.page.locator("#menu > #list > li").filter({ hasText: setting });+ await menu.waitFor({ state: "visible" });+ await menu.click();+ }++ /**+ * Switch to a realm using the realm picker+ * @param name Name of the realm+ */+ async switchToRealmByRealmPicker(realm: string) {+ await this.page.click("#realm-picker");+ await this.page.locator("#desktop-right li", { hasText: realm }).click();+ }++ /**+ * Navigate to a certain tab page+ * @param tab Tab name+ */+ async navigateToTab(tab: string) {+ await this.page.click(`#desktop-left a:has-text("${tab}")`);+ }++ /**+ * Login as user, waits for username and password fields to be visible.+ * @param user Username (admin or other)+ */+ async login(user: Usernames) {+ const username = this.page.getByRole("textbox", { name: "Username or email" });+ const password = this.page.getByRole("textbox", { name: "Password" });+ await username.waitFor();+ if ((await username.isVisible()) && (await password.isVisible())) {+ await username.fill(user);+ await password.fill(users[user].password);+ await this.page.keyboard.press("Enter");+ }+ }++ /**+ * Logout from the manager.+ *+ * After logout waits until redirection finished.+ */+ async logout() {+ if (await this.page.isVisible("#menu-btn-desktop")) {+ await this.page.click("#menu-btn-desktop");+ await this.page.locator("#menu > #list > li").filter({ hasText: "Log out" }).click();+ }+ // Wait for navigation to login page to prevent simultaneous navigation+ await this.page.waitForURL("**/auth/realms/**");+ }++ async getAccessToken(realm: string, username: Usernames, password: string) {+ const data = new URLSearchParams();+ data.append("client_id", this.clientId);+ data.append("username", username);+ data.append("password", password);+ data.append("grant_type", "password");+ const { access_token } = (+ await this.axios.post(`${this.managerHost}/auth/realms/${realm}/protocol/openid-connect/token`, data, {+ headers: {+ "Content-Type": "application/x-www-form-urlencoded",+ },+ })+ ).data;+ return access_token;+ }++ /**+ * Get the roles of the current realm+ *+ * Expects a realm to be configured+ * @param config The axios request config+ */+ async getClientRoles(config) {+ try {+ const response = await rest.api.UserResource.getClientRoles(this.realm!, this.clientId, config);+ expect(response.status).toBe(200);+ return response.data;+ } catch (e) {+ console.error("Failed to get roles", e.response.status);+ }+ }++ /**+ * Create an new role+ *+ * The `compositeRoleIds` are mapped by name to the corresponding role id.+ *+ * Expects a realm to be configured+ * @param newRole The role to create+ * @param roles The current stored roles to add the new role to+ * @param config The axios request config+ */+ async createRole(newRole: Role, roles: Role[], config) {+ if (newRole.compositeRoleIds) {+ newRole.compositeRoleIds = newRole.compositeRoleIds+ .map((name) => roles.find((r) => r.name === name)?.id)+ .filter(Boolean) as string[];+ }+ roles.push(newRole);+ try {+ const response = await rest.api.UserResource.updateRoles(this.realm!, roles, config);+ expect(response.status).toBe(204);+ this.role = newRole;+ } catch (e) {+ console.error("Failed to create role", e.response.status);+ }+ }++ /**+ * Create an new user+ *+ * Expects a realm to be configured+ * @param user The user to create+ * @param config The axios request config+ */+ async createUser(user: UserModel, config) {+ try {+ const response = await rest.api.UserResource.create(this.realm!, user, config);+ expect(response.status).toBe(200);+ this.user = response.data;+ } catch (e) {+ console.error("Failed to create user", e.response.status);+ }+ }++ /**+ * Add a role to the current user+ *+ * Expects a realm and user to be configured+ * @param roles A list of roles to add to the user+ * @param config The axios request config+ */+ async addUserRoles(roles: string[], config) {+ try {+ const response = await rest.api.UserResource.updateUserClientRoles(+ this.realm!,+ this.user!.id!,+ this.clientId,+ roles,+ config+ );+ expect(response.status).toBe(204);+ } catch (e) {+ console.error("Failed to update users' roles", e.response.status);+ }+ }++ /**+ * Reset the user password with the smartcity users' password+ *+ * Expects a realm and user to be configured+ * @param config The axios request config+ */+ async resetUserPassword(config) {+ try {+ const response = await rest.api.UserResource.resetPassword(+ this.realm!,+ this.user!.id!,+ { value: smartcity.password },+ config+ );+ expect(response.status).toBe(204);+ } catch (e) {+ console.error("Failed to reset user password", e.response.status);+ }+ }++ /**+ * Create an asset+ * @param asset The asset to create+ * @param config The axios request config+ */+ async createAsset(asset: Asset, config) {+ await rest.api.AssetResource.create(asset, config)+ .then((response) => {+ expect(response.status).toBe(200);+ this.assets.push(response.data);+ })+ .catch((e) => {+ expect(e.response.status, { message: "Failed to create asset" }).toBe(409);+ });+ }++ /**+ * Setup the testing environment by giving the realm name and additional parameters+ * @param realm Realm to create+ * @param [options] - Optional parameters for setup+ * @param [options.user] - The user to create within the realm+ * @param [options.role] - The role to assign or create+ * @param [options.assets] - Assets to create for the realm+ */+ async setup(+ realm: string,+ { user, role, assets }: { user?: UserModel; role?: Role; assets?: Asset[] | DefaultAssets } = {}+ ) {+ const access_token = await this.getAccessToken("master", admin.username, admin.password);+ const config = { headers: { Authorization: `Bearer ${access_token}` } };++ this.realm = realm;++ // Provision role+ if (role) {+ const roles = await this.getClientRoles(config);+ if (roles) {+ await this.createRole(role, roles, config);+ }+ }++ // Provision user+ if (user) {+ await this.createUser(user, config);+ await this.addUserRoles(user.roles!, config);+ await this.resetUserPassword(config);+ }++ // Provision assets+ if (assets) {+ this.assets = [];+ for (const asset of assets) {+ await this.createAsset(asset, config);+ }+ }+ }++ /**+ * Deletes rules in the active realm+ * @param config The axios request config+ */+ async deleteRealmRulesets(config) {+ for (const [i, id] of this.rules.entries()) {+ try {+ const response = await rest.api.RulesResource.deleteRealmRuleset(id!, config);+ expect(response.status).toBe(204);+ this.rules.splice(i);+ } catch (e) {+ console.warn("Could not delete realm rule: ", id);+ }+ }+ }++ /**+ * Deletes assets+ * @param config The axios request config+ */+ async deleteAssets(config) {+ const assetIds = this.assets.map(({ id }) => id!);+ try {+ const response = await rest.api.AssetResource.delete({ assetId: assetIds }, config);+ expect(response.status).toBe(204);+ this.assets = [];+ } catch (e) {+ console.warn("Could not delete asset(s): ", assetIds);+ }+ }++ /**+ * Delete role+ *+ * Expects a realm to be configured+ * @param roles The stored roles+ * @param config The axios request config+ */+ async deleteRole(roles: Role[], config) {+ roles = roles.filter((r) => r.id !== this.role!.id);+ try {+ const response = await rest.api.UserResource.updateRoles(this.realm!, roles, config);+ expect(response.status).toBe(204);+ delete this.role;+ } catch (e) {+ console.warn("Could not update roles: ", this.role);+ }+ }++ /**+ * Clean up the environment+ */+ async cleanUp() {+ const access_token = await this.getAccessToken("master", "admin", users.admin.password!);+ const config = { headers: { Authorization: `Bearer ${access_token}` } };++ if (this.rules.length > 0) {+ await this.deleteRealmRulesets(config);+ }++ if (this.assets.length > 0) {+ await this.deleteAssets(config);+ }++ if (this.role && this.realm) {+ const roles = await this.getClientRoles(config);+ if (roles) {+ await this.deleteRole(roles, config);+ }+ }+ }++ protected getAppUrl(realm: string) {+ return `${new URL(this.baseURL).origin}/manager/?realm=${realm}`;+ }+}++function withManager<R>(managerPage: Function): TestFixture<R, { page: Page; shared: Shared; manager: Manager }> {+ return async ({ page: basePage, shared, manager }, use) => {+ expect(manager).toBeInstanceOf(Manager);+ await use(new (managerPage.bind(null, basePage, shared, manager))());+ };+}++interface PageFixtures {+ assetsPage: AssetsPage;+ realmsPage: RealmsPage;+ rolesPage: RolesPage;+ rulesPage: RulesPage;+ usersPage: UsersPage;+}++interface ComponentFixtures extends ComponentTestFixtures {+ assetViewer: AssetViewer;+ collapsiblePanel: CollapsiblePanel;+ jsonForms: JsonForms;+}++interface Fixtures extends PageFixtures, ComponentFixtures {+ manager: Manager;+}++export const test = base.extend<Fixtures>({+ manager: async ({ page, baseURL }, use) => await use(new Manager(page, baseURL!)),+ // Pages+ assetsPage: withManager(AssetsPage),+ realmsPage: withManager(RealmsPage),+ rolesPage: withManager(RolesPage),+ rulesPage: withManager(RulesPage),+ usersPage: withManager(UsersPage),+ // Components+ assetViewer: withPage(AssetViewer),+ collapsiblePanel: withPage(CollapsiblePanel),+ jsonForms: withPage(JsonForms),+});diff --git a/ui/app/manager/test/fixtures/pages/assets.ts b/ui/app/manager/test/fixtures/pages/assets.tsnew file mode 100644index 000000000..a3cdce3e1--- /dev/null+++ b/ui/app/manager/test/fixtures/pages/assets.ts@@ -0,0 +1,42 @@+import { BasePage, Page, Shared, expect } from "@openremote/test";+import { Manager } from "../manager";+import { Asset } from "@openremote/model";++export class AssetsPage implements BasePage {+ constructor(private readonly page: Page, private readonly shared: Shared, private readonly manager: Manager) {}++ async goto() {+ this.manager.navigateToTab("Assets");+ }++ /**+ * Add asset of type and with name.+ *+ * Internally registers the asset for cleanup.+ *+ * @param type The asset type+ * @param name The name of the asset+ */+ async addAsset(type: string, name: string) {+ await this.page.click(".mdi-plus");+ await this.page.click(`li[data-value="${type}"]`);+ await this.page.fill('#name-input input[type="text"]', name);+ await this.shared.interceptResponse<Asset>("**/asset", (asset) => {+ if (asset) this.manager.assets.push(asset);+ });+ await this.page.click("#add-btn");+ }++ /**+ * Delete an asset by its name.+ * @param asset The asset name+ */+ async deleteSelectedAsset(asset: string) {+ const assetLocator = this.page.locator(`text=${asset}`);+ await expect(assetLocator).toHaveCount(1);+ await assetLocator.click();+ await this.page.click(".mdi-delete");+ await this.page.getByRole("button", { name: "Delete" }).click();+ await expect(assetLocator).toHaveCount(0);+ }+}diff --git a/ui/app/manager/test/fixtures/pages/index.ts b/ui/app/manager/test/fixtures/pages/index.tsnew file mode 100644index 000000000..311fb6eab--- /dev/null+++ b/ui/app/manager/test/fixtures/pages/index.ts@@ -0,0 +1,5 @@+export { AssetsPage } from "./assets";+export { RealmsPage } from "./realms";+export { RolesPage } from "./roles";+export { RulesPage } from "./rules";+export { UsersPage } from "./users";diff --git a/ui/app/manager/test/fixtures/pages/realms.ts b/ui/app/manager/test/fixtures/pages/realms.tsnew file mode 100644index 000000000..68e8ab475--- /dev/null+++ b/ui/app/manager/test/fixtures/pages/realms.ts@@ -0,0 +1,38 @@+import { BasePage, Page, Shared } from "@openremote/test";+import { Manager } from "../manager";++export class RealmsPage implements BasePage {+ constructor(private readonly page: Page, private readonly shared: Shared, private readonly manager: Manager) {}++ async goto() {+ this.manager.navigateToMenuItem("Realms");+ }++ /**+ * Create realm with name if not already present.+ * @param name The realm name+ */+ async addRealm(name: string) {+ const locator = this.page.getByRole("cell", { name, exact: true });+ await this.page.getByRole("cell", { name: "Master", exact: true }).waitFor();+ if (await locator.isVisible()) {+ console.warn(`Realm "${name}" already present`);+ } else {+ await this.page.click("text=Add Realm");+ await this.page.locator("#realm-row-1 label").filter({ hasText: "Realm" }).fill(name);+ await this.page.locator("#realm-row-1 label").filter({ hasText: "Friendly name" }).fill(name);+ await this.page.getByRole("button", { name: "create" }).click();+ }+ }++ /**+ * Delete a certain realm by its name.+ * @param name The realm's name+ */+ async deleteRealm(realm: string) {+ await this.page.getByRole("cell", { name: realm }).first().click();+ await this.page.getByRole("button", { name: "Delete" }).click();+ await this.page.getByRole("alertdialog").getByRole("textbox", { name: "Realm" }).fill(realm);+ await this.page.getByRole("button", { name: "OK" }).click();+ }+}diff --git a/ui/app/manager/test/fixtures/pages/roles.ts b/ui/app/manager/test/fixtures/pages/roles.tsnew file mode 100644index 000000000..b01e03230--- /dev/null+++ b/ui/app/manager/test/fixtures/pages/roles.ts@@ -0,0 +1,10 @@+import { BasePage, Page, Shared } from "@openremote/test";+import { Manager } from "../manager";++export class RolesPage implements BasePage {+ constructor(private readonly page: Page, private readonly shared: Shared, private readonly manager: Manager) {}++ async goto() {+ this.manager.navigateToMenuItem("Roles");+ }+}diff --git a/ui/app/manager/test/fixtures/pages/rules.ts b/ui/app/manager/test/fixtures/pages/rules.tsnew file mode 100644index 000000000..4105483b2--- /dev/null+++ b/ui/app/manager/test/fixtures/pages/rules.ts@@ -0,0 +1,10 @@+import { BasePage, Page, Shared } from "@openremote/test";+import { Manager } from "../manager";++export class RulesPage implements BasePage {+ constructor(private readonly page: Page, private readonly shared: Shared, private readonly manager: Manager) {}++ async goto() {+ this.manager.navigateToTab("Rules");+ }+}diff --git a/ui/app/manager/test/fixtures/pages/users.ts b/ui/app/manager/test/fixtures/pages/users.tsnew file mode 100644index 000000000..cdea06ea2--- /dev/null+++ b/ui/app/manager/test/fixtures/pages/users.ts@@ -0,0 +1,78 @@+import { BasePage, Locator, Page, Shared, expect } from "@openremote/test";+import { Manager } from "../manager";+import permissions from "../data/permissions";+import { UserModel } from "../../../src/pages/page-users";++export class UsersPage implements BasePage {+ constructor(private readonly page: Page, private readonly shared: Shared, private readonly manager: Manager) {}++ async goto() {+ this.manager.navigateToMenuItem("Users");+ }++ /**+ * Get permission locator by name.+ * @param permission The permission name+ */+ getPermission(permission: string): Locator {+ return this.page.getByRole("checkbox", { name: permission });+ }++ /**+ * Toggle roles when configuring a user.+ * @param roles The roles to toggle+ */+ async toggleUserRoles(...roles: string[]) {+ const roleSelector = this.page.getByRole("button", { name: "Manager roles" });+ const itemSelector = this.page.locator("li");+ await roleSelector.click({ delay: 500 });+ for (const role of roles) {+ await itemSelector.filter({ hasText: role }).click();+ }+ await roleSelector.click();+ }++ /**+ * Assert selected permissions.+ * @param perms The permissions expected to be checked+ */+ async toHavePermissions(...perms: string[]) {+ for (const permisison of perms) {+ await expect(this.getPermission(permisison)).toBeChecked();+ await expect(this.getPermission(permisison)).toBeDisabled();+ }+ for (const permisison of permissions.filter((p) => !perms.includes(p))) {+ await expect(this.getPermission(permisison)).not.toBeChecked();+ await expect(this.getPermission(permisison)).not.toBeDisabled();+ }+ }++ /**+ * Create a user with read and write access for the current realm.+ *+ * Internally checks whether the permissions are correctly set and+ * registers the user for cleanup.+ *+ * @param username The users' username+ * @param password The users' password+ */+ async addUser(username: string, password: string) {+ await this.page+ .locator("#content")+ .filter({ hasText: "Regular users" })+ .getByRole("button", { name: "Add User" })+ .click();+ await this.page.locator("label").filter({ hasText: "Username" }).fill(username);+ await this.page+ .locator("label")+ .filter({ hasText: /Password/ })+ .fill(password);+ await this.page.locator("label").filter({ hasText: "Repeat password" }).fill(password);+ await this.toggleUserRoles("Read", "Write");+ await this.toHavePermissions(...permissions);+ await this.shared.interceptResponse<UserModel>(`user/${this.manager.realm}/users`, (user) => {+ if (user) this.manager.user = user;+ });+ await this.page.getByRole("button", { name: "Create" }).click();+ }+}diff --git a/ui/app/manager/test/map.test.ts b/ui/app/manager/test/map.test.tsnew file mode 100644index 000000000..0d51d1d50--- /dev/null+++ b/ui/app/manager/test/map.test.ts@@ -0,0 +1,37 @@+import { expect } from "@openremote/test";+import { test, userStatePath } from "./fixtures/manager.js";+import { preparedAssetsWithLocation as assets } from "./fixtures/data/assets.js";++test.use({ storageState: userStatePath });++/**+ * @given Assets with location are set up in the "smartcity" realm+ * @when Logging in to OpenRemote "smartcity" realm as "smartcity"+ * @and Navigating to the "map" tab+ * @and Checking that asset markers are displayed on the map+ * @and Clicking on a marker for the asset "Battery"+ * @and Navigating to the asset detail page from the map card+ * @then The asset detail page for "Battery" is visible+ *+ * @skip This test is skipped on Firefox because headless mode does not support WebGL required by maplibre+ */+test("Verify that asset markers appear on the map and navigate correctly", async ({ page, manager, browserName }) => {+ test.skip(browserName === "firefox", "firefox headless mode does not support webgl required by maplibre");++ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");++ const asset = assets[0].name;++ await expect(page.locator(".marker-icon")).toHaveCount(2);++ await page.click(".marker-container");+ await expect(page.locator("#card-container", { hasText: asset })).toBeVisible();++ await page.getByRole("button", { name: "View" }).click();+ await expect(page.locator(`#asset-header`, { hasText: asset })).toBeVisible();+});++test.afterEach(async ({ manager }) => {+ await manager.cleanUp();+});diff --git a/ui/app/manager/test/roles.test.ts b/ui/app/manager/test/roles.test.tsnew file mode 100644index 000000000..db8230013--- /dev/null+++ b/ui/app/manager/test/roles.test.ts@@ -0,0 +1,73 @@+import { expect } from "@openremote/test";+import { adminStatePath, test } from "./fixtures/manager.js";+import { custom } from "./fixtures/data/roles.js";+import { Role } from "@openremote/model";+import permissions from "./fixtures/data/permissions.js";++test.use({ storageState: adminStatePath });++/**+ * @given The realm "smartcity" is set up+ * @when Logging into OpenRemote "master" realm as "admin"+ * @and Switching to the "smartcity" realm+ * @and Navigating to the "Roles" page+ * @and Creating a new role named "Custom" with specific permissions+ * @and Navigating to the "Users" page and selecting a user+ * @and Assigning only the "Custom" role to the user and verifying permissions+ * @and Switching back to original permissions and verifying all permissions are selected+ * @then The new role is created and assigned correctly with expected permissions+ */+test("Create a new role, assign it to a user, and verify permissions", async ({ page, manager, shared, usersPage }) => {+ await manager.setup("smartcity");+ await manager.goToRealmStartPage("master");+ await manager.switchToRealmByRealmPicker("smartcity");+ await manager.navigateToMenuItem("Roles");+ await page.getByText("Add Role").click();++ const lastRow = page.locator("#table-roles tbody tr").last();+ await lastRow.getByRole("textbox", { name: "Role" }).fill("Custom");+ await lastRow.getByRole("textbox", { name: "Description" }).fill("read:asset, write:asset");+ await lastRow.getByRole("checkbox", { name: "assets: Read asset data" }).click();+ await lastRow.getByRole("checkbox", { name: "assets: Write asset data" }).click();++ await shared.interceptRequest<Role[]>("**/user/master/roles", (roles) => {+ const role = roles?.find(({ name }) => name === "Custom");+ if (role) manager.role = role;+ });+ await page.getByRole("button", { name: "create" }).click();+ await expect(page.getByText("Custom").first()).toBeVisible();++ await manager.navigateToMenuItem("Users");+ await page.getByRole("cell", { name: "smartcity" }).click();++ await usersPage.toggleUserRoles("Read", "Write", "Custom");+ await usersPage.toHavePermissions("read:assets", "write:assets");++ await usersPage.toggleUserRoles("Read", "Write", "Custom");+ await usersPage.toHavePermissions(...permissions);+});++/**+ * @given The realm "smartcity" with a role named "Custom" is set up+ * @when Logging into OpenRemote "master" realm as "admin"+ * @and Switching to the "smartcity" realm+ * @and Navigating to the "Roles" page+ * @and Deleting the "Custom" role+ * @then The "Custom" role should no longer be visible in the roles list+ */+test("Delete an existing role and verify it no longer appears", async ({ page, manager }) => {+ await manager.setup("smartcity", { role: custom });+ await manager.goToRealmStartPage("master");+ await manager.switchToRealmByRealmPicker("smartcity");+ await manager.navigateToMenuItem("Roles");++ const row = page.locator("#table-roles tbody tr", { hasText: "Custom" });+ await row.click();+ await row.locator("+ tr").getByRole("button", { name: "Delete" }).click();+ await page.getByRole("alertdialog").getByRole("button", { name: "Delete" }).click();+ await expect(page.locator("text=Custom")).toHaveCount(0);+});++test.afterEach(async ({ manager }) => {+ await manager.cleanUp();+});diff --git a/ui/app/manager/test/rules.test.ts b/ui/app/manager/test/rules.test.tsnew file mode 100644index 000000000..39d27385c--- /dev/null+++ b/ui/app/manager/test/rules.test.ts@@ -0,0 +1,133 @@+import { expect } from "@openremote/test";+import { test, userStatePath } from "./fixtures/manager.js";+import { preparedAssetsForRules as assets } from "./fixtures/data/assets.js";+import { energyRule } from "./fixtures/data/rules.js";++/**+ * @given The realm "smartcity" with user "smartcity" and assets are set up+ * @and Logged into OpenRemote "smartcity" realm as "smartcity"+ * @and Navigated to the "Rules" tab+ * @and Click add new rule+ */+test.beforeEach(async ({ page, manager }) => {+ await manager.setup("smartcity", { assets });+ await manager.goToRealmStartPage("smartcity");+ await manager.navigateToTab("Rules");+ await page.click(".mdi-plus >> nth=0");+});++test.use({ storageState: userStatePath });++/**+ * @when Selecting When-Then rule+ * @and Naming the rule+ * @and Configuring a When condition on the asset+ * @and Configuring a Then action on the same asset+ * @and Saving the rule+ * @then The When-Then rule should appear in the rule list+ */+test("Create a When-Then rule for an asset with a trigger and action", async ({ page, manager, shared }) => {+ await page.locator("li").filter({ hasText: "When-Then" }).click();+ await page.fill("text=Rule name", energyRule.name);++ await page.click("or-rule-when #component span");+ await page.locator("or-rule-when li").filter({ hasText: energyRule.attribute_type }).click();+ await page.click("text=Asset Any of this type");+ await page.click(`#idSelect >> text=${energyRule.asset}`);+ await page.getByRole("button", { name: "Attribute", exact: true }).click();+ await page.click(`li[role="option"]:has-text("${energyRule.attribute_when}")`);+ await page.getByRole("button", { name: "Operator", exact: true }).click();+ await page.click("text=Less than or equal to");+ await page.getByRole("spinbutton", { name: "Energy level" }).fill(energyRule.value.toString());++ await page.getByRole("button", { name: "Add action" }).click();+ await page.click(`or-rule-then-otherwise li[role="menuitem"]:has-text("${energyRule.attribute_type}")`);+ await page.click("text=Asset Matched");+ await page.click(`#matchSelect li[role="option"]:has-text("${energyRule.asset}")`);+ await page.getByRole("button", { name: "Attribute", exact: true }).click();+ await page.click(`li[role="option"]:has-text("${energyRule.attribute_then}")`);+ await page.getByRole("spinbutton", { name: "Value" }).fill(energyRule.value.toString());++ await shared.interceptResponse<number>("**/rules/realm", (rule) => {+ if (rule) manager.rules.push(rule);+ });++ await page.getByRole("button", { name: "Save" }).click();+ await expect(page.locator(`text=${energyRule.name}`)).toHaveCount(1);+});++/**+ * @when Selecting Flow rule+ * @and Naming the rule+ * @and Dragging elements onto the canvas+ * @and Assigning attributes and values+ * @and Connecting elements together+ * @and Saving the rule+ * @then The Flow rule should appear in the rule list+ */+test("Create a Flow rule for an asset with logic connections", async ({ page, shared, manager }) => {+ await page.locator("li", { hasText: "Flow" }).click();+ await page.fill("text=Rule name", "Solar panel");++ await page.locator(".node-item.input-node", { hasText: "Attribute value" }).hover();+ await shared.drag(450, 250);+ await page.hover("text=Number");+ await shared.drag(450, 350);+ await page.hover("text=Number");+ await shared.drag(450, 500);+ await page.hover("text=Number");+ await shared.drag(450, 600);+ await page.hover("text=>");+ await shared.drag(650, 300);+ await page.hover("text=Number switch");+ await shared.drag(800, 425);+ await page.locator(".node-item.output-node", { hasText: "Attribute value" }).hover();+ await shared.drag(1000, 425);++ await page.getByRole("button", { name: "Attribute" }).nth(0).click();+ await page.getByRole("alertdialog").getByText("Solar Panel").click();+ await page.getByRole("option", { name: "Power", exact: true }).click();+ await page.getByRole("button", { name: "Add" }).click();++ await page.getByRole("button", { name: "Attribute" }).nth(1).click();+ await page.getByRole("alertdialog").getByText("Solar Panel").click();+ await page.getByRole("option", { name: "Power forecast", exact: true }).click();+ await page.getByRole("button", { name: "Add" }).click();++ await page.fill('[placeholder="value"] >> nth=0', "50");+ await page.fill('[placeholder="value"] >> nth=1', "60");+ await page.fill('[placeholder="value"] >> nth=2', "40");++ await page.dragAndDrop(".socket >> nth=0", ".socket-side.inputs flow-node-socket .socket >> nth=0");+ await page.dragAndDrop(+ "flow-node:nth-child(2) .socket-side flow-node-socket .socket",+ "flow-node-socket:nth-child(2) .socket"+ );+ await page.dragAndDrop(+ "div:nth-child(3) flow-node-socket .socket",+ " flow-node:nth-child(6) .socket-side.inputs flow-node-socket .socket >> nth=0"+ );+ await page.dragAndDrop(+ "flow-node:nth-child(3) .socket-side flow-node-socket .socket",+ "flow-node:nth-child(6) .socket-side.inputs flow-node-socket:nth-child(2)"+ );+ await page.dragAndDrop(+ "flow-node:nth-child(4) .socket-side flow-node-socket .socket",+ "flow-node-socket:nth-child(3) .socket"+ );+ await page.dragAndDrop(+ "flow-node:nth-child(6) .socket-side.outputs flow-node-socket .socket",+ "flow-node:nth-child(7) .socket-side flow-node-socket .socket"+ );++ await shared.interceptResponse<number>("**/rules/realm", (rule) => {+ if (rule) manager.rules.push(rule);+ });++ await page.getByRole("button", { name: "Save" }).click();+ await expect(page.locator("or-rule-tree").getByText("Solar panel")).toHaveCount(1);+});++test.afterEach(async ({ manager }) => {+ await manager.cleanUp();+});diff --git a/ui/app/manager/test/test.cleanup.ts b/ui/app/manager/test/test.cleanup.tsnew file mode 100644index 000000000..cc8dfede9--- /dev/null+++ b/ui/app/manager/test/test.cleanup.ts@@ -0,0 +1,40 @@+import { expect } from "@openremote/test";+import { adminStatePath, test as cleanup } from "./fixtures/manager";+import { custom } from "./fixtures/data/roles";++cleanup.use({ storageState: adminStatePath });++/**+ * @given The "smartcity" realm is set up with the "custom" role+ * @when Logging into the "master" realm as "admin"+ * @and Navigating to the "Users" page+ * @and Deleting the "smartcity" user+ * @then The user "smartcity" should no longer exist+ */+cleanup(`Delete the "smartcity" user`, async ({ page, manager }) => {+ await manager.setup("smartcity", { role: custom });+ await manager.goToRealmStartPage("master");+ await manager.switchToRealmByRealmPicker("smartcity");+ await manager.navigateToMenuItem("Users");+ await page.getByRole("cell", { name: "smartcity" }).click();+ await page.getByRole("button", { name: "delete" }).click();+ await page.getByRole("alertdialog").getByRole("button", { name: "Delete" }).click();+ await expect(page.locator("td", { hasText: "smartcity" })).toHaveCount(0);+});++/**+ * @given Logged in to the "master" realm as "admin"+ * @when Navigating to the "Realms" page+ * @and Deleting the "smartcity" realm+ * @then The "smartcity" realm should no longer appear+ * @and The realm picker should no longer be visible+ */+cleanup(`Delete the "smartcity" realm`, async ({ page, manager, realmsPage }) => {+ await manager.goToRealmStartPage("master");+ await manager.navigateToMenuItem("Realms");+ await realmsPage.deleteRealm("smartcity");+ await expect(page.getByRole("cell", { name: "smartcity", exact: true })).toHaveCount(0);+ await manager.goToRealmStartPage("master");+ await page.locator("#desktop-right").waitFor();+ await expect(page.locator("#desktop-right #realm-picker")).not.toBeVisible();+});diff --git a/ui/app/manager/test/test.setup.ts b/ui/app/manager/test/test.setup.tsnew file mode 100644index 000000000..d5686951c--- /dev/null+++ b/ui/app/manager/test/test.setup.ts@@ -0,0 +1,58 @@+import { expect } from "@openremote/test";+import { adminStatePath, test as setup, userStatePath } from "./fixtures/manager";+import { users } from "./fixtures/data/users";+import permissions from "./fixtures/data/permissions";++setup(`Login as "admin" user`, async ({ page, manager, context }) => {+ await manager.goToRealmStartPage("master");+ await manager.login("admin");+ await page.waitForURL("**/manager/**");+ await page.waitForTimeout(2000);+ await context.storageState({ path: adminStatePath });+});++setup.describe(async () => {+ setup.use({ storageState: adminStatePath });++ /**+ * @given Logged into the "master" realm as "admin"+ * @when Navigating to the "Realms" page+ * @and Adding a new realm "smartcity"+ * @and Selecting the "smartcity" realm+ * @then The realm picker should show "smartcity"+ */+ setup(`Add realm called "smartcity"`, async ({ page, manager, realmsPage }) => {+ await manager.goToRealmStartPage("master");+ await realmsPage.goto();+ await realmsPage.addRealm("smartcity");+ await manager.switchToRealmByRealmPicker("smartcity");+ await expect(page.locator("#desktop-right #realm-picker")).toContainText("smartcity");+ });++ /**+ * @given The "smartcity" realm is set up+ * @when Logged into the "master" realm as "admin"+ * @and Switched to the "smartcity" realm+ * @and Navigated to the "Users" page+ * @and Added a new user "smartcity"+ * @then The user "smartcity" should be visible+ * @and All default permissions should be selected+ */+ setup(`Add user called "smartcity"`, async ({ page, manager, usersPage }) => {+ await manager.setup("smartcity");+ await manager.goToRealmStartPage("master");+ await manager.switchToRealmByRealmPicker("smartcity");+ await manager.navigateToMenuItem("Users");+ await usersPage.addUser(users.smartcity.username, users.smartcity.password);+ await expect(page.getByRole("cell", { name: "smartcity" })).toHaveCount(1);+ await page.getByRole("cell", { name: "smartcity" }).click();+ await usersPage.toHavePermissions(...permissions);+ });+});++setup(`Login as "smartcity" user`, async ({ page, manager, context }) => {+ await manager.goToRealmStartPage("smartcity");+ await manager.login("smartcity");+ await page.waitForURL("**/manager/**");+ await context.storageState({ path: userStatePath });+});diff --git a/ui/component/core/build.gradle b/ui/component/core/build.gradleindex 80f8715a4..acf26254b 100644--- a/ui/component/core/build.gradle+++ b/ui/component/core/build.gradle@@ -1,16 +1,16 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/core/package.json b/ui/component/core/package.jsonindex 1df7931ac..bc123ddce 100644--- a/ui/component/core/package.json+++ b/ui/component/core/package.json@@ -6,7 +6,8 @@"module": "lib/index.js","exports": {".": "./lib/index.js",- "./*": "./lib/*.js"+ "./*": "./lib/*.js",+ "./lib/util": "./lib/util.js"},"types": "lib/index.d.ts","files": [diff --git a/ui/component/core/src/util.ts b/ui/component/core/src/util.tsindex 342a20174..063e2809e 100644--- a/ui/component/core/src/util.ts+++ b/ui/component/core/src/util.ts@@ -1047,49 +1047,6 @@ export function dispatchCancellableEvent<T>(target: EventTarget, event: CustomEvreturn deferred.promise;}-// left: 37, up: 38, right: 39, down: 40,-// spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36-const keys = {37: 1, 38: 1, 39: 1, 40: 1};-function preventDefault(e: Event) {- e.preventDefault();-}-function preventDefaultForScrollKeys(e: KeyboardEvent) {- if ((keys as any)[e.keyCode]) {- preventDefault(e);- return false;- }-}--// modern Chrome requires { passive: false } when adding event-let supportsPassive = false;-try {- // @ts-ignore- window.addEventListener("test", null, Object.defineProperty({}, 'passive', {- get: () => { supportsPassive = true; }- }));-} catch(e) {}--const wheelOpt = supportsPassive ? { passive: false } : false;-const wheelEvent = "onwheel" in document.createElement("div") ? "wheel" : "mousewheel";--// call this to Disable-export function disableScroll() {- window.addEventListener('DOMMouseScroll', preventDefault, false); // older FF- window.addEventListener(wheelEvent, preventDefault, wheelOpt); // modern desktop- window.addEventListener('touchmove', preventDefault, wheelOpt); // mobile- window.addEventListener('keydown', preventDefaultForScrollKeys, false);-}--// call this to Enable-export function enableScroll() {- window.removeEventListener('DOMMouseScroll', preventDefault, false);- // @ts-ignore- window.removeEventListener(wheelEvent, preventDefault, wheelOpt);- // @ts-ignore- window.removeEventListener('touchmove', preventDefault, wheelOpt);- window.removeEventListener('keydown', preventDefaultForScrollKeys, false);-}-export function blobToBase64(blob:Blob) {return new Promise((resolve, reject) => {const fileReader = new FileReader();diff --git a/ui/component/model/build.gradle b/ui/component/model/build.gradleindex c147bbae2..09de95d6e 100644--- a/ui/component/model/build.gradle+++ b/ui/component/model/build.gradle@@ -24,22 +24,26 @@ dependencies {generateTypeScript createTSGeneratorConfigForModel("src/model.ts")+tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}+build.dependsOn generateTypeScript, npmBuildnpmBuild.dependsOn generateTypeScriptclean {doLast {- def dir = new File("${projectDir}/dist")- dir.deleteDir()- def libs = new File("${projectDir}/lib")- libs.deleteDir()+ delete "dist"+ delete "lib"}}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-app/build.gradle b/ui/component/or-app/build.gradleindex 05e00b4bf..40a1cb054 100644--- a/ui/component/or-app/build.gradle+++ b/ui/component/or-app/build.gradle@@ -1,20 +1,26 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}diff --git a/ui/component/or-app/package.json b/ui/component/or-app/package.jsonindex 719343e3b..d3b9bcf69 100644--- a/ui/component/or-app/package.json+++ b/ui/component/or-app/package.json@@ -17,7 +17,7 @@"modelBuild": "npx orutil build","modelWatch": "npx orutil watch","build": "npx cross-env NODE_OPTIONS=--max_old_space_size=4096 rspack --mode production",- "test": "echo \"Error: no test specified\" && exit 1",+ "test": "echo \"No tests\" && exit 0","prepack": "npx tsc -b"},"dependencies": {diff --git a/ui/component/or-asset-tree/build.gradle b/ui/component/or-asset-tree/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-asset-tree/build.gradle+++ b/ui/component/or-asset-tree/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-asset-viewer/build.gradle b/ui/component/or-asset-viewer/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-asset-viewer/build.gradle+++ b/ui/component/or-asset-viewer/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-asset-viewer/test/fixtures/index.ts b/ui/component/or-asset-viewer/test/fixtures/index.tsnew file mode 100644index 000000000..b4929705f--- /dev/null+++ b/ui/component/or-asset-viewer/test/fixtures/index.ts@@ -0,0 +1,72 @@+import type { Locator, Page } from "@openremote/test";+import type { WellknownMetaItems } from "@openremote/model";+import * as Util from "@openremote/core/lib/util";++export class AssetViewer {+ constructor(private readonly page: Page) {}++ /**+ * Switch between modify mode and view mode.+ * @param targetMode The mode to switch to+ */+ async switchMode(targetMode: "modify" | "view") {+ const selector = this.page.getByRole("button", { name: targetMode });+ await selector.waitFor({ state: "visible" });+ await selector.click();+ }++ /**+ * Get a locator to an attribute.+ * @param attribute The attribute name+ */+ getAttributeLocator(attribute: string): Locator {+ return this.page.getByRole("row", { name: new RegExp(`\\b${attribute}\\b`, "i") });+ }++ /**+ * Set a value for a given attribute.+ * @param attribute The attribute name+ * @param value The value to set+ */+ async setAttributeValue(attribute: string, value: string) {+ await this.getAttributeLocator(attribute).locator("input").fill(value);+ }++ /**+ * Add configuration items to an attribute by its name.+ * @param attribute The attribute's name+ * @param items The configuration items to add+ */+ async addConfigurationItems(attribute: string, ...items: `${WellknownMetaItems}`[]) {+ const locator = this.getAttributeLocator(attribute);+ // TODO: handle expanded and non expand configuration items programmatically+ // if (await this.page.getByRole("button", { name: "Expand all" }).isVisible()) {+ // await locator.getByRole("cell", { name: new RegExp(`\\b${attribute}\\b`, "i") }).click();+ // }+ await locator.locator("+ tr").getByRole("button", { name: "Add configuration items" }).click();+ for (const item of items) {+ await this.page+ .locator("li")+ .filter({ hasText: Util.camelCaseToSentenceCase(item) })+ .check();+ }+ await this.page.getByRole("button", { name: "Add", exact: true }).click();+ // // close attribute menu+ // await this.page.click(`td:has-text("${attr}") >> nth=0`);+ }++ /**+ * Gets the locator of the attribute configuration item row.+ *+ * If an item is supplied the locator will be narrowed down to the item.+ *+ * @param attribute The attribute name+ * @param item The configuration item to narrow down to+ */+ getConfigurationItemLocator(attribute: string, item?: string): Locator {+ return item+ ? // match the sibling row i.e. the configuration items row of the attribute+ this.getAttributeLocator(attribute).locator("+ tr", { hasText: new RegExp(`\\b${item}\\b`, "i") })+ : this.getAttributeLocator(attribute).locator("+ tr");+ }+}diff --git a/ui/component/or-attribute-card/build.gradle b/ui/component/or-attribute-card/build.gradleindex 05e00b4bf..40a1cb054 100644--- a/ui/component/or-attribute-card/build.gradle+++ b/ui/component/or-attribute-card/build.gradle@@ -1,20 +1,26 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}diff --git a/ui/component/or-attribute-history/build.gradle b/ui/component/or-attribute-history/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-attribute-history/build.gradle+++ b/ui/component/or-attribute-history/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-attribute-input/build.gradle b/ui/component/or-attribute-input/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-attribute-input/build.gradle+++ b/ui/component/or-attribute-input/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-attribute-picker/build.gradle b/ui/component/or-attribute-picker/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-attribute-picker/build.gradle+++ b/ui/component/or-attribute-picker/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-chart/build.gradle b/ui/component/or-chart/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-chart/build.gradle+++ b/ui/component/or-chart/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-components/build.gradle b/ui/component/or-components/build.gradleindex 05e00b4bf..b078f2413 100644--- a/ui/component/or-components/build.gradle+++ b/ui/component/or-components/build.gradle@@ -1,20 +1,36 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}++tasks.register('npmTest', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test"+}++tasks.register('npmTestUI', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test", "--ui"+}diff --git a/ui/component/or-components/package.json b/ui/component/or-components/package.jsonindex f47b2039c..e9c16e536 100644--- a/ui/component/or-components/package.json+++ b/ui/component/or-components/package.json@@ -19,7 +19,7 @@"scripts": {"analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs","build": "npx tsc -b",- "test": "echo \"No tests\" && exit 0",+ "test": "npx tsc -b && npx playwright test","prepack": "npx tsc -b"},"author": "OpenRemote",diff --git a/ui/component/or-components/playwright.config.ts b/ui/component/or-components/playwright.config.tsnew file mode 100644index 000000000..94d454129--- /dev/null+++ b/ui/component/or-components/playwright.config.ts@@ -0,0 +1,3 @@+import { defineCtConfig } from "@openremote/test/component.config";++export default defineCtConfig(__dirname);diff --git a/ui/component/or-components/test/fixtures/index.ts b/ui/component/or-components/test/fixtures/index.tsnew file mode 100644index 000000000..eb0b980a7--- /dev/null+++ b/ui/component/or-components/test/fixtures/index.ts@@ -0,0 +1,21 @@+import { ct as base, ComponentTestFixtures, Page, Locator, withPage } from "@openremote/test";++export class CollapsiblePanel {+ constructor(private readonly page: Page) {}++ getHeader(panel: Locator) {+ return panel.locator("[slot=header]");+ }++ getContent(panel: Locator) {+ return panel.locator("[slot=content]");+ }+}++interface ComponentFixtures extends ComponentTestFixtures {+ collapsiblePanel: CollapsiblePanel;+}++export const ct = base.extend<ComponentFixtures>({+ collapsiblePanel: withPage(CollapsiblePanel),+});diff --git a/ui/component/or-components/test/or-collapsible-panel.test.ts b/ui/component/or-components/test/or-collapsible-panel.test.tsnew file mode 100644index 000000000..2eb018e03--- /dev/null+++ b/ui/component/or-components/test/or-collapsible-panel.test.ts@@ -0,0 +1,25 @@+import { ct } from "./fixtures";+import { expect } from "@openremote/test";++import { OrCollapsiblePanel } from "@openremote/or-components/or-collapsible-panel";++ct.beforeEach(async ({ shared }) => {+ await shared.fonts();+});++ct("Should append header and content to collapsible panel", async ({ mount, collapsiblePanel }) => {+ const component = await mount(OrCollapsiblePanel, {+ props: {},+ slots: {+ header: "<div>Header</div>", // slot="" is optional+ content: "<div>Content</div>",+ },+ });++ const header = collapsiblePanel.getHeader(component);+ await header.click();+ await expect(header).toContainText("Header");++ const content = collapsiblePanel.getContent(component);+ await expect(content).toContainText("Content");+});diff --git a/ui/component/or-dashboard-builder/build.gradle b/ui/component/or-dashboard-builder/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-dashboard-builder/build.gradle+++ b/ui/component/or-dashboard-builder/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-data-viewer/build.gradle b/ui/component/or-data-viewer/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-data-viewer/build.gradle+++ b/ui/component/or-data-viewer/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-gauge/build.gradle b/ui/component/or-gauge/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-gauge/build.gradle+++ b/ui/component/or-gauge/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-icon/build.gradle b/ui/component/or-icon/build.gradleindex 9a96c19ec..ba328843e 100644--- a/ui/component/or-icon/build.gradle+++ b/ui/component/or-icon/build.gradle@@ -1,29 +1,35 @@buildDir = "dist"-task copyMdiFont(type: Exec) {+tasks.register('copyMdiFont', Exec) {dependsOn getYarnInstallTask()// Using yarn throws an error relating to node_module resolutioncommandLine npmCommand("npm"), "run", "copyMdiFont"}-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}-task installDist(type: Copy) {+tasks.register('installDist', Copy) {dependsOn getYarnInstallTask(), copyMdiFont, npmAnalyzeresolveTask(":ui:app:shared:generateSources").dependsOn itfrom "${buildDir}/Material Design Icons"into "${project(':ui:app:shared').projectDir}/fonts/Material Design Icons"}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}diff --git a/ui/component/or-json-forms/build.gradle b/ui/component/or-json-forms/build.gradleindex f708b00e6..2c02129b7 100644--- a/ui/component/or-json-forms/build.gradle+++ b/ui/component/or-json-forms/build.gradle@@ -1,18 +1,34 @@-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}++tasks.register('npmTest', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test"+}++tasks.register('npmTestUI', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test", "--ui"+}diff --git a/ui/component/or-json-forms/package.json b/ui/component/or-json-forms/package.jsonindex 508f0a9e9..fb5766d11 100644--- a/ui/component/or-json-forms/package.json+++ b/ui/component/or-json-forms/package.json@@ -13,7 +13,7 @@"scripts": {"analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs","build": "npx tsc -b",- "test": "echo \"No tests\" && exit 0",+ "test": "npx tsc -b && npx playwright test","prepack": "npx rspack"},"author": "OpenRemote",diff --git a/ui/component/or-json-forms/playwright.config.ts b/ui/component/or-json-forms/playwright.config.tsnew file mode 100644index 000000000..94d454129--- /dev/null+++ b/ui/component/or-json-forms/playwright.config.ts@@ -0,0 +1,3 @@+import { defineCtConfig } from "@openremote/test/component.config";++export default defineCtConfig(__dirname);diff --git a/ui/component/or-json-forms/test/fixtures/index.ts b/ui/component/or-json-forms/test/fixtures/index.tsnew file mode 100644index 000000000..3c1796d76--- /dev/null+++ b/ui/component/or-json-forms/test/fixtures/index.ts@@ -0,0 +1,169 @@+import { withPage, ct as base, expect, Page, Locator, ComponentTestFixtures } from "@openremote/test";+import * as Util from "@openremote/core/lib/util";++export class JsonForms {+ constructor(private readonly page: Page) {}++ /**+ * Exhaust every `or-json-forms` option based on the provided JSONSchema. The following is done:+ * - Adds new items to arrays and parameters for objects+ * - TODO: tests validation of each field+ * - TODO: builds an expected output and compares this with the JSON at the end+ * - TODO: moves specific fields+ * - TODO: removes specific fields+ *+ * @param locator The root element of the `or-json-forms` instance to test.+ * @param schema The same JSONSchema used to generate the form.+ * @param options Options to fill out in the forms without explicitly defining the values.+ * @param path The path to the current node.+ * @param item The item index used to locate array items.+ * @param expected The expected JSON output built up during recursion.+ */+ async walkForm(+ locator: Locator,+ schema: any,+ options: {+ selectAllProps?: boolean;+ itemCount?: number;+ } = {+ selectAllProps: false,+ itemCount: 0,+ },+ path: (string | number)[] = [],+ item = 0,+ expected?: any+ ) {+ const dialog = this.page.locator("or-mwc-dialog");++ switch (schema.type) {+ case "array": {+ locator = locator.locator("or-json-forms-array-control").nth(item);+ path.push("or-json-forms-array-control", item);+ await locator.locator("or-collapsible-panel").click();+ if (schema.items.oneOf) {+ for (const prop of Object.values<any>(schema.items.oneOf)) {+ await locator.getByRole("button", { name: "Add Item" }).click();+ await dialog.locator("li").getByText(prop.title, { exact: true }).click();+ await dialog.getByRole("button", { name: "Add", exact: true }).click();+ }+ } else {+ for (let i = 0; i < schema["or:test:item:count"]; i++) {+ await locator.getByRole("button", { name: "Add Item" }).click();+ }+ }+ break;+ }+ case "object": {+ locator = locator.locator("or-json-forms-vertical-layout").nth(item);+ path.push("or-json-forms-vertical-layout", item);+ await locator.locator("or-collapsible-panel").click();+ if (schema.patternProperties) {+ await locator.getByRole("button", { name: "Add Parameter" }).click();+ await this.page.waitForTimeout(1000);+ await this.page+ .getByRole("alertdialog", { name: " - Add" })+ .locator("label", { hasText: "Key" })+ .pressSequentially("test");+ await dialog.getByRole("button", { name: "Add", exact: true }).click();+ await this.page.waitForTimeout(2000);+ } else {+ for (const key of options?.selectAllProps ? Object.keys(schema.properties) : schema["or:test:props"]) {+ if (key === "type" || key === "id" || schema.required?.includes(key)) continue;+ await locator.getByRole("button", { name: "Add Parameter" }).click();+ await dialog+ .locator("or-mwc-list li")+ .getByText(Util.camelCaseToSentenceCase(key), { exact: true })+ .click();+ const anyOfPicker = dialog.locator("#schema-picker or-mwc-input");+ if (await anyOfPicker.isVisible()) {+ await anyOfPicker.click();+ await anyOfPicker.locator("li").first().click();+ }+ await dialog.getByRole("button", { name: "Add", exact: true }).click();+ }+ }+ break;+ }+ case "string": {+ /// TODO: remove condition when or-json-forms-array-control always renders titles+ const options = !path.length ? { name: schema.title } : {};+ locator = locator.getByRole("textbox", options).nth(item);+ await expect(locator).toBeVisible();+ await locator.fill(schema["or:test:value"] ?? "test");+ await expect(locator).toHaveValue(schema["or:test:value"] ?? "test");+ break;+ }+ case "number": {+ const options = !path.length ? { name: schema.title } : {};+ locator = locator.getByRole("spinbutton", options).nth(item);+ await expect(locator).toBeVisible();+ await locator.fill(`${schema["or:test:value"] ?? 0}`);+ await expect(locator).toHaveValue(`${schema["or:test:value"] ?? 0}`);+ break;+ }+ case "integer": {+ const options = !path.length ? { name: schema.title } : {};+ locator = locator.getByRole("spinbutton", options).nth(item);+ await expect(locator).toBeVisible();+ await locator.fill(`${schema["or:test:value"] ?? 0}`);+ await expect(locator).toHaveValue(`${schema["or:test:value"] ?? 0}`);+ break;+ }+ case "boolean": {+ const options = !path.length ? { name: schema.title } : {};+ locator = locator.getByRole("checkbox", options).nth(item);+ await expect(locator).toBeVisible();+ await expect(locator).not.toBeChecked();+ if (schema["or:test:value"]) {+ await locator.check();+ await expect(locator).toBeChecked();+ }+ break;+ }+ }++ if (schema.type === "array") {+ if (schema.items.oneOf) {+ let i = 0;+ for (const prop of Object.values(schema.items.oneOf)) {+ await this.walkForm(locator, prop, options, [...path], i);+ i++;+ }+ } else {+ for (let i = 0; i < schema["or:test:item:count"]; i++) {+ await this.walkForm(locator, schema.items, options, [...path], i);+ }+ }+ // await locator.getByRole("button", { name: "json" }).first().click();+ } else if (schema.type === "object" && !schema.patternProperties) {+ let arrayControls = 0;+ let verticalLayouts = 0;+ for (const [key, prop] of Object.entries<any>(schema.properties)) {+ if (schema["or:test:props"] && !schema["or:test:props"].includes(key)) continue;+ if (["type", "id"].includes(key)) continue;+ if (prop.type === "array") {+ await this.walkForm(locator, prop, options, [...path], arrayControls);+ arrayControls++;+ } else if (prop.type === "object") {+ await this.walkForm(locator, prop, options, [...path], verticalLayouts);+ verticalLayouts++;+ } else {+ await this.walkForm(locator, prop, options, [...path]);+ }+ }+ // await locator.getByRole("button", { name: "json" }).first().click();+ }++ if (schema.type === "array" && schema.type === "object") {+ // await expect(locator.locator("or-ace-editor")).toContainText(JSON.stringify(expected, null, 2));+ }+ }+}++interface ComponentFixtures extends ComponentTestFixtures {+ jsonForms: JsonForms;+}++export const ct = base.extend<ComponentFixtures>({+ jsonForms: withPage(JsonForms),+});diff --git a/ui/component/or-json-forms/test/fixtures/schemas.ts b/ui/component/or-json-forms/test/fixtures/schemas.tsnew file mode 100644index 000000000..499cf1553--- /dev/null+++ b/ui/component/or-json-forms/test/fixtures/schemas.ts@@ -0,0 +1,103 @@+export const schemas = [+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "String",+ type: "string",+ "or:test:value": "test",+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "Boolean",+ type: "boolean",+ "or:test:value": true,+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "Integer",+ type: "integer",+ "or:test:value": 1,+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "Number",+ type: "number",+ "or:test:value": 1,+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "Object",+ type: "object",+ "or:test:props": ["value"],+ properties: {+ value: {+ type: "string",+ "or:test:value": "test",+ },+ },+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "Array",+ type: "array",+ "or:test:item:count": 1,+ items: {+ title: "String",+ type: "string",+ "or:test:value": "test",+ },+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "3 Dimensional Array",+ type: "array",+ "or:test:item:count": 2,+ items: {+ title: "2 Dimensional Array",+ type: "array",+ "or:test:item:count": 2,+ items: {+ title: "Array",+ type: "array",+ "or:test:item:count": 2,+ items: {+ title: "String",+ type: "string",+ "or:test:value": "test",+ },+ },+ },+ },+ {+ $schema: "http://json-schema.org/draft-07/schema#",+ title: "Complex",+ type: "array",+ "or:test:item:count": 2,+ items: {+ title: "Object",+ type: "object",+ "or:test:props": ["string", "array", "boolean"],+ properties: {+ string: {+ title: "String",+ type: "string",+ "or:test:value": "test",+ },+ boolean: {+ title: "Boolean",+ type: "boolean",+ "or:test:value": true,+ },+ array: {+ title: "Array",+ type: "array",+ "or:test:item:count": 2,+ items: {+ title: "String",+ type: "string",+ "or:test:value": "test",+ },+ },+ },+ },+ },+];diff --git a/ui/component/or-json-forms/test/or-json-forms.test.ts b/ui/component/or-json-forms/test/or-json-forms.test.tsnew file mode 100644index 000000000..9efef59a9--- /dev/null+++ b/ui/component/or-json-forms/test/or-json-forms.test.ts@@ -0,0 +1,36 @@+import { ct } from "./fixtures/index";++import { OrJSONForms, StandardRenderers } from "@openremote/or-json-forms";+import { schemas } from "./fixtures/schemas";++const typeValueMap = new Map()+ .set("array", [])+ .set("boolean", false)+ .set("object", {})+ .set("number", 0)+ .set("integer", 0)+ .set("string", "");++ct.beforeEach(async ({ shared }) => {+ await shared.fonts();+ await shared.locales();+});++for (const schema of schemas) {+ ct(`Should render form for: ${schema.title}`, async ({ mount, jsonForms }) => {+ const component = await mount(OrJSONForms, {+ props: {+ uischema: { type: "Control", scope: "#" } as any,+ schema,+ data: typeValueMap.get(schema.type),+ renderers: StandardRenderers,+ onChange: () => null,+ readonly: false,+ label: schema.title,+ required: false,+ },+ on: {},+ });+ await jsonForms.walkForm(component, schema);+ });+}diff --git a/ui/component/or-log-viewer/build.gradle b/ui/component/or-log-viewer/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-log-viewer/build.gradle+++ b/ui/component/or-log-viewer/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-map/build.gradle b/ui/component/or-map/build.gradleindex 5e9999d4e..809e5215f 100644--- a/ui/component/or-map/build.gradle+++ b/ui/component/or-map/build.gradle@@ -1,18 +1,24 @@-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmPublish, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}diff --git a/ui/component/or-map/src/mapwidget.ts b/ui/component/or-map/src/mapwidget.tsindex 4b814169b..8212f8a28 100644--- a/ui/component/or-map/src/mapwidget.ts+++ b/ui/component/or-map/src/mapwidget.ts@@ -356,6 +356,12 @@ export class MapWidget {options.zoom = this._zoom;}+ // Firefox headless mode does not support webgl, see https://bugzilla.mozilla.org/show_bug.cgi?id=1375585+ if (!this.isWebglSupported()) {+ console.warn("WebGL is not supported in this environment. The map cannot be initialized.");+ return;+ }+this._mapGl = new map.Map(options);await this.styleLoaded();@@ -992,4 +998,26 @@ export class MapWidget {protected _onGeocodeChange(geocode:any) {this._mapContainer.dispatchEvent(new OrMapGeocoderChangeEvent(geocode));}++ // Source: maplibre.org/maplibre-gl-js/docs/examples/check-for-support/+ protected isWebglSupported() {+ if (window.WebGLRenderingContext) {+ const canvas = document.createElement('canvas');+ try {+ // Note that { failIfMajorPerformanceCaveat: true } can be passed as a second argument+ // to canvas.getContext(), causing the check to fail if hardware rendering is not available. See+ // https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext+ // for more details.+ const context = canvas.getContext('webgl2') || canvas.getContext('webgl');+ if (context && typeof context.getParameter == 'function') {+ return true;+ }+ } catch (e) {+ // WebGL is supported, but disabled+ }+ return false;+ }+ // WebGL not supported+ return false;+ }}diff --git a/ui/component/or-mwc-components/build.gradle b/ui/component/or-mwc-components/build.gradleindex 05e00b4bf..b078f2413 100644--- a/ui/component/or-mwc-components/build.gradle+++ b/ui/component/or-mwc-components/build.gradle@@ -1,20 +1,36 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}++tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}++tasks.register('npmTest', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test"+}++tasks.register('npmTestUI', Exec) {+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "test", "--ui"+}diff --git a/ui/component/or-mwc-components/package.json b/ui/component/or-mwc-components/package.jsonindex fd3c0dc0f..be5c16ee9 100644--- a/ui/component/or-mwc-components/package.json+++ b/ui/component/or-mwc-components/package.json@@ -19,7 +19,7 @@"scripts": {"analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs","build": "npx tsc -b",- "test": "echo \"No tests\" && exit 0",+ "test": "npx tsc -b && npx playwright test","prepack": "npx tsc -b"},"author": "OpenRemote",@@ -50,6 +50,7 @@"lit": "^2.0.2"},"devDependencies": {+ "@openremote/test": "workspace:*","@openremote/util": "workspace:*"},"publishConfig": {diff --git a/ui/component/or-mwc-components/playwright.config.ts b/ui/component/or-mwc-components/playwright.config.tsnew file mode 100644index 000000000..94d454129--- /dev/null+++ b/ui/component/or-mwc-components/playwright.config.ts@@ -0,0 +1,3 @@+import { defineCtConfig } from "@openremote/test/component.config";++export default defineCtConfig(__dirname);diff --git a/ui/component/or-mwc-components/test/or-mwc-input.test.ts b/ui/component/or-mwc-components/test/or-mwc-input.test.tsnew file mode 100644index 000000000..5f40e3359--- /dev/null+++ b/ui/component/or-mwc-components/test/or-mwc-input.test.ts@@ -0,0 +1,46 @@+import { ct, expect } from "@openremote/test";++import { OrMwcInput, InputType } from "@openremote/or-mwc-components/or-mwc-input";++ct("Button should trigger or-mwc-input-changed event", async ({ mount }) => {+ let clicked = false;+ const component = await mount(OrMwcInput, {+ props: {+ type: InputType.BUTTON,+ raised: true,+ label: "button",+ },+ on: {+ "or-mwc-input-changed": () => (clicked = true),+ },+ });+ expect(clicked).toBeFalsy();+ await component.click();+ expect(clicked).toBeTruthy();+});++ct("Switch should switch", async ({ mount }) => {+ const component = await mount(OrMwcInput, {+ props: {+ type: InputType.SWITCH,+ label: "switch",+ },+ });+ const locator = component.getByRole("switch", { name: "switch" });+ await expect(locator).not.toBeChecked();+ await component.click();+ await expect(locator).toBeChecked();+});++ct("Input should have text value", async ({ mount }) => {+ const component = await mount(OrMwcInput, {+ props: {+ type: InputType.TEXT,+ label: "text",+ },+ });+ const locator = component.getByRole("textbox", { name: "text" });+ await expect(locator).toHaveValue("");+ await locator.fill("input");+ await expect(locator).toHaveValue("input");+});diff --git a/ui/component/or-rules/build.gradle b/ui/component/or-rules/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-rules/build.gradle+++ b/ui/component/or-rules/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-smart-notify/build.gradle b/ui/component/or-smart-notify/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-smart-notify/build.gradle+++ b/ui/component/or-smart-notify/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-survey-results/build.gradle b/ui/component/or-survey-results/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-survey-results/build.gradle+++ b/ui/component/or-survey-results/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-survey/build.gradle b/ui/component/or-survey/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-survey/build.gradle+++ b/ui/component/or-survey/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-thermostat/build.gradle b/ui/component/or-thermostat/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-thermostat/build.gradle+++ b/ui/component/or-thermostat/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-timeline/build.gradle b/ui/component/or-timeline/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-timeline/build.gradle+++ b/ui/component/or-timeline/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-translate/build.gradle b/ui/component/or-translate/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-translate/build.gradle+++ b/ui/component/or-translate/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/or-translate/package.json b/ui/component/or-translate/package.jsonindex 7d41a5664..6b8f64f96 100644--- a/ui/component/or-translate/package.json+++ b/ui/component/or-translate/package.json@@ -12,7 +12,7 @@"types": "lib/index.d.ts","scripts": {"analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",- "test": "echo \"No tests\" && exit 0",+ "test": "npx tsc -b && npx playwright test","prepack": "npx rspack"},"author": "OpenRemote",diff --git a/ui/component/or-translate/playwright.config.ts b/ui/component/or-translate/playwright.config.tsnew file mode 100644index 000000000..94d454129--- /dev/null+++ b/ui/component/or-translate/playwright.config.ts@@ -0,0 +1,3 @@+import { defineCtConfig } from "@openremote/test/component.config";++export default defineCtConfig(__dirname);diff --git a/ui/component/or-translate/test/or-translate.test.ts b/ui/component/or-translate/test/or-translate.test.tsnew file mode 100644index 000000000..791c9b2df--- /dev/null+++ b/ui/component/or-translate/test/or-translate.test.ts@@ -0,0 +1,54 @@+import { ct, expect } from "@openremote/test";++import { OrTranslate } from "@openremote/or-translate";++ct.beforeEach(async ({ shared }) => {+ await shared.locales({+ en: {+ test: {+ thing: "Thing",+ "internet.of": { things: "Internet of things" },+ },+ },+ nl: {+ test: {+ thing: "Ding",+ "internet.of": { things: "Internet van dingen" },+ },+ },+ });+});++ct("Should translate text", async ({ mount }) => {+ const component = await mount(OrTranslate, {+ props: {+ value: "thing",+ options: { ns: "test", lng: "en" },+ },+ });+ await expect(component).toContainText("Thing");+ await component.update({+ props: {+ value: "thing",+ options: { ns: "test", lng: "nl" },+ },+ });+ await expect(component).toContainText("Ding");+});++ct("Should allow mixed key paths", async ({ mount }) => {+ const component = await mount(OrTranslate, {+ props: {+ value: "internet.of.things",+ options: { ns: "test", lng: "en" },+ },+ });+ await expect(component).toContainText("Internet of things");+ await component.update({+ props: {+ value: "internet.of.things",+ options: { ns: "test", lng: "nl" },+ },+ });+ await expect(component).toContainText("Internet van dingen");+});diff --git a/ui/component/or-tree-menu/build.gradle b/ui/component/or-tree-menu/build.gradleindex 05e00b4bf..434de64da 100644--- a/ui/component/or-tree-menu/build.gradle+++ b/ui/component/or-tree-menu/build.gradle@@ -1,20 +1,20 @@buildDir = "dist"-task clean() {+tasks.register('clean') {doLast {delete "dist"delete "lib"}}-task installDist() {+tasks.register('installDist') {dependsOn npmAnalyze}-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, npmAnalyze, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, npmPublish}diff --git a/ui/component/rest/build.gradle b/ui/component/rest/build.gradleindex a640a7671..cac9fedd6 100644--- a/ui/component/rest/build.gradle+++ b/ui/component/rest/build.gradle@@ -41,13 +41,19 @@ clean {}}+tasks.register('npmBuild', Exec) {+ mustRunAfter npmClean+ dependsOn getYarnInstallTask()+ commandLine npmCommand("yarn"), "run", "build"+}+build.dependsOn generateTypeScript, npmBuildnpmBuild.dependsOn generateTypeScript-task prepareUi() {+tasks.register('prepareUi') {dependsOn clean, build, npmPrepare}-task publishUi() {+tasks.register('publishUi') {dependsOn clean, build, npmPublish}diff --git a/ui/test/.gitignore b/ui/test/.gitignorenew file mode 100644index 000000000..27ae792c4--- /dev/null+++ b/ui/test/.gitignore@@ -0,0 +1 @@+playwright/.cache/diff --git a/ui/test/app.config.ts b/ui/test/app.config.tsnew file mode 100644index 000000000..bd9f6ebd5--- /dev/null+++ b/ui/test/app.config.ts@@ -0,0 +1,81 @@+import { basename, resolve } from "node:path";+import { defineConfig as baseConfig, devices, Project } from ".";++const { CI, DEV, managerUrl } = process.env;++const browsers: Project[] = [+ {+ name: "chromium",+ use: { ...devices["Desktop Chrome"] },+ },+ // {+ // name: "firefox",+ // use: { ...devices["Desktop Firefox"] },+ // },+ // {+ // name: "webkit",+ // use: { ...devices["Desktop Safari"] },+ // },+];++/**+ * Creates a setup and teardown test project for a given app.+ * These configurations are intended to run before and after all other tests,+ * typically for initializing and cleaning up test environments. The app+ * project should have a dependency on the setup project while the cleanup+ * project is referenced to the setup project.+ *+ * @param app - The name of the app these projects are meant to be used by.+ * @returns An array of two configuration objects: one for setup and one for cleanup+ */+function createAppSetupAndTeardown(app: string) {+ return [+ {+ name: `setup ${app}`,+ testMatch: "**/*.setup.ts",+ teardown: `cleanup ${app}`,+ worker: 1,+ },+ {+ name: `cleanup ${app}`,+ testMatch: "**/*.cleanup.ts",+ worker: 1,+ },+ ];+}++/**+ * See https://playwright.dev/docs/test-configuration.+ */+export const defineAppConfig = (path: string) => {+ const name = basename(path);+ return baseConfig({+ testMatch: "*.test.ts",+ /* Fail the build on CI if you accidentally left test.only in the source code. */+ forbidOnly: Boolean(CI),+ /* Retry failed tests twice on CI only to allow flaky behavior such as test timeouts to be retried */+ retries: CI ? 2 : 0,+ /* Reporter to use. See https://playwright.dev/docs/test-reporters */+ reporter: [["html", { outputFolder: "app-test-report" }]],+ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */+ use: {+ // Defaults to the default Manager Docker container port as that significantly speeds up the tests compared to serving the frontend with Webpack+ baseURL: managerUrl || DEV ? "http://localhost:9000" : "http://localhost:8080",+ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */+ trace: "retain-on-failure",+ video: "on",+ },+ /* Configure projects */+ projects: [+ ...createAppSetupAndTeardown(name),+ ...browsers.flatMap((browser) => ({+ name: `${name} ${browser.name}`,+ testDir: resolve(path, "test"),+ fullyParallel: false,+ dependencies: [`setup ${name}`],+ workers: 1,+ ...browser,+ })),+ ],+ });+};diff --git a/ui/test/component.config.ts b/ui/test/component.config.tsnew file mode 100644index 000000000..e161b98db--- /dev/null+++ b/ui/test/component.config.ts@@ -0,0 +1,29 @@+import { basename, resolve } from "node:path";+import { defineCtConfig as baseConfig, Project } from ".";++const { CI } = process.env;++/**+ * See https://playwright.dev/docs/test-configuration.+ */+export const defineCtConfig = (path: string) => {+ const name = basename(path);+ return baseConfig({+ testMatch: "*.test.ts",+ /* Fail the build on CI if you accidentally left test.only in the source code. */+ forbidOnly: Boolean(CI),+ /* Retry failed tests twice on CI only to allow flaky behavior such as test timeouts to be retried */+ retries: CI ? 2 : 0,+ /* Reporter to use. See https://playwright.dev/docs/test-reporters */+ reporter: [["html", { outputFolder: "component-test-report" }]],+ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */+ use: {+ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */+ trace: "retain-on-failure",+ video: "on",+ ctTemplateDir: resolve(__dirname, "playwright"),+ },+ /* Configure projects */+ projects: [{ name, testDir: resolve(path, "test"), fullyParallel: true, use: { ct: name } }] as Project[],+ });+};diff --git a/ui/test/fixtures/component.ts b/ui/test/fixtures/component.tsnew file mode 100644index 000000000..98634d7d2--- /dev/null+++ b/ui/test/fixtures/component.ts@@ -0,0 +1,23 @@+import type { Locator } from "@playwright/experimental-ct-core";++type ComponentProps<Component extends HTMLElement> = Partial<Component>;+type ComponentSlot = number | string | ComponentSlot[];+type ComponentSlots = Record<string, ComponentSlot> & { default?: ComponentSlot };++type ComponentEvents = Record<string, Function>;++export interface MountOptions<HooksConfig, Component extends HTMLElement> {+ props?: ComponentProps<Component>;+ slots?: ComponentSlots;+ on?: ComponentEvents;+ hooksConfig?: HooksConfig;+}++export interface MountResult<Component extends HTMLElement> extends Locator {+ unmount(): Promise<void>;+ update(options: {+ props?: Partial<ComponentProps<Component>>;+ slots?: Partial<ComponentSlots>;+ on?: Partial<ComponentEvents>;+ }): Promise<void>;+}diff --git a/ui/test/fixtures/index.ts b/ui/test/fixtures/index.tsnew file mode 100644index 000000000..e75515448--- /dev/null+++ b/ui/test/fixtures/index.ts@@ -0,0 +1,28 @@+import type { Fixtures, PlaywrightTestArgs, Page, PlaywrightTestOptions, TestFixture } from "@playwright/test";+import { test, type TestType as ComponentTestType } from "@playwright/experimental-ct-core";++import { type MountOptions, type MountResult } from "./component";+import { Shared, type BasePage } from "./shared";++export interface ComponentTestFixtures {+ mount<HooksConfig, Component extends HTMLElement = HTMLElement>(+ component: new (...args: any[]) => Component,+ options?: MountOptions<HooksConfig, Component>+ ): Promise<MountResult<Component>>;+ shared: Shared;+}++// TODO: Separate our component test fixtures from the default playwright component test fixtures+declare module "@playwright/experimental-ct-core" {+ const test: ComponentTestType<ComponentTestFixtures>;+}++export function withPage<R>(component: Function): TestFixture<R, { page: Page }> {+ return async ({ page }, use) => await use(new (component.bind(null, page))());+}++export const fixtures: Fixtures<PlaywrightTestArgs & PlaywrightTestOptions & ComponentTestFixtures> = {+ shared: withPage(Shared),+};++export { test as ct, type ComponentTestType, type Shared, type BasePage, type Page };diff --git a/ui/test/fixtures/shared.ts b/ui/test/fixtures/shared.tsnew file mode 100644index 000000000..efe6a1e67--- /dev/null+++ b/ui/test/fixtures/shared.ts@@ -0,0 +1,108 @@+import path from "node:path";++import type { i18n, Resource } from "i18next";+import type { Page } from "@playwright/test";++declare global {+ interface Window {+ _i18next: i18n;+ }+}++export interface BasePage {+ goto(): Promise<void>;+}++export class Shared {+ constructor(readonly page: Page) {}++ /**+ * Drag to position x and position y+ * @param x coordinate of screen in pixels+ * @param y coordinate of screen in pixels+ */+ async drag(x: number, y: number) {+ await this.page.mouse.down();+ await this.page.mouse.move(x, y);+ await this.page.mouse.up();+ }++ /**+ * Intercept a request and handle the request body.+ * @param url The URL to intercept+ * @param cb The callback to handle the request+ */+ async interceptRequest<T>(url: string, cb: (body?: T) => void) {+ await this.page.route(+ url,+ async (route, request) => {+ await route.continue();+ cb(await request.postDataJSON());+ },+ { times: 1 }+ );+ }++ /**+ * Intercept the response of a request and handle the response body.+ * @param url The URL to intercept+ * @param cb The callback to handle the response+ */+ async interceptResponse<T>(url: string, cb: (body?: T) => void) {+ await this.page.route(+ url,+ async (route, request) => {+ await route.continue();+ const response = await request.response();+ cb(await response?.json());+ },+ { times: 1 }+ );+ }++ /**+ * Init shared fonts to be served for material design icons.+ */+ async fonts() {+ await this.page.route("**/shared/fonts/**", (route, request) => {+ route.fulfill({ path: this.urlPathToFsPath(request.url()) });+ });+ }++ /**+ * Init shared translations to be served for i18next.+ * @param resources The custom translations to add+ */+ async locales(resources?: Resource) {+ await this.page.route("**/shared/locales/**", (route, request) => {+ route.fulfill({ path: this.urlPathToFsPath(request.url()) });+ });+ this.page.evaluate(async (resources) => {+ await window._i18next.init({+ lng: "en",+ fallbackLng: "en",+ defaultNS: "test",+ fallbackNS: "or",+ ns: ["or"],+ backend: {+ loadPath: "/shared/locales/{{lng}}/{{ns}}.json",+ },+ });+ if (resources) {+ Object.entries(resources).forEach(([locale, r]) =>+ Object.entries(r).forEach(([ns, translations]) => {+ window._i18next.addResourceBundle(locale, ns, translations);+ })+ );+ }+ }, resources);+ }++ /**+ * Resolves a request URL to a local filesystem path.+ * @param url The icoming request URL to resolve+ */+ private urlPathToFsPath(url: string) {+ return path.resolve(__dirname, decodeURI(`../../app${new URL(url).pathname}`));+ }+}diff --git a/ui/test/index.ts b/ui/test/index.tsnew file mode 100644index 000000000..edfe6a151--- /dev/null+++ b/ui/test/index.ts@@ -0,0 +1,35 @@+import { defineConfig, test as base, type PlaywrightTestConfig, Fixtures } from "@playwright/test";+import { expect, devices } from "@playwright/experimental-ct-core";++import { defineConfig as defineCtWebConfig } from "@sand4rt/experimental-ct-web";++import { createPlugin } from "./plugin";+import { ct as ctBase, withPage, fixtures } from "./fixtures";+export type * from "./fixtures";++function defineCtConfig(config: PlaywrightTestConfig): PlaywrightTestConfig {+ const original = defineCtWebConfig(config) as PlaywrightTestConfig & {+ "@playwright/test": any;+ "@playwright/experimental-ct-core": any;+ };++ return {+ ...original,+ "@playwright/test": {+ // Includes babelPlugins to transform the test source code for Playwright UI+ ...original["@playwright/test"],+ // Playwright Webpack plugin+ plugins: [createPlugin],+ },+ "@playwright/experimental-ct-core": {+ // Used to attach components to the document+ ...original["@playwright/experimental-ct-core"],+ },+ } as PlaywrightTestConfig;+}++// Must extend in the root of the package+const test = base.extend(fixtures as Fixtures);+const ct = ctBase.extend(fixtures as Fixtures);++export { test, ct, expect, devices, defineConfig, defineCtConfig, withPage };diff --git a/ui/test/package.json b/ui/test/package.jsonnew file mode 100644index 000000000..fe5c3f82a--- /dev/null+++ b/ui/test/package.json@@ -0,0 +1,43 @@+{+ "name": "@openremote/test",+ "version": "1.3.3",+ "description": "Test Util",+ "author": "OpenRemote",+ "module": "index.js",+ "private": true,+ "exports": {+ ".": "./index.ts",+ "./app.config": "./app.config.ts",+ "./component.config": "./component.config.ts"+ },+ "files": [+ "./playwright/index.html",+ "./playwright/index.js"+ ],+ "typesVersions": {+ "*": {+ "*": [+ "./*"+ ]+ }+ },+ "license": "AGPL-3.0-or-later",+ "devDependencies": {+ "@openremote/core": "workspace:*",+ "@openremote/util": "workspace:*",+ "@playwright/experimental-ct-core": "1.54.2",+ "@playwright/test": "1.54.2",+ "@rspack/cli": "^1.4.4",+ "@rspack/core": "^1.4.4",+ "@rspack/dev-server": "^1.1.4",+ "@sand4rt/experimental-ct-web": "1.54.2",+ "css-loader": "^6.5.1",+ "html-webpack-plugin": "^5.6.3",+ "i18next": "^21.5.3",+ "playwright": "1.54.2",+ "playwright-core": "1.54.2",+ "ts-loader": "~9.5.2",+ "typescript": "~5.8.3",+ "webpack": "^5.99.8"+ }+}diff --git a/ui/test/playwright/index.html b/ui/test/playwright/index.htmlnew file mode 100644index 000000000..5ed6602a4--- /dev/null+++ b/ui/test/playwright/index.html@@ -0,0 +1,13 @@+<!DOCTYPE html>+<html lang="en">+ <head>+ <meta charset="UTF-8" />+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />+ <meta name="viewport" content="width=device-width,initial-scale=1.0" />+ <title>OpenRemote - Playwright Components Test App</title>+ </head>+ <body>+ <div id="root"></div>+ <script type="module" src="./index.js"></script>+ </body>+</html>diff --git a/ui/test/playwright/index.js b/ui/test/playwright/index.jsnew file mode 100644index 000000000..cbaa1505b--- /dev/null+++ b/ui/test/playwright/index.js@@ -0,0 +1,9 @@+import i18next from "i18next";+import HttpBackend from "i18next-http-backend";++import { IconSets, OrIconSet, createMdiIconSet, createSvgIconSet } from "@openremote/or-icon";++IconSets.addIconSet("mdi", createMdiIconSet(""));+IconSets.addIconSet("or", createSvgIconSet(OrIconSet.size, OrIconSet.icons));++window._i18next = i18next.use(HttpBackend);diff --git a/ui/test/plugin/index.ts b/ui/test/plugin/index.tsnew file mode 100644index 000000000..c453f5928--- /dev/null+++ b/ui/test/plugin/index.ts@@ -0,0 +1,179 @@+import fs from "node:fs";+import path from "path";+import rspack, { Configuration } from "@rspack/core";+import { RspackDevServer } from "@rspack/dev-server";+import HtmlWebpackPlugin from "html-webpack-plugin";++// @ts-expect-error No declaration file available+import { getStandardModuleRules } from "@openremote/util";+import { isURLAvailable } from "playwright-core/lib/utils";++import type { FullConfig } from "playwright/types/testReporter";++import {+ resolveDirs,+ resolveEndpoint,+ populateComponentsFromTests,+ ImportInfo,+ transformIndexFile,+ resolveCtConfig,+} from "./rspackUtils";++// Copied Playwright module (not exported in the playwright-core/package.json)+const injectedSource = require.resolve("./injectedScriptSource");++let devServer: RspackDevServer;++/**+ * Create a plugin for Playwright component testing with Rspack.+ *+ * The plugin expects an index.html file to be present. The directory of the index.html file+ * can be set through `ctTemplateDir` (defaults to "playwright") in the playwright configuration file.+ * The index.html is used to serve the component to the browser to run the component tests against.+ *+ * Each component is mounted using the `mount` fixture available through `playwright-ct-core`. The plugin+ * starts a Rspack development server that bundles the code to register and mount components to the+ * document. The bundle will reference the component source code through the provided import alias.+ *+ * Note: You must use an import alias (like `@openremote/or-icon`) to import a component in a test file,+ * because the component code is expected to be transpiled when referenced in the bundle.+ */+export function createPlugin() {+ let config: FullConfig;+ let configDir: string;++ return {+ name: "playwright-rspack-plugin",++ setup: async (cfg: FullConfig, cfgDir: string) => {+ config = cfg;+ configDir = cfgDir;+ },++ begin: async () => {+ const rspackConfig = await buildBundle(config, configDir);+ if (!rspackConfig) return;++ devServer = new RspackDevServer(rspackConfig.devServer!, rspack(rspackConfig));+ await devServer.start();++ if (!devServer.server) return;++ const address = devServer.server.address();+ if (address && typeof address === "object") {+ process.env.PLAYWRIGHT_TEST_BASE_URL = `http://${address.address}:${address.port}`;+ }+ },++ end: async () => {+ if (devServer) await devServer.stop();+ },++ populateDependencies: async () => {+ await buildBundle(config, configDir);+ },++ clearCache: async () => {+ const use = resolveCtConfig(config);+ if (!use) return;+ const dirs = await resolveDirs(configDir, use);+ if (dirs) {+ console.log(`Removing ${await fs.promises.realpath(dirs.outDir)}`);+ await fs.promises.rm(dirs.outDir, { recursive: true, force: true });+ }+ },++ startDevServer: async () => {+ // For debugging via playwright directly+ return devServer;+ },+ };+}++/**+ * Writes required component registration source to the bundle cache directory and returns+ * a corresponding Rspack configuration.+ *+ * Note: The Playwright configuration must specify the name of the project under `projects.use.ct`.+ * Otherwise the configuration will be ignored.+ *+ * @param ctConfig The full Playwright component testing config+ * @param configDir The directory of the component project+ *+ * @returns The Rspack configuration used to bundle and serve a component on the specified address.+ */+async function buildBundle(ctConfig: FullConfig, configDir: string): Promise<Configuration | null> {+ const use = resolveCtConfig(ctConfig);+ if (!use) {+ console.log(`Could not resolve component test configuration.`);+ return null;+ }++ const name = use.ct;+ const endpoint = resolveEndpoint(use);++ const protocol = endpoint.https ? "https:" : "http:";+ const url = new URL(`${protocol}//${endpoint.host}:${endpoint.port}`);+ if (await isURLAvailable(url, true)) {+ console.log(`Dev Server already running at ${url.toString()}`);+ process.env.PLAYWRIGHT_TEST_BASE_URL = url.toString();+ return null;+ }++ const dirs = await resolveDirs(configDir, use);+ if (!dirs) {+ console.log(`Template file playwright/index.html is missing.`);+ return null;+ }++ const componentRegistry: Map<string, ImportInfo> = new Map();+ const componentsByImportingFile = new Map<string, string[]>();+ // Populate component registry based on the tests' component imports.+ await populateComponentsFromTests(componentRegistry, componentsByImportingFile);++ const { registerSourceFile } = (ctConfig as any)["@playwright/experimental-ct-core"];++ // Consider including buildInfo in the cache dir to be able to know how to invalidate the cache dir+ const registerSource = fs.readFileSync(injectedSource, "utf-8") + "\n" + fs.readFileSync(registerSourceFile, "utf-8");+ const indexSourcePath = path.join(dirs.templateDir, "index.js");+ const transformedIndex = transformIndexFile(+ fs.readFileSync(indexSourcePath, "utf-8"),+ registerSource,+ componentRegistry+ );+ const outputIndexPath = path.join(dirs.outDir, name + "-index.js");+ fs.mkdirSync(dirs.outDir, { recursive: true });+ fs.writeFileSync(outputIndexPath, transformedIndex);++ const config: Configuration = {+ entry: outputIndexPath,+ output: {+ path: dirs.outDir,+ filename: "bundle.js",+ },+ devtool: "source-map",+ devServer: {+ static: {+ directory: dirs.templateDir,+ },+ // Force ipv4+ host: "127.0.0.1",+ port: 0,+ },+ module: getStandardModuleRules(),+ performance: {+ hints: false,+ },+ plugins: [+ new HtmlWebpackPlugin({+ inject: "body",+ scriptLoading: "module",+ }),+ ],+ resolve: {+ extensions: [".js", ".jsx", ".ts", ".tsx"],+ },+ };++ return config;+}diff --git a/ui/test/plugin/injectedScriptSource.mjs b/ui/test/plugin/injectedScriptSource.mjsnew file mode 100644index 000000000..08c9f392b--- /dev/null+++ b/ui/test/plugin/injectedScriptSource.mjs@@ -0,0 +1,104 @@+// This file is required for the component testing setup to register components. This source is injected into the test app that renders the components and must not be changed.+//+// The code in this file has been copied from https://github.com/microsoft/playwright/blob/432f03dc70b6e4e405327057a6961d7872968e35/packages/playwright-ct-core/src/injected,+// because this isn't exported by Playwright at the time of writing. See issue https://github.com/microsoft/playwright/issues/36889 for updates on this.++export function isImportRef(value) {+ return typeof value === "object" && value && value.__pw_type === "importRef";+}++export class ImportRegistry {+ _registry = new Map();++ initialize(components) {+ for (const [name, value] of Object.entries(components)) this._registry.set(name, value);+ }++ async resolveImportRef(importRef) {+ const importFunction = this._registry.get(importRef.id);+ if (!importFunction)+ throw new Error(+ `Unregistered component: ${importRef.id}. Following components are registered: ${[...this._registry.keys()]}`+ );+ let importedObject = await importFunction();+ if (!importedObject) throw new Error(`Could not resolve component: ${importRef.id}.`);+ if (importRef.property) {+ importedObject = importedObject[importRef.property];+ if (!importedObject) throw new Error(`Could not instantiate component: ${importRef.id}.${importRef.property}.`);+ }+ return importedObject;+ }+}++function isFunctionRef(value) {+ return value && typeof value === "object" && value.__pw_type === "function";+}++export function wrapObject(value, callbacks) {+ return transformObject(value, (v) => {+ if (typeof v === "function") {+ const ordinal = callbacks.length;+ callbacks.push(v);+ const result = {+ __pw_type: "function",+ ordinal,+ };+ return { result };+ }+ });+}++export async function unwrapObject(value) {+ return transformObjectAsync(value, async (v) => {+ if (isFunctionRef(v)) {+ const result = (...args) => {+ window.__ctDispatchFunction(v.ordinal, args);+ };+ return { result };+ }+ if (isImportRef(v)) return { result: await window.__pwRegistry.resolveImportRef(v) };+ });+}++export function transformObject(value, mapping) {+ const result = mapping(value);+ if (result) return result.result;+ if (value === null || typeof value !== "object") return value;+ if (value instanceof Date || value instanceof RegExp || value instanceof URL) return value;+ if (Array.isArray(value)) {+ const result = [];+ for (const item of value) result.push(transformObject(item, mapping));+ return result;+ }+ if (value?.__pw_type === "jsx" && typeof value.type === "function") {+ throw new Error(+ [+ `Component "${value.type.name}" cannot be mounted.`,+ `Most likely, this component is defined in the test file. Create a test story instead.`,+ `For more information, see https://playwright.dev/docs/test-components#test-stories.`,+ ].join("\n")+ );+ }+ const result2 = {};+ for (const [key, prop] of Object.entries(value)) result2[key] = transformObject(prop, mapping);+ return result2;+}++export async function transformObjectAsync(value, mapping) {+ const result = await mapping(value);+ if (result) return result.result;+ if (value === null || typeof value !== "object") return value;+ if (value instanceof Date || value instanceof RegExp || value instanceof URL) return value;+ if (Array.isArray(value)) {+ const result = [];+ for (const item of value) result.push(await transformObjectAsync(item, mapping));+ return result;+ }+ const result2 = {};+ for (const [key, prop] of Object.entries(value)) result2[key] = await transformObjectAsync(prop, mapping);+ return result2;+}++window.__pwRegistry = new ImportRegistry();+window.__pwUnwrapObject = unwrapObject;+window.__pwTransformObject = transformObject;diff --git a/ui/test/plugin/rspackUtils.ts b/ui/test/plugin/rspackUtils.tsnew file mode 100644index 000000000..345e3242b--- /dev/null+++ b/ui/test/plugin/rspackUtils.ts@@ -0,0 +1,97 @@+import fs from "node:fs";+import path from "node:path";++import { getUserData } from "playwright/lib/transform/compilationCache";+import { resolveHook } from "playwright/lib/transform/transform";++import type { PlaywrightTestConfig as BasePlaywrightTestConfig } from "playwright/types/test";+import type { FullConfig } from "playwright/types/testReporter";+import type { Configuration as RspackConfig } from "@rspack/core";++export type CtConfig = BasePlaywrightTestConfig["use"] & {+ ct?: boolean;+ ctPort?: number;+ ctTemplateDir?: string;+ ctCacheDir?: string;+ ctRspackConfig?: RspackConfig | (() => Promise<RspackConfig>);+};++/**+ * Resolves the first project that contains a `project.use.ct`.+ * @param config The full Playwright configuration+ * @returns The projects' `UseOptions`+ */+export function resolveCtConfig(config: FullConfig): CtConfig | undefined {+ return config.projects.find((project) => (project.use as CtConfig).ct)?.use;+}++export async function resolveDirs(configDir: string, use: CtConfig) {+ const templateDir = await fs.promises+ .realpath(use.ctTemplateDir || path.join(configDir, "playwright"))+ .catch(() => undefined);+ if (!templateDir) return null;++ const outDir = use.ctCacheDir ? path.resolve(configDir, use.ctCacheDir) : path.resolve(templateDir, ".cache");++ return {+ configDir,+ outDir,+ templateDir,+ };+}++export function resolveEndpoint(use: CtConfig) {+ const baseURL = new URL(use.baseURL || "http://localhost");+ return {+ https: baseURL.protocol.startsWith("https:"),+ host: baseURL.hostname,+ port: use.ctPort || Number(baseURL.port) || 3100,+ };+}++export type ImportInfo = {+ id: string;+ filename: string;+ importSource: string;+ remoteName: string | undefined;+};+export type ComponentRegistry = Map<string, ImportInfo>;++export async function populateComponentsFromTests(+ componentRegistry: ComponentRegistry,+ componentsByImportingFile?: Map<string, string[]>+) {+ const importInfos: Map<string, ImportInfo[]> = await getUserData("playwright-ct-core");+ for (const [file, importList] of importInfos) {+ for (const importInfo of importList) {+ componentRegistry.set(importInfo.id, importInfo);+ }+ if (componentsByImportingFile) {+ componentsByImportingFile.set(+ file,+ importList.map((i) => resolveHook(i.filename, i.importSource)).filter(Boolean) as string[]+ );+ }+ }+}++export function transformIndexFile(+ content: string,+ registerSource: string,+ importInfos: Map<string, ImportInfo>+): string {+ const lines = [content, "", registerSource];++ for (const value of importInfos.values()) {+ const importPath = resolveHook(value.filename, value.importSource) || value.importSource;+ lines.push(+ `const ${value.id} = () => import('${importPath?.replaceAll(path.sep, "/")}').then(mod => mod.${+ value.remoteName || "default"+ });`+ );+ }++ lines.push(`__pwRegistry.initialize({ ${[...importInfos.keys()].join(",\n ")} });`);++ return lines.join("\n");+}diff --git a/ui/test/plugin/types.d.ts b/ui/test/plugin/types.d.tsnew file mode 100644index 000000000..5db0f2498--- /dev/null+++ b/ui/test/plugin/types.d.ts@@ -0,0 +1,19 @@+// Types match https://github.com/microsoft/playwright/blob/22b0afc63d1dd117b2057e7d611555a1e52fb10e/packages/playwright/src/transform/transform.ts#L136+declare module "playwright/lib/transform/transform" {+ function resolveHook(filename: string, specifier: string): string | undefined;+}++// Types match https://github.com/microsoft/playwright/blob/0385672ba6cc162bb7e50391818cbf108db3cead/packages/playwright/src/transform/compilationCache.ts#L269+declare module "playwright/lib/transform/compilationCache" {+ function getUserData(pluginName: string): Promise<Map<string, any>>;+}++// Types match https://github.com/microsoft/playwright/blob/22b0afc63d1dd117b2057e7d611555a1e52fb10e/packages/playwright-core/src/server/utils/network.ts#L194+declare module "playwright-core/lib/utils" {+ function isURLAvailable(+ url: URL,+ ignoreHTTPSErrors: boolean,+ onLog?: (data: string) => void,+ onStdErr?: (data: string) => void+ ): Promise<void>;+}diff --git a/ui/test/tsconfig.json b/ui/test/tsconfig.jsonnew file mode 100644index 000000000..ba32d4087--- /dev/null+++ b/ui/test/tsconfig.json@@ -0,0 +1,9 @@+{+ "extends": "../tsconfig",+ "compilerOptions": {+ "esModuleInterop": true,+ "outDir": "./lib",+ "rootDir": "."+ },+ "include": ["."]+}diff --git a/ui/util/webpack.util.js b/ui/util/webpack.util.jsindex 7d0dd18d0..93c40c8f7 100644--- a/ui/util/webpack.util.js+++ b/ui/util/webpack.util.js@@ -271,5 +271,6 @@ function generateExports(dirname) {module.exports = {getLibName: getLibName,generateExports: generateExports,+ getStandardModuleRules: getStandardModuleRules,getAppConfig: getAppConfig};diff --git a/yarn.lock b/yarn.lockindex 407a7e7fb..94890ede7 100644--- a/yarn.lock+++ b/yarn.lock@@ -58,31 +58,206 @@ __metadata:languageName: nodelinkType: hard-"@emnapi/core@npm:^1.4.3":- version: 1.4.4- resolution: "@emnapi/core@npm:1.4.4"+"@emnapi/core@npm:^1.4.5":+ version: 1.4.5+ resolution: "@emnapi/core@npm:1.4.5"dependencies:- "@emnapi/wasi-threads": "npm:1.0.3"+ "@emnapi/wasi-threads": "npm:1.0.4"tslib: "npm:^2.4.0"- checksum: 10c0/a3a87b384de7c87edc8d64dfbd0c695fb8e9c8547d2d53f284b15415cfea29150f933cb21017dc4d0fa9dbfb2b544d23c77da7cde8c82f21e68323db50a829dd+ checksum: 10c0/da4a57f65f325d720d0e0d1a9c6618b90c4c43a5027834a110476984e1d47c95ebaed4d316b5dddb9c0ed9a493ffeb97d1934f9677035f336d8a36c1f3b2818flanguageName: nodelinkType: hard-"@emnapi/runtime@npm:^1.4.3":- version: 1.4.4- resolution: "@emnapi/runtime@npm:1.4.4"+"@emnapi/runtime@npm:^1.4.5":+ version: 1.4.5+ resolution: "@emnapi/runtime@npm:1.4.5"dependencies:tslib: "npm:^2.4.0"- checksum: 10c0/ec91747af3104ac34d4767fab922c8fe78ddc8ec83af3e3fb0edbf63cdb683fb8582be36afda7d48249fe729d4a31c34752c6e051770a762a68bce67a7408189+ checksum: 10c0/37a0278be5ac81e918efe36f1449875cbafba947039c53c65a1f8fc238001b866446fc66041513b286baaff5d6f9bec667f5164b3ca481373a8d9cb65bfc984blanguageName: nodelinkType: hard-"@emnapi/wasi-threads@npm:1.0.3":- version: 1.0.3- resolution: "@emnapi/wasi-threads@npm:1.0.3"+"@emnapi/wasi-threads@npm:1.0.4":+ version: 1.0.4+ resolution: "@emnapi/wasi-threads@npm:1.0.4"dependencies:tslib: "npm:^2.4.0"- checksum: 10c0/00cae4dd64143cca21a3aedbf64a7a5528a5991b69bcc0b7306812ff31a3fdc4aaf5bc9413a29fbd5d577c78aae49db4fc4e736d013aec5d416b5a64d403f391+ checksum: 10c0/2c91a53e62f875800baf035c4d42c9c0d18e5afd9a31ca2aac8b435aeaeaeaac386b5b3d0d0e70aa7a5a9852bbe05106b1f680cd82cce03145c703b423d41313+ languageName: node+ linkType: hard++"@esbuild/aix-ppc64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/aix-ppc64@npm:0.25.4"+ conditions: os=aix & cpu=ppc64+ languageName: node+ linkType: hard++"@esbuild/android-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/android-arm64@npm:0.25.4"+ conditions: os=android & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/android-arm@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/android-arm@npm:0.25.4"+ conditions: os=android & cpu=arm+ languageName: node+ linkType: hard++"@esbuild/android-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/android-x64@npm:0.25.4"+ conditions: os=android & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/darwin-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/darwin-arm64@npm:0.25.4"+ conditions: os=darwin & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/darwin-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/darwin-x64@npm:0.25.4"+ conditions: os=darwin & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/freebsd-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/freebsd-arm64@npm:0.25.4"+ conditions: os=freebsd & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/freebsd-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/freebsd-x64@npm:0.25.4"+ conditions: os=freebsd & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/linux-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-arm64@npm:0.25.4"+ conditions: os=linux & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/linux-arm@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-arm@npm:0.25.4"+ conditions: os=linux & cpu=arm+ languageName: node+ linkType: hard++"@esbuild/linux-ia32@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-ia32@npm:0.25.4"+ conditions: os=linux & cpu=ia32+ languageName: node+ linkType: hard++"@esbuild/linux-loong64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-loong64@npm:0.25.4"+ conditions: os=linux & cpu=loong64+ languageName: node+ linkType: hard++"@esbuild/linux-mips64el@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-mips64el@npm:0.25.4"+ conditions: os=linux & cpu=mips64el+ languageName: node+ linkType: hard++"@esbuild/linux-ppc64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-ppc64@npm:0.25.4"+ conditions: os=linux & cpu=ppc64+ languageName: node+ linkType: hard++"@esbuild/linux-riscv64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-riscv64@npm:0.25.4"+ conditions: os=linux & cpu=riscv64+ languageName: node+ linkType: hard++"@esbuild/linux-s390x@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-s390x@npm:0.25.4"+ conditions: os=linux & cpu=s390x+ languageName: node+ linkType: hard++"@esbuild/linux-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/linux-x64@npm:0.25.4"+ conditions: os=linux & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/netbsd-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/netbsd-arm64@npm:0.25.4"+ conditions: os=netbsd & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/netbsd-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/netbsd-x64@npm:0.25.4"+ conditions: os=netbsd & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/openbsd-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/openbsd-arm64@npm:0.25.4"+ conditions: os=openbsd & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/openbsd-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/openbsd-x64@npm:0.25.4"+ conditions: os=openbsd & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/sunos-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/sunos-x64@npm:0.25.4"+ conditions: os=sunos & cpu=x64+ languageName: node+ linkType: hard++"@esbuild/win32-arm64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/win32-arm64@npm:0.25.4"+ conditions: os=win32 & cpu=arm64+ languageName: node+ linkType: hard++"@esbuild/win32-ia32@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/win32-ia32@npm:0.25.4"+ conditions: os=win32 & cpu=ia32+ languageName: node+ linkType: hard++"@esbuild/win32-x64@npm:0.25.4":+ version: 0.25.4+ resolution: "@esbuild/win32-x64@npm:0.25.4"+ conditions: os=win32 & cpu=x64languageName: nodelinkType: hard@@ -261,12 +436,12 @@ __metadata:linkType: hard"@jridgewell/trace-mapping@npm:^0.3.25":- version: 0.3.25- resolution: "@jridgewell/trace-mapping@npm:0.3.25"+ version: 0.3.29+ resolution: "@jridgewell/trace-mapping@npm:0.3.29"dependencies:"@jridgewell/resolve-uri": "npm:^3.1.0""@jridgewell/sourcemap-codec": "npm:^1.4.14"- checksum: 10c0/3d1ce6ebc69df9682a5a8896b414c6537e428a1d68b02fcc8363b04284a8ca0df04d0ee3013132252ab14f2527bc13bea6526a912ecb5658f0e39fd2860b4df4+ checksum: 10c0/fb547ba31658c4d74eb17e7389f4908bf7c44cef47acb4c5baa57289daf68e6fe53c639f41f751b3923aca67010501264f70e7b49978ad1f040294b22c37b333languageName: nodelinkType: hard@@ -292,8 +467,8 @@ __metadata:linkType: hard"@jsonjoy.com/json-pack@npm:^1.0.3":- version: 1.1.0- resolution: "@jsonjoy.com/json-pack@npm:1.1.0"+ version: 1.4.0+ resolution: "@jsonjoy.com/json-pack@npm:1.4.0"dependencies:"@jsonjoy.com/base64": "npm:^1.1.1""@jsonjoy.com/util": "npm:^1.1.2"@@ -301,16 +476,16 @@ __metadata:thingies: "npm:^1.20.0"peerDependencies:tslib: 2- checksum: 10c0/cdf5cb567a7f2e703d4966a3e3a5f7f7b54ee40a2102aa0ede5c79bcf2060c8465d82f39de8583db4cf1d8415bec8e57dfb1156ef663567b846cdea45813d9d1+ checksum: 10c0/7cac38c9738e082f2fa36436f93b3a3080ae4c5b2fcc269063566ecd13690b95345152660eb37cfeaf224927cc4dd7cd86204e4835aea0e4fa94bee7464e3992languageName: nodelinkType: hard"@jsonjoy.com/util@npm:^1.1.2, @jsonjoy.com/util@npm:^1.3.0":- version: 1.5.0- resolution: "@jsonjoy.com/util@npm:1.5.0"+ version: 1.8.0+ resolution: "@jsonjoy.com/util@npm:1.8.0"peerDependencies:tslib: 2- checksum: 10c0/0065ae12c4108d8aede01a479c8d2b5a39bce99e9a449d235befc753f57e8385d9c1115720529f26597840b7398d512898155423d9859fd638319fb0c827365d+ checksum: 10c0/a2da34ae8c857e0ae4e1d7186609ef4421559f746e6a3e24a15445b86d80a40e2f1323f6b2884480a273ed349235a936d4fc4ccfd9234cecd0ceaeec37969b13languageName: nodelinkType: hard@@ -1058,105 +1233,69 @@ __metadata:languageName: nodelinkType: hard-"@module-federation/error-codes@npm:0.15.0":- version: 0.15.0- resolution: "@module-federation/error-codes@npm:0.15.0"- checksum: 10c0/93379d5e3afc31588e7923434d570a4663529f1853c1617f73109913035258b029caa16c810004e6870087185110d81ce8179ba85185006264a48ac32f8d7735- languageName: node- linkType: hard--"@module-federation/runtime-core@npm:0.15.0":- version: 0.15.0- resolution: "@module-federation/runtime-core@npm:0.15.0"- dependencies:- "@module-federation/error-codes": "npm:0.15.0"- "@module-federation/sdk": "npm:0.15.0"- checksum: 10c0/f3da5fd29f7f2bf1593a33ccaf8bf76cec6bb24272d8b4794152ab6c4eb7d01f648ad7fafd5ca6de65bfb8dbef610ac844a5583bd1f4111b3914a90801f2efd1- languageName: node- linkType: hard--"@module-federation/runtime-tools@npm:0.15.0":- version: 0.15.0- resolution: "@module-federation/runtime-tools@npm:0.15.0"- dependencies:- "@module-federation/runtime": "npm:0.15.0"- "@module-federation/webpack-bundler-runtime": "npm:0.15.0"- checksum: 10c0/53e4376a6a7146063bfae447951c74e74a051c0fb43dbb6024c7b541a81d6f2e9127f7d4588117430644ee594a774f996359c282733072a989791e656206ada7+"@module-federation/error-codes@npm:0.17.1":+ version: 0.17.1+ resolution: "@module-federation/error-codes@npm:0.17.1"+ checksum: 10c0/24e99dbb7a918a513ce94ddcf8cc40c16da89ea19cdaa85148ab535c99df45afb4b05a3989113621bd5a0b2d4280492cde4a39cf22a9b38a6a2ef3ce07763806languageName: nodelinkType: hard-"@module-federation/runtime-tools@npm:0.5.1":- version: 0.5.1- resolution: "@module-federation/runtime-tools@npm:0.5.1"+"@module-federation/runtime-core@npm:0.17.1":+ version: 0.17.1+ resolution: "@module-federation/runtime-core@npm:0.17.1"dependencies:- "@module-federation/runtime": "npm:0.5.1"- "@module-federation/webpack-bundler-runtime": "npm:0.5.1"- checksum: 10c0/fc6e8be50d6b4e9a9e9454d8c836c939eeb2bd6ed145701ef1b5dd0cb43058874404877a58182b2568ea6f216d5dae84785d3db8d867ddd4f610481a859f5d89+ "@module-federation/error-codes": "npm:0.17.1"+ "@module-federation/sdk": "npm:0.17.1"+ checksum: 10c0/f952bb01e35a39db65ec2fc9da05aff79d621be47d207bc7afaa886116f9d6cfd14e3c58fe8602b301abf6a4e0c086e44a822284756fcef84fe2b0c66d7fe175languageName: nodelinkType: hard-"@module-federation/runtime@npm:0.15.0":- version: 0.15.0- resolution: "@module-federation/runtime@npm:0.15.0"+"@module-federation/runtime-tools@npm:0.17.1":+ version: 0.17.1+ resolution: "@module-federation/runtime-tools@npm:0.17.1"dependencies:- "@module-federation/error-codes": "npm:0.15.0"- "@module-federation/runtime-core": "npm:0.15.0"- "@module-federation/sdk": "npm:0.15.0"- checksum: 10c0/c77489abe56dd1402244fa4e75488676f272a5b53c3954e18f0be3ea74745b7a627a89d76d2cf827a48a74fe486712c6b0e0390fd1df25b7efeb3c23bdcafc9b+ "@module-federation/runtime": "npm:0.17.1"+ "@module-federation/webpack-bundler-runtime": "npm:0.17.1"+ checksum: 10c0/d766646be3f178e8f0931fbf145223d8bef43da3e63aac9fab99c82e4c9c65f3a78983f1e16bea92aebacb12c2a4c65b74743f75088eba5ce69deff0309ca0falanguageName: nodelinkType: hard-"@module-federation/runtime@npm:0.5.1":- version: 0.5.1- resolution: "@module-federation/runtime@npm:0.5.1"+"@module-federation/runtime@npm:0.17.1":+ version: 0.17.1+ resolution: "@module-federation/runtime@npm:0.17.1"dependencies:- "@module-federation/sdk": "npm:0.5.1"- checksum: 10c0/f7810c7d21e22ce4689967e387298f01571503f7ec3ddfea863929eb1a673aec9de37a0a1584d039cddcb76d2c1c5c26741fdc1be1224db0024ea9e939d24429- languageName: node- linkType: hard--"@module-federation/sdk@npm:0.15.0":- version: 0.15.0- resolution: "@module-federation/sdk@npm:0.15.0"- checksum: 10c0/9f15db3c4213d3d4699edd89ab898bec0c3ab29872537a60cd21a6c75dce63e9af865aea6fa47dac34a485309c028d29a88cffc397caa721c1add6a5aa273186+ "@module-federation/error-codes": "npm:0.17.1"+ "@module-federation/runtime-core": "npm:0.17.1"+ "@module-federation/sdk": "npm:0.17.1"+ checksum: 10c0/8bb27a205cc861b6eaa02164a7e2e984785bfb9926cdf3b8fcb44c8d873e617022a002b033f411c1057d8f089e2ab18752e0386638c82ec5f8f9f0e89498129clanguageName: nodelinkType: hard-"@module-federation/sdk@npm:0.5.1":- version: 0.5.1- resolution: "@module-federation/sdk@npm:0.5.1"- checksum: 10c0/63c7d00358e6f43e10b3f216808f2489d78059ac151e3acfff5f0744ef531505d716563330d35e2b2998c58f5f28f09ace7b4ee3162685a31f7908a6d41e6834- languageName: node- linkType: hard--"@module-federation/webpack-bundler-runtime@npm:0.15.0":- version: 0.15.0- resolution: "@module-federation/webpack-bundler-runtime@npm:0.15.0"- dependencies:- "@module-federation/runtime": "npm:0.15.0"- "@module-federation/sdk": "npm:0.15.0"- checksum: 10c0/63d09e4cbe2238ce3ca8b69c23d12fce69f2e6f189a1cb7bd830d280ec77201b3a9dc5c90ecb0e58ad533c43a7c957f0d0089ce34abfb8b517afcddd4cf503e8+"@module-federation/sdk@npm:0.17.1":+ version: 0.17.1+ resolution: "@module-federation/sdk@npm:0.17.1"+ checksum: 10c0/67c9e4870effd2a8908da39dd3d78efea998809a92ef7078092db1e4de65014c679e552ec5e8804eb64a99e394e7882f7e6d889e733d71c6fd4c909c3c34b4e8languageName: nodelinkType: hard-"@module-federation/webpack-bundler-runtime@npm:0.5.1":- version: 0.5.1- resolution: "@module-federation/webpack-bundler-runtime@npm:0.5.1"+"@module-federation/webpack-bundler-runtime@npm:0.17.1":+ version: 0.17.1+ resolution: "@module-federation/webpack-bundler-runtime@npm:0.17.1"dependencies:- "@module-federation/runtime": "npm:0.5.1"- "@module-federation/sdk": "npm:0.5.1"- checksum: 10c0/6a2423efe16a63d7059face6af07d282efc1cfa04a16397d1b354c5eb8541ffa314d32d4da8f7863e0b14f92b0f67270f313c2797e13f63f635bc94988115abf+ "@module-federation/runtime": "npm:0.17.1"+ "@module-federation/sdk": "npm:0.17.1"+ checksum: 10c0/c143c9494e44b4e0b6ed5ded4fcc8525d1bc38bfedd56e94ec8478b697dcfa06545a7bd62ec1b2480fba91557feaa4dce24aaa03089b051c195def3673d191fclanguageName: nodelinkType: hard-"@napi-rs/wasm-runtime@npm:^0.2.11":- version: 0.2.11- resolution: "@napi-rs/wasm-runtime@npm:0.2.11"+"@napi-rs/wasm-runtime@npm:^1.0.1":+ version: 1.0.1+ resolution: "@napi-rs/wasm-runtime@npm:1.0.1"dependencies:- "@emnapi/core": "npm:^1.4.3"- "@emnapi/runtime": "npm:^1.4.3"- "@tybys/wasm-util": "npm:^0.9.0"- checksum: 10c0/049bd14c58b99fbe0967b95e9921c5503df196b59be22948d2155f17652eb305cff6728efd8685338b855da7e476dd2551fbe3a313fc2d810938f0717478441e+ "@emnapi/core": "npm:^1.4.5"+ "@emnapi/runtime": "npm:^1.4.5"+ "@tybys/wasm-util": "npm:^0.10.0"+ checksum: 10c0/3244105b75637d8d39e76782921fe46e48105bcd390db01a10dc7b596ee99af0f06b7f2b841d7632e756bd3220a5d595b9d426a5453da1ccc895900b894d098flanguageName: nodelinkType: hard@@ -1312,6 +1451,8 @@ __metadata:dependencies:"@openremote/or-app": "workspace:*""@openremote/or-attribute-barchart": "workspace:*"+ "@openremote/rest": "workspace:*"+ "@openremote/test": "workspace:*""@openremote/util": "workspace:*"iso-639-1: "npm:^3.1.3"languageName: unknown@@ -1656,6 +1797,7 @@ __metadata:"@openremote/core": "workspace:*""@openremote/or-icon": "workspace:*""@openremote/or-translate": "workspace:*"+ "@openremote/test": "workspace:*""@openremote/util": "workspace:*"lit: "npm:^2.0.2"languageName: unknown@@ -1784,6 +1926,29 @@ __metadata:languageName: unknownlinkType: soft+"@openremote/test@workspace:*, @openremote/test@workspace:ui/test":+ version: 0.0.0-use.local+ resolution: "@openremote/test@workspace:ui/test"+ dependencies:+ "@openremote/core": "workspace:*"+ "@openremote/util": "workspace:*"+ "@playwright/experimental-ct-core": "npm:1.54.2"+ "@playwright/test": "npm:1.54.2"+ "@rspack/cli": "npm:^1.4.4"+ "@rspack/core": "npm:^1.4.4"+ "@rspack/dev-server": "npm:^1.1.4"+ "@sand4rt/experimental-ct-web": "npm:1.54.2"+ css-loader: "npm:^6.5.1"+ html-webpack-plugin: "npm:^5.6.3"+ i18next: "npm:^21.5.3"+ playwright: "npm:1.54.2"+ playwright-core: "npm:1.54.2"+ ts-loader: "npm:~9.5.2"+ typescript: "npm:~5.8.3"+ webpack: "npm:^5.99.8"+ languageName: unknown+ linkType: soft+"@openremote/util@workspace:*, @openremote/util@workspace:ui/util":version: 0.0.0-use.localresolution: "@openremote/util@workspace:ui/util"@@ -1821,10 +1986,25 @@ __metadata:languageName: nodelinkType: hard-"@polka/url@npm:^1.0.0-next.20":- version: 1.0.0-next.28- resolution: "@polka/url@npm:1.0.0-next.28"- checksum: 10c0/acc5ea62597e4da2fb42dbee02749d07f102ae7d6d2c966bf7e423c79cd65d1621da305af567e6e7c232f3b565e242d1ec932cbb3dcc0db1508d02e9a2cafa2e+"@playwright/experimental-ct-core@npm:1.54.2":+ version: 1.54.2+ resolution: "@playwright/experimental-ct-core@npm:1.54.2"+ dependencies:+ playwright: "npm:1.54.2"+ playwright-core: "npm:1.54.2"+ vite: "npm:^6.3.4"+ checksum: 10c0/9e357cf671a8dc5421a249950fbce36910c98b64bb1a46debd61c8f71fcdbd09790aa45046589ccbb8469d037a996af9a0351aa3b06884cea651abcee62ce505+ languageName: node+ linkType: hard++"@playwright/test@npm:1.54.2":+ version: 1.54.2+ resolution: "@playwright/test@npm:1.54.2"+ dependencies:+ playwright: "npm:1.54.2"+ bin:+ playwright: cli.js+ checksum: 10c0/a032d9714a91d6dc40405575ca65ec52f95b0ca95974cd0140e2c12b6c39fbe5311239b2d581b289acaa1e227dd871cf5c43a537f32457f6329723e4add6e6f1languageName: nodelinkType: hard@@ -1864,191 +2044,232 @@ __metadata:languageName: nodelinkType: hard-"@rspack/binding-darwin-arm64@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-darwin-arm64@npm:1.1.3"- conditions: os=darwin & cpu=arm64+"@rollup/rollup-android-arm-eabi@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-android-arm-eabi@npm:4.41.0"+ conditions: os=android & cpu=arm+ languageName: node+ linkType: hard++"@rollup/rollup-android-arm64@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-android-arm64@npm:4.41.0"+ conditions: os=android & cpu=arm64languageName: nodelinkType: hard-"@rspack/binding-darwin-arm64@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-darwin-arm64@npm:1.4.4"+"@rollup/rollup-darwin-arm64@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-darwin-arm64@npm:4.41.0"conditions: os=darwin & cpu=arm64languageName: nodelinkType: hard-"@rspack/binding-darwin-x64@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-darwin-x64@npm:1.1.3"+"@rollup/rollup-darwin-x64@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-darwin-x64@npm:4.41.0"conditions: os=darwin & cpu=x64languageName: nodelinkType: hard-"@rspack/binding-darwin-x64@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-darwin-x64@npm:1.4.4"- conditions: os=darwin & cpu=x64+"@rollup/rollup-freebsd-arm64@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-freebsd-arm64@npm:4.41.0"+ conditions: os=freebsd & cpu=arm64languageName: nodelinkType: hard-"@rspack/binding-linux-arm64-gnu@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-linux-arm64-gnu@npm:1.1.3"- conditions: os=linux & cpu=arm64 & libc=glibc+"@rollup/rollup-freebsd-x64@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-freebsd-x64@npm:4.41.0"+ conditions: os=freebsd & cpu=x64languageName: nodelinkType: hard-"@rspack/binding-linux-arm64-gnu@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-linux-arm64-gnu@npm:1.4.4"+"@rollup/rollup-linux-arm-gnueabihf@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.41.0"+ conditions: os=linux & cpu=arm & libc=glibc+ languageName: node+ linkType: hard++"@rollup/rollup-linux-arm-musleabihf@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.41.0"+ conditions: os=linux & cpu=arm & libc=musl+ languageName: node+ linkType: hard++"@rollup/rollup-linux-arm64-gnu@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.41.0"conditions: os=linux & cpu=arm64 & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding-linux-arm64-musl@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-linux-arm64-musl@npm:1.1.3"+"@rollup/rollup-linux-arm64-musl@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-arm64-musl@npm:4.41.0"conditions: os=linux & cpu=arm64 & libc=musllanguageName: nodelinkType: hard-"@rspack/binding-linux-arm64-musl@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-linux-arm64-musl@npm:1.4.4"- conditions: os=linux & cpu=arm64 & libc=musl+"@rollup/rollup-linux-loongarch64-gnu@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.41.0"+ conditions: os=linux & cpu=loong64 & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding-linux-x64-gnu@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-linux-x64-gnu@npm:1.1.3"- conditions: os=linux & cpu=x64 & libc=glibc+"@rollup/rollup-linux-powerpc64le-gnu@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.41.0"+ conditions: os=linux & cpu=ppc64 & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding-linux-x64-gnu@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-linux-x64-gnu@npm:1.4.4"- conditions: os=linux & cpu=x64 & libc=glibc+"@rollup/rollup-linux-riscv64-gnu@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.41.0"+ conditions: os=linux & cpu=riscv64 & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding-linux-x64-musl@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-linux-x64-musl@npm:1.1.3"- conditions: os=linux & cpu=x64 & libc=musl+"@rollup/rollup-linux-riscv64-musl@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.41.0"+ conditions: os=linux & cpu=riscv64 & libc=musllanguageName: nodelinkType: hard-"@rspack/binding-linux-x64-musl@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-linux-x64-musl@npm:1.4.4"- conditions: os=linux & cpu=x64 & libc=musl+"@rollup/rollup-linux-s390x-gnu@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.41.0"+ conditions: os=linux & cpu=s390x & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding-wasm32-wasi@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-wasm32-wasi@npm:1.4.4"- dependencies:- "@napi-rs/wasm-runtime": "npm:^0.2.11"- conditions: cpu=wasm32+"@rollup/rollup-linux-x64-gnu@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-x64-gnu@npm:4.41.0"+ conditions: os=linux & cpu=x64 & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding-win32-arm64-msvc@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-win32-arm64-msvc@npm:1.1.3"- conditions: os=win32 & cpu=arm64+"@rollup/rollup-linux-x64-musl@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-linux-x64-musl@npm:4.41.0"+ conditions: os=linux & cpu=x64 & libc=musllanguageName: nodelinkType: hard-"@rspack/binding-win32-arm64-msvc@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-win32-arm64-msvc@npm:1.4.4"+"@rollup/rollup-win32-arm64-msvc@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.41.0"conditions: os=win32 & cpu=arm64languageName: nodelinkType: hard-"@rspack/binding-win32-ia32-msvc@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-win32-ia32-msvc@npm:1.1.3"+"@rollup/rollup-win32-ia32-msvc@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.41.0"conditions: os=win32 & cpu=ia32languageName: nodelinkType: hard-"@rspack/binding-win32-ia32-msvc@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-win32-ia32-msvc@npm:1.4.4"- conditions: os=win32 & cpu=ia32+"@rollup/rollup-win32-x64-msvc@npm:4.41.0":+ version: 4.41.0+ resolution: "@rollup/rollup-win32-x64-msvc@npm:4.41.0"+ conditions: os=win32 & cpu=x64languageName: nodelinkType: hard-"@rspack/binding-win32-x64-msvc@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding-win32-x64-msvc@npm:1.1.3"- conditions: os=win32 & cpu=x64+"@rspack/binding-darwin-arm64@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-darwin-arm64@npm:1.4.11"+ conditions: os=darwin & cpu=arm64languageName: nodelinkType: hard-"@rspack/binding-win32-x64-msvc@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding-win32-x64-msvc@npm:1.4.4"- conditions: os=win32 & cpu=x64+"@rspack/binding-darwin-x64@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-darwin-x64@npm:1.4.11"+ conditions: os=darwin & cpu=x64languageName: nodelinkType: hard-"@rspack/binding@npm:1.1.3":- version: 1.1.3- resolution: "@rspack/binding@npm:1.1.3"- dependencies:- "@rspack/binding-darwin-arm64": "npm:1.1.3"- "@rspack/binding-darwin-x64": "npm:1.1.3"- "@rspack/binding-linux-arm64-gnu": "npm:1.1.3"- "@rspack/binding-linux-arm64-musl": "npm:1.1.3"- "@rspack/binding-linux-x64-gnu": "npm:1.1.3"- "@rspack/binding-linux-x64-musl": "npm:1.1.3"- "@rspack/binding-win32-arm64-msvc": "npm:1.1.3"- "@rspack/binding-win32-ia32-msvc": "npm:1.1.3"- "@rspack/binding-win32-x64-msvc": "npm:1.1.3"- dependenciesMeta:- "@rspack/binding-darwin-arm64":- optional: true- "@rspack/binding-darwin-x64":- optional: true- "@rspack/binding-linux-arm64-gnu":- optional: true- "@rspack/binding-linux-arm64-musl":- optional: true- "@rspack/binding-linux-x64-gnu":- optional: true- "@rspack/binding-linux-x64-musl":- optional: true- "@rspack/binding-win32-arm64-msvc":- optional: true- "@rspack/binding-win32-ia32-msvc":- optional: true- "@rspack/binding-win32-x64-msvc":- optional: true- checksum: 10c0/db9c546317dd28f6db7dfabd434b3c276f8cf97d3bb86edd407b30cc0111b5db5ce1e4a56b96a024369fab3336a36163b3cc8dca6a7166d0493584c857725040+"@rspack/binding-linux-arm64-gnu@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-linux-arm64-gnu@npm:1.4.11"+ conditions: os=linux & cpu=arm64 & libc=glibclanguageName: nodelinkType: hard-"@rspack/binding@npm:1.4.4":- version: 1.4.4- resolution: "@rspack/binding@npm:1.4.4"+"@rspack/binding-linux-arm64-musl@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-linux-arm64-musl@npm:1.4.11"+ conditions: os=linux & cpu=arm64 & libc=musl+ languageName: node+ linkType: hard++"@rspack/binding-linux-x64-gnu@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-linux-x64-gnu@npm:1.4.11"+ conditions: os=linux & cpu=x64 & libc=glibc+ languageName: node+ linkType: hard++"@rspack/binding-linux-x64-musl@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-linux-x64-musl@npm:1.4.11"+ conditions: os=linux & cpu=x64 & libc=musl+ languageName: node+ linkType: hard++"@rspack/binding-wasm32-wasi@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-wasm32-wasi@npm:1.4.11"dependencies:- "@rspack/binding-darwin-arm64": "npm:1.4.4"- "@rspack/binding-darwin-x64": "npm:1.4.4"- "@rspack/binding-linux-arm64-gnu": "npm:1.4.4"- "@rspack/binding-linux-arm64-musl": "npm:1.4.4"- "@rspack/binding-linux-x64-gnu": "npm:1.4.4"- "@rspack/binding-linux-x64-musl": "npm:1.4.4"- "@rspack/binding-wasm32-wasi": "npm:1.4.4"- "@rspack/binding-win32-arm64-msvc": "npm:1.4.4"- "@rspack/binding-win32-ia32-msvc": "npm:1.4.4"- "@rspack/binding-win32-x64-msvc": "npm:1.4.4"+ "@napi-rs/wasm-runtime": "npm:^1.0.1"+ conditions: cpu=wasm32+ languageName: node+ linkType: hard++"@rspack/binding-win32-arm64-msvc@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-win32-arm64-msvc@npm:1.4.11"+ conditions: os=win32 & cpu=arm64+ languageName: node+ linkType: hard++"@rspack/binding-win32-ia32-msvc@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-win32-ia32-msvc@npm:1.4.11"+ conditions: os=win32 & cpu=ia32+ languageName: node+ linkType: hard++"@rspack/binding-win32-x64-msvc@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding-win32-x64-msvc@npm:1.4.11"+ conditions: os=win32 & cpu=x64+ languageName: node+ linkType: hard++"@rspack/binding@npm:1.4.11":+ version: 1.4.11+ resolution: "@rspack/binding@npm:1.4.11"+ dependencies:+ "@rspack/binding-darwin-arm64": "npm:1.4.11"+ "@rspack/binding-darwin-x64": "npm:1.4.11"+ "@rspack/binding-linux-arm64-gnu": "npm:1.4.11"+ "@rspack/binding-linux-arm64-musl": "npm:1.4.11"+ "@rspack/binding-linux-x64-gnu": "npm:1.4.11"+ "@rspack/binding-linux-x64-musl": "npm:1.4.11"+ "@rspack/binding-wasm32-wasi": "npm:1.4.11"+ "@rspack/binding-win32-arm64-msvc": "npm:1.4.11"+ "@rspack/binding-win32-ia32-msvc": "npm:1.4.11"+ "@rspack/binding-win32-x64-msvc": "npm:1.4.11"dependenciesMeta:"@rspack/binding-darwin-arm64":optional: true@@ -2070,34 +2291,13 @@ __metadata:optional: true"@rspack/binding-win32-x64-msvc":optional: true- checksum: 10c0/4a555560525d3747e8c7247acce74e5e0de709e4aa975c47f1142d3789a405f6cf7e167b5fdfdf409ce0fc15f881fee29b2cad9299d426537975bc52e08056fc- languageName: node- linkType: hard--"@rspack/cli@npm:^1.1.3":- version: 1.1.3- resolution: "@rspack/cli@npm:1.1.3"- dependencies:- "@discoveryjs/json-ext": "npm:^0.5.7"- "@rspack/dev-server": "npm:1.0.9"- colorette: "npm:2.0.19"- exit-hook: "npm:^4.0.0"- interpret: "npm:^3.1.1"- rechoir: "npm:^0.8.0"- semver: "npm:^7.6.2"- webpack-bundle-analyzer: "npm:4.6.1"- yargs: "npm:17.6.2"- peerDependencies:- "@rspack/core": ^1.0.0-alpha || ^1.x- bin:- rspack: bin/rspack.js- checksum: 10c0/eaae4e9f44067ec606a39019671be810d9a110d788bdde66a07cb8b274cb77772ad3564a187f9b605a0ed728e58e6df9eff36e3a0676fea506e23285e8fd0029+ checksum: 10c0/c02eacc3b88befa38d8043ec58099235e678bad5ec24cb5653f99932dbfcf630481a93cd338f7e60a192c69701aa4db778ca707c3a328ef2af57d55813709b4clanguageName: nodelinkType: hard-"@rspack/cli@npm:^1.4.4":- version: 1.4.4- resolution: "@rspack/cli@npm:1.4.4"+"@rspack/cli@npm:^1.1.3, @rspack/cli@npm:^1.4.4":+ version: 1.4.11+ resolution: "@rspack/cli@npm:1.4.11"dependencies:"@discoveryjs/json-ext": "npm:^0.5.7""@rspack/dev-server": "npm:~1.1.3"@@ -2111,59 +2311,38 @@ __metadata:"@rspack/core": ^1.0.0-alpha || ^1.xbin:rspack: bin/rspack.js- checksum: 10c0/dc45b3e27a194c0788542311f941045d2097b6198dbcbc5b9d864c21ffec957ac1a054d252c4cd276af7e29a87eb8e6675639ecc1522954c6bc308059f112669- languageName: node- linkType: hard--"@rspack/core@npm:^1.1.3":- version: 1.1.3- resolution: "@rspack/core@npm:1.1.3"- dependencies:- "@module-federation/runtime-tools": "npm:0.5.1"- "@rspack/binding": "npm:1.1.3"- "@rspack/lite-tapable": "npm:1.0.1"- caniuse-lite: "npm:^1.0.30001616"- peerDependencies:- "@swc/helpers": ">=0.5.1"- peerDependenciesMeta:- "@swc/helpers":- optional: true- checksum: 10c0/78bc2e35aac0a3b868e5e015f2e42388bf074b289763f9e066c4bceda89c78618a396e6b7b79f03a9da4d7927d68f69c68ce19bedd52f2a8b1747cb1ea51f4d6+ checksum: 10c0/7c4770cc4692a106e3e25b404af9049f48207fb15f134a4b83cbace1795cff6aaf2f1b993c173f24dce7099a425a73c2694d2f143491f9373988ec10f3fbdc23languageName: nodelinkType: hard-"@rspack/core@npm:^1.4.4":- version: 1.4.4- resolution: "@rspack/core@npm:1.4.4"+"@rspack/core@npm:^1.1.3, @rspack/core@npm:^1.4.4":+ version: 1.4.11+ resolution: "@rspack/core@npm:1.4.11"dependencies:- "@module-federation/runtime-tools": "npm:0.15.0"- "@rspack/binding": "npm:1.4.4"+ "@module-federation/runtime-tools": "npm:0.17.1"+ "@rspack/binding": "npm:1.4.11""@rspack/lite-tapable": "npm:1.0.1"peerDependencies:"@swc/helpers": ">=0.5.1"peerDependenciesMeta:"@swc/helpers":optional: true- checksum: 10c0/7c09db3ce63f19457be8a6e204062c92d50c26062d05c1d2af7bdf11ee66f491a859b44bfda60ac55bbe23ce63140d753789d7a000eaf0036f679f29382253fd+ checksum: 10c0/56a3a98f3472da9d2091425973ded31250a6ea0ab0d66aa188b355ae8675620882b9b2bf9e22593fb0e4371714fa3806fec6663246f8bcc2a04a2c9390aceb9alanguageName: nodelinkType: hard-"@rspack/dev-server@npm:1.0.9":- version: 1.0.9- resolution: "@rspack/dev-server@npm:1.0.9"+"@rspack/dev-server@npm:^1.1.4":+ version: 1.1.4+ resolution: "@rspack/dev-server@npm:1.1.4"dependencies:chokidar: "npm:^3.6.0"- connect-history-api-fallback: "npm:^2.0.0"- express: "npm:^4.19.2"- http-proxy-middleware: "npm:^2.0.6"- mime-types: "npm:^2.1.35"- p-retry: "npm:4.6.2"- webpack-dev-middleware: "npm:^7.4.2"- webpack-dev-server: "npm:5.0.4"- ws: "npm:^8.16.0"+ http-proxy-middleware: "npm:^2.0.9"+ p-retry: "npm:^6.2.0"+ webpack-dev-server: "npm:5.2.2"+ ws: "npm:^8.18.0"peerDependencies:"@rspack/core": "*"- checksum: 10c0/d4d0124dfe7c368b7122877e6354ab0583921386561a631fced0d46c0d252e91735f45f2c87d799f40f4fc31cc322d98bfdbef760de69fb0d8e2efe83b022a0a+ checksum: 10c0/e1075c3f1a9b7aaafa6a18716693470526477d99ef7f34eb061444aa0d8233cc2f65592f4204253001827c4540c8dbd777eac14d31736b10604ef277585306d8languageName: nodelinkType: hard@@ -2189,12 +2368,23 @@ __metadata:languageName: nodelinkType: hard-"@tybys/wasm-util@npm:^0.9.0":- version: 0.9.0- resolution: "@tybys/wasm-util@npm:0.9.0"+"@sand4rt/experimental-ct-web@npm:1.54.2":+ version: 1.54.2+ resolution: "@sand4rt/experimental-ct-web@npm:1.54.2"+ dependencies:+ "@playwright/experimental-ct-core": "npm:1.54.2"+ bin:+ playwright: cli.js+ checksum: 10c0/3eec05fc024c0545cf68cb1706f41d9701cd9d53d722c0172017890440857408528db335bc9f04b6f6eb82df886cca19326d92eec29ef175c3cf94524d44adba+ languageName: node+ linkType: hard++"@tybys/wasm-util@npm:^0.10.0":+ version: 0.10.0+ resolution: "@tybys/wasm-util@npm:0.10.0"dependencies:tslib: "npm:^2.4.0"- checksum: 10c0/f9fde5c554455019f33af6c8215f1a1435028803dc2a2825b077d812bed4209a1a64444a4ca0ce2ea7e1175c8d88e2f9173a36a33c199e8a5c671aa31de8242d+ checksum: 10c0/044feba55c1e2af703aa4946139969badb183ce1a659a75ed60bc195a90e73a3f3fc53bcd643497c9954597763ddb051fec62f80962b2ca6fc716ba897dc696elanguageName: nodelinkType: hard@@ -2256,22 +2446,36 @@ __metadata:linkType: hard"@types/eslint@npm:*":- version: 9.6.1- resolution: "@types/eslint@npm:9.6.1"+ version: 8.56.2+ resolution: "@types/eslint@npm:8.56.2"dependencies:"@types/estree": "npm:*""@types/json-schema": "npm:*"- checksum: 10c0/69ba24fee600d1e4c5abe0df086c1a4d798abf13792d8cfab912d76817fe1a894359a1518557d21237fbaf6eda93c5ab9309143dee4c59ef54336d1b3570420e+ checksum: 10c0/e33ca87a30a9454ba9943e1270ac759996f5fe598a1c1afbaec1d1e7346a339e20bf2a9d81f177067116bbaa6cfa4f748993cb338f57978ae862ad38ffae56fe+ languageName: node+ linkType: hard++"@types/estree@npm:*":+ version: 1.0.5+ resolution: "@types/estree@npm:1.0.5"+ checksum: 10c0/b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70dlanguageName: nodelinkType: hard-"@types/estree@npm:*, @types/estree@npm:^1.0.6":+"@types/estree@npm:1.0.7":version: 1.0.7resolution: "@types/estree@npm:1.0.7"checksum: 10c0/be815254316882f7c40847336cd484c3bc1c3e34f710d197160d455dc9d6d050ffbf4c3bc76585dba86f737f020ab20bdb137ebe0e9116b0c86c7c0342221b8clanguageName: nodelinkType: hard+"@types/estree@npm:^1.0.8":+ version: 1.0.8+ resolution: "@types/estree@npm:1.0.8"+ checksum: 10c0/39d34d1afaa338ab9763f37ad6066e3f349444f9052b9676a7cc0252ef9485a41c6d81c9c4e0d26e9077993354edf25efc853f3224dd4b447175ef62bdcc86a5+ languageName: node+ linkType: hard+"@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33":version: 4.17.43resolution: "@types/express-serve-static-core@npm:4.17.43"@@ -2296,7 +2500,7 @@ __metadata:languageName: nodelinkType: hard-"@types/express@npm:*, @types/express@npm:^4.17.21":+"@types/express@npm:*":version: 4.17.21resolution: "@types/express@npm:4.17.21"dependencies:@@ -2308,6 +2512,18 @@ __metadata:languageName: nodelinkType: hard+"@types/express@npm:^4.17.21":+ version: 4.17.23+ resolution: "@types/express@npm:4.17.23"+ dependencies:+ "@types/body-parser": "npm:*"+ "@types/express-serve-static-core": "npm:^4.17.33"+ "@types/qs": "npm:*"+ "@types/serve-static": "npm:*"+ checksum: 10c0/60490cd4f73085007247e7d4fafad0a7abdafa34fa3caba2757512564ca5e094ece7459f0f324030a63d513f967bb86579a8682af76ae2fd718e889b0a2a4fe8+ languageName: node+ linkType: hard+"@types/geojson-vt@npm:3.2.5":version: 3.2.5resolution: "@types/geojson-vt@npm:3.2.5"@@ -2473,13 +2689,6 @@ __metadata:languageName: nodelinkType: hard-"@types/retry@npm:0.12.0":- version: 0.12.0- resolution: "@types/retry@npm:0.12.0"- checksum: 10c0/7c5c9086369826f569b83a4683661557cab1361bac0897a1cefa1a915ff739acd10ca0d62b01071046fe3f5a3f7f2aec80785fe283b75602dc6726781ea3e328- languageName: node- linkType: hard-"@types/retry@npm:0.12.2":version: 0.12.2resolution: "@types/retry@npm:0.12.2"@@ -2525,13 +2734,13 @@ __metadata:linkType: hard"@types/serve-static@npm:^1.15.5":- version: 1.15.7- resolution: "@types/serve-static@npm:1.15.7"+ version: 1.15.8+ resolution: "@types/serve-static@npm:1.15.8"dependencies:"@types/http-errors": "npm:*""@types/node": "npm:*""@types/send": "npm:*"- checksum: 10c0/26ec864d3a626ea627f8b09c122b623499d2221bbf2f470127f4c9ebfe92bd8a6bb5157001372d4c4bd0dd37a1691620217d9dc4df5aa8f779f3fd996b1c60ae+ checksum: 10c0/8ad86a25b87da5276cb1008c43c74667ff7583904d46d5fcaf0355887869d859d453d7dc4f890788ae04705c23720e9b6b6f3215e2d1d2a4278bbd090a9268ddlanguageName: nodelinkType: hard@@ -2568,11 +2777,11 @@ __metadata:linkType: hard"@types/ws@npm:^8.5.10":- version: 8.5.13- resolution: "@types/ws@npm:8.5.13"+ version: 8.18.1+ resolution: "@types/ws@npm:8.18.1"dependencies:"@types/node": "npm:*"- checksum: 10c0/a5430aa479bde588e69cb9175518d72f9338b6999e3b2ae16fc03d3bdcff8347e486dc031e4ed14601260463c07e1f9a0d7511dfc653712b047c439c680b0b34+ checksum: 10c0/61aff1129143fcc4312f083bc9e9e168aa3026b7dd6e70796276dcfb2c8211c4292603f9c4864fae702f2ed86e4abd4d38aa421831c2fd7f856c931a481afbablanguageName: nodelinkType: hard@@ -2917,9 +3126,18 @@ __metadata:linkType: hard"ace-builds@npm:^1.41.0":- version: 1.41.0- resolution: "ace-builds@npm:1.41.0"- checksum: 10c0/9473ee03c6dea43793fd431f6bfeb1381f1efeb82949e69432c7aea9fe32004067c0dfe837a395a0bc7c9ab61d61aab3a0e136c2bde1cdb808283718eefee603+ version: 1.43.2+ resolution: "ace-builds@npm:1.43.2"+ checksum: 10c0/03603b969b4995a3de5d73f9a3ef8b76d35b9367069ab17da8b69449b924cfa8f0c87929acc062abfeb022a2c39fbb3cd7c311c489d202dc2447c13d52fc7226+ languageName: node+ linkType: hard++"acorn-import-phases@npm:^1.0.3":+ version: 1.0.4+ resolution: "acorn-import-phases@npm:1.0.4"+ peerDependencies:+ acorn: ^8.14.0+ checksum: 10c0/338eb46fc1aed5544f628344cb9af189450b401d152ceadbf1f5746901a5d923016cd0e7740d5606062d374fdf6941c29bb515d2bd133c4f4242d5d4cd73a3c7languageName: nodelinkType: hard@@ -2941,21 +3159,12 @@ __metadata:languageName: nodelinkType: hard-"acorn@npm:^8.0.4, acorn@npm:^8.11.0":- version: 8.14.0- resolution: "acorn@npm:8.14.0"- bin:- acorn: bin/acorn- checksum: 10c0/6d4ee461a7734b2f48836ee0fbb752903606e576cc100eb49340295129ca0b452f3ba91ddd4424a1d4406a98adfb2ebb6bd0ff4c49d7a0930c10e462719bbfd7- languageName: node- linkType: hard--"acorn@npm:^8.14.0":- version: 8.14.1- resolution: "acorn@npm:8.14.1"+"acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.14.0, acorn@npm:^8.15.0":+ version: 8.15.0+ resolution: "acorn@npm:8.15.0"bin:acorn: bin/acorn- checksum: 10c0/dbd36c1ed1d2fa3550140000371fcf721578095b18777b85a79df231ca093b08edc6858d75d6e48c73e431c174dcf9214edbd7e6fa5911b93bd8abfa54e47123+ checksum: 10c0/dec73ff59b7d6628a01eebaece7f2bdb8bb62b9b5926dcad0f8931f2b8b79c2be21f6c68ac095592adb5adb15831a3635d9343e6a91d028bbe85d564875ec3eclanguageName: nodelinkType: hard@@ -3269,26 +3478,6 @@ __metadata:languageName: nodelinkType: hard-"body-parser@npm:1.20.1":- version: 1.20.1- resolution: "body-parser@npm:1.20.1"- dependencies:- bytes: "npm:3.1.2"- content-type: "npm:~1.0.4"- debug: "npm:2.6.9"- depd: "npm:2.0.0"- destroy: "npm:1.2.0"- http-errors: "npm:2.0.0"- iconv-lite: "npm:0.4.24"- on-finished: "npm:2.4.1"- qs: "npm:6.11.0"- raw-body: "npm:2.5.1"- type-is: "npm:~1.6.18"- unpipe: "npm:1.0.0"- checksum: 10c0/a202d493e2c10a33fb7413dac7d2f713be579c4b88343cd814b6df7a38e5af1901fc31044e04de176db56b16d9772aa25a7723f64478c20f4d91b1ac223bf3b8- languageName: node- linkType: hard-"body-parser@npm:1.20.3":version: 1.20.3resolution: "body-parser@npm:1.20.3"@@ -3364,16 +3553,16 @@ __metadata:linkType: hard"browserslist@npm:^4.24.0":- version: 4.24.5- resolution: "browserslist@npm:4.24.5"+ version: 4.25.1+ resolution: "browserslist@npm:4.25.1"dependencies:- caniuse-lite: "npm:^1.0.30001716"- electron-to-chromium: "npm:^1.5.149"+ caniuse-lite: "npm:^1.0.30001726"+ electron-to-chromium: "npm:^1.5.173"node-releases: "npm:^2.0.19"update-browserslist-db: "npm:^1.1.3"bin:browserslist: cli.js- checksum: 10c0/f4c1ce1a7d8fdfab5e5b88bb6e93d09e8a883c393f86801537a252da0362dbdcde4dbd97b318246c5d84c6607b2f6b47af732c1b000d6a8a881ee024bad29204+ checksum: 10c0/acba5f0bdbd5e72dafae1e6ec79235b7bad305ed104e082ed07c34c38c7cb8ea1bc0f6be1496958c40482e40166084458fc3aee15111f15faa79212ad9081b2alanguageName: nodelinkType: hard@@ -3446,6 +3635,16 @@ __metadata:languageName: nodelinkType: hard+"call-bind-apply-helpers@npm:^1.0.1, call-bind-apply-helpers@npm:^1.0.2":+ version: 1.0.2+ resolution: "call-bind-apply-helpers@npm:1.0.2"+ dependencies:+ es-errors: "npm:^1.3.0"+ function-bind: "npm:^1.1.2"+ checksum: 10c0/47bd9901d57b857590431243fea704ff18078b16890a6b3e021e12d279bbf211d039155e27d7566b374d49ee1f8189344bac9833dec7a20cdec370506361c938+ languageName: node+ linkType: hard+"call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6":version: 1.0.6resolution: "call-bind@npm:1.0.6"@@ -3458,16 +3657,13 @@ __metadata:languageName: nodelinkType: hard-"call-bind@npm:^1.0.7":- version: 1.0.7- resolution: "call-bind@npm:1.0.7"+"call-bound@npm:^1.0.2":+ version: 1.0.4+ resolution: "call-bound@npm:1.0.4"dependencies:- es-define-property: "npm:^1.0.0"- es-errors: "npm:^1.3.0"- function-bind: "npm:^1.1.2"- get-intrinsic: "npm:^1.2.4"- set-function-length: "npm:^1.2.1"- checksum: 10c0/a3ded2e423b8e2a265983dba81c27e125b48eefb2655e7dfab6be597088da3d47c47976c24bc51b8fd9af1061f8f87b4ab78a314f3c77784b2ae2ba535ad8b8d+ call-bind-apply-helpers: "npm:^1.0.2"+ get-intrinsic: "npm:^1.3.0"+ checksum: 10c0/f4796a6a0941e71c766aea672f63b72bc61234c4f4964dc6d7606e3664c307e7d77845328a8f3359ce39ddb377fed67318f9ee203dea1d47e46165dcf2917644languageName: nodelinkType: hard@@ -3495,17 +3691,10 @@ __metadata:languageName: nodelinkType: hard-"caniuse-lite@npm:^1.0.30001616":- version: 1.0.30001683- resolution: "caniuse-lite@npm:1.0.30001683"- checksum: 10c0/0ca7f4f2fbd0c71fde5a14ca2e29bb1dcb84c095d7a3d88e47371e062f276f1dc31da3f10931ec134ef7fb096259c0d67c9ffb843a9ec4a040a85eb2fea0bdec- languageName: node- linkType: hard--"caniuse-lite@npm:^1.0.30001716":- version: 1.0.30001717- resolution: "caniuse-lite@npm:1.0.30001717"- checksum: 10c0/6c0bb1e5182fd578ebe97ee2203250849754a4e17d985839fab527ad27e125a4c4ffce3ece5505217fedf30ea0bbc17ac9f93e9ac525c0389ccba61c6e8345dc+"caniuse-lite@npm:^1.0.30001726":+ version: 1.0.30001731+ resolution: "caniuse-lite@npm:1.0.30001731"+ checksum: 10c0/d8cddf817d5bec8e7c2106affdbf1bfc3923463ca16697c992b2efeb043e6a5d9dcb70cda913bc6acf9112fd66f9e80279316c08e7800359116925066a63fdfalanguageName: nodelinkType: hard@@ -3582,9 +3771,9 @@ __metadata:linkType: hard"chrome-trace-event@npm:^1.0.2":- version: 1.0.4- resolution: "chrome-trace-event@npm:1.0.4"- checksum: 10c0/3058da7a5f4934b87cf6a90ef5fb68ebc5f7d06f143ed5a4650208e5d7acae47bc03ec844b29fbf5ba7e46e8daa6acecc878f7983a4f4bb7271593da91e61ff5+ version: 1.0.3+ resolution: "chrome-trace-event@npm:1.0.3"+ checksum: 10c0/080ce2d20c2b9e0f8461a380e9585686caa768b1c834a464470c9dc74cda07f27611c7b727a2cd768a9cecd033297fdec4ce01f1e58b62227882c1059dec321clanguageName: nodelinkType: hard@@ -3631,13 +3820,6 @@ __metadata:languageName: nodelinkType: hard-"colorette@npm:2.0.19":- version: 2.0.19- resolution: "colorette@npm:2.0.19"- checksum: 10c0/2bcc9134095750fece6e88167011499b964b78bf0ea953469130ddb1dba3c8fe6c03debb0ae181e710e2be10900d117460f980483a7df4ba4a1bac3b182ecb64- languageName: node- linkType: hard-"colorette@npm:2.0.20, colorette@npm:^2.0.10":version: 2.0.20resolution: "colorette@npm:2.0.20"@@ -3746,13 +3928,6 @@ __metadata:languageName: nodelinkType: hard-"cookie@npm:0.5.0":- version: 0.5.0- resolution: "cookie@npm:0.5.0"- checksum: 10c0/c01ca3ef8d7b8187bae434434582288681273b5a9ed27521d4d7f9f7928fe0c920df0decd9f9d3bbd2d14ac432b8c8cf42b98b3bdd5bfe0e6edddeebebe8b61d- languageName: node- linkType: hard-"cookie@npm:0.7.1":version: 0.7.1resolution: "cookie@npm:0.7.1"@@ -3808,7 +3983,7 @@ __metadata:languageName: nodelinkType: hard-"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":+"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2":version: 7.0.3resolution: "cross-spawn@npm:7.0.3"dependencies:@@ -3819,6 +3994,30 @@ __metadata:languageName: nodelinkType: hard+"css-loader@npm:^6.5.1":+ version: 6.10.0+ resolution: "css-loader@npm:6.10.0"+ dependencies:+ icss-utils: "npm:^5.1.0"+ postcss: "npm:^8.4.33"+ postcss-modules-extract-imports: "npm:^3.0.0"+ postcss-modules-local-by-default: "npm:^4.0.4"+ postcss-modules-scope: "npm:^3.1.1"+ postcss-modules-values: "npm:^4.0.0"+ postcss-value-parser: "npm:^4.2.0"+ semver: "npm:^7.5.4"+ peerDependencies:+ "@rspack/core": 0.x || 1.x+ webpack: ^5.0.0+ peerDependenciesMeta:+ "@rspack/core":+ optional: true+ webpack:+ optional: true+ checksum: 10c0/acadd2a93f505bf8a8d1c6912a476ef953585f195412b6aa1f2581053bcce8563b833f2a6666c1e1521f4b35fb315176563495a38933becc89e3143cfa7dce45+ languageName: node+ linkType: hard+"css-loader@npm:^7.1.2":version: 7.1.2resolution: "css-loader@npm:7.1.2"@@ -3940,15 +4139,6 @@ __metadata:languageName: nodelinkType: hard-"default-gateway@npm:^6.0.3":- version: 6.0.3- resolution: "default-gateway@npm:6.0.3"- dependencies:- execa: "npm:^5.0.0"- checksum: 10c0/5184f9e6e105d24fb44ade9e8741efa54bb75e84625c1ea78c4ef8b81dff09ca52d6dbdd1185cf0dc655bb6b282a64fffaf7ed2dd561b8d9ad6f322b1f039aba- languageName: node- linkType: hard-"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.2":version: 1.1.2resolution: "define-data-property@npm:1.1.2"@@ -3961,17 +4151,6 @@ __metadata:languageName: nodelinkType: hard-"define-data-property@npm:^1.1.4":- version: 1.1.4- resolution: "define-data-property@npm:1.1.4"- dependencies:- es-define-property: "npm:^1.0.0"- es-errors: "npm:^1.3.0"- gopd: "npm:^1.0.1"- checksum: 10c0/dea0606d1483eb9db8d930d4eac62ca0fa16738b0b3e07046cddfacf7d8c868bbe13fa0cb263eb91c7d0d527960dc3f2f2471a69ed7816210307f6744fe62e37- languageName: node- linkType: hard-"define-lazy-prop@npm:^3.0.0":version: 3.0.0resolution: "define-lazy-prop@npm:3.0.0"@@ -4111,6 +4290,17 @@ __metadata:languageName: nodelinkType: hard+"dunder-proto@npm:^1.0.1":+ version: 1.0.1+ resolution: "dunder-proto@npm:1.0.1"+ dependencies:+ call-bind-apply-helpers: "npm:^1.0.1"+ es-errors: "npm:^1.3.0"+ gopd: "npm:^1.2.0"+ checksum: 10c0/199f2a0c1c16593ca0a145dbf76a962f8033ce3129f01284d48c45ed4e14fea9bbacd7b3610b6cdc33486cef20385ac054948fefc6272fcce645c09468f93031+ languageName: node+ linkType: hard+"duplexer@npm:^0.1.2":version: 0.1.2resolution: "duplexer@npm:0.1.2"@@ -4149,10 +4339,10 @@ __metadata:languageName: nodelinkType: hard-"electron-to-chromium@npm:^1.5.149":- version: 1.5.151- resolution: "electron-to-chromium@npm:1.5.151"- checksum: 10c0/9b3d73836a784af4fd113676b87b0d233ae51984cd4d4396f7252c7369e2f897afeca9fb53910c314e74a4b5d22b6faa4450e95304ceeb1c4fd04e8356030d4b+"electron-to-chromium@npm:^1.5.173":+ version: 1.5.194+ resolution: "electron-to-chromium@npm:1.5.194"+ checksum: 10c0/7d72617857055d54552380b34be411933966fa1156dc8653e321d14e82e2af84114bac607e9e2926f885d560b2697a324981e4204d3da4e0f9604d4a468eeba1languageName: nodelinkType: hard@@ -4194,21 +4384,31 @@ __metadata:linkType: hard"end-of-stream@npm:^1.1.0":- version: 1.4.4- resolution: "end-of-stream@npm:1.4.4"+ version: 1.4.5+ resolution: "end-of-stream@npm:1.4.5"dependencies:once: "npm:^1.4.0"- checksum: 10c0/870b423afb2d54bb8d243c63e07c170409d41e20b47eeef0727547aea5740bd6717aca45597a9f2745525667a6b804c1e7bede41f856818faee5806dd9ff3975+ checksum: 10c0/b0701c92a10b89afb1cb45bf54a5292c6f008d744eb4382fa559d54775ff31617d1d7bc3ef617575f552e24fad2c7c1a1835948c66b3f3a4be0a6c1f35c883d8languageName: nodelinkType: hard-"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.17.1":- version: 5.18.1- resolution: "enhanced-resolve@npm:5.18.1"+"enhanced-resolve@npm:^5.0.0":+ version: 5.15.0+ resolution: "enhanced-resolve@npm:5.15.0"dependencies:graceful-fs: "npm:^4.2.4"tapable: "npm:^2.2.0"- checksum: 10c0/4cffd9b125225184e2abed9fdf0ed3dbd2224c873b165d0838fd066cde32e0918626cba2f1f4bf6860762f13a7e2364fd89a82b99566be2873d813573ac71846+ checksum: 10c0/69984a7990913948b4150855aed26a84afb4cb1c5a94fb8e3a65bd00729a73fc2eaff6871fb8e345377f294831afe349615c93560f2f54d61b43cdfdf668f19a+ languageName: node+ linkType: hard++"enhanced-resolve@npm:^5.17.2":+ version: 5.18.2+ resolution: "enhanced-resolve@npm:5.18.2"+ dependencies:+ graceful-fs: "npm:^4.2.4"+ tapable: "npm:^2.2.0"+ checksum: 10c0/2a45105daded694304b0298d1c0351a981842249a9867513d55e41321a4ccf37dfd35b0c1e9ceae290eab73654b09aa7a910d618ea6f9441e97c52bc424a2372languageName: nodelinkType: hard@@ -4287,12 +4487,10 @@ __metadata:languageName: nodelinkType: hard-"es-define-property@npm:^1.0.0":- version: 1.0.0- resolution: "es-define-property@npm:1.0.0"- dependencies:- get-intrinsic: "npm:^1.2.4"- checksum: 10c0/6bf3191feb7ea2ebda48b577f69bdfac7a2b3c9bcf97307f55fd6ef1bbca0b49f0c219a935aca506c993d8c5d8bddd937766cb760cd5e5a1071351f2df9f9aa4+"es-define-property@npm:^1.0.1":+ version: 1.0.1+ resolution: "es-define-property@npm:1.0.1"+ checksum: 10c0/3f54eb49c16c18707949ff25a1456728c883e81259f045003499efba399c08bad00deebf65cccde8c0e07908c1a225c9d472b7107e558f2a48e28d530e34527clanguageName: nodelinkType: hard@@ -4311,9 +4509,18 @@ __metadata:linkType: hard"es-module-lexer@npm:^1.2.1":- version: 1.7.0- resolution: "es-module-lexer@npm:1.7.0"- checksum: 10c0/4c935affcbfeba7fb4533e1da10fa8568043df1e3574b869385980de9e2d475ddc36769891936dbb07036edb3c3786a8b78ccf44964cd130dedc1f2c984b6c7b+ version: 1.4.1+ resolution: "es-module-lexer@npm:1.4.1"+ checksum: 10c0/b7260a138668554d3f0ddcc728cb4b60c2fa463f15545cf155ecbdd5450a1348952d58298a7f48642e900ee579f21d7f5304b6b3c61b3d9fc2d4b2109b5a9dff+ languageName: node+ linkType: hard++"es-object-atoms@npm:^1.0.0, es-object-atoms@npm:^1.1.1":+ version: 1.1.1+ resolution: "es-object-atoms@npm:1.1.1"+ dependencies:+ es-errors: "npm:^1.3.0"+ checksum: 10c0/65364812ca4daf48eb76e2a3b7a89b3f6a2e62a1c420766ce9f692665a29d94fe41fe88b65f24106f449859549711e4b40d9fb8002d862dfd7eb1c512d10be0clanguageName: nodelinkType: hard@@ -4348,6 +4555,92 @@ __metadata:languageName: nodelinkType: hard+"esbuild@npm:^0.25.0":+ version: 0.25.4+ resolution: "esbuild@npm:0.25.4"+ dependencies:+ "@esbuild/aix-ppc64": "npm:0.25.4"+ "@esbuild/android-arm": "npm:0.25.4"+ "@esbuild/android-arm64": "npm:0.25.4"+ "@esbuild/android-x64": "npm:0.25.4"+ "@esbuild/darwin-arm64": "npm:0.25.4"+ "@esbuild/darwin-x64": "npm:0.25.4"+ "@esbuild/freebsd-arm64": "npm:0.25.4"+ "@esbuild/freebsd-x64": "npm:0.25.4"+ "@esbuild/linux-arm": "npm:0.25.4"+ "@esbuild/linux-arm64": "npm:0.25.4"+ "@esbuild/linux-ia32": "npm:0.25.4"+ "@esbuild/linux-loong64": "npm:0.25.4"+ "@esbuild/linux-mips64el": "npm:0.25.4"+ "@esbuild/linux-ppc64": "npm:0.25.4"+ "@esbuild/linux-riscv64": "npm:0.25.4"+ "@esbuild/linux-s390x": "npm:0.25.4"+ "@esbuild/linux-x64": "npm:0.25.4"+ "@esbuild/netbsd-arm64": "npm:0.25.4"+ "@esbuild/netbsd-x64": "npm:0.25.4"+ "@esbuild/openbsd-arm64": "npm:0.25.4"+ "@esbuild/openbsd-x64": "npm:0.25.4"+ "@esbuild/sunos-x64": "npm:0.25.4"+ "@esbuild/win32-arm64": "npm:0.25.4"+ "@esbuild/win32-ia32": "npm:0.25.4"+ "@esbuild/win32-x64": "npm:0.25.4"+ dependenciesMeta:+ "@esbuild/aix-ppc64":+ optional: true+ "@esbuild/android-arm":+ optional: true+ "@esbuild/android-arm64":+ optional: true+ "@esbuild/android-x64":+ optional: true+ "@esbuild/darwin-arm64":+ optional: true+ "@esbuild/darwin-x64":+ optional: true+ "@esbuild/freebsd-arm64":+ optional: true+ "@esbuild/freebsd-x64":+ optional: true+ "@esbuild/linux-arm":+ optional: true+ "@esbuild/linux-arm64":+ optional: true+ "@esbuild/linux-ia32":+ optional: true+ "@esbuild/linux-loong64":+ optional: true+ "@esbuild/linux-mips64el":+ optional: true+ "@esbuild/linux-ppc64":+ optional: true+ "@esbuild/linux-riscv64":+ optional: true+ "@esbuild/linux-s390x":+ optional: true+ "@esbuild/linux-x64":+ optional: true+ "@esbuild/netbsd-arm64":+ optional: true+ "@esbuild/netbsd-x64":+ optional: true+ "@esbuild/openbsd-arm64":+ optional: true+ "@esbuild/openbsd-x64":+ optional: true+ "@esbuild/sunos-x64":+ optional: true+ "@esbuild/win32-arm64":+ optional: true+ "@esbuild/win32-ia32":+ optional: true+ "@esbuild/win32-x64":+ optional: true+ bin:+ esbuild: bin/esbuild+ checksum: 10c0/db9f51248f0560bc46ab219461d338047617f6caf373c95f643b204760bdfa10c95b48cfde948949f7e509599ae4ab61c3f112092a3534936c6abfb800c565b0+ languageName: node+ linkType: hard+"escalade@npm:^3.1.1":version: 3.1.2resolution: "escalade@npm:3.1.2"@@ -4641,134 +4934,39 @@ __metadata:languageName: nodelinkType: hard-"events@npm:^3.2.0":- version: 3.3.0- resolution: "events@npm:3.3.0"- checksum: 10c0/d6b6f2adbccbcda74ddbab52ed07db727ef52e31a61ed26db9feb7dc62af7fc8e060defa65e5f8af9449b86b52cc1a1f6a79f2eafcf4e62add2b7a1fa4a432f6- languageName: node- linkType: hard--"execa@npm:^1.0.0":- version: 1.0.0- resolution: "execa@npm:1.0.0"- dependencies:- cross-spawn: "npm:^6.0.0"- get-stream: "npm:^4.0.0"- is-stream: "npm:^1.1.0"- npm-run-path: "npm:^2.0.0"- p-finally: "npm:^1.0.0"- signal-exit: "npm:^3.0.0"- strip-eof: "npm:^1.0.0"- checksum: 10c0/cc71707c9aa4a2552346893ee63198bf70a04b5a1bc4f8a0ef40f1d03c319eae80932c59191f037990d7d102193e83a38ec72115fff814ec2fb3099f3661a590- languageName: node- linkType: hard--"execa@npm:^5.0.0":- version: 5.1.1- resolution: "execa@npm:5.1.1"- dependencies:- cross-spawn: "npm:^7.0.3"- get-stream: "npm:^6.0.0"- human-signals: "npm:^2.1.0"- is-stream: "npm:^2.0.0"- merge-stream: "npm:^2.0.0"- npm-run-path: "npm:^4.0.1"- onetime: "npm:^5.1.2"- signal-exit: "npm:^3.0.3"- strip-final-newline: "npm:^2.0.0"- checksum: 10c0/c8e615235e8de4c5addf2fa4c3da3e3aa59ce975a3e83533b4f6a71750fb816a2e79610dc5f1799b6e28976c9ae86747a36a606655bf8cb414a74d8d507b304f- languageName: node- linkType: hard--"exit-hook@npm:^4.0.0":- version: 4.0.0- resolution: "exit-hook@npm:4.0.0"- checksum: 10c0/7fb33eaeb9050aee9479da9c93d42b796fb409c40e1d2b6ea2f40786ae7d7db6dc6a0f6ecc7bc24e479f957b7844bcb880044ded73320334743c64e3ecef48d7- languageName: node- linkType: hard--"exponential-backoff@npm:^3.1.1":- version: 3.1.1- resolution: "exponential-backoff@npm:3.1.1"- checksum: 10c0/160456d2d647e6019640bd07111634d8c353038d9fa40176afb7cd49b0548bdae83b56d05e907c2cce2300b81cae35d800ef92fefb9d0208e190fa3b7d6bb579- languageName: node- linkType: hard--"express@npm:^4.17.3":- version: 4.18.2- resolution: "express@npm:4.18.2"- dependencies:- accepts: "npm:~1.3.8"- array-flatten: "npm:1.1.1"- body-parser: "npm:1.20.1"- content-disposition: "npm:0.5.4"- content-type: "npm:~1.0.4"- cookie: "npm:0.5.0"- cookie-signature: "npm:1.0.6"- debug: "npm:2.6.9"- depd: "npm:2.0.0"- encodeurl: "npm:~1.0.2"- escape-html: "npm:~1.0.3"- etag: "npm:~1.8.1"- finalhandler: "npm:1.2.0"- fresh: "npm:0.5.2"- http-errors: "npm:2.0.0"- merge-descriptors: "npm:1.0.1"- methods: "npm:~1.1.2"- on-finished: "npm:2.4.1"- parseurl: "npm:~1.3.3"- path-to-regexp: "npm:0.1.7"- proxy-addr: "npm:~2.0.7"- qs: "npm:6.11.0"- range-parser: "npm:~1.2.1"- safe-buffer: "npm:5.2.1"- send: "npm:0.18.0"- serve-static: "npm:1.15.0"- setprototypeof: "npm:1.2.0"- statuses: "npm:2.0.1"- type-is: "npm:~1.6.18"- utils-merge: "npm:1.0.1"- vary: "npm:~1.1.2"- checksum: 10c0/75af556306b9241bc1d7bdd40c9744b516c38ce50ae3210658efcbf96e3aed4ab83b3432f06215eae5610c123bc4136957dc06e50dfc50b7d4d775af56c4c59c- languageName: node- linkType: hard--"express@npm:^4.19.2":- version: 4.21.1- resolution: "express@npm:4.21.1"- dependencies:- accepts: "npm:~1.3.8"- array-flatten: "npm:1.1.1"- body-parser: "npm:1.20.3"- content-disposition: "npm:0.5.4"- content-type: "npm:~1.0.4"- cookie: "npm:0.7.1"- cookie-signature: "npm:1.0.6"- debug: "npm:2.6.9"- depd: "npm:2.0.0"- encodeurl: "npm:~2.0.0"- escape-html: "npm:~1.0.3"- etag: "npm:~1.8.1"- finalhandler: "npm:1.3.1"- fresh: "npm:0.5.2"- http-errors: "npm:2.0.0"- merge-descriptors: "npm:1.0.3"- methods: "npm:~1.1.2"- on-finished: "npm:2.4.1"- parseurl: "npm:~1.3.3"- path-to-regexp: "npm:0.1.10"- proxy-addr: "npm:~2.0.7"- qs: "npm:6.13.0"- range-parser: "npm:~1.2.1"- safe-buffer: "npm:5.2.1"- send: "npm:0.19.0"- serve-static: "npm:1.16.2"- setprototypeof: "npm:1.2.0"- statuses: "npm:2.0.1"- type-is: "npm:~1.6.18"- utils-merge: "npm:1.0.1"- vary: "npm:~1.1.2"- checksum: 10c0/0c287867e5f6129d3def1edd9b63103a53c40d4dc8628839d4b6827e35eb8f0de5a4656f9d85f4457eba584f9871ebb2ad26c750b36bd75d9bbb8bcebdc4892c+"events@npm:^3.2.0":+ version: 3.3.0+ resolution: "events@npm:3.3.0"+ checksum: 10c0/d6b6f2adbccbcda74ddbab52ed07db727ef52e31a61ed26db9feb7dc62af7fc8e060defa65e5f8af9449b86b52cc1a1f6a79f2eafcf4e62add2b7a1fa4a432f6+ languageName: node+ linkType: hard++"execa@npm:^1.0.0":+ version: 1.0.0+ resolution: "execa@npm:1.0.0"+ dependencies:+ cross-spawn: "npm:^6.0.0"+ get-stream: "npm:^4.0.0"+ is-stream: "npm:^1.1.0"+ npm-run-path: "npm:^2.0.0"+ p-finally: "npm:^1.0.0"+ signal-exit: "npm:^3.0.0"+ strip-eof: "npm:^1.0.0"+ checksum: 10c0/cc71707c9aa4a2552346893ee63198bf70a04b5a1bc4f8a0ef40f1d03c319eae80932c59191f037990d7d102193e83a38ec72115fff814ec2fb3099f3661a590+ languageName: node+ linkType: hard++"exit-hook@npm:^4.0.0":+ version: 4.0.0+ resolution: "exit-hook@npm:4.0.0"+ checksum: 10c0/7fb33eaeb9050aee9479da9c93d42b796fb409c40e1d2b6ea2f40786ae7d7db6dc6a0f6ecc7bc24e479f957b7844bcb880044ded73320334743c64e3ecef48d7+ languageName: node+ linkType: hard++"exponential-backoff@npm:^3.1.1":+ version: 3.1.1+ resolution: "exponential-backoff@npm:3.1.1"+ checksum: 10c0/160456d2d647e6019640bd07111634d8c353038d9fa40176afb7cd49b0548bdae83b56d05e907c2cce2300b81cae35d800ef92fefb9d0208e190fa3b7d6bb579languageName: nodelinkType: hard@@ -4895,6 +5093,18 @@ __metadata:languageName: nodelinkType: hard+"fdir@npm:^6.4.4":+ version: 6.4.4+ resolution: "fdir@npm:6.4.4"+ peerDependencies:+ picomatch: ^3 || ^4+ peerDependenciesMeta:+ picomatch:+ optional: true+ checksum: 10c0/6ccc33be16945ee7bc841e1b4178c0b4cf18d3804894cb482aa514651c962a162f96da7ffc6ebfaf0df311689fb70091b04dd6caffe28d56b9ebdc0e7ccadfdd+ languageName: node+ linkType: hard+"file-entry-cache@npm:^6.0.1":version: 6.0.1resolution: "file-entry-cache@npm:6.0.1"@@ -4922,21 +5132,6 @@ __metadata:languageName: nodelinkType: hard-"finalhandler@npm:1.2.0":- version: 1.2.0- resolution: "finalhandler@npm:1.2.0"- dependencies:- debug: "npm:2.6.9"- encodeurl: "npm:~1.0.2"- escape-html: "npm:~1.0.3"- on-finished: "npm:2.4.1"- parseurl: "npm:~1.3.3"- statuses: "npm:2.0.1"- unpipe: "npm:~1.0.0"- checksum: 10c0/64b7e5ff2ad1fcb14931cd012651631b721ce657da24aedb5650ddde9378bf8e95daa451da43398123f5de161a81e79ff5affe4f9f2a6d2df4a813d6d3e254b7- languageName: node- linkType: hard-"finalhandler@npm:1.3.1":version: 1.3.1resolution: "finalhandler@npm:1.3.1"@@ -5057,7 +5252,17 @@ __metadata:languageName: nodelinkType: hard-"fsevents@npm:~2.3.2":+"fsevents@npm:2.3.2":+ version: 2.3.2+ resolution: "fsevents@npm:2.3.2"+ dependencies:+ node-gyp: "npm:latest"+ checksum: 10c0/be78a3efa3e181cda3cf7a4637cb527bcebb0bd0ea0440105a3bb45b86f9245b307dc10a2507e8f4498a7d4ec349d1910f4d73e4d4495b16103106e07eee735b+ conditions: os=darwin+ languageName: node+ linkType: hard++"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3":version: 2.3.3resolution: "fsevents@npm:2.3.3"dependencies:@@ -5067,7 +5272,16 @@ __metadata:languageName: nodelinkType: hard-"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin<compat/fsevents>":+"fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin<compat/fsevents>":+ version: 2.3.2+ resolution: "fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin<compat/fsevents>::version=2.3.2&hash=df0bf1"+ dependencies:+ node-gyp: "npm:latest"+ conditions: os=darwin+ languageName: node+ linkType: hard++"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin<compat/fsevents>, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin<compat/fsevents>":version: 2.3.3resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"dependencies:@@ -5143,6 +5357,34 @@ __metadata:languageName: nodelinkType: hard+"get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.3.0":+ version: 1.3.0+ resolution: "get-intrinsic@npm:1.3.0"+ dependencies:+ call-bind-apply-helpers: "npm:^1.0.2"+ es-define-property: "npm:^1.0.1"+ es-errors: "npm:^1.3.0"+ es-object-atoms: "npm:^1.1.1"+ function-bind: "npm:^1.1.2"+ get-proto: "npm:^1.0.1"+ gopd: "npm:^1.2.0"+ has-symbols: "npm:^1.1.0"+ hasown: "npm:^2.0.2"+ math-intrinsics: "npm:^1.1.0"+ checksum: 10c0/52c81808af9a8130f581e6a6a83e1ba4a9f703359e7a438d1369a5267a25412322f03dcbd7c549edaef0b6214a0630a28511d7df0130c93cfd380f4fa0b5b66a+ languageName: node+ linkType: hard++"get-proto@npm:^1.0.1":+ version: 1.0.1+ resolution: "get-proto@npm:1.0.1"+ dependencies:+ dunder-proto: "npm:^1.0.1"+ es-object-atoms: "npm:^1.0.0"+ checksum: 10c0/9224acb44603c5526955e83510b9da41baf6ae73f7398875fba50edc5e944223a89c4a72b070fcd78beb5f7bdda58ecb6294adc28f7acfc0da05f76a2399643c+ languageName: node+ linkType: hard+"get-stream@npm:^4.0.0":version: 4.1.0resolution: "get-stream@npm:4.1.0"@@ -5152,7 +5394,7 @@ __metadata:languageName: nodelinkType: hard-"get-stream@npm:^6.0.0, get-stream@npm:^6.0.1":+"get-stream@npm:^6.0.1":version: 6.0.1resolution: "get-stream@npm:6.0.1"checksum: 10c0/49825d57d3fd6964228e6200a58169464b8e8970489b3acdc24906c782fb7f01f9f56f8e6653c4a50713771d6658f7cfe051e5eb8c12e334138c9c918b296341@@ -5223,22 +5465,6 @@ __metadata:languageName: nodelinkType: hard-"glob@npm:^10.3.7":- version: 10.4.5- resolution: "glob@npm:10.4.5"- dependencies:- foreground-child: "npm:^3.1.0"- jackspeak: "npm:^3.1.2"- minimatch: "npm:^9.0.4"- minipass: "npm:^7.1.2"- package-json-from-dist: "npm:^1.0.0"- path-scurry: "npm:^1.11.1"- bin:- glob: dist/esm/bin.mjs- checksum: 10c0/19a9759ea77b8e3ca0a43c2f07ecddc2ad46216b786bb8f993c445aee80d345925a21e5280c7b7c6c59e860a0154b84e4b2b60321fea92cd3c56b4a7489f160e- languageName: node- linkType: hard-"glob@npm:^7.1.3":version: 7.2.3resolution: "glob@npm:7.2.3"@@ -5319,6 +5545,13 @@ __metadata:languageName: nodelinkType: hard+"gopd@npm:^1.2.0":+ version: 1.2.0+ resolution: "gopd@npm:1.2.0"+ checksum: 10c0/50fff1e04ba2b7737c097358534eacadad1e68d24cccee3272e04e007bed008e68d2614f3987788428fd192a5ae3889d08fb2331417e4fc4a9ab366b2043cead+ languageName: node+ linkType: hard+"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6":version: 4.2.11resolution: "graceful-fs@npm:4.2.11"@@ -5379,15 +5612,6 @@ __metadata:languageName: nodelinkType: hard-"has-property-descriptors@npm:^1.0.2":- version: 1.0.2- resolution: "has-property-descriptors@npm:1.0.2"- dependencies:- es-define-property: "npm:^1.0.0"- checksum: 10c0/253c1f59e80bb476cf0dde8ff5284505d90c3bdb762983c3514d36414290475fe3fd6f574929d84de2a8eec00d35cf07cb6776205ff32efd7c50719125f00236- languageName: node- linkType: hard-"has-proto@npm:^1.0.1":version: 1.0.1resolution: "has-proto@npm:1.0.1"@@ -5402,6 +5626,13 @@ __metadata:languageName: nodelinkType: hard+"has-symbols@npm:^1.1.0":+ version: 1.1.0+ resolution: "has-symbols@npm:1.1.0"+ checksum: 10c0/dde0a734b17ae51e84b10986e651c664379018d10b91b6b0e9b293eddb32f0f069688c841fb40f19e9611546130153e0a2a48fd7f512891fb000ddfa36f5a20e+ languageName: node+ linkType: hard+"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.1":version: 1.0.2resolution: "has-tostringtag@npm:1.0.2"@@ -5420,6 +5651,15 @@ __metadata:languageName: nodelinkType: hard+"hasown@npm:^2.0.2":+ version: 2.0.2+ resolution: "hasown@npm:2.0.2"+ dependencies:+ function-bind: "npm:^1.1.2"+ checksum: 10c0/3769d434703b8ac66b209a4cca0737519925bbdb61dd887f93a16372b14694c63ff4e797686d87c90f08168e81082248b9b028bad60d4da9e0d1148766f56eb9+ languageName: node+ linkType: hard+"he@npm:^1.2.0":version: 1.2.0resolution: "he@npm:1.2.0"@@ -5441,13 +5681,6 @@ __metadata:languageName: nodelinkType: hard-"html-entities@npm:^2.4.0":- version: 2.5.2- resolution: "html-entities@npm:2.5.2"- checksum: 10c0/f20ffb4326606245c439c231de40a7c560607f639bf40ffbfb36b4c70729fd95d7964209045f1a4e62fe17f2364cef3d6e49b02ea09016f207fde51c2211e481- languageName: node- linkType: hard-"html-escaper@npm:^2.0.2":version: 2.0.2resolution: "html-escaper@npm:2.0.2"@@ -5568,42 +5801,6 @@ __metadata:languageName: nodelinkType: hard-"http-proxy-middleware@npm:^2.0.3":- version: 2.0.6- resolution: "http-proxy-middleware@npm:2.0.6"- dependencies:- "@types/http-proxy": "npm:^1.17.8"- http-proxy: "npm:^1.18.1"- is-glob: "npm:^4.0.1"- is-plain-obj: "npm:^3.0.0"- micromatch: "npm:^4.0.2"- peerDependencies:- "@types/express": ^4.17.13- peerDependenciesMeta:- "@types/express":- optional: true- checksum: 10c0/25a0e550dd1900ee5048a692e0e9b2b6339d06d487a705d90c47e359e9c6561d648cd7862d001d090e651c9efffa1b6e5160fcf1f299b5fa4935f76e9754eb11- languageName: node- linkType: hard--"http-proxy-middleware@npm:^2.0.6":- version: 2.0.7- resolution: "http-proxy-middleware@npm:2.0.7"- dependencies:- "@types/http-proxy": "npm:^1.17.8"- http-proxy: "npm:^1.18.1"- is-glob: "npm:^4.0.1"- is-plain-obj: "npm:^3.0.0"- micromatch: "npm:^4.0.2"- peerDependencies:- "@types/express": ^4.17.13- peerDependenciesMeta:- "@types/express":- optional: true- checksum: 10c0/8d00a61eb215b83826460b07489d8bb095368ec16e02a9d63e228dcf7524e7c20d61561e5476de1391aecd4ec32ea093279cdc972115b311f8e0a95a24c9e47e- languageName: node- linkType: hard-"http-proxy-middleware@npm:^2.0.9":version: 2.0.9resolution: "http-proxy-middleware@npm:2.0.9"@@ -5643,13 +5840,6 @@ __metadata:languageName: nodelinkType: hard-"human-signals@npm:^2.1.0":- version: 2.1.0- resolution: "human-signals@npm:2.1.0"- checksum: 10c0/695edb3edfcfe9c8b52a76926cd31b36978782062c0ed9b1192b36bebc75c4c87c82e178dfcb0ed0fc27ca59d434198aac0bd0be18f5781ded775604db22304a- languageName: node- linkType: hard-"hyperdyperid@npm:^1.2.0":version: 1.2.0resolution: "hyperdyperid@npm:1.2.0"@@ -6039,13 +6229,6 @@ __metadata:languageName: nodelinkType: hard-"is-stream@npm:^2.0.0":- version: 2.0.1- resolution: "is-stream@npm:2.0.1"- checksum: 10c0/7c284241313fc6efc329b8d7f08e16c0efeb6baab1b4cd0ba579eb78e5af1aa5da11e68559896a2067cd6c526bd29241dda4eb1225e627d5aa1a89a76d4635a5- languageName: node- linkType: hard-"is-string@npm:^1.0.5, is-string@npm:^1.0.7":version: 1.0.7resolution: "is-string@npm:1.0.7"@@ -6146,19 +6329,6 @@ __metadata:languageName: nodelinkType: hard-"jackspeak@npm:^3.1.2":- version: 3.4.3- resolution: "jackspeak@npm:3.4.3"- dependencies:- "@isaacs/cliui": "npm:^8.0.2"- "@pkgjs/parseargs": "npm:^0.11.0"- dependenciesMeta:- "@pkgjs/parseargs":- optional: true- checksum: 10c0/6acc10d139eaefdbe04d2f679e6191b3abf073f111edf10b1de5302c97ec93fffeb2fdd8681ed17f16268aa9dd4f8c588ed9d1d3bffbbfa6e8bf897cbb3149b9- languageName: node- linkType: hard-"jest-worker@npm:^27.4.5":version: 27.5.1resolution: "jest-worker@npm:27.5.1"@@ -6289,12 +6459,12 @@ __metadata:linkType: hard"launch-editor@npm:^2.6.1":- version: 2.9.1- resolution: "launch-editor@npm:2.9.1"+ version: 2.11.0+ resolution: "launch-editor@npm:2.11.0"dependencies:- picocolors: "npm:^1.0.0"- shell-quote: "npm:^1.8.1"- checksum: 10c0/891f1d136ed8e4ea12e16c196a0d2e07f23c7b983e3ab532b2be1775fb244909581507cce97c50f9d5ca92680b53e4a75c72ddcf20184aa6c4da6ebbe87703f5+ picocolors: "npm:^1.1.1"+ shell-quote: "npm:^1.8.3"+ checksum: 10c0/999b7816941398089bbf97919aeacab3dfac80230c5e59d491f23327786ee1ad24058b017eafb9e2d8f84384bb017a7b525ead718a30517b0efae9889a00fcc0languageName: nodelinkType: hard@@ -6496,13 +6666,6 @@ __metadata:languageName: nodelinkType: hard-"lru-cache@npm:^10.2.0":- version: 10.4.3- resolution: "lru-cache@npm:10.4.3"- checksum: 10c0/ebd04fbca961e6c1d6c0af3799adcc966a1babe798f685bb84e6599266599cd95d94630b10262f5424539bc4640107e8a33aa28585374abf561d30d16f4b39fb- languageName: node- linkType: hard-"lru-cache@npm:^6.0.0":version: 6.0.0resolution: "lru-cache@npm:6.0.0"@@ -6577,6 +6740,13 @@ __metadata:languageName: nodelinkType: hard+"math-intrinsics@npm:^1.1.0":+ version: 1.1.0+ resolution: "math-intrinsics@npm:1.1.0"+ checksum: 10c0/7579ff94e899e2f76ab64491d76cf606274c874d8f2af4a442c016bd85688927fcfca157ba6bf74b08e9439dc010b248ce05b96cc7c126a354c3bae7fcb48b7f+ languageName: node+ linkType: hard+"media-typer@npm:0.3.0":version: 0.3.0resolution: "media-typer@npm:0.3.0"@@ -6585,21 +6755,14 @@ __metadata:linkType: hard"memfs@npm:^4.6.0":- version: 4.14.0- resolution: "memfs@npm:4.14.0"+ version: 4.28.0+ resolution: "memfs@npm:4.28.0"dependencies:"@jsonjoy.com/json-pack": "npm:^1.0.3""@jsonjoy.com/util": "npm:^1.3.0"tree-dump: "npm:^1.0.1"tslib: "npm:^2.0.0"- checksum: 10c0/d1de2e4b3c269f5b5f27b63f60bb8ea9ae5800843776e0bed4548f2957dcd55237ac5eab3a5ffe0d561a6be53e42c055a7bc79efc1613563b14e14c287ef3b0a- languageName: node- linkType: hard--"merge-descriptors@npm:1.0.1":- version: 1.0.1- resolution: "merge-descriptors@npm:1.0.1"- checksum: 10c0/b67d07bd44cfc45cebdec349bb6e1f7b077ee2fd5beb15d1f7af073849208cb6f144fe403e29a36571baf3f4e86469ac39acf13c318381e958e186b2766f54ec+ checksum: 10c0/d068682bcee49db56d060749d8dab19a7bcb63cf01fdb14eda7b2cfef821d7dcea77adfc38a42b736d7747ddbb537f206c11aef2c4f96897102fb7ba41851e46languageName: nodelinkType: hard@@ -6631,23 +6794,23 @@ __metadata:languageName: nodelinkType: hard-"micromatch@npm:^4.0.0, micromatch@npm:^4.0.8":- version: 4.0.8- resolution: "micromatch@npm:4.0.8"+"micromatch@npm:^4.0.0, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4":+ version: 4.0.5+ resolution: "micromatch@npm:4.0.5"dependencies:- braces: "npm:^3.0.3"+ braces: "npm:^3.0.2"picomatch: "npm:^2.3.1"- checksum: 10c0/166fa6eb926b9553f32ef81f5f531d27b4ce7da60e5baf8c021d043b27a388fb95e46a8038d5045877881e673f8134122b59624d5cecbd16eb50a42e7a6b5ca8+ checksum: 10c0/3d6505b20f9fa804af5d8c596cb1c5e475b9b0cd05f652c5b56141cf941bd72adaeb7a436fda344235cef93a7f29b7472efc779fcdb83b478eab0867b95cdefflanguageName: nodelinkType: hard-"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4":- version: 4.0.5- resolution: "micromatch@npm:4.0.5"+"micromatch@npm:^4.0.8":+ version: 4.0.8+ resolution: "micromatch@npm:4.0.8"dependencies:- braces: "npm:^3.0.2"+ braces: "npm:^3.0.3"picomatch: "npm:^2.3.1"- checksum: 10c0/3d6505b20f9fa804af5d8c596cb1c5e475b9b0cd05f652c5b56141cf941bd72adaeb7a436fda344235cef93a7f29b7472efc779fcdb83b478eab0867b95cdeff+ checksum: 10c0/166fa6eb926b9553f32ef81f5f531d27b4ce7da60e5baf8c021d043b27a388fb95e46a8038d5045877881e673f8134122b59624d5cecbd16eb50a42e7a6b5ca8languageName: nodelinkType: hard@@ -6658,7 +6821,7 @@ __metadata:languageName: nodelinkType: hard-"mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:^2.1.35, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34":+"mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34":version: 2.1.35resolution: "mime-types@npm:2.1.35"dependencies:@@ -6676,13 +6839,6 @@ __metadata:languageName: nodelinkType: hard-"mimic-fn@npm:^2.1.0":- version: 2.1.0- resolution: "mimic-fn@npm:2.1.0"- checksum: 10c0/b26f5479d7ec6cc2bce275a08f146cf78f5e7b661b18114e2506dd91ec7ec47e7a25bf4360e5438094db0560bcc868079fb3b1fb3892b833c1ecbf63f80c95a4- languageName: node- linkType: hard-"minimalistic-assert@npm:^1.0.0":version: 1.0.1resolution: "minimalistic-assert@npm:1.0.1"@@ -6708,15 +6864,6 @@ __metadata:languageName: nodelinkType: hard-"minimatch@npm:^9.0.4":- version: 9.0.5- resolution: "minimatch@npm:9.0.5"- dependencies:- brace-expansion: "npm:^2.0.1"- checksum: 10c0/de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed- languageName: node- linkType: hard-"minimist@npm:^1.2.0, minimist@npm:^1.2.6, minimist@npm:^1.2.8":version: 1.2.8resolution: "minimist@npm:1.2.8"@@ -6798,13 +6945,6 @@ __metadata:languageName: nodelinkType: hard-"minipass@npm:^7.1.2":- version: 7.1.2- resolution: "minipass@npm:7.1.2"- checksum: 10c0/b0fd20bb9fb56e5fa9a8bfac539e8915ae07430a619e4b86ff71f5fc757ef3924b23b2c4230393af1eda647ed3d75739e4e0acb250a6b1eb277cf7f8fe449557- languageName: node- linkType: hard-"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2":version: 2.1.2resolution: "minizlib@npm:2.1.2"@@ -6838,13 +6978,6 @@ __metadata:languageName: nodelinkType: hard-"mrmime@npm:^1.0.0":- version: 1.0.1- resolution: "mrmime@npm:1.0.1"- checksum: 10c0/ab071441da76fd23b3b0d1823d77aacf8679d379a4a94cacd83e487d3d906763b277f3203a594c613602e31ab5209c26a8119b0477c4541ef8555b293a9db6d3- languageName: node- linkType: hard-"mrmime@npm:^2.0.0":version: 2.0.1resolution: "mrmime@npm:2.0.1"@@ -6908,6 +7041,15 @@ __metadata:languageName: nodelinkType: hard+"nanoid@npm:^3.3.7":+ version: 3.3.7+ resolution: "nanoid@npm:3.3.7"+ bin:+ nanoid: bin/nanoid.cjs+ checksum: 10c0/e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3+ languageName: node+ linkType: hard+"nanoid@npm:^3.3.8":version: 3.3.11resolution: "nanoid@npm:3.3.11"@@ -7044,15 +7186,6 @@ __metadata:languageName: nodelinkType: hard-"npm-run-path@npm:^4.0.1":- version: 4.0.1- resolution: "npm-run-path@npm:4.0.1"- dependencies:- path-key: "npm:^3.0.0"- checksum: 10c0/6f9353a95288f8455cf64cbeb707b28826a7f29690244c1e4bb61ec573256e021b6ad6651b394eb1ccfd00d6ec50147253aba2c5fe58a57ceb111fad62c519ac- languageName: node- linkType: hard-"nth-check@npm:^2.0.1":version: 2.1.1resolution: "nth-check@npm:2.1.1"@@ -7069,6 +7202,13 @@ __metadata:languageName: nodelinkType: hard+"object-inspect@npm:^1.13.3":+ version: 1.13.4+ resolution: "object-inspect@npm:1.13.4"+ checksum: 10c0/d7f8711e803b96ea3191c745d6f8056ce1f2496e530e6a19a0e92d89b0fa3c76d910c31f0aa270432db6bd3b2f85500a376a83aaba849a8d518c8845b3211692+ languageName: node+ linkType: hard+"object-keys@npm:^1.1.1":version: 1.1.1resolution: "object-keys@npm:1.1.1"@@ -7155,24 +7295,15 @@ __metadata:languageName: nodelinkType: hard-"onetime@npm:^5.1.2":- version: 5.1.2- resolution: "onetime@npm:5.1.2"- dependencies:- mimic-fn: "npm:^2.1.0"- checksum: 10c0/ffcef6fbb2692c3c40749f31ea2e22677a876daea92959b8a80b521d95cca7a668c884d8b2045d1d8ee7d56796aa405c405462af112a1477594cc63531baeb8f- languageName: node- linkType: hard-"open@npm:^10.0.3":- version: 10.1.0- resolution: "open@npm:10.1.0"+ version: 10.2.0+ resolution: "open@npm:10.2.0"dependencies:default-browser: "npm:^5.2.1"define-lazy-prop: "npm:^3.0.0"is-inside-container: "npm:^1.0.0"- is-wsl: "npm:^3.1.0"- checksum: 10c0/c86d0b94503d5f735f674158d5c5d339c25ec2927562f00ee74590727292ed23e1b8d9336cb41ffa7e1fa4d3641d29b199b4ea37c78cb557d72b511743e90ebb+ wsl-utils: "npm:^0.1.0"+ checksum: 10c0/5a36d0c1fd2f74ce553beb427ca8b8494b623fc22c6132d0c1688f246a375e24584ea0b44c67133d9ab774fa69be8e12fbe1ff12504b1142bd960fb09671948flanguageName: nodelinkType: hard@@ -7189,6 +7320,7 @@ __metadata:version: 0.0.0-use.localresolution: "openremote@workspace:."dependencies:+ "@openremote/test": "workspace:*""@openremote/util": "workspace:*"languageName: unknownlinkType: soft@@ -7241,16 +7373,6 @@ __metadata:languageName: nodelinkType: hard-"p-retry@npm:4.6.2":- version: 4.6.2- resolution: "p-retry@npm:4.6.2"- dependencies:- "@types/retry": "npm:0.12.0"- retry: "npm:^0.13.1"- checksum: 10c0/d58512f120f1590cfedb4c2e0c42cb3fa66f3cea8a4646632fcb834c56055bb7a6f138aa57b20cc236fb207c9d694e362e0b5c2b14d9b062f67e8925580c73b0- languageName: node- linkType: hard-"p-retry@npm:^6.2.0":version: 6.2.1resolution: "p-retry@npm:6.2.1"@@ -7262,13 +7384,6 @@ __metadata:languageName: nodelinkType: hard-"package-json-from-dist@npm:^1.0.0":- version: 1.0.1- resolution: "package-json-from-dist@npm:1.0.1"- checksum: 10c0/62ba2785eb655fec084a257af34dbe24292ab74516d6aecef97ef72d4897310bc6898f6c85b5cd22770eaa1ce60d55a0230e150fb6a966e3ecd6c511e23d164b- languageName: node- linkType: hard-"param-case@npm:^3.0.4":version: 3.0.4resolution: "param-case@npm:3.0.4"@@ -7326,7 +7441,7 @@ __metadata:languageName: nodelinkType: hard-"path-key@npm:^3.0.0, path-key@npm:^3.1.0":+"path-key@npm:^3.1.0":version: 3.1.1resolution: "path-key@npm:3.1.1"checksum: 10c0/748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c@@ -7350,23 +7465,6 @@ __metadata:languageName: nodelinkType: hard-"path-scurry@npm:^1.11.1":- version: 1.11.1- resolution: "path-scurry@npm:1.11.1"- dependencies:- lru-cache: "npm:^10.2.0"- minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0"- checksum: 10c0/32a13711a2a505616ae1cc1b5076801e453e7aae6ac40ab55b388bb91b9d0547a52f5aaceff710ea400205f18691120d4431e520afbe4266b836fadede15872d- languageName: node- linkType: hard--"path-to-regexp@npm:0.1.10":- version: 0.1.10- resolution: "path-to-regexp@npm:0.1.10"- checksum: 10c0/34196775b9113ca6df88e94c8d83ba82c0e1a2063dd33bfe2803a980da8d49b91db8104f49d5191b44ea780d46b8670ce2b7f4a5e349b0c48c6779b653f1afe4- languageName: node- linkType: hard-"path-to-regexp@npm:0.1.12":version: 0.1.12resolution: "path-to-regexp@npm:0.1.12"@@ -7374,13 +7472,6 @@ __metadata:languageName: nodelinkType: hard-"path-to-regexp@npm:0.1.7":- version: 0.1.7- resolution: "path-to-regexp@npm:0.1.7"- checksum: 10c0/50a1ddb1af41a9e68bd67ca8e331a705899d16fb720a1ea3a41e310480948387daf603abb14d7b0826c58f10146d49050a1291ba6a82b78a382d1c02c0b8f905- languageName: node- linkType: hard-"path-type@npm:^4.0.0":version: 4.0.0resolution: "path-type@npm:4.0.0"@@ -7421,6 +7512,13 @@ __metadata:languageName: nodelinkType: hard+"picomatch@npm:^4.0.2":+ version: 4.0.2+ resolution: "picomatch@npm:4.0.2"+ checksum: 10c0/7c51f3ad2bb42c776f49ebf964c644958158be30d0a510efd5a395e8d49cb5acfed5b82c0c5b365523ce18e6ab85013c9ebe574f60305892ec3fa8eee8304ccc+ languageName: node+ linkType: hard+"platform@npm:^1.3.6":version: 1.3.6resolution: "platform@npm:1.3.6"@@ -7428,6 +7526,39 @@ __metadata:languageName: nodelinkType: hard+"playwright-core@npm:1.54.2":+ version: 1.54.2+ resolution: "playwright-core@npm:1.54.2"+ bin:+ playwright-core: cli.js+ checksum: 10c0/44850e20bf35237c8c3dedf1096c655f8af939dde53c5469f72cae3dd744966858a302419b909a73d7a2093323123e7ebcc0fdd55151b4193afb7812c1fd2c88+ languageName: node+ linkType: hard++"playwright@npm:1.54.2":+ version: 1.54.2+ resolution: "playwright@npm:1.54.2"+ dependencies:+ fsevents: "npm:2.3.2"+ playwright-core: "npm:1.54.2"+ dependenciesMeta:+ fsevents:+ optional: true+ bin:+ playwright: cli.js+ checksum: 10c0/6f642fa70179eee5d5bf8a90df2a6147c9638ff926f4f3ad0a0517396b8a3fe00ccebf13377e032a75b3f0b2610ec1562293e0cfc3bde234181c7a50af8af80a+ languageName: node+ linkType: hard++"postcss-modules-extract-imports@npm:^3.0.0":+ version: 3.0.0+ resolution: "postcss-modules-extract-imports@npm:3.0.0"+ peerDependencies:+ postcss: ^8.1.0+ checksum: 10c0/f8879d66d8162fb7a3fcd916d37574006c584ea509107b1cfb798a5e090175ef9470f601e46f0a305070d8ff2500e07489a5c1ac381c29a1dc1120e827ca7943+ languageName: node+ linkType: hard+"postcss-modules-extract-imports@npm:^3.1.0":version: 3.1.0resolution: "postcss-modules-extract-imports@npm:3.1.0"@@ -7437,6 +7568,19 @@ __metadata:languageName: nodelinkType: hard+"postcss-modules-local-by-default@npm:^4.0.4":+ version: 4.0.4+ resolution: "postcss-modules-local-by-default@npm:4.0.4"+ dependencies:+ icss-utils: "npm:^5.0.0"+ postcss-selector-parser: "npm:^6.0.2"+ postcss-value-parser: "npm:^4.1.0"+ peerDependencies:+ postcss: ^8.1.0+ checksum: 10c0/9ebf464867eb10b29b73501b1466dcac8352ed852ef68ec23571f515daa74401d7ace9a6c72f354542081fdbb47d098c9bc6b05373b553a6e35779d072f967bb+ languageName: node+ linkType: hard+"postcss-modules-local-by-default@npm:^4.0.5":version: 4.2.0resolution: "postcss-modules-local-by-default@npm:4.2.0"@@ -7450,6 +7594,17 @@ __metadata:languageName: nodelinkType: hard+"postcss-modules-scope@npm:^3.1.1":+ version: 3.1.1+ resolution: "postcss-modules-scope@npm:3.1.1"+ dependencies:+ postcss-selector-parser: "npm:^6.0.4"+ peerDependencies:+ postcss: ^8.1.0+ checksum: 10c0/3ef6ac14fcda1581bc43e37622256bd87b99ea49c59b2aae648d057d57f5ecc634648cce9910166220a797567af674bc09246ccc010f1dd58d2863b805719109+ languageName: node+ linkType: hard+"postcss-modules-scope@npm:^3.2.0":version: 3.2.1resolution: "postcss-modules-scope@npm:3.2.1"@@ -7472,6 +7627,16 @@ __metadata:languageName: nodelinkType: hard+"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4":+ version: 6.0.15+ resolution: "postcss-selector-parser@npm:6.0.15"+ dependencies:+ cssesc: "npm:^3.0.0"+ util-deprecate: "npm:^1.0.2"+ checksum: 10c0/48b425d6cef497bcf6b7d136f6fd95cfca43026955e07ec9290d3c15457de3a862dbf251dd36f42c07a0d5b5ab6f31e41acefeff02528995a989b955505e440b+ languageName: node+ linkType: hard+"postcss-selector-parser@npm:^7.0.0":version: 7.1.0resolution: "postcss-selector-parser@npm:7.1.0"@@ -7490,6 +7655,17 @@ __metadata:linkType: hard"postcss@npm:^8.4.33":+ version: 8.4.34+ resolution: "postcss@npm:8.4.34"+ dependencies:+ nanoid: "npm:^3.3.7"+ picocolors: "npm:^1.0.0"+ source-map-js: "npm:^1.0.2"+ checksum: 10c0/4d6f072cdfdc1ced16b4336263d830f8b4397fc47b9b382e02f6448fda9386d881aa9d27fbe0dd124f59c76f3a5da4f360919d25dfc818eca50b48f042af35a8+ languageName: node+ linkType: hard++"postcss@npm:^8.5.3":version: 8.5.3resolution: "postcss@npm:8.5.3"dependencies:@@ -7575,12 +7751,12 @@ __metadata:linkType: hard"pump@npm:^3.0.0":- version: 3.0.2- resolution: "pump@npm:3.0.2"+ version: 3.0.3+ resolution: "pump@npm:3.0.3"dependencies:end-of-stream: "npm:^1.1.0"once: "npm:^1.3.1"- checksum: 10c0/5ad655cb2a7738b4bcf6406b24ad0970d680649d996b55ad20d1be8e0c02394034e4c45ff7cd105d87f1e9b96a0e3d06fd28e11fae8875da26e7f7a8e2c9726f+ checksum: 10c0/ada5cdf1d813065bbc99aa2c393b8f6beee73b5de2890a8754c9f488d7323ffd2ca5f5a0943b48934e3fcbd97637d0337369c3c631aeb9614915db629f1c75c9languageName: nodelinkType: hard@@ -7605,15 +7781,6 @@ __metadata:languageName: nodelinkType: hard-"qs@npm:6.11.0":- version: 6.11.0- resolution: "qs@npm:6.11.0"- dependencies:- side-channel: "npm:^1.0.4"- checksum: 10c0/4e4875e4d7c7c31c233d07a448e7e4650f456178b9dd3766b7cfa13158fdb24ecb8c4f059fa91e820dc6ab9f2d243721d071c9c0378892dcdad86e9e9a27c68f- languageName: node- linkType: hard-"qs@npm:6.13.0":version: 6.13.0resolution: "qs@npm:6.13.0"@@ -7669,18 +7836,6 @@ __metadata:languageName: nodelinkType: hard-"raw-body@npm:2.5.1":- version: 2.5.1- resolution: "raw-body@npm:2.5.1"- dependencies:- bytes: "npm:3.1.2"- http-errors: "npm:2.0.0"- iconv-lite: "npm:0.4.24"- unpipe: "npm:1.0.0"- checksum: 10c0/5dad5a3a64a023b894ad7ab4e5c7c1ce34d3497fc7138d02f8c88a3781e68d8a55aa7d4fd3a458616fa8647cc228be314a1c03fb430a07521de78b32c4dd09d2- languageName: node- linkType: hard-"raw-body@npm:2.5.2":version: 2.5.2resolution: "raw-body@npm:2.5.2"@@ -7918,14 +8073,78 @@ __metadata:languageName: nodelinkType: hard-"rimraf@npm:^5.0.5":- version: 5.0.10- resolution: "rimraf@npm:5.0.10"- dependencies:- glob: "npm:^10.3.7"+"rollup@npm:^4.34.9":+ version: 4.41.0+ resolution: "rollup@npm:4.41.0"+ dependencies:+ "@rollup/rollup-android-arm-eabi": "npm:4.41.0"+ "@rollup/rollup-android-arm64": "npm:4.41.0"+ "@rollup/rollup-darwin-arm64": "npm:4.41.0"+ "@rollup/rollup-darwin-x64": "npm:4.41.0"+ "@rollup/rollup-freebsd-arm64": "npm:4.41.0"+ "@rollup/rollup-freebsd-x64": "npm:4.41.0"+ "@rollup/rollup-linux-arm-gnueabihf": "npm:4.41.0"+ "@rollup/rollup-linux-arm-musleabihf": "npm:4.41.0"+ "@rollup/rollup-linux-arm64-gnu": "npm:4.41.0"+ "@rollup/rollup-linux-arm64-musl": "npm:4.41.0"+ "@rollup/rollup-linux-loongarch64-gnu": "npm:4.41.0"+ "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.41.0"+ "@rollup/rollup-linux-riscv64-gnu": "npm:4.41.0"+ "@rollup/rollup-linux-riscv64-musl": "npm:4.41.0"+ "@rollup/rollup-linux-s390x-gnu": "npm:4.41.0"+ "@rollup/rollup-linux-x64-gnu": "npm:4.41.0"+ "@rollup/rollup-linux-x64-musl": "npm:4.41.0"+ "@rollup/rollup-win32-arm64-msvc": "npm:4.41.0"+ "@rollup/rollup-win32-ia32-msvc": "npm:4.41.0"+ "@rollup/rollup-win32-x64-msvc": "npm:4.41.0"+ "@types/estree": "npm:1.0.7"+ fsevents: "npm:~2.3.2"+ dependenciesMeta:+ "@rollup/rollup-android-arm-eabi":+ optional: true+ "@rollup/rollup-android-arm64":+ optional: true+ "@rollup/rollup-darwin-arm64":+ optional: true+ "@rollup/rollup-darwin-x64":+ optional: true+ "@rollup/rollup-freebsd-arm64":+ optional: true+ "@rollup/rollup-freebsd-x64":+ optional: true+ "@rollup/rollup-linux-arm-gnueabihf":+ optional: true+ "@rollup/rollup-linux-arm-musleabihf":+ optional: true+ "@rollup/rollup-linux-arm64-gnu":+ optional: true+ "@rollup/rollup-linux-arm64-musl":+ optional: true+ "@rollup/rollup-linux-loongarch64-gnu":+ optional: true+ "@rollup/rollup-linux-powerpc64le-gnu":+ optional: true+ "@rollup/rollup-linux-riscv64-gnu":+ optional: true+ "@rollup/rollup-linux-riscv64-musl":+ optional: true+ "@rollup/rollup-linux-s390x-gnu":+ optional: true+ "@rollup/rollup-linux-x64-gnu":+ optional: true+ "@rollup/rollup-linux-x64-musl":+ optional: true+ "@rollup/rollup-win32-arm64-msvc":+ optional: true+ "@rollup/rollup-win32-ia32-msvc":+ optional: true+ "@rollup/rollup-win32-x64-msvc":+ optional: true+ fsevents:+ optional: truebin:- rimraf: dist/esm/bin.mjs- checksum: 10c0/7da4fd0e15118ee05b918359462cfa1e7fe4b1228c7765195a45b55576e8c15b95db513b8466ec89129666f4af45ad978a3057a02139afba1a63512a2d9644cc+ rollup: dist/bin/rollup+ checksum: 10c0/4c3d361f400317cb18f5e3912553a514bb1dcc7ce0c92ff66b9786b598632eb1d56f7bb1cc11ed16a4ccdbe6808ae851bc6bde5d2305cc587450c6212e69617flanguageName: nodelinkType: hard@@ -8016,7 +8235,7 @@ __metadata:languageName: nodelinkType: hard-"schema-utils@npm:^4.0.0, schema-utils@npm:^4.2.0":+"schema-utils@npm:^4.0.0":version: 4.2.0resolution: "schema-utils@npm:4.2.0"dependencies:@@ -8028,7 +8247,7 @@ __metadata:languageName: nodelinkType: hard-"schema-utils@npm:^4.3.0, schema-utils@npm:^4.3.2":+"schema-utils@npm:^4.2.0, schema-utils@npm:^4.3.0, schema-utils@npm:^4.3.2":version: 4.3.2resolution: "schema-utils@npm:4.3.2"dependencies:@@ -8075,16 +8294,7 @@ __metadata:languageName: nodelinkType: hard-"semver@npm:^7.3.4, semver@npm:^7.5.4":- version: 7.7.1- resolution: "semver@npm:7.7.1"- bin:- semver: bin/semver.js- checksum: 10c0/fd603a6fb9c399c6054015433051bdbe7b99a940a8fb44b85c2b524c4004b023d7928d47cb22154f8d054ea7ee8597f586605e05b52047f048278e4ac56ae958- languageName: node- linkType: hard--"semver@npm:^7.3.5, semver@npm:^7.3.7":+"semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.4":version: 7.6.0resolution: "semver@npm:7.6.0"dependencies:@@ -8095,36 +8305,6 @@ __metadata:languageName: nodelinkType: hard-"semver@npm:^7.6.2":- version: 7.6.3- resolution: "semver@npm:7.6.3"- bin:- semver: bin/semver.js- checksum: 10c0/88f33e148b210c153873cb08cfe1e281d518aaa9a666d4d148add6560db5cd3c582f3a08ccb91f38d5f379ead256da9931234ed122057f40bb5766e65e58adaf- languageName: node- linkType: hard--"send@npm:0.18.0":- version: 0.18.0- resolution: "send@npm:0.18.0"- dependencies:- debug: "npm:2.6.9"- depd: "npm:2.0.0"- destroy: "npm:1.2.0"- encodeurl: "npm:~1.0.2"- escape-html: "npm:~1.0.3"- etag: "npm:~1.8.1"- fresh: "npm:0.5.2"- http-errors: "npm:2.0.0"- mime: "npm:1.6.0"- ms: "npm:2.1.3"- on-finished: "npm:2.4.1"- range-parser: "npm:~1.2.1"- statuses: "npm:2.0.1"- checksum: 10c0/0eb134d6a51fc13bbcb976a1f4214ea1e33f242fae046efc311e80aff66c7a43603e26a79d9d06670283a13000e51be6e0a2cb80ff0942eaf9f1cd30b7ae736a- languageName: node- linkType: hard-"send@npm:0.19.0":version: 0.19.0resolution: "send@npm:0.19.0"@@ -8170,18 +8350,6 @@ __metadata:languageName: nodelinkType: hard-"serve-static@npm:1.15.0":- version: 1.15.0- resolution: "serve-static@npm:1.15.0"- dependencies:- encodeurl: "npm:~1.0.2"- escape-html: "npm:~1.0.3"- parseurl: "npm:~1.3.3"- send: "npm:0.18.0"- checksum: 10c0/fa9f0e21a540a28f301258dfe1e57bb4f81cd460d28f0e973860477dd4acef946a1f41748b5bd41c73b621bea2029569c935faa38578fd34cd42a9b4947088ba- languageName: node- linkType: hard-"serve-static@npm:1.16.2":version: 1.16.2resolution: "serve-static@npm:1.16.2"@@ -8208,20 +8376,6 @@ __metadata:languageName: nodelinkType: hard-"set-function-length@npm:^1.2.1":- version: 1.2.2- resolution: "set-function-length@npm:1.2.2"- dependencies:- define-data-property: "npm:^1.1.4"- es-errors: "npm:^1.3.0"- function-bind: "npm:^1.1.2"- get-intrinsic: "npm:^1.2.4"- gopd: "npm:^1.0.1"- has-property-descriptors: "npm:^1.0.2"- checksum: 10c0/82850e62f412a258b71e123d4ed3873fa9377c216809551192bb6769329340176f109c2eeae8c22a8d386c76739855f78e8716515c818bcaef384b51110f0f3c- languageName: node- linkType: hard-"set-function-name@npm:^2.0.0":version: 2.0.1resolution: "set-function-name@npm:2.0.1"@@ -8291,10 +8445,10 @@ __metadata:languageName: nodelinkType: hard-"shell-quote@npm:^1.8.1":- version: 1.8.1- resolution: "shell-quote@npm:1.8.1"- checksum: 10c0/8cec6fd827bad74d0a49347057d40dfea1e01f12a6123bf82c4649f3ef152fc2bc6d6176e6376bffcd205d9d0ccb4f1f9acae889384d20baff92186f01ea455a+"shell-quote@npm:^1.8.3":+ version: 1.8.3+ resolution: "shell-quote@npm:1.8.3"+ checksum: 10c0/bee87c34e1e986cfb4c30846b8e6327d18874f10b535699866f368ade11ea4ee45433d97bf5eada22c4320c27df79c3a6a7eb1bf3ecfc47f2c997d9e5e2672fdlanguageName: nodelinkType: hard@@ -8333,6 +8487,41 @@ __metadata:languageName: nodelinkType: hard+"side-channel-list@npm:^1.0.0":+ version: 1.0.0+ resolution: "side-channel-list@npm:1.0.0"+ dependencies:+ es-errors: "npm:^1.3.0"+ object-inspect: "npm:^1.13.3"+ checksum: 10c0/644f4ac893456c9490ff388bf78aea9d333d5e5bfc64cfb84be8f04bf31ddc111a8d4b83b85d7e7e8a7b845bc185a9ad02c052d20e086983cf59f0be517d9b3d+ languageName: node+ linkType: hard++"side-channel-map@npm:^1.0.1":+ version: 1.0.1+ resolution: "side-channel-map@npm:1.0.1"+ dependencies:+ call-bound: "npm:^1.0.2"+ es-errors: "npm:^1.3.0"+ get-intrinsic: "npm:^1.2.5"+ object-inspect: "npm:^1.13.3"+ checksum: 10c0/010584e6444dd8a20b85bc926d934424bd809e1a3af941cace229f7fdcb751aada0fb7164f60c2e22292b7fa3c0ff0bce237081fd4cdbc80de1dc68e95430672+ languageName: node+ linkType: hard++"side-channel-weakmap@npm:^1.0.2":+ version: 1.0.2+ resolution: "side-channel-weakmap@npm:1.0.2"+ dependencies:+ call-bound: "npm:^1.0.2"+ es-errors: "npm:^1.3.0"+ get-intrinsic: "npm:^1.2.5"+ object-inspect: "npm:^1.13.3"+ side-channel-map: "npm:^1.0.1"+ checksum: 10c0/71362709ac233e08807ccd980101c3e2d7efe849edc51455030327b059f6c4d292c237f94dc0685031dd11c07dd17a68afde235d6cf2102d949567f98ab58185+ languageName: node+ linkType: hard+"side-channel@npm:^1.0.4":version: 1.0.5resolution: "side-channel@npm:1.0.5"@@ -8346,18 +8535,19 @@ __metadata:linkType: hard"side-channel@npm:^1.0.6":- version: 1.0.6- resolution: "side-channel@npm:1.0.6"+ version: 1.1.0+ resolution: "side-channel@npm:1.1.0"dependencies:- call-bind: "npm:^1.0.7"es-errors: "npm:^1.3.0"- get-intrinsic: "npm:^1.2.4"- object-inspect: "npm:^1.13.1"- checksum: 10c0/d2afd163dc733cc0a39aa6f7e39bf0c436293510dbccbff446733daeaf295857dbccf94297092ec8c53e2503acac30f0b78830876f0485991d62a90e9cad305f+ object-inspect: "npm:^1.13.3"+ side-channel-list: "npm:^1.0.0"+ side-channel-map: "npm:^1.0.1"+ side-channel-weakmap: "npm:^1.0.2"+ checksum: 10c0/cb20dad41eb032e6c24c0982e1e5a24963a28aa6122b4f05b3f3d6bf8ae7fd5474ef382c8f54a6a3ab86e0cac4d41a23bd64ede3970e5bfb50326ba02a7996e6languageName: nodelinkType: hard-"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.3":+"signal-exit@npm:^3.0.0":version: 3.0.7resolution: "signal-exit@npm:3.0.7"checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912@@ -8385,17 +8575,6 @@ __metadata:languageName: nodelinkType: hard-"sirv@npm:^1.0.7":- version: 1.0.19- resolution: "sirv@npm:1.0.19"- dependencies:- "@polka/url": "npm:^1.0.0-next.20"- mrmime: "npm:^1.0.0"- totalist: "npm:^1.0.0"- checksum: 10c0/393cc0471e82d3e754a8c1b2b348a86249db1f686aeb11c17e4217326a8b1a96029d9f1b58362ebb3e511b7b98c47cd43c4305dde98322bb1259d07dec2d4908- languageName: node- linkType: hard-"sirv@npm:^2.0.3":version: 2.0.4resolution: "sirv@npm:2.0.4"@@ -8481,14 +8660,14 @@ __metadata:languageName: nodelinkType: hard-"source-map-js@npm:^1.0.1":+"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2":version: 1.0.2resolution: "source-map-js@npm:1.0.2"checksum: 10c0/32f2dfd1e9b7168f9a9715eb1b4e21905850f3b50cf02cf476e47e4eebe8e6b762b63a64357896aa29b37e24922b4282df0f492e0d2ace572b43d15525976ff8languageName: nodelinkType: hard-"source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.1":+"source-map-js@npm:^1.2.1":version: 1.2.1resolution: "source-map-js@npm:1.2.1"checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf@@ -8708,13 +8887,6 @@ __metadata:languageName: nodelinkType: hard-"strip-final-newline@npm:^2.0.0":- version: 2.0.0- resolution: "strip-final-newline@npm:2.0.0"- checksum: 10c0/bddf8ccd47acd85c0e09ad7375409d81653f645fda13227a9d459642277c253d877b68f2e5e4d819fe75733b0e626bac7e954c04f3236f6d196f79c94fa4a96f- languageName: node- linkType: hard-"strip-json-comments@npm:^3.1.1":version: 3.1.1resolution: "strip-json-comments@npm:3.1.1"@@ -8853,16 +9025,16 @@ __metadata:linkType: hard"terser@npm:^5.31.1":- version: 5.39.0- resolution: "terser@npm:5.39.0"+ version: 5.43.1+ resolution: "terser@npm:5.43.1"dependencies:"@jridgewell/source-map": "npm:^0.3.3"- acorn: "npm:^8.8.2"+ acorn: "npm:^8.14.0"commander: "npm:^2.20.0"source-map-support: "npm:~0.5.20"bin:terser: bin/terser- checksum: 10c0/83326545ea1aecd6261030568b6191ccfa4cb6aa61d9ea41746a52479f50017a78b77e4725fbbc207c5df841ffa66a773c5ac33636e95c7ab94fe7e0379ae5c7+ checksum: 10c0/9cd3fa09ea6bcb79eb71995216b8bef0651b18c5c3877535fc699a77e1ab43b140a4da5811ac9baeb654fa9ec939b17324092f0f0bdb19c402e101e3db946986languageName: nodelinkType: hard@@ -8889,6 +9061,16 @@ __metadata:languageName: nodelinkType: hard+"tinyglobby@npm:^0.2.13":+ version: 0.2.13+ resolution: "tinyglobby@npm:0.2.13"+ dependencies:+ fdir: "npm:^6.4.4"+ picomatch: "npm:^4.0.2"+ checksum: 10c0/ef07dfaa7b26936601d3f6d999f7928a4d1c6234c5eb36896bb88681947c0d459b7ebe797022400e555fe4b894db06e922b95d0ce60cb05fd827a0a66326b18c+ languageName: node+ linkType: hard+"tinyqueue@npm:^2.0.3":version: 2.0.3resolution: "tinyqueue@npm:2.0.3"@@ -8912,13 +9094,6 @@ __metadata:languageName: nodelinkType: hard-"totalist@npm:^1.0.0":- version: 1.1.0- resolution: "totalist@npm:1.1.0"- checksum: 10c0/2adbd4501c8290c2a96617a83dc67dfdd02bcbd360032017e27ccf27bbb09649bbe8dad1c45d97be6874281178aca5b3f62ed059d1eeda77c479cfb8eb3a9266- languageName: node- linkType: hard-"totalist@npm:^3.0.0":version: 3.0.1resolution: "totalist@npm:3.0.1"@@ -8934,11 +9109,11 @@ __metadata:linkType: hard"tree-dump@npm:^1.0.1":- version: 1.0.2- resolution: "tree-dump@npm:1.0.2"+ version: 1.0.3+ resolution: "tree-dump@npm:1.0.3"peerDependencies:tslib: 2- checksum: 10c0/d1d180764e9c691b28332dbd74226c6b6af361dfb1e134bb11e60e17cb11c215894adee50ffc578da5dcf546006693947be8b6665eb1269b56e2f534926f1c1f+ checksum: 10c0/05d8138f43c48589475f1cac516dcc93b1b6123474a9e1c2ddcaefe0c75105aa5fabee5874a2458c4ab78bde9f01a8d54ff560c4e04089b5325de5ff7f57b2eelanguageName: nodelinkType: hard@@ -9298,6 +9473,61 @@ __metadata:languageName: nodelinkType: hard+"vite@npm:^6.3.4":+ version: 6.3.5+ resolution: "vite@npm:6.3.5"+ dependencies:+ esbuild: "npm:^0.25.0"+ fdir: "npm:^6.4.4"+ fsevents: "npm:~2.3.3"+ picomatch: "npm:^4.0.2"+ postcss: "npm:^8.5.3"+ rollup: "npm:^4.34.9"+ tinyglobby: "npm:^0.2.13"+ peerDependencies:+ "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0+ jiti: ">=1.21.0"+ less: "*"+ lightningcss: ^1.21.0+ sass: "*"+ sass-embedded: "*"+ stylus: "*"+ sugarss: "*"+ terser: ^5.16.0+ tsx: ^4.8.1+ yaml: ^2.4.2+ dependenciesMeta:+ fsevents:+ optional: true+ peerDependenciesMeta:+ "@types/node":+ optional: true+ jiti:+ optional: true+ less:+ optional: true+ lightningcss:+ optional: true+ sass:+ optional: true+ sass-embedded:+ optional: true+ stylus:+ optional: true+ sugarss:+ optional: true+ terser:+ optional: true+ tsx:+ optional: true+ yaml:+ optional: true+ bin:+ vite: bin/vite.js+ checksum: 10c0/df70201659085133abffc6b88dcdb8a57ef35f742a01311fc56a4cfcda6a404202860729cc65a2c401a724f6e25f9ab40ce4339ed4946f550541531ced6fe41c+ languageName: node+ linkType: hard+"vt-pbf@npm:^3.1.3":version: 3.1.3resolution: "vt-pbf@npm:3.1.3"@@ -9310,12 +9540,12 @@ __metadata:linkType: hard"watchpack@npm:^2.4.1":- version: 2.4.2- resolution: "watchpack@npm:2.4.2"+ version: 2.4.4+ resolution: "watchpack@npm:2.4.4"dependencies:glob-to-regexp: "npm:^0.4.1"graceful-fs: "npm:^4.1.2"- checksum: 10c0/ec60a5f0e9efaeca0102fd9126346b3b2d523e01c34030d3fddf5813a7125765121ebdc2552981136dcd2c852deb1af0b39340f2fcc235f292db5399d0283577+ checksum: 10c0/6c0901f75ce245d33991225af915eea1c5ae4ba087f3aee2b70dd377d4cacb34bef02a48daf109da9d59b2d31ec6463d924a0d72f8618ae1643dd07b95de5275languageName: nodelinkType: hard@@ -9357,26 +9587,7 @@ __metadata:languageName: nodelinkType: hard-"webpack-bundle-analyzer@npm:4.6.1":- version: 4.6.1- resolution: "webpack-bundle-analyzer@npm:4.6.1"- dependencies:- acorn: "npm:^8.0.4"- acorn-walk: "npm:^8.0.0"- chalk: "npm:^4.1.0"- commander: "npm:^7.2.0"- gzip-size: "npm:^6.0.0"- lodash: "npm:^4.17.20"- opener: "npm:^1.5.2"- sirv: "npm:^1.0.7"- ws: "npm:^7.3.1"- bin:- webpack-bundle-analyzer: lib/bin/analyzer.js- checksum: 10c0/55dcf917bfbf52a688703bc636810df6bdb30981b65066291ab86ce3f359925f52a07cc43d38a841aa579d313516e0b5dd86814daf4fda6f8aaba89a4e7bcd6a- languageName: node- linkType: hard--"webpack-dev-middleware@npm:^7.1.0, webpack-dev-middleware@npm:^7.4.2":+"webpack-dev-middleware@npm:^7.4.2":version: 7.4.2resolution: "webpack-dev-middleware@npm:7.4.2"dependencies:@@ -9395,53 +9606,6 @@ __metadata:languageName: nodelinkType: hard-"webpack-dev-server@npm:5.0.4":- version: 5.0.4- resolution: "webpack-dev-server@npm:5.0.4"- dependencies:- "@types/bonjour": "npm:^3.5.13"- "@types/connect-history-api-fallback": "npm:^1.5.4"- "@types/express": "npm:^4.17.21"- "@types/serve-index": "npm:^1.9.4"- "@types/serve-static": "npm:^1.15.5"- "@types/sockjs": "npm:^0.3.36"- "@types/ws": "npm:^8.5.10"- ansi-html-community: "npm:^0.0.8"- bonjour-service: "npm:^1.2.1"- chokidar: "npm:^3.6.0"- colorette: "npm:^2.0.10"- compression: "npm:^1.7.4"- connect-history-api-fallback: "npm:^2.0.0"- default-gateway: "npm:^6.0.3"- express: "npm:^4.17.3"- graceful-fs: "npm:^4.2.6"- html-entities: "npm:^2.4.0"- http-proxy-middleware: "npm:^2.0.3"- ipaddr.js: "npm:^2.1.0"- launch-editor: "npm:^2.6.1"- open: "npm:^10.0.3"- p-retry: "npm:^6.2.0"- rimraf: "npm:^5.0.5"- schema-utils: "npm:^4.2.0"- selfsigned: "npm:^2.4.1"- serve-index: "npm:^1.9.1"- sockjs: "npm:^0.3.24"- spdy: "npm:^4.0.2"- webpack-dev-middleware: "npm:^7.1.0"- ws: "npm:^8.16.0"- peerDependencies:- webpack: ^5.0.0- peerDependenciesMeta:- webpack:- optional: true- webpack-cli:- optional: true- bin:- webpack-dev-server: bin/webpack-dev-server.js- checksum: 10c0/f3b5ffac798bdfdb7cc3d24000bde49816eab42fc6062641e6e61cd0057e8c268d495f8162fb97aeaee5e273c91457e90a99ba780526744ad2002e9e99e57036- languageName: node- linkType: hard-"webpack-dev-server@npm:5.2.2":version: 5.2.2resolution: "webpack-dev-server@npm:5.2.2"@@ -9487,27 +9651,28 @@ __metadata:languageName: nodelinkType: hard-"webpack-sources@npm:^3.2.3":- version: 3.2.3- resolution: "webpack-sources@npm:3.2.3"- checksum: 10c0/2ef63d77c4fad39de4a6db17323d75eb92897b32674e97d76f0a1e87c003882fc038571266ad0ef581ac734cbe20952912aaa26155f1905e96ce251adbb1eb4e+"webpack-sources@npm:^3.3.3":+ version: 3.3.3+ resolution: "webpack-sources@npm:3.3.3"+ checksum: 10c0/ab732f6933b513ba4d505130418995ddef6df988421fccf3289e53583c6a39e205c4a0739cee98950964552d3006604912679c736031337fb4a9d78d8576ed40languageName: nodelinkType: hard"webpack@npm:^5.99.8":- version: 5.99.8- resolution: "webpack@npm:5.99.8"+ version: 5.101.0+ resolution: "webpack@npm:5.101.0"dependencies:"@types/eslint-scope": "npm:^3.7.7"- "@types/estree": "npm:^1.0.6"+ "@types/estree": "npm:^1.0.8""@types/json-schema": "npm:^7.0.15""@webassemblyjs/ast": "npm:^1.14.1""@webassemblyjs/wasm-edit": "npm:^1.14.1""@webassemblyjs/wasm-parser": "npm:^1.14.1"- acorn: "npm:^8.14.0"+ acorn: "npm:^8.15.0"+ acorn-import-phases: "npm:^1.0.3"browserslist: "npm:^4.24.0"chrome-trace-event: "npm:^1.0.2"- enhanced-resolve: "npm:^5.17.1"+ enhanced-resolve: "npm:^5.17.2"es-module-lexer: "npm:^1.2.1"eslint-scope: "npm:5.1.1"events: "npm:^3.2.0"@@ -9521,13 +9686,13 @@ __metadata:tapable: "npm:^2.1.1"terser-webpack-plugin: "npm:^5.3.11"watchpack: "npm:^2.4.1"- webpack-sources: "npm:^3.2.3"+ webpack-sources: "npm:^3.3.3"peerDependenciesMeta:webpack-cli:optional: truebin:webpack: bin/webpack.js- checksum: 10c0/c4852c3b795ed3fba799d2925802a4e259b2de7c2c597f0aaf0e228acfdc6755389ed8c29f1dad86610a9c6ad968c0b57c702b93891d60f09d302af63b2debe0+ checksum: 10c0/0fb5f70032ac53cfc2e667c97c6ceb903d280cebd03dd7f7ca794d8ab75d4f692483313efb90c616c2e4e266cf580a54df84cbaee43db36d7d42e450bf1569fdlanguageName: nodelinkType: hard@@ -9662,9 +9827,9 @@ __metadata:languageName: nodelinkType: hard-"ws@npm:^8.16.0":- version: 8.18.0- resolution: "ws@npm:8.18.0"+"ws@npm:^8.18.0":+ version: 8.18.3+ resolution: "ws@npm:8.18.3"peerDependencies:bufferutil: ^4.0.1utf-8-validate: ">=5.0.2"@@ -9673,22 +9838,16 @@ __metadata:optional: trueutf-8-validate:optional: true- checksum: 10c0/25eb33aff17edcb90721ed6b0eb250976328533ad3cd1a28a274bd263682e7296a6591ff1436d6cbc50fa67463158b062f9d1122013b361cec99a05f84680e06+ checksum: 10c0/eac918213de265ef7cb3d4ca348b891a51a520d839aa51cdb8ca93d4fa7ff9f6ccb339ccee89e4075324097f0a55157c89fa3f7147bde9d8d7e90335dc087b53languageName: nodelinkType: hard-"ws@npm:^8.18.0":- version: 8.18.2- resolution: "ws@npm:8.18.2"- peerDependencies:- bufferutil: ^4.0.1- utf-8-validate: ">=5.0.2"- peerDependenciesMeta:- bufferutil:- optional: true- utf-8-validate:- optional: true- checksum: 10c0/4b50f67931b8c6943c893f59c524f0e4905bbd183016cfb0f2b8653aa7f28dad4e456b9d99d285bbb67cca4fedd9ce90dfdfaa82b898a11414ebd66ee99141e4+"wsl-utils@npm:^0.1.0":+ version: 0.1.0+ resolution: "wsl-utils@npm:0.1.0"+ dependencies:+ is-wsl: "npm:^3.1.0"+ checksum: 10c0/44318f3585eb97be994fc21a20ddab2649feaf1fbe893f1f866d936eea3d5f8c743bec6dc02e49fbdd3c0e69e9b36f449d90a0b165a4f47dd089747af4cf2377languageName: nodelinkType: hard@@ -9734,21 +9893,6 @@ __metadata:languageName: nodelinkType: hard-"yargs@npm:17.6.2":- version: 17.6.2- resolution: "yargs@npm:17.6.2"- dependencies:- cliui: "npm:^8.0.1"- escalade: "npm:^3.1.1"- get-caller-file: "npm:^2.0.5"- require-directory: "npm:^2.1.1"- string-width: "npm:^4.2.3"- y18n: "npm:^5.0.5"- yargs-parser: "npm:^21.1.1"- checksum: 10c0/dd5c89aa8186d2a18625b26b68beb635df648617089135e9661107a92561056427bbd41dbfa228db5a7d968ea1043d96c036c2eb978acf7b61a0ae48bf3be206- languageName: node- linkType: hard-"yargs@npm:17.7.2":version: 17.7.2resolution: "yargs@npm:17.7.2"