diff --git a/package-lock.json b/package-lock.json index 93c4fc0..ba1ab89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "devDependencies": { "@babel/core": "^7.22.6", "@babel/plugin-transform-react-jsx": "^7.22.5", - "@bpmn-io/properties-panel": "^3.0.0", + "@bpmn-io/properties-panel": "^3.7.0", "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.2", @@ -543,13 +543,12 @@ } }, "node_modules/@bpmn-io/feel-editor": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.8.0.tgz", - "integrity": "sha512-4hPHngWKWjEzCvqCdWUX+epO6qWpev30zh3hZo/G/zQnPx45EJTeMUQLXy+eJERApxxNV4/3u1Vvyat5v/SLag==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.9.1.tgz", + "integrity": "sha512-6nJJy7kckIzidX9cHGtvTr9180XgFBS5uCYfspaxEeYPjIj08eim2zXdLNPkedLO1obPL2jcMziZJyBFknI9Dw==", "dev": true, "dependencies": { - "@babel/core": "^7.20.2", - "@bpmn-io/feel-lint": "^0.2.0", + "@bpmn-io/feel-lint": "^1.0.0", "@codemirror/autocomplete": "^6.3.2", "@codemirror/commands": "^6.2.4", "@codemirror/language": "^6.3.1", @@ -557,16 +556,17 @@ "@codemirror/state": "^6.1.4", "@codemirror/view": "^6.5.1", "@lezer/highlight": "^1.1.6", - "babel-loader": "^9.1.0", - "babel-plugin-istanbul": "^6.1.1", "lang-feel": "^1.0.0", "min-dom": "^4.1.0" + }, + "engines": { + "node": ">= 16" } }, "node_modules/@bpmn-io/feel-editor/node_modules/@bpmn-io/feel-lint": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-0.2.0.tgz", - "integrity": "sha512-Y1uMTEP87mAPijeBAyVae9oMMP/rymkqNJWZceC49uvVEmH+nCVz/qJarJDdfmqySThiYV6n+Yx/gzXs7FDrGw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-1.0.0.tgz", + "integrity": "sha512-wCA5tsxOWejOJRi6if66mayyI2pWgohCp9NctOH+3fBnsCv/I4dlqnwGw4f8S8EnrFFyRJY5IrRBmQeUQ8WBmw==", "dev": true, "dependencies": { "@codemirror/language": "^6.8.0", @@ -574,9 +574,9 @@ } }, "node_modules/@bpmn-io/feel-editor/node_modules/lezer-feel": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.1.tgz", - "integrity": "sha512-kS1ox004gosQmJJKsNU+fRvGRdrq/9A+e7tGYcFWn0bAmnkzxP+YALOE7t/UN9U1aXSvVGmdyUFAhte/p8o60A==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.2.tgz", + "integrity": "sha512-WEqRVhYZNOr6+aTWfS2CLVX1ebS1KeQjTeVQVgzXkGNC0AqmFWcRwEgAGm3FHKE66cxj3RPKx7T+ofr6FzmJjQ==", "dev": true, "dependencies": { "@lezer/highlight": "^1.1.6", @@ -594,16 +594,21 @@ } }, "node_modules/@bpmn-io/properties-panel": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.0.0.tgz", - "integrity": "sha512-Y9Psu0KTWBCQBWxAgHs1BUJUR0x1BbeRyoaUCDxo9q/S21KkeHu0CsdRLxjN13cACJR/0JA+Gs8ZbmXTFnQdrg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.7.0.tgz", + "integrity": "sha512-379nFK4iWxwsjJOc6ShhNWo8heK76PlZAHutmWpy48mba7SiDb8PLSbPkTa+KFcWb9AiRlvpDcLFIiIJzopkDA==", "dev": true, "dependencies": { - "@bpmn-io/feel-editor": "^0.8.0", + "@bpmn-io/feel-editor": "^0.9.0", + "@codemirror/view": "^6.14.0", "classnames": "^2.3.1", - "feelers": "^0.1.0-alpha.8", + "feelers": "^0.1.0", + "focus-trap": "^7.5.2", "min-dash": "^4.1.1", "min-dom": "^4.0.3" + }, + "engines": { + "node": "*" } }, "node_modules/@codemirror/autocomplete": { @@ -930,9 +935,9 @@ } }, "node_modules/@lezer/markdown": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.0.2.tgz", - "integrity": "sha512-8CY0OoZ6V5EzPjSPeJ4KLVbtXdLBd8V6sRCooN5kHnO28ytreEGTyrtU/zUwo/XLRzGr/e1g44KlzKi3yWGB5A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.1.0.tgz", + "integrity": "sha512-JYOI6Lkqbl83semCANkO3CKbKc0pONwinyagBufWBm+k4yhIcqfCF8B8fpEpvJLmIy7CAfwiq7dQ/PzUZA340g==", "dev": true, "dependencies": { "@lezer/common": "^1.0.0", @@ -4285,9 +4290,9 @@ } }, "node_modules/feelers": { - "version": "0.1.0-alpha.8", - "resolved": "https://registry.npmjs.org/feelers/-/feelers-0.1.0-alpha.8.tgz", - "integrity": "sha512-fn/y/VvyFbVPi1PhrViVxgH3mbv9Lh4ycYKppfDb0wUY3PcICohr9IqMMtfIQby4GlAFbl4ENmUN8uY5XxeyGQ==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/feelers/-/feelers-0.1.0.tgz", + "integrity": "sha512-gvF3VkrCIQIiYehB51JYjvADkT36eMQKfVPWyDYrbG1bfc9+Y7bvjdzhLgxEuk2BvFaYj1amRyqgOTXkP+gYUw==", "dev": true, "dependencies": { "@bpmn-io/cm-theme": "^0.1.0-alpha.2", @@ -4299,7 +4304,7 @@ "@codemirror/state": "^6.1.4", "@codemirror/view": "^6.5.1", "@lezer/markdown": "^1.0.2", - "feelin": "^0.43.0", + "feelin": "^1.0.0", "lezer-feel": "^0.16.2", "min-dom": "^4.1.0" } @@ -4315,24 +4320,24 @@ } }, "node_modules/feelin": { - "version": "0.43.1", - "resolved": "https://registry.npmjs.org/feelin/-/feelin-0.43.1.tgz", - "integrity": "sha512-prTg4CAOWUo7O+4scL5fj5pjDc2yFDU9LPVqjSO9lxqZyD5ix+IH+zLQfR2RjaExzkcKGBxAfZWN1GALLKLCUg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/feelin/-/feelin-1.0.0.tgz", + "integrity": "sha512-ED1pbRGivpxPHjMBssCivkuAWGm3ma0yK46DqcUlA8KP1Rz5Limjg8YENBRsyc1ZSoSkpboVuscqWmXw2Cl03A==", "dev": true, "dependencies": { - "@lezer/lr": "^1.2.0", - "lezer-feel": "^0.16.1", + "@lezer/lr": "^1.3.9", + "lezer-feel": "^1.0.0", "luxon": "^3.1.0" } }, "node_modules/feelin/node_modules/lezer-feel": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-0.16.2.tgz", - "integrity": "sha512-G9heYUw4ibeNWFmlhs8yR/QEDd6OAFvv2e7F2x1zOhxqYKKEBXhXQEIvQh1psgQMJjQSuUvVZRxPbnjfvGq/Bw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.2.tgz", + "integrity": "sha512-WEqRVhYZNOr6+aTWfS2CLVX1ebS1KeQjTeVQVgzXkGNC0AqmFWcRwEgAGm3FHKE66cxj3RPKx7T+ofr6FzmJjQ==", "dev": true, "dependencies": { - "@lezer/highlight": "^1.1.2", - "@lezer/lr": "^1.2.5" + "@lezer/highlight": "^1.1.6", + "@lezer/lr": "^1.3.9" } }, "node_modules/file-entry-cache": { @@ -4462,6 +4467,15 @@ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", "dev": true }, + "node_modules/focus-trap": { + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.2.tgz", + "integrity": "sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==", + "dev": true, + "dependencies": { + "tabbable": "^6.2.0" + } + }, "node_modules/follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", @@ -5893,9 +5907,9 @@ } }, "node_modules/lang-feel/node_modules/lezer-feel": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.1.tgz", - "integrity": "sha512-kS1ox004gosQmJJKsNU+fRvGRdrq/9A+e7tGYcFWn0bAmnkzxP+YALOE7t/UN9U1aXSvVGmdyUFAhte/p8o60A==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.2.tgz", + "integrity": "sha512-WEqRVhYZNOr6+aTWfS2CLVX1ebS1KeQjTeVQVgzXkGNC0AqmFWcRwEgAGm3FHKE66cxj3RPKx7T+ofr6FzmJjQ==", "dev": true, "dependencies": { "@lezer/highlight": "^1.1.6", @@ -6157,9 +6171,9 @@ } }, "node_modules/luxon": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.3.0.tgz", - "integrity": "sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.3.tgz", + "integrity": "sha512-tFWBiv3h7z+T/tDaoxA8rqTxy1CHV6gHS//QdaH4pulbq/JuBSGgQspQQqcgnwdAx6pNI7cmvz5Sv/addzHmUg==", "dev": true, "engines": { "node": ">=12" @@ -8545,6 +8559,12 @@ "node": ">=4.0.0" } }, + "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": "8.0.2", "resolved": "https://registry.npmjs.org/table-js/-/table-js-8.0.2.tgz", @@ -9754,13 +9774,12 @@ } }, "@bpmn-io/feel-editor": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.8.0.tgz", - "integrity": "sha512-4hPHngWKWjEzCvqCdWUX+epO6qWpev30zh3hZo/G/zQnPx45EJTeMUQLXy+eJERApxxNV4/3u1Vvyat5v/SLag==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.9.1.tgz", + "integrity": "sha512-6nJJy7kckIzidX9cHGtvTr9180XgFBS5uCYfspaxEeYPjIj08eim2zXdLNPkedLO1obPL2jcMziZJyBFknI9Dw==", "dev": true, "requires": { - "@babel/core": "^7.20.2", - "@bpmn-io/feel-lint": "^0.2.0", + "@bpmn-io/feel-lint": "^1.0.0", "@codemirror/autocomplete": "^6.3.2", "@codemirror/commands": "^6.2.4", "@codemirror/language": "^6.3.1", @@ -9768,16 +9787,14 @@ "@codemirror/state": "^6.1.4", "@codemirror/view": "^6.5.1", "@lezer/highlight": "^1.1.6", - "babel-loader": "^9.1.0", - "babel-plugin-istanbul": "^6.1.1", "lang-feel": "^1.0.0", "min-dom": "^4.1.0" }, "dependencies": { "@bpmn-io/feel-lint": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-0.2.0.tgz", - "integrity": "sha512-Y1uMTEP87mAPijeBAyVae9oMMP/rymkqNJWZceC49uvVEmH+nCVz/qJarJDdfmqySThiYV6n+Yx/gzXs7FDrGw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-1.0.0.tgz", + "integrity": "sha512-wCA5tsxOWejOJRi6if66mayyI2pWgohCp9NctOH+3fBnsCv/I4dlqnwGw4f8S8EnrFFyRJY5IrRBmQeUQ8WBmw==", "dev": true, "requires": { "@codemirror/language": "^6.8.0", @@ -9785,9 +9802,9 @@ } }, "lezer-feel": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.1.tgz", - "integrity": "sha512-kS1ox004gosQmJJKsNU+fRvGRdrq/9A+e7tGYcFWn0bAmnkzxP+YALOE7t/UN9U1aXSvVGmdyUFAhte/p8o60A==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.2.tgz", + "integrity": "sha512-WEqRVhYZNOr6+aTWfS2CLVX1ebS1KeQjTeVQVgzXkGNC0AqmFWcRwEgAGm3FHKE66cxj3RPKx7T+ofr6FzmJjQ==", "dev": true, "requires": { "@lezer/highlight": "^1.1.6", @@ -9807,14 +9824,16 @@ } }, "@bpmn-io/properties-panel": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.0.0.tgz", - "integrity": "sha512-Y9Psu0KTWBCQBWxAgHs1BUJUR0x1BbeRyoaUCDxo9q/S21KkeHu0CsdRLxjN13cACJR/0JA+Gs8ZbmXTFnQdrg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.7.0.tgz", + "integrity": "sha512-379nFK4iWxwsjJOc6ShhNWo8heK76PlZAHutmWpy48mba7SiDb8PLSbPkTa+KFcWb9AiRlvpDcLFIiIJzopkDA==", "dev": true, "requires": { - "@bpmn-io/feel-editor": "^0.8.0", + "@bpmn-io/feel-editor": "^0.9.0", + "@codemirror/view": "^6.14.0", "classnames": "^2.3.1", - "feelers": "^0.1.0-alpha.8", + "feelers": "^0.1.0", + "focus-trap": "^7.5.2", "min-dash": "^4.1.1", "min-dom": "^4.0.3" } @@ -10083,9 +10102,9 @@ } }, "@lezer/markdown": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.0.2.tgz", - "integrity": "sha512-8CY0OoZ6V5EzPjSPeJ4KLVbtXdLBd8V6sRCooN5kHnO28ytreEGTyrtU/zUwo/XLRzGr/e1g44KlzKi3yWGB5A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.1.0.tgz", + "integrity": "sha512-JYOI6Lkqbl83semCANkO3CKbKc0pONwinyagBufWBm+k4yhIcqfCF8B8fpEpvJLmIy7CAfwiq7dQ/PzUZA340g==", "dev": true, "requires": { "@lezer/common": "^1.0.0", @@ -12711,9 +12730,9 @@ } }, "feelers": { - "version": "0.1.0-alpha.8", - "resolved": "https://registry.npmjs.org/feelers/-/feelers-0.1.0-alpha.8.tgz", - "integrity": "sha512-fn/y/VvyFbVPi1PhrViVxgH3mbv9Lh4ycYKppfDb0wUY3PcICohr9IqMMtfIQby4GlAFbl4ENmUN8uY5XxeyGQ==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/feelers/-/feelers-0.1.0.tgz", + "integrity": "sha512-gvF3VkrCIQIiYehB51JYjvADkT36eMQKfVPWyDYrbG1bfc9+Y7bvjdzhLgxEuk2BvFaYj1amRyqgOTXkP+gYUw==", "dev": true, "requires": { "@bpmn-io/cm-theme": "^0.1.0-alpha.2", @@ -12725,7 +12744,7 @@ "@codemirror/state": "^6.1.4", "@codemirror/view": "^6.5.1", "@lezer/markdown": "^1.0.2", - "feelin": "^0.43.0", + "feelin": "^1.0.0", "lezer-feel": "^0.16.2", "min-dom": "^4.1.0" }, @@ -12743,24 +12762,24 @@ } }, "feelin": { - "version": "0.43.1", - "resolved": "https://registry.npmjs.org/feelin/-/feelin-0.43.1.tgz", - "integrity": "sha512-prTg4CAOWUo7O+4scL5fj5pjDc2yFDU9LPVqjSO9lxqZyD5ix+IH+zLQfR2RjaExzkcKGBxAfZWN1GALLKLCUg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/feelin/-/feelin-1.0.0.tgz", + "integrity": "sha512-ED1pbRGivpxPHjMBssCivkuAWGm3ma0yK46DqcUlA8KP1Rz5Limjg8YENBRsyc1ZSoSkpboVuscqWmXw2Cl03A==", "dev": true, "requires": { - "@lezer/lr": "^1.2.0", - "lezer-feel": "^0.16.1", + "@lezer/lr": "^1.3.9", + "lezer-feel": "^1.0.0", "luxon": "^3.1.0" }, "dependencies": { "lezer-feel": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-0.16.2.tgz", - "integrity": "sha512-G9heYUw4ibeNWFmlhs8yR/QEDd6OAFvv2e7F2x1zOhxqYKKEBXhXQEIvQh1psgQMJjQSuUvVZRxPbnjfvGq/Bw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.2.tgz", + "integrity": "sha512-WEqRVhYZNOr6+aTWfS2CLVX1ebS1KeQjTeVQVgzXkGNC0AqmFWcRwEgAGm3FHKE66cxj3RPKx7T+ofr6FzmJjQ==", "dev": true, "requires": { - "@lezer/highlight": "^1.1.2", - "@lezer/lr": "^1.2.5" + "@lezer/highlight": "^1.1.6", + "@lezer/lr": "^1.3.9" } } } @@ -12867,6 +12886,15 @@ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", "dev": true }, + "focus-trap": { + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.2.tgz", + "integrity": "sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==", + "dev": true, + "requires": { + "tabbable": "^6.2.0" + } + }, "follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", @@ -13910,9 +13938,9 @@ }, "dependencies": { "lezer-feel": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.1.tgz", - "integrity": "sha512-kS1ox004gosQmJJKsNU+fRvGRdrq/9A+e7tGYcFWn0bAmnkzxP+YALOE7t/UN9U1aXSvVGmdyUFAhte/p8o60A==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.0.2.tgz", + "integrity": "sha512-WEqRVhYZNOr6+aTWfS2CLVX1ebS1KeQjTeVQVgzXkGNC0AqmFWcRwEgAGm3FHKE66cxj3RPKx7T+ofr6FzmJjQ==", "dev": true, "requires": { "@lezer/highlight": "^1.1.6", @@ -14129,9 +14157,9 @@ } }, "luxon": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.3.0.tgz", - "integrity": "sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.3.tgz", + "integrity": "sha512-tFWBiv3h7z+T/tDaoxA8rqTxy1CHV6gHS//QdaH4pulbq/JuBSGgQspQQqcgnwdAx6pNI7cmvz5Sv/addzHmUg==", "dev": true }, "lz-string": { @@ -15930,6 +15958,12 @@ "util.promisify": "~1.0.0" } }, + "tabbable": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", + "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", + "dev": true + }, "table-js": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/table-js/-/table-js-8.0.2.tgz", diff --git a/package.json b/package.json index 5c787e9..b3ce41b 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "devDependencies": { "@babel/core": "^7.22.6", "@babel/plugin-transform-react-jsx": "^7.22.5", - "@bpmn-io/properties-panel": "^3.0.0", + "@bpmn-io/properties-panel": "^3.7.0", "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.2", diff --git a/src/render/DmnPropertiesPanel.js b/src/render/DmnPropertiesPanel.js index 49b1ab0..493f78a 100644 --- a/src/render/DmnPropertiesPanel.js +++ b/src/render/DmnPropertiesPanel.js @@ -200,7 +200,9 @@ export default function DmnPropertiesPanel(props) { layoutConfig={ layoutConfig } layoutChanged={ onLayoutChanged } descriptionConfig={ descriptionConfig } - descriptionLoaded={ onDescriptionLoaded } /> + descriptionLoaded={ onDescriptionLoaded } + eventBus={ eventBus } + /> ; } diff --git a/src/render/index.js b/src/render/index.js index db25ae5..30473f8 100644 --- a/src/render/index.js +++ b/src/render/index.js @@ -1,10 +1,11 @@ import DmnPropertiesPanelRenderer from './DmnPropertiesPanelRenderer'; -import { DebounceInputModule } from '@bpmn-io/properties-panel'; +import { DebounceInputModule, FeelPopupModule } from '@bpmn-io/properties-panel'; export default { __depends__: [ - DebounceInputModule + DebounceInputModule, + FeelPopupModule ], __init__: [ 'propertiesPanel' diff --git a/test/TestHelper.js b/test/TestHelper.js index 9eef816..722e0c7 100644 --- a/test/TestHelper.js +++ b/test/TestHelper.js @@ -82,7 +82,7 @@ export function clickInput(input) { export function insertCoreStyles() { insertCSS( 'properties-panel.css', - require('@bpmn-io/properties-panel/assets/properties-panel.css').default + require('@bpmn-io/properties-panel/dist/assets/properties-panel.css').default ); insertCSS( diff --git a/test/spec/DmnPropertiesPanelRenderer.spec.js b/test/spec/DmnPropertiesPanelRenderer.spec.js index 3f50132..7aed39b 100644 --- a/test/spec/DmnPropertiesPanelRenderer.spec.js +++ b/test/spec/DmnPropertiesPanelRenderer.spec.js @@ -42,19 +42,21 @@ describe('', function() { let propertiesContainer; + let container; + const diagramXml = require('test/fixtures/simple.dmn').default; afterEach(() => cleanup()); beforeEach(function() { + container = TestContainer.get(this); + modelerContainer = document.createElement('div'); modelerContainer.classList.add('modeler-container'); propertiesContainer = document.createElement('div'); propertiesContainer.classList.add('properties-container'); - const container = TestContainer.get(this); - container.appendChild(modelerContainer); container.appendChild(propertiesContainer); }); @@ -575,6 +577,51 @@ describe('', function() { }); + + describe(' support', function() { + + let modeler; + + beforeEach(async function() { + + await act(async () => { + + const result = await createModeler(diagramXml, { + propertiesPanel: { + parent: propertiesContainer, + feelPopupContainer: container + } + }); + + modeler = result.modeler; + }); + + await act(() => { + const elementRegistry = get(modeler, 'elementRegistry'); + const selection = get(modeler, 'selection'); + + selection.select(elementRegistry.get('guestCount')); + }); + }); + + + it.only('should ship ', async function() { + + // when + const feelPopup = get(modeler, 'feelPopup'); + + // then + expect(feelPopup).to.exist; + + expect(feelPopup.isOpen()).to.be.false; + + expect(() => { + feelPopup.close(); + }).not.to.throw; + }); + + }); + }); @@ -586,4 +633,4 @@ function get(modeler, module) { function getHeaderName(container) { return domQuery('.bio-properties-panel-header-label', container).innerText; -} +} \ No newline at end of file