@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.16 → 2.2.0-next.18

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.
Files changed (68) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +442 -87
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +1970 -28
  4. package/dist/automation/analog-threeway-valve/analog-threeway-valve.d.ts +4 -4
  5. package/dist/automation/analog-threeway-valve/analog-threeway-valve.js.map +1 -1
  6. package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.d.ts +20 -0
  7. package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.d.ts.map +1 -1
  8. package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.js +1 -0
  9. package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.js.map +1 -1
  10. package/dist/automation/automation-button/abstract-automation-button.d.ts +11 -2
  11. package/dist/automation/automation-button/abstract-automation-button.d.ts.map +1 -1
  12. package/dist/automation/automation-button/abstract-automation-button.js +40 -20
  13. package/dist/automation/automation-button/abstract-automation-button.js.map +1 -1
  14. package/dist/automation/automation-button/badge-layout.d.ts +34 -0
  15. package/dist/automation/automation-button/badge-layout.d.ts.map +1 -0
  16. package/dist/automation/automation-button/badge-layout.js +64 -0
  17. package/dist/automation/automation-button/badge-layout.js.map +1 -0
  18. package/dist/automation/digital-threeway-valve/digital-threeway-valve.d.ts +4 -4
  19. package/dist/automation/digital-threeway-valve/digital-threeway-valve.js.map +1 -1
  20. package/dist/automation/electricity-battery/electricity-battery.d.ts +4 -4
  21. package/dist/automation/electricity-battery/electricity-battery.js.map +1 -1
  22. package/dist/building-blocks/bar-horizontal/bar-horizontal.d.ts +4 -0
  23. package/dist/building-blocks/bar-horizontal/bar-horizontal.d.ts.map +1 -1
  24. package/dist/building-blocks/bar-horizontal/bar-horizontal.js +26 -23
  25. package/dist/building-blocks/bar-horizontal/bar-horizontal.js.map +1 -1
  26. package/dist/building-blocks/bar-vertical/bar-vertical.d.ts +4 -0
  27. package/dist/building-blocks/bar-vertical/bar-vertical.d.ts.map +1 -1
  28. package/dist/building-blocks/bar-vertical/bar-vertical.js +26 -23
  29. package/dist/building-blocks/bar-vertical/bar-vertical.js.map +1 -1
  30. package/dist/building-blocks/external-scale/external-scale.d.ts +28 -1
  31. package/dist/building-blocks/external-scale/external-scale.d.ts.map +1 -1
  32. package/dist/building-blocks/external-scale/external-scale.js +30 -4
  33. package/dist/building-blocks/external-scale/external-scale.js.map +1 -1
  34. package/dist/internal/global-setting.d.ts +55 -0
  35. package/dist/internal/global-setting.d.ts.map +1 -0
  36. package/dist/internal/global-setting.js +86 -0
  37. package/dist/internal/global-setting.js.map +1 -0
  38. package/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.d.ts +28 -17
  39. package/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.d.ts.map +1 -1
  40. package/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js +91 -11
  41. package/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js.map +1 -1
  42. package/dist/navigation-instruments/gauge-vertical/gauge-vertical.d.ts +28 -17
  43. package/dist/navigation-instruments/gauge-vertical/gauge-vertical.d.ts.map +1 -1
  44. package/dist/navigation-instruments/gauge-vertical/gauge-vertical.js +91 -11
  45. package/dist/navigation-instruments/gauge-vertical/gauge-vertical.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/automation/analog-threeway-valve/analog-threeway-valve.ts +4 -4
  48. package/src/automation/automation-button/abstract-automation-button-storybook-helpers.ts +3 -0
  49. package/src/automation/automation-button/abstract-automation-button.ts +57 -23
  50. package/src/automation/automation-button/badge-layout.spec.ts +138 -0
  51. package/src/automation/automation-button/badge-layout.ts +120 -0
  52. package/src/automation/digital-threeway-valve/digital-threeway-valve.ts +4 -4
  53. package/src/automation/electricity-battery/electricity-battery.ts +4 -4
  54. package/src/automation/pump/pump.stories.ts +59 -0
  55. package/src/building-blocks/bar-horizontal/bar-horizontal-fixed-aspect.spec.ts +102 -0
  56. package/src/building-blocks/bar-horizontal/bar-horizontal.ts +28 -23
  57. package/src/building-blocks/bar-vertical/bar-vertical-fixed-aspect.spec.ts +101 -0
  58. package/src/building-blocks/bar-vertical/bar-vertical.ts +28 -23
  59. package/src/building-blocks/external-scale/external-scale.ts +72 -3
  60. package/src/internal/global-setting.spec.ts +119 -0
  61. package/src/internal/global-setting.ts +105 -0
  62. package/src/navigation-instruments/gauge-horizontal/gauge-horizontal.spec.ts +288 -0
  63. package/src/navigation-instruments/gauge-horizontal/gauge-horizontal.stories.ts +114 -4
  64. package/src/navigation-instruments/gauge-horizontal/gauge-horizontal.ts +129 -41
  65. package/src/navigation-instruments/gauge-trend/gauge-trend.stories.ts +8 -0
  66. package/src/navigation-instruments/gauge-vertical/gauge-vertical.spec.ts +284 -0
  67. package/src/navigation-instruments/gauge-vertical/gauge-vertical.stories.ts +117 -4
  68. package/src/navigation-instruments/gauge-vertical/gauge-vertical.ts +129 -41
@@ -13004,19 +13004,19 @@
13004
13004
  "name": "ObcAnalogThreewayValve",
13005
13005
  "slots": [
13006
13006
  {
13007
- "description": "Content projected into the top-right badge position; overrides `badgeAlert`.",
13007
+ "description": "Content projected into the top-right badge position; overrides the badge `badgeLayout` puts in that corner.",
13008
13008
  "name": "badge-top-right"
13009
13009
  },
13010
13010
  {
13011
- "description": "Content projected into the top-left badge position; overrides `badgeControl`.",
13011
+ "description": "Content projected into the top-left badge position; overrides the badge `badgeLayout` puts in that corner.",
13012
13012
  "name": "badge-top-left"
13013
13013
  },
13014
13014
  {
13015
- "description": "Content projected into the bottom-left badge position; overrides `badgeInterlock`.",
13015
+ "description": "Content projected into the bottom-left badge position; overrides the badge `badgeLayout` puts in that corner.",
13016
13016
  "name": "badge-bottom-left"
13017
13017
  },
13018
13018
  {
13019
- "description": "Content projected into the bottom-right badge position; overrides `badgeCommandLocked`.",
13019
+ "description": "Content projected into the bottom-right badge position; overrides the badge `badgeLayout` puts in that corner.",
13020
13020
  "name": "badge-bottom-right"
13021
13021
  }
13022
13022
  ],
@@ -13487,6 +13487,30 @@
13487
13487
  "module": "src/automation/automation-button/abstract-automation-button.ts"
13488
13488
  }
13489
13489
  },
13490
+ {
13491
+ "kind": "field",
13492
+ "name": "badgeLayout",
13493
+ "type": {
13494
+ "text": "AutomationButtonBadgeLayout | undefined"
13495
+ },
13496
+ "default": "undefined",
13497
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
13498
+ "inheritedFrom": {
13499
+ "name": "ObcAbstractAutomationButton",
13500
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
13501
+ }
13502
+ },
13503
+ {
13504
+ "kind": "field",
13505
+ "name": "_badgeLayout",
13506
+ "privacy": "private",
13507
+ "readonly": true,
13508
+ "default": "new BadgeLayoutController(this)",
13509
+ "inheritedFrom": {
13510
+ "name": "ObcAbstractAutomationButton",
13511
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
13512
+ }
13513
+ },
13490
13514
  {
13491
13515
  "kind": "field",
13492
13516
  "name": "_variant",
@@ -13674,6 +13698,14 @@
13674
13698
  "text": "boolean"
13675
13699
  }
13676
13700
  },
13701
+ "parameters": [
13702
+ {
13703
+ "name": "badges",
13704
+ "type": {
13705
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
13706
+ }
13707
+ }
13708
+ ],
13677
13709
  "inheritedFrom": {
13678
13710
  "name": "ObcAbstractAutomationButton",
13679
13711
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -13688,6 +13720,28 @@
13688
13720
  "module": "src/automation/automation-button/abstract-automation-button.ts"
13689
13721
  }
13690
13722
  },
13723
+ {
13724
+ "kind": "method",
13725
+ "name": "getBadgeType",
13726
+ "privacy": "private",
13727
+ "return": {
13728
+ "type": {
13729
+ "text": "ObcAutomationBadgeType | null"
13730
+ }
13731
+ },
13732
+ "parameters": [
13733
+ {
13734
+ "name": "kind",
13735
+ "type": {
13736
+ "text": "AutomationButtonBadgeKind | null"
13737
+ }
13738
+ }
13739
+ ],
13740
+ "inheritedFrom": {
13741
+ "name": "ObcAbstractAutomationButton",
13742
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
13743
+ }
13744
+ },
13691
13745
  {
13692
13746
  "kind": "method",
13693
13747
  "name": "getBadgeAlertType",
@@ -14569,6 +14623,30 @@
14569
14623
  "module": "src/automation/automation-button/abstract-automation-button.ts"
14570
14624
  }
14571
14625
  },
14626
+ {
14627
+ "kind": "field",
14628
+ "name": "badgeLayout",
14629
+ "type": {
14630
+ "text": "AutomationButtonBadgeLayout | undefined"
14631
+ },
14632
+ "default": "undefined",
14633
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
14634
+ "inheritedFrom": {
14635
+ "name": "ObcAbstractAutomationButton",
14636
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
14637
+ }
14638
+ },
14639
+ {
14640
+ "kind": "field",
14641
+ "name": "_badgeLayout",
14642
+ "privacy": "private",
14643
+ "readonly": true,
14644
+ "default": "new BadgeLayoutController(this)",
14645
+ "inheritedFrom": {
14646
+ "name": "ObcAbstractAutomationButton",
14647
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
14648
+ }
14649
+ },
14572
14650
  {
14573
14651
  "kind": "field",
14574
14652
  "name": "_variant",
@@ -14733,6 +14811,14 @@
14733
14811
  "text": "boolean"
14734
14812
  }
14735
14813
  },
14814
+ "parameters": [
14815
+ {
14816
+ "name": "badges",
14817
+ "type": {
14818
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
14819
+ }
14820
+ }
14821
+ ],
14736
14822
  "inheritedFrom": {
14737
14823
  "name": "ObcAbstractAutomationButton",
14738
14824
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -14747,6 +14833,28 @@
14747
14833
  "module": "src/automation/automation-button/abstract-automation-button.ts"
14748
14834
  }
14749
14835
  },
14836
+ {
14837
+ "kind": "method",
14838
+ "name": "getBadgeType",
14839
+ "privacy": "private",
14840
+ "return": {
14841
+ "type": {
14842
+ "text": "ObcAutomationBadgeType | null"
14843
+ }
14844
+ },
14845
+ "parameters": [
14846
+ {
14847
+ "name": "kind",
14848
+ "type": {
14849
+ "text": "AutomationButtonBadgeKind | null"
14850
+ }
14851
+ }
14852
+ ],
14853
+ "inheritedFrom": {
14854
+ "name": "ObcAbstractAutomationButton",
14855
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
14856
+ }
14857
+ },
14750
14858
  {
14751
14859
  "kind": "method",
14752
14860
  "name": "getBadgeAlertType",
@@ -15764,6 +15872,30 @@
15764
15872
  "module": "src/automation/automation-button/abstract-automation-button.ts"
15765
15873
  }
15766
15874
  },
15875
+ {
15876
+ "kind": "field",
15877
+ "name": "badgeLayout",
15878
+ "type": {
15879
+ "text": "AutomationButtonBadgeLayout | undefined"
15880
+ },
15881
+ "default": "undefined",
15882
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
15883
+ "inheritedFrom": {
15884
+ "name": "ObcAbstractAutomationButton",
15885
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
15886
+ }
15887
+ },
15888
+ {
15889
+ "kind": "field",
15890
+ "name": "_badgeLayout",
15891
+ "privacy": "private",
15892
+ "readonly": true,
15893
+ "default": "new BadgeLayoutController(this)",
15894
+ "inheritedFrom": {
15895
+ "name": "ObcAbstractAutomationButton",
15896
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
15897
+ }
15898
+ },
15767
15899
  {
15768
15900
  "kind": "field",
15769
15901
  "name": "icon",
@@ -15976,6 +16108,14 @@
15976
16108
  "text": "boolean"
15977
16109
  }
15978
16110
  },
16111
+ "parameters": [
16112
+ {
16113
+ "name": "badges",
16114
+ "type": {
16115
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
16116
+ }
16117
+ }
16118
+ ],
15979
16119
  "inheritedFrom": {
15980
16120
  "name": "ObcAbstractAutomationButton",
15981
16121
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -15990,6 +16130,28 @@
15990
16130
  "module": "src/automation/automation-button/abstract-automation-button.ts"
15991
16131
  }
15992
16132
  },
16133
+ {
16134
+ "kind": "method",
16135
+ "name": "getBadgeType",
16136
+ "privacy": "private",
16137
+ "return": {
16138
+ "type": {
16139
+ "text": "ObcAutomationBadgeType | null"
16140
+ }
16141
+ },
16142
+ "parameters": [
16143
+ {
16144
+ "name": "kind",
16145
+ "type": {
16146
+ "text": "AutomationButtonBadgeKind | null"
16147
+ }
16148
+ }
16149
+ ],
16150
+ "inheritedFrom": {
16151
+ "name": "ObcAbstractAutomationButton",
16152
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
16153
+ }
16154
+ },
15993
16155
  {
15994
16156
  "kind": "method",
15995
16157
  "name": "getBadgeAlertType",
@@ -16816,6 +16978,30 @@
16816
16978
  "module": "src/automation/automation-button/abstract-automation-button.ts"
16817
16979
  }
16818
16980
  },
16981
+ {
16982
+ "kind": "field",
16983
+ "name": "badgeLayout",
16984
+ "type": {
16985
+ "text": "AutomationButtonBadgeLayout | undefined"
16986
+ },
16987
+ "default": "undefined",
16988
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
16989
+ "inheritedFrom": {
16990
+ "name": "ObcAbstractAutomationButton",
16991
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
16992
+ }
16993
+ },
16994
+ {
16995
+ "kind": "field",
16996
+ "name": "_badgeLayout",
16997
+ "privacy": "private",
16998
+ "readonly": true,
16999
+ "default": "new BadgeLayoutController(this)",
17000
+ "inheritedFrom": {
17001
+ "name": "ObcAbstractAutomationButton",
17002
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
17003
+ }
17004
+ },
16819
17005
  {
16820
17006
  "kind": "field",
16821
17007
  "name": "icon",
@@ -17016,6 +17202,14 @@
17016
17202
  "text": "boolean"
17017
17203
  }
17018
17204
  },
17205
+ "parameters": [
17206
+ {
17207
+ "name": "badges",
17208
+ "type": {
17209
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
17210
+ }
17211
+ }
17212
+ ],
17019
17213
  "inheritedFrom": {
17020
17214
  "name": "ObcAbstractAutomationButton",
17021
17215
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -17030,6 +17224,28 @@
17030
17224
  "module": "src/automation/automation-button/abstract-automation-button.ts"
17031
17225
  }
17032
17226
  },
17227
+ {
17228
+ "kind": "method",
17229
+ "name": "getBadgeType",
17230
+ "privacy": "private",
17231
+ "return": {
17232
+ "type": {
17233
+ "text": "ObcAutomationBadgeType | null"
17234
+ }
17235
+ },
17236
+ "parameters": [
17237
+ {
17238
+ "name": "kind",
17239
+ "type": {
17240
+ "text": "AutomationButtonBadgeKind | null"
17241
+ }
17242
+ }
17243
+ ],
17244
+ "inheritedFrom": {
17245
+ "name": "ObcAbstractAutomationButton",
17246
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
17247
+ }
17248
+ },
17033
17249
  {
17034
17250
  "kind": "method",
17035
17251
  "name": "getBadgeAlertType",
@@ -17374,7 +17590,7 @@
17374
17590
  "declarations": [
17375
17591
  {
17376
17592
  "kind": "class",
17377
- "description": "Base class for the automation device buttons.\n\nRenders an `<obc-automation-button>` with the shared surface every device\nbutton needs: the readout stack and its status row, the alert frame, the\ncircular progress indicator, and the four badge corners (control, alert,\ninterlock, command-locked) with their slots and enum-driven fallbacks.\n\n## Usage Guidelines\n\nNot registered as a custom element. A subclass supplies the device\nrendering through `icon`, `_on` and `_variant`, and may add rows to the\nreadout stack through `extraReadouts`. `ObcAbstractAutomationButtonSquared`\nand `ObcAbstractAutomationButtonMotorized` extend it further;\n`obc-analog-valve` and `obc-digital-valve` extend it directly.",
17593
+ "description": "Base class for the automation device buttons.\n\nRenders an `<obc-automation-button>` with the shared surface every device\nbutton needs: the readout stack and its status row, the alert frame, the\ncircular progress indicator, and the four badge corners with their slots and\nenum-driven fallbacks. Which badge goes in which corner follows the badge\nlayout (`badge-layout.ts`): control top-left, alert top-right, interlock\nbottom-left and command-locked bottom-right unless the app or `badgeLayout`\nmoves them.\n\n## Usage Guidelines\n\nNot registered as a custom element. A subclass supplies the device\nrendering through `icon`, `_on` and `_variant`, and may add rows to the\nreadout stack through `extraReadouts`. `ObcAbstractAutomationButtonSquared`\nand `ObcAbstractAutomationButtonMotorized` extend it further;\n`obc-analog-valve` and `obc-digital-valve` extend it directly.",
17378
17594
  "name": "ObcAbstractAutomationButton",
17379
17595
  "members": [
17380
17596
  {
@@ -17632,6 +17848,22 @@
17632
17848
  },
17633
17849
  "attribute": "badgeAlert"
17634
17850
  },
17851
+ {
17852
+ "kind": "field",
17853
+ "name": "badgeLayout",
17854
+ "type": {
17855
+ "text": "AutomationButtonBadgeLayout | undefined"
17856
+ },
17857
+ "default": "undefined",
17858
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from."
17859
+ },
17860
+ {
17861
+ "kind": "field",
17862
+ "name": "_badgeLayout",
17863
+ "privacy": "private",
17864
+ "readonly": true,
17865
+ "default": "new BadgeLayoutController(this)"
17866
+ },
17635
17867
  {
17636
17868
  "kind": "field",
17637
17869
  "name": "icon",
@@ -17795,13 +18027,39 @@
17795
18027
  "type": {
17796
18028
  "text": "boolean"
17797
18029
  }
17798
- }
18030
+ },
18031
+ "parameters": [
18032
+ {
18033
+ "name": "badges",
18034
+ "type": {
18035
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
18036
+ }
18037
+ }
18038
+ ]
17799
18039
  },
17800
18040
  {
17801
18041
  "kind": "method",
17802
18042
  "name": "handleBadgeSlotChange",
17803
18043
  "privacy": "private"
17804
18044
  },
18045
+ {
18046
+ "kind": "method",
18047
+ "name": "getBadgeType",
18048
+ "privacy": "private",
18049
+ "return": {
18050
+ "type": {
18051
+ "text": "ObcAutomationBadgeType | null"
18052
+ }
18053
+ },
18054
+ "parameters": [
18055
+ {
18056
+ "name": "kind",
18057
+ "type": {
18058
+ "text": "AutomationButtonBadgeKind | null"
18059
+ }
18060
+ }
18061
+ ]
18062
+ },
17805
18063
  {
17806
18064
  "kind": "method",
17807
18065
  "name": "getBadgeAlertType",
@@ -18722,6 +18980,97 @@
18722
18980
  }
18723
18981
  ]
18724
18982
  },
18983
+ {
18984
+ "kind": "javascript-module",
18985
+ "path": "src/automation/automation-button/badge-layout.ts",
18986
+ "declarations": [
18987
+ {
18988
+ "kind": "function",
18989
+ "name": "resolveBadgeLayout",
18990
+ "return": {
18991
+ "type": {
18992
+ "text": "ResolvedAutomationButtonBadgeLayout"
18993
+ }
18994
+ },
18995
+ "parameters": [
18996
+ {
18997
+ "name": "base",
18998
+ "type": {
18999
+ "text": "ResolvedAutomationButtonBadgeLayout"
19000
+ }
19001
+ },
19002
+ {
19003
+ "name": "override",
19004
+ "type": {
19005
+ "text": "AutomationButtonBadgeLayout | undefined"
19006
+ }
19007
+ }
19008
+ ],
19009
+ "description": "The `base` layout with the corners `override` names put on top of it.\nA kind `override` names twice stays in the first corner, in reading order."
19010
+ },
19011
+ {
19012
+ "kind": "function",
19013
+ "name": "setAutomationBadgeLayout",
19014
+ "return": {
19015
+ "type": {
19016
+ "text": "void"
19017
+ }
19018
+ },
19019
+ "parameters": [
19020
+ {
19021
+ "name": "layout",
19022
+ "type": {
19023
+ "text": "AutomationButtonBadgeLayout | undefined"
19024
+ }
19025
+ }
19026
+ ],
19027
+ "description": "Sets the badge layout of every automation button on the page, and\nre-renders the ones already connected. `undefined` restores the default."
19028
+ }
19029
+ ],
19030
+ "exports": [
19031
+ {
19032
+ "kind": "js",
19033
+ "name": "defaultAutomationButtonBadgeLayout",
19034
+ "declaration": {
19035
+ "name": "defaultAutomationButtonBadgeLayout",
19036
+ "module": "src/automation/automation-button/badge-layout.ts"
19037
+ }
19038
+ },
19039
+ {
19040
+ "kind": "js",
19041
+ "name": "resolveBadgeLayout",
19042
+ "declaration": {
19043
+ "name": "resolveBadgeLayout",
19044
+ "module": "src/automation/automation-button/badge-layout.ts"
19045
+ }
19046
+ },
19047
+ {
19048
+ "kind": "js",
19049
+ "name": "setAutomationBadgeLayout",
19050
+ "declaration": {
19051
+ "name": "setAutomationBadgeLayout",
19052
+ "module": "src/automation/automation-button/badge-layout.ts"
19053
+ }
19054
+ },
19055
+ {
19056
+ "kind": "js",
19057
+ "name": "getAutomationBadgeLayout",
19058
+ "declaration": {
19059
+ "name": "getAutomationBadgeLayout",
19060
+ "module": "src/automation/automation-button/badge-layout.ts"
19061
+ }
19062
+ },
19063
+ {
19064
+ "kind": "js",
19065
+ "name": "BadgeLayoutController",
19066
+ "declaration": {
19067
+ "name": "BadgeLayoutController",
19068
+ "module": "src/automation/automation-button/badge-layout.ts"
19069
+ }
19070
+ }
19071
+ ],
19072
+ "description": "Badge layout of the automation buttons.\n\nSays which badge kind each corner of an automation button shows. The app\nsets one layout for every button with `setAutomationBadgeLayout()`; a\nbutton's own `badgeLayout` property changes single corners on top of it.\n\nMerge rules, for both the global and the local layout:\n- a corner left out keeps the layout underneath it,\n- `null` leaves the corner empty,\n- a kind moved to a new corner leaves the corner it came from, so it is\n never shown twice.\n\n```ts\nsetAutomationBadgeLayout({\n topLeft: AutomationButtonBadgeKind.Alert,\n topRight: AutomationButtonBadgeKind.Control,\n});\n```"
19073
+ },
18725
19074
  {
18726
19075
  "kind": "javascript-module",
18727
19076
  "path": "src/automation/automation-button/valve-handle.ts",
@@ -20787,6 +21136,30 @@
20787
21136
  "module": "src/automation/automation-button/abstract-automation-button.ts"
20788
21137
  }
20789
21138
  },
21139
+ {
21140
+ "kind": "field",
21141
+ "name": "badgeLayout",
21142
+ "type": {
21143
+ "text": "AutomationButtonBadgeLayout | undefined"
21144
+ },
21145
+ "default": "undefined",
21146
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
21147
+ "inheritedFrom": {
21148
+ "name": "ObcAbstractAutomationButton",
21149
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
21150
+ }
21151
+ },
21152
+ {
21153
+ "kind": "field",
21154
+ "name": "_badgeLayout",
21155
+ "privacy": "private",
21156
+ "readonly": true,
21157
+ "default": "new BadgeLayoutController(this)",
21158
+ "inheritedFrom": {
21159
+ "name": "ObcAbstractAutomationButton",
21160
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
21161
+ }
21162
+ },
20790
21163
  {
20791
21164
  "kind": "field",
20792
21165
  "name": "_variant",
@@ -20975,6 +21348,14 @@
20975
21348
  "text": "boolean"
20976
21349
  }
20977
21350
  },
21351
+ "parameters": [
21352
+ {
21353
+ "name": "badges",
21354
+ "type": {
21355
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
21356
+ }
21357
+ }
21358
+ ],
20978
21359
  "inheritedFrom": {
20979
21360
  "name": "ObcAbstractAutomationButton",
20980
21361
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -20989,6 +21370,28 @@
20989
21370
  "module": "src/automation/automation-button/abstract-automation-button.ts"
20990
21371
  }
20991
21372
  },
21373
+ {
21374
+ "kind": "method",
21375
+ "name": "getBadgeType",
21376
+ "privacy": "private",
21377
+ "return": {
21378
+ "type": {
21379
+ "text": "ObcAutomationBadgeType | null"
21380
+ }
21381
+ },
21382
+ "parameters": [
21383
+ {
21384
+ "name": "kind",
21385
+ "type": {
21386
+ "text": "AutomationButtonBadgeKind | null"
21387
+ }
21388
+ }
21389
+ ],
21390
+ "inheritedFrom": {
21391
+ "name": "ObcAbstractAutomationButton",
21392
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
21393
+ }
21394
+ },
20992
21395
  {
20993
21396
  "kind": "method",
20994
21397
  "name": "getBadgeAlertType",
@@ -21978,6 +22381,30 @@
21978
22381
  "module": "src/automation/automation-button/abstract-automation-button.ts"
21979
22382
  }
21980
22383
  },
22384
+ {
22385
+ "kind": "field",
22386
+ "name": "badgeLayout",
22387
+ "type": {
22388
+ "text": "AutomationButtonBadgeLayout | undefined"
22389
+ },
22390
+ "default": "undefined",
22391
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
22392
+ "inheritedFrom": {
22393
+ "name": "ObcAbstractAutomationButton",
22394
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
22395
+ }
22396
+ },
22397
+ {
22398
+ "kind": "field",
22399
+ "name": "_badgeLayout",
22400
+ "privacy": "private",
22401
+ "readonly": true,
22402
+ "default": "new BadgeLayoutController(this)",
22403
+ "inheritedFrom": {
22404
+ "name": "ObcAbstractAutomationButton",
22405
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
22406
+ }
22407
+ },
21981
22408
  {
21982
22409
  "kind": "field",
21983
22410
  "name": "_variant",
@@ -22166,6 +22593,14 @@
22166
22593
  "text": "boolean"
22167
22594
  }
22168
22595
  },
22596
+ "parameters": [
22597
+ {
22598
+ "name": "badges",
22599
+ "type": {
22600
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
22601
+ }
22602
+ }
22603
+ ],
22169
22604
  "inheritedFrom": {
22170
22605
  "name": "ObcAbstractAutomationButton",
22171
22606
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -22180,6 +22615,28 @@
22180
22615
  "module": "src/automation/automation-button/abstract-automation-button.ts"
22181
22616
  }
22182
22617
  },
22618
+ {
22619
+ "kind": "method",
22620
+ "name": "getBadgeType",
22621
+ "privacy": "private",
22622
+ "return": {
22623
+ "type": {
22624
+ "text": "ObcAutomationBadgeType | null"
22625
+ }
22626
+ },
22627
+ "parameters": [
22628
+ {
22629
+ "name": "kind",
22630
+ "type": {
22631
+ "text": "AutomationButtonBadgeKind | null"
22632
+ }
22633
+ }
22634
+ ],
22635
+ "inheritedFrom": {
22636
+ "name": "ObcAbstractAutomationButton",
22637
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
22638
+ }
22639
+ },
22183
22640
  {
22184
22641
  "kind": "method",
22185
22642
  "name": "getBadgeAlertType",
@@ -23038,6 +23495,30 @@
23038
23495
  "module": "src/automation/automation-button/abstract-automation-button.ts"
23039
23496
  }
23040
23497
  },
23498
+ {
23499
+ "kind": "field",
23500
+ "name": "badgeLayout",
23501
+ "type": {
23502
+ "text": "AutomationButtonBadgeLayout | undefined"
23503
+ },
23504
+ "default": "undefined",
23505
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
23506
+ "inheritedFrom": {
23507
+ "name": "ObcAbstractAutomationButton",
23508
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
23509
+ }
23510
+ },
23511
+ {
23512
+ "kind": "field",
23513
+ "name": "_badgeLayout",
23514
+ "privacy": "private",
23515
+ "readonly": true,
23516
+ "default": "new BadgeLayoutController(this)",
23517
+ "inheritedFrom": {
23518
+ "name": "ObcAbstractAutomationButton",
23519
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
23520
+ }
23521
+ },
23041
23522
  {
23042
23523
  "kind": "field",
23043
23524
  "name": "_variant",
@@ -23226,6 +23707,14 @@
23226
23707
  "text": "boolean"
23227
23708
  }
23228
23709
  },
23710
+ "parameters": [
23711
+ {
23712
+ "name": "badges",
23713
+ "type": {
23714
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
23715
+ }
23716
+ }
23717
+ ],
23229
23718
  "inheritedFrom": {
23230
23719
  "name": "ObcAbstractAutomationButton",
23231
23720
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -23240,6 +23729,28 @@
23240
23729
  "module": "src/automation/automation-button/abstract-automation-button.ts"
23241
23730
  }
23242
23731
  },
23732
+ {
23733
+ "kind": "method",
23734
+ "name": "getBadgeType",
23735
+ "privacy": "private",
23736
+ "return": {
23737
+ "type": {
23738
+ "text": "ObcAutomationBadgeType | null"
23739
+ }
23740
+ },
23741
+ "parameters": [
23742
+ {
23743
+ "name": "kind",
23744
+ "type": {
23745
+ "text": "AutomationButtonBadgeKind | null"
23746
+ }
23747
+ }
23748
+ ],
23749
+ "inheritedFrom": {
23750
+ "name": "ObcAbstractAutomationButton",
23751
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
23752
+ }
23753
+ },
23243
23754
  {
23244
23755
  "kind": "method",
23245
23756
  "name": "getBadgeAlertType",
@@ -24175,6 +24686,30 @@
24175
24686
  "module": "src/automation/automation-button/abstract-automation-button.ts"
24176
24687
  }
24177
24688
  },
24689
+ {
24690
+ "kind": "field",
24691
+ "name": "badgeLayout",
24692
+ "type": {
24693
+ "text": "AutomationButtonBadgeLayout | undefined"
24694
+ },
24695
+ "default": "undefined",
24696
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
24697
+ "inheritedFrom": {
24698
+ "name": "ObcAbstractAutomationButton",
24699
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
24700
+ }
24701
+ },
24702
+ {
24703
+ "kind": "field",
24704
+ "name": "_badgeLayout",
24705
+ "privacy": "private",
24706
+ "readonly": true,
24707
+ "default": "new BadgeLayoutController(this)",
24708
+ "inheritedFrom": {
24709
+ "name": "ObcAbstractAutomationButton",
24710
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
24711
+ }
24712
+ },
24178
24713
  {
24179
24714
  "kind": "field",
24180
24715
  "name": "_variant",
@@ -24363,6 +24898,14 @@
24363
24898
  "text": "boolean"
24364
24899
  }
24365
24900
  },
24901
+ "parameters": [
24902
+ {
24903
+ "name": "badges",
24904
+ "type": {
24905
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
24906
+ }
24907
+ }
24908
+ ],
24366
24909
  "inheritedFrom": {
24367
24910
  "name": "ObcAbstractAutomationButton",
24368
24911
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -24377,6 +24920,28 @@
24377
24920
  "module": "src/automation/automation-button/abstract-automation-button.ts"
24378
24921
  }
24379
24922
  },
24923
+ {
24924
+ "kind": "method",
24925
+ "name": "getBadgeType",
24926
+ "privacy": "private",
24927
+ "return": {
24928
+ "type": {
24929
+ "text": "ObcAutomationBadgeType | null"
24930
+ }
24931
+ },
24932
+ "parameters": [
24933
+ {
24934
+ "name": "kind",
24935
+ "type": {
24936
+ "text": "AutomationButtonBadgeKind | null"
24937
+ }
24938
+ }
24939
+ ],
24940
+ "inheritedFrom": {
24941
+ "name": "ObcAbstractAutomationButton",
24942
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
24943
+ }
24944
+ },
24380
24945
  {
24381
24946
  "kind": "method",
24382
24947
  "name": "getBadgeAlertType",
@@ -24751,19 +25316,19 @@
24751
25316
  "name": "ObcDigitalThreewayValve",
24752
25317
  "slots": [
24753
25318
  {
24754
- "description": "Content projected into the top-right badge position; overrides `badgeAlert`.",
25319
+ "description": "Content projected into the top-right badge position; overrides the badge `badgeLayout` puts in that corner.",
24755
25320
  "name": "badge-top-right"
24756
25321
  },
24757
25322
  {
24758
- "description": "Content projected into the top-left badge position; overrides `badgeControl`.",
25323
+ "description": "Content projected into the top-left badge position; overrides the badge `badgeLayout` puts in that corner.",
24759
25324
  "name": "badge-top-left"
24760
25325
  },
24761
25326
  {
24762
- "description": "Content projected into the bottom-left badge position; overrides `badgeInterlock`.",
25327
+ "description": "Content projected into the bottom-left badge position; overrides the badge `badgeLayout` puts in that corner.",
24763
25328
  "name": "badge-bottom-left"
24764
25329
  },
24765
25330
  {
24766
- "description": "Content projected into the bottom-right badge position; overrides `badgeCommandLocked`.",
25331
+ "description": "Content projected into the bottom-right badge position; overrides the badge `badgeLayout` puts in that corner.",
24767
25332
  "name": "badge-bottom-right"
24768
25333
  }
24769
25334
  ],
@@ -25243,6 +25808,30 @@
25243
25808
  "module": "src/automation/automation-button/abstract-automation-button.ts"
25244
25809
  }
25245
25810
  },
25811
+ {
25812
+ "kind": "field",
25813
+ "name": "badgeLayout",
25814
+ "type": {
25815
+ "text": "AutomationButtonBadgeLayout | undefined"
25816
+ },
25817
+ "default": "undefined",
25818
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
25819
+ "inheritedFrom": {
25820
+ "name": "ObcAbstractAutomationButton",
25821
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
25822
+ }
25823
+ },
25824
+ {
25825
+ "kind": "field",
25826
+ "name": "_badgeLayout",
25827
+ "privacy": "private",
25828
+ "readonly": true,
25829
+ "default": "new BadgeLayoutController(this)",
25830
+ "inheritedFrom": {
25831
+ "name": "ObcAbstractAutomationButton",
25832
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
25833
+ }
25834
+ },
25246
25835
  {
25247
25836
  "kind": "field",
25248
25837
  "name": "_variant",
@@ -25430,6 +26019,14 @@
25430
26019
  "text": "boolean"
25431
26020
  }
25432
26021
  },
26022
+ "parameters": [
26023
+ {
26024
+ "name": "badges",
26025
+ "type": {
26026
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
26027
+ }
26028
+ }
26029
+ ],
25433
26030
  "inheritedFrom": {
25434
26031
  "name": "ObcAbstractAutomationButton",
25435
26032
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -25444,6 +26041,28 @@
25444
26041
  "module": "src/automation/automation-button/abstract-automation-button.ts"
25445
26042
  }
25446
26043
  },
26044
+ {
26045
+ "kind": "method",
26046
+ "name": "getBadgeType",
26047
+ "privacy": "private",
26048
+ "return": {
26049
+ "type": {
26050
+ "text": "ObcAutomationBadgeType | null"
26051
+ }
26052
+ },
26053
+ "parameters": [
26054
+ {
26055
+ "name": "kind",
26056
+ "type": {
26057
+ "text": "AutomationButtonBadgeKind | null"
26058
+ }
26059
+ }
26060
+ ],
26061
+ "inheritedFrom": {
26062
+ "name": "ObcAbstractAutomationButton",
26063
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
26064
+ }
26065
+ },
25447
26066
  {
25448
26067
  "kind": "method",
25449
26068
  "name": "getBadgeAlertType",
@@ -26347,6 +26966,30 @@
26347
26966
  "module": "src/automation/automation-button/abstract-automation-button.ts"
26348
26967
  }
26349
26968
  },
26969
+ {
26970
+ "kind": "field",
26971
+ "name": "badgeLayout",
26972
+ "type": {
26973
+ "text": "AutomationButtonBadgeLayout | undefined"
26974
+ },
26975
+ "default": "undefined",
26976
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
26977
+ "inheritedFrom": {
26978
+ "name": "ObcAbstractAutomationButton",
26979
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
26980
+ }
26981
+ },
26982
+ {
26983
+ "kind": "field",
26984
+ "name": "_badgeLayout",
26985
+ "privacy": "private",
26986
+ "readonly": true,
26987
+ "default": "new BadgeLayoutController(this)",
26988
+ "inheritedFrom": {
26989
+ "name": "ObcAbstractAutomationButton",
26990
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
26991
+ }
26992
+ },
26350
26993
  {
26351
26994
  "kind": "field",
26352
26995
  "name": "_variant",
@@ -26485,6 +27128,14 @@
26485
27128
  "text": "boolean"
26486
27129
  }
26487
27130
  },
27131
+ "parameters": [
27132
+ {
27133
+ "name": "badges",
27134
+ "type": {
27135
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
27136
+ }
27137
+ }
27138
+ ],
26488
27139
  "inheritedFrom": {
26489
27140
  "name": "ObcAbstractAutomationButton",
26490
27141
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -26499,6 +27150,28 @@
26499
27150
  "module": "src/automation/automation-button/abstract-automation-button.ts"
26500
27151
  }
26501
27152
  },
27153
+ {
27154
+ "kind": "method",
27155
+ "name": "getBadgeType",
27156
+ "privacy": "private",
27157
+ "return": {
27158
+ "type": {
27159
+ "text": "ObcAutomationBadgeType | null"
27160
+ }
27161
+ },
27162
+ "parameters": [
27163
+ {
27164
+ "name": "kind",
27165
+ "type": {
27166
+ "text": "AutomationButtonBadgeKind | null"
27167
+ }
27168
+ }
27169
+ ],
27170
+ "inheritedFrom": {
27171
+ "name": "ObcAbstractAutomationButton",
27172
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
27173
+ }
27174
+ },
26502
27175
  {
26503
27176
  "kind": "method",
26504
27177
  "name": "getBadgeAlertType",
@@ -27385,6 +28058,30 @@
27385
28058
  "module": "src/automation/automation-button/abstract-automation-button.ts"
27386
28059
  }
27387
28060
  },
28061
+ {
28062
+ "kind": "field",
28063
+ "name": "badgeLayout",
28064
+ "type": {
28065
+ "text": "AutomationButtonBadgeLayout | undefined"
28066
+ },
28067
+ "default": "undefined",
28068
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
28069
+ "inheritedFrom": {
28070
+ "name": "ObcAbstractAutomationButton",
28071
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
28072
+ }
28073
+ },
28074
+ {
28075
+ "kind": "field",
28076
+ "name": "_badgeLayout",
28077
+ "privacy": "private",
28078
+ "readonly": true,
28079
+ "default": "new BadgeLayoutController(this)",
28080
+ "inheritedFrom": {
28081
+ "name": "ObcAbstractAutomationButton",
28082
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
28083
+ }
28084
+ },
27388
28085
  {
27389
28086
  "kind": "field",
27390
28087
  "name": "_variant",
@@ -27573,6 +28270,14 @@
27573
28270
  "text": "boolean"
27574
28271
  }
27575
28272
  },
28273
+ "parameters": [
28274
+ {
28275
+ "name": "badges",
28276
+ "type": {
28277
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
28278
+ }
28279
+ }
28280
+ ],
27576
28281
  "inheritedFrom": {
27577
28282
  "name": "ObcAbstractAutomationButton",
27578
28283
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -27587,6 +28292,28 @@
27587
28292
  "module": "src/automation/automation-button/abstract-automation-button.ts"
27588
28293
  }
27589
28294
  },
28295
+ {
28296
+ "kind": "method",
28297
+ "name": "getBadgeType",
28298
+ "privacy": "private",
28299
+ "return": {
28300
+ "type": {
28301
+ "text": "ObcAutomationBadgeType | null"
28302
+ }
28303
+ },
28304
+ "parameters": [
28305
+ {
28306
+ "name": "kind",
28307
+ "type": {
28308
+ "text": "AutomationButtonBadgeKind | null"
28309
+ }
28310
+ }
28311
+ ],
28312
+ "inheritedFrom": {
28313
+ "name": "ObcAbstractAutomationButton",
28314
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
28315
+ }
28316
+ },
27590
28317
  {
27591
28318
  "kind": "method",
27592
28319
  "name": "getBadgeAlertType",
@@ -28488,6 +29215,30 @@
28488
29215
  "module": "src/automation/automation-button/abstract-automation-button.ts"
28489
29216
  }
28490
29217
  },
29218
+ {
29219
+ "kind": "field",
29220
+ "name": "badgeLayout",
29221
+ "type": {
29222
+ "text": "AutomationButtonBadgeLayout | undefined"
29223
+ },
29224
+ "default": "undefined",
29225
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
29226
+ "inheritedFrom": {
29227
+ "name": "ObcAbstractAutomationButton",
29228
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
29229
+ }
29230
+ },
29231
+ {
29232
+ "kind": "field",
29233
+ "name": "_badgeLayout",
29234
+ "privacy": "private",
29235
+ "readonly": true,
29236
+ "default": "new BadgeLayoutController(this)",
29237
+ "inheritedFrom": {
29238
+ "name": "ObcAbstractAutomationButton",
29239
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
29240
+ }
29241
+ },
28491
29242
  {
28492
29243
  "kind": "field",
28493
29244
  "name": "_variant",
@@ -28649,6 +29400,14 @@
28649
29400
  "text": "boolean"
28650
29401
  }
28651
29402
  },
29403
+ "parameters": [
29404
+ {
29405
+ "name": "badges",
29406
+ "type": {
29407
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
29408
+ }
29409
+ }
29410
+ ],
28652
29411
  "inheritedFrom": {
28653
29412
  "name": "ObcAbstractAutomationButton",
28654
29413
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -28663,6 +29422,28 @@
28663
29422
  "module": "src/automation/automation-button/abstract-automation-button.ts"
28664
29423
  }
28665
29424
  },
29425
+ {
29426
+ "kind": "method",
29427
+ "name": "getBadgeType",
29428
+ "privacy": "private",
29429
+ "return": {
29430
+ "type": {
29431
+ "text": "ObcAutomationBadgeType | null"
29432
+ }
29433
+ },
29434
+ "parameters": [
29435
+ {
29436
+ "name": "kind",
29437
+ "type": {
29438
+ "text": "AutomationButtonBadgeKind | null"
29439
+ }
29440
+ }
29441
+ ],
29442
+ "inheritedFrom": {
29443
+ "name": "ObcAbstractAutomationButton",
29444
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
29445
+ }
29446
+ },
28666
29447
  {
28667
29448
  "kind": "method",
28668
29449
  "name": "getBadgeAlertType",
@@ -29518,6 +30299,30 @@
29518
30299
  "module": "src/automation/automation-button/abstract-automation-button.ts"
29519
30300
  }
29520
30301
  },
30302
+ {
30303
+ "kind": "field",
30304
+ "name": "badgeLayout",
30305
+ "type": {
30306
+ "text": "AutomationButtonBadgeLayout | undefined"
30307
+ },
30308
+ "default": "undefined",
30309
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
30310
+ "inheritedFrom": {
30311
+ "name": "ObcAbstractAutomationButton",
30312
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
30313
+ }
30314
+ },
30315
+ {
30316
+ "kind": "field",
30317
+ "name": "_badgeLayout",
30318
+ "privacy": "private",
30319
+ "readonly": true,
30320
+ "default": "new BadgeLayoutController(this)",
30321
+ "inheritedFrom": {
30322
+ "name": "ObcAbstractAutomationButton",
30323
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
30324
+ }
30325
+ },
29521
30326
  {
29522
30327
  "kind": "field",
29523
30328
  "name": "_variant",
@@ -29631,6 +30436,14 @@
29631
30436
  "text": "boolean"
29632
30437
  }
29633
30438
  },
30439
+ "parameters": [
30440
+ {
30441
+ "name": "badges",
30442
+ "type": {
30443
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
30444
+ }
30445
+ }
30446
+ ],
29634
30447
  "inheritedFrom": {
29635
30448
  "name": "ObcAbstractAutomationButton",
29636
30449
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -29645,6 +30458,28 @@
29645
30458
  "module": "src/automation/automation-button/abstract-automation-button.ts"
29646
30459
  }
29647
30460
  },
30461
+ {
30462
+ "kind": "method",
30463
+ "name": "getBadgeType",
30464
+ "privacy": "private",
30465
+ "return": {
30466
+ "type": {
30467
+ "text": "ObcAutomationBadgeType | null"
30468
+ }
30469
+ },
30470
+ "parameters": [
30471
+ {
30472
+ "name": "kind",
30473
+ "type": {
30474
+ "text": "AutomationButtonBadgeKind | null"
30475
+ }
30476
+ }
30477
+ ],
30478
+ "inheritedFrom": {
30479
+ "name": "ObcAbstractAutomationButton",
30480
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
30481
+ }
30482
+ },
29648
30483
  {
29649
30484
  "kind": "method",
29650
30485
  "name": "getBadgeAlertType",
@@ -30010,19 +30845,19 @@
30010
30845
  "name": "ObcElectricityBattery",
30011
30846
  "slots": [
30012
30847
  {
30013
- "description": "Content projected into the top-right badge position; overrides `badgeAlert`.",
30848
+ "description": "Content projected into the top-right badge position; overrides the badge `badgeLayout` puts in that corner.",
30014
30849
  "name": "badge-top-right"
30015
30850
  },
30016
30851
  {
30017
- "description": "Content projected into the top-left badge position; overrides `badgeControl`.",
30852
+ "description": "Content projected into the top-left badge position; overrides the badge `badgeLayout` puts in that corner.",
30018
30853
  "name": "badge-top-left"
30019
30854
  },
30020
30855
  {
30021
- "description": "Content projected into the bottom-left badge position; overrides `badgeInterlock`.",
30856
+ "description": "Content projected into the bottom-left badge position; overrides the badge `badgeLayout` puts in that corner.",
30022
30857
  "name": "badge-bottom-left"
30023
30858
  },
30024
30859
  {
30025
- "description": "Content projected into the bottom-right badge position; overrides `badgeCommandLocked`.",
30860
+ "description": "Content projected into the bottom-right badge position; overrides the badge `badgeLayout` puts in that corner.",
30026
30861
  "name": "badge-bottom-right"
30027
30862
  }
30028
30863
  ],
@@ -30510,6 +31345,30 @@
30510
31345
  "module": "src/automation/automation-button/abstract-automation-button.ts"
30511
31346
  }
30512
31347
  },
31348
+ {
31349
+ "kind": "field",
31350
+ "name": "badgeLayout",
31351
+ "type": {
31352
+ "text": "AutomationButtonBadgeLayout | undefined"
31353
+ },
31354
+ "default": "undefined",
31355
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
31356
+ "inheritedFrom": {
31357
+ "name": "ObcAbstractAutomationButton",
31358
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
31359
+ }
31360
+ },
31361
+ {
31362
+ "kind": "field",
31363
+ "name": "_badgeLayout",
31364
+ "privacy": "private",
31365
+ "readonly": true,
31366
+ "default": "new BadgeLayoutController(this)",
31367
+ "inheritedFrom": {
31368
+ "name": "ObcAbstractAutomationButton",
31369
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
31370
+ }
31371
+ },
30513
31372
  {
30514
31373
  "kind": "field",
30515
31374
  "name": "_variant",
@@ -30685,6 +31544,14 @@
30685
31544
  "text": "boolean"
30686
31545
  }
30687
31546
  },
31547
+ "parameters": [
31548
+ {
31549
+ "name": "badges",
31550
+ "type": {
31551
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
31552
+ }
31553
+ }
31554
+ ],
30688
31555
  "inheritedFrom": {
30689
31556
  "name": "ObcAbstractAutomationButton",
30690
31557
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -30699,6 +31566,28 @@
30699
31566
  "module": "src/automation/automation-button/abstract-automation-button.ts"
30700
31567
  }
30701
31568
  },
31569
+ {
31570
+ "kind": "method",
31571
+ "name": "getBadgeType",
31572
+ "privacy": "private",
31573
+ "return": {
31574
+ "type": {
31575
+ "text": "ObcAutomationBadgeType | null"
31576
+ }
31577
+ },
31578
+ "parameters": [
31579
+ {
31580
+ "name": "kind",
31581
+ "type": {
31582
+ "text": "AutomationButtonBadgeKind | null"
31583
+ }
31584
+ }
31585
+ ],
31586
+ "inheritedFrom": {
31587
+ "name": "ObcAbstractAutomationButton",
31588
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
31589
+ }
31590
+ },
30702
31591
  {
30703
31592
  "kind": "method",
30704
31593
  "name": "getBadgeAlertType",
@@ -31665,6 +32554,30 @@
31665
32554
  "module": "src/automation/automation-button/abstract-automation-button.ts"
31666
32555
  }
31667
32556
  },
32557
+ {
32558
+ "kind": "field",
32559
+ "name": "badgeLayout",
32560
+ "type": {
32561
+ "text": "AutomationButtonBadgeLayout | undefined"
32562
+ },
32563
+ "default": "undefined",
32564
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
32565
+ "inheritedFrom": {
32566
+ "name": "ObcAbstractAutomationButton",
32567
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
32568
+ }
32569
+ },
32570
+ {
32571
+ "kind": "field",
32572
+ "name": "_badgeLayout",
32573
+ "privacy": "private",
32574
+ "readonly": true,
32575
+ "default": "new BadgeLayoutController(this)",
32576
+ "inheritedFrom": {
32577
+ "name": "ObcAbstractAutomationButton",
32578
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
32579
+ }
32580
+ },
31668
32581
  {
31669
32582
  "kind": "field",
31670
32583
  "name": "_variant",
@@ -31865,6 +32778,14 @@
31865
32778
  "text": "boolean"
31866
32779
  }
31867
32780
  },
32781
+ "parameters": [
32782
+ {
32783
+ "name": "badges",
32784
+ "type": {
32785
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
32786
+ }
32787
+ }
32788
+ ],
31868
32789
  "inheritedFrom": {
31869
32790
  "name": "ObcAbstractAutomationButton",
31870
32791
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -31879,6 +32800,28 @@
31879
32800
  "module": "src/automation/automation-button/abstract-automation-button.ts"
31880
32801
  }
31881
32802
  },
32803
+ {
32804
+ "kind": "method",
32805
+ "name": "getBadgeType",
32806
+ "privacy": "private",
32807
+ "return": {
32808
+ "type": {
32809
+ "text": "ObcAutomationBadgeType | null"
32810
+ }
32811
+ },
32812
+ "parameters": [
32813
+ {
32814
+ "name": "kind",
32815
+ "type": {
32816
+ "text": "AutomationButtonBadgeKind | null"
32817
+ }
32818
+ }
32819
+ ],
32820
+ "inheritedFrom": {
32821
+ "name": "ObcAbstractAutomationButton",
32822
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
32823
+ }
32824
+ },
31882
32825
  {
31883
32826
  "kind": "method",
31884
32827
  "name": "getBadgeAlertType",
@@ -32791,6 +33734,30 @@
32791
33734
  "module": "src/automation/automation-button/abstract-automation-button.ts"
32792
33735
  }
32793
33736
  },
33737
+ {
33738
+ "kind": "field",
33739
+ "name": "badgeLayout",
33740
+ "type": {
33741
+ "text": "AutomationButtonBadgeLayout | undefined"
33742
+ },
33743
+ "default": "undefined",
33744
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
33745
+ "inheritedFrom": {
33746
+ "name": "ObcAbstractAutomationButton",
33747
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
33748
+ }
33749
+ },
33750
+ {
33751
+ "kind": "field",
33752
+ "name": "_badgeLayout",
33753
+ "privacy": "private",
33754
+ "readonly": true,
33755
+ "default": "new BadgeLayoutController(this)",
33756
+ "inheritedFrom": {
33757
+ "name": "ObcAbstractAutomationButton",
33758
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
33759
+ }
33760
+ },
32794
33761
  {
32795
33762
  "kind": "field",
32796
33763
  "name": "_variant",
@@ -32979,6 +33946,14 @@
32979
33946
  "text": "boolean"
32980
33947
  }
32981
33948
  },
33949
+ "parameters": [
33950
+ {
33951
+ "name": "badges",
33952
+ "type": {
33953
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
33954
+ }
33955
+ }
33956
+ ],
32982
33957
  "inheritedFrom": {
32983
33958
  "name": "ObcAbstractAutomationButton",
32984
33959
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -32993,6 +33968,28 @@
32993
33968
  "module": "src/automation/automation-button/abstract-automation-button.ts"
32994
33969
  }
32995
33970
  },
33971
+ {
33972
+ "kind": "method",
33973
+ "name": "getBadgeType",
33974
+ "privacy": "private",
33975
+ "return": {
33976
+ "type": {
33977
+ "text": "ObcAutomationBadgeType | null"
33978
+ }
33979
+ },
33980
+ "parameters": [
33981
+ {
33982
+ "name": "kind",
33983
+ "type": {
33984
+ "text": "AutomationButtonBadgeKind | null"
33985
+ }
33986
+ }
33987
+ ],
33988
+ "inheritedFrom": {
33989
+ "name": "ObcAbstractAutomationButton",
33990
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
33991
+ }
33992
+ },
32996
33993
  {
32997
33994
  "kind": "method",
32998
33995
  "name": "getBadgeAlertType",
@@ -37823,6 +38820,30 @@
37823
38820
  "module": "src/automation/automation-button/abstract-automation-button.ts"
37824
38821
  }
37825
38822
  },
38823
+ {
38824
+ "kind": "field",
38825
+ "name": "badgeLayout",
38826
+ "type": {
38827
+ "text": "AutomationButtonBadgeLayout | undefined"
38828
+ },
38829
+ "default": "undefined",
38830
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
38831
+ "inheritedFrom": {
38832
+ "name": "ObcAbstractAutomationButton",
38833
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
38834
+ }
38835
+ },
38836
+ {
38837
+ "kind": "field",
38838
+ "name": "_badgeLayout",
38839
+ "privacy": "private",
38840
+ "readonly": true,
38841
+ "default": "new BadgeLayoutController(this)",
38842
+ "inheritedFrom": {
38843
+ "name": "ObcAbstractAutomationButton",
38844
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
38845
+ }
38846
+ },
37826
38847
  {
37827
38848
  "kind": "field",
37828
38849
  "name": "_variant",
@@ -38011,6 +39032,14 @@
38011
39032
  "text": "boolean"
38012
39033
  }
38013
39034
  },
39035
+ "parameters": [
39036
+ {
39037
+ "name": "badges",
39038
+ "type": {
39039
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
39040
+ }
39041
+ }
39042
+ ],
38014
39043
  "inheritedFrom": {
38015
39044
  "name": "ObcAbstractAutomationButton",
38016
39045
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -38025,6 +39054,28 @@
38025
39054
  "module": "src/automation/automation-button/abstract-automation-button.ts"
38026
39055
  }
38027
39056
  },
39057
+ {
39058
+ "kind": "method",
39059
+ "name": "getBadgeType",
39060
+ "privacy": "private",
39061
+ "return": {
39062
+ "type": {
39063
+ "text": "ObcAutomationBadgeType | null"
39064
+ }
39065
+ },
39066
+ "parameters": [
39067
+ {
39068
+ "name": "kind",
39069
+ "type": {
39070
+ "text": "AutomationButtonBadgeKind | null"
39071
+ }
39072
+ }
39073
+ ],
39074
+ "inheritedFrom": {
39075
+ "name": "ObcAbstractAutomationButton",
39076
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
39077
+ }
39078
+ },
38028
39079
  {
38029
39080
  "kind": "method",
38030
39081
  "name": "getBadgeAlertType",
@@ -42565,6 +43616,30 @@
42565
43616
  "module": "src/automation/automation-button/abstract-automation-button.ts"
42566
43617
  }
42567
43618
  },
43619
+ {
43620
+ "kind": "field",
43621
+ "name": "badgeLayout",
43622
+ "type": {
43623
+ "text": "AutomationButtonBadgeLayout | undefined"
43624
+ },
43625
+ "default": "undefined",
43626
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
43627
+ "inheritedFrom": {
43628
+ "name": "ObcAbstractAutomationButton",
43629
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
43630
+ }
43631
+ },
43632
+ {
43633
+ "kind": "field",
43634
+ "name": "_badgeLayout",
43635
+ "privacy": "private",
43636
+ "readonly": true,
43637
+ "default": "new BadgeLayoutController(this)",
43638
+ "inheritedFrom": {
43639
+ "name": "ObcAbstractAutomationButton",
43640
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
43641
+ }
43642
+ },
42568
43643
  {
42569
43644
  "kind": "field",
42570
43645
  "name": "_variant",
@@ -42753,6 +43828,14 @@
42753
43828
  "text": "boolean"
42754
43829
  }
42755
43830
  },
43831
+ "parameters": [
43832
+ {
43833
+ "name": "badges",
43834
+ "type": {
43835
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
43836
+ }
43837
+ }
43838
+ ],
42756
43839
  "inheritedFrom": {
42757
43840
  "name": "ObcAbstractAutomationButton",
42758
43841
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -42767,6 +43850,28 @@
42767
43850
  "module": "src/automation/automation-button/abstract-automation-button.ts"
42768
43851
  }
42769
43852
  },
43853
+ {
43854
+ "kind": "method",
43855
+ "name": "getBadgeType",
43856
+ "privacy": "private",
43857
+ "return": {
43858
+ "type": {
43859
+ "text": "ObcAutomationBadgeType | null"
43860
+ }
43861
+ },
43862
+ "parameters": [
43863
+ {
43864
+ "name": "kind",
43865
+ "type": {
43866
+ "text": "AutomationButtonBadgeKind | null"
43867
+ }
43868
+ }
43869
+ ],
43870
+ "inheritedFrom": {
43871
+ "name": "ObcAbstractAutomationButton",
43872
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
43873
+ }
43874
+ },
42770
43875
  {
42771
43876
  "kind": "method",
42772
43877
  "name": "getBadgeAlertType",
@@ -43625,6 +44730,30 @@
43625
44730
  "module": "src/automation/automation-button/abstract-automation-button.ts"
43626
44731
  }
43627
44732
  },
44733
+ {
44734
+ "kind": "field",
44735
+ "name": "badgeLayout",
44736
+ "type": {
44737
+ "text": "AutomationButtonBadgeLayout | undefined"
44738
+ },
44739
+ "default": "undefined",
44740
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
44741
+ "inheritedFrom": {
44742
+ "name": "ObcAbstractAutomationButton",
44743
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
44744
+ }
44745
+ },
44746
+ {
44747
+ "kind": "field",
44748
+ "name": "_badgeLayout",
44749
+ "privacy": "private",
44750
+ "readonly": true,
44751
+ "default": "new BadgeLayoutController(this)",
44752
+ "inheritedFrom": {
44753
+ "name": "ObcAbstractAutomationButton",
44754
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
44755
+ }
44756
+ },
43628
44757
  {
43629
44758
  "kind": "field",
43630
44759
  "name": "_variant",
@@ -43813,6 +44942,14 @@
43813
44942
  "text": "boolean"
43814
44943
  }
43815
44944
  },
44945
+ "parameters": [
44946
+ {
44947
+ "name": "badges",
44948
+ "type": {
44949
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
44950
+ }
44951
+ }
44952
+ ],
43816
44953
  "inheritedFrom": {
43817
44954
  "name": "ObcAbstractAutomationButton",
43818
44955
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -43827,6 +44964,28 @@
43827
44964
  "module": "src/automation/automation-button/abstract-automation-button.ts"
43828
44965
  }
43829
44966
  },
44967
+ {
44968
+ "kind": "method",
44969
+ "name": "getBadgeType",
44970
+ "privacy": "private",
44971
+ "return": {
44972
+ "type": {
44973
+ "text": "ObcAutomationBadgeType | null"
44974
+ }
44975
+ },
44976
+ "parameters": [
44977
+ {
44978
+ "name": "kind",
44979
+ "type": {
44980
+ "text": "AutomationButtonBadgeKind | null"
44981
+ }
44982
+ }
44983
+ ],
44984
+ "inheritedFrom": {
44985
+ "name": "ObcAbstractAutomationButton",
44986
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
44987
+ }
44988
+ },
43830
44989
  {
43831
44990
  "kind": "method",
43832
44991
  "name": "getBadgeAlertType",
@@ -44718,6 +45877,30 @@
44718
45877
  "module": "src/automation/automation-button/abstract-automation-button.ts"
44719
45878
  }
44720
45879
  },
45880
+ {
45881
+ "kind": "field",
45882
+ "name": "badgeLayout",
45883
+ "type": {
45884
+ "text": "AutomationButtonBadgeLayout | undefined"
45885
+ },
45886
+ "default": "undefined",
45887
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
45888
+ "inheritedFrom": {
45889
+ "name": "ObcAbstractAutomationButton",
45890
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
45891
+ }
45892
+ },
45893
+ {
45894
+ "kind": "field",
45895
+ "name": "_badgeLayout",
45896
+ "privacy": "private",
45897
+ "readonly": true,
45898
+ "default": "new BadgeLayoutController(this)",
45899
+ "inheritedFrom": {
45900
+ "name": "ObcAbstractAutomationButton",
45901
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
45902
+ }
45903
+ },
44721
45904
  {
44722
45905
  "kind": "field",
44723
45906
  "name": "_variant",
@@ -44918,6 +46101,14 @@
44918
46101
  "text": "boolean"
44919
46102
  }
44920
46103
  },
46104
+ "parameters": [
46105
+ {
46106
+ "name": "badges",
46107
+ "type": {
46108
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
46109
+ }
46110
+ }
46111
+ ],
44921
46112
  "inheritedFrom": {
44922
46113
  "name": "ObcAbstractAutomationButton",
44923
46114
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -44932,6 +46123,28 @@
44932
46123
  "module": "src/automation/automation-button/abstract-automation-button.ts"
44933
46124
  }
44934
46125
  },
46126
+ {
46127
+ "kind": "method",
46128
+ "name": "getBadgeType",
46129
+ "privacy": "private",
46130
+ "return": {
46131
+ "type": {
46132
+ "text": "ObcAutomationBadgeType | null"
46133
+ }
46134
+ },
46135
+ "parameters": [
46136
+ {
46137
+ "name": "kind",
46138
+ "type": {
46139
+ "text": "AutomationButtonBadgeKind | null"
46140
+ }
46141
+ }
46142
+ ],
46143
+ "inheritedFrom": {
46144
+ "name": "ObcAbstractAutomationButton",
46145
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
46146
+ }
46147
+ },
44935
46148
  {
44936
46149
  "kind": "method",
44937
46150
  "name": "getBadgeAlertType",
@@ -45838,6 +47051,30 @@
45838
47051
  "module": "src/automation/automation-button/abstract-automation-button.ts"
45839
47052
  }
45840
47053
  },
47054
+ {
47055
+ "kind": "field",
47056
+ "name": "badgeLayout",
47057
+ "type": {
47058
+ "text": "AutomationButtonBadgeLayout | undefined"
47059
+ },
47060
+ "default": "undefined",
47061
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
47062
+ "inheritedFrom": {
47063
+ "name": "ObcAbstractAutomationButton",
47064
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
47065
+ }
47066
+ },
47067
+ {
47068
+ "kind": "field",
47069
+ "name": "_badgeLayout",
47070
+ "privacy": "private",
47071
+ "readonly": true,
47072
+ "default": "new BadgeLayoutController(this)",
47073
+ "inheritedFrom": {
47074
+ "name": "ObcAbstractAutomationButton",
47075
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
47076
+ }
47077
+ },
45841
47078
  {
45842
47079
  "kind": "field",
45843
47080
  "name": "_variant",
@@ -45999,6 +47236,14 @@
45999
47236
  "text": "boolean"
46000
47237
  }
46001
47238
  },
47239
+ "parameters": [
47240
+ {
47241
+ "name": "badges",
47242
+ "type": {
47243
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
47244
+ }
47245
+ }
47246
+ ],
46002
47247
  "inheritedFrom": {
46003
47248
  "name": "ObcAbstractAutomationButton",
46004
47249
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -46013,6 +47258,28 @@
46013
47258
  "module": "src/automation/automation-button/abstract-automation-button.ts"
46014
47259
  }
46015
47260
  },
47261
+ {
47262
+ "kind": "method",
47263
+ "name": "getBadgeType",
47264
+ "privacy": "private",
47265
+ "return": {
47266
+ "type": {
47267
+ "text": "ObcAutomationBadgeType | null"
47268
+ }
47269
+ },
47270
+ "parameters": [
47271
+ {
47272
+ "name": "kind",
47273
+ "type": {
47274
+ "text": "AutomationButtonBadgeKind | null"
47275
+ }
47276
+ }
47277
+ ],
47278
+ "inheritedFrom": {
47279
+ "name": "ObcAbstractAutomationButton",
47280
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
47281
+ }
47282
+ },
46016
47283
  {
46017
47284
  "kind": "method",
46018
47285
  "name": "getBadgeAlertType",
@@ -46914,6 +48181,30 @@
46914
48181
  "module": "src/automation/automation-button/abstract-automation-button.ts"
46915
48182
  }
46916
48183
  },
48184
+ {
48185
+ "kind": "field",
48186
+ "name": "badgeLayout",
48187
+ "type": {
48188
+ "text": "AutomationButtonBadgeLayout | undefined"
48189
+ },
48190
+ "default": "undefined",
48191
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
48192
+ "inheritedFrom": {
48193
+ "name": "ObcAbstractAutomationButton",
48194
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
48195
+ }
48196
+ },
48197
+ {
48198
+ "kind": "field",
48199
+ "name": "_badgeLayout",
48200
+ "privacy": "private",
48201
+ "readonly": true,
48202
+ "default": "new BadgeLayoutController(this)",
48203
+ "inheritedFrom": {
48204
+ "name": "ObcAbstractAutomationButton",
48205
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
48206
+ }
48207
+ },
46917
48208
  {
46918
48209
  "kind": "field",
46919
48210
  "name": "_variant",
@@ -47027,6 +48318,14 @@
47027
48318
  "text": "boolean"
47028
48319
  }
47029
48320
  },
48321
+ "parameters": [
48322
+ {
48323
+ "name": "badges",
48324
+ "type": {
48325
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
48326
+ }
48327
+ }
48328
+ ],
47030
48329
  "inheritedFrom": {
47031
48330
  "name": "ObcAbstractAutomationButton",
47032
48331
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -47041,6 +48340,28 @@
47041
48340
  "module": "src/automation/automation-button/abstract-automation-button.ts"
47042
48341
  }
47043
48342
  },
48343
+ {
48344
+ "kind": "method",
48345
+ "name": "getBadgeType",
48346
+ "privacy": "private",
48347
+ "return": {
48348
+ "type": {
48349
+ "text": "ObcAutomationBadgeType | null"
48350
+ }
48351
+ },
48352
+ "parameters": [
48353
+ {
48354
+ "name": "kind",
48355
+ "type": {
48356
+ "text": "AutomationButtonBadgeKind | null"
48357
+ }
48358
+ }
48359
+ ],
48360
+ "inheritedFrom": {
48361
+ "name": "ObcAbstractAutomationButton",
48362
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
48363
+ }
48364
+ },
47044
48365
  {
47045
48366
  "kind": "method",
47046
48367
  "name": "getBadgeAlertType",
@@ -47967,6 +49288,30 @@
47967
49288
  "module": "src/automation/automation-button/abstract-automation-button.ts"
47968
49289
  }
47969
49290
  },
49291
+ {
49292
+ "kind": "field",
49293
+ "name": "badgeLayout",
49294
+ "type": {
49295
+ "text": "AutomationButtonBadgeLayout | undefined"
49296
+ },
49297
+ "default": "undefined",
49298
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
49299
+ "inheritedFrom": {
49300
+ "name": "ObcAbstractAutomationButton",
49301
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
49302
+ }
49303
+ },
49304
+ {
49305
+ "kind": "field",
49306
+ "name": "_badgeLayout",
49307
+ "privacy": "private",
49308
+ "readonly": true,
49309
+ "default": "new BadgeLayoutController(this)",
49310
+ "inheritedFrom": {
49311
+ "name": "ObcAbstractAutomationButton",
49312
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
49313
+ }
49314
+ },
47970
49315
  {
47971
49316
  "kind": "field",
47972
49317
  "name": "_variant",
@@ -48080,6 +49425,14 @@
48080
49425
  "text": "boolean"
48081
49426
  }
48082
49427
  },
49428
+ "parameters": [
49429
+ {
49430
+ "name": "badges",
49431
+ "type": {
49432
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
49433
+ }
49434
+ }
49435
+ ],
48083
49436
  "inheritedFrom": {
48084
49437
  "name": "ObcAbstractAutomationButton",
48085
49438
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -48094,6 +49447,28 @@
48094
49447
  "module": "src/automation/automation-button/abstract-automation-button.ts"
48095
49448
  }
48096
49449
  },
49450
+ {
49451
+ "kind": "method",
49452
+ "name": "getBadgeType",
49453
+ "privacy": "private",
49454
+ "return": {
49455
+ "type": {
49456
+ "text": "ObcAutomationBadgeType | null"
49457
+ }
49458
+ },
49459
+ "parameters": [
49460
+ {
49461
+ "name": "kind",
49462
+ "type": {
49463
+ "text": "AutomationButtonBadgeKind | null"
49464
+ }
49465
+ }
49466
+ ],
49467
+ "inheritedFrom": {
49468
+ "name": "ObcAbstractAutomationButton",
49469
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
49470
+ }
49471
+ },
48097
49472
  {
48098
49473
  "kind": "method",
48099
49474
  "name": "getBadgeAlertType",
@@ -48979,6 +50354,30 @@
48979
50354
  "module": "src/automation/automation-button/abstract-automation-button.ts"
48980
50355
  }
48981
50356
  },
50357
+ {
50358
+ "kind": "field",
50359
+ "name": "badgeLayout",
50360
+ "type": {
50361
+ "text": "AutomationButtonBadgeLayout | undefined"
50362
+ },
50363
+ "default": "undefined",
50364
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
50365
+ "inheritedFrom": {
50366
+ "name": "ObcAbstractAutomationButton",
50367
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
50368
+ }
50369
+ },
50370
+ {
50371
+ "kind": "field",
50372
+ "name": "_badgeLayout",
50373
+ "privacy": "private",
50374
+ "readonly": true,
50375
+ "default": "new BadgeLayoutController(this)",
50376
+ "inheritedFrom": {
50377
+ "name": "ObcAbstractAutomationButton",
50378
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
50379
+ }
50380
+ },
48982
50381
  {
48983
50382
  "kind": "field",
48984
50383
  "name": "_variant",
@@ -49179,6 +50578,14 @@
49179
50578
  "text": "boolean"
49180
50579
  }
49181
50580
  },
50581
+ "parameters": [
50582
+ {
50583
+ "name": "badges",
50584
+ "type": {
50585
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
50586
+ }
50587
+ }
50588
+ ],
49182
50589
  "inheritedFrom": {
49183
50590
  "name": "ObcAbstractAutomationButton",
49184
50591
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -49193,6 +50600,28 @@
49193
50600
  "module": "src/automation/automation-button/abstract-automation-button.ts"
49194
50601
  }
49195
50602
  },
50603
+ {
50604
+ "kind": "method",
50605
+ "name": "getBadgeType",
50606
+ "privacy": "private",
50607
+ "return": {
50608
+ "type": {
50609
+ "text": "ObcAutomationBadgeType | null"
50610
+ }
50611
+ },
50612
+ "parameters": [
50613
+ {
50614
+ "name": "kind",
50615
+ "type": {
50616
+ "text": "AutomationButtonBadgeKind | null"
50617
+ }
50618
+ }
50619
+ ],
50620
+ "inheritedFrom": {
50621
+ "name": "ObcAbstractAutomationButton",
50622
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
50623
+ }
50624
+ },
49196
50625
  {
49197
50626
  "kind": "method",
49198
50627
  "name": "getBadgeAlertType",
@@ -50113,6 +51542,30 @@
50113
51542
  "module": "src/automation/automation-button/abstract-automation-button.ts"
50114
51543
  }
50115
51544
  },
51545
+ {
51546
+ "kind": "field",
51547
+ "name": "badgeLayout",
51548
+ "type": {
51549
+ "text": "AutomationButtonBadgeLayout | undefined"
51550
+ },
51551
+ "default": "undefined",
51552
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
51553
+ "inheritedFrom": {
51554
+ "name": "ObcAbstractAutomationButton",
51555
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
51556
+ }
51557
+ },
51558
+ {
51559
+ "kind": "field",
51560
+ "name": "_badgeLayout",
51561
+ "privacy": "private",
51562
+ "readonly": true,
51563
+ "default": "new BadgeLayoutController(this)",
51564
+ "inheritedFrom": {
51565
+ "name": "ObcAbstractAutomationButton",
51566
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
51567
+ }
51568
+ },
50116
51569
  {
50117
51570
  "kind": "field",
50118
51571
  "name": "_variant",
@@ -50301,6 +51754,14 @@
50301
51754
  "text": "boolean"
50302
51755
  }
50303
51756
  },
51757
+ "parameters": [
51758
+ {
51759
+ "name": "badges",
51760
+ "type": {
51761
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
51762
+ }
51763
+ }
51764
+ ],
50304
51765
  "inheritedFrom": {
50305
51766
  "name": "ObcAbstractAutomationButton",
50306
51767
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -50315,6 +51776,28 @@
50315
51776
  "module": "src/automation/automation-button/abstract-automation-button.ts"
50316
51777
  }
50317
51778
  },
51779
+ {
51780
+ "kind": "method",
51781
+ "name": "getBadgeType",
51782
+ "privacy": "private",
51783
+ "return": {
51784
+ "type": {
51785
+ "text": "ObcAutomationBadgeType | null"
51786
+ }
51787
+ },
51788
+ "parameters": [
51789
+ {
51790
+ "name": "kind",
51791
+ "type": {
51792
+ "text": "AutomationButtonBadgeKind | null"
51793
+ }
51794
+ }
51795
+ ],
51796
+ "inheritedFrom": {
51797
+ "name": "ObcAbstractAutomationButton",
51798
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
51799
+ }
51800
+ },
50318
51801
  {
50319
51802
  "kind": "method",
50320
51803
  "name": "getBadgeAlertType",
@@ -51173,6 +52656,30 @@
51173
52656
  "module": "src/automation/automation-button/abstract-automation-button.ts"
51174
52657
  }
51175
52658
  },
52659
+ {
52660
+ "kind": "field",
52661
+ "name": "badgeLayout",
52662
+ "type": {
52663
+ "text": "AutomationButtonBadgeLayout | undefined"
52664
+ },
52665
+ "default": "undefined",
52666
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
52667
+ "inheritedFrom": {
52668
+ "name": "ObcAbstractAutomationButton",
52669
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
52670
+ }
52671
+ },
52672
+ {
52673
+ "kind": "field",
52674
+ "name": "_badgeLayout",
52675
+ "privacy": "private",
52676
+ "readonly": true,
52677
+ "default": "new BadgeLayoutController(this)",
52678
+ "inheritedFrom": {
52679
+ "name": "ObcAbstractAutomationButton",
52680
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
52681
+ }
52682
+ },
51176
52683
  {
51177
52684
  "kind": "field",
51178
52685
  "name": "_variant",
@@ -51361,6 +52868,14 @@
51361
52868
  "text": "boolean"
51362
52869
  }
51363
52870
  },
52871
+ "parameters": [
52872
+ {
52873
+ "name": "badges",
52874
+ "type": {
52875
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
52876
+ }
52877
+ }
52878
+ ],
51364
52879
  "inheritedFrom": {
51365
52880
  "name": "ObcAbstractAutomationButton",
51366
52881
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -51375,6 +52890,28 @@
51375
52890
  "module": "src/automation/automation-button/abstract-automation-button.ts"
51376
52891
  }
51377
52892
  },
52893
+ {
52894
+ "kind": "method",
52895
+ "name": "getBadgeType",
52896
+ "privacy": "private",
52897
+ "return": {
52898
+ "type": {
52899
+ "text": "ObcAutomationBadgeType | null"
52900
+ }
52901
+ },
52902
+ "parameters": [
52903
+ {
52904
+ "name": "kind",
52905
+ "type": {
52906
+ "text": "AutomationButtonBadgeKind | null"
52907
+ }
52908
+ }
52909
+ ],
52910
+ "inheritedFrom": {
52911
+ "name": "ObcAbstractAutomationButton",
52912
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
52913
+ }
52914
+ },
51378
52915
  {
51379
52916
  "kind": "method",
51380
52917
  "name": "getBadgeAlertType",
@@ -52425,6 +53962,30 @@
52425
53962
  "module": "src/automation/automation-button/abstract-automation-button.ts"
52426
53963
  }
52427
53964
  },
53965
+ {
53966
+ "kind": "field",
53967
+ "name": "badgeLayout",
53968
+ "type": {
53969
+ "text": "AutomationButtonBadgeLayout | undefined"
53970
+ },
53971
+ "default": "undefined",
53972
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
53973
+ "inheritedFrom": {
53974
+ "name": "ObcAbstractAutomationButton",
53975
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
53976
+ }
53977
+ },
53978
+ {
53979
+ "kind": "field",
53980
+ "name": "_badgeLayout",
53981
+ "privacy": "private",
53982
+ "readonly": true,
53983
+ "default": "new BadgeLayoutController(this)",
53984
+ "inheritedFrom": {
53985
+ "name": "ObcAbstractAutomationButton",
53986
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
53987
+ }
53988
+ },
52428
53989
  {
52429
53990
  "kind": "field",
52430
53991
  "name": "_variant",
@@ -52613,6 +54174,14 @@
52613
54174
  "text": "boolean"
52614
54175
  }
52615
54176
  },
54177
+ "parameters": [
54178
+ {
54179
+ "name": "badges",
54180
+ "type": {
54181
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
54182
+ }
54183
+ }
54184
+ ],
52616
54185
  "inheritedFrom": {
52617
54186
  "name": "ObcAbstractAutomationButton",
52618
54187
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -52627,6 +54196,28 @@
52627
54196
  "module": "src/automation/automation-button/abstract-automation-button.ts"
52628
54197
  }
52629
54198
  },
54199
+ {
54200
+ "kind": "method",
54201
+ "name": "getBadgeType",
54202
+ "privacy": "private",
54203
+ "return": {
54204
+ "type": {
54205
+ "text": "ObcAutomationBadgeType | null"
54206
+ }
54207
+ },
54208
+ "parameters": [
54209
+ {
54210
+ "name": "kind",
54211
+ "type": {
54212
+ "text": "AutomationButtonBadgeKind | null"
54213
+ }
54214
+ }
54215
+ ],
54216
+ "inheritedFrom": {
54217
+ "name": "ObcAbstractAutomationButton",
54218
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
54219
+ }
54220
+ },
52630
54221
  {
52631
54222
  "kind": "method",
52632
54223
  "name": "getBadgeAlertType",
@@ -54006,6 +55597,30 @@
54006
55597
  "module": "src/automation/automation-button/abstract-automation-button.ts"
54007
55598
  }
54008
55599
  },
55600
+ {
55601
+ "kind": "field",
55602
+ "name": "badgeLayout",
55603
+ "type": {
55604
+ "text": "AutomationButtonBadgeLayout | undefined"
55605
+ },
55606
+ "default": "undefined",
55607
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
55608
+ "inheritedFrom": {
55609
+ "name": "ObcAbstractAutomationButton",
55610
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
55611
+ }
55612
+ },
55613
+ {
55614
+ "kind": "field",
55615
+ "name": "_badgeLayout",
55616
+ "privacy": "private",
55617
+ "readonly": true,
55618
+ "default": "new BadgeLayoutController(this)",
55619
+ "inheritedFrom": {
55620
+ "name": "ObcAbstractAutomationButton",
55621
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
55622
+ }
55623
+ },
54009
55624
  {
54010
55625
  "kind": "field",
54011
55626
  "name": "_variant",
@@ -54194,6 +55809,14 @@
54194
55809
  "text": "boolean"
54195
55810
  }
54196
55811
  },
55812
+ "parameters": [
55813
+ {
55814
+ "name": "badges",
55815
+ "type": {
55816
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
55817
+ }
55818
+ }
55819
+ ],
54197
55820
  "inheritedFrom": {
54198
55821
  "name": "ObcAbstractAutomationButton",
54199
55822
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -54208,6 +55831,28 @@
54208
55831
  "module": "src/automation/automation-button/abstract-automation-button.ts"
54209
55832
  }
54210
55833
  },
55834
+ {
55835
+ "kind": "method",
55836
+ "name": "getBadgeType",
55837
+ "privacy": "private",
55838
+ "return": {
55839
+ "type": {
55840
+ "text": "ObcAutomationBadgeType | null"
55841
+ }
55842
+ },
55843
+ "parameters": [
55844
+ {
55845
+ "name": "kind",
55846
+ "type": {
55847
+ "text": "AutomationButtonBadgeKind | null"
55848
+ }
55849
+ }
55850
+ ],
55851
+ "inheritedFrom": {
55852
+ "name": "ObcAbstractAutomationButton",
55853
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
55854
+ }
55855
+ },
54211
55856
  {
54212
55857
  "kind": "method",
54213
55858
  "name": "getBadgeAlertType",
@@ -55250,6 +56895,30 @@
55250
56895
  "module": "src/automation/automation-button/abstract-automation-button.ts"
55251
56896
  }
55252
56897
  },
56898
+ {
56899
+ "kind": "field",
56900
+ "name": "badgeLayout",
56901
+ "type": {
56902
+ "text": "AutomationButtonBadgeLayout | undefined"
56903
+ },
56904
+ "default": "undefined",
56905
+ "description": "Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from.",
56906
+ "inheritedFrom": {
56907
+ "name": "ObcAbstractAutomationButton",
56908
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
56909
+ }
56910
+ },
56911
+ {
56912
+ "kind": "field",
56913
+ "name": "_badgeLayout",
56914
+ "privacy": "private",
56915
+ "readonly": true,
56916
+ "default": "new BadgeLayoutController(this)",
56917
+ "inheritedFrom": {
56918
+ "name": "ObcAbstractAutomationButton",
56919
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
56920
+ }
56921
+ },
55253
56922
  {
55254
56923
  "kind": "field",
55255
56924
  "name": "_variant",
@@ -55438,6 +57107,14 @@
55438
57107
  "text": "boolean"
55439
57108
  }
55440
57109
  },
57110
+ "parameters": [
57111
+ {
57112
+ "name": "badges",
57113
+ "type": {
57114
+ "text": "Record<BadgeCorner, ObcAutomationBadgeType | null>"
57115
+ }
57116
+ }
57117
+ ],
55441
57118
  "inheritedFrom": {
55442
57119
  "name": "ObcAbstractAutomationButton",
55443
57120
  "module": "src/automation/automation-button/abstract-automation-button.ts"
@@ -55452,6 +57129,28 @@
55452
57129
  "module": "src/automation/automation-button/abstract-automation-button.ts"
55453
57130
  }
55454
57131
  },
57132
+ {
57133
+ "kind": "method",
57134
+ "name": "getBadgeType",
57135
+ "privacy": "private",
57136
+ "return": {
57137
+ "type": {
57138
+ "text": "ObcAutomationBadgeType | null"
57139
+ }
57140
+ },
57141
+ "parameters": [
57142
+ {
57143
+ "name": "kind",
57144
+ "type": {
57145
+ "text": "AutomationButtonBadgeKind | null"
57146
+ }
57147
+ }
57148
+ ],
57149
+ "inheritedFrom": {
57150
+ "name": "ObcAbstractAutomationButton",
57151
+ "module": "src/automation/automation-button/abstract-automation-button.ts"
57152
+ }
57153
+ },
55455
57154
  {
55456
57155
  "kind": "method",
55457
57156
  "name": "getBadgeAlertType",
@@ -63537,11 +65236,21 @@
63537
65236
  "privacy": "private",
63538
65237
  "default": "1"
63539
65238
  },
65239
+ {
65240
+ "kind": "field",
65241
+ "name": "_viewBoxThickness",
65242
+ "type": {
65243
+ "text": "number"
65244
+ },
65245
+ "privacy": "private",
65246
+ "default": "0",
65247
+ "description": "The drawing's height in viewBox units, kept from the last render for the scale measurement."
65248
+ },
63540
65249
  {
63541
65250
  "kind": "field",
63542
65251
  "name": "_resizeController",
63543
65252
  "privacy": "private",
63544
- "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; // Use the centralized function that computes scale based on reference size // For horizontal scales, compare container width to reference size const containerMainAxisSize = entry.contentRect.width; this._scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.horizontal, containerMainAxisSize, scaleReferenceSize: this.scaleReferenceSize, }); // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
65253
+ "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; this._scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.horizontal, containerMainAxisSize: entry.contentRect.width, containerCrossAxisSize: entry.contentRect.height, scaleReferenceSize: this.scaleReferenceSize, viewBoxThickness: this._viewBoxThickness, }); // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
63545
65254
  },
63546
65255
  {
63547
65256
  "kind": "field",
@@ -63919,6 +65628,17 @@
63919
65628
  },
63920
65629
  "description": "Remove fixed aspect ratio styles when switching back to pixel mode."
63921
65630
  },
65631
+ {
65632
+ "kind": "method",
65633
+ "name": "_measureScale",
65634
+ "privacy": "private",
65635
+ "return": {
65636
+ "type": {
65637
+ "text": "boolean"
65638
+ }
65639
+ },
65640
+ "description": "Reads the host's content box into the scale; false while the host has no size yet."
65641
+ },
63922
65642
  {
63923
65643
  "kind": "method",
63924
65644
  "name": "_updateScaleFromCurrentSize",
@@ -64896,11 +66616,21 @@
64896
66616
  "privacy": "private",
64897
66617
  "default": "1"
64898
66618
  },
66619
+ {
66620
+ "kind": "field",
66621
+ "name": "_viewBoxThickness",
66622
+ "type": {
66623
+ "text": "number"
66624
+ },
66625
+ "privacy": "private",
66626
+ "default": "0",
66627
+ "description": "The drawing's width in viewBox units, kept from the last render for the scale measurement."
66628
+ },
64899
66629
  {
64900
66630
  "kind": "field",
64901
66631
  "name": "_resizeController",
64902
66632
  "privacy": "private",
64903
- "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; // Use the centralized function that computes scale based on reference size // For vertical scales, compare container height to reference size const containerMainAxisSize = entry.contentRect.height; this._scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.vertical, containerMainAxisSize, scaleReferenceSize: this.scaleReferenceSize, }); // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
66633
+ "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; this._scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.vertical, containerMainAxisSize: entry.contentRect.height, containerCrossAxisSize: entry.contentRect.width, scaleReferenceSize: this.scaleReferenceSize, viewBoxThickness: this._viewBoxThickness, }); // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
64904
66634
  },
64905
66635
  {
64906
66636
  "kind": "field",
@@ -65246,6 +66976,17 @@
65246
66976
  },
65247
66977
  "description": "Remove fixed aspect ratio styles when switching back to pixel mode."
65248
66978
  },
66979
+ {
66980
+ "kind": "method",
66981
+ "name": "_measureScale",
66982
+ "privacy": "private",
66983
+ "return": {
66984
+ "type": {
66985
+ "text": "boolean"
66986
+ }
66987
+ },
66988
+ "description": "Reads the host's content box into the scale; false while the host has no size yet."
66989
+ },
65249
66990
  {
65250
66991
  "kind": "method",
65251
66992
  "name": "_updateScaleFromCurrentSize",
@@ -68034,10 +69775,29 @@
68034
69775
  "type": {
68035
69776
  "text": "FixedAspectRatioScaleConfig"
68036
69777
  },
68037
- "description": "Configuration with orientation, container size, and reference size"
69778
+ "description": "Configuration with orientation, container sizes, reference size and drawing thickness"
68038
69779
  }
68039
69780
  ],
68040
- "description": "Compute the scale factor for fixed aspect ratio mode.\n\nIn fixed aspect ratio mode, the scale component determines its zoom level based on\ncomparing the container's main axis size against a reference size (typically 384px).\n- If container is larger than reference: scale > 1 (zoom in)\n- If container is smaller than reference: scale < 1 (zoom out)\n- If container equals reference: scale = 1 (native size)\n\nThis scale factor is applied to SVG rendering while keeping text labels at constant size\nby using the CSS variable `--scale` to counter-scale font sizes.\n\nWorks for all orientations and sides:\n- Vertical scales (left/right): compare container height vs reference\n- Horizontal scales (top/bottom): compare container width vs reference"
69781
+ "description": "Compute the scale factor for fixed aspect ratio mode.\n\nIn fixed aspect ratio mode, the scale component determines its zoom level based on\ncomparing the container's main axis size against a reference size (typically 384px).\n- If container is larger than reference: scale > 1 (zoom in)\n- If container is smaller than reference: scale < 1 (zoom out)\n- If container equals reference: scale = 1 (native size)\n\nThis scale factor is applied to SVG rendering while keeping text labels at constant size\nby using the CSS variable `--scale` to counter-scale font sizes.\n\nThe SVG is painted with `xMidYMid meet`, which takes the smaller of the two\naxes' ratios. Pass the container's cross-axis size and the drawing's\nthickness so the factor follows the paint when the cross axis is the limit;\nwithout them the main axis alone decides, as it does whenever the cross axis\nhas room.\n\nWorks for all orientations and sides:\n- Vertical scales (left/right): compare container height vs reference\n- Horizontal scales (top/bottom): compare container width vs reference"
69782
+ },
69783
+ {
69784
+ "kind": "function",
69785
+ "name": "readContentBox",
69786
+ "return": {
69787
+ "type": {
69788
+ "text": ""
69789
+ }
69790
+ },
69791
+ "parameters": [
69792
+ {
69793
+ "name": "el",
69794
+ "type": {
69795
+ "text": "HTMLElement"
69796
+ },
69797
+ "description": "The host element"
69798
+ }
69799
+ ],
69800
+ "description": "The element's content box in CSS px: the box a `100%` × `100%` SVG child\nfills, and what a ResizeObserver's `contentRect` reports. `clientWidth` /\n`clientHeight` include the padding, and `getBoundingClientRect()` is scaled\nby any ancestor CSS `zoom`, so neither is the box the drawing is painted in."
68041
69801
  },
68042
69802
  {
68043
69803
  "kind": "function",
@@ -68273,6 +70033,14 @@
68273
70033
  "module": "src/building-blocks/external-scale/external-scale.ts"
68274
70034
  }
68275
70035
  },
70036
+ {
70037
+ "kind": "js",
70038
+ "name": "readContentBox",
70039
+ "declaration": {
70040
+ "name": "readContentBox",
70041
+ "module": "src/building-blocks/external-scale/external-scale.ts"
70042
+ }
70043
+ },
68276
70044
  {
68277
70045
  "kind": "js",
68278
70046
  "name": "computeScaledThickness",
@@ -115610,7 +117378,7 @@
115610
117378
  "declarations": [
115611
117379
  {
115612
117380
  "kind": "class",
115613
- "description": "`<obc-gauge-horizontal>` – A horizontal gauge component with bar and scale background.\n\nUse `obc-gauge-horizontal` when you need a standalone horizontal gauge with a visible scale\nand bar. This is ideal for displaying single values like speed, power, or progress where\nthe scale context is always needed.\n\nThis is the same as `obc-bar-horizontal` (both use `external-scale.ts`)\nbut with several properties fixed for consistent gauge appearance.\nUnlike `obc-bar-horizontal`, this component always shows the bar and scale background.\n\n---\n\n### Features\n- **Fixed Layout:** Width (384px), padding (32px), bar/tick/label thicknesses, and border radius are fixed for consistent gauge appearance.\n- **Scale Configuration:**\n - Configurable `minValue` and `maxValue` for the value range.\n - Optional main, primary, secondary, and tertiary tickmarks at specified intervals.\n - Labels shown at primary tickmark intervals (controlled via `showLabels`).\n- **Side Positioning:** Can be placed on the `top` or `bottom` side via the `side` property.\n- **Value Display:**\n - `value` property drives the bar fill.\n - `fillMode` controls visualization: `fill` shows bar from `fillMin` to `fillMax`; `tint` adds a marker at the `value` position.\n - Set `priority` to `Priority.enhanced` to use the blue/enhanced color palette for bar fill and setpoint (default: `Priority.regular`).\n- **Setpoint Marker:**\n - Optional `setpoint` value displays a marker.\n - Automatic at-setpoint detection with configurable deadband.\n- **Advice Overlays:** Render advice ranges with different types and hinted states.\n- **Fixed Aspect Ratio:** When enabled, scales the component proportionally while keeping label font-size constant.\n- **Dimension Reporting:** Dispatches `scale-dimensions-changed` events for parent chart integration.\n\n---\n\n### Fixed Properties (not configurable)\n- `width`: 384px\n- `paddingLeft`/`paddingRight`: 32px (`CHART_DIMENSIONS.CANVAS_PADDING`)\n- `barThickness`: 48px\n- `tickThickness`: 24px\n- `labelThickness`: 60px\n- `borderRadius`: 8px (matches obc-component-size-medium)\n- `scaleType`: regular\n- `frameStyle`: regular\n- `hasBar`: true\n- `hasScale`: true\n- `scaleBackground`: true\n- `fixedAspectRatio`: true (always scales proportionally)\n\n---\n\n### Implementation\nThis is a higher fidelity implementation of the concept shown in `instrument-linear.ts`,\nproviding a complete gauge with container, scale background, tickmarks, labels, advice overlays, and setpoint marker.\n\nThis is a thin web-component wrapper around the pure SVG building-block renderer in `external-scale.ts`.\nIt sets up the outer `<svg>`/`viewBox` for a horizontal scale and delegates rendering/layout to:\n- `computeExternalScaleLayout(...)`\n- `renderExternalScale(config)`\n\nFor renderer documentation see: **Building Blocks/External Scale**.\n\nFor a version where these properties are user-configurable, see **Bars and Graphs/Bar Horizontal**.\n\n---\n\n### Events\n- `scale-dimensions-changed` – Fired when layout-affecting properties (`side`, `showLabels`) change, reporting dimensions to parent chart components.\n\n---\n\n### Example\n\n```html\n<obc-gauge-horizontal\n min-value=\"0\"\n max-value=\"100\"\n value=\"75\"\n primary-tickmark-interval=\"20\"\n secondary-tickmark-interval=\"10\"\n setpoint=\"80\"\n side=\"bottom\"\n></obc-gauge-horizontal>\n```",
117381
+ "description": "`<obc-gauge-horizontal>` – A horizontal gauge component with bar and scale background.\n\nUse `obc-gauge-horizontal` when you need a standalone horizontal gauge with a visible scale\nand bar. This is ideal for displaying single values like speed, power, or progress where\nthe scale context is always needed.\n\nThis is the same as `obc-bar-horizontal` (both use `external-scale.ts`)\nbut with several properties fixed for consistent gauge appearance.\nUnlike `obc-bar-horizontal`, this component always shows the bar and scale background.\n\n---\n\n### Features\n- **Fixed Layout:** Width (384px), padding (32px), bar/tick/label thicknesses, and border radius are fixed for consistent gauge appearance. 384 px is the length the design is drawn at, not a layout limit: see `fixedAspectRatio`.\n- **Scale Configuration:**\n - Configurable `minValue` and `maxValue` for the value range.\n - Optional main, primary, secondary, and tertiary tickmarks at specified intervals.\n - Labels shown at primary tickmark intervals (controlled via `showLabels`).\n- **Side Positioning:** Can be placed on the `top` or `bottom` side via the `side` property.\n- **Value Display:**\n - `value` property drives the bar fill.\n - `fillMode` controls visualization: `fill` shows bar from `fillMin` to `fillMax`; `tint` adds a marker at the `value` position.\n - Set `priority` to `Priority.enhanced` to use the blue/enhanced color palette for bar fill and setpoint (default: `Priority.regular`).\n- **Setpoint Marker:**\n - Optional `setpoint` value displays a marker.\n - Automatic at-setpoint detection with configurable deadband.\n- **Advice Overlays:** Render advice ranges with different types and hinted states.\n- **Fixed Aspect Ratio:** `fixedAspectRatio` scales the whole gauge to its container like a vector image while the label font size stays put; `scaleReferenceSize` is the container width at which it draws 1:1.\n- **Dimension Reporting:** Dispatches `scale-dimensions-changed` events for parent chart integration.\n\n---\n\n### Fixed Properties (not configurable)\n- `width`: 384px\n- `paddingLeft`/`paddingRight`: 32px (`CHART_DIMENSIONS.CANVAS_PADDING`)\n- `barThickness`: 48px\n- `tickThickness`: 24px\n- `labelThickness`: 60px\n- `borderRadius`: 8px (matches obc-component-size-medium)\n- `scaleType`: regular\n- `frameStyle`: regular\n- `hasBar`: true\n- `hasScale`: true\n- `scaleBackground`: true\n\n---\n\n### Implementation\nThis is a higher fidelity implementation of the concept shown in `instrument-linear.ts`,\nproviding a complete gauge with container, scale background, tickmarks, labels, advice overlays, and setpoint marker.\n\nThis is a thin web-component wrapper around the pure SVG building-block renderer in `external-scale.ts`.\nIt sets up the outer `<svg>`/`viewBox` for a horizontal scale and delegates rendering/layout to:\n- `computeExternalScaleLayout(...)`\n- `renderExternalScale(config)`\n\nFor renderer documentation see: **Building Blocks/External Scale**.\n\nFor a version where these properties are user-configurable, see **Bars and Graphs/Bar Horizontal**.\n\n---\n\n### Events\n- `scale-dimensions-changed` – Fired when layout-affecting properties (`side`, `showLabels`) change, reporting dimensions to parent chart components.\n\n---\n\n### Example\n\n```html\n<obc-gauge-horizontal\n min-value=\"0\"\n max-value=\"100\"\n value=\"75\"\n primary-tickmark-interval=\"20\"\n secondary-tickmark-interval=\"10\"\n setpoint=\"80\"\n side=\"bottom\"\n></obc-gauge-horizontal>\n```",
115614
117382
  "name": "ObcGaugeHorizontal",
115615
117383
  "members": [
115616
117384
  {
@@ -115681,7 +117449,8 @@
115681
117449
  "text": "boolean"
115682
117450
  },
115683
117451
  "default": "false",
115684
- "description": "When true, freezes all internal calculations and scales the entire component\nproportionally (like CSS transform:scale), except label font-size remains constant.\nWhen false (default), dimensions react to component properties.\n\nThis property is intentionally not exposed as a public API or Storybook control.\nIt can be set programmatically by parent components (e.g., GaugeTrend)."
117452
+ "description": "Scale the whole gauge to its container like a vector image, keeping the label font size: the SVG fills the host, so size the host. Off, the gauge draws at its 384 px reference width.",
117453
+ "attribute": "fixedAspectRatio"
115685
117454
  },
115686
117455
  {
115687
117456
  "kind": "field",
@@ -115690,7 +117459,13 @@
115690
117459
  "text": "number"
115691
117460
  },
115692
117461
  "default": "384",
115693
- "description": "Reference size for proportional scaling when fixedAspectRatio is true.\nAt this width, the scale renders at native 1:1 (matches Figma design).\nAbove this width, the scale grows proportionally; below, it shrinks."
117462
+ "description": "Container width at which a `fixedAspectRatio` gauge draws 1:1 with the design. A wider container enlarges the drawing proportionally, a narrower one shrinks it.\n\nAvailable when `fixedAspectRatio==true`.",
117463
+ "attribute": "scaleReferenceSize",
117464
+ "availableWhen": "fixedAspectRatio==true",
117465
+ "availableWhenIf": {
117466
+ "arg": "fixedAspectRatio",
117467
+ "truthy": true
117468
+ }
115694
117469
  },
115695
117470
  {
115696
117471
  "kind": "field",
@@ -115701,11 +117476,21 @@
115701
117476
  "privacy": "private",
115702
117477
  "default": "1"
115703
117478
  },
117479
+ {
117480
+ "kind": "field",
117481
+ "name": "_viewBoxThickness",
117482
+ "type": {
117483
+ "text": "number"
117484
+ },
117485
+ "privacy": "private",
117486
+ "default": "0",
117487
+ "description": "The drawing's height in viewBox units, kept from the last render for the scale measurement."
117488
+ },
115704
117489
  {
115705
117490
  "kind": "field",
115706
117491
  "name": "_resizeController",
115707
117492
  "privacy": "private",
115708
- "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; // Use the centralized function that computes scale based on reference size // For horizontal scales, compare container width to reference size const containerMainAxisSize = entry.contentRect.width; const scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.horizontal, containerMainAxisSize, scaleReferenceSize: this.scaleReferenceSize, }); // Guard against zero-sized containers, but allow fractional scales < 1 this._scale = scale > 0 ? scale : 1; // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
117493
+ "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; const scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.horizontal, containerMainAxisSize: entry.contentRect.width, containerCrossAxisSize: entry.contentRect.height, scaleReferenceSize: this.scaleReferenceSize, viewBoxThickness: this._viewBoxThickness, }); // Guard against zero-sized containers, but allow fractional scales < 1 this._scale = scale > 0 ? scale : 1; // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
115709
117494
  },
115710
117495
  {
115711
117496
  "kind": "field",
@@ -115945,7 +117730,59 @@
115945
117730
  "kind": "method",
115946
117731
  "name": "reportDimensions",
115947
117732
  "privacy": "private",
115948
- "description": "Report scale dimensions to parent chart component.\nAlways reports unscaled/reference dimensions so the parent chart can apply\nconsistent proportional scaling in fixedAspectRatioScaling mode."
117733
+ "description": "Report scale dimensions to parent chart component.\nWhen fixedAspectRatio=true, reports the actual visual (scaled) thickness\nso the chart can correctly reserve space for the scale.\nWhen fixedAspectRatio=false, reports the base/unscaled thickness."
117734
+ },
117735
+ {
117736
+ "kind": "field",
117737
+ "name": "_consumerSizing",
117738
+ "type": {
117739
+ "text": "Record<\n 'display' | 'width' | 'height',\n [value: string, priority: string]\n > | undefined"
117740
+ },
117741
+ "privacy": "private",
117742
+ "description": "The inline sizing, value and priority, the consumer had before fixedAspectRatio took the host."
117743
+ },
117744
+ {
117745
+ "kind": "method",
117746
+ "name": "_applyFixedAspectRatioStyles",
117747
+ "privacy": "private",
117748
+ "return": {
117749
+ "type": {
117750
+ "text": "void"
117751
+ }
117752
+ },
117753
+ "description": "A custom element is inline by default, which gives the percentage-sized\nSVG nothing to fill; in fixedAspectRatio mode the host is a block that\ntakes its container's width."
117754
+ },
117755
+ {
117756
+ "kind": "method",
117757
+ "name": "_removeFixedAspectRatioStyles",
117758
+ "privacy": "private",
117759
+ "return": {
117760
+ "type": {
117761
+ "text": "void"
117762
+ }
117763
+ }
117764
+ },
117765
+ {
117766
+ "kind": "method",
117767
+ "name": "_measureScale",
117768
+ "privacy": "private",
117769
+ "return": {
117770
+ "type": {
117771
+ "text": "boolean"
117772
+ }
117773
+ },
117774
+ "description": "Reads the host's content box into the scale; false while the host has no size yet."
117775
+ },
117776
+ {
117777
+ "kind": "method",
117778
+ "name": "_updateScaleFromCurrentSize",
117779
+ "privacy": "private",
117780
+ "return": {
117781
+ "type": {
117782
+ "text": "void"
117783
+ }
117784
+ },
117785
+ "description": "Measures once layout has settled, then reports."
115949
117786
  },
115950
117787
  {
115951
117788
  "kind": "field",
@@ -116301,6 +118138,24 @@
116301
118138
  "description": "Which side of the chart area this scale lives on (top or bottom)",
116302
118139
  "fieldName": "side"
116303
118140
  },
118141
+ {
118142
+ "name": "fixedAspectRatio",
118143
+ "type": {
118144
+ "text": "boolean"
118145
+ },
118146
+ "default": "false",
118147
+ "description": "Scale the whole gauge to its container like a vector image, keeping the label font size: the SVG fills the host, so size the host. Off, the gauge draws at its 384 px reference width.",
118148
+ "fieldName": "fixedAspectRatio"
118149
+ },
118150
+ {
118151
+ "name": "scaleReferenceSize",
118152
+ "type": {
118153
+ "text": "number"
118154
+ },
118155
+ "default": "384",
118156
+ "description": "Container width at which a `fixedAspectRatio` gauge draws 1:1 with the design. A wider container enlarges the drawing proportionally, a narrower one shrinks it.\n\nAvailable when `fixedAspectRatio==true`.",
118157
+ "fieldName": "scaleReferenceSize"
118158
+ },
116304
118159
  {
116305
118160
  "name": "primaryTickmarkInterval",
116306
118161
  "type": {
@@ -122416,7 +124271,7 @@
122416
124271
  "declarations": [
122417
124272
  {
122418
124273
  "kind": "class",
122419
- "description": "`<obc-gauge-vertical>` – A vertical gauge component with bar and scale background.\n\nUse `obc-gauge-vertical` when you need a standalone vertical gauge with a visible scale\nand bar. This is ideal for displaying single values like tank levels, pressure, or\ntemperature where the scale context is always needed.\n\nThis is the same as `obc-bar-vertical` (both use `external-scale.ts`)\nbut with several properties fixed for consistent gauge appearance.\nUnlike `obc-bar-vertical`, this component always shows the bar and scale background.\n\n---\n\n### Features\n- **Fixed Layout:** Height (384px), padding (32px), bar/tick/label thicknesses, and border radius are fixed for consistent gauge appearance.\n- **Scale Configuration:**\n - Configurable `minValue` and `maxValue` for the value range.\n - Optional main, primary, secondary, and tertiary tickmarks at specified intervals.\n - Labels shown at primary tickmark intervals (controlled via `showLabels`).\n- **Side Positioning:** Can be placed on the `left` or `right` side via the `side` property.\n- **Value Display:**\n - `value` property drives the bar fill.\n - `fillMode` controls visualization: `fill` shows bar from `fillMin` to `fillMax`; `tint` adds a marker at the `value` position.\n - Set `priority` to `Priority.enhanced` to use the blue/enhanced color palette for bar fill and setpoint (default: `Priority.regular`).\n- **Setpoint Marker:**\n - Optional `setpoint` value displays a marker.\n - Automatic at-setpoint detection with configurable deadband.\n- **Advice Overlays:** Render advice ranges with different types and hinted states.\n- **Fixed Aspect Ratio:** When enabled, scales the component proportionally while keeping label font-size constant.\n- **Dimension Reporting:** Dispatches `scale-dimensions-changed` events for parent chart integration.\n\n---\n\n### Fixed Properties (not configurable)\n- `height`: 384px\n- `paddingTop`/`paddingBottom`: 32px (`CHART_DIMENSIONS.CANVAS_PADDING`)\n- `barThickness`: 48px\n- `tickThickness`: 24px\n- `labelThickness`: 60px\n- `borderRadius`: 8px (matches obc-component-size-medium)\n- `scaleType`: regular\n- `frameStyle`: regular\n- `hasBar`: true\n- `hasScale`: true\n- `scaleBackground`: true\n- `fixedAspectRatio`: true (always scales proportionally)\n\n---\n\n### Implementation\nThis is a higher fidelity implementation of the concept shown in `instrument-linear.ts`,\nproviding a complete gauge with container, scale background, tickmarks, labels, advice overlays, and setpoint marker.\n\nThis is a thin web-component wrapper around the pure SVG building-block renderer in `external-scale.ts`.\nIt sets up the outer `<svg>`/`viewBox` for a vertical scale and delegates rendering/layout to:\n- `computeExternalScaleLayout(...)`\n- `renderExternalScale(config)`\n\nFor renderer documentation see: **Building Blocks/External Scale**.\n\nFor a version where these properties are user-configurable, see **Bars and Graphs/Bar Vertical**.\n\n---\n\n### Events\n- `scale-dimensions-changed` – Fired when layout-affecting properties (`side`, `showLabels`) change, reporting dimensions to parent chart components.\n\n---\n\n### Example\n\n```html\n<obc-gauge-vertical\n min-value=\"0\"\n max-value=\"100\"\n value=\"75\"\n primary-tickmark-interval=\"20\"\n secondary-tickmark-interval=\"10\"\n setpoint=\"80\"\n side=\"right\"\n></obc-gauge-vertical>\n```",
124274
+ "description": "`<obc-gauge-vertical>` – A vertical gauge component with bar and scale background.\n\nUse `obc-gauge-vertical` when you need a standalone vertical gauge with a visible scale\nand bar. This is ideal for displaying single values like tank levels, pressure, or\ntemperature where the scale context is always needed.\n\nThis is the same as `obc-bar-vertical` (both use `external-scale.ts`)\nbut with several properties fixed for consistent gauge appearance.\nUnlike `obc-bar-vertical`, this component always shows the bar and scale background.\n\n---\n\n### Features\n- **Fixed Layout:** Height (384px), padding (32px), bar/tick/label thicknesses, and border radius are fixed for consistent gauge appearance. 384 px is the length the design is drawn at, not a layout limit: see `fixedAspectRatio`.\n- **Scale Configuration:**\n - Configurable `minValue` and `maxValue` for the value range.\n - Optional main, primary, secondary, and tertiary tickmarks at specified intervals.\n - Labels shown at primary tickmark intervals (controlled via `showLabels`).\n- **Side Positioning:** Can be placed on the `left` or `right` side via the `side` property.\n- **Value Display:**\n - `value` property drives the bar fill.\n - `fillMode` controls visualization: `fill` shows bar from `fillMin` to `fillMax`; `tint` adds a marker at the `value` position.\n - Set `priority` to `Priority.enhanced` to use the blue/enhanced color palette for bar fill and setpoint (default: `Priority.regular`).\n- **Setpoint Marker:**\n - Optional `setpoint` value displays a marker.\n - Automatic at-setpoint detection with configurable deadband.\n- **Advice Overlays:** Render advice ranges with different types and hinted states.\n- **Fixed Aspect Ratio:** `fixedAspectRatio` scales the whole gauge to its container like a vector image while the label font size stays put; `scaleReferenceSize` is the container height at which it draws 1:1.\n- **Dimension Reporting:** Dispatches `scale-dimensions-changed` events for parent chart integration.\n\n---\n\n### Fixed Properties (not configurable)\n- `height`: 384px\n- `paddingTop`/`paddingBottom`: 32px (`CHART_DIMENSIONS.CANVAS_PADDING`)\n- `barThickness`: 48px\n- `tickThickness`: 24px\n- `labelThickness`: 60px\n- `borderRadius`: 8px (matches obc-component-size-medium)\n- `scaleType`: regular\n- `frameStyle`: regular\n- `hasBar`: true\n- `hasScale`: true\n- `scaleBackground`: true\n\n---\n\n### Implementation\nThis is a higher fidelity implementation of the concept shown in `instrument-linear.ts`,\nproviding a complete gauge with container, scale background, tickmarks, labels, advice overlays, and setpoint marker.\n\nThis is a thin web-component wrapper around the pure SVG building-block renderer in `external-scale.ts`.\nIt sets up the outer `<svg>`/`viewBox` for a vertical scale and delegates rendering/layout to:\n- `computeExternalScaleLayout(...)`\n- `renderExternalScale(config)`\n\nFor renderer documentation see: **Building Blocks/External Scale**.\n\nFor a version where these properties are user-configurable, see **Bars and Graphs/Bar Vertical**.\n\n---\n\n### Events\n- `scale-dimensions-changed` – Fired when layout-affecting properties (`side`, `showLabels`) change, reporting dimensions to parent chart components.\n\n---\n\n### Example\n\n```html\n<obc-gauge-vertical\n min-value=\"0\"\n max-value=\"100\"\n value=\"75\"\n primary-tickmark-interval=\"20\"\n secondary-tickmark-interval=\"10\"\n setpoint=\"80\"\n side=\"right\"\n></obc-gauge-vertical>\n```",
122420
124275
  "name": "ObcGaugeVertical",
122421
124276
  "members": [
122422
124277
  {
@@ -122487,7 +124342,8 @@
122487
124342
  "text": "boolean"
122488
124343
  },
122489
124344
  "default": "false",
122490
- "description": "When true, freezes all internal calculations and scales the entire component\nproportionally (like CSS transform:scale), except label font-size remains constant.\nWhen false (default), dimensions react to component properties.\n\nThis property is intentionally not exposed as a public API or Storybook control.\nIt can be set programmatically by parent components (e.g., GaugeTrend)."
124345
+ "description": "Scale the whole gauge to its container like a vector image, keeping the label font size: the SVG fills the host, so size the host. Off, the gauge draws at its 384 px reference height.",
124346
+ "attribute": "fixedAspectRatio"
122491
124347
  },
122492
124348
  {
122493
124349
  "kind": "field",
@@ -122496,7 +124352,13 @@
122496
124352
  "text": "number"
122497
124353
  },
122498
124354
  "default": "384",
122499
- "description": "Reference size for proportional scaling when fixedAspectRatio is true.\nAt this height, the scale renders at native 1:1 (matches Figma design).\nAbove this height, the scale grows proportionally; below, it shrinks."
124355
+ "description": "Container height at which a `fixedAspectRatio` gauge draws 1:1 with the design. A taller container enlarges the drawing proportionally, a shorter one shrinks it.\n\nAvailable when `fixedAspectRatio==true`.",
124356
+ "attribute": "scaleReferenceSize",
124357
+ "availableWhen": "fixedAspectRatio==true",
124358
+ "availableWhenIf": {
124359
+ "arg": "fixedAspectRatio",
124360
+ "truthy": true
124361
+ }
122500
124362
  },
122501
124363
  {
122502
124364
  "kind": "field",
@@ -122507,11 +124369,21 @@
122507
124369
  "privacy": "private",
122508
124370
  "default": "1"
122509
124371
  },
124372
+ {
124373
+ "kind": "field",
124374
+ "name": "_viewBoxThickness",
124375
+ "type": {
124376
+ "text": "number"
124377
+ },
124378
+ "privacy": "private",
124379
+ "default": "0",
124380
+ "description": "The drawing's width in viewBox units, kept from the last render for the scale measurement."
124381
+ },
122510
124382
  {
122511
124383
  "kind": "field",
122512
124384
  "name": "_resizeController",
122513
124385
  "privacy": "private",
122514
- "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; // Use the centralized function that computes scale based on reference size // For vertical scales, compare container height to reference size const containerMainAxisSize = entry.contentRect.height; const scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.vertical, containerMainAxisSize, scaleReferenceSize: this.scaleReferenceSize, }); // Guard against zero-sized containers, but allow fractional scales < 1 this._scale = scale > 0 ? scale : 1; // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
124386
+ "default": "new ResizeController(this, { callback: (entries) => { if (!this.fixedAspectRatio) return; const entry = entries[0]; if (!entry) return; const scale = computeFixedAspectRatioScale({ orientation: ExternalScaleOrientation.vertical, containerMainAxisSize: entry.contentRect.height, containerCrossAxisSize: entry.contentRect.width, scaleReferenceSize: this.scaleReferenceSize, viewBoxThickness: this._viewBoxThickness, }); // Guard against zero-sized containers, but allow fractional scales < 1 this._scale = scale > 0 ? scale : 1; // Report scaled dimensions to parent chart this.reportDimensions(); }, })"
122515
124387
  },
122516
124388
  {
122517
124389
  "kind": "field",
@@ -122751,7 +124623,59 @@
122751
124623
  "kind": "method",
122752
124624
  "name": "reportDimensions",
122753
124625
  "privacy": "private",
122754
- "description": "Report scale dimensions to parent chart component.\nAlways reports unscaled/reference dimensions so the parent chart can apply\nconsistent proportional scaling in fixedAspectRatioScaling mode."
124626
+ "description": "Report scale dimensions to parent chart component.\nWhen fixedAspectRatio=true, reports the actual visual (scaled) thickness\nso the chart can correctly reserve space for the scale.\nWhen fixedAspectRatio=false, reports the base/unscaled thickness."
124627
+ },
124628
+ {
124629
+ "kind": "field",
124630
+ "name": "_consumerSizing",
124631
+ "type": {
124632
+ "text": "Record<\n 'display' | 'height' | 'width',\n [value: string, priority: string]\n > | undefined"
124633
+ },
124634
+ "privacy": "private",
124635
+ "description": "The inline sizing, value and priority, the consumer had before fixedAspectRatio took the host."
124636
+ },
124637
+ {
124638
+ "kind": "method",
124639
+ "name": "_applyFixedAspectRatioStyles",
124640
+ "privacy": "private",
124641
+ "return": {
124642
+ "type": {
124643
+ "text": "void"
124644
+ }
124645
+ },
124646
+ "description": "A custom element is inline by default, which gives the percentage-sized\nSVG nothing to fill; in fixedAspectRatio mode the host is a block that\ntakes its container's height."
124647
+ },
124648
+ {
124649
+ "kind": "method",
124650
+ "name": "_removeFixedAspectRatioStyles",
124651
+ "privacy": "private",
124652
+ "return": {
124653
+ "type": {
124654
+ "text": "void"
124655
+ }
124656
+ }
124657
+ },
124658
+ {
124659
+ "kind": "method",
124660
+ "name": "_measureScale",
124661
+ "privacy": "private",
124662
+ "return": {
124663
+ "type": {
124664
+ "text": "boolean"
124665
+ }
124666
+ },
124667
+ "description": "Reads the host's content box into the scale; false while the host has no size yet."
124668
+ },
124669
+ {
124670
+ "kind": "method",
124671
+ "name": "_updateScaleFromCurrentSize",
124672
+ "privacy": "private",
124673
+ "return": {
124674
+ "type": {
124675
+ "text": "void"
124676
+ }
124677
+ },
124678
+ "description": "Measures once layout has settled, then reports."
122755
124679
  },
122756
124680
  {
122757
124681
  "kind": "field",
@@ -123107,6 +125031,24 @@
123107
125031
  "description": "Which side of the chart area this scale lives on (left or right)",
123108
125032
  "fieldName": "side"
123109
125033
  },
125034
+ {
125035
+ "name": "fixedAspectRatio",
125036
+ "type": {
125037
+ "text": "boolean"
125038
+ },
125039
+ "default": "false",
125040
+ "description": "Scale the whole gauge to its container like a vector image, keeping the label font size: the SVG fills the host, so size the host. Off, the gauge draws at its 384 px reference height.",
125041
+ "fieldName": "fixedAspectRatio"
125042
+ },
125043
+ {
125044
+ "name": "scaleReferenceSize",
125045
+ "type": {
125046
+ "text": "number"
125047
+ },
125048
+ "default": "384",
125049
+ "description": "Container height at which a `fixedAspectRatio` gauge draws 1:1 with the design. A taller container enlarges the drawing proportionally, a shorter one shrinks it.\n\nAvailable when `fixedAspectRatio==true`.",
125050
+ "fieldName": "scaleReferenceSize"
125051
+ },
123110
125052
  {
123111
125053
  "name": "primaryTickmarkInterval",
123112
125054
  "type": {