@oicl/openbridge-webcomponents 2.0.0-next.87 → 2.0.0-next.89
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 +17409 -16824
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +755 -44
- package/dist/building-blocks/readout-block/readout-block.css.js +229 -0
- package/dist/building-blocks/readout-block/readout-block.css.js.map +1 -0
- package/dist/building-blocks/readout-block/readout-block.d.ts +146 -0
- package/dist/building-blocks/readout-block/readout-block.d.ts.map +1 -0
- package/dist/building-blocks/readout-block/readout-block.js +273 -0
- package/dist/building-blocks/readout-block/readout-block.js.map +1 -0
- package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js +58 -32
- package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js.map +1 -1
- package/dist/navigation-instruments/gauge-radial/gauge-radial.d.ts +28 -0
- package/dist/navigation-instruments/gauge-radial/gauge-radial.d.ts.map +1 -1
- package/dist/navigation-instruments/gauge-radial/gauge-radial.js +25 -2
- package/dist/navigation-instruments/gauge-radial/gauge-radial.js.map +1 -1
- package/dist/navigation-instruments/readout-list/readout-list.css.js +24 -0
- package/dist/navigation-instruments/readout-list/readout-list.css.js.map +1 -0
- package/dist/navigation-instruments/readout-list/readout-list.d.ts +70 -0
- package/dist/navigation-instruments/readout-list/readout-list.d.ts.map +1 -0
- package/dist/navigation-instruments/readout-list/readout-list.js +154 -0
- package/dist/navigation-instruments/readout-list/readout-list.js.map +1 -0
- package/dist/navigation-instruments/readout-list-item/readout-list-item.css.js +80 -145
- 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 +25 -26
- 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 +66 -118
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js.map +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -38223,6 +38223,548 @@
|
|
|
38223
38223
|
}
|
|
38224
38224
|
]
|
|
38225
38225
|
},
|
|
38226
|
+
{
|
|
38227
|
+
"kind": "javascript-module",
|
|
38228
|
+
"path": "src/building-blocks/readout-block/readout-block.ts",
|
|
38229
|
+
"declarations": [
|
|
38230
|
+
{
|
|
38231
|
+
"kind": "class",
|
|
38232
|
+
"description": "`<obc-readout-block>` – the most atomic readout primitive: a single\ncap-height-aligned, width-reservable numeric segment (value / setpoint /\nadvice).\n\nIt renders one `obc-textbox` number with optional hinted leading zeros, a\nreservable width, an optional leading marker icon (via the `icon` slot or the\nrole default), an optional trailing degree glyph, an `off`/unavailable text\nstate, per-block data-quality and an optional per-block alert frame.\n\nThis is a building block used inside `obc-readout-list-item` (and, in a future\nrefactor, inside `obc-readout`); it is not normally used on its own. Colour is\ninherited from the host context (the parent sets the role colour), so the\nblock stays neutral until placed.",
|
|
38233
|
+
"name": "ObcReadoutBlock",
|
|
38234
|
+
"cssParts": [
|
|
38235
|
+
{
|
|
38236
|
+
"description": "The block container (carries role / tone / data-quality).",
|
|
38237
|
+
"name": "block"
|
|
38238
|
+
},
|
|
38239
|
+
{
|
|
38240
|
+
"description": "The number + degree group.",
|
|
38241
|
+
"name": "block-content"
|
|
38242
|
+
},
|
|
38243
|
+
{
|
|
38244
|
+
"description": "The `obc-textbox` rendering the number.",
|
|
38245
|
+
"name": "block-text"
|
|
38246
|
+
},
|
|
38247
|
+
{
|
|
38248
|
+
"description": "The leading marker-icon container.",
|
|
38249
|
+
"name": "block-icon"
|
|
38250
|
+
},
|
|
38251
|
+
{
|
|
38252
|
+
"description": "The trailing degree-glyph column.",
|
|
38253
|
+
"name": "degree"
|
|
38254
|
+
}
|
|
38255
|
+
],
|
|
38256
|
+
"slots": [
|
|
38257
|
+
{
|
|
38258
|
+
"description": "Replaces the role's default marker icon.",
|
|
38259
|
+
"name": "icon"
|
|
38260
|
+
}
|
|
38261
|
+
],
|
|
38262
|
+
"members": [
|
|
38263
|
+
{
|
|
38264
|
+
"kind": "field",
|
|
38265
|
+
"name": "variant",
|
|
38266
|
+
"type": {
|
|
38267
|
+
"text": "ReadoutBlockVariant"
|
|
38268
|
+
},
|
|
38269
|
+
"description": "Semantic variant (value / setpoint / advice).",
|
|
38270
|
+
"attribute": "variant"
|
|
38271
|
+
},
|
|
38272
|
+
{
|
|
38273
|
+
"kind": "field",
|
|
38274
|
+
"name": "value",
|
|
38275
|
+
"type": {
|
|
38276
|
+
"text": "number | null"
|
|
38277
|
+
},
|
|
38278
|
+
"default": "null",
|
|
38279
|
+
"description": "The numeric value; `null`/`undefined` renders a dash.",
|
|
38280
|
+
"attribute": "value"
|
|
38281
|
+
},
|
|
38282
|
+
{
|
|
38283
|
+
"kind": "field",
|
|
38284
|
+
"name": "size",
|
|
38285
|
+
"type": {
|
|
38286
|
+
"text": "ReadoutBlockSize"
|
|
38287
|
+
},
|
|
38288
|
+
"description": "Density tier — icon size, gap, degree tier.",
|
|
38289
|
+
"attribute": "size"
|
|
38290
|
+
},
|
|
38291
|
+
{
|
|
38292
|
+
"kind": "field",
|
|
38293
|
+
"name": "valueSize",
|
|
38294
|
+
"type": {
|
|
38295
|
+
"text": "ObcTextboxSize | undefined"
|
|
38296
|
+
},
|
|
38297
|
+
"description": "Resolved number-typography size. When unset it is derived from `size`\n(small→s, medium→m, large→l), so a parent that de-emphasises a block (e.g.\na secondary setpoint) can pass a smaller size without changing the tier.",
|
|
38298
|
+
"attribute": "valueSize"
|
|
38299
|
+
},
|
|
38300
|
+
{
|
|
38301
|
+
"kind": "field",
|
|
38302
|
+
"name": "enhanced",
|
|
38303
|
+
"type": {
|
|
38304
|
+
"text": "boolean"
|
|
38305
|
+
},
|
|
38306
|
+
"default": "false",
|
|
38307
|
+
"description": "Accent (in-command) colour tone.",
|
|
38308
|
+
"attribute": "enhanced"
|
|
38309
|
+
},
|
|
38310
|
+
{
|
|
38311
|
+
"kind": "field",
|
|
38312
|
+
"name": "weight",
|
|
38313
|
+
"type": {
|
|
38314
|
+
"text": "ObcTextboxFontWeight"
|
|
38315
|
+
},
|
|
38316
|
+
"description": "Number font weight (regular / semibold / bold); colour is independent.",
|
|
38317
|
+
"attribute": "weight"
|
|
38318
|
+
},
|
|
38319
|
+
{
|
|
38320
|
+
"kind": "field",
|
|
38321
|
+
"name": "hasDegree",
|
|
38322
|
+
"type": {
|
|
38323
|
+
"text": "boolean"
|
|
38324
|
+
},
|
|
38325
|
+
"default": "false",
|
|
38326
|
+
"description": "Render the trailing cap-height degree glyph (`°`).",
|
|
38327
|
+
"attribute": "hasDegree"
|
|
38328
|
+
},
|
|
38329
|
+
{
|
|
38330
|
+
"kind": "field",
|
|
38331
|
+
"name": "hasIcon",
|
|
38332
|
+
"type": {
|
|
38333
|
+
"text": "boolean"
|
|
38334
|
+
},
|
|
38335
|
+
"default": "false",
|
|
38336
|
+
"description": "Show the leading marker-icon container (always on for setpoint/advice).",
|
|
38337
|
+
"attribute": "hasIcon"
|
|
38338
|
+
},
|
|
38339
|
+
{
|
|
38340
|
+
"kind": "field",
|
|
38341
|
+
"name": "fractionDigits",
|
|
38342
|
+
"type": {
|
|
38343
|
+
"text": "number"
|
|
38344
|
+
},
|
|
38345
|
+
"default": "0",
|
|
38346
|
+
"description": "Number of fraction digits.",
|
|
38347
|
+
"attribute": "fractionDigits"
|
|
38348
|
+
},
|
|
38349
|
+
{
|
|
38350
|
+
"kind": "field",
|
|
38351
|
+
"name": "maxDigits",
|
|
38352
|
+
"type": {
|
|
38353
|
+
"text": "number"
|
|
38354
|
+
},
|
|
38355
|
+
"default": "0",
|
|
38356
|
+
"description": "Integer digits to reserve / hint (independent of `fractionDigits`).",
|
|
38357
|
+
"attribute": "maxDigits"
|
|
38358
|
+
},
|
|
38359
|
+
{
|
|
38360
|
+
"kind": "field",
|
|
38361
|
+
"name": "hintedZeros",
|
|
38362
|
+
"type": {
|
|
38363
|
+
"text": "boolean"
|
|
38364
|
+
},
|
|
38365
|
+
"default": "false",
|
|
38366
|
+
"description": "Render muted leading zeros filling the integer part to `maxDigits`.",
|
|
38367
|
+
"attribute": "hintedZeros"
|
|
38368
|
+
},
|
|
38369
|
+
{
|
|
38370
|
+
"kind": "field",
|
|
38371
|
+
"name": "spaceReserver",
|
|
38372
|
+
"type": {
|
|
38373
|
+
"text": "string | undefined"
|
|
38374
|
+
},
|
|
38375
|
+
"description": "Explicit longest string to reserve width for (e.g. `\"0000.0\"`).",
|
|
38376
|
+
"attribute": "spaceReserver"
|
|
38377
|
+
},
|
|
38378
|
+
{
|
|
38379
|
+
"kind": "field",
|
|
38380
|
+
"name": "off",
|
|
38381
|
+
"type": {
|
|
38382
|
+
"text": "boolean"
|
|
38383
|
+
},
|
|
38384
|
+
"default": "false",
|
|
38385
|
+
"description": "Render `offText` instead of a number (e.g. equipment powered down).",
|
|
38386
|
+
"attribute": "off"
|
|
38387
|
+
},
|
|
38388
|
+
{
|
|
38389
|
+
"kind": "field",
|
|
38390
|
+
"name": "offText",
|
|
38391
|
+
"type": {
|
|
38392
|
+
"text": "string"
|
|
38393
|
+
},
|
|
38394
|
+
"default": "'OFF'",
|
|
38395
|
+
"description": "Text shown when `off` is true.",
|
|
38396
|
+
"attribute": "offText"
|
|
38397
|
+
},
|
|
38398
|
+
{
|
|
38399
|
+
"kind": "field",
|
|
38400
|
+
"name": "alignment",
|
|
38401
|
+
"type": {
|
|
38402
|
+
"text": "ObcTextboxAlignment"
|
|
38403
|
+
},
|
|
38404
|
+
"description": "Text alignment of the number within its reserved width.",
|
|
38405
|
+
"attribute": "alignment"
|
|
38406
|
+
},
|
|
38407
|
+
{
|
|
38408
|
+
"kind": "field",
|
|
38409
|
+
"name": "dataQuality",
|
|
38410
|
+
"type": {
|
|
38411
|
+
"text": "ReadoutBlockDataQuality | undefined"
|
|
38412
|
+
},
|
|
38413
|
+
"description": "Per-block measurement quality (outline chip).",
|
|
38414
|
+
"attribute": "dataQuality"
|
|
38415
|
+
},
|
|
38416
|
+
{
|
|
38417
|
+
"kind": "field",
|
|
38418
|
+
"name": "alert",
|
|
38419
|
+
"type": {
|
|
38420
|
+
"text": "boolean | AlertFrameConfig"
|
|
38421
|
+
},
|
|
38422
|
+
"default": "false",
|
|
38423
|
+
"description": "Per-block alert frame; nests inside any parent alert frame.",
|
|
38424
|
+
"attribute": "alert"
|
|
38425
|
+
},
|
|
38426
|
+
{
|
|
38427
|
+
"kind": "field",
|
|
38428
|
+
"name": "touching",
|
|
38429
|
+
"type": {
|
|
38430
|
+
"text": "boolean"
|
|
38431
|
+
},
|
|
38432
|
+
"default": "false",
|
|
38433
|
+
"description": "Setpoint focus (touch) state — only meaningful for `role=\"setpoint\"`.",
|
|
38434
|
+
"attribute": "touching"
|
|
38435
|
+
},
|
|
38436
|
+
{
|
|
38437
|
+
"kind": "field",
|
|
38438
|
+
"name": "hidePhase",
|
|
38439
|
+
"type": {
|
|
38440
|
+
"text": "ReadoutBlockHidePhase"
|
|
38441
|
+
},
|
|
38442
|
+
"description": "Setpoint pop-up fade phase — only meaningful for `role=\"setpoint\"`.",
|
|
38443
|
+
"attribute": "hidePhase"
|
|
38444
|
+
},
|
|
38445
|
+
{
|
|
38446
|
+
"kind": "field",
|
|
38447
|
+
"name": "hasAssignedIcon",
|
|
38448
|
+
"type": {
|
|
38449
|
+
"text": "boolean"
|
|
38450
|
+
},
|
|
38451
|
+
"privacy": "private",
|
|
38452
|
+
"default": "false"
|
|
38453
|
+
},
|
|
38454
|
+
{
|
|
38455
|
+
"kind": "field",
|
|
38456
|
+
"name": "resolvedValueSize",
|
|
38457
|
+
"type": {
|
|
38458
|
+
"text": "ObcTextboxSize"
|
|
38459
|
+
},
|
|
38460
|
+
"privacy": "private",
|
|
38461
|
+
"readonly": true
|
|
38462
|
+
},
|
|
38463
|
+
{
|
|
38464
|
+
"kind": "field",
|
|
38465
|
+
"name": "numericFormatOptions",
|
|
38466
|
+
"type": {
|
|
38467
|
+
"text": "ReadoutNumericFormatOptions"
|
|
38468
|
+
},
|
|
38469
|
+
"privacy": "private",
|
|
38470
|
+
"readonly": true
|
|
38471
|
+
},
|
|
38472
|
+
{
|
|
38473
|
+
"kind": "field",
|
|
38474
|
+
"name": "reserverText",
|
|
38475
|
+
"type": {
|
|
38476
|
+
"text": "string"
|
|
38477
|
+
},
|
|
38478
|
+
"privacy": "private",
|
|
38479
|
+
"description": "Widest possible value string for width reservation (e.g. `\"000.0\"`).",
|
|
38480
|
+
"readonly": true
|
|
38481
|
+
},
|
|
38482
|
+
{
|
|
38483
|
+
"kind": "method",
|
|
38484
|
+
"name": "widerReserver",
|
|
38485
|
+
"privacy": "private",
|
|
38486
|
+
"return": {
|
|
38487
|
+
"type": {
|
|
38488
|
+
"text": "string"
|
|
38489
|
+
}
|
|
38490
|
+
},
|
|
38491
|
+
"parameters": [
|
|
38492
|
+
{
|
|
38493
|
+
"name": "explicit",
|
|
38494
|
+
"type": {
|
|
38495
|
+
"text": "string | undefined"
|
|
38496
|
+
}
|
|
38497
|
+
},
|
|
38498
|
+
{
|
|
38499
|
+
"name": "derived",
|
|
38500
|
+
"type": {
|
|
38501
|
+
"text": "string"
|
|
38502
|
+
}
|
|
38503
|
+
}
|
|
38504
|
+
],
|
|
38505
|
+
"description": "Effective width reserver: the wider of the explicit `spaceReserver` and the\n`maxDigits`/`fractionDigits`-derived reserve, so an explicit reserver can\nnever reserve *less* than the formatted value needs. Under tabular-nums the\nrendered width is proportional to character count, so \"wider\" compares length."
|
|
38506
|
+
},
|
|
38507
|
+
{
|
|
38508
|
+
"kind": "method",
|
|
38509
|
+
"name": "dataQualityClasses",
|
|
38510
|
+
"privacy": "private",
|
|
38511
|
+
"return": {
|
|
38512
|
+
"type": {
|
|
38513
|
+
"text": "Record<string, boolean>"
|
|
38514
|
+
}
|
|
38515
|
+
}
|
|
38516
|
+
},
|
|
38517
|
+
{
|
|
38518
|
+
"kind": "field",
|
|
38519
|
+
"name": "onIconSlotChange",
|
|
38520
|
+
"privacy": "private"
|
|
38521
|
+
},
|
|
38522
|
+
{
|
|
38523
|
+
"kind": "method",
|
|
38524
|
+
"name": "renderIcon",
|
|
38525
|
+
"privacy": "private",
|
|
38526
|
+
"return": {
|
|
38527
|
+
"type": {
|
|
38528
|
+
"text": "TemplateResult | typeof nothing"
|
|
38529
|
+
}
|
|
38530
|
+
}
|
|
38531
|
+
},
|
|
38532
|
+
{
|
|
38533
|
+
"kind": "method",
|
|
38534
|
+
"name": "renderDegreeGlyph",
|
|
38535
|
+
"privacy": "private",
|
|
38536
|
+
"return": {
|
|
38537
|
+
"type": {
|
|
38538
|
+
"text": "TemplateResult"
|
|
38539
|
+
}
|
|
38540
|
+
},
|
|
38541
|
+
"parameters": [
|
|
38542
|
+
{
|
|
38543
|
+
"name": "size",
|
|
38544
|
+
"type": {
|
|
38545
|
+
"text": "ObcTextboxSize"
|
|
38546
|
+
}
|
|
38547
|
+
}
|
|
38548
|
+
],
|
|
38549
|
+
"description": "A cap-height `°` column whose width scales with the number size. Inherits the\nblock's colour."
|
|
38550
|
+
}
|
|
38551
|
+
],
|
|
38552
|
+
"attributes": [
|
|
38553
|
+
{
|
|
38554
|
+
"name": "variant",
|
|
38555
|
+
"type": {
|
|
38556
|
+
"text": "ReadoutBlockVariant"
|
|
38557
|
+
},
|
|
38558
|
+
"description": "Semantic variant (value / setpoint / advice).",
|
|
38559
|
+
"fieldName": "variant"
|
|
38560
|
+
},
|
|
38561
|
+
{
|
|
38562
|
+
"name": "value",
|
|
38563
|
+
"type": {
|
|
38564
|
+
"text": "number | null"
|
|
38565
|
+
},
|
|
38566
|
+
"default": "null",
|
|
38567
|
+
"description": "The numeric value; `null`/`undefined` renders a dash.",
|
|
38568
|
+
"fieldName": "value"
|
|
38569
|
+
},
|
|
38570
|
+
{
|
|
38571
|
+
"name": "size",
|
|
38572
|
+
"type": {
|
|
38573
|
+
"text": "ReadoutBlockSize"
|
|
38574
|
+
},
|
|
38575
|
+
"description": "Density tier — icon size, gap, degree tier.",
|
|
38576
|
+
"fieldName": "size"
|
|
38577
|
+
},
|
|
38578
|
+
{
|
|
38579
|
+
"name": "valueSize",
|
|
38580
|
+
"type": {
|
|
38581
|
+
"text": "ObcTextboxSize | undefined"
|
|
38582
|
+
},
|
|
38583
|
+
"description": "Resolved number-typography size. When unset it is derived from `size`\n(small→s, medium→m, large→l), so a parent that de-emphasises a block (e.g.\na secondary setpoint) can pass a smaller size without changing the tier.",
|
|
38584
|
+
"fieldName": "valueSize"
|
|
38585
|
+
},
|
|
38586
|
+
{
|
|
38587
|
+
"name": "enhanced",
|
|
38588
|
+
"type": {
|
|
38589
|
+
"text": "boolean"
|
|
38590
|
+
},
|
|
38591
|
+
"default": "false",
|
|
38592
|
+
"description": "Accent (in-command) colour tone.",
|
|
38593
|
+
"fieldName": "enhanced"
|
|
38594
|
+
},
|
|
38595
|
+
{
|
|
38596
|
+
"name": "weight",
|
|
38597
|
+
"type": {
|
|
38598
|
+
"text": "ObcTextboxFontWeight"
|
|
38599
|
+
},
|
|
38600
|
+
"description": "Number font weight (regular / semibold / bold); colour is independent.",
|
|
38601
|
+
"fieldName": "weight"
|
|
38602
|
+
},
|
|
38603
|
+
{
|
|
38604
|
+
"name": "hasDegree",
|
|
38605
|
+
"type": {
|
|
38606
|
+
"text": "boolean"
|
|
38607
|
+
},
|
|
38608
|
+
"default": "false",
|
|
38609
|
+
"description": "Render the trailing cap-height degree glyph (`°`).",
|
|
38610
|
+
"fieldName": "hasDegree"
|
|
38611
|
+
},
|
|
38612
|
+
{
|
|
38613
|
+
"name": "hasIcon",
|
|
38614
|
+
"type": {
|
|
38615
|
+
"text": "boolean"
|
|
38616
|
+
},
|
|
38617
|
+
"default": "false",
|
|
38618
|
+
"description": "Show the leading marker-icon container (always on for setpoint/advice).",
|
|
38619
|
+
"fieldName": "hasIcon"
|
|
38620
|
+
},
|
|
38621
|
+
{
|
|
38622
|
+
"name": "fractionDigits",
|
|
38623
|
+
"type": {
|
|
38624
|
+
"text": "number"
|
|
38625
|
+
},
|
|
38626
|
+
"default": "0",
|
|
38627
|
+
"description": "Number of fraction digits.",
|
|
38628
|
+
"fieldName": "fractionDigits"
|
|
38629
|
+
},
|
|
38630
|
+
{
|
|
38631
|
+
"name": "maxDigits",
|
|
38632
|
+
"type": {
|
|
38633
|
+
"text": "number"
|
|
38634
|
+
},
|
|
38635
|
+
"default": "0",
|
|
38636
|
+
"description": "Integer digits to reserve / hint (independent of `fractionDigits`).",
|
|
38637
|
+
"fieldName": "maxDigits"
|
|
38638
|
+
},
|
|
38639
|
+
{
|
|
38640
|
+
"name": "hintedZeros",
|
|
38641
|
+
"type": {
|
|
38642
|
+
"text": "boolean"
|
|
38643
|
+
},
|
|
38644
|
+
"default": "false",
|
|
38645
|
+
"description": "Render muted leading zeros filling the integer part to `maxDigits`.",
|
|
38646
|
+
"fieldName": "hintedZeros"
|
|
38647
|
+
},
|
|
38648
|
+
{
|
|
38649
|
+
"name": "spaceReserver",
|
|
38650
|
+
"type": {
|
|
38651
|
+
"text": "string | undefined"
|
|
38652
|
+
},
|
|
38653
|
+
"description": "Explicit longest string to reserve width for (e.g. `\"0000.0\"`).",
|
|
38654
|
+
"fieldName": "spaceReserver"
|
|
38655
|
+
},
|
|
38656
|
+
{
|
|
38657
|
+
"name": "off",
|
|
38658
|
+
"type": {
|
|
38659
|
+
"text": "boolean"
|
|
38660
|
+
},
|
|
38661
|
+
"default": "false",
|
|
38662
|
+
"description": "Render `offText` instead of a number (e.g. equipment powered down).",
|
|
38663
|
+
"fieldName": "off"
|
|
38664
|
+
},
|
|
38665
|
+
{
|
|
38666
|
+
"name": "offText",
|
|
38667
|
+
"type": {
|
|
38668
|
+
"text": "string"
|
|
38669
|
+
},
|
|
38670
|
+
"default": "'OFF'",
|
|
38671
|
+
"description": "Text shown when `off` is true.",
|
|
38672
|
+
"fieldName": "offText"
|
|
38673
|
+
},
|
|
38674
|
+
{
|
|
38675
|
+
"name": "alignment",
|
|
38676
|
+
"type": {
|
|
38677
|
+
"text": "ObcTextboxAlignment"
|
|
38678
|
+
},
|
|
38679
|
+
"description": "Text alignment of the number within its reserved width.",
|
|
38680
|
+
"fieldName": "alignment"
|
|
38681
|
+
},
|
|
38682
|
+
{
|
|
38683
|
+
"name": "dataQuality",
|
|
38684
|
+
"type": {
|
|
38685
|
+
"text": "ReadoutBlockDataQuality | undefined"
|
|
38686
|
+
},
|
|
38687
|
+
"description": "Per-block measurement quality (outline chip).",
|
|
38688
|
+
"fieldName": "dataQuality"
|
|
38689
|
+
},
|
|
38690
|
+
{
|
|
38691
|
+
"name": "alert",
|
|
38692
|
+
"type": {
|
|
38693
|
+
"text": "boolean | AlertFrameConfig"
|
|
38694
|
+
},
|
|
38695
|
+
"default": "false",
|
|
38696
|
+
"description": "Per-block alert frame; nests inside any parent alert frame.",
|
|
38697
|
+
"fieldName": "alert"
|
|
38698
|
+
},
|
|
38699
|
+
{
|
|
38700
|
+
"name": "touching",
|
|
38701
|
+
"type": {
|
|
38702
|
+
"text": "boolean"
|
|
38703
|
+
},
|
|
38704
|
+
"default": "false",
|
|
38705
|
+
"description": "Setpoint focus (touch) state — only meaningful for `role=\"setpoint\"`.",
|
|
38706
|
+
"fieldName": "touching"
|
|
38707
|
+
},
|
|
38708
|
+
{
|
|
38709
|
+
"name": "hidePhase",
|
|
38710
|
+
"type": {
|
|
38711
|
+
"text": "ReadoutBlockHidePhase"
|
|
38712
|
+
},
|
|
38713
|
+
"description": "Setpoint pop-up fade phase — only meaningful for `role=\"setpoint\"`.",
|
|
38714
|
+
"fieldName": "hidePhase"
|
|
38715
|
+
}
|
|
38716
|
+
],
|
|
38717
|
+
"superclass": {
|
|
38718
|
+
"name": "LitElement",
|
|
38719
|
+
"package": "lit"
|
|
38720
|
+
},
|
|
38721
|
+
"tagName": "obc-readout-block",
|
|
38722
|
+
"customElement": true
|
|
38723
|
+
}
|
|
38724
|
+
],
|
|
38725
|
+
"exports": [
|
|
38726
|
+
{
|
|
38727
|
+
"kind": "js",
|
|
38728
|
+
"name": "ObcTextboxSize",
|
|
38729
|
+
"declaration": {
|
|
38730
|
+
"name": "ObcTextboxSize",
|
|
38731
|
+
"module": "../../components/textbox/textbox.js"
|
|
38732
|
+
}
|
|
38733
|
+
},
|
|
38734
|
+
{
|
|
38735
|
+
"kind": "js",
|
|
38736
|
+
"name": "ObcTextboxFontWeight",
|
|
38737
|
+
"declaration": {
|
|
38738
|
+
"name": "ObcTextboxFontWeight",
|
|
38739
|
+
"module": "../../components/textbox/textbox.js"
|
|
38740
|
+
}
|
|
38741
|
+
},
|
|
38742
|
+
{
|
|
38743
|
+
"kind": "js",
|
|
38744
|
+
"name": "ObcTextboxAlignment",
|
|
38745
|
+
"declaration": {
|
|
38746
|
+
"name": "ObcTextboxAlignment",
|
|
38747
|
+
"module": "../../components/textbox/textbox.js"
|
|
38748
|
+
}
|
|
38749
|
+
},
|
|
38750
|
+
{
|
|
38751
|
+
"kind": "js",
|
|
38752
|
+
"name": "ObcReadoutBlock",
|
|
38753
|
+
"declaration": {
|
|
38754
|
+
"name": "ObcReadoutBlock",
|
|
38755
|
+
"module": "src/building-blocks/readout-block/readout-block.ts"
|
|
38756
|
+
}
|
|
38757
|
+
},
|
|
38758
|
+
{
|
|
38759
|
+
"kind": "custom-element-definition",
|
|
38760
|
+
"name": "obc-readout-block",
|
|
38761
|
+
"declaration": {
|
|
38762
|
+
"name": "ObcReadoutBlock",
|
|
38763
|
+
"module": "src/building-blocks/readout-block/readout-block.ts"
|
|
38764
|
+
}
|
|
38765
|
+
}
|
|
38766
|
+
]
|
|
38767
|
+
},
|
|
38226
38768
|
{
|
|
38227
38769
|
"kind": "javascript-module",
|
|
38228
38770
|
"path": "src/components/accordion-card/accordion-card.ts",
|
|
@@ -76494,7 +77036,7 @@
|
|
|
76494
77036
|
"declarations": [
|
|
76495
77037
|
{
|
|
76496
77038
|
"kind": "class",
|
|
76497
|
-
"description": "`<obc-gauge-radial>` — Configurable radial gauge for generic numeric values.\n\n`ObcGaugeRadial` is a thin wrapper around `<obc-instrument-radial>` that adds\ndomain-independent value-to-angle mapping with automatic range handling for\nboth positive-only and bipolar (negative-to-positive) scales. It inherits a\nfull setpoint property bundle from SetpointMixin, including\nauto at-setpoint detection, dual-marker adjustment preview, and deadband\ntuning — no manual wiring required.\n\n## Features\n\n- **Three display types**: `filled` (solid arc), `bar` (thinner arc), and\n `needle` (pointer indicator) via the `type` property.\n- **Sector sweep**: `sector` selects the arc span (`270`, `180`, `90-left`, or `90-right`).\n The configured `minValue..maxValue` always spans the full sector. For the\n centered sectors (`270`, `180`) a symmetric range places `0` at 12 o'clock;\n for `90-left`/`90-right` the range midpoint sits at the middle of the quadrant.\n- **Setpoint via mixin**: `setpoint`, `newSetpoint`, `touching`,\n `autoAtSetpointDeadband`, `setpointOverride`, and all other setpoint\n properties are provided by `SetpointMixin` and forwarded to the inner\n `<obc-instrument-radial>`.\n- **Advice zones**: Pass an array of GaugeRadialAdvice objects to\n render caution/alert arcs on the gauge. Not shown on the `90-left` /\n `90-right` sectors.\n\n## Usage Guidelines\n\n- Set `minValue` / `maxValue` to define the scale range.\n- Use `priority` to switch between regular and enhanced color palettes.\n- Provide `primaryTickmarkInterval` and `secondaryTickmarkInterval` to\n control tickmark density.\n- Enable `showLabels` to show numeric labels at primary tickmarks.\n- Enable `hasReadout` with optional `label` and `unit`. Layout depends on `sector`\n and `type`: **270** filled/bar — value at center + a label-only `meta` row in\n the bottom gap (two separate readouts); **180** filled/bar — a single centered\n stack (value + label/unit) at the bottom; **270** needle — bottom stack;\n **180** needle — no readout; **90-left** / **90-right** filled/bar — corner\n readout in a square host; **90** needle — no readout.\n\n## Best Practices\n\n- Prefer `SetpointMixin` properties (`setpoint`, `touching`, etc.) over\n any legacy aliases — the mixin is the single source of truth.\n- Keep domain-specific logic (units, formatting) in the parent view; this\n component is intentionally unit-agnostic.\n\n## Example\n\n```html\n<obc-gauge-radial\n value=\"42\"\n minValue=\"0\"\n maxValue=\"100\"\n type=\"filled\"\n priority=\"enhanced\"\n showLabels\n primaryTickmarkInterval=\"25\"\n secondaryTickmarkInterval=\"5\"\n setpoint=\"60\"\n></obc-gauge-radial>\n```",
|
|
77039
|
+
"description": "`<obc-gauge-radial>` — Configurable radial gauge for generic numeric values.\n\n`ObcGaugeRadial` is a thin wrapper around `<obc-instrument-radial>` that adds\ndomain-independent value-to-angle mapping with automatic range handling for\nboth positive-only and bipolar (negative-to-positive) scales. It inherits a\nfull setpoint property bundle from SetpointMixin, including\nauto at-setpoint detection, dual-marker adjustment preview, and deadband\ntuning — no manual wiring required.\n\n## Features\n\n- **Three display types**: `filled` (solid arc), `bar` (thinner arc), and\n `needle` (pointer indicator) via the `type` property.\n- **Sector sweep**: `sector` selects the arc span (`270`, `180`, `90-left`, or `90-right`).\n The configured `minValue..maxValue` always spans the full sector. For the\n centered sectors (`270`, `180`) a symmetric range places `0` at 12 o'clock;\n for `90-left`/`90-right` the range midpoint sits at the middle of the quadrant.\n- **Setpoint via mixin**: `setpoint`, `newSetpoint`, `touching`,\n `autoAtSetpointDeadband`, `setpointOverride`, and all other setpoint\n properties are provided by `SetpointMixin` and forwarded to the inner\n `<obc-instrument-radial>`.\n- **Advice zones**: Pass an array of GaugeRadialAdvice objects to\n render caution/alert arcs on the gauge. Not shown on the `90-left` /\n `90-right` sectors.\n- **Alignment**: The host always fills its container and the dial shrinks to\n fit the smaller of the available width/height, so a short, wide (or tall,\n narrow) container leaves slack on one axis. `horizontalAlignment`\n (`left` | `center` | `right`) and `verticalAlignment`\n (`top` | `center` | `bottom`) position the dial within that slack; both\n default to `center`.\n\n## Usage Guidelines\n\n- Set `minValue` / `maxValue` to define the scale range.\n- Use `priority` to switch between regular and enhanced color palettes.\n- Provide `primaryTickmarkInterval` and `secondaryTickmarkInterval` to\n control tickmark density.\n- Enable `showLabels` to show numeric labels at primary tickmarks.\n- Enable `hasReadout` with optional `label` and `unit`. Layout depends on `sector`\n and `type`: **270** filled/bar — value at center + a label-only `meta` row in\n the bottom gap (two separate readouts); **180** filled/bar — a single centered\n stack (value + label/unit) at the bottom; **270** needle — bottom stack;\n **180** needle — no readout; **90-left** / **90-right** filled/bar — corner\n readout in a square host; **90** needle — no readout.\n\n## Best Practices\n\n- Prefer `SetpointMixin` properties (`setpoint`, `touching`, etc.) over\n any legacy aliases — the mixin is the single source of truth.\n- Keep domain-specific logic (units, formatting) in the parent view; this\n component is intentionally unit-agnostic.\n\n## Example\n\n```html\n<obc-gauge-radial\n value=\"42\"\n minValue=\"0\"\n maxValue=\"100\"\n type=\"filled\"\n priority=\"enhanced\"\n showLabels\n primaryTickmarkInterval=\"25\"\n secondaryTickmarkInterval=\"5\"\n setpoint=\"60\"\n></obc-gauge-radial>\n```",
|
|
76498
77040
|
"name": "ObcGaugeRadial",
|
|
76499
77041
|
"members": [
|
|
76500
77042
|
{
|
|
@@ -76620,6 +77162,24 @@
|
|
|
76620
77162
|
"attribute": "sector",
|
|
76621
77163
|
"reflects": true
|
|
76622
77164
|
},
|
|
77165
|
+
{
|
|
77166
|
+
"kind": "field",
|
|
77167
|
+
"name": "horizontalAlignment",
|
|
77168
|
+
"type": {
|
|
77169
|
+
"text": "GaugeRadialHorizontalAlignment"
|
|
77170
|
+
},
|
|
77171
|
+
"description": "Horizontal placement of the dial when the host is wider than the dial\n(e.g. a short, wide container shrinks the dial to fit the height, leaving\nhorizontal slack). Default `center`.",
|
|
77172
|
+
"attribute": "horizontalAlignment"
|
|
77173
|
+
},
|
|
77174
|
+
{
|
|
77175
|
+
"kind": "field",
|
|
77176
|
+
"name": "verticalAlignment",
|
|
77177
|
+
"type": {
|
|
77178
|
+
"text": "GaugeRadialVerticalAlignment"
|
|
77179
|
+
},
|
|
77180
|
+
"description": "Vertical placement of the dial when the host is taller than the dial\n(e.g. a tall, narrow container shrinks the dial to fit the width, leaving\nvertical slack). Default `center`.",
|
|
77181
|
+
"attribute": "verticalAlignment"
|
|
77182
|
+
},
|
|
76623
77183
|
{
|
|
76624
77184
|
"kind": "field",
|
|
76625
77185
|
"name": "hasReadout",
|
|
@@ -76999,6 +77559,22 @@
|
|
|
76999
77559
|
},
|
|
77000
77560
|
"fieldName": "sector"
|
|
77001
77561
|
},
|
|
77562
|
+
{
|
|
77563
|
+
"name": "horizontalAlignment",
|
|
77564
|
+
"type": {
|
|
77565
|
+
"text": "GaugeRadialHorizontalAlignment"
|
|
77566
|
+
},
|
|
77567
|
+
"description": "Horizontal placement of the dial when the host is wider than the dial\n(e.g. a short, wide container shrinks the dial to fit the height, leaving\nhorizontal slack). Default `center`.",
|
|
77568
|
+
"fieldName": "horizontalAlignment"
|
|
77569
|
+
},
|
|
77570
|
+
{
|
|
77571
|
+
"name": "verticalAlignment",
|
|
77572
|
+
"type": {
|
|
77573
|
+
"text": "GaugeRadialVerticalAlignment"
|
|
77574
|
+
},
|
|
77575
|
+
"description": "Vertical placement of the dial when the host is taller than the dial\n(e.g. a tall, narrow container shrinks the dial to fit the width, leaving\nvertical slack). Default `center`.",
|
|
77576
|
+
"fieldName": "verticalAlignment"
|
|
77577
|
+
},
|
|
77002
77578
|
{
|
|
77003
77579
|
"name": "hasReadout",
|
|
77004
77580
|
"type": {
|
|
@@ -85291,9 +85867,19 @@
|
|
|
85291
85867
|
"text": "boolean"
|
|
85292
85868
|
},
|
|
85293
85869
|
"default": "false",
|
|
85294
|
-
"description": "Render the value as
|
|
85870
|
+
"description": "Render the value as `offText` (e.g. equipment powered down). Affects the value only.",
|
|
85295
85871
|
"attribute": "off"
|
|
85296
85872
|
},
|
|
85873
|
+
{
|
|
85874
|
+
"kind": "field",
|
|
85875
|
+
"name": "offText",
|
|
85876
|
+
"type": {
|
|
85877
|
+
"text": "string"
|
|
85878
|
+
},
|
|
85879
|
+
"default": "'OFF'",
|
|
85880
|
+
"description": "Text shown in place of the value when `off` is true.",
|
|
85881
|
+
"attribute": "offText"
|
|
85882
|
+
},
|
|
85297
85883
|
{
|
|
85298
85884
|
"kind": "field",
|
|
85299
85885
|
"name": "hasSetpoint",
|
|
@@ -85463,6 +86049,17 @@
|
|
|
85463
86049
|
},
|
|
85464
86050
|
"attribute": "srcOptions"
|
|
85465
86051
|
},
|
|
86052
|
+
{
|
|
86053
|
+
"kind": "field",
|
|
86054
|
+
"name": "showDebugOverlay",
|
|
86055
|
+
"type": {
|
|
86056
|
+
"text": "boolean"
|
|
86057
|
+
},
|
|
86058
|
+
"default": "false",
|
|
86059
|
+
"description": "Development aid: outline the readout building blocks (red), the degree\ncolumns (blue) and the degree spacer (green) so reserver widths / alignment\nare visible. Off by default.",
|
|
86060
|
+
"attribute": "showDebugOverlay",
|
|
86061
|
+
"reflects": true
|
|
86062
|
+
},
|
|
85466
86063
|
{
|
|
85467
86064
|
"kind": "field",
|
|
85468
86065
|
"name": "deferredSetpointHidePhase",
|
|
@@ -85685,41 +86282,6 @@
|
|
|
85685
86282
|
}
|
|
85686
86283
|
]
|
|
85687
86284
|
},
|
|
85688
|
-
{
|
|
85689
|
-
"kind": "field",
|
|
85690
|
-
"name": "reserverText",
|
|
85691
|
-
"type": {
|
|
85692
|
-
"text": "string"
|
|
85693
|
-
},
|
|
85694
|
-
"privacy": "private",
|
|
85695
|
-
"description": "Widest possible value string for width reservation (e.g. `\"000.0\"`).",
|
|
85696
|
-
"readonly": true
|
|
85697
|
-
},
|
|
85698
|
-
{
|
|
85699
|
-
"kind": "method",
|
|
85700
|
-
"name": "widerReserver",
|
|
85701
|
-
"privacy": "private",
|
|
85702
|
-
"return": {
|
|
85703
|
-
"type": {
|
|
85704
|
-
"text": "string"
|
|
85705
|
-
}
|
|
85706
|
-
},
|
|
85707
|
-
"parameters": [
|
|
85708
|
-
{
|
|
85709
|
-
"name": "explicit",
|
|
85710
|
-
"type": {
|
|
85711
|
-
"text": "string | undefined"
|
|
85712
|
-
}
|
|
85713
|
-
},
|
|
85714
|
-
{
|
|
85715
|
-
"name": "derived",
|
|
85716
|
-
"type": {
|
|
85717
|
-
"text": "string"
|
|
85718
|
-
}
|
|
85719
|
-
}
|
|
85720
|
-
],
|
|
85721
|
-
"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."
|
|
85722
|
-
},
|
|
85723
86285
|
{
|
|
85724
86286
|
"kind": "method",
|
|
85725
86287
|
"name": "dataQualityClasses",
|
|
@@ -85741,21 +86303,22 @@
|
|
|
85741
86303
|
},
|
|
85742
86304
|
{
|
|
85743
86305
|
"kind": "method",
|
|
85744
|
-
"name": "
|
|
86306
|
+
"name": "renderForwardedIcon",
|
|
85745
86307
|
"privacy": "private",
|
|
85746
86308
|
"return": {
|
|
85747
86309
|
"type": {
|
|
85748
|
-
"text": "TemplateResult
|
|
86310
|
+
"text": "TemplateResult"
|
|
85749
86311
|
}
|
|
85750
86312
|
},
|
|
85751
86313
|
"parameters": [
|
|
85752
86314
|
{
|
|
85753
|
-
"name": "
|
|
86315
|
+
"name": "variant",
|
|
85754
86316
|
"type": {
|
|
85755
|
-
"text": "
|
|
86317
|
+
"text": "ReadoutBlockVariant"
|
|
85756
86318
|
}
|
|
85757
86319
|
}
|
|
85758
|
-
]
|
|
86320
|
+
],
|
|
86321
|
+
"description": "Forward the matching list-item icon slot into the block's single `icon`\nslot. The variant's default marker lives in `obc-readout-block` and shows\nwhen nothing is assigned here (an empty forwarded slot flattens to nothing)."
|
|
85759
86322
|
},
|
|
85760
86323
|
{
|
|
85761
86324
|
"kind": "method",
|
|
@@ -85770,7 +86333,7 @@
|
|
|
85770
86333
|
{
|
|
85771
86334
|
"name": "config",
|
|
85772
86335
|
"type": {
|
|
85773
|
-
"text": "{\n
|
|
86336
|
+
"text": "{\n variant: ReadoutBlockVariant;\n value: number | null | undefined;\n valueSize: ObcTextboxSize;\n enhanced: boolean;\n weight: ObcTextboxFontWeight;\n hintedZeros: boolean;\n spaceReserver?: string;\n off?: boolean;\n hasDegree?: boolean;\n hasIcon?: boolean;\n touching?: boolean;\n hidePhase?: ReadoutBlockHidePhase;\n dataQuality?: ReadoutBlockDataQuality;\n alert?: false | AlertFrameConfig;\n }"
|
|
85774
86337
|
}
|
|
85775
86338
|
}
|
|
85776
86339
|
]
|
|
@@ -85958,9 +86521,18 @@
|
|
|
85958
86521
|
"text": "boolean"
|
|
85959
86522
|
},
|
|
85960
86523
|
"default": "false",
|
|
85961
|
-
"description": "Render the value as
|
|
86524
|
+
"description": "Render the value as `offText` (e.g. equipment powered down). Affects the value only.",
|
|
85962
86525
|
"fieldName": "off"
|
|
85963
86526
|
},
|
|
86527
|
+
{
|
|
86528
|
+
"name": "offText",
|
|
86529
|
+
"type": {
|
|
86530
|
+
"text": "string"
|
|
86531
|
+
},
|
|
86532
|
+
"default": "'OFF'",
|
|
86533
|
+
"description": "Text shown in place of the value when `off` is true.",
|
|
86534
|
+
"fieldName": "offText"
|
|
86535
|
+
},
|
|
85964
86536
|
{
|
|
85965
86537
|
"name": "hasSetpoint",
|
|
85966
86538
|
"type": {
|
|
@@ -86109,6 +86681,15 @@
|
|
|
86109
86681
|
"text": "ReadoutSrcOptions | undefined"
|
|
86110
86682
|
},
|
|
86111
86683
|
"fieldName": "srcOptions"
|
|
86684
|
+
},
|
|
86685
|
+
{
|
|
86686
|
+
"name": "showDebugOverlay",
|
|
86687
|
+
"type": {
|
|
86688
|
+
"text": "boolean"
|
|
86689
|
+
},
|
|
86690
|
+
"default": "false",
|
|
86691
|
+
"description": "Development aid: outline the readout building blocks (red), the degree\ncolumns (blue) and the degree spacer (green) so reserver widths / alignment\nare visible. Off by default.",
|
|
86692
|
+
"fieldName": "showDebugOverlay"
|
|
86112
86693
|
}
|
|
86113
86694
|
],
|
|
86114
86695
|
"superclass": {
|
|
@@ -86128,6 +86709,22 @@
|
|
|
86128
86709
|
"module": "../../components/textbox/textbox.js"
|
|
86129
86710
|
}
|
|
86130
86711
|
},
|
|
86712
|
+
{
|
|
86713
|
+
"kind": "js",
|
|
86714
|
+
"name": "ReadoutListItemSize",
|
|
86715
|
+
"declaration": {
|
|
86716
|
+
"name": "ReadoutListItemSize",
|
|
86717
|
+
"module": "src/navigation-instruments/readout-list-item/readout-list-item.ts"
|
|
86718
|
+
}
|
|
86719
|
+
},
|
|
86720
|
+
{
|
|
86721
|
+
"kind": "js",
|
|
86722
|
+
"name": "ReadoutListItemDataQuality",
|
|
86723
|
+
"declaration": {
|
|
86724
|
+
"name": "ReadoutListItemDataQuality",
|
|
86725
|
+
"module": "src/navigation-instruments/readout-list-item/readout-list-item.ts"
|
|
86726
|
+
}
|
|
86727
|
+
},
|
|
86131
86728
|
{
|
|
86132
86729
|
"kind": "js",
|
|
86133
86730
|
"name": "ObcReadoutListItem",
|
|
@@ -86146,6 +86743,120 @@
|
|
|
86146
86743
|
}
|
|
86147
86744
|
]
|
|
86148
86745
|
},
|
|
86746
|
+
{
|
|
86747
|
+
"kind": "javascript-module",
|
|
86748
|
+
"path": "src/navigation-instruments/readout-list/readout-list.ts",
|
|
86749
|
+
"declarations": [
|
|
86750
|
+
{
|
|
86751
|
+
"kind": "class",
|
|
86752
|
+
"description": "`<obc-readout-list>` – A container that groups `<obc-readout-list-item>` rows\nand **auto-aligns their columns**.\n\nBecause each row is its own custom element, cross-row column alignment is not\nautomatic. This container inspects its rows and pushes shared width reservers\ndown so the unit column, the value / setpoint / advice columns and the source\ncolumn all line up — the same effect the `Readout List Item → ColumnAlignment`\nstory achieves by hand, done for you. Alignment is always on.\n\nWhat it equalizes — derived from each row's data and broadcast to every row, so\nthe widest value / unit / source is never clipped:\n- **Unit:** the longest `unit` becomes every row's unit space-reserver.\n- **Value / setpoint / advice:** the widest numeric width (max integer digits +\n max fraction digits across rows, derived from each row's `maxDigits` /\n `fractionDigits` / current values) is reserved on every row's numeric blocks.\n Reserving off digit counts keeps it stable as live values update.\n- **Source:** the longest `src` becomes every row's source space-reserver.\n- **Degree:** if any row has a degree, non-degree rows reserve the degree column\n (`hasDegreeSpacer`) so their digits line up with the degree rows; the spacer is\n cleared once no degree rows remain.\n\nThe list **owns** these reservers: it recomputes them from the rows' data on\nevery pass (and clears stale reservers / spacers when rows change), so a\n`spaceReserver` set directly on a row inside the list is overwritten. Drive the\ndata (`maxDigits` / `fractionDigits` / `unit` / `src`) rather than setting a\nmanual reserver when a row lives in a list.\n\nAlignment runs on `slotchange` and on child mutations (added/removed rows and\nHTML-attribute changes). When rows are updated via JS **properties** only (no\nattribute/DOM mutation), call align to recompute.",
|
|
86753
|
+
"name": "ObcReadoutList",
|
|
86754
|
+
"cssParts": [
|
|
86755
|
+
{
|
|
86756
|
+
"description": "The vertical stack container.",
|
|
86757
|
+
"name": "list"
|
|
86758
|
+
}
|
|
86759
|
+
],
|
|
86760
|
+
"slots": [
|
|
86761
|
+
{
|
|
86762
|
+
"description": "The `<obc-readout-list-item>` rows.",
|
|
86763
|
+
"name": ""
|
|
86764
|
+
}
|
|
86765
|
+
],
|
|
86766
|
+
"members": [
|
|
86767
|
+
{
|
|
86768
|
+
"kind": "field",
|
|
86769
|
+
"name": "showDebugOverlay",
|
|
86770
|
+
"type": {
|
|
86771
|
+
"text": "boolean"
|
|
86772
|
+
},
|
|
86773
|
+
"default": "false",
|
|
86774
|
+
"description": "Development aid: outline each row's readout building blocks (red), degree\ncolumns (blue) and degree spacer (green) so the reserved column widths are\nvisible. Propagated to every row. Off by default.",
|
|
86775
|
+
"attribute": "showDebugOverlay",
|
|
86776
|
+
"reflects": true
|
|
86777
|
+
},
|
|
86778
|
+
{
|
|
86779
|
+
"kind": "field",
|
|
86780
|
+
"name": "mutationObserver",
|
|
86781
|
+
"type": {
|
|
86782
|
+
"text": "MutationObserver | undefined"
|
|
86783
|
+
},
|
|
86784
|
+
"privacy": "private"
|
|
86785
|
+
},
|
|
86786
|
+
{
|
|
86787
|
+
"kind": "field",
|
|
86788
|
+
"name": "items",
|
|
86789
|
+
"type": {
|
|
86790
|
+
"text": "ObcReadoutListItem[]"
|
|
86791
|
+
},
|
|
86792
|
+
"privacy": "private",
|
|
86793
|
+
"description": "The `obc-readout-list-item` rows, including those nested in wrapper elements.",
|
|
86794
|
+
"readonly": true
|
|
86795
|
+
},
|
|
86796
|
+
{
|
|
86797
|
+
"kind": "method",
|
|
86798
|
+
"name": "align",
|
|
86799
|
+
"return": {
|
|
86800
|
+
"type": {
|
|
86801
|
+
"text": "void"
|
|
86802
|
+
}
|
|
86803
|
+
},
|
|
86804
|
+
"description": "Recompute and apply the shared column reservers across all rows. Call this\nafter updating rows via JS properties only (attribute/DOM changes are picked\nup automatically)."
|
|
86805
|
+
},
|
|
86806
|
+
{
|
|
86807
|
+
"kind": "method",
|
|
86808
|
+
"name": "observeChildren",
|
|
86809
|
+
"privacy": "private",
|
|
86810
|
+
"return": {
|
|
86811
|
+
"type": {
|
|
86812
|
+
"text": "void"
|
|
86813
|
+
}
|
|
86814
|
+
}
|
|
86815
|
+
},
|
|
86816
|
+
{
|
|
86817
|
+
"kind": "field",
|
|
86818
|
+
"name": "handleSlotChange",
|
|
86819
|
+
"privacy": "private"
|
|
86820
|
+
}
|
|
86821
|
+
],
|
|
86822
|
+
"attributes": [
|
|
86823
|
+
{
|
|
86824
|
+
"name": "showDebugOverlay",
|
|
86825
|
+
"type": {
|
|
86826
|
+
"text": "boolean"
|
|
86827
|
+
},
|
|
86828
|
+
"default": "false",
|
|
86829
|
+
"description": "Development aid: outline each row's readout building blocks (red), degree\ncolumns (blue) and degree spacer (green) so the reserved column widths are\nvisible. Propagated to every row. Off by default.",
|
|
86830
|
+
"fieldName": "showDebugOverlay"
|
|
86831
|
+
}
|
|
86832
|
+
],
|
|
86833
|
+
"superclass": {
|
|
86834
|
+
"name": "LitElement",
|
|
86835
|
+
"package": "lit"
|
|
86836
|
+
},
|
|
86837
|
+
"tagName": "obc-readout-list",
|
|
86838
|
+
"customElement": true
|
|
86839
|
+
}
|
|
86840
|
+
],
|
|
86841
|
+
"exports": [
|
|
86842
|
+
{
|
|
86843
|
+
"kind": "js",
|
|
86844
|
+
"name": "ObcReadoutList",
|
|
86845
|
+
"declaration": {
|
|
86846
|
+
"name": "ObcReadoutList",
|
|
86847
|
+
"module": "src/navigation-instruments/readout-list/readout-list.ts"
|
|
86848
|
+
}
|
|
86849
|
+
},
|
|
86850
|
+
{
|
|
86851
|
+
"kind": "custom-element-definition",
|
|
86852
|
+
"name": "obc-readout-list",
|
|
86853
|
+
"declaration": {
|
|
86854
|
+
"name": "ObcReadoutList",
|
|
86855
|
+
"module": "src/navigation-instruments/readout-list/readout-list.ts"
|
|
86856
|
+
}
|
|
86857
|
+
}
|
|
86858
|
+
]
|
|
86859
|
+
},
|
|
86149
86860
|
{
|
|
86150
86861
|
"kind": "javascript-module",
|
|
86151
86862
|
"path": "src/navigation-instruments/readout-setpoint/readout-setpoint.ts",
|