iobroker.webui 1.35.1 → 1.35.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
|
@@ -133,6 +133,12 @@ runtime.html?screenName=screen2
|
|
|
133
133
|
Placeholder for next versions:
|
|
134
134
|
### __WORK IN PROGRESS__
|
|
135
135
|
-->
|
|
136
|
+
### 1.35.3 (2025-09-23)
|
|
137
|
+
- object changed to all clients
|
|
138
|
+
|
|
139
|
+
### 1.35.2 (2025-09-23)
|
|
140
|
+
- forgett to parse bindings
|
|
141
|
+
|
|
136
142
|
### 1.35.1 (2025-09-23)
|
|
137
143
|
- fix reload custom controls
|
|
138
144
|
|
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.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.35.3": {
|
|
33
|
+
"en": "object changed to all clients",
|
|
34
|
+
"de": "objekt geändert für alle kunden",
|
|
35
|
+
"ru": "измененный объект для всех клиентов",
|
|
36
|
+
"pt": "objeto alterado para todos os clientes",
|
|
37
|
+
"nl": "object veranderd naar alle clients",
|
|
38
|
+
"fr": "objet changé à tous les clients",
|
|
39
|
+
"it": "oggetto cambiato in tutti i client",
|
|
40
|
+
"es": "objeto cambiado a todos los clientes",
|
|
41
|
+
"pl": "obiekt zmieniony na wszystkich klientów",
|
|
42
|
+
"uk": "об’єкт змінився для всіх клієнтів",
|
|
43
|
+
"zh-cn": "对象更改为全部客户端"
|
|
44
|
+
},
|
|
45
|
+
"1.35.2": {
|
|
46
|
+
"en": "forgett to parse bindings",
|
|
47
|
+
"de": "vergess auf parse bindungen",
|
|
48
|
+
"ru": "забыли разобрать привязки",
|
|
49
|
+
"pt": "esquecido de analisar as ligações",
|
|
50
|
+
"nl": "vergeten om bindingen te ontleden",
|
|
51
|
+
"fr": "oublier d'analyser les liaisons",
|
|
52
|
+
"it": "dimenticare di parse bindings",
|
|
53
|
+
"es": "olvidarse de parse bindings",
|
|
54
|
+
"pl": "zapominanie o przypisie",
|
|
55
|
+
"uk": "забути в обв'язках",
|
|
56
|
+
"zh-cn": "忘记解析绑定"
|
|
57
|
+
},
|
|
32
58
|
"1.35.1": {
|
|
33
59
|
"en": "fix reload custom controls",
|
|
34
60
|
"de": "reload benutzerdefinierte bedienelemente",
|
|
@@ -93,32 +119,6 @@
|
|
|
93
119
|
"pl": "aktualizacje dotyczące projektantów i skryptów",
|
|
94
120
|
"uk": "оновлення дизайну та скриптів",
|
|
95
121
|
"zh-cn": "设计师和脚本更新"
|
|
96
|
-
},
|
|
97
|
-
"1.33.0": {
|
|
98
|
-
"en": "fix NaN check",
|
|
99
|
-
"de": "naN-Check",
|
|
100
|
-
"ru": "проверьте NaN",
|
|
101
|
-
"pt": "corrigir verificação NaN",
|
|
102
|
-
"nl": "naN-controle herstellen",
|
|
103
|
-
"fr": "correction du contrôle NaN",
|
|
104
|
-
"it": "correzione del controllo NaN",
|
|
105
|
-
"es": "arreglar NaN",
|
|
106
|
-
"pl": "fix NaN check",
|
|
107
|
-
"uk": "виправити NaN перевірити",
|
|
108
|
-
"zh-cn": "修复NaN 检查"
|
|
109
|
-
},
|
|
110
|
-
"1.32.0": {
|
|
111
|
-
"en": "Support css prop suggestions",
|
|
112
|
-
"de": "Support css prop Vorschläge",
|
|
113
|
-
"ru": "Поддержка предложений css",
|
|
114
|
-
"pt": "Suportar sugestões de suporte para css",
|
|
115
|
-
"nl": "Ondersteuning css prop suggesties",
|
|
116
|
-
"fr": "Soutien css prop suggestions",
|
|
117
|
-
"it": "Support css prop suggerimenti",
|
|
118
|
-
"es": "Sugerencias de apoyo css",
|
|
119
|
-
"pl": "Support sugestie css prop",
|
|
120
|
-
"uk": "Підтримка пропозицій css",
|
|
121
|
-
"zh-cn": "支持 css 道具建议"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"icon": "logo.png",
|
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@ export declare class IobrokerHandler implements VisualizationHandler {
|
|
|
91
91
|
private _getObjectFromFile;
|
|
92
92
|
private _saveObjectToFile;
|
|
93
93
|
private _saveBinaryToFile;
|
|
94
|
-
sendCommand(command: 'addNpm' | 'removeNpm' | 'updateNpm' | 'uiConnected' | 'uiChangedView', data?: string): Promise<void>;
|
|
94
|
+
sendCommand(command: 'addNpm' | 'removeNpm' | 'updateNpm' | 'uiConnected' | 'uiChangedView', data?: string, clientId?: string): Promise<void>;
|
|
95
95
|
handleCommand(command: "uiReloadPackages" | "uiReload" | "uiRefresh" | "uiChangeView" | "uiChangedView" | "uiOpenDialog" | "uiOpenedDialog" | "uiPlaySound" | "uiRunScript" | "uiAlert" | "objectChanged", data: string, clientId?: string): Promise<void>;
|
|
96
96
|
getSignalInformation(signal: any): SignalInformation;
|
|
97
97
|
getHistoricData(id: string, config: any): Promise<{
|
|
@@ -203,7 +203,7 @@ export class IobrokerHandler {
|
|
|
203
203
|
if (type == 'control')
|
|
204
204
|
this._controlNames = null;
|
|
205
205
|
//this.objectsChanged.emit({ type, name });
|
|
206
|
-
this.sendCommand("objectChanged", JSON.stringify({ type, name }));
|
|
206
|
+
this.sendCommand("objectChanged", JSON.stringify({ type, name }), '*');
|
|
207
207
|
}
|
|
208
208
|
async removeObject(type, name) {
|
|
209
209
|
await this.connection.deleteFile(this.namespaceFiles, "/" + this.configPath + type + "s/" + name + '.' + type);
|
|
@@ -452,10 +452,10 @@ export class IobrokerHandler {
|
|
|
452
452
|
async _saveBinaryToFile(binary, name) {
|
|
453
453
|
await this.connection.writeFile64(this.namespaceFiles, name, await binary.arrayBuffer());
|
|
454
454
|
}
|
|
455
|
-
async sendCommand(command, data) {
|
|
455
|
+
async sendCommand(command, data, clientId) {
|
|
456
456
|
let p = [
|
|
457
457
|
this.connection.setState(this.namespace + '.control.data', { val: data }),
|
|
458
|
-
this.connection.setState(this.namespace + '.control.clientIds', { val: this.clientId })
|
|
458
|
+
this.connection.setState(this.namespace + '.control.clientIds', { val: clientId ?? this.clientId })
|
|
459
459
|
];
|
|
460
460
|
await Promise.all(p);
|
|
461
461
|
await this.connection.setState(this.namespace + '.control.command', { val: command });
|
|
@@ -60,6 +60,7 @@ export class BaseCustomControl extends BaseCustomWebComponentConstructorAppend {
|
|
|
60
60
|
this._rootDocumentFragment = this.constructor.template.content.cloneNode(true);
|
|
61
61
|
this.shadowRoot.innerHTML = '';
|
|
62
62
|
this.shadowRoot.appendChild(this._rootDocumentFragment);
|
|
63
|
+
this._bindingsParse(null, true);
|
|
63
64
|
this.connectedCallback();
|
|
64
65
|
}
|
|
65
66
|
});
|
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.3 - 727a3c1
|
|
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>
|