iobroker.vis-jsontemplate 4.4.3 → 4.4.5
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 +68 -68
- package/io-package.json +29 -16
- package/package.json +13 -10
- package/widgets/package-lock.json +33 -31
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js +10 -3
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js.map +2 -2
- package/widgets/vis-jsontemplate/js/jsontemplate.js +9 -2
- package/widgets/vis2vis-jsontemplate/assets/{JSONTemplateWidget-CFWfawQI.js → JSONTemplateWidget-BeQ6HofR.js} +55 -67
- package/widgets/vis2vis-jsontemplate/assets/_commonjsHelpers-DsqdWQfm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/createSvgIcon-CEbEJbZ6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/defaultTheme-C8WuaZ7a.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/hostInit--w_ScJeB.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/index-CLFlWYIu.js +994 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DN8zaYv1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DYmfCyJR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DbFKRAxQ.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DbRsMwdu.js +221 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DjWtqlw1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsx-runtime-qZ4C1rVi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/preload-helper-BDBacUwf.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/useTheme-D9YWiQkn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/virtualExposes-ByMwN68X.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__loadShare___mf_0_mui_mf_1_icons_mf_2_material__loadShare__-BKKWnUxj.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__loadShare__react__loadShare__-0QLxPQ7P.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__mf_v__runtimeInit__mf_v__-CTz9hcql.js +5 -0
- package/widgets/vis2vis-jsontemplate/customWidgets.js +2 -7
- package/widgets/vis2vis-jsontemplate/assets/__mfe_internal__vis2visjsonTemplateWidgets__loadShare___mf_0_iobroker_mf_1_adapter_mf_2_react_mf_2_v5__loadShare__.js-QpWQ0Ruy.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/__mfe_internal__vis2visjsonTemplateWidgets__loadShare___mf_0_mui_mf_1_icons_mf_2_material__loadShare__.js-BQaWQZDA.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/__mfe_internal__vis2visjsonTemplateWidgets__loadShare___mf_0_mui_mf_1_material__loadShare__.js-Dx3IZ7gE.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/__mfe_internal__vis2visjsonTemplateWidgets__loadShare__react__loadShare__.js-CHk2ZYam.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/__mfe_internal__vis2visjsonTemplateWidgets__loadShare__react__loadShare__.js_commonjs-proxy-CUH0x0Yj.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/__mfe_internal__vis2visjsonTemplateWidgets__loadShare__react_mf_2_dom__loadShare__.js-D4urraZ3.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/createSvgIcon-B8ThVg2b.js +0 -7
- package/widgets/vis2vis-jsontemplate/assets/defaultTheme-DFkU_9OO.js +0 -16
- package/widgets/vis2vis-jsontemplate/assets/hostInit-BAnxsgnF.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/index-BNKB3_RX.js +0 -228
- package/widgets/vis2vis-jsontemplate/assets/index-BgpFuj22.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/index-BqqizSPU.js +0 -24
- package/widgets/vis2vis-jsontemplate/assets/index-ChI1xHGw.js +0 -9
- package/widgets/vis2vis-jsontemplate/assets/index-DcYjVbuP.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/index-DjZG8BEx.js +0 -934
- package/widgets/vis2vis-jsontemplate/assets/jsx-runtime-CEfGRA9H.js +0 -9
- package/widgets/vis2vis-jsontemplate/assets/localSharedImportMap-CqryS6J3.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/preload-helper-4fGslNWJ.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/useTheme-COBplpnx.js +0 -1
- package/widgets/vis2vis-jsontemplate/assets/virtualExposes-C-V1Jo9L.js +0 -1
- /package/widgets/vis-jsontemplate/{i18n → myi18n}/words.json +0 -0
package/README.md
CHANGED
|
@@ -24,6 +24,28 @@ The jsontemplate widget was previously available in the rssfeed (for vis1) and
|
|
|
24
24
|
vis-2-widgets-ovarious adapters. The widgets will be removed from these
|
|
25
25
|
adapters in the near future.
|
|
26
26
|
|
|
27
|
+
## Table of Contents
|
|
28
|
+
|
|
29
|
+
- [Overview](#overview)
|
|
30
|
+
- [Installation](#installation)
|
|
31
|
+
- [Configuration](#configuration)
|
|
32
|
+
- [vis and widgets](#vis-and-widgets)
|
|
33
|
+
- [JSON Template](#json-template)
|
|
34
|
+
- [Advanced use case](#advanced-use-case)
|
|
35
|
+
- [More Use Cases](#more-use-cases)
|
|
36
|
+
- [Templatesystem](#templatesystem)
|
|
37
|
+
- [Very Important Note for use in vis / vis-2](#very-important-note-for-use-in-vis--vis-2)
|
|
38
|
+
- [Curly braces in CSS and JSON](#curly-braces-in-css-and-json)
|
|
39
|
+
- [Use of setInterval](#use-of-setinterval)
|
|
40
|
+
- [Tags](#tags)
|
|
41
|
+
- [Example object](#example-object)
|
|
42
|
+
- [Development and Debugging](#development-and-debugging)
|
|
43
|
+
- [Vis1 Widgets](#vis1-widgets)
|
|
44
|
+
- [Vis2 Widgets](#vis2-widgets)
|
|
45
|
+
- [Todo](#todo)
|
|
46
|
+
- [Changelog](#changelog)
|
|
47
|
+
- [License](#license)
|
|
48
|
+
|
|
27
49
|
## Installation
|
|
28
50
|
|
|
29
51
|
Install the adapter as normal from the stable repository.
|
|
@@ -79,7 +101,8 @@ Available data objects in the template:
|
|
|
79
101
|
|
|
80
102
|
| object/variable | description |
|
|
81
103
|
| --------------- | ------------------------------------------------------------------------ |
|
|
82
|
-
|
|
|
104
|
+
| widgetid | widgetid of the widget. |
|
|
105
|
+
| widgetID | widgetid of the widget. |
|
|
83
106
|
| data | JSON object referenced by the datapoint in json_oid. |
|
|
84
107
|
| dp | Array of the datapoint data, referenced by the additional datapoints |
|
|
85
108
|
| widget | internal widget data. object with all available widget settings |
|
|
@@ -148,32 +171,46 @@ a specific layout. Here is an example:
|
|
|
148
171
|
- [Use Case loading scripts](documentation/usecase-loadingscripts.md)
|
|
149
172
|
- [Use Case Tasklist](documentation/usecase-tasklist.md)
|
|
150
173
|
- [Use Case public-transport](documentation/usecase-public-transport.md)
|
|
174
|
+
- [Use Case simple gauge](documentation/usecase-simplegauge.md)
|
|
175
|
+
- [Use Case Github Issues and PRs](documentation/usecase-githubissues.md)
|
|
176
|
+
- [Use Case FRITZ!Box call list](documentation/usecase-fritzbox-call-list.md)
|
|
151
177
|
|
|
152
178
|
## Templatesystem
|
|
153
179
|
|
|
154
|
-
|
|
180
|
+
### Very Important Note for use in vis / vis-2
|
|
155
181
|
|
|
156
|
-
|
|
157
|
-
and replaced as bindings.
|
|
182
|
+
#### Curly braces in CSS and JSON
|
|
158
183
|
|
|
159
|
-
|
|
160
|
-
|
|
184
|
+
The binding mechanism in vis / vis-2 uses the pattern `{ ... }`
|
|
185
|
+
to detect binding expressions within HTML.
|
|
186
|
+
For this reason, when specifying CSS or JSON, the curly braces must
|
|
187
|
+
always be placed on separate lines. Otherwise, the content of
|
|
188
|
+
the vis widget will be overwritten with `undefined`.
|
|
161
189
|
|
|
162
|
-
|
|
190
|
+
##### Example
|
|
163
191
|
|
|
164
|
-
```
|
|
165
|
-
{
|
|
192
|
+
```text
|
|
193
|
+
#w_id_<%- widgetid %> { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
|
|
166
194
|
```
|
|
167
195
|
|
|
168
|
-
|
|
196
|
+
must be written as follows:
|
|
169
197
|
|
|
170
|
-
```
|
|
171
|
-
{
|
|
172
|
-
|
|
173
|
-
"b": 2
|
|
198
|
+
```text
|
|
199
|
+
#w_id_<%- widgetid %> {
|
|
200
|
+
height: 100%; display: flex; flex-direction: column; overflow: hidden;
|
|
174
201
|
}
|
|
175
202
|
```
|
|
176
203
|
|
|
204
|
+
#### Use of setInterval
|
|
205
|
+
|
|
206
|
+
Please do not use `setInterval`. Since the template is re-invoked
|
|
207
|
+
every time a data point changes, any existing `setInterval` calls
|
|
208
|
+
cannot be properly cleared. Consequently, an increasing number
|
|
209
|
+
of overlapping `setInterval` calls accumulate over time; this consumes RAM and
|
|
210
|
+
can lead to unpredictable side effects. While reloading the page can resolve
|
|
211
|
+
this issue, the code should not be implemented in this manner.
|
|
212
|
+
As an alternative, such scenarios should be implemented using `setTimeout`.
|
|
213
|
+
|
|
177
214
|
## Tags
|
|
178
215
|
|
|
179
216
|
The template system works with certain tags.
|
|
@@ -364,6 +401,22 @@ Loop over the attributes of an object
|
|
|
364
401
|
Placeholder for the next version (at the beginning of the line):
|
|
365
402
|
### **WORK IN PROGRESS**
|
|
366
403
|
-->
|
|
404
|
+
### 4.4.5 (2026-07-22)
|
|
405
|
+
|
|
406
|
+
- fix packages for vis-2
|
|
407
|
+
|
|
408
|
+
### 4.4.4 (2026-07-22)
|
|
409
|
+
|
|
410
|
+
- some changes. see readme/below
|
|
411
|
+
|
|
412
|
+
#### Changes 2026-07.22
|
|
413
|
+
|
|
414
|
+
- change documentation that in the template the widgetid is available and not widgetID
|
|
415
|
+
- add documentation for the usecase simple gauge
|
|
416
|
+
- add documentation for a responsive FRITZ!Box call list
|
|
417
|
+
- Due to an inconsistency between the vis1 and vis2 widgets,
|
|
418
|
+
both `widgetid` and `widgetID` are now passed to the template.
|
|
419
|
+
|
|
367
420
|
### 4.4.3 (2026-04-21)
|
|
368
421
|
|
|
369
422
|
- revert repochecker warning about fs/node:fs and path/node:path
|
|
@@ -378,60 +431,7 @@ Loop over the attributes of an object
|
|
|
378
431
|
- fix regression
|
|
379
432
|
- update packages
|
|
380
433
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
- optimize lib size
|
|
384
|
-
- The ability to load additional JavaScript and CSS files
|
|
385
|
-
has been added (also for vis2).
|
|
386
|
-
- Improve react components
|
|
387
|
-
- align translation for vis2 widget
|
|
388
|
-
|
|
389
|
-
### 4.3.11 (2026-01-25)
|
|
390
|
-
|
|
391
|
-
- check test release workflow
|
|
392
|
-
|
|
393
|
-
### 4.3.10 (2026-01-25)
|
|
394
|
-
|
|
395
|
-
- update test and release script
|
|
396
|
-
|
|
397
|
-
### 4.3.1 (2026-01-24)
|
|
398
|
-
|
|
399
|
-
- try again to publish
|
|
400
|
-
|
|
401
|
-
### 4.3.0 (2026-01-24)
|
|
402
|
-
|
|
403
|
-
- The ability to load additional JavaScript and CSS files has been added.
|
|
404
|
-
This is currently only available for vis1 for testing purposes.
|
|
405
|
-
|
|
406
|
-
### 4.2.0 (2025-11-14)
|
|
407
|
-
|
|
408
|
-
- Improve documentation for the object notation in a template
|
|
409
|
-
- fix some translations
|
|
410
|
-
- align attribute name to vis1
|
|
411
|
-
- add widget data to the available template objects in vis2
|
|
412
|
-
- add style and widget object to the available template objects in vis1
|
|
413
|
-
- improve documentation
|
|
414
|
-
|
|
415
|
-
### 4.1.3 (2025-11-03)
|
|
416
|
-
|
|
417
|
-
- fix race condition if more than one widget use the same datapoint
|
|
418
|
-
- switch to trusted publishing
|
|
419
|
-
|
|
420
|
-
### 4.1.2 (2025-09-13)
|
|
421
|
-
|
|
422
|
-
- new try of publish
|
|
423
|
-
|
|
424
|
-
### 4.1.0 (2025-09-12)
|
|
425
|
-
|
|
426
|
-
- rename widgetset of the vis2 widget
|
|
427
|
-
|
|
428
|
-
### 4.0.2 (2025-08-28)
|
|
429
|
-
|
|
430
|
-
- remove v4.0.0 from io-package
|
|
431
|
-
|
|
432
|
-
### 4.0.1 (2025-08-28)
|
|
433
|
-
|
|
434
|
-
- move vis1 and vis2 widgets to vis-jsontemplate adapter
|
|
434
|
+
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
435
435
|
|
|
436
436
|
## License
|
|
437
437
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "vis-jsontemplate",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.5",
|
|
5
5
|
"news": {
|
|
6
|
+
"4.4.5": {
|
|
7
|
+
"en": "fix packages for vis-2",
|
|
8
|
+
"de": "Pakete für vis-2 korrigieren",
|
|
9
|
+
"ru": "исправить пакеты для vis-2",
|
|
10
|
+
"pt": "corrigir pacotes para o vis-2",
|
|
11
|
+
"nl": "pakketten voor vis-2 repareren",
|
|
12
|
+
"fr": "corriger les paquets pour vis-2",
|
|
13
|
+
"it": "corregere i pacchetti per vis-2",
|
|
14
|
+
"es": "Corregir los paquetes para vis-2",
|
|
15
|
+
"pl": "poprawki do pakietów dla vis-2",
|
|
16
|
+
"uk": "виправити пакети для vis-2",
|
|
17
|
+
"zh-cn": "vis-2 的修复包"
|
|
18
|
+
},
|
|
19
|
+
"4.4.4": {
|
|
20
|
+
"en": "some changes. see readme",
|
|
21
|
+
"de": "einige änderungen. siehe readme",
|
|
22
|
+
"ru": "некоторые изменения. см. readme",
|
|
23
|
+
"pt": "algumas mudanças. ver lerme",
|
|
24
|
+
"nl": "wat veranderingen. zie readme",
|
|
25
|
+
"fr": "quelques changements. voir lecture",
|
|
26
|
+
"it": "alcuni cambiamenti. vedi leggere",
|
|
27
|
+
"es": "algunos cambios. ver readme",
|
|
28
|
+
"pl": "kilka zmian. patrz readme",
|
|
29
|
+
"uk": "деякі зміни. переглянути файл",
|
|
30
|
+
"zh-cn": "一些变化。 参见readme"
|
|
31
|
+
},
|
|
6
32
|
"4.4.3": {
|
|
7
33
|
"en": "- revert repochecker warning about fs/node:fs and path/node:path\n because of error loading ejs",
|
|
8
34
|
"de": "- revert repochecker warnung über fs/node:fs und pfad/node:path\naufgrund der fehlerbelastung ejs",
|
|
@@ -21,11 +47,11 @@
|
|
|
21
47
|
"de": "die laufzeit",
|
|
22
48
|
"ru": "исправить runtime",
|
|
23
49
|
"pt": "corrigir o tempo de execução",
|
|
24
|
-
"nl": "
|
|
50
|
+
"nl": "runtime corrigeren",
|
|
25
51
|
"fr": "fixer l'exécution",
|
|
26
52
|
"it": "correzione di runtime",
|
|
27
53
|
"es": "corrección",
|
|
28
|
-
"pl": "
|
|
54
|
+
"pl": "napraw środowisko wykonawcze",
|
|
29
55
|
"uk": "фіксувати runtime",
|
|
30
56
|
"zh-cn": "固定运行时间"
|
|
31
57
|
},
|
|
@@ -67,19 +93,6 @@
|
|
|
67
93
|
"pl": "sprawdzić przepływ pracy uwalniania próby",
|
|
68
94
|
"uk": "контрольний процес тестування",
|
|
69
95
|
"zh-cn": "检查测试发布工作流程"
|
|
70
|
-
},
|
|
71
|
-
"4.3.10": {
|
|
72
|
-
"en": "update test and release script",
|
|
73
|
-
"de": "update-test und release-skript",
|
|
74
|
-
"ru": "обновить тест и выпустить скрипт",
|
|
75
|
-
"pt": "atualizar script de teste e lançamento",
|
|
76
|
-
"nl": "update test- en releasescript",
|
|
77
|
-
"fr": "mettre à jour le script test et release",
|
|
78
|
-
"it": "test di aggiornamento e script di rilascio",
|
|
79
|
-
"es": "actualización de prueba y script de liberación",
|
|
80
|
-
"pl": "aktualizacja skryptu testowego i wydania",
|
|
81
|
-
"uk": "скрипт тестування і реліз",
|
|
82
|
-
"zh-cn": "更新测试并发布脚本"
|
|
83
96
|
}
|
|
84
97
|
},
|
|
85
98
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.vis-jsontemplate",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.5",
|
|
4
4
|
"description": "vis-jsontemplate",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "oweitman",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@alcalzone/release-script": "^5.
|
|
25
|
-
"@alcalzone/release-script-plugin-iobroker": "^5.
|
|
26
|
-
"@alcalzone/release-script-plugin-license": "^5.
|
|
27
|
-
"@alcalzone/release-script-plugin-manual-review": "^5.
|
|
24
|
+
"@alcalzone/release-script": "^5.2.1",
|
|
25
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
26
|
+
"@alcalzone/release-script-plugin-license": "^5.2.0",
|
|
27
|
+
"@alcalzone/release-script-plugin-manual-review": "^5.2.0",
|
|
28
28
|
"@iobroker/adapter-dev": "^1.5.0",
|
|
29
29
|
"@iobroker/eslint-config": "^2.2.0",
|
|
30
|
-
"@iobroker/testing": "^5.
|
|
30
|
+
"@iobroker/testing": "^5.3.0",
|
|
31
31
|
"@iobroker/build-tools": "^3.0.1",
|
|
32
32
|
"@iobroker/vis-2-widgets-react-dev": "^4.0.4",
|
|
33
33
|
"@iobroker/vis-2-widgets-testing": "^1.0.6",
|
|
34
|
-
"@types/node": "^25.
|
|
34
|
+
"@types/node": "^25.9.3"
|
|
35
35
|
},
|
|
36
36
|
"main": "widgets/vis2jsontemplate/customWidgets.js",
|
|
37
37
|
"files": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"scripts": {
|
|
44
44
|
"test:package": "mocha test/package --exit",
|
|
45
45
|
"test:widgets": "mocha ./test/*.test.js",
|
|
46
|
-
"test:integration": "mocha test/
|
|
46
|
+
"test:integration": "mocha test/widgets.test.js --exit",
|
|
47
47
|
"test": "npm run test:package && npm run test:widgets",
|
|
48
48
|
"prepublishOnly": "npm run build-vis1widgets && npm run build-vis2widgets",
|
|
49
49
|
"lint": "npm run lint-adapter && npm run lint-vis1widgets && npm run lint-vis2widgets",
|
|
@@ -55,13 +55,16 @@
|
|
|
55
55
|
"build-vis1widgets": "cd widgets/vis-jsontemplate && npm run build && cd ../..",
|
|
56
56
|
"release": "release-script --all",
|
|
57
57
|
"update-packages": "ncu --upgrade && cd src-widgets && ncu --upgrade && cd ..",
|
|
58
|
-
"npm": "npm
|
|
58
|
+
"npm": "npm run npm:main && npm run npm:vis1widgets && npm run npm:vis2widgets",
|
|
59
|
+
"npm:main": "npm i -f",
|
|
60
|
+
"npm:vis2widgets": "cd src-widgets && npm i -f && cd ..",
|
|
61
|
+
"npm:vis1widgets": "cd widgets && npm i && cd ..",
|
|
59
62
|
"debug": "npx dev-server watch --noStart --doNotWatch widgets/vis2vis-jsontemplate/**",
|
|
60
63
|
"repocheckerx": "npx github:oweitman/ioBroker.repochecker https://github.com/oweitman/ioBroker.vis-jsontemplate --local",
|
|
61
64
|
"repocheckerx2": "npx @iobroker/repochecker https://github.com/oweitman/ioBroker.vis-jsontemplate",
|
|
62
65
|
"translate": "translate-adapter",
|
|
63
66
|
"translate-widgets-vis2": "node ./bin/translate.js --source src-widgets/src/i18n/",
|
|
64
|
-
"translate-widgets-vis1": "node ./bin/translate.js --source widgets/vis-jsontemplate/
|
|
67
|
+
"translate-widgets-vis1": "node ./bin/translate.js --source widgets/vis-jsontemplate/myi18n/en.json --format single",
|
|
65
68
|
"debugiob": "npx dev-server watch --noStart"
|
|
66
69
|
},
|
|
67
70
|
"bugs": {
|
|
@@ -26,10 +26,13 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"node_modules/balanced-match": {
|
|
29
|
-
"version": "
|
|
30
|
-
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-
|
|
31
|
-
"integrity": "sha512-
|
|
32
|
-
"license": "MIT"
|
|
29
|
+
"version": "4.0.4",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
|
|
31
|
+
"integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": "18 || 20 || >=22"
|
|
35
|
+
}
|
|
33
36
|
},
|
|
34
37
|
"node_modules/binary-extensions": {
|
|
35
38
|
"version": "2.3.0",
|
|
@@ -44,13 +47,15 @@
|
|
|
44
47
|
}
|
|
45
48
|
},
|
|
46
49
|
"node_modules/brace-expansion": {
|
|
47
|
-
"version": "
|
|
48
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-
|
|
49
|
-
"integrity": "sha512-
|
|
50
|
+
"version": "5.0.7",
|
|
51
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
|
|
52
|
+
"integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
|
|
50
53
|
"license": "MIT",
|
|
51
54
|
"dependencies": {
|
|
52
|
-
"balanced-match": "^
|
|
53
|
-
|
|
55
|
+
"balanced-match": "^4.0.2"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": "18 || 20 || >=22"
|
|
54
59
|
}
|
|
55
60
|
},
|
|
56
61
|
"node_modules/braces": {
|
|
@@ -89,12 +94,6 @@
|
|
|
89
94
|
"fsevents": "~2.3.2"
|
|
90
95
|
}
|
|
91
96
|
},
|
|
92
|
-
"node_modules/concat-map": {
|
|
93
|
-
"version": "0.0.1",
|
|
94
|
-
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
95
|
-
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
|
96
|
-
"license": "MIT"
|
|
97
|
-
},
|
|
98
97
|
"node_modules/debug": {
|
|
99
98
|
"version": "4.4.3",
|
|
100
99
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
|
|
@@ -214,15 +213,18 @@
|
|
|
214
213
|
}
|
|
215
214
|
},
|
|
216
215
|
"node_modules/minimatch": {
|
|
217
|
-
"version": "
|
|
218
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-
|
|
219
|
-
"integrity": "sha512-
|
|
220
|
-
"license": "
|
|
216
|
+
"version": "10.2.5",
|
|
217
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
218
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
219
|
+
"license": "BlueOak-1.0.0",
|
|
221
220
|
"dependencies": {
|
|
222
|
-
"brace-expansion": "^
|
|
221
|
+
"brace-expansion": "^5.0.5"
|
|
223
222
|
},
|
|
224
223
|
"engines": {
|
|
225
|
-
"node": "
|
|
224
|
+
"node": "18 || 20 || >=22"
|
|
225
|
+
},
|
|
226
|
+
"funding": {
|
|
227
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
226
228
|
}
|
|
227
229
|
},
|
|
228
230
|
"node_modules/ms": {
|
|
@@ -232,15 +234,15 @@
|
|
|
232
234
|
"license": "MIT"
|
|
233
235
|
},
|
|
234
236
|
"node_modules/nodemon": {
|
|
235
|
-
"version": "3.1.
|
|
236
|
-
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.
|
|
237
|
-
"integrity": "sha512-
|
|
237
|
+
"version": "3.1.14",
|
|
238
|
+
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.14.tgz",
|
|
239
|
+
"integrity": "sha512-jakjZi93UtB3jHMWsXL68FXSAosbLfY0In5gtKq3niLSkrWznrVBzXFNOEMJUfc9+Ke7SHWoAZsiMkNP3vq6Jw==",
|
|
238
240
|
"license": "MIT",
|
|
239
241
|
"dependencies": {
|
|
240
242
|
"chokidar": "^3.5.2",
|
|
241
243
|
"debug": "^4",
|
|
242
244
|
"ignore-by-default": "^1.0.1",
|
|
243
|
-
"minimatch": "^
|
|
245
|
+
"minimatch": "^10.2.1",
|
|
244
246
|
"pstree.remy": "^1.1.8",
|
|
245
247
|
"semver": "^7.5.3",
|
|
246
248
|
"simple-update-notifier": "^2.0.0",
|
|
@@ -282,9 +284,9 @@
|
|
|
282
284
|
}
|
|
283
285
|
},
|
|
284
286
|
"node_modules/picomatch": {
|
|
285
|
-
"version": "2.3.
|
|
286
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.
|
|
287
|
-
"integrity": "sha512-
|
|
287
|
+
"version": "2.3.2",
|
|
288
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
|
289
|
+
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
|
288
290
|
"license": "MIT",
|
|
289
291
|
"engines": {
|
|
290
292
|
"node": ">=8.6"
|
|
@@ -346,9 +348,9 @@
|
|
|
346
348
|
"license": "MIT"
|
|
347
349
|
},
|
|
348
350
|
"node_modules/semver": {
|
|
349
|
-
"version": "7.
|
|
350
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.
|
|
351
|
-
"integrity": "sha512-
|
|
351
|
+
"version": "7.8.5",
|
|
352
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
|
|
353
|
+
"integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
|
|
352
354
|
"license": "ISC",
|
|
353
355
|
"bin": {
|
|
354
356
|
"semver": "bin/semver.js"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
var version;
|
|
59
59
|
var init_package = __esm({
|
|
60
60
|
"../package.json"() {
|
|
61
|
-
version = "4.4.
|
|
61
|
+
version = "4.4.5";
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"vis-jsontemplate/js/jsontemplate.js"(exports) {
|
|
68
68
|
"use strict";
|
|
69
69
|
init_package();
|
|
70
|
-
fetch("widgets/vis-jsontemplate/
|
|
70
|
+
fetch("widgets/vis-jsontemplate/myi18n/words.json").then((res) => __async(null, null, function* () {
|
|
71
71
|
const i18n = yield res.json();
|
|
72
72
|
$.extend(true, systemDictionary, i18n);
|
|
73
73
|
}));
|
|
@@ -217,7 +217,14 @@
|
|
|
217
217
|
try {
|
|
218
218
|
text = yield ejs.render(
|
|
219
219
|
template,
|
|
220
|
-
{
|
|
220
|
+
{
|
|
221
|
+
widgetID,
|
|
222
|
+
widgetid: widgetID,
|
|
223
|
+
data: oiddata,
|
|
224
|
+
dp: datapoints,
|
|
225
|
+
widget: data,
|
|
226
|
+
style
|
|
227
|
+
},
|
|
221
228
|
{ async: true }
|
|
222
229
|
);
|
|
223
230
|
} catch (e) {
|