@devicechain/widgets 0.23.0 → 0.24.0-rc.1
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/README.md +8 -3
- package/dist/aggregate-fold.d.ts +3 -2
- package/dist/aggregate-strings.d.ts +1 -0
- package/dist/alarm-strings.d.ts +18 -0
- package/dist/binding-policy.d.ts +4 -0
- package/dist/bound-devices-notice.d.ts +30 -0
- package/dist/builtin-descriptors.d.ts +290 -249
- package/dist/builtin-option-docs.d.ts +2 -0
- package/dist/builtin-registry.d.ts +249 -226
- package/dist/category-geometry.d.ts +1 -0
- package/dist/chunks/{aggregate-feed-BD3CHNFU.js → aggregate-feed-4FSBQYJL.js} +39 -11
- package/dist/chunks/aggregate-feed-4FSBQYJL.js.map +7 -0
- package/dist/chunks/{aggregate-widgets-HZQI5HTX.js → aggregate-widgets-2ZQBW3YF.js} +376 -182
- package/dist/chunks/aggregate-widgets-2ZQBW3YF.js.map +7 -0
- package/dist/chunks/alarm-widgets-X4PX5MYJ.js +72 -0
- package/dist/chunks/alarm-widgets-X4PX5MYJ.js.map +7 -0
- package/dist/chunks/chunk-546TK2QG.js +722 -0
- package/dist/chunks/chunk-546TK2QG.js.map +7 -0
- package/dist/chunks/{chunk-WBKHYZU2.js → chunk-62CHYCHI.js} +6 -62
- package/dist/chunks/chunk-62CHYCHI.js.map +7 -0
- package/dist/chunks/chunk-BMFQOTYG.js +41 -0
- package/dist/chunks/chunk-BMFQOTYG.js.map +7 -0
- package/dist/chunks/{chunk-2D7JNKFE.js → chunk-JFH4QMLA.js} +28 -4
- package/dist/chunks/chunk-JFH4QMLA.js.map +7 -0
- package/dist/chunks/chunk-QMGKB6J3.js +84 -0
- package/dist/chunks/chunk-QMGKB6J3.js.map +7 -0
- package/dist/chunks/chunk-XNEBAY4J.js +19 -0
- package/dist/chunks/chunk-XNEBAY4J.js.map +7 -0
- package/dist/chunks/chunk-YYJV54BV.js +58 -0
- package/dist/chunks/chunk-YYJV54BV.js.map +7 -0
- package/dist/chunks/compare-feed-AY3CVKUZ.js +346 -0
- package/dist/chunks/compare-feed-AY3CVKUZ.js.map +7 -0
- package/dist/chunks/{control-widgets-3V2LSSRF.js → control-widgets-UCTJJJ2D.js} +267 -78
- package/dist/chunks/control-widgets-UCTJJJ2D.js.map +7 -0
- package/dist/chunks/event-markers-feed-GEGTIHXT.js +373 -0
- package/dist/chunks/event-markers-feed-GEGTIHXT.js.map +7 -0
- package/dist/chunks/{fleet-feed-5QGDLOV5.js → fleet-feed-2SKDR6ZQ.js} +47 -8
- package/dist/chunks/fleet-feed-2SKDR6ZQ.js.map +7 -0
- package/dist/chunks/presence-widgets-2LIUKN4Y.js +350 -0
- package/dist/chunks/presence-widgets-2LIUKN4Y.js.map +7 -0
- package/dist/command-control-strings.d.ts +5 -0
- package/dist/compare-feed.d.ts +13 -0
- package/dist/compare-model.d.ts +38 -0
- package/dist/compare-strings.d.ts +13 -0
- package/dist/documented-descriptors.d.ts +4826 -0
- package/dist/event-markers-feed.d.ts +11 -0
- package/dist/event-markers-model.d.ts +38 -0
- package/dist/event-markers-strings.d.ts +20 -0
- package/dist/event-markers-types.d.ts +7 -0
- package/dist/fleet-count-model.d.ts +13 -0
- package/dist/fleet-feed.d.ts +1 -0
- package/dist/fleet-model.d.ts +1 -0
- package/dist/fleet-strings.d.ts +11 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.js +946 -398
- package/dist/index.js.map +4 -4
- package/dist/presence-feed.d.ts +24 -0
- package/dist/presence-model.d.ts +13 -0
- package/dist/presence-strings.d.ts +19 -0
- package/dist/sparkline.d.ts +23 -0
- package/dist/use-bound-devices.d.ts +26 -0
- package/dist/widgets/aggregate-lazy.d.ts +81 -46
- package/dist/widgets/aggregate-widgets.d.ts +1 -0
- package/dist/widgets/alarm-grouped.d.ts +17 -0
- package/dist/widgets/alarm-lazy.d.ts +63 -16
- package/dist/widgets/alarm-severity.d.ts +8 -0
- package/dist/widgets/alarm-table.d.ts +2 -0
- package/dist/widgets/alarm-type-tabs.d.ts +10 -0
- package/dist/widgets/alarm-widgets.d.ts +2 -0
- package/dist/widgets/command-stepper.d.ts +22 -0
- package/dist/widgets/control-lazy.d.ts +16 -24
- package/dist/widgets/device-status.d.ts +4 -0
- package/dist/widgets/fleet-count.d.ts +2 -0
- package/dist/widgets/gauge.d.ts +2 -15
- package/dist/widgets/image.d.ts +2 -6
- package/dist/widgets/label.d.ts +2 -6
- package/dist/widgets/latest-card.d.ts +2 -13
- package/dist/widgets/lazy-chunk.d.ts +7 -2
- package/dist/widgets/level-lazy.d.ts +14 -96
- package/dist/widgets/map.d.ts +8 -5
- package/dist/widgets/online-doughnut.d.ts +2 -0
- package/dist/widgets/presence-lazy.d.ts +27 -0
- package/dist/widgets/presence-widgets.d.ts +3 -0
- package/dist/widgets/selection-lazy.d.ts +2 -4
- package/dist/widgets/table-lazy.d.ts +2 -7
- package/dist/widgets/time-series-chart.d.ts +62 -12
- package/package.json +13 -13
- package/dist/chunks/aggregate-feed-BD3CHNFU.js.map +0 -7
- package/dist/chunks/aggregate-widgets-HZQI5HTX.js.map +0 -7
- package/dist/chunks/alarm-widgets-7UY6MIYZ.js +0 -9
- package/dist/chunks/alarm-widgets-7UY6MIYZ.js.map +0 -7
- package/dist/chunks/chunk-2D7JNKFE.js.map +0 -7
- package/dist/chunks/chunk-6OGI4UFJ.js +0 -367
- package/dist/chunks/chunk-6OGI4UFJ.js.map +0 -7
- package/dist/chunks/chunk-WBKHYZU2.js.map +0 -7
- package/dist/chunks/control-widgets-3V2LSSRF.js.map +0 -7
- package/dist/chunks/fleet-feed-5QGDLOV5.js.map +0 -7
|
@@ -1,29 +1,25 @@
|
|
|
1
1
|
export declare const loadLevelWidgets: () => Promise<typeof import("./level-widgets")>;
|
|
2
|
-
export declare const linearGaugeWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
2
|
+
export declare const linearGaugeWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
3
3
|
readonly title: {
|
|
4
4
|
readonly kind: 'string';
|
|
5
5
|
readonly labelId: 'widgetLabelTitle';
|
|
6
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
7
6
|
};
|
|
8
7
|
readonly measurement: {
|
|
9
8
|
readonly kind: 'string';
|
|
10
9
|
readonly labelId: 'widgetLabelMeasurement';
|
|
11
10
|
readonly helpId: 'widgetHintMeasurement';
|
|
12
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
13
11
|
};
|
|
14
12
|
readonly min: {
|
|
15
13
|
readonly kind: 'number';
|
|
16
14
|
readonly required: true;
|
|
17
15
|
readonly labelId: 'widgetLabelMin';
|
|
18
16
|
readonly helpId: 'widgetHintScaleMin';
|
|
19
|
-
readonly doc: 'Value at the empty end of the scale. Required: the widget does not guess a range.';
|
|
20
17
|
};
|
|
21
18
|
readonly max: {
|
|
22
19
|
readonly kind: 'number';
|
|
23
20
|
readonly required: true;
|
|
24
21
|
readonly labelId: 'widgetLabelMax';
|
|
25
22
|
readonly helpId: 'widgetHintScaleMax';
|
|
26
|
-
readonly doc: 'Value at the full end of the scale. Required, and above min.';
|
|
27
23
|
};
|
|
28
24
|
readonly style: {
|
|
29
25
|
readonly kind: "enum";
|
|
@@ -34,7 +30,6 @@ export declare const linearGaugeWidget: import("@devicechain/widget-sdk").Widget
|
|
|
34
30
|
readonly thermometer: "widgetLinearStyleThermometer";
|
|
35
31
|
};
|
|
36
32
|
readonly placeholderId: "widgetPlaceholderDefault";
|
|
37
|
-
readonly doc: "A plain bar (default) or a thermometer: a vertical tube with a bulb. A thermometer is always vertical.";
|
|
38
33
|
};
|
|
39
34
|
readonly orientation: {
|
|
40
35
|
readonly kind: "enum";
|
|
@@ -45,12 +40,10 @@ export declare const linearGaugeWidget: import("@devicechain/widget-sdk").Widget
|
|
|
45
40
|
readonly vertical: "widgetOrientationVertical";
|
|
46
41
|
};
|
|
47
42
|
readonly placeholderId: "widgetPlaceholderDefault";
|
|
48
|
-
readonly doc: "Direction of a bar: horizontal (default) or vertical. Ignored by a thermometer.";
|
|
49
43
|
};
|
|
50
44
|
readonly unit: {
|
|
51
45
|
readonly kind: 'string';
|
|
52
46
|
readonly labelId: 'widgetLabelUnit';
|
|
53
|
-
readonly doc: 'Unit suffix shown beside the value.';
|
|
54
47
|
};
|
|
55
48
|
readonly precision: {
|
|
56
49
|
readonly kind: 'number';
|
|
@@ -59,20 +52,17 @@ export declare const linearGaugeWidget: import("@devicechain/widget-sdk").Widget
|
|
|
59
52
|
readonly max: 100;
|
|
60
53
|
readonly labelId: 'widgetLabelPrecision';
|
|
61
54
|
readonly helpId: 'widgetHintPrecision';
|
|
62
|
-
readonly doc: 'Decimal places to round displayed values to. Unset rounds to at most 3 decimals (4 significant digits under 1).';
|
|
63
55
|
};
|
|
64
56
|
readonly thresholds: {
|
|
65
57
|
readonly kind: 'list';
|
|
66
58
|
readonly maxItems: 12;
|
|
67
59
|
readonly labelId: 'widgetLabelThresholds';
|
|
68
60
|
readonly helpId: 'widgetHintThresholds';
|
|
69
|
-
readonly doc: 'Severity bands over the value. Each entry starts a band at its value that runs to the next entry; below the first, and in a normal band, the widget keeps its own colour.';
|
|
70
61
|
readonly item: {
|
|
71
62
|
readonly value: {
|
|
72
63
|
readonly kind: 'number';
|
|
73
64
|
readonly required: true;
|
|
74
65
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
75
|
-
readonly doc: 'The value at which this band starts.';
|
|
76
66
|
};
|
|
77
67
|
readonly level: {
|
|
78
68
|
readonly kind: 'enum';
|
|
@@ -87,12 +77,10 @@ export declare const linearGaugeWidget: import("@devicechain/widget-sdk").Widget
|
|
|
87
77
|
readonly critical: 'widgetSeverityCritical';
|
|
88
78
|
};
|
|
89
79
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
90
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
91
80
|
};
|
|
92
81
|
readonly label: {
|
|
93
82
|
readonly kind: 'string';
|
|
94
83
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
95
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
96
84
|
};
|
|
97
85
|
};
|
|
98
86
|
};
|
|
@@ -102,7 +90,6 @@ export declare const linearGaugeWidget: import("@devicechain/widget-sdk").Widget
|
|
|
102
90
|
readonly min: 1;
|
|
103
91
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
104
92
|
readonly helpId: 'widgetHintStaleAfter';
|
|
105
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
106
93
|
};
|
|
107
94
|
readonly window: {
|
|
108
95
|
readonly kind: 'number';
|
|
@@ -110,34 +97,29 @@ export declare const linearGaugeWidget: import("@devicechain/widget-sdk").Widget
|
|
|
110
97
|
readonly min: 1;
|
|
111
98
|
readonly labelId: 'widgetLabelWindow';
|
|
112
99
|
readonly helpId: 'widgetHintWindow';
|
|
113
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
114
100
|
};
|
|
115
|
-
}
|
|
116
|
-
export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
101
|
+
}>>;
|
|
102
|
+
export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
117
103
|
readonly title: {
|
|
118
104
|
readonly kind: 'string';
|
|
119
105
|
readonly labelId: 'widgetLabelTitle';
|
|
120
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
121
106
|
};
|
|
122
107
|
readonly measurement: {
|
|
123
108
|
readonly kind: 'string';
|
|
124
109
|
readonly labelId: 'widgetLabelMeasurement';
|
|
125
110
|
readonly helpId: 'widgetHintMeasurement';
|
|
126
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
127
111
|
};
|
|
128
112
|
readonly min: {
|
|
129
113
|
readonly kind: 'number';
|
|
130
114
|
readonly required: true;
|
|
131
115
|
readonly labelId: 'widgetLabelMin';
|
|
132
116
|
readonly helpId: 'widgetHintScaleMin';
|
|
133
|
-
readonly doc: 'Value at the empty end of the scale. Required: the widget does not guess a range.';
|
|
134
117
|
};
|
|
135
118
|
readonly max: {
|
|
136
119
|
readonly kind: 'number';
|
|
137
120
|
readonly required: true;
|
|
138
121
|
readonly labelId: 'widgetLabelMax';
|
|
139
122
|
readonly helpId: 'widgetHintScaleMax';
|
|
140
|
-
readonly doc: 'Value at the full end of the scale. Required, and above min.';
|
|
141
123
|
};
|
|
142
124
|
readonly readout: {
|
|
143
125
|
readonly kind: "enum";
|
|
@@ -148,12 +130,10 @@ export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
148
130
|
readonly percent: "widgetReadoutPercent";
|
|
149
131
|
};
|
|
150
132
|
readonly placeholderId: "widgetPlaceholderDefault";
|
|
151
|
-
readonly doc: "What the readout shows: the value with its unit (default) or the percent of the scale.";
|
|
152
133
|
};
|
|
153
134
|
readonly unit: {
|
|
154
135
|
readonly kind: 'string';
|
|
155
136
|
readonly labelId: 'widgetLabelUnit';
|
|
156
|
-
readonly doc: 'Unit suffix shown beside the value.';
|
|
157
137
|
};
|
|
158
138
|
readonly precision: {
|
|
159
139
|
readonly kind: 'number';
|
|
@@ -162,20 +142,17 @@ export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
162
142
|
readonly max: 100;
|
|
163
143
|
readonly labelId: 'widgetLabelPrecision';
|
|
164
144
|
readonly helpId: 'widgetHintPrecision';
|
|
165
|
-
readonly doc: 'Decimal places to round displayed values to. Unset rounds to at most 3 decimals (4 significant digits under 1).';
|
|
166
145
|
};
|
|
167
146
|
readonly thresholds: {
|
|
168
147
|
readonly kind: 'list';
|
|
169
148
|
readonly maxItems: 12;
|
|
170
149
|
readonly labelId: 'widgetLabelThresholds';
|
|
171
150
|
readonly helpId: 'widgetHintThresholds';
|
|
172
|
-
readonly doc: 'Severity bands over the value. Each entry starts a band at its value that runs to the next entry; below the first, and in a normal band, the widget keeps its own colour.';
|
|
173
151
|
readonly item: {
|
|
174
152
|
readonly value: {
|
|
175
153
|
readonly kind: 'number';
|
|
176
154
|
readonly required: true;
|
|
177
155
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
178
|
-
readonly doc: 'The value at which this band starts.';
|
|
179
156
|
};
|
|
180
157
|
readonly level: {
|
|
181
158
|
readonly kind: 'enum';
|
|
@@ -190,12 +167,10 @@ export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
190
167
|
readonly critical: 'widgetSeverityCritical';
|
|
191
168
|
};
|
|
192
169
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
193
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
194
170
|
};
|
|
195
171
|
readonly label: {
|
|
196
172
|
readonly kind: 'string';
|
|
197
173
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
198
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
199
174
|
};
|
|
200
175
|
};
|
|
201
176
|
};
|
|
@@ -205,7 +180,6 @@ export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
205
180
|
readonly min: 1;
|
|
206
181
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
207
182
|
readonly helpId: 'widgetHintStaleAfter';
|
|
208
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
209
183
|
};
|
|
210
184
|
readonly window: {
|
|
211
185
|
readonly kind: 'number';
|
|
@@ -213,37 +187,31 @@ export declare const levelGaugeWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
213
187
|
readonly min: 1;
|
|
214
188
|
readonly labelId: 'widgetLabelWindow';
|
|
215
189
|
readonly helpId: 'widgetHintWindow';
|
|
216
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
217
190
|
};
|
|
218
|
-
}
|
|
219
|
-
export declare const batteryWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
191
|
+
}>>;
|
|
192
|
+
export declare const batteryWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
220
193
|
readonly title: {
|
|
221
194
|
readonly kind: 'string';
|
|
222
195
|
readonly labelId: 'widgetLabelTitle';
|
|
223
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
224
196
|
};
|
|
225
197
|
readonly measurement: {
|
|
226
198
|
readonly kind: 'string';
|
|
227
199
|
readonly labelId: 'widgetLabelMeasurement';
|
|
228
200
|
readonly helpId: 'widgetHintMeasurement';
|
|
229
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
230
201
|
};
|
|
231
202
|
readonly min: {
|
|
232
203
|
readonly kind: "number";
|
|
233
204
|
readonly labelId: "widgetLabelMin";
|
|
234
205
|
readonly helpId: "widgetHintBatteryRange";
|
|
235
|
-
readonly doc: "Value of an empty battery. Default 0 (the scale is percent unless you set min and max).";
|
|
236
206
|
};
|
|
237
207
|
readonly max: {
|
|
238
208
|
readonly kind: "number";
|
|
239
209
|
readonly labelId: "widgetLabelMax";
|
|
240
210
|
readonly helpId: "widgetHintBatteryRange";
|
|
241
|
-
readonly doc: "Value of a full battery. Default 100 (the scale is percent unless you set min and max).";
|
|
242
211
|
};
|
|
243
212
|
readonly unit: {
|
|
244
213
|
readonly kind: 'string';
|
|
245
214
|
readonly labelId: 'widgetLabelUnit';
|
|
246
|
-
readonly doc: 'Unit suffix shown beside the value.';
|
|
247
215
|
};
|
|
248
216
|
readonly precision: {
|
|
249
217
|
readonly kind: 'number';
|
|
@@ -252,20 +220,17 @@ export declare const batteryWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
252
220
|
readonly max: 100;
|
|
253
221
|
readonly labelId: 'widgetLabelPrecision';
|
|
254
222
|
readonly helpId: 'widgetHintPrecision';
|
|
255
|
-
readonly doc: 'Decimal places to round displayed values to. Unset rounds to at most 3 decimals (4 significant digits under 1).';
|
|
256
223
|
};
|
|
257
224
|
readonly thresholds: {
|
|
258
225
|
readonly kind: 'list';
|
|
259
226
|
readonly maxItems: 12;
|
|
260
227
|
readonly labelId: 'widgetLabelThresholds';
|
|
261
228
|
readonly helpId: 'widgetHintThresholds';
|
|
262
|
-
readonly doc: 'Severity bands over the value. Each entry starts a band at its value that runs to the next entry; below the first, and in a normal band, the widget keeps its own colour.';
|
|
263
229
|
readonly item: {
|
|
264
230
|
readonly value: {
|
|
265
231
|
readonly kind: 'number';
|
|
266
232
|
readonly required: true;
|
|
267
233
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
268
|
-
readonly doc: 'The value at which this band starts.';
|
|
269
234
|
};
|
|
270
235
|
readonly level: {
|
|
271
236
|
readonly kind: 'enum';
|
|
@@ -280,12 +245,10 @@ export declare const batteryWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
280
245
|
readonly critical: 'widgetSeverityCritical';
|
|
281
246
|
};
|
|
282
247
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
283
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
284
248
|
};
|
|
285
249
|
readonly label: {
|
|
286
250
|
readonly kind: 'string';
|
|
287
251
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
288
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
289
252
|
};
|
|
290
253
|
};
|
|
291
254
|
};
|
|
@@ -295,7 +258,6 @@ export declare const batteryWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
295
258
|
readonly min: 1;
|
|
296
259
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
297
260
|
readonly helpId: 'widgetHintStaleAfter';
|
|
298
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
299
261
|
};
|
|
300
262
|
readonly window: {
|
|
301
263
|
readonly kind: 'number';
|
|
@@ -303,31 +265,26 @@ export declare const batteryWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
303
265
|
readonly min: 1;
|
|
304
266
|
readonly labelId: 'widgetLabelWindow';
|
|
305
267
|
readonly helpId: 'widgetHintWindow';
|
|
306
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
307
268
|
};
|
|
308
|
-
}
|
|
309
|
-
export declare const statusLightWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
269
|
+
}>>;
|
|
270
|
+
export declare const statusLightWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
310
271
|
readonly title: {
|
|
311
272
|
readonly kind: 'string';
|
|
312
273
|
readonly labelId: 'widgetLabelTitle';
|
|
313
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
314
274
|
};
|
|
315
275
|
readonly measurement: {
|
|
316
276
|
readonly kind: 'string';
|
|
317
277
|
readonly labelId: 'widgetLabelMeasurement';
|
|
318
278
|
readonly helpId: 'widgetHintMeasurement';
|
|
319
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
320
279
|
};
|
|
321
280
|
readonly onAt: {
|
|
322
281
|
readonly kind: "number";
|
|
323
282
|
readonly labelId: "widgetLabelOnAt";
|
|
324
283
|
readonly helpId: "widgetHintOnAt";
|
|
325
|
-
readonly doc: "For an on/off signal: the lamp is lit at or above this value and dark below it. Unset keeps the lamp lit while a value is present, coloured by its threshold band.";
|
|
326
284
|
};
|
|
327
285
|
readonly unit: {
|
|
328
286
|
readonly kind: 'string';
|
|
329
287
|
readonly labelId: 'widgetLabelUnit';
|
|
330
|
-
readonly doc: 'Unit suffix shown beside the value.';
|
|
331
288
|
};
|
|
332
289
|
readonly precision: {
|
|
333
290
|
readonly kind: 'number';
|
|
@@ -336,20 +293,17 @@ export declare const statusLightWidget: import("@devicechain/widget-sdk").Widget
|
|
|
336
293
|
readonly max: 100;
|
|
337
294
|
readonly labelId: 'widgetLabelPrecision';
|
|
338
295
|
readonly helpId: 'widgetHintPrecision';
|
|
339
|
-
readonly doc: 'Decimal places to round displayed values to. Unset rounds to at most 3 decimals (4 significant digits under 1).';
|
|
340
296
|
};
|
|
341
297
|
readonly thresholds: {
|
|
342
298
|
readonly kind: 'list';
|
|
343
299
|
readonly maxItems: 12;
|
|
344
300
|
readonly labelId: 'widgetLabelThresholds';
|
|
345
301
|
readonly helpId: 'widgetHintThresholds';
|
|
346
|
-
readonly doc: 'Severity bands over the value. Each entry starts a band at its value that runs to the next entry; below the first, and in a normal band, the widget keeps its own colour.';
|
|
347
302
|
readonly item: {
|
|
348
303
|
readonly value: {
|
|
349
304
|
readonly kind: 'number';
|
|
350
305
|
readonly required: true;
|
|
351
306
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
352
|
-
readonly doc: 'The value at which this band starts.';
|
|
353
307
|
};
|
|
354
308
|
readonly level: {
|
|
355
309
|
readonly kind: 'enum';
|
|
@@ -364,12 +318,10 @@ export declare const statusLightWidget: import("@devicechain/widget-sdk").Widget
|
|
|
364
318
|
readonly critical: 'widgetSeverityCritical';
|
|
365
319
|
};
|
|
366
320
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
367
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
368
321
|
};
|
|
369
322
|
readonly label: {
|
|
370
323
|
readonly kind: 'string';
|
|
371
324
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
372
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
373
325
|
};
|
|
374
326
|
};
|
|
375
327
|
};
|
|
@@ -379,7 +331,6 @@ export declare const statusLightWidget: import("@devicechain/widget-sdk").Widget
|
|
|
379
331
|
readonly min: 1;
|
|
380
332
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
381
333
|
readonly helpId: 'widgetHintStaleAfter';
|
|
382
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
383
334
|
};
|
|
384
335
|
readonly window: {
|
|
385
336
|
readonly kind: 'number';
|
|
@@ -387,25 +338,21 @@ export declare const statusLightWidget: import("@devicechain/widget-sdk").Widget
|
|
|
387
338
|
readonly min: 1;
|
|
388
339
|
readonly labelId: 'widgetLabelWindow';
|
|
389
340
|
readonly helpId: 'widgetHintWindow';
|
|
390
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
391
341
|
};
|
|
392
|
-
}
|
|
393
|
-
export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
342
|
+
}>>;
|
|
343
|
+
export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
394
344
|
readonly title: {
|
|
395
345
|
readonly kind: 'string';
|
|
396
346
|
readonly labelId: 'widgetLabelTitle';
|
|
397
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
398
347
|
};
|
|
399
348
|
readonly measurement: {
|
|
400
349
|
readonly kind: 'string';
|
|
401
350
|
readonly labelId: 'widgetLabelMeasurement';
|
|
402
351
|
readonly helpId: 'widgetHintMeasurement';
|
|
403
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
404
352
|
};
|
|
405
353
|
readonly unit: {
|
|
406
354
|
readonly kind: 'string';
|
|
407
355
|
readonly labelId: 'widgetLabelUnit';
|
|
408
|
-
readonly doc: 'Unit suffix shown beside the value.';
|
|
409
356
|
};
|
|
410
357
|
readonly precision: {
|
|
411
358
|
readonly kind: 'number';
|
|
@@ -414,7 +361,6 @@ export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
414
361
|
readonly max: 100;
|
|
415
362
|
readonly labelId: 'widgetLabelPrecision';
|
|
416
363
|
readonly helpId: 'widgetHintPrecision';
|
|
417
|
-
readonly doc: 'Decimal places to round displayed values to. Unset rounds to at most 3 decimals (4 significant digits under 1).';
|
|
418
364
|
};
|
|
419
365
|
readonly thresholds: {
|
|
420
366
|
readonly kind: 'list';
|
|
@@ -424,7 +370,6 @@ export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
424
370
|
readonly kind: 'number';
|
|
425
371
|
readonly required: true;
|
|
426
372
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
427
|
-
readonly doc: 'The value at which this band starts.';
|
|
428
373
|
};
|
|
429
374
|
readonly level: {
|
|
430
375
|
readonly kind: 'enum';
|
|
@@ -439,18 +384,15 @@ export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
439
384
|
readonly critical: 'widgetSeverityCritical';
|
|
440
385
|
};
|
|
441
386
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
442
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
443
387
|
};
|
|
444
388
|
readonly label: {
|
|
445
389
|
readonly kind: 'string';
|
|
446
390
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
447
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
448
391
|
};
|
|
449
392
|
};
|
|
450
393
|
readonly maxItems: 8;
|
|
451
394
|
readonly required: true;
|
|
452
395
|
readonly helpId: "widgetHintSignalThresholds";
|
|
453
|
-
readonly doc: "The steps of the signal, lowest first: one bar per entry, lit once the value reaches it and coloured by its level. At least two, at most eight.";
|
|
454
396
|
};
|
|
455
397
|
readonly staleAfterSeconds: {
|
|
456
398
|
readonly kind: 'number';
|
|
@@ -458,7 +400,6 @@ export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
458
400
|
readonly min: 1;
|
|
459
401
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
460
402
|
readonly helpId: 'widgetHintStaleAfter';
|
|
461
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
462
403
|
};
|
|
463
404
|
readonly window: {
|
|
464
405
|
readonly kind: 'number';
|
|
@@ -466,20 +407,17 @@ export declare const signalBarsWidget: import("@devicechain/widget-sdk").WidgetD
|
|
|
466
407
|
readonly min: 1;
|
|
467
408
|
readonly labelId: 'widgetLabelWindow';
|
|
468
409
|
readonly helpId: 'widgetHintWindow';
|
|
469
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
470
410
|
};
|
|
471
|
-
}
|
|
472
|
-
export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
411
|
+
}>>;
|
|
412
|
+
export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
473
413
|
readonly title: {
|
|
474
414
|
readonly kind: 'string';
|
|
475
415
|
readonly labelId: 'widgetLabelTitle';
|
|
476
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
477
416
|
};
|
|
478
417
|
readonly measurement: {
|
|
479
418
|
readonly kind: 'string';
|
|
480
419
|
readonly labelId: 'widgetLabelMeasurement';
|
|
481
420
|
readonly helpId: 'widgetHintMeasurement';
|
|
482
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
483
421
|
};
|
|
484
422
|
readonly precision: {
|
|
485
423
|
readonly kind: 'number';
|
|
@@ -488,7 +426,6 @@ export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
488
426
|
readonly max: 100;
|
|
489
427
|
readonly labelId: 'widgetLabelPrecision';
|
|
490
428
|
readonly helpId: 'widgetHintPrecision';
|
|
491
|
-
readonly doc: "Decimal places of the heading. Default 0 (whole degrees). The heading is rounded first, then folded onto 0 to 360, so it never reads 360.";
|
|
492
429
|
};
|
|
493
430
|
readonly thresholds: {
|
|
494
431
|
readonly kind: 'list';
|
|
@@ -500,7 +437,6 @@ export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
500
437
|
readonly kind: 'number';
|
|
501
438
|
readonly required: true;
|
|
502
439
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
503
|
-
readonly doc: 'The value at which this band starts.';
|
|
504
440
|
};
|
|
505
441
|
readonly level: {
|
|
506
442
|
readonly kind: 'enum';
|
|
@@ -515,15 +451,12 @@ export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
515
451
|
readonly critical: 'widgetSeverityCritical';
|
|
516
452
|
};
|
|
517
453
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
518
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
519
454
|
};
|
|
520
455
|
readonly label: {
|
|
521
456
|
readonly kind: 'string';
|
|
522
457
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
523
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
524
458
|
};
|
|
525
459
|
};
|
|
526
|
-
readonly doc: "Severity bands over the heading in degrees (0 to 360, after folding). Each entry starts a band at its value that runs to the next entry; below the first, and in a normal band, the needle keeps its own colour.";
|
|
527
460
|
};
|
|
528
461
|
readonly staleAfterSeconds: {
|
|
529
462
|
readonly kind: 'number';
|
|
@@ -531,7 +464,6 @@ export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
531
464
|
readonly min: 1;
|
|
532
465
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
533
466
|
readonly helpId: 'widgetHintStaleAfter';
|
|
534
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
535
467
|
};
|
|
536
468
|
readonly window: {
|
|
537
469
|
readonly kind: 'number';
|
|
@@ -539,34 +471,29 @@ export declare const compassWidget: import("@devicechain/widget-sdk").WidgetDefi
|
|
|
539
471
|
readonly min: 1;
|
|
540
472
|
readonly labelId: 'widgetLabelWindow';
|
|
541
473
|
readonly helpId: 'widgetHintWindow';
|
|
542
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
543
474
|
};
|
|
544
|
-
}
|
|
545
|
-
export declare const progressRingWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", {
|
|
475
|
+
}>>;
|
|
476
|
+
export declare const progressRingWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
546
477
|
readonly title: {
|
|
547
478
|
readonly kind: 'string';
|
|
548
479
|
readonly labelId: 'widgetLabelTitle';
|
|
549
|
-
readonly doc: 'Heading shown in the widget frame. Defaults to the displayed measurement name.';
|
|
550
480
|
};
|
|
551
481
|
readonly measurement: {
|
|
552
482
|
readonly kind: 'string';
|
|
553
483
|
readonly labelId: 'widgetLabelMeasurement';
|
|
554
484
|
readonly helpId: 'widgetHintMeasurement';
|
|
555
|
-
readonly doc: 'Which measurement to display. Defaults to the first the datasource selects.';
|
|
556
485
|
};
|
|
557
486
|
readonly min: {
|
|
558
487
|
readonly kind: 'number';
|
|
559
488
|
readonly required: true;
|
|
560
489
|
readonly labelId: 'widgetLabelMin';
|
|
561
490
|
readonly helpId: 'widgetHintScaleMin';
|
|
562
|
-
readonly doc: 'Value at the empty end of the scale. Required: the widget does not guess a range.';
|
|
563
491
|
};
|
|
564
492
|
readonly max: {
|
|
565
493
|
readonly kind: 'number';
|
|
566
494
|
readonly required: true;
|
|
567
495
|
readonly labelId: 'widgetLabelMax';
|
|
568
496
|
readonly helpId: 'widgetHintScaleMax';
|
|
569
|
-
readonly doc: 'Value at the full end of the scale. Required, and above min.';
|
|
570
497
|
};
|
|
571
498
|
readonly readout: {
|
|
572
499
|
readonly kind: "enum";
|
|
@@ -577,12 +504,10 @@ export declare const progressRingWidget: import("@devicechain/widget-sdk").Widge
|
|
|
577
504
|
readonly value: "widgetReadoutValue";
|
|
578
505
|
};
|
|
579
506
|
readonly placeholderId: "widgetPlaceholderDefault";
|
|
580
|
-
readonly doc: "What the middle of the ring shows: the percent of the scale (default) or the value with its unit.";
|
|
581
507
|
};
|
|
582
508
|
readonly unit: {
|
|
583
509
|
readonly kind: 'string';
|
|
584
510
|
readonly labelId: 'widgetLabelUnit';
|
|
585
|
-
readonly doc: 'Unit suffix shown beside the value.';
|
|
586
511
|
};
|
|
587
512
|
readonly precision: {
|
|
588
513
|
readonly kind: 'number';
|
|
@@ -591,20 +516,17 @@ export declare const progressRingWidget: import("@devicechain/widget-sdk").Widge
|
|
|
591
516
|
readonly max: 100;
|
|
592
517
|
readonly labelId: 'widgetLabelPrecision';
|
|
593
518
|
readonly helpId: 'widgetHintPrecision';
|
|
594
|
-
readonly doc: 'Decimal places to round displayed values to. Unset rounds to at most 3 decimals (4 significant digits under 1).';
|
|
595
519
|
};
|
|
596
520
|
readonly thresholds: {
|
|
597
521
|
readonly kind: 'list';
|
|
598
522
|
readonly maxItems: 12;
|
|
599
523
|
readonly labelId: 'widgetLabelThresholds';
|
|
600
524
|
readonly helpId: 'widgetHintThresholds';
|
|
601
|
-
readonly doc: 'Severity bands over the value. Each entry starts a band at its value that runs to the next entry; below the first, and in a normal band, the widget keeps its own colour.';
|
|
602
525
|
readonly item: {
|
|
603
526
|
readonly value: {
|
|
604
527
|
readonly kind: 'number';
|
|
605
528
|
readonly required: true;
|
|
606
529
|
readonly labelId: 'widgetLabelThresholdValue';
|
|
607
|
-
readonly doc: 'The value at which this band starts.';
|
|
608
530
|
};
|
|
609
531
|
readonly level: {
|
|
610
532
|
readonly kind: 'enum';
|
|
@@ -619,12 +541,10 @@ export declare const progressRingWidget: import("@devicechain/widget-sdk").Widge
|
|
|
619
541
|
readonly critical: 'widgetSeverityCritical';
|
|
620
542
|
};
|
|
621
543
|
readonly placeholderId: 'widgetPlaceholderThresholdLevel';
|
|
622
|
-
readonly doc: 'The severity of this band. The theme decides the colour; normal has none.';
|
|
623
544
|
};
|
|
624
545
|
readonly label: {
|
|
625
546
|
readonly kind: 'string';
|
|
626
547
|
readonly labelId: 'widgetLabelThresholdLabel';
|
|
627
|
-
readonly doc: 'Text shown on the chart line for this threshold. Defaults to its value.';
|
|
628
548
|
};
|
|
629
549
|
};
|
|
630
550
|
};
|
|
@@ -634,7 +554,6 @@ export declare const progressRingWidget: import("@devicechain/widget-sdk").Widge
|
|
|
634
554
|
readonly min: 1;
|
|
635
555
|
readonly labelId: 'widgetLabelStaleAfter';
|
|
636
556
|
readonly helpId: 'widgetHintStaleAfter';
|
|
637
|
-
readonly doc: 'Seconds after which the newest sample is called stale: the value is greyed out and badged. Unset shows the sample age only and never marks the widget stale.';
|
|
638
557
|
};
|
|
639
558
|
readonly window: {
|
|
640
559
|
readonly kind: 'number';
|
|
@@ -642,6 +561,5 @@ export declare const progressRingWidget: import("@devicechain/widget-sdk").Widge
|
|
|
642
561
|
readonly min: 1;
|
|
643
562
|
readonly labelId: 'widgetLabelWindow';
|
|
644
563
|
readonly helpId: 'widgetHintWindow';
|
|
645
|
-
readonly doc: 'Samples retained across ALL of the widget\'s measurements before the oldest are dropped. Bounds memory; only the chart draws them. Default 300.';
|
|
646
564
|
};
|
|
647
|
-
}
|
|
565
|
+
}>>;
|
package/dist/widgets/map.d.ts
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import { type LocationStreamState, type WidgetProps } from '@devicechain/widget-sdk';
|
|
2
2
|
export declare function MapWidget({ widget, data }: WidgetProps<LocationStreamState>): import("react").JSX.Element;
|
|
3
|
-
export declare const mapWidget: import("@devicechain/widget-sdk").WidgetDefinition<"location", {
|
|
3
|
+
export declare const mapWidget: import("@devicechain/widget-sdk").WidgetDefinition<"location", import("../builtin-descriptors").DocumentedSpecs<{
|
|
4
4
|
readonly title: {
|
|
5
5
|
readonly kind: 'string';
|
|
6
6
|
readonly labelId: 'widgetLabelTitle';
|
|
7
|
-
readonly doc: 'Heading shown in the widget frame. Blank hides the frame heading.';
|
|
8
7
|
};
|
|
9
8
|
readonly tileUrl: {
|
|
10
9
|
readonly kind: "string";
|
|
11
10
|
readonly labelId: "widgetLabelTileUrl";
|
|
12
11
|
readonly helpId: "widgetTileUrlHint";
|
|
13
12
|
readonly control: "basemap";
|
|
14
|
-
readonly doc: "Raster tile URL template, e.g. https://tiles.example.com/{z}/{x}/{y}.png. Leave empty to inherit the tenant's basemap; setting one overrides it for this board only.";
|
|
15
13
|
};
|
|
16
14
|
readonly attribution: {
|
|
17
15
|
readonly kind: "string";
|
|
18
16
|
readonly labelId: "widgetLabelAttribution";
|
|
19
17
|
readonly helpId: "widgetAttributionHint";
|
|
20
18
|
readonly control: "basemap";
|
|
21
|
-
readonly doc: "Credit line the tile source requires, shown on the map. Set whatever the provider you chose asks for.";
|
|
22
19
|
};
|
|
23
|
-
|
|
20
|
+
readonly selectionTarget: {
|
|
21
|
+
readonly kind: 'string';
|
|
22
|
+
readonly labelId: 'widgetLabelTargetSlot';
|
|
23
|
+
readonly helpId: 'widgetTargetSlotHint';
|
|
24
|
+
readonly control: 'slot-target';
|
|
25
|
+
};
|
|
26
|
+
}>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const loadPresenceWidgets: () => Promise<typeof import("./presence-widgets")>;
|
|
2
|
+
export declare const deviceStatusWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
3
|
+
readonly title: {
|
|
4
|
+
readonly kind: 'string';
|
|
5
|
+
readonly labelId: 'widgetLabelTitle';
|
|
6
|
+
};
|
|
7
|
+
readonly staleAfterSeconds: {
|
|
8
|
+
readonly kind: 'number';
|
|
9
|
+
readonly integer: true;
|
|
10
|
+
readonly min: 1;
|
|
11
|
+
readonly labelId: 'widgetLabelStaleAfter';
|
|
12
|
+
readonly helpId: 'widgetHintStaleAfter';
|
|
13
|
+
};
|
|
14
|
+
}>>;
|
|
15
|
+
export declare const onlineDoughnutWidget: import("@devicechain/widget-sdk").WidgetDefinition<"measurement", import("../builtin-descriptors").DocumentedSpecs<{
|
|
16
|
+
readonly title: {
|
|
17
|
+
readonly kind: 'string';
|
|
18
|
+
readonly labelId: 'widgetLabelTitle';
|
|
19
|
+
};
|
|
20
|
+
readonly staleAfterSeconds: {
|
|
21
|
+
readonly kind: 'number';
|
|
22
|
+
readonly integer: true;
|
|
23
|
+
readonly min: 1;
|
|
24
|
+
readonly labelId: 'widgetLabelStaleAfter';
|
|
25
|
+
readonly helpId: 'widgetHintStaleAfter';
|
|
26
|
+
};
|
|
27
|
+
}>>;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
export declare const loadSelectionWidgets: () => Promise<typeof import("./entity-selector")>;
|
|
2
|
-
export declare const entitySelectorWidget: import("@devicechain/widget-sdk").WidgetDefinition<"selection", {
|
|
2
|
+
export declare const entitySelectorWidget: import("@devicechain/widget-sdk").WidgetDefinition<"selection", import("../builtin-descriptors").DocumentedSpecs<{
|
|
3
3
|
readonly title: {
|
|
4
4
|
readonly kind: 'string';
|
|
5
5
|
readonly labelId: 'widgetLabelTitle';
|
|
6
|
-
readonly doc: 'Heading shown in the widget frame. Blank hides the frame heading.';
|
|
7
6
|
};
|
|
8
7
|
readonly selectionTarget: {
|
|
9
8
|
readonly kind: 'string';
|
|
10
9
|
readonly labelId: 'widgetLabelTargetSlot';
|
|
11
10
|
readonly helpId: 'widgetTargetSlotHint';
|
|
12
11
|
readonly control: 'slot-target';
|
|
13
|
-
readonly doc: 'Name of the slot this widget re-points when the viewer picks an entity.';
|
|
14
12
|
readonly required: true;
|
|
15
13
|
};
|
|
16
|
-
}
|
|
14
|
+
}>>;
|