iobroker.webui 1.25.1 → 1.25.2
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 +3 -0
- package/io-package.json +14 -14
- package/package.json +1 -1
- package/www/dist/frontend/common/IobrokerHandler.js +11 -9
- package/www/index.html +1 -1
package/README.md
CHANGED
|
@@ -133,6 +133,9 @@ runtime.html?screenName=screen2
|
|
|
133
133
|
Placeholder for next versions:
|
|
134
134
|
### __WORK IN PROGRESS__
|
|
135
135
|
-->
|
|
136
|
+
### 1.25.2 (2025-02-05)
|
|
137
|
+
- fix null error on props
|
|
138
|
+
|
|
136
139
|
### 1.25.1 (2025-01-24)
|
|
137
140
|
- escape xml
|
|
138
141
|
- switch to official selector package
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "webui",
|
|
4
|
-
"version": "1.25.
|
|
4
|
+
"version": "1.25.2",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "webui",
|
|
7
7
|
"de": "webui",
|
|
@@ -29,6 +29,19 @@
|
|
|
29
29
|
"zh-cn": "使用万维网传送器的高锰用户接口"
|
|
30
30
|
},
|
|
31
31
|
"news": {
|
|
32
|
+
"1.25.2": {
|
|
33
|
+
"en": "fix null error on props",
|
|
34
|
+
"de": "nullfehler auf requisiten beheben",
|
|
35
|
+
"ru": "исправить ошибку null на реквизитов",
|
|
36
|
+
"pt": "corrigir erro nulo em adereços",
|
|
37
|
+
"nl": "fix null-fout op rekwisieten",
|
|
38
|
+
"fr": "correction de l'erreur null sur les accessoires",
|
|
39
|
+
"it": "correzione di errore null su oggetti",
|
|
40
|
+
"es": "solucionar error null en props",
|
|
41
|
+
"pl": "naprawić błąd null na rekwizytach",
|
|
42
|
+
"uk": "виправити помилку null на пропсах",
|
|
43
|
+
"zh-cn": "修复道具上的无效错误"
|
|
44
|
+
},
|
|
32
45
|
"1.25.1": {
|
|
33
46
|
"en": "escape xml\nswitch to official selector package",
|
|
34
47
|
"de": "entkommen xml\nwechsel zum offiziellen auswahlpaket",
|
|
@@ -106,19 +119,6 @@
|
|
|
106
119
|
"pl": "miejmy nadzieję, że uda się naprawić przesyłkę po zmianie nazwy",
|
|
107
120
|
"uk": "сподіваємось на те, що завантаження пакету змінено",
|
|
108
121
|
"zh-cn": "希望用更改的名称修正软件包上传"
|
|
109
|
-
},
|
|
110
|
-
"1.24.0": {
|
|
111
|
-
"en": "cleanup www dir",
|
|
112
|
-
"de": "reinigung www dr",
|
|
113
|
-
"ru": "очистка www dir",
|
|
114
|
-
"pt": "limpeza www dir",
|
|
115
|
-
"nl": "opruimen www dir",
|
|
116
|
-
"fr": "nettoyage www dir",
|
|
117
|
-
"it": "pulizia www dir",
|
|
118
|
-
"es": "cleanup www dir",
|
|
119
|
-
"pl": "czyszczenie dir www",
|
|
120
|
-
"uk": "очищувач www dir",
|
|
121
|
-
"zh-cn": "清理 www dir"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"icon": "logo.png",
|
package/package.json
CHANGED
|
@@ -268,15 +268,17 @@ export class IobrokerHandler {
|
|
|
268
268
|
try {
|
|
269
269
|
control = await this._getObjectFromFile(this.configPath + "controls/" + name + '.control');
|
|
270
270
|
//TODO: remove in a later version, fixes old props
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
let
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
271
|
+
if (control.properties) {
|
|
272
|
+
let k = Object.keys(control.properties);
|
|
273
|
+
if (k.length && typeof control.properties[k[0]] == 'string') {
|
|
274
|
+
for (let p in control.properties) {
|
|
275
|
+
let prp = control.properties[p];
|
|
276
|
+
if (prp.startsWith("[")) {
|
|
277
|
+
control.properties[p] = { type: 'enum', values: JSON.parse(prp) };
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
control.properties[p] = { type: prp };
|
|
281
|
+
}
|
|
280
282
|
}
|
|
281
283
|
}
|
|
282
284
|
}
|
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.25.
|
|
221
|
+
webui - 1.25.2 - 7cb9a07
|
|
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>
|