iobroker.webui 1.35.2 → 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
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,19 @@
|
|
|
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
|
+
},
|
|
32
45
|
"1.35.2": {
|
|
33
46
|
"en": "forgett to parse bindings",
|
|
34
47
|
"de": "vergess auf parse bindungen",
|
|
@@ -106,19 +119,6 @@
|
|
|
106
119
|
"pl": "aktualizacje dotyczące projektantów i skryptów",
|
|
107
120
|
"uk": "оновлення дизайну та скриптів",
|
|
108
121
|
"zh-cn": "设计师和脚本更新"
|
|
109
|
-
},
|
|
110
|
-
"1.33.0": {
|
|
111
|
-
"en": "fix NaN check",
|
|
112
|
-
"de": "naN-Check",
|
|
113
|
-
"ru": "проверьте NaN",
|
|
114
|
-
"pt": "corrigir verificação NaN",
|
|
115
|
-
"nl": "naN-controle herstellen",
|
|
116
|
-
"fr": "correction du contrôle NaN",
|
|
117
|
-
"it": "correzione del controllo NaN",
|
|
118
|
-
"es": "arreglar NaN",
|
|
119
|
-
"pl": "fix NaN check",
|
|
120
|
-
"uk": "виправити NaN перевірити",
|
|
121
|
-
"zh-cn": "修复NaN 检查"
|
|
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 });
|
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>
|