From 2637458f6683f3192cfc82a05567aeb35629b3c9 Mon Sep 17 00:00:00 2001 From: Juan Munoz Date: Wed, 15 May 2024 23:21:52 +0200 Subject: [PATCH 1/3] chore: cleanup of plugins package and extract scl foundation to core Signed-off-by: Juan Munoz --- .eslintrc.cjs | 1 + package-lock.json | 10478 +++++++++------- package.json | 1 + packages/addons/package.json | 10 +- packages/components/package.json | 10 +- packages/core/foundation/scl.ts | 2369 ++++ packages/core/package.json | 7 +- packages/distribution/main.ts | 2 +- packages/distribution/package.json | 12 +- packages/distribution/snowpack.config.mjs | 2 +- packages/openscd/package.json | 50 +- packages/openscd/src/Editing.ts | 470 - packages/openscd/src/Wizarding.ts | 56 - packages/openscd/src/addons/Editor.ts | 2 +- packages/openscd/src/finder-list.ts | 2 +- packages/openscd/src/foundation.ts | 2369 ---- packages/openscd/src/foundation/compare.ts | 2 +- packages/openscd/src/foundation/ied.ts | 2 +- packages/openscd/src/foundation/scl.ts | 2 +- packages/openscd/src/wizard-dialog.ts | 6 +- packages/openscd/src/wizards.ts | 2 + packages/openscd/test/foundation.ts | 2 +- packages/openscd/test/mock-editor.ts | 32 + packages/openscd/test/mock-wizard-editor.ts | 14 +- packages/openscd/test/unit/Editing.test.ts | 10 +- .../openscd/test/unit/finder-list.test.ts | 2 +- packages/openscd/test/unit/foundation.test.ts | 9 +- packages/openscd/test/unit/mock-editor.ts | 5 - .../openscd/test/unit/wizard-dialog.test.ts | 2 +- packages/openscd/tsconfig.build.json | 10 + packages/openscd/tsconfig.json | 4 +- packages/openscd/web-test-runner.config.mjs | 8 +- packages/plugins/package.json | 18 +- packages/plugins/snowpack.config.mjs | 34 - packages/plugins/src/editors/Communication.ts | 4 +- .../src/editors/GooseSubscriberDataBinding.ts | 2 +- packages/plugins/src/editors/IED.ts | 10 +- .../src/editors/SMVSubscriberDataBinding.ts | 2 +- .../plugins/src/editors/SingleLineDiagram.ts | 8 +- packages/plugins/src/editors/Substation.ts | 2 +- packages/plugins/src/editors/Templates.ts | 6 +- .../cleanup/control-blocks-container.ts | 8 +- .../src/editors/cleanup/datasets-container.ts | 6 +- .../editors/cleanup/datatypes-container.ts | 8 +- .../plugins/src/editors/cleanup/foundation.ts | 2 +- .../communication/connectedap-editor.ts | 4 +- .../src/editors/communication/gse-editor.ts | 6 +- .../src/editors/communication/smv-editor.ts | 6 +- .../communication/subnetwork-editor.ts | 6 +- .../src/editors/ied/access-point-container.ts | 8 +- .../plugins/src/editors/ied/da-container.ts | 8 +- packages/plugins/src/editors/ied/da-wizard.ts | 6 +- .../plugins/src/editors/ied/do-container.ts | 6 +- packages/plugins/src/editors/ied/do-wizard.ts | 6 +- .../plugins/src/editors/ied/foundation.ts | 4 +- .../plugins/src/editors/ied/ied-container.ts | 6 +- .../src/editors/ied/ldevice-container.ts | 8 +- .../plugins/src/editors/ied/ln-container.ts | 4 +- .../src/editors/ied/server-container.ts | 6 +- .../editors/protocol104/connectedap-editor.ts | 4 +- .../src/editors/protocol104/doi-container.ts | 4 +- .../src/editors/protocol104/foundation/cdc.ts | 6 +- .../protocol104/foundation/foundation.ts | 2 +- .../editors/protocol104/foundation/private.ts | 2 +- .../src/editors/protocol104/ied-container.ts | 4 +- .../editors/protocol104/network-container.ts | 4 +- .../protocol104/subnetwork-container.ts | 4 +- .../editors/protocol104/values-container.ts | 4 +- .../editors/protocol104/wizards/address.ts | 12 +- .../protocol104/wizards/connectedap.ts | 10 +- .../protocol104/wizards/createAddresses.ts | 12 +- .../src/editors/protocol104/wizards/doi.ts | 6 +- .../editors/protocol104/wizards/logiclink.ts | 6 +- .../protocol104/wizards/redundancygroup.ts | 6 +- .../editors/protocol104/wizards/selectDo.ts | 10 +- .../editors/protocol104/wizards/subnetwork.ts | 8 +- .../src/editors/publisher/data-set-editor.ts | 6 +- .../publisher/data-set-element-editor.ts | 6 +- .../src/editors/publisher/foundation.ts | 2 +- .../editors/publisher/gse-control-editor.ts | 8 +- .../publisher/gse-control-element-editor.ts | 8 +- .../publisher/report-control-editor.ts | 8 +- .../report-control-element-editor.ts | 6 +- .../publisher/sampled-value-control-editor.ts | 8 +- .../sampled-value-control-element-editor.ts | 8 +- .../editors/singlelinediagram/foundation.ts | 2 +- .../editors/singlelinediagram/sld-drawing.ts | 4 +- .../editors/singlelinediagram/wizards/bay.ts | 4 +- .../wizards/conductingequipment.ts | 6 +- .../singlelinediagram/wizards/foundation.ts | 4 +- .../wizards/powertransformer.ts | 4 +- .../wizards/wizard-library.ts | 3 +- .../editors/subscription/fcda-binding-list.ts | 6 +- .../src/editors/subscription/foundation.ts | 6 +- .../editors/subscription/goose/goose-list.ts | 8 +- .../subscription/goose/subscriber-list.ts | 6 +- .../src/editors/subscription/ied-list.ts | 4 +- .../ext-ref-later-binding-list.ts | 4 +- .../later-binding/ext-ref-ln-binding-list.ts | 8 +- .../subscription/later-binding/foundation.ts | 2 +- .../subscription/sampledvalues/smv-list.ts | 6 +- .../sampledvalues/subscriber-list.ts | 6 +- .../src/editors/substation/bay-editor.ts | 11 +- .../substation/conducting-equipment-editor.ts | 10 +- .../editors/substation/eq-function-editor.ts | 9 +- .../substation/eq-sub-function-editor.ts | 9 +- .../src/editors/substation/foundation.ts | 8 +- .../src/editors/substation/function-editor.ts | 8 +- .../substation/general-equipment-editor.ts | 10 +- .../src/editors/substation/guess-wizard.ts | 4 +- .../src/editors/substation/ied-editor.ts | 6 +- .../src/editors/substation/l-node-editor.ts | 8 +- .../src/editors/substation/line-editor.ts | 8 +- .../substation/powertransformer-editor.ts | 12 +- .../src/editors/substation/process-editor.ts | 8 +- .../substation/sub-equipment-editor.ts | 10 +- .../editors/substation/sub-function-editor.ts | 8 +- .../editors/substation/substation-editor.ts | 10 +- .../editors/substation/tapchanger-editor.ts | 8 +- .../substation/transformer-winding-editor.ts | 12 +- .../substation/voltage-level-editor.ts | 10 +- .../src/editors/substation/zeroline-pane.ts | 6 +- .../src/editors/templates/datype-wizards.ts | 14 +- .../src/editors/templates/dotype-wizards.ts | 12 +- .../src/editors/templates/enumtype-wizard.ts | 14 +- .../src/editors/templates/foundation.ts | 2 +- .../src/editors/templates/lnodetype-wizard.ts | 20 +- packages/plugins/src/menu/CompareIED.ts | 6 +- .../plugins/src/menu/ExportCommunication.ts | 2 +- packages/plugins/src/menu/Help.ts | 8 +- packages/plugins/src/menu/ImportIEDs.ts | 4 +- packages/plugins/src/menu/Merge.ts | 4 +- packages/plugins/src/menu/NewProject.ts | 6 +- packages/plugins/src/menu/SubscriberInfo.ts | 2 +- .../plugins/src/menu/UpdateDescriptionABB.ts | 8 +- .../plugins/src/menu/UpdateDescriptionSEL.ts | 8 +- packages/plugins/src/menu/UpdateSubstation.ts | 6 +- .../plugins/src/menu/VirtualTemplateIED.ts | 10 +- .../src/menu/virtualtemplateied/foundation.ts | 2 +- .../plugins/src/validators/ValidateSchema.ts | 2 +- .../plugins/src/validators/templates/dabda.ts | 2 +- .../src/validators/templates/datype.ts | 4 +- .../plugins/src/validators/templates/dosdo.ts | 2 +- .../src/validators/templates/dotype.ts | 4 +- .../src/validators/templates/lnodetype.ts | 4 +- packages/plugins/src/wizards/abstractda.ts | 15 +- packages/plugins/src/wizards/address.ts | 4 +- packages/plugins/src/wizards/bay.ts | 6 +- packages/plugins/src/wizards/bda.ts | 6 +- packages/plugins/src/wizards/clientln.ts | 8 +- .../plugins/src/wizards/commmap-wizards.ts | 8 +- .../src/wizards/conductingequipment.ts | 10 +- packages/plugins/src/wizards/connectedap.ts | 12 +- .../plugins/src/wizards/connectivitynode.ts | 3 +- .../plugins/src/wizards/controlwithiedname.ts | 8 +- packages/plugins/src/wizards/da.ts | 10 +- packages/plugins/src/wizards/dai.ts | 6 +- packages/plugins/src/wizards/dataset.ts | 10 +- packages/plugins/src/wizards/eqfunction.ts | 4 +- packages/plugins/src/wizards/eqsubfunction.ts | 4 +- packages/plugins/src/wizards/fcda.ts | 6 +- .../plugins/src/wizards/foundation/actions.ts | 6 +- .../src/wizards/foundation/dai-field-type.ts | 6 +- .../plugins/src/wizards/foundation/finder.ts | 6 +- .../src/wizards/foundation/references.ts | 4 +- packages/plugins/src/wizards/function.ts | 4 +- .../plugins/src/wizards/generalEquipment.ts | 4 +- packages/plugins/src/wizards/gse.ts | 8 +- packages/plugins/src/wizards/gsecontrol.ts | 16 +- packages/plugins/src/wizards/ied.ts | 8 +- packages/plugins/src/wizards/ldevice.ts | 6 +- packages/plugins/src/wizards/line.ts | 8 +- packages/plugins/src/wizards/lnode.ts | 12 +- packages/plugins/src/wizards/optfields.ts | 8 +- .../plugins/src/wizards/powertransformer.ts | 6 +- packages/plugins/src/wizards/process.ts | 4 +- packages/plugins/src/wizards/reportcontrol.ts | 22 +- .../src/wizards/sampledvaluecontrol.ts | 16 +- .../plugins/src/wizards/service-GSEControl.ts | 2 +- .../service-clientServer-configurations.ts | 2 +- .../src/wizards/service-log-settingsgroup.ts | 2 +- .../plugins/src/wizards/service-networking.ts | 2 +- .../wizards/service-report-configurations.ts | 2 +- .../src/wizards/service-sampled-values.ts | 2 +- packages/plugins/src/wizards/services.ts | 6 +- packages/plugins/src/wizards/smv.ts | 6 +- packages/plugins/src/wizards/smvopts.ts | 4 +- packages/plugins/src/wizards/subequipment.ts | 8 +- packages/plugins/src/wizards/subfunction.ts | 4 +- packages/plugins/src/wizards/subnetwork.ts | 8 +- packages/plugins/src/wizards/substation.ts | 6 +- packages/plugins/src/wizards/tapchanger.ts | 4 +- packages/plugins/src/wizards/terminal.ts | 3 +- .../plugins/src/wizards/transformerWinding.ts | 4 +- packages/plugins/src/wizards/trgops.ts | 8 +- packages/plugins/src/wizards/voltagelevel.ts | 8 +- .../plugins/src/wizards/wizard-library.ts | 3 +- packages/plugins/test/foundation.ts | 2 +- .../GooseSubscriberDataBinding.test.ts | 2 +- .../GooseSubscriberMessageBinding.test.ts | 2 +- .../test/integration/editors/IED.test.ts | 4 +- .../editors/SMVSubscriberDataBinding.test.ts | 2 +- .../SMVSubscriberMessageBinding.test.ts | 2 +- .../communication/Communication.test.ts | 2 +- ...nnectedap-editor-wizarding-editing.test.ts | 2 +- .../gse-editor-wizarding-editing.test.ts | 2 +- .../smv-editor-wizarding-editing.test.ts | 2 +- ...ubnetwork-editor-wizarding-editing.test.ts | 2 +- .../subnetwork-editor-wizarding.test.ts | 4 +- .../bay-editor-wizarding-editing.test.ts | 4 +- .../substation/bay-editor-wizarding.test.ts | 4 +- ...equipment-editor-wizarding-editing.test.ts | 2 +- ...ducting-equipment-editor-wizarding.test.ts | 4 +- .../eq-function-wizarding-editing.test.ts | 2 +- ...-function-editor-wizarding-editing.test.ts | 2 +- .../substation/function-editor.test.ts | 2 +- ...al-equipment-editor-wizard-editing.test.ts | 2 +- .../guess-wizarding-editing.test.ts | 6 +- .../ied-editor-wizarding-integration.test.ts | 2 +- .../l-node-editor-wizarding-editing.test.ts | 2 +- .../line-editor-wizard-editing.test.ts | 2 +- .../editors/substation/lnodewizard.test.ts | 2 +- ...ansformer-editor-wizarding-editing.test.ts | 2 +- .../process-editor-wizard-editing.test.ts | 2 +- .../sub-equipment-wizarding-editing.test.ts | 4 +- .../substation/sub-function-editor.test.ts | 2 +- ...ubstation-editor-wizarding-editing.test.ts | 2 +- .../substation-editor-wizarding.test.ts | 4 +- .../tapchanger-editor-wizard-editing.test.ts | 4 +- ...rmer-winding-editor-wizard-editing.test.ts | 4 +- ...age-level-editor-wizarding-editing.test.ts | 2 +- .../voltage-level-editor-wizarding.test.ts | 6 +- .../editors/substation/zeroline-pane.test.ts | 4 +- .../editors/templates/Templates.test.ts | 2 +- .../templates/datype-wizarding.test.ts | 8 +- .../templates/dotype-wizarding.test.ts | 6 +- .../templates/enumtype-wizarding.test.ts | 8 +- .../templates/lnodetype-wizard.test.ts | 10 +- .../wizards/address-wizarding-editing.test.ts | 4 +- .../wizards/bda-wizarding-editing.test.ts | 8 +- ...edap-wizarding-editing-integration.test.ts | 2 +- .../wizards/da-wizarding-editing.test.ts | 8 +- ...aset-wizarding-editing-integration.test.ts | 4 +- ...fcda-wizarding-editing-integration.test.ts | 4 +- .../gse-wizarding-editing-integration.test.ts | 4 +- .../gsecontrolwizarding-editing.test.ts | 8 +- .../reportcontrol-wizarding-editing.test.ts | 8 +- ...pledvaluecontrol-wizarding-editing.test.ts | 10 +- .../wizards/services-wizard.test.ts | 4 +- .../unit/editors/ied/da-container.test.ts | 2 +- .../test/unit/editors/ied/da-wizard.test.ts | 6 +- .../unit/editors/ied/do-container.test.ts | 2 +- .../test/unit/editors/ied/do-wizard.test.ts | 6 +- .../editors/ied/ldevice-container.test.ts | 2 +- .../unit/editors/ied/ln-container.test.ts | 2 +- .../protocol104/wizards/address.test.ts | 10 +- .../protocol104/wizards/connectedap.test.ts | 8 +- .../wizards/createAddresses.test.ts | 14 +- .../editors/protocol104/wizards/doi.test.ts | 4 +- .../protocol104/wizards/logiclink.test.ts | 8 +- .../wizards/redundancygroup.test.ts | 8 +- .../protocol104/wizards/selectDo.test.ts | 4 +- .../protocol104/wizards/subnetwork.test.ts | 12 +- .../singlelinediagram/foundation.test.ts | 7 +- .../singlelinediagram/wizards/bay.test.ts | 8 +- .../wizards/conductingequipment.test.ts | 8 +- .../wizards/powertransformer.test.ts | 8 +- .../wizards/wizard-library.test.ts | 2 +- .../subscription/fcda-binding-list.test.ts | 2 +- .../editors/subscription/foundation.test.ts | 2 +- .../ext-ref-ln-binding-list.test.ts | 2 +- .../editors/substation/redirectionUI.test.ts | 4 +- .../unit/editors/templates/datype.test.ts | 8 +- .../unit/editors/templates/dotype.test.ts | 8 +- .../unit/editors/templates/enumtype.test.ts | 8 +- .../templates/lnodetype-wizard.test.ts | 8 +- .../plugins/test/unit/menu/CompareIED.test.ts | 2 +- .../test/unit/menu/VirtualTemplateIED.test.ts | 2 +- .../test/unit/menu/updatesubstation.test.ts | 2 +- .../virtualtemplateied/foundation.test.ts | 2 +- .../test/unit/wizards/abstractda.test.ts | 8 +- .../plugins/test/unit/wizards/address.test.ts | 10 +- .../plugins/test/unit/wizards/bay.test.ts | 4 +- .../plugins/test/unit/wizards/bda.test.ts | 10 +- .../test/unit/wizards/clientln.test.ts | 2 +- .../plugins/test/unit/wizards/commmap.test.ts | 4 +- .../unit/wizards/conductingequipment.test.ts | 6 +- .../test/unit/wizards/connectedap-c.test.ts | 2 +- .../unit/wizards/connectedap-pattern.test.ts | 8 +- .../test/unit/wizards/connectedap.test.ts | 8 +- .../unit/wizards/connectivitynode.test.ts | 4 +- packages/plugins/test/unit/wizards/da.test.ts | 10 +- .../plugins/test/unit/wizards/dai.test.ts | 8 +- .../plugins/test/unit/wizards/dataset.test.ts | 8 +- .../test/unit/wizards/eqfunction.test.ts | 8 +- .../test/unit/wizards/eqsubfunction.test.ts | 8 +- .../plugins/test/unit/wizards/fcda.test.ts | 6 +- .../wizards/foundation/dai-field-type.test.ts | 6 +- .../test/unit/wizards/function.test.ts | 8 +- .../unit/wizards/generalequipment.test.ts | 10 +- .../plugins/test/unit/wizards/gse.test.ts | 8 +- .../test/unit/wizards/gsecontrol.test.ts | 10 +- .../plugins/test/unit/wizards/ied.test.ts | 8 +- .../plugins/test/unit/wizards/ldevice.test.ts | 8 +- .../plugins/test/unit/wizards/line.test.ts | 8 +- .../plugins/test/unit/wizards/lnode.test.ts | 4 +- .../test/unit/wizards/optfields.test.ts | 8 +- .../unit/wizards/powertransformer.test.ts | 8 +- .../plugins/test/unit/wizards/process.test.ts | 8 +- .../test/unit/wizards/reportcontrol.test.ts | 12 +- .../unit/wizards/sampledvaluecontrol.test.ts | 12 +- .../plugins/test/unit/wizards/smv.test.ts | 8 +- .../plugins/test/unit/wizards/smvopts.test.ts | 6 +- .../test/unit/wizards/sub-equipment.test.ts | 8 +- .../test/unit/wizards/subfunction.test.ts | 8 +- .../test/unit/wizards/subnetwork.test.ts | 12 +- .../test/unit/wizards/substation.test.ts | 8 +- .../test/unit/wizards/tapchanger.test.ts | 10 +- .../test/unit/wizards/terminal.test.ts | 4 +- .../plugins/test/unit/wizards/test-support.ts | 6 +- .../unit/wizards/transformerwinding.test.ts | 12 +- .../plugins/test/unit/wizards/trgops.test.ts | 8 +- .../test/unit/wizards/voltagelevel.test.ts | 4 +- packages/plugins/tsconfig.build.json | 9 + packages/plugins/tsconfig.json | 5 +- packages/plugins/web-test-runner.config.mjs | 8 +- packages/wizards/package.json | 10 +- 327 files changed, 9436 insertions(+), 8354 deletions(-) create mode 100644 packages/core/foundation/scl.ts delete mode 100644 packages/openscd/src/Editing.ts delete mode 100644 packages/openscd/src/Wizarding.ts create mode 100644 packages/openscd/test/mock-editor.ts delete mode 100644 packages/openscd/test/unit/mock-editor.ts create mode 100644 packages/openscd/tsconfig.build.json delete mode 100644 packages/plugins/snowpack.config.mjs create mode 100644 packages/plugins/tsconfig.build.json diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 6cae923ce..dc4fad8ef 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,3 +1,4 @@ +/* eslint-env node */ module.exports = { root: true, parser: '@typescript-eslint/parser', diff --git a/package-lock.json b/package-lock.json index e9d3db5ca..0e84530ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,6 +70,8 @@ }, "node_modules/@babel/core": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.5.tgz", + "integrity": "sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==", "dev": true, "license": "MIT", "dependencies": { @@ -107,8 +109,9 @@ }, "node_modules/@babel/eslint-parser": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.24.5.tgz", + "integrity": "sha512-gsUcqS/fPlgAw1kOtpss7uhY6E9SFFANQ6EFX5GTvzUwaV0+sGaZWk6xq22MOdeT9wfxyokW3ceCUvOiRtZciQ==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", @@ -125,8 +128,9 @@ }, "node_modules/@babel/eslint-parser/node_modules/semver": { "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, - "license": "ISC", "peer": true, "bin": { "semver": "bin/semver.js" @@ -134,8 +138,9 @@ }, "node_modules/@babel/eslint-plugin": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/eslint-plugin/-/eslint-plugin-7.24.5.tgz", + "integrity": "sha512-5n3K9Zv13VOa9SG2ZiX0WV7A0ddApRn6vsV8zBojCsxnCbYKLjCDvzDfVxS7C4STmjQDOXU1uk/ppxxDTC860w==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "eslint-rule-composer": "^0.3.0" @@ -150,8 +155,11 @@ }, "node_modules/@babel/generator": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.5.tgz", + "integrity": "sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.24.5", "@jridgewell/gen-mapping": "^0.3.5", @@ -209,6 +217,8 @@ }, "node_modules/@babel/helper-create-class-features-plugin": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.5.tgz", + "integrity": "sha512-uRc4Cv8UQWnE4NXlYTIIdM7wfFkOqlFztcC/gVXDKohKoVB3OyonfelUBaJzSwpBntZ2KYGF/9S7asCHsXwW6g==", "dev": true, "license": "MIT", "dependencies": { @@ -309,6 +319,8 @@ }, "node_modules/@babel/helper-member-expression-to-functions": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.5.tgz", + "integrity": "sha512-4owRteeihKWKamtqg4JmWSsEZU445xpFRXPEwp44HbgbxdWlUV1b4Agg4lkA806Lil5XM/e+FJyS0vj5T6vmcA==", "dev": true, "license": "MIT", "dependencies": { @@ -331,6 +343,8 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.5.tgz", + "integrity": "sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A==", "dev": true, "license": "MIT", "dependencies": { @@ -360,6 +374,8 @@ }, "node_modules/@babel/helper-plugin-utils": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.5.tgz", + "integrity": "sha512-xjNLDopRzW2o6ba0gKbkZq5YWEBaK3PCyTOY1K2P/O07LGMhMqlMXPxwN4S5/RhWuCobT8z0jrlKGlYmeR1OhQ==", "dev": true, "license": "MIT", "engines": { @@ -400,6 +416,8 @@ }, "node_modules/@babel/helper-simple-access": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.5.tgz", + "integrity": "sha512-uH3Hmf5q5n7n8mz7arjUlDOCbttY/DW4DYhE6FUsjKJ/oYC1kQQUvwEQWxRwUpX9qQKRXeqLwWxrqilMrf32sQ==", "dev": true, "license": "MIT", "dependencies": { @@ -422,6 +440,8 @@ }, "node_modules/@babel/helper-split-export-declaration": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.5.tgz", + "integrity": "sha512-5CHncttXohrHk8GWOFCcCl4oRD9fKosWlIRgWm4ql9VYioKm52Mk2xsmoohvm7f3JoiLSM5ZgJuRaf5QZZYd3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -441,6 +461,8 @@ }, "node_modules/@babel/helper-validator-identifier": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz", + "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==", "dev": true, "license": "MIT", "engines": { @@ -457,6 +479,8 @@ }, "node_modules/@babel/helper-wrap-function": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.24.5.tgz", + "integrity": "sha512-/xxzuNvgRl4/HLNKvnFwdhdgN3cpLxgLROeLDl83Yx0AJ1SGvq1ak0OszTOjDfiB8Vx03eJbeDWh9r+jCCWttw==", "dev": true, "license": "MIT", "dependencies": { @@ -470,6 +494,8 @@ }, "node_modules/@babel/helpers": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.5.tgz", + "integrity": "sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q==", "dev": true, "license": "MIT", "dependencies": { @@ -483,6 +509,8 @@ }, "node_modules/@babel/highlight": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz", + "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==", "dev": true, "license": "MIT", "dependencies": { @@ -561,6 +589,8 @@ }, "node_modules/@babel/parser": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz", + "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==", "dev": true, "license": "MIT", "bin": { @@ -572,6 +602,8 @@ }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.5.tgz", + "integrity": "sha512-LdXRi1wEMTrHVR4Zc9F8OewC3vdm5h4QB6L71zy6StmYeqGi1b3ttIO8UC+BfZKcH9jdr4aI249rBkm+3+YvHw==", "dev": true, "license": "MIT", "dependencies": { @@ -967,6 +999,8 @@ }, "node_modules/@babel/plugin-transform-block-scoping": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.5.tgz", + "integrity": "sha512-sMfBc3OxghjC95BkYrYocHL3NaOplrcaunblzwXhGmlPwpmfsxr4vK+mBBt49r+S240vahmv+kUxkeKgs+haCw==", "dev": true, "license": "MIT", "dependencies": { @@ -1012,6 +1046,8 @@ }, "node_modules/@babel/plugin-transform-classes": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.5.tgz", + "integrity": "sha512-gWkLP25DFj2dwe9Ck8uwMOpko4YsqyfZJrOmqqcegeDYEbp7rmn4U6UQZNj08UF6MaX39XenSpKRCvpDRBtZ7Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1048,6 +1084,8 @@ }, "node_modules/@babel/plugin-transform-destructuring": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.5.tgz", + "integrity": "sha512-SZuuLyfxvsm+Ah57I/i1HVjveBENYK9ue8MJ7qkc7ndoNjqquJiElzA7f5yaAXjyW2hKojosOTAQQRX50bPSVg==", "dev": true, "license": "MIT", "dependencies": { @@ -1347,6 +1385,8 @@ }, "node_modules/@babel/plugin-transform-object-rest-spread": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.5.tgz", + "integrity": "sha512-7EauQHszLGM3ay7a161tTQH7fj+3vVM/gThlz5HpFtnygTxjrlvoeq7MPVA1Vy9Q555OB8SnAOsMkLShNkkrHA==", "dev": true, "license": "MIT", "dependencies": { @@ -1394,6 +1434,8 @@ }, "node_modules/@babel/plugin-transform-optional-chaining": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.5.tgz", + "integrity": "sha512-xWCkmwKT+ihmA6l7SSTpk8e4qQl/274iNbSKRRS8mpqFR32ksy36+a+LWY8OXCCEefF8WFlnOHVsaDI2231wBg==", "dev": true, "license": "MIT", "dependencies": { @@ -1410,6 +1452,8 @@ }, "node_modules/@babel/plugin-transform-parameters": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.5.tgz", + "integrity": "sha512-9Co00MqZ2aoky+4j2jhofErthm6QVLKbpQrvz20c3CH9KQCLHyNB+t2ya4/UrRpQGR+Wrwjg9foopoeSdnHOkA==", "dev": true, "license": "MIT", "dependencies": { @@ -1439,6 +1483,8 @@ }, "node_modules/@babel/plugin-transform-private-property-in-object": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.5.tgz", + "integrity": "sha512-JM4MHZqnWR04jPMujQDTBVRnqxpLLpx2tkn7iPn+Hmsc0Gnb79yvRWOkvqFOx3Z7P7VxiRIR22c4eGSNj87OBQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1583,6 +1629,8 @@ }, "node_modules/@babel/plugin-transform-typeof-symbol": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.5.tgz", + "integrity": "sha512-UTGnhYVZtTAjdwOTzT+sCyXmTn8AhaxOS/MjG9REclZ6ULHWF9KoCZur0HSGU7hk8PdBFKKbYe6+gqdXWz84Jg==", "dev": true, "license": "MIT", "dependencies": { @@ -1656,6 +1704,8 @@ }, "node_modules/@babel/preset-env": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.5.tgz", + "integrity": "sha512-UGK2ifKtcC8i5AI4cH+sbLLuLc2ktYSFJgBAXorKAsHUZmrQ1q6aQ6i3BvU24wWs2AAKqQB6kq3N9V9Gw1HiMQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1776,6 +1826,8 @@ }, "node_modules/@babel/runtime": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.5.tgz", + "integrity": "sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==", "dev": true, "license": "MIT", "dependencies": { @@ -1787,6 +1839,8 @@ }, "node_modules/@babel/runtime-corejs3": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.24.5.tgz", + "integrity": "sha512-GWO0mgzNMLWaSYM4z4NVIuY0Cd1fl8cPnuetuddu5w/qGuvt5Y7oUi/kvvQGK9xgOkFJDQX2heIvTRn/OQ1XTg==", "dev": true, "license": "MIT", "dependencies": { @@ -1822,6 +1876,8 @@ }, "node_modules/@babel/traverse": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.5.tgz", + "integrity": "sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA==", "dev": true, "license": "MIT", "dependencies": { @@ -1842,6 +1898,8 @@ }, "node_modules/@babel/types": { "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.5.tgz", + "integrity": "sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2241,220 +2299,576 @@ "cosmiconfig": ">=6" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", + "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "cpu": [ + "ppc64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + "node": ">=12" } }, - "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "3.4.3", + "node_modules/@esbuild/android-arm": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", + "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", + "cpu": [ + "arm" + ], "dev": true, - "license": "Apache-2.0", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": ">=12" } }, - "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", + "node_modules/@esbuild/android-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", + "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + "node": ">=12" } }, - "node_modules/@eslint/eslintrc": { - "version": "0.4.3", + "node_modules/@esbuild/android-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", + "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.1.1", - "espree": "^7.3.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=12" } }, - "node_modules/@eslint/eslintrc/node_modules/argparse": { - "version": "1.0.10", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", + "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" } }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.24.0", + "node_modules/@esbuild/darwin-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", + "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=12" } }, - "node_modules/@eslint/eslintrc/node_modules/ignore": { - "version": "4.0.6", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", + "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": ">= 4" + "node": ">=12" } }, - "node_modules/@eslint/eslintrc/node_modules/js-yaml": { - "version": "3.14.1", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", + "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" } }, - "node_modules/@eslint/eslintrc/node_modules/sprintf-js": { - "version": "1.0.3", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", + "node_modules/@esbuild/linux-arm": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", + "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", + "cpu": [ + "arm" + ], "dev": true, - "license": "(MIT OR CC0-1.0)", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=12" } }, - "node_modules/@eslint/js": { - "version": "8.57.0", + "node_modules/@esbuild/linux-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", + "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=12" } }, - "node_modules/@esm-bundle/chai": { - "version": "4.3.4", + "node_modules/@esbuild/linux-ia32": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", + "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", + "cpu": [ + "ia32" + ], "dev": true, - "license": "MIT", - "dependencies": { - "@types/chai": "^4.2.12" + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" } }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@github/catalyst": { - "version": "1.6.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.5.0", + "node_modules/@esbuild/linux-loong64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", + "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", + "cpu": [ + "loong64" + ], "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.0", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=10.10.0" + "node": ">=12" } }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", + "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", + "cpu": [ + "mips64el" + ], "dev": true, - "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "node": ">=12" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/@hutson/parse-repository-url": { - "version": "3.0.2", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", + "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", + "cpu": [ + "ppc64" + ], "dev": true, - "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=12" } }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", + "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", + "cpu": [ + "riscv64" + ], "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=12" } }, - "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", + "node_modules/@esbuild/linux-s390x": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", + "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", + "cpu": [ + "s390x" + ], "dev": true, - "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/@isaacs/cliui/node_modules/ansi-styles": { - "version": "6.2.1", + "node_modules/@esbuild/linux-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", + "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@isaacs/cliui/node_modules/string-width": { - "version": "5.1.2", + "node_modules/@esbuild/netbsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", + "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", + "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", + "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", + "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", + "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", + "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.24.0", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "MIT", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.57.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@esm-bundle/chai": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^4.2.12" + } + }, + "node_modules/@gar/promisify": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/@github/catalyst": { + "version": "1.6.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "dev": true + }, + "node_modules/@hutson/parse-repository-url": { + "version": "3.0.2", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", "dev": true, "license": "MIT", "dependencies": { @@ -2680,8 +3094,9 @@ }, "node_modules/@lerna/create/node_modules/@nx/devkit": { "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.10.0.tgz", + "integrity": "sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w==", "dev": true, - "license": "MIT", "dependencies": { "@nrwl/devkit": "16.10.0", "ejs": "^3.1.7", @@ -2721,9 +3136,21 @@ "node": ">=8.6" } }, - "node_modules/@lerna/create/node_modules/glob": { - "version": "7.1.4", - "dev": true, + "node_modules/@lerna/create/node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/@lerna/create/node_modules/glob": { + "version": "7.1.4", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -2868,8 +3295,9 @@ }, "node_modules/@lerna/create/node_modules/tmp": { "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", "dev": true, - "license": "MIT", "engines": { "node": ">=14.14" } @@ -2887,11 +3315,6 @@ "node": ">=6" } }, - "node_modules/@lerna/create/node_modules/v8-compile-cache": { - "version": "2.3.0", - "dev": true, - "license": "MIT" - }, "node_modules/@lerna/create/node_modules/yallist": { "version": "4.0.0", "dev": true, @@ -3795,8 +4218,9 @@ }, "node_modules/@nicolo-ribaudo/eslint-scope-5-internals": { "version": "5.1.1-v1", + "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz", + "integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "eslint-scope": "5.1.1" @@ -4474,6 +4898,8 @@ }, "node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.1.tgz", + "integrity": "sha512-+AvaheE/ww1JEwRHOrn4WHNzOxGtVp+adrg2AeZS/7KuxGUYFuBta98wYpfHBbJp6Tg6j1NKSEVHNcfZzJHQwQ==", "dev": true, "license": "ISC", "dependencies": { @@ -5145,8 +5571,9 @@ }, "node_modules/@nrwl/devkit/node_modules/@nrwl/tao": { "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-17.3.2.tgz", + "integrity": "sha512-5uvpSmij0J9tteFV/0M/024K+H/o3XAlqtSdU8j03Auj1IleclSLF2yCTuIo7pYXhG3cgx1+nR+3nMs1QVAdUA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "nx": "17.3.2", @@ -5175,10 +5602,218 @@ }, "node_modules/@nrwl/devkit/node_modules/@nx/nx-darwin-arm64": { "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-17.3.2.tgz", + "integrity": "sha512-hn12o/tt26Pf4wG+8rIBgNIEZq5BFlHLv3scNrgKbd5SancHlTbY4RveRGct737UQ/78GCMCgMDRgNdagbCr6w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-darwin-x64": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-17.3.2.tgz", + "integrity": "sha512-5F28wrfE7yU60MzEXGjndy1sPJmNMIaV2W/g82kTXzxAbGHgSjwrGFmrJsrexzLp9oDlWkbc6YmInKV8gmmIaQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-freebsd-x64": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-17.3.2.tgz", + "integrity": "sha512-07MMTfsJooONqL1Vrm5L6qk/gzmSrYLazjkiTmJz+9mrAM61RdfSYfO3mSyAoyfgWuQ5yEvfI56P036mK8aoPg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-linux-arm-gnueabihf": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-17.3.2.tgz", + "integrity": "sha512-gQxMF6U/h18Rz+FZu50DZCtfOdk27hHghNh3d3YTeVsrJTd1SmUQbYublmwU/ia1HhFS8RVI8GvkaKt5ph0HoA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-linux-arm64-gnu": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-17.3.2.tgz", + "integrity": "sha512-X20wiXtXmKlC01bpVEREsRls1uVOM22xDTpqILvVty6+P+ytEYFR3Vs5EjDtzBKF51wjrwf03rEoToZbmgM8MA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-linux-arm64-musl": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-17.3.2.tgz", + "integrity": "sha512-yko3Xsezkn4tjeudZYLjxFl07X/YB84K+DLK7EFyh9elRWV/8VjFcQmBAKUS2r9LfaEMNXq8/vhWMOWYyWBrIA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-linux-x64-gnu": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-17.3.2.tgz", + "integrity": "sha512-RiPvvQMmlZmDu9HdT6n6sV0+fEkyAqR5VocrD5ZAzEzFIlh4dyVLripFR3+MD+QhIhXyPt/hpri1kq9sgs4wnw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-linux-x64-musl": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-17.3.2.tgz", + "integrity": "sha512-PWfVGmFsFJi+N1Nljg/jTKLHdufpGuHlxyfHqhDso/o4Qc0exZKSeZ1C63WkD7eTcT5kInifTQ/PffLiIDE3MA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-win32-arm64-msvc": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-17.3.2.tgz", + "integrity": "sha512-O+4FFPbQz1mqaIj+SVE02ppe7T9ELj7Z5soQct5TbRRhwjGaw5n5xaPPBW7jUuQe2L5htid1E82LJyq3JpVc8A==", "cpu": [ "arm64" ], "dev": true, + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/@nx/nx-win32-x64-msvc": { + "version": "17.3.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-17.3.2.tgz", + "integrity": "sha512-4hQm+7coy+hBqGY9J709hz/tUPijhf/WS7eML2r2xBmqBew3PMHfeZuaAAYWN690nIsu0WX3wyDsNjulR8HGPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nrwl/devkit/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@nrwl/devkit/node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/@nrwl/devkit/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "peer": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@nrwl/devkit/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5238,8 +5873,9 @@ }, "node_modules/@nrwl/devkit/node_modules/minimatch": { "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -5253,9 +5889,10 @@ }, "node_modules/@nrwl/devkit/node_modules/nx": { "version": "17.3.2", + "resolved": "https://registry.npmjs.org/nx/-/nx-17.3.2.tgz", + "integrity": "sha512-QjF1gnwKebQISvATrSbW7dsmIcLbA0fcyDyxLo5wVHx/MIlcaIb/lLYaPTld73ZZ6svHEZ6n2gOkhMitmkIPQA==", "dev": true, "hasInstallScript": true, - "license": "MIT", "peer": true, "dependencies": { "@nrwl/tao": "17.3.2", @@ -5324,8 +5961,9 @@ }, "node_modules/@nrwl/devkit/node_modules/ora": { "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.3.0.tgz", + "integrity": "sha512-zAKMgGXUim0Jyd6CXK9lraBnD3H5yPGBPPOkC23a2BG6hsm4Zu6OQSjQuEtV0BHDf4aKHcUFvJiGRrFuW3MG8g==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "bl": "^4.0.3", @@ -5346,79 +5984,192 @@ }, "node_modules/@nrwl/devkit/node_modules/semver": { "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@nrwl/devkit/node_modules/strip-bom": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@nrwl/devkit/node_modules/tmp": { - "version": "0.2.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@nrwl/devkit/node_modules/tsconfig-paths": { - "version": "4.2.0", - "dev": true, - "license": "MIT", "peer": true, "dependencies": { - "json5": "^2.2.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=6" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@nrwl/devkit/node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/@nrwl/devkit/node_modules/yargs": { - "version": "17.7.2", + "node_modules/@nrwl/devkit/node_modules/nx": { + "version": "17.3.2", "dev": true, + "hasInstallScript": true, "license": "MIT", "peer": true, "dependencies": { + "@nrwl/tao": "17.3.2", + "@yarnpkg/lockfile": "^1.1.0", + "@yarnpkg/parsers": "3.0.0-rc.46", + "@zkochan/js-yaml": "0.0.6", + "axios": "^1.6.0", + "chalk": "^4.1.0", + "cli-cursor": "3.1.0", + "cli-spinners": "2.6.1", "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@nrwl/devkit/node_modules/yargs-parser": { - "version": "21.1.1", - "dev": true, - "license": "ISC", - "peer": true, - "engines": { - "node": ">=12" + "dotenv": "~16.3.1", + "dotenv-expand": "~10.0.0", + "enquirer": "~2.3.6", + "figures": "3.2.0", + "flat": "^5.0.2", + "fs-extra": "^11.1.0", + "ignore": "^5.0.4", + "jest-diff": "^29.4.1", + "js-yaml": "4.1.0", + "jsonc-parser": "3.2.0", + "lines-and-columns": "~2.0.3", + "minimatch": "9.0.3", + "node-machine-id": "1.1.12", + "npm-run-path": "^4.0.1", + "open": "^8.4.0", + "ora": "5.3.0", + "semver": "^7.5.3", + "string-width": "^4.2.3", + "strong-log-transformer": "^2.1.0", + "tar-stream": "~2.2.0", + "tmp": "~0.2.1", + "tsconfig-paths": "^4.1.2", + "tslib": "^2.3.0", + "yargs": "^17.6.2", + "yargs-parser": "21.1.1" + }, + "bin": { + "nx": "bin/nx.js", + "nx-cloud": "bin/nx-cloud.js" + }, + "optionalDependencies": { + "@nx/nx-darwin-arm64": "17.3.2", + "@nx/nx-darwin-x64": "17.3.2", + "@nx/nx-freebsd-x64": "17.3.2", + "@nx/nx-linux-arm-gnueabihf": "17.3.2", + "@nx/nx-linux-arm64-gnu": "17.3.2", + "@nx/nx-linux-arm64-musl": "17.3.2", + "@nx/nx-linux-x64-gnu": "17.3.2", + "@nx/nx-linux-x64-musl": "17.3.2", + "@nx/nx-win32-arm64-msvc": "17.3.2", + "@nx/nx-win32-x64-msvc": "17.3.2" + }, + "peerDependencies": { + "@swc-node/register": "^1.6.7", + "@swc/core": "^1.3.85" + }, + "peerDependenciesMeta": { + "@swc-node/register": { + "optional": true + }, + "@swc/core": { + "optional": true + } + } + }, + "node_modules/@nrwl/devkit/node_modules/ora": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bl": "^4.0.3", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "log-symbols": "^4.0.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@nrwl/devkit/node_modules/semver": { + "version": "7.5.3", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nrwl/devkit/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "peer": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@nrwl/devkit/node_modules/tmp": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", + "dev": true, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@nrwl/devkit/node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "peer": true, + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@nrwl/devkit/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/@nrwl/devkit/node_modules/yargs": { + "version": "17.7.2", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@nrwl/devkit/node_modules/yargs-parser": { + "version": "21.1.1", + "dev": true, + "license": "ISC", + "peer": true, + "engines": { + "node": ">=12" } }, "node_modules/@nrwl/tao": { @@ -5433,6 +6184,48 @@ "tao": "index.js" } }, + "node_modules/@nrwl/devkit/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "peer": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@nrwl/devkit/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "peer": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/@nrwl/tao": { + "version": "18.3.4", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-18.3.4.tgz", + "integrity": "sha512-+7KsDYmGj1cvNaXZcjSYOPN1h17hsGFBtVX7MqnpJLLkQTUhKg2rQxqyluzshJ+RoDUVtYPGyHg1AizlB66RIA==", + "dev": true, + "dependencies": { + "nx": "18.3.4", + "tslib": "^2.3.0" + }, + "bin": { + "tao": "index.js" + } + }, "node_modules/@nx/nx-darwin-arm64": { "version": "18.3.4", "cpu": [ @@ -5771,61 +6564,284 @@ "eslint-plugin-wc": "^1.2.0" } }, - "node_modules/@open-wc/lit-helpers": { - "version": "0.5.1", - "license": "MIT", - "peerDependencies": { - "lit": "^2.0.0" - } - }, - "node_modules/@open-wc/scoped-elements": { - "version": "1.3.7", + "node_modules/@open-wc/eslint-config/node_modules/@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", "dev": true, - "license": "MIT", "dependencies": { - "@open-wc/dedupe-mixin": "^1.3.0", - "lit-html": "^1.0.0" + "@babel/highlight": "^7.10.4" } }, - "node_modules/@open-wc/semantic-dom-diff": { - "version": "0.19.9", + "node_modules/@open-wc/eslint-config/node_modules/@eslint/eslintrc": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", "dev": true, - "license": "MIT", "dependencies": { - "@types/chai": "^4.3.1", - "@web/test-runner-commands": "^0.6.5" + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/@open-wc/testing": { - "version": "2.5.33", + "node_modules/@open-wc/eslint-config/node_modules/@humanwhocodes/config-array": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", "dev": true, - "license": "MIT", "dependencies": { - "@open-wc/chai-dom-equals": "^0.12.36", - "@open-wc/semantic-dom-diff": "^0.19.3", - "@open-wc/testing-helpers": "^1.8.12", - "@types/chai": "^4.2.11", - "@types/chai-dom": "^0.0.9", - "@types/mocha": "^5.2.7", - "@types/sinon-chai": "^3.2.3", - "chai": "^4.2.0", - "chai-a11y-axe": "^1.3.1", - "chai-dom": "^1.8.1", - "mocha": "^6.2.2", - "sinon-chai": "^3.5.0" + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" } }, - "node_modules/@open-wc/testing-helpers": { - "version": "1.8.12", + "node_modules/@open-wc/eslint-config/node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@open-wc/eslint-config/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true, - "license": "MIT", - "dependencies": { - "@open-wc/scoped-elements": "^1.2.4", - "lit-element": "^2.2.1", - "lit-html": "^1.0.0" + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" } }, - "node_modules/@openscd/addons": { + "node_modules/@open-wc/eslint-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/eslint": { + "version": "7.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", + "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.4.3", + "@humanwhocodes/config-array": "^0.5.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.1.2", + "globals": "^13.6.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.9", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/eslint-config-airbnb-base": { + "version": "14.2.1", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz", + "integrity": "sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==", + "dev": true, + "dependencies": { + "confusing-browser-globals": "^1.0.10", + "object.assign": "^4.1.2", + "object.entries": "^1.1.2" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "eslint": "^5.16.0 || ^6.8.0 || ^7.2.0", + "eslint-plugin-import": "^2.22.1" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, + "dependencies": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@open-wc/eslint-config/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true + }, + "node_modules/@open-wc/eslint-config/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@open-wc/lit-helpers": { + "version": "0.5.1", + "license": "MIT", + "peerDependencies": { + "lit": "^2.0.0" + } + }, + "node_modules/@open-wc/scoped-elements": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-wc/dedupe-mixin": "^1.3.0", + "lit-html": "^1.0.0" + } + }, + "node_modules/@open-wc/semantic-dom-diff": { + "version": "0.19.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^4.3.1", + "@web/test-runner-commands": "^0.6.5" + } + }, + "node_modules/@open-wc/testing": { + "version": "2.5.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-wc/chai-dom-equals": "^0.12.36", + "@open-wc/semantic-dom-diff": "^0.19.3", + "@open-wc/testing-helpers": "^1.8.12", + "@types/chai": "^4.2.11", + "@types/chai-dom": "^0.0.9", + "@types/mocha": "^5.2.7", + "@types/sinon-chai": "^3.2.3", + "chai": "^4.2.0", + "chai-a11y-axe": "^1.3.1", + "chai-dom": "^1.8.1", + "mocha": "^6.2.2", + "sinon-chai": "^3.5.0" + } + }, + "node_modules/@open-wc/testing-helpers": { + "version": "1.8.12", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-wc/scoped-elements": "^1.2.4", + "lit-element": "^2.2.1", + "lit-html": "^1.0.0" + } + }, + "node_modules/@openscd/addons": { "resolved": "packages/addons", "link": true }, @@ -6195,6 +7211,8 @@ }, "node_modules/@sigstore/sign/node_modules/@npmcli/fs": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", "dev": true, "license": "ISC", "dependencies": { @@ -6236,6 +7254,8 @@ }, "node_modules/@sigstore/sign/node_modules/cacache/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -6255,6 +7275,8 @@ }, "node_modules/@sigstore/sign/node_modules/fs-minipass/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -6262,7 +7284,9 @@ } }, "node_modules/@sigstore/sign/node_modules/glob": { - "version": "10.3.14", + "version": "10.3.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz", + "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==", "dev": true, "license": "ISC", "dependencies": { @@ -6276,7 +7300,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -6284,6 +7308,8 @@ }, "node_modules/@sigstore/sign/node_modules/glob/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -6347,6 +7373,8 @@ }, "node_modules/@sigstore/sign/node_modules/minipass-fetch": { "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", "dev": true, "license": "MIT", "dependencies": { @@ -6363,6 +7391,8 @@ }, "node_modules/@sigstore/sign/node_modules/minipass-fetch/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -6371,6 +7401,8 @@ }, "node_modules/@sigstore/sign/node_modules/ssri": { "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, "license": "ISC", "dependencies": { @@ -6382,6 +7414,8 @@ }, "node_modules/@sigstore/sign/node_modules/ssri/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -6428,14 +7462,13 @@ "license": "MIT" }, "node_modules/@sindresorhus/is": { - "version": "4.6.0", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" + "node": ">=6" } }, "node_modules/@sinonjs/commons": { @@ -6509,14 +7542,16 @@ } }, "node_modules/@szmarczak/http-timer": { - "version": "4.0.6", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", "dev": true, "license": "MIT", "dependencies": { - "defer-to-connect": "^2.0.0" + "defer-to-connect": "^1.0.1" }, "engines": { - "node": ">=10" + "node": ">=6" } }, "node_modules/@tootallnate/once": { @@ -6659,8 +7694,9 @@ }, "node_modules/@types/chai": { "version": "4.3.16", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.16.tgz", + "integrity": "sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==", + "dev": true }, "node_modules/@types/chai-dom": { "version": "0.0.9", @@ -6794,11 +7830,6 @@ "@types/istanbul-lib-report": "*" } }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "dev": true, - "license": "MIT" - }, "node_modules/@types/json5": { "version": "0.0.29", "dev": true, @@ -6928,8 +7959,9 @@ }, "node_modules/@types/node": { "version": "16.18.97", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.97.tgz", + "integrity": "sha512-4muilE1Lbfn57unR+/nT9AFjWk0MtWi5muwCEJqnOvfRQDbSfLCUdN7vCIg8TYuaANfhLOV85ve+FNpiUsbSRg==", + "dev": true }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", @@ -6961,6 +7993,8 @@ }, "node_modules/@types/pngjs": { "version": "6.0.5", + "resolved": "https://registry.npmjs.org/@types/pngjs/-/pngjs-6.0.5.tgz", + "integrity": "sha512-0k5eKfrA83JOZPppLtS2C7OUtyNAl2wKNxfyYl9Q5g9lPkgBl/9hNyAu6HuEH2J4XmIv2znEpkDd0SaZVxW6iQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6993,11 +8027,6 @@ "@types/node": "*" } }, - "node_modules/@types/semver": { - "version": "7.5.8", - "dev": true, - "license": "MIT" - }, "node_modules/@types/send": { "version": "0.17.4", "dev": true, @@ -7069,29 +8098,32 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "4.33.0", + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.9.0.tgz", + "integrity": "sha512-6e+X0X3sFe/G/54aC3jt0txuMTURqLyekmEHViqyA2VnxhLMpvA6nqmcjIy+Cr9tLDHPssA74BP5Mx9HQIxBEA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/experimental-utils": "4.33.0", - "@typescript-eslint/scope-manager": "4.33.0", - "debug": "^4.3.1", - "functional-red-black-tree": "^1.0.1", - "ignore": "^5.1.8", - "regexpp": "^3.1.0", - "semver": "^7.3.5", - "tsutils": "^3.21.0" + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.9.0", + "@typescript-eslint/type-utils": "7.9.0", + "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/visitor-keys": "7.9.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^4.0.0", - "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + "@typescript-eslint/parser": "^7.0.0", + "eslint": "^8.56.0" }, "peerDependenciesMeta": { "typescript": { @@ -7099,48 +8131,28 @@ } } }, - "node_modules/@typescript-eslint/experimental-utils": { - "version": "4.33.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.7", - "@typescript-eslint/scope-manager": "4.33.0", - "@typescript-eslint/types": "4.33.0", - "@typescript-eslint/typescript-estree": "4.33.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - } - }, "node_modules/@typescript-eslint/parser": { - "version": "4.33.0", + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.9.0.tgz", + "integrity": "sha512-qHMJfkL5qvgQB2aLvhUSXxbK7OLnDkwPzFalg458pxQgfxKDfT1ZDbHQM/I6mDIf/svlMkj21kzKuQ2ixJlatQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "4.33.0", - "@typescript-eslint/types": "4.33.0", - "@typescript-eslint/typescript-estree": "4.33.0", - "debug": "^4.3.1" + "@typescript-eslint/scope-manager": "7.9.0", + "@typescript-eslint/types": "7.9.0", + "@typescript-eslint/typescript-estree": "7.9.0", + "@typescript-eslint/visitor-keys": "7.9.0", + "debug": "^4.3.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + "eslint": "^8.56.0" }, "peerDependenciesMeta": { "typescript": { @@ -7149,15 +8161,17 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "4.33.0", + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.9.0.tgz", + "integrity": "sha512-ZwPK4DeCDxr3GJltRz5iZejPFAAr4Wk3+2WIBaj1L5PYK5RgxExu/Y68FFVclN0y6GGwH8q+KgKRCvaTmFBbgQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "4.33.0", - "@typescript-eslint/visitor-keys": "4.33.0" + "@typescript-eslint/types": "7.9.0", + "@typescript-eslint/visitor-keys": "7.9.0" }, "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", @@ -7165,24 +8179,26 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.62.0", + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.9.0.tgz", + "integrity": "sha512-6Qy8dfut0PFrFRAZsGzuLoM4hre4gjzWJB6sUvdunCYZsYemTkzZNwF1rnGea326PHPT3zn5Lmg32M/xfJfByA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "5.62.0", - "@typescript-eslint/utils": "5.62.0", + "@typescript-eslint/typescript-estree": "7.9.0", + "@typescript-eslint/utils": "7.9.0", "debug": "^4.3.4", - "tsutils": "^3.21.0" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "*" + "eslint": "^8.56.0" }, "peerDependenciesMeta": { "typescript": { @@ -7190,33 +8206,38 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "5.62.0", + "node_modules/@typescript-eslint/types": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.9.0.tgz", + "integrity": "sha512-oZQD9HEWQanl9UfsbGVcZ2cGaR0YT5476xfWE0oE5kQa2sNK2frxOlkeacLOTh9po4AlUT5rtkGyYM5kew0z5w==", "dev": true, "license": "MIT", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", + "node_modules/@typescript-eslint/typescript-estree": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.9.0.tgz", + "integrity": "sha512-zBCMCkrb2YjpKV3LA0ZJubtKCDxLttxfdGmwZvTqqWevUPN0FZvSI26FalGFFUZU/9YQK/A4xcQF9o/VVaCKAg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", + "@typescript-eslint/types": "7.9.0", + "@typescript-eslint/visitor-keys": "7.9.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", @@ -7228,167 +8249,72 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=16 || 14 >=14.17" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@typescript-eslint/types": { - "version": "4.33.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "4.33.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/types": "4.33.0", - "@typescript-eslint/visitor-keys": "4.33.0", - "debug": "^4.3.1", - "globby": "^11.0.3", - "is-glob": "^4.0.1", - "semver": "^7.3.5", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@typescript-eslint/utils": { - "version": "5.62.0", + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.9.0.tgz", + "integrity": "sha512-5KVRQCzZajmT4Ep+NEgjXCvjuypVvYHUW7RHlXzNPuak2oWpVoD1jf5xCP0dPAuNIchjC7uQyvbdaSTFaLqSdA==", "dev": true, - "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.9.0", + "@typescript-eslint/types": "7.9.0", + "@typescript-eslint/typescript-estree": "7.9.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { - "version": "5.62.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.56.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.9.0.tgz", + "integrity": "sha512-iESPx2TNLDNGQLyjKhUvIKprlP49XNEK+MvIf9nIO7ZZaZdbnfWKHnXAgufpxqfA0YryH8XToi4+CjBgVnFTSQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "7.9.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": { + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { "version": "3.4.3", "dev": true, "license": "Apache-2.0", @@ -7399,22 +8325,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "4.33.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "4.33.0", - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@ungap/structured-clone": { "version": "1.2.0", "dev": true, @@ -7500,8 +8410,9 @@ }, "node_modules/@web/dev-server-core/node_modules/es-module-lexer": { "version": "1.5.2", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.2.tgz", + "integrity": "sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==", + "dev": true }, "node_modules/@web/dev-server-core/node_modules/lru-cache": { "version": "6.0.0", @@ -7569,8 +8480,9 @@ }, "node_modules/@web/dev-server-esbuild/node_modules/es-module-lexer": { "version": "1.5.2", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.2.tgz", + "integrity": "sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==", + "dev": true }, "node_modules/@web/dev-server-esbuild/node_modules/isbinaryfile": { "version": "4.0.10", @@ -7701,17 +8613,6 @@ "node": ">=12.0.0" } }, - "node_modules/@web/polyfills-loader/node_modules/acorn": { - "version": "8.11.3", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/@web/polyfills-loader/node_modules/parse5": { "version": "6.0.1", "dev": true, @@ -7719,6 +8620,8 @@ }, "node_modules/@web/polyfills-loader/node_modules/terser": { "version": "5.31.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.0.tgz", + "integrity": "sha512-Q1JFAoUKE5IMfI4Z/lkE/E6+SwgzO+x4tq4v1AyBLRj8VSYvRO6A/rQrPg1yud4g0En9EKI1TvFRF2tQFcoUkg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -7748,17 +8651,6 @@ "node": ">=12.0.0" } }, - "node_modules/@web/rollup-plugin-html/node_modules/acorn": { - "version": "8.11.3", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/@web/rollup-plugin-html/node_modules/commander": { "version": "10.0.1", "dev": true, @@ -7805,6 +8697,8 @@ }, "node_modules/@web/rollup-plugin-html/node_modules/terser": { "version": "5.31.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.0.tgz", + "integrity": "sha512-Q1JFAoUKE5IMfI4Z/lkE/E6+SwgzO+x4tq4v1AyBLRj8VSYvRO6A/rQrPg1yud4g0En9EKI1TvFRF2tQFcoUkg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -8226,7 +9120,9 @@ "license": "Apache-2.0" }, "node_modules/acorn": { - "version": "7.4.1", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "dev": true, "license": "MIT", "bin": { @@ -8703,6 +9599,8 @@ }, "node_modules/axe-core": { "version": "4.9.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.1.tgz", + "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==", "dev": true, "license": "MPL-2.0", "engines": { @@ -9294,17 +10192,19 @@ } }, "node_modules/cacheable-request": { - "version": "7.0.4", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", "dev": true, "license": "MIT", "dependencies": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", "http-cache-semantics": "^4.0.0", - "keyv": "^4.0.0", + "keyv": "^3.0.0", "lowercase-keys": "^2.0.0", - "normalize-url": "^6.0.1", - "responselike": "^2.0.0" + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" }, "engines": { "node": ">=8" @@ -9324,6 +10224,30 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/cacheable-request/node_modules/json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==", + "dev": true + }, + "node_modules/cacheable-request/node_modules/keyv": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", + "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.0" + } + }, + "node_modules/cacheable-request/node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/cachedir": { "version": "2.4.0", "dev": true, @@ -9414,7 +10338,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001617", + "version": "1.0.30001618", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001618.tgz", + "integrity": "sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==", "dev": true, "funding": [ { @@ -9667,8 +10593,9 @@ }, "node_modules/cjs-module-lexer": { "version": "1.3.1", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", + "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", + "dev": true }, "node_modules/clean-css": { "version": "5.3.3", @@ -10565,7 +11492,9 @@ } }, "node_modules/core-js-bundle": { - "version": "3.37.0", + "version": "3.37.1", + "resolved": "https://registry.npmjs.org/core-js-bundle/-/core-js-bundle-3.37.1.tgz", + "integrity": "sha512-Bt9sorQku7bA6xoaY2NYdeaEnitLg9peHJ+eAijrARCQ5FhkoUW1eF4oI35XfP9kyeyljw71uCud4ju8tjGhsg==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -10575,7 +11504,9 @@ } }, "node_modules/core-js-compat": { - "version": "3.37.0", + "version": "3.37.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.37.1.tgz", + "integrity": "sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==", "dev": true, "license": "MIT", "dependencies": { @@ -10587,7 +11518,9 @@ } }, "node_modules/core-js-pure": { - "version": "3.37.0", + "version": "3.37.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.37.1.tgz", + "integrity": "sha512-J/r5JTHSmzTxbiYYrzXg9w1VpqrYt+gexenBE9pugeyhwPZTAEJddyiReJWsLO6uNQ8xJZFbod6XC7KKwatCiA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -10874,28 +11807,16 @@ } }, "node_modules/decompress-response": { - "version": "6.0.0", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", + "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", "dev": true, "license": "MIT", "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" + "mimic-response": "^1.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "dev": true, - "license": "MIT", "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4" } }, "node_modules/dedent": { @@ -10981,12 +11902,10 @@ } }, "node_modules/defer-to-connect": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", + "dev": true }, "node_modules/define-data-property": { "version": "1.1.4", @@ -11097,6 +12016,8 @@ }, "node_modules/detect-port": { "version": "1.6.1", + "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.6.1.tgz", + "integrity": "sha512-CmnVc+Hek2egPx1PeTFVta2W78xy2K/9Rkf6cC4T59S50tVnzKj+tnx5mmx5lwvCkujZ4uRrpRSuV+IVs3f90Q==", "dev": true, "license": "MIT", "dependencies": { @@ -11406,9 +12327,10 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.762", - "dev": true, - "license": "ISC" + "version": "1.4.770", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.770.tgz", + "integrity": "sha512-ONwOsDiVvV07CMsyH4+dEaZ9L79HMH/ODHnDS3GkIhgNqdDHJN2C18kFb0fBj0RXpQywsPJl6k2Pqg1IY4r1ig==", + "dev": true }, "node_modules/email-addresses": { "version": "3.1.0", @@ -11459,6 +12381,8 @@ }, "node_modules/enquirer": { "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", "dev": true, "license": "MIT", "dependencies": { @@ -11941,8 +12865,9 @@ }, "node_modules/es-module-shims": { "version": "1.10.0", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-1.10.0.tgz", + "integrity": "sha512-3PmuShQBd9d8pulTFx6L7HKgncnZ1oeSSbrEfnUasb3Tv974BAvyFtW1HLPJSkh5fCaU9JNZbBzPdbxSwg2zqA==", + "dev": true }, "node_modules/es-object-atoms": { "version": "1.0.0", @@ -12206,84 +13131,67 @@ } }, "node_modules/eslint": { - "version": "7.32.0", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.3", - "@humanwhocodes/config-array": "^0.5.0", - "ajv": "^6.10.0", + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", - "debug": "^4.0.1", + "debug": "^4.3.2", "doctrine": "^3.0.0", - "enquirer": "^2.3.5", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^2.0.0", - "espree": "^7.3.1", - "esquery": "^1.4.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.1.2", - "globals": "^13.6.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "progress": "^2.0.0", - "regexpp": "^3.1.0", - "semver": "^7.2.1", - "strip-ansi": "^6.0.0", - "strip-json-comments": "^3.1.0", - "table": "^6.0.9", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-config-airbnb-base": { - "version": "14.2.1", + "node_modules/eslint-config-prettier": { + "version": "8.10.0", "dev": true, "license": "MIT", - "dependencies": { - "confusing-browser-globals": "^1.0.10", - "object.assign": "^4.1.2", - "object.entries": "^1.1.2" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "eslint": "^5.16.0 || ^6.8.0 || ^7.2.0", - "eslint-plugin-import": "^2.22.1" - } - }, - "node_modules/eslint-config-prettier": { - "version": "8.10.0", - "dev": true, - "license": "MIT", - "bin": { - "eslint-config-prettier": "bin/cli.js" + "bin": { + "eslint-config-prettier": "bin/cli.js" }, "peerDependencies": { "eslint": ">=7.0.0" @@ -12422,7 +13330,9 @@ } }, "node_modules/eslint-plugin-lit": { - "version": "1.12.0", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-lit/-/eslint-plugin-lit-1.13.0.tgz", + "integrity": "sha512-vKc67q6YQ+naYO1QuFpqMoTs3535yp8+0WB/8bzZRLr5NSOb4C6vZrD4se7S9XZtym5TxSVlIqa9QTWYISykQg==", "dev": true, "license": "MIT", "dependencies": { @@ -12458,11 +13368,216 @@ "eslint": ">= 5" } }, + "node_modules/eslint-plugin-lit-a11y/node_modules/@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.10.4" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/@eslint/eslintrc": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/@humanwhocodes/config-array": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/eslint": { + "version": "7.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", + "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.4.3", + "@humanwhocodes/config-array": "^0.5.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.1.2", + "globals": "^13.6.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.9", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, + "dependencies": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/eslint-plugin-lit-a11y/node_modules/parse5": { "version": "5.1.1", "dev": true, "license": "MIT" }, + "node_modules/eslint-plugin-lit-a11y/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true + }, + "node_modules/eslint-plugin-lit-a11y/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eslint-plugin-lit/node_modules/parse5": { "version": "6.0.1", "dev": true, @@ -12530,66 +13645,83 @@ } }, "node_modules/eslint-utils": { - "version": "3.0.0", + "version": "2.1.0", "dev": true, "license": "MIT", "dependencies": { - "eslint-visitor-keys": "^2.0.0" + "eslint-visitor-keys": "^1.1.0" }, "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" } }, - "node_modules/eslint-visitor-keys": { - "version": "2.1.0", + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", "dev": true, "license": "Apache-2.0", "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/eslint/node_modules/@babel/code-frame": { - "version": "7.12.11", + "node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" + "engines": { + "node": ">=10" } }, - "node_modules/eslint/node_modules/argparse": { - "version": "1.0.10", + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, - "license": "MIT", "dependencies": { - "sprintf-js": "~1.0.2" + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/eslint-utils": { - "version": "2.1.0", + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, "engines": { - "node": ">=6" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/mysticatea" + "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "1.3.0", + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, - "license": "Apache-2.0", "engines": { - "node": ">=4" + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" } }, "node_modules/eslint/node_modules/globals": { @@ -12606,31 +13738,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/ignore": { - "version": "4.0.6", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/eslint/node_modules/js-yaml": { - "version": "3.14.1", + "node_modules/eslint/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "MIT", "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "brace-expansion": "^1.1.7" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": "*" } }, - "node_modules/eslint/node_modules/sprintf-js": { - "version": "1.0.3", - "dev": true, - "license": "BSD-3-Clause" - }, "node_modules/eslint/node_modules/type-fest": { "version": "0.20.2", "dev": true, @@ -12643,24 +13763,34 @@ } }, "node_modules/espree": { - "version": "7.3.1", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "acorn": "^7.4.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^1.3.0" + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/espree/node_modules/eslint-visitor-keys": { - "version": "1.3.0", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "license": "Apache-2.0", "engines": { - "node": ">=4" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/esprima": { @@ -13471,6 +14601,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/get-tsconfig": { + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.5.tgz", + "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==", + "dev": true, + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, "node_modules/getpass": { "version": "0.1.7", "dev": true, @@ -13703,6 +14845,8 @@ }, "node_modules/globalthis": { "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -13747,27 +14891,38 @@ } }, "node_modules/got": { - "version": "11.8.6", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", "dev": true, "license": "MIT", "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.2", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" }, "engines": { - "node": ">=10.19.0" + "node": ">=8.6" + } + }, + "node_modules/got/node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" + "engines": { + "node": ">=6" } }, "node_modules/graceful-fs": { @@ -15101,6 +16256,8 @@ }, "node_modules/jake": { "version": "10.9.1", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.1.tgz", + "integrity": "sha512-61btcOHNnLnsOdtLgA5efqQWjnSi/vow5HbI7HMdKKWqvrKR1bLK3BPlJn9gcSaP2ewuamUSMB5XEy76KUIS2w==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -15682,8 +16839,9 @@ }, "node_modules/lerna/node_modules/@nx/devkit": { "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.10.0.tgz", + "integrity": "sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w==", "dev": true, - "license": "MIT", "dependencies": { "@nrwl/devkit": "16.10.0", "ejs": "^3.1.7", @@ -15723,6 +16881,18 @@ "node": ">=8.6" } }, + "node_modules/lerna/node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/lerna/node_modules/glob": { "version": "7.1.4", "dev": true, @@ -15870,8 +17040,9 @@ }, "node_modules/lerna/node_modules/tmp": { "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", "dev": true, - "license": "MIT", "engines": { "node": ">=14.14" } @@ -15889,11 +17060,6 @@ "node": ">=6" } }, - "node_modules/lerna/node_modules/v8-compile-cache": { - "version": "2.3.0", - "dev": true, - "license": "MIT" - }, "node_modules/lerna/node_modules/yallist": { "version": "4.0.0", "dev": true, @@ -16003,6 +17169,8 @@ }, "node_modules/libnpmpublish/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -16039,6 +17207,8 @@ }, "node_modules/libnpmpublish/node_modules/ssri": { "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, "license": "ISC", "dependencies": { @@ -16494,11 +17664,13 @@ } }, "node_modules/lowercase-keys": { - "version": "2.0.0", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, "node_modules/lru-cache": { @@ -17479,11 +18651,6 @@ "dev": true, "license": "MIT" }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, "node_modules/negotiator": { "version": "0.6.3", "dev": true, @@ -17608,6 +18775,8 @@ }, "node_modules/node-gyp-build": { "version": "4.8.1", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.1.tgz", + "integrity": "sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==", "dev": true, "license": "MIT", "bin": { @@ -17691,14 +18860,13 @@ } }, "node_modules/normalize-url": { - "version": "6.1.0", + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", "dev": true, "license": "MIT", "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/npm-bundled": { @@ -17906,6 +19074,8 @@ }, "node_modules/npm-registry-fetch/node_modules/@npmcli/fs": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", "dev": true, "license": "ISC", "dependencies": { @@ -17947,6 +19117,8 @@ }, "node_modules/npm-registry-fetch/node_modules/cacache/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -17966,6 +19138,8 @@ }, "node_modules/npm-registry-fetch/node_modules/fs-minipass/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -17973,7 +19147,9 @@ } }, "node_modules/npm-registry-fetch/node_modules/glob": { - "version": "10.3.14", + "version": "10.3.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz", + "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==", "dev": true, "license": "ISC", "dependencies": { @@ -17987,7 +19163,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -17995,6 +19171,8 @@ }, "node_modules/npm-registry-fetch/node_modules/glob/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -18069,6 +19247,8 @@ }, "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", "dev": true, "license": "MIT", "dependencies": { @@ -18085,6 +19265,8 @@ }, "node_modules/npm-registry-fetch/node_modules/minipass-fetch/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -18107,6 +19289,8 @@ }, "node_modules/npm-registry-fetch/node_modules/ssri": { "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, "license": "ISC", "dependencies": { @@ -18118,6 +19302,8 @@ }, "node_modules/npm-registry-fetch/node_modules/ssri/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -18270,8 +19456,9 @@ }, "node_modules/nx/node_modules/enquirer": { "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", "dev": true, - "license": "MIT", "dependencies": { "ansi-colors": "^4.1.1" }, @@ -18339,8 +19526,9 @@ }, "node_modules/nx/node_modules/tmp": { "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", "dev": true, - "license": "MIT", "engines": { "node": ">=14.14" } @@ -18596,6 +19784,8 @@ }, "node_modules/optionator": { "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "license": "MIT", "dependencies": { @@ -18664,11 +19854,13 @@ } }, "node_modules/p-cancelable": { - "version": "2.1.1", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=6" } }, "node_modules/p-finally": { @@ -18810,157 +20002,6 @@ "node": ">=8" } }, - "node_modules/package-json/node_modules/@sindresorhus/is": { - "version": "0.14.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json/node_modules/@szmarczak/http-timer": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "defer-to-connect": "^1.0.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json/node_modules/cacheable-request": { - "version": "6.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/package-json/node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/package-json/node_modules/decompress-response": { - "version": "3.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/package-json/node_modules/defer-to-connect": { - "version": "1.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/package-json/node_modules/get-stream": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json/node_modules/got": { - "version": "9.6.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/package-json/node_modules/got/node_modules/lowercase-keys": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/package-json/node_modules/json-buffer": { - "version": "3.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/package-json/node_modules/keyv": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.0" - } - }, - "node_modules/package-json/node_modules/normalize-url": { - "version": "4.5.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/package-json/node_modules/p-cancelable": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json/node_modules/responselike": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "lowercase-keys": "^1.0.0" - } - }, - "node_modules/package-json/node_modules/responselike/node_modules/lowercase-keys": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/package-json/node_modules/semver": { "version": "6.3.1", "dev": true, @@ -19002,6 +20043,8 @@ }, "node_modules/pacote/node_modules/@npmcli/fs": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", "dev": true, "license": "ISC", "dependencies": { @@ -19043,6 +20086,8 @@ }, "node_modules/pacote/node_modules/cacache/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -19062,6 +20107,8 @@ }, "node_modules/pacote/node_modules/fs-minipass/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -19069,7 +20116,9 @@ } }, "node_modules/pacote/node_modules/glob": { - "version": "10.3.14", + "version": "10.3.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz", + "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==", "dev": true, "license": "ISC", "dependencies": { @@ -19083,7 +20132,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -19091,6 +20140,8 @@ }, "node_modules/pacote/node_modules/glob/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -19110,6 +20161,8 @@ }, "node_modules/pacote/node_modules/ignore-walk": { "version": "6.0.5", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.5.tgz", + "integrity": "sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A==", "dev": true, "license": "ISC", "dependencies": { @@ -19176,6 +20229,8 @@ }, "node_modules/pacote/node_modules/ssri": { "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, "license": "ISC", "dependencies": { @@ -19187,6 +20242,8 @@ }, "node_modules/pacote/node_modules/ssri/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -19379,7 +20436,9 @@ "license": "MIT" }, "node_modules/path-scurry": { - "version": "1.11.0", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -19387,7 +20446,7 @@ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -19395,6 +20454,8 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.2.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", + "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", "dev": true, "license": "ISC", "engines": { @@ -19403,6 +20464,8 @@ }, "node_modules/path-scurry/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -19450,9 +20513,10 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", - "dev": true, - "license": "ISC" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -19578,6 +20642,8 @@ }, "node_modules/playwright": { "version": "1.44.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz", + "integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -19595,6 +20661,8 @@ }, "node_modules/playwright-core": { "version": "1.44.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.0.tgz", + "integrity": "sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -19950,6 +21018,8 @@ }, "node_modules/promzard": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/promzard/-/promzard-1.0.2.tgz", + "integrity": "sha512-2FPputGL+mP3jJ3UZg/Dl9YOkovB7DX0oOr+ck5QbZ5MtORtds8k/BZdn+02peDLI8/YWbmzx34k5fA+fHvCVQ==", "dev": true, "license": "ISC", "dependencies": { @@ -20216,8 +21286,9 @@ }, "node_modules/react-is": { "version": "18.3.1", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true }, "node_modules/read": { "version": "2.1.0", @@ -20266,6 +21337,8 @@ }, "node_modules/read-package-json-fast/node_modules/json-parse-even-better-errors": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", + "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", "dev": true, "license": "MIT", "engines": { @@ -20289,7 +21362,9 @@ } }, "node_modules/read-package-json/node_modules/glob": { - "version": "10.3.14", + "version": "10.3.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz", + "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==", "dev": true, "license": "ISC", "dependencies": { @@ -20303,7 +21378,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -20322,6 +21397,8 @@ }, "node_modules/read-package-json/node_modules/json-parse-even-better-errors": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", + "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", "dev": true, "license": "MIT", "engines": { @@ -20352,6 +21429,8 @@ }, "node_modules/read-package-json/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -20915,19 +21994,27 @@ "dev": true, "license": "ISC" }, - "node_modules/responselike": { - "version": "2.0.1", + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", "dev": true, - "license": "MIT", - "dependencies": { - "lowercase-keys": "^2.0.0" - }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" } }, - "node_modules/restore-cursor": { - "version": "3.1.0", + "node_modules/responselike": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", + "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "lowercase-keys": "^1.0.0" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", "dev": true, "license": "MIT", "dependencies": { @@ -21060,19 +22147,10 @@ "rollup": "^2.0.0" } }, - "node_modules/rollup-plugin-terser/node_modules/acorn": { - "version": "8.11.3", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/rollup-plugin-terser/node_modules/terser": { "version": "5.31.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.0.tgz", + "integrity": "sha512-Q1JFAoUKE5IMfI4Z/lkE/E6+SwgzO+x4tq4v1AyBLRj8VSYvRO6A/rQrPg1yud4g0En9EKI1TvFRF2tQFcoUkg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -21250,8 +22328,9 @@ }, "node_modules/semver": { "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -21437,6 +22516,8 @@ }, "node_modules/sigstore/node_modules/@npmcli/fs": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", "dev": true, "license": "ISC", "dependencies": { @@ -21478,6 +22559,8 @@ }, "node_modules/sigstore/node_modules/cacache/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -21497,6 +22580,8 @@ }, "node_modules/sigstore/node_modules/fs-minipass/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -21504,7 +22589,9 @@ } }, "node_modules/sigstore/node_modules/glob": { - "version": "10.3.14", + "version": "10.3.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz", + "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==", "dev": true, "license": "ISC", "dependencies": { @@ -21518,7 +22605,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -21526,6 +22613,8 @@ }, "node_modules/sigstore/node_modules/glob/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -21589,6 +22678,8 @@ }, "node_modules/sigstore/node_modules/minipass-fetch": { "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", "dev": true, "license": "MIT", "dependencies": { @@ -21605,6 +22696,8 @@ }, "node_modules/sigstore/node_modules/minipass-fetch/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -21613,6 +22706,8 @@ }, "node_modules/sigstore/node_modules/ssri": { "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, "license": "ISC", "dependencies": { @@ -21624,6 +22719,8 @@ }, "node_modules/sigstore/node_modules/ssri/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, "license": "ISC", "engines": { @@ -21721,6 +22818,30 @@ "node": ">=10" } }, + "node_modules/skypack/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", + "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "node_modules/skypack/node_modules/@szmarczak/http-timer": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", + "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==", + "dev": true, + "dependencies": { + "defer-to-connect": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/skypack/node_modules/builtins": { "version": "1.0.3", "dev": true, @@ -21754,6 +22875,97 @@ "node": ">= 10" } }, + "node_modules/skypack/node_modules/cacheable-request": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz", + "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==", + "dev": true, + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/skypack/node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "dev": true, + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/skypack/node_modules/defer-to-connect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", + "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/skypack/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/skypack/node_modules/got": { + "version": "11.8.6", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz", + "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==", + "dev": true, + "dependencies": { + "@sindresorhus/is": "^4.0.0", + "@szmarczak/http-timer": "^4.0.5", + "@types/cacheable-request": "^6.0.1", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^5.0.3", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "http2-wrapper": "^1.0.0-beta.5.2", + "lowercase-keys": "^2.0.0", + "p-cancelable": "^2.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=10.19.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "node_modules/skypack/node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/skypack/node_modules/lru-cache": { "version": "6.0.0", "dev": true, @@ -21765,6 +22977,51 @@ "node": ">=10" } }, + "node_modules/skypack/node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/skypack/node_modules/normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/skypack/node_modules/p-cancelable": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz", + "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/skypack/node_modules/responselike": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz", + "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==", + "dev": true, + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/skypack/node_modules/rimraf": { "version": "3.0.2", "dev": true, @@ -21850,60 +23107,20 @@ } }, "node_modules/snowpack": { - "version": "3.8.6", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/snowpack/-/snowpack-3.1.0.tgz", + "integrity": "sha512-B5bqsVcp3OGrEohvGXH/7wFVLSfAc++SCAGVHrFXIYOxMSYf5nrswkraJCRX5ffFXpBgkH9tZCYhgPBO66oYOA==", "dev": true, "license": "MIT", "dependencies": { - "@npmcli/arborist": "^2.6.4", - "bufferutil": "^4.0.2", - "cachedir": "^2.3.0", - "cheerio": "1.0.0-rc.10", - "chokidar": "^3.4.0", "cli-spinners": "^2.5.0", - "compressible": "^2.0.18", - "cosmiconfig": "^7.0.0", - "deepmerge": "^4.2.2", "default-browser-id": "^2.0.0", - "detect-port": "^1.3.0", - "es-module-lexer": "^0.3.24", - "esbuild": "~0.9.0", - "esinstall": "^1.1.7", - "estree-walker": "^2.0.2", - "etag": "^1.8.1", - "execa": "^5.1.1", + "esbuild": "^0.9.3", "fdir": "^5.0.0", - "find-cache-dir": "^3.3.1", - "find-up": "^5.0.0", - "glob": "^7.1.7", - "httpie": "^1.1.2", - "is-plain-object": "^5.0.0", - "is-reference": "^1.2.1", - "isbinaryfile": "^4.0.6", - "jsonschema": "~1.2.5", - "kleur": "^4.1.1", - "meriyah": "^3.1.6", - "mime-types": "^2.1.26", - "mkdirp": "^1.0.3", - "npm-run-path": "^4.0.1", - "open": "^8.2.1", - "pacote": "^11.3.4", - "periscopic": "^2.0.3", - "picomatch": "^2.3.0", - "postcss": "^8.3.5", - "postcss-modules": "^4.0.0", + "open": "^7.0.4", + "picomatch": "^2.2.2", "resolve": "^1.20.0", - "resolve-from": "^5.0.0", - "rimraf": "^3.0.0", - "rollup": "~2.37.1", - "signal-exit": "^3.0.3", - "skypack": "^0.3.2", - "slash": "~3.0.0", - "source-map": "^0.7.3", - "strip-ansi": "^6.0.0", - "strip-comments": "^2.0.1", - "utf-8-validate": "^5.0.3", - "ws": "^7.3.0", - "yargs-parser": "^20.0.0" + "rollup": "^2.34.0" }, "bin": { "snowpack": "index.bin.js", @@ -21913,2964 +23130,2848 @@ "node": ">=10.19.0" }, "optionalDependencies": { - "fsevents": "^2.3.2" + "fsevents": "^2.2.0" } }, - "node_modules/snowpack/node_modules/@npmcli/fs": { - "version": "1.1.1", + "node_modules/snowpack/node_modules/esbuild": { + "version": "0.9.7", "dev": true, - "license": "ISC", - "dependencies": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" } }, - "node_modules/snowpack/node_modules/@npmcli/git": { - "version": "2.1.0", + "node_modules/snowpack/node_modules/open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "@npmcli/promise-spawn": "^1.3.2", - "lru-cache": "^6.0.0", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^6.1.1", - "promise-inflight": "^1.0.1", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^2.0.2" + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/snowpack/node_modules/@npmcli/installed-package-contents": { - "version": "1.0.7", + "node_modules/socks": { + "version": "2.8.3", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "installed-package-contents": "index.js" + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" }, "engines": { - "node": ">= 10" + "node": ">= 10.0.0", + "npm": ">= 3.0.0" } }, - "node_modules/snowpack/node_modules/@npmcli/move-file": { - "version": "1.1.2", + "node_modules/socks-proxy-agent": { + "version": "7.0.0", "dev": true, "license": "MIT", "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" }, "engines": { - "node": ">=10" + "node": ">= 10" } }, - "node_modules/snowpack/node_modules/@npmcli/node-gyp": { - "version": "1.0.3", + "node_modules/sort-keys": { + "version": "2.0.0", "dev": true, - "license": "ISC" - }, - "node_modules/snowpack/node_modules/@npmcli/promise-spawn": { - "version": "1.3.2", - "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "infer-owner": "^1.0.4" + "is-plain-obj": "^1.0.0" + }, + "engines": { + "node": ">=4" } }, - "node_modules/snowpack/node_modules/@npmcli/run-script": { - "version": "1.8.6", + "node_modules/source-map": { + "version": "0.7.4", "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/node-gyp": "^1.0.2", - "@npmcli/promise-spawn": "^1.3.2", - "node-gyp": "^7.1.0", - "read-package-json-fast": "^2.0.1" + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" } }, - "node_modules/snowpack/node_modules/@tootallnate/once": { - "version": "1.1.2", + "node_modules/source-map-js": { + "version": "1.2.0", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "engines": { - "node": ">= 6" + "node": ">=0.10.0" } }, - "node_modules/snowpack/node_modules/ansi-regex": { - "version": "2.1.1", + "node_modules/source-map-support": { + "version": "0.5.21", "dev": true, "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, - "node_modules/snowpack/node_modules/aproba": { - "version": "1.2.0", + "node_modules/sourcemap-codec": { + "version": "1.4.8", "dev": true, - "license": "ISC" + "license": "MIT" }, - "node_modules/snowpack/node_modules/are-we-there-yet": { - "version": "1.1.7", + "node_modules/spawn-command": { + "version": "0.0.2-1", "dev": true, - "license": "ISC", + "license": "MIT" + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "dev": true, + "license": "Apache-2.0", "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" } }, - "node_modules/snowpack/node_modules/builtins": { - "version": "1.0.3", + "node_modules/spdx-exceptions": { + "version": "2.5.0", "dev": true, - "license": "MIT" + "license": "CC-BY-3.0" }, - "node_modules/snowpack/node_modules/cacache": { - "version": "15.3.0", + "node_modules/spdx-expression-parse": { + "version": "3.0.1", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "engines": { - "node": ">= 10" + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" } }, - "node_modules/snowpack/node_modules/cosmiconfig": { - "version": "7.1.0", + "node_modules/spdx-license-ids": { + "version": "3.0.17", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/split": { + "version": "1.0.1", "dev": true, "license": "MIT", "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" + "through": "2" }, "engines": { - "node": ">=10" + "node": "*" } }, - "node_modules/snowpack/node_modules/es-module-lexer": { - "version": "0.3.26", + "node_modules/split2": { + "version": "3.2.2", "dev": true, - "license": "MIT" + "license": "ISC", + "dependencies": { + "readable-stream": "^3.0.0" + } }, - "node_modules/snowpack/node_modules/esbuild": { - "version": "0.9.7", + "node_modules/sprintf-js": { + "version": "1.1.3", "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - } + "license": "BSD-3-Clause" }, - "node_modules/snowpack/node_modules/execa": { - "version": "5.1.1", + "node_modules/sshpk": { + "version": "1.18.0", "dev": true, "license": "MIT", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" }, - "engines": { - "node": ">=10" + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/snowpack/node_modules/gauge": { - "version": "2.7.4", + "node_modules/sshpk/node_modules/jsbn": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ssri": { + "version": "9.0.1", "dev": true, "license": "ISC", "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "minipass": "^3.1.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/snowpack/node_modules/gauge/node_modules/strip-ansi": { - "version": "3.0.1", + "node_modules/standard-version": { + "version": "9.5.0", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.2", + "conventional-changelog": "3.1.25", + "conventional-changelog-config-spec": "2.1.0", + "conventional-changelog-conventionalcommits": "4.6.3", + "conventional-recommended-bump": "6.1.0", + "detect-indent": "^6.0.0", + "detect-newline": "^3.1.0", + "dotgitignore": "^2.1.0", + "figures": "^3.1.0", + "find-up": "^5.0.0", + "git-semver-tags": "^4.0.0", + "semver": "^7.1.1", + "stringify-package": "^1.0.1", + "yargs": "^16.0.0" + }, + "bin": { + "standard-version": "bin/cli.js" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/snowpack/node_modules/http-proxy-agent": { - "version": "4.0.1", + "node_modules/standard-version/node_modules/ansi-styles": { + "version": "3.2.1", "dev": true, "license": "MIT", "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" + "color-convert": "^1.9.0" }, "engines": { - "node": ">= 6" + "node": ">=4" } }, - "node_modules/snowpack/node_modules/ignore-walk": { - "version": "3.0.4", + "node_modules/standard-version/node_modules/chalk": { + "version": "2.4.2", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "minimatch": "^3.0.4" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" } }, - "node_modules/snowpack/node_modules/is-fullwidth-code-point": { - "version": "1.0.0", + "node_modules/standard-version/node_modules/color-convert": { + "version": "1.9.3", "dev": true, "license": "MIT", "dependencies": { - "number-is-nan": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" + "color-name": "1.1.3" } }, - "node_modules/snowpack/node_modules/isarray": { - "version": "1.0.0", + "node_modules/standard-version/node_modules/color-name": { + "version": "1.1.3", "dev": true, "license": "MIT" }, - "node_modules/snowpack/node_modules/isbinaryfile": { - "version": "4.0.10", + "node_modules/standard-version/node_modules/conventional-changelog-preset-loader": { + "version": "2.3.4", "dev": true, "license": "MIT", "engines": { - "node": ">= 8.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/gjtorikian/" + "node": ">=10" } }, - "node_modules/snowpack/node_modules/jsonschema": { - "version": "1.2.11", + "node_modules/standard-version/node_modules/conventional-commits-filter": { + "version": "2.0.7", "dev": true, "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/snowpack/node_modules/lru-cache": { - "version": "6.0.0", - "dev": true, - "license": "ISC", "dependencies": { - "yallist": "^4.0.0" + "lodash.ismatch": "^4.4.0", + "modify-values": "^1.0.0" }, "engines": { "node": ">=10" } }, - "node_modules/snowpack/node_modules/make-fetch-happen": { - "version": "9.1.0", + "node_modules/standard-version/node_modules/conventional-recommended-bump": { + "version": "6.1.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^2.3.4", + "conventional-commits-filter": "^2.0.7", + "conventional-commits-parser": "^3.2.0", + "git-raw-commits": "^2.0.8", + "git-semver-tags": "^4.1.1", + "meow": "^8.0.0", + "q": "^1.5.1" + }, + "bin": { + "conventional-recommended-bump": "cli.js" }, "engines": { - "node": ">= 10" + "node": ">=10" } }, - "node_modules/snowpack/node_modules/minipass-fetch": { - "version": "1.4.1", + "node_modules/standard-version/node_modules/escape-string-regexp": { + "version": "1.0.5", "dev": true, "license": "MIT", - "dependencies": { - "minipass": "^3.1.0", - "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" - }, "engines": { - "node": ">=8" - }, - "optionalDependencies": { - "encoding": "^0.1.12" + "node": ">=0.8.0" } }, - "node_modules/snowpack/node_modules/node-gyp": { - "version": "7.1.2", + "node_modules/standard-version/node_modules/git-semver-tags": { + "version": "4.1.1", "dev": true, "license": "MIT", "dependencies": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.3", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "request": "^2.88.2", - "rimraf": "^3.0.2", - "semver": "^7.3.2", - "tar": "^6.0.2", - "which": "^2.0.2" + "meow": "^8.0.0", + "semver": "^6.0.0" }, "bin": { - "node-gyp": "bin/node-gyp.js" + "git-semver-tags": "cli.js" }, "engines": { - "node": ">= 10.12.0" + "node": ">=10" } }, - "node_modules/snowpack/node_modules/nopt": { - "version": "5.0.0", + "node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver": { + "version": "6.3.1", "dev": true, "license": "ISC", - "dependencies": { - "abbrev": "1" - }, "bin": { - "nopt": "bin/nopt.js" - }, + "semver": "bin/semver.js" + } + }, + "node_modules/standard-version/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", "engines": { - "node": ">=6" + "node": ">=4" } }, - "node_modules/snowpack/node_modules/npm-install-checks": { - "version": "4.0.0", + "node_modules/standard-version/node_modules/supports-color": { + "version": "5.5.0", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "semver": "^7.1.1" + "has-flag": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/snowpack/node_modules/npm-package-arg": { - "version": "8.1.5", + "node_modules/statuses": { + "version": "1.5.0", "dev": true, - "license": "ISC", - "dependencies": { - "hosted-git-info": "^4.0.1", - "semver": "^7.3.4", - "validate-npm-package-name": "^3.0.0" - }, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">= 0.6" } }, - "node_modules/snowpack/node_modules/npm-packlist": { - "version": "2.2.2", + "node_modules/stream-read-all": { + "version": "3.0.1", "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.6", - "ignore-walk": "^3.0.3", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "npm-packlist": "bin/index.js" - }, + "license": "MIT", "engines": { "node": ">=10" } }, - "node_modules/snowpack/node_modules/npm-pick-manifest": { - "version": "6.1.1", + "node_modules/string_decoder": { + "version": "1.3.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "npm-install-checks": "^4.0.0", - "npm-normalize-package-bin": "^1.0.1", - "npm-package-arg": "^8.1.2", - "semver": "^7.3.4" + "safe-buffer": "~5.2.0" } }, - "node_modules/snowpack/node_modules/npm-registry-fetch": { - "version": "11.0.0", + "node_modules/string-argv": { + "version": "0.3.1", "dev": true, - "license": "ISC", - "dependencies": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" - }, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">=0.6.19" } }, - "node_modules/snowpack/node_modules/npmlog": { - "version": "4.1.2", + "node_modules/string-hash": { + "version": "1.1.3", "dev": true, - "license": "ISC", - "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } + "license": "CC0-1.0" }, - "node_modules/snowpack/node_modules/pacote": { - "version": "11.3.5", + "node_modules/string-width": { + "version": "4.2.3", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "@npmcli/git": "^2.1.0", - "@npmcli/installed-package-contents": "^1.0.6", - "@npmcli/promise-spawn": "^1.2.0", - "@npmcli/run-script": "^1.8.2", - "cacache": "^15.0.5", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.3", - "mkdirp": "^1.0.3", - "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.4", - "npm-pick-manifest": "^6.0.0", - "npm-registry-fetch": "^11.0.0", - "promise-retry": "^2.0.1", - "read-package-json-fast": "^2.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.1.0" - }, - "bin": { - "pacote": "lib/bin.js" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/snowpack/node_modules/read-package-json-fast": { - "version": "2.0.3", + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/snowpack/node_modules/readable-stream": { - "version": "2.3.8", + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", "dev": true, - "license": "MIT", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } + "license": "MIT" }, - "node_modules/snowpack/node_modules/rimraf": { - "version": "3.0.2", + "node_modules/string-width/node_modules/emoji-regex": { + "version": "8.0.0", "dev": true, - "license": "ISC", + "license": "MIT" + }, + "node_modules/string.prototype.matchall": { + "version": "4.0.11", + "dev": true, + "license": "MIT", "dependencies": { - "glob": "^7.1.3" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.7", + "regexp.prototype.flags": "^1.5.2", + "set-function-name": "^2.0.2", + "side-channel": "^1.0.6" }, - "bin": { - "rimraf": "bin.js" + "engines": { + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/snowpack/node_modules/rollup": { - "version": "2.37.1", + "node_modules/string.prototype.trim": { + "version": "1.2.9", "dev": true, "license": "MIT", - "bin": { - "rollup": "dist/bin/rollup" + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">= 0.4" }, - "optionalDependencies": { - "fsevents": "~2.1.2" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/snowpack/node_modules/rollup/node_modules/fsevents": { - "version": "2.1.3", + "node_modules/string.prototype.trimend": { + "version": "1.0.8", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/snowpack/node_modules/safe-buffer": { - "version": "5.1.2", - "dev": true, - "license": "MIT" - }, - "node_modules/snowpack/node_modules/socks-proxy-agent": { - "version": "6.2.1", + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", "dev": true, "license": "MIT", "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" }, "engines": { - "node": ">= 10" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/snowpack/node_modules/ssri": { - "version": "8.0.1", + "node_modules/stringify-object": { + "version": "3.3.0", "dev": true, - "license": "ISC", + "license": "BSD-2-Clause", "dependencies": { - "minipass": "^3.1.1" + "get-own-enumerable-property-symbols": "^3.0.0", + "is-obj": "^1.0.1", + "is-regexp": "^1.0.0" }, "engines": { - "node": ">= 8" + "node": ">=4" } }, - "node_modules/snowpack/node_modules/string_decoder": { - "version": "1.1.1", + "node_modules/stringify-object/node_modules/is-obj": { + "version": "1.0.1", "dev": true, "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/snowpack/node_modules/string-width": { - "version": "1.0.2", + "node_modules/stringify-package": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/strip-ansi": { + "version": "6.0.1", "dev": true, "license": "MIT", "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/snowpack/node_modules/string-width/node_modules/strip-ansi": { - "version": "3.0.1", + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/snowpack/node_modules/unique-filename": { - "version": "1.1.1", + "node_modules/strip-bom": { + "version": "4.0.0", "dev": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^2.0.0" + "license": "MIT", + "engines": { + "node": ">=8" } }, - "node_modules/snowpack/node_modules/unique-slug": { - "version": "2.0.2", + "node_modules/strip-comments": { + "version": "2.0.1", "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" + "license": "MIT", + "engines": { + "node": ">=10" } }, - "node_modules/snowpack/node_modules/validate-npm-package-name": { - "version": "3.0.0", + "node_modules/strip-final-newline": { + "version": "2.0.0", "dev": true, - "license": "ISC", - "dependencies": { - "builtins": "^1.0.3" + "license": "MIT", + "engines": { + "node": ">=6" } }, - "node_modules/snowpack/node_modules/which": { - "version": "2.0.2", + "node_modules/strip-indent": { + "version": "3.0.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" + "min-indent": "^1.0.0" }, "engines": { - "node": ">= 8" + "node": ">=8" } }, - "node_modules/snowpack/node_modules/yallist": { - "version": "4.0.0", + "node_modules/strip-json-comments": { + "version": "3.1.1", "dev": true, - "license": "ISC" + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "node_modules/socks": { - "version": "2.8.3", + "node_modules/strip-outer": { + "version": "1.0.1", "dev": true, "license": "MIT", "dependencies": { - "ip-address": "^9.0.5", - "smart-buffer": "^4.2.0" + "escape-string-regexp": "^1.0.2" }, "engines": { - "node": ">= 10.0.0", - "npm": ">= 3.0.0" + "node": ">=0.10.0" } }, - "node_modules/socks-proxy-agent": { - "version": "7.0.0", + "node_modules/strip-outer/node_modules/escape-string-regexp": { + "version": "1.0.5", "dev": true, "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/strong-log-transformer": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" + "duplexer": "^0.1.1", + "minimist": "^1.2.0", + "through": "^2.3.4" + }, + "bin": { + "sl-log-transformer": "bin/sl-log-transformer.js" }, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/sort-keys": { - "version": "2.0.0", + "node_modules/supports-color": { + "version": "7.2.0", "dev": true, "license": "MIT", "dependencies": { - "is-plain-obj": "^1.0.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/source-map": { - "version": "0.7.4", + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", "dev": true, - "license": "BSD-3-Clause", + "license": "MIT", "engines": { - "node": ">= 8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/source-map-js": { - "version": "1.2.0", + "node_modules/systemjs": { + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.15.1.tgz", + "integrity": "sha512-Nk8c4lXvMB98MtbmjX7JwJRgJOL8fluecYCfCeYBznwmpOs8Bf15hLM6z4z71EDAhQVrQrI+wt1aLWSXZq+hXA==", + "dev": true + }, + "node_modules/table": { + "version": "6.8.2", "dev": true, "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^8.0.1", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + }, "engines": { - "node": ">=0.10.0" + "node": ">=10.0.0" } }, - "node_modules/source-map-support": { - "version": "0.5.21", + "node_modules/table-layout": { + "version": "3.0.2", "dev": true, "license": "MIT", "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" + "@75lb/deep-merge": "^1.1.1", + "array-back": "^6.2.2", + "command-line-args": "^5.2.1", + "command-line-usage": "^7.0.0", + "stream-read-all": "^3.0.1", + "typical": "^7.1.1", + "wordwrapjs": "^5.1.0" + }, + "bin": { + "table-layout": "bin/cli.js" + }, + "engines": { + "node": ">=12.17" } }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", + "node_modules/table-layout/node_modules/command-line-args": { + "version": "5.2.1", "dev": true, - "license": "BSD-3-Clause", + "license": "MIT", + "dependencies": { + "array-back": "^3.1.0", + "find-replace": "^3.0.0", + "lodash.camelcase": "^4.3.0", + "typical": "^4.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=4.0.0" } }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "dev": true, - "license": "MIT" - }, - "node_modules/spawn-command": { - "version": "0.0.2-1", + "node_modules/table-layout/node_modules/command-line-args/node_modules/array-back": { + "version": "3.1.0", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=6" + } }, - "node_modules/spdx-correct": { - "version": "3.2.0", + "node_modules/table-layout/node_modules/command-line-args/node_modules/typical": { + "version": "4.0.0", "dev": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" + "license": "MIT", + "engines": { + "node": ">=8" } }, - "node_modules/spdx-exceptions": { - "version": "2.5.0", - "dev": true, - "license": "CC-BY-3.0" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", + "node_modules/table-layout/node_modules/typical": { + "version": "7.1.1", "dev": true, "license": "MIT", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" + "engines": { + "node": ">=12.17" } }, - "node_modules/spdx-license-ids": { - "version": "3.0.17", - "dev": true, - "license": "CC0-1.0" - }, - "node_modules/split": { - "version": "1.0.1", + "node_modules/table/node_modules/ajv": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", + "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", "dev": true, "license": "MIT", "dependencies": { - "through": "2" + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" }, - "engines": { - "node": "*" - } - }, - "node_modules/split2": { - "version": "3.2.2", - "dev": true, - "license": "ISC", - "dependencies": { - "readable-stream": "^3.0.0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/sprintf-js": { - "version": "1.1.3", + "node_modules/table/node_modules/json-schema-traverse": { + "version": "1.0.0", "dev": true, - "license": "BSD-3-Clause" + "license": "MIT" }, - "node_modules/sshpk": { - "version": "1.18.0", + "node_modules/table/node_modules/slice-ansi": { + "version": "4.0.0", "dev": true, "license": "MIT", "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "node_modules/sshpk/node_modules/jsbn": { - "version": "0.1.1", + "node_modules/taffydb": { + "version": "2.6.2", "dev": true, - "license": "MIT" + "license": "BSD-2-Clause" }, - "node_modules/ssri": { - "version": "9.0.1", + "node_modules/tar": { + "version": "6.1.11", "dev": true, "license": "ISC", "dependencies": { - "minipass": "^3.1.1" + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">= 10" } }, - "node_modules/standard-version": { - "version": "9.5.0", + "node_modules/tar-fs": { + "version": "2.1.1", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "chalk": "^2.4.2", - "conventional-changelog": "3.1.25", - "conventional-changelog-config-spec": "2.1.0", - "conventional-changelog-conventionalcommits": "4.6.3", - "conventional-recommended-bump": "6.1.0", - "detect-indent": "^6.0.0", - "detect-newline": "^3.1.0", - "dotgitignore": "^2.1.0", - "figures": "^3.1.0", - "find-up": "^5.0.0", - "git-semver-tags": "^4.0.0", - "semver": "^7.1.1", - "stringify-package": "^1.0.1", - "yargs": "^16.0.0" - }, - "bin": { - "standard-version": "bin/cli.js" - }, - "engines": { - "node": ">=10" + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" } }, - "node_modules/standard-version/node_modules/ansi-styles": { - "version": "3.2.1", + "node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } + "license": "ISC" }, - "node_modules/standard-version/node_modules/chalk": { - "version": "2.4.2", + "node_modules/tar-stream": { + "version": "2.2.0", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" }, "engines": { - "node": ">=4" - } - }, - "node_modules/standard-version/node_modules/color-convert": { - "version": "1.9.3", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" + "node": ">=6" } }, - "node_modules/standard-version/node_modules/color-name": { - "version": "1.1.3", + "node_modules/tar/node_modules/yallist": { + "version": "4.0.0", "dev": true, - "license": "MIT" + "license": "ISC" }, - "node_modules/standard-version/node_modules/conventional-changelog-preset-loader": { - "version": "2.3.4", + "node_modules/temp-dir": { + "version": "1.0.0", "dev": true, "license": "MIT", "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/standard-version/node_modules/conventional-commits-filter": { - "version": "2.0.7", + "node_modules/tempy": { + "version": "0.6.0", "dev": true, "license": "MIT", "dependencies": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" + "is-stream": "^2.0.0", + "temp-dir": "^2.0.0", + "type-fest": "^0.16.0", + "unique-string": "^2.0.0" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/standard-version/node_modules/conventional-recommended-bump": { - "version": "6.1.0", + "node_modules/tempy/node_modules/temp-dir": { + "version": "2.0.0", "dev": true, "license": "MIT", - "dependencies": { - "concat-stream": "^2.0.0", - "conventional-changelog-preset-loader": "^2.3.4", - "conventional-commits-filter": "^2.0.7", - "conventional-commits-parser": "^3.2.0", - "git-raw-commits": "^2.0.8", - "git-semver-tags": "^4.1.1", - "meow": "^8.0.0", - "q": "^1.5.1" - }, - "bin": { - "conventional-recommended-bump": "cli.js" - }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tempy/node_modules/type-fest": { + "version": "0.16.0", + "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/standard-version/node_modules/escape-string-regexp": { - "version": "1.0.5", + "node_modules/term-size": { + "version": "2.2.1", "dev": true, "license": "MIT", "engines": { - "node": ">=0.8.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/standard-version/node_modules/git-semver-tags": { - "version": "4.1.1", + "node_modules/terser": { + "version": "4.8.1", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", "dependencies": { - "meow": "^8.0.0", - "semver": "^6.0.0" + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" }, "bin": { - "git-semver-tags": "cli.js" + "terser": "bin/terser" }, "engines": { - "node": ">=10" + "node": ">=6.0.0" } }, - "node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver": { - "version": "6.3.1", + "node_modules/terser/node_modules/source-map": { + "version": "0.6.1", "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" } }, - "node_modules/standard-version/node_modules/has-flag": { - "version": "3.0.0", + "node_modules/text-extensions": { + "version": "1.9.0", "dev": true, "license": "MIT", "engines": { - "node": ">=4" + "node": ">=0.10" } }, - "node_modules/standard-version/node_modules/supports-color": { - "version": "5.5.0", + "node_modules/text-table": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/thenify": { + "version": "3.3.1", "dev": true, "license": "MIT", "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" + "any-promise": "^1.0.0" } }, - "node_modules/statuses": { - "version": "1.5.0", + "node_modules/thenify-all": { + "version": "1.6.0", "dev": true, "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, "engines": { - "node": ">= 0.6" + "node": ">=0.8" } }, - "node_modules/stream-read-all": { - "version": "3.0.1", + "node_modules/through": { + "version": "2.3.8", "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } + "license": "MIT" }, - "node_modules/string_decoder": { - "version": "1.3.0", + "node_modules/through2": { + "version": "4.0.2", "dev": true, "license": "MIT", "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-argv": { - "version": "0.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6.19" + "readable-stream": "3" } }, - "node_modules/string-hash": { - "version": "1.1.3", - "dev": true, - "license": "CC0-1.0" - }, - "node_modules/string-width": { - "version": "4.2.3", + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, - "license": "MIT", "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "os-tmpdir": "~1.0.2" }, "engines": { - "node": ">=8" + "node": ">=0.6.0" } }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", + "node_modules/to-fast-properties": { + "version": "2.0.0", "dev": true, "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/string-width-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/string-width/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/string.prototype.matchall": { - "version": "4.0.11", + "node_modules/to-readable-stream": { + "version": "1.0.0", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.7", - "regexp.prototype.flags": "^1.5.2", - "set-function-name": "^2.0.2", - "side-channel": "^1.0.6" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=6" } }, - "node_modules/string.prototype.trim": { - "version": "1.2.9", + "node_modules/to-regex-range": { + "version": "5.0.1", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.0", - "es-object-atoms": "^1.0.0" + "is-number": "^7.0.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8.0" } }, - "node_modules/string.prototype.trimend": { - "version": "1.0.8", + "node_modules/toidentifier": { + "version": "1.0.1", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=0.6" } }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.8", + "node_modules/tough-cookie": { + "version": "2.5.0", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" + "psl": "^1.1.28", + "punycode": "^2.1.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.8" } }, - "node_modules/stringify-object": { - "version": "3.3.0", + "node_modules/tr46": { + "version": "1.0.1", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - }, - "engines": { - "node": ">=4" + "punycode": "^2.1.0" } }, - "node_modules/stringify-object/node_modules/is-obj": { - "version": "1.0.1", + "node_modules/tree-kill": { + "version": "1.2.2", "dev": true, "license": "MIT", - "engines": { - "node": ">=0.10.0" + "bin": { + "tree-kill": "cli.js" } }, - "node_modules/stringify-package": { - "version": "1.0.1", + "node_modules/treeverse": { + "version": "1.0.4", "dev": true, "license": "ISC" }, - "node_modules/strip-ansi": { - "version": "6.0.1", + "node_modules/trim-newlines": { + "version": "3.0.1", "dev": true, "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, "engines": { "node": ">=8" } }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", + "node_modules/trim-repeated": { + "version": "1.0.0", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^5.0.1" + "escape-string-regexp": "^1.0.2" }, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/strip-bom": { - "version": "4.0.0", + "node_modules/trim-repeated/node_modules/escape-string-regexp": { + "version": "1.0.5", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=0.8.0" } }, - "node_modules/strip-comments": { - "version": "2.0.1", + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, - "license": "MIT", "engines": { - "node": ">=10" + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" } }, - "node_modules/strip-final-newline": { - "version": "2.0.0", + "node_modules/ts-node": { + "version": "9.1.1", "dev": true, "license": "MIT", + "dependencies": { + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, "engines": { - "node": ">=6" + "node": ">=10.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" } }, - "node_modules/strip-indent": { - "version": "3.0.0", + "node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", "dev": true, - "license": "MIT", - "dependencies": { - "min-indent": "^1.0.0" - }, + "license": "BSD-3-Clause", "engines": { - "node": ">=8" + "node": ">=0.3.1" } }, - "node_modules/strip-json-comments": { - "version": "3.1.1", + "node_modules/ts-simple-type": { + "version": "1.0.7", + "dev": true, + "license": "MIT" + }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", "dev": true, "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" } }, - "node_modules/strip-outer": { - "version": "1.0.1", + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "escape-string-regexp": "^1.0.2" + "minimist": "^1.2.0" }, - "engines": { - "node": ">=0.10.0" + "bin": { + "json5": "lib/cli.js" } }, - "node_modules/strip-outer/node_modules/escape-string-regexp": { - "version": "1.0.5", + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", "dev": true, "license": "MIT", "engines": { - "node": ">=0.8.0" + "node": ">=4" } }, - "node_modules/strong-log-transformer": { - "version": "2.1.0", + "node_modules/tsdoc": { + "version": "0.0.4", "dev": true, - "license": "Apache-2.0", + "license": "MIT", "dependencies": { - "duplexer": "^0.1.1", - "minimist": "^1.2.0", - "through": "^2.3.4" + "jsdoc": "3.2.0", + "optimist": "0.6.0" }, "bin": { - "sl-log-transformer": "bin/sl-log-transformer.js" + "tsdoc": "bin/tsdoc" }, "engines": { - "node": ">=4" + "node": ">=0.8" } }, - "node_modules/supports-color": { - "version": "7.2.0", + "node_modules/tslib": { + "version": "2.6.2", + "license": "0BSD" + }, + "node_modules/tsscmp": { + "version": "1.0.6", "dev": true, "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, "engines": { - "node": ">=8" + "node": ">=0.6.x" } }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", + "node_modules/tuf-js": { + "version": "1.1.7", "dev": true, "license": "MIT", - "engines": { - "node": ">= 0.4" + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/systemjs": { - "version": "6.15.1", - "dev": true, - "license": "MIT" - }, - "node_modules/table": { - "version": "6.8.2", + "node_modules/tuf-js/node_modules/@npmcli/fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", "dev": true, - "license": "BSD-3-Clause", + "license": "ISC", "dependencies": { - "ajv": "^8.0.1", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" + "semver": "^7.3.5" }, "engines": { - "node": ">=10.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/table-layout": { - "version": "3.0.2", + "node_modules/tuf-js/node_modules/brace-expansion": { + "version": "2.0.1", "dev": true, "license": "MIT", "dependencies": { - "@75lb/deep-merge": "^1.1.1", - "array-back": "^6.2.2", - "command-line-args": "^5.2.1", - "command-line-usage": "^7.0.0", - "stream-read-all": "^3.0.1", - "typical": "^7.1.1", - "wordwrapjs": "^5.1.0" - }, - "bin": { - "table-layout": "bin/cli.js" - }, - "engines": { - "node": ">=12.17" + "balanced-match": "^1.0.0" } }, - "node_modules/table-layout/node_modules/command-line-args": { - "version": "5.2.1", + "node_modules/tuf-js/node_modules/cacache": { + "version": "17.1.4", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "array-back": "^3.1.0", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" }, "engines": { - "node": ">=4.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/table-layout/node_modules/command-line-args/node_modules/array-back": { - "version": "3.1.0", + "node_modules/tuf-js/node_modules/cacache/node_modules/minipass": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, - "license": "MIT", + "license": "ISC", "engines": { - "node": ">=6" + "node": ">=16 || 14 >=14.17" } }, - "node_modules/table-layout/node_modules/command-line-args/node_modules/typical": { - "version": "4.0.0", + "node_modules/tuf-js/node_modules/fs-minipass": { + "version": "3.0.3", "dev": true, - "license": "MIT", + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/table-layout/node_modules/typical": { + "node_modules/tuf-js/node_modules/fs-minipass/node_modules/minipass": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, - "license": "MIT", + "license": "ISC", "engines": { - "node": ">=12.17" + "node": ">=16 || 14 >=14.17" } }, - "node_modules/table/node_modules/ajv": { - "version": "8.13.0", + "node_modules/tuf-js/node_modules/glob": { + "version": "10.3.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz", + "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "fast-deep-equal": "^3.1.3", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.6", + "minimatch": "^9.0.1", + "minipass": "^7.0.4", + "path-scurry": "^1.11.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.18" }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/table/node_modules/json-schema-traverse": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/table/node_modules/slice-ansi": { - "version": "4.0.0", + "node_modules/tuf-js/node_modules/glob/node_modules/minipass": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, + "license": "ISC", "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" + "node": ">=16 || 14 >=14.17" } }, - "node_modules/taffydb": { - "version": "2.6.2", + "node_modules/tuf-js/node_modules/lru-cache": { + "version": "7.18.3", "dev": true, - "license": "BSD-2-Clause" + "license": "ISC", + "engines": { + "node": ">=12" + } }, - "node_modules/tar": { - "version": "6.1.11", + "node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", "dev": true, "license": "ISC", "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" }, "engines": { - "node": ">= 10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/tar-fs": { - "version": "2.1.1", + "node_modules/tuf-js/node_modules/minimatch": { + "version": "9.0.4", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/tar-fs/node_modules/chownr": { - "version": "1.1.4", + "node_modules/tuf-js/node_modules/minipass": { + "version": "5.0.0", "dev": true, - "license": "ISC" + "license": "ISC", + "engines": { + "node": ">=8" + } }, - "node_modules/tar-stream": { - "version": "2.2.0", + "node_modules/tuf-js/node_modules/minipass-fetch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", "dev": true, "license": "MIT", "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" }, "engines": { - "node": ">=6" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "license": "ISC" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } }, - "node_modules/temp-dir": { - "version": "1.0.0", + "node_modules/tuf-js/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, - "license": "MIT", + "license": "ISC", "engines": { - "node": ">=4" + "node": ">=16 || 14 >=14.17" } }, - "node_modules/tempy": { - "version": "0.6.0", + "node_modules/tuf-js/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "is-stream": "^2.0.0", - "temp-dir": "^2.0.0", - "type-fest": "^0.16.0", - "unique-string": "^2.0.0" + "minipass": "^7.0.3" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/tempy/node_modules/temp-dir": { - "version": "2.0.0", + "node_modules/tuf-js/node_modules/ssri/node_modules/minipass": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz", + "integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==", "dev": true, - "license": "MIT", + "license": "ISC", "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" } }, - "node_modules/tempy/node_modules/type-fest": { - "version": "0.16.0", + "node_modules/tuf-js/node_modules/unique-filename": { + "version": "3.0.0", "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/term-size": { - "version": "2.2.1", - "dev": true, - "license": "MIT", "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/terser": { - "version": "4.8.1", + "node_modules/tuf-js/node_modules/unique-slug": { + "version": "4.0.0", "dev": true, - "license": "BSD-2-Clause", + "license": "ISC", "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" + "imurmurhash": "^0.1.4" }, "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/terser/node_modules/source-map": { - "version": "0.6.1", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/text-extensions": { - "version": "1.9.0", + "node_modules/tunnel-agent": { + "version": "0.6.0", "dev": true, - "license": "MIT", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, "engines": { - "node": ">=0.10" + "node": "*" } }, - "node_modules/text-table": { - "version": "0.2.0", + "node_modules/tweetnacl": { + "version": "0.14.5", "dev": true, - "license": "MIT" + "license": "Unlicense" }, - "node_modules/thenify": { - "version": "3.3.1", + "node_modules/type-check": { + "version": "0.4.0", "dev": true, "license": "MIT", "dependencies": { - "any-promise": "^1.0.0" + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" } }, - "node_modules/thenify-all": { - "version": "1.6.0", + "node_modules/type-detect": { + "version": "4.0.8", "dev": true, "license": "MIT", - "dependencies": { - "thenify": ">= 3.1.0 < 4" - }, "engines": { - "node": ">=0.8" + "node": ">=4" } }, - "node_modules/through": { - "version": "2.3.8", - "dev": true, - "license": "MIT" - }, - "node_modules/through2": { - "version": "4.0.2", + "node_modules/type-fest": { + "version": "0.21.3", "dev": true, - "license": "MIT", - "dependencies": { - "readable-stream": "3" + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/tmp": { - "version": "0.0.33", + "node_modules/type-is": { + "version": "1.6.18", "dev": true, "license": "MIT", "dependencies": { - "os-tmpdir": "~1.0.2" + "media-typer": "0.3.0", + "mime-types": "~2.1.24" }, "engines": { - "node": ">=0.6.0" + "node": ">= 0.6" } }, - "node_modules/to-fast-properties": { - "version": "2.0.0", + "node_modules/typed-array-buffer": { + "version": "1.0.2", "dev": true, "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, "engines": { - "node": ">=4" + "node": ">= 0.4" } }, - "node_modules/to-readable-stream": { - "version": "1.0.0", + "node_modules/typed-array-byte-length": { + "version": "1.0.1", "dev": true, "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, "engines": { - "node": ">=6" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/to-regex-range": { - "version": "5.0.1", + "node_modules/typed-array-byte-offset": { + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "is-number": "^7.0.0" + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" }, "engines": { - "node": ">=8.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/toidentifier": { - "version": "1.0.1", + "node_modules/typed-array-length": { + "version": "1.0.6", "dev": true, "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "dev": true, - "license": "BSD-3-Clause", "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" }, "engines": { - "node": ">=0.8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/tr46": { - "version": "1.0.1", + "node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", "dev": true, "license": "MIT", "dependencies": { - "punycode": "^2.1.0" + "is-typedarray": "^1.0.0" } }, - "node_modules/tree-kill": { - "version": "1.2.2", + "node_modules/typedoc-default-themes": { + "version": "0.12.10", "dev": true, - "license": "MIT", - "bin": { - "tree-kill": "cli.js" + "license": "Apache-2.0", + "engines": { + "node": ">= 8" } }, - "node_modules/treeverse": { - "version": "1.0.4", + "node_modules/typescript": { + "version": "5.4.5", "dev": true, - "license": "ISC" + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } }, - "node_modules/trim-newlines": { - "version": "3.0.1", + "node_modules/typical": { + "version": "4.0.0", "dev": true, "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/trim-repeated": { - "version": "1.0.0", + "node_modules/ua-parser-js": { + "version": "1.0.37", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/trim-repeated/node_modules/escape-string-regexp": { - "version": "1.0.5", + "node_modules/uglify-js": { + "version": "3.17.4", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, "engines": { "node": ">=0.8.0" } }, - "node_modules/ts-node": { - "version": "9.1.1", + "node_modules/unbox-primitive": { + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.17", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "engines": { - "node": ">=10.0.0" + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" }, - "peerDependencies": { - "typescript": ">=2.7" - } - }, - "node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ts-simple-type": { - "version": "1.0.7", - "dev": true, - "license": "MIT" - }, - "node_modules/tsconfig-paths": { - "version": "3.15.0", + "node_modules/unbzip2-stream": { + "version": "1.4.3", "dev": true, "license": "MIT", "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" + "buffer": "^5.2.1", + "through": "^2.3.8" } }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.2", + "node_modules/underscore": { + "version": "1.4.2", + "dev": true + }, + "node_modules/undici-types": { + "version": "5.26.5", "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } + "license": "MIT" }, - "node_modules/tsconfig-paths/node_modules/strip-bom": { - "version": "3.0.0", + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", "dev": true, "license": "MIT", "engines": { "node": ">=4" } }, - "node_modules/tsdoc": { - "version": "0.0.4", + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", "dev": true, "license": "MIT", "dependencies": { - "jsdoc": "3.2.0", - "optimist": "0.6.0" - }, - "bin": { - "tsdoc": "bin/tsdoc" + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" }, "engines": { - "node": ">=0.8" + "node": ">=4" } }, - "node_modules/tslib": { - "version": "2.6.2", - "license": "0BSD" - }, - "node_modules/tsscmp": { - "version": "1.0.6", + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.1.0", "dev": true, "license": "MIT", "engines": { - "node": ">=0.6.x" + "node": ">=4" } }, - "node_modules/tsutils": { - "version": "3.21.0", + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.1.0", "dev": true, "license": "MIT", - "dependencies": { - "tslib": "^1.8.1" - }, "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + "node": ">=4" } }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "dev": true, - "license": "0BSD" - }, - "node_modules/tuf-js": { - "version": "1.1.7", + "node_modules/unique-filename": { + "version": "2.0.1", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "@tufjs/models": "1.0.4", - "debug": "^4.3.4", - "make-fetch-happen": "^11.1.1" + "unique-slug": "^3.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/tuf-js/node_modules/@npmcli/fs": { - "version": "3.1.1", + "node_modules/unique-slug": { + "version": "3.0.0", "dev": true, "license": "ISC", "dependencies": { - "semver": "^7.3.5" + "imurmurhash": "^0.1.4" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/tuf-js/node_modules/brace-expansion": { - "version": "2.0.1", + "node_modules/unique-string": { + "version": "2.0.0", "dev": true, "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "crypto-random-string": "^2.0.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/tuf-js/node_modules/cacache": { - "version": "17.1.4", + "node_modules/universal-user-agent": { + "version": "6.0.1", "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^3.1.0", - "fs-minipass": "^3.0.0", - "glob": "^10.2.2", - "lru-cache": "^7.7.1", - "minipass": "^7.0.3", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "p-map": "^4.0.0", - "ssri": "^10.0.0", - "tar": "^6.1.11", - "unique-filename": "^3.0.0" - }, + "license": "ISC" + }, + "node_modules/universalify": { + "version": "2.0.1", + "dev": true, + "license": "MIT", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">= 10.0.0" } }, - "node_modules/tuf-js/node_modules/cacache/node_modules/minipass": { - "version": "7.1.1", + "node_modules/unpipe": { + "version": "1.0.0", "dev": true, - "license": "ISC", + "license": "MIT", "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">= 0.8" } }, - "node_modules/tuf-js/node_modules/fs-minipass": { - "version": "3.0.3", + "node_modules/untildify": { + "version": "2.1.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "minipass": "^7.0.3" + "os-homedir": "^1.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/tuf-js/node_modules/fs-minipass/node_modules/minipass": { - "version": "7.1.1", + "node_modules/upath": { + "version": "2.0.1", "dev": true, - "license": "ISC", + "license": "MIT", "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=4", + "yarn": "*" } }, - "node_modules/tuf-js/node_modules/glob": { - "version": "10.3.14", + "node_modules/update-browserslist-db": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", + "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", "dev": true, - "license": "ISC", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.6", - "minimatch": "^9.0.1", - "minipass": "^7.0.4", - "path-scurry": "^1.11.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=16 || 14 >=14.17" + "update-browserslist-db": "cli.js" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "peerDependencies": { + "browserslist": ">= 4.21.0" } }, - "node_modules/tuf-js/node_modules/glob/node_modules/minipass": { - "version": "7.1.1", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/tuf-js/node_modules/lru-cache": { - "version": "7.18.3", + "node_modules/update-notifier": { + "version": "4.1.3", "dev": true, - "license": "ISC", + "license": "BSD-2-Clause", + "dependencies": { + "boxen": "^4.2.0", + "chalk": "^3.0.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.3.1", + "is-npm": "^4.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.0.0", + "pupa": "^2.0.1", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" + }, "engines": { - "node": ">=12" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/yeoman/update-notifier?sponsor=1" } }, - "node_modules/tuf-js/node_modules/make-fetch-happen": { - "version": "11.1.1", + "node_modules/update-notifier/node_modules/chalk": { + "version": "3.0.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.1", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^5.0.0", - "minipass-fetch": "^3.0.0", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^10.0.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=8" } }, - "node_modules/tuf-js/node_modules/minimatch": { - "version": "9.0.4", + "node_modules/update-notifier/node_modules/ci-info": { + "version": "2.0.0", "dev": true, - "license": "ISC", + "license": "MIT" + }, + "node_modules/update-notifier/node_modules/is-ci": { + "version": "2.0.0", + "dev": true, + "license": "MIT", "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" + "ci-info": "^2.0.0" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "bin": { + "is-ci": "bin.js" } }, - "node_modules/tuf-js/node_modules/minipass": { - "version": "5.0.0", + "node_modules/uri-js": { + "version": "4.4.1", "dev": true, - "license": "ISC", - "engines": { - "node": ">=8" + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" } }, - "node_modules/tuf-js/node_modules/minipass-fetch": { - "version": "3.0.5", + "node_modules/url-parse-lax": { + "version": "3.0.0", "dev": true, "license": "MIT", "dependencies": { - "minipass": "^7.0.3", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" + "prepend-http": "^2.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" + "node": ">=4" } }, - "node_modules/tuf-js/node_modules/minipass-fetch/node_modules/minipass": { - "version": "7.1.1", + "node_modules/urlpattern-polyfill": { + "version": "6.0.2", "dev": true, - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" + "license": "MIT", + "dependencies": { + "braces": "^3.0.2" } }, - "node_modules/tuf-js/node_modules/ssri": { - "version": "10.0.6", + "node_modules/useragent": { + "version": "2.3.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "minipass": "^7.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "lru-cache": "4.1.x", + "tmp": "0.0.x" } }, - "node_modules/tuf-js/node_modules/ssri/node_modules/minipass": { - "version": "7.1.1", + "node_modules/useragent/node_modules/lru-cache": { + "version": "4.1.5", "dev": true, "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" } }, - "node_modules/tuf-js/node_modules/unique-filename": { - "version": "3.0.0", + "node_modules/useragent/node_modules/yallist": { + "version": "2.1.2", "dev": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } + "license": "ISC" }, - "node_modules/tuf-js/node_modules/unique-slug": { - "version": "4.0.0", + "node_modules/utf-8-validate": { + "version": "5.0.10", "dev": true, - "license": "ISC", + "hasInstallScript": true, + "license": "MIT", "dependencies": { - "imurmurhash": "^0.1.4" + "node-gyp-build": "^4.3.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=6.14.2" } }, - "node_modules/tunnel-agent": { - "version": "0.6.0", + "node_modules/util": { + "version": "0.10.4", "dev": true, - "license": "Apache-2.0", + "license": "MIT", "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" + "inherits": "2.0.3" } }, - "node_modules/tweetnacl": { - "version": "0.14.5", + "node_modules/util-deprecate": { + "version": "1.0.2", "dev": true, - "license": "Unlicense" + "license": "MIT" }, - "node_modules/type-check": { - "version": "0.4.0", + "node_modules/util/node_modules/inherits": { + "version": "2.0.3", + "dev": true, + "license": "ISC" + }, + "node_modules/uuid": { + "version": "9.0.1", "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true + }, + "node_modules/v8-to-istanbul": { + "version": "8.1.1", + "dev": true, + "license": "ISC", "dependencies": { - "prelude-ls": "^1.2.1" + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" }, "engines": { - "node": ">= 0.8.0" + "node": ">=10.12.0" } }, - "node_modules/type-detect": { - "version": "4.0.8", + "node_modules/v8-to-istanbul/node_modules/convert-source-map": { + "version": "1.9.0", "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } + "license": "MIT" }, - "node_modules/type-fest": { - "version": "0.21.3", + "node_modules/valid-url": { + "version": "1.0.9", + "dev": true + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" } }, - "node_modules/type-is": { - "version": "1.6.18", + "node_modules/validate-npm-package-name": { + "version": "5.0.0", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" + "builtins": "^5.0.0" }, "engines": { - "node": ">= 0.6" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/typed-array-buffer": { - "version": "1.0.2", + "node_modules/vary": { + "version": "1.1.2", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.13" - }, "engines": { - "node": ">= 0.4" + "node": ">= 0.8" } }, - "node_modules/typed-array-byte-length": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.2", + "node_modules/verror": { + "version": "1.10.0", "dev": true, + "engines": [ + "node >=0.6.0" + ], "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" } }, - "node_modules/typed-array-length": { - "version": "1.0.6", + "node_modules/vm2": { + "version": "3.9.19", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" + "acorn": "^8.7.0", + "acorn-walk": "^8.2.0" }, - "engines": { - "node": ">= 0.4" + "bin": { + "vm2": "bin/vm2" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=6.0" } }, - "node_modules/typedarray": { - "version": "0.0.6", + "node_modules/vscode-oniguruma": { + "version": "1.7.0", "dev": true, "license": "MIT" }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", + "node_modules/vscode-textmate": { + "version": "5.2.0", "dev": true, - "license": "MIT", - "dependencies": { - "is-typedarray": "^1.0.0" - } + "license": "MIT" }, - "node_modules/typedoc-default-themes": { - "version": "0.12.10", + "node_modules/walk-up-path": { + "version": "1.0.0", "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">= 8" - } + "license": "ISC" }, - "node_modules/typescript": { - "version": "5.4.5", + "node_modules/wcwidth": { + "version": "1.0.1", "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" } }, - "node_modules/typical": { - "version": "4.0.0", + "node_modules/web-component-analyzer": { + "version": "1.1.7", "dev": true, "license": "MIT", - "engines": { - "node": ">=8" + "dependencies": { + "fast-glob": "^3.2.2", + "ts-simple-type": "~1.0.5", + "typescript": "^3.8.3", + "yargs": "^15.3.1" + }, + "bin": { + "wca": "cli.js", + "web-component-analyzer": "cli.js" } }, - "node_modules/ua-parser-js": { - "version": "1.0.37", + "node_modules/web-component-analyzer/node_modules/camelcase": { + "version": "5.3.1", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/ua-parser-js" - }, - { - "type": "paypal", - "url": "https://paypal.me/faisalman" - }, - { - "type": "github", - "url": "https://github.com/sponsors/faisalman" - } - ], "license": "MIT", "engines": { - "node": "*" + "node": ">=6" } }, - "node_modules/uglify-js": { - "version": "3.17.4", + "node_modules/web-component-analyzer/node_modules/cliui": { + "version": "6.0.0", "dev": true, - "license": "BSD-2-Clause", - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" } }, - "node_modules/unbox-primitive": { - "version": "1.0.2", + "node_modules/web-component-analyzer/node_modules/find-up": { + "version": "4.1.0", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=8" } }, - "node_modules/unbzip2-stream": { - "version": "1.4.3", + "node_modules/web-component-analyzer/node_modules/locate-path": { + "version": "5.0.0", "dev": true, "license": "MIT", "dependencies": { - "buffer": "^5.2.1", - "through": "^2.3.8" + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/underscore": { - "version": "1.4.2", - "dev": true - }, - "node_modules/undici-types": { - "version": "5.26.5", - "dev": true, - "license": "MIT" - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", + "node_modules/web-component-analyzer/node_modules/p-limit": { + "version": "2.3.0", "dev": true, "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, "engines": { - "node": ">=4" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", + "node_modules/web-component-analyzer/node_modules/p-locate": { + "version": "4.1.0", "dev": true, "license": "MIT", "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" + "p-limit": "^2.2.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", + "node_modules/web-component-analyzer/node_modules/typescript": { + "version": "3.9.10", "dev": true, - "license": "MIT", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, "engines": { - "node": ">=4" + "node": ">=4.2.0" } }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", + "node_modules/web-component-analyzer/node_modules/y18n": { + "version": "4.0.3", "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } + "license": "ISC" }, - "node_modules/unique-filename": { - "version": "2.0.1", + "node_modules/web-component-analyzer/node_modules/yargs": { + "version": "15.4.1", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "unique-slug": "^3.0.0" + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/unique-slug": { - "version": "3.0.0", + "node_modules/web-component-analyzer/node_modules/yargs-parser": { + "version": "18.1.3", "dev": true, "license": "ISC", "dependencies": { - "imurmurhash": "^0.1.4" + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=6" } }, - "node_modules/unique-string": { - "version": "2.0.0", + "node_modules/webidl-conversions": { + "version": "4.0.2", "dev": true, - "license": "MIT", - "dependencies": { - "crypto-random-string": "^2.0.0" - }, - "engines": { - "node": ">=8" - } + "license": "BSD-2-Clause" }, - "node_modules/universal-user-agent": { - "version": "6.0.1", + "node_modules/whatwg-fetch": { + "version": "3.6.20", "dev": true, - "license": "ISC" + "license": "MIT" }, - "node_modules/universalify": { - "version": "2.0.1", + "node_modules/whatwg-url": { + "version": "7.1.0", "dev": true, "license": "MIT", - "engines": { - "node": ">= 10.0.0" + "dependencies": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" } }, - "node_modules/unpipe": { + "node_modules/wheel": { "version": "1.0.0", + "license": "MIT" + }, + "node_modules/which": { + "version": "3.0.1", "dev": true, - "license": "MIT", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, "engines": { - "node": ">= 0.8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/untildify": { - "version": "2.1.0", + "node_modules/which-boxed-primitive": { + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "os-homedir": "^1.0.0" + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/upath": { + "node_modules/which-module": { "version": "2.0.1", "dev": true, + "license": "ISC" + }, + "node_modules/which-pm-runs": { + "version": "1.1.0", + "dev": true, "license": "MIT", "engines": { - "node": ">=4", - "yarn": "*" + "node": ">=4" } }, - "node_modules/update-browserslist-db": { - "version": "1.0.15", + "node_modules/which-typed-array": { + "version": "1.1.15", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "license": "MIT", "dependencies": { - "escalade": "^3.1.2", - "picocolors": "^1.0.0" + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.2" }, - "bin": { - "update-browserslist-db": "cli.js" + "engines": { + "node": ">= 0.4" }, - "peerDependencies": { - "browserslist": ">= 4.21.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/update-notifier": { - "version": "4.1.3", + "node_modules/wicg-inert": { + "version": "3.1.2", + "license": "W3C-20150513" + }, + "node_modules/wide-align": { + "version": "1.1.3", "dev": true, - "license": "BSD-2-Clause", + "license": "ISC", "dependencies": { - "boxen": "^4.2.0", - "chalk": "^3.0.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/yeoman/update-notifier?sponsor=1" + "string-width": "^1.0.2 || 2" } }, - "node_modules/update-notifier/node_modules/chalk": { - "version": "3.0.0", + "node_modules/wide-align/node_modules/ansi-regex": { + "version": "3.0.1", "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/update-notifier/node_modules/ci-info": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/update-notifier/node_modules/is-ci": { + "node_modules/wide-align/node_modules/is-fullwidth-code-point": { "version": "2.0.0", "dev": true, "license": "MIT", - "dependencies": { - "ci-info": "^2.0.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "punycode": "^2.1.0" + "engines": { + "node": ">=4" } }, - "node_modules/url-parse-lax": { - "version": "3.0.0", + "node_modules/wide-align/node_modules/string-width": { + "version": "2.1.1", "dev": true, "license": "MIT", "dependencies": { - "prepend-http": "^2.0.0" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" }, "engines": { "node": ">=4" } }, - "node_modules/urlpattern-polyfill": { - "version": "6.0.2", + "node_modules/wide-align/node_modules/strip-ansi": { + "version": "4.0.0", "dev": true, "license": "MIT", "dependencies": { - "braces": "^3.0.2" + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" } }, - "node_modules/useragent": { - "version": "2.3.0", + "node_modules/widest-line": { + "version": "3.1.0", "dev": true, "license": "MIT", "dependencies": { - "lru-cache": "4.1.x", - "tmp": "0.0.x" + "string-width": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/useragent/node_modules/lru-cache": { - "version": "4.1.5", + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, - "license": "ISC", - "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/useragent/node_modules/yallist": { - "version": "2.1.2", + "node_modules/wordwrap": { + "version": "1.0.0", "dev": true, - "license": "ISC" + "license": "MIT" }, - "node_modules/utf-8-validate": { - "version": "5.0.10", + "node_modules/wordwrapjs": { + "version": "5.1.0", "dev": true, - "hasInstallScript": true, "license": "MIT", - "dependencies": { - "node-gyp-build": "^4.3.0" - }, "engines": { - "node": ">=6.14.2" + "node": ">=12.17" } }, - "node_modules/util": { - "version": "0.10.4", + "node_modules/workbox-background-sync": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "inherits": "2.0.3" + "idb": "^7.0.1", + "workbox-core": "6.6.0" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/util/node_modules/inherits": { - "version": "2.0.3", - "dev": true, - "license": "ISC" - }, - "node_modules/uuid": { - "version": "9.0.1", + "node_modules/workbox-broadcast-update": { + "version": "6.6.0", "dev": true, - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/v8-compile-cache": { - "version": "2.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/v8-to-istanbul": { - "version": "8.1.1", - "dev": true, - "license": "ISC", "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0", - "source-map": "^0.7.3" - }, - "engines": { - "node": ">=10.12.0" + "workbox-core": "6.6.0" } }, - "node_modules/v8-to-istanbul/node_modules/convert-source-map": { - "version": "1.9.0", + "node_modules/workbox-build": { + "version": "6.6.0", "dev": true, - "license": "MIT" - }, - "node_modules/valid-url": { - "version": "1.0.9", - "dev": true + "license": "MIT", + "dependencies": { + "@apideck/better-ajv-errors": "^0.3.1", + "@babel/core": "^7.11.1", + "@babel/preset-env": "^7.11.0", + "@babel/runtime": "^7.11.2", + "@rollup/plugin-babel": "^5.2.0", + "@rollup/plugin-node-resolve": "^11.2.1", + "@rollup/plugin-replace": "^2.4.1", + "@surma/rollup-plugin-off-main-thread": "^2.2.3", + "ajv": "^8.6.0", + "common-tags": "^1.8.0", + "fast-json-stable-stringify": "^2.1.0", + "fs-extra": "^9.0.1", + "glob": "^7.1.6", + "lodash": "^4.17.20", + "pretty-bytes": "^5.3.0", + "rollup": "^2.43.1", + "rollup-plugin-terser": "^7.0.0", + "source-map": "^0.8.0-beta.0", + "stringify-object": "^3.3.0", + "strip-comments": "^2.0.1", + "tempy": "^0.6.0", + "upath": "^1.2.0", + "workbox-background-sync": "6.6.0", + "workbox-broadcast-update": "6.6.0", + "workbox-cacheable-response": "6.6.0", + "workbox-core": "6.6.0", + "workbox-expiration": "6.6.0", + "workbox-google-analytics": "6.6.0", + "workbox-navigation-preload": "6.6.0", + "workbox-precaching": "6.6.0", + "workbox-range-requests": "6.6.0", + "workbox-recipes": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0", + "workbox-streams": "6.6.0", + "workbox-sw": "6.6.0", + "workbox-window": "6.6.0" + }, + "engines": { + "node": ">=10.0.0" + } }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", + "node_modules/workbox-build/node_modules/@apideck/better-ajv-errors": { + "version": "0.3.6", "dev": true, - "license": "Apache-2.0", + "license": "MIT", "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" + "json-schema": "^0.4.0", + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "ajv": ">=8" } }, - "node_modules/validate-npm-package-name": { - "version": "5.0.0", + "node_modules/workbox-build/node_modules/@rollup/plugin-babel": { + "version": "5.3.1", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "builtins": "^5.0.0" + "@babel/helper-module-imports": "^7.10.4", + "@rollup/pluginutils": "^3.1.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">= 10.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "@types/babel__core": "^7.1.9", + "rollup": "^1.20.0||^2.0.0" + }, + "peerDependenciesMeta": { + "@types/babel__core": { + "optional": true + } } }, - "node_modules/vary": { - "version": "1.1.2", + "node_modules/workbox-build/node_modules/@rollup/plugin-node-resolve": { + "version": "11.2.1", "dev": true, "license": "MIT", + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, "engines": { - "node": ">= 0.8" + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" } }, - "node_modules/verror": { - "version": "1.10.0", + "node_modules/workbox-build/node_modules/@rollup/plugin-replace": { + "version": "2.4.2", "dev": true, - "engines": [ - "node >=0.6.0" - ], "license": "MIT", "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" + "@rollup/pluginutils": "^3.1.0", + "magic-string": "^0.25.7" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" } }, - "node_modules/vm2": { - "version": "3.9.19", + "node_modules/workbox-build/node_modules/@rollup/pluginutils": { + "version": "3.1.0", "dev": true, "license": "MIT", "dependencies": { - "acorn": "^8.7.0", - "acorn-walk": "^8.2.0" - }, - "bin": { - "vm2": "bin/vm2" + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" }, "engines": { - "node": ">=6.0" + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" } }, - "node_modules/vm2/node_modules/acorn": { - "version": "8.11.3", + "node_modules/workbox-build/node_modules/@types/estree": { + "version": "0.0.39", + "dev": true, + "license": "MIT" + }, + "node_modules/workbox-build/node_modules/ajv": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", + "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", "dev": true, "license": "MIT", - "bin": { - "acorn": "bin/acorn" + "dependencies": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" }, - "engines": { - "node": ">=0.4.0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/vscode-oniguruma": { - "version": "1.7.0", + "node_modules/workbox-build/node_modules/estree-walker": { + "version": "1.0.1", "dev": true, "license": "MIT" }, - "node_modules/vscode-textmate": { - "version": "5.2.0", + "node_modules/workbox-build/node_modules/fs-extra": { + "version": "9.1.0", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } }, - "node_modules/walk-up-path": { + "node_modules/workbox-build/node_modules/json-schema-traverse": { "version": "1.0.0", "dev": true, - "license": "ISC" + "license": "MIT" }, - "node_modules/wcwidth": { - "version": "1.0.1", + "node_modules/workbox-build/node_modules/magic-string": { + "version": "0.25.9", "dev": true, "license": "MIT", "dependencies": { - "defaults": "^1.0.3" + "sourcemap-codec": "^1.4.8" } }, - "node_modules/web-component-analyzer": { - "version": "1.1.7", + "node_modules/workbox-build/node_modules/source-map": { + "version": "0.8.0-beta.0", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { - "fast-glob": "^3.2.2", - "ts-simple-type": "~1.0.5", - "typescript": "^3.8.3", - "yargs": "^15.3.1" + "whatwg-url": "^7.0.0" }, - "bin": { - "wca": "cli.js", - "web-component-analyzer": "cli.js" + "engines": { + "node": ">= 8" } }, - "node_modules/web-component-analyzer/node_modules/camelcase": { - "version": "5.3.1", + "node_modules/workbox-build/node_modules/upath": { + "version": "1.2.0", "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=4", + "yarn": "*" } }, - "node_modules/web-component-analyzer/node_modules/cliui": { - "version": "6.0.0", + "node_modules/workbox-cacheable-response": { + "version": "6.6.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" + "workbox-core": "6.6.0" } }, - "node_modules/web-component-analyzer/node_modules/find-up": { - "version": "4.1.0", + "node_modules/workbox-cli": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "chalk": "^4.1.0", + "chokidar": "^3.5.2", + "common-tags": "^1.8.0", + "fs-extra": "^9.0.1", + "glob": "^7.1.6", + "inquirer": "^7.3.3", + "meow": "^7.1.0", + "ora": "^5.0.0", + "pretty-bytes": "^5.3.0", + "stringify-object": "^3.3.0", + "upath": "^1.2.0", + "update-notifier": "^4.1.0", + "workbox-build": "6.6.0" + }, + "bin": { + "workbox": "build/bin.js" }, "engines": { - "node": ">=8" + "node": ">=10.0.0" } }, - "node_modules/web-component-analyzer/node_modules/locate-path": { - "version": "5.0.0", + "node_modules/workbox-cli/node_modules/camelcase": { + "version": "5.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/workbox-cli/node_modules/find-up": { + "version": "4.1.0", "dev": true, "license": "MIT", "dependencies": { - "p-locate": "^4.1.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/web-component-analyzer/node_modules/p-limit": { - "version": "2.3.0", + "node_modules/workbox-cli/node_modules/fs-extra": { + "version": "9.1.0", "dev": true, "license": "MIT", "dependencies": { - "p-try": "^2.0.0" + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=10" } }, - "node_modules/web-component-analyzer/node_modules/p-locate": { - "version": "4.1.0", + "node_modules/workbox-cli/node_modules/hosted-git-info": { + "version": "2.8.9", "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } + "license": "ISC" }, - "node_modules/web-component-analyzer/node_modules/typescript": { - "version": "3.9.10", + "node_modules/workbox-cli/node_modules/inquirer": { + "version": "7.3.3", "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.19", + "mute-stream": "0.0.8", + "run-async": "^2.4.0", + "rxjs": "^6.6.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" }, "engines": { - "node": ">=4.2.0" + "node": ">=8.0.0" } }, - "node_modules/web-component-analyzer/node_modules/y18n": { - "version": "4.0.3", - "dev": true, - "license": "ISC" - }, - "node_modules/web-component-analyzer/node_modules/yargs": { - "version": "15.4.1", + "node_modules/workbox-cli/node_modules/locate-path": { + "version": "5.0.0", "dev": true, "license": "MIT", "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" + "p-locate": "^4.1.0" }, "engines": { "node": ">=8" } }, - "node_modules/web-component-analyzer/node_modules/yargs-parser": { - "version": "18.1.3", + "node_modules/workbox-cli/node_modules/meow": { + "version": "7.1.1", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^2.5.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.13.1", + "yargs-parser": "^18.1.3" }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/webidl-conversions": { - "version": "4.0.2", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-fetch": { - "version": "3.6.20", - "dev": true, - "license": "MIT" - }, - "node_modules/whatwg-url": { - "version": "7.1.0", + "node_modules/workbox-cli/node_modules/normalize-package-data": { + "version": "2.5.0", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" } }, - "node_modules/wheel": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/which": { - "version": "3.0.1", + "node_modules/workbox-cli/node_modules/p-limit": { + "version": "2.3.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/which.js" + "p-try": "^2.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", + "node_modules/workbox-cli/node_modules/p-locate": { + "version": "4.1.0", "dev": true, "license": "MIT", "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" + "p-limit": "^2.2.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=8" } }, - "node_modules/which-module": { - "version": "2.0.1", - "dev": true, - "license": "ISC" - }, - "node_modules/which-pm-runs": { - "version": "1.1.0", + "node_modules/workbox-cli/node_modules/read-pkg": { + "version": "5.2.0", "dev": true, "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/which-typed-array": { - "version": "1.1.15", + "node_modules/workbox-cli/node_modules/read-pkg-up": { + "version": "7.0.1", "dev": true, "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" }, "engines": { - "node": ">= 0.4" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/wicg-inert": { - "version": "3.1.2", - "license": "W3C-20150513" - }, - "node_modules/wide-align": { - "version": "1.1.3", + "node_modules/workbox-cli/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^1.0.2 || 2" + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" } }, - "node_modules/wide-align/node_modules/ansi-regex": { - "version": "3.0.1", + "node_modules/workbox-cli/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", "dev": true, - "license": "MIT", + "license": "(MIT OR CC0-1.0)", "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/wide-align/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", + "node_modules/workbox-cli/node_modules/semver": { + "version": "5.7.2", "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" + "license": "ISC", + "bin": { + "semver": "bin/semver" } }, - "node_modules/wide-align/node_modules/string-width": { - "version": "2.1.1", + "node_modules/workbox-cli/node_modules/type-fest": { + "version": "0.13.1", "dev": true, - "license": "MIT", - "dependencies": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, + "license": "(MIT OR CC0-1.0)", "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/wide-align/node_modules/strip-ansi": { - "version": "4.0.0", + "node_modules/workbox-cli/node_modules/upath": { + "version": "1.2.0", "dev": true, "license": "MIT", - "dependencies": { - "ansi-regex": "^3.0.0" - }, "engines": { - "node": ">=4" + "node": ">=4", + "yarn": "*" } }, - "node_modules/widest-line": { - "version": "3.1.0", + "node_modules/workbox-cli/node_modules/yargs-parser": { + "version": "18.1.3", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "string-width": "^4.0.0" + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/word-wrap": { - "version": "1.2.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", + "node_modules/workbox-core": { + "version": "6.6.0", "dev": true, "license": "MIT" }, - "node_modules/wordwrapjs": { - "version": "5.1.0", + "node_modules/workbox-expiration": { + "version": "6.6.0", "dev": true, "license": "MIT", - "engines": { - "node": ">=12.17" + "dependencies": { + "idb": "^7.0.1", + "workbox-core": "6.6.0" } }, - "node_modules/workbox-background-sync": { + "node_modules/workbox-google-analytics": { "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "idb": "^7.0.1", - "workbox-core": "6.6.0" + "workbox-background-sync": "6.6.0", + "workbox-core": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0" } }, - "node_modules/workbox-broadcast-update": { + "node_modules/workbox-navigation-preload": { "version": "6.6.0", "dev": true, "license": "MIT", @@ -24878,1071 +25979,581 @@ "workbox-core": "6.6.0" } }, - "node_modules/workbox-build": { + "node_modules/workbox-precaching": { "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "@apideck/better-ajv-errors": "^0.3.1", - "@babel/core": "^7.11.1", - "@babel/preset-env": "^7.11.0", - "@babel/runtime": "^7.11.2", - "@rollup/plugin-babel": "^5.2.0", - "@rollup/plugin-node-resolve": "^11.2.1", - "@rollup/plugin-replace": "^2.4.1", - "@surma/rollup-plugin-off-main-thread": "^2.2.3", - "ajv": "^8.6.0", - "common-tags": "^1.8.0", - "fast-json-stable-stringify": "^2.1.0", - "fs-extra": "^9.0.1", - "glob": "^7.1.6", - "lodash": "^4.17.20", - "pretty-bytes": "^5.3.0", - "rollup": "^2.43.1", - "rollup-plugin-terser": "^7.0.0", - "source-map": "^0.8.0-beta.0", - "stringify-object": "^3.3.0", - "strip-comments": "^2.0.1", - "tempy": "^0.6.0", - "upath": "^1.2.0", - "workbox-background-sync": "6.6.0", - "workbox-broadcast-update": "6.6.0", - "workbox-cacheable-response": "6.6.0", "workbox-core": "6.6.0", - "workbox-expiration": "6.6.0", - "workbox-google-analytics": "6.6.0", - "workbox-navigation-preload": "6.6.0", - "workbox-precaching": "6.6.0", - "workbox-range-requests": "6.6.0", - "workbox-recipes": "6.6.0", "workbox-routing": "6.6.0", - "workbox-strategies": "6.6.0", - "workbox-streams": "6.6.0", - "workbox-sw": "6.6.0", - "workbox-window": "6.6.0" - }, - "engines": { - "node": ">=10.0.0" + "workbox-strategies": "6.6.0" } }, - "node_modules/workbox-build/node_modules/@apideck/better-ajv-errors": { - "version": "0.3.6", + "node_modules/workbox-range-requests": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "json-schema": "^0.4.0", - "jsonpointer": "^5.0.0", - "leven": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "ajv": ">=8" + "workbox-core": "6.6.0" } }, - "node_modules/workbox-build/node_modules/@rollup/plugin-babel": { - "version": "5.3.1", + "node_modules/workbox-recipes": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "@types/babel__core": "^7.1.9", - "rollup": "^1.20.0||^2.0.0" - }, - "peerDependenciesMeta": { - "@types/babel__core": { - "optional": true - } + "workbox-cacheable-response": "6.6.0", + "workbox-core": "6.6.0", + "workbox-expiration": "6.6.0", + "workbox-precaching": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0" } }, - "node_modules/workbox-build/node_modules/@rollup/plugin-node-resolve": { - "version": "11.2.1", + "node_modules/workbox-routing": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" + "workbox-core": "6.6.0" } }, - "node_modules/workbox-build/node_modules/@rollup/plugin-replace": { - "version": "2.4.2", + "node_modules/workbox-strategies": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" - }, - "peerDependencies": { - "rollup": "^1.20.0 || ^2.0.0" + "workbox-core": "6.6.0" } }, - "node_modules/workbox-build/node_modules/@rollup/pluginutils": { - "version": "3.1.0", + "node_modules/workbox-streams": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" + "workbox-core": "6.6.0", + "workbox-routing": "6.6.0" } }, - "node_modules/workbox-build/node_modules/@types/estree": { - "version": "0.0.39", + "node_modules/workbox-sw": { + "version": "6.6.0", "dev": true, "license": "MIT" }, - "node_modules/workbox-build/node_modules/ajv": { - "version": "8.13.0", + "node_modules/workbox-window": { + "version": "6.6.0", "dev": true, "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.3", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "@types/trusted-types": "^2.0.2", + "workbox-core": "6.6.0" } }, - "node_modules/workbox-build/node_modules/estree-walker": { - "version": "1.0.1", + "node_modules/wrap-ansi": { + "version": "6.2.0", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } }, - "node_modules/workbox-build/node_modules/fs-extra": { - "version": "9.1.0", + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", "dev": true, "license": "MIT", "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/workbox-build/node_modules/json-schema-traverse": { - "version": "1.0.0", + "node_modules/wrappy": { + "version": "1.0.2", "dev": true, - "license": "MIT" + "license": "ISC" }, - "node_modules/workbox-build/node_modules/magic-string": { - "version": "0.25.9", + "node_modules/wrench": { + "version": "1.3.9", "dev": true, - "license": "MIT", - "dependencies": { - "sourcemap-codec": "^1.4.8" + "engines": { + "node": ">=0.1.97" } }, - "node_modules/workbox-build/node_modules/source-map": { - "version": "0.8.0-beta.0", + "node_modules/write-file-atomic": { + "version": "5.0.1", "dev": true, - "license": "BSD-3-Clause", + "license": "ISC", "dependencies": { - "whatwg-url": "^7.0.0" + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" }, "engines": { - "node": ">= 8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/workbox-build/node_modules/upath": { - "version": "1.2.0", + "node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "4.1.0", "dev": true, - "license": "MIT", + "license": "ISC", "engines": { - "node": ">=4", - "yarn": "*" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/workbox-cacheable-response": { - "version": "6.6.0", + "node_modules/write-json-file": { + "version": "3.2.0", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "6.6.0" + "detect-indent": "^5.0.0", + "graceful-fs": "^4.1.15", + "make-dir": "^2.1.0", + "pify": "^4.0.1", + "sort-keys": "^2.0.0", + "write-file-atomic": "^2.4.2" + }, + "engines": { + "node": ">=6" } }, - "node_modules/workbox-cli": { - "version": "6.6.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "chokidar": "^3.5.2", - "common-tags": "^1.8.0", - "fs-extra": "^9.0.1", - "glob": "^7.1.6", - "inquirer": "^7.3.3", - "meow": "^7.1.0", - "ora": "^5.0.0", - "pretty-bytes": "^5.3.0", - "stringify-object": "^3.3.0", - "upath": "^1.2.0", - "update-notifier": "^4.1.0", - "workbox-build": "6.6.0" - }, - "bin": { - "workbox": "build/bin.js" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/workbox-cli/node_modules/camelcase": { - "version": "5.3.1", + "node_modules/write-json-file/node_modules/detect-indent": { + "version": "5.0.0", "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=4" } }, - "node_modules/workbox-cli/node_modules/find-up": { - "version": "4.1.0", + "node_modules/write-json-file/node_modules/make-dir": { + "version": "2.1.0", "dev": true, "license": "MIT", "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "pify": "^4.0.1", + "semver": "^5.6.0" }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/workbox-cli/node_modules/fs-extra": { - "version": "9.1.0", + "node_modules/write-json-file/node_modules/pify": { + "version": "4.0.1", "dev": true, "license": "MIT", - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, "engines": { - "node": ">=10" + "node": ">=6" } }, - "node_modules/workbox-cli/node_modules/hosted-git-info": { - "version": "2.8.9", + "node_modules/write-json-file/node_modules/semver": { + "version": "5.7.2", "dev": true, - "license": "ISC" + "license": "ISC", + "bin": { + "semver": "bin/semver" + } }, - "node_modules/workbox-cli/node_modules/inquirer": { - "version": "7.3.3", + "node_modules/write-json-file/node_modules/write-file-atomic": { + "version": "2.4.3", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.19", - "mute-stream": "0.0.8", - "run-async": "^2.4.0", - "rxjs": "^6.6.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6" - }, - "engines": { - "node": ">=8.0.0" + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" } }, - "node_modules/workbox-cli/node_modules/locate-path": { - "version": "5.0.0", + "node_modules/write-pkg": { + "version": "4.0.0", "dev": true, "license": "MIT", "dependencies": { - "p-locate": "^4.1.0" + "sort-keys": "^2.0.0", + "type-fest": "^0.4.1", + "write-json-file": "^3.2.0" }, "engines": { "node": ">=8" } }, - "node_modules/workbox-cli/node_modules/meow": { - "version": "7.1.1", + "node_modules/write-pkg/node_modules/type-fest": { + "version": "0.4.1", "dev": true, - "license": "MIT", - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, + "license": "(MIT OR CC0-1.0)", "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/workbox-cli/node_modules/normalize-package-data": { - "version": "2.5.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "node": ">=6" } }, - "node_modules/workbox-cli/node_modules/p-limit": { - "version": "2.3.0", + "node_modules/ws": { + "version": "7.5.9", "dev": true, "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, "engines": { - "node": ">=6" + "node": ">=8.3.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/workbox-cli/node_modules/p-locate": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" }, - "engines": { - "node": ">=8" + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } }, - "node_modules/workbox-cli/node_modules/read-pkg": { - "version": "5.2.0", + "node_modules/xdg-basedir": { + "version": "4.0.0", "dev": true, "license": "MIT", - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, "engines": { "node": ">=8" } }, - "node_modules/workbox-cli/node_modules/read-pkg-up": { - "version": "7.0.1", + "node_modules/xtend": { + "version": "4.0.2", "dev": true, "license": "MIT", - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.4" } }, - "node_modules/workbox-cli/node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", + "node_modules/y18n": { + "version": "5.0.8", "dev": true, - "license": "(MIT OR CC0-1.0)", + "license": "ISC", "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/workbox-cli/node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", + "node_modules/yallist": { + "version": "3.1.1", "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=8" - } + "license": "ISC" }, - "node_modules/workbox-cli/node_modules/semver": { - "version": "5.7.2", + "node_modules/yaml": { + "version": "1.10.2", "dev": true, "license": "ISC", - "bin": { - "semver": "bin/semver" + "engines": { + "node": ">= 6" } }, - "node_modules/workbox-cli/node_modules/type-fest": { - "version": "0.13.1", + "node_modules/yamlparser": { + "version": "0.0.2", + "dev": true + }, + "node_modules/yargs": { + "version": "16.2.0", "dev": true, - "license": "(MIT OR CC0-1.0)", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/workbox-cli/node_modules/upath": { - "version": "1.2.0", + "node_modules/yargs-parser": { + "version": "20.2.4", "dev": true, - "license": "MIT", + "license": "ISC", "engines": { - "node": ">=4", - "yarn": "*" + "node": ">=10" } }, - "node_modules/workbox-cli/node_modules/yargs-parser": { - "version": "18.1.3", + "node_modules/yargs-unparser": { + "version": "1.6.0", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "flat": "^4.1.0", + "lodash": "^4.17.15", + "yargs": "^13.3.0" }, "engines": { "node": ">=6" } }, - "node_modules/workbox-core": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/ansi-regex": { + "version": "4.1.1", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=6" + } }, - "node_modules/workbox-expiration": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/ansi-styles": { + "version": "3.2.1", "dev": true, "license": "MIT", "dependencies": { - "idb": "^7.0.1", - "workbox-core": "6.6.0" + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" } }, - "node_modules/workbox-google-analytics": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/camelcase": { + "version": "5.3.1", "dev": true, "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs-unparser/node_modules/cliui": { + "version": "5.0.0", + "dev": true, + "license": "ISC", "dependencies": { - "workbox-background-sync": "6.6.0", - "workbox-core": "6.6.0", - "workbox-routing": "6.6.0", - "workbox-strategies": "6.6.0" + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" } }, - "node_modules/workbox-navigation-preload": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/color-convert": { + "version": "1.9.3", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "6.6.0" + "color-name": "1.1.3" } }, - "node_modules/workbox-precaching": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/color-name": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/yargs-unparser/node_modules/emoji-regex": { + "version": "7.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/yargs-unparser/node_modules/find-up": { + "version": "3.0.0", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "6.6.0", - "workbox-routing": "6.6.0", - "workbox-strategies": "6.6.0" + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "node_modules/workbox-range-requests": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/flat": { + "version": "4.1.1", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { - "workbox-core": "6.6.0" + "is-buffer": "~2.0.3" + }, + "bin": { + "flat": "cli.js" } }, - "node_modules/workbox-recipes": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", "dev": true, "license": "MIT", - "dependencies": { - "workbox-cacheable-response": "6.6.0", - "workbox-core": "6.6.0", - "workbox-expiration": "6.6.0", - "workbox-precaching": "6.6.0", - "workbox-routing": "6.6.0", - "workbox-strategies": "6.6.0" + "engines": { + "node": ">=4" } }, - "node_modules/workbox-routing": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/locate-path": { + "version": "3.0.0", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "6.6.0" + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "node_modules/workbox-strategies": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/p-limit": { + "version": "2.3.0", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "6.6.0" + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/workbox-streams": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/p-locate": { + "version": "3.0.0", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "6.6.0", - "workbox-routing": "6.6.0" + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" } }, - "node_modules/workbox-sw": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/path-exists": { + "version": "3.0.0", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=4" + } }, - "node_modules/workbox-window": { - "version": "6.6.0", + "node_modules/yargs-unparser/node_modules/string-width": { + "version": "3.1.0", "dev": true, "license": "MIT", "dependencies": { - "@types/trusted-types": "^2.0.2", - "workbox-core": "6.6.0" + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" } }, - "node_modules/wrap-ansi": { - "version": "6.2.0", + "node_modules/yargs-unparser/node_modules/strip-ansi": { + "version": "5.2.0", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-regex": "^4.1.0" }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", + "node_modules/yargs-unparser/node_modules/wrap-ansi": { + "version": "5.1.0", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "node": ">=6" } }, - "node_modules/wrappy": { - "version": "1.0.2", + "node_modules/yargs-unparser/node_modules/y18n": { + "version": "4.0.3", "dev": true, "license": "ISC" }, - "node_modules/wrench": { - "version": "1.3.9", + "node_modules/yargs-unparser/node_modules/yargs": { + "version": "13.3.2", "dev": true, - "engines": { - "node": ">=0.1.97" + "license": "MIT", + "dependencies": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" } }, - "node_modules/write-file-atomic": { - "version": "5.0.1", + "node_modules/yargs-unparser/node_modules/yargs-parser": { + "version": "13.1.2", "dev": true, "license": "ISC", "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" } }, - "node_modules/write-file-atomic/node_modules/signal-exit": { - "version": "4.1.0", + "node_modules/yargs/node_modules/cliui": { + "version": "7.0.4", "dev": true, "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, - "node_modules/write-json-file": { - "version": "3.2.0", + "node_modules/yargs/node_modules/wrap-ansi": { + "version": "7.0.0", "dev": true, "license": "MIT", "dependencies": { - "detect-indent": "^5.0.0", - "graceful-fs": "^4.1.15", - "make-dir": "^2.1.0", - "pify": "^4.0.1", - "sort-keys": "^2.0.0", - "write-file-atomic": "^2.4.2" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/write-json-file/node_modules/detect-indent": { - "version": "5.0.0", + "node_modules/yauzl": { + "version": "2.10.0", "dev": true, "license": "MIT", - "engines": { - "node": ">=4" + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" } }, - "node_modules/write-json-file/node_modules/make-dir": { - "version": "2.1.0", + "node_modules/ylru": { + "version": "1.4.0", "dev": true, "license": "MIT", - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, "engines": { - "node": ">=6" + "node": ">= 4.0.0" } }, - "node_modules/write-json-file/node_modules/pify": { - "version": "4.0.1", + "node_modules/yn": { + "version": "3.1.1", "dev": true, "license": "MIT", "engines": { "node": ">=6" } }, - "node_modules/write-json-file/node_modules/semver": { - "version": "5.7.2", + "node_modules/yocto-queue": { + "version": "0.1.0", "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/write-json-file/node_modules/write-file-atomic": { - "version": "2.4.3", - "dev": true, - "license": "ISC", - "dependencies": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "node_modules/write-pkg": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "sort-keys": "^2.0.0", - "type-fest": "^0.4.1", - "write-json-file": "^3.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/write-pkg/node_modules/type-fest": { - "version": "0.4.1", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=6" - } - }, - "node_modules/ws": { - "version": "7.5.9", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xdg-basedir": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/xtend": { - "version": "4.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "dev": true, - "license": "ISC" - }, - "node_modules/yaml": { - "version": "1.10.2", - "dev": true, - "license": "ISC", - "engines": { - "node": ">= 6" - } - }, - "node_modules/yamlparser": { - "version": "0.0.2", - "dev": true - }, - "node_modules/yargs": { - "version": "16.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.4", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser": { - "version": "1.6.0", - "dev": true, - "license": "MIT", - "dependencies": { - "flat": "^4.1.0", - "lodash": "^4.17.15", - "yargs": "^13.3.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/ansi-regex": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/ansi-styles": { - "version": "3.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/yargs-unparser/node_modules/camelcase": { - "version": "5.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/cliui": { - "version": "5.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" - } - }, - "node_modules/yargs-unparser/node_modules/color-convert": { - "version": "1.9.3", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/yargs-unparser/node_modules/color-name": { - "version": "1.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs-unparser/node_modules/emoji-regex": { - "version": "7.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs-unparser/node_modules/find-up": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/flat": { - "version": "4.1.1", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "is-buffer": "~2.0.3" - }, - "bin": { - "flat": "cli.js" - } - }, - "node_modules/yargs-unparser/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/yargs-unparser/node_modules/locate-path": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/p-limit": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yargs-unparser/node_modules/p-locate": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/path-exists": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/yargs-unparser/node_modules/string-width": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/strip-ansi": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/wrap-ansi": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs-unparser/node_modules/y18n": { - "version": "4.0.3", - "dev": true, - "license": "ISC" - }, - "node_modules/yargs-unparser/node_modules/yargs": { - "version": "13.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^13.1.2" - } - }, - "node_modules/yargs-unparser/node_modules/yargs-parser": { - "version": "13.1.2", - "dev": true, - "license": "ISC", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - }, - "node_modules/yargs/node_modules/cliui": { - "version": "7.0.4", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/yargs/node_modules/wrap-ansi": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/yauzl": { - "version": "2.10.0", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, - "node_modules/ylru": { - "version": "1.4.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "packages/addons": { @@ -25961,17 +26572,17 @@ "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server-esbuild": "^0.2.16", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", + "eslint-plugin-tsdoc": "^0.2.16", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", @@ -26045,17 +26656,17 @@ "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server-esbuild": "^0.2.16", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", + "eslint-plugin-tsdoc": "^0.2.16", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", @@ -26133,8 +26744,8 @@ "@open-wc/testing": "next", "@rollup/plugin-typescript": "^9.0.2", "@types/node": "^18.11.9", - "@typescript-eslint/eslint-plugin": "^5.30.7", - "@typescript-eslint/parser": "^5.30.7", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server": "^0.1.32", "@web/test-runner": "next", "@web/test-runner-playwright": "^0.8.10", @@ -26163,10 +26774,45 @@ "@babel/highlight": "^7.10.4" } }, - "packages/core/node_modules/@humanwhocodes/object-schema": { - "version": "2.0.3", + "packages/core/node_modules/@eslint/eslintrc": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", "dev": true, - "license": "BSD-3-Clause" + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "packages/core/node_modules/@humanwhocodes/config-array": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "packages/core/node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true }, "packages/core/node_modules/@open-wc/eslint-config": { "version": "7.0.0", @@ -26192,6 +26838,12 @@ "eslint-plugin-wc": "^1.2.0" } }, + "packages/core/node_modules/@open-wc/eslint-config/node_modules/emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, "packages/core/node_modules/@open-wc/eslint-config/node_modules/eslint": { "version": "7.32.0", "dev": true, @@ -26242,276 +26894,533 @@ "eslint": "bin/eslint.js" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "packages/core/node_modules/@open-wc/eslint-config/node_modules/eslint-config-airbnb-base": { + "version": "14.2.1", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz", + "integrity": "sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "confusing-browser-globals": "^1.0.10", + "object.assign": "^4.1.2", + "object.entries": "^1.1.2" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "eslint": "^5.16.0 || ^6.8.0 || ^7.2.0", + "eslint-plugin-import": "^2.22.1" + } + }, + "packages/core/node_modules/@open-wc/eslint-config/node_modules/eslint-plugin-lit-a11y": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-lit-a11y/-/eslint-plugin-lit-a11y-2.4.1.tgz", + "integrity": "sha512-UljRja/2cVrNtgnCDj5sCT3Larxda4mGqbsPhlksvECo0+KCD8EuUori/P6wFeFqk+pHlkIC3W200E5q85E3VQ==", + "dev": true, + "dependencies": { + "aria-query": "^5.1.3", + "axe-core": "^4.3.3", + "axobject-query": "^2.2.0", + "dom5": "^3.0.1", + "emoji-regex": "^10.2.1", + "eslint-plugin-lit": "^1.6.0", + "eslint-rule-extender": "0.0.1", + "language-tags": "^1.0.5", + "parse5": "^7.1.2", + "parse5-htmlparser2-tree-adapter": "^6.0.1", + "requireindex": "~1.2.0" + }, + "peerDependencies": { + "eslint": ">= 5" + } + }, + "packages/core/node_modules/@types/node": { + "version": "18.19.33", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", + "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@lit/reactive-element": "^1.0.0 || ^2.0.0", + "@open-wc/dedupe-mixin": "^1.4.0" + } + }, + "packages/core/node_modules/@open-wc/testing": { + "version": "3.0.0-next.5", + "resolved": "https://registry.npmjs.org/@open-wc/testing/-/testing-3.0.0-next.5.tgz", + "integrity": "sha512-n2NrCGql3daWKOuyvdwKqdnm2ArOch+U7yIuvLZGTwtlMXlvZjOAln3CKZCWEmN5lXcgIAb5czeY7CzOmP8QWg==", + "dev": true, + "dependencies": { + "@esm-bundle/chai": "^4.3.4", + "@open-wc/chai-dom-equals": "^0.12.36", + "@open-wc/semantic-dom-diff": "^0.19.5-next.2", + "@open-wc/testing-helpers": "^2.0.0-next.2", + "@types/chai": "^4.2.11", + "@types/chai-dom": "^0.0.9", + "@types/sinon-chai": "^3.2.3", + "chai-a11y-axe": "^1.3.2-next.0" + } + }, + "packages/core/node_modules/@open-wc/testing-helpers": { + "version": "2.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-wc/scoped-elements": "^2.2.4", + "lit": "^2.0.0 || ^3.0.0", + "lit-html": "^2.0.0 || ^3.0.0" + } + }, + "packages/core/node_modules/@types/node": { + "version": "18.19.33", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "packages/core/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "packages/core/node_modules/ansi-escapes": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^1.0.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/core/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "packages/core/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "packages/core/node_modules/argparse": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "packages/core/node_modules/aria-query": { + "version": "5.3.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "packages/core/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "packages/core/node_modules/ci-info": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/core/node_modules/cli-cursor": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/core/node_modules/cli-truncate": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "slice-ansi": "^5.0.0", + "string-width": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/core/node_modules/cli-truncate/node_modules/string-width": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/@open-wc/eslint-config/node_modules/ignore": { - "version": "4.0.6", + "packages/core/node_modules/cli-truncate/node_modules/strip-ansi": { + "version": "7.1.0", "dev": true, "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, "engines": { - "node": ">= 4" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "packages/core/node_modules/@open-wc/eslint-config/node_modules/js-yaml": { - "version": "3.14.1", + "packages/core/node_modules/color-convert": { + "version": "1.9.3", "dev": true, "license": "MIT", "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "color-name": "1.1.3" } }, - "packages/core/node_modules/@open-wc/scoped-elements": { - "version": "2.2.4", + "packages/core/node_modules/color-name": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "packages/core/node_modules/colorette": { + "version": "2.0.20", + "dev": true, + "license": "MIT" + }, + "packages/core/node_modules/command-line-usage": { + "version": "6.1.3", "dev": true, "license": "MIT", "dependencies": { - "@lit/reactive-element": "^1.0.0 || ^2.0.0", - "@open-wc/dedupe-mixin": "^1.4.0" + "array-back": "^4.0.2", + "chalk": "^2.4.2", + "table-layout": "^1.0.2", + "typical": "^5.2.0" + }, + "engines": { + "node": ">=8.0.0" } }, - "packages/core/node_modules/@open-wc/testing": { - "version": "3.0.0-next.5", - "resolved": "https://registry.npmjs.org/@open-wc/testing/-/testing-3.0.0-next.5.tgz", - "integrity": "sha512-n2NrCGql3daWKOuyvdwKqdnm2ArOch+U7yIuvLZGTwtlMXlvZjOAln3CKZCWEmN5lXcgIAb5czeY7CzOmP8QWg==", + "packages/core/node_modules/command-line-usage/node_modules/ansi-styles": { + "version": "3.2.1", "dev": true, + "license": "MIT", "dependencies": { - "@esm-bundle/chai": "^4.3.4", - "@open-wc/chai-dom-equals": "^0.12.36", - "@open-wc/semantic-dom-diff": "^0.19.5-next.2", - "@open-wc/testing-helpers": "^2.0.0-next.2", - "@types/chai": "^4.2.11", - "@types/chai-dom": "^0.0.9", - "@types/sinon-chai": "^3.2.3", - "chai-a11y-axe": "^1.3.2-next.0" + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" } }, - "packages/core/node_modules/@open-wc/testing-helpers": { - "version": "2.3.2", + "packages/core/node_modules/command-line-usage/node_modules/chalk": { + "version": "2.4.2", "dev": true, "license": "MIT", "dependencies": { - "@open-wc/scoped-elements": "^2.2.4", - "lit": "^2.0.0 || ^3.0.0", - "lit-html": "^2.0.0 || ^3.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" } }, - "packages/core/node_modules/@types/node": { - "version": "18.19.33", + "packages/core/node_modules/command-line-usage/node_modules/escape-string-regexp": { + "version": "1.0.5", "dev": true, "license": "MIT", - "dependencies": { - "undici-types": "~5.26.4" + "engines": { + "node": ">=0.8.0" + } + }, + "packages/core/node_modules/command-line-usage/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" } }, - "packages/core/node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.62.0", + "packages/core/node_modules/command-line-usage/node_modules/supports-color": { + "version": "5.5.0", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/type-utils": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "has-flag": "^3.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "node": ">=4" } }, - "packages/core/node_modules/@typescript-eslint/parser": { - "version": "5.62.0", + "packages/core/node_modules/commander": { + "version": "11.0.0", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "packages/core/node_modules/concurrently": { + "version": "7.6.0", + "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "debug": "^4.3.4" + "chalk": "^4.1.0", + "date-fns": "^2.29.1", + "lodash": "^4.17.21", + "rxjs": "^7.0.0", + "shell-quote": "^1.7.3", + "spawn-command": "^0.0.2-1", + "supports-color": "^8.1.0", + "tree-kill": "^1.2.2", + "yargs": "^17.3.1" + }, + "bin": { + "conc": "dist/bin/concurrently.js", + "concurrently": "dist/bin/concurrently.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^12.20.0 || ^14.13.0 || >=16.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" } }, - "packages/core/node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", + "packages/core/node_modules/convert-source-map": { + "version": "1.9.0", + "dev": true, + "license": "MIT" + }, + "packages/core/node_modules/cosmiconfig": { + "version": "7.1.0", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=10" + } + }, + "packages/core/node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "engines": { + "node": "^10.12.0 || >=12.0.0" } }, - "packages/core/node_modules/@typescript-eslint/types": { - "version": "5.62.0", + "packages/core/node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=4" + } + }, + "packages/core/node_modules/eventemitter3": { + "version": "5.0.1", + "dev": true, + "license": "MIT" + }, + "packages/core/node_modules/execa": { + "version": "7.2.0", "dev": true, "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^14.18.0 || ^16.14.0 || >=18.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "packages/core/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", + "packages/core/node_modules/fast-check": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.18.0.tgz", + "integrity": "sha512-/951xaT0kA40w0GXRsZXEwSTE7LugjZtSA/8vPgFkiPQ8wNp8tRvqWuNDHBgLxJYXtsK11e/7Q4ObkKW5BdTFQ==", "dev": true, - "license": "BSD-2-Clause", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "pure-rand": "^6.1.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8.0.0" + } + }, + "packages/core/node_modules/get-stream": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", + "packages/core/node_modules/globals": { + "version": "13.24.0", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" + "type-fest": "^0.20.2" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { - "version": "3.4.3", + "packages/core/node_modules/globals/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, - "license": "Apache-2.0", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=10" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/@web/test-runner": { - "version": "0.13.16-next.0", - "resolved": "https://registry.npmjs.org/@web/test-runner/-/test-runner-0.13.16-next.0.tgz", - "integrity": "sha512-me/UCSKMKm0rkPg91yuEcjnbRv+Ys9hFgjrceU4XXQWr/NUOkT5CBf7PVyKQIxRyDPd6v55mLnOf7T0w0UbgXA==", + "packages/core/node_modules/human-signals": { + "version": "4.3.1", "dev": true, - "dependencies": { - "@web/browser-logs": "^0.2.2", - "@web/config-loader": "^0.1.3", - "@web/dev-server": "^0.1.20-next.0", - "@web/test-runner-chrome": "^0.10.0", - "@web/test-runner-commands": "^0.5.6", - "@web/test-runner-core": "^0.10.19", - "@web/test-runner-mocha": "^0.7.3", - "camelcase": "^6.2.0", - "chalk": "^4.1.0", - "command-line-args": "^5.1.1", - "command-line-usage": "^6.1.1", - "convert-source-map": "^1.7.0", - "diff": "^5.0.0", - "globby": "^11.0.1", - "portfinder": "^1.0.28", - "source-map": "^0.7.3" - }, - "bin": { - "web-test-runner": "dist/bin.js", - "wtr": "dist/bin.js" - }, + "license": "Apache-2.0", "engines": { - "node": ">=12.0.0" + "node": ">=14.18.0" } }, - "packages/core/node_modules/@web/test-runner-commands": { - "version": "0.5.13", + "packages/core/node_modules/husky": { + "version": "4.3.8", "dev": true, + "hasInstallScript": true, "license": "MIT", "dependencies": { - "@web/test-runner-core": "^0.10.20", - "mkdirp": "^1.0.4" + "chalk": "^4.0.0", + "ci-info": "^2.0.0", + "compare-versions": "^3.6.0", + "cosmiconfig": "^7.0.0", + "find-versions": "^4.0.0", + "opencollective-postinstall": "^2.0.2", + "pkg-dir": "^5.0.0", + "please-upgrade-node": "^3.2.0", + "slash": "^3.0.0", + "which-pm-runs": "^1.0.0" + }, + "bin": { + "husky-run": "bin/run.js", + "husky-upgrade": "lib/upgrader/bin.js" }, "engines": { - "node": ">=12.0.0" + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/husky" } }, - "packages/core/node_modules/acorn": { - "version": "8.11.3", + "packages/core/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, "engines": { - "node": ">=0.4.0" + "node": ">= 4" } }, - "packages/core/node_modules/ansi-escapes": { - "version": "5.0.0", + "packages/core/node_modules/is-fullwidth-code-point": { + "version": "4.0.0", "dev": true, "license": "MIT", - "dependencies": { - "type-fest": "^1.0.2" - }, "engines": { "node": ">=12" }, @@ -26519,89 +27428,156 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/ansi-escapes/node_modules/type-fest": { - "version": "1.4.0", + "packages/core/node_modules/is-stream": { + "version": "3.0.0", "dev": true, - "license": "(MIT OR CC0-1.0)", + "license": "MIT", "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/ansi-regex": { - "version": "6.0.1", + "packages/core/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "packages/core/node_modules/lint-staged": { + "version": "13.3.0", "dev": true, "license": "MIT", + "dependencies": { + "chalk": "5.3.0", + "commander": "11.0.0", + "debug": "4.3.4", + "execa": "7.2.0", + "lilconfig": "2.1.0", + "listr2": "6.6.1", + "micromatch": "4.0.5", + "pidtree": "0.6.0", + "string-argv": "0.3.2", + "yaml": "2.3.1" + }, + "bin": { + "lint-staged": "bin/lint-staged.js" + }, "engines": { - "node": ">=12" + "node": "^16.14.0 || >=18.0.0" }, "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "url": "https://opencollective.com/lint-staged" } }, - "packages/core/node_modules/ansi-styles": { - "version": "6.2.1", + "packages/core/node_modules/lint-staged/node_modules/chalk": { + "version": "5.3.0", "dev": true, "license": "MIT", "engines": { - "node": ">=12" + "node": "^12.17.0 || ^14.13 || >=16.0.0" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "packages/core/node_modules/argparse": { - "version": "1.0.10", + "packages/core/node_modules/lint-staged/node_modules/yaml": { + "version": "2.3.1", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 14" + } + }, + "packages/core/node_modules/listr2": { + "version": "6.6.1", "dev": true, "license": "MIT", "dependencies": { - "sprintf-js": "~1.0.2" + "cli-truncate": "^3.1.0", + "colorette": "^2.0.20", + "eventemitter3": "^5.0.1", + "log-update": "^5.0.1", + "rfdc": "^1.3.0", + "wrap-ansi": "^8.1.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "enquirer": ">= 2.3.0 < 3" + }, + "peerDependenciesMeta": { + "enquirer": { + "optional": true + } } }, - "packages/core/node_modules/aria-query": { - "version": "5.3.0", + "packages/core/node_modules/lit-html": { + "version": "3.1.3", "dev": true, - "license": "Apache-2.0", + "license": "BSD-3-Clause", "dependencies": { - "dequal": "^2.0.3" + "@types/trusted-types": "^2.0.2" } }, - "packages/core/node_modules/array-back": { - "version": "4.0.2", + "packages/core/node_modules/log-update": { + "version": "5.0.1", "dev": true, "license": "MIT", + "dependencies": { + "ansi-escapes": "^5.0.0", + "cli-cursor": "^4.0.0", + "slice-ansi": "^5.0.0", + "strip-ansi": "^7.0.1", + "wrap-ansi": "^8.0.1" + }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/ci-info": { - "version": "2.0.0", + "packages/core/node_modules/log-update/node_modules/strip-ansi": { + "version": "7.1.0", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } }, - "packages/core/node_modules/cli-cursor": { + "packages/core/node_modules/mimic-fn": { "version": "4.0.0", "dev": true, "license": "MIT", - "dependencies": { - "restore-cursor": "^4.0.0" - }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/cli-truncate": { - "version": "3.1.0", + "packages/core/node_modules/npm-run-path": { + "version": "5.3.0", "dev": true, "license": "MIT", "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^5.0.0" + "path-key": "^4.0.0" }, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -26610,19 +27586,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/cli-truncate/node_modules/emoji-regex": { - "version": "9.2.2", - "dev": true, - "license": "MIT" - }, - "packages/core/node_modules/cli-truncate/node_modules/string-width": { - "version": "5.1.2", + "packages/core/node_modules/onetime": { + "version": "6.0.0", "dev": true, "license": "MIT", "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" + "mimic-fn": "^4.0.0" }, "engines": { "node": ">=12" @@ -26631,1164 +27600,1360 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/cli-truncate/node_modules/strip-ansi": { - "version": "7.1.0", + "packages/core/node_modules/path-key": { + "version": "4.0.0", "dev": true, "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/color-convert": { - "version": "1.9.3", + "packages/core/node_modules/pkg-dir": { + "version": "5.0.0", "dev": true, "license": "MIT", "dependencies": { - "color-name": "1.1.3" + "find-up": "^5.0.0" + }, + "engines": { + "node": ">=10" } }, - "packages/core/node_modules/color-name": { - "version": "1.1.3", - "dev": true, - "license": "MIT" - }, - "packages/core/node_modules/colorette": { - "version": "2.0.20", + "packages/core/node_modules/pure-rand": { + "version": "6.1.0", "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], "license": "MIT" - }, - "packages/core/node_modules/command-line-usage": { - "version": "6.1.3", + }, + "packages/core/node_modules/restore-cursor": { + "version": "4.0.0", "dev": true, "license": "MIT", "dependencies": { - "array-back": "^4.0.2", - "chalk": "^2.4.2", - "table-layout": "^1.0.2", - "typical": "^5.2.0" + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" }, "engines": { - "node": ">=8.0.0" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/command-line-usage/node_modules/ansi-styles": { - "version": "3.2.1", + "packages/core/node_modules/restore-cursor/node_modules/mimic-fn": { + "version": "2.1.0", "dev": true, "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, "engines": { - "node": ">=4" + "node": ">=6" } }, - "packages/core/node_modules/command-line-usage/node_modules/chalk": { - "version": "2.4.2", + "packages/core/node_modules/restore-cursor/node_modules/onetime": { + "version": "5.1.2", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "mimic-fn": "^2.1.0" }, "engines": { - "node": ">=4" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/command-line-usage/node_modules/escape-string-regexp": { - "version": "1.0.5", + "packages/core/node_modules/rxjs": { + "version": "7.8.1", "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" } }, - "packages/core/node_modules/command-line-usage/node_modules/has-flag": { - "version": "3.0.0", + "packages/core/node_modules/shiki": { + "version": "0.14.7", "dev": true, "license": "MIT", - "engines": { - "node": ">=4" + "dependencies": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" } }, - "packages/core/node_modules/command-line-usage/node_modules/supports-color": { - "version": "5.5.0", + "packages/core/node_modules/slice-ansi": { + "version": "5.0.0", "dev": true, "license": "MIT", "dependencies": { - "has-flag": "^3.0.0" + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "packages/core/node_modules/commander": { - "version": "11.0.0", + "packages/core/node_modules/sprintf-js": { + "version": "1.0.3", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/core/node_modules/string-argv": { + "version": "0.3.2", "dev": true, "license": "MIT", "engines": { - "node": ">=16" + "node": ">=0.6.19" } }, - "packages/core/node_modules/concurrently": { - "version": "7.6.0", + "packages/core/node_modules/strip-final-newline": { + "version": "3.0.0", "dev": true, "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "date-fns": "^2.29.1", - "lodash": "^4.17.21", - "rxjs": "^7.0.0", - "shell-quote": "^1.7.3", - "spawn-command": "^0.0.2-1", - "supports-color": "^8.1.0", - "tree-kill": "^1.2.2", - "yargs": "^17.3.1" - }, - "bin": { - "conc": "dist/bin/concurrently.js", - "concurrently": "dist/bin/concurrently.js" - }, "engines": { - "node": "^12.20.0 || ^14.13.0 || >=16.0.0" + "node": ">=12" }, "funding": { - "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/convert-source-map": { - "version": "1.9.0", - "dev": true, - "license": "MIT" - }, - "packages/core/node_modules/cosmiconfig": { - "version": "7.1.0", + "packages/core/node_modules/supports-color": { + "version": "8.1.1", "dev": true, "license": "MIT", "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" + "has-flag": "^4.0.0" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "packages/core/node_modules/emoji-regex": { - "version": "10.3.0", - "dev": true, - "license": "MIT" - }, - "packages/core/node_modules/eslint": { - "version": "8.57.0", + "packages/core/node_modules/table-layout": { + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" + "array-back": "^4.0.1", + "deep-extend": "~0.6.0", + "typical": "^5.2.0", + "wordwrapjs": "^4.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8.0.0" + } + }, + "packages/core/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/eslint-plugin-lit-a11y": { - "version": "2.4.1", + "packages/core/node_modules/typedoc": { + "version": "0.23.28", "dev": true, - "license": "ISC", + "license": "Apache-2.0", "dependencies": { - "aria-query": "^5.1.3", - "axe-core": "^4.3.3", - "axobject-query": "^2.2.0", - "dom5": "^3.0.1", - "emoji-regex": "^10.2.1", - "eslint-plugin-lit": "^1.6.0", - "eslint-rule-extender": "0.0.1", - "language-tags": "^1.0.5", - "parse5": "^7.1.2", - "parse5-htmlparser2-tree-adapter": "^6.0.1", - "requireindex": "~1.2.0" + "lunr": "^2.3.9", + "marked": "^4.2.12", + "minimatch": "^7.1.3", + "shiki": "^0.14.1" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 14.14" }, "peerDependencies": { - "eslint": ">= 5" + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x" } }, - "packages/core/node_modules/eslint-utils": { - "version": "2.1.0", + "packages/core/node_modules/typedoc/node_modules/minimatch": { + "version": "7.4.6", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "eslint-visitor-keys": "^1.1.0" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=6" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/mysticatea" + "url": "https://github.com/sponsors/isaacs" } }, - "packages/core/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "1.3.0", + "packages/core/node_modules/typescript": { + "version": "4.9.5", "dev": true, "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, "engines": { - "node": ">=4" + "node": ">=4.2.0" } }, - "packages/core/node_modules/eslint/node_modules/@eslint/eslintrc": { - "version": "2.1.4", + "packages/core/node_modules/typical": { + "version": "5.2.0", "dev": true, "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": ">=8" } }, - "packages/core/node_modules/eslint/node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", + "packages/core/node_modules/vscode-textmate": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "packages/core/node_modules/wordwrapjs": { + "version": "4.0.1", "dev": true, - "license": "Apache-2.0", + "license": "MIT", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" + "reduce-flatten": "^2.0.0", + "typical": "^5.2.0" }, "engines": { - "node": ">=10.10.0" + "node": ">=8.0.0" } }, - "packages/core/node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.2", + "packages/core/node_modules/wrap-ansi": { + "version": "8.1.0", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=12" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "packages/core/node_modules/eslint/node_modules/eslint-visitor-keys": { - "version": "3.4.3", + "packages/core/node_modules/wrap-ansi/node_modules/string-width": { + "version": "5.1.2", "dev": true, - "license": "Apache-2.0", + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=12" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core/node_modules/eslint/node_modules/espree": { - "version": "9.6.1", + "packages/core/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "ansi-regex": "^6.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=12" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "packages/core/node_modules/eslint/node_modules/glob-parent": { - "version": "6.0.2", + "packages/core/node_modules/yargs": { + "version": "17.7.2", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "is-glob": "^4.0.3" + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" }, "engines": { - "node": ">=10.13.0" + "node": ">=12" } }, - "packages/core/node_modules/estraverse": { - "version": "5.3.0", + "packages/core/node_modules/yargs-parser": { + "version": "21.1.1", "dev": true, - "license": "BSD-2-Clause", + "license": "ISC", "engines": { - "node": ">=4.0" + "node": ">=12" } }, - "packages/core/node_modules/eventemitter3": { - "version": "5.0.1", - "dev": true, - "license": "MIT" + "packages/distribution": { + "name": "@openscd/distribution", + "version": "0.0.1", + "license": "Apache-2.0", + "dependencies": { + "@openscd/addons": "*", + "@openscd/open-scd": "*", + "@openscd/plugins": "*" + }, + "devDependencies": { + "@commitlint/cli": "^13.1.0", + "@commitlint/config-conventional": "^13.1.0", + "@open-wc/eslint-config": "^4.3.0", + "@open-wc/semantic-dom-diff": "^0.19.5", + "@open-wc/testing": "^2.5.33", + "@snowpack/plugin-typescript": "^1.2.1", + "@types/marked": "^2.0.4", + "@types/node": "^16.6.1", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", + "@web/dev-server-esbuild": "^0.2.16", + "@web/test-runner": "^0.13.22", + "concurrently": "^6.2.1", + "deepmerge": "^4.2.2", + "es-dev-server": "^2.1.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-babel": "^5.3.1", + "eslint-plugin-tsdoc": "^0.2.16", + "fast-check": "^2.19.0", + "husky": "^7.0.1", + "lint-staged": "^11.1.2", + "prettier": "^2.3.2", + "sinon": "^17.0.1", + "snowpack": "3.1.0", + "source-map": "^0.7.4", + "standard-version": "^9.3.1", + "tslib": "^2.3.1", + "typedoc": "^0.21.10", + "typedoc-plugin-markdown": "3.10.4", + "typescript": "4.3.5", + "web-component-analyzer": "^1.1.6", + "workbox-cli": "^6.2.4" + } }, - "packages/core/node_modules/execa": { - "version": "7.2.0", + "packages/distribution/node_modules/typedoc": { + "version": "0.21.10", "dev": true, - "license": "MIT", + "license": "Apache-2.0", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" + "glob": "^7.1.7", + "handlebars": "^4.7.7", + "lunr": "^2.3.9", + "marked": "^4.0.10", + "minimatch": "^3.0.0", + "progress": "^2.0.3", + "shiki": "^0.9.8", + "typedoc-default-themes": "^0.12.10" + }, + "bin": { + "typedoc": "bin/typedoc" }, "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" + "node": ">= 12.10.0" }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "peerDependencies": { + "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x" } }, - "packages/core/node_modules/fast-check": { - "version": "3.18.0", + "packages/distribution/node_modules/typedoc-plugin-markdown": { + "version": "3.10.4", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ], "license": "MIT", "dependencies": { - "pure-rand": "^6.1.0" + "handlebars": "^4.7.7" }, - "engines": { - "node": ">=8.0.0" + "peerDependencies": { + "typedoc": ">=0.21.2" } }, - "packages/core/node_modules/get-stream": { - "version": "6.0.1", + "packages/distribution/node_modules/typescript": { + "version": "4.3.5", "dev": true, - "license": "MIT", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, "engines": { - "node": ">=10" + "node": ">=4.2.0" + } + }, + "packages/openscd": { + "name": "@openscd/open-scd", + "version": "0.34.0", + "license": "Apache-2.0", + "dependencies": { + "@material/mwc-dialog": "0.22.1", + "@material/mwc-drawer": "0.22.1", + "@material/mwc-fab": "0.22.1", + "@material/mwc-formfield": "0.22.1", + "@material/mwc-icon": "0.22.1", + "@material/mwc-icon-button": "0.22.1", + "@material/mwc-icon-button-toggle": "0.22.1", + "@material/mwc-linear-progress": "0.22.1", + "@material/mwc-list": "0.22.1", + "@material/mwc-menu": "0.22.1", + "@material/mwc-select": "0.22.1", + "@material/mwc-snackbar": "0.22.1", + "@material/mwc-switch": "0.22.1", + "@material/mwc-tab": "0.22.1", + "@material/mwc-tab-bar": "0.22.1", + "@material/mwc-textarea": "0.22.1", + "@material/mwc-textfield": "0.22.1", + "@material/mwc-top-app-bar-fixed": "0.22.1", + "@openscd/core": "*", + "ace-custom-element": "^1.6.5", + "lit": "^2.2.7", + "lit-translate": "^1.2.1", + "marked": "^4.0.10", + "panzoom": "^9.4.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "devDependencies": { + "@commitlint/cli": "^13.1.0", + "@commitlint/config-conventional": "^13.1.0", + "@open-wc/eslint-config": "^4.3.0", + "@open-wc/semantic-dom-diff": "^0.19.5", + "@open-wc/testing": "^2.5.33", + "@snowpack/plugin-typescript": "^1.2.1", + "@types/marked": "^2.0.4", + "@types/node": "^16.6.1", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", + "@web/dev-server-esbuild": "^1.0.2", + "@web/test-runner": "^0.13.22", + "concurrently": "^6.2.1", + "deepmerge": "^4.2.2", + "es-dev-server": "^2.1.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-babel": "^5.3.1", + "eslint-plugin-tsdoc": "^0.2.16", + "fast-check": "^2.19.0", + "husky": "^7.0.1", + "lint-staged": "^11.1.2", + "prettier": "^2.3.2", + "sinon": "^17.0.1", + "snowpack": "3.8.6", + "source-map": "^0.7.4", + "standard-version": "^9.3.1", + "tslib": "^2.3.1", + "typedoc": "^0.23.8", + "typedoc-plugin-markdown": "3.12.0", + "typescript": "^4.7.4", + "web-component-analyzer": "^1.1.6", + "workbox-cli": "^6.2.4" + } + }, + "packages/open-scd/node_modules/@npmcli/fs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", + "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", + "dev": true, + "dependencies": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" } }, - "packages/core/node_modules/globals": { - "version": "13.24.0", + "packages/open-scd/node_modules/@npmcli/git": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", + "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", "dev": true, - "license": "MIT", "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "@npmcli/promise-spawn": "^1.3.2", + "lru-cache": "^6.0.0", + "mkdirp": "^1.0.4", + "npm-pick-manifest": "^6.1.1", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^2.0.2" } }, - "packages/core/node_modules/human-signals": { - "version": "4.3.1", + "packages/open-scd/node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "license": "Apache-2.0", + "dependencies": { + "yallist": "^4.0.0" + }, "engines": { - "node": ">=14.18.0" + "node": ">=10" } }, - "packages/core/node_modules/husky": { - "version": "4.3.8", + "packages/open-scd/node_modules/@npmcli/installed-package-contents": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", + "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", "dev": true, - "hasInstallScript": true, - "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "ci-info": "^2.0.0", - "compare-versions": "^3.6.0", - "cosmiconfig": "^7.0.0", - "find-versions": "^4.0.0", - "opencollective-postinstall": "^2.0.2", - "pkg-dir": "^5.0.0", - "please-upgrade-node": "^3.2.0", - "slash": "^3.0.0", - "which-pm-runs": "^1.0.0" + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" }, "bin": { - "husky-run": "bin/run.js", - "husky-upgrade": "lib/upgrader/bin.js" + "installed-package-contents": "index.js" }, "engines": { - "node": ">=10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/husky" + "node": ">= 10" } }, - "packages/core/node_modules/is-fullwidth-code-point": { - "version": "4.0.0", + "packages/open-scd/node_modules/@npmcli/move-file": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", + "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", + "deprecated": "This functionality has been moved to @npmcli/fs", "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/core/node_modules/is-stream": { - "version": "3.0.0", - "dev": true, - "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=10" } }, - "packages/core/node_modules/lint-staged": { - "version": "13.3.0", + "packages/open-scd/node_modules/@npmcli/node-gyp": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", + "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==", + "dev": true + }, + "packages/open-scd/node_modules/@npmcli/promise-spawn": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", + "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", "dev": true, - "license": "MIT", "dependencies": { - "chalk": "5.3.0", - "commander": "11.0.0", - "debug": "4.3.4", - "execa": "7.2.0", - "lilconfig": "2.1.0", - "listr2": "6.6.1", - "micromatch": "4.0.5", - "pidtree": "0.6.0", - "string-argv": "0.3.2", - "yaml": "2.3.1" - }, - "bin": { - "lint-staged": "bin/lint-staged.js" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - }, - "funding": { - "url": "https://opencollective.com/lint-staged" + "infer-owner": "^1.0.4" } }, - "packages/core/node_modules/lint-staged/node_modules/chalk": { - "version": "5.3.0", + "packages/open-scd/node_modules/@npmcli/run-script": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz", + "integrity": "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==", "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "dependencies": { + "@npmcli/node-gyp": "^1.0.2", + "@npmcli/promise-spawn": "^1.3.2", + "node-gyp": "^7.1.0", + "read-package-json-fast": "^2.0.1" } }, - "packages/core/node_modules/lint-staged/node_modules/yaml": { - "version": "2.3.1", + "packages/open-scd/node_modules/@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", "dev": true, - "license": "ISC", "engines": { - "node": ">= 14" + "node": ">= 6" } }, - "packages/core/node_modules/listr2": { - "version": "6.6.1", + "packages/open-scd/node_modules/@web/dev-server-core": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@web/dev-server-core/-/dev-server-core-0.7.2.tgz", + "integrity": "sha512-Q/0jpF13Ipk+qGGQ+Yx/FW1TQBYazpkfgYHHo96HBE7qv4V4KKHqHglZcSUxti/zd4bToxX1cFTz8dmbTlb8JA==", "dev": true, - "license": "MIT", "dependencies": { - "cli-truncate": "^3.1.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^5.0.1", - "rfdc": "^1.3.0", - "wrap-ansi": "^8.1.0" + "@types/koa": "^2.11.6", + "@types/ws": "^7.4.0", + "@web/parse5-utils": "^2.1.0", + "chokidar": "^3.4.3", + "clone": "^2.1.2", + "es-module-lexer": "^1.0.0", + "get-stream": "^6.0.0", + "is-stream": "^2.0.0", + "isbinaryfile": "^5.0.0", + "koa": "^2.13.0", + "koa-etag": "^4.0.0", + "koa-send": "^5.0.1", + "koa-static": "^5.0.0", + "lru-cache": "^8.0.4", + "mime-types": "^2.1.27", + "parse5": "^6.0.1", + "picomatch": "^2.2.2", + "ws": "^7.4.2" }, "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "enquirer": ">= 2.3.0 < 3" - }, - "peerDependenciesMeta": { - "enquirer": { - "optional": true - } - } - }, - "packages/core/node_modules/lit-html": { - "version": "3.1.3", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@types/trusted-types": "^2.0.2" + "node": ">=18.0.0" } }, - "packages/core/node_modules/log-update": { - "version": "5.0.1", + "packages/open-scd/node_modules/@web/dev-server-esbuild": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@web/dev-server-esbuild/-/dev-server-esbuild-1.0.2.tgz", + "integrity": "sha512-ak5mKt7L0H/Fa470Ku7p9A1eI32DNyFGM83jDkJviBO8r3lM00O5hVFW1K+UIYNC5EyanLyPxTqgtIuQEyMYcQ==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-escapes": "^5.0.0", - "cli-cursor": "^4.0.0", - "slice-ansi": "^5.0.0", - "strip-ansi": "^7.0.1", - "wrap-ansi": "^8.0.1" + "@mdn/browser-compat-data": "^4.0.0", + "@web/dev-server-core": "^0.7.0", + "esbuild": "^0.19.11", + "get-tsconfig": "^4.7.2", + "parse5": "^6.0.1", + "ua-parser-js": "^1.0.33" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=18.0.0" } }, - "packages/core/node_modules/log-update/node_modules/strip-ansi": { - "version": "7.1.0", + "packages/open-scd/node_modules/@web/parse5-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@web/parse5-utils/-/parse5-utils-2.1.0.tgz", + "integrity": "sha512-GzfK5disEJ6wEjoPwx8AVNwUe9gYIiwc+x//QYxYDAFKUp4Xb1OJAGLc2l2gVrSQmtPGLKrTRcW90Hv4pEq1qA==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "@types/parse5": "^6.0.1", + "parse5": "^6.0.1" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=18.0.0" } }, - "packages/core/node_modules/mimic-fn": { - "version": "4.0.0", + "packages/open-scd/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", "dev": true, - "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "packages/core/node_modules/minimatch": { - "version": "3.1.2", + "packages/open-scd/node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "packages/open-scd/node_modules/are-we-there-yet": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", + "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", "dev": true, - "license": "ISC", "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" } }, - "packages/core/node_modules/npm-run-path": { - "version": "5.3.0", + "packages/open-scd/node_modules/brace-expansion": { + "version": "2.0.1", "dev": true, "license": "MIT", "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "balanced-match": "^1.0.0" } }, - "packages/core/node_modules/onetime": { - "version": "6.0.0", + "packages/open-scd/node_modules/builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", + "dev": true + }, + "packages/open-scd/node_modules/cacache": { + "version": "15.3.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", + "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "mimic-fn": "^4.0.0" + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 10" } }, - "packages/core/node_modules/path-key": { - "version": "4.0.0", + "packages/open-scd/node_modules/cacache/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" + "dependencies": { + "yallist": "^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=10" } }, - "packages/core/node_modules/pkg-dir": { - "version": "5.0.0", + "packages/open-scd/node_modules/cosmiconfig": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", "dev": true, - "license": "MIT", "dependencies": { - "find-up": "^5.0.0" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" }, "engines": { "node": ">=10" } }, - "packages/core/node_modules/pure-rand": { - "version": "6.1.0", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ], - "license": "MIT" + "packages/open-scd/node_modules/es-module-lexer": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.2.tgz", + "integrity": "sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==", + "dev": true }, - "packages/core/node_modules/restore-cursor": { - "version": "4.0.0", + "packages/open-scd/node_modules/esbuild": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", + "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" + } + }, + "packages/open-scd/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, - "license": "MIT", "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "packages/core/node_modules/restore-cursor/node_modules/mimic-fn": { - "version": "2.1.0", + "packages/open-scd/node_modules/gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" } }, - "packages/core/node_modules/restore-cursor/node_modules/onetime": { - "version": "5.1.2", + "packages/open-scd/node_modules/gauge/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", "dev": true, - "license": "MIT", "dependencies": { - "mimic-fn": "^2.1.0" + "ansi-regex": "^2.0.0" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "packages/core/node_modules/rxjs": { - "version": "7.8.1", + "packages/open-scd/node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", "dev": true, - "license": "Apache-2.0", "dependencies": { - "tslib": "^2.1.0" + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" } }, - "packages/core/node_modules/shiki": { - "version": "0.14.7", + "packages/open-scd/node_modules/ignore-walk": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", + "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" + "minimatch": "^3.0.4" } }, - "packages/core/node_modules/slice-ansi": { - "version": "5.0.0", + "packages/open-scd/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" + "number-is-nan": "^1.0.0" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" + "node": ">=0.10.0" } }, - "packages/core/node_modules/sprintf-js": { - "version": "1.0.3", - "dev": true, - "license": "BSD-3-Clause" + "packages/open-scd/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true }, - "packages/core/node_modules/string-argv": { - "version": "0.3.2", + "packages/open-scd/node_modules/jsonschema": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.11.tgz", + "integrity": "sha512-XNZHs3N1IOa3lPKm//npxMhOdaoPw+MvEV0NIgxcER83GTJcG13rehtWmpBCfEt8DrtYwIkMTs8bdXoYs4fvnQ==", "dev": true, - "license": "MIT", "engines": { - "node": ">=0.6.19" + "node": "*" } }, - "packages/core/node_modules/strip-final-newline": { - "version": "3.0.0", + "packages/open-scd/node_modules/lru-cache": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", + "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", "dev": true, - "license": "MIT", "engines": { - "node": ">=12" + "node": ">=16.14" + } + }, + "packages/open-scd/node_modules/make-fetch-happen": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">= 10" } }, - "packages/core/node_modules/supports-color": { - "version": "8.1.1", + "packages/open-scd/node_modules/make-fetch-happen/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "license": "MIT", "dependencies": { - "has-flag": "^4.0.0" + "yallist": "^4.0.0" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "packages/core/node_modules/table-layout": { - "version": "1.0.2", + "packages/open-scd/node_modules/minipass-fetch": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", + "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", "dev": true, - "license": "MIT", "dependencies": { - "array-back": "^4.0.1", - "deep-extend": "~0.6.0", - "typical": "^5.2.0", - "wordwrapjs": "^4.0.0" + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=8" + }, + "optionalDependencies": { + "encoding": "^0.1.12" } }, - "packages/core/node_modules/type-fest": { - "version": "0.20.2", + "packages/open-scd/node_modules/node-gyp": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", + "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" + "dependencies": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "nopt": "^5.0.0", + "npmlog": "^4.1.2", + "request": "^2.88.2", + "rimraf": "^3.0.2", + "semver": "^7.3.2", + "tar": "^6.0.2", + "which": "^2.0.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": ">= 10.12.0" } }, - "packages/core/node_modules/typedoc": { - "version": "0.23.28", + "packages/open-scd/node_modules/nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", "dev": true, - "license": "Apache-2.0", "dependencies": { - "lunr": "^2.3.9", - "marked": "^4.2.12", - "minimatch": "^7.1.3", - "shiki": "^0.14.1" + "abbrev": "1" }, "bin": { - "typedoc": "bin/typedoc" + "nopt": "bin/nopt.js" }, "engines": { - "node": ">= 14.14" + "node": ">=6" + } + }, + "packages/open-scd/node_modules/npm-install-checks": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", + "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", + "dev": true, + "dependencies": { + "semver": "^7.1.1" }, - "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x" + "engines": { + "node": ">=10" } }, - "packages/core/node_modules/typedoc/node_modules/brace-expansion": { - "version": "2.0.1", + "packages/open-scd/node_modules/npm-package-arg": { + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", + "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", "dev": true, - "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "hosted-git-info": "^4.0.1", + "semver": "^7.3.4", + "validate-npm-package-name": "^3.0.0" + }, + "engines": { + "node": ">=10" } }, - "packages/core/node_modules/typedoc/node_modules/minimatch": { - "version": "7.4.6", + "packages/open-scd/node_modules/npm-packlist": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", + "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", "dev": true, - "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "glob": "^7.1.6", + "ignore-walk": "^3.0.3", + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "npm-packlist": "bin/index.js" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" } }, - "packages/core/node_modules/typescript": { - "version": "4.9.5", + "packages/open-scd/node_modules/npm-pick-manifest": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", + "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" + "dependencies": { + "npm-install-checks": "^4.0.0", + "npm-normalize-package-bin": "^1.0.1", + "npm-package-arg": "^8.1.2", + "semver": "^7.3.4" } }, - "packages/core/node_modules/typical": { - "version": "5.2.0", + "packages/open-scd/node_modules/npm-registry-fetch": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", + "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", "dev": true, - "license": "MIT", + "dependencies": { + "make-fetch-happen": "^9.0.1", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" + }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "packages/core/node_modules/vscode-textmate": { - "version": "8.0.0", + "packages/open-scd/node_modules/npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "dev": true, - "license": "MIT" + "dependencies": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } }, - "packages/core/node_modules/wordwrapjs": { - "version": "4.0.1", + "packages/open-scd/node_modules/pacote": { + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz", + "integrity": "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==", "dev": true, - "license": "MIT", "dependencies": { - "reduce-flatten": "^2.0.0", - "typical": "^5.2.0" + "@npmcli/git": "^2.1.0", + "@npmcli/installed-package-contents": "^1.0.6", + "@npmcli/promise-spawn": "^1.2.0", + "@npmcli/run-script": "^1.8.2", + "cacache": "^15.0.5", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "infer-owner": "^1.0.4", + "minipass": "^3.1.3", + "mkdirp": "^1.0.3", + "npm-package-arg": "^8.0.1", + "npm-packlist": "^2.1.4", + "npm-pick-manifest": "^6.0.0", + "npm-registry-fetch": "^11.0.0", + "promise-retry": "^2.0.1", + "read-package-json-fast": "^2.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.1.0" + }, + "bin": { + "pacote": "lib/bin.js" }, "engines": { - "node": ">=8.0.0" + "node": ">=10" } }, - "packages/core/node_modules/wrap-ansi": { - "version": "8.1.0", + "packages/open-scd/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "packages/open-scd/node_modules/read-package-json-fast": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", + "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" + "json-parse-even-better-errors": "^2.3.0", + "npm-normalize-package-bin": "^1.0.1" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "node": ">=10" } }, - "packages/core/node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "9.2.2", - "dev": true, - "license": "MIT" - }, - "packages/core/node_modules/wrap-ansi/node_modules/string-width": { - "version": "5.1.2", + "packages/open-scd/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, - "license": "MIT", "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, - "packages/core/node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.1.0", + "packages/open-scd/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "glob": "^7.1.3" }, - "engines": { - "node": ">=12" + "bin": { + "rimraf": "bin.js" }, "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "url": "https://github.com/sponsors/isaacs" } }, - "packages/core/node_modules/yargs": { - "version": "17.7.2", + "packages/open-scd/node_modules/rollup": { + "version": "2.37.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.37.1.tgz", + "integrity": "sha512-V3ojEeyGeSdrMSuhP3diBb06P+qV4gKQeanbDv+Qh/BZbhdZ7kHV0xAt8Yjk4GFshq/WjO7R4c7DFM20AwTFVQ==", "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "bin": { + "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=12" + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.1.2" } }, - "packages/core/node_modules/yargs-parser": { - "version": "21.1.1", + "packages/open-scd/node_modules/rollup/node_modules/fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "deprecated": "\"Please update to latest v2.3 or v2.2\"", "dev": true, - "license": "ISC", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=12" + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "packages/distribution": { - "name": "@openscd/distribution", - "version": "0.0.1", - "license": "Apache-2.0", + "packages/open-scd/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "packages/open-scd/node_modules/shiki": { + "version": "0.14.7", + "dev": true, + "license": "MIT", "dependencies": { - "@openscd/addons": "*", - "@openscd/open-scd": "*", - "@openscd/plugins": "*" - }, - "devDependencies": { - "@commitlint/cli": "^13.1.0", - "@commitlint/config-conventional": "^13.1.0", - "@open-wc/eslint-config": "^4.3.0", - "@open-wc/semantic-dom-diff": "^0.19.5", - "@open-wc/testing": "^2.5.33", - "@snowpack/plugin-typescript": "^1.2.1", - "@types/marked": "^2.0.4", - "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", - "@web/dev-server-esbuild": "^0.2.16", - "@web/test-runner": "^0.13.22", - "concurrently": "^6.2.1", - "deepmerge": "^4.2.2", - "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", - "fast-check": "^2.19.0", - "husky": "^7.0.1", - "lint-staged": "^11.1.2", - "prettier": "^2.3.2", - "sinon": "^17.0.1", - "snowpack": "3.8.6", - "source-map": "^0.7.4", - "standard-version": "^9.3.1", - "tslib": "^2.3.1", - "typedoc": "^0.21.10", - "typedoc-plugin-markdown": "3.10.4", - "typescript": "4.3.5", - "web-component-analyzer": "^1.1.6", - "workbox-cli": "^6.2.4" + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" } }, - "packages/distribution/node_modules/typedoc": { - "version": "0.21.10", + "packages/open-scd/node_modules/snowpack": { + "version": "3.8.6", + "resolved": "https://registry.npmjs.org/snowpack/-/snowpack-3.8.6.tgz", + "integrity": "sha512-EZ3Y7RtTiPvxnVFTKPfkvi2PKBrprXCvOHKWQQLBkHonf+xdtG51RiNjtrRLJeCjislAlD6OoeGHUxz76ToGHw==", "dev": true, - "license": "Apache-2.0", "dependencies": { + "@npmcli/arborist": "^2.6.4", + "bufferutil": "^4.0.2", + "cachedir": "^2.3.0", + "cheerio": "1.0.0-rc.10", + "chokidar": "^3.4.0", + "cli-spinners": "^2.5.0", + "compressible": "^2.0.18", + "cosmiconfig": "^7.0.0", + "deepmerge": "^4.2.2", + "default-browser-id": "^2.0.0", + "detect-port": "^1.3.0", + "es-module-lexer": "^0.3.24", + "esbuild": "~0.9.0", + "esinstall": "^1.1.7", + "estree-walker": "^2.0.2", + "etag": "^1.8.1", + "execa": "^5.1.1", + "fdir": "^5.0.0", + "find-cache-dir": "^3.3.1", + "find-up": "^5.0.0", "glob": "^7.1.7", - "handlebars": "^4.7.7", - "lunr": "^2.3.9", - "marked": "^4.0.10", - "minimatch": "^3.0.0", - "progress": "^2.0.3", - "shiki": "^0.9.8", - "typedoc-default-themes": "^0.12.10" + "httpie": "^1.1.2", + "is-plain-object": "^5.0.0", + "is-reference": "^1.2.1", + "isbinaryfile": "^4.0.6", + "jsonschema": "~1.2.5", + "kleur": "^4.1.1", + "meriyah": "^3.1.6", + "mime-types": "^2.1.26", + "mkdirp": "^1.0.3", + "npm-run-path": "^4.0.1", + "open": "^8.2.1", + "pacote": "^11.3.4", + "periscopic": "^2.0.3", + "picomatch": "^2.3.0", + "postcss": "^8.3.5", + "postcss-modules": "^4.0.0", + "resolve": "^1.20.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "rollup": "~2.37.1", + "signal-exit": "^3.0.3", + "skypack": "^0.3.2", + "slash": "~3.0.0", + "source-map": "^0.7.3", + "strip-ansi": "^6.0.0", + "strip-comments": "^2.0.1", + "utf-8-validate": "^5.0.3", + "ws": "^7.3.0", + "yargs-parser": "^20.0.0" }, "bin": { - "typedoc": "bin/typedoc" + "snowpack": "index.bin.js", + "sp": "index.bin.js" }, "engines": { - "node": ">= 12.10.0" + "node": ">=10.19.0" }, - "peerDependencies": { - "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x" + "optionalDependencies": { + "fsevents": "^2.3.2" } }, - "packages/distribution/node_modules/typedoc-plugin-markdown": { - "version": "3.10.4", + "packages/open-scd/node_modules/snowpack/node_modules/es-module-lexer": { + "version": "0.3.26", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.3.26.tgz", + "integrity": "sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA==", + "dev": true + }, + "packages/open-scd/node_modules/snowpack/node_modules/esbuild": { + "version": "0.9.7", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.9.7.tgz", + "integrity": "sha512-VtUf6aQ89VTmMLKrWHYG50uByMF4JQlVysb8dmg6cOgW8JnFCipmz7p+HNBl+RR3LLCuBxFGVauAe2wfnF9bLg==", "dev": true, - "license": "MIT", - "dependencies": { - "handlebars": "^4.7.7" + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + } + }, + "packages/open-scd/node_modules/snowpack/node_modules/isbinaryfile": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", + "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", + "dev": true, + "engines": { + "node": ">= 8.0.0" }, - "peerDependencies": { - "typedoc": ">=0.21.2" + "funding": { + "url": "https://github.com/sponsors/gjtorikian/" } }, - "packages/distribution/node_modules/typescript": { - "version": "4.3.5", + "packages/open-scd/node_modules/socks-proxy-agent": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", + "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" }, "engines": { - "node": ">=4.2.0" + "node": ">= 10" } }, - "packages/openscd": { - "name": "@openscd/open-scd", - "version": "0.34.0", - "license": "Apache-2.0", + "packages/open-scd/node_modules/ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "dev": true, "dependencies": { - "@material/mwc-dialog": "0.22.1", - "@material/mwc-drawer": "0.22.1", - "@material/mwc-fab": "0.22.1", - "@material/mwc-formfield": "0.22.1", - "@material/mwc-icon": "0.22.1", - "@material/mwc-icon-button": "0.22.1", - "@material/mwc-icon-button-toggle": "0.22.1", - "@material/mwc-linear-progress": "0.22.1", - "@material/mwc-list": "0.22.1", - "@material/mwc-menu": "0.22.1", - "@material/mwc-select": "0.22.1", - "@material/mwc-snackbar": "0.22.1", - "@material/mwc-switch": "0.22.1", - "@material/mwc-tab": "0.22.1", - "@material/mwc-tab-bar": "0.22.1", - "@material/mwc-textarea": "0.22.1", - "@material/mwc-textfield": "0.22.1", - "@material/mwc-top-app-bar-fixed": "0.22.1", - "@openscd/core": "*", - "ace-custom-element": "^1.6.5", - "lit": "^2.2.7", - "lit-translate": "^1.2.1", - "marked": "^4.0.10", - "panzoom": "^9.4.2" + "minipass": "^3.1.1" }, - "devDependencies": { - "@commitlint/cli": "^13.1.0", - "@commitlint/config-conventional": "^13.1.0", - "@open-wc/eslint-config": "^4.3.0", - "@open-wc/semantic-dom-diff": "^0.19.5", - "@open-wc/testing": "^2.5.33", - "@snowpack/plugin-typescript": "^1.2.1", - "@types/marked": "^2.0.4", - "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", - "@web/dev-server-esbuild": "^0.2.16", - "@web/test-runner": "^0.13.22", - "concurrently": "^6.2.1", - "deepmerge": "^4.2.2", - "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", - "fast-check": "^2.19.0", - "husky": "^7.0.1", - "lint-staged": "^11.1.2", - "prettier": "^2.3.2", - "sinon": "^17.0.1", - "snowpack": "3.8.6", - "source-map": "^0.7.4", - "standard-version": "^9.3.1", - "tslib": "^2.3.1", - "typedoc": "^0.23.8", - "typedoc-plugin-markdown": "3.12.0", - "typescript": "^4.7.4", - "web-component-analyzer": "^1.1.6", - "workbox-cli": "^6.2.4" + "engines": { + "node": ">= 8" } }, - "packages/openscd/node_modules/brace-expansion": { - "version": "2.0.1", + "packages/open-scd/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, - "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "safe-buffer": "~5.1.0" } }, - "packages/openscd/node_modules/minimatch": { - "version": "7.4.6", + "packages/open-scd/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", "dev": true, - "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=0.10.0" } }, - "packages/openscd/node_modules/shiki": { - "version": "0.14.7", + "packages/open-scd/node_modules/string-width/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", "dev": true, - "license": "MIT", "dependencies": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "packages/openscd/node_modules/typedoc": { + "packages/open-scd/node_modules/typedoc": { "version": "0.23.28", "dev": true, "license": "Apache-2.0", @@ -27819,7 +28984,22 @@ "typedoc": ">=0.22.0" } }, - "packages/openscd/node_modules/typescript": { + "packages/open-scd/node_modules/typedoc/node_modules/minimatch": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.6.tgz", + "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/open-scd/node_modules/typescript": { "version": "4.9.5", "dev": true, "license": "Apache-2.0", @@ -27831,11 +29011,59 @@ "node": ">=4.2.0" } }, - "packages/openscd/node_modules/vscode-textmate": { + "packages/open-scd/node_modules/unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "packages/open-scd/node_modules/unique-slug": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", + "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, + "packages/open-scd/node_modules/validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "dev": true, + "dependencies": { + "builtins": "^1.0.3" + } + }, + "packages/open-scd/node_modules/vscode-textmate": { "version": "8.0.0", "dev": true, "license": "MIT" }, + "packages/open-scd/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/open-scd/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "packages/plugins": { "name": "@openscd/plugins", "version": "0.0.1", @@ -27868,36 +29096,93 @@ "@open-wc/eslint-config": "^4.3.0", "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", - "@snowpack/plugin-typescript": "^1.2.1", "@types/marked": "^2.0.4", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", - "@web/dev-server-esbuild": "^0.2.16", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", + "@web/dev-server-esbuild": "^1.0.2", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", + "eslint-plugin-tsdoc": "^0.2.16", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", "prettier": "^2.3.2", "sinon": "^17.0.1", - "snowpack": "3.8.6", "source-map": "^0.7.4", "standard-version": "^9.3.1", "tslib": "^2.3.1", "typedoc": "^0.23.8", "typedoc-plugin-markdown": "3.12.0", - "typescript": "^4.7.4", + "typescript": "^5.0.4", "web-component-analyzer": "^1.1.6", "workbox-cli": "^6.2.4" } }, + "packages/plugins/node_modules/@web/dev-server-core": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@web/dev-server-core/-/dev-server-core-0.7.2.tgz", + "integrity": "sha512-Q/0jpF13Ipk+qGGQ+Yx/FW1TQBYazpkfgYHHo96HBE7qv4V4KKHqHglZcSUxti/zd4bToxX1cFTz8dmbTlb8JA==", + "dev": true, + "dependencies": { + "@types/koa": "^2.11.6", + "@types/ws": "^7.4.0", + "@web/parse5-utils": "^2.1.0", + "chokidar": "^3.4.3", + "clone": "^2.1.2", + "es-module-lexer": "^1.0.0", + "get-stream": "^6.0.0", + "is-stream": "^2.0.0", + "isbinaryfile": "^5.0.0", + "koa": "^2.13.0", + "koa-etag": "^4.0.0", + "koa-send": "^5.0.1", + "koa-static": "^5.0.0", + "lru-cache": "^8.0.4", + "mime-types": "^2.1.27", + "parse5": "^6.0.1", + "picomatch": "^2.2.2", + "ws": "^7.4.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "packages/plugins/node_modules/@web/dev-server-esbuild": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@web/dev-server-esbuild/-/dev-server-esbuild-1.0.2.tgz", + "integrity": "sha512-ak5mKt7L0H/Fa470Ku7p9A1eI32DNyFGM83jDkJviBO8r3lM00O5hVFW1K+UIYNC5EyanLyPxTqgtIuQEyMYcQ==", + "dev": true, + "dependencies": { + "@mdn/browser-compat-data": "^4.0.0", + "@web/dev-server-core": "^0.7.0", + "esbuild": "^0.19.11", + "get-tsconfig": "^4.7.2", + "parse5": "^6.0.1", + "ua-parser-js": "^1.0.33" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "packages/plugins/node_modules/@web/parse5-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@web/parse5-utils/-/parse5-utils-2.1.0.tgz", + "integrity": "sha512-GzfK5disEJ6wEjoPwx8AVNwUe9gYIiwc+x//QYxYDAFKUp4Xb1OJAGLc2l2gVrSQmtPGLKrTRcW90Hv4pEq1qA==", + "dev": true, + "dependencies": { + "@types/parse5": "^6.0.1", + "parse5": "^6.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, "packages/plugins/node_modules/brace-expansion": { "version": "2.0.1", "dev": true, @@ -27906,6 +29191,59 @@ "balanced-match": "^1.0.0" } }, + "packages/plugins/node_modules/es-module-lexer": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.2.tgz", + "integrity": "sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==", + "dev": true + }, + "packages/plugins/node_modules/esbuild": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", + "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" + } + }, + "packages/plugins/node_modules/lru-cache": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", + "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", + "dev": true, + "engines": { + "node": ">=16.14" + } + }, "packages/plugins/node_modules/minimatch": { "version": "7.4.6", "dev": true, @@ -27920,6 +29258,12 @@ "url": "https://github.com/sponsors/isaacs" } }, + "packages/plugins/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, "packages/plugins/node_modules/shiki": { "version": "0.14.7", "dev": true, @@ -27963,7 +29307,9 @@ } }, "packages/plugins/node_modules/typescript": { - "version": "4.9.5", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -27971,7 +29317,7 @@ "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=12.20" } }, "packages/plugins/node_modules/vscode-textmate": { diff --git a/package.json b/package.json index 58a2a598f..ddc6fb076 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ ], "scripts": { "clean": "lerna run clean", + "clean:modules": "npm exec --workspaces -- npx rimraf node_modules && npx rimraf node_modules && npx rimraf package-lock.json", "build": "npx nx run-many -t build --all", "doc": "lerna run doc", "test": "npx nx run-many -t test --all --parallel=false", diff --git a/packages/addons/package.json b/packages/addons/package.json index 329123bf7..0b81e44e2 100644 --- a/packages/addons/package.json +++ b/packages/addons/package.json @@ -48,17 +48,17 @@ "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server-esbuild": "^0.2.16", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", diff --git a/packages/components/package.json b/packages/components/package.json index eebaebeed..403a26634 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -45,17 +45,17 @@ "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server-esbuild": "^0.2.16", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", diff --git a/packages/core/foundation/scl.ts b/packages/core/foundation/scl.ts new file mode 100644 index 000000000..5cf5436e7 --- /dev/null +++ b/packages/core/foundation/scl.ts @@ -0,0 +1,2369 @@ +/** @returns a reference to `element` with segments delimited by '/'. */ +// TODO(c-dinkel): replace with identity (FIXME) +export function referencePath(element: Element): string { + let path = ''; + let nextParent: Element | null = element.parentElement; + while (nextParent?.getAttribute('name')) { + path = '/' + nextParent.getAttribute('name') + path; + nextParent = nextParent.parentElement; + } + return path; + } + + export type SclEdition = '2003' | '2007B' | '2007B4'; + export function getSclSchemaVersion(doc: Document): SclEdition { + const scl: Element = doc.documentElement; + const edition = + (scl.getAttribute('version') ?? '2003') + + (scl.getAttribute('revision') ?? '') + + (scl.getAttribute('release') ?? ''); + return edition; + } + + /** + * Extract the 'name' attribute from the given XML element. + * @param element - The element to extract name from. + * @returns the name, or undefined if there is no name. + */ + export function getNameAttribute(element: Element): string | undefined { + const name = element.getAttribute('name'); + return name ? name : undefined; + } + + /** + * Extract the 'ldName' attribute from the given XML element. + * @param element - The element to extract ldName from. + * @returns the ldName, or undefined if there is no ldName. + */ + export function getLdNameAttribute(element: Element): string | undefined { + const name = element.getAttribute('ldName'); + return name ? name : undefined; + } + + /** + * Extract the 'desc' attribute from the given XML element. + * @param element - The element to extract description from. + * @returns the name, or undefined if there is no description. + */ + export function getDescriptionAttribute(element: Element): string | undefined { + const name = element.getAttribute('desc'); + return name ? name : undefined; + } + + /** + * Extract the 'pathName' attribute from the given XML element. + * @param element - The element to extract path name from. + * @returns the name, or undefined if there is no path name. + */ + export function getPathNameAttribute(element: Element): string | undefined { + const name = element.getAttribute('pathName'); + return name ? name : undefined; + } + + /** + * Extract the 'inst' attribute from the given XML element. + * @param element - The element to extract instance from. + * @returns the instance, or undefined if there is no instance. + */ + export function getInstanceAttribute(element: Element): string | undefined { + const inst = element.getAttribute('inst'); + return inst ? inst : undefined; + } + + export function pathParts(identity: string): [string, string] { + const path = identity.split('>'); + const end = path.pop() ?? ''; + const start = path.join('>'); + return [start, end]; + } + + const voidSelector = ':not(*)'; + + function hitemIdentity(e: Element): string { + return `${e.getAttribute('version')}\t${e.getAttribute('revision')}`; + } + + function hitemSelector(tagName: SCLTag, identity: string): string { + const [version, revision] = identity.split('\t'); + + if (!version || !revision) return voidSelector; + + return `${tagName}[version="${version}"][revision="${revision}"]`; + } + + function terminalIdentity(e: Element): string { + return identity(e.parentElement) + '>' + e.getAttribute('connectivityNode'); + } + + function terminalSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, connectivityNode] = pathParts(identity); + + const parentSelectors = tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ); + + return crossProduct( + parentSelectors, + ['>'], + [`${tagName}[connectivityNode="${connectivityNode}"]`] + ) + .map(strings => strings.join('')) + .join(','); + } + + function lNodeIdentity(e: Element): string { + const [iedName, ldInst, prefix, lnClass, lnInst, lnType] = [ + 'iedName', + 'ldInst', + 'prefix', + 'lnClass', + 'lnInst', + 'lnType', + ].map(name => e.getAttribute(name)); + if (iedName === 'None') + return `${identity(e.parentElement)}>(${lnClass} ${lnType})`; + return `${iedName} ${ldInst || '(Client)'}/${prefix ?? ''} ${lnClass} ${ + lnInst ?? '' + }`; + } + + function lNodeSelector(tagName: SCLTag, identity: string): string { + if (identity.endsWith(')')) { + const [parentIdentity, childIdentity] = pathParts(identity); + const [lnClass, lnType] = childIdentity + .substring(1, childIdentity.length - 1) + .split(' '); + + if (!lnClass || !lnType) return voidSelector; + + const parentSelectors = tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ); + + return crossProduct( + parentSelectors, + ['>'], + [`${tagName}[iedName="None"][lnClass="${lnClass}"][lnType="${lnType}"]`] + ) + .map(strings => strings.join('')) + .join(','); + } + + const [iedName, ldInst, prefix, lnClass, lnInst] = identity.split(/[ /]/); + + if (!iedName || !ldInst || !lnClass) return voidSelector; + + const [ + iedNameSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + ] = [ + [`[iedName="${iedName}"]`], + ldInst === '(Client)' + ? [':not([ldInst])', '[ldInst=""]'] + : [`[ldInst="${ldInst}"]`], + prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], + [`[lnClass="${lnClass}"]`], + lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], + ]; + + return crossProduct( + [tagName], + iedNameSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function kDCIdentity(e: Element): string { + return `${identity(e.parentElement)}>${e.getAttribute( + 'iedName' + )} ${e.getAttribute('apName')}`; + } + + function kDCSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + const [iedName, apName] = childIdentity.split(' '); + return `${selector( + 'IED', + parentIdentity + )}>${tagName}[iedName="${iedName}"][apName="${apName}"]`; + } + + function associationIdentity(e: Element): string { + return `${identity(e.parentElement)}>${ + e.getAttribute('associationID') ?? '' + }`; + } + + function associationSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, associationID] = pathParts(identity); + + if (!associationID) return voidSelector; + + return `${selector( + 'Server', + parentIdentity + )}>${tagName}[associationID="${associationID}"]`; + } + + function lDeviceIdentity(e: Element): string { + return `${identity(e.closest('IED')!)}>>${e.getAttribute('inst')}`; + } + + function lDeviceSelector(tagName: SCLTag, identity: string): string { + const [iedName, inst] = identity.split('>>'); + + if (!inst) return voidSelector; + + return `IED[name="${iedName}"] ${tagName}[inst="${inst}"]`; + } + + function iEDNameIdentity(e: Element): string { + const iedName = e.textContent; + const [apRef, ldInst, prefix, lnClass, lnInst] = [ + 'apRef', + 'ldInst', + 'prefix', + 'lnClass', + 'lnInst', + ].map(name => e.getAttribute(name)); + return `${identity(e.parentElement)}>${iedName} ${apRef ? apRef : ''} ${ + ldInst ? ldInst : '' + }/${prefix ?? ''} ${lnClass ?? ''} ${lnInst ?? ''}`; + } + + function iEDNameSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const [iedName, apRef, ldInst, prefix, lnClass, lnInst] = + childIdentity.split(/[ /]/); + + const [ + parentSelectors, + apRefSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + ] = [ + tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ), + [`${iedName}`], + apRef ? [`[apRef="${apRef}"]`] : [':not([apRef])', '[apRef=""]'], + ldInst ? [`[ldInst="${ldInst}"]`] : [':not([ldInst])', '[ldInst=""]'], + prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], + [`[lnClass="${lnClass}"]`], + lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + apRefSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function fCDAIdentity(e: Element): string { + const [ldInst, prefix, lnClass, lnInst, doName, daName, fc, ix] = [ + 'ldInst', + 'prefix', + 'lnClass', + 'lnInst', + 'doName', + 'daName', + 'fc', + 'ix', + ].map(name => e.getAttribute(name)); + const dataPath = `${ldInst}/${prefix ?? ''} ${lnClass} ${ + lnInst ?? '' + }.${doName} ${daName ? daName : ''}`; + return `${identity(e.parentElement)}>${dataPath} (${fc}${ + ix ? ' [' + ix + ']' : '' + })`; + } + + function fCDASelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const [ldInst, prefix, lnClass, lnInst] = childIdentity.split(/[ /.]/); + + const matchDoDa = childIdentity.match( + /.([A-Z][A-Za-z0-9.]*) ([A-Za-z0-9.]*) \(/ + ); + const doName = matchDoDa && matchDoDa[1] ? matchDoDa[1] : ''; + const daName = matchDoDa && matchDoDa[2] ? matchDoDa[2] : ''; + + const matchFx = childIdentity.match(/\(([A-Z]{2})/); + const matchIx = childIdentity.match(/ \[([0-9]{1,2})\]/); + + const fc = matchFx && matchFx[1] ? matchFx[1] : ''; + const ix = matchIx && matchIx[1] ? matchIx[1] : ''; + + const [ + parentSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + doNameSelectors, + daNameSelectors, + fcSelectors, + ixSelectors, + ] = [ + tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ), + [`[ldInst="${ldInst}"]`], + prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], + [`[lnClass="${lnClass}"]`], + lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], + [`[doName="${doName}"]`], + daName ? [`[daName="${daName}"]`] : [':not([daName])', '[daName=""]'], + [`[fc="${fc}"]`], + ix ? [`[ix="${ix}"]`] : [':not([ix])', '[ix=""]'], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + doNameSelectors, + daNameSelectors, + fcSelectors, + ixSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function extRefIdentity(e: Element): string | number { + if (!e.parentElement) return NaN; + const parentIdentity = identity(e.parentElement); + const iedName = e.getAttribute('iedName'); + const intAddr = e.getAttribute('intAddr'); + const intAddrIndex = Array.from( + e.parentElement.querySelectorAll(`ExtRef[intAddr="${intAddr}"]`) + ).indexOf(e); + if (intAddr) return `${parentIdentity}>${intAddr}[${intAddrIndex}]`; + const [ + ldInst, + prefix, + lnClass, + lnInst, + doName, + daName, + serviceType, + srcLDInst, + srcPrefix, + srcLNClass, + srcLNInst, + srcCBName, + ] = [ + 'ldInst', + 'prefix', + 'lnClass', + 'lnInst', + 'doName', + 'daName', + 'serviceType', + 'srcLDInst', + 'srcPrefix', + 'srcLNClass', + 'srcLNInst', + 'srcCBName', + ].map(name => e.getAttribute(name)); + + const cbPath = srcCBName + ? `${serviceType}:${srcCBName} ${srcLDInst ?? ''}/${srcPrefix ?? ''} ${ + srcLNClass ?? '' + } ${srcLNInst ?? ''}` + : ''; + const dataPath = `${iedName} ${ldInst}/${prefix ?? ''} ${lnClass} ${ + lnInst ?? '' + } ${doName} ${daName ? daName : ''}`; + return `${parentIdentity}>${cbPath ? cbPath + ' ' : ''}${dataPath}${ + intAddr ? '@' + `${intAddr}` : '' + }`; + } + + function extRefSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const parentSelectors = tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ); + + if (childIdentity.endsWith(']')) { + const [intAddr] = childIdentity.split('['); + const intAddrSelectors = [`[intAddr="${intAddr}"]`]; + + return crossProduct(parentSelectors, ['>'], [tagName], intAddrSelectors) + .map(strings => strings.join('')) + .join(','); + } + + let iedName, + ldInst, + prefix, + lnClass, + lnInst, + doName, + daName, + serviceType, + srcCBName, + srcLDInst, + srcPrefix, + srcLNClass, + srcLNInst, + intAddr; + + if (!childIdentity.includes(':') && !childIdentity.includes('@')) { + [iedName, ldInst, prefix, lnClass, lnInst, doName, daName] = + childIdentity.split(/[ /]/); + } else if (childIdentity.includes(':') && !childIdentity.includes('@')) { + [ + serviceType, + srcCBName, + srcLDInst, + srcPrefix, + srcLNClass, + srcLNInst, + iedName, + ldInst, + prefix, + lnClass, + lnInst, + doName, + daName, + ] = childIdentity.split(/[ /:]/); + } else if (!childIdentity.includes(':') && childIdentity.includes('@')) { + [iedName, ldInst, prefix, lnClass, lnInst, doName, daName, intAddr] = + childIdentity.split(/[ /@]/); + } else { + [ + serviceType, + srcCBName, + srcLDInst, + srcPrefix, + srcLNClass, + srcLNInst, + iedName, + ldInst, + prefix, + lnClass, + lnInst, + doName, + daName, + intAddr, + ] = childIdentity.split(/[ /:@]/); + } + + const [ + iedNameSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + doNameSelectors, + daNameSelectors, + serviceTypeSelectors, + srcCBNameSelectors, + srcLDInstSelectors, + srcPrefixSelectors, + srcLNClassSelectors, + srcLNInstSelectors, + intAddrSelectors, + ] = [ + iedName ? [`[iedName="${iedName}"]`] : [':not([iedName])'], + ldInst ? [`[ldInst="${ldInst}"]`] : [':not([ldInst])', '[ldInst=""]'], + prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], + lnClass ? [`[lnClass="${lnClass}"]`] : [':not([lnClass])'], + lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], + doName ? [`[doName="${doName}"]`] : [':not([doName])'], + daName ? [`[daName="${daName}"]`] : [':not([daName])', '[daName=""]'], + serviceType + ? [`[serviceType="${serviceType}"]`] + : [':not([serviceType])', '[serviceType=""]'], + srcCBName + ? [`[srcCBName="${srcCBName}"]`] + : [':not([srcCBName])', '[srcCBName=""]'], + srcLDInst + ? [`[srcLDInst="${srcLDInst}"]`] + : [':not([srcLDInst])', '[srcLDInst=""]'], + srcPrefix + ? [`[srcPrefix="${srcPrefix}"]`] + : [':not([srcPrefix])', '[srcPrefix=""]'], + srcLNClass + ? [`[srcLNClass="${srcLNClass}"]`] + : [':not([srcLNClass])', '[srcLNClass=""]'], + srcLNInst + ? [`[srcLNInst="${srcLNInst}"]`] + : [':not([srcLNInst])', '[srcLNInst=""]'], + intAddr ? [`[intAddr="${intAddr}"]`] : [':not([intAddr])', '[intAddr=""]'], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + iedNameSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + doNameSelectors, + daNameSelectors, + serviceTypeSelectors, + srcCBNameSelectors, + srcLDInstSelectors, + srcPrefixSelectors, + srcLNClassSelectors, + srcLNInstSelectors, + intAddrSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function lNIdentity(e: Element): string { + const [prefix, lnClass, inst] = ['prefix', 'lnClass', 'inst'].map(name => + e.getAttribute(name) + ); + return `${identity(e.parentElement)}>${prefix ?? ''} ${lnClass} ${inst}`; + } + + function lNSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const parentSelectors = tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ); + + const [prefix, lnClass, inst] = childIdentity.split(' '); + + if (!lnClass) return voidSelector; + + const [prefixSelectors, lnClassSelectors, instSelectors] = [ + prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], + [`[lnClass="${lnClass}"]`], + [`[inst="${inst}"]`], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + prefixSelectors, + lnClassSelectors, + instSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function clientLNIdentity(e: Element): string { + const [apRef, iedName, ldInst, prefix, lnClass, lnInst] = [ + 'apRef', + 'iedName', + 'ldInst', + 'prefix', + 'lnClass', + 'lnInst', + ].map(name => e.getAttribute(name)); + return `${identity(e.parentElement)}>${iedName} ${ + apRef ? apRef : '' + } ${ldInst}/${prefix ?? ''} ${lnClass} ${lnInst}`; + } + + function clientLNSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const parentSelectors = tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ); + + const [iedName, apRef, ldInst, prefix, lnClass, lnInst] = + childIdentity.split(/[ /]/); + + const [ + iedNameSelectors, + apRefSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors, + ] = [ + iedName ? [`[iedName="${iedName}"]`] : [':not([iedName])', '[iedName=""]'], + apRef ? [`[apRef="${apRef}"]`] : [':not([apRef])', '[apRef=""]'], + ldInst ? [`[ldInst="${ldInst}"]`] : [':not([ldInst])', '[ldInst=""]'], + prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], + [`[lnClass="${lnClass}"]`], + lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + iedNameSelectors, + apRefSelectors, + ldInstSelectors, + prefixSelectors, + lnClassSelectors, + lnInstSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function ixNamingIdentity(e: Element): string { + const [name, ix] = ['name', 'ix'].map(name => e.getAttribute(name)); + return `${identity(e.parentElement)}>${name}${ix ? '[' + ix + ']' : ''}`; + } + + function ixNamingSelector( + tagName: SCLTag, + identity: string, + depth = -1 + ): string { + if (depth === -1) depth = identity.split('>').length; + + const [parentIdentity, childIdentity] = pathParts(identity); + + const [_0, name, _1, ix] = + childIdentity.match(/([^[]*)(\[([0-9]*)\])?/) ?? []; + + if (!name) return voidSelector; + + if (depth === 0) return `${tagName}[name="${name}"]`; + + const parentSelectors = tags[tagName].parents + .flatMap(parentTag => + parentTag === 'SDI' + ? ixNamingSelector(parentTag, parentIdentity, depth - 1).split(',') + : selector(parentTag, parentIdentity).split(',') + ) + .filter(selector => !selector.startsWith(voidSelector)); + + if (parentSelectors.length === 0) return voidSelector; + + const [nameSelectors, ixSelectors] = [ + [`[name="${name}"]`], + ix ? [`[ix="${ix}"]`] : ['[ix=""]', ':not([ix])'], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + nameSelectors, + ixSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function valIdentity(e: Element): string | number { + if (!e.parentElement) return NaN; + const sGroup = e.getAttribute('sGroup'); + const index = Array.from(e.parentElement.children) + .filter(child => child.getAttribute('sGroup') === sGroup) + .findIndex(child => child.isSameNode(e)); + return `${identity(e.parentElement)}>${sGroup ? sGroup + '.' : ''} ${index}`; + } + + function valSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const [sGroup, indexText] = childIdentity.split(' '); + const index = parseFloat(indexText); + + const parentSelectors = tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ); + + const [nameSelectors, ixSelectors] = [ + sGroup ? [`[sGroup="${sGroup}"]`] : [''], + index ? [`:nth-child(${index + 1})`] : [''], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + nameSelectors, + ixSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function connectedAPIdentity(e: Element): string { + const [iedName, apName] = ['iedName', 'apName'].map(name => + e.getAttribute(name) + ); + return `${iedName} ${apName}`; + } + + function connectedAPSelector(tagName: SCLTag, identity: string): string { + const [iedName, apName] = identity.split(' '); + if (!iedName || !apName) return voidSelector; + return `${tagName}[iedName="${iedName}"][apName="${apName}"]`; + } + + function controlBlockIdentity(e: Element): string { + const [ldInst, cbName] = ['ldInst', 'cbName'].map(name => + e.getAttribute(name) + ); + return `${ldInst} ${cbName}`; + } + + function controlBlockSelector(tagName: SCLTag, identity: string): string { + const [ldInst, cbName] = identity.split(' '); + + if (!ldInst || !cbName) return voidSelector; + + return `${tagName}[ldInst="${ldInst}"][cbName="${cbName}"]`; + } + + function physConnIdentity(e: Element): string | number { + if (!e.parentElement) return NaN; + if (!e.parentElement.querySelector('PhysConn[type="RedConn"]')) return NaN; + const pcType = e.getAttribute('type'); + if ( + e.parentElement.children.length > 1 && + pcType !== 'Connection' && + pcType !== 'RedConn' + ) + return NaN; + return `${identity(e.parentElement)}>${pcType}`; + } + + function physConnSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, pcType] = pathParts(identity); + + const [parentSelectors, typeSelectors] = [ + tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ), + pcType ? [`[type="${pcType}"]`] : [''], + ]; + + return crossProduct(parentSelectors, ['>'], [tagName], typeSelectors) + .map(strings => strings.join('')) + .join(','); + } + + function pIdentity(e: Element): string | number { + if (!e.parentElement) return NaN; + const eParent = e.parentElement; + const eType = e.getAttribute('type'); + if (eParent.tagName === 'PhysConn') + return `${identity(e.parentElement)}>${eType}`; + const index = Array.from(e.parentElement.children) + .filter(child => child.getAttribute('type') === eType) + .findIndex(child => child.isSameNode(e)); + return `${identity(e.parentElement)}>${eType} [${index}]`; + } + + function pSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const [type] = childIdentity.split(' '); + const index = + childIdentity && + childIdentity.match(/\[([0-9]+)\]/) && + childIdentity.match(/\[([0-9]+)\]/)![1] + ? parseFloat(childIdentity.match(/\[([0-9]+)\]/)![1]) + : NaN; + + const [parentSelectors, typeSelectors, ixSelectors] = [ + tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ), + [`[type="${type}"]`], + index ? [`:nth-child(${index + 1})`] : [''], + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + typeSelectors, + ixSelectors + ) + .map(strings => strings.join('')) + .join(','); + } + + function enumValIdentity(e: Element): string { + return `${identity(e.parentElement)}>${e.getAttribute('ord')}`; + } + + function enumValSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, ord] = pathParts(identity); + return `${selector('EnumType', parentIdentity)}>${tagName}[ord="${ord}"]`; + } + + function protNsIdentity(e: Element): string { + return `${identity(e.parentElement)}>${e.getAttribute('type') || '8-MMS'}\t${ + e.textContent + }`; + } + + function protNsSelector(tagName: SCLTag, identity: string): string { + const [parentIdentity, childIdentity] = pathParts(identity); + + const [type, value] = childIdentity.split('\t'); + + const [parentSelectors] = [ + tags[tagName].parents.flatMap(parentTag => + selector(parentTag, parentIdentity).split(',') + ), + ]; + + return crossProduct( + parentSelectors, + ['>'], + [tagName], + [`[type="${type}"]`], + ['>'], + [value] + ) + .map(strings => strings.join('')) + .join(','); + } + + function sCLIdentity(): string { + return ''; + } + + function sCLSelector(): string { + return ':root'; + } + + function namingIdentity(e: Element): string { + return e.parentElement!.tagName === 'SCL' + ? e.getAttribute('name')! + : `${identity(e.parentElement)}>${e.getAttribute('name')}`; + } + + function namingSelector(tagName: SCLTag, identity: string, depth = -1): string { + if (depth === -1) depth = identity.split('>').length; + + const [parentIdentity, name] = pathParts(identity); + if (!name) return voidSelector; + if (depth === 0) return `${tagName}[name="${name}"]`; + + const parents = tags[tagName].parents; + if (!parents) return voidSelector; + + const parentSelectors = parents + .flatMap(parentTag => + tags[parentTag].selector === tags['Substation'].selector + ? namingSelector(parentTag, parentIdentity, depth - 1).split(',') + : selector(parentTag, parentIdentity).split(',') + ) + .filter(selector => !selector.startsWith(voidSelector)); + + if (parentSelectors.length === 0) return voidSelector; + + return crossProduct(parentSelectors, ['>'], [tagName], [`[name="${name}"]`]) + .map(strings => strings.join('')) + .join(','); + } + + function singletonIdentity(e: Element): string { + return identity(e.parentElement).toString(); + } + + function singletonSelector(tagName: SCLTag, identity: string): string { + const parents = tags[tagName].parents; + if (!parents) return voidSelector; + + const parentSelectors = parents + .flatMap(parentTag => selector(parentTag, identity).split(',')) + .filter(selector => !selector.startsWith(voidSelector)); + + if (parentSelectors.length === 0) return voidSelector; + + return crossProduct(parentSelectors, ['>'], [tagName]) + .map(strings => strings.join('')) + .join(','); + } + + function idNamingIdentity(e: Element): string { + return `#${e.id}`; + } + + function idNamingSelector(tagName: SCLTag, identity: string): string { + const id = identity.replace(/^#/, ''); + + if (!id) return voidSelector; + + return `${tagName}[id="${id}"]`; + } + + type IdentityFunction = (e: Element) => string | number; + type SelectorFunction = (tagName: SCLTag, identity: string) => string; + + const tAbstractConductingEquipment = [ + 'TransformerWinding', + 'ConductingEquipment', + ] as const; + + const tEquipment = [ + 'GeneralEquipment', + 'PowerTransformer', + ...tAbstractConductingEquipment, + ] as const; + const tEquipmentContainer = ['Substation', 'VoltageLevel', 'Bay'] as const; + const tGeneralEquipmentContainer = ['Process', 'Line'] as const; + const tAbstractEqFuncSubFunc = ['EqSubFunction', 'EqFunction'] as const; + + const tPowerSystemResource = [ + 'SubFunction', + 'Function', + 'TapChanger', + 'SubEquipment', + ...tEquipment, + ...tEquipmentContainer, + ...tGeneralEquipmentContainer, + ...tAbstractEqFuncSubFunc, + ] as const; + const tLNodeContainer = ['ConnectivityNode', ...tPowerSystemResource] as const; + const tCertificate = ['GOOSESecurity', 'SMVSecurity'] as const; + const tNaming = ['SubNetwork', ...tCertificate, ...tLNodeContainer] as const; + + const tAbstractDataAttribute = ['BDA', 'DA'] as const; + const tControlWithIEDName = ['SampledValueControl', 'GSEControl'] as const; + const tControlWithTriggerOpt = ['LogControl', 'ReportControl'] as const; + const tControl = [...tControlWithIEDName, ...tControlWithTriggerOpt] as const; + const tControlBlock = ['GSE', 'SMV'] as const; + const tUnNaming = [ + 'ConnectedAP', + 'PhysConn', + 'SDO', + 'DO', + 'DAI', + 'SDI', + 'DOI', + 'Inputs', + 'RptEnabled', + 'Server', + 'ServerAt', + 'SettingControl', + 'Communication', + 'Log', + 'LDevice', + 'DataSet', + 'AccessPoint', + 'IED', + 'NeutralPoint', + ...tControl, + ...tControlBlock, + ...tAbstractDataAttribute, + ] as const; + + const tAnyLN = ['LN0', 'LN'] as const; + + const tAnyContentFromOtherNamespace = [ + 'Text', + 'Private', + 'Hitem', + 'AccessControl', + ] as const; + + const tCert = ['Subject', 'IssuerName'] as const; + const tDurationInMilliSec = ['MinTime', 'MaxTime'] as const; + + const tIDNaming = ['LNodeType', 'DOType', 'DAType', 'EnumType'] as const; + + const tServiceYesNo = [ + 'FileHandling', + 'TimeSyncProt', + 'CommProt', + 'SGEdit', + 'ConfSG', + 'GetDirectory', + 'GetDataObjectDefinition', + 'DataObjectDirectory', + 'GetDataSetValue', + 'SetDataSetValue', + 'DataSetDirectory', + 'ReadWrite', + 'TimerActivatedControl', + 'GetCBValues', + 'GSEDir', + 'ConfLdName', + ] as const; + + const tServiceWithMaxAndMaxAttributes = ['DynDataSet', 'ConfDataSet'] as const; + + const tServiceWithMax = [ + 'GSSE', + 'GOOSE', + 'ConfReportControl', + 'SMVsc', + ...tServiceWithMaxAndMaxAttributes, + ] as const; + + const tServiceWithMaxNonZero = ['ConfLogControl', 'ConfSigRef'] as const; + + const tServiceSettings = [ + 'ReportSettings', + 'LogSettings', + 'GSESettings', + 'SMVSettings', + ] as const; + + const tBaseElement = ['SCL', ...tNaming, ...tUnNaming, ...tIDNaming] as const; + + const sCLTags = [ + ...tBaseElement, + ...tAnyContentFromOtherNamespace, + 'Header', + 'LNode', + 'Val', + 'Voltage', + 'Services', + ...tCert, + ...tDurationInMilliSec, + 'Association', + 'FCDA', + 'ClientLN', + 'IEDName', + 'ExtRef', + 'Protocol', + ...tAnyLN, + ...tServiceYesNo, + 'DynAssociation', + 'SettingGroups', + ...tServiceWithMax, + ...tServiceWithMaxNonZero, + ...tServiceSettings, + 'ConfLNs', + 'ClientServices', + 'SupSubscription', + 'ValueHandling', + 'RedProt', + 'McSecurity', + 'KDC', + 'Address', + 'P', + 'ProtNs', + 'EnumVal', + 'Terminal', + 'BitRate', + 'Authentication', + 'DataTypeTemplates', + 'History', + 'OptFields', + 'SmvOpts', + 'TrgOps', + 'SamplesPerSec', + 'SmpRate', + 'SecPerSamples', + ] as const; + + export type SCLTag = (typeof sCLTags)[number]; + + const tagSet = new Set(sCLTags); + + function isSCLTag(tag: string): tag is SCLTag { + return tagSet.has(tag); + } + + const tBaseNameSequence = ['Text', 'Private'] as const; + const tNamingSequence = [...tBaseNameSequence] as const; + const tUnNamingSequence = [...tBaseNameSequence] as const; + const tIDNamingSequence = [...tBaseNameSequence] as const; + + const tAbstractDataAttributeSequence = [...tUnNamingSequence, 'Val'] as const; + const tLNodeContainerSequence = [...tNamingSequence, 'LNode'] as const; + const tPowerSystemResourceSequence = [...tLNodeContainerSequence] as const; + const tEquipmentSequence = [...tPowerSystemResourceSequence] as const; + const tEquipmentContainerSequence = [ + ...tPowerSystemResourceSequence, + 'PowerTransformer', + 'GeneralEquipment', + ] as const; + const tAbstractConductingEquipmentSequence = [ + ...tEquipmentSequence, + 'Terminal', + ] as const; + const tControlBlockSequence = [...tUnNamingSequence, 'Address'] as const; + const tControlSequence = [...tNamingSequence] as const; + const tControlWithIEDNameSequence = [...tControlSequence, 'IEDName'] as const; + const tAnyLNSequence = [ + ...tUnNamingSequence, + 'DataSet', + 'ReportControl', + 'LogControl', + 'DOI', + 'Inputs', + 'Log', + ] as const; + const tGeneralEquipmentContainerSequence = [ + ...tPowerSystemResourceSequence, + 'GeneralEquipment', + 'Function', + ] as const; + const tControlWithTriggerOptSequence = [...tControlSequence, 'TrgOps'] as const; + const tAbstractEqFuncSubFuncSequence = [ + ...tPowerSystemResourceSequence, + 'GeneralEquipment', + 'EqSubFunction', + ] as const; + + export const tags: Record< + SCLTag, + { + identity: IdentityFunction; + selector: SelectorFunction; + parents: SCLTag[]; + children: SCLTag[]; + } + > = { + AccessControl: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['LDevice'], + children: [], + }, + AccessPoint: { + identity: namingIdentity, + selector: namingSelector, + parents: ['IED'], + children: [ + ...tNamingSequence, + 'Server', + 'LN', + 'ServerAt', + 'Services', + 'GOOSESecurity', + 'SMVSecurity', + ], + }, + Address: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['ConnectedAP', 'GSE', 'SMV'], + children: ['P'], + }, + Association: { + identity: associationIdentity, + selector: associationSelector, + parents: ['Server'], + children: [], + }, + Authentication: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Server'], + children: [], + }, + BDA: { + identity: namingIdentity, + selector: namingSelector, + parents: ['DAType'], + children: [...tAbstractDataAttributeSequence], + }, + BitRate: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SubNetwork'], + children: [], + }, + Bay: { + identity: namingIdentity, + selector: namingSelector, + parents: ['VoltageLevel'], + children: [ + ...tEquipmentContainerSequence, + 'ConductingEquipment', + 'ConnectivityNode', + 'Function', + ], + }, + ClientLN: { + identity: clientLNIdentity, + selector: clientLNSelector, + parents: ['RptEnabled'], + children: [], + }, + ClientServices: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: ['TimeSyncProt', 'McSecurity'], + }, + CommProt: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + Communication: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SCL'], + children: [...tUnNamingSequence, 'SubNetwork'], + }, + ConductingEquipment: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Process', 'Line', 'SubFunction', 'Function', 'Bay'], + children: [ + ...tAbstractConductingEquipmentSequence, + 'EqFunction', + 'SubEquipment', + ], + }, + ConfDataSet: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ConfLdName: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ConfLNs: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ConfLogControl: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ConfReportControl: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ConfSG: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SettingGroups'], + children: [], + }, + ConfSigRef: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ConnectedAP: { + identity: connectedAPIdentity, + selector: connectedAPSelector, + parents: ['SubNetwork'], + children: [...tUnNamingSequence, 'Address', 'GSE', 'SMV', 'PhysConn'], + }, + ConnectivityNode: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Bay', 'Line'], + children: [...tLNodeContainerSequence], + }, + DA: { + identity: namingIdentity, + selector: namingSelector, + parents: ['DOType'], + children: [...tAbstractDataAttributeSequence], + }, + DAI: { + identity: ixNamingIdentity, + selector: ixNamingSelector, + parents: ['DOI', 'SDI'], + children: [...tUnNamingSequence, 'Val'], + }, + DAType: { + identity: idNamingIdentity, + selector: idNamingSelector, + parents: ['DataTypeTemplates'], + children: [...tIDNamingSequence, 'BDA', 'ProtNs'], + }, + DO: { + identity: namingIdentity, + selector: namingSelector, + parents: ['LNodeType'], + children: [...tUnNamingSequence], + }, + DOI: { + identity: namingIdentity, + selector: namingSelector, + parents: [...tAnyLN], + children: [...tUnNamingSequence, 'SDI', 'DAI'], + }, + DOType: { + identity: idNamingIdentity, + selector: idNamingSelector, + parents: ['DataTypeTemplates'], + children: [...tIDNamingSequence, 'SDO', 'DA'], + }, + DataObjectDirectory: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + DataSet: { + identity: namingIdentity, + selector: namingSelector, + parents: [...tAnyLN], + children: [...tNamingSequence, 'FCDA'], + }, + DataSetDirectory: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + DataTypeTemplates: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SCL'], + children: ['LNodeType', 'DOType', 'DAType', 'EnumType'], + }, + DynAssociation: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + DynDataSet: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + EnumType: { + identity: idNamingIdentity, + selector: idNamingSelector, + parents: ['DataTypeTemplates'], + children: [...tIDNamingSequence, 'EnumVal'], + }, + EnumVal: { + identity: enumValIdentity, + selector: enumValSelector, + parents: ['EnumType'], + children: [], + }, + EqFunction: { + identity: namingIdentity, + selector: namingSelector, + parents: [ + 'GeneralEquipment', + 'TapChanger', + 'TransformerWinding', + 'PowerTransformer', + 'SubEquipment', + 'ConductingEquipment', + ], + children: [...tAbstractEqFuncSubFuncSequence], + }, + EqSubFunction: { + identity: namingIdentity, + selector: namingSelector, + parents: ['EqSubFunction', 'EqFunction'], + children: [...tAbstractEqFuncSubFuncSequence], + }, + ExtRef: { + identity: extRefIdentity, + selector: extRefSelector, + parents: ['Inputs'], + children: [], + }, + FCDA: { + identity: fCDAIdentity, + selector: fCDASelector, + parents: ['DataSet'], + children: [], + }, + FileHandling: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + Function: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Bay', 'VoltageLevel', 'Substation', 'Process', 'Line'], + children: [ + ...tPowerSystemResourceSequence, + 'SubFunction', + 'GeneralEquipment', + 'ConductingEquipment', + ], + }, + GeneralEquipment: { + identity: namingIdentity, + selector: namingSelector, + parents: [ + 'SubFunction', + 'Function', + ...tGeneralEquipmentContainer, + ...tAbstractEqFuncSubFunc, + ...tEquipmentContainer, + ], + children: [...tEquipmentSequence, 'EqFunction'], + }, + GetCBValues: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GetDataObjectDefinition: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GetDataSetValue: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GetDirectory: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GOOSE: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GOOSESecurity: { + identity: namingIdentity, + selector: namingSelector, + parents: ['AccessPoint'], + children: [...tNamingSequence, 'Subject', 'IssuerName'], + }, + GSE: { + identity: controlBlockIdentity, + selector: controlBlockSelector, + parents: ['ConnectedAP'], + children: [...tControlBlockSequence, 'MinTime', 'MaxTime'], + }, + GSEDir: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GSEControl: { + identity: namingIdentity, + selector: namingSelector, + parents: ['LN0'], + children: [...tControlWithIEDNameSequence, 'Protocol'], + }, + GSESettings: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + GSSE: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + Header: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SCL'], + children: ['Text', 'History'], + }, + History: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Header'], + children: ['Hitem'], + }, + Hitem: { + identity: hitemIdentity, + selector: hitemSelector, + parents: ['History'], + children: [], + }, + IED: { + identity: namingIdentity, + selector: namingSelector, + parents: ['SCL'], + children: [...tUnNamingSequence, 'Services', 'AccessPoint', 'KDC'], + }, + IEDName: { + identity: iEDNameIdentity, + selector: iEDNameSelector, + parents: ['GSEControl', 'SampledValueControl'], + children: [], + }, + Inputs: { + identity: singletonIdentity, + selector: singletonSelector, + parents: [...tAnyLN], + children: [...tUnNamingSequence, 'ExtRef'], + }, + IssuerName: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['GOOSESecurity', 'SMVSecurity'], + children: [], + }, + KDC: { + identity: kDCIdentity, + selector: kDCSelector, + parents: ['IED'], + children: [], + }, + LDevice: { + identity: lDeviceIdentity, + selector: lDeviceSelector, + parents: ['Server'], + children: [...tUnNamingSequence, 'LN0', 'LN', 'AccessControl'], + }, + LN: { + identity: lNIdentity, + selector: lNSelector, + parents: ['AccessPoint', 'LDevice'], + children: [...tAnyLNSequence], + }, + LN0: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['LDevice'], + children: [ + ...tAnyLNSequence, + 'GSEControl', + 'SampledValueControl', + 'SettingControl', + ], + }, + LNode: { + identity: lNodeIdentity, + selector: lNodeSelector, + parents: [...tLNodeContainer], + children: [...tUnNamingSequence], + }, + LNodeType: { + identity: idNamingIdentity, + selector: idNamingSelector, + parents: ['DataTypeTemplates'], + children: [...tIDNamingSequence, 'DO'], + }, + Line: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Process', 'SCL'], + children: [ + ...tGeneralEquipmentContainerSequence, + 'Voltage', + 'ConductingEquipment', + ], + }, + Log: { + identity: namingIdentity, + selector: namingSelector, + parents: [...tAnyLN], + children: [...tUnNamingSequence], + }, + LogControl: { + identity: namingIdentity, + selector: namingSelector, + parents: [...tAnyLN], + children: [...tControlWithTriggerOptSequence], + }, + LogSettings: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + MaxTime: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['GSE'], + children: [], + }, + McSecurity: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['GSESettings', 'SMVSettings', 'ClientServices'], + children: [], + }, + MinTime: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['GSE'], + children: [], + }, + NeutralPoint: { + identity: terminalIdentity, + selector: terminalSelector, + parents: ['TransformerWinding'], + children: [...tUnNamingSequence], + }, + OptFields: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['ReportControl'], + children: [], + }, + P: { + identity: pIdentity, + selector: pSelector, + parents: ['Address', 'PhysConn'], + children: [], + }, + PhysConn: { + identity: physConnIdentity, + selector: physConnSelector, + parents: ['ConnectedAP'], + children: [...tUnNamingSequence, 'P'], + }, + PowerTransformer: { + identity: namingIdentity, + selector: namingSelector, + parents: [...tEquipmentContainer], + children: [ + ...tEquipmentSequence, + 'TransformerWinding', + 'SubEquipment', + 'EqFunction', + ], + }, + Private: { + identity: () => NaN, + selector: () => voidSelector, + parents: [], + children: [], + }, + Process: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Process', 'SCL'], + children: [ + ...tGeneralEquipmentContainerSequence, + 'ConductingEquipment', + 'Substation', + 'Line', + 'Process', + ], + }, + ProtNs: { + identity: protNsIdentity, + selector: protNsSelector, + parents: ['DAType', 'DA'], + children: [], + }, + Protocol: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['GSEControl', 'SampledValueControl'], + children: [], + }, + ReadWrite: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + RedProt: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + ReportControl: { + identity: namingIdentity, + selector: namingSelector, + parents: [...tAnyLN], + children: [...tControlWithTriggerOptSequence, 'OptFields', 'RptEnabled'], + }, + ReportSettings: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + RptEnabled: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['ReportControl'], + children: [...tUnNamingSequence, 'ClientLN'], + }, + SamplesPerSec: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SMVSettings'], + children: [], + }, + SampledValueControl: { + identity: namingIdentity, + selector: namingSelector, + parents: ['LN0'], + children: [...tControlWithIEDNameSequence, 'SmvOpts'], + }, + SecPerSamples: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SMVSettings'], + children: [], + }, + SCL: { + identity: sCLIdentity, + selector: sCLSelector, + parents: [], + children: [ + ...tBaseNameSequence, + 'Header', + 'Substation', + 'Communication', + 'IED', + 'DataTypeTemplates', + 'Line', + 'Process', + ], + }, + SDI: { + identity: ixNamingIdentity, + selector: ixNamingSelector, + parents: ['DOI', 'SDI'], + children: [...tUnNamingSequence, 'SDI', 'DAI'], + }, + SDO: { + identity: namingIdentity, + selector: namingSelector, + parents: ['DOType'], + children: [...tNamingSequence], + }, + Server: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['AccessPoint'], + children: [ + ...tUnNamingSequence, + 'Authentication', + 'LDevice', + 'Association', + ], + }, + ServerAt: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['AccessPoint'], + children: [...tUnNamingSequence], + }, + Services: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['IED', 'AccessPoint'], + children: [ + 'DynAssociation', + 'SettingGroups', + 'GetDirectory', + 'GetDataObjectDefinition', + 'DataObjectDirectory', + 'GetDataSetValue', + 'SetDataSetValue', + 'DataSetDirectory', + 'ConfDataSet', + 'DynDataSet', + 'ReadWrite', + 'TimerActivatedControl', + 'ConfReportControl', + 'GetCBValues', + 'ConfLogControl', + 'ReportSettings', + 'LogSettings', + 'GSESettings', + 'SMVSettings', + 'GSEDir', + 'GOOSE', + 'GSSE', + 'SMVsc', + 'FileHandling', + 'ConfLNs', + 'ClientServices', + 'ConfLdName', + 'SupSubscription', + 'ConfSigRef', + 'ValueHandling', + 'RedProt', + 'TimeSyncProt', + 'CommProt', + ], + }, + SetDataSetValue: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + SettingControl: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['LN0'], + children: [...tUnNamingSequence], + }, + SettingGroups: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: ['SGEdit', 'ConfSG'], + }, + SGEdit: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SettingGroups'], + children: [], + }, + SmpRate: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SMVSettings'], + children: [], + }, + SMV: { + identity: controlBlockIdentity, + selector: controlBlockSelector, + parents: ['ConnectedAP'], + children: [...tControlBlockSequence], + }, + SmvOpts: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['SampledValueControl'], + children: [], + }, + SMVsc: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + SMVSecurity: { + identity: namingIdentity, + selector: namingSelector, + parents: ['AccessPoint'], + children: [...tNamingSequence, 'Subject', 'IssuerName'], + }, + SMVSettings: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: ['SmpRate', 'SamplesPerSec', 'SecPerSamples', 'McSecurity'], + }, + SubEquipment: { + identity: namingIdentity, + selector: namingSelector, + parents: [ + 'TapChanger', + 'PowerTransformer', + 'ConductingEquipment', + 'TransformerWinding', + ...tAbstractConductingEquipment, + ], + children: [...tPowerSystemResourceSequence, 'EqFunction'], + }, + SubFunction: { + identity: namingIdentity, + selector: namingSelector, + parents: ['SubFunction', 'Function'], + children: [ + ...tPowerSystemResourceSequence, + 'GeneralEquipment', + 'ConductingEquipment', + 'SubFunction', + ], + }, + SubNetwork: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Communication'], + children: [...tNamingSequence, 'BitRate', 'ConnectedAP'], + }, + Subject: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['GOOSESecurity', 'SMVSecurity'], + children: [], + }, + Substation: { + identity: namingIdentity, + selector: namingSelector, + parents: ['SCL'], + children: [...tEquipmentContainerSequence, 'VoltageLevel', 'Function'], + }, + SupSubscription: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + TapChanger: { + identity: namingIdentity, + selector: namingSelector, + parents: ['TransformerWinding'], + children: [...tPowerSystemResourceSequence, 'SubEquipment', 'EqFunction'], + }, + Terminal: { + identity: terminalIdentity, + selector: terminalSelector, + parents: [...tEquipment], + children: [...tUnNamingSequence], + }, + Text: { + identity: singletonIdentity, + selector: singletonSelector, + parents: sCLTags.filter(tag => tag !== 'Text' && tag !== 'Private'), + children: [], + }, + TimerActivatedControl: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + TimeSyncProt: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services', 'ClientServices'], + children: [], + }, + TransformerWinding: { + identity: namingIdentity, + selector: namingSelector, + parents: ['PowerTransformer'], + children: [ + ...tAbstractConductingEquipmentSequence, + 'TapChanger', + 'NeutralPoint', + 'EqFunction', + 'SubEquipment', + ], + }, + TrgOps: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['ReportControl'], + children: [], + }, + Val: { + identity: valIdentity, + selector: valSelector, + parents: ['DAI', 'DA', 'BDA'], + children: [], + }, + ValueHandling: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['Services'], + children: [], + }, + Voltage: { + identity: singletonIdentity, + selector: singletonSelector, + parents: ['VoltageLevel'], + children: [], + }, + VoltageLevel: { + identity: namingIdentity, + selector: namingSelector, + parents: ['Substation'], + children: [...tEquipmentContainerSequence, 'Voltage', 'Bay', 'Function'], + }, + }; + + export function getReference(parent: Element, tag: SCLTag): Element | null { + const parentTag = parent.tagName; + const children = Array.from(parent.children); + + if ( + parentTag === 'Services' || + parentTag === 'SettingGroups' || + !isSCLTag(parentTag) + ) + return children.find(child => child.tagName === tag) ?? null; + + const sequence = tags[parentTag]?.children ?? []; + let index = sequence.findIndex(element => element === tag); + + if (index < 0) return null; + + let nextSibling: Element | undefined; + while (index < sequence.length && !nextSibling) { + nextSibling = children.find(child => child.tagName === sequence[index]); + index++; + } + + return nextSibling ?? null; + } + + function selector(tagName: string, identity: string | number): string { + if (typeof identity !== 'string') return voidSelector; + + if (isSCLTag(tagName)) return tags[tagName].selector(tagName, identity); + + return tagName; + } + + export function find( + root: XMLDocument | Element | DocumentFragment, + tagName: string, + identity: string | number + ): Element | null { + if (typeof identity !== 'string' || !isSCLTag(tagName)) return null; + + const element = root.querySelector(tags[tagName].selector(tagName, identity)); + + if (element === null || isPublic(element)) return element; + + return ( + Array.from( + root.querySelectorAll(tags[tagName].selector(tagName, identity)) + ).find(isPublic) ?? null + ); + } + + /** @returns a string uniquely identifying `e` in its document, or NaN if `e` + * is unidentifiable. */ + export function identity(e: Element | null): string | number { + if (e === null) return NaN; + if (e.closest('Private')) return NaN; + const tag = e.tagName; + + if (isSCLTag(tag)) return tags[tag].identity(e); + + return NaN; + } + + /** @returns whether `a` and `b` are considered identical by IEC-61850 */ + export function isSame(a: Element, b: Element): boolean { + if (a.tagName === 'Private') + return isSame(a.parentElement!, b.parentElement!) && a.isEqualNode(b); + return a.tagName === b.tagName && identity(a) === identity(b); + } + + export function isEqual(a: Element, b: Element): boolean { + if (a.closest('Private') || b.closest('Private')) return a.isEqualNode(b); + + const attributeNames = new Set( + a.getAttributeNames().concat(b.getAttributeNames()) + ); + for (const name of attributeNames) + if (a.getAttribute(name) !== b.getAttribute(name)) return false; + + if (a.childElementCount === 0) + return ( + b.childElementCount === 0 && + a.textContent?.trim() === b.textContent?.trim() + ); + + const aChildren = Array.from(a.children); + const bChildren = Array.from(b.children); + + for (const aChild of aChildren) { + const twindex = bChildren.findIndex(bChild => isEqual(aChild, bChild)); + if (twindex === -1) return false; + bChildren.splice(twindex, 1); + } + + for (const bChild of bChildren) + if (!aChildren.find(aChild => isEqual(bChild, aChild))) return false; + + return true; + } + + /** @returns a new [[`tag`]] element owned by [[`doc`]]. */ + export function createElement( + doc: Document, + tag: string, + attrs: Record + ): Element { + const element = doc.createElementNS(doc.documentElement.namespaceURI, tag); + Object.entries(attrs) + .filter(([_, value]) => value !== null) + .forEach(([name, value]) => element.setAttribute(name, value!)); + return element; + } + + /** @returns a clone of `element` with attributes set to values from `attrs`. */ + export function cloneElement( + element: Element, + attrs: Record + ): Element { + const newElement = element.cloneNode(false); + Object.entries(attrs).forEach(([name, value]) => { + if (value === null) newElement.removeAttribute(name); + else newElement.setAttribute(name, value); + }); + return newElement; + } + + const nameStartChar = + '[:_A-Za-z]|[\u00C0-\u00D6]|[\u00D8-\u00F6]|[\u00F8-\u02FF]|[\u0370-\u037D]' + + '|[\u037F-\u1FFF]|[\u200C-\u200D]|[\u2070-\u218F]|[\u2C00-\u2FEF]' + + '|[\u3001-\uD7FF]|[\uF900-\uFDCF]|[\uFDF0-\uFFFD]'; + const nameChar = + nameStartChar + '|[.0-9\\-]|\u00B7|[\u0300-\u036F]|[\u203F-\u2040]'; + const name = nameStartChar + '(' + nameChar + ')*'; + const nmToken = '(' + nameChar + ')+'; + + export const patterns = { + string: + '([\u0009-\u000A]|[\u000D]|[\u0020-\u007E]|[\u0085]|[\u00A0-\uD7FF]' + + '|[\uE000-\uFFFD])*', + normalizedString: + '([\u0020-\u007E]|[\u0085]|[\u00A0-\uD7FF]|[\uE000-\uFFFD])*', + name, + nmToken, + names: name + '( ' + name + ')*', + nmTokens: nmToken + '( ' + nmToken + ')*', + decimal: '[+\\-]?[0-9]+(([.][0-9]*)?|([.][0-9]+))', + unsigned: '[+]?[0-9]+(([.][0-9]*)?|([.][0-9]+))', + integer: '[+\\-]?[0-9]+([0-9]*)', + alphanumericFirstUpperCase: '[A-Z][0-9,A-Z,a-z]*', + alphanumericFirstLowerCase: '[a-z][0-9,A-Z,a-z]*', + lnClass: '(LLN0)|[A-Z]{4,4}', + }; + + /** Sorts selected `ListItem`s to the top and disabled ones to the bottom. */ + export function compareNames(a: Element | string, b: Element | string): number { + if (typeof a === 'string' && typeof b === 'string') return a.localeCompare(b); + + if (typeof a === 'object' && typeof b === 'string') + return (a.getAttribute('name') ?? '').localeCompare(b); + + if (typeof a === 'string' && typeof b === 'object') + return a.localeCompare(b.getAttribute('name')!); + + if (typeof a === 'object' && typeof b === 'object') + return (a.getAttribute('name') ?? '').localeCompare( + b.getAttribute('name') ?? '' + ); + + return 0; + } + + /** @returns the cartesian product of `arrays` */ + export function crossProduct(...arrays: T[][]): T[][] { + return arrays.reduce( + (a, b) => a.flatMap(d => b.map(e => [d, e].flat())), + [[]] + ); + } + + /** @returns the depth of `t` if it is an object or array, zero otherwise. */ + export function depth(t: Record, mem = new WeakSet()): number { + if (mem.has(t)) return Infinity; + else + switch (t?.constructor) { + case Object: + case Array: + mem.add(t); + return ( + 1 + + Math.max( + -1, + ...Object.values(t).map(_ => depth(>_, mem)) + ) + ); + default: + return 0; + } + } + + export function getUniqueElementName( + parent: Element, + tagName: string, + iteration = 1 + ): string { + const newName = 'new' + tagName + iteration; + const child = parent.querySelector(`:scope > ${tagName}[name="${newName}"]`); + + if (!child) return newName; + else return getUniqueElementName(parent, tagName, ++iteration); + } + + export function findFCDAs(extRef: Element): Element[] { + if (extRef.tagName !== 'ExtRef' || extRef.closest('Private')) return []; + + const [iedName, ldInst, prefix, lnClass, lnInst, doName, daName] = [ + 'iedName', + 'ldInst', + 'prefix', + 'lnClass', + 'lnInst', + 'doName', + 'daName', + ].map(name => extRef.getAttribute(name)); + const ied = Array.from(extRef.ownerDocument.getElementsByTagName('IED')).find( + element => + element.getAttribute('name') === iedName && !element.closest('Private') + ); + if (!ied) return []; + + return Array.from(ied.getElementsByTagName('FCDA')) + .filter(item => !item.closest('Private')) + .filter( + fcda => + (fcda.getAttribute('ldInst') ?? '') === (ldInst ?? '') && + (fcda.getAttribute('prefix') ?? '') === (prefix ?? '') && + (fcda.getAttribute('lnClass') ?? '') === (lnClass ?? '') && + (fcda.getAttribute('lnInst') ?? '') === (lnInst ?? '') && + (fcda.getAttribute('doName') ?? '') === (doName ?? '') && + (fcda.getAttribute('daName') ?? '') === (daName ?? '') + ); + } + + const serviceTypeControlBlockTags: Partial> = { + GOOSE: ['GSEControl'], + SMV: ['SampledValueControl'], + Report: ['ReportControl'], + NONE: ['LogControl', 'GSEControl', 'SampledValueControl', 'ReportControl'], + }; + + export function findControlBlocks(extRef: Element): Set { + const fcdas = findFCDAs(extRef); + const cbTags = + serviceTypeControlBlockTags[extRef.getAttribute('serviceType') ?? 'NONE'] ?? + []; + const controlBlocks = new Set( + fcdas.flatMap(fcda => { + const dataSet = fcda.parentElement!; + const dsName = dataSet.getAttribute('name') ?? ''; + const anyLN = dataSet.parentElement!; + return cbTags + .flatMap(tag => Array.from(anyLN.getElementsByTagName(tag))) + .filter(cb => cb.getAttribute('datSet') === dsName); + }) + ); + return controlBlocks; + } + + export function isPublic(element: Element): boolean { + return !element.closest('Private'); + } + + /** @returns the version of the SCL project */ + export function getVersion(element: Element): string { + const header = Array.from( + element.ownerDocument.getElementsByTagName('Header') + ).filter(item => !item.closest('Private')); + + return header[0].getAttribute('version') ?? '2003'; + } + + export function getChildElementsByTagName( + element: Element | null | undefined, + tag: string | null | undefined + ): Element[] { + if (!element || !tag) return []; + return Array.from(element.children).filter( + element => element.tagName === tag + ); + } + + /** maximum value for `lnInst` attribute */ + const maxLnInst = 99; + const lnInstRange = Array(maxLnInst) + .fill(1) + .map((_, i) => `${i + 1}`); + + /** + * @param parent - The LNodes' parent element to be scanned once for `lnInst` + * values already in use. Be sure to create a new generator every time the + * children of this element change. + * @returns a function generating increasing unused `lnInst` values for + * `lnClass` LNodes within `parent` on subsequent invocations + */ + export function newLnInstGenerator( + parent: Element + ): (lnClass: string) => string | undefined { + const generators = new Map string | undefined>(); + + return (lnClass: string) => { + if (!generators.has(lnClass)) { + const lnInsts = new Set( + getChildElementsByTagName(parent, 'LNode') + .filter(lnode => lnode.getAttribute('lnClass') === lnClass) + .map(lNode => lNode.getAttribute('lnInst')!) + ); + + generators.set(lnClass, () => { + const uniqueLnInst = lnInstRange.find(lnInst => !lnInsts.has(lnInst)); + if (uniqueLnInst) lnInsts.add(uniqueLnInst); + return uniqueLnInst; + }); + } + + return generators.get(lnClass)!(); + }; + } + + /** + * Format xml string in "pretty print" style and return as a string + * @param xml - xml document as a string + * @param tab - character to use as a tab + * @returns string with pretty print formatting + */ + export function formatXml(xml: string, tab?: string): string { + let formatted = '', + indent = ''; + + if (!tab) tab = '\t'; + xml.split(/>\s*\r\n'; + if (node.match(/^]*[^/]$/)) indent += tab; + }); + return formatted.substring(1, formatted.length - 3); + } + + /** + * @param lnElements - The LN elements to be scanned for `inst` + * values already in use. + * @returns first available inst value for LN or undefined if no inst is available + */ + export function minAvailableLogicalNodeInstance( + lnElements: Element[] + ): string | undefined { + const lnInsts = new Set(lnElements.map(ln => ln.getAttribute('inst') || '')); + return lnInstRange.find(lnInst => !lnInsts.has(lnInst)); + } \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index 2beef030c..8cb545be6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -24,7 +24,8 @@ "./foundation/deprecated/settings": "./dist/foundation/deprecated/settings.js", "./foundation/deprecated/validation": "./dist/foundation/deprecated/validation.js", "./foundation/deprecated/history": "./dist/foundation/deprecated/history.js", - "./foundation/deprecated/waiter": "./dist/foundation/deprecated/waiter.js" + "./foundation/deprecated/waiter": "./dist/foundation/deprecated/waiter.js", + "./foundation/scl.js": "./dist/foundation/scl.js" }, "scripts": { "clean": "rimraf .tsbuildinfo dist", @@ -47,8 +48,8 @@ "@open-wc/testing": "next", "@rollup/plugin-typescript": "^9.0.2", "@types/node": "^18.11.9", - "@typescript-eslint/eslint-plugin": "^5.30.7", - "@typescript-eslint/parser": "^5.30.7", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server": "^0.1.32", "@web/test-runner": "next", "@web/test-runner-playwright": "^0.8.10", diff --git a/packages/distribution/main.ts b/packages/distribution/main.ts index fe7e442d6..822e8a9e5 100644 --- a/packages/distribution/main.ts +++ b/packages/distribution/main.ts @@ -1 +1 @@ -import '@openscd/open-scd/src/open-scd.js'; +import '@openscd/open-scd/open-scd.js'; diff --git a/packages/distribution/package.json b/packages/distribution/package.json index c6b7662e7..f2cc5d7b7 100644 --- a/packages/distribution/package.json +++ b/packages/distribution/package.json @@ -49,23 +49,23 @@ "@snowpack/plugin-typescript": "^1.2.1", "@types/marked": "^2.0.4", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server-esbuild": "^0.2.16", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", "prettier": "^2.3.2", "sinon": "^17.0.1", - "snowpack": "3.8.6", + "snowpack": "3.1.0", "source-map": "^0.7.4", "standard-version": "^9.3.1", "tslib": "^2.3.1", diff --git a/packages/distribution/snowpack.config.mjs b/packages/distribution/snowpack.config.mjs index cfcb4e243..a369b89cd 100644 --- a/packages/distribution/snowpack.config.mjs +++ b/packages/distribution/snowpack.config.mjs @@ -30,7 +30,7 @@ export default { '../openscd/': '/openscd/', }, alias: { - '@openscd/open-scd': '../openscd/', + '@openscd/open-scd': '../open-scd/src/', '@openscd/plugins': '../plugins/', }, }; diff --git a/packages/openscd/package.json b/packages/openscd/package.json index bd46ee42a..32d1c4283 100644 --- a/packages/openscd/package.json +++ b/packages/openscd/package.json @@ -18,7 +18,7 @@ "module": "open-scd.js", "type": "module", "files": [ - "./build/**" + "./dist/**" ], "dependencies": { "@material/mwc-dialog": "0.22.1", @@ -46,8 +46,40 @@ "panzoom": "^9.4.2", "@openscd/core": "*" }, + "exports": { + ".": "./dist/src/open-scd.js", + "./open-scd.js": "./dist/src/open-scd.js", + "./foundation.js": "./dist/src/foundation.js", + "./foundation/compare.js": "./dist/src/foundation/compare.js", + "./foundation/dai.js": "./dist/src/foundation/dai.js", + "./foundation/generators.js": "./dist/src/foundation/generators.js", + "./foundation/ied.js": "./dist/src/foundation/ied.js", + "./foundation/nsd.js": "./dist/src/foundation/nsd.js", + "./foundation/nsdoc.js": "./dist/src/foundation/nsdoc.js", + "./foundation/scl.js": "./dist/src/foundation/scl.js", + "./icons/compare.js": "./dist/src/icons/compare.js", + "./icons/icons.js": "./dist/src/icons/icons.js", + "./icons/ied-icons.js": "./dist/src/icons/ied-icons.js", + "./icons/lnode.js": "./dist/src/icons/lnode.js", + "./schemas.js": "./dist/src/schemas.js", + "./action-icon.js": "./dist/src/action-icon.js", + "./action-pane.js": "./dist/src/action-pane.js", + "./filtered-list.js": "./dist/src/filtered-list.js", + "./finder-list.js": "./dist/src/finder-list.js", + "./oscd-filter-button.js": "./dist/src/oscd-filter-button.js", + "./plain-compare-list.js": "./dist/src/plain-compare-list.js", + "./wizard-checkbox.js": "./dist/src/wizard-checkbox.js", + "./wizard-dialog.js": "./dist/src/wizard-dialog.js", + "./wizard-select.js": "./dist/src/wizard-select.js", + "./wizard-textfield.js": "./dist/src/wizard-textfield.js", + "./WizardDivider.js": "./dist/src/WizardDivider.js", + "./wizards.js": "./dist/src/wizards.js", + "./addons/Wizards.js": "./dist/src/addons/Wizards.js", + "./test/mock-open-scd.js": "./dist/test/mock-open-scd.js", + "./test/mock-wizard-editor.js": "./dist/test/mock-wizard-editor.js" + }, "scripts": { - "clean": "rimraf build", + "clean": "rimraf dist", "lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore", "format:eslint": "eslint --ext .ts,.html . --fix --ignore-path .gitignore", "lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --check --ignore-path .gitignore", @@ -69,7 +101,7 @@ "release:patch": "standard-version --release-as patch", "release:major": "standard-version --release-as major", "bundle": "npm run test && npm run bundle:notest", - "build": "tsc" + "build": "tsc -p tsconfig.build.json" }, "devDependencies": { "@commitlint/cli": "^13.1.0", @@ -80,17 +112,17 @@ "@snowpack/plugin-typescript": "^1.2.1", "@types/marked": "^2.0.4", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", - "@web/dev-server-esbuild": "^0.2.16", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", + "@web/dev-server-esbuild": "^1.0.2", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", diff --git a/packages/openscd/src/Editing.ts b/packages/openscd/src/Editing.ts deleted file mode 100644 index e60c4884e..000000000 --- a/packages/openscd/src/Editing.ts +++ /dev/null @@ -1,470 +0,0 @@ -import { OpenEvent } from '@openscd/core'; -import { property } from 'lit-element'; -import { get } from 'lit-translate'; - -import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js'; -import { newValidateEvent } from '@openscd/core/foundation/deprecated/validation.js' -import { - Create, - Delete, - Move, - Update, - Replace, - SimpleAction, - EditorAction, - EditorActionEvent, - isCreate, - isDelete, - isMove, - isSimple, - isReplace, - isUpdate, -} from '@openscd/core/foundation/deprecated/editor.js'; -import { OpenDocEvent } from '@openscd/core/foundation/deprecated/open-event.js'; -import { - getReference, - SCLTag, - Mixin, - LitElementConstructor -} from './foundation.js'; - -/** Mixin that edits an `XML` `doc`, listening to [[`EditorActionEvent`]]s */ -export type EditingElement = Mixin; - -/** @typeParam TBase - a type extending `LitElement` - * @returns `Base` with an `XMLDocument` property "`doc`" and an event listener - * applying [[`EditorActionEvent`]]s and dispatching [[`LogEvent`]]s. */ -export function Editing(Base: TBase) { - class EditingElement extends Base { - /** The `XMLDocument` to be edited */ - @property({ attribute: false }) - doc: XMLDocument | null = null; - /** The name of the current [[`doc`]] */ - @property({ type: String }) docName = ''; - /** The UUID of the current [[`doc`]] */ - @property({ type: String }) docId = ''; - - private checkCreateValidity(create: Create): boolean { - if (create.checkValidity !== undefined) return create.checkValidity(); - - if ( - !(create.new.element instanceof Element) || - !(create.new.parent instanceof Element) - ) - return true; - - const invalidNaming = - create.new.element.hasAttribute('name') && - Array.from(create.new.parent.children).some( - elm => - elm.tagName === (create.new.element).tagName && - elm.getAttribute('name') === - (create.new.element).getAttribute('name') - ); - - if (invalidNaming) { - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.create', { - name: create.new.element.tagName, - }), - message: get('editing.error.nameClash', { - parent: - create.new.parent instanceof HTMLElement - ? create.new.parent.tagName - : 'Document', - child: create.new.element.tagName, - name: create.new.element.getAttribute('name')!, - }), - }) - ); - - return false; - } - - const invalidId = - create.new.element.hasAttribute('id') && - Array.from( - create.new.parent.ownerDocument.querySelectorAll( - 'LNodeType, DOType, DAType, EnumType' - ) - ).some( - elm => - elm.getAttribute('id') === - (create.new.element).getAttribute('id') - ); - - if (invalidId) { - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.create', { - name: create.new.element.tagName, - }), - message: get('editing.error.idClash', { - id: create.new.element.getAttribute('id')!, - }), - }) - ); - - return false; - } - - return true; - } - - private onCreate(action: Create) { - if (!this.checkCreateValidity(action)) return false; - - if ( - action.new.reference === undefined && - action.new.element instanceof Element && - action.new.parent instanceof Element - ) - action.new.reference = getReference( - action.new.parent, - action.new.element.tagName - ); - else action.new.reference = action.new.reference ?? null; - - action.new.parent.insertBefore(action.new.element, action.new.reference); - return true; - } - - private logCreate(action: Create) { - const name = - action.new.element instanceof Element - ? action.new.element.tagName - : get('editing.node'); - - this.dispatchEvent( - newLogEvent({ - kind: 'action', - title: get('editing.created', { name }), - action, - }) - ); - } - - private onDelete(action: Delete) { - if (!action.old.reference) - action.old.reference = action.old.element.nextSibling; - - if (action.old.element.parentNode !== action.old.parent) return false; - - action.old.parent.removeChild(action.old.element); - return true; - } - - private logDelete(action: Delete) { - const name = - action.old.element instanceof Element - ? action.old.element.tagName - : get('editing.node'); - - this.dispatchEvent( - newLogEvent({ - kind: 'action', - title: get('editing.deleted', { name }), - action, - }) - ); - } - - private checkMoveValidity(move: Move): boolean { - if (move.checkValidity !== undefined) return move.checkValidity(); - - const invalid = - move.old.element.hasAttribute('name') && - move.new.parent !== move.old.parent && - Array.from(move.new.parent.children).some( - elm => - elm.tagName === move.old.element.tagName && - elm.getAttribute('name') === move.old.element.getAttribute('name') - ); - - if (invalid) - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.move', { - name: move.old.element.tagName, - }), - message: get('editing.error.nameClash', { - parent: move.new.parent.tagName, - child: move.old.element.tagName, - name: move.old.element.getAttribute('name')!, - }), - }) - ); - - return !invalid; - } - - private onMove(action: Move) { - if (!this.checkMoveValidity(action)) return false; - - if (!action.old.reference) - action.old.reference = action.old.element.nextSibling; - - if (action.new.reference === undefined) - action.new.reference = getReference( - action.new.parent, - action.old.element.tagName - ); - - action.new.parent.insertBefore(action.old.element, action.new.reference); - return true; - } - - private logMove(action: Move) { - this.dispatchEvent( - newLogEvent({ - kind: 'action', - title: get('editing.moved', { - name: action.old.element.tagName, - }), - action: action, - }) - ); - } - - private checkReplaceValidity(replace: Replace): boolean { - if (replace.checkValidity !== undefined) return replace.checkValidity(); - - const invalidNaming = - replace.new.element.hasAttribute('name') && - replace.new.element.getAttribute('name') !== - replace.old.element.getAttribute('name') && - Array.from(replace.old.element.parentElement?.children ?? []).some( - elm => - elm.tagName === replace.new.element.tagName && - elm.getAttribute('name') === - replace.new.element.getAttribute('name') - ); - - if (invalidNaming) { - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.update', { - name: replace.new.element.tagName, - }), - message: get('editing.error.nameClash', { - parent: replace.old.element.parentElement!.tagName, - child: replace.new.element.tagName, - name: replace.new.element.getAttribute('name')!, - }), - }) - ); - - return false; - } - - const invalidId = - replace.new.element.hasAttribute('id') && - replace.new.element.getAttribute('id') !== - replace.old.element.getAttribute('id') && - Array.from( - replace.new.element.ownerDocument.querySelectorAll( - 'LNodeType, DOType, DAType, EnumType' - ) - ).some( - elm => - elm.getAttribute('id') === - (replace.new.element).getAttribute('id') - ); - - if (invalidId) { - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.update', { - name: replace.new.element.tagName, - }), - message: get('editing.error.idClash', { - id: replace.new.element.getAttribute('id')!, - }), - }) - ); - - return false; - } - - return true; - } - - private onReplace(action: Replace) { - if (!this.checkReplaceValidity(action)) return false; - - action.new.element.append(...Array.from(action.old.element.children)); - action.old.element.replaceWith(action.new.element); - return true; - } - - private logUpdate(action: Replace | Update) { - const name = isReplace(action) - ? action.new.element.tagName - : (action as Update).element.tagName; - - this.dispatchEvent( - newLogEvent({ - kind: 'action', - title: get('editing.updated', { - name, - }), - action: action, - }) - ); - } - - private checkUpdateValidity(update: Update): boolean { - if (update.checkValidity !== undefined) return update.checkValidity(); - - if (update.oldAttributes['name'] !== update.newAttributes['name']) { - const invalidNaming = Array.from( - update.element.parentElement?.children ?? [] - ).some( - elm => - elm.tagName === update.element.tagName && - elm.getAttribute('name') === update.newAttributes['name'] - ); - - if (invalidNaming) { - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.update', { - name: update.element.tagName, - }), - message: get('editing.error.nameClash', { - parent: update.element.parentElement!.tagName, - child: update.element.tagName, - name: update.newAttributes['name']!, - }), - }) - ); - - return false; - } - } - - const invalidId = - update.newAttributes['id'] && - Array.from( - update.element.ownerDocument.querySelectorAll( - 'LNodeType, DOType, DAType, EnumType' - ) - ).some(elm => elm.getAttribute('id') === update.newAttributes['id']); - - if (invalidId) { - this.dispatchEvent( - newLogEvent({ - kind: 'error', - title: get('editing.error.update', { - name: update.element.tagName, - }), - message: get('editing.error.idClash', { - id: update.newAttributes['id']!, - }), - }) - ); - - return false; - } - - return true; - } - - private onUpdate(action: Update) { - if (!this.checkUpdateValidity(action)) return false; - - Array.from(action.element.attributes).forEach(attr => - action.element.removeAttributeNode(attr) - ); - - Object.entries(action.newAttributes).forEach(([key, value]) => { - if (value !== null && value !== undefined) - action.element.setAttribute(key, value); - }); - - return true; - } - - private onSimpleAction(action: SimpleAction) { - if (isMove(action)) return this.onMove(action as Move); - else if (isCreate(action)) return this.onCreate(action as Create); - else if (isDelete(action)) return this.onDelete(action as Delete); - else if (isReplace(action)) return this.onReplace(action as Replace); - else if (isUpdate(action)) return this.onUpdate(action as Update); - } - - private logSimpleAction(action: SimpleAction) { - if (isMove(action)) this.logMove(action as Move); - else if (isCreate(action)) this.logCreate(action as Create); - else if (isDelete(action)) this.logDelete(action as Delete); - else if (isReplace(action)) this.logUpdate(action as Replace); - else if (isUpdate(action)) this.logUpdate(action as Update); - } - - private async onAction(event: EditorActionEvent) { - if (isSimple(event.detail.action)) { - if (this.onSimpleAction(event.detail.action)) - this.logSimpleAction(event.detail.action); - } else if (event.detail.action.actions.length > 0) { - event.detail.action.actions.forEach(element => - this.onSimpleAction(element) - ); - this.dispatchEvent( - newLogEvent({ - kind: 'action', - title: event.detail.action.title, - action: event.detail.action, - }) - ); - } else return; - - if (!this.doc) return; - - await this.updateComplete; - this.dispatchEvent(newValidateEvent()); - } - - /** - * - * @deprecated [Move to handleOpenDoc instead] - */ - private async onOpenDoc(event: OpenDocEvent) { - this.doc = event.detail.doc; - this.docName = event.detail.docName; - this.docId = event.detail.docId ?? ''; - - await this.updateComplete; - - this.dispatchEvent(newValidateEvent()); - - this.dispatchEvent( - newLogEvent({ - kind: 'info', - title: get('openSCD.loaded', { name: this.docName }), - }) - ); - } - - handleOpenDoc({ detail: { docName, doc } }: OpenEvent) { - this.doc = doc; - this.docName = docName; - } - - constructor(...args: any[]) { - super(...args); - - this.addEventListener('editor-action', this.onAction); - this.addEventListener('open-doc', this.onOpenDoc); - this.addEventListener('oscd-open', this.handleOpenDoc); - } - } - - return EditingElement; -} diff --git a/packages/openscd/src/Wizarding.ts b/packages/openscd/src/Wizarding.ts deleted file mode 100644 index 018876114..000000000 --- a/packages/openscd/src/Wizarding.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { html, state, TemplateResult, query } from 'lit-element'; -import { - ifImplemented, - LitElementConstructor, - Mixin, - WizardEvent, - WizardFactory, -} from './foundation.js'; - -import './wizard-dialog.js'; -import { WizardDialog } from './wizard-dialog.js'; - -/** `LitElement` mixin that adds a `workflow` property which [[`Wizard`]]s are - * queued onto on incoming [[`WizardEvent`]]s, first come first displayed. */ -export type WizardingElement = Mixin; - -export function Wizarding(Base: TBase) { - class WizardingElement extends Base { - /** FIFO queue of [[`Wizard`]]s to display. */ - @state() - workflow: WizardFactory[] = []; - - @query('wizard-dialog') wizardUI!: WizardDialog; - - private onWizard(we: WizardEvent) { - const wizard = we.detail.wizard; - if (wizard === null) this.workflow.shift(); - else if (we.detail.subwizard) this.workflow.unshift(wizard); - else this.workflow.push(wizard); - this.requestUpdate('workflow'); - this.updateComplete.then(() => - this.wizardUI.updateComplete.then(() => - this.wizardUI.dialog?.updateComplete.then(() => - this.wizardUI.dialog?.focus() - ) - ) - ); - } - - constructor(...args: any[]) { - super(...args); - - this.addEventListener('wizard', this.onWizard); - this.addEventListener('editor-action', () => - this.wizardUI.requestUpdate() - ); - } - - render(): TemplateResult { - return html`${ifImplemented(super.render())} - `; - } - } - - return WizardingElement; -} diff --git a/packages/openscd/src/addons/Editor.ts b/packages/openscd/src/addons/Editor.ts index 3fc5e1171..947a91b7f 100644 --- a/packages/openscd/src/addons/Editor.ts +++ b/packages/openscd/src/addons/Editor.ts @@ -25,7 +25,7 @@ import {OpenDocEvent} from '@openscd/core/foundation/deprecated/open-event.js'; import { getReference, SCLTag, -} from '../foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { isCreate, isDelete, diff --git a/packages/openscd/src/finder-list.ts b/packages/openscd/src/finder-list.ts index f4bcfcf5c..110b24b65 100644 --- a/packages/openscd/src/finder-list.ts +++ b/packages/openscd/src/finder-list.ts @@ -18,7 +18,7 @@ import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import './filtered-list.js'; -import { depth } from './foundation.js'; +import { depth } from '@openscd/core/foundation/scl.js'; import { ifDefined } from 'lit-html/directives/if-defined'; export type Selection = { [name: string]: Selection }; diff --git a/packages/openscd/src/foundation.ts b/packages/openscd/src/foundation.ts index e3ae6658c..7b9dd03ed 100644 --- a/packages/openscd/src/foundation.ts +++ b/packages/openscd/src/foundation.ts @@ -213,2143 +213,6 @@ export function newSubWizardEvent( return newWizardEvent(wizardOrFactory, { detail: { subwizard: true } }); } -/** @returns a reference to `element` with segments delimited by '/'. */ -// TODO(c-dinkel): replace with identity (FIXME) -export function referencePath(element: Element): string { - let path = ''; - let nextParent: Element | null = element.parentElement; - while (nextParent?.getAttribute('name')) { - path = '/' + nextParent.getAttribute('name') + path; - nextParent = nextParent.parentElement; - } - return path; -} - -export type SclEdition = '2003' | '2007B' | '2007B4'; -export function getSclSchemaVersion(doc: Document): SclEdition { - const scl: Element = doc.documentElement; - const edition = - (scl.getAttribute('version') ?? '2003') + - (scl.getAttribute('revision') ?? '') + - (scl.getAttribute('release') ?? ''); - return edition; -} - -/** - * Extract the 'name' attribute from the given XML element. - * @param element - The element to extract name from. - * @returns the name, or undefined if there is no name. - */ -export function getNameAttribute(element: Element): string | undefined { - const name = element.getAttribute('name'); - return name ? name : undefined; -} - -/** - * Extract the 'ldName' attribute from the given XML element. - * @param element - The element to extract ldName from. - * @returns the ldName, or undefined if there is no ldName. - */ -export function getLdNameAttribute(element: Element): string | undefined { - const name = element.getAttribute('ldName'); - return name ? name : undefined; -} - -/** - * Extract the 'desc' attribute from the given XML element. - * @param element - The element to extract description from. - * @returns the name, or undefined if there is no description. - */ -export function getDescriptionAttribute(element: Element): string | undefined { - const name = element.getAttribute('desc'); - return name ? name : undefined; -} - -/** - * Extract the 'pathName' attribute from the given XML element. - * @param element - The element to extract path name from. - * @returns the name, or undefined if there is no path name. - */ -export function getPathNameAttribute(element: Element): string | undefined { - const name = element.getAttribute('pathName'); - return name ? name : undefined; -} - -/** - * Extract the 'inst' attribute from the given XML element. - * @param element - The element to extract instance from. - * @returns the instance, or undefined if there is no instance. - */ -export function getInstanceAttribute(element: Element): string | undefined { - const inst = element.getAttribute('inst'); - return inst ? inst : undefined; -} - -export function pathParts(identity: string): [string, string] { - const path = identity.split('>'); - const end = path.pop() ?? ''; - const start = path.join('>'); - return [start, end]; -} - -const voidSelector = ':not(*)'; - -function hitemIdentity(e: Element): string { - return `${e.getAttribute('version')}\t${e.getAttribute('revision')}`; -} - -function hitemSelector(tagName: SCLTag, identity: string): string { - const [version, revision] = identity.split('\t'); - - if (!version || !revision) return voidSelector; - - return `${tagName}[version="${version}"][revision="${revision}"]`; -} - -function terminalIdentity(e: Element): string { - return identity(e.parentElement) + '>' + e.getAttribute('connectivityNode'); -} - -function terminalSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, connectivityNode] = pathParts(identity); - - const parentSelectors = tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ); - - return crossProduct( - parentSelectors, - ['>'], - [`${tagName}[connectivityNode="${connectivityNode}"]`] - ) - .map(strings => strings.join('')) - .join(','); -} - -function lNodeIdentity(e: Element): string { - const [iedName, ldInst, prefix, lnClass, lnInst, lnType] = [ - 'iedName', - 'ldInst', - 'prefix', - 'lnClass', - 'lnInst', - 'lnType', - ].map(name => e.getAttribute(name)); - if (iedName === 'None') - return `${identity(e.parentElement)}>(${lnClass} ${lnType})`; - return `${iedName} ${ldInst || '(Client)'}/${prefix ?? ''} ${lnClass} ${ - lnInst ?? '' - }`; -} - -function lNodeSelector(tagName: SCLTag, identity: string): string { - if (identity.endsWith(')')) { - const [parentIdentity, childIdentity] = pathParts(identity); - const [lnClass, lnType] = childIdentity - .substring(1, childIdentity.length - 1) - .split(' '); - - if (!lnClass || !lnType) return voidSelector; - - const parentSelectors = tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ); - - return crossProduct( - parentSelectors, - ['>'], - [`${tagName}[iedName="None"][lnClass="${lnClass}"][lnType="${lnType}"]`] - ) - .map(strings => strings.join('')) - .join(','); - } - - const [iedName, ldInst, prefix, lnClass, lnInst] = identity.split(/[ /]/); - - if (!iedName || !ldInst || !lnClass) return voidSelector; - - const [ - iedNameSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - ] = [ - [`[iedName="${iedName}"]`], - ldInst === '(Client)' - ? [':not([ldInst])', '[ldInst=""]'] - : [`[ldInst="${ldInst}"]`], - prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], - [`[lnClass="${lnClass}"]`], - lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], - ]; - - return crossProduct( - [tagName], - iedNameSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function kDCIdentity(e: Element): string { - return `${identity(e.parentElement)}>${e.getAttribute( - 'iedName' - )} ${e.getAttribute('apName')}`; -} - -function kDCSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - const [iedName, apName] = childIdentity.split(' '); - return `${selector( - 'IED', - parentIdentity - )}>${tagName}[iedName="${iedName}"][apName="${apName}"]`; -} - -function associationIdentity(e: Element): string { - return `${identity(e.parentElement)}>${ - e.getAttribute('associationID') ?? '' - }`; -} - -function associationSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, associationID] = pathParts(identity); - - if (!associationID) return voidSelector; - - return `${selector( - 'Server', - parentIdentity - )}>${tagName}[associationID="${associationID}"]`; -} - -function lDeviceIdentity(e: Element): string { - return `${identity(e.closest('IED')!)}>>${e.getAttribute('inst')}`; -} - -function lDeviceSelector(tagName: SCLTag, identity: string): string { - const [iedName, inst] = identity.split('>>'); - - if (!inst) return voidSelector; - - return `IED[name="${iedName}"] ${tagName}[inst="${inst}"]`; -} - -function iEDNameIdentity(e: Element): string { - const iedName = e.textContent; - const [apRef, ldInst, prefix, lnClass, lnInst] = [ - 'apRef', - 'ldInst', - 'prefix', - 'lnClass', - 'lnInst', - ].map(name => e.getAttribute(name)); - return `${identity(e.parentElement)}>${iedName} ${apRef ? apRef : ''} ${ - ldInst ? ldInst : '' - }/${prefix ?? ''} ${lnClass ?? ''} ${lnInst ?? ''}`; -} - -function iEDNameSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const [iedName, apRef, ldInst, prefix, lnClass, lnInst] = - childIdentity.split(/[ /]/); - - const [ - parentSelectors, - apRefSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - ] = [ - tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ), - [`${iedName}`], - apRef ? [`[apRef="${apRef}"]`] : [':not([apRef])', '[apRef=""]'], - ldInst ? [`[ldInst="${ldInst}"]`] : [':not([ldInst])', '[ldInst=""]'], - prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], - [`[lnClass="${lnClass}"]`], - lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - apRefSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function fCDAIdentity(e: Element): string { - const [ldInst, prefix, lnClass, lnInst, doName, daName, fc, ix] = [ - 'ldInst', - 'prefix', - 'lnClass', - 'lnInst', - 'doName', - 'daName', - 'fc', - 'ix', - ].map(name => e.getAttribute(name)); - const dataPath = `${ldInst}/${prefix ?? ''} ${lnClass} ${ - lnInst ?? '' - }.${doName} ${daName ? daName : ''}`; - return `${identity(e.parentElement)}>${dataPath} (${fc}${ - ix ? ' [' + ix + ']' : '' - })`; -} - -function fCDASelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const [ldInst, prefix, lnClass, lnInst] = childIdentity.split(/[ /.]/); - - const matchDoDa = childIdentity.match( - /.([A-Z][A-Za-z0-9.]*) ([A-Za-z0-9.]*) \(/ - ); - const doName = matchDoDa && matchDoDa[1] ? matchDoDa[1] : ''; - const daName = matchDoDa && matchDoDa[2] ? matchDoDa[2] : ''; - - const matchFx = childIdentity.match(/\(([A-Z]{2})/); - const matchIx = childIdentity.match(/ \[([0-9]{1,2})\]/); - - const fc = matchFx && matchFx[1] ? matchFx[1] : ''; - const ix = matchIx && matchIx[1] ? matchIx[1] : ''; - - const [ - parentSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - doNameSelectors, - daNameSelectors, - fcSelectors, - ixSelectors, - ] = [ - tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ), - [`[ldInst="${ldInst}"]`], - prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], - [`[lnClass="${lnClass}"]`], - lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], - [`[doName="${doName}"]`], - daName ? [`[daName="${daName}"]`] : [':not([daName])', '[daName=""]'], - [`[fc="${fc}"]`], - ix ? [`[ix="${ix}"]`] : [':not([ix])', '[ix=""]'], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - doNameSelectors, - daNameSelectors, - fcSelectors, - ixSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function extRefIdentity(e: Element): string | number { - if (!e.parentElement) return NaN; - const parentIdentity = identity(e.parentElement); - const iedName = e.getAttribute('iedName'); - const intAddr = e.getAttribute('intAddr'); - const intAddrIndex = Array.from( - e.parentElement.querySelectorAll(`ExtRef[intAddr="${intAddr}"]`) - ).indexOf(e); - if (intAddr) return `${parentIdentity}>${intAddr}[${intAddrIndex}]`; - const [ - ldInst, - prefix, - lnClass, - lnInst, - doName, - daName, - serviceType, - srcLDInst, - srcPrefix, - srcLNClass, - srcLNInst, - srcCBName, - ] = [ - 'ldInst', - 'prefix', - 'lnClass', - 'lnInst', - 'doName', - 'daName', - 'serviceType', - 'srcLDInst', - 'srcPrefix', - 'srcLNClass', - 'srcLNInst', - 'srcCBName', - ].map(name => e.getAttribute(name)); - - const cbPath = srcCBName - ? `${serviceType}:${srcCBName} ${srcLDInst ?? ''}/${srcPrefix ?? ''} ${ - srcLNClass ?? '' - } ${srcLNInst ?? ''}` - : ''; - const dataPath = `${iedName} ${ldInst}/${prefix ?? ''} ${lnClass} ${ - lnInst ?? '' - } ${doName} ${daName ? daName : ''}`; - return `${parentIdentity}>${cbPath ? cbPath + ' ' : ''}${dataPath}${ - intAddr ? '@' + `${intAddr}` : '' - }`; -} - -function extRefSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const parentSelectors = tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ); - - if (childIdentity.endsWith(']')) { - const [intAddr] = childIdentity.split('['); - const intAddrSelectors = [`[intAddr="${intAddr}"]`]; - - return crossProduct(parentSelectors, ['>'], [tagName], intAddrSelectors) - .map(strings => strings.join('')) - .join(','); - } - - let iedName, - ldInst, - prefix, - lnClass, - lnInst, - doName, - daName, - serviceType, - srcCBName, - srcLDInst, - srcPrefix, - srcLNClass, - srcLNInst, - intAddr; - - if (!childIdentity.includes(':') && !childIdentity.includes('@')) { - [iedName, ldInst, prefix, lnClass, lnInst, doName, daName] = - childIdentity.split(/[ /]/); - } else if (childIdentity.includes(':') && !childIdentity.includes('@')) { - [ - serviceType, - srcCBName, - srcLDInst, - srcPrefix, - srcLNClass, - srcLNInst, - iedName, - ldInst, - prefix, - lnClass, - lnInst, - doName, - daName, - ] = childIdentity.split(/[ /:]/); - } else if (!childIdentity.includes(':') && childIdentity.includes('@')) { - [iedName, ldInst, prefix, lnClass, lnInst, doName, daName, intAddr] = - childIdentity.split(/[ /@]/); - } else { - [ - serviceType, - srcCBName, - srcLDInst, - srcPrefix, - srcLNClass, - srcLNInst, - iedName, - ldInst, - prefix, - lnClass, - lnInst, - doName, - daName, - intAddr, - ] = childIdentity.split(/[ /:@]/); - } - - const [ - iedNameSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - doNameSelectors, - daNameSelectors, - serviceTypeSelectors, - srcCBNameSelectors, - srcLDInstSelectors, - srcPrefixSelectors, - srcLNClassSelectors, - srcLNInstSelectors, - intAddrSelectors, - ] = [ - iedName ? [`[iedName="${iedName}"]`] : [':not([iedName])'], - ldInst ? [`[ldInst="${ldInst}"]`] : [':not([ldInst])', '[ldInst=""]'], - prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], - lnClass ? [`[lnClass="${lnClass}"]`] : [':not([lnClass])'], - lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], - doName ? [`[doName="${doName}"]`] : [':not([doName])'], - daName ? [`[daName="${daName}"]`] : [':not([daName])', '[daName=""]'], - serviceType - ? [`[serviceType="${serviceType}"]`] - : [':not([serviceType])', '[serviceType=""]'], - srcCBName - ? [`[srcCBName="${srcCBName}"]`] - : [':not([srcCBName])', '[srcCBName=""]'], - srcLDInst - ? [`[srcLDInst="${srcLDInst}"]`] - : [':not([srcLDInst])', '[srcLDInst=""]'], - srcPrefix - ? [`[srcPrefix="${srcPrefix}"]`] - : [':not([srcPrefix])', '[srcPrefix=""]'], - srcLNClass - ? [`[srcLNClass="${srcLNClass}"]`] - : [':not([srcLNClass])', '[srcLNClass=""]'], - srcLNInst - ? [`[srcLNInst="${srcLNInst}"]`] - : [':not([srcLNInst])', '[srcLNInst=""]'], - intAddr ? [`[intAddr="${intAddr}"]`] : [':not([intAddr])', '[intAddr=""]'], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - iedNameSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - doNameSelectors, - daNameSelectors, - serviceTypeSelectors, - srcCBNameSelectors, - srcLDInstSelectors, - srcPrefixSelectors, - srcLNClassSelectors, - srcLNInstSelectors, - intAddrSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function lNIdentity(e: Element): string { - const [prefix, lnClass, inst] = ['prefix', 'lnClass', 'inst'].map(name => - e.getAttribute(name) - ); - return `${identity(e.parentElement)}>${prefix ?? ''} ${lnClass} ${inst}`; -} - -function lNSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const parentSelectors = tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ); - - const [prefix, lnClass, inst] = childIdentity.split(' '); - - if (!lnClass) return voidSelector; - - const [prefixSelectors, lnClassSelectors, instSelectors] = [ - prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], - [`[lnClass="${lnClass}"]`], - [`[inst="${inst}"]`], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - prefixSelectors, - lnClassSelectors, - instSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function clientLNIdentity(e: Element): string { - const [apRef, iedName, ldInst, prefix, lnClass, lnInst] = [ - 'apRef', - 'iedName', - 'ldInst', - 'prefix', - 'lnClass', - 'lnInst', - ].map(name => e.getAttribute(name)); - return `${identity(e.parentElement)}>${iedName} ${ - apRef ? apRef : '' - } ${ldInst}/${prefix ?? ''} ${lnClass} ${lnInst}`; -} - -function clientLNSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const parentSelectors = tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ); - - const [iedName, apRef, ldInst, prefix, lnClass, lnInst] = - childIdentity.split(/[ /]/); - - const [ - iedNameSelectors, - apRefSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors, - ] = [ - iedName ? [`[iedName="${iedName}"]`] : [':not([iedName])', '[iedName=""]'], - apRef ? [`[apRef="${apRef}"]`] : [':not([apRef])', '[apRef=""]'], - ldInst ? [`[ldInst="${ldInst}"]`] : [':not([ldInst])', '[ldInst=""]'], - prefix ? [`[prefix="${prefix}"]`] : [':not([prefix])', '[prefix=""]'], - [`[lnClass="${lnClass}"]`], - lnInst ? [`[lnInst="${lnInst}"]`] : [':not([lnInst])', '[lnInst=""]'], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - iedNameSelectors, - apRefSelectors, - ldInstSelectors, - prefixSelectors, - lnClassSelectors, - lnInstSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function ixNamingIdentity(e: Element): string { - const [name, ix] = ['name', 'ix'].map(name => e.getAttribute(name)); - return `${identity(e.parentElement)}>${name}${ix ? '[' + ix + ']' : ''}`; -} - -function ixNamingSelector( - tagName: SCLTag, - identity: string, - depth = -1 -): string { - if (depth === -1) depth = identity.split('>').length; - - const [parentIdentity, childIdentity] = pathParts(identity); - - const [_0, name, _1, ix] = - childIdentity.match(/([^[]*)(\[([0-9]*)\])?/) ?? []; - - if (!name) return voidSelector; - - if (depth === 0) return `${tagName}[name="${name}"]`; - - const parentSelectors = tags[tagName].parents - .flatMap(parentTag => - parentTag === 'SDI' - ? ixNamingSelector(parentTag, parentIdentity, depth - 1).split(',') - : selector(parentTag, parentIdentity).split(',') - ) - .filter(selector => !selector.startsWith(voidSelector)); - - if (parentSelectors.length === 0) return voidSelector; - - const [nameSelectors, ixSelectors] = [ - [`[name="${name}"]`], - ix ? [`[ix="${ix}"]`] : ['[ix=""]', ':not([ix])'], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - nameSelectors, - ixSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function valIdentity(e: Element): string | number { - if (!e.parentElement) return NaN; - const sGroup = e.getAttribute('sGroup'); - const index = Array.from(e.parentElement.children) - .filter(child => child.getAttribute('sGroup') === sGroup) - .findIndex(child => child.isSameNode(e)); - return `${identity(e.parentElement)}>${sGroup ? sGroup + '.' : ''} ${index}`; -} - -function valSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const [sGroup, indexText] = childIdentity.split(' '); - const index = parseFloat(indexText); - - const parentSelectors = tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ); - - const [nameSelectors, ixSelectors] = [ - sGroup ? [`[sGroup="${sGroup}"]`] : [''], - index ? [`:nth-child(${index + 1})`] : [''], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - nameSelectors, - ixSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function connectedAPIdentity(e: Element): string { - const [iedName, apName] = ['iedName', 'apName'].map(name => - e.getAttribute(name) - ); - return `${iedName} ${apName}`; -} - -function connectedAPSelector(tagName: SCLTag, identity: string): string { - const [iedName, apName] = identity.split(' '); - if (!iedName || !apName) return voidSelector; - return `${tagName}[iedName="${iedName}"][apName="${apName}"]`; -} - -function controlBlockIdentity(e: Element): string { - const [ldInst, cbName] = ['ldInst', 'cbName'].map(name => - e.getAttribute(name) - ); - return `${ldInst} ${cbName}`; -} - -function controlBlockSelector(tagName: SCLTag, identity: string): string { - const [ldInst, cbName] = identity.split(' '); - - if (!ldInst || !cbName) return voidSelector; - - return `${tagName}[ldInst="${ldInst}"][cbName="${cbName}"]`; -} - -function physConnIdentity(e: Element): string | number { - if (!e.parentElement) return NaN; - if (!e.parentElement.querySelector('PhysConn[type="RedConn"]')) return NaN; - const pcType = e.getAttribute('type'); - if ( - e.parentElement.children.length > 1 && - pcType !== 'Connection' && - pcType !== 'RedConn' - ) - return NaN; - return `${identity(e.parentElement)}>${pcType}`; -} - -function physConnSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, pcType] = pathParts(identity); - - const [parentSelectors, typeSelectors] = [ - tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ), - pcType ? [`[type="${pcType}"]`] : [''], - ]; - - return crossProduct(parentSelectors, ['>'], [tagName], typeSelectors) - .map(strings => strings.join('')) - .join(','); -} - -function pIdentity(e: Element): string | number { - if (!e.parentElement) return NaN; - const eParent = e.parentElement; - const eType = e.getAttribute('type'); - if (eParent.tagName === 'PhysConn') - return `${identity(e.parentElement)}>${eType}`; - const index = Array.from(e.parentElement.children) - .filter(child => child.getAttribute('type') === eType) - .findIndex(child => child.isSameNode(e)); - return `${identity(e.parentElement)}>${eType} [${index}]`; -} - -function pSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const [type] = childIdentity.split(' '); - const index = - childIdentity && - childIdentity.match(/\[([0-9]+)\]/) && - childIdentity.match(/\[([0-9]+)\]/)![1] - ? parseFloat(childIdentity.match(/\[([0-9]+)\]/)![1]) - : NaN; - - const [parentSelectors, typeSelectors, ixSelectors] = [ - tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ), - [`[type="${type}"]`], - index ? [`:nth-child(${index + 1})`] : [''], - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - typeSelectors, - ixSelectors - ) - .map(strings => strings.join('')) - .join(','); -} - -function enumValIdentity(e: Element): string { - return `${identity(e.parentElement)}>${e.getAttribute('ord')}`; -} - -function enumValSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, ord] = pathParts(identity); - return `${selector('EnumType', parentIdentity)}>${tagName}[ord="${ord}"]`; -} - -function protNsIdentity(e: Element): string { - return `${identity(e.parentElement)}>${e.getAttribute('type') || '8-MMS'}\t${ - e.textContent - }`; -} - -function protNsSelector(tagName: SCLTag, identity: string): string { - const [parentIdentity, childIdentity] = pathParts(identity); - - const [type, value] = childIdentity.split('\t'); - - const [parentSelectors] = [ - tags[tagName].parents.flatMap(parentTag => - selector(parentTag, parentIdentity).split(',') - ), - ]; - - return crossProduct( - parentSelectors, - ['>'], - [tagName], - [`[type="${type}"]`], - ['>'], - [value] - ) - .map(strings => strings.join('')) - .join(','); -} - -function sCLIdentity(): string { - return ''; -} - -function sCLSelector(): string { - return ':root'; -} - -function namingIdentity(e: Element): string { - return e.parentElement!.tagName === 'SCL' - ? e.getAttribute('name')! - : `${identity(e.parentElement)}>${e.getAttribute('name')}`; -} - -function namingSelector(tagName: SCLTag, identity: string, depth = -1): string { - if (depth === -1) depth = identity.split('>').length; - - const [parentIdentity, name] = pathParts(identity); - if (!name) return voidSelector; - if (depth === 0) return `${tagName}[name="${name}"]`; - - const parents = tags[tagName].parents; - if (!parents) return voidSelector; - - const parentSelectors = parents - .flatMap(parentTag => - tags[parentTag].selector === tags['Substation'].selector - ? namingSelector(parentTag, parentIdentity, depth - 1).split(',') - : selector(parentTag, parentIdentity).split(',') - ) - .filter(selector => !selector.startsWith(voidSelector)); - - if (parentSelectors.length === 0) return voidSelector; - - return crossProduct(parentSelectors, ['>'], [tagName], [`[name="${name}"]`]) - .map(strings => strings.join('')) - .join(','); -} - -function singletonIdentity(e: Element): string { - return identity(e.parentElement).toString(); -} - -function singletonSelector(tagName: SCLTag, identity: string): string { - const parents = tags[tagName].parents; - if (!parents) return voidSelector; - - const parentSelectors = parents - .flatMap(parentTag => selector(parentTag, identity).split(',')) - .filter(selector => !selector.startsWith(voidSelector)); - - if (parentSelectors.length === 0) return voidSelector; - - return crossProduct(parentSelectors, ['>'], [tagName]) - .map(strings => strings.join('')) - .join(','); -} - -function idNamingIdentity(e: Element): string { - return `#${e.id}`; -} - -function idNamingSelector(tagName: SCLTag, identity: string): string { - const id = identity.replace(/^#/, ''); - - if (!id) return voidSelector; - - return `${tagName}[id="${id}"]`; -} - -type IdentityFunction = (e: Element) => string | number; -type SelectorFunction = (tagName: SCLTag, identity: string) => string; - -const tAbstractConductingEquipment = [ - 'TransformerWinding', - 'ConductingEquipment', -] as const; - -const tEquipment = [ - 'GeneralEquipment', - 'PowerTransformer', - ...tAbstractConductingEquipment, -] as const; -const tEquipmentContainer = ['Substation', 'VoltageLevel', 'Bay'] as const; -const tGeneralEquipmentContainer = ['Process', 'Line'] as const; -const tAbstractEqFuncSubFunc = ['EqSubFunction', 'EqFunction'] as const; - -const tPowerSystemResource = [ - 'SubFunction', - 'Function', - 'TapChanger', - 'SubEquipment', - ...tEquipment, - ...tEquipmentContainer, - ...tGeneralEquipmentContainer, - ...tAbstractEqFuncSubFunc, -] as const; -const tLNodeContainer = ['ConnectivityNode', ...tPowerSystemResource] as const; -const tCertificate = ['GOOSESecurity', 'SMVSecurity'] as const; -const tNaming = ['SubNetwork', ...tCertificate, ...tLNodeContainer] as const; - -const tAbstractDataAttribute = ['BDA', 'DA'] as const; -const tControlWithIEDName = ['SampledValueControl', 'GSEControl'] as const; -const tControlWithTriggerOpt = ['LogControl', 'ReportControl'] as const; -const tControl = [...tControlWithIEDName, ...tControlWithTriggerOpt] as const; -const tControlBlock = ['GSE', 'SMV'] as const; -const tUnNaming = [ - 'ConnectedAP', - 'PhysConn', - 'SDO', - 'DO', - 'DAI', - 'SDI', - 'DOI', - 'Inputs', - 'RptEnabled', - 'Server', - 'ServerAt', - 'SettingControl', - 'Communication', - 'Log', - 'LDevice', - 'DataSet', - 'AccessPoint', - 'IED', - 'NeutralPoint', - ...tControl, - ...tControlBlock, - ...tAbstractDataAttribute, -] as const; - -const tAnyLN = ['LN0', 'LN'] as const; - -const tAnyContentFromOtherNamespace = [ - 'Text', - 'Private', - 'Hitem', - 'AccessControl', -] as const; - -const tCert = ['Subject', 'IssuerName'] as const; -const tDurationInMilliSec = ['MinTime', 'MaxTime'] as const; - -const tIDNaming = ['LNodeType', 'DOType', 'DAType', 'EnumType'] as const; - -const tServiceYesNo = [ - 'FileHandling', - 'TimeSyncProt', - 'CommProt', - 'SGEdit', - 'ConfSG', - 'GetDirectory', - 'GetDataObjectDefinition', - 'DataObjectDirectory', - 'GetDataSetValue', - 'SetDataSetValue', - 'DataSetDirectory', - 'ReadWrite', - 'TimerActivatedControl', - 'GetCBValues', - 'GSEDir', - 'ConfLdName', -] as const; - -const tServiceWithMaxAndMaxAttributes = ['DynDataSet', 'ConfDataSet'] as const; - -const tServiceWithMax = [ - 'GSSE', - 'GOOSE', - 'ConfReportControl', - 'SMVsc', - ...tServiceWithMaxAndMaxAttributes, -] as const; - -const tServiceWithMaxNonZero = ['ConfLogControl', 'ConfSigRef'] as const; - -const tServiceSettings = [ - 'ReportSettings', - 'LogSettings', - 'GSESettings', - 'SMVSettings', -] as const; - -const tBaseElement = ['SCL', ...tNaming, ...tUnNaming, ...tIDNaming] as const; - -const sCLTags = [ - ...tBaseElement, - ...tAnyContentFromOtherNamespace, - 'Header', - 'LNode', - 'Val', - 'Voltage', - 'Services', - ...tCert, - ...tDurationInMilliSec, - 'Association', - 'FCDA', - 'ClientLN', - 'IEDName', - 'ExtRef', - 'Protocol', - ...tAnyLN, - ...tServiceYesNo, - 'DynAssociation', - 'SettingGroups', - ...tServiceWithMax, - ...tServiceWithMaxNonZero, - ...tServiceSettings, - 'ConfLNs', - 'ClientServices', - 'SupSubscription', - 'ValueHandling', - 'RedProt', - 'McSecurity', - 'KDC', - 'Address', - 'P', - 'ProtNs', - 'EnumVal', - 'Terminal', - 'BitRate', - 'Authentication', - 'DataTypeTemplates', - 'History', - 'OptFields', - 'SmvOpts', - 'TrgOps', - 'SamplesPerSec', - 'SmpRate', - 'SecPerSamples', -] as const; - -export type SCLTag = (typeof sCLTags)[number]; - -const tagSet = new Set(sCLTags); - -function isSCLTag(tag: string): tag is SCLTag { - return tagSet.has(tag); -} - -const tBaseNameSequence = ['Text', 'Private'] as const; -const tNamingSequence = [...tBaseNameSequence] as const; -const tUnNamingSequence = [...tBaseNameSequence] as const; -const tIDNamingSequence = [...tBaseNameSequence] as const; - -const tAbstractDataAttributeSequence = [...tUnNamingSequence, 'Val'] as const; -const tLNodeContainerSequence = [...tNamingSequence, 'LNode'] as const; -const tPowerSystemResourceSequence = [...tLNodeContainerSequence] as const; -const tEquipmentSequence = [...tPowerSystemResourceSequence] as const; -const tEquipmentContainerSequence = [ - ...tPowerSystemResourceSequence, - 'PowerTransformer', - 'GeneralEquipment', -] as const; -const tAbstractConductingEquipmentSequence = [ - ...tEquipmentSequence, - 'Terminal', -] as const; -const tControlBlockSequence = [...tUnNamingSequence, 'Address'] as const; -const tControlSequence = [...tNamingSequence] as const; -const tControlWithIEDNameSequence = [...tControlSequence, 'IEDName'] as const; -const tAnyLNSequence = [ - ...tUnNamingSequence, - 'DataSet', - 'ReportControl', - 'LogControl', - 'DOI', - 'Inputs', - 'Log', -] as const; -const tGeneralEquipmentContainerSequence = [ - ...tPowerSystemResourceSequence, - 'GeneralEquipment', - 'Function', -] as const; -const tControlWithTriggerOptSequence = [...tControlSequence, 'TrgOps'] as const; -const tAbstractEqFuncSubFuncSequence = [ - ...tPowerSystemResourceSequence, - 'GeneralEquipment', - 'EqSubFunction', -] as const; - -export const tags: Record< - SCLTag, - { - identity: IdentityFunction; - selector: SelectorFunction; - parents: SCLTag[]; - children: SCLTag[]; - } -> = { - AccessControl: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['LDevice'], - children: [], - }, - AccessPoint: { - identity: namingIdentity, - selector: namingSelector, - parents: ['IED'], - children: [ - ...tNamingSequence, - 'Server', - 'LN', - 'ServerAt', - 'Services', - 'GOOSESecurity', - 'SMVSecurity', - ], - }, - Address: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['ConnectedAP', 'GSE', 'SMV'], - children: ['P'], - }, - Association: { - identity: associationIdentity, - selector: associationSelector, - parents: ['Server'], - children: [], - }, - Authentication: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Server'], - children: [], - }, - BDA: { - identity: namingIdentity, - selector: namingSelector, - parents: ['DAType'], - children: [...tAbstractDataAttributeSequence], - }, - BitRate: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SubNetwork'], - children: [], - }, - Bay: { - identity: namingIdentity, - selector: namingSelector, - parents: ['VoltageLevel'], - children: [ - ...tEquipmentContainerSequence, - 'ConductingEquipment', - 'ConnectivityNode', - 'Function', - ], - }, - ClientLN: { - identity: clientLNIdentity, - selector: clientLNSelector, - parents: ['RptEnabled'], - children: [], - }, - ClientServices: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: ['TimeSyncProt', 'McSecurity'], - }, - CommProt: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - Communication: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SCL'], - children: [...tUnNamingSequence, 'SubNetwork'], - }, - ConductingEquipment: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Process', 'Line', 'SubFunction', 'Function', 'Bay'], - children: [ - ...tAbstractConductingEquipmentSequence, - 'EqFunction', - 'SubEquipment', - ], - }, - ConfDataSet: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ConfLdName: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ConfLNs: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ConfLogControl: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ConfReportControl: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ConfSG: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SettingGroups'], - children: [], - }, - ConfSigRef: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ConnectedAP: { - identity: connectedAPIdentity, - selector: connectedAPSelector, - parents: ['SubNetwork'], - children: [...tUnNamingSequence, 'Address', 'GSE', 'SMV', 'PhysConn'], - }, - ConnectivityNode: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Bay', 'Line'], - children: [...tLNodeContainerSequence], - }, - DA: { - identity: namingIdentity, - selector: namingSelector, - parents: ['DOType'], - children: [...tAbstractDataAttributeSequence], - }, - DAI: { - identity: ixNamingIdentity, - selector: ixNamingSelector, - parents: ['DOI', 'SDI'], - children: [...tUnNamingSequence, 'Val'], - }, - DAType: { - identity: idNamingIdentity, - selector: idNamingSelector, - parents: ['DataTypeTemplates'], - children: [...tIDNamingSequence, 'BDA', 'ProtNs'], - }, - DO: { - identity: namingIdentity, - selector: namingSelector, - parents: ['LNodeType'], - children: [...tUnNamingSequence], - }, - DOI: { - identity: namingIdentity, - selector: namingSelector, - parents: [...tAnyLN], - children: [...tUnNamingSequence, 'SDI', 'DAI'], - }, - DOType: { - identity: idNamingIdentity, - selector: idNamingSelector, - parents: ['DataTypeTemplates'], - children: [...tIDNamingSequence, 'SDO', 'DA'], - }, - DataObjectDirectory: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - DataSet: { - identity: namingIdentity, - selector: namingSelector, - parents: [...tAnyLN], - children: [...tNamingSequence, 'FCDA'], - }, - DataSetDirectory: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - DataTypeTemplates: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SCL'], - children: ['LNodeType', 'DOType', 'DAType', 'EnumType'], - }, - DynAssociation: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - DynDataSet: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - EnumType: { - identity: idNamingIdentity, - selector: idNamingSelector, - parents: ['DataTypeTemplates'], - children: [...tIDNamingSequence, 'EnumVal'], - }, - EnumVal: { - identity: enumValIdentity, - selector: enumValSelector, - parents: ['EnumType'], - children: [], - }, - EqFunction: { - identity: namingIdentity, - selector: namingSelector, - parents: [ - 'GeneralEquipment', - 'TapChanger', - 'TransformerWinding', - 'PowerTransformer', - 'SubEquipment', - 'ConductingEquipment', - ], - children: [...tAbstractEqFuncSubFuncSequence], - }, - EqSubFunction: { - identity: namingIdentity, - selector: namingSelector, - parents: ['EqSubFunction', 'EqFunction'], - children: [...tAbstractEqFuncSubFuncSequence], - }, - ExtRef: { - identity: extRefIdentity, - selector: extRefSelector, - parents: ['Inputs'], - children: [], - }, - FCDA: { - identity: fCDAIdentity, - selector: fCDASelector, - parents: ['DataSet'], - children: [], - }, - FileHandling: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - Function: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Bay', 'VoltageLevel', 'Substation', 'Process', 'Line'], - children: [ - ...tPowerSystemResourceSequence, - 'SubFunction', - 'GeneralEquipment', - 'ConductingEquipment', - ], - }, - GeneralEquipment: { - identity: namingIdentity, - selector: namingSelector, - parents: [ - 'SubFunction', - 'Function', - ...tGeneralEquipmentContainer, - ...tAbstractEqFuncSubFunc, - ...tEquipmentContainer, - ], - children: [...tEquipmentSequence, 'EqFunction'], - }, - GetCBValues: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GetDataObjectDefinition: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GetDataSetValue: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GetDirectory: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GOOSE: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GOOSESecurity: { - identity: namingIdentity, - selector: namingSelector, - parents: ['AccessPoint'], - children: [...tNamingSequence, 'Subject', 'IssuerName'], - }, - GSE: { - identity: controlBlockIdentity, - selector: controlBlockSelector, - parents: ['ConnectedAP'], - children: [...tControlBlockSequence, 'MinTime', 'MaxTime'], - }, - GSEDir: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GSEControl: { - identity: namingIdentity, - selector: namingSelector, - parents: ['LN0'], - children: [...tControlWithIEDNameSequence, 'Protocol'], - }, - GSESettings: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - GSSE: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - Header: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SCL'], - children: ['Text', 'History'], - }, - History: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Header'], - children: ['Hitem'], - }, - Hitem: { - identity: hitemIdentity, - selector: hitemSelector, - parents: ['History'], - children: [], - }, - IED: { - identity: namingIdentity, - selector: namingSelector, - parents: ['SCL'], - children: [...tUnNamingSequence, 'Services', 'AccessPoint', 'KDC'], - }, - IEDName: { - identity: iEDNameIdentity, - selector: iEDNameSelector, - parents: ['GSEControl', 'SampledValueControl'], - children: [], - }, - Inputs: { - identity: singletonIdentity, - selector: singletonSelector, - parents: [...tAnyLN], - children: [...tUnNamingSequence, 'ExtRef'], - }, - IssuerName: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['GOOSESecurity', 'SMVSecurity'], - children: [], - }, - KDC: { - identity: kDCIdentity, - selector: kDCSelector, - parents: ['IED'], - children: [], - }, - LDevice: { - identity: lDeviceIdentity, - selector: lDeviceSelector, - parents: ['Server'], - children: [...tUnNamingSequence, 'LN0', 'LN', 'AccessControl'], - }, - LN: { - identity: lNIdentity, - selector: lNSelector, - parents: ['AccessPoint', 'LDevice'], - children: [...tAnyLNSequence], - }, - LN0: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['LDevice'], - children: [ - ...tAnyLNSequence, - 'GSEControl', - 'SampledValueControl', - 'SettingControl', - ], - }, - LNode: { - identity: lNodeIdentity, - selector: lNodeSelector, - parents: [...tLNodeContainer], - children: [...tUnNamingSequence], - }, - LNodeType: { - identity: idNamingIdentity, - selector: idNamingSelector, - parents: ['DataTypeTemplates'], - children: [...tIDNamingSequence, 'DO'], - }, - Line: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Process', 'SCL'], - children: [ - ...tGeneralEquipmentContainerSequence, - 'Voltage', - 'ConductingEquipment', - ], - }, - Log: { - identity: namingIdentity, - selector: namingSelector, - parents: [...tAnyLN], - children: [...tUnNamingSequence], - }, - LogControl: { - identity: namingIdentity, - selector: namingSelector, - parents: [...tAnyLN], - children: [...tControlWithTriggerOptSequence], - }, - LogSettings: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - MaxTime: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['GSE'], - children: [], - }, - McSecurity: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['GSESettings', 'SMVSettings', 'ClientServices'], - children: [], - }, - MinTime: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['GSE'], - children: [], - }, - NeutralPoint: { - identity: terminalIdentity, - selector: terminalSelector, - parents: ['TransformerWinding'], - children: [...tUnNamingSequence], - }, - OptFields: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['ReportControl'], - children: [], - }, - P: { - identity: pIdentity, - selector: pSelector, - parents: ['Address', 'PhysConn'], - children: [], - }, - PhysConn: { - identity: physConnIdentity, - selector: physConnSelector, - parents: ['ConnectedAP'], - children: [...tUnNamingSequence, 'P'], - }, - PowerTransformer: { - identity: namingIdentity, - selector: namingSelector, - parents: [...tEquipmentContainer], - children: [ - ...tEquipmentSequence, - 'TransformerWinding', - 'SubEquipment', - 'EqFunction', - ], - }, - Private: { - identity: () => NaN, - selector: () => voidSelector, - parents: [], - children: [], - }, - Process: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Process', 'SCL'], - children: [ - ...tGeneralEquipmentContainerSequence, - 'ConductingEquipment', - 'Substation', - 'Line', - 'Process', - ], - }, - ProtNs: { - identity: protNsIdentity, - selector: protNsSelector, - parents: ['DAType', 'DA'], - children: [], - }, - Protocol: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['GSEControl', 'SampledValueControl'], - children: [], - }, - ReadWrite: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - RedProt: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - ReportControl: { - identity: namingIdentity, - selector: namingSelector, - parents: [...tAnyLN], - children: [...tControlWithTriggerOptSequence, 'OptFields', 'RptEnabled'], - }, - ReportSettings: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - RptEnabled: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['ReportControl'], - children: [...tUnNamingSequence, 'ClientLN'], - }, - SamplesPerSec: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SMVSettings'], - children: [], - }, - SampledValueControl: { - identity: namingIdentity, - selector: namingSelector, - parents: ['LN0'], - children: [...tControlWithIEDNameSequence, 'SmvOpts'], - }, - SecPerSamples: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SMVSettings'], - children: [], - }, - SCL: { - identity: sCLIdentity, - selector: sCLSelector, - parents: [], - children: [ - ...tBaseNameSequence, - 'Header', - 'Substation', - 'Communication', - 'IED', - 'DataTypeTemplates', - 'Line', - 'Process', - ], - }, - SDI: { - identity: ixNamingIdentity, - selector: ixNamingSelector, - parents: ['DOI', 'SDI'], - children: [...tUnNamingSequence, 'SDI', 'DAI'], - }, - SDO: { - identity: namingIdentity, - selector: namingSelector, - parents: ['DOType'], - children: [...tNamingSequence], - }, - Server: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['AccessPoint'], - children: [ - ...tUnNamingSequence, - 'Authentication', - 'LDevice', - 'Association', - ], - }, - ServerAt: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['AccessPoint'], - children: [...tUnNamingSequence], - }, - Services: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['IED', 'AccessPoint'], - children: [ - 'DynAssociation', - 'SettingGroups', - 'GetDirectory', - 'GetDataObjectDefinition', - 'DataObjectDirectory', - 'GetDataSetValue', - 'SetDataSetValue', - 'DataSetDirectory', - 'ConfDataSet', - 'DynDataSet', - 'ReadWrite', - 'TimerActivatedControl', - 'ConfReportControl', - 'GetCBValues', - 'ConfLogControl', - 'ReportSettings', - 'LogSettings', - 'GSESettings', - 'SMVSettings', - 'GSEDir', - 'GOOSE', - 'GSSE', - 'SMVsc', - 'FileHandling', - 'ConfLNs', - 'ClientServices', - 'ConfLdName', - 'SupSubscription', - 'ConfSigRef', - 'ValueHandling', - 'RedProt', - 'TimeSyncProt', - 'CommProt', - ], - }, - SetDataSetValue: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - SettingControl: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['LN0'], - children: [...tUnNamingSequence], - }, - SettingGroups: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: ['SGEdit', 'ConfSG'], - }, - SGEdit: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SettingGroups'], - children: [], - }, - SmpRate: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SMVSettings'], - children: [], - }, - SMV: { - identity: controlBlockIdentity, - selector: controlBlockSelector, - parents: ['ConnectedAP'], - children: [...tControlBlockSequence], - }, - SmvOpts: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['SampledValueControl'], - children: [], - }, - SMVsc: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - SMVSecurity: { - identity: namingIdentity, - selector: namingSelector, - parents: ['AccessPoint'], - children: [...tNamingSequence, 'Subject', 'IssuerName'], - }, - SMVSettings: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: ['SmpRate', 'SamplesPerSec', 'SecPerSamples', 'McSecurity'], - }, - SubEquipment: { - identity: namingIdentity, - selector: namingSelector, - parents: [ - 'TapChanger', - 'PowerTransformer', - 'ConductingEquipment', - 'TransformerWinding', - ...tAbstractConductingEquipment, - ], - children: [...tPowerSystemResourceSequence, 'EqFunction'], - }, - SubFunction: { - identity: namingIdentity, - selector: namingSelector, - parents: ['SubFunction', 'Function'], - children: [ - ...tPowerSystemResourceSequence, - 'GeneralEquipment', - 'ConductingEquipment', - 'SubFunction', - ], - }, - SubNetwork: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Communication'], - children: [...tNamingSequence, 'BitRate', 'ConnectedAP'], - }, - Subject: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['GOOSESecurity', 'SMVSecurity'], - children: [], - }, - Substation: { - identity: namingIdentity, - selector: namingSelector, - parents: ['SCL'], - children: [...tEquipmentContainerSequence, 'VoltageLevel', 'Function'], - }, - SupSubscription: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - TapChanger: { - identity: namingIdentity, - selector: namingSelector, - parents: ['TransformerWinding'], - children: [...tPowerSystemResourceSequence, 'SubEquipment', 'EqFunction'], - }, - Terminal: { - identity: terminalIdentity, - selector: terminalSelector, - parents: [...tEquipment], - children: [...tUnNamingSequence], - }, - Text: { - identity: singletonIdentity, - selector: singletonSelector, - parents: sCLTags.filter(tag => tag !== 'Text' && tag !== 'Private'), - children: [], - }, - TimerActivatedControl: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - TimeSyncProt: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services', 'ClientServices'], - children: [], - }, - TransformerWinding: { - identity: namingIdentity, - selector: namingSelector, - parents: ['PowerTransformer'], - children: [ - ...tAbstractConductingEquipmentSequence, - 'TapChanger', - 'NeutralPoint', - 'EqFunction', - 'SubEquipment', - ], - }, - TrgOps: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['ReportControl'], - children: [], - }, - Val: { - identity: valIdentity, - selector: valSelector, - parents: ['DAI', 'DA', 'BDA'], - children: [], - }, - ValueHandling: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['Services'], - children: [], - }, - Voltage: { - identity: singletonIdentity, - selector: singletonSelector, - parents: ['VoltageLevel'], - children: [], - }, - VoltageLevel: { - identity: namingIdentity, - selector: namingSelector, - parents: ['Substation'], - children: [...tEquipmentContainerSequence, 'Voltage', 'Bay', 'Function'], - }, -}; - -export function getReference(parent: Element, tag: SCLTag): Element | null { - const parentTag = parent.tagName; - const children = Array.from(parent.children); - - if ( - parentTag === 'Services' || - parentTag === 'SettingGroups' || - !isSCLTag(parentTag) - ) - return children.find(child => child.tagName === tag) ?? null; - - const sequence = tags[parentTag]?.children ?? []; - let index = sequence.findIndex(element => element === tag); - - if (index < 0) return null; - - let nextSibling: Element | undefined; - while (index < sequence.length && !nextSibling) { - nextSibling = children.find(child => child.tagName === sequence[index]); - index++; - } - - return nextSibling ?? null; -} - -function selector(tagName: string, identity: string | number): string { - if (typeof identity !== 'string') return voidSelector; - - if (isSCLTag(tagName)) return tags[tagName].selector(tagName, identity); - - return tagName; -} - -export function find( - root: XMLDocument | Element | DocumentFragment, - tagName: string, - identity: string | number -): Element | null { - if (typeof identity !== 'string' || !isSCLTag(tagName)) return null; - - const element = root.querySelector(tags[tagName].selector(tagName, identity)); - - if (element === null || isPublic(element)) return element; - - return ( - Array.from( - root.querySelectorAll(tags[tagName].selector(tagName, identity)) - ).find(isPublic) ?? null - ); -} - -/** @returns a string uniquely identifying `e` in its document, or NaN if `e` - * is unidentifiable. */ -export function identity(e: Element | null): string | number { - if (e === null) return NaN; - if (e.closest('Private')) return NaN; - const tag = e.tagName; - - if (isSCLTag(tag)) return tags[tag].identity(e); - - return NaN; -} - -/** @returns whether `a` and `b` are considered identical by IEC-61850 */ -export function isSame(a: Element, b: Element): boolean { - if (a.tagName === 'Private') - return isSame(a.parentElement!, b.parentElement!) && a.isEqualNode(b); - return a.tagName === b.tagName && identity(a) === identity(b); -} - -export function isEqual(a: Element, b: Element): boolean { - if (a.closest('Private') || b.closest('Private')) return a.isEqualNode(b); - - const attributeNames = new Set( - a.getAttributeNames().concat(b.getAttributeNames()) - ); - for (const name of attributeNames) - if (a.getAttribute(name) !== b.getAttribute(name)) return false; - - if (a.childElementCount === 0) - return ( - b.childElementCount === 0 && - a.textContent?.trim() === b.textContent?.trim() - ); - - const aChildren = Array.from(a.children); - const bChildren = Array.from(b.children); - - for (const aChild of aChildren) { - const twindex = bChildren.findIndex(bChild => isEqual(aChild, bChild)); - if (twindex === -1) return false; - bChildren.splice(twindex, 1); - } - - for (const bChild of bChildren) - if (!aChildren.find(aChild => isEqual(bChild, aChild))) return false; - - return true; -} - -/** @returns a new [[`tag`]] element owned by [[`doc`]]. */ -export function createElement( - doc: Document, - tag: string, - attrs: Record -): Element { - const element = doc.createElementNS(doc.documentElement.namespaceURI, tag); - Object.entries(attrs) - .filter(([_, value]) => value !== null) - .forEach(([name, value]) => element.setAttribute(name, value!)); - return element; -} - -/** @returns a clone of `element` with attributes set to values from `attrs`. */ -export function cloneElement( - element: Element, - attrs: Record -): Element { - const newElement = element.cloneNode(false); - Object.entries(attrs).forEach(([name, value]) => { - if (value === null) newElement.removeAttribute(name); - else newElement.setAttribute(name, value); - }); - return newElement; -} /** A directive rendering its argument `rendered` only if `rendered !== {}`. */ export const ifImplemented = directive(rendered => (part: Part) => { @@ -2365,238 +228,6 @@ export type Mixin any> = InstanceType< ReturnType >; -const nameStartChar = - '[:_A-Za-z]|[\u00C0-\u00D6]|[\u00D8-\u00F6]|[\u00F8-\u02FF]|[\u0370-\u037D]' + - '|[\u037F-\u1FFF]|[\u200C-\u200D]|[\u2070-\u218F]|[\u2C00-\u2FEF]' + - '|[\u3001-\uD7FF]|[\uF900-\uFDCF]|[\uFDF0-\uFFFD]'; -const nameChar = - nameStartChar + '|[.0-9\\-]|\u00B7|[\u0300-\u036F]|[\u203F-\u2040]'; -const name = nameStartChar + '(' + nameChar + ')*'; -const nmToken = '(' + nameChar + ')+'; - -export const patterns = { - string: - '([\u0009-\u000A]|[\u000D]|[\u0020-\u007E]|[\u0085]|[\u00A0-\uD7FF]' + - '|[\uE000-\uFFFD])*', - normalizedString: - '([\u0020-\u007E]|[\u0085]|[\u00A0-\uD7FF]|[\uE000-\uFFFD])*', - name, - nmToken, - names: name + '( ' + name + ')*', - nmTokens: nmToken + '( ' + nmToken + ')*', - decimal: '[+\\-]?[0-9]+(([.][0-9]*)?|([.][0-9]+))', - unsigned: '[+]?[0-9]+(([.][0-9]*)?|([.][0-9]+))', - integer: '[+\\-]?[0-9]+([0-9]*)', - alphanumericFirstUpperCase: '[A-Z][0-9,A-Z,a-z]*', - alphanumericFirstLowerCase: '[a-z][0-9,A-Z,a-z]*', - lnClass: '(LLN0)|[A-Z]{4,4}', -}; - -/** Sorts selected `ListItem`s to the top and disabled ones to the bottom. */ -export function compareNames(a: Element | string, b: Element | string): number { - if (typeof a === 'string' && typeof b === 'string') return a.localeCompare(b); - - if (typeof a === 'object' && typeof b === 'string') - return (a.getAttribute('name') ?? '').localeCompare(b); - - if (typeof a === 'string' && typeof b === 'object') - return a.localeCompare(b.getAttribute('name')!); - - if (typeof a === 'object' && typeof b === 'object') - return (a.getAttribute('name') ?? '').localeCompare( - b.getAttribute('name') ?? '' - ); - - return 0; -} - -/** @returns the cartesian product of `arrays` */ -export function crossProduct(...arrays: T[][]): T[][] { - return arrays.reduce( - (a, b) => a.flatMap(d => b.map(e => [d, e].flat())), - [[]] - ); -} - -/** @returns the depth of `t` if it is an object or array, zero otherwise. */ -export function depth(t: Record, mem = new WeakSet()): number { - if (mem.has(t)) return Infinity; - else - switch (t?.constructor) { - case Object: - case Array: - mem.add(t); - return ( - 1 + - Math.max( - -1, - ...Object.values(t).map(_ => depth(>_, mem)) - ) - ); - default: - return 0; - } -} - -export function getUniqueElementName( - parent: Element, - tagName: string, - iteration = 1 -): string { - const newName = 'new' + tagName + iteration; - const child = parent.querySelector(`:scope > ${tagName}[name="${newName}"]`); - - if (!child) return newName; - else return getUniqueElementName(parent, tagName, ++iteration); -} - -export function findFCDAs(extRef: Element): Element[] { - if (extRef.tagName !== 'ExtRef' || extRef.closest('Private')) return []; - - const [iedName, ldInst, prefix, lnClass, lnInst, doName, daName] = [ - 'iedName', - 'ldInst', - 'prefix', - 'lnClass', - 'lnInst', - 'doName', - 'daName', - ].map(name => extRef.getAttribute(name)); - const ied = Array.from(extRef.ownerDocument.getElementsByTagName('IED')).find( - element => - element.getAttribute('name') === iedName && !element.closest('Private') - ); - if (!ied) return []; - - return Array.from(ied.getElementsByTagName('FCDA')) - .filter(item => !item.closest('Private')) - .filter( - fcda => - (fcda.getAttribute('ldInst') ?? '') === (ldInst ?? '') && - (fcda.getAttribute('prefix') ?? '') === (prefix ?? '') && - (fcda.getAttribute('lnClass') ?? '') === (lnClass ?? '') && - (fcda.getAttribute('lnInst') ?? '') === (lnInst ?? '') && - (fcda.getAttribute('doName') ?? '') === (doName ?? '') && - (fcda.getAttribute('daName') ?? '') === (daName ?? '') - ); -} - -const serviceTypeControlBlockTags: Partial> = { - GOOSE: ['GSEControl'], - SMV: ['SampledValueControl'], - Report: ['ReportControl'], - NONE: ['LogControl', 'GSEControl', 'SampledValueControl', 'ReportControl'], -}; - -export function findControlBlocks(extRef: Element): Set { - const fcdas = findFCDAs(extRef); - const cbTags = - serviceTypeControlBlockTags[extRef.getAttribute('serviceType') ?? 'NONE'] ?? - []; - const controlBlocks = new Set( - fcdas.flatMap(fcda => { - const dataSet = fcda.parentElement!; - const dsName = dataSet.getAttribute('name') ?? ''; - const anyLN = dataSet.parentElement!; - return cbTags - .flatMap(tag => Array.from(anyLN.getElementsByTagName(tag))) - .filter(cb => cb.getAttribute('datSet') === dsName); - }) - ); - return controlBlocks; -} - -export function isPublic(element: Element): boolean { - return !element.closest('Private'); -} - -/** @returns the version of the SCL project */ -export function getVersion(element: Element): string { - const header = Array.from( - element.ownerDocument.getElementsByTagName('Header') - ).filter(item => !item.closest('Private')); - - return header[0].getAttribute('version') ?? '2003'; -} - -export function getChildElementsByTagName( - element: Element | null | undefined, - tag: string | null | undefined -): Element[] { - if (!element || !tag) return []; - return Array.from(element.children).filter( - element => element.tagName === tag - ); -} - -/** maximum value for `lnInst` attribute */ -const maxLnInst = 99; -const lnInstRange = Array(maxLnInst) - .fill(1) - .map((_, i) => `${i + 1}`); - -/** - * @param parent - The LNodes' parent element to be scanned once for `lnInst` - * values already in use. Be sure to create a new generator every time the - * children of this element change. - * @returns a function generating increasing unused `lnInst` values for - * `lnClass` LNodes within `parent` on subsequent invocations - */ -export function newLnInstGenerator( - parent: Element -): (lnClass: string) => string | undefined { - const generators = new Map string | undefined>(); - - return (lnClass: string) => { - if (!generators.has(lnClass)) { - const lnInsts = new Set( - getChildElementsByTagName(parent, 'LNode') - .filter(lnode => lnode.getAttribute('lnClass') === lnClass) - .map(lNode => lNode.getAttribute('lnInst')!) - ); - - generators.set(lnClass, () => { - const uniqueLnInst = lnInstRange.find(lnInst => !lnInsts.has(lnInst)); - if (uniqueLnInst) lnInsts.add(uniqueLnInst); - return uniqueLnInst; - }); - } - - return generators.get(lnClass)!(); - }; -} - -/** - * Format xml string in "pretty print" style and return as a string - * @param xml - xml document as a string - * @param tab - character to use as a tab - * @returns string with pretty print formatting - */ -export function formatXml(xml: string, tab?: string): string { - let formatted = '', - indent = ''; - - if (!tab) tab = '\t'; - xml.split(/>\s*\r\n'; - if (node.match(/^]*[^/]$/)) indent += tab; - }); - return formatted.substring(1, formatted.length - 3); -} - -/** - * @param lnElements - The LN elements to be scanned for `inst` - * values already in use. - * @returns first available inst value for LN or undefined if no inst is available - */ -export function minAvailableLogicalNodeInstance( - lnElements: Element[] -): string | undefined { - const lnInsts = new Set(lnElements.map(ln => ln.getAttribute('inst') || '')); - return lnInstRange.find(lnInst => !lnInsts.has(lnInst)); -} - declare global { interface ElementEventMap { ['wizard']: WizardEvent; diff --git a/packages/openscd/src/foundation/compare.ts b/packages/openscd/src/foundation/compare.ts index 7607184fb..eb77393b0 100644 --- a/packages/openscd/src/foundation/compare.ts +++ b/packages/openscd/src/foundation/compare.ts @@ -6,7 +6,7 @@ import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; import '@material/mwc-icon'; -import { identity } from '../foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { SVGTemplateResult } from 'lit-html'; import { attributeIcon, contentIcon, elementIcon } from '../icons/compare.js'; diff --git a/packages/openscd/src/foundation/ied.ts b/packages/openscd/src/foundation/ied.ts index e8ea7fb72..fcaf0954f 100644 --- a/packages/openscd/src/foundation/ied.ts +++ b/packages/openscd/src/foundation/ied.ts @@ -1,4 +1,4 @@ -import { find, identity } from '../foundation.js'; +import { find, identity } from '@openscd/core/foundation/scl.js'; import { Delete } from '@openscd/core/foundation/deprecated/editor.js'; /** diff --git a/packages/openscd/src/foundation/scl.ts b/packages/openscd/src/foundation/scl.ts index 966d47ead..16864d963 100644 --- a/packages/openscd/src/foundation/scl.ts +++ b/packages/openscd/src/foundation/scl.ts @@ -1,4 +1,4 @@ -import { crossProduct } from '../foundation.js'; +import { crossProduct } from '@openscd/core/foundation/scl.js'; function getDataModelChildren(parent: Element): Element[] { if (['LDevice', 'Server'].includes(parent.tagName)) diff --git a/packages/openscd/src/wizard-dialog.ts b/packages/openscd/src/wizard-dialog.ts index 738f13b51..381f781cb 100644 --- a/packages/openscd/src/wizard-dialog.ts +++ b/packages/openscd/src/wizard-dialog.ts @@ -42,11 +42,13 @@ import { isWizardFactory, checkValidity, reportValidity, - identity, WizardInput, WizardMenuActor, - formatXml, } from './foundation.js'; +import { + identity, + formatXml +} from '@openscd/core/foundation/scl.js'; function renderWizardInput( input: TemplateResult | WizardInput diff --git a/packages/openscd/src/wizards.ts b/packages/openscd/src/wizards.ts index d31ed11b4..36ecbb409 100644 --- a/packages/openscd/src/wizards.ts +++ b/packages/openscd/src/wizards.ts @@ -12,6 +12,8 @@ import { identity, isEqual, isSame, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, Wizard, WizardActor, diff --git a/packages/openscd/test/foundation.ts b/packages/openscd/test/foundation.ts index 5a062dc60..6b09a1540 100644 --- a/packages/openscd/test/foundation.ts +++ b/packages/openscd/test/foundation.ts @@ -1,7 +1,7 @@ /* eslint-disable no-control-regex */ import fc, { Arbitrary, array, hexaString, integer, tuple } from 'fast-check'; -import { patterns } from '../src/foundation.js'; +import { patterns } from '@openscd/core/foundation/scl.js'; export function invertedRegex( re: RegExp, diff --git a/packages/openscd/test/mock-editor.ts b/packages/openscd/test/mock-editor.ts new file mode 100644 index 000000000..a03d34d15 --- /dev/null +++ b/packages/openscd/test/mock-editor.ts @@ -0,0 +1,32 @@ +import { LitElement, customElement, property, state, html, query, TemplateResult } from 'lit-element'; + +import '../src/addons/Editor.js'; +import { OscdEditor } from '../src/addons/Editor.js'; + +@customElement('mock-editor') +export class MockEditor extends LitElement { + @property({ type: Object }) doc!: XMLDocument; + + @property({ type: String }) docName = 'test'; + + @property({ type: String }) docId = 'test'; + + @state() + editCount = -1; + + + @query('oscd-editor') + editor!: OscdEditor; + + render(): TemplateResult { + return html` + + `; + } +} diff --git a/packages/openscd/test/mock-wizard-editor.ts b/packages/openscd/test/mock-wizard-editor.ts index b30adfa32..e90cde24e 100644 --- a/packages/openscd/test/mock-wizard-editor.ts +++ b/packages/openscd/test/mock-wizard-editor.ts @@ -1,6 +1,4 @@ -import { Editing } from '../src/Editing.js'; import { - LitElement, customElement, TemplateResult, html, @@ -8,15 +6,21 @@ import { } from 'lit-element'; import '../src/addons/Wizards.js'; -import { OscdWizards } from '../src/addons/Wizards.js'; +import type { OscdWizards } from '../src/addons/Wizards.js'; +import './mock-editor.js'; +import { MockEditor } from './mock-editor.js'; @customElement('mock-wizard-editor') -export class MockWizardEditor extends Editing(LitElement) { +export class MockWizardEditor extends MockEditor { + @query('oscd-wizards') wizards!: OscdWizards; render(): TemplateResult { - return html``; + return html` + + ${super.render()} + `; } get wizardUI() { diff --git a/packages/openscd/test/unit/Editing.test.ts b/packages/openscd/test/unit/Editing.test.ts index 4b1dfb835..93db4f859 100644 --- a/packages/openscd/test/unit/Editing.test.ts +++ b/packages/openscd/test/unit/Editing.test.ts @@ -1,13 +1,13 @@ import { html, fixture, expect } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import './mock-editor.js'; -import { MockEditor } from './mock-editor.js'; +import '../../src/addons/Editor.js'; +import { OscdEditor } from '../../src/addons/Editor.js'; import { createUpdateAction, newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; describe('EditingElement', () => { - let elm: MockEditor; + let elm: OscdEditor; let doc: XMLDocument; let parent: Element; let element: Element; @@ -19,8 +19,8 @@ describe('EditingElement', () => { doc = await fetch('/test/testfiles/Editing.scd') .then(response => response.text()) .then(str => new DOMParser().parseFromString(str, 'application/xml')); - elm = ( - await fixture(html``) + elm = ( + await fixture(html``) ); parent = elm.doc!.querySelector('VoltageLevel[name="E1"]')!; diff --git a/packages/openscd/test/unit/finder-list.test.ts b/packages/openscd/test/unit/finder-list.test.ts index d7a62c0b3..82568d40a 100644 --- a/packages/openscd/test/unit/finder-list.test.ts +++ b/packages/openscd/test/unit/finder-list.test.ts @@ -4,7 +4,7 @@ import { ListItem } from '@material/mwc-list/mwc-list-item'; import '../../src/finder-list.js'; import { Directory, FinderList, Path } from '../../src/finder-list.js'; -import { depth } from '../../src/foundation.js'; +import { depth } from '@openscd/core/foundation/scl.js'; const pathA = ['e2', 'e1', 'e4']; const pathB = ['e1', 'e4']; diff --git a/packages/openscd/test/unit/foundation.test.ts b/packages/openscd/test/unit/foundation.test.ts index f67645613..cbcdf0c33 100644 --- a/packages/openscd/test/unit/foundation.test.ts +++ b/packages/openscd/test/unit/foundation.test.ts @@ -12,13 +12,16 @@ import { getSclSchemaVersion, getUniqueElementName, identity, - ifImplemented, newLnInstGenerator, - newWizardEvent, SCLTag, tags, isSame, - minAvailableLogicalNodeInstance, + minAvailableLogicalNodeInstance +} from '@openscd/core/foundation/scl.js'; + +import { + ifImplemented, + newWizardEvent } from '../../src/foundation.js'; import { diff --git a/packages/openscd/test/unit/mock-editor.ts b/packages/openscd/test/unit/mock-editor.ts deleted file mode 100644 index 80dfaa511..000000000 --- a/packages/openscd/test/unit/mock-editor.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { LitElement, customElement } from 'lit-element'; -import { Editing } from '../../src/Editing.js'; - -@customElement('mock-editor') -export class MockEditor extends Editing(LitElement) {} diff --git a/packages/openscd/test/unit/wizard-dialog.test.ts b/packages/openscd/test/unit/wizard-dialog.test.ts index 3419c35a0..b6b0b5646 100644 --- a/packages/openscd/test/unit/wizard-dialog.test.ts +++ b/packages/openscd/test/unit/wizard-dialog.test.ts @@ -1,6 +1,6 @@ import { html, fixture, expect } from '@open-wc/testing'; -import './mock-editor.js'; +import '../mock-editor.js'; import { Button } from '@material/mwc-button'; diff --git a/packages/openscd/tsconfig.build.json b/packages/openscd/tsconfig.build.json new file mode 100644 index 000000000..49a89b6da --- /dev/null +++ b/packages/openscd/tsconfig.build.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "files": [ + "./test/mock-open-scd.ts", + "./test/mock-wizard-editor.ts" + ], + "exclude": [ + "./test/**/*.ts", + ], +} diff --git a/packages/openscd/tsconfig.json b/packages/openscd/tsconfig.json index 0f6bc4045..3e3a3db60 100644 --- a/packages/openscd/tsconfig.json +++ b/packages/openscd/tsconfig.json @@ -16,7 +16,7 @@ "sourceMap": true, "inlineSources": true, "resolveJsonModule": true, - "rootDir": "./src" + "declaration": true }, - "include": ["./src/**/*.ts"] + "include": ["./src/**/*.ts", "./test/**/*.ts"], } diff --git a/packages/openscd/web-test-runner.config.mjs b/packages/openscd/web-test-runner.config.mjs index 5eea2baf7..9fa9cbe8f 100644 --- a/packages/openscd/web-test-runner.config.mjs +++ b/packages/openscd/web-test-runner.config.mjs @@ -1,9 +1,15 @@ // import { playwrightLauncher } from '@web/test-runner-playwright'; import { esbuildPlugin } from '@web/dev-server-esbuild'; +import { fileURLToPath } from 'url'; export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({ /** we run test directly on TypeScript files */ - plugins: [esbuildPlugin({ ts: true })], + plugins: [ + esbuildPlugin({ + ts: true, + tsconfig: fileURLToPath(new URL('./tsconfig.json', import.meta.url)), + }), + ], /** Resolve bare module imports */ nodeResolve: true, diff --git a/packages/plugins/package.json b/packages/plugins/package.json index d6b082645..1799cae28 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -61,7 +61,7 @@ "release:patch": "standard-version --release-as patch", "release:major": "standard-version --release-as major", "build": "npm run doc && npm run bundle", - "bundle": "tsc" + "bundle": "tsc -p tsconfig.build.json" }, "devDependencies": { "@commitlint/cli": "^13.1.0", @@ -69,32 +69,30 @@ "@open-wc/eslint-config": "^4.3.0", "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", - "@snowpack/plugin-typescript": "^1.2.1", "@types/marked": "^2.0.4", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", - "@web/dev-server-esbuild": "^0.2.16", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", + "@web/dev-server-esbuild": "^1.0.2", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", "prettier": "^2.3.2", "sinon": "^17.0.1", - "snowpack": "3.8.6", "source-map": "^0.7.4", "standard-version": "^9.3.1", "tslib": "^2.3.1", "typedoc": "^0.23.8", "typedoc-plugin-markdown": "3.12.0", - "typescript": "^4.7.4", + "typescript": "^5.0.4", "web-component-analyzer": "^1.1.6", "workbox-cli": "^6.2.4" }, diff --git a/packages/plugins/snowpack.config.mjs b/packages/plugins/snowpack.config.mjs deleted file mode 100644 index 2f0bd1547..000000000 --- a/packages/plugins/snowpack.config.mjs +++ /dev/null @@ -1,34 +0,0 @@ -export default { - plugins: ['@snowpack/plugin-typescript'], - packageOptions: { - external: [ - '@web/dev-server-core', - '@web/dev-server-esbuild', - 'esbuild', - 'crypto', - ], - }, - exclude: [ - '**/*.@(spec|test).@(js|mjs)', - '**/test/**/*', - '**/out-tsc/**/*', - '**/.editorconfig', - '**/.eslintrc.cjs', - '**/.git/**/*', - '**/.gitignore', - '**/.idea/**/*', - '**/.travis.yml', - '**/package*', - '**/tsconfig.json', - '**/web-test-runner.config.mjs', - '**/node_modules/**/*', - ], - workspaceRoot: '../../', - mount: { - '../open-scd/': '/open-scd/', - './': '/', - }, - alias: { - '@openscd/open-scd': '../open-scd/', - }, -}; diff --git a/packages/plugins/src/editors/Communication.ts b/packages/plugins/src/editors/Communication.ts index a5e83aff4..49c29c138 100644 --- a/packages/plugins/src/editors/Communication.ts +++ b/packages/plugins/src/editors/Communication.ts @@ -4,11 +4,11 @@ import { get } from 'lit-translate'; import '@material/mwc-fab'; import './communication/subnetwork-editor.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { - newWizardEvent, createElement, isPublic, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { newActionEvent} from '@openscd/core/foundation/deprecated/editor.js'; import { createSubNetworkWizard } from '../wizards/subnetwork.js'; diff --git a/packages/plugins/src/editors/GooseSubscriberDataBinding.ts b/packages/plugins/src/editors/GooseSubscriberDataBinding.ts index 4d1c3a75a..ed05a6b95 100644 --- a/packages/plugins/src/editors/GooseSubscriberDataBinding.ts +++ b/packages/plugins/src/editors/GooseSubscriberDataBinding.ts @@ -1,6 +1,6 @@ import { css, html, LitElement, property, TemplateResult } from 'lit-element'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import type { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import './subscription/fcda-binding-list.js'; import './subscription/later-binding/ext-ref-ln-binding-list.js'; diff --git a/packages/plugins/src/editors/IED.ts b/packages/plugins/src/editors/IED.ts index 052a1309c..8130aa020 100644 --- a/packages/plugins/src/editors/IED.ts +++ b/packages/plugins/src/editors/IED.ts @@ -13,8 +13,8 @@ import { nothing } from 'lit-html'; import '@material/mwc-list/mwc-check-list-item'; import '@material/mwc-list/mwc-radio-list-item'; -import '@openscd/open-scd/src/oscd-filter-button.js'; -import { SelectedItemsChangedEvent } from '@openscd/open-scd/src/oscd-filter-button.js'; +import '@openscd/open-scd/oscd-filter-button.js'; +import { SelectedItemsChangedEvent } from '@openscd/open-scd/oscd-filter-button.js'; import './ied/ied-container.js'; import './ied/element-path.js'; @@ -23,9 +23,9 @@ import { compareNames, getDescriptionAttribute, getNameAttribute, -} from '@openscd/open-scd/src/foundation.js'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; -import { getIcon } from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/core/foundation/scl.js'; +import { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; +import { getIcon } from '@openscd/open-scd/icons/icons.js'; /** An editor [[`plugin`]] for editing the `IED` section. */ export default class IedPlugin extends LitElement { diff --git a/packages/plugins/src/editors/SMVSubscriberDataBinding.ts b/packages/plugins/src/editors/SMVSubscriberDataBinding.ts index a38b09d16..da95bc7b8 100644 --- a/packages/plugins/src/editors/SMVSubscriberDataBinding.ts +++ b/packages/plugins/src/editors/SMVSubscriberDataBinding.ts @@ -1,6 +1,6 @@ import { css, html, LitElement, property, TemplateResult } from 'lit-element'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import './subscription/fcda-binding-list.js'; import './subscription/later-binding/ext-ref-ln-binding-list.js'; diff --git a/packages/plugins/src/editors/SingleLineDiagram.ts b/packages/plugins/src/editors/SingleLineDiagram.ts index 3792f1124..50c8a339f 100644 --- a/packages/plugins/src/editors/SingleLineDiagram.ts +++ b/packages/plugins/src/editors/SingleLineDiagram.ts @@ -16,9 +16,9 @@ import { getNameAttribute, getPathNameAttribute, identity, - newWizardEvent, SCLTag, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { addLabelToBay, addLabelToBusBar, @@ -44,13 +44,13 @@ import { getConnectedTerminals, isBusBar, } from './singlelinediagram/foundation.js'; -import { isSCLNamespace } from '@openscd/open-scd/src/schemas.js'; +import { isSCLNamespace } from '@openscd/open-scd/schemas.js'; import { wizards } from './singlelinediagram/wizards/wizard-library.js'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; import '@material/mwc-textfield'; /* diff --git a/packages/plugins/src/editors/Substation.ts b/packages/plugins/src/editors/Substation.ts index f52b95db6..74555effd 100644 --- a/packages/plugins/src/editors/Substation.ts +++ b/packages/plugins/src/editors/Substation.ts @@ -4,7 +4,7 @@ import { get } from 'lit-translate'; import '@material/mwc-fab'; import './substation/zeroline-pane.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { wizards } from '../wizards/wizard-library.js'; /** An editor [[`plugin`]] for editing the `Substation` section. */ diff --git a/packages/plugins/src/editors/Templates.ts b/packages/plugins/src/editors/Templates.ts index 735764826..0bde62cf2 100644 --- a/packages/plugins/src/editors/Templates.ts +++ b/packages/plugins/src/editors/Templates.ts @@ -6,12 +6,12 @@ import '@material/mwc-icon-button'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { createElement, identity, - newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { styles } from './templates/foundation.js'; diff --git a/packages/plugins/src/editors/cleanup/control-blocks-container.ts b/packages/plugins/src/editors/cleanup/control-blocks-container.ts index 5bab88f38..58a6a3a1a 100644 --- a/packages/plugins/src/editors/cleanup/control-blocks-container.ts +++ b/packages/plugins/src/editors/cleanup/control-blocks-container.ts @@ -24,20 +24,22 @@ import { Checkbox } from '@material/mwc-checkbox'; import { List, MWCListIndex } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { newSubWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Delete, newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { styles } from '../templates/foundation.js'; import { controlBlockIcons, getFilterIcon, iconType, -} from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/icons/icons.js'; import { editGseControlWizard, getGSE } from '../../wizards/gsecontrol.js'; import { editReportControlWizard } from '../../wizards/reportcontrol.js'; import { diff --git a/packages/plugins/src/editors/cleanup/datasets-container.ts b/packages/plugins/src/editors/cleanup/datasets-container.ts index 4e7985504..1e14044e5 100644 --- a/packages/plugins/src/editors/cleanup/datasets-container.ts +++ b/packages/plugins/src/editors/cleanup/datasets-container.ts @@ -22,15 +22,17 @@ import { Button } from '@material/mwc-button'; import { List, MWCListIndex } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { editDataSetWizard } from '../../wizards/dataset.js'; import { styles } from '../templates/foundation.js'; import { identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { newSubWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { cleanSCLItems, identitySort } from './foundation.js'; diff --git a/packages/plugins/src/editors/cleanup/datatypes-container.ts b/packages/plugins/src/editors/cleanup/datatypes-container.ts index ce2aaec90..f28a02ca3 100644 --- a/packages/plugins/src/editors/cleanup/datatypes-container.ts +++ b/packages/plugins/src/editors/cleanup/datatypes-container.ts @@ -24,13 +24,15 @@ import { Checkbox } from '@material/mwc-checkbox'; import { List, MWCListIndex } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { newSubWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js'; @@ -39,7 +41,7 @@ import { dataTypeTemplateIcons, getFilterIcon, iconType, -} from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/icons/icons.js'; import { lNodeTypeWizard } from '../templates/lnodetype-wizard.js'; import { editDaTypeWizard } from '../templates/datype-wizards.js'; diff --git a/packages/plugins/src/editors/cleanup/foundation.ts b/packages/plugins/src/editors/cleanup/foundation.ts index 4aac403cf..c9d940fa8 100644 --- a/packages/plugins/src/editors/cleanup/foundation.ts +++ b/packages/plugins/src/editors/cleanup/foundation.ts @@ -1,6 +1,6 @@ 'use strict'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { Delete } from '@openscd/core/foundation/deprecated/editor.js'; /** diff --git a/packages/plugins/src/editors/communication/connectedap-editor.ts b/packages/plugins/src/editors/communication/connectedap-editor.ts index 84296c56d..869f27af5 100644 --- a/packages/plugins/src/editors/communication/connectedap-editor.ts +++ b/packages/plugins/src/editors/communication/connectedap-editor.ts @@ -8,8 +8,8 @@ import { import '@material/mwc-fab'; -import '@openscd/open-scd/src/action-icon.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/action-icon.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { editConnectedApWizard } from '../../wizards/connectedap.js'; diff --git a/packages/plugins/src/editors/communication/gse-editor.ts b/packages/plugins/src/editors/communication/gse-editor.ts index 54dbcc37c..4bff795f1 100644 --- a/packages/plugins/src/editors/communication/gse-editor.ts +++ b/packages/plugins/src/editors/communication/gse-editor.ts @@ -9,10 +9,10 @@ import { import '@material/mwc-icon'; -import '@openscd/open-scd/src/action-icon.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/action-icon.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; -import { sizableGooseIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { sizableGooseIcon } from '@openscd/open-scd/icons/icons.js'; import { editGseWizard } from '../../wizards/gse.js'; @customElement('gse-editor') diff --git a/packages/plugins/src/editors/communication/smv-editor.ts b/packages/plugins/src/editors/communication/smv-editor.ts index 18966f24b..da08662d4 100644 --- a/packages/plugins/src/editors/communication/smv-editor.ts +++ b/packages/plugins/src/editors/communication/smv-editor.ts @@ -9,9 +9,9 @@ import { import '@material/mwc-icon'; -import '@openscd/open-scd/src/action-icon.js'; -import { sizableSmvIcon } from '@openscd/open-scd/src/icons/icons.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/action-icon.js'; +import { sizableSmvIcon } from '@openscd/open-scd/icons/icons.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { editSMvWizard } from '../../wizards/smv.js'; diff --git a/packages/plugins/src/editors/communication/subnetwork-editor.ts b/packages/plugins/src/editors/communication/subnetwork-editor.ts index 40c5efde8..bd3d2aec3 100644 --- a/packages/plugins/src/editors/communication/subnetwork-editor.ts +++ b/packages/plugins/src/editors/communication/subnetwork-editor.ts @@ -14,9 +14,11 @@ import './connectedap-editor.js'; import './gse-editor.js'; import './smv-editor.js'; import { - newWizardEvent, compareNames, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { createConnectedApWizard } from '../../wizards/connectedap.js'; import { wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/ied/access-point-container.ts b/packages/plugins/src/editors/ied/access-point-container.ts index 88be47fdc..06379f10a 100644 --- a/packages/plugins/src/editors/ied/access-point-container.ts +++ b/packages/plugins/src/editors/ied/access-point-container.ts @@ -13,12 +13,14 @@ import { get } from 'lit-translate'; import { getDescriptionAttribute, getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; -import { accessPointIcon } from '@openscd/open-scd/src/icons/ied-icons.js'; +} from '@openscd/open-scd/foundation.js'; +import { accessPointIcon } from '@openscd/open-scd/icons/ied-icons.js'; import { editServicesWizard } from '../../wizards/services.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './server-container.js'; import { Container } from './foundation.js'; diff --git a/packages/plugins/src/editors/ied/da-container.ts b/packages/plugins/src/editors/ied/da-container.ts index 14df87d12..954ecd12d 100644 --- a/packages/plugins/src/editors/ied/da-container.ts +++ b/packages/plugins/src/editors/ied/da-container.ts @@ -12,11 +12,13 @@ import { get } from 'lit-translate'; import '@material/mwc-icon-button-toggle'; import { IconButtonToggle } from '@material/mwc-icon-button-toggle'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import { getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { wizards } from '../../wizards/wizard-library.js'; import { DaiFieldTypes, @@ -32,7 +34,7 @@ import { createDAIWizard } from '../../wizards/dai.js'; import { determineUninitializedStructure, initializeElements, -} from '@openscd/open-scd/src/foundation/dai.js'; +} from '@openscd/open-scd/foundation/dai.js'; /** [[`IED`]] plugin subeditor for editing `(B)DA` element. */ @customElement('da-container') diff --git a/packages/plugins/src/editors/ied/da-wizard.ts b/packages/plugins/src/editors/ied/da-wizard.ts index 2f8b48622..17575526b 100644 --- a/packages/plugins/src/editors/ied/da-wizard.ts +++ b/packages/plugins/src/editors/ied/da-wizard.ts @@ -9,9 +9,11 @@ import { getDescriptionAttribute, getInstanceAttribute, getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { Wizard, -} from '@openscd/open-scd/src/foundation.js'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +} from '@openscd/open-scd/foundation.js'; +import { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { findDOTypeElement, findElement, diff --git a/packages/plugins/src/editors/ied/do-container.ts b/packages/plugins/src/editors/ied/do-container.ts index 9ae583f12..4e60ce0ec 100644 --- a/packages/plugins/src/editors/ied/do-container.ts +++ b/packages/plugins/src/editors/ied/do-container.ts @@ -11,14 +11,16 @@ import { get } from 'lit-translate'; import '@material/mwc-icon-button-toggle'; import { IconButtonToggle } from '@material/mwc-icon-button-toggle'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './da-container.js'; import { getDescriptionAttribute, getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { createDoInfoWizard } from './do-wizard.js'; import { Container, diff --git a/packages/plugins/src/editors/ied/do-wizard.ts b/packages/plugins/src/editors/ied/do-wizard.ts index d2e07f05d..01831d239 100644 --- a/packages/plugins/src/editors/ied/do-wizard.ts +++ b/packages/plugins/src/editors/ied/do-wizard.ts @@ -9,9 +9,11 @@ import { getDescriptionAttribute, getInstanceAttribute, getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { Wizard, -} from '@openscd/open-scd/src/foundation.js'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +} from '@openscd/open-scd/foundation.js'; +import { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { findDOTypeElement, findElement, diff --git a/packages/plugins/src/editors/ied/foundation.ts b/packages/plugins/src/editors/ied/foundation.ts index c85048a75..192321a25 100644 --- a/packages/plugins/src/editors/ied/foundation.ts +++ b/packages/plugins/src/editors/ied/foundation.ts @@ -3,8 +3,8 @@ import { LitElement, property } from 'lit-element'; import { getInstanceAttribute, getNameAttribute, -} from '@openscd/open-scd/src/foundation.js'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +} from '@openscd/core/foundation/scl.js'; +import { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; /** Base class for all containers inside the IED Editor. */ export class Container extends LitElement { diff --git a/packages/plugins/src/editors/ied/ied-container.ts b/packages/plugins/src/editors/ied/ied-container.ts index 12134a61e..0809fd887 100644 --- a/packages/plugins/src/editors/ied/ied-container.ts +++ b/packages/plugins/src/editors/ied/ied-container.ts @@ -8,7 +8,7 @@ import { import { nothing } from 'lit-html'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './access-point-container.js'; import { wizards } from '../../wizards/wizard-library.js'; @@ -16,8 +16,10 @@ import { Container } from './foundation.js'; import { getDescriptionAttribute, getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { removeIEDWizard } from '../../wizards/ied.js'; import { editServicesWizard } from '../../wizards/services.js'; diff --git a/packages/plugins/src/editors/ied/ldevice-container.ts b/packages/plugins/src/editors/ied/ldevice-container.ts index 2c9f97456..48201bff7 100644 --- a/packages/plugins/src/editors/ied/ldevice-container.ts +++ b/packages/plugins/src/editors/ied/ldevice-container.ts @@ -18,11 +18,13 @@ import { getInstanceAttribute, getNameAttribute, getLdNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; -import { logicalDeviceIcon } from '@openscd/open-scd/src/icons/ied-icons.js'; +} from '@openscd/open-scd/foundation.js'; +import { logicalDeviceIcon } from '@openscd/open-scd/icons/ied-icons.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './ln-container.js'; import { wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/ied/ln-container.ts b/packages/plugins/src/editors/ied/ln-container.ts index 383b2891c..87ce7dcc9 100644 --- a/packages/plugins/src/editors/ied/ln-container.ts +++ b/packages/plugins/src/editors/ied/ln-container.ts @@ -6,10 +6,10 @@ import { get } from 'lit-translate'; import { getInstanceAttribute, getNameAttribute, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { IconButtonToggle } from '@material/mwc-icon-button-toggle'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './do-container.js'; import { Container } from './foundation.js'; diff --git a/packages/plugins/src/editors/ied/server-container.ts b/packages/plugins/src/editors/ied/server-container.ts index 7568ddc54..deb314f23 100644 --- a/packages/plugins/src/editors/ied/server-container.ts +++ b/packages/plugins/src/editors/ied/server-container.ts @@ -8,10 +8,10 @@ import { } from 'lit-element'; import { nothing } from 'lit-html'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './ldevice-container.js'; -import { serverIcon } from '@openscd/open-scd/src/icons/ied-icons.js'; -import { getDescriptionAttribute } from '@openscd/open-scd/src/foundation.js'; +import { serverIcon } from '@openscd/open-scd/icons/ied-icons.js'; +import { getDescriptionAttribute } from '@openscd/core/foundation/scl.js'; import { Container } from './foundation.js'; /** [[`IED`]] plugin subeditor for editing `Server` element. */ diff --git a/packages/plugins/src/editors/protocol104/connectedap-editor.ts b/packages/plugins/src/editors/protocol104/connectedap-editor.ts index 73b8e72de..417742af2 100644 --- a/packages/plugins/src/editors/protocol104/connectedap-editor.ts +++ b/packages/plugins/src/editors/protocol104/connectedap-editor.ts @@ -2,8 +2,8 @@ import { customElement, html, property, TemplateResult } from 'lit-element'; import '@material/mwc-fab'; -import '@openscd/open-scd/src/action-icon.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/action-icon.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { editConnectedApWizard } from './wizards/connectedap.js'; import { Base104Container } from './base-container.js'; diff --git a/packages/plugins/src/editors/protocol104/doi-container.ts b/packages/plugins/src/editors/protocol104/doi-container.ts index 5e10baaf2..0dcd33635 100644 --- a/packages/plugins/src/editors/protocol104/doi-container.ts +++ b/packages/plugins/src/editors/protocol104/doi-container.ts @@ -17,9 +17,9 @@ import '@material/mwc-icon-button-toggle'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import { get104DetailsLine, diff --git a/packages/plugins/src/editors/protocol104/foundation/cdc.ts b/packages/plugins/src/editors/protocol104/foundation/cdc.ts index 5a8256fd9..a52040cea 100644 --- a/packages/plugins/src/editors/protocol104/foundation/cdc.ts +++ b/packages/plugins/src/editors/protocol104/foundation/cdc.ts @@ -1,7 +1,9 @@ import { getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Create } from '@openscd/core/foundation/deprecated/editor.js'; import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js'; @@ -22,7 +24,7 @@ import { editAddressWizard } from '../wizards/address.js'; import { determineUninitializedStructure, initializeElements, -} from '@openscd/open-scd/src/foundation/dai.js'; +} from '@openscd/open-scd/foundation/dai.js'; import { get } from 'lit-translate'; /** diff --git a/packages/plugins/src/editors/protocol104/foundation/foundation.ts b/packages/plugins/src/editors/protocol104/foundation/foundation.ts index 38be5a60f..28d251607 100644 --- a/packages/plugins/src/editors/protocol104/foundation/foundation.ts +++ b/packages/plugins/src/editors/protocol104/foundation/foundation.ts @@ -5,7 +5,7 @@ import { get } from 'lit-translate'; import { getInstanceAttribute, getNameAttribute, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { typeMaxLength } from '../../../wizards/foundation/p-types.js'; import { typeDescriptiveNameKeys, typePattern } from './p-types.js'; diff --git a/packages/plugins/src/editors/protocol104/foundation/private.ts b/packages/plugins/src/editors/protocol104/foundation/private.ts index 5a34cc7db..6fd85543e 100644 --- a/packages/plugins/src/editors/protocol104/foundation/private.ts +++ b/packages/plugins/src/editors/protocol104/foundation/private.ts @@ -1,4 +1,4 @@ -import { SCL_NAMESPACE } from '@openscd/open-scd/src/schemas.js'; +import { SCL_NAMESPACE } from '@openscd/open-scd/schemas.js'; export const PROTOCOL_104_PRIVATE = 'IEC_60870_5_104'; export const PROTOCOL_104_NS = diff --git a/packages/plugins/src/editors/protocol104/ied-container.ts b/packages/plugins/src/editors/protocol104/ied-container.ts index 3ef6d56e6..0b98b8143 100644 --- a/packages/plugins/src/editors/protocol104/ied-container.ts +++ b/packages/plugins/src/editors/protocol104/ied-container.ts @@ -17,9 +17,9 @@ import '@material/mwc-icon-button-toggle'; import { getDescriptionAttribute, getNameAttribute, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import { getFullPath } from './foundation/foundation.js'; diff --git a/packages/plugins/src/editors/protocol104/network-container.ts b/packages/plugins/src/editors/protocol104/network-container.ts index f95c8230e..56c507657 100644 --- a/packages/plugins/src/editors/protocol104/network-container.ts +++ b/packages/plugins/src/editors/protocol104/network-container.ts @@ -5,8 +5,10 @@ import './subnetwork-container.js'; import { compareNames, createElement, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { createSubNetworkWizard } from './wizards/subnetwork.js'; import { Base104Container } from './base-container.js'; diff --git a/packages/plugins/src/editors/protocol104/subnetwork-container.ts b/packages/plugins/src/editors/protocol104/subnetwork-container.ts index dc78c92ba..3c26adcc0 100644 --- a/packages/plugins/src/editors/protocol104/subnetwork-container.ts +++ b/packages/plugins/src/editors/protocol104/subnetwork-container.ts @@ -12,8 +12,10 @@ import './connectedap-editor.js'; import { compareNames, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { get } from 'lit-translate'; import { createConnectedApWizard } from './wizards/connectedap.js'; import { Base104Container } from './base-container.js'; diff --git a/packages/plugins/src/editors/protocol104/values-container.ts b/packages/plugins/src/editors/protocol104/values-container.ts index 06eeb7180..e2dbfd218 100644 --- a/packages/plugins/src/editors/protocol104/values-container.ts +++ b/packages/plugins/src/editors/protocol104/values-container.ts @@ -9,8 +9,10 @@ import { get } from 'lit-translate'; import { compareNames, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import './ied-container.js'; diff --git a/packages/plugins/src/editors/protocol104/wizards/address.ts b/packages/plugins/src/editors/protocol104/wizards/address.ts index 8f9c505b5..786f0dbee 100644 --- a/packages/plugins/src/editors/protocol104/wizards/address.ts +++ b/packages/plugins/src/editors/protocol104/wizards/address.ts @@ -3,22 +3,24 @@ import { get } from 'lit-translate'; import { live } from 'lit-html/directives/live'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; import '@material/mwc-textarea'; import { cloneElement, getNameAttribute, - getValue, patterns, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-select.js'; import { getCdcValueFromDOIElement, diff --git a/packages/plugins/src/editors/protocol104/wizards/connectedap.ts b/packages/plugins/src/editors/protocol104/wizards/connectedap.ts index b0681dca6..9d4ed301e 100644 --- a/packages/plugins/src/editors/protocol104/wizards/connectedap.ts +++ b/packages/plugins/src/editors/protocol104/wizards/connectedap.ts @@ -14,8 +14,8 @@ import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/filtered-list.js'; import { pTypes104, @@ -27,16 +27,18 @@ import { cloneElement, compareNames, createElement, - getValue, identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newSubWizardEvent, newWizardEvent, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, EditorAction, diff --git a/packages/plugins/src/editors/protocol104/wizards/createAddresses.ts b/packages/plugins/src/editors/protocol104/wizards/createAddresses.ts index e48e2907b..64579faa3 100644 --- a/packages/plugins/src/editors/protocol104/wizards/createAddresses.ts +++ b/packages/plugins/src/editors/protocol104/wizards/createAddresses.ts @@ -1,6 +1,6 @@ import { get } from 'lit-translate'; import { html, TemplateResult } from 'lit-element'; -import { Select } from '@material/mwc-select'; +import { Select } from '@material/mwc-select/mwc-select.js'; import { SelectedEvent } from '@material/mwc-list/mwc-list-foundation'; import { Switch } from '@material/mwc-switch'; @@ -9,18 +9,20 @@ import '@material/mwc-formfield'; import '@material/mwc-list/mwc-list-item'; import '@material/mwc-switch'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/WizardDivider.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/WizardDivider.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; import { getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { getValue, newWizardEvent, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, EditorAction, diff --git a/packages/plugins/src/editors/protocol104/wizards/doi.ts b/packages/plugins/src/editors/protocol104/wizards/doi.ts index bf6fb87f1..c3bad7224 100644 --- a/packages/plugins/src/editors/protocol104/wizards/doi.ts +++ b/packages/plugins/src/editors/protocol104/wizards/doi.ts @@ -5,15 +5,17 @@ import '@material/mwc-textarea'; import { getNameAttribute, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, Wizard, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, newActionEvent, } from '@openscd/core/foundation/deprecated/editor.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { getCdcValueFromDOIElement, diff --git a/packages/plugins/src/editors/protocol104/wizards/logiclink.ts b/packages/plugins/src/editors/protocol104/wizards/logiclink.ts index 0b33a9439..405870120 100644 --- a/packages/plugins/src/editors/protocol104/wizards/logiclink.ts +++ b/packages/plugins/src/editors/protocol104/wizards/logiclink.ts @@ -1,18 +1,20 @@ import { html } from 'lit-element'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { pTypesLogicLink104 } from '../foundation/p-types.js'; import { cloneElement, createElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, newWizardEvent, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, EditorAction, diff --git a/packages/plugins/src/editors/protocol104/wizards/redundancygroup.ts b/packages/plugins/src/editors/protocol104/wizards/redundancygroup.ts index d6030db20..41cecdb96 100644 --- a/packages/plugins/src/editors/protocol104/wizards/redundancygroup.ts +++ b/packages/plugins/src/editors/protocol104/wizards/redundancygroup.ts @@ -1,11 +1,13 @@ import { html } from 'lit-element'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { pTypesRedundancyGroup104 } from '../foundation/p-types.js'; import { cloneElement, createElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, newSubWizardEvent, newWizardEvent, @@ -13,7 +15,7 @@ import { WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, EditorAction, diff --git a/packages/plugins/src/editors/protocol104/wizards/selectDo.ts b/packages/plugins/src/editors/protocol104/wizards/selectDo.ts index 1f8c0dd3c..760c58ad4 100644 --- a/packages/plugins/src/editors/protocol104/wizards/selectDo.ts +++ b/packages/plugins/src/editors/protocol104/wizards/selectDo.ts @@ -1,23 +1,25 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/finder-list.js'; +import '@openscd/open-scd/finder-list.js'; import { getDisplayString, getReader, } from '../../../wizards/foundation/finder.js'; -import { FinderList, Path } from '@openscd/open-scd/src/finder-list.js'; +import { FinderList, Path } from '@openscd/open-scd/finder-list.js'; import { compareNames, getNameAttribute, identity, - newSubWizardEvent, find, +} from '@openscd/core/foundation/scl.js'; +import { + newSubWizardEvent, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { createAddressesWizard } from './createAddresses.js'; import { SupportedCdcType, supportedCdcTypes } from '../foundation/cdc.js'; import { PROTOCOL_104_PRIVATE } from '../foundation/private.js'; diff --git a/packages/plugins/src/editors/protocol104/wizards/subnetwork.ts b/packages/plugins/src/editors/protocol104/wizards/subnetwork.ts index 4abe0d700..eb5ac3817 100644 --- a/packages/plugins/src/editors/protocol104/wizards/subnetwork.ts +++ b/packages/plugins/src/editors/protocol104/wizards/subnetwork.ts @@ -2,17 +2,19 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; import { createElement, + patterns, +} from '@openscd/core/foundation/scl.js'; +import { getMultiplier, getValue, - patterns, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; /** Initial attribute values suggested for `SubNetwork` creation for the 104 plugin */ const initial = { diff --git a/packages/plugins/src/editors/publisher/data-set-editor.ts b/packages/plugins/src/editors/publisher/data-set-editor.ts index 6d77dc0b6..c2598d05e 100644 --- a/packages/plugins/src/editors/publisher/data-set-editor.ts +++ b/packages/plugins/src/editors/publisher/data-set-editor.ts @@ -16,14 +16,14 @@ import { Button } from '@material/mwc-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import './data-set-element-editor.js'; -import '@openscd/open-scd/src/filtered-list.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { compareNames, identity, find, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { styles, updateElementReference } from './foundation.js'; @customElement('data-set-editor') diff --git a/packages/plugins/src/editors/publisher/data-set-element-editor.ts b/packages/plugins/src/editors/publisher/data-set-element-editor.ts index 874002c36..7d3beee1c 100644 --- a/packages/plugins/src/editors/publisher/data-set-element-editor.ts +++ b/packages/plugins/src/editors/publisher/data-set-element-editor.ts @@ -11,10 +11,10 @@ import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/filtered-list.js'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; @customElement('data-set-element-editor') export class DataSetElementEditor extends LitElement { diff --git a/packages/plugins/src/editors/publisher/foundation.ts b/packages/plugins/src/editors/publisher/foundation.ts index fe2ed4ef2..23fe021e1 100644 --- a/packages/plugins/src/editors/publisher/foundation.ts +++ b/packages/plugins/src/editors/publisher/foundation.ts @@ -1,6 +1,6 @@ import { css } from 'lit-element'; -import { identity, find } from '@openscd/open-scd/src/foundation.js'; +import { identity, find } from '@openscd/core/foundation/scl.js'; export function updateElementReference( newDoc: XMLDocument, diff --git a/packages/plugins/src/editors/publisher/gse-control-editor.ts b/packages/plugins/src/editors/publisher/gse-control-editor.ts index 99ac9bd77..628a79a22 100644 --- a/packages/plugins/src/editors/publisher/gse-control-editor.ts +++ b/packages/plugins/src/editors/publisher/gse-control-editor.ts @@ -17,15 +17,15 @@ import { ListItem } from '@material/mwc-list/mwc-list-item'; import './data-set-element-editor.js'; import './gse-control-element-editor.js'; -import '@openscd/open-scd/src/filtered-list.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; -import { gooseIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { gooseIcon } from '@openscd/open-scd/icons/icons.js'; import { compareNames, identity, find, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { styles, updateElementReference } from './foundation.js'; @customElement('gse-control-editor') diff --git a/packages/plugins/src/editors/publisher/gse-control-element-editor.ts b/packages/plugins/src/editors/publisher/gse-control-element-editor.ts index 638694ac1..24ec53850 100644 --- a/packages/plugins/src/editors/publisher/gse-control-element-editor.ts +++ b/packages/plugins/src/editors/publisher/gse-control-element-editor.ts @@ -11,11 +11,11 @@ import { get } from 'lit-translate'; import '@material/mwc-formfield'; import '@material/mwc-checkbox'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { maxLength, patterns } from '../../wizards/foundation/limits.js'; import { typeNullable, typePattern } from '../../wizards/foundation/p-types.js'; import { ifDefined } from 'lit-html/directives/if-defined.js'; diff --git a/packages/plugins/src/editors/publisher/report-control-editor.ts b/packages/plugins/src/editors/publisher/report-control-editor.ts index 70ed82469..aa381c8f8 100644 --- a/packages/plugins/src/editors/publisher/report-control-editor.ts +++ b/packages/plugins/src/editors/publisher/report-control-editor.ts @@ -17,15 +17,15 @@ import { ListItem } from '@material/mwc-list/mwc-list-item'; import './data-set-element-editor.js'; import './report-control-element-editor.js'; -import '@openscd/open-scd/src/filtered-list.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { compareNames, identity, find, -} from '@openscd/open-scd/src/foundation.js'; -import { reportIcon } from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/core/foundation/scl.js'; +import { reportIcon } from '@openscd/open-scd/icons/icons.js'; import { styles, updateElementReference } from './foundation.js'; @customElement('report-control-editor') diff --git a/packages/plugins/src/editors/publisher/report-control-element-editor.ts b/packages/plugins/src/editors/publisher/report-control-element-editor.ts index c16b7a357..6aa66968a 100644 --- a/packages/plugins/src/editors/publisher/report-control-element-editor.ts +++ b/packages/plugins/src/editors/publisher/report-control-element-editor.ts @@ -8,10 +8,10 @@ import { } from 'lit-element'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-checkbox.js'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { maxLength, patterns } from '../../wizards/foundation/limits.js'; @customElement('report-control-element-editor') diff --git a/packages/plugins/src/editors/publisher/sampled-value-control-editor.ts b/packages/plugins/src/editors/publisher/sampled-value-control-editor.ts index a734b29bf..16cc3030d 100644 --- a/packages/plugins/src/editors/publisher/sampled-value-control-editor.ts +++ b/packages/plugins/src/editors/publisher/sampled-value-control-editor.ts @@ -16,16 +16,16 @@ import { Button } from '@material/mwc-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import './data-set-element-editor.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import './sampled-value-control-element-editor.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { compareNames, identity, find, -} from '@openscd/open-scd/src/foundation.js'; -import { smvIcon } from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/core/foundation/scl.js'; +import { smvIcon } from '@openscd/open-scd/icons/icons.js'; import { styles, updateElementReference } from './foundation.js'; @customElement('sampled-value-control-editor') diff --git a/packages/plugins/src/editors/publisher/sampled-value-control-element-editor.ts b/packages/plugins/src/editors/publisher/sampled-value-control-element-editor.ts index f12f2deae..f567022d6 100644 --- a/packages/plugins/src/editors/publisher/sampled-value-control-element-editor.ts +++ b/packages/plugins/src/editors/publisher/sampled-value-control-element-editor.ts @@ -11,11 +11,11 @@ import { get } from 'lit-translate'; import '@material/mwc-formfield'; import '@material/mwc-checkbox'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { maxLength, patterns } from '../../wizards/foundation/limits.js'; import { typeNullable, typePattern } from '../../wizards/foundation/p-types.js'; import { ifDefined } from 'lit-html/directives/if-defined.js'; diff --git a/packages/plugins/src/editors/singlelinediagram/foundation.ts b/packages/plugins/src/editors/singlelinediagram/foundation.ts index 44c98fe33..0e2925bc8 100644 --- a/packages/plugins/src/editors/singlelinediagram/foundation.ts +++ b/packages/plugins/src/editors/singlelinediagram/foundation.ts @@ -1,7 +1,7 @@ import { getNameAttribute, getPathNameAttribute, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; /** * A point is a position containing a x and a y within a SCL file. diff --git a/packages/plugins/src/editors/singlelinediagram/sld-drawing.ts b/packages/plugins/src/editors/singlelinediagram/sld-drawing.ts index 14bbd6127..a532e74df 100644 --- a/packages/plugins/src/editors/singlelinediagram/sld-drawing.ts +++ b/packages/plugins/src/editors/singlelinediagram/sld-drawing.ts @@ -2,13 +2,13 @@ import { getDescriptionAttribute, getNameAttribute, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { getIcon } from '../substation/foundation.js'; import { connectivityNodeIcon, editIcon, powerTransformerTwoWindingIcon, -} from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/icons/icons.js'; import { getRelativeCoordinates, diff --git a/packages/plugins/src/editors/singlelinediagram/wizards/bay.ts b/packages/plugins/src/editors/singlelinediagram/wizards/bay.ts index 08f584930..dab6107ea 100644 --- a/packages/plugins/src/editors/singlelinediagram/wizards/bay.ts +++ b/packages/plugins/src/editors/singlelinediagram/wizards/bay.ts @@ -1,9 +1,9 @@ import { TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import { Wizard } from '@openscd/open-scd/src/foundation.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { renderBayWizard } from '../../../wizards/bay.js'; import { getDescAttribute, diff --git a/packages/plugins/src/editors/singlelinediagram/wizards/conductingequipment.ts b/packages/plugins/src/editors/singlelinediagram/wizards/conductingequipment.ts index 0fdb2bc8e..e68d69aef 100644 --- a/packages/plugins/src/editors/singlelinediagram/wizards/conductingequipment.ts +++ b/packages/plugins/src/editors/singlelinediagram/wizards/conductingequipment.ts @@ -2,10 +2,10 @@ import { TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import { Wizard } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; import { getDescAttribute, getNameAttribute, diff --git a/packages/plugins/src/editors/singlelinediagram/wizards/foundation.ts b/packages/plugins/src/editors/singlelinediagram/wizards/foundation.ts index 61b471554..3bdbfee80 100644 --- a/packages/plugins/src/editors/singlelinediagram/wizards/foundation.ts +++ b/packages/plugins/src/editors/singlelinediagram/wizards/foundation.ts @@ -3,10 +3,12 @@ import { get } from 'lit-translate'; import { cloneElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; import { SCL_COORDINATES_NAMESPACE } from '../foundation.js'; diff --git a/packages/plugins/src/editors/singlelinediagram/wizards/powertransformer.ts b/packages/plugins/src/editors/singlelinediagram/wizards/powertransformer.ts index 45cdcf3d3..58136a75c 100644 --- a/packages/plugins/src/editors/singlelinediagram/wizards/powertransformer.ts +++ b/packages/plugins/src/editors/singlelinediagram/wizards/powertransformer.ts @@ -1,9 +1,9 @@ import { TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import { Wizard } from '@openscd/open-scd/src/foundation.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { reservedNamesPowerTransformer, renderPowerTransformerWizard, diff --git a/packages/plugins/src/editors/singlelinediagram/wizards/wizard-library.ts b/packages/plugins/src/editors/singlelinediagram/wizards/wizard-library.ts index 5bbdf25bf..95827a32d 100644 --- a/packages/plugins/src/editors/singlelinediagram/wizards/wizard-library.ts +++ b/packages/plugins/src/editors/singlelinediagram/wizards/wizard-library.ts @@ -1,4 +1,5 @@ -import { SCLTag, Wizard } from '@openscd/open-scd/src/foundation.js'; +import { SCLTag } from '@openscd/core/foundation/scl.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; import { emptyWizard } from '../../../wizards/wizard-library.js'; import { editConnectivityNodeWizard } from '../../../wizards/connectivitynode.js'; diff --git a/packages/plugins/src/editors/subscription/fcda-binding-list.ts b/packages/plugins/src/editors/subscription/fcda-binding-list.ts index 4843785f7..be869e798 100644 --- a/packages/plugins/src/editors/subscription/fcda-binding-list.ts +++ b/packages/plugins/src/editors/subscription/fcda-binding-list.ts @@ -28,9 +28,11 @@ import { getDescriptionAttribute, getNameAttribute, identity, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; -import { gooseIcon, smvIcon } from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/foundation.js'; +import { gooseIcon, smvIcon } from '@openscd/open-scd/icons/icons.js'; import { wizards } from '../../wizards/wizard-library.js'; import { diff --git a/packages/plugins/src/editors/subscription/foundation.ts b/packages/plugins/src/editors/subscription/foundation.ts index bc52f5b26..bb8966631 100644 --- a/packages/plugins/src/editors/subscription/foundation.ts +++ b/packages/plugins/src/editors/subscription/foundation.ts @@ -7,10 +7,10 @@ import { getSclSchemaVersion, isPublic, minAvailableLogicalNodeInstance, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { Create, Delete } from '@openscd/core/foundation/deprecated/editor.js'; -import { getFcdaReferences } from '@openscd/open-scd/src/foundation/ied.js'; -import { SCL_NAMESPACE } from '@openscd/open-scd/src/schemas.js'; +import { getFcdaReferences } from '@openscd/open-scd/foundation/ied.js'; +import { SCL_NAMESPACE } from '@openscd/open-scd/schemas.js'; export enum View { PUBLISHER, diff --git a/packages/plugins/src/editors/subscription/goose/goose-list.ts b/packages/plugins/src/editors/subscription/goose/goose-list.ts index fc62afb4a..945cdf0b1 100644 --- a/packages/plugins/src/editors/subscription/goose/goose-list.ts +++ b/packages/plugins/src/editors/subscription/goose/goose-list.ts @@ -12,14 +12,16 @@ import { classMap } from 'lit-html/directives/class-map'; import '@material/mwc-icon'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { getNameAttribute, identity, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newGOOSESelectEvent } from './foundation.js'; -import { gooseIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { gooseIcon } from '@openscd/open-scd/icons/icons.js'; import { wizards } from '../../../wizards/wizard-library.js'; import { getOrderedIeds, styles } from '../foundation.js'; diff --git a/packages/plugins/src/editors/subscription/goose/subscriber-list.ts b/packages/plugins/src/editors/subscription/goose/subscriber-list.ts index bf0febbde..5ef1bd57f 100644 --- a/packages/plugins/src/editors/subscription/goose/subscriber-list.ts +++ b/packages/plugins/src/editors/subscription/goose/subscriber-list.ts @@ -12,11 +12,11 @@ import '@material/mwc-icon'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { createElement, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { ComplexAction, Create, @@ -29,7 +29,7 @@ import { GooseSubscriptionEvent, newGooseSubscriptionEvent, } from './foundation.js'; -import { emptyInputsDeleteActions } from '@openscd/open-scd/src/foundation/ied.js'; +import { emptyInputsDeleteActions } from '@openscd/open-scd/foundation/ied.js'; import { canCreateValidExtRef, createExtRefElement, diff --git a/packages/plugins/src/editors/subscription/ied-list.ts b/packages/plugins/src/editors/subscription/ied-list.ts index eac128d1e..d9534b200 100644 --- a/packages/plugins/src/editors/subscription/ied-list.ts +++ b/packages/plugins/src/editors/subscription/ied-list.ts @@ -11,8 +11,8 @@ import { get } from 'lit-translate'; import '@material/mwc-icon'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/filtered-list.js'; -import { getNameAttribute } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/filtered-list.js'; +import { getNameAttribute } from '@openscd/core/foundation/scl.js'; import { getOrderedIeds, newIEDSelectEvent, styles } from './foundation.js'; let selectedIed: Element | undefined; diff --git a/packages/plugins/src/editors/subscription/later-binding/ext-ref-later-binding-list.ts b/packages/plugins/src/editors/subscription/later-binding/ext-ref-later-binding-list.ts index da5190a75..85f67871b 100644 --- a/packages/plugins/src/editors/subscription/later-binding/ext-ref-later-binding-list.ts +++ b/packages/plugins/src/editors/subscription/later-binding/ext-ref-later-binding-list.ts @@ -14,7 +14,7 @@ import { cloneElement, getDescriptionAttribute, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { ComplexAction, @@ -42,6 +42,8 @@ import { isSubscribed, } from './foundation.js'; +import '@material/mwc-list/mwc-list-item.js'; + /** * A sub element for showing all Ext Refs from a FCDA Element. * The List reacts on a custom event to know which FCDA Element was selected and updated the view. diff --git a/packages/plugins/src/editors/subscription/later-binding/ext-ref-ln-binding-list.ts b/packages/plugins/src/editors/subscription/later-binding/ext-ref-ln-binding-list.ts index 882e2c0d5..cdd5e4e4c 100644 --- a/packages/plugins/src/editors/subscription/later-binding/ext-ref-ln-binding-list.ts +++ b/packages/plugins/src/editors/subscription/later-binding/ext-ref-ln-binding-list.ts @@ -13,13 +13,13 @@ import { get } from 'lit-translate'; import { createElement, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { ComplexAction, Delete, newActionEvent, } from '@openscd/core/foundation/deprecated/editor.js'; -import { Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { canCreateValidExtRef, @@ -35,7 +35,9 @@ import { canRemoveSubscriptionSupervision, } from '../foundation.js'; import { getSubscribedExtRefElements } from './foundation.js'; -import { emptyInputsDeleteActions } from '@openscd/open-scd/src/foundation/ied.js'; +import { emptyInputsDeleteActions } from '@openscd/open-scd/foundation/ied.js'; + +import '@material/mwc-list/mwc-list-item.js'; /** * A sub element for showing all Ext Refs from a FCDA Element. diff --git a/packages/plugins/src/editors/subscription/later-binding/foundation.ts b/packages/plugins/src/editors/subscription/later-binding/foundation.ts index 4d935b212..e6684596d 100644 --- a/packages/plugins/src/editors/subscription/later-binding/foundation.ts +++ b/packages/plugins/src/editors/subscription/later-binding/foundation.ts @@ -1,4 +1,4 @@ -import { getSclSchemaVersion } from '@openscd/open-scd/src/foundation.js'; +import { getSclSchemaVersion } from '@openscd/core/foundation/scl.js'; import { serviceTypes } from '../foundation.js'; function dataAttributeSpecification( diff --git a/packages/plugins/src/editors/subscription/sampledvalues/smv-list.ts b/packages/plugins/src/editors/subscription/sampledvalues/smv-list.ts index 63a40c4c4..1cc1d06a4 100644 --- a/packages/plugins/src/editors/subscription/sampledvalues/smv-list.ts +++ b/packages/plugins/src/editors/subscription/sampledvalues/smv-list.ts @@ -15,10 +15,12 @@ import '@material/mwc-list/mwc-list-item'; import { getNameAttribute, identity, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newSmvSelectEvent } from './foundation.js'; -import { smvIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { smvIcon } from '@openscd/open-scd/icons/icons.js'; import { getOrderedIeds, styles } from '../foundation.js'; import { classMap } from 'lit-html/directives/class-map.js'; import { wizards } from '../../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/subscription/sampledvalues/subscriber-list.ts b/packages/plugins/src/editors/subscription/sampledvalues/subscriber-list.ts index 0413fda77..573da7d26 100644 --- a/packages/plugins/src/editors/subscription/sampledvalues/subscriber-list.ts +++ b/packages/plugins/src/editors/subscription/sampledvalues/subscriber-list.ts @@ -12,11 +12,11 @@ import '@material/mwc-icon'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { createElement, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { Create, ComplexAction, @@ -29,7 +29,7 @@ import { SmvSelectEvent, SmvSubscriptionEvent, } from './foundation.js'; -import { emptyInputsDeleteActions } from '@openscd/open-scd/src/foundation/ied.js'; +import { emptyInputsDeleteActions } from '@openscd/open-scd/foundation/ied.js'; import { canCreateValidExtRef, createExtRefElement, diff --git a/packages/plugins/src/editors/substation/bay-editor.ts b/packages/plugins/src/editors/substation/bay-editor.ts index 2b3d0ea36..2baffdea3 100644 --- a/packages/plugins/src/editors/substation/bay-editor.ts +++ b/packages/plugins/src/editors/substation/bay-editor.ts @@ -18,7 +18,7 @@ import { Menu } from '@material/mwc-menu'; import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './ied-editor.js'; import './conducting-equipment-editor.js'; import './general-equipment-editor.js'; @@ -26,15 +26,16 @@ import './powertransformer-editor.js'; import { VoltageLevelEditor } from './voltage-level-editor.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { bayIcon, - voltageLevelIcon, -} from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/icons/icons.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; import { cloneSubstationElement, diff --git a/packages/plugins/src/editors/substation/conducting-equipment-editor.ts b/packages/plugins/src/editors/substation/conducting-equipment-editor.ts index 792679ec1..68c614839 100644 --- a/packages/plugins/src/editors/substation/conducting-equipment-editor.ts +++ b/packages/plugins/src/editors/substation/conducting-equipment-editor.ts @@ -17,18 +17,20 @@ import { Menu } from '@material/mwc-menu'; import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/action-icon.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-icon.js'; +import '@openscd/open-scd/action-pane.js'; import './eq-function-editor.js'; import './l-node-editor.js'; import './sub-equipment-editor.js'; import { startMove, getIcon, styles } from './foundation.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { BayEditor } from './bay-editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/eq-function-editor.ts b/packages/plugins/src/editors/substation/eq-function-editor.ts index b07363e44..f60a8d819 100644 --- a/packages/plugins/src/editors/substation/eq-function-editor.ts +++ b/packages/plugins/src/editors/substation/eq-function-editor.ts @@ -17,18 +17,19 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './eq-sub-function-editor.js'; import './general-equipment-editor.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; -import { classMap } from 'lit-html/directives/class-map.js'; import { renderGeneralEquipment } from './foundation.js'; function childTags(element: Element | null | undefined): SCLTag[] { diff --git a/packages/plugins/src/editors/substation/eq-sub-function-editor.ts b/packages/plugins/src/editors/substation/eq-sub-function-editor.ts index 8d2cfd7bb..0d9001adb 100644 --- a/packages/plugins/src/editors/substation/eq-sub-function-editor.ts +++ b/packages/plugins/src/editors/substation/eq-sub-function-editor.ts @@ -18,17 +18,18 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './general-equipment-editor.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; -import { classMap } from 'lit-html/directives/class-map.js'; import { renderGeneralEquipment } from './foundation.js'; function childTags(element: Element | null | undefined): SCLTag[] { diff --git a/packages/plugins/src/editors/substation/foundation.ts b/packages/plugins/src/editors/substation/foundation.ts index f68e5e0b0..4e9f4258c 100644 --- a/packages/plugins/src/editors/substation/foundation.ts +++ b/packages/plugins/src/editors/substation/foundation.ts @@ -7,7 +7,7 @@ import { identity, isPublic, getChildElementsByTagName, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { circuitBreakerIcon, @@ -16,11 +16,11 @@ import { voltageTransformerIcon, earthSwitchIcon, generalConductingEquipmentIcon, -} from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/icons/icons.js'; import { typeStr } from '../../wizards/conductingequipment.js'; -import { Select } from '@material/mwc-select'; +import { Select } from '@material/mwc-select/mwc-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { get } from 'lit-translate'; import { BayEditor } from './bay-editor.js'; diff --git a/packages/plugins/src/editors/substation/function-editor.ts b/packages/plugins/src/editors/substation/function-editor.ts index 9565a77b6..60af2e0df 100644 --- a/packages/plugins/src/editors/substation/function-editor.ts +++ b/packages/plugins/src/editors/substation/function-editor.ts @@ -9,15 +9,17 @@ import { query, } from 'lit-element'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './sub-function-editor.js'; import './general-equipment-editor.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { get } from 'lit-translate'; diff --git a/packages/plugins/src/editors/substation/general-equipment-editor.ts b/packages/plugins/src/editors/substation/general-equipment-editor.ts index 213f6c1de..7e3b6fdda 100644 --- a/packages/plugins/src/editors/substation/general-equipment-editor.ts +++ b/packages/plugins/src/editors/substation/general-equipment-editor.ts @@ -19,16 +19,18 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import '../../editors/substation/eq-function-editor.js'; import '../../editors/substation/l-node-editor.js'; -import { generalConductingEquipmentIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { generalConductingEquipmentIcon } from '@openscd/open-scd/icons/icons.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/guess-wizard.ts b/packages/plugins/src/editors/substation/guess-wizard.ts index 23d941c83..ee69aa3bf 100644 --- a/packages/plugins/src/editors/substation/guess-wizard.ts +++ b/packages/plugins/src/editors/substation/guess-wizard.ts @@ -10,10 +10,12 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { compareNames, createElement, +} from '@openscd/core/foundation/scl.js'; +import { Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; let bayNum = 1; diff --git a/packages/plugins/src/editors/substation/ied-editor.ts b/packages/plugins/src/editors/substation/ied-editor.ts index 91370008c..665bece03 100644 --- a/packages/plugins/src/editors/substation/ied-editor.ts +++ b/packages/plugins/src/editors/substation/ied-editor.ts @@ -11,15 +11,15 @@ import '@material/mwc-fab'; import '@material/mwc-icon'; import { Fab } from '@material/mwc-fab'; -import '@openscd/open-scd/src/action-icon.js'; +import '@openscd/open-scd/action-icon.js'; import { createClientLnWizard } from '../../wizards/clientln.js'; import { gooseIcon, smvIcon, reportIcon, -} from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/icons/icons.js'; import { wizards } from '../../wizards/wizard-library.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { selectGseControlWizard } from '../../wizards/gsecontrol.js'; import { selectSampledValueControlWizard } from '../../wizards/sampledvaluecontrol.js'; diff --git a/packages/plugins/src/editors/substation/l-node-editor.ts b/packages/plugins/src/editors/substation/l-node-editor.ts index c14caffe6..d3e27705f 100644 --- a/packages/plugins/src/editors/substation/l-node-editor.ts +++ b/packages/plugins/src/editors/substation/l-node-editor.ts @@ -7,13 +7,15 @@ import { state, } from 'lit-element'; -import '@openscd/open-scd/src/action-icon.js'; +import '@openscd/open-scd/action-icon.js'; import { cloneElement, identity, newLnInstGenerator, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { automationLogicalNode, @@ -32,7 +34,7 @@ import { switchgearLogicalNode, systemLogicalNode, transformerLogicalNode, -} from '@openscd/open-scd/src/icons/lnode.js'; +} from '@openscd/open-scd/icons/lnode.js'; import { wizards } from '../../wizards/wizard-library.js'; export function getLNodeIcon(lNode: Element): TemplateResult { diff --git a/packages/plugins/src/editors/substation/line-editor.ts b/packages/plugins/src/editors/substation/line-editor.ts index 89462f63e..cbdc7392a 100644 --- a/packages/plugins/src/editors/substation/line-editor.ts +++ b/packages/plugins/src/editors/substation/line-editor.ts @@ -23,14 +23,16 @@ import './function-editor.js'; import './general-equipment-editor.js'; import './l-node-editor.js'; -import { lineIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { lineIcon } from '@openscd/open-scd/icons/icons.js'; import { styles } from './foundation.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/powertransformer-editor.ts b/packages/plugins/src/editors/substation/powertransformer-editor.ts index d218c383f..07cb2bf03 100644 --- a/packages/plugins/src/editors/substation/powertransformer-editor.ts +++ b/packages/plugins/src/editors/substation/powertransformer-editor.ts @@ -17,19 +17,21 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-icon.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-icon.js'; +import '@openscd/open-scd/action-pane.js'; import './sub-equipment-editor.js'; import './eq-function-editor.js'; import './transformer-winding-editor.js'; -import { powerTransformerTwoWindingIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { powerTransformerTwoWindingIcon } from '@openscd/open-scd/icons/icons.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { startMove, styles } from './foundation.js'; import { SubstationEditor } from './substation-editor.js'; diff --git a/packages/plugins/src/editors/substation/process-editor.ts b/packages/plugins/src/editors/substation/process-editor.ts index fa471be96..8a527e266 100644 --- a/packages/plugins/src/editors/substation/process-editor.ts +++ b/packages/plugins/src/editors/substation/process-editor.ts @@ -27,14 +27,16 @@ import './process-editor.js'; import './substation-editor.js'; import './process-editor.js'; -import { processIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { processIcon } from '@openscd/open-scd/icons/icons.js'; import { styles } from './foundation.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/sub-equipment-editor.ts b/packages/plugins/src/editors/substation/sub-equipment-editor.ts index 2687641fd..6191c3693 100644 --- a/packages/plugins/src/editors/substation/sub-equipment-editor.ts +++ b/packages/plugins/src/editors/substation/sub-equipment-editor.ts @@ -17,16 +17,18 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-icon.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-icon.js'; +import '@openscd/open-scd/action-pane.js'; import './l-node-editor.js'; import './eq-function-editor.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/sub-function-editor.ts b/packages/plugins/src/editors/substation/sub-function-editor.ts index 4a38f6400..52639b634 100644 --- a/packages/plugins/src/editors/substation/sub-function-editor.ts +++ b/packages/plugins/src/editors/substation/sub-function-editor.ts @@ -17,15 +17,17 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './sub-function-editor.js'; import './general-equipment-editor.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; import { renderGeneralEquipment } from './foundation.js'; diff --git a/packages/plugins/src/editors/substation/substation-editor.ts b/packages/plugins/src/editors/substation/substation-editor.ts index 2ed377c32..e926e5eeb 100644 --- a/packages/plugins/src/editors/substation/substation-editor.ts +++ b/packages/plugins/src/editors/substation/substation-editor.ts @@ -17,18 +17,20 @@ import { Menu } from '@material/mwc-menu'; import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './ied-editor.js'; import './powertransformer-editor.js'; import './voltage-level-editor.js'; import './general-equipment-editor.js'; -import { substationIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { substationIcon } from '@openscd/open-scd/icons/icons.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; import { diff --git a/packages/plugins/src/editors/substation/tapchanger-editor.ts b/packages/plugins/src/editors/substation/tapchanger-editor.ts index 262cb8e5c..4c9c7eca0 100644 --- a/packages/plugins/src/editors/substation/tapchanger-editor.ts +++ b/packages/plugins/src/editors/substation/tapchanger-editor.ts @@ -18,7 +18,7 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './eq-function-editor.js'; import './l-node-editor.js'; import './sub-equipment-editor.js'; @@ -26,10 +26,12 @@ import './sub-equipment-editor.js'; import { styles } from './foundation.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/transformer-winding-editor.ts b/packages/plugins/src/editors/substation/transformer-winding-editor.ts index 2a3c4b4d8..0c16b7e84 100644 --- a/packages/plugins/src/editors/substation/transformer-winding-editor.ts +++ b/packages/plugins/src/editors/substation/transformer-winding-editor.ts @@ -18,20 +18,22 @@ import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { Menu } from '@material/mwc-menu'; -import '@openscd/open-scd/src/action-icon.js'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-icon.js'; +import '@openscd/open-scd/action-pane.js'; import './eq-function-editor.js'; import './l-node-editor.js'; import './tapchanger-editor.js'; -import { transformerWindingIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { transformerWindingIcon } from '@openscd/open-scd/icons/icons.js'; import { styles } from './foundation.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; diff --git a/packages/plugins/src/editors/substation/voltage-level-editor.ts b/packages/plugins/src/editors/substation/voltage-level-editor.ts index 974779af4..e3f5427e5 100644 --- a/packages/plugins/src/editors/substation/voltage-level-editor.ts +++ b/packages/plugins/src/editors/substation/voltage-level-editor.ts @@ -16,7 +16,7 @@ import { Menu } from '@material/mwc-menu'; import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/action-pane.js'; +import '@openscd/open-scd/action-pane.js'; import './bay-editor.js'; import './general-equipment-editor.js'; import './ied-editor.js'; @@ -31,12 +31,14 @@ import { } from './foundation.js'; import { getChildElementsByTagName, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, +} from '@openscd/open-scd/foundation.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; -import { voltageLevelIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { voltageLevelIcon } from '@openscd/open-scd/icons/icons.js'; import { SubstationEditor } from './substation-editor.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; import { Dialog } from '@material/mwc-dialog'; diff --git a/packages/plugins/src/editors/substation/zeroline-pane.ts b/packages/plugins/src/editors/substation/zeroline-pane.ts index 1557a6061..f183382c5 100644 --- a/packages/plugins/src/editors/substation/zeroline-pane.ts +++ b/packages/plugins/src/editors/substation/zeroline-pane.ts @@ -25,15 +25,15 @@ import { gooseIcon, smvIcon, reportIcon, -} from '@openscd/open-scd/src/icons/icons.js'; -import { isPublic, newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/icons/icons.js'; +import { isPublic, SCLTag, tags } from '@openscd/core/foundation/scl.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { selectGseControlWizard } from '../../wizards/gsecontrol.js'; import { emptyWizard, wizards } from '../../wizards/wizard-library.js'; import { getAttachedIeds } from './foundation.js'; import { selectSampledValueControlWizard } from '../../wizards/sampledvaluecontrol.js'; import { selectReportControlWizard } from '../../wizards/reportcontrol.js'; -import { SCLTag, tags } from '@openscd/open-scd/src/foundation.js'; import { Settings } from '@openscd/core/foundation/deprecated/settings.js'; function shouldShowIEDs(): boolean { diff --git a/packages/plugins/src/editors/templates/datype-wizards.ts b/packages/plugins/src/editors/templates/datype-wizards.ts index 747e2d302..a18ea2d9e 100644 --- a/packages/plugins/src/editors/templates/datype-wizards.ts +++ b/packages/plugins/src/editors/templates/datype-wizards.ts @@ -4,27 +4,29 @@ import { get } from 'lit-translate'; import '@material/mwc-button'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; import { List } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, find, - getValue, identity, + patterns, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newSubWizardEvent, newWizardEvent, - patterns, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Create, EditorAction, diff --git a/packages/plugins/src/editors/templates/dotype-wizards.ts b/packages/plugins/src/editors/templates/dotype-wizards.ts index c2a212fab..52ec04656 100644 --- a/packages/plugins/src/editors/templates/dotype-wizards.ts +++ b/packages/plugins/src/editors/templates/dotype-wizards.ts @@ -4,27 +4,29 @@ import { get } from 'lit-translate'; import '@material/mwc-button'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; -import { Select } from '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; +import type { Select } from '@material/mwc-select/mwc-select.js'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { List } from '@material/mwc-list'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, find, - getValue, identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newSubWizardEvent, newWizardEvent, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Create, EditorAction, diff --git a/packages/plugins/src/editors/templates/enumtype-wizard.ts b/packages/plugins/src/editors/templates/enumtype-wizard.ts index cf80656cc..2cb3b416e 100644 --- a/packages/plugins/src/editors/templates/enumtype-wizard.ts +++ b/packages/plugins/src/editors/templates/enumtype-wizard.ts @@ -4,27 +4,29 @@ import { get } from 'lit-translate'; import '@material/mwc-button'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; import { List } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, find, - getValue, identity, + patterns, +} from '@openscd/core/foundation/scl.js' +import { + getValue, newSubWizardEvent, newWizardEvent, - patterns, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction, newActionEvent, diff --git a/packages/plugins/src/editors/templates/foundation.ts b/packages/plugins/src/editors/templates/foundation.ts index 5e65c1824..aed77dc0c 100644 --- a/packages/plugins/src/editors/templates/foundation.ts +++ b/packages/plugins/src/editors/templates/foundation.ts @@ -2,7 +2,7 @@ import { css } from 'lit-element'; import '@material/mwc-list/mwc-list-item'; -import { isPublic } from '@openscd/open-scd/src/foundation.js'; +import { isPublic } from '@openscd/core/foundation/scl.js'; import { Create } from '@openscd/core/foundation/deprecated/editor'; export interface UpdateOptions { diff --git a/packages/plugins/src/editors/templates/lnodetype-wizard.ts b/packages/plugins/src/editors/templates/lnodetype-wizard.ts index 73f7868d1..fca6af07c 100644 --- a/packages/plugins/src/editors/templates/lnodetype-wizard.ts +++ b/packages/plugins/src/editors/templates/lnodetype-wizard.ts @@ -4,38 +4,40 @@ import { get } from 'lit-translate'; import '@material/mwc-button'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; import { List } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-select.js'; import { cloneElement, createElement, find, getChildElementsByTagName, - getValue, identity, isPublic, + patterns, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newSubWizardEvent, newWizardEvent, - patterns, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Create, EditorAction, newActionEvent, Replace } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; import { addReferencedDataTypes, allDataTypeSelector, diff --git a/packages/plugins/src/menu/CompareIED.ts b/packages/plugins/src/menu/CompareIED.ts index 5bd12d12e..255fea11b 100644 --- a/packages/plugins/src/menu/CompareIED.ts +++ b/packages/plugins/src/menu/CompareIED.ts @@ -18,7 +18,7 @@ import { Dialog } from '@material/mwc-dialog'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { List } from '@material/mwc-list'; -import '@openscd/open-scd/src/plain-compare-list.js'; +import '@openscd/open-scd/plain-compare-list.js'; import { compareNames, @@ -26,9 +26,9 @@ import { getNameAttribute, identity, isPublic, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { newPendingStateEvent } from '@openscd/core/foundation/deprecated/waiter.js'; -import { DiffFilter } from '@openscd/open-scd/src/foundation/compare.js'; +import { DiffFilter } from '@openscd/open-scd/foundation/compare.js'; const tctrClass = `LN[lnClass='TCTR']`; const tvtrClass = `LN[lnClass='TVTR']`; diff --git a/packages/plugins/src/menu/ExportCommunication.ts b/packages/plugins/src/menu/ExportCommunication.ts index b8e0d9c48..4be1569ab 100644 --- a/packages/plugins/src/menu/ExportCommunication.ts +++ b/packages/plugins/src/menu/ExportCommunication.ts @@ -1,7 +1,7 @@ import { LitElement, property } from 'lit-element'; import { get } from 'lit-translate'; -import { formatXml } from '@openscd/open-scd/src/foundation.js'; +import { formatXml } from '@openscd/core/foundation/scl.js'; import { newLogEvent } from '@openscd/core/foundation/deprecated/history'; function cloneAttributes(destElement: Element, sourceElement: Element) { diff --git a/packages/plugins/src/menu/Help.ts b/packages/plugins/src/menu/Help.ts index e5b9ef26a..c449335d0 100644 --- a/packages/plugins/src/menu/Help.ts +++ b/packages/plugins/src/menu/Help.ts @@ -4,10 +4,10 @@ import * as marked from 'marked'; import '@material/mwc-icon'; -import '@openscd/open-scd/src/finder-list.js'; -import { newWizardEvent, Wizard } from '@openscd/open-scd/src/foundation.js'; -import { openSCDIcon } from '@openscd/open-scd/src/icons/icons.js'; -import { Directory } from '@openscd/open-scd/src/finder-list.js'; +import '@openscd/open-scd/finder-list.js'; +import { newWizardEvent, Wizard } from '@openscd/open-scd/foundation.js'; +import { openSCDIcon } from '@openscd/open-scd/icons/icons.js'; +import { Directory } from '@openscd/open-scd/finder-list.js'; function aboutBox(version: string) { return html`
diff --git a/packages/plugins/src/menu/ImportIEDs.ts b/packages/plugins/src/menu/ImportIEDs.ts index a44ed4e88..19641365d 100644 --- a/packages/plugins/src/menu/ImportIEDs.ts +++ b/packages/plugins/src/menu/ImportIEDs.ts @@ -16,13 +16,13 @@ import { Dialog } from '@material/mwc-dialog'; import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { createElement, find, identity, isPublic, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { SimpleAction, newActionEvent, diff --git a/packages/plugins/src/menu/Merge.ts b/packages/plugins/src/menu/Merge.ts index c898c7ff5..e0f280f67 100644 --- a/packages/plugins/src/menu/Merge.ts +++ b/packages/plugins/src/menu/Merge.ts @@ -1,7 +1,7 @@ import { css, html, LitElement, query, TemplateResult } from 'lit-element'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; -import { mergeWizard } from '@openscd/open-scd/src/wizards.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; +import { mergeWizard } from '@openscd/open-scd/wizards.js'; export default class MergePlugin extends LitElement { doc!: XMLDocument; diff --git a/packages/plugins/src/menu/NewProject.ts b/packages/plugins/src/menu/NewProject.ts index 3e4dfa902..8520876de 100644 --- a/packages/plugins/src/menu/NewProject.ts +++ b/packages/plugins/src/menu/NewProject.ts @@ -5,19 +5,19 @@ import '@material/mwc-list'; import '@material/mwc-list/mwc-radio-list-item'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { newWizardEvent, Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { newOpenDocEvent } from '@openscd/core/foundation/deprecated/open-event.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js'; import { newEmptySCD, SupportedVersion, -} from '@openscd/open-scd/src/schemas.js'; +} from '@openscd/open-scd/schemas.js'; export default class NewProjectPlugin extends LitElement { private createNewProject( diff --git a/packages/plugins/src/menu/SubscriberInfo.ts b/packages/plugins/src/menu/SubscriberInfo.ts index 1445cb14e..f7aeef4d4 100644 --- a/packages/plugins/src/menu/SubscriberInfo.ts +++ b/packages/plugins/src/menu/SubscriberInfo.ts @@ -3,7 +3,7 @@ import { get } from 'lit-translate'; import { createElement, getVersion, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { newActionEvent, SimpleAction diff --git a/packages/plugins/src/menu/UpdateDescriptionABB.ts b/packages/plugins/src/menu/UpdateDescriptionABB.ts index a7e0c1cae..97e0cae80 100644 --- a/packages/plugins/src/menu/UpdateDescriptionABB.ts +++ b/packages/plugins/src/menu/UpdateDescriptionABB.ts @@ -5,19 +5,21 @@ import '@material/mwc-list/mwc-check-list-item'; import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { cloneElement, find, identity, isPublic, - newWizardEvent, SCLTag, +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; interface addDescItem { desc: string; diff --git a/packages/plugins/src/menu/UpdateDescriptionSEL.ts b/packages/plugins/src/menu/UpdateDescriptionSEL.ts index 78cc94a0a..510d64757 100644 --- a/packages/plugins/src/menu/UpdateDescriptionSEL.ts +++ b/packages/plugins/src/menu/UpdateDescriptionSEL.ts @@ -5,19 +5,21 @@ import '@material/mwc-list/mwc-check-list-item'; import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { cloneElement, find, identity, isPublic, - newWizardEvent, SCLTag, +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; interface SignalDescription { desc: string; diff --git a/packages/plugins/src/menu/UpdateSubstation.ts b/packages/plugins/src/menu/UpdateSubstation.ts index ec080f8bd..b3325d2b3 100644 --- a/packages/plugins/src/menu/UpdateSubstation.ts +++ b/packages/plugins/src/menu/UpdateSubstation.ts @@ -5,11 +5,11 @@ import { crossProduct, find, identity, - newWizardEvent, SCLTag, tags, -} from '@openscd/open-scd/src/foundation.js'; -import { Diff, mergeWizard } from '@openscd/open-scd/src/wizards.js'; +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; +import { Diff, mergeWizard } from '@openscd/open-scd/wizards.js'; export function isValidReference( doc: XMLDocument, diff --git a/packages/plugins/src/menu/VirtualTemplateIED.ts b/packages/plugins/src/menu/VirtualTemplateIED.ts index f7701b934..63bc8425d 100644 --- a/packages/plugins/src/menu/VirtualTemplateIED.ts +++ b/packages/plugins/src/menu/VirtualTemplateIED.ts @@ -17,16 +17,18 @@ import '@material/mwc-list/mwc-check-list-item'; import '@material/mwc-list/mwc-radio-list-item'; import { Dialog } from '@material/mwc-dialog'; import { CheckListItem } from '@material/mwc-list/mwc-check-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; +import '@material/mwc-select/mwc-select.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { find, getChildElementsByTagName, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import type { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { getFunctionNamingPrefix, getNonLeafParent, diff --git a/packages/plugins/src/menu/virtualtemplateied/foundation.ts b/packages/plugins/src/menu/virtualtemplateied/foundation.ts index 7f66ef973..94509b03a 100644 --- a/packages/plugins/src/menu/virtualtemplateied/foundation.ts +++ b/packages/plugins/src/menu/virtualtemplateied/foundation.ts @@ -2,7 +2,7 @@ import { createElement, getChildElementsByTagName, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; const functionTypeElementTags = [ 'Function', diff --git a/packages/plugins/src/validators/ValidateSchema.ts b/packages/plugins/src/validators/ValidateSchema.ts index f87db58f2..2c1b8696a 100644 --- a/packages/plugins/src/validators/ValidateSchema.ts +++ b/packages/plugins/src/validators/ValidateSchema.ts @@ -14,7 +14,7 @@ import { ValidationResult, Validator, WorkerMessage, -} from '@openscd/open-scd/src/schemas.js'; +} from '@openscd/open-scd/schemas.js'; const validators: Partial> = {}; diff --git a/packages/plugins/src/validators/templates/dabda.ts b/packages/plugins/src/validators/templates/dabda.ts index 260785f99..055b87782 100644 --- a/packages/plugins/src/validators/templates/dabda.ts +++ b/packages/plugins/src/validators/templates/dabda.ts @@ -1,6 +1,6 @@ import { get } from 'lit-translate'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { LogDetailBase } from '@openscd/core/foundation/deprecated/history.js'; import { getTypeChild, isTypeMissing } from './foundation.js'; diff --git a/packages/plugins/src/validators/templates/datype.ts b/packages/plugins/src/validators/templates/datype.ts index 1a9e70131..57cb87236 100644 --- a/packages/plugins/src/validators/templates/datype.ts +++ b/packages/plugins/src/validators/templates/datype.ts @@ -1,8 +1,8 @@ import { get } from 'lit-translate'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { LogDetailBase } from '@openscd/core/foundation/deprecated/history.js'; import { validateChildren } from './foundation.js'; -import { iec6185073, iec6185081 } from '@openscd/open-scd/src/foundation/nsd.js'; +import { iec6185073, iec6185081 } from '@openscd/open-scd/foundation/nsd.js'; async function getChildren( cdc: string | null | undefined, diff --git a/packages/plugins/src/validators/templates/dosdo.ts b/packages/plugins/src/validators/templates/dosdo.ts index ee8d4ed2b..fedf88b44 100644 --- a/packages/plugins/src/validators/templates/dosdo.ts +++ b/packages/plugins/src/validators/templates/dosdo.ts @@ -1,5 +1,5 @@ import { get } from 'lit-translate'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { LogDetailBase } from '@openscd/core/foundation/deprecated/history.js'; import { getTypeChild, isTypeMissing } from './foundation.js'; diff --git a/packages/plugins/src/validators/templates/dotype.ts b/packages/plugins/src/validators/templates/dotype.ts index af1b8411d..c962ff88b 100644 --- a/packages/plugins/src/validators/templates/dotype.ts +++ b/packages/plugins/src/validators/templates/dotype.ts @@ -1,6 +1,6 @@ import { get } from 'lit-translate'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { LogDetailBase } from '@openscd/core/foundation/deprecated/history.js'; import { getAdjacentClass, @@ -10,7 +10,7 @@ import { iec6185073, iec6185074, iec6185081, -} from '@openscd/open-scd/src/foundation/nsd.js'; +} from '@openscd/open-scd/foundation/nsd.js'; async function getSpecificDataObject( lnClass: string | null | undefined, diff --git a/packages/plugins/src/validators/templates/lnodetype.ts b/packages/plugins/src/validators/templates/lnodetype.ts index 62d0933cd..45873626c 100644 --- a/packages/plugins/src/validators/templates/lnodetype.ts +++ b/packages/plugins/src/validators/templates/lnodetype.ts @@ -1,11 +1,11 @@ import { get } from 'lit-translate'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { LogDetailBase } from '@openscd/core/foundation/deprecated/history.js'; import { getAdjacentClass, validateChildren, } from './foundation.js'; -import { iec6185074 } from '@openscd/open-scd/src/foundation/nsd.js'; +import { iec6185074 } from '@openscd/open-scd/foundation/nsd.js'; async function getMandatoryDataObject(base: string): Promise { const lnodeclasses = getAdjacentClass(await iec6185074, base); diff --git a/packages/plugins/src/wizards/abstractda.ts b/packages/plugins/src/wizards/abstractda.ts index aa0ef6b88..432c8879f 100644 --- a/packages/plugins/src/wizards/abstractda.ts +++ b/packages/plugins/src/wizards/abstractda.ts @@ -4,17 +4,18 @@ import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { SelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; +import '@material/mwc-select/mwc-select.js'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { maxLength, patterns } from './foundation/limits.js'; import { predefinedBasicTypeEnum, valKindEnum } from './foundation/enums.js'; diff --git a/packages/plugins/src/wizards/address.ts b/packages/plugins/src/wizards/address.ts index 8d7881000..73bacc7a5 100644 --- a/packages/plugins/src/wizards/address.ts +++ b/packages/plugins/src/wizards/address.ts @@ -5,10 +5,10 @@ import { get } from 'lit-translate'; import '@material/mwc-checkbox'; import '@material/mwc-formfield'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { Create, Delete } from '@openscd/core/foundation/deprecated/editor.js'; import { typeNullable, typePattern } from './foundation/p-types.js'; diff --git a/packages/plugins/src/wizards/bay.ts b/packages/plugins/src/wizards/bay.ts index 99ca23082..d8e60cdee 100644 --- a/packages/plugins/src/wizards/bay.ts +++ b/packages/plugins/src/wizards/bay.ts @@ -1,14 +1,16 @@ import { html, TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; import { replaceNamingAttributeWithReferencesAction } from './foundation/actions.js'; diff --git a/packages/plugins/src/wizards/bda.ts b/packages/plugins/src/wizards/bda.ts index ad6361924..f34f3127e 100644 --- a/packages/plugins/src/wizards/bda.ts +++ b/packages/plugins/src/wizards/bda.ts @@ -5,14 +5,16 @@ import '@material/mwc-button'; import { cloneElement, createElement, - getValue, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newWizardEvent, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction, newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { getValAction, wizardContent } from './abstractda.js'; diff --git a/packages/plugins/src/wizards/clientln.ts b/packages/plugins/src/wizards/clientln.ts index c3550707f..451500b3e 100644 --- a/packages/plugins/src/wizards/clientln.ts +++ b/packages/plugins/src/wizards/clientln.ts @@ -6,18 +6,20 @@ import '@material/mwc-icon'; import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { createElement, find, identity, pathParts, +} from '@openscd/core/foundation/scl.js'; +import { Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; -import { clientIcon } from '@openscd/open-scd/src/icons/icons.js'; +} from '@openscd/open-scd/foundation.js'; +import { clientIcon } from '@openscd/open-scd/icons/icons.js'; import { openCommunicationMappingWizard } from './commmap-wizards.js'; function getPath(identity: string | number): string { diff --git a/packages/plugins/src/wizards/commmap-wizards.ts b/packages/plugins/src/wizards/commmap-wizards.ts index cb5b34a80..6e3501dc0 100644 --- a/packages/plugins/src/wizards/commmap-wizards.ts +++ b/packages/plugins/src/wizards/commmap-wizards.ts @@ -5,19 +5,21 @@ import '@material/mwc-icon'; import '@material/mwc-list/mwc-list-item'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { find, findControlBlocks, identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { newWizardEvent, Wizard, WizardActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { selectClientLNsWizard } from './clientln.js'; import { selectExtRefsWizard } from './controlwithiedname.js'; -import { controlBlockIcons } from '@openscd/open-scd/src/icons/icons.js'; +import { controlBlockIcons } from '@openscd/open-scd/icons/icons.js'; export function openCommunicationMappingWizard( root: XMLDocument | Element diff --git a/packages/plugins/src/wizards/conductingequipment.ts b/packages/plugins/src/wizards/conductingequipment.ts index 991ab17d6..2cbb9290d 100644 --- a/packages/plugins/src/wizards/conductingequipment.ts +++ b/packages/plugins/src/wizards/conductingequipment.ts @@ -2,18 +2,20 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@material/mwc-select'; +import '@material/mwc-select/mwc-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createElement, crossProduct, - getValue, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; import { replaceNamingAction } from './foundation/actions.js'; diff --git a/packages/plugins/src/wizards/connectedap.ts b/packages/plugins/src/wizards/connectedap.ts index 08bcb613d..8c3a7a4c9 100644 --- a/packages/plugins/src/wizards/connectedap.ts +++ b/packages/plugins/src/wizards/connectedap.ts @@ -11,18 +11,20 @@ import { Checkbox } from '@material/mwc-checkbox'; import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/filtered-list.js'; import { Wizard, WizardActor, WizardInputElement, - compareNames, getValue, +} from '@openscd/open-scd/foundation.js'; +import { + compareNames, createElement, isPublic, identity, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { EditorAction, ComplexAction, @@ -37,7 +39,7 @@ import { import { mACAddressGenerator, appIdGenerator, -} from '@openscd/open-scd/src/foundation/generators.js'; +} from '@openscd/open-scd/foundation/generators.js'; interface AccessPointDescription { element: Element; diff --git a/packages/plugins/src/wizards/connectivitynode.ts b/packages/plugins/src/wizards/connectivitynode.ts index 58b6f1270..832c4b977 100644 --- a/packages/plugins/src/wizards/connectivitynode.ts +++ b/packages/plugins/src/wizards/connectivitynode.ts @@ -1,7 +1,8 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import { isPublic, Wizard } from '@openscd/open-scd/src/foundation.js'; +import { isPublic } from '@openscd/core/foundation/scl.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; function render( name: string | null, diff --git a/packages/plugins/src/wizards/controlwithiedname.ts b/packages/plugins/src/wizards/controlwithiedname.ts index 69db348ec..09d1afd9b 100644 --- a/packages/plugins/src/wizards/controlwithiedname.ts +++ b/packages/plugins/src/wizards/controlwithiedname.ts @@ -6,18 +6,20 @@ import '@material/mwc-list'; import '@material/mwc-list/mwc-check-list-item'; import { List } from '@material/mwc-list'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { createElement, findControlBlocks, identity, +} from '@openscd/core/foundation/scl.js'; +import { Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; -import { inputIcon } from '@openscd/open-scd/src/icons/icons.js'; +import { inputIcon } from '@openscd/open-scd/icons/icons.js'; import { getSourceReferences, openCommunicationMappingWizard, diff --git a/packages/plugins/src/wizards/da.ts b/packages/plugins/src/wizards/da.ts index 3971668d4..3023f9edc 100644 --- a/packages/plugins/src/wizards/da.ts +++ b/packages/plugins/src/wizards/da.ts @@ -4,19 +4,21 @@ import { get } from 'lit-translate'; import '@material/mwc-button'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; import { cloneElement, createElement, - getValue, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newWizardEvent, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction, newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; import { getValAction, wizardContent } from './abstractda.js'; import { functionalConstraintEnum } from './foundation/enums.js'; diff --git a/packages/plugins/src/wizards/dai.ts b/packages/plugins/src/wizards/dai.ts index 4ef973308..f44184cbd 100644 --- a/packages/plugins/src/wizards/dai.ts +++ b/packages/plugins/src/wizards/dai.ts @@ -4,15 +4,15 @@ import { get } from 'lit-translate'; import { DaiFieldTypes, getCustomField } from './foundation/dai-field-type.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction, ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; -import { SCL_NAMESPACE } from '@openscd/open-scd/src/schemas.js'; +import { SCL_NAMESPACE } from '@openscd/open-scd/schemas.js'; export function updateValue(element: Element, val: Element): WizardActor { return (inputs: WizardInputElement[]): EditorAction[] => { diff --git a/packages/plugins/src/wizards/dataset.ts b/packages/plugins/src/wizards/dataset.ts index 9b655200e..c9409bc4f 100644 --- a/packages/plugins/src/wizards/dataset.ts +++ b/packages/plugins/src/wizards/dataset.ts @@ -5,20 +5,22 @@ import { get } from 'lit-translate'; import '@material/mwc-button'; import '@material/mwc-list/mwc-check-list-item'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/filtered-list.js'; import { cloneElement, find, - getValue, identity, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardAction, WizardActor, WizardInputElement, WizardMenuActor, newSubWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Replace } from '@openscd/core/foundation/deprecated/editor.js'; import { createFCDAsWizard } from './fcda.js'; diff --git a/packages/plugins/src/wizards/eqfunction.ts b/packages/plugins/src/wizards/eqfunction.ts index 8b1e174c5..d54ff6013 100644 --- a/packages/plugins/src/wizards/eqfunction.ts +++ b/packages/plugins/src/wizards/eqfunction.ts @@ -4,11 +4,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; import { contentFunctionWizard } from './function.js'; diff --git a/packages/plugins/src/wizards/eqsubfunction.ts b/packages/plugins/src/wizards/eqsubfunction.ts index 08d771681..077abc41f 100644 --- a/packages/plugins/src/wizards/eqsubfunction.ts +++ b/packages/plugins/src/wizards/eqsubfunction.ts @@ -4,11 +4,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; import { contentFunctionWizard } from './function.js'; diff --git a/packages/plugins/src/wizards/fcda.ts b/packages/plugins/src/wizards/fcda.ts index 389dbaf0b..80863166a 100644 --- a/packages/plugins/src/wizards/fcda.ts +++ b/packages/plugins/src/wizards/fcda.ts @@ -4,12 +4,14 @@ import { get } from 'lit-translate'; import { createElement, find, +} from '@openscd/core/foundation/scl.js'; +import { Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +} from '@openscd/open-scd/foundation.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; import { dataAttributePicker, getDataModelChildren, diff --git a/packages/plugins/src/wizards/foundation/actions.ts b/packages/plugins/src/wizards/foundation/actions.ts index f68160840..6396927be 100644 --- a/packages/plugins/src/wizards/foundation/actions.ts +++ b/packages/plugins/src/wizards/foundation/actions.ts @@ -1,14 +1,16 @@ import { cloneElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, EditorAction, createUpdateAction -} from '@openscd/core/foundation/deprecated/editor'; +} from '@openscd/core/foundation/deprecated/editor.js'; import { get } from 'lit-translate'; import { updateReferences } from './references.js'; diff --git a/packages/plugins/src/wizards/foundation/dai-field-type.ts b/packages/plugins/src/wizards/foundation/dai-field-type.ts index efdc46f4d..b049cec86 100644 --- a/packages/plugins/src/wizards/foundation/dai-field-type.ts +++ b/packages/plugins/src/wizards/foundation/dai-field-type.ts @@ -3,13 +3,13 @@ import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-select.js'; import { getValue, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; export interface CustomField { render( diff --git a/packages/plugins/src/wizards/foundation/finder.ts b/packages/plugins/src/wizards/foundation/finder.ts index 5edc4bacb..d471cabe0 100644 --- a/packages/plugins/src/wizards/foundation/finder.ts +++ b/packages/plugins/src/wizards/foundation/finder.ts @@ -1,9 +1,9 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/finder-list.js'; -import { Directory } from '@openscd/open-scd/src/finder-list.js'; -import { find, identity, isPublic } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/finder-list.js'; +import { Directory } from '@openscd/open-scd/finder-list.js'; +import { find, identity, isPublic } from '@openscd/core/foundation/scl.js'; export function getDisplayString(entry: string): string { if (entry.startsWith('IED:')) return entry.replace(/^.*:/, '').trim(); diff --git a/packages/plugins/src/wizards/foundation/references.ts b/packages/plugins/src/wizards/foundation/references.ts index 6e6f48a41..395d0fb0b 100644 --- a/packages/plugins/src/wizards/foundation/references.ts +++ b/packages/plugins/src/wizards/foundation/references.ts @@ -1,7 +1,7 @@ import { getNameAttribute, isPublic, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; import { Delete, Replace @@ -291,7 +291,7 @@ function updateVals(element: Element, oldName: string | null, newName: string) { '.' + ref?.getAttribute('srcCBName'); - for (let value of valValues) { + for (const value of valValues) { if (oldName + suffixCBReference === value.textContent!.trim()) { const newElement = cloneElementAndTextContent( value, diff --git a/packages/plugins/src/wizards/function.ts b/packages/plugins/src/wizards/function.ts index fc99e2d6e..e55202a4a 100644 --- a/packages/plugins/src/wizards/function.ts +++ b/packages/plugins/src/wizards/function.ts @@ -5,11 +5,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; interface ContentOptions { diff --git a/packages/plugins/src/wizards/generalEquipment.ts b/packages/plugins/src/wizards/generalEquipment.ts index 1cf198dab..63d92707a 100644 --- a/packages/plugins/src/wizards/generalEquipment.ts +++ b/packages/plugins/src/wizards/generalEquipment.ts @@ -4,11 +4,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; export function editGeneralEquipmentWizard(element: Element): Wizard { diff --git a/packages/plugins/src/wizards/gse.ts b/packages/plugins/src/wizards/gse.ts index 9f6333ef0..3e66957f2 100644 --- a/packages/plugins/src/wizards/gse.ts +++ b/packages/plugins/src/wizards/gse.ts @@ -3,15 +3,17 @@ import { get } from 'lit-translate'; import { Checkbox } from '@material/mwc-checkbox'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createElement, - getValue, identity, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { contentGseOrSmvWizard, updateAddress } from './address.js'; import { ComplexAction, diff --git a/packages/plugins/src/wizards/gsecontrol.ts b/packages/plugins/src/wizards/gsecontrol.ts index a49d37c30..b8d4874e0 100644 --- a/packages/plugins/src/wizards/gsecontrol.ts +++ b/packages/plugins/src/wizards/gsecontrol.ts @@ -8,18 +8,20 @@ import { List } from '@material/mwc-list'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/filtered-list.js'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/filtered-list.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, find, getUniqueElementName, - getValue, identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, MenuAction, newSubWizardEvent, newWizardEvent, @@ -27,7 +29,7 @@ import { WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, Delete, @@ -40,7 +42,7 @@ import { editDataSetWizard } from './dataset.js'; import { editGseWizard } from './gse.js'; import { securityEnabledEnum } from './foundation/enums.js'; import { dataAttributePicker, iEDPicker } from './foundation/finder.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; import { newFCDA } from './fcda.js'; import { getConnectedAP, diff --git a/packages/plugins/src/wizards/ied.ts b/packages/plugins/src/wizards/ied.ts index e4fbb4693..e66bbb712 100644 --- a/packages/plugins/src/wizards/ied.ts +++ b/packages/plugins/src/wizards/ied.ts @@ -4,17 +4,19 @@ import { get } from 'lit-translate'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { newSubWizardEvent, newWizardEvent, Wizard, WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, Delete, @@ -25,7 +27,7 @@ import { patterns } from './foundation/limits.js'; import { updateNamingAttributeWithReferencesAction } from './foundation/actions.js'; import { deleteReferences } from './foundation/references.js'; -import { emptyInputsDeleteActions } from '@openscd/open-scd/src/foundation/ied.js'; +import { emptyInputsDeleteActions } from '@openscd/open-scd/foundation/ied.js'; const iedNamePattern = '[A-Za-z][0-9A-Za-z_]{0,2}|' + diff --git a/packages/plugins/src/wizards/ldevice.ts b/packages/plugins/src/wizards/ldevice.ts index 93ec25c9a..d7ff1c30b 100644 --- a/packages/plugins/src/wizards/ldevice.ts +++ b/packages/plugins/src/wizards/ldevice.ts @@ -4,14 +4,16 @@ import { get } from 'lit-translate'; import '@material/mwc-list'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; import { patterns } from './foundation/limits.js'; diff --git a/packages/plugins/src/wizards/line.ts b/packages/plugins/src/wizards/line.ts index 78abbdd32..4fbbf0d54 100644 --- a/packages/plugins/src/wizards/line.ts +++ b/packages/plugins/src/wizards/line.ts @@ -1,16 +1,18 @@ import { html, TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, - getValue, patterns, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; const initial = { diff --git a/packages/plugins/src/wizards/lnode.ts b/packages/plugins/src/wizards/lnode.ts index a02aef51d..b77408381 100644 --- a/packages/plugins/src/wizards/lnode.ts +++ b/packages/plugins/src/wizards/lnode.ts @@ -9,23 +9,25 @@ import { ListBase } from '@material/mwc-list/mwc-list-base'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { MultiSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/filtered-list.js'; import { cloneElement, createElement, find, getChildElementsByTagName, - getValue, identity, isPublic, - newWizardEvent, referencePath, + newLnInstGenerator, +} from '@openscd/core/foundation/scl.js'; +import { + newWizardEvent, + getValue, Wizard, WizardActor, WizardInputElement, WizardMenuActor, - newLnInstGenerator, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { patterns } from './foundation/limits.js'; import { Create, EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js'; diff --git a/packages/plugins/src/wizards/optfields.ts b/packages/plugins/src/wizards/optfields.ts index d54f9bbd1..0ae6b2219 100644 --- a/packages/plugins/src/wizards/optfields.ts +++ b/packages/plugins/src/wizards/optfields.ts @@ -3,16 +3,18 @@ import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; import { cloneElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; interface ContentOptions { seqNum: string | null; diff --git a/packages/plugins/src/wizards/powertransformer.ts b/packages/plugins/src/wizards/powertransformer.ts index 7031e538a..fa4a7cabc 100644 --- a/packages/plugins/src/wizards/powertransformer.ts +++ b/packages/plugins/src/wizards/powertransformer.ts @@ -3,12 +3,14 @@ import { get } from 'lit-translate'; import { createElement, - getValue, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor.js'; import { replaceNamingAction } from './foundation/actions.js'; diff --git a/packages/plugins/src/wizards/process.ts b/packages/plugins/src/wizards/process.ts index fd2f3e6bb..51defc6b8 100644 --- a/packages/plugins/src/wizards/process.ts +++ b/packages/plugins/src/wizards/process.ts @@ -5,11 +5,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor.js'; function createProcessAction(parent: Element): WizardActor { diff --git a/packages/plugins/src/wizards/reportcontrol.ts b/packages/plugins/src/wizards/reportcontrol.ts index 4b842e832..2b1451a3a 100644 --- a/packages/plugins/src/wizards/reportcontrol.ts +++ b/packages/plugins/src/wizards/reportcontrol.ts @@ -8,27 +8,29 @@ import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import '@openscd/open-scd/src/filtered-list.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-select.js'; +import '@openscd/open-scd/filtered-list.js'; import { cloneElement, createElement, find, getReference, - getValue, identity, isPublic, + getUniqueElementName, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, newSubWizardEvent, Wizard, WizardActor, WizardInputElement, - getUniqueElementName, WizardMenuActor, MenuAction, newWizardEvent, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction, SimpleAction, @@ -36,15 +38,15 @@ import { ComplexAction, newActionEvent } from '@openscd/core/foundation/deprecated/editor.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; import { dataAttributePicker, iEDPicker } from './foundation/finder.js'; import { maxLength, patterns } from './foundation/limits.js'; import { editDataSetWizard } from './dataset.js'; import { newFCDA } from './fcda.js'; import { contentOptFieldsWizard, editOptFieldsWizard } from './optfields.js'; import { contentTrgOpsWizard, editTrgOpsWizard } from './trgops.js'; -import { existFcdaReference } from '@openscd/open-scd/src/foundation/scl.js'; +import { existFcdaReference } from '@openscd/open-scd/foundation/scl.js'; interface ContentOptions { name: string | null; diff --git a/packages/plugins/src/wizards/sampledvaluecontrol.ts b/packages/plugins/src/wizards/sampledvaluecontrol.ts index ff5a525e5..61ad2e925 100644 --- a/packages/plugins/src/wizards/sampledvaluecontrol.ts +++ b/packages/plugins/src/wizards/sampledvaluecontrol.ts @@ -7,18 +7,20 @@ import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation'; -import '@openscd/open-scd/src/filtered-list.js'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/filtered-list.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, find, getUniqueElementName, - getValue, identity, isPublic, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, MenuAction, newSubWizardEvent, newWizardEvent, @@ -26,7 +28,7 @@ import { WizardActor, WizardInputElement, WizardMenuActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction, Delete, @@ -39,7 +41,7 @@ import { editSMvWizard } from './smv.js'; import { contentSmvOptsWizard, editSmvOptsWizard } from './smvopts.js'; import { editDataSetWizard } from './dataset.js'; import { iEDPicker, sampledValueDataPicker } from './foundation/finder.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; import { getConnectedAP, isAccessPointConnected, diff --git a/packages/plugins/src/wizards/service-GSEControl.ts b/packages/plugins/src/wizards/service-GSEControl.ts index 3116816e8..846f2c1c1 100644 --- a/packages/plugins/src/wizards/service-GSEControl.ts +++ b/packages/plugins/src/wizards/service-GSEControl.ts @@ -1,6 +1,6 @@ import { TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import { WizardPage } from '@openscd/open-scd/src/foundation.js'; +import { WizardPage } from '@openscd/open-scd/foundation.js'; import { createFormDivider, diff --git a/packages/plugins/src/wizards/service-clientServer-configurations.ts b/packages/plugins/src/wizards/service-clientServer-configurations.ts index 67a02bd6e..d535ccef0 100644 --- a/packages/plugins/src/wizards/service-clientServer-configurations.ts +++ b/packages/plugins/src/wizards/service-clientServer-configurations.ts @@ -1,6 +1,6 @@ import { TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import { WizardPage } from '@openscd/open-scd/src/foundation.js'; +import { WizardPage } from '@openscd/open-scd/foundation.js'; import { createFormDivider, diff --git a/packages/plugins/src/wizards/service-log-settingsgroup.ts b/packages/plugins/src/wizards/service-log-settingsgroup.ts index 90c1cfd1e..26ae75468 100644 --- a/packages/plugins/src/wizards/service-log-settingsgroup.ts +++ b/packages/plugins/src/wizards/service-log-settingsgroup.ts @@ -1,6 +1,6 @@ import { TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import { WizardPage } from '@openscd/open-scd/src/foundation.js'; +import { WizardPage } from '@openscd/open-scd/foundation.js'; import { createFormDivider, diff --git a/packages/plugins/src/wizards/service-networking.ts b/packages/plugins/src/wizards/service-networking.ts index 30b7ea536..a3a4f3dbb 100644 --- a/packages/plugins/src/wizards/service-networking.ts +++ b/packages/plugins/src/wizards/service-networking.ts @@ -1,6 +1,6 @@ import { TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import { WizardPage } from '@openscd/open-scd/src/foundation.js'; +import { WizardPage } from '@openscd/open-scd/foundation.js'; import { createFormDivider, diff --git a/packages/plugins/src/wizards/service-report-configurations.ts b/packages/plugins/src/wizards/service-report-configurations.ts index 8b6d7e5d0..ef3069a4f 100644 --- a/packages/plugins/src/wizards/service-report-configurations.ts +++ b/packages/plugins/src/wizards/service-report-configurations.ts @@ -1,6 +1,6 @@ import { TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import { WizardPage } from '@openscd/open-scd/src/foundation.js'; +import { WizardPage } from '@openscd/open-scd/foundation.js'; import { createFormDivider, diff --git a/packages/plugins/src/wizards/service-sampled-values.ts b/packages/plugins/src/wizards/service-sampled-values.ts index 9591d0658..dce311fe2 100644 --- a/packages/plugins/src/wizards/service-sampled-values.ts +++ b/packages/plugins/src/wizards/service-sampled-values.ts @@ -1,6 +1,6 @@ import { TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import { WizardPage } from '@openscd/open-scd/src/foundation.js'; +import { WizardPage } from '@openscd/open-scd/foundation.js'; import { createFormDivider, diff --git a/packages/plugins/src/wizards/services.ts b/packages/plugins/src/wizards/services.ts index a9a0248e2..96679b681 100644 --- a/packages/plugins/src/wizards/services.ts +++ b/packages/plugins/src/wizards/services.ts @@ -1,8 +1,8 @@ import { html, TemplateResult } from 'lit-html'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-select.js'; -import { Wizard, WizardInput } from '@openscd/open-scd/src/foundation.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-select.js'; +import { Wizard, WizardInput } from '@openscd/open-scd/foundation.js'; import { createLogSettingsGroupServicesWizardPage } from './service-log-settingsgroup.js'; import { createReportConfigurationsWizardPage } from './service-report-configurations.js'; import { createGSEControlWizardPage } from './service-GSEControl.js'; diff --git a/packages/plugins/src/wizards/smv.ts b/packages/plugins/src/wizards/smv.ts index 2ca4d7190..319bbdb98 100644 --- a/packages/plugins/src/wizards/smv.ts +++ b/packages/plugins/src/wizards/smv.ts @@ -3,13 +3,15 @@ import { get } from 'lit-translate'; import { Checkbox } from '@material/mwc-checkbox'; import { - getValue, identity, +} from '@openscd/core/foundation/scl.js'; +import { + getValue, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; import { contentGseOrSmvWizard, updateAddress } from './address.js'; diff --git a/packages/plugins/src/wizards/smvopts.ts b/packages/plugins/src/wizards/smvopts.ts index 6bcb28449..9d15208dc 100644 --- a/packages/plugins/src/wizards/smvopts.ts +++ b/packages/plugins/src/wizards/smvopts.ts @@ -3,12 +3,14 @@ import { get } from 'lit-translate'; import { cloneElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; interface ContentOptions { refreshTime: string | null; diff --git a/packages/plugins/src/wizards/subequipment.ts b/packages/plugins/src/wizards/subequipment.ts index f0d4cb361..d7a2ea6e2 100644 --- a/packages/plugins/src/wizards/subequipment.ts +++ b/packages/plugins/src/wizards/subequipment.ts @@ -5,14 +5,16 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor'; -import '@openscd/open-scd/src/wizard-textfield.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-textfield.js'; +import '@openscd/open-scd/wizard-select.js'; interface ContentOptions { name: string | null; diff --git a/packages/plugins/src/wizards/subfunction.ts b/packages/plugins/src/wizards/subfunction.ts index 33123b808..c3aa6829a 100644 --- a/packages/plugins/src/wizards/subfunction.ts +++ b/packages/plugins/src/wizards/subfunction.ts @@ -4,11 +4,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor'; import { contentFunctionWizard } from './function.js'; diff --git a/packages/plugins/src/wizards/subnetwork.ts b/packages/plugins/src/wizards/subnetwork.ts index fa8299427..f9382ddf6 100644 --- a/packages/plugins/src/wizards/subnetwork.ts +++ b/packages/plugins/src/wizards/subnetwork.ts @@ -1,17 +1,19 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, + patterns, +} from '@openscd/core/foundation/scl.js'; +import { getMultiplier, getValue, - patterns, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { EditorAction } from '@openscd/core/foundation/deprecated/editor'; /** Initial attribute values suggested for `SubNetwork` creation */ diff --git a/packages/plugins/src/wizards/substation.ts b/packages/plugins/src/wizards/substation.ts index bf2c840c7..e6fc40cba 100644 --- a/packages/plugins/src/wizards/substation.ts +++ b/packages/plugins/src/wizards/substation.ts @@ -4,15 +4,17 @@ import { get } from 'lit-translate'; import '@material/mwc-checkbox'; import '@material/mwc-formfield'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { guessVoltageLevel } from '../editors/substation/guess-wizard.js'; import { updateNamingAttributeWithReferencesAction } from './foundation/actions.js'; diff --git a/packages/plugins/src/wizards/tapchanger.ts b/packages/plugins/src/wizards/tapchanger.ts index 8f8257d06..cd3117e9f 100644 --- a/packages/plugins/src/wizards/tapchanger.ts +++ b/packages/plugins/src/wizards/tapchanger.ts @@ -5,11 +5,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor'; function createTapChangerAction(parent: Element): WizardActor { diff --git a/packages/plugins/src/wizards/terminal.ts b/packages/plugins/src/wizards/terminal.ts index e81297bd0..87187505e 100644 --- a/packages/plugins/src/wizards/terminal.ts +++ b/packages/plugins/src/wizards/terminal.ts @@ -1,7 +1,8 @@ import { html, TemplateResult } from 'lit-element'; import { get } from 'lit-translate'; -import { isPublic, Wizard } from '@openscd/open-scd/src/foundation.js'; +import { isPublic } from '@openscd/core/foundation/scl.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; function render( name: string | null, diff --git a/packages/plugins/src/wizards/transformerWinding.ts b/packages/plugins/src/wizards/transformerWinding.ts index bb89ce8fc..73104bf40 100644 --- a/packages/plugins/src/wizards/transformerWinding.ts +++ b/packages/plugins/src/wizards/transformerWinding.ts @@ -5,11 +5,13 @@ import { cloneElement, createElement, getChildElementsByTagName, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction } from '@openscd/core/foundation/deprecated/editor'; function createTransformerWindingAction(parent: Element): WizardActor { diff --git a/packages/plugins/src/wizards/trgops.ts b/packages/plugins/src/wizards/trgops.ts index 29b839f21..61a857322 100644 --- a/packages/plugins/src/wizards/trgops.ts +++ b/packages/plugins/src/wizards/trgops.ts @@ -3,16 +3,18 @@ import { get } from 'lit-translate'; import '@material/mwc-list/mwc-list-item'; -import '@openscd/open-scd/src/wizard-checkbox.js'; -import '@openscd/open-scd/src/wizard-select.js'; +import '@openscd/open-scd/wizard-checkbox.js'; +import '@openscd/open-scd/wizard-select.js'; import { cloneElement, +} from '@openscd/core/foundation/scl.js'; +import { getValue, Wizard, WizardAction, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; interface ContentOptions { dchg: string | null; diff --git a/packages/plugins/src/wizards/voltagelevel.ts b/packages/plugins/src/wizards/voltagelevel.ts index 5a24e3f56..d0b74ff5c 100644 --- a/packages/plugins/src/wizards/voltagelevel.ts +++ b/packages/plugins/src/wizards/voltagelevel.ts @@ -1,17 +1,19 @@ import { html, TemplateResult } from 'lit-html'; import { get } from 'lit-translate'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { cloneElement, createElement, + patterns, +} from '@openscd/core/foundation/scl.js'; +import { getMultiplier, getValue, - patterns, Wizard, WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, EditorAction, diff --git a/packages/plugins/src/wizards/wizard-library.ts b/packages/plugins/src/wizards/wizard-library.ts index df9b982a1..5e15784af 100644 --- a/packages/plugins/src/wizards/wizard-library.ts +++ b/packages/plugins/src/wizards/wizard-library.ts @@ -1,4 +1,5 @@ -import { SCLTag, Wizard } from '@openscd/open-scd/src/foundation.js'; +import { SCLTag } from '@openscd/core/foundation/scl.js'; +import { Wizard } from '@openscd/open-scd/foundation.js'; import { createBayWizard, editBayWizard } from './bay.js'; import { diff --git a/packages/plugins/test/foundation.ts b/packages/plugins/test/foundation.ts index 28bd6cdaf..6b09a1540 100644 --- a/packages/plugins/test/foundation.ts +++ b/packages/plugins/test/foundation.ts @@ -1,7 +1,7 @@ /* eslint-disable no-control-regex */ import fc, { Arbitrary, array, hexaString, integer, tuple } from 'fast-check'; -import { patterns } from '@openscd/open-scd/src/foundation.js'; +import { patterns } from '@openscd/core/foundation/scl.js'; export function invertedRegex( re: RegExp, diff --git a/packages/plugins/test/integration/editors/GooseSubscriberDataBinding.test.ts b/packages/plugins/test/integration/editors/GooseSubscriberDataBinding.test.ts index 5bce013cc..879883299 100644 --- a/packages/plugins/test/integration/editors/GooseSubscriberDataBinding.test.ts +++ b/packages/plugins/test/integration/editors/GooseSubscriberDataBinding.test.ts @@ -1,5 +1,5 @@ import { expect, fixture, html } from '@open-wc/testing'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import GooseSubscriberDataBinding from '../../../src/editors/GooseSubscriberDataBinding.js'; import '@openscd/open-scd/test/mock-open-scd.js'; diff --git a/packages/plugins/test/integration/editors/GooseSubscriberMessageBinding.test.ts b/packages/plugins/test/integration/editors/GooseSubscriberMessageBinding.test.ts index 228e9ed14..eb2a53303 100644 --- a/packages/plugins/test/integration/editors/GooseSubscriberMessageBinding.test.ts +++ b/packages/plugins/test/integration/editors/GooseSubscriberMessageBinding.test.ts @@ -1,5 +1,5 @@ import { expect, fixture } from '@open-wc/testing'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { ListItem } from '@material/mwc-list/mwc-list-item.js'; diff --git a/packages/plugins/test/integration/editors/IED.test.ts b/packages/plugins/test/integration/editors/IED.test.ts index 72056ebd1..50f0c6565 100644 --- a/packages/plugins/test/integration/editors/IED.test.ts +++ b/packages/plugins/test/integration/editors/IED.test.ts @@ -8,8 +8,8 @@ import '../../../src/editors/IED.js'; import { initializeNsdoc, Nsdoc, -} from '@openscd/open-scd/src/foundation/nsdoc.js'; -import { FilterButton } from '@openscd/open-scd/src/oscd-filter-button.js'; +} from '@openscd/open-scd/foundation/nsdoc.js'; +import { FilterButton } from '@openscd/open-scd/oscd-filter-button.js'; import IED from '../../../src/editors/IED.js'; import { LDeviceContainer } from '../../../src/editors/ied/ldevice-container.js'; diff --git a/packages/plugins/test/integration/editors/SMVSubscriberDataBinding.test.ts b/packages/plugins/test/integration/editors/SMVSubscriberDataBinding.test.ts index 354a305c9..d123ed565 100644 --- a/packages/plugins/test/integration/editors/SMVSubscriberDataBinding.test.ts +++ b/packages/plugins/test/integration/editors/SMVSubscriberDataBinding.test.ts @@ -1,5 +1,5 @@ import { expect, fixture } from '@open-wc/testing'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import SMVSubscriberDataBinding from '../../../src/editors/SMVSubscriberDataBinding.js'; diff --git a/packages/plugins/test/integration/editors/SMVSubscriberMessageBinding.test.ts b/packages/plugins/test/integration/editors/SMVSubscriberMessageBinding.test.ts index d5a9cb00b..a87be25a4 100644 --- a/packages/plugins/test/integration/editors/SMVSubscriberMessageBinding.test.ts +++ b/packages/plugins/test/integration/editors/SMVSubscriberMessageBinding.test.ts @@ -1,5 +1,5 @@ import { expect, fixture, html } from '@open-wc/testing'; -import {initializeNsdoc} from '@openscd/open-scd/src/foundation/nsdoc.js'; +import {initializeNsdoc} from '@openscd/open-scd/foundation/nsdoc.js'; import SMVSubscriberMessageBindingPlugin from '../../../src/editors/SMVSubscriberMessageBinding.js'; import { ListItem } from '@material/mwc-list/mwc-list-item.js'; diff --git a/packages/plugins/test/integration/editors/communication/Communication.test.ts b/packages/plugins/test/integration/editors/communication/Communication.test.ts index f1a063aae..89bf1d9bb 100644 --- a/packages/plugins/test/integration/editors/communication/Communication.test.ts +++ b/packages/plugins/test/integration/editors/communication/Communication.test.ts @@ -4,7 +4,7 @@ import '@openscd/open-scd/test/mock-open-scd.js'; import Communication from '../../../../src/editors/Communication.js'; import { Dialog } from '@material/mwc-dialog'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; describe('Communication Plugin', () => { diff --git a/packages/plugins/test/integration/editors/communication/connectedap-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/communication/connectedap-editor-wizarding-editing.test.ts index 8498e7e84..2b38f0591 100644 --- a/packages/plugins/test/integration/editors/communication/connectedap-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/communication/connectedap-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/communication/connectedap-editor.js'; import { ConnectedAPEditor } from '../../../../src/editors/communication/connectedap-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('connectedap-editor wizarding editing integration', () => { describe('edit wizard', () => { diff --git a/packages/plugins/test/integration/editors/communication/gse-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/communication/gse-editor-wizarding-editing.test.ts index 76eb14ed2..f14486ce0 100644 --- a/packages/plugins/test/integration/editors/communication/gse-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/communication/gse-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/communication/gse-editor.js'; import { GseEditor } from '../../../../src/editors/communication/gse-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('gse-editor wizarding editing integration', () => { describe('edit wizard', () => { diff --git a/packages/plugins/test/integration/editors/communication/smv-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/communication/smv-editor-wizarding-editing.test.ts index afd96f39b..2ff067bed 100644 --- a/packages/plugins/test/integration/editors/communication/smv-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/communication/smv-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/communication/smv-editor.js'; import { SmvEditor } from '../../../../src/editors/communication/smv-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('smv-editor wizarding editing integration', () => { describe('edit wizard', () => { diff --git a/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding-editing.test.ts index 8863335a5..5b102e38f 100644 --- a/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding-editing.test.ts @@ -7,7 +7,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/communication/subnetwork-editor.js'; import { SubNetworkEditor } from '../../../../src/editors/communication/subnetwork-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('subnetwork-editor wizarding editing integration', () => { describe('edit wizard', () => { diff --git a/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding.test.ts b/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding.test.ts index 55ccbb917..061695cba 100644 --- a/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/communication/subnetwork-editor-wizarding.test.ts @@ -1,8 +1,8 @@ import { fixture, html, expect } from '@open-wc/testing'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../../src/editors/communication/subnetwork-editor.js'; import { regexString, regExp, inverseRegExp } from '../../../foundation.js'; diff --git a/packages/plugins/test/integration/editors/substation/bay-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/bay-editor-wizarding-editing.test.ts index ae3886974..49c24e4a1 100644 --- a/packages/plugins/test/integration/editors/substation/bay-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/bay-editor-wizarding-editing.test.ts @@ -5,8 +5,8 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/bay-editor.js'; import { BayEditor } from '../../../../src/editors/substation/bay-editor.js'; -import { Select } from '@material/mwc-select'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import type { Select } from '@material/mwc-select/mwc-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts b/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts index 83c914d0d..dbb54971e 100644 --- a/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts @@ -1,8 +1,8 @@ import { fixture, html, expect } from '@open-wc/testing'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../../src/editors/substation/bay-editor.js'; import { regExp, regexString } from '../../../foundation.js'; diff --git a/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding-editing.test.ts index c24b3471d..ce70f6462 100644 --- a/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/conducting-equipment-editor.js'; import { ConductingEquipmentEditor } from '../../../../src/editors/substation/conducting-equipment-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding.test.ts b/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding.test.ts index 2e0fd5a6e..b92bc2f31 100644 --- a/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/substation/conducting-equipment-editor-wizarding.test.ts @@ -1,8 +1,8 @@ import { fixture, html, expect } from '@open-wc/testing'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../../src/editors/substation/conducting-equipment-editor.js'; import { regexString, regExp } from '../../../foundation.js'; diff --git a/packages/plugins/test/integration/editors/substation/eq-function-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/eq-function-wizarding-editing.test.ts index 68218bffd..2a8589085 100644 --- a/packages/plugins/test/integration/editors/substation/eq-function-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/eq-function-wizarding-editing.test.ts @@ -7,7 +7,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/eq-function-editor.js'; import { EqFunctionEditor } from '../../../../src/editors/substation/eq-function-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/eq-sub-function-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/eq-sub-function-editor-wizarding-editing.test.ts index b1037a380..a71c29b31 100644 --- a/packages/plugins/test/integration/editors/substation/eq-sub-function-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/eq-sub-function-editor-wizarding-editing.test.ts @@ -7,7 +7,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/eq-sub-function-editor.js'; import { EqSubFunctionEditor } from '../../../../src/editors/substation/eq-sub-function-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/function-editor.test.ts b/packages/plugins/test/integration/editors/substation/function-editor.test.ts index 499712f24..233591a66 100644 --- a/packages/plugins/test/integration/editors/substation/function-editor.test.ts +++ b/packages/plugins/test/integration/editors/substation/function-editor.test.ts @@ -7,7 +7,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/function-editor.js'; import { FunctionEditor } from '../../../../src/editors/substation/function-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/general-equipment-editor-wizard-editing.test.ts b/packages/plugins/test/integration/editors/substation/general-equipment-editor-wizard-editing.test.ts index 47aca51ed..bc8dada52 100644 --- a/packages/plugins/test/integration/editors/substation/general-equipment-editor-wizard-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/general-equipment-editor-wizard-editing.test.ts @@ -7,7 +7,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/general-equipment-editor.js'; import { GeneralEquipmentEditor } from '../../../../src/editors/substation/general-equipment-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/guess-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/guess-wizarding-editing.test.ts index 25a37ce79..b05f3e3d2 100644 --- a/packages/plugins/test/integration/editors/substation/guess-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/guess-wizarding-editing.test.ts @@ -1,13 +1,13 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { guessVoltageLevel } from '../../../../src/editors/substation/guess-wizard.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; import { CheckListItem } from '@material/mwc-list/mwc-check-list-item.js'; describe('guess-wizard-integration', () => { diff --git a/packages/plugins/test/integration/editors/substation/ied-editor-wizarding-integration.test.ts b/packages/plugins/test/integration/editors/substation/ied-editor-wizarding-integration.test.ts index 9c532db37..bccfee0b9 100644 --- a/packages/plugins/test/integration/editors/substation/ied-editor-wizarding-integration.test.ts +++ b/packages/plugins/test/integration/editors/substation/ied-editor-wizarding-integration.test.ts @@ -4,7 +4,7 @@ import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/ied-editor.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { IedEditor } from '../../../../src/editors/substation/ied-editor.js'; describe('IED editor component wizarding editing integration', () => { diff --git a/packages/plugins/test/integration/editors/substation/l-node-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/l-node-editor-wizarding-editing.test.ts index be3348106..f72cb1d91 100644 --- a/packages/plugins/test/integration/editors/substation/l-node-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/l-node-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/l-node-editor.js'; import { LNodeEditor } from '../../../../src/editors/substation/l-node-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('l-node-editor wizarding editing integration', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/editors/substation/line-editor-wizard-editing.test.ts b/packages/plugins/test/integration/editors/substation/line-editor-wizard-editing.test.ts index 8e88ed81c..3f5ebf519 100644 --- a/packages/plugins/test/integration/editors/substation/line-editor-wizard-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/line-editor-wizard-editing.test.ts @@ -6,7 +6,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/line-editor.js'; import { LineEditor } from '../../../../src/editors/substation/line-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/lnodewizard.test.ts b/packages/plugins/test/integration/editors/substation/lnodewizard.test.ts index ef4f03466..31212cdac 100644 --- a/packages/plugins/test/integration/editors/substation/lnodewizard.test.ts +++ b/packages/plugins/test/integration/editors/substation/lnodewizard.test.ts @@ -7,7 +7,7 @@ import { List } from '@material/mwc-list'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { lNodeWizard } from '../../../../src/wizards/lnode.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('lnodewizard', () => { let element: MockWizardEditor; diff --git a/packages/plugins/test/integration/editors/substation/powertransformer-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/powertransformer-editor-wizarding-editing.test.ts index d14cdbe67..3c3992001 100644 --- a/packages/plugins/test/integration/editors/substation/powertransformer-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/powertransformer-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/powertransformer-editor.js'; import { PowerTransformerEditor } from '../../../../src/editors/substation/powertransformer-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/process-editor-wizard-editing.test.ts b/packages/plugins/test/integration/editors/substation/process-editor-wizard-editing.test.ts index 3fafa25a3..2a5e45a3c 100644 --- a/packages/plugins/test/integration/editors/substation/process-editor-wizard-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/process-editor-wizard-editing.test.ts @@ -6,7 +6,7 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/process-editor.js'; import { ProcessEditor } from '../../../../src/editors/substation/process-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/sub-equipment-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/sub-equipment-wizarding-editing.test.ts index 03cbba501..14e1dc4c2 100644 --- a/packages/plugins/test/integration/editors/substation/sub-equipment-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/sub-equipment-wizarding-editing.test.ts @@ -4,9 +4,9 @@ import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/sub-equipment-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { SubEquipmentEditor } from '../../../../src/editors/substation/sub-equipment-editor.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/sub-function-editor.test.ts b/packages/plugins/test/integration/editors/substation/sub-function-editor.test.ts index 13b4c4f2c..c180ce495 100644 --- a/packages/plugins/test/integration/editors/substation/sub-function-editor.test.ts +++ b/packages/plugins/test/integration/editors/substation/sub-function-editor.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/sub-function-editor.js'; import { SubFunctionEditor } from '../../../../src/editors/substation/sub-function-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/substation-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/substation-editor-wizarding-editing.test.ts index 0ea0f93ba..6863ad19a 100644 --- a/packages/plugins/test/integration/editors/substation/substation-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/substation-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/substation-editor.js'; import { SubstationEditor } from '../../../../src/editors/substation/substation-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/substation-editor-wizarding.test.ts b/packages/plugins/test/integration/editors/substation/substation-editor-wizarding.test.ts index 179ef22be..6cd8ab79f 100644 --- a/packages/plugins/test/integration/editors/substation/substation-editor-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/substation/substation-editor-wizarding.test.ts @@ -1,8 +1,8 @@ import { fixture, html, expect } from '@open-wc/testing'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../../src/editors/substation/substation-editor.js'; import { regExp, regexString } from '../../../foundation.js'; diff --git a/packages/plugins/test/integration/editors/substation/tapchanger-editor-wizard-editing.test.ts b/packages/plugins/test/integration/editors/substation/tapchanger-editor-wizard-editing.test.ts index 5bf7a8d3f..f7dda747a 100644 --- a/packages/plugins/test/integration/editors/substation/tapchanger-editor-wizard-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/tapchanger-editor-wizard-editing.test.ts @@ -6,8 +6,8 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/tapchanger-editor.js'; import { TapChangerEditor } from '../../../../src/editors/substation/tapchanger-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/transformer-winding-editor-wizard-editing.test.ts b/packages/plugins/test/integration/editors/substation/transformer-winding-editor-wizard-editing.test.ts index fab0f9f0a..fff35bf47 100644 --- a/packages/plugins/test/integration/editors/substation/transformer-winding-editor-wizard-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/transformer-winding-editor-wizard-editing.test.ts @@ -6,8 +6,8 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import '../../../../src/editors/substation/transformer-winding-editor.js'; import { TransformerWindingEditor } from '../../../../src/editors/substation/transformer-winding-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; const openAndCancelMenu: ( diff --git a/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding-editing.test.ts b/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding-editing.test.ts index a1352a1af..7245d3df2 100644 --- a/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding-editing.test.ts @@ -5,7 +5,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/voltage-level-editor.js'; import { VoltageLevelEditor } from '../../../../src/editors/substation/voltage-level-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js'; import { MenuBase } from '@material/mwc-menu/mwc-menu-base.js'; diff --git a/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding.test.ts b/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding.test.ts index 7596cf88d..3c5dc7606 100644 --- a/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/substation/voltage-level-editor-wizarding.test.ts @@ -1,12 +1,12 @@ import { fixture, html, expect } from '@open-wc/testing'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../../src/editors/substation/voltage-level-editor.js'; import { regexString, regExp, inverseRegExp } from '../../../foundation.js'; -import { patterns } from '@openscd/open-scd/src/foundation.js'; +import { patterns } from '@openscd/core/foundation/scl.js'; describe('voltage-level-editor wizarding integration', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/editors/substation/zeroline-pane.test.ts b/packages/plugins/test/integration/editors/substation/zeroline-pane.test.ts index 029047448..760ba7bd4 100644 --- a/packages/plugins/test/integration/editors/substation/zeroline-pane.test.ts +++ b/packages/plugins/test/integration/editors/substation/zeroline-pane.test.ts @@ -4,9 +4,9 @@ import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import '../../../../src/editors/substation/zeroline-pane.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { ZerolinePane } from '../../../../src/editors/substation/zeroline-pane.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { IconButton } from '@material/mwc-icon-button'; import { ListItem } from '@material/mwc-list/mwc-list-item'; diff --git a/packages/plugins/test/integration/editors/templates/Templates.test.ts b/packages/plugins/test/integration/editors/templates/Templates.test.ts index e453aa88f..0f8355fd4 100644 --- a/packages/plugins/test/integration/editors/templates/Templates.test.ts +++ b/packages/plugins/test/integration/editors/templates/Templates.test.ts @@ -5,7 +5,7 @@ import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; import TemplatesPlugin from '../../../../src/editors/Templates.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('Templates Plugin', () => { customElements.define('templates-plugin', TemplatesPlugin); diff --git a/packages/plugins/test/integration/editors/templates/datype-wizarding.test.ts b/packages/plugins/test/integration/editors/templates/datype-wizarding.test.ts index 3d0c5d644..11545af72 100644 --- a/packages/plugins/test/integration/editors/templates/datype-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/templates/datype-wizarding.test.ts @@ -3,12 +3,12 @@ import { html, fixture, expect } from '@open-wc/testing'; import '@openscd/open-scd/test/mock-open-scd.js'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import TemplatesPlugin from '../../../../src/editors/Templates.js'; -import { patterns } from '@openscd/open-scd/src/foundation.js'; +import { patterns } from '@openscd/core/foundation/scl.js'; import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; describe('DAType wizards', () => { diff --git a/packages/plugins/test/integration/editors/templates/dotype-wizarding.test.ts b/packages/plugins/test/integration/editors/templates/dotype-wizarding.test.ts index 3dfc9f216..b6adf34c9 100644 --- a/packages/plugins/test/integration/editors/templates/dotype-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/templates/dotype-wizarding.test.ts @@ -4,11 +4,11 @@ import '@openscd/open-scd/test/mock-open-scd.js'; import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import TemplatesPlugin from '../../../../src/editors/Templates.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { patterns } from '../../../../src/wizards/foundation/limits.js'; diff --git a/packages/plugins/test/integration/editors/templates/enumtype-wizarding.test.ts b/packages/plugins/test/integration/editors/templates/enumtype-wizarding.test.ts index e7e9af814..a25329117 100644 --- a/packages/plugins/test/integration/editors/templates/enumtype-wizarding.test.ts +++ b/packages/plugins/test/integration/editors/templates/enumtype-wizarding.test.ts @@ -4,12 +4,12 @@ import '@openscd/open-scd/test/mock-open-scd.js'; import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import TemplatesPlugin from '../../../../src/editors/Templates.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { patterns } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { patterns } from '@openscd/core/foundation/scl.js'; describe('EnumType wizards', () => { if (customElements.get('templates-editor') === undefined) diff --git a/packages/plugins/test/integration/editors/templates/lnodetype-wizard.test.ts b/packages/plugins/test/integration/editors/templates/lnodetype-wizard.test.ts index e8187046a..11b82d110 100644 --- a/packages/plugins/test/integration/editors/templates/lnodetype-wizard.test.ts +++ b/packages/plugins/test/integration/editors/templates/lnodetype-wizard.test.ts @@ -4,13 +4,13 @@ import '@openscd/open-scd/test/mock-open-scd.js'; import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; import { ListItem } from '@material/mwc-list/mwc-list-item'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import TemplatesPlugin from '../../../../src/editors/Templates.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; -import { patterns } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; +import { patterns } from '@openscd/core/foundation/scl.js'; describe('LNodeType wizards', () => { if (customElements.get('templates-editor') === undefined) diff --git a/packages/plugins/test/integration/wizards/address-wizarding-editing.test.ts b/packages/plugins/test/integration/wizards/address-wizarding-editing.test.ts index 3f736e951..eb9660e3c 100644 --- a/packages/plugins/test/integration/wizards/address-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/wizards/address-wizarding-editing.test.ts @@ -3,8 +3,8 @@ import { expect, fixture, html } from '@open-wc/testing'; import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { editGseWizard } from '../../../src/wizards/gse.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('address wizarding editing integration', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/bda-wizarding-editing.test.ts b/packages/plugins/test/integration/wizards/bda-wizarding-editing.test.ts index 1a9539e5a..aa11c0b9c 100644 --- a/packages/plugins/test/integration/wizards/bda-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/wizards/bda-wizarding-editing.test.ts @@ -6,11 +6,11 @@ import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import TemplatesPlugin from '../../../src/editors/Templates.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; describe('BDA wizarding editing integration', () => { if (customElements.get('templates-editor') === undefined) diff --git a/packages/plugins/test/integration/wizards/connectedap-wizarding-editing-integration.test.ts b/packages/plugins/test/integration/wizards/connectedap-wizarding-editing-integration.test.ts index 1c7d51a29..c665c9a47 100644 --- a/packages/plugins/test/integration/wizards/connectedap-wizarding-editing-integration.test.ts +++ b/packages/plugins/test/integration/wizards/connectedap-wizarding-editing-integration.test.ts @@ -4,7 +4,7 @@ import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { editConnectedApWizard } from '../../../src/wizards/connectedap.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('connectedap wizarding editing integration', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/da-wizarding-editing.test.ts b/packages/plugins/test/integration/wizards/da-wizarding-editing.test.ts index 5cc98f5c5..fe5f2a87b 100644 --- a/packages/plugins/test/integration/wizards/da-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/wizards/da-wizarding-editing.test.ts @@ -5,12 +5,12 @@ import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { ListItem } from '@material/mwc-list/mwc-list-item'; import TemplatesPlugin from '../../../src/editors/Templates.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; describe('DA wizarding editing integration', () => { if (customElements.get('templates-editor') === undefined) diff --git a/packages/plugins/test/integration/wizards/dataset-wizarding-editing-integration.test.ts b/packages/plugins/test/integration/wizards/dataset-wizarding-editing-integration.test.ts index 56d519db9..ce2f596d4 100644 --- a/packages/plugins/test/integration/wizards/dataset-wizarding-editing-integration.test.ts +++ b/packages/plugins/test/integration/wizards/dataset-wizarding-editing-integration.test.ts @@ -3,9 +3,9 @@ import { expect, fixture, html } from '@open-wc/testing'; import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { editDataSetWizard } from '../../../src/wizards/dataset.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('dataset wizards', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/fcda-wizarding-editing-integration.test.ts b/packages/plugins/test/integration/wizards/fcda-wizarding-editing-integration.test.ts index 170d288e2..ad420be22 100644 --- a/packages/plugins/test/integration/wizards/fcda-wizarding-editing-integration.test.ts +++ b/packages/plugins/test/integration/wizards/fcda-wizarding-editing-integration.test.ts @@ -4,8 +4,8 @@ import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { createFCDAsWizard } from '../../../src/wizards/fcda.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('FCDA editing wizarding integration', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/gse-wizarding-editing-integration.test.ts b/packages/plugins/test/integration/wizards/gse-wizarding-editing-integration.test.ts index 89f8e930d..e9911929a 100644 --- a/packages/plugins/test/integration/wizards/gse-wizarding-editing-integration.test.ts +++ b/packages/plugins/test/integration/wizards/gse-wizarding-editing-integration.test.ts @@ -4,8 +4,8 @@ import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { editGseWizard } from '../../../src/wizards/gse.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('gse wizarding editing integration', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/gsecontrolwizarding-editing.test.ts b/packages/plugins/test/integration/wizards/gsecontrolwizarding-editing.test.ts index d60a9ea69..a957f2ffb 100644 --- a/packages/plugins/test/integration/wizards/gsecontrolwizarding-editing.test.ts +++ b/packages/plugins/test/integration/wizards/gsecontrolwizarding-editing.test.ts @@ -9,10 +9,10 @@ import { editGseControlWizard, selectGseControlWizard, } from '../../../src/wizards/gsecontrol.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('Wizards for SCL element GSEControl', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/reportcontrol-wizarding-editing.test.ts b/packages/plugins/test/integration/wizards/reportcontrol-wizarding-editing.test.ts index 92255bd4b..4540f700d 100644 --- a/packages/plugins/test/integration/wizards/reportcontrol-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/wizards/reportcontrol-wizarding-editing.test.ts @@ -5,17 +5,17 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { createReportControlWizard, reportControlCopyToIedSelector, reportControlParentSelector, selectReportControlWizard, } from '../../../src/wizards/reportcontrol.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; import { CheckListItem } from '@material/mwc-list/mwc-check-list-item'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('Wizards for SCL element ReportControl', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/sampledvaluecontrol-wizarding-editing.test.ts b/packages/plugins/test/integration/wizards/sampledvaluecontrol-wizarding-editing.test.ts index 4b8cac87e..4dc92dd6c 100644 --- a/packages/plugins/test/integration/wizards/sampledvaluecontrol-wizarding-editing.test.ts +++ b/packages/plugins/test/integration/wizards/sampledvaluecontrol-wizarding-editing.test.ts @@ -5,15 +5,15 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { createSampledValueControlWizard, selectSampledValueControlWizard, } from '../../../src/wizards/sampledvaluecontrol.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; describe('Wizards for SCL element SampledValueControl', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/integration/wizards/services-wizard.test.ts b/packages/plugins/test/integration/wizards/services-wizard.test.ts index 52a5f65db..54e88c5f9 100644 --- a/packages/plugins/test/integration/wizards/services-wizard.test.ts +++ b/packages/plugins/test/integration/wizards/services-wizard.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; -import { newWizardEvent, Wizard } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent, Wizard } from '@openscd/open-scd/foundation.js'; import { editServicesWizard } from '../../../src/wizards/services.js'; import '@openscd/open-scd/test/mock-wizard-editor.js'; import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; -import { WizardDialog } from '@openscd/open-scd/src/wizard-dialog.js'; +import { WizardDialog } from '@openscd/open-scd/wizard-dialog.js'; describe('Wizards for SCL element Services', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/editors/ied/da-container.test.ts b/packages/plugins/test/unit/editors/ied/da-container.test.ts index 892e7597c..684a3d11b 100644 --- a/packages/plugins/test/unit/editors/ied/da-container.test.ts +++ b/packages/plugins/test/unit/editors/ied/da-container.test.ts @@ -3,7 +3,7 @@ import { expect, fixture, html } from '@open-wc/testing'; import '../../../../src/editors/ied/da-container.js'; import { DAContainer } from '../../../../src/editors/ied/da-container.js'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { TemplateResult } from 'lit-element'; describe('da-container', async () => { diff --git a/packages/plugins/test/unit/editors/ied/da-wizard.test.ts b/packages/plugins/test/unit/editors/ied/da-wizard.test.ts index 058176095..428352f48 100644 --- a/packages/plugins/test/unit/editors/ied/da-wizard.test.ts +++ b/packages/plugins/test/unit/editors/ied/da-wizard.test.ts @@ -1,9 +1,9 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { createDaInfoWizard } from '../../../../src/editors/ied/da-wizard.js'; import { getAncestorsFromDA } from './test-support.js'; diff --git a/packages/plugins/test/unit/editors/ied/do-container.test.ts b/packages/plugins/test/unit/editors/ied/do-container.test.ts index 95bdba88c..1733b175a 100644 --- a/packages/plugins/test/unit/editors/ied/do-container.test.ts +++ b/packages/plugins/test/unit/editors/ied/do-container.test.ts @@ -2,7 +2,7 @@ import { expect, fixture, html } from '@open-wc/testing'; import '../../../../src/editors/ied/do-container.js'; import { DOContainer } from '../../../../src/editors/ied/do-container.js'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; describe('do-container', async () => { let element: DOContainer; diff --git a/packages/plugins/test/unit/editors/ied/do-wizard.test.ts b/packages/plugins/test/unit/editors/ied/do-wizard.test.ts index 528cc7259..5050410ce 100644 --- a/packages/plugins/test/unit/editors/ied/do-wizard.test.ts +++ b/packages/plugins/test/unit/editors/ied/do-wizard.test.ts @@ -1,9 +1,9 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import { createDoInfoWizard } from '../../../../src/editors/ied/do-wizard.js'; import { getAncestorsFromDO } from './test-support.js'; diff --git a/packages/plugins/test/unit/editors/ied/ldevice-container.test.ts b/packages/plugins/test/unit/editors/ied/ldevice-container.test.ts index a3ac3102e..1655b555d 100644 --- a/packages/plugins/test/unit/editors/ied/ldevice-container.test.ts +++ b/packages/plugins/test/unit/editors/ied/ldevice-container.test.ts @@ -1,6 +1,6 @@ import { expect, fixture, html } from '@open-wc/testing'; -import { initializeNsdoc, Nsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc, Nsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import '../../../../src/editors/ied/ldevice-container.js'; diff --git a/packages/plugins/test/unit/editors/ied/ln-container.test.ts b/packages/plugins/test/unit/editors/ied/ln-container.test.ts index c723e7517..3a26c3a30 100644 --- a/packages/plugins/test/unit/editors/ied/ln-container.test.ts +++ b/packages/plugins/test/unit/editors/ied/ln-container.test.ts @@ -2,7 +2,7 @@ import { expect, fixture, html } from '@open-wc/testing'; import '../../../../src/editors/ied/ln-container.js'; import { LNContainer } from '../../../../src/editors/ied/ln-container.js'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; describe('ln-container', async () => { let element: LNContainer; diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/address.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/address.test.ts index 620e2f34f..8faba4b41 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/address.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/address.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; import { executeWizardReplaceAction, diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/connectedap.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/connectedap.test.ts index 9c7dac6f8..42fa76ef9 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/connectedap.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/connectedap.test.ts @@ -1,15 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { Checkbox } from '@material/mwc-checkbox'; import { createConnectedApWizard, editConnectedApWizard, } from '../../../../../src/editors/protocol104/wizards/connectedap.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, @@ -17,7 +17,7 @@ import { Create, Delete, } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; describe('Wizards for SCL element ConnectedAP', () => { diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/createAddresses.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/createAddresses.test.ts index 227088347..a37f4d6ad 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/createAddresses.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/createAddresses.test.ts @@ -1,20 +1,20 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { WizardAction, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isSimple, ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { createAddressesAction, @@ -252,9 +252,9 @@ describe('Wizards for preparing 104 Address Creation', () => { }); it('when processing the request with Check Selected, the expected Create Actions are returned', async () => { - const switchElement = element.wizardUI.dialog!.querySelector( + const switchElement = element.wizardUI.dialog!.querySelector( `mwc-switch[id="controlCheck"]` - )!; + )! as Switch; switchElement.checked = true; await element.requestUpdate(); diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/doi.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/doi.test.ts index b652c1d9c..720aada67 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/doi.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/doi.test.ts @@ -1,8 +1,8 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { isSimple, ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/logiclink.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/logiclink.test.ts index d5fc8763e..02a32f505 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/logiclink.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/logiclink.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, @@ -14,7 +14,7 @@ import { Delete, Replace } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { createLogicLinkWizard, editLogicLinkWizard, diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/redundancygroup.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/redundancygroup.test.ts index d6fe0cc9c..785bfffd7 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/redundancygroup.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/redundancygroup.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, @@ -14,7 +14,7 @@ import { Delete, Replace } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { createRedundancyGroupWizard, editRedundancyGroupWizard, diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/selectDo.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/selectDo.test.ts index 24d30690b..3710c5de2 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/selectDo.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/selectDo.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { getDataChildren, diff --git a/packages/plugins/test/unit/editors/protocol104/wizards/subnetwork.test.ts b/packages/plugins/test/unit/editors/protocol104/wizards/subnetwork.test.ts index a7dbacfcd..668364a53 100644 --- a/packages/plugins/test/unit/editors/protocol104/wizards/subnetwork.test.ts +++ b/packages/plugins/test/unit/editors/protocol104/wizards/subnetwork.test.ts @@ -1,14 +1,16 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { - WizardInputElement, patterns, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + WizardInputElement, +} from '@openscd/open-scd/foundation.js'; import { isCreate, Create } from '@openscd/core/foundation/deprecated/editor.js'; import { createSubNetworkWizard } from '../../../../../src/editors/protocol104/wizards/subnetwork.js'; diff --git a/packages/plugins/test/unit/editors/singlelinediagram/foundation.test.ts b/packages/plugins/test/unit/editors/singlelinediagram/foundation.test.ts index 6803277e5..7af4c1ae3 100644 --- a/packages/plugins/test/unit/editors/singlelinediagram/foundation.test.ts +++ b/packages/plugins/test/unit/editors/singlelinediagram/foundation.test.ts @@ -5,7 +5,12 @@ import { getConnectedTerminals, calculateConnectivityNodeCoordinates, getCommonParentElement, } from '../../../../src/editors/singlelinediagram/foundation.js'; -import { getDescriptionAttribute, getInstanceAttribute, getNameAttribute, getPathNameAttribute } from '@openscd/open-scd/src/foundation.js'; +import { + getDescriptionAttribute, + getInstanceAttribute, + getNameAttribute, + getPathNameAttribute +} from '@openscd/core/foundation/scl.js'; describe('Single Line Diagram foundation', () => { let doc: Document; diff --git a/packages/plugins/test/unit/editors/singlelinediagram/wizards/bay.test.ts b/packages/plugins/test/unit/editors/singlelinediagram/wizards/bay.test.ts index 6bd9aa929..c05a6c7ca 100644 --- a/packages/plugins/test/unit/editors/singlelinediagram/wizards/bay.test.ts +++ b/packages/plugins/test/unit/editors/singlelinediagram/wizards/bay.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { executeWizardReplaceAction, @@ -10,8 +10,8 @@ import { setWizardTextFieldValue, } from '../../../wizards/test-support.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { editBayWizard } from '../../../../../src/editors/singlelinediagram/wizards/bay.js'; import { updateNamingAndCoordinatesAction } from '../../../../../src/editors/singlelinediagram/wizards/foundation.js'; diff --git a/packages/plugins/test/unit/editors/singlelinediagram/wizards/conductingequipment.test.ts b/packages/plugins/test/unit/editors/singlelinediagram/wizards/conductingequipment.test.ts index ba1c42dae..a3481155c 100644 --- a/packages/plugins/test/unit/editors/singlelinediagram/wizards/conductingequipment.test.ts +++ b/packages/plugins/test/unit/editors/singlelinediagram/wizards/conductingequipment.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { executeWizardReplaceAction, @@ -10,8 +10,8 @@ import { setWizardTextFieldValue, } from '../../../wizards/test-support.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { editConductingEquipmentWizard } from '../../../../../src/editors/singlelinediagram/wizards/conductingequipment.js'; import { updateNamingAndCoordinatesAction } from '../../../../../src/editors/singlelinediagram/wizards/foundation.js'; diff --git a/packages/plugins/test/unit/editors/singlelinediagram/wizards/powertransformer.test.ts b/packages/plugins/test/unit/editors/singlelinediagram/wizards/powertransformer.test.ts index 6f3f2758e..22fd3fd56 100644 --- a/packages/plugins/test/unit/editors/singlelinediagram/wizards/powertransformer.test.ts +++ b/packages/plugins/test/unit/editors/singlelinediagram/wizards/powertransformer.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { executeWizardReplaceAction, @@ -10,8 +10,8 @@ import { setWizardTextFieldValue, } from '../../../wizards/test-support.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { editPowerTransformerWizard } from '../../../../../src/editors/singlelinediagram/wizards/powertransformer.js'; import { updateNamingAndCoordinatesAction } from '../../../../../src/editors/singlelinediagram/wizards/foundation.js'; diff --git a/packages/plugins/test/unit/editors/singlelinediagram/wizards/wizard-library.test.ts b/packages/plugins/test/unit/editors/singlelinediagram/wizards/wizard-library.test.ts index 46c4e12cc..cf132be6c 100644 --- a/packages/plugins/test/unit/editors/singlelinediagram/wizards/wizard-library.test.ts +++ b/packages/plugins/test/unit/editors/singlelinediagram/wizards/wizard-library.test.ts @@ -1,6 +1,6 @@ import {expect} from "@open-wc/testing"; -import {SCLTag} from "@openscd/open-scd/src/foundation.js"; +import {SCLTag} from '@openscd/core/foundation/scl.js'; import {emptyWizard} from "../../../../../src/wizards/wizard-library.js"; import {wizards} from "../../../../../src/editors/singlelinediagram/wizards/wizard-library.js"; diff --git a/packages/plugins/test/unit/editors/subscription/fcda-binding-list.test.ts b/packages/plugins/test/unit/editors/subscription/fcda-binding-list.test.ts index 85aa38846..8a37b1ac5 100644 --- a/packages/plugins/test/unit/editors/subscription/fcda-binding-list.test.ts +++ b/packages/plugins/test/unit/editors/subscription/fcda-binding-list.test.ts @@ -3,7 +3,7 @@ import { expect, fixture, html } from '@open-wc/testing'; import '@openscd/open-scd/test/mock-open-scd.js'; import { MockOpenSCD } from '@openscd/open-scd/test/mock-open-scd.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import '../../../../src/editors/subscription/fcda-binding-list.js'; import { FcdaBindingList } from '../../../../src/editors/subscription/fcda-binding-list.js'; diff --git a/packages/plugins/test/unit/editors/subscription/foundation.test.ts b/packages/plugins/test/unit/editors/subscription/foundation.test.ts index e4a66692f..1ca407a67 100644 --- a/packages/plugins/test/unit/editors/subscription/foundation.test.ts +++ b/packages/plugins/test/unit/editors/subscription/foundation.test.ts @@ -8,7 +8,7 @@ import { updateExtRefElement, } from '../../../../src/editors/subscription/foundation.js'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; describe('foundation', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/editors/subscription/later-binding/ext-ref-ln-binding-list.test.ts b/packages/plugins/test/unit/editors/subscription/later-binding/ext-ref-ln-binding-list.test.ts index a06f7ddb7..489faee36 100644 --- a/packages/plugins/test/unit/editors/subscription/later-binding/ext-ref-ln-binding-list.test.ts +++ b/packages/plugins/test/unit/editors/subscription/later-binding/ext-ref-ln-binding-list.test.ts @@ -1,6 +1,6 @@ import { expect, fixture, html } from '@open-wc/testing'; -import { initializeNsdoc } from '@openscd/open-scd/src/foundation/nsdoc.js'; +import { initializeNsdoc } from '@openscd/open-scd/foundation/nsdoc.js'; import '../../../../../src/editors/subscription/later-binding/ext-ref-ln-binding-list.js'; diff --git a/packages/plugins/test/unit/editors/substation/redirectionUI.test.ts b/packages/plugins/test/unit/editors/substation/redirectionUI.test.ts index 458aa3d00..915064e5c 100644 --- a/packages/plugins/test/unit/editors/substation/redirectionUI.test.ts +++ b/packages/plugins/test/unit/editors/substation/redirectionUI.test.ts @@ -2,7 +2,7 @@ import { fixture, html, expect } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; import { Dialog } from '@material/mwc-dialog'; -import { Select } from '@material/mwc-select'; +import type { Select } from '@material/mwc-select/mwc-select.js'; import '../../../../src/editors/substation/bay-editor.js'; import '../../../../src/editors/substation/substation-editor.js'; @@ -10,7 +10,7 @@ import '../../../../src/editors/substation/voltage-level-editor.js'; import { BayEditor } from '../../../../src/editors/substation/bay-editor.js'; import { SubstationEditor } from '../../../../src/editors/substation/substation-editor.js'; import { VoltageLevelEditor } from '../../../../src/editors/substation/voltage-level-editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; async function loadAndClone( cloneEntity: BayEditor | VoltageLevelEditor | SubstationEditor, diff --git a/packages/plugins/test/unit/editors/templates/datype.test.ts b/packages/plugins/test/unit/editors/templates/datype.test.ts index 7ea767128..33b2b9c89 100644 --- a/packages/plugins/test/unit/editors/templates/datype.test.ts +++ b/packages/plugins/test/unit/editors/templates/datype.test.ts @@ -1,13 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { identity, +} from '@openscd/core/foundation/scl.js'; +import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, Replace, diff --git a/packages/plugins/test/unit/editors/templates/dotype.test.ts b/packages/plugins/test/unit/editors/templates/dotype.test.ts index 8dad5e14c..a91ffee74 100644 --- a/packages/plugins/test/unit/editors/templates/dotype.test.ts +++ b/packages/plugins/test/unit/editors/templates/dotype.test.ts @@ -1,13 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { identity, +} from '@openscd/core/foundation/scl.js'; +import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, Replace, diff --git a/packages/plugins/test/unit/editors/templates/enumtype.test.ts b/packages/plugins/test/unit/editors/templates/enumtype.test.ts index 7f183baa1..66c5a6424 100644 --- a/packages/plugins/test/unit/editors/templates/enumtype.test.ts +++ b/packages/plugins/test/unit/editors/templates/enumtype.test.ts @@ -1,13 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { identity, +} from '@openscd/core/foundation/scl.js'; +import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, Replace, diff --git a/packages/plugins/test/unit/editors/templates/lnodetype-wizard.test.ts b/packages/plugins/test/unit/editors/templates/lnodetype-wizard.test.ts index 614f09142..5dc1ec3a7 100644 --- a/packages/plugins/test/unit/editors/templates/lnodetype-wizard.test.ts +++ b/packages/plugins/test/unit/editors/templates/lnodetype-wizard.test.ts @@ -2,13 +2,15 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { identity, +} from '@openscd/core/foundation/scl.js'; +import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, Replace, diff --git a/packages/plugins/test/unit/menu/CompareIED.test.ts b/packages/plugins/test/unit/menu/CompareIED.test.ts index e231d8269..1924d080d 100644 --- a/packages/plugins/test/unit/menu/CompareIED.test.ts +++ b/packages/plugins/test/unit/menu/CompareIED.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; import CompareIEDPlugin from '../../../src/menu/CompareIED.js'; -import { PlainCompareList } from '@openscd/open-scd/src/plain-compare-list.js'; +import { PlainCompareList } from '@openscd/open-scd/plain-compare-list.js'; describe('Compare IED Plugin', () => { if (customElements.get('compare-ied') === undefined) diff --git a/packages/plugins/test/unit/menu/VirtualTemplateIED.test.ts b/packages/plugins/test/unit/menu/VirtualTemplateIED.test.ts index 6b9b29029..1625fe9f6 100644 --- a/packages/plugins/test/unit/menu/VirtualTemplateIED.test.ts +++ b/packages/plugins/test/unit/menu/VirtualTemplateIED.test.ts @@ -4,7 +4,7 @@ import { SinonSpy, spy } from 'sinon'; import { Create, isCreate } from '@openscd/core/foundation/deprecated/editor.js'; import VirtualTemplateIED from '../../../src/menu/VirtualTemplateIED.js'; import { CheckListItem } from '@material/mwc-list/mwc-check-list-item'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('Plugin that creates with some user input a virtual template IED - SPECIFICATION', () => { if (customElements.get('virtual-template-i-e-d') === undefined) diff --git a/packages/plugins/test/unit/menu/updatesubstation.test.ts b/packages/plugins/test/unit/menu/updatesubstation.test.ts index 052a3cc39..0df228239 100644 --- a/packages/plugins/test/unit/menu/updatesubstation.test.ts +++ b/packages/plugins/test/unit/menu/updatesubstation.test.ts @@ -1,7 +1,7 @@ import { expect } from '@open-wc/testing'; import { isValidReference } from '../../../src/menu/UpdateSubstation.js'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; describe('isValidReference', () => { let ours: XMLDocument; diff --git a/packages/plugins/test/unit/menu/virtualtemplateied/foundation.test.ts b/packages/plugins/test/unit/menu/virtualtemplateied/foundation.test.ts index 7afdc25d1..9a6b8b542 100644 --- a/packages/plugins/test/unit/menu/virtualtemplateied/foundation.test.ts +++ b/packages/plugins/test/unit/menu/virtualtemplateied/foundation.test.ts @@ -1,5 +1,5 @@ import { expect } from '@open-wc/testing'; -import { identity } from '@openscd/open-scd/src/foundation.js'; +import { identity } from '@openscd/core/foundation/scl.js'; import { getFunctionNamingPrefix, diff --git a/packages/plugins/test/unit/wizards/abstractda.test.ts b/packages/plugins/test/unit/wizards/abstractda.test.ts index 5e0dc217a..2c70f55b6 100644 --- a/packages/plugins/test/unit/wizards/abstractda.test.ts +++ b/packages/plugins/test/unit/wizards/abstractda.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { isCreate, isDelete, diff --git a/packages/plugins/test/unit/wizards/address.test.ts b/packages/plugins/test/unit/wizards/address.test.ts index caae4d51b..735b28d16 100644 --- a/packages/plugins/test/unit/wizards/address.test.ts +++ b/packages/plugins/test/unit/wizards/address.test.ts @@ -1,15 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { getValue, Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, diff --git a/packages/plugins/test/unit/wizards/bay.test.ts b/packages/plugins/test/unit/wizards/bay.test.ts index d454652a6..ce2ac5e74 100644 --- a/packages/plugins/test/unit/wizards/bay.test.ts +++ b/packages/plugins/test/unit/wizards/bay.test.ts @@ -3,14 +3,14 @@ import { fixture, html, expect } from '@open-wc/testing'; import { WizardInputElement, WizardActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, isSimple, ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { createAction } from '../../../src/wizards/bay.js'; import { replaceNamingAttributeWithReferencesAction } from '../../../src/wizards/foundation/actions.js'; diff --git a/packages/plugins/test/unit/wizards/bda.test.ts b/packages/plugins/test/unit/wizards/bda.test.ts index 95d634f00..7af4f5c0f 100644 --- a/packages/plugins/test/unit/wizards/bda.test.ts +++ b/packages/plugins/test/unit/wizards/bda.test.ts @@ -1,14 +1,14 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, diff --git a/packages/plugins/test/unit/wizards/clientln.test.ts b/packages/plugins/test/unit/wizards/clientln.test.ts index b937abd56..783e196d0 100644 --- a/packages/plugins/test/unit/wizards/clientln.test.ts +++ b/packages/plugins/test/unit/wizards/clientln.test.ts @@ -21,7 +21,7 @@ describe('clientln wizards', () => { .then(str => new DOMParser().parseFromString(str, 'application/xml')); parent = await fixture( - html`` ); diff --git a/packages/plugins/test/unit/wizards/commmap.test.ts b/packages/plugins/test/unit/wizards/commmap.test.ts index f597917ba..8fe2510e5 100644 --- a/packages/plugins/test/unit/wizards/commmap.test.ts +++ b/packages/plugins/test/unit/wizards/commmap.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../src/editors/substation/zeroline-pane.js'; import { diff --git a/packages/plugins/test/unit/wizards/conductingequipment.test.ts b/packages/plugins/test/unit/wizards/conductingequipment.test.ts index f42374212..3dc33f6ab 100644 --- a/packages/plugins/test/unit/wizards/conductingequipment.test.ts +++ b/packages/plugins/test/unit/wizards/conductingequipment.test.ts @@ -1,12 +1,12 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Create, isCreate } from '@openscd/core/foundation/deprecated/editor.js'; import { fetchDoc } from './test-support.js'; import { createConductingEquipmentWizard } from '../../../src/wizards/conductingequipment.js'; diff --git a/packages/plugins/test/unit/wizards/connectedap-c.test.ts b/packages/plugins/test/unit/wizards/connectedap-c.test.ts index ce20c02be..aa46ad836 100644 --- a/packages/plugins/test/unit/wizards/connectedap-c.test.ts +++ b/packages/plugins/test/unit/wizards/connectedap-c.test.ts @@ -6,7 +6,7 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js'; import { createConnectedApWizard } from '../../../src/wizards/connectedap.js'; -import { newWizardEvent } from '@openscd/open-scd/src/foundation.js'; +import { newWizardEvent } from '@openscd/open-scd/foundation.js'; function isAllMacUnique(parent: Element, serviceType: 'GSE' | 'SMV'): boolean { const allMacs = Array.from( diff --git a/packages/plugins/test/unit/wizards/connectedap-pattern.test.ts b/packages/plugins/test/unit/wizards/connectedap-pattern.test.ts index 3a2f58e3d..68cbf21e0 100644 --- a/packages/plugins/test/unit/wizards/connectedap-pattern.test.ts +++ b/packages/plugins/test/unit/wizards/connectedap-pattern.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import fc, { integer, ipV4, nat } from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import '../../../src/editors/communication/connectedap-editor.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { ipV6, @@ -14,7 +14,7 @@ import { regExp, regexString, } from '../../foundation.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { editConnectedApWizard } from '../../../src/wizards/connectedap.js'; describe('Edit wizard for SCL element ConnectedAP', () => { diff --git a/packages/plugins/test/unit/wizards/connectedap.test.ts b/packages/plugins/test/unit/wizards/connectedap.test.ts index a0f708688..787700004 100644 --- a/packages/plugins/test/unit/wizards/connectedap.test.ts +++ b/packages/plugins/test/unit/wizards/connectedap.test.ts @@ -1,15 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { Checkbox } from '@material/mwc-checkbox'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, diff --git a/packages/plugins/test/unit/wizards/connectivitynode.test.ts b/packages/plugins/test/unit/wizards/connectivitynode.test.ts index e2d8af677..2bdd11826 100644 --- a/packages/plugins/test/unit/wizards/connectivitynode.test.ts +++ b/packages/plugins/test/unit/wizards/connectivitynode.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { editConnectivityNodeWizard } from '../../../src/wizards/connectivitynode.js'; diff --git a/packages/plugins/test/unit/wizards/da.test.ts b/packages/plugins/test/unit/wizards/da.test.ts index b3b1efb6f..f044c4017 100644 --- a/packages/plugins/test/unit/wizards/da.test.ts +++ b/packages/plugins/test/unit/wizards/da.test.ts @@ -1,15 +1,15 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { wizardContent } from '../../../src/wizards/abstractda.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, diff --git a/packages/plugins/test/unit/wizards/dai.test.ts b/packages/plugins/test/unit/wizards/dai.test.ts index 417e1baf9..3c107131d 100644 --- a/packages/plugins/test/unit/wizards/dai.test.ts +++ b/packages/plugins/test/unit/wizards/dai.test.ts @@ -1,13 +1,13 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { WizardAction, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isSimple, Create, diff --git a/packages/plugins/test/unit/wizards/dataset.test.ts b/packages/plugins/test/unit/wizards/dataset.test.ts index 52ac5e44a..b5395895a 100644 --- a/packages/plugins/test/unit/wizards/dataset.test.ts +++ b/packages/plugins/test/unit/wizards/dataset.test.ts @@ -1,17 +1,17 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; import { editDataSetWizard } from '../../../src/wizards/dataset.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isDelete, isReplace, diff --git a/packages/plugins/test/unit/wizards/eqfunction.test.ts b/packages/plugins/test/unit/wizards/eqfunction.test.ts index bdbecbd2d..fdb1691ae 100644 --- a/packages/plugins/test/unit/wizards/eqfunction.test.ts +++ b/packages/plugins/test/unit/wizards/eqfunction.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, diff --git a/packages/plugins/test/unit/wizards/eqsubfunction.test.ts b/packages/plugins/test/unit/wizards/eqsubfunction.test.ts index c0763613e..c525c6d6d 100644 --- a/packages/plugins/test/unit/wizards/eqsubfunction.test.ts +++ b/packages/plugins/test/unit/wizards/eqsubfunction.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, diff --git a/packages/plugins/test/unit/wizards/fcda.test.ts b/packages/plugins/test/unit/wizards/fcda.test.ts index f7a0ee1c4..d887da493 100644 --- a/packages/plugins/test/unit/wizards/fcda.test.ts +++ b/packages/plugins/test/unit/wizards/fcda.test.ts @@ -1,12 +1,12 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { createFCDAsWizard } from '../../../src/wizards/fcda.js'; import { isCreate } from '@openscd/core/foundation/deprecated/editor.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; describe('create wizard for FCDA element', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/foundation/dai-field-type.test.ts b/packages/plugins/test/unit/wizards/foundation/dai-field-type.test.ts index e309df9ae..e56a8dbee 100644 --- a/packages/plugins/test/unit/wizards/foundation/dai-field-type.test.ts +++ b/packages/plugins/test/unit/wizards/foundation/dai-field-type.test.ts @@ -1,9 +1,9 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { Wizard, WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { Wizard, WizardInputElement } from '@openscd/open-scd/foundation.js'; import { CustomField, diff --git a/packages/plugins/test/unit/wizards/function.test.ts b/packages/plugins/test/unit/wizards/function.test.ts index 1be250511..97dfff208 100644 --- a/packages/plugins/test/unit/wizards/function.test.ts +++ b/packages/plugins/test/unit/wizards/function.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, diff --git a/packages/plugins/test/unit/wizards/generalequipment.test.ts b/packages/plugins/test/unit/wizards/generalequipment.test.ts index 925718c5d..7a298799e 100644 --- a/packages/plugins/test/unit/wizards/generalequipment.test.ts +++ b/packages/plugins/test/unit/wizards/generalequipment.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, @@ -16,7 +16,7 @@ import { createGeneralEquipmentWizard, editGeneralEquipmentWizard, } from '../../../src/wizards/generalEquipment.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; describe('Wizards for SCL GeneralEquipment element', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/gse.test.ts b/packages/plugins/test/unit/wizards/gse.test.ts index 11915368b..22280e9b5 100644 --- a/packages/plugins/test/unit/wizards/gse.test.ts +++ b/packages/plugins/test/unit/wizards/gse.test.ts @@ -1,13 +1,13 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, diff --git a/packages/plugins/test/unit/wizards/gsecontrol.test.ts b/packages/plugins/test/unit/wizards/gsecontrol.test.ts index 24fdc13b1..9c0acee8d 100644 --- a/packages/plugins/test/unit/wizards/gsecontrol.test.ts +++ b/packages/plugins/test/unit/wizards/gsecontrol.test.ts @@ -2,14 +2,14 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; import fc from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { Wizard, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, @@ -30,7 +30,7 @@ import { updateGseControlAction, } from '../../../src/wizards/gsecontrol.js'; import { regExp, regexString } from '../../foundation.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; describe('gsecontrol wizards', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/ied.test.ts b/packages/plugins/test/unit/wizards/ied.test.ts index 7ab54742d..b2bb78793 100644 --- a/packages/plugins/test/unit/wizards/ied.test.ts +++ b/packages/plugins/test/unit/wizards/ied.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isSimple, ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; import { editIEDWizard, diff --git a/packages/plugins/test/unit/wizards/ldevice.test.ts b/packages/plugins/test/unit/wizards/ldevice.test.ts index 8946bd49f..59e2a9001 100644 --- a/packages/plugins/test/unit/wizards/ldevice.test.ts +++ b/packages/plugins/test/unit/wizards/ldevice.test.ts @@ -1,13 +1,13 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { WizardInputElement, getValue, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { createUpdateAction } from '@openscd/core/foundation/deprecated/editor.js'; import { editLDeviceWizard } from '../../../src/wizards/ldevice.js'; import { diff --git a/packages/plugins/test/unit/wizards/line.test.ts b/packages/plugins/test/unit/wizards/line.test.ts index 1016531b4..a5dd0e5a1 100644 --- a/packages/plugins/test/unit/wizards/line.test.ts +++ b/packages/plugins/test/unit/wizards/line.test.ts @@ -1,12 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; import { SinonSpy, spy } from 'sinon'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, @@ -14,7 +13,6 @@ import { Replace } from '@openscd/core/foundation/deprecated/editor.js'; import { createLineWizard, editLineWizard } from '../../../src/wizards/line.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; describe('Wizards for SCL Line element', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/lnode.test.ts b/packages/plugins/test/unit/wizards/lnode.test.ts index a9c3f44a8..fe4017fc3 100644 --- a/packages/plugins/test/unit/wizards/lnode.test.ts +++ b/packages/plugins/test/unit/wizards/lnode.test.ts @@ -7,11 +7,11 @@ import { MockWizardEditor } from '@openscd/open-scd/test/mock-wizard-editor.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { newWizardEvent, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isCreate, Create, diff --git a/packages/plugins/test/unit/wizards/optfields.test.ts b/packages/plugins/test/unit/wizards/optfields.test.ts index de1d2d5bb..69f108dc2 100644 --- a/packages/plugins/test/unit/wizards/optfields.test.ts +++ b/packages/plugins/test/unit/wizards/optfields.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { Replace, isReplace } from '@openscd/core/foundation/deprecated/editor.js'; import { editOptFieldsWizard } from '../../../src/wizards/optfields.js'; diff --git a/packages/plugins/test/unit/wizards/powertransformer.test.ts b/packages/plugins/test/unit/wizards/powertransformer.test.ts index b70279839..c7c0bad53 100644 --- a/packages/plugins/test/unit/wizards/powertransformer.test.ts +++ b/packages/plugins/test/unit/wizards/powertransformer.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { replaceNamingAction } from '../../../src/wizards/foundation/actions.js'; import { diff --git a/packages/plugins/test/unit/wizards/process.test.ts b/packages/plugins/test/unit/wizards/process.test.ts index 0bac36af8..ba0fc72c8 100644 --- a/packages/plugins/test/unit/wizards/process.test.ts +++ b/packages/plugins/test/unit/wizards/process.test.ts @@ -1,12 +1,12 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { SinonSpy, spy } from 'sinon'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isReplace, diff --git a/packages/plugins/test/unit/wizards/reportcontrol.test.ts b/packages/plugins/test/unit/wizards/reportcontrol.test.ts index 9f9d0383a..21b40da72 100644 --- a/packages/plugins/test/unit/wizards/reportcontrol.test.ts +++ b/packages/plugins/test/unit/wizards/reportcontrol.test.ts @@ -2,10 +2,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; import fc, { integer } from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, @@ -15,7 +15,7 @@ import { Delete, Replace } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { reportControlParentSelector, createReportControlWizard, @@ -25,8 +25,8 @@ import { reportControlCopyToIedSelector, } from '../../../src/wizards/reportcontrol.js'; import { inverseRegExp, regExp, regexString } from '../../foundation.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; -import { FilteredList } from '@openscd/open-scd/src/filtered-list.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; +import { FilteredList } from '@openscd/open-scd/filtered-list.js'; import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; describe('Wizards for SCL ReportControl element', () => { diff --git a/packages/plugins/test/unit/wizards/sampledvaluecontrol.test.ts b/packages/plugins/test/unit/wizards/sampledvaluecontrol.test.ts index 833e3cd99..760339810 100644 --- a/packages/plugins/test/unit/wizards/sampledvaluecontrol.test.ts +++ b/packages/plugins/test/unit/wizards/sampledvaluecontrol.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, @@ -23,9 +23,9 @@ import { } from '../../../src/wizards/sampledvaluecontrol.js'; import fc, { integer } from 'fast-check'; import { inverseRegExp, regExp, regexString } from '../../foundation.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; -import { FinderList } from '@openscd/open-scd/src/finder-list.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; +import { FinderList } from '@openscd/open-scd/finder-list.js'; describe('Wizards for SCL element SampledValueControl', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/smv.test.ts b/packages/plugins/test/unit/wizards/smv.test.ts index 5b7142da0..e79ed7ecf 100644 --- a/packages/plugins/test/unit/wizards/smv.test.ts +++ b/packages/plugins/test/unit/wizards/smv.test.ts @@ -2,10 +2,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; import fc, { hexaString, integer } from 'fast-check'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { ComplexAction, Create, @@ -13,7 +13,7 @@ import { } from '@openscd/core/foundation/deprecated/editor.js'; import { editSMvWizard } from '../../../src/wizards/smv.js'; import { invertedRegex, MAC, regExp } from '../../foundation.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; describe('Wizards for SCL element SMV', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/smvopts.test.ts b/packages/plugins/test/unit/wizards/smvopts.test.ts index ec2ff12e0..3be417686 100644 --- a/packages/plugins/test/unit/wizards/smvopts.test.ts +++ b/packages/plugins/test/unit/wizards/smvopts.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; import { Replace, isReplace } from '@openscd/core/foundation/deprecated/editor.js'; import { editSmvOptsWizard } from '../../../src/wizards/smvopts.js'; diff --git a/packages/plugins/test/unit/wizards/sub-equipment.test.ts b/packages/plugins/test/unit/wizards/sub-equipment.test.ts index 2a296db31..a93879846 100644 --- a/packages/plugins/test/unit/wizards/sub-equipment.test.ts +++ b/packages/plugins/test/unit/wizards/sub-equipment.test.ts @@ -1,10 +1,10 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { Create, Replace, @@ -15,7 +15,7 @@ import { editSubEquipmentWizard, createSubEquipmentWizard, } from '../../../src/wizards/subequipment.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; describe('Wizards for SCL SubEquipment element', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/subfunction.test.ts b/packages/plugins/test/unit/wizards/subfunction.test.ts index 6d14cb392..b3de0c008 100644 --- a/packages/plugins/test/unit/wizards/subfunction.test.ts +++ b/packages/plugins/test/unit/wizards/subfunction.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { Create, Replace, diff --git a/packages/plugins/test/unit/wizards/subnetwork.test.ts b/packages/plugins/test/unit/wizards/subnetwork.test.ts index dfe18d715..cbd0f4719 100644 --- a/packages/plugins/test/unit/wizards/subnetwork.test.ts +++ b/packages/plugins/test/unit/wizards/subnetwork.test.ts @@ -1,14 +1,16 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { - WizardInputElement, patterns, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/core/foundation/scl.js'; +import { + WizardInputElement, +} from '@openscd/open-scd/foundation.js'; import { isCreate, isDelete, diff --git a/packages/plugins/test/unit/wizards/substation.test.ts b/packages/plugins/test/unit/wizards/substation.test.ts index 77fdbc90e..bdf76ac97 100644 --- a/packages/plugins/test/unit/wizards/substation.test.ts +++ b/packages/plugins/test/unit/wizards/substation.test.ts @@ -1,12 +1,12 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { isSimple, ComplexAction } from '@openscd/core/foundation/deprecated/editor.js'; import { diff --git a/packages/plugins/test/unit/wizards/tapchanger.test.ts b/packages/plugins/test/unit/wizards/tapchanger.test.ts index 1ea8938ed..c569a4108 100644 --- a/packages/plugins/test/unit/wizards/tapchanger.test.ts +++ b/packages/plugins/test/unit/wizards/tapchanger.test.ts @@ -1,11 +1,11 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardInputElement } from '@openscd/open-scd/src/foundation.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardInputElement } from '@openscd/open-scd/foundation.js'; import { Create, Replace, @@ -16,7 +16,7 @@ import { createTapChangerWizard, editTapChangerWizard, } from '../../../src/wizards/tapchanger.js'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; describe('Wizards for SCL TapChanger element', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/terminal.test.ts b/packages/plugins/test/unit/wizards/terminal.test.ts index 824b89fbe..f6b745fc5 100644 --- a/packages/plugins/test/unit/wizards/terminal.test.ts +++ b/packages/plugins/test/unit/wizards/terminal.test.ts @@ -1,7 +1,7 @@ import { expect, fixture, html } from '@open-wc/testing'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { editTerminalWizard } from '../../../src/wizards/terminal.js'; diff --git a/packages/plugins/test/unit/wizards/test-support.ts b/packages/plugins/test/unit/wizards/test-support.ts index 85a6ba144..8f46881f5 100644 --- a/packages/plugins/test/unit/wizards/test-support.ts +++ b/packages/plugins/test/unit/wizards/test-support.ts @@ -3,7 +3,7 @@ import { expect } from '@open-wc/testing'; import { WizardActor, WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { SimpleAction, Create, @@ -15,8 +15,8 @@ import { isReplace, isUpdate } from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; export async function setWizardTextFieldValue( field: WizardTextField, diff --git a/packages/plugins/test/unit/wizards/transformerwinding.test.ts b/packages/plugins/test/unit/wizards/transformerwinding.test.ts index b29d48e00..995c99a97 100644 --- a/packages/plugins/test/unit/wizards/transformerwinding.test.ts +++ b/packages/plugins/test/unit/wizards/transformerwinding.test.ts @@ -1,19 +1,19 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; -import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js'; +import { WizardTextField } from '@openscd/open-scd/wizard-textfield.js'; import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Create, Replace, isCreate, isReplace } from '@openscd/core/foundation/deprecated/editor.js'; import { createTransformerWindingWizard, editTransformerWindingWizard, -} from '../../../src/wizards/transformerWinding'; -import { WizardCheckbox } from '@openscd/open-scd/src/wizard-checkbox.js'; +} from '../../../src/wizards/transformerWinding.js'; +import { WizardCheckbox } from '@openscd/open-scd/wizard-checkbox.js'; describe('Wizards for SCL TransformerWinding element', () => { let doc: XMLDocument; diff --git a/packages/plugins/test/unit/wizards/trgops.test.ts b/packages/plugins/test/unit/wizards/trgops.test.ts index 3c67951b0..09b6972bb 100644 --- a/packages/plugins/test/unit/wizards/trgops.test.ts +++ b/packages/plugins/test/unit/wizards/trgops.test.ts @@ -1,14 +1,14 @@ import { expect, fixture, html } from '@open-wc/testing'; import { SinonSpy, spy } from 'sinon'; -import '@openscd/open-scd/src/addons/Wizards.js'; -import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js'; +import '@openscd/open-scd/addons/Wizards.js'; +import { OscdWizards } from '@openscd/open-scd/addons/Wizards.js'; import { WizardInputElement, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { Replace, isReplace} from '@openscd/core/foundation/deprecated/editor.js'; -import { WizardSelect } from '@openscd/open-scd/src/wizard-select.js'; +import { WizardSelect } from '@openscd/open-scd/wizard-select.js'; import { editTrgOpsWizard } from '../../../src/wizards/trgops.js'; describe('Wizards for SCL TrgOps element', () => { diff --git a/packages/plugins/test/unit/wizards/voltagelevel.test.ts b/packages/plugins/test/unit/wizards/voltagelevel.test.ts index 2707f7a0c..28cf179c9 100644 --- a/packages/plugins/test/unit/wizards/voltagelevel.test.ts +++ b/packages/plugins/test/unit/wizards/voltagelevel.test.ts @@ -1,10 +1,10 @@ import { fixture, html, expect } from '@open-wc/testing'; -import '@openscd/open-scd/src/wizard-textfield.js'; +import '@openscd/open-scd/wizard-textfield.js'; import { WizardInputElement, WizardActor, -} from '@openscd/open-scd/src/foundation.js'; +} from '@openscd/open-scd/foundation.js'; import { ComplexAction, isCreate, diff --git a/packages/plugins/tsconfig.build.json b/packages/plugins/tsconfig.build.json new file mode 100644 index 000000000..3d90f2d77 --- /dev/null +++ b/packages/plugins/tsconfig.build.json @@ -0,0 +1,9 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": "./src" + }, + "exclude": [ + "./test/**/*.ts", + ], +} diff --git a/packages/plugins/tsconfig.json b/packages/plugins/tsconfig.json index 73197f94a..e8f725819 100644 --- a/packages/plugins/tsconfig.json +++ b/packages/plugins/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "es2020", "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "noEmitOnError": true, "lib": ["es2020", "dom"], "strict": true, @@ -16,7 +16,6 @@ "sourceMap": true, "inlineSources": true, "resolveJsonModule": true, - "rootDir": "./src" }, - "include": ["src/**/*.ts"] + "include": ["./src/**/*.ts", "./test/**/*.ts"], } diff --git a/packages/plugins/web-test-runner.config.mjs b/packages/plugins/web-test-runner.config.mjs index 5eea2baf7..933b8ab80 100644 --- a/packages/plugins/web-test-runner.config.mjs +++ b/packages/plugins/web-test-runner.config.mjs @@ -1,9 +1,15 @@ // import { playwrightLauncher } from '@web/test-runner-playwright'; import { esbuildPlugin } from '@web/dev-server-esbuild'; +import { fileURLToPath, URL } from 'url'; export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({ /** we run test directly on TypeScript files */ - plugins: [esbuildPlugin({ ts: true })], + plugins: [ + esbuildPlugin({ + ts: true, + tsconfig: fileURLToPath(new URL('./tsconfig.json', import.meta.url)), + }), + ], /** Resolve bare module imports */ nodeResolve: true, diff --git a/packages/wizards/package.json b/packages/wizards/package.json index 55df2c2ce..df8a1178f 100644 --- a/packages/wizards/package.json +++ b/packages/wizards/package.json @@ -41,17 +41,17 @@ "@open-wc/semantic-dom-diff": "^0.19.5", "@open-wc/testing": "^2.5.33", "@types/node": "^16.6.1", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/parser": "^7.8.0", "@web/dev-server-esbuild": "^0.2.16", "@web/test-runner": "^0.13.22", "concurrently": "^6.2.1", "deepmerge": "^4.2.2", "es-dev-server": "^2.1.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-tsdoc": "^0.2.14", "fast-check": "^2.19.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", From 885f2523300c5d6846bbead74a8096f7c03639c3 Mon Sep 17 00:00:00 2001 From: Juan Munoz Date: Thu, 16 May 2024 00:12:51 +0200 Subject: [PATCH 2/3] chore: rename packages/open-scd to packages/openscd and fix plugins reactivity Signed-off-by: Juan Munoz --- .github/workflows/build-and-deploy.yml | 2 +- package-lock.json | 138 +++++++++++----------- packages/distribution/snowpack.config.mjs | 2 +- packages/openscd/package.json | 2 +- packages/openscd/project.json | 2 +- packages/openscd/src/open-scd.ts | 10 +- release-please-config.json | 2 +- 7 files changed, 76 insertions(+), 82 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index eb3f6c191..793c242ac 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -4,7 +4,7 @@ on: branches: - main paths: - - "packages/open-scd/**" + - "packages/**" jobs: build-and-deploy: diff --git a/package-lock.json b/package-lock.json index 0e84530ba..113400df3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28073,7 +28073,7 @@ "workbox-cli": "^6.2.4" } }, - "packages/open-scd/node_modules/@npmcli/fs": { + "packages/openscd/node_modules/@npmcli/fs": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", @@ -28083,7 +28083,7 @@ "semver": "^7.3.5" } }, - "packages/open-scd/node_modules/@npmcli/git": { + "packages/openscd/node_modules/@npmcli/git": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", @@ -28099,7 +28099,7 @@ "which": "^2.0.2" } }, - "packages/open-scd/node_modules/@npmcli/git/node_modules/lru-cache": { + "packages/openscd/node_modules/@npmcli/git/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", @@ -28111,7 +28111,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/@npmcli/installed-package-contents": { + "packages/openscd/node_modules/@npmcli/installed-package-contents": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", @@ -28127,7 +28127,7 @@ "node": ">= 10" } }, - "packages/open-scd/node_modules/@npmcli/move-file": { + "packages/openscd/node_modules/@npmcli/move-file": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", @@ -28141,13 +28141,13 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/@npmcli/node-gyp": { + "packages/openscd/node_modules/@npmcli/node-gyp": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==", "dev": true }, - "packages/open-scd/node_modules/@npmcli/promise-spawn": { + "packages/openscd/node_modules/@npmcli/promise-spawn": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", @@ -28156,7 +28156,7 @@ "infer-owner": "^1.0.4" } }, - "packages/open-scd/node_modules/@npmcli/run-script": { + "packages/openscd/node_modules/@npmcli/run-script": { "version": "1.8.6", "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz", "integrity": "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==", @@ -28168,7 +28168,7 @@ "read-package-json-fast": "^2.0.1" } }, - "packages/open-scd/node_modules/@tootallnate/once": { + "packages/openscd/node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", @@ -28177,7 +28177,7 @@ "node": ">= 6" } }, - "packages/open-scd/node_modules/@web/dev-server-core": { + "packages/openscd/node_modules/@web/dev-server-core": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/@web/dev-server-core/-/dev-server-core-0.7.2.tgz", "integrity": "sha512-Q/0jpF13Ipk+qGGQ+Yx/FW1TQBYazpkfgYHHo96HBE7qv4V4KKHqHglZcSUxti/zd4bToxX1cFTz8dmbTlb8JA==", @@ -28206,7 +28206,7 @@ "node": ">=18.0.0" } }, - "packages/open-scd/node_modules/@web/dev-server-esbuild": { + "packages/openscd/node_modules/@web/dev-server-esbuild": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@web/dev-server-esbuild/-/dev-server-esbuild-1.0.2.tgz", "integrity": "sha512-ak5mKt7L0H/Fa470Ku7p9A1eI32DNyFGM83jDkJviBO8r3lM00O5hVFW1K+UIYNC5EyanLyPxTqgtIuQEyMYcQ==", @@ -28223,7 +28223,7 @@ "node": ">=18.0.0" } }, - "packages/open-scd/node_modules/@web/parse5-utils": { + "packages/openscd/node_modules/@web/parse5-utils": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@web/parse5-utils/-/parse5-utils-2.1.0.tgz", "integrity": "sha512-GzfK5disEJ6wEjoPwx8AVNwUe9gYIiwc+x//QYxYDAFKUp4Xb1OJAGLc2l2gVrSQmtPGLKrTRcW90Hv4pEq1qA==", @@ -28236,7 +28236,7 @@ "node": ">=18.0.0" } }, - "packages/open-scd/node_modules/ansi-regex": { + "packages/openscd/node_modules/ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", @@ -28245,13 +28245,13 @@ "node": ">=0.10.0" } }, - "packages/open-scd/node_modules/aproba": { + "packages/openscd/node_modules/aproba": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "dev": true }, - "packages/open-scd/node_modules/are-we-there-yet": { + "packages/openscd/node_modules/are-we-there-yet": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", @@ -28261,7 +28261,7 @@ "readable-stream": "^2.0.6" } }, - "packages/open-scd/node_modules/brace-expansion": { + "packages/openscd/node_modules/brace-expansion": { "version": "2.0.1", "dev": true, "license": "MIT", @@ -28269,13 +28269,13 @@ "balanced-match": "^1.0.0" } }, - "packages/open-scd/node_modules/builtins": { + "packages/openscd/node_modules/builtins": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", "dev": true }, - "packages/open-scd/node_modules/cacache": { + "packages/openscd/node_modules/cacache": { "version": "15.3.0", "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", @@ -28305,7 +28305,7 @@ "node": ">= 10" } }, - "packages/open-scd/node_modules/cacache/node_modules/lru-cache": { + "packages/openscd/node_modules/cacache/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", @@ -28317,7 +28317,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/cosmiconfig": { + "packages/openscd/node_modules/cosmiconfig": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", @@ -28333,13 +28333,13 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/es-module-lexer": { + "packages/openscd/node_modules/es-module-lexer": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.2.tgz", "integrity": "sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==", "dev": true }, - "packages/open-scd/node_modules/esbuild": { + "packages/openscd/node_modules/esbuild": { "version": "0.19.12", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", @@ -28377,7 +28377,7 @@ "@esbuild/win32-x64": "0.19.12" } }, - "packages/open-scd/node_modules/execa": { + "packages/openscd/node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", @@ -28400,7 +28400,7 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "packages/open-scd/node_modules/gauge": { + "packages/openscd/node_modules/gauge": { "version": "2.7.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==", @@ -28416,7 +28416,7 @@ "wide-align": "^1.1.0" } }, - "packages/open-scd/node_modules/gauge/node_modules/strip-ansi": { + "packages/openscd/node_modules/gauge/node_modules/strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", @@ -28428,7 +28428,7 @@ "node": ">=0.10.0" } }, - "packages/open-scd/node_modules/http-proxy-agent": { + "packages/openscd/node_modules/http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", @@ -28442,7 +28442,7 @@ "node": ">= 6" } }, - "packages/open-scd/node_modules/ignore-walk": { + "packages/openscd/node_modules/ignore-walk": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", @@ -28451,7 +28451,7 @@ "minimatch": "^3.0.4" } }, - "packages/open-scd/node_modules/is-fullwidth-code-point": { + "packages/openscd/node_modules/is-fullwidth-code-point": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", @@ -28463,13 +28463,13 @@ "node": ">=0.10.0" } }, - "packages/open-scd/node_modules/isarray": { + "packages/openscd/node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", "dev": true }, - "packages/open-scd/node_modules/jsonschema": { + "packages/openscd/node_modules/jsonschema": { "version": "1.2.11", "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.11.tgz", "integrity": "sha512-XNZHs3N1IOa3lPKm//npxMhOdaoPw+MvEV0NIgxcER83GTJcG13rehtWmpBCfEt8DrtYwIkMTs8bdXoYs4fvnQ==", @@ -28478,7 +28478,7 @@ "node": "*" } }, - "packages/open-scd/node_modules/lru-cache": { + "packages/openscd/node_modules/lru-cache": { "version": "8.0.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", @@ -28487,7 +28487,7 @@ "node": ">=16.14" } }, - "packages/open-scd/node_modules/make-fetch-happen": { + "packages/openscd/node_modules/make-fetch-happen": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", @@ -28514,7 +28514,7 @@ "node": ">= 10" } }, - "packages/open-scd/node_modules/make-fetch-happen/node_modules/lru-cache": { + "packages/openscd/node_modules/make-fetch-happen/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", @@ -28526,7 +28526,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/minipass-fetch": { + "packages/openscd/node_modules/minipass-fetch": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", @@ -28543,7 +28543,7 @@ "encoding": "^0.1.12" } }, - "packages/open-scd/node_modules/node-gyp": { + "packages/openscd/node_modules/node-gyp": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", @@ -28567,7 +28567,7 @@ "node": ">= 10.12.0" } }, - "packages/open-scd/node_modules/nopt": { + "packages/openscd/node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", @@ -28582,7 +28582,7 @@ "node": ">=6" } }, - "packages/open-scd/node_modules/npm-install-checks": { + "packages/openscd/node_modules/npm-install-checks": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", @@ -28594,7 +28594,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/npm-package-arg": { + "packages/openscd/node_modules/npm-package-arg": { "version": "8.1.5", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", @@ -28608,7 +28608,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/npm-packlist": { + "packages/openscd/node_modules/npm-packlist": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", @@ -28626,7 +28626,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/npm-pick-manifest": { + "packages/openscd/node_modules/npm-pick-manifest": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", @@ -28638,7 +28638,7 @@ "semver": "^7.3.4" } }, - "packages/open-scd/node_modules/npm-registry-fetch": { + "packages/openscd/node_modules/npm-registry-fetch": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", @@ -28655,7 +28655,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/npmlog": { + "packages/openscd/node_modules/npmlog": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", @@ -28667,7 +28667,7 @@ "set-blocking": "~2.0.0" } }, - "packages/open-scd/node_modules/pacote": { + "packages/openscd/node_modules/pacote": { "version": "11.3.5", "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz", "integrity": "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==", @@ -28700,13 +28700,13 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/parse5": { + "packages/openscd/node_modules/parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", "dev": true }, - "packages/open-scd/node_modules/read-package-json-fast": { + "packages/openscd/node_modules/read-package-json-fast": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", @@ -28719,7 +28719,7 @@ "node": ">=10" } }, - "packages/open-scd/node_modules/readable-stream": { + "packages/openscd/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", @@ -28734,7 +28734,7 @@ "util-deprecate": "~1.0.1" } }, - "packages/open-scd/node_modules/rimraf": { + "packages/openscd/node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", @@ -28749,7 +28749,7 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/open-scd/node_modules/rollup": { + "packages/openscd/node_modules/rollup": { "version": "2.37.1", "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.37.1.tgz", "integrity": "sha512-V3ojEeyGeSdrMSuhP3diBb06P+qV4gKQeanbDv+Qh/BZbhdZ7kHV0xAt8Yjk4GFshq/WjO7R4c7DFM20AwTFVQ==", @@ -28764,7 +28764,7 @@ "fsevents": "~2.1.2" } }, - "packages/open-scd/node_modules/rollup/node_modules/fsevents": { + "packages/openscd/node_modules/rollup/node_modules/fsevents": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", @@ -28779,13 +28779,13 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "packages/open-scd/node_modules/safe-buffer": { + "packages/openscd/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, - "packages/open-scd/node_modules/shiki": { + "packages/openscd/node_modules/shiki": { "version": "0.14.7", "dev": true, "license": "MIT", @@ -28796,7 +28796,7 @@ "vscode-textmate": "^8.0.0" } }, - "packages/open-scd/node_modules/snowpack": { + "packages/openscd/node_modules/snowpack": { "version": "3.8.6", "resolved": "https://registry.npmjs.org/snowpack/-/snowpack-3.8.6.tgz", "integrity": "sha512-EZ3Y7RtTiPvxnVFTKPfkvi2PKBrprXCvOHKWQQLBkHonf+xdtG51RiNjtrRLJeCjislAlD6OoeGHUxz76ToGHw==", @@ -28864,13 +28864,13 @@ "fsevents": "^2.3.2" } }, - "packages/open-scd/node_modules/snowpack/node_modules/es-module-lexer": { + "packages/openscd/node_modules/snowpack/node_modules/es-module-lexer": { "version": "0.3.26", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.3.26.tgz", "integrity": "sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA==", "dev": true }, - "packages/open-scd/node_modules/snowpack/node_modules/esbuild": { + "packages/openscd/node_modules/snowpack/node_modules/esbuild": { "version": "0.9.7", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.9.7.tgz", "integrity": "sha512-VtUf6aQ89VTmMLKrWHYG50uByMF4JQlVysb8dmg6cOgW8JnFCipmz7p+HNBl+RR3LLCuBxFGVauAe2wfnF9bLg==", @@ -28880,7 +28880,7 @@ "esbuild": "bin/esbuild" } }, - "packages/open-scd/node_modules/snowpack/node_modules/isbinaryfile": { + "packages/openscd/node_modules/snowpack/node_modules/isbinaryfile": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", @@ -28892,7 +28892,7 @@ "url": "https://github.com/sponsors/gjtorikian/" } }, - "packages/open-scd/node_modules/socks-proxy-agent": { + "packages/openscd/node_modules/socks-proxy-agent": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", @@ -28906,7 +28906,7 @@ "node": ">= 10" } }, - "packages/open-scd/node_modules/ssri": { + "packages/openscd/node_modules/ssri": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", @@ -28918,7 +28918,7 @@ "node": ">= 8" } }, - "packages/open-scd/node_modules/string_decoder": { + "packages/openscd/node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", @@ -28927,7 +28927,7 @@ "safe-buffer": "~5.1.0" } }, - "packages/open-scd/node_modules/string-width": { + "packages/openscd/node_modules/string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", @@ -28941,7 +28941,7 @@ "node": ">=0.10.0" } }, - "packages/open-scd/node_modules/string-width/node_modules/strip-ansi": { + "packages/openscd/node_modules/string-width/node_modules/strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", @@ -28953,7 +28953,7 @@ "node": ">=0.10.0" } }, - "packages/open-scd/node_modules/typedoc": { + "packages/openscd/node_modules/typedoc": { "version": "0.23.28", "dev": true, "license": "Apache-2.0", @@ -28984,7 +28984,7 @@ "typedoc": ">=0.22.0" } }, - "packages/open-scd/node_modules/typedoc/node_modules/minimatch": { + "packages/openscd/node_modules/typedoc/node_modules/minimatch": { "version": "7.4.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.6.tgz", "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", @@ -28999,7 +28999,7 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/open-scd/node_modules/typescript": { + "packages/openscd/node_modules/typescript": { "version": "4.9.5", "dev": true, "license": "Apache-2.0", @@ -29011,7 +29011,7 @@ "node": ">=4.2.0" } }, - "packages/open-scd/node_modules/unique-filename": { + "packages/openscd/node_modules/unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", @@ -29020,7 +29020,7 @@ "unique-slug": "^2.0.0" } }, - "packages/open-scd/node_modules/unique-slug": { + "packages/openscd/node_modules/unique-slug": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", @@ -29029,7 +29029,7 @@ "imurmurhash": "^0.1.4" } }, - "packages/open-scd/node_modules/validate-npm-package-name": { + "packages/openscd/node_modules/validate-npm-package-name": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", @@ -29038,12 +29038,12 @@ "builtins": "^1.0.3" } }, - "packages/open-scd/node_modules/vscode-textmate": { + "packages/openscd/node_modules/vscode-textmate": { "version": "8.0.0", "dev": true, "license": "MIT" }, - "packages/open-scd/node_modules/which": { + "packages/openscd/node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", @@ -29058,7 +29058,7 @@ "node": ">= 8" } }, - "packages/open-scd/node_modules/yallist": { + "packages/openscd/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", diff --git a/packages/distribution/snowpack.config.mjs b/packages/distribution/snowpack.config.mjs index a369b89cd..379c6dfa6 100644 --- a/packages/distribution/snowpack.config.mjs +++ b/packages/distribution/snowpack.config.mjs @@ -30,7 +30,7 @@ export default { '../openscd/': '/openscd/', }, alias: { - '@openscd/open-scd': '../open-scd/src/', + '@openscd/open-scd': '../openscd/src/', '@openscd/plugins': '../plugins/', }, }; diff --git a/packages/openscd/package.json b/packages/openscd/package.json index 32d1c4283..82fd7ccba 100644 --- a/packages/openscd/package.json +++ b/packages/openscd/package.json @@ -2,7 +2,7 @@ "name": "@openscd/open-scd", "version": "0.34.0", "repository": "https://github.com/openscd/open-scd.git", - "directory": "packages/open-scd", + "directory": "packages/openscd", "description": "A bottom-up substation configuration designer for projects described using SCL `IEC 61850-6` Edition 2 or greater.", "keywords": [ "SCL", diff --git a/packages/openscd/project.json b/packages/openscd/project.json index 22e7b9414..172f1d02f 100644 --- a/packages/openscd/project.json +++ b/packages/openscd/project.json @@ -2,7 +2,7 @@ "name": "@openscd/open-scd", "$schema": "../../node_modules/nx/schemas/project-schema.json", "projectType": "application", - "sourceRoot": "packages/open-scd/src", + "sourceRoot": "packages/openscd/src", "targets": { } } diff --git a/packages/openscd/src/open-scd.ts b/packages/openscd/src/open-scd.ts index 9ced880e8..f705635e7 100644 --- a/packages/openscd/src/open-scd.ts +++ b/packages/openscd/src/open-scd.ts @@ -1,12 +1,10 @@ import { - css, customElement, html, LitElement, property, state, TemplateResult, - query, } from 'lit-element'; import { classMap } from 'lit-html/directives/class-map'; @@ -38,7 +36,7 @@ import './addons/Editor.js'; import './addons/History.js'; import './addons/Layout.js'; -import { ActionDetail, List } from '@material/mwc-list'; +import { ActionDetail } from '@material/mwc-list'; import { officialPlugins } from './plugins.js'; import { initializeNsdoc, Nsdoc } from './foundation/nsdoc.js'; @@ -313,7 +311,7 @@ export class OpenSCD extends LitElement { .doc=${this.doc} .docName=${this.docName} .editCount=${this.editCount} - .plugins=${this._sortedStoredPlugins} + .plugins=${this.sortedStoredPlugins} > @@ -326,7 +324,6 @@ export class OpenSCD extends LitElement { private storePlugins(plugins: Array) { localStorage.setItem('plugins', JSON.stringify(plugins.map(withoutContent))); this.requestUpdate(); - this._sortedStoredPlugins = this.sortedStoredPlugins; } private resetPlugins(): void { this.storePlugins( @@ -383,9 +380,6 @@ export class OpenSCD extends LitElement { .sort(menuCompare); } - @state() - _sortedStoredPlugins: Plugin[] = []; - private get storedPlugins(): Plugin[] { return ( JSON.parse(localStorage.getItem('plugins') ?? '[]', (key, value) => diff --git a/release-please-config.json b/release-please-config.json index 2b7b4beeb..e097954ff 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -49,7 +49,7 @@ } ], "packages": { - "packages/open-scd": { + "packages/openscd": { "component": "open-scd", "changelog-path": "CHANGELOG.md", "release-type": "node", From 12af4f76d7da4e34035ba3531d2bc145d130adbd Mon Sep 17 00:00:00 2001 From: Juan Munoz Date: Thu, 16 May 2024 00:32:58 +0200 Subject: [PATCH 3/3] chore: add missing requestUpdate for editCount changes Signed-off-by: Juan Munoz --- packages/openscd/src/open-scd.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/openscd/src/open-scd.ts b/packages/openscd/src/open-scd.ts index f705635e7..15a557851 100644 --- a/packages/openscd/src/open-scd.ts +++ b/packages/openscd/src/open-scd.ts @@ -297,6 +297,7 @@ export class OpenSCD extends LitElement { .host=${this} @undo-redo-changed="${(e:UndoRedoChangedEvent) => { this.editCount = e.detail.editCount + this.requestUpdate(); }}" >