iobroker.webui 1.31.4 → 1.31.6
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/README.md
CHANGED
|
@@ -133,6 +133,12 @@ runtime.html?screenName=screen2
|
|
|
133
133
|
Placeholder for next versions:
|
|
134
134
|
### __WORK IN PROGRESS__
|
|
135
135
|
-->
|
|
136
|
+
### 1.31.6 (2025-08-19)
|
|
137
|
+
- Test one more release
|
|
138
|
+
|
|
139
|
+
### 1.31.5 (2025-08-19)
|
|
140
|
+
- Fix setting Props with simple scripts
|
|
141
|
+
|
|
136
142
|
### 1.31.4 (2025-08-19)
|
|
137
143
|
- SimpleScripts should be able to set Properties
|
|
138
144
|
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "webui",
|
|
4
|
-
"version": "1.31.
|
|
4
|
+
"version": "1.31.6",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "webui",
|
|
7
7
|
"de": "webui",
|
|
@@ -29,6 +29,32 @@
|
|
|
29
29
|
"zh-cn": "使用万维网传送器的高锰用户接口"
|
|
30
30
|
},
|
|
31
31
|
"news": {
|
|
32
|
+
"1.31.6": {
|
|
33
|
+
"en": "Test one more release",
|
|
34
|
+
"de": "Testen Sie eine weitere Freigabe",
|
|
35
|
+
"ru": "Проверить еще один выпуск",
|
|
36
|
+
"pt": "Teste mais uma versão",
|
|
37
|
+
"nl": "Test nog een keer",
|
|
38
|
+
"fr": "Tester une dernière libération",
|
|
39
|
+
"it": "Prova un'altra versione",
|
|
40
|
+
"es": "Prueba una versión más",
|
|
41
|
+
"pl": "Przetestuj jeszcze jedno wydanie",
|
|
42
|
+
"uk": "Тестувати ще один реліз",
|
|
43
|
+
"zh-cn": "再试一次"
|
|
44
|
+
},
|
|
45
|
+
"1.31.5": {
|
|
46
|
+
"en": "Fix setting Props with simple scripts",
|
|
47
|
+
"de": "Reparieren Sie Props mit einfachen Skripten",
|
|
48
|
+
"ru": "Исправить настройку Props с помощью простых скриптов",
|
|
49
|
+
"pt": "Corrigir a configuração Props com scripts simples",
|
|
50
|
+
"nl": "Het instellen van Props met eenvoudige scripts",
|
|
51
|
+
"fr": "Correction du réglage Props avec des scripts simples",
|
|
52
|
+
"it": "Fissare le impostazioni Props con semplici script",
|
|
53
|
+
"es": "Corregir Props con scripts simples",
|
|
54
|
+
"pl": "Napraw ustawienia Propów za pomocą prostych skryptów",
|
|
55
|
+
"uk": "Виправлення налаштування пропсів з простими скриптами",
|
|
56
|
+
"zh-cn": "以简单的脚本修正设置道具"
|
|
57
|
+
},
|
|
32
58
|
"1.31.4": {
|
|
33
59
|
"en": "SimpleScripts should be able to set Properties",
|
|
34
60
|
"de": "SimpleScripts sollten in der Lage sein, Eigenschaften festzulegen",
|
|
@@ -93,32 +119,6 @@
|
|
|
93
119
|
"pl": "aktualizacja pakietów\nobsługa skryptów dla właściwości",
|
|
94
120
|
"uk": "оновлення пакетів\nпідтримка сценаріїв властивостей",
|
|
95
121
|
"zh-cn": "更新软件包\n属性的脚本支持"
|
|
96
|
-
},
|
|
97
|
-
"1.30.0": {
|
|
98
|
-
"en": "starting indirect binding fix",
|
|
99
|
-
"de": "start indirekter bindungsfix",
|
|
100
|
-
"ru": "начало косвенного связывания",
|
|
101
|
-
"pt": "correção de ligação indireta",
|
|
102
|
-
"nl": "beginnen met indirecte bindingsfix",
|
|
103
|
-
"fr": "début de la fixation indirecte",
|
|
104
|
-
"it": "start indirect binding fix",
|
|
105
|
-
"es": "inicio de fijación indirecta",
|
|
106
|
-
"pl": "początkowy łącznik pośredni",
|
|
107
|
-
"uk": "від непрямої фіксації",
|
|
108
|
-
"zh-cn": "开始间接绑定"
|
|
109
|
-
},
|
|
110
|
-
"1.29.0": {
|
|
111
|
-
"en": "complexer indirect bindings",
|
|
112
|
-
"de": "komplexe indirekte bindungen",
|
|
113
|
-
"ru": "более сложные косвенные связывания",
|
|
114
|
-
"pt": "ligações indiretas mais complexas",
|
|
115
|
-
"nl": "complexere indirecte bindingen",
|
|
116
|
-
"fr": "des liaisons indirectes plus complexes",
|
|
117
|
-
"it": "leganti indiretti più complessi",
|
|
118
|
-
"es": "más complejas uniones indirectas",
|
|
119
|
-
"pl": "złożone wiązania pośrednie",
|
|
120
|
-
"uk": "складні непрямі зв'язки",
|
|
121
|
-
"zh-cn": "较复杂的间接约束"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"icon": "logo.png",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.webui",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.6",
|
|
4
4
|
"description": "ioBroker webui",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/backend/main.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@node-projects/web-component-designer-codeview-monaco": "^0.1.33",
|
|
65
65
|
"@node-projects/web-component-designer-htmlparserservice-nodehtmlparser": "^0.1.11",
|
|
66
66
|
"@node-projects/web-component-designer-stylesheetservice-css-tools": "^0.1.11",
|
|
67
|
-
"@node-projects/web-component-designer-visualization-addons": "^0.1.
|
|
67
|
+
"@node-projects/web-component-designer-visualization-addons": "^0.1.127",
|
|
68
68
|
"@node-projects/web-component-designer-widgets-wunderbaum": "^0.1.33",
|
|
69
69
|
"@types/json-schema": "^7.0.15",
|
|
70
70
|
"@web/dev-server": "^0.4.6",
|
|
@@ -1133,11 +1133,10 @@
|
|
|
1133
1133
|
"type": "object"
|
|
1134
1134
|
},
|
|
1135
1135
|
"signalTarget": {
|
|
1136
|
-
"description": "signal - a signal (the default)\nproperty - a property defined in the current screen/control\nelementProperty - a property defined on the
|
|
1136
|
+
"description": "signal - a signal (the default)\nproperty - a property defined in the current screen/control\nelementProperty - a property defined on the element raising the event",
|
|
1137
1137
|
"enum": [
|
|
1138
1138
|
"elementProperty",
|
|
1139
1139
|
"property",
|
|
1140
|
-
"rootProperty",
|
|
1141
1140
|
"signal"
|
|
1142
1141
|
],
|
|
1143
1142
|
"type": "string"
|
package/www/index.html
CHANGED
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
</button>
|
|
219
219
|
<button data-command="save" title="save" disabled><img src="./node_modules/@node-projects/web-component-designer/assets/icons/save.svg"></button>
|
|
220
220
|
<div style="margin-left: 30px;">
|
|
221
|
-
webui - 1.31.
|
|
221
|
+
webui - 1.31.6 - 6bb1b00
|
|
222
222
|
</div>
|
|
223
223
|
<button style="margin-left: 30px;" data-command="paste" title="paste" disabled><img
|
|
224
224
|
src="./node_modules/@node-projects/web-component-designer/assets/icons/paste.svg"></button>
|
|
@@ -83,28 +83,22 @@ export class ScriptSystem {
|
|
|
83
83
|
}
|
|
84
84
|
async getValueFromTarget(target, name, context) {
|
|
85
85
|
if (target === 'property') {
|
|
86
|
-
return context.
|
|
86
|
+
return context.root[name];
|
|
87
87
|
}
|
|
88
88
|
else if (target === 'elementProperty') {
|
|
89
89
|
return context.element[name];
|
|
90
90
|
}
|
|
91
|
-
else if (target === 'rootProperty') {
|
|
92
|
-
return context.root[name];
|
|
93
|
-
}
|
|
94
91
|
else {
|
|
95
92
|
return (await this._visualizationHandler.getState(this.getSignalName(name, context)))?.val;
|
|
96
93
|
}
|
|
97
94
|
}
|
|
98
95
|
async setValueOnTarget(target, name, context, value) {
|
|
99
96
|
if (target === 'property') {
|
|
100
|
-
context.
|
|
97
|
+
context.root[name] = value;
|
|
101
98
|
}
|
|
102
99
|
else if (target === 'elementProperty') {
|
|
103
100
|
context.element[name] = value;
|
|
104
101
|
}
|
|
105
|
-
else if (target === 'rootProperty') {
|
|
106
|
-
context.root[name] = value;
|
|
107
|
-
}
|
|
108
102
|
else {
|
|
109
103
|
await this._visualizationHandler.setState(this.getSignalName(name, context), value);
|
|
110
104
|
}
|