diff --git a/bundles/org.openhab.ui/web/package-lock.json b/bundles/org.openhab.ui/web/package-lock.json index 0d4354ac22..63415158dd 100644 --- a/bundles/org.openhab.ui/web/package-lock.json +++ b/bundles/org.openhab.ui/web/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@blockly/field-slider": "^4.0.3", "@blockly/plugin-cross-tab-copy-paste": "^2.0.4", + "@blockly/plugin-workspace-search": "^6.0.7", "@blockly/theme-dark": "^4.0.1", "@blockly/zoom-to-fit": "^3.0.3", "@jsep-plugin/arrow": "^1.0.5", @@ -2780,6 +2781,17 @@ "blockly": "^9.0.0" } }, + "node_modules/@blockly/plugin-workspace-search": { + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/@blockly/plugin-workspace-search/-/plugin-workspace-search-6.0.7.tgz", + "integrity": "sha512-MXMR5pgbFCm47QZ5cyFVyF4TwP6bIP0Po59/Sp3QzlutD+OTiecLolXivBYXGriQfBYpNzlD5BQvWD0UtoDDXA==", + "engines": { + "node": ">=8.17.0" + }, + "peerDependencies": { + "blockly": "^9.0.0" + } + }, "node_modules/@blockly/theme-dark": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@blockly/theme-dark/-/theme-dark-4.0.1.tgz", @@ -26566,6 +26578,12 @@ "integrity": "sha512-dznGTmY+wdUdFDhoAl9BK5c6TLXTa6u6W4t0I2oQq4oaJwXflY/lQraEmBTF7+1UTHsEBh2sOH9j2cHO6Xo2nA==", "requires": {} }, + "@blockly/plugin-workspace-search": { + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/@blockly/plugin-workspace-search/-/plugin-workspace-search-6.0.7.tgz", + "integrity": "sha512-MXMR5pgbFCm47QZ5cyFVyF4TwP6bIP0Po59/Sp3QzlutD+OTiecLolXivBYXGriQfBYpNzlD5BQvWD0UtoDDXA==", + "requires": {} + }, "@blockly/theme-dark": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@blockly/theme-dark/-/theme-dark-4.0.1.tgz", diff --git a/bundles/org.openhab.ui/web/package.json b/bundles/org.openhab.ui/web/package.json index 4537b22a74..b8fe765652 100644 --- a/bundles/org.openhab.ui/web/package.json +++ b/bundles/org.openhab.ui/web/package.json @@ -63,6 +63,7 @@ "dependencies": { "@blockly/field-slider": "^4.0.3", "@blockly/plugin-cross-tab-copy-paste": "^2.0.4", + "@blockly/plugin-workspace-search": "^6.0.7", "@blockly/theme-dark": "^4.0.1", "@blockly/zoom-to-fit": "^3.0.3", "@jsep-plugin/arrow": "^1.0.5", diff --git a/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue b/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue index 40692b9e1a..2b6e7d9bd5 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/rules/script/blockly-editor.vue @@ -1000,10 +1000,16 @@ stroke inherit .blocklyDropDownDiv z-index 9000 +.blockly-ws-search + background var(--blockly-ws-search-bg-color) + border-color var(--blockly-ws-search-border-color) + box-shadow none + color var(--blockly-ws-search-text-color)