iobroker.webui 1.35.3 → 1.35.4
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 +3 -1
- package/www/index.html +1 -1
package/README.md
CHANGED
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "webui",
|
|
4
|
-
"version": "1.35.
|
|
4
|
+
"version": "1.35.4",
|
|
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.35.4": {
|
|
33
|
+
"en": "clear cache on reload",
|
|
34
|
+
"de": "löschen cache auf nachladen",
|
|
35
|
+
"ru": "чистый кэш на перезагрузке",
|
|
36
|
+
"pt": "limpar cache ao recarregar",
|
|
37
|
+
"nl": "cache wissen bij herladen",
|
|
38
|
+
"fr": "effacer le cache lors du rechargement",
|
|
39
|
+
"it": "cache chiara su ricarica",
|
|
40
|
+
"es": "caché transparente en la recarga",
|
|
41
|
+
"pl": "klarowna pamięć podręczna przy ponownym załadowaniu",
|
|
42
|
+
"uk": "прозорий кеш на перевантаження",
|
|
43
|
+
"zh-cn": "重新装入时清除缓存"
|
|
44
|
+
},
|
|
32
45
|
"1.35.3": {
|
|
33
46
|
"en": "object changed to all clients",
|
|
34
47
|
"de": "objekt geändert für alle kunden",
|
|
@@ -106,19 +119,6 @@
|
|
|
106
119
|
"pl": "naprawiono błąd związany z nieprawidłową nazwą polecenia skryptu",
|
|
107
120
|
"uk": "виправлено неправильну назву команди в скрипті",
|
|
108
121
|
"zh-cn": "脚本命令名称修复"
|
|
109
|
-
},
|
|
110
|
-
"1.34.0": {
|
|
111
|
-
"en": "designer and script updates",
|
|
112
|
-
"de": "Designer- und Skriptaktualisierungen",
|
|
113
|
-
"ru": "обновления дизайна и скриптов",
|
|
114
|
-
"pt": "Atualizações de design e scripts",
|
|
115
|
-
"nl": "ontwerper- en scriptupdates",
|
|
116
|
-
"fr": "Mises à jour du designer et du script",
|
|
117
|
-
"it": "Aggiornamenti del designer e degli script",
|
|
118
|
-
"es": "Actualizaciones de diseño y guionistas",
|
|
119
|
-
"pl": "aktualizacje dotyczące projektantów i skryptów",
|
|
120
|
-
"uk": "оновлення дизайну та скриптів",
|
|
121
|
-
"zh-cn": "设计师和脚本更新"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"icon": "logo.png",
|
package/package.json
CHANGED
|
@@ -197,7 +197,7 @@ export class IobrokerHandler {
|
|
|
197
197
|
return screen;
|
|
198
198
|
}
|
|
199
199
|
async saveObject(type, name, data) {
|
|
200
|
-
this._saveObjectToFile(data, "/" + this.configPath + type + "s/" + name + '.' + type);
|
|
200
|
+
await this._saveObjectToFile(data, "/" + this.configPath + type + "s/" + name + '.' + type);
|
|
201
201
|
if (this.#cache.has(type))
|
|
202
202
|
this.#cache.get(type).set(name, data);
|
|
203
203
|
if (type == 'control')
|
|
@@ -490,6 +490,8 @@ export class IobrokerHandler {
|
|
|
490
490
|
break;
|
|
491
491
|
case "objectChanged":
|
|
492
492
|
const d = JSON.parse(data);
|
|
493
|
+
if (this.#cache.has(d.type))
|
|
494
|
+
this.#cache.get(d.type).delete(d.name);
|
|
493
495
|
if (d.type == 'control' && d.name)
|
|
494
496
|
generateCustomControl(d.name, await iobrokerHandler.getWebuiObject(d.type, d.name));
|
|
495
497
|
this.objectsChanged.emit(d);
|
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.35.
|
|
221
|
+
webui - 1.35.4 - 4399f18
|
|
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>
|