iobroker.vis-jsontemplate 4.6.0 → 4.6.1
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 +7 -5
- package/io-package.json +14 -14
- package/package.json +1 -1
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js +2 -1
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js.map +2 -2
- package/widgets/vis-jsontemplate/js/jsontemplate.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/{EJSAceEditor-D2dSaoYC.js → EJSAceEditor-q4P5vgCv.js} +1 -1
- package/widgets/vis2vis-jsontemplate/assets/{JSONTemplateWidget-BxJj3J2G.js → JSONTemplateWidget-BrIGyvVS.js} +3 -3
- package/widgets/vis2vis-jsontemplate/assets/hostInit--w_ScJeB.js +1 -1
- package/widgets/vis2vis-jsontemplate/assets/{index-CLFlWYIu.js → index-DuxrFLcN.js} +42 -42
- package/widgets/vis2vis-jsontemplate/assets/{virtualExposes-D1kD3d-x.js → virtualExposes-DaLISvQh.js} +2 -2
- package/widgets/vis2vis-jsontemplate/customWidgets.js +2 -2
package/README.md
CHANGED
|
@@ -143,6 +143,9 @@ Example output of data, widget and style in the template
|
|
|
143
143
|
.replace(/ /g, ' '); %>
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
+
If an error occurs, it is displayed in the widget and output to the
|
|
147
|
+
browser console (F12).
|
|
148
|
+
|
|
146
149
|
#### Advanced use case
|
|
147
150
|
|
|
148
151
|
In the examples above, only the pure output was covered.
|
|
@@ -420,6 +423,10 @@ Loop over the attributes of an object
|
|
|
420
423
|
Placeholder for the next version (at the beginning of the line):
|
|
421
424
|
### **WORK IN PROGRESS**
|
|
422
425
|
-->
|
|
426
|
+
### 4.6.1 (2026-07-31)
|
|
427
|
+
|
|
428
|
+
- Improved error output.
|
|
429
|
+
|
|
423
430
|
### 4.6.0 (2026-07-30)
|
|
424
431
|
|
|
425
432
|
- some changes. see readme/below
|
|
@@ -455,11 +462,6 @@ Loop over the attributes of an object
|
|
|
455
462
|
- Due to an inconsistency between the vis1 and vis2 widgets,
|
|
456
463
|
both `widgetid` and `widgetID` are now passed to the template.
|
|
457
464
|
|
|
458
|
-
### 4.4.3 (2026-04-21)
|
|
459
|
-
|
|
460
|
-
- revert repochecker warning about fs/node:fs and path/node:path
|
|
461
|
-
because of error loading ejs
|
|
462
|
-
|
|
463
465
|
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
464
466
|
|
|
465
467
|
## License
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "vis-jsontemplate",
|
|
4
|
-
"version": "4.6.
|
|
4
|
+
"version": "4.6.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"4.6.1": {
|
|
7
|
+
"en": "- Improved error output.",
|
|
8
|
+
"de": "- Verbesserte Fehlerausgabe.",
|
|
9
|
+
"ru": "- Улучшен вывод сообщений об ошибках.",
|
|
10
|
+
"pt": "- Melhorada a saída de erros.",
|
|
11
|
+
"nl": "- Verbeterde foutuitvoer.",
|
|
12
|
+
"fr": "- Amélioration de l'affichage des erreurs.",
|
|
13
|
+
"it": "- Migliorata la visualizzazione degli errori.",
|
|
14
|
+
"es": "- Se ha mejorado la salida de errores.",
|
|
15
|
+
"pl": "- Ulepszono wyświetlanie błędów.",
|
|
16
|
+
"uk": "- Покращено виведення повідомлень про помилки.",
|
|
17
|
+
"zh-cn": "- 改进了错误输出。"
|
|
18
|
+
},
|
|
6
19
|
"4.6.0": {
|
|
7
20
|
"en": "- some changes. see readme/below",
|
|
8
21
|
"de": "- einige änderungen. siehe readme/unten",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "napraw środowisko wykonawcze",
|
|
81
94
|
"uk": "фіксувати runtime",
|
|
82
95
|
"zh-cn": "固定运行时间"
|
|
83
|
-
},
|
|
84
|
-
"4.4.1": {
|
|
85
|
-
"en": "fix regression\nupdate packages",
|
|
86
|
-
"de": "regression\nupdate-pakete",
|
|
87
|
-
"ru": "фиксировать регрессию\nобновление пакетов",
|
|
88
|
-
"pt": "corrigir regressão\natualizar pacotes",
|
|
89
|
-
"nl": "repareren regressie\npakketten bijwerken",
|
|
90
|
-
"fr": "fixer la régression\nmettre à jour les paquets",
|
|
91
|
-
"it": "correzione della regressione\npacchetti di aggiornamento",
|
|
92
|
-
"es": "regreso\nactualizar paquetes",
|
|
93
|
-
"pl": "naprawić regresję\naktualizacja pakietów",
|
|
94
|
-
"uk": "фіксація регресія\nоновлення пакетів",
|
|
95
|
-
"zh-cn": "修复回归\n更新软件包"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
var version;
|
|
76
76
|
var init_package = __esm({
|
|
77
77
|
"../package.json"() {
|
|
78
|
-
version = "4.6.
|
|
78
|
+
version = "4.6.1";
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
|
|
@@ -345,6 +345,7 @@
|
|
|
345
345
|
);
|
|
346
346
|
} catch (e) {
|
|
347
347
|
text = vis.binds["jsontemplate"].escapeHTML(e.message).replace(/(?:\r\n|\r|\n)/g, "<br>");
|
|
348
|
+
console.error(e.message);
|
|
348
349
|
text = text.replace(/ /gm, " ");
|
|
349
350
|
text = `<code style="color:red;">${text}</code>`;
|
|
350
351
|
}
|