iobroker.webui 1.19.1 → 1.19.3
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
|
@@ -129,6 +129,12 @@ runtime.html?screenName=screen2
|
|
|
129
129
|
Placeholder for next versions:
|
|
130
130
|
### __WORK IN PROGRESS__
|
|
131
131
|
-->
|
|
132
|
+
### 1.19.3 (2024-11-03)
|
|
133
|
+
- support null value
|
|
134
|
+
|
|
135
|
+
### 1.19.2 (2024-11-03)
|
|
136
|
+
- use name in classlist
|
|
137
|
+
|
|
132
138
|
### 1.19.1 (2024-11-02)
|
|
133
139
|
- copy path for screens/controls
|
|
134
140
|
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "webui",
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.3",
|
|
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.19.3": {
|
|
33
|
+
"en": "support null value",
|
|
34
|
+
"de": "unterstützungswert",
|
|
35
|
+
"ru": "нулевое значение",
|
|
36
|
+
"pt": "suporte valor nulo",
|
|
37
|
+
"nl": "steun nulwaarde",
|
|
38
|
+
"fr": "support valeur null",
|
|
39
|
+
"it": "supporto valore null",
|
|
40
|
+
"es": "valor nulo",
|
|
41
|
+
"pl": "wartość null wsparcia",
|
|
42
|
+
"uk": "підтримка значення null",
|
|
43
|
+
"zh-cn": "支持无效值"
|
|
44
|
+
},
|
|
45
|
+
"1.19.2": {
|
|
46
|
+
"en": "use name in classlist",
|
|
47
|
+
"de": "name in der klassenliste verwenden",
|
|
48
|
+
"ru": "имя в класслисте",
|
|
49
|
+
"pt": "use o nome na lista de classes",
|
|
50
|
+
"nl": "naam gebruiken in klasselijst",
|
|
51
|
+
"fr": "utiliser le nom dans la liste des classes",
|
|
52
|
+
"it": "usare il nome in classifica",
|
|
53
|
+
"es": "nombre de uso en la lista de clases",
|
|
54
|
+
"pl": "użyj nazwy na liście klas",
|
|
55
|
+
"uk": "ім'я користувача в класі",
|
|
56
|
+
"zh-cn": "使用分类列表中的名称"
|
|
57
|
+
},
|
|
32
58
|
"1.19.1": {
|
|
33
59
|
"en": "copy path for screens/controls",
|
|
34
60
|
"de": "kopierpfad für bildschirme/steuerungen",
|
|
@@ -93,32 +119,6 @@
|
|
|
93
119
|
"pl": "mała literówka fix",
|
|
94
120
|
"uk": "маленький типофікс",
|
|
95
121
|
"zh-cn": "小类型修复"
|
|
96
|
-
},
|
|
97
|
-
"1.18.2": {
|
|
98
|
-
"en": "better refcatoring",
|
|
99
|
-
"de": "besser refcatoring",
|
|
100
|
-
"ru": "лучший хладагент",
|
|
101
|
-
"pt": "melhor refcatoring",
|
|
102
|
-
"nl": "betere refcatoring",
|
|
103
|
-
"fr": "mieux réfcatorer",
|
|
104
|
-
"it": "migliore refcatoring",
|
|
105
|
-
"es": "mejor refcatoring",
|
|
106
|
-
"pl": "lepsza rekatalizacja",
|
|
107
|
-
"uk": "кращий рефторинг",
|
|
108
|
-
"zh-cn": "更好的还原"
|
|
109
|
-
},
|
|
110
|
-
"1.18.1": {
|
|
111
|
-
"en": "fix screen settings",
|
|
112
|
-
"de": "einstellungen für den bildschirm",
|
|
113
|
-
"ru": "настройки экрана",
|
|
114
|
-
"pt": "corrigir configurações de tela",
|
|
115
|
-
"nl": "scherminstellingen herstellen",
|
|
116
|
-
"fr": "correction des paramètres de l'écran",
|
|
117
|
-
"it": "impostazioni della schermata di correzione",
|
|
118
|
-
"es": "ajuste de la pantalla",
|
|
119
|
-
"pl": "ustaw ustawienia ekranu",
|
|
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.19.
|
|
3
|
+
"version": "1.19.3",
|
|
4
4
|
"description": "ioBroker webui",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/backend/main.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@iobroker/adapter-core": "^3.2.2",
|
|
42
|
-
"@types/node": "^22.8.
|
|
42
|
+
"@types/node": "^22.8.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@adobe/css-tools": "4.4.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@node-projects/web-component-designer-codeview-monaco": "^0.1.32",
|
|
59
59
|
"@node-projects/web-component-designer-htmlparserservice-nodehtmlparser": "^0.1.11",
|
|
60
60
|
"@node-projects/web-component-designer-stylesheetservice-css-tools": "^0.1.10",
|
|
61
|
-
"@node-projects/web-component-designer-visualization-addons": "^0.1.
|
|
61
|
+
"@node-projects/web-component-designer-visualization-addons": "^0.1.93",
|
|
62
62
|
"@node-projects/web-component-designer-widgets-wunderbaum": "^0.1.29",
|
|
63
63
|
"@types/json-schema": "^7.0.15",
|
|
64
64
|
"@web/dev-server": "^0.4.6",
|
package/www/index.html
CHANGED
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
</button>
|
|
214
214
|
<button data-command="save" title="save" disabled><img src="./node_modules/@node-projects/web-component-designer/assets/icons/save.svg"></button>
|
|
215
215
|
<div style="margin-left: 30px;">
|
|
216
|
-
webui - 1.19.
|
|
216
|
+
webui - 1.19.3 - f0ffca3
|
|
217
217
|
</div>
|
|
218
218
|
<button style="margin-left: 30px;" data-command="paste" title="paste" disabled><img
|
|
219
219
|
src="./node_modules/@node-projects/web-component-designer/assets/icons/paste.svg"></button>
|
|
@@ -202,13 +202,13 @@ export class ScriptSystem {
|
|
|
202
202
|
}
|
|
203
203
|
else if (target == 'class') {
|
|
204
204
|
if (mode === 'toggle') {
|
|
205
|
-
e.classList.toggle(value);
|
|
205
|
+
e.classList.toggle(name ?? value);
|
|
206
206
|
}
|
|
207
207
|
else if (mode === 'remove') {
|
|
208
|
-
e.classList.remove(value);
|
|
208
|
+
e.classList.remove(name ?? value);
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
211
|
-
e.classList.add(value);
|
|
211
|
+
e.classList.add(name ?? value);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
}
|
|
@@ -310,6 +310,8 @@ export class ScriptSystem {
|
|
|
310
310
|
return elements;
|
|
311
311
|
}
|
|
312
312
|
async getValue(value, outerContext) {
|
|
313
|
+
if (value == null)
|
|
314
|
+
return null;
|
|
313
315
|
if (typeof value === 'object') {
|
|
314
316
|
switch (value.source) {
|
|
315
317
|
case 'property': {
|