iobroker.webui 1.34.0 → 1.34.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 CHANGED
@@ -133,6 +133,12 @@ runtime.html?screenName=screen2
133
133
  Placeholder for next versions:
134
134
  ### __WORK IN PROGRESS__
135
135
  -->
136
+ ### 1.34.2 (2025-09-21)
137
+ - anaother small fix in signal handling
138
+
139
+ ### 1.34.1 (2025-09-20)
140
+ - script command wrong name fix
141
+
136
142
  ### 1.34.0 (2025-09-20)
137
143
  - designer and script updates
138
144
 
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "webui",
4
- "version": "1.34.0",
4
+ "version": "1.34.2",
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.34.2": {
33
+ "en": "anaother small fix in signal handling",
34
+ "de": "Weitere kleine Korrektur in der Signalerkennung.",
35
+ "ru": "Еще одно небольшое исправление в обработке сигналов",
36
+ "pt": "Outro pequeno ajuste no tratamento de sinais.",
37
+ "nl": "Nog een kleine fix in signaalafhandeling",
38
+ "fr": "Autre petite correction dans la gestion des signaux",
39
+ "it": "Un altro piccolo fix nella gestione del segnale",
40
+ "es": "Otro pequeño arreglo en el manejo de señales",
41
+ "pl": "kolejna drobna poprawka w obsłudze sygnałów",
42
+ "uk": "ще один невеликий виправлення у керуванні сигналами",
43
+ "zh-cn": "信号处理中的另一个小修复"
44
+ },
45
+ "1.34.1": {
46
+ "en": "script command wrong name fix",
47
+ "de": "Fehler bei der Namensschreibweise des Skriptbefehls behoben",
48
+ "ru": "Исправлена ошибка в неправильном названии команды скрипта",
49
+ "pt": "Corrigido nome incorreto do comando de script",
50
+ "nl": "Script command foutieve naam opgelost",
51
+ "fr": "Correction du nom erroné de la commande de script",
52
+ "it": "Correzione del nome errato del comando di script",
53
+ "es": "comando de script con nombre incorrecto corregido",
54
+ "pl": "naprawiono błąd związany z nieprawidłową nazwą polecenia skryptu",
55
+ "uk": "виправлено неправильну назву команди в скрипті",
56
+ "zh-cn": "脚本命令名称修复"
57
+ },
32
58
  "1.34.0": {
33
59
  "en": "designer and script updates",
34
60
  "de": "Designer- und Skriptaktualisierungen",
@@ -93,32 +119,6 @@
93
119
  "pl": "Napraw ustawienia Propów za pomocą prostych skryptów",
94
120
  "uk": "Виправлення налаштування пропсів з простими скриптами",
95
121
  "zh-cn": "以简单的脚本修正设置道具"
96
- },
97
- "1.31.4": {
98
- "en": "SimpleScripts should be able to set Properties",
99
- "de": "SimpleScripts sollten in der Lage sein, Eigenschaften festzulegen",
100
- "ru": "SimpleScripts должен уметь устанавливать свойства",
101
- "pt": "SimpleScripts deve ser capaz de definir Propriedades",
102
- "nl": "SimpleScripts moet eigenschappen kunnen instellen",
103
- "fr": "SimpleScripts devrait pouvoir définir Propriétés",
104
- "it": "SimpleScripts dovrebbe essere in grado di impostare Proprietà",
105
- "es": "SimpleScripts debe ser capaz de establecer Propiedades",
106
- "pl": "Scenariusze powinny być w stanie ustawić właściwości",
107
- "uk": "Прості скрипти повинні бути в змозі встановити властивості",
108
- "zh-cn": "简单脚本应该能够设置属性"
109
- },
110
- "1.31.3": {
111
- "en": "NaN not NaN",
112
- "de": "NaN nicht NaN",
113
- "ru": "Нан не нан",
114
- "pt": "NaN não NaN",
115
- "nl": "NaN niet NaN",
116
- "fr": "NaN pas NaN",
117
- "it": "NaN non NaN",
118
- "es": "Nan no Nan",
119
- "pl": "Nie",
120
- "uk": "Не NaN",
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.34.0",
3
+ "version": "1.34.2",
4
4
  "description": "ioBroker webui",
5
5
  "type": "module",
6
6
  "main": "dist/backend/main.js",
@@ -64,7 +64,7 @@
64
64
  "@node-projects/web-component-designer-codeview-monaco": "^0.1.33",
65
65
  "@node-projects/web-component-designer-htmlparserservice-nodehtmlparser": "^0.1.11",
66
66
  "@node-projects/web-component-designer-stylesheetservice-css-tools": "^0.1.11",
67
- "@node-projects/web-component-designer-visualization-addons": "^0.1.130",
67
+ "@node-projects/web-component-designer-visualization-addons": "^0.1.132",
68
68
  "@node-projects/web-component-designer-widgets-wunderbaum": "^0.1.33",
69
69
  "@types/json-schema": "^7.0.15",
70
70
  "@web/dev-server": "^0.4.6",
@@ -985,7 +985,7 @@
985
985
  ],
986
986
  "type": "object"
987
987
  },
988
- "ToggleSignalValueFromList": {
988
+ "ToggleSignalValueThroughList": {
989
989
  "properties": {
990
990
  "additionalData": {
991
991
  "type": "string"
@@ -1056,7 +1056,7 @@
1056
1056
  "$ref": "#/definitions/ToggleSignalValue"
1057
1057
  },
1058
1058
  {
1059
- "$ref": "#/definitions/ToggleSignalValueFromList"
1059
+ "$ref": "#/definitions/ToggleSignalValueThroughList"
1060
1060
  },
1061
1061
  {
1062
1062
  "$ref": "#/definitions/SetSignalValue"
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.34.0 - 8558377
221
+ webui - 1.34.2 - 40551f4
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>
@@ -106,7 +106,7 @@ export class SimpleScriptEditor extends BaseCustomWebComponentConstructorAppend
106
106
  pg.setPropertyValue('name', b.fullName);
107
107
  pg.refresh();
108
108
  };
109
- let res = await this.visualizationShell.openConfirmation(pg, { x: 100, y: 100, width: 400, height: 400, parent: this });
109
+ let res = await this.visualizationShell.openConfirmation(pg, { x: 100, y: 100, width: 400, height: 500, parent: this });
110
110
  if (res) {
111
111
  this._propertygrid.setPropertyValue(data.propertyPath, pg.selectedObject);
112
112
  this._propertygrid.refresh();
@@ -374,12 +374,12 @@ export class ScriptSystem {
374
374
  }
375
375
  case 'signal': {
376
376
  let sng = await this._visualizationHandler.getState(this.getSignalName(value.name, outerContext));
377
- return sng.val;
377
+ return sng?.val;
378
378
  }
379
379
  case 'signalInProperty': {
380
380
  const sngName = deepValue(outerContext.root, value.name);
381
381
  let sng = await this._visualizationHandler.getState(this.getSignalName(sngName, outerContext));
382
- return sng.val;
382
+ return sng?.val;
383
383
  }
384
384
  case 'event': {
385
385
  let obj = outerContext.event;
@@ -405,7 +405,7 @@ export class ScriptSystem {
405
405
  if (text != null) {
406
406
  const signal = await this.parseStringWithValues(text, outerContext);
407
407
  const state = await this._visualizationHandler.getState(this.getSignalName(signal, outerContext));
408
- return state.val;
408
+ return state?.val;
409
409
  }
410
410
  return null;
411
411
  }