@openremote/or-gauge 1.6.0 → 1.6.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.
@@ -11,19 +11,14 @@
11
11
  "description": "",
12
12
  "name": "OrGauge",
13
13
  "members": [
14
- {
15
- "kind": "field",
16
- "name": "styles",
17
- "static": true,
18
- "readonly": true
19
- },
20
14
  {
21
15
  "kind": "field",
22
16
  "name": "attrRef",
23
17
  "type": {
24
18
  "text": "AttributeRef | undefined"
25
19
  },
26
- "privacy": "public"
20
+ "privacy": "public",
21
+ "attribute": "attrRef"
27
22
  },
28
23
  {
29
24
  "kind": "field",
@@ -31,7 +26,8 @@
31
26
  "type": {
32
27
  "text": "Asset | undefined"
33
28
  },
34
- "privacy": "public"
29
+ "privacy": "public",
30
+ "attribute": "asset"
35
31
  },
36
32
  {
37
33
  "kind": "field",
@@ -39,7 +35,8 @@
39
35
  "type": {
40
36
  "text": "[number, Attribute<any>] | undefined"
41
37
  },
42
- "privacy": "public"
38
+ "privacy": "public",
39
+ "attribute": "assetAttribute"
43
40
  },
44
41
  {
45
42
  "kind": "field",
@@ -47,7 +44,8 @@
47
44
  "type": {
48
45
  "text": "number | undefined"
49
46
  },
50
- "privacy": "public"
47
+ "privacy": "public",
48
+ "attribute": "value"
51
49
  },
52
50
  {
53
51
  "kind": "field",
@@ -56,7 +54,8 @@
56
54
  "text": "number"
57
55
  },
58
56
  "privacy": "public",
59
- "default": "0"
57
+ "default": "0",
58
+ "attribute": "decimals"
60
59
  },
61
60
  {
62
61
  "kind": "field",
@@ -64,7 +63,8 @@
64
63
  "type": {
65
64
  "text": "string | undefined"
66
65
  },
67
- "privacy": "public"
66
+ "privacy": "public",
67
+ "attribute": "unit"
68
68
  },
69
69
  {
70
70
  "kind": "field",
@@ -72,7 +72,8 @@
72
72
  "type": {
73
73
  "text": "number | undefined"
74
74
  },
75
- "privacy": "public"
75
+ "privacy": "public",
76
+ "attribute": "min"
76
77
  },
77
78
  {
78
79
  "kind": "field",
@@ -80,7 +81,8 @@
80
81
  "type": {
81
82
  "text": "number | undefined"
82
83
  },
83
- "privacy": "public"
84
+ "privacy": "public",
85
+ "attribute": "max"
84
86
  },
85
87
  {
86
88
  "kind": "field",
@@ -88,7 +90,8 @@
88
90
  "type": {
89
91
  "text": "[number, string][] | undefined"
90
92
  },
91
- "privacy": "public"
93
+ "privacy": "public",
94
+ "attribute": "thresholds"
92
95
  },
93
96
  {
94
97
  "kind": "field",
@@ -97,7 +100,8 @@
97
100
  "text": "OrGaugeConfig | undefined"
98
101
  },
99
102
  "privacy": "public",
100
- "readonly": true
103
+ "readonly": true,
104
+ "attribute": "config"
101
105
  },
102
106
  {
103
107
  "kind": "field",
@@ -105,7 +109,8 @@
105
109
  "type": {
106
110
  "text": "string | undefined"
107
111
  },
108
- "privacy": "public"
112
+ "privacy": "public",
113
+ "attribute": "realm"
109
114
  },
110
115
  {
111
116
  "kind": "field",
@@ -164,30 +169,6 @@
164
169
  },
165
170
  "privacy": "private"
166
171
  },
167
- {
168
- "kind": "method",
169
- "name": "willUpdate",
170
- "parameters": [
171
- {
172
- "name": "changedProps",
173
- "type": {
174
- "text": "Map<string, any>"
175
- }
176
- }
177
- ]
178
- },
179
- {
180
- "kind": "method",
181
- "name": "updated",
182
- "parameters": [
183
- {
184
- "name": "changedProperties",
185
- "type": {
186
- "text": "Map<string, any>"
187
- }
188
- }
189
- ]
190
- },
191
172
  {
192
173
  "kind": "method",
193
174
  "name": "setupGauge"
@@ -251,10 +232,6 @@
251
232
  }
252
233
  ]
253
234
  },
254
- {
255
- "kind": "method",
256
- "name": "render"
257
- },
258
235
  {
259
236
  "kind": "method",
260
237
  "name": "loadData",
@@ -277,10 +254,92 @@
277
254
  }
278
255
  }
279
256
  ],
257
+ "attributes": [
258
+ {
259
+ "name": "attrRef",
260
+ "type": {
261
+ "text": "AttributeRef | undefined"
262
+ },
263
+ "fieldName": "attrRef"
264
+ },
265
+ {
266
+ "name": "asset",
267
+ "type": {
268
+ "text": "Asset | undefined"
269
+ },
270
+ "fieldName": "asset"
271
+ },
272
+ {
273
+ "name": "assetAttribute",
274
+ "type": {
275
+ "text": "[number, Attribute<any>] | undefined"
276
+ },
277
+ "fieldName": "assetAttribute"
278
+ },
279
+ {
280
+ "name": "value",
281
+ "type": {
282
+ "text": "number | undefined"
283
+ },
284
+ "fieldName": "value"
285
+ },
286
+ {
287
+ "name": "decimals",
288
+ "type": {
289
+ "text": "number"
290
+ },
291
+ "default": "0",
292
+ "fieldName": "decimals"
293
+ },
294
+ {
295
+ "name": "unit",
296
+ "type": {
297
+ "text": "string | undefined"
298
+ },
299
+ "fieldName": "unit"
300
+ },
301
+ {
302
+ "name": "min",
303
+ "type": {
304
+ "text": "number | undefined"
305
+ },
306
+ "fieldName": "min"
307
+ },
308
+ {
309
+ "name": "max",
310
+ "type": {
311
+ "text": "number | undefined"
312
+ },
313
+ "fieldName": "max"
314
+ },
315
+ {
316
+ "name": "thresholds",
317
+ "type": {
318
+ "text": "[number, string][] | undefined"
319
+ },
320
+ "fieldName": "thresholds"
321
+ },
322
+ {
323
+ "name": "config",
324
+ "type": {
325
+ "text": "OrGaugeConfig | undefined"
326
+ },
327
+ "readonly": true,
328
+ "fieldName": "config"
329
+ },
330
+ {
331
+ "name": "realm",
332
+ "type": {
333
+ "text": "string | undefined"
334
+ },
335
+ "fieldName": "realm"
336
+ }
337
+ ],
280
338
  "superclass": {
281
339
  "name": "LitElement",
282
340
  "package": "lit"
283
341
  },
342
+ "tagName": "or-gauge",
284
343
  "customElement": true
285
344
  }
286
345
  ],
@@ -292,6 +351,14 @@
292
351
  "name": "OrGauge",
293
352
  "module": "src/index.ts"
294
353
  }
354
+ },
355
+ {
356
+ "kind": "custom-element-definition",
357
+ "name": "or-gauge",
358
+ "declaration": {
359
+ "name": "OrGauge",
360
+ "module": "src/index.ts"
361
+ }
295
362
  }
296
363
  ]
297
364
  }