diff --git a/package-lock.json b/package-lock.json index a64ba737d..918a166bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -282,7 +282,7 @@ "@ngx-translate/http-loader": "8.0.0", "@tadashi/currency": "3.4.0", "@types/topojson": "3.2.6", - "bpmn-js": "18.0.0", + "bpmn-js": "6.5.1", "carbon-components-angular": "5.28.6", "deepmerge-ts": "7.1.0", "flatpickr": "4.6.13", @@ -467,7 +467,7 @@ }, "dist/valtimo/config": { "name": "@valtimo/config", - "version": "12.2.0", + "version": "0.0.0-watch+1734702188440", "dev": true, "license": "EUPL-1.2", "dependencies": { @@ -559,7 +559,7 @@ }, "dist/valtimo/dossier": { "name": "@valtimo/dossier", - "version": "12.2.0", + "version": "0.0.0-watch+1734957976471", "dev": true, "license": "EUPL-1.2", "dependencies": { @@ -690,7 +690,6 @@ "dev": true, "license": "EUPL-1.2", "dependencies": { - "bpmn-js": "18.0.0", "tslib": "2.6.3" }, "peerDependencies": { @@ -698,165 +697,6 @@ "@angular/core": "^17.2.2" } }, - "dist/valtimo/migration/node_modules/bpmn-js": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.0.0.tgz", - "integrity": "sha512-eZR4hqk2BT0m9jAGGtp/f1TD0m7LXXKfYle99q75d+NjSmxetIuvxGn48S9W+H8arJ7vgsls2GELzXoDuEE0eg==", - "dev": true, - "dependencies": { - "bpmn-moddle": "^9.0.1", - "diagram-js": "^15.1.0", - "diagram-js-direct-editing": "^3.2.0", - "ids": "^1.0.5", - "inherits-browser": "^0.1.0", - "min-dash": "^4.1.1", - "min-dom": "^4.2.1", - "tiny-svg": "^3.1.2" - }, - "engines": { - "node": "*" - } - }, - "dist/valtimo/migration/node_modules/bpmn-moddle": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-9.0.1.tgz", - "integrity": "sha512-jO2P5RBx0cZCCd+imqhpNE5anttaYuGd71u76NEA/qMZwJSW1t5ETAtw9/E2InfiPU2w0TR8oxPyopJXRc9VQg==", - "dev": true, - "dependencies": { - "min-dash": "^4.2.1", - "moddle": "^7.0.0", - "moddle-xml": "^11.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "dist/valtimo/migration/node_modules/component-event": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/component-event/-/component-event-0.2.1.tgz", - "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==", - "dev": true - }, - "dist/valtimo/migration/node_modules/diagram-js": { - "version": "15.2.3", - "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-15.2.3.tgz", - "integrity": "sha512-C7MM5D7D0x6F5KsPzGmIPL/O9VoglTFSGrDnQNiFIA0SldC6WCwx/0nG9nS4Pwjtf7QeccaozF7FD1NAMHFs5Q==", - "dev": true, - "dependencies": { - "@bpmn-io/diagram-js-ui": "^0.2.3", - "clsx": "^2.1.0", - "didi": "^10.2.2", - "inherits-browser": "^0.1.0", - "min-dash": "^4.1.0", - "min-dom": "^4.2.1", - "object-refs": "^0.4.0", - "path-intersection": "^3.0.0", - "tiny-svg": "^3.1.2" - }, - "engines": { - "node": "*" - } - }, - "dist/valtimo/migration/node_modules/diagram-js-direct-editing": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-3.2.0.tgz", - "integrity": "sha512-+pyxeQGBSdLiZX0/tmmsm2qZSvm9YtVzod5W3RMHSTR7VrkUMD6E7EX/W9JQv3ebxO7oIdqFmytmNDDpSHnYEw==", - "dev": true, - "dependencies": { - "min-dash": "^4.0.0", - "min-dom": "^4.2.1" - }, - "engines": { - "node": "*" - }, - "peerDependencies": { - "diagram-js": "*" - } - }, - "dist/valtimo/migration/node_modules/didi": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/didi/-/didi-10.2.2.tgz", - "integrity": "sha512-l8NYkYFXV1izHI65EyT8EXOjUZtKmQkHLTT89cSP7HU5J/G7AOj0dXKtLc04EXYlga99PBY18IPjOeZ+c3DI4w==", - "dev": true, - "engines": { - "node": ">= 16" - } - }, - "dist/valtimo/migration/node_modules/min-dash": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", - "integrity": "sha512-qbhSYUxk6mBaF096B3JOQSumXbKWHenmT97cSpdNzgkWwGjhjhE/KZODCoDNhI2I4C9Cb6R/Q13S4BYkUSXoXQ==", - "dev": true - }, - "dist/valtimo/migration/node_modules/min-dom": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/min-dom/-/min-dom-4.2.1.tgz", - "integrity": "sha512-TMoL8SEEIhUWYgkj7XMSgxmwSyGI+4fP2KFFGnN3FbHfbGHVdsLYSz8LoIsgPhz4dWRmLvxWWSMgzZMJW5sZuA==", - "dev": true, - "dependencies": { - "component-event": "^0.2.1", - "domify": "^1.4.1", - "min-dash": "^4.2.1" - } - }, - "dist/valtimo/migration/node_modules/moddle": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/moddle/-/moddle-7.0.0.tgz", - "integrity": "sha512-Hpte2hfKDwoZWPvDngsEHjloPnO+sKMUVkAPc0r9PrpnVLqsyPUTV0ZQU8CAp87YmRZ9QzeQMJxdKbaP9vEIKA==", - "dev": true, - "dependencies": { - "min-dash": "^4.2.1" - } - }, - "dist/valtimo/migration/node_modules/moddle-xml": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/moddle-xml/-/moddle-xml-11.0.0.tgz", - "integrity": "sha512-L3Sseepfcq9Uy0iIfqEDTXSoYLva1Y/JGbN/4AMOeQ6cqbu8Ma/SDJIdOFm7smsAa64j2z3SwCGG3FIilQVnUg==", - "dev": true, - "dependencies": { - "min-dash": "^4.0.0", - "saxen": "^10.0.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "moddle": ">= 6.2.0" - } - }, - "dist/valtimo/migration/node_modules/object-refs": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-refs/-/object-refs-0.4.0.tgz", - "integrity": "sha512-6kJqKWryKZmtte6QYvouas0/EIJKPI1/MMIuRsiBlNuhIMfqYTggzX2F1AJ2+cDs288xyi9GL7FyasHINR98BQ==", - "dev": true, - "engines": { - "node": "*" - } - }, - "dist/valtimo/migration/node_modules/path-intersection": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/path-intersection/-/path-intersection-3.1.0.tgz", - "integrity": "sha512-3xS3lvv/vuwm5aH2BVvNRvnvwR2Drde7jQClKpCXTYXIMMjcw/EnMhzCgeHwqbCpzi760PEfAkU53vSIlrNr9A==", - "dev": true, - "engines": { - "node": ">= 14.20" - } - }, - "dist/valtimo/migration/node_modules/saxen": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/saxen/-/saxen-10.0.0.tgz", - "integrity": "sha512-RXsmWok/SAWqOG/f5ADEz51DN9WtZEzqih3e08ranldcaXekxjx8NBKjGh/y5hlowjo0JH/LekBu6gtPFD1G6g==", - "dev": true, - "engines": { - "node": ">= 18" - } - }, - "dist/valtimo/migration/node_modules/tiny-svg": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/tiny-svg/-/tiny-svg-3.1.3.tgz", - "integrity": "sha512-9mwnPqXInRsBmH/DO6NMxBE++9LsqpVXQSSTZGc5bomoKKvL5OX/Hlotw7XVXP6XLRcHWIzZpxfovGqWKgCypQ==", - "dev": true - }, "dist/valtimo/milestone": { "name": "@valtimo/milestone", "version": "12.2.0", @@ -960,11 +800,8 @@ "dev": true, "license": "EUPL-1.2", "dependencies": { - "@bpmn-io/properties-panel": "3.25.0", - "bpmn-js": "18.0.0", - "bpmn-js-properties-panel": "5.26.0", - "camunda-bpmn-js-behaviors": "1.7.0", - "camunda-bpmn-moddle": "7.0.1", + "bpmn-js-properties-panel": "0.46.0", + "camunda-bpmn-moddle": "4.5.0", "tslib": "2.6.3" }, "peerDependencies": { @@ -981,25 +818,6 @@ "min-dash": "^4.0.0" } }, - "dist/valtimo/process-management/node_modules/bpmn-js": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.0.0.tgz", - "integrity": "sha512-eZR4hqk2BT0m9jAGGtp/f1TD0m7LXXKfYle99q75d+NjSmxetIuvxGn48S9W+H8arJ7vgsls2GELzXoDuEE0eg==", - "dev": true, - "dependencies": { - "bpmn-moddle": "^9.0.1", - "diagram-js": "^15.1.0", - "diagram-js-direct-editing": "^3.2.0", - "ids": "^1.0.5", - "inherits-browser": "^0.1.0", - "min-dash": "^4.1.1", - "min-dom": "^4.2.1", - "tiny-svg": "^3.1.2" - }, - "engines": { - "node": "*" - } - }, "dist/valtimo/process-management/node_modules/bpmn-js-properties-panel": { "version": "5.26.0", "resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-5.26.0.tgz", @@ -1022,20 +840,6 @@ "diagram-js": ">= 11.9" } }, - "dist/valtimo/process-management/node_modules/bpmn-moddle": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-9.0.1.tgz", - "integrity": "sha512-jO2P5RBx0cZCCd+imqhpNE5anttaYuGd71u76NEA/qMZwJSW1t5ETAtw9/E2InfiPU2w0TR8oxPyopJXRc9VQg==", - "dev": true, - "dependencies": { - "min-dash": "^4.2.1", - "moddle": "^7.0.0", - "moddle-xml": "^11.0.0" - }, - "engines": { - "node": ">= 18" - } - }, "dist/valtimo/process-management/node_modules/camunda-bpmn-moddle": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/camunda-bpmn-moddle/-/camunda-bpmn-moddle-7.0.1.tgz", @@ -1048,51 +852,6 @@ "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==", "dev": true }, - "dist/valtimo/process-management/node_modules/diagram-js": { - "version": "15.2.3", - "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-15.2.3.tgz", - "integrity": "sha512-C7MM5D7D0x6F5KsPzGmIPL/O9VoglTFSGrDnQNiFIA0SldC6WCwx/0nG9nS4Pwjtf7QeccaozF7FD1NAMHFs5Q==", - "dev": true, - "dependencies": { - "@bpmn-io/diagram-js-ui": "^0.2.3", - "clsx": "^2.1.0", - "didi": "^10.2.2", - "inherits-browser": "^0.1.0", - "min-dash": "^4.1.0", - "min-dom": "^4.2.1", - "object-refs": "^0.4.0", - "path-intersection": "^3.0.0", - "tiny-svg": "^3.1.2" - }, - "engines": { - "node": "*" - } - }, - "dist/valtimo/process-management/node_modules/diagram-js-direct-editing": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-3.2.0.tgz", - "integrity": "sha512-+pyxeQGBSdLiZX0/tmmsm2qZSvm9YtVzod5W3RMHSTR7VrkUMD6E7EX/W9JQv3ebxO7oIdqFmytmNDDpSHnYEw==", - "dev": true, - "dependencies": { - "min-dash": "^4.0.0", - "min-dom": "^4.2.1" - }, - "engines": { - "node": "*" - }, - "peerDependencies": { - "diagram-js": "*" - } - }, - "dist/valtimo/process-management/node_modules/didi": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/didi/-/didi-10.2.2.tgz", - "integrity": "sha512-l8NYkYFXV1izHI65EyT8EXOjUZtKmQkHLTT89cSP7HU5J/G7AOj0dXKtLc04EXYlga99PBY18IPjOeZ+c3DI4w==", - "dev": true, - "engines": { - "node": ">= 16" - } - }, "dist/valtimo/process-management/node_modules/min-dash": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", @@ -1110,64 +869,6 @@ "min-dash": "^4.2.1" } }, - "dist/valtimo/process-management/node_modules/moddle": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/moddle/-/moddle-7.0.0.tgz", - "integrity": "sha512-Hpte2hfKDwoZWPvDngsEHjloPnO+sKMUVkAPc0r9PrpnVLqsyPUTV0ZQU8CAp87YmRZ9QzeQMJxdKbaP9vEIKA==", - "dev": true, - "dependencies": { - "min-dash": "^4.2.1" - } - }, - "dist/valtimo/process-management/node_modules/moddle-xml": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/moddle-xml/-/moddle-xml-11.0.0.tgz", - "integrity": "sha512-L3Sseepfcq9Uy0iIfqEDTXSoYLva1Y/JGbN/4AMOeQ6cqbu8Ma/SDJIdOFm7smsAa64j2z3SwCGG3FIilQVnUg==", - "dev": true, - "dependencies": { - "min-dash": "^4.0.0", - "saxen": "^10.0.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "moddle": ">= 6.2.0" - } - }, - "dist/valtimo/process-management/node_modules/object-refs": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-refs/-/object-refs-0.4.0.tgz", - "integrity": "sha512-6kJqKWryKZmtte6QYvouas0/EIJKPI1/MMIuRsiBlNuhIMfqYTggzX2F1AJ2+cDs288xyi9GL7FyasHINR98BQ==", - "dev": true, - "engines": { - "node": "*" - } - }, - "dist/valtimo/process-management/node_modules/path-intersection": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/path-intersection/-/path-intersection-3.1.0.tgz", - "integrity": "sha512-3xS3lvv/vuwm5aH2BVvNRvnvwR2Drde7jQClKpCXTYXIMMjcw/EnMhzCgeHwqbCpzi760PEfAkU53vSIlrNr9A==", - "dev": true, - "engines": { - "node": ">= 14.20" - } - }, - "dist/valtimo/process-management/node_modules/saxen": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/saxen/-/saxen-10.0.0.tgz", - "integrity": "sha512-RXsmWok/SAWqOG/f5ADEz51DN9WtZEzqih3e08ranldcaXekxjx8NBKjGh/y5hlowjo0JH/LekBu6gtPFD1G6g==", - "dev": true, - "engines": { - "node": ">= 18" - } - }, - "dist/valtimo/process-management/node_modules/tiny-svg": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/tiny-svg/-/tiny-svg-3.1.3.tgz", - "integrity": "sha512-9mwnPqXInRsBmH/DO6NMxBE++9LsqpVXQSSTZGc5bomoKKvL5OX/Hlotw7XVXP6XLRcHWIzZpxfovGqWKgCypQ==", - "dev": true - }, "dist/valtimo/resource": { "name": "@valtimo/resource", "version": "12.2.0", @@ -1212,7 +913,7 @@ }, "dist/valtimo/task": { "name": "@valtimo/task", - "version": "12.2.0", + "version": "0.0.0-watch+1734957976118", "dev": true, "license": "EUPL-1.2", "dependencies": { @@ -3739,17 +3440,6 @@ "node": ">=6.9.0" } }, - "node_modules/@bpmn-io/cm-theme": { - "version": "0.1.0-alpha.2", - "resolved": "https://registry.npmjs.org/@bpmn-io/cm-theme/-/cm-theme-0.1.0-alpha.2.tgz", - "integrity": "sha512-ZILgiYzxk3KMvxplUXmdRFQo45/JehDPg5k9tWfehmzUOSE13ssyLPil8uCloMQnb3yyzyOWTjb/wzKXTHlFQw==", - "dev": true, - "dependencies": { - "@codemirror/language": "^6.3.1", - "@codemirror/view": "^6.5.1", - "@lezer/highlight": "^1.1.4" - } - }, "node_modules/@bpmn-io/diagram-js-ui": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bpmn-io/diagram-js-ui/-/diagram-js-ui-0.2.3.tgz", @@ -3791,104 +3481,6 @@ "min-dash": "^3.8.1" } }, - "node_modules/@bpmn-io/feel-editor": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-1.9.1.tgz", - "integrity": "sha512-UxSORdh5cwKM4fib4f9ov6J1/BHGpQVNtA+wPyEdKQyCyz3wqwE2/xe5wneVR1j5QFC5m2Na8nTy4a1TDFvZTw==", - "dev": true, - "dependencies": { - "@bpmn-io/feel-lint": "^1.3.0", - "@codemirror/autocomplete": "^6.16.2", - "@codemirror/commands": "^6.6.0", - "@codemirror/language": "^6.10.2", - "@codemirror/lint": "^6.8.0", - "@codemirror/state": "^6.4.1", - "@codemirror/view": "^6.28.1", - "@lezer/highlight": "^1.2.0", - "lang-feel": "^2.1.1", - "min-dom": "^4.2.1" - }, - "engines": { - "node": ">= 16" - } - }, - "node_modules/@bpmn-io/feel-editor/node_modules/component-event": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/component-event/-/component-event-0.2.1.tgz", - "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==", - "dev": true - }, - "node_modules/@bpmn-io/feel-editor/node_modules/min-dash": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", - "integrity": "sha512-qbhSYUxk6mBaF096B3JOQSumXbKWHenmT97cSpdNzgkWwGjhjhE/KZODCoDNhI2I4C9Cb6R/Q13S4BYkUSXoXQ==", - "dev": true - }, - "node_modules/@bpmn-io/feel-editor/node_modules/min-dom": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/min-dom/-/min-dom-4.2.1.tgz", - "integrity": "sha512-TMoL8SEEIhUWYgkj7XMSgxmwSyGI+4fP2KFFGnN3FbHfbGHVdsLYSz8LoIsgPhz4dWRmLvxWWSMgzZMJW5sZuA==", - "dev": true, - "dependencies": { - "component-event": "^0.2.1", - "domify": "^1.4.1", - "min-dash": "^4.2.1" - } - }, - "node_modules/@bpmn-io/feel-lint": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-1.3.1.tgz", - "integrity": "sha512-wcFkJKhOm/iqCt5bzkKvxL5Dr9wKwUD+t164bQYbJsTYouAqmkkxiGsoqck42hXwdIhMSguZ+vqQ3hj5QdiYCA==", - "dev": true, - "dependencies": { - "@codemirror/language": "^6.10.0", - "lezer-feel": "^1.2.3" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@bpmn-io/properties-panel": { - "version": "3.25.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.25.0.tgz", - "integrity": "sha512-SRGgj8uJc1Yyjcht2g36Q+xKR7sTx5VZXvcwDrdmQKlx5Y3nRmvmMjDGzeGDJDb7pNU1DSlaBJic84uISDBMWg==", - "dev": true, - "dependencies": { - "@bpmn-io/feel-editor": "^1.9.0", - "@codemirror/view": "^6.28.1", - "classnames": "^2.3.1", - "feelers": "^1.4.0", - "focus-trap": "^7.5.2", - "min-dash": "^4.1.1", - "min-dom": "^4.0.3" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@bpmn-io/properties-panel/node_modules/component-event": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/component-event/-/component-event-0.2.1.tgz", - "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==", - "dev": true - }, - "node_modules/@bpmn-io/properties-panel/node_modules/min-dash": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", - "integrity": "sha512-qbhSYUxk6mBaF096B3JOQSumXbKWHenmT97cSpdNzgkWwGjhjhE/KZODCoDNhI2I4C9Cb6R/Q13S4BYkUSXoXQ==", - "dev": true - }, - "node_modules/@bpmn-io/properties-panel/node_modules/min-dom": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/min-dom/-/min-dom-4.2.1.tgz", - "integrity": "sha512-TMoL8SEEIhUWYgkj7XMSgxmwSyGI+4fP2KFFGnN3FbHfbGHVdsLYSz8LoIsgPhz4dWRmLvxWWSMgzZMJW5sZuA==", - "dev": true, - "dependencies": { - "component-event": "^0.2.1", - "domify": "^1.4.1", - "min-dash": "^4.2.1" - } - }, "node_modules/@braintree/sanitize-url": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-6.0.4.tgz", @@ -4087,78 +3679,6 @@ "@ibm/telemetry-js": "^1.5.1" } }, - "node_modules/@codemirror/autocomplete": { - "version": "6.18.3", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.18.3.tgz", - "integrity": "sha512-1dNIOmiM0z4BIBwxmxEfA1yoxh1MF/6KPBbh20a5vphGV0ictKlgQsbJs6D6SkR6iJpGbpwRsa6PFMNlg9T9pQ==", - "dev": true, - "dependencies": { - "@codemirror/language": "^6.0.0", - "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.17.0", - "@lezer/common": "^1.0.0" - }, - "peerDependencies": { - "@codemirror/language": "^6.0.0", - "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.0.0", - "@lezer/common": "^1.0.0" - } - }, - "node_modules/@codemirror/commands": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.7.1.tgz", - "integrity": "sha512-llTrboQYw5H4THfhN4U3qCnSZ1SOJ60ohhz+SzU0ADGtwlc533DtklQP0vSFaQuCPDn3BPpOd1GbbnUtwNjsrw==", - "dev": true, - "dependencies": { - "@codemirror/language": "^6.0.0", - "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.27.0", - "@lezer/common": "^1.1.0" - } - }, - "node_modules/@codemirror/language": { - "version": "6.10.6", - "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.6.tgz", - "integrity": "sha512-KrsbdCnxEztLVbB5PycWXFxas4EOyk/fPAfruSOnDDppevQgid2XZ+KbJ9u+fDikP/e7MW7HPBTvTb8JlZK9vA==", - "dev": true, - "dependencies": { - "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.23.0", - "@lezer/common": "^1.1.0", - "@lezer/highlight": "^1.0.0", - "@lezer/lr": "^1.0.0", - "style-mod": "^4.0.0" - } - }, - "node_modules/@codemirror/lint": { - "version": "6.8.4", - "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.4.tgz", - "integrity": "sha512-u4q7PnZlJUojeRe8FJa/njJcMctISGgPQ4PnWsd9268R4ZTtU+tfFYmwkBvgcrK2+QQ8tYFVALVb5fVJykKc5A==", - "dev": true, - "dependencies": { - "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.35.0", - "crelt": "^1.0.5" - } - }, - "node_modules/@codemirror/state": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.1.tgz", - "integrity": "sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==", - "dev": true - }, - "node_modules/@codemirror/view": { - "version": "6.35.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.35.0.tgz", - "integrity": "sha512-I0tYy63q5XkaWsJ8QRv5h6ves7kvtrBWjBcnf/bzohFJQc5c14a1AQRdE8QpPF9eMp5Mq2FMm59TCj1gDfE7kw==", - "dev": true, - "dependencies": { - "@codemirror/state": "^6.4.0", - "style-mod": "^4.1.0", - "w3c-keyname": "^2.2.4" - } - }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -5058,40 +4578,6 @@ "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", "license": "MIT" }, - "node_modules/@lezer/common": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.3.tgz", - "integrity": "sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==", - "dev": true - }, - "node_modules/@lezer/highlight": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.1.tgz", - "integrity": "sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==", - "dev": true, - "dependencies": { - "@lezer/common": "^1.0.0" - } - }, - "node_modules/@lezer/lr": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz", - "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==", - "dev": true, - "dependencies": { - "@lezer/common": "^1.0.0" - } - }, - "node_modules/@lezer/markdown": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.3.2.tgz", - "integrity": "sha512-Wu7B6VnrKTbBEohqa63h5vxXjiC4pO5ZQJ/TDbhJxPQaaIoRD/6UVDhSDtVsCwVZV12vvN9KxuLL3ATMnlG0oQ==", - "dev": true, - "dependencies": { - "@lezer/common": "^1.0.0", - "@lezer/highlight": "^1.0.0" - } - }, "node_modules/@ljharb/through": { "version": "2.3.13", "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.13.tgz", @@ -9705,27 +9191,6 @@ "node": ">=6" } }, - "node_modules/camunda-bpmn-js-behaviors": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-1.7.0.tgz", - "integrity": "sha512-QOu3gkfET20ow/ZXOrnOSoIqwDqbDgBknlNf1a3vgYCgvhRG08eZ3gfcs5ZVAhB+SJCEU6QHj7iZXraxqhiogw==", - "dev": true, - "dependencies": { - "ids": "^1.0.0", - "min-dash": "^4.0.0" - }, - "peerDependencies": { - "bpmn-js": ">= 9", - "camunda-bpmn-moddle": ">= 7", - "zeebe-bpmn-moddle": ">= 0.18" - } - }, - "node_modules/camunda-bpmn-js-behaviors/node_modules/min-dash": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", - "integrity": "sha512-qbhSYUxk6mBaF096B3JOQSumXbKWHenmT97cSpdNzgkWwGjhjhE/KZODCoDNhI2I4C9Cb6R/Q13S4BYkUSXoXQ==", - "dev": true - }, "node_modules/camunda-bpmn-moddle": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/camunda-bpmn-moddle/-/camunda-bpmn-moddle-4.5.0.tgz", @@ -10527,12 +9992,6 @@ "type-func": "^1.0.1" } }, - "node_modules/crelt": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", - "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==", - "dev": true - }, "node_modules/critters": { "version": "0.0.22", "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.22.tgz", @@ -13386,74 +12845,6 @@ "pend": "~1.2.0" } }, - "node_modules/feelers": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/feelers/-/feelers-1.4.0.tgz", - "integrity": "sha512-CGa/7ILuqoqTaeYeoKsg/4tzu2es9sEEJTmSjdu0lousZBw4V9gcYhHYFNmbrSrKmbAVfOzj6/DsymGJWFIOeg==", - "dev": true, - "dependencies": { - "@bpmn-io/cm-theme": "^0.1.0-alpha.2", - "@bpmn-io/feel-lint": "^1.2.0", - "@codemirror/autocomplete": "^6.10.1", - "@codemirror/commands": "^6.3.0", - "@codemirror/language": "^6.9.1", - "@codemirror/lint": "^6.4.2", - "@codemirror/state": "^6.3.0", - "@codemirror/view": "^6.21.3", - "@lezer/common": "^1.1.0", - "@lezer/highlight": "^1.1.6", - "@lezer/lr": "^1.3.13", - "@lezer/markdown": "^1.1.0", - "feelin": "^3.0.1", - "lezer-feel": "^1.2.4", - "min-dom": "^5.0.0" - }, - "engines": { - "node": "*" - } - }, - "node_modules/feelers/node_modules/domify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/domify/-/domify-2.0.0.tgz", - "integrity": "sha512-rmvrrmWQPD/X1A/nPBfIVg4r05792QdG9Z4Prk6oQG0F9zBMDkr0GKAdds1wjb2dq1rTz/ywc4ZxpZbgz0tttg==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/feelers/node_modules/min-dash": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", - "integrity": "sha512-qbhSYUxk6mBaF096B3JOQSumXbKWHenmT97cSpdNzgkWwGjhjhE/KZODCoDNhI2I4C9Cb6R/Q13S4BYkUSXoXQ==", - "dev": true - }, - "node_modules/feelers/node_modules/min-dom": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/min-dom/-/min-dom-5.1.1.tgz", - "integrity": "sha512-GaKUlguMAofd3OJsB0OkP17i5kucKqErgVCJxPawO9l5NwIPnr28SAr99zzlzMCWWljISBYrnZVWdE2Q92YGFQ==", - "dev": true, - "dependencies": { - "domify": "^2.0.0", - "min-dash": "^4.2.1" - } - }, - "node_modules/feelin": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/feelin/-/feelin-3.2.0.tgz", - "integrity": "sha512-GFDbHsTYk7YXO1tyw1dOjb7IODeAZvNIosdGZThUwPx5XcD/XhO0hnPZXsIbAzSsIdrgGlTEEdby9fZ2gixysA==", - "dev": true, - "dependencies": { - "@lezer/lr": "^1.4.2", - "lezer-feel": "^1.4.0", - "luxon": "^3.5.0" - }, - "engines": { - "node": "*" - } - }, "node_modules/fetch-ponyfill": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-7.1.0.tgz", @@ -13649,15 +13040,6 @@ "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", "license": "ISC" }, - "node_modules/focus-trap": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.2.tgz", - "integrity": "sha512-9FhUxK1hVju2+AiQIDJ5Dd//9R2n2RAfJ0qfhF4IHGHgcoEUTMpbTeG/zbEuwaiYXfuAH6XE0/aCyxDdRM+W5w==", - "dev": true, - "dependencies": { - "tabbable": "^6.2.0" - } - }, "node_modules/follow-redirects": { "version": "1.15.9", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", @@ -16297,23 +15679,6 @@ "node": ">= 8" } }, - "node_modules/lang-feel": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/lang-feel/-/lang-feel-2.2.0.tgz", - "integrity": "sha512-Ebo5nftYsMfJzB3Ny8Oy4oaDXZXb5x61qtVVmKv6aImvAZUbT76mD60ZbEilizjZQzsR2CcU1iMK5sacIa1NVA==", - "dev": true, - "dependencies": { - "@codemirror/autocomplete": "^6.16.2", - "@codemirror/language": "^6.10.2", - "@codemirror/state": "^6.4.1", - "@codemirror/view": "^6.28.1", - "@lezer/common": "^1.2.1", - "lezer-feel": "^1.3.0" - }, - "engines": { - "node": "*" - } - }, "node_modules/launch-editor": { "version": "2.9.1", "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", @@ -16440,26 +15805,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lezer-feel": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.4.0.tgz", - "integrity": "sha512-kNxG7O38gwpuYy+C3JCRxQNTCE2qu9uTuH5dE3EGVnRhIQMe6rPDz0S8t3urLEOsMud6HI795m6zX2ujfUaqTw==", - "dev": true, - "dependencies": { - "@lezer/highlight": "^1.2.1", - "@lezer/lr": "^1.4.2", - "min-dash": "^4.2.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/lezer-feel/node_modules/min-dash": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.2.tgz", - "integrity": "sha512-qbhSYUxk6mBaF096B3JOQSumXbKWHenmT97cSpdNzgkWwGjhjhE/KZODCoDNhI2I4C9Cb6R/Q13S4BYkUSXoXQ==", - "dev": true - }, "node_modules/license-webpack-plugin": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz", @@ -16645,15 +15990,6 @@ "yallist": "^3.0.2" } }, - "node_modules/luxon": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz", - "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==", - "dev": true, - "engines": { - "node": ">=12" - } - }, "node_modules/magic-string": { "version": "0.30.8", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.8.tgz", @@ -21547,12 +20883,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/style-mod": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz", - "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==", - "dev": true - }, "node_modules/stylus": { "version": "0.63.0", "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.63.0.tgz", @@ -21752,12 +21082,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/tabbable": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", - "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", - "dev": true - }, "node_modules/table-js": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/table-js/-/table-js-7.3.0.tgz", @@ -23215,12 +22539,6 @@ "node": ">=0.10.0" } }, - "node_modules/w3c-keyname": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", - "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==", - "dev": true - }, "node_modules/warning": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", diff --git a/projects/valtimo/components/src/lib/components/multi-input/carbon-multi-input.component.html b/projects/valtimo/components/src/lib/components/multi-input/carbon-multi-input.component.html index a47265e90..bafd4375d 100644 --- a/projects/valtimo/components/src/lib/components/multi-input/carbon-multi-input.component.html +++ b/projects/valtimo/components/src/lib/components/multi-input/carbon-multi-input.component.html @@ -47,27 +47,84 @@ *ngFor="let value of values$ | async as values; trackBy: trackByFn; index as i" class="v-multi-input__row" > - - - - - - - - - - - - - - - + @switch (type) { + @case ('value') { + + } + @case ('keyValue') { + + } + @case ('keyDropdownValue') { + + } + @case ('arbitraryAmount') { + + } + @case ('keyValuePathSelector') { + + } + @case ('valuePathSelectorValue') { + + } + } - - + diff --git a/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.scss b/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.scss index 9015f1ad0..3e4ed2830 100644 --- a/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.scss +++ b/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.scss @@ -31,3 +31,9 @@ .cds--text-input__field-wrapper { flex-direction: column; } + +.modal-buttons-container { + width: 100%; + display: flex; + justify-content: flex-end; +} diff --git a/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.ts b/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.ts index 210d51ddb..4d242fbd9 100644 --- a/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.ts +++ b/projects/valtimo/plugin/src/lib/plugins/verzoek/components/verzoek-configuration/verzoek-configuration.component.ts @@ -44,6 +44,7 @@ import { MultiInputValues, RadioValue, SelectItem, + ValuePathSelectorPrefix, VModalComponent, } from '@valtimo/components'; import {VerzoekPluginService} from '../../services'; @@ -144,6 +145,18 @@ export class VerzoekConfigurationComponent private readonly formValue$ = new BehaviorSubject(null); private readonly valid$ = new BehaviorSubject(false); + public getSelectedCaseDefinitionNameForIndex(index: number): Observable { + return this.formValue$.pipe( + map( + formValue => + Array.isArray(formValue.verzoekProperties) && + formValue.verzoekProperties[index]?.caseDefinitionName + ) + ); + } + + public readonly ValuePathSelectorPrefix = ValuePathSelectorPrefix; + constructor( private readonly pluginManagementService: PluginManagementService, private readonly translateService: TranslateService, diff --git a/projects/valtimo/process-link/src/lib/components/process-link-modal/process-link-modal.component.html b/projects/valtimo/process-link/src/lib/components/process-link-modal/process-link-modal.component.html index d85496042..566c1d07f 100644 --- a/projects/valtimo/process-link/src/lib/components/process-link-modal/process-link-modal.component.html +++ b/projects/valtimo/process-link/src/lib/components/process-link-modal/process-link-modal.component.html @@ -45,7 +45,7 @@

-
+
diff --git a/projects/valtimo/process-link/src/lib/process-link.module.ts b/projects/valtimo/process-link/src/lib/process-link.module.ts index bf169f7f3..b2dadf600 100644 --- a/projects/valtimo/process-link/src/lib/process-link.module.ts +++ b/projects/valtimo/process-link/src/lib/process-link.module.ts @@ -47,6 +47,7 @@ import { ComboBoxModule, IconModule, InputModule, + LayerModule, LoadingModule, ModalModule as CarbonModalModule, ProgressIndicatorModule, @@ -114,6 +115,7 @@ import {FormDisplayConfigurationComponent} from './components/form-display-confi SelectModule, ToggleModule, CarbonMultiInputModule, + LayerModule, ], exports: [ ProcessLinkComponent, diff --git a/projects/valtimo/process-link/src/lib/services/process-link.service.ts b/projects/valtimo/process-link/src/lib/services/process-link.service.ts index 0ca693a28..6b7a26b91 100644 --- a/projects/valtimo/process-link/src/lib/services/process-link.service.ts +++ b/projects/valtimo/process-link/src/lib/services/process-link.service.ts @@ -92,14 +92,18 @@ export class ProcessLinkService { ); } - private emptyStringToNull(object: any) { - Object.keys(object).forEach(key => { - if (typeof object[key] === 'object') { - this.emptyStringToNull(object[key]); - } else if (object[key] === '') { - object[key] = null; - } - }); + private emptyStringToNull>(object: T): T { + if (object && typeof object === 'object') { + Object.keys(object).forEach(key => { + const typedKey = key as keyof T; + const value = object[typedKey]; + if (typeof value === 'object' && value !== null) { + this.emptyStringToNull(value); + } else if (value === '') { + object[typedKey] = null as any; + } + }); + } return object; } diff --git a/projects/valtimo/task/src/lib/components/task-detail-content/task-detail-content.component.ts b/projects/valtimo/task/src/lib/components/task-detail-content/task-detail-content.component.ts index 426aa0f12..456b99f01 100644 --- a/projects/valtimo/task/src/lib/components/task-detail-content/task-detail-content.component.ts +++ b/projects/valtimo/task/src/lib/components/task-detail-content/task-detail-content.component.ts @@ -222,6 +222,8 @@ export class TaskDetailContentComponent implements OnInit, OnDestroy { this.resetTaskProcessLinkType(); this.resetFormDefinition(); + this.taskInstanceId$.next(task.id); + if (!processLink) { this.getTaskProcessLink(task.id); } else { @@ -233,7 +235,6 @@ export class TaskDetailContentComponent implements OnInit, OnDestroy { this.stateService.setDocumentId(documentId); this.task$.next(task); - this.taskInstanceId$.next(task.id); this.page$.next({ title: task.name, subtitle: `${this.translateService.instant('taskDetail.taskCreated')} ${task.created}`,