@oicl/openbridge-webcomponents 2.0.0-next.83 → 2.0.0-next.84
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/bundle/openbridge-webcomponents.bundle.js +1147 -460
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +591 -193
- package/dist/components/textbox/textbox.css.js +29 -5
- package/dist/components/textbox/textbox.css.js.map +1 -1
- package/dist/components/textbox/textbox.d.ts +5 -0
- package/dist/components/textbox/textbox.d.ts.map +1 -1
- package/dist/components/textbox/textbox.js +6 -1
- package/dist/components/textbox/textbox.js.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.css.js +611 -230
- package/dist/navigation-instruments/readout-list-item/readout-list-item.css.js.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.d.ts +280 -61
- package/dist/navigation-instruments/readout-list-item/readout-list-item.d.ts.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js +529 -247
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readout-list-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"readout-list-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,94 +1,313 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
import { ObcTextboxFontWeight } from '../../components/textbox/textbox.js';
|
|
2
3
|
import { AlertFrameConfig } from '../../components/alert-frame/alert-frame.js';
|
|
3
|
-
import '
|
|
4
|
+
import '../../components/textbox/textbox.js';
|
|
4
5
|
import '../../icons/icon-input-right.js';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
import '../../icons/icon-notification-advice.js';
|
|
7
|
+
export { ObcTextboxFontWeight } from '../../components/textbox/textbox.js';
|
|
8
|
+
/**
|
|
9
|
+
* Density/size scale of the readout row.
|
|
10
|
+
* - `small`: regular value typography (smallest, densest).
|
|
11
|
+
* - `medium`: medium value typography.
|
|
12
|
+
* - `large`: large value typography.
|
|
13
|
+
*/
|
|
10
14
|
export declare enum ReadoutListItemSize {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
small = "small",
|
|
16
|
+
medium = "medium",
|
|
17
|
+
large = "large"
|
|
14
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Placement of the unit/source relative to the label and value.
|
|
21
|
+
* - `trailing-unit`: unit after the value, source after a trailing divider.
|
|
22
|
+
* - `leading-unit`: unit beside/under the label.
|
|
23
|
+
* - `leading-src`: source beside/under the label (no trailing source).
|
|
24
|
+
*/
|
|
15
25
|
export declare enum ReadoutListItemStacking {
|
|
16
26
|
trailingUnit = "trailing-unit",
|
|
17
27
|
leadingUnit = "leading-unit",
|
|
18
28
|
leadingSrc = "leading-src"
|
|
19
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Colour emphasis of the value.
|
|
32
|
+
* - `regular`: neutral.
|
|
33
|
+
* - `enhanced`: accented (in-command) colour.
|
|
34
|
+
*/
|
|
20
35
|
export declare enum ReadoutListItemPriority {
|
|
21
36
|
regular = "regular",
|
|
22
|
-
enhanced = "enhanced"
|
|
23
|
-
|
|
24
|
-
|
|
37
|
+
enhanced = "enhanced"
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Measurement quality of the value. Orthogonal to the row-level `alert`
|
|
41
|
+
* – a low-integrity or invalid value can also sit inside an alert frame.
|
|
42
|
+
*/
|
|
43
|
+
export declare enum ReadoutListItemDataQuality {
|
|
44
|
+
lowIntegrity = "low-integrity",
|
|
45
|
+
invalid = "invalid"
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Corner style of the interactive (clickable) surface.
|
|
49
|
+
* - `squared` (default): no rounding (true rectangle).
|
|
50
|
+
* - `round-corners`: larger rounded corners.
|
|
51
|
+
* - `round`: fully rounded (pill).
|
|
52
|
+
*/
|
|
53
|
+
export declare enum ReadoutListItemBorder {
|
|
54
|
+
squared = "squared",
|
|
55
|
+
round = "round",
|
|
56
|
+
roundCorners = "round-corners"
|
|
57
|
+
}
|
|
58
|
+
export interface ReadoutListItemClickable {
|
|
59
|
+
border?: ReadoutListItemBorder;
|
|
25
60
|
}
|
|
26
61
|
/**
|
|
27
|
-
*
|
|
62
|
+
* Per-block state shared by value / setpoint / advice / src. Each is independent
|
|
63
|
+
* of (and nests inside) the row-level `dataQuality` / `alert` props. All
|
|
64
|
+
* combinations are allowed.
|
|
65
|
+
*/
|
|
66
|
+
export interface ReadoutBlockState {
|
|
67
|
+
/** Per-block measurement quality (low-integrity / invalid). */
|
|
68
|
+
dataQuality?: ReadoutListItemDataQuality;
|
|
69
|
+
/** Per-block alert frame; nests inside any row-level alert frame. */
|
|
70
|
+
alert?: false | AlertFrameConfig;
|
|
71
|
+
}
|
|
72
|
+
export interface ReadoutValueOptions extends ReadoutBlockState {
|
|
73
|
+
/** Render the unfilled leading positions as muted zeroes (requires `maxDigits`). */
|
|
74
|
+
hintedZeros?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Value font weight — `regular` (default), `semibold`, or `bold` (the
|
|
77
|
+
* obc-textbox weights). Affects weight only; it does NOT change the colour
|
|
78
|
+
* (colour is driven by `priority`).
|
|
79
|
+
*/
|
|
80
|
+
weight?: ObcTextboxFontWeight;
|
|
81
|
+
/** Show the `value-icon` slot before the value. */
|
|
82
|
+
hasIcon?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Longest value string to reserve width for (e.g. `"0000.0"`), so rows align
|
|
85
|
+
* across different value lengths / `fractionDigits` — set the same value on
|
|
86
|
+
* every row. Combined with the `maxDigits`/`fractionDigits`-derived reserve by
|
|
87
|
+
* taking whichever is **wider**, so it never reserves less than the formatted
|
|
88
|
+
* value needs.
|
|
89
|
+
*/
|
|
90
|
+
spaceReserver?: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* How the setpoint segment behaves relative to the value.
|
|
94
|
+
* - `always-visible` (default): the setpoint is always shown.
|
|
95
|
+
* - `flip-flop`: value and setpoint swap emphasis (size) as the value reaches
|
|
96
|
+
* the setpoint.
|
|
97
|
+
* - `pop-up`: the setpoint is shown only while the value has not reached it,
|
|
98
|
+
* then fades out (100ms) once value === setpoint.
|
|
99
|
+
*/
|
|
100
|
+
export declare enum ReadoutListItemSetpointInteraction {
|
|
101
|
+
alwaysVisible = "always-visible",
|
|
102
|
+
flipFlop = "flip-flop",
|
|
103
|
+
popUp = "pop-up"
|
|
104
|
+
}
|
|
105
|
+
export interface ReadoutSetpointOptions extends ReadoutBlockState {
|
|
106
|
+
hintedZeros?: boolean;
|
|
107
|
+
/** How the setpoint behaves relative to the value (default `always-visible`). */
|
|
108
|
+
interaction?: ReadoutListItemSetpointInteraction;
|
|
109
|
+
/**
|
|
110
|
+
* The user is physically interacting with (adjusting) the setpoint — the
|
|
111
|
+
* "focus" visual state. Same convention as `touching` on the instrument
|
|
112
|
+
* setpoint marker (`SetpointMixin` / `svghelpers/setpoint.ts`): keeps the
|
|
113
|
+
* setpoint visible and shows the lighter-blue focus triangle.
|
|
114
|
+
*/
|
|
115
|
+
touching?: boolean;
|
|
116
|
+
/** Longest value string to reserve width for; see {@link ReadoutValueOptions.spaceReserver}. */
|
|
117
|
+
spaceReserver?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface ReadoutAdviceOptions extends ReadoutBlockState {
|
|
120
|
+
hintedZeros?: boolean;
|
|
121
|
+
/** Longest value string to reserve width for; see {@link ReadoutValueOptions.spaceReserver}. */
|
|
122
|
+
spaceReserver?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface ReadoutReserverOptions {
|
|
125
|
+
/** Longest expected string to reserve width for (aligns multiple rows), e.g. `"miles"`. */
|
|
126
|
+
spaceReserver?: string;
|
|
127
|
+
}
|
|
128
|
+
export interface ReadoutSrcOptions extends ReadoutBlockState {
|
|
129
|
+
/** Longest expected source string to reserve width for; see {@link ReadoutReserverOptions.spaceReserver}. */
|
|
130
|
+
spaceReserver?: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* `<obc-readout-list-item>` – A compact, dense readout row for lists and tables.
|
|
28
134
|
*
|
|
29
|
-
* Renders a
|
|
135
|
+
* Renders a label, an optional source, an optional unit, and up to three
|
|
136
|
+
* cap-height "readout building blocks" – advice, setpoint, and value – each a
|
|
137
|
+
* fixed-width-reservable numeric segment. Dynamic data is passed as top-level
|
|
138
|
+
* primitives (`value`, `setpoint`, `advice`, `label`, `unit`, `src`). Global
|
|
139
|
+
* layout/format is configured via top-level props (`size`, `priority`,
|
|
140
|
+
* `stacking`, `hasDegree`, `dataQuality`, `alert`, …) and per-block tweaks via one
|
|
141
|
+
* object per block (`valueOptions`, `setpointOptions`, `adviceOptions`,
|
|
142
|
+
* `unitOptions`, `srcOptions`).
|
|
30
143
|
*
|
|
31
144
|
* ### Features
|
|
32
|
-
* - **
|
|
33
|
-
* -
|
|
34
|
-
* - **
|
|
35
|
-
* - **
|
|
36
|
-
* - **
|
|
37
|
-
*
|
|
145
|
+
* - **Building blocks:** value, optional setpoint, and optional advice segments,
|
|
146
|
+
* each cap-height-aligned and able to reserve a stable width.
|
|
147
|
+
* - **Sizes:** `small`, `medium`, `large` density scales.
|
|
148
|
+
* - **Stacking:** `trailing-unit`, `leading-unit`, `leading-src` placement.
|
|
149
|
+
* - **Priority:** `regular`/`enhanced` colour emphasis; per-value `weight`
|
|
150
|
+
* (`regular`/`semibold`/`bold`) is independent of colour.
|
|
151
|
+
* - **Setpoint flip-flop:** swaps emphasis between value and setpoint as the
|
|
152
|
+
* value reaches the setpoint.
|
|
153
|
+
* - **Data quality:** `low-integrity`/`invalid` styling, combinable with `alert`.
|
|
154
|
+
* - **Alert frame:** optional `alert` wrapper (caution/warning/alarm/level).
|
|
155
|
+
* - **Clickable:** optionally rendered as a focusable button with `squared`,
|
|
156
|
+
* `round-corners`, or `round` corners.
|
|
157
|
+
* - **Formatting:** shared `fractionDigits`, width reservation via `maxDigits`
|
|
158
|
+
* and per-segment `hintedZeros`; a `null` value renders a dash (`-`).
|
|
38
159
|
*
|
|
39
160
|
* ### Usage Guidelines
|
|
40
|
-
* Use
|
|
161
|
+
* Use for dense readout rows in lists/tables. Prefer `<obc-readout>` for rich
|
|
162
|
+
* multi-segment instrument layouts, source pickers, or flyout behaviour.
|
|
163
|
+
*
|
|
164
|
+
* @experimental This component is the pilot for the new primitives + per-block
|
|
165
|
+
* options Readout API; its API may change in a future release.
|
|
41
166
|
*
|
|
42
167
|
* ### Slots
|
|
43
|
-
* | Slot Name | Renders When
|
|
44
|
-
*
|
|
45
|
-
* | leading-icon | `hasLeadingIcon`
|
|
46
|
-
* | value-icon | `
|
|
168
|
+
* | Slot Name | Renders When | Purpose |
|
|
169
|
+
* |---------------|-------------------------------|------------------------------------------|
|
|
170
|
+
* | leading-icon | `hasLeadingIcon` | Icon before the label. |
|
|
171
|
+
* | value-icon | `valueOptions.hasIcon` | Icon before the value. |
|
|
172
|
+
* | setpoint-icon | `hasSetpoint` | Overrides the default setpoint icon. |
|
|
173
|
+
* | advice-icon | `hasAdvice` | Overrides the default advice icon. |
|
|
47
174
|
*
|
|
48
|
-
* @slot leading-icon -
|
|
49
|
-
* @slot value-icon -
|
|
175
|
+
* @slot leading-icon - Icon before the label.
|
|
176
|
+
* @slot value-icon - Icon before the value.
|
|
177
|
+
* @slot setpoint-icon - Overrides the default setpoint icon.
|
|
178
|
+
* @slot advice-icon - Overrides the default advice icon.
|
|
50
179
|
*/
|
|
51
180
|
export declare class ObcReadoutListItem extends LitElement {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
src: string;
|
|
60
|
-
value: number | undefined;
|
|
61
|
-
setpointValue: number | undefined;
|
|
181
|
+
label?: string;
|
|
182
|
+
unit?: string;
|
|
183
|
+
src?: string;
|
|
184
|
+
hasValue: boolean;
|
|
185
|
+
value: number | null;
|
|
186
|
+
/** Render the value as the literal "OFF" (e.g. equipment powered down). Affects the value only. */
|
|
187
|
+
off: boolean;
|
|
62
188
|
hasSetpoint: boolean;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
189
|
+
/** @availableWhen hasSetpoint==true */
|
|
190
|
+
setpoint?: number;
|
|
191
|
+
hasAdvice: boolean;
|
|
192
|
+
/** @availableWhen hasAdvice==true */
|
|
193
|
+
advice?: number;
|
|
194
|
+
size?: ReadoutListItemSize;
|
|
195
|
+
priority?: ReadoutListItemPriority;
|
|
196
|
+
stacking?: ReadoutListItemStacking;
|
|
197
|
+
clickable: boolean | ReadoutListItemClickable;
|
|
67
198
|
hasLeadingIcon: boolean;
|
|
68
|
-
|
|
199
|
+
hasDegree: boolean;
|
|
200
|
+
hasDegreeSpacer: boolean;
|
|
69
201
|
fractionDigits: number;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
private
|
|
80
|
-
private
|
|
81
|
-
private
|
|
82
|
-
private get
|
|
83
|
-
private get
|
|
84
|
-
private get
|
|
202
|
+
maxDigits: number;
|
|
203
|
+
dataQuality?: ReadoutListItemDataQuality;
|
|
204
|
+
alert: boolean | AlertFrameConfig;
|
|
205
|
+
valueOptions?: ReadoutValueOptions;
|
|
206
|
+
setpointOptions?: ReadoutSetpointOptions;
|
|
207
|
+
adviceOptions?: ReadoutAdviceOptions;
|
|
208
|
+
unitOptions?: ReadoutReserverOptions;
|
|
209
|
+
srcOptions?: ReadoutSrcOptions;
|
|
210
|
+
/** Pop-up deferred-hide phase for the setpoint (see {@link updated}). */
|
|
211
|
+
private deferredSetpointHidePhase;
|
|
212
|
+
private deferredSetpointHideTimer?;
|
|
213
|
+
private hasCompletedFirstUpdate;
|
|
214
|
+
private get resolvedSize();
|
|
215
|
+
private get resolvedStacking();
|
|
216
|
+
private get resolvedPriority();
|
|
217
|
+
private get resolvedFractionDigits();
|
|
218
|
+
private get resolvedMaxDigits();
|
|
219
|
+
private get resolvedClickable();
|
|
220
|
+
private get isAtSetpoint();
|
|
221
|
+
private get resolvedSetpointInteraction();
|
|
222
|
+
private get isFlipFlop();
|
|
223
|
+
private get isPopUp();
|
|
224
|
+
private get setpointTouching();
|
|
225
|
+
/**
|
|
226
|
+
* The setpoint is rendered "emphasised" (primary size + SemiBold weight) when
|
|
227
|
+
* it is the focus of attention: while actively adjusting (`touching`), or while
|
|
228
|
+
* a flip-flop has the value away from the setpoint. Otherwise it is a secondary
|
|
229
|
+
* (smaller, regular-weight) reference next to the value.
|
|
230
|
+
*/
|
|
231
|
+
private get isSetpointEmphasized();
|
|
232
|
+
/**
|
|
233
|
+
* The row's enhanced (in-command) colour state, applied uniformly to BOTH the
|
|
234
|
+
* value and the setpoint — they are always either both neutral or both enhanced
|
|
235
|
+
* (never a blue setpoint next to a grey value). Driven by `priority` only;
|
|
236
|
+
* `valueOptions.weight` changes weight, not colour.
|
|
237
|
+
*/
|
|
238
|
+
private get rowEnhanced();
|
|
239
|
+
/** Primary value-typography size for the current density tier. */
|
|
240
|
+
private get primarySize();
|
|
241
|
+
/** Secondary (de-emphasised) value-typography size for the current density tier. */
|
|
242
|
+
private get secondarySize();
|
|
243
|
+
private get valueSize();
|
|
244
|
+
private get setpointSize();
|
|
245
|
+
/** Value font weight passes straight to obc-textbox; regular when unset. Colour is separate. */
|
|
246
|
+
private get valueWeight();
|
|
247
|
+
/** Setpoint is SemiBold only while emphasised, otherwise regular weight. */
|
|
248
|
+
private get setpointWeight();
|
|
249
|
+
private numericFormatOptions;
|
|
250
|
+
/** Widest possible value string for width reservation (e.g. `"000.0"`). */
|
|
251
|
+
private get reserverText();
|
|
252
|
+
/**
|
|
253
|
+
* Effective width reserver for a numeric block: the wider of the explicit
|
|
254
|
+
* `spaceReserver` and the `maxDigits`/`fractionDigits`-derived reserve, so an
|
|
255
|
+
* explicit reserver can never reserve *less* than the formatted value needs.
|
|
256
|
+
* Under tabular-nums the rendered width is proportional to character count, so
|
|
257
|
+
* "wider" compares string length.
|
|
258
|
+
*/
|
|
259
|
+
private widerReserver;
|
|
260
|
+
/** classMap fragment for a block / source carrying per-block data quality. */
|
|
261
|
+
private dataQualityClasses;
|
|
262
|
+
private renderIcon;
|
|
263
|
+
private renderBlock;
|
|
264
|
+
/**
|
|
265
|
+
* A cap-height `°` column whose width scales with the value size. Used after
|
|
266
|
+
* the value (as the value↔unit boundary, via {@link renderValueUnitGap}) and
|
|
267
|
+
* inside the setpoint / advice blocks. `inherit` makes the glyph take the
|
|
268
|
+
* surrounding block's colour (setpoint/advice); otherwise it uses the value
|
|
269
|
+
* colour, optionally `enhanced`.
|
|
270
|
+
*/
|
|
271
|
+
private renderDegreeGlyph;
|
|
272
|
+
/**
|
|
273
|
+
* The gap rendered between the value digits and the unit.
|
|
274
|
+
*
|
|
275
|
+
* - `hasDegree`: a cap-height `°` column whose width scales with the value
|
|
276
|
+
* size (the `°` replaces the default gap).
|
|
277
|
+
* - otherwise: the default 2px gap (only when a trailing unit follows).
|
|
278
|
+
*
|
|
279
|
+
* `hasDegreeSpacer` deliberately does NOT add anything here — it keeps the 2px
|
|
280
|
+
* gap and instead widens the unit column via {@link renderDegreeSpacer} (a
|
|
281
|
+
* spacer AFTER the unit). That way a non-degree row's value digits stay
|
|
282
|
+
* aligned with degree rows (degree column width = spacer width + 2px gap)
|
|
283
|
+
* while its unit shifts left. Mirrors Figma `1:2920` (spacer) / `1:2970`
|
|
284
|
+
* (degree).
|
|
285
|
+
*
|
|
286
|
+
* TODO(designer): cross-size alignment is deferred. Degree rows of different
|
|
287
|
+
* value sizes have different `°` column widths (6/8/12px), so their value digit
|
|
288
|
+
* edges stagger by `degree-width`. For degree rows of mixed sizes you cannot
|
|
289
|
+
* align the value digit edges AND keep the unit column aligned — resolving it
|
|
290
|
+
* needs a design decision (a constant degree reserve, which widens the smaller
|
|
291
|
+
* rows' `°`, OR pinning the value edge and letting the unit column stagger).
|
|
292
|
+
*/
|
|
293
|
+
private renderValueUnitGap;
|
|
294
|
+
/**
|
|
295
|
+
* A spacer rendered AFTER the unit when `hasDegreeSpacer` is set on a
|
|
296
|
+
* non-degree row. Its width (`degree-compensation-padding`) = the degree
|
|
297
|
+
* column width minus the 2px gap, so the row's value digits align with degree
|
|
298
|
+
* rows in the same column while its unit shifts left. See
|
|
299
|
+
* {@link renderValueUnitGap}.
|
|
300
|
+
*/
|
|
301
|
+
private renderDegreeSpacer;
|
|
302
|
+
private renderTextbox;
|
|
303
|
+
private renderValueCluster;
|
|
85
304
|
private renderLabelContainer;
|
|
86
|
-
private renderValueIconSlot;
|
|
87
|
-
private renderSetpoint;
|
|
88
|
-
private renderActualValue;
|
|
89
|
-
private renderValue;
|
|
90
305
|
private renderTrailingUnit;
|
|
91
306
|
private renderTrailingSource;
|
|
307
|
+
private renderContent;
|
|
308
|
+
updated(changed: Map<string, unknown>): void;
|
|
309
|
+
private clearDeferredSetpointHide;
|
|
310
|
+
disconnectedCallback(): void;
|
|
92
311
|
render(): import('lit-html').HTMLTemplateResult;
|
|
93
312
|
static styles: import('lit').CSSResult;
|
|
94
313
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readout-list-item.d.ts","sourceRoot":"","sources":["../../../src/navigation-instruments/readout-list-item/readout-list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"readout-list-item.d.ts","sourceRoot":"","sources":["../../../src/navigation-instruments/readout-list-item/readout-list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAgD,MAAM,KAAK,CAAC;AAK9E,OAAO,qCAAqC,CAAC;AAC7C,OAAO,EAEL,oBAAoB,EACrB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,iCAAiC,CAAC;AACzC,OAAO,yCAAyC,CAAC;AAMjD,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,6CAA6C,CAAC;AAKrD,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AAEzE;;;;;GAKG;AACH,oBAAY,mBAAmB;IAC7B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED;;;;;GAKG;AACH,oBAAY,uBAAuB;IACjC,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;CAC3B;AAED;;;;GAIG;AACH,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED;;;GA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