@record-evolution/widget-scada 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "REWidget widget-SCADA",
4
4
  "license": "MIT",
5
5
  "author": "widget-SCADA",
6
- "version": "1.0.7",
6
+ "version": "1.0.9",
7
7
  "engines": {
8
8
  "node": ">=24.9.0",
9
9
  "npm": ">=10.0.2"
@@ -26,7 +26,8 @@
26
26
  "link": "npm run build && npm link && cd ../RESWARM/frontend && npm link @record-evolution/widget-scada",
27
27
  "unlink": "npm unlink --global && cd ../RESWARM/frontend && npm unlink @record-evolution/widget-scada && npm i @record-evolution/widget-scada",
28
28
  "types": "cat src/definition-schema.json | json2ts --style.tabWidth=4 > src/definition-schema.d.ts",
29
- "release": "npm run build && npm run types && npm version patch --tag-version-prefix='' && git push && git push --tag && npm run build"
29
+ "catalog": "node scripts/generate-catalog.mjs",
30
+ "release": "npm run build && npm run types && npm run catalog && npm version patch --tag-version-prefix='' && git push && git push --tag && npm run build"
30
31
  },
31
32
  "dependencies": {
32
33
  "lit": "^3.3.3",
@@ -1101,7 +1101,7 @@ export type ActionAppTopic = string;
1101
1101
  /**
1102
1102
  * A SCADA symbol widget that renders interactive industrial SVG symbols from the ThingsBoard SCADA library. Select a symbol type and configure its appearance, data bindings, and behavior.
1103
1103
  */
1104
- export interface InputData {
1104
+ export interface SCADASymbolConfiguration {
1105
1105
  symbol?: Symbol;
1106
1106
  styling?: Styling;
1107
1107
  transparent?: TransparentTank;
@@ -1,6 +1,21 @@
1
1
  {
2
- "title": "InputData",
2
+ "title": "SCADA Symbol Configuration",
3
3
  "description": "A SCADA symbol widget that renders interactive industrial SVG symbols from the ThingsBoard SCADA library. Select a symbol type and configure its appearance, data bindings, and behavior.",
4
+ "aiSelection": {
5
+ "dataShape": "One industrial symbol chosen from a fixed library (tanks, pipes, valves, pumps, meters, breakers, generators, panels), with bindings mapping live values and boolean conditions onto its appearance — fill level, flow direction and speed, running or stopped, opened or closed, warning, critical, leak — plus optional device actions on click.",
6
+ "useWhen": [
7
+ "A physical asset should be drawn as itself: a tank that fills, a valve that opens, a pump that runs, a pipe that shows flow direction.",
8
+ "A process diagram is being assembled from standard components, one widget per component.",
9
+ "State should be legible as animation and colour — flowing, stopped, leaking, in alarm — rather than as a number.",
10
+ "Clicking the symbol should command the underlying device (actions)."
11
+ ],
12
+ "notFor": [
13
+ "An asset with no matching symbol in the library — annotate a picture of it with widget-overlay instead.",
14
+ "A bounded reading that only needs a dial — use widget-gauge.",
15
+ "A plain on/off indicator with no industrial meaning — use widget-signal, or widget-switch when it must be toggled.",
16
+ "The history of the asset's values or states — use widget-linechart or widget-statehistory."
17
+ ]
18
+ },
4
19
  "type": "object",
5
20
  "properties": {
6
21
  "symbol": {