@openremote/or-attribute-history 1.6.0-snapshot.20250519123755 → 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.
@@ -43,19 +43,14 @@
43
43
  "static": true,
44
44
  "default": "\"L HH:mm:ss\""
45
45
  },
46
- {
47
- "kind": "field",
48
- "name": "styles",
49
- "static": true,
50
- "readonly": true
51
- },
52
46
  {
53
47
  "kind": "field",
54
48
  "name": "assetType",
55
49
  "type": {
56
50
  "text": "string | undefined"
57
51
  },
58
- "privacy": "public"
52
+ "privacy": "public",
53
+ "attribute": "assetType"
59
54
  },
60
55
  {
61
56
  "kind": "field",
@@ -63,7 +58,8 @@
63
58
  "type": {
64
59
  "text": "string | undefined"
65
60
  },
66
- "privacy": "public"
61
+ "privacy": "public",
62
+ "attribute": "assetId"
67
63
  },
68
64
  {
69
65
  "kind": "field",
@@ -71,7 +67,8 @@
71
67
  "type": {
72
68
  "text": "Attribute<any> | undefined"
73
69
  },
74
- "privacy": "public"
70
+ "privacy": "public",
71
+ "attribute": "attribute"
75
72
  },
76
73
  {
77
74
  "kind": "field",
@@ -79,7 +76,8 @@
79
76
  "type": {
80
77
  "text": "AttributeRef | undefined"
81
78
  },
82
- "privacy": "public"
79
+ "privacy": "public",
80
+ "attribute": "attributeRef"
83
81
  },
84
82
  {
85
83
  "kind": "field",
@@ -88,7 +86,8 @@
88
86
  "text": "moment.unitOfTime.Base"
89
87
  },
90
88
  "privacy": "public",
91
- "default": "\"day\""
89
+ "default": "\"day\"",
90
+ "attribute": "period"
92
91
  },
93
92
  {
94
93
  "kind": "field",
@@ -96,7 +95,8 @@
96
95
  "type": {
97
96
  "text": "Date | undefined"
98
97
  },
99
- "privacy": "public"
98
+ "privacy": "public",
99
+ "attribute": "toTimestamp"
100
100
  },
101
101
  {
102
102
  "kind": "field",
@@ -104,7 +104,8 @@
104
104
  "type": {
105
105
  "text": "HistoryConfig | undefined"
106
106
  },
107
- "privacy": "public"
107
+ "privacy": "public",
108
+ "attribute": "config"
108
109
  },
109
110
  {
110
111
  "kind": "field",
@@ -113,7 +114,8 @@
113
114
  "text": "boolean"
114
115
  },
115
116
  "privacy": "protected",
116
- "default": "false"
117
+ "default": "false",
118
+ "attribute": "_loading"
117
119
  },
118
120
  {
119
121
  "kind": "field",
@@ -121,7 +123,8 @@
121
123
  "type": {
122
124
  "text": "ValueDatapoint<any>[] | undefined"
123
125
  },
124
- "privacy": "protected"
126
+ "privacy": "protected",
127
+ "attribute": "_data"
125
128
  },
126
129
  {
127
130
  "kind": "field",
@@ -129,7 +132,8 @@
129
132
  "type": {
130
133
  "text": "TemplateResult | undefined"
131
134
  },
132
- "privacy": "protected"
135
+ "privacy": "protected",
136
+ "attribute": "_tableTemplate"
133
137
  },
134
138
  {
135
139
  "kind": "field",
@@ -244,39 +248,6 @@
244
248
  "privacy": "protected",
245
249
  "default": "false"
246
250
  },
247
- {
248
- "kind": "method",
249
- "name": "shouldUpdate",
250
- "return": {
251
- "type": {
252
- "text": "boolean"
253
- }
254
- },
255
- "parameters": [
256
- {
257
- "name": "_changedProperties",
258
- "type": {
259
- "text": "PropertyValues"
260
- }
261
- }
262
- ]
263
- },
264
- {
265
- "kind": "method",
266
- "name": "render"
267
- },
268
- {
269
- "kind": "method",
270
- "name": "willUpdate",
271
- "parameters": [
272
- {
273
- "name": "changedProperties",
274
- "type": {
275
- "text": "PropertyValues"
276
- }
277
- }
278
- ]
279
- },
280
251
  {
281
252
  "kind": "method",
282
253
  "name": "onCompleted"
@@ -385,6 +356,80 @@
385
356
  }
386
357
  }
387
358
  ],
359
+ "attributes": [
360
+ {
361
+ "name": "assetType",
362
+ "type": {
363
+ "text": "string | undefined"
364
+ },
365
+ "fieldName": "assetType"
366
+ },
367
+ {
368
+ "name": "assetId",
369
+ "type": {
370
+ "text": "string | undefined"
371
+ },
372
+ "fieldName": "assetId"
373
+ },
374
+ {
375
+ "name": "attribute",
376
+ "type": {
377
+ "text": "Attribute<any> | undefined"
378
+ },
379
+ "fieldName": "attribute"
380
+ },
381
+ {
382
+ "name": "attributeRef",
383
+ "type": {
384
+ "text": "AttributeRef | undefined"
385
+ },
386
+ "fieldName": "attributeRef"
387
+ },
388
+ {
389
+ "name": "period",
390
+ "type": {
391
+ "text": "moment.unitOfTime.Base"
392
+ },
393
+ "default": "\"day\"",
394
+ "fieldName": "period"
395
+ },
396
+ {
397
+ "name": "toTimestamp",
398
+ "type": {
399
+ "text": "Date | undefined"
400
+ },
401
+ "fieldName": "toTimestamp"
402
+ },
403
+ {
404
+ "name": "config",
405
+ "type": {
406
+ "text": "HistoryConfig | undefined"
407
+ },
408
+ "fieldName": "config"
409
+ },
410
+ {
411
+ "name": "_loading",
412
+ "type": {
413
+ "text": "boolean"
414
+ },
415
+ "default": "false",
416
+ "fieldName": "_loading"
417
+ },
418
+ {
419
+ "name": "_data",
420
+ "type": {
421
+ "text": "ValueDatapoint<any>[] | undefined"
422
+ },
423
+ "fieldName": "_data"
424
+ },
425
+ {
426
+ "name": "_tableTemplate",
427
+ "type": {
428
+ "text": "TemplateResult | undefined"
429
+ },
430
+ "fieldName": "_tableTemplate"
431
+ }
432
+ ],
388
433
  "mixins": [
389
434
  {
390
435
  "name": "translate(i18next)",
@@ -395,6 +440,7 @@
395
440
  "name": "LitElement",
396
441
  "package": "lit"
397
442
  },
443
+ "tagName": "or-attribute-history",
398
444
  "customElement": true
399
445
  }
400
446
  ],
@@ -414,6 +460,14 @@
414
460
  "name": "OrAttributeHistory",
415
461
  "module": "src/index.ts"
416
462
  }
463
+ },
464
+ {
465
+ "kind": "custom-element-definition",
466
+ "name": "or-attribute-history",
467
+ "declaration": {
468
+ "name": "OrAttributeHistory",
469
+ "module": "src/index.ts"
470
+ }
417
471
  }
418
472
  ]
419
473
  }