@record-evolution/widget-value 1.1.4 → 1.1.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.
@@ -913,7 +913,7 @@ class WidgetValue extends h {
913
913
  super();
914
914
  this.dataSets = new Map();
915
915
  this.textActive = true;
916
- this.version = '1.1.4';
916
+ this.version = '1.1.5';
917
917
  this.origWidth = 0;
918
918
  this.origHeight = 0;
919
919
  this.resizeObserver = new ResizeObserver(this.adjustSizes.bind(this));
@@ -1207,7 +1207,7 @@ __decorate([
1207
1207
  __decorate([
1208
1208
  r()
1209
1209
  ], WidgetValue.prototype, "labelText", void 0);
1210
- window.customElements.define('widget-value-1.1.4', WidgetValue);
1210
+ window.customElements.define('widget-value-1.1.5', WidgetValue);
1211
1211
 
1212
1212
  export { WidgetValue };
1213
1213
  //# sourceMappingURL=widget-value.js.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "REWidget widget-value",
4
4
  "license": "MIT",
5
5
  "author": "widget-value",
6
- "version": "1.1.4",
6
+ "version": "1.1.5",
7
7
  "engines": {
8
8
  "node": "18.18.2",
9
9
  "npm": ">=10.0.2"
@@ -20,6 +20,8 @@
20
20
  "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
21
21
  "build": "rollup -c rollup.config.js",
22
22
  "watch": "rollup -w -c rollup.config.js",
23
+ "link": "npm link && cd ../RESWARM/frontend && npm link @record-evolution/widget-value",
24
+ "unlink": "npm unlink --global && cd ../RESWARM/frontend && npm unlink @record-evolution/widget-value && npm i @record-evolution/widget-value",
23
25
  "types": "cat src/definition-schema.json | json2ts > src/definition-schema.d.ts",
24
26
  "start:build": "npm run build && es-dev-server --root-dir dist --app-index index.html --compatibility none --open",
25
27
  "lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
@@ -15,6 +15,7 @@
15
15
  "dataseries": {
16
16
  "title": "Value Displays",
17
17
  "type": "array",
18
+ "dataDrivenDisabled": true,
18
19
  "order": 2,
19
20
  "items": {
20
21
  "type": "object",
@@ -30,12 +31,14 @@
30
31
  "title": "Unit",
31
32
  "description": "The unit of the value. e.g. °C or km/h",
32
33
  "type": "string",
34
+ "dataDrivenDisabled": true,
33
35
  "order": 2
34
36
  },
35
37
  "precision": {
36
38
  "title": "Precision",
37
39
  "description": "Number of digits after the decimal point. (Default 0)",
38
40
  "type": "number",
41
+ "dataDrivenDisabled": true,
39
42
  "order": 3
40
43
  },
41
44
  "styling": {
@@ -68,12 +71,14 @@
68
71
  "title": "Average Latest Values",
69
72
  "description": "Calculate the average over the given number of newest values. (If you use \"Split data by\", then per each of the pivot dataseries.) If not specified then the latest value is shown without modification.",
70
73
  "type": "number",
74
+ "dataDrivenDisabled": true,
71
75
  "order": 6
72
76
  },
73
77
  "maxLatency": {
74
78
  "title": "Maximum Latency",
75
79
  "description": "If you provide timestamp data, the delivered value is only shown in the gauge when the age of the data is not older than the given maximum Latency in seconds.",
76
80
  "type": "number",
81
+ "dataDrivenDisabled": true,
77
82
  "order": 7
78
83
  }
79
84
  }