@openremote/or-attribute-history 1.6.0-snapshot.20250512145140 → 1.6.0-snapshot.20250513081115

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.
@@ -0,0 +1,421 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/index.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "OrAttributeHistoryEvent",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "NAME",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "privacy": "public",
21
+ "static": true,
22
+ "readonly": true,
23
+ "default": "\"or-attribute-history-event\""
24
+ }
25
+ ],
26
+ "superclass": {
27
+ "name": "CustomEvent",
28
+ "module": "src/index.ts"
29
+ }
30
+ },
31
+ {
32
+ "kind": "class",
33
+ "description": "",
34
+ "name": "OrAttributeHistory",
35
+ "members": [
36
+ {
37
+ "kind": "field",
38
+ "name": "DEFAULT_TIMESTAMP_FORMAT",
39
+ "type": {
40
+ "text": "string"
41
+ },
42
+ "privacy": "public",
43
+ "static": true,
44
+ "default": "\"L HH:mm:ss\""
45
+ },
46
+ {
47
+ "kind": "field",
48
+ "name": "styles",
49
+ "static": true,
50
+ "readonly": true
51
+ },
52
+ {
53
+ "kind": "field",
54
+ "name": "assetType",
55
+ "type": {
56
+ "text": "string | undefined"
57
+ },
58
+ "privacy": "public"
59
+ },
60
+ {
61
+ "kind": "field",
62
+ "name": "assetId",
63
+ "type": {
64
+ "text": "string | undefined"
65
+ },
66
+ "privacy": "public"
67
+ },
68
+ {
69
+ "kind": "field",
70
+ "name": "attribute",
71
+ "type": {
72
+ "text": "Attribute<any> | undefined"
73
+ },
74
+ "privacy": "public"
75
+ },
76
+ {
77
+ "kind": "field",
78
+ "name": "attributeRef",
79
+ "type": {
80
+ "text": "AttributeRef | undefined"
81
+ },
82
+ "privacy": "public"
83
+ },
84
+ {
85
+ "kind": "field",
86
+ "name": "period",
87
+ "type": {
88
+ "text": "moment.unitOfTime.Base"
89
+ },
90
+ "privacy": "public",
91
+ "default": "\"day\""
92
+ },
93
+ {
94
+ "kind": "field",
95
+ "name": "toTimestamp",
96
+ "type": {
97
+ "text": "Date | undefined"
98
+ },
99
+ "privacy": "public"
100
+ },
101
+ {
102
+ "kind": "field",
103
+ "name": "config",
104
+ "type": {
105
+ "text": "HistoryConfig | undefined"
106
+ },
107
+ "privacy": "public"
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "_loading",
112
+ "type": {
113
+ "text": "boolean"
114
+ },
115
+ "privacy": "protected",
116
+ "default": "false"
117
+ },
118
+ {
119
+ "kind": "field",
120
+ "name": "_data",
121
+ "type": {
122
+ "text": "ValueDatapoint<any>[] | undefined"
123
+ },
124
+ "privacy": "protected"
125
+ },
126
+ {
127
+ "kind": "field",
128
+ "name": "_tableTemplate",
129
+ "type": {
130
+ "text": "TemplateResult | undefined"
131
+ },
132
+ "privacy": "protected"
133
+ },
134
+ {
135
+ "kind": "field",
136
+ "name": "_chartElem",
137
+ "type": {
138
+ "text": "HTMLCanvasElement"
139
+ },
140
+ "privacy": "protected"
141
+ },
142
+ {
143
+ "kind": "field",
144
+ "name": "_tableElem",
145
+ "type": {
146
+ "text": "HTMLDivElement"
147
+ },
148
+ "privacy": "protected"
149
+ },
150
+ {
151
+ "kind": "field",
152
+ "name": "_table",
153
+ "type": {
154
+ "text": "MDCDataTable | undefined"
155
+ },
156
+ "privacy": "protected"
157
+ },
158
+ {
159
+ "kind": "field",
160
+ "name": "_chart",
161
+ "type": {
162
+ "text": "Chart<\"line\", ScatterDataPoint[]> | undefined"
163
+ },
164
+ "privacy": "protected"
165
+ },
166
+ {
167
+ "kind": "field",
168
+ "name": "_type",
169
+ "type": {
170
+ "text": "ValueDescriptor | undefined"
171
+ },
172
+ "privacy": "protected"
173
+ },
174
+ {
175
+ "kind": "field",
176
+ "name": "_style",
177
+ "type": {
178
+ "text": "CSSStyleDeclaration"
179
+ },
180
+ "privacy": "protected"
181
+ },
182
+ {
183
+ "kind": "field",
184
+ "name": "_error",
185
+ "type": {
186
+ "text": "string | undefined"
187
+ },
188
+ "privacy": "protected"
189
+ },
190
+ {
191
+ "kind": "field",
192
+ "name": "_startOfPeriod",
193
+ "type": {
194
+ "text": "number | undefined"
195
+ },
196
+ "privacy": "protected"
197
+ },
198
+ {
199
+ "kind": "field",
200
+ "name": "_endOfPeriod",
201
+ "type": {
202
+ "text": "number | undefined"
203
+ },
204
+ "privacy": "protected"
205
+ },
206
+ {
207
+ "kind": "field",
208
+ "name": "_timeUnits",
209
+ "type": {
210
+ "text": "TimeUnit | undefined"
211
+ },
212
+ "privacy": "protected"
213
+ },
214
+ {
215
+ "kind": "field",
216
+ "name": "_stepSize",
217
+ "type": {
218
+ "text": "number | undefined"
219
+ },
220
+ "privacy": "protected"
221
+ },
222
+ {
223
+ "kind": "field",
224
+ "name": "_updateTimestampTimer",
225
+ "type": {
226
+ "text": "number | undefined"
227
+ },
228
+ "privacy": "protected"
229
+ },
230
+ {
231
+ "kind": "field",
232
+ "name": "_dataAbortController",
233
+ "type": {
234
+ "text": "AbortController | undefined"
235
+ },
236
+ "privacy": "protected"
237
+ },
238
+ {
239
+ "kind": "field",
240
+ "name": "_dataFirstLoaded",
241
+ "type": {
242
+ "text": "boolean"
243
+ },
244
+ "privacy": "protected",
245
+ "default": "false"
246
+ },
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
+ {
281
+ "kind": "method",
282
+ "name": "onCompleted"
283
+ },
284
+ {
285
+ "kind": "method",
286
+ "name": "_cleanup",
287
+ "privacy": "protected"
288
+ },
289
+ {
290
+ "kind": "method",
291
+ "name": "_getTableTemplate",
292
+ "privacy": "protected",
293
+ "return": {
294
+ "type": {
295
+ "text": "TemplateResult"
296
+ }
297
+ }
298
+ },
299
+ {
300
+ "kind": "method",
301
+ "name": "_getCellValue",
302
+ "privacy": "protected",
303
+ "return": {
304
+ "type": {
305
+ "text": "TemplateResult | string | undefined"
306
+ }
307
+ },
308
+ "parameters": [
309
+ {
310
+ "name": "datapoint",
311
+ "type": {
312
+ "text": "ValueDatapoint<any>"
313
+ }
314
+ },
315
+ {
316
+ "name": "config",
317
+ "type": {
318
+ "text": "TableColumnConfig"
319
+ }
320
+ },
321
+ {
322
+ "name": "timestampFormat",
323
+ "type": {
324
+ "text": "string | undefined"
325
+ }
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "kind": "method",
331
+ "name": "_getIntervalOptions",
332
+ "privacy": "protected",
333
+ "return": {
334
+ "type": {
335
+ "text": "[string, string][]"
336
+ }
337
+ }
338
+ },
339
+ {
340
+ "kind": "method",
341
+ "name": "_getPeriodOptions",
342
+ "privacy": "protected"
343
+ },
344
+ {
345
+ "kind": "method",
346
+ "name": "_loadData",
347
+ "privacy": "protected"
348
+ },
349
+ {
350
+ "kind": "method",
351
+ "name": "_updateTimestamp",
352
+ "privacy": "protected",
353
+ "parameters": [
354
+ {
355
+ "name": "timestamp",
356
+ "type": {
357
+ "text": "Date"
358
+ }
359
+ },
360
+ {
361
+ "name": "forward",
362
+ "optional": true,
363
+ "type": {
364
+ "text": "boolean"
365
+ }
366
+ },
367
+ {
368
+ "name": "timeout",
369
+ "default": "300"
370
+ }
371
+ ]
372
+ }
373
+ ],
374
+ "events": [
375
+ {
376
+ "name": "resize",
377
+ "type": {
378
+ "text": "OrAttributeHistoryEvent"
379
+ }
380
+ },
381
+ {
382
+ "name": "rendered",
383
+ "type": {
384
+ "text": "OrAttributeHistoryEvent"
385
+ }
386
+ }
387
+ ],
388
+ "mixins": [
389
+ {
390
+ "name": "translate(i18next)",
391
+ "module": "src/index.ts"
392
+ }
393
+ ],
394
+ "superclass": {
395
+ "name": "LitElement",
396
+ "package": "lit"
397
+ },
398
+ "customElement": true
399
+ }
400
+ ],
401
+ "exports": [
402
+ {
403
+ "kind": "js",
404
+ "name": "OrAttributeHistoryEvent",
405
+ "declaration": {
406
+ "name": "OrAttributeHistoryEvent",
407
+ "module": "src/index.ts"
408
+ }
409
+ },
410
+ {
411
+ "kind": "js",
412
+ "name": "OrAttributeHistory",
413
+ "declaration": {
414
+ "name": "OrAttributeHistory",
415
+ "module": "src/index.ts"
416
+ }
417
+ }
418
+ ]
419
+ }
420
+ ]
421
+ }