@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.
@@ -64954,7 +64954,7 @@
64954
64954
  "declarations": [
64955
64955
  {
64956
64956
  "kind": "class",
64957
- "description": "`<obc-textbox>` – A text container that renders inline text at a\nprecise, cap-height-trimmed size with configurable alignment and reservable\nwidth.\n\nUse it to present short, read-only strings – such as values, labels, or\nunits – where vertical metrics must line up exactly across rows and the\nhorizontal footprint should stay stable while the text changes (for example\na numeric value that updates frequently). Synonyms: text container, value\nbox, label box.\n\n## Features / Variants\n- **Size:** `xs`, `s`, `m` (default), `l`, `xl` – each maps to a fixed box\n height (16 / 20 / 24 / 32 / 40 px) with 4px padding above and below, giving\n cap heights of 8 / 12 / 16 / 24 / 32 px so text aligns to a predictable\n grid.\n- **Font weight:** `regular` (default), `semibold`, `bold`.\n- **Alignment:** `left`, `center`, `right` (default) – positions the text\n within the box's width when the box is wider than the content.\n- **Reserved width:** content placed in the `length` slot reserves a minimum\n width invisibly, so the box does not resize as the visible text changes.\n The box always shows all content – it never crops.\n\n## Usage Guidelines\n- Pass the longest expected string to the `length` slot (e.g. `\"888.8\"` or\n `\"Wind speed\"`) so the box reserves space and does not jump in width as the\n visible value updates.\n- This is a display primitive for static text – use an input component for\n editable values.\n\n## Slots\n| Slot | Renders when… | Purpose |\n|-----------|--------------------|------------------------------------------------------|\n| (default) | Always | The visible text content. |\n| `length` | Always (invisible) | Reserves a minimum width based on its content width. |",
64957
+ "description": "`<obc-textbox>` – A text container that renders inline text at a\nprecise, cap-height-trimmed size with configurable alignment and reservable\nwidth.\n\nUse it to present short, read-only strings – such as values, labels, or\nunits – where vertical metrics must line up exactly across rows and the\nhorizontal footprint should stay stable while the text changes (for example\na numeric value that updates frequently). Synonyms: text container, value\nbox, label box.\n\n## Features / Variants\n- **Size:** `xs`, `s`, `m` (default), `l`, `xl` – each maps to a fixed box\n height (16 / 20 / 24 / 32 / 40 px) with 4px padding above and below, giving\n cap heights of 8 / 12 / 16 / 24 / 32 px so text aligns to a predictable\n grid.\n- **Font weight:** `regular` (default), `semibold`, `bold`.\n- **Tabular numbers:** `tabularNums` (default off) renders digits as\n fixed-width, lining numerals (`tabular-nums lining-nums` + the `ss04`/`tnum`/\n `lnum` features) so numeric values stay column-aligned and stable in width\n as they update – use it for readouts and other live numeric displays.\n- **Alignment:** `left`, `center`, `right` (default) – positions the text\n within the box's width when the box is wider than the content.\n- **Reserved width:** content placed in the `length` slot reserves a minimum\n width invisibly, so the box does not resize as the visible text changes.\n The box always shows all content – it never crops.\n\n## Usage Guidelines\n- Pass the longest expected string to the `length` slot (e.g. `\"888.8\"` or\n `\"Wind speed\"`) so the box reserves space and does not jump in width as the\n visible value updates.\n- This is a display primitive for static text – use an input component for\n editable values.\n\n## Slots\n| Slot | Renders when… | Purpose |\n|-----------|--------------------|------------------------------------------------------|\n| (default) | Always | The visible text content. |\n| `length` | Always (invisible) | Reserves a minimum width based on its content width. |",
64958
64958
  "name": "ObcTextbox",
64959
64959
  "slots": [
64960
64960
  {
@@ -64990,6 +64990,15 @@
64990
64990
  "text": "ObcTextboxFontWeight"
64991
64991
  },
64992
64992
  "attribute": "fontWeight"
64993
+ },
64994
+ {
64995
+ "kind": "field",
64996
+ "name": "tabularNums",
64997
+ "type": {
64998
+ "text": "boolean"
64999
+ },
65000
+ "default": "false",
65001
+ "attribute": "tabularNums"
64993
65002
  }
64994
65003
  ],
64995
65004
  "attributes": [
@@ -65013,6 +65022,14 @@
65013
65022
  "text": "ObcTextboxFontWeight"
65014
65023
  },
65015
65024
  "fieldName": "fontWeight"
65025
+ },
65026
+ {
65027
+ "name": "tabularNums",
65028
+ "type": {
65029
+ "text": "boolean"
65030
+ },
65031
+ "default": "false",
65032
+ "fieldName": "tabularNums"
65016
65033
  }
65017
65034
  ],
65018
65035
  "superclass": {
@@ -85157,167 +85174,171 @@
85157
85174
  "declarations": [
85158
85175
  {
85159
85176
  "kind": "class",
85160
- "description": "`<obc-readout-list-item>` – A compact inline readout row for lists.\n\nRenders a compact label/value/unit composition with a dedicated size scale and stacking modes for unit and source placement. Use it when you need dense, consistent readout rows in tables or lists without bringing in the full `<obc-readout>` segment layout.\n\n### Features\n- **Sizes:** `base`, `priority`, and `enhanced` typography/padding scales.\n- **Stacking modes:** `trailing-unit`, `leading-unit`, and `leading-src` control where unit/source appear relative to the label/value.\n- **Priority styling:** `priority` controls emphasis and setpoint presentation (`regular`, `enhanced`, `setpoint`, `setpoint-flip-flop`).\n- **Data states:** Supports `dataState` styling for `low-integrity` and `invalid` data quality.\n- **Alert frame:** Optional `alert` wrapper for caution, warning, alarm, and other alert-frame statuses.\n- **Formatting:** Supports numeric formatting, fixed-length width templates, hinted zeros, and optional degree suffix (`°`).\n\n### Usage Guidelines\nUse this component for dense readouts in list contexts. Prefer `<obc-readout>` when you need multi-segment advice/setpoint/source composition, rich layouts, or source picker/flyout behavior.\n\n### Slots\n| Slot Name | Renders When | Purpose |\n|---------------|--------------------------|---------|\n| leading-icon | `hasLeadingIcon` is true | Optional leading icon before the label. |\n| value-icon | `hasValueIcon` is true | Optional icon next to the value. |",
85177
+ "description": "`<obc-readout-list-item>` – A compact, dense readout row for lists and tables.\n\nRenders a label, an optional source, an optional unit, and up to three\ncap-height \"readout building blocks\" – advice, setpoint, and value – each a\nfixed-width-reservable numeric segment. Dynamic data is passed as top-level\nprimitives (`value`, `setpoint`, `advice`, `label`, `unit`, `src`). Global\nlayout/format is configured via top-level props (`size`, `priority`,\n`stacking`, `hasDegree`, `dataQuality`, `alert`, …) and per-block tweaks via one\nobject per block (`valueOptions`, `setpointOptions`, `adviceOptions`,\n`unitOptions`, `srcOptions`).\n\n### Features\n- **Building blocks:** value, optional setpoint, and optional advice segments,\n each cap-height-aligned and able to reserve a stable width.\n- **Sizes:** `small`, `medium`, `large` density scales.\n- **Stacking:** `trailing-unit`, `leading-unit`, `leading-src` placement.\n- **Priority:** `regular`/`enhanced` colour emphasis; per-value `weight`\n (`regular`/`semibold`/`bold`) is independent of colour.\n- **Setpoint flip-flop:** swaps emphasis between value and setpoint as the\n value reaches the setpoint.\n- **Data quality:** `low-integrity`/`invalid` styling, combinable with `alert`.\n- **Alert frame:** optional `alert` wrapper (caution/warning/alarm/level).\n- **Clickable:** optionally rendered as a focusable button with `squared`,\n `round-corners`, or `round` corners.\n- **Formatting:** shared `fractionDigits`, width reservation via `maxDigits`\n and per-segment `hintedZeros`; a `null` value renders a dash (`-`).\n\n### Usage Guidelines\nUse for dense readout rows in lists/tables. Prefer `<obc-readout>` for rich\nmulti-segment instrument layouts, source pickers, or flyout behaviour.",
85161
85178
  "name": "ObcReadoutListItem",
85162
85179
  "slots": [
85163
85180
  {
85164
- "description": "Optional leading icon before the label.",
85181
+ "description": "Icon before the label.",
85165
85182
  "name": "leading-icon"
85166
85183
  },
85167
85184
  {
85168
- "description": "Optional icon next to the value.",
85185
+ "description": "Icon before the value.",
85169
85186
  "name": "value-icon"
85187
+ },
85188
+ {
85189
+ "description": "Overrides the default setpoint icon.",
85190
+ "name": "setpoint-icon"
85191
+ },
85192
+ {
85193
+ "description": "Overrides the default advice icon.",
85194
+ "name": "advice-icon"
85170
85195
  }
85171
85196
  ],
85172
85197
  "members": [
85173
85198
  {
85174
85199
  "kind": "field",
85175
- "name": "size",
85200
+ "name": "label",
85176
85201
  "type": {
85177
- "text": "ReadoutListItemSize"
85202
+ "text": "string | undefined"
85178
85203
  },
85179
- "attribute": "size"
85204
+ "attribute": "label"
85180
85205
  },
85181
85206
  {
85182
85207
  "kind": "field",
85183
- "name": "stacking",
85208
+ "name": "unit",
85184
85209
  "type": {
85185
- "text": "ReadoutListItemStacking"
85210
+ "text": "string | undefined"
85186
85211
  },
85187
- "attribute": "stacking"
85212
+ "attribute": "unit"
85188
85213
  },
85189
85214
  {
85190
85215
  "kind": "field",
85191
- "name": "priority",
85216
+ "name": "src",
85192
85217
  "type": {
85193
- "text": "ReadoutListItemPriority"
85218
+ "text": "string | undefined"
85194
85219
  },
85195
- "attribute": "priority"
85220
+ "attribute": "src"
85196
85221
  },
85197
85222
  {
85198
85223
  "kind": "field",
85199
- "name": "dataState",
85224
+ "name": "hasValue",
85200
85225
  "type": {
85201
- "text": "ReadoutListItemDataState"
85226
+ "text": "boolean"
85202
85227
  },
85203
- "attribute": "dataState"
85228
+ "default": "true"
85204
85229
  },
85205
85230
  {
85206
85231
  "kind": "field",
85207
- "name": "alert",
85232
+ "name": "value",
85208
85233
  "type": {
85209
- "text": "AlertFrameConfig | boolean"
85234
+ "text": "number | null"
85210
85235
  },
85211
- "default": "false",
85212
- "attribute": "alert"
85236
+ "default": "null",
85237
+ "attribute": "value"
85213
85238
  },
85214
85239
  {
85215
85240
  "kind": "field",
85216
- "name": "label",
85241
+ "name": "off",
85217
85242
  "type": {
85218
- "text": "string"
85243
+ "text": "boolean"
85219
85244
  },
85220
- "default": "''",
85221
- "attribute": "label"
85245
+ "default": "false",
85246
+ "description": "Render the value as the literal \"OFF\" (e.g. equipment powered down). Affects the value only.",
85247
+ "attribute": "off"
85222
85248
  },
85223
85249
  {
85224
85250
  "kind": "field",
85225
- "name": "unit",
85251
+ "name": "hasSetpoint",
85226
85252
  "type": {
85227
- "text": "string"
85253
+ "text": "boolean"
85228
85254
  },
85229
- "default": "''",
85230
- "attribute": "unit"
85255
+ "default": "false",
85256
+ "attribute": "hasSetpoint"
85231
85257
  },
85232
85258
  {
85233
85259
  "kind": "field",
85234
- "name": "src",
85260
+ "name": "setpoint",
85235
85261
  "type": {
85236
- "text": "string"
85262
+ "text": "number | undefined"
85237
85263
  },
85238
- "default": "''",
85239
- "attribute": "src"
85264
+ "attribute": "setpoint"
85240
85265
  },
85241
85266
  {
85242
85267
  "kind": "field",
85243
- "name": "value",
85268
+ "name": "hasAdvice",
85244
85269
  "type": {
85245
- "text": "number | undefined"
85270
+ "text": "boolean"
85246
85271
  },
85247
- "default": "undefined",
85248
- "attribute": "value"
85272
+ "default": "false",
85273
+ "attribute": "hasAdvice"
85249
85274
  },
85250
85275
  {
85251
85276
  "kind": "field",
85252
- "name": "setpointValue",
85277
+ "name": "advice",
85253
85278
  "type": {
85254
85279
  "text": "number | undefined"
85255
85280
  },
85256
- "default": "undefined",
85257
- "attribute": "setpointValue"
85281
+ "attribute": "advice"
85258
85282
  },
85259
85283
  {
85260
85284
  "kind": "field",
85261
- "name": "hasSetpoint",
85285
+ "name": "size",
85262
85286
  "type": {
85263
- "text": "boolean"
85287
+ "text": "ReadoutListItemSize | undefined"
85264
85288
  },
85265
- "default": "false",
85266
- "attribute": "hasSetpoint"
85289
+ "attribute": "size"
85267
85290
  },
85268
85291
  {
85269
85292
  "kind": "field",
85270
- "name": "hasDegree",
85293
+ "name": "priority",
85271
85294
  "type": {
85272
- "text": "boolean"
85295
+ "text": "ReadoutListItemPriority | undefined"
85273
85296
  },
85274
- "default": "false",
85275
- "attribute": "hasDegree"
85297
+ "attribute": "priority"
85276
85298
  },
85277
85299
  {
85278
85300
  "kind": "field",
85279
- "name": "hasUnit",
85301
+ "name": "stacking",
85280
85302
  "type": {
85281
- "text": "boolean"
85303
+ "text": "ReadoutListItemStacking | undefined"
85282
85304
  },
85283
- "default": "false",
85284
- "attribute": "hasUnit"
85305
+ "attribute": "stacking"
85285
85306
  },
85286
85307
  {
85287
85308
  "kind": "field",
85288
- "name": "hasLabel",
85309
+ "name": "clickable",
85289
85310
  "type": {
85290
- "text": "boolean"
85311
+ "text": "boolean | ReadoutListItemClickable"
85291
85312
  },
85292
85313
  "default": "false",
85293
- "attribute": "hasLabel"
85314
+ "attribute": "clickable"
85294
85315
  },
85295
85316
  {
85296
85317
  "kind": "field",
85297
- "name": "hasSource",
85318
+ "name": "hasLeadingIcon",
85298
85319
  "type": {
85299
85320
  "text": "boolean"
85300
85321
  },
85301
85322
  "default": "false",
85302
- "attribute": "hasSource"
85323
+ "attribute": "hasLeadingIcon"
85303
85324
  },
85304
85325
  {
85305
85326
  "kind": "field",
85306
- "name": "hasLeadingIcon",
85327
+ "name": "hasDegree",
85307
85328
  "type": {
85308
85329
  "text": "boolean"
85309
85330
  },
85310
85331
  "default": "false",
85311
- "attribute": "hasLeadingIcon"
85332
+ "attribute": "hasDegree"
85312
85333
  },
85313
85334
  {
85314
85335
  "kind": "field",
85315
- "name": "hasValueIcon",
85336
+ "name": "hasDegreeSpacer",
85316
85337
  "type": {
85317
85338
  "text": "boolean"
85318
85339
  },
85319
85340
  "default": "false",
85320
- "attribute": "hasValueIcon"
85341
+ "attribute": "hasDegreeSpacer"
85321
85342
  },
85322
85343
  {
85323
85344
  "kind": "field",
@@ -85330,115 +85351,154 @@
85330
85351
  },
85331
85352
  {
85332
85353
  "kind": "field",
85333
- "name": "showZeroPadding",
85354
+ "name": "maxDigits",
85334
85355
  "type": {
85335
- "text": "boolean"
85356
+ "text": "number"
85336
85357
  },
85337
- "default": "false",
85338
- "attribute": "showZeroPadding"
85358
+ "default": "0",
85359
+ "attribute": "maxDigits"
85339
85360
  },
85340
85361
  {
85341
85362
  "kind": "field",
85342
- "name": "minValueLength",
85363
+ "name": "dataQuality",
85343
85364
  "type": {
85344
- "text": "number"
85365
+ "text": "ReadoutListItemDataQuality | undefined"
85345
85366
  },
85346
- "default": "0",
85347
- "attribute": "minValueLength"
85367
+ "attribute": "dataQuality"
85348
85368
  },
85349
85369
  {
85350
85370
  "kind": "field",
85351
- "name": "hasHintedZeros",
85371
+ "name": "alert",
85352
85372
  "type": {
85353
- "text": "boolean"
85373
+ "text": "boolean | AlertFrameConfig"
85354
85374
  },
85355
85375
  "default": "false",
85356
- "attribute": "hasHintedZeros"
85376
+ "attribute": "alert"
85357
85377
  },
85358
85378
  {
85359
85379
  "kind": "field",
85360
- "name": "labelOnly",
85380
+ "name": "valueOptions",
85361
85381
  "type": {
85362
- "text": "boolean"
85382
+ "text": "ReadoutValueOptions | undefined"
85363
85383
  },
85364
- "default": "false",
85365
- "attribute": "labelOnly"
85384
+ "attribute": "valueOptions"
85366
85385
  },
85367
85386
  {
85368
85387
  "kind": "field",
85369
- "name": "resolvedMainValueSize",
85388
+ "name": "setpointOptions",
85370
85389
  "type": {
85371
- "text": "ReadoutSetpointSize"
85390
+ "text": "ReadoutSetpointOptions | undefined"
85391
+ },
85392
+ "attribute": "setpointOptions"
85393
+ },
85394
+ {
85395
+ "kind": "field",
85396
+ "name": "adviceOptions",
85397
+ "type": {
85398
+ "text": "ReadoutAdviceOptions | undefined"
85399
+ },
85400
+ "attribute": "adviceOptions"
85401
+ },
85402
+ {
85403
+ "kind": "field",
85404
+ "name": "unitOptions",
85405
+ "type": {
85406
+ "text": "ReadoutReserverOptions | undefined"
85407
+ },
85408
+ "attribute": "unitOptions"
85409
+ },
85410
+ {
85411
+ "kind": "field",
85412
+ "name": "srcOptions",
85413
+ "type": {
85414
+ "text": "ReadoutSrcOptions | undefined"
85415
+ },
85416
+ "attribute": "srcOptions"
85417
+ },
85418
+ {
85419
+ "kind": "field",
85420
+ "name": "deferredSetpointHidePhase",
85421
+ "type": {
85422
+ "text": "'none' | 'hiding' | 'hidden'"
85372
85423
  },
85373
85424
  "privacy": "private",
85374
- "readonly": true
85425
+ "default": "'none'",
85426
+ "description": "Pop-up deferred-hide phase for the setpoint (see updated)."
85375
85427
  },
85376
85428
  {
85377
85429
  "kind": "field",
85378
- "name": "resolvedValueSize",
85430
+ "name": "deferredSetpointHideTimer",
85379
85431
  "type": {
85380
- "text": "ReadoutSetpointSize"
85432
+ "text": "number | undefined"
85433
+ },
85434
+ "privacy": "private"
85435
+ },
85436
+ {
85437
+ "kind": "field",
85438
+ "name": "hasCompletedFirstUpdate",
85439
+ "type": {
85440
+ "text": "boolean"
85381
85441
  },
85382
85442
  "privacy": "private",
85383
- "readonly": true
85443
+ "default": "false"
85384
85444
  },
85385
85445
  {
85386
85446
  "kind": "field",
85387
- "name": "resolvedValueTypography",
85447
+ "name": "resolvedSize",
85388
85448
  "type": {
85389
- "text": "| ReadoutSetpointValueTypography\n | undefined"
85449
+ "text": "ReadoutListItemSize"
85390
85450
  },
85391
85451
  "privacy": "private",
85392
85452
  "readonly": true
85393
85453
  },
85394
85454
  {
85395
85455
  "kind": "field",
85396
- "name": "resolvedSetpointSize",
85456
+ "name": "resolvedStacking",
85397
85457
  "type": {
85398
- "text": "ReadoutSetpointSize"
85458
+ "text": "ReadoutListItemStacking"
85399
85459
  },
85400
85460
  "privacy": "private",
85401
85461
  "readonly": true
85402
85462
  },
85403
85463
  {
85404
85464
  "kind": "field",
85405
- "name": "resolvedActualPriority",
85465
+ "name": "resolvedPriority",
85406
85466
  "type": {
85407
- "text": "Priority"
85467
+ "text": "ReadoutListItemPriority"
85408
85468
  },
85409
85469
  "privacy": "private",
85410
85470
  "readonly": true
85411
85471
  },
85412
85472
  {
85413
85473
  "kind": "field",
85414
- "name": "resolvedActualMode",
85474
+ "name": "resolvedFractionDigits",
85415
85475
  "type": {
85416
- "text": "ReadoutSetpointMode"
85476
+ "text": "number"
85417
85477
  },
85418
85478
  "privacy": "private",
85419
85479
  "readonly": true
85420
85480
  },
85421
85481
  {
85422
85482
  "kind": "field",
85423
- "name": "resolvedSetpointPriority",
85483
+ "name": "resolvedMaxDigits",
85424
85484
  "type": {
85425
- "text": "Priority"
85485
+ "text": "number"
85426
85486
  },
85427
85487
  "privacy": "private",
85428
85488
  "readonly": true
85429
85489
  },
85430
85490
  {
85431
85491
  "kind": "field",
85432
- "name": "resolvedSetpointMode",
85492
+ "name": "resolvedClickable",
85433
85493
  "type": {
85434
- "text": "ReadoutSetpointMode"
85494
+ "text": "false | Required<ReadoutListItemClickable>"
85435
85495
  },
85436
85496
  "privacy": "private",
85437
85497
  "readonly": true
85438
85498
  },
85439
85499
  {
85440
85500
  "kind": "field",
85441
- "name": "showsTrailingSource",
85501
+ "name": "isAtSetpoint",
85442
85502
  "type": {
85443
85503
  "text": "boolean"
85444
85504
  },
@@ -85447,16 +85507,16 @@
85447
85507
  },
85448
85508
  {
85449
85509
  "kind": "field",
85450
- "name": "stacksLeadingUnitVertically",
85510
+ "name": "resolvedSetpointInteraction",
85451
85511
  "type": {
85452
- "text": "boolean"
85512
+ "text": "ReadoutListItemSetpointInteraction"
85453
85513
  },
85454
85514
  "privacy": "private",
85455
85515
  "readonly": true
85456
85516
  },
85457
85517
  {
85458
85518
  "kind": "field",
85459
- "name": "stacksLeadingSrcVertically",
85519
+ "name": "isFlipFlop",
85460
85520
  "type": {
85461
85521
  "text": "boolean"
85462
85522
  },
@@ -85464,117 +85524,394 @@
85464
85524
  "readonly": true
85465
85525
  },
85466
85526
  {
85467
- "kind": "method",
85468
- "name": "renderLabelContainer",
85469
- "privacy": "private"
85470
- },
85471
- {
85472
- "kind": "method",
85473
- "name": "renderValueIconSlot",
85474
- "privacy": "private"
85475
- },
85476
- {
85477
- "kind": "method",
85478
- "name": "renderSetpoint",
85479
- "privacy": "private"
85480
- },
85481
- {
85482
- "kind": "method",
85483
- "name": "renderActualValue",
85484
- "privacy": "private"
85485
- },
85486
- {
85487
- "kind": "method",
85488
- "name": "renderValue",
85489
- "privacy": "private"
85490
- },
85491
- {
85492
- "kind": "method",
85493
- "name": "renderTrailingUnit",
85494
- "privacy": "private"
85495
- },
85496
- {
85497
- "kind": "method",
85498
- "name": "renderTrailingSource",
85499
- "privacy": "private"
85500
- }
85501
- ],
85502
- "attributes": [
85503
- {
85504
- "name": "size",
85527
+ "kind": "field",
85528
+ "name": "isPopUp",
85505
85529
  "type": {
85506
- "text": "ReadoutListItemSize"
85530
+ "text": "boolean"
85507
85531
  },
85508
- "fieldName": "size"
85532
+ "privacy": "private",
85533
+ "readonly": true
85509
85534
  },
85510
85535
  {
85511
- "name": "stacking",
85536
+ "kind": "field",
85537
+ "name": "setpointTouching",
85512
85538
  "type": {
85513
- "text": "ReadoutListItemStacking"
85539
+ "text": "boolean"
85514
85540
  },
85515
- "fieldName": "stacking"
85541
+ "privacy": "private",
85542
+ "readonly": true
85516
85543
  },
85517
85544
  {
85518
- "name": "priority",
85545
+ "kind": "field",
85546
+ "name": "isSetpointEmphasized",
85519
85547
  "type": {
85520
- "text": "ReadoutListItemPriority"
85548
+ "text": "boolean"
85521
85549
  },
85522
- "fieldName": "priority"
85550
+ "privacy": "private",
85551
+ "description": "The setpoint is rendered \"emphasised\" (primary size + SemiBold weight) when\nit is the focus of attention: while actively adjusting (`touching`), or while\na flip-flop has the value away from the setpoint. Otherwise it is a secondary\n(smaller, regular-weight) reference next to the value.",
85552
+ "readonly": true
85523
85553
  },
85524
85554
  {
85525
- "name": "dataState",
85555
+ "kind": "field",
85556
+ "name": "rowEnhanced",
85526
85557
  "type": {
85527
- "text": "ReadoutListItemDataState"
85558
+ "text": "boolean"
85528
85559
  },
85529
- "fieldName": "dataState"
85560
+ "privacy": "private",
85561
+ "description": "The row's enhanced (in-command) colour state, applied uniformly to BOTH the\nvalue and the setpoint — they are always either both neutral or both enhanced\n(never a blue setpoint next to a grey value). Driven by `priority` only;\n`valueOptions.weight` changes weight, not colour.",
85562
+ "readonly": true
85530
85563
  },
85531
85564
  {
85532
- "name": "alert",
85565
+ "kind": "field",
85566
+ "name": "primarySize",
85533
85567
  "type": {
85534
- "text": "AlertFrameConfig | boolean"
85568
+ "text": "ObcTextboxSize"
85535
85569
  },
85536
- "default": "false",
85537
- "fieldName": "alert"
85570
+ "privacy": "private",
85571
+ "description": "Primary value-typography size for the current density tier.",
85572
+ "readonly": true
85538
85573
  },
85539
85574
  {
85540
- "name": "label",
85575
+ "kind": "field",
85576
+ "name": "secondarySize",
85541
85577
  "type": {
85542
- "text": "string"
85578
+ "text": "ObcTextboxSize"
85579
+ },
85580
+ "privacy": "private",
85581
+ "description": "Secondary (de-emphasised) value-typography size for the current density tier.",
85582
+ "readonly": true
85583
+ },
85584
+ {
85585
+ "kind": "field",
85586
+ "name": "valueSize",
85587
+ "type": {
85588
+ "text": "ObcTextboxSize"
85589
+ },
85590
+ "privacy": "private",
85591
+ "readonly": true
85592
+ },
85593
+ {
85594
+ "kind": "field",
85595
+ "name": "setpointSize",
85596
+ "type": {
85597
+ "text": "ObcTextboxSize"
85598
+ },
85599
+ "privacy": "private",
85600
+ "readonly": true
85601
+ },
85602
+ {
85603
+ "kind": "field",
85604
+ "name": "valueWeight",
85605
+ "type": {
85606
+ "text": "ObcTextboxFontWeight"
85607
+ },
85608
+ "privacy": "private",
85609
+ "description": "Value font weight passes straight to obc-textbox; regular when unset. Colour is separate.",
85610
+ "readonly": true
85611
+ },
85612
+ {
85613
+ "kind": "field",
85614
+ "name": "setpointWeight",
85615
+ "type": {
85616
+ "text": "ObcTextboxFontWeight"
85617
+ },
85618
+ "privacy": "private",
85619
+ "description": "Setpoint is SemiBold only while emphasised, otherwise regular weight.",
85620
+ "readonly": true
85621
+ },
85622
+ {
85623
+ "kind": "method",
85624
+ "name": "numericFormatOptions",
85625
+ "privacy": "private",
85626
+ "return": {
85627
+ "type": {
85628
+ "text": "ReadoutNumericFormatOptions"
85629
+ }
85630
+ },
85631
+ "parameters": [
85632
+ {
85633
+ "name": "maxDigits",
85634
+ "type": {
85635
+ "text": "number"
85636
+ }
85637
+ }
85638
+ ]
85639
+ },
85640
+ {
85641
+ "kind": "field",
85642
+ "name": "reserverText",
85643
+ "type": {
85644
+ "text": "string"
85645
+ },
85646
+ "privacy": "private",
85647
+ "description": "Widest possible value string for width reservation (e.g. `\"000.0\"`).",
85648
+ "readonly": true
85649
+ },
85650
+ {
85651
+ "kind": "method",
85652
+ "name": "widerReserver",
85653
+ "privacy": "private",
85654
+ "return": {
85655
+ "type": {
85656
+ "text": "string"
85657
+ }
85658
+ },
85659
+ "parameters": [
85660
+ {
85661
+ "name": "explicit",
85662
+ "type": {
85663
+ "text": "string | undefined"
85664
+ }
85665
+ },
85666
+ {
85667
+ "name": "derived",
85668
+ "type": {
85669
+ "text": "string"
85670
+ }
85671
+ }
85672
+ ],
85673
+ "description": "Effective width reserver for a numeric block: the wider of the explicit\n`spaceReserver` and the `maxDigits`/`fractionDigits`-derived reserve, so an\nexplicit reserver can never reserve *less* than the formatted value needs.\nUnder tabular-nums the rendered width is proportional to character count, so\n\"wider\" compares string length."
85674
+ },
85675
+ {
85676
+ "kind": "method",
85677
+ "name": "dataQualityClasses",
85678
+ "privacy": "private",
85679
+ "return": {
85680
+ "type": {
85681
+ "text": "Record<string, boolean>"
85682
+ }
85683
+ },
85684
+ "parameters": [
85685
+ {
85686
+ "name": "dataQuality",
85687
+ "type": {
85688
+ "text": "ReadoutListItemDataQuality | undefined"
85689
+ }
85690
+ }
85691
+ ],
85692
+ "description": "classMap fragment for a block / source carrying per-block data quality."
85693
+ },
85694
+ {
85695
+ "kind": "method",
85696
+ "name": "renderIcon",
85697
+ "privacy": "private",
85698
+ "return": {
85699
+ "type": {
85700
+ "text": "TemplateResult | typeof nothing"
85701
+ }
85702
+ },
85703
+ "parameters": [
85704
+ {
85705
+ "name": "role",
85706
+ "type": {
85707
+ "text": "BlockRole"
85708
+ }
85709
+ }
85710
+ ]
85711
+ },
85712
+ {
85713
+ "kind": "method",
85714
+ "name": "renderBlock",
85715
+ "privacy": "private",
85716
+ "return": {
85717
+ "type": {
85718
+ "text": "TemplateResult"
85719
+ }
85720
+ },
85721
+ "parameters": [
85722
+ {
85723
+ "name": "config",
85724
+ "type": {
85725
+ "text": "{\n role: BlockRole;\n value: number | null | undefined;\n size: ObcTextboxSize;\n enhanced: boolean;\n weight: ObcTextboxFontWeight;\n hintedZeros: boolean;\n spaceReserver?: string;\n off?: boolean;\n hasDegree?: boolean;\n extraClasses?: Record<string, boolean>;\n dataQuality?: ReadoutListItemDataQuality;\n alert?: false | AlertFrameConfig;\n }"
85726
+ }
85727
+ }
85728
+ ]
85729
+ },
85730
+ {
85731
+ "kind": "method",
85732
+ "name": "renderDegreeGlyph",
85733
+ "privacy": "private",
85734
+ "return": {
85735
+ "type": {
85736
+ "text": "TemplateResult"
85737
+ }
85738
+ },
85739
+ "parameters": [
85740
+ {
85741
+ "name": "size",
85742
+ "type": {
85743
+ "text": "ObcTextboxSize"
85744
+ }
85745
+ },
85746
+ {
85747
+ "name": "opts",
85748
+ "default": "{}",
85749
+ "type": {
85750
+ "text": "{enhanced?: boolean; inherit?: boolean}"
85751
+ }
85752
+ }
85753
+ ],
85754
+ "description": "A cap-height `°` column whose width scales with the value size. Used after\nthe value (as the value↔unit boundary, via renderValueUnitGap) and\ninside the setpoint / advice blocks. `inherit` makes the glyph take the\nsurrounding block's colour (setpoint/advice); otherwise it uses the value\ncolour, optionally `enhanced`."
85755
+ },
85756
+ {
85757
+ "kind": "method",
85758
+ "name": "renderValueUnitGap",
85759
+ "privacy": "private",
85760
+ "return": {
85761
+ "type": {
85762
+ "text": "TemplateResult | typeof nothing"
85763
+ }
85764
+ },
85765
+ "description": "The gap rendered between the value digits and the unit.\n\n- `hasDegree`: a cap-height `°` column whose width scales with the value\n size (the `°` replaces the default gap).\n- otherwise: the default 2px gap (only when a trailing unit follows).\n\n`hasDegreeSpacer` deliberately does NOT add anything here — it keeps the 2px\ngap and instead widens the unit column via renderDegreeSpacer (a\nspacer AFTER the unit). That way a non-degree row's value digits stay\naligned with degree rows (degree column width = spacer width + 2px gap)\nwhile its unit shifts left. Mirrors Figma `1:2920` (spacer) / `1:2970`\n(degree).\n\nTODO(designer): cross-size alignment is deferred. Degree rows of different\nvalue sizes have different `°` column widths (6/8/12px), so their value digit\nedges stagger by `degree-width`. For degree rows of mixed sizes you cannot\nalign the value digit edges AND keep the unit column aligned — resolving it\nneeds a design decision (a constant degree reserve, which widens the smaller\nrows' `°`, OR pinning the value edge and letting the unit column stagger)."
85766
+ },
85767
+ {
85768
+ "kind": "method",
85769
+ "name": "renderDegreeSpacer",
85770
+ "privacy": "private",
85771
+ "return": {
85772
+ "type": {
85773
+ "text": "TemplateResult | typeof nothing"
85774
+ }
85775
+ },
85776
+ "description": "A spacer rendered AFTER the unit when `hasDegreeSpacer` is set on a\nnon-degree row. Its width (`degree-compensation-padding`) = the degree\ncolumn width minus the 2px gap, so the row's value digits align with degree\nrows in the same column while its unit shifts left. See\nrenderValueUnitGap."
85777
+ },
85778
+ {
85779
+ "kind": "method",
85780
+ "name": "renderTextbox",
85781
+ "privacy": "private",
85782
+ "return": {
85783
+ "type": {
85784
+ "text": "TemplateResult"
85785
+ }
85786
+ },
85787
+ "parameters": [
85788
+ {
85789
+ "name": "role",
85790
+ "type": {
85791
+ "text": "'label' | 'unit' | 'source'"
85792
+ }
85793
+ },
85794
+ {
85795
+ "name": "text",
85796
+ "type": {
85797
+ "text": "string"
85798
+ }
85799
+ },
85800
+ {
85801
+ "name": "reserver",
85802
+ "optional": true,
85803
+ "type": {
85804
+ "text": "string"
85805
+ }
85806
+ },
85807
+ {
85808
+ "name": "state",
85809
+ "optional": true,
85810
+ "type": {
85811
+ "text": "ReadoutBlockState"
85812
+ }
85813
+ }
85814
+ ]
85815
+ },
85816
+ {
85817
+ "kind": "method",
85818
+ "name": "renderValueCluster",
85819
+ "privacy": "private",
85820
+ "return": {
85821
+ "type": {
85822
+ "text": "TemplateResult"
85823
+ }
85824
+ }
85825
+ },
85826
+ {
85827
+ "kind": "method",
85828
+ "name": "renderLabelContainer",
85829
+ "privacy": "private",
85830
+ "return": {
85831
+ "type": {
85832
+ "text": "TemplateResult"
85833
+ }
85834
+ }
85835
+ },
85836
+ {
85837
+ "kind": "method",
85838
+ "name": "renderTrailingUnit",
85839
+ "privacy": "private",
85840
+ "return": {
85841
+ "type": {
85842
+ "text": "TemplateResult | typeof nothing"
85843
+ }
85844
+ }
85845
+ },
85846
+ {
85847
+ "kind": "method",
85848
+ "name": "renderTrailingSource",
85849
+ "privacy": "private",
85850
+ "return": {
85851
+ "type": {
85852
+ "text": "TemplateResult | typeof nothing"
85853
+ }
85854
+ }
85855
+ },
85856
+ {
85857
+ "kind": "method",
85858
+ "name": "renderContent",
85859
+ "privacy": "private",
85860
+ "return": {
85861
+ "type": {
85862
+ "text": "TemplateResult"
85863
+ }
85864
+ }
85865
+ },
85866
+ {
85867
+ "kind": "method",
85868
+ "name": "clearDeferredSetpointHide",
85869
+ "privacy": "private",
85870
+ "return": {
85871
+ "type": {
85872
+ "text": "void"
85873
+ }
85874
+ }
85875
+ }
85876
+ ],
85877
+ "attributes": [
85878
+ {
85879
+ "name": "label",
85880
+ "type": {
85881
+ "text": "string | undefined"
85543
85882
  },
85544
- "default": "''",
85545
85883
  "fieldName": "label"
85546
85884
  },
85547
85885
  {
85548
85886
  "name": "unit",
85549
85887
  "type": {
85550
- "text": "string"
85888
+ "text": "string | undefined"
85551
85889
  },
85552
- "default": "''",
85553
85890
  "fieldName": "unit"
85554
85891
  },
85555
85892
  {
85556
85893
  "name": "src",
85557
85894
  "type": {
85558
- "text": "string"
85895
+ "text": "string | undefined"
85559
85896
  },
85560
- "default": "''",
85561
85897
  "fieldName": "src"
85562
85898
  },
85563
85899
  {
85564
85900
  "name": "value",
85565
85901
  "type": {
85566
- "text": "number | undefined"
85902
+ "text": "number | null"
85567
85903
  },
85568
- "default": "undefined",
85904
+ "default": "null",
85569
85905
  "fieldName": "value"
85570
85906
  },
85571
85907
  {
85572
- "name": "setpointValue",
85908
+ "name": "off",
85573
85909
  "type": {
85574
- "text": "number | undefined"
85910
+ "text": "boolean"
85575
85911
  },
85576
- "default": "undefined",
85577
- "fieldName": "setpointValue"
85912
+ "default": "false",
85913
+ "description": "Render the value as the literal \"OFF\" (e.g. equipment powered down). Affects the value only.",
85914
+ "fieldName": "off"
85578
85915
  },
85579
85916
  {
85580
85917
  "name": "hasSetpoint",
@@ -85585,36 +85922,55 @@
85585
85922
  "fieldName": "hasSetpoint"
85586
85923
  },
85587
85924
  {
85588
- "name": "hasDegree",
85925
+ "name": "setpoint",
85589
85926
  "type": {
85590
- "text": "boolean"
85927
+ "text": "number | undefined"
85591
85928
  },
85592
- "default": "false",
85593
- "fieldName": "hasDegree"
85929
+ "fieldName": "setpoint"
85594
85930
  },
85595
85931
  {
85596
- "name": "hasUnit",
85932
+ "name": "hasAdvice",
85597
85933
  "type": {
85598
85934
  "text": "boolean"
85599
85935
  },
85600
85936
  "default": "false",
85601
- "fieldName": "hasUnit"
85937
+ "fieldName": "hasAdvice"
85602
85938
  },
85603
85939
  {
85604
- "name": "hasLabel",
85940
+ "name": "advice",
85605
85941
  "type": {
85606
- "text": "boolean"
85942
+ "text": "number | undefined"
85607
85943
  },
85608
- "default": "false",
85609
- "fieldName": "hasLabel"
85944
+ "fieldName": "advice"
85610
85945
  },
85611
85946
  {
85612
- "name": "hasSource",
85947
+ "name": "size",
85613
85948
  "type": {
85614
- "text": "boolean"
85949
+ "text": "ReadoutListItemSize | undefined"
85950
+ },
85951
+ "fieldName": "size"
85952
+ },
85953
+ {
85954
+ "name": "priority",
85955
+ "type": {
85956
+ "text": "ReadoutListItemPriority | undefined"
85957
+ },
85958
+ "fieldName": "priority"
85959
+ },
85960
+ {
85961
+ "name": "stacking",
85962
+ "type": {
85963
+ "text": "ReadoutListItemStacking | undefined"
85964
+ },
85965
+ "fieldName": "stacking"
85966
+ },
85967
+ {
85968
+ "name": "clickable",
85969
+ "type": {
85970
+ "text": "boolean | ReadoutListItemClickable"
85615
85971
  },
85616
85972
  "default": "false",
85617
- "fieldName": "hasSource"
85973
+ "fieldName": "clickable"
85618
85974
  },
85619
85975
  {
85620
85976
  "name": "hasLeadingIcon",
@@ -85625,12 +85981,20 @@
85625
85981
  "fieldName": "hasLeadingIcon"
85626
85982
  },
85627
85983
  {
85628
- "name": "hasValueIcon",
85984
+ "name": "hasDegree",
85629
85985
  "type": {
85630
85986
  "text": "boolean"
85631
85987
  },
85632
85988
  "default": "false",
85633
- "fieldName": "hasValueIcon"
85989
+ "fieldName": "hasDegree"
85990
+ },
85991
+ {
85992
+ "name": "hasDegreeSpacer",
85993
+ "type": {
85994
+ "text": "boolean"
85995
+ },
85996
+ "default": "false",
85997
+ "fieldName": "hasDegreeSpacer"
85634
85998
  },
85635
85999
  {
85636
86000
  "name": "fractionDigits",
@@ -85641,36 +86005,62 @@
85641
86005
  "fieldName": "fractionDigits"
85642
86006
  },
85643
86007
  {
85644
- "name": "showZeroPadding",
86008
+ "name": "maxDigits",
85645
86009
  "type": {
85646
- "text": "boolean"
86010
+ "text": "number"
85647
86011
  },
85648
- "default": "false",
85649
- "fieldName": "showZeroPadding"
86012
+ "default": "0",
86013
+ "fieldName": "maxDigits"
85650
86014
  },
85651
86015
  {
85652
- "name": "minValueLength",
86016
+ "name": "dataQuality",
85653
86017
  "type": {
85654
- "text": "number"
86018
+ "text": "ReadoutListItemDataQuality | undefined"
85655
86019
  },
85656
- "default": "0",
85657
- "fieldName": "minValueLength"
86020
+ "fieldName": "dataQuality"
85658
86021
  },
85659
86022
  {
85660
- "name": "hasHintedZeros",
86023
+ "name": "alert",
85661
86024
  "type": {
85662
- "text": "boolean"
86025
+ "text": "boolean | AlertFrameConfig"
85663
86026
  },
85664
86027
  "default": "false",
85665
- "fieldName": "hasHintedZeros"
86028
+ "fieldName": "alert"
85666
86029
  },
85667
86030
  {
85668
- "name": "labelOnly",
86031
+ "name": "valueOptions",
85669
86032
  "type": {
85670
- "text": "boolean"
86033
+ "text": "ReadoutValueOptions | undefined"
85671
86034
  },
85672
- "default": "false",
85673
- "fieldName": "labelOnly"
86035
+ "fieldName": "valueOptions"
86036
+ },
86037
+ {
86038
+ "name": "setpointOptions",
86039
+ "type": {
86040
+ "text": "ReadoutSetpointOptions | undefined"
86041
+ },
86042
+ "fieldName": "setpointOptions"
86043
+ },
86044
+ {
86045
+ "name": "adviceOptions",
86046
+ "type": {
86047
+ "text": "ReadoutAdviceOptions | undefined"
86048
+ },
86049
+ "fieldName": "adviceOptions"
86050
+ },
86051
+ {
86052
+ "name": "unitOptions",
86053
+ "type": {
86054
+ "text": "ReadoutReserverOptions | undefined"
86055
+ },
86056
+ "fieldName": "unitOptions"
86057
+ },
86058
+ {
86059
+ "name": "srcOptions",
86060
+ "type": {
86061
+ "text": "ReadoutSrcOptions | undefined"
86062
+ },
86063
+ "fieldName": "srcOptions"
85674
86064
  }
85675
86065
  ],
85676
86066
  "superclass": {
@@ -85682,6 +86072,14 @@
85682
86072
  }
85683
86073
  ],
85684
86074
  "exports": [
86075
+ {
86076
+ "kind": "js",
86077
+ "name": "ObcTextboxFontWeight",
86078
+ "declaration": {
86079
+ "name": "ObcTextboxFontWeight",
86080
+ "module": "../../components/textbox/textbox.js"
86081
+ }
86082
+ },
85685
86083
  {
85686
86084
  "kind": "js",
85687
86085
  "name": "ObcReadoutListItem",