iobroker.mywebui 1.37.12 → 1.37.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "mywebui",
4
- "version": "1.37.12",
4
+ "version": "1.37.14",
5
5
  "titleLang": {
6
6
  "en": "mywebui",
7
7
  "de": "mywebui",
@@ -294,7 +294,7 @@
294
294
  "color": "#c8ffe1",
295
295
  "order": 1
296
296
  },
297
- "installedFrom": "iobroker.mywebui@1.37.12"
297
+ "installedFrom": "iobroker.mywebui@1.37.14"
298
298
  },
299
299
  "native": {
300
300
  "licenseKey": ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.mywebui",
3
- "version": "1.37.12",
3
+ "version": "1.37.14",
4
4
  "description": "ioBroker mywebui - Custom edited mywebui by gokturk413",
5
5
  "type": "module",
6
6
  "main": "dist/backend/main.js",
@@ -22,6 +22,7 @@ const importMapConfig = {
22
22
  "@node-projects/web-component-designer-codeview-monaco": "./node_modules/@gokturk413/web-component-designer-codeview-monaco/dist/widgets/codeView/code-view-monaco.js",
23
23
  "@node-projects/web-component-designer-stylesheetservice-css-tools": "./node_modules/@node-projects/web-component-designer-stylesheetservice-css-tools/dist/service/stylesheetservice/CssToolsStylesheetService.js",
24
24
  "@node-projects/web-component-designer-visualization-addons": "./node_modules/@gokturk413/web-component-designer-visualization-addons/dist/index.js",
25
+ "@node-projects/web-component-designer-visualization-addons/": "./node_modules/@gokturk413/web-component-designer-visualization-addons/",
25
26
  "@node-projects/propertygrid.webcomponent": "./node_modules/@node-projects/propertygrid.webcomponent/dist/index.js",
26
27
  "@node-projects/splitview.webcomponent": "./node_modules/@node-projects/splitview.webcomponent/dist/index.js",
27
28
  "@gokturk413/web-component-designer": "./node_modules/@gokturk413/web-component-designer/dist/index-min.js",
@@ -5,6 +5,7 @@ const importMapRuntime = {
5
5
  "@node-projects/web-component-designer": "./node_modules/@gokturk413/web-component-designer/dist/index.js",
6
6
  "@node-projects/base-custom-webcomponent": "./node_modules/@node-projects/base-custom-webcomponent/dist/index.js",
7
7
  "@node-projects/web-component-designer-visualization-addons": "./node_modules/@gokturk413/web-component-designer-visualization-addons/dist/index.js",
8
+ "@node-projects/web-component-designer-visualization-addons/": "./node_modules/@gokturk413/web-component-designer-visualization-addons/",
8
9
  "@gokturk413/": "./node_modules/@gokturk413/",
9
10
  "@gokturk413/web-component-designer": "./node_modules/@gokturk413/web-component-designer/dist/index.js",
10
11
  "@gokturk413/web-component-designer-visualization-addons": "./node_modules/@gokturk413/web-component-designer-visualization-addons/dist/index.js",
@@ -636,10 +636,14 @@ export class BindingsHelper {
636
636
  let sng = signals[i];
637
637
  signalVars[i] = '__' + i;
638
638
  if (sng.includes(':')) {
639
- const spl = sng.split(':');
640
- signalVars[i] = spl[0];
641
- sng = spl[1];
642
- signals[i] = sng;
639
+ const colonIdx = sng.indexOf(':');
640
+ const prefix = sng.substring(0, colonIdx);
641
+ if (prefix !== 'state' && prefix !== 'object') {
642
+ signalVars[i] = prefix;
643
+ sng = sng.substring(colonIdx + 1);
644
+ signals[i] = sng;
645
+ }
646
+ // 'state:' and 'object:' are type keywords — keep full signal, keep __N var name
643
647
  }
644
648
  if (sng[0] === '?') { //access object path in property in custom control, todo: bind direct to property value in local property
645
649
  if (root) { //root is null when opened in designer, then do not apply property bindings