@oicl/openbridge-webcomponents-svelte 2.0.0-next.5 → 2.0.0-next.50

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 (148) hide show
  1. package/README.md +2 -0
  2. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
  3. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
  4. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +7 -6
  5. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +10 -6
  6. package/dist/automation/automation-button/ObcAutomationButton.svelte +3 -4
  7. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -4
  8. package/dist/automation/automation-tank/ObcAutomationTank.svelte +117 -4
  9. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +125 -3
  10. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
  11. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
  12. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
  13. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
  14. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
  15. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
  16. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
  17. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
  18. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
  19. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
  20. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +22 -6
  21. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +22 -13
  22. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
  23. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
  24. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
  25. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
  26. package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
  27. package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
  28. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
  29. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
  30. package/dist/components/card/ObcCard.svelte +4 -4
  31. package/dist/components/card/ObcCard.svelte.d.ts +4 -4
  32. package/dist/components/context-menu-input/ObcContextMenuInput.svelte +4 -4
  33. package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +6 -10
  34. package/dist/components/dropdown-button/ObcDropdownButton.svelte +3 -3
  35. package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +3 -6
  36. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
  37. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
  38. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
  39. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
  40. package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
  41. package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
  42. package/dist/components/form-container/ObcFormContainer.svelte +4 -4
  43. package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
  44. package/dist/components/icon-button/ObcIconButton.svelte +6 -4
  45. package/dist/components/icon-button/ObcIconButton.svelte.d.ts +3 -0
  46. package/dist/components/menu-button/ObcMenuButton.svelte +6 -4
  47. package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +5 -8
  48. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -7
  49. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -2
  50. package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
  51. package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
  52. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
  53. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
  54. package/dist/components/number-input-field/ObcNumberInputField.svelte +14 -5
  55. package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +14 -2
  56. package/dist/components/slider-double/ObcSliderDouble.svelte +34 -3
  57. package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +19 -0
  58. package/dist/components/split-button/ObcSplitButton.svelte +6 -4
  59. package/dist/components/split-button/ObcSplitButton.svelte.d.ts +5 -9
  60. package/dist/components/stepper-box/ObcStepperBox.svelte +31 -22
  61. package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +32 -7
  62. package/dist/components/tab-item/ObcTabItem.svelte +12 -4
  63. package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
  64. package/dist/components/tab-row/ObcTabRow.svelte +7 -1
  65. package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
  66. package/dist/components/tag/ObcTag.svelte +3 -2
  67. package/dist/components/tag/ObcTag.svelte.d.ts +3 -1
  68. package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
  69. package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
  70. package/dist/index.d.ts +17 -0
  71. package/dist/index.js +17 -0
  72. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
  73. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
  74. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
  75. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
  76. package/dist/navigation-instruments/compass/ObcCompass.svelte +18 -2
  77. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +17 -1
  78. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
  79. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
  80. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +11 -4
  81. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +11 -3
  82. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +16 -1
  83. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +15 -0
  84. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
  85. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
  86. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
  87. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
  88. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
  89. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
  90. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
  91. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
  92. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
  93. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
  94. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
  95. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
  96. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
  97. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
  98. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
  99. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
  100. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
  101. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
  102. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
  103. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
  104. package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
  105. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
  106. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
  107. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
  108. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +13 -1
  109. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +12 -0
  110. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
  111. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
  112. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
  113. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
  114. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
  115. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
  116. package/dist/navigation-instruments/readout/ObcReadout.svelte +158 -0
  117. package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +101 -0
  118. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +53 -0
  119. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +40 -0
  120. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +60 -0
  121. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +42 -0
  122. package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte +62 -0
  123. package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte.d.ts +46 -0
  124. package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
  125. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
  126. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
  127. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
  128. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
  129. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
  130. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
  131. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
  132. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
  133. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
  134. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +4 -4
  135. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -4
  136. package/dist/navigation-instruments/watch/ObcWatch.svelte +4 -2
  137. package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +3 -1
  138. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
  139. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
  140. package/dist/navigation-instruments/wind/ObcWind.svelte +7 -4
  141. package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +6 -2
  142. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +28 -8
  143. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +31 -6
  144. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
  145. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
  146. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
  147. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
  148. package/package.json +2 -2
package/README.md CHANGED
@@ -28,12 +28,14 @@ We are thrilled if you would like to support the OpenBridge Web Components proje
28
28
  We invite industry partners to join our Joint Industry Project. By becoming a donor, you help secure the future of the project and gain influence over the roadmap.
29
29
 
30
30
  ### Donor Benefits
31
+
31
32
  By becoming a donor, you aren’t just supporting code—you’re joining a collaborative movement. To show our appreciation, donors receive a specialized benefits package valid for 12 months upon receipt of payment:
32
33
 
33
34
  - **Proudly Show Your Support:** You are authorized to use the official "OpenBridge Member" logo in your marketing materials and corporate communications.
34
35
  - **Early & Easy Access:** You gain the right to use all new releases of the project’s software components directly under the Apache License 2.0.
35
36
 
36
37
  ### How to Support
38
+
37
39
  If you are interested in supporting the project, please fill out this **[Support Form](https://docs.google.com/forms/d/e/1FAIpQLSc6JVRyyIease2PkUArirNkG0DeTB__YnWEovjVwISlaYdktA/viewform?usp=header)**.
38
40
 
39
41
  For more information, please contact **Torstein A. Bø** at [torstein.bo@openstudio.no](mailto:torstein.bo@openstudio.no) or contact us on [Slack](https://join.slack.com/t/openbridgegroup/shared_invite/zt-2e4clvl6s-uZLkN5L3g8O~c1UZCN1reQ).
@@ -33,11 +33,11 @@ course?: number;
33
33
  export interface Slots {
34
34
  children?: Snippet;
35
35
  silhouette?: Snippet;
36
- number?: Snippet;
37
- name?: Snippet;
38
- vesselImage?: Snippet
36
+ numberSnippet?: Snippet;
37
+ nameSnippet?: Snippet;
38
+ vesselImageSnippet?: Snippet
39
39
  }
40
- const { class: className, style, children, silhouette, number, name, vesselImage, ...props} = $props<Props & Events & Slots>();
40
+ const { class: className, style, children, silhouette, numberSnippet, nameSnippet, vesselImageSnippet, ...props} = $props<Props & Events & Slots>();
41
41
 
42
42
  </script>
43
43
  <obc-chart-object-vessel-button
@@ -56,21 +56,21 @@ course?: number;
56
56
  </div>
57
57
  {/if}
58
58
 
59
- {#if number}
59
+ {#if numberSnippet}
60
60
  <div slot="number">
61
- {@render number()}
61
+ {@render numberSnippet()}
62
62
  </div>
63
63
  {/if}
64
64
 
65
- {#if name}
65
+ {#if nameSnippet}
66
66
  <div slot="name">
67
- {@render name()}
67
+ {@render nameSnippet()}
68
68
  </div>
69
69
  {/if}
70
70
 
71
- {#if vesselImage}
71
+ {#if vesselImageSnippet}
72
72
  <div slot="vessel-image">
73
- {@render vesselImage()}
73
+ {@render vesselImageSnippet()}
74
74
  </div>
75
75
  {/if}
76
76
  </obc-chart-object-vessel-button>
@@ -26,9 +26,9 @@ export interface Events {
26
26
  export interface Slots {
27
27
  children?: Snippet;
28
28
  silhouette?: Snippet;
29
- number?: Snippet;
30
- name?: Snippet;
31
- vesselImage?: Snippet;
29
+ numberSnippet?: Snippet;
30
+ nameSnippet?: Snippet;
31
+ vesselImageSnippet?: Snippet;
32
32
  }
33
33
  type $$ComponentProps = Props & Events & Slots;
34
34
  declare const ObcChartObjectVesselButton: import("svelte").Component<$$ComponentProps, {
@@ -4,19 +4,20 @@
4
4
  export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
+ export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
7
8
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  import { setProperties } from "../../util.js";
9
10
  import type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
10
11
  import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
11
12
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
12
13
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
14
+ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
13
15
  import type { Snippet } from 'svelte';
14
16
 
15
17
  export interface Props {
16
18
  class?: string;
17
19
  style?: string;
18
20
  showReadoutStack?: boolean;
19
- hasIdTag?: boolean;
20
21
  readoutPosition?: AutomationButtonReadoutPosition;
21
22
  readoutSize?: AutomationButtonReadoutStackSize;
22
23
  positioning?: AutomationButtonPositioning;
@@ -29,12 +30,12 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
29
30
  progress?: boolean;
30
31
  progressMode?: CircularProgressMode;
31
32
  progressValue?: number;
32
- tag?: string;
33
+ tag?: string | null;
33
34
  direction?: AutomationButtonDirection;
34
- badgeAuto?: boolean;
35
- badgeCommandLocked?: boolean;
36
- badgeDuty?: boolean;
37
- badgeAlertOff?: boolean
35
+ badgeControl?: AutomationButtonBadgeControl;
36
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
37
+ badgeInterlock?: AutomationButtonBadgeInterlock;
38
+ badgeAlert?: AutomationButtonBadgeAlert
38
39
  }
39
40
  export interface Events {
40
41
 
@@ -3,12 +3,12 @@ import type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
3
3
  import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
4
  import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
5
  import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
6
+ import type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
6
7
  import type { Snippet } from 'svelte';
7
8
  export interface Props {
8
9
  class?: string;
9
10
  style?: string;
10
11
  showReadoutStack?: boolean;
11
- hasIdTag?: boolean;
12
12
  readoutPosition?: AutomationButtonReadoutPosition;
13
13
  readoutSize?: AutomationButtonReadoutStackSize;
14
14
  positioning?: AutomationButtonPositioning;
@@ -21,12 +21,12 @@ export interface Props {
21
21
  progress?: boolean;
22
22
  progressMode?: CircularProgressMode;
23
23
  progressValue?: number;
24
- tag?: string;
24
+ tag?: string | null;
25
25
  direction?: AutomationButtonDirection;
26
- badgeAuto?: boolean;
27
- badgeCommandLocked?: boolean;
28
- badgeDuty?: boolean;
29
- badgeAlertOff?: boolean;
26
+ badgeControl?: AutomationButtonBadgeControl;
27
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
28
+ badgeInterlock?: AutomationButtonBadgeInterlock;
29
+ badgeAlert?: AutomationButtonBadgeAlert;
30
30
  }
31
31
  export interface Events {
32
32
  }
@@ -43,6 +43,10 @@ declare const ObcAbstractAutomationButton: import("svelte").Component<$$Componen
43
43
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
44
44
  ObcAlertFrameStatus: typeof ObcAlertFrameStatus;
45
45
  CircularProgressMode: typeof CircularProgressMode;
46
+ AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
47
+ AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
48
+ AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
49
+ AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
46
50
  }, "">;
47
51
  type ObcAbstractAutomationButton = ReturnType<typeof ObcAbstractAutomationButton>;
48
52
  export default ObcAbstractAutomationButton;
@@ -1,13 +1,13 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
- export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
+ export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
8
8
  import { setProperties } from "../../util.js";
9
9
  import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
10
- import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
10
+ import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
11
11
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
12
12
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
13
13
  import type { Snippet } from 'svelte';
@@ -20,8 +20,7 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
20
20
  static?: boolean;
21
21
  showReadoutStack?: boolean;
22
22
  readouts?: AutomationButtonReadoutStack[];
23
- tag?: AutomationButtonReadoutStackTag | null;
24
- hasIdTag?: boolean;
23
+ tag?: string | null;
25
24
  readoutPosition?: AutomationButtonReadoutPosition;
26
25
  readoutSize?: AutomationButtonReadoutStackSize;
27
26
  alert?: boolean;
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
2
  import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
- import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
3
+ import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
4
  import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
5
  import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
6
6
  import type { Snippet } from 'svelte';
@@ -12,8 +12,7 @@ export interface Props {
12
12
  static?: boolean;
13
13
  showReadoutStack?: boolean;
14
14
  readouts?: AutomationButtonReadoutStack[];
15
- tag?: AutomationButtonReadoutStackTag | null;
16
- hasIdTag?: boolean;
15
+ tag?: string | null;
17
16
  readoutPosition?: AutomationButtonReadoutPosition;
18
17
  readoutSize?: AutomationButtonReadoutStackSize;
19
18
  alert?: boolean;
@@ -43,7 +42,6 @@ declare const ObcAutomationButton: import("svelte").Component<$$ComponentProps,
43
42
  AutomationButtonDirection: typeof AutomationButtonDirection;
44
43
  AutomationButtonPositioning: typeof AutomationButtonPositioning;
45
44
  AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
46
- AutomationButtonReadoutStackTag: typeof AutomationButtonReadoutStackTag;
47
45
  AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
48
46
  ObcAlertFrameType: typeof ObcAlertFrameType;
49
47
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
@@ -1,11 +1,21 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
4
- export type {TankTrend, TankVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
4
+ export type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
5
+ export type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
6
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
+ export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
8
+ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
9
+ export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
5
10
  import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
6
11
  import { setProperties } from "../../util.js";
7
12
  import type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
8
- import type {TankTrend, TankVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
13
+ import type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
14
+ import type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
15
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
16
+ import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
17
+ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
18
+ import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
19
  import type { Snippet } from 'svelte';
10
20
 
11
21
  export interface Props {
@@ -15,8 +25,111 @@ import type {TankTrend, TankVariant} from '@oicl/openbridge-webcomponents/dist/a
15
25
  value?: number;
16
26
  max?: number;
17
27
  trend?: TankTrend;
18
- variant?: TankVariant;
19
- tag?: string
28
+ type?: TankType;
29
+ orientation?: TankOrientation;
30
+ compact?: boolean;
31
+ /** Host positioning model — see `TankPositioning` for details. Defaults to
32
+ `point` for backward compatibility (fixed default dimensions + P&ID
33
+ top-center anchor). Set to `button` to make the host fill its parent
34
+ container (100% × 100%) with no anchor offset. */
35
+ positioning?: TankPositioning;
36
+ /** Static (display-only) variant. Always rendered at the compact size; the
37
+ inner chart/bar is hidden, the bordered area is filled with
38
+ `--container-section-color`, and the readout is centered inside the frame.
39
+ Tag is rendered below the bordered area; badges (when slotted) sit above
40
+ the frame inside the halo and shrink the frame just like in compact mode.
41
+ Overrides `compact` (a static tank is always compact-sized).
42
+
43
+ Static tanks render as a non-interactive `<div role="img">` (not a
44
+ `<button>`), so they are not in the tab order and do not announce as
45
+ activatable controls. */
46
+ static?: boolean;
47
+ tag?: string;
48
+ /** Chart cell rendering mode.
49
+ - `bar`: static fill bar driven by `value`/`max` (default).
50
+ - `graph`: embedded `obc-gauge-trend` line/area chart.
51
+ - `graphAndBar`: embedded `obc-gauge-trend` with an integrated side bar. */
52
+ chartMode?: TankChartMode;
53
+ /** Time-series data points for the embedded gauge-trend (graph modes only). */
54
+ chartData?: ChartLineDataItem[];
55
+ /** Priority hint forwarded to child charts (regular | enhanced). */
56
+ priority?: Priority;
57
+ /** Advice overlays. Forwarded to the embedded `obc-gauge-trend` in
58
+ `graph` / `graph-and-bar` modes, or rendered as pills over the static
59
+ bar in `bar` mode. */
60
+ advice?: LinearAdvice[];
61
+ /** Show advice overlays (works in all `chartMode` variants). */
62
+ hasAdvice?: boolean;
63
+ /** Overlay a 32×32 decorative icon (currently `<obi-tank>`) centered on the
64
+ chart cell. Works in all three `chartMode` variants (bar, graph,
65
+ graph-and-bar) and in both orientations. The icon is rendered above the
66
+ bar/graph in a fixed CSS layer (does not scale with the SVG meet
67
+ transform) and is silhouetted with a `--border-silhouette-color` halo so
68
+ it stays legible on any underlying fill. The icon size scales with the
69
+ ambient `obc-component-size-*` class on an ancestor via the design token
70
+ `--automation-components-tanks-graphs-graph-icon-size` (32 → 48 → 64 → 64
71
+ for regular → medium → large → xl).
72
+
73
+ TODO(future): replace the hard-coded `<obi-tank>` with a `slot="graph-icon"`
74
+ so consumers can pass any `<obi-*>` icon. The current API ships the
75
+ smallest viable surface; the slot can be added without breaking the
76
+ boolean property. */
77
+ hasGraphIcon?: boolean;
78
+ /** Show an `<obc-alert-frame>` overlay around the bordered tank area (the
79
+ `.halo` wrapper). Mirrors the API of `obc-automation-button`: same six
80
+ properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`).
81
+ The ring overlays `.halo` only, so the tag and readout that sit outside
82
+ the halo in compact / static layouts remain unaffected. */
83
+ alert?: boolean;
84
+ alertFrameType?: ObcAlertFrameType;
85
+ alertFrameThickness?: ObcAlertFrameThickness;
86
+ alertFrameStatus?: ObcAlertFrameStatus;
87
+ showAlertCategoryIcon?: boolean;
88
+ showAlertIcon?: boolean;
89
+ /** Show the trend chevron / off icon next to the percent readout. Default
90
+ `true` preserves existing behavior. Set to `false` to hide the trend
91
+ indicator in both compact and non-compact readouts — useful when the
92
+ trend is not meaningful for a given tank, or when the consumer wants
93
+ to keep the readout compact. Has no effect in `static` mode, which
94
+ renders the tank's capacity (`max` + `unit`) instead of a percent and
95
+ intentionally omits the trend indicator (a static tank represents
96
+ "device present, current state unknown"). `attribute: false` per the
97
+ repo's positive-default-true boolean convention. */
98
+ showTrendSymbol?: boolean;
99
+ /** Number of fraction digits used to format the percent readout in the
100
+ non-compact (regular) layout. Defaults to `0` (integer percent). The
101
+ compact layout always renders integer percent to keep its fixed-width
102
+ footprint stable. The static layout renders capacity (`max` + `unit`)
103
+ rather than percent, so this property has no effect there — pass a
104
+ pre-formatted value through the `max-value` slot if fractional
105
+ precision is needed (see the `WithFractionDigits` story). */
106
+ percentFractionDigits?: number;
107
+ /** Rich detail rows shown below the main percent/value block in the regular
108
+ (non-compact, non-static) layout, separated by a divider. When empty (the
109
+ default), nothing is rendered — neither the divider nor the list. In
110
+ vertical orientation the chart cell shrinks to make room; in horizontal
111
+ orientation the readout column already has reserved whitespace so the
112
+ chart is unaffected.
113
+
114
+ Values are formatted using `percentFractionDigits`. Consumers that need
115
+ full control over the markup can replace the entire fallback by slotting
116
+ arbitrary content into `slot="rich"` (note: this is a different name from
117
+ the existing `slot="readout"` which replaces the whole readout block). */
118
+ readout?: TankReadoutItem[];
119
+ /** Enum-driven badges rendered inside the `badges` cell. Mirrors the API
120
+ introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
121
+ to a non-`None` value, an `<obc-automation-badge>` of the corresponding
122
+ type is rendered as fallback content for the `badges` slot. Any content
123
+ the consumer slots into `badges` overrides these defaults, preserving
124
+ backward compatibility with the existing slot-based API.
125
+
126
+ Render order (left → right): control, alert, interlock, commandLocked —
127
+ matching the positional convention used by `ObcAbstractAutomationButton`
128
+ (top-left, top-right, bottom-left, bottom-right) read row-by-row. */
129
+ badgeControl?: AutomationButtonBadgeControl;
130
+ badgeAlert?: AutomationButtonBadgeAlert;
131
+ badgeInterlock?: AutomationButtonBadgeInterlock;
132
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked
20
133
  }
21
134
  export interface Events {
22
135
 
@@ -1,6 +1,11 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
2
2
  import type { LineMedium } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
3
- import type { TankTrend, TankVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
3
+ import type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
4
+ import type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
5
+ import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
+ import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
7
+ import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
8
+ import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
4
9
  import type { Snippet } from 'svelte';
5
10
  export interface Props {
6
11
  class?: string;
@@ -9,8 +14,111 @@ export interface Props {
9
14
  value?: number;
10
15
  max?: number;
11
16
  trend?: TankTrend;
12
- variant?: TankVariant;
17
+ type?: TankType;
18
+ orientation?: TankOrientation;
19
+ compact?: boolean;
20
+ /** Host positioning model — see `TankPositioning` for details. Defaults to
21
+ `point` for backward compatibility (fixed default dimensions + P&ID
22
+ top-center anchor). Set to `button` to make the host fill its parent
23
+ container (100% × 100%) with no anchor offset. */
24
+ positioning?: TankPositioning;
25
+ /** Static (display-only) variant. Always rendered at the compact size; the
26
+ inner chart/bar is hidden, the bordered area is filled with
27
+ `--container-section-color`, and the readout is centered inside the frame.
28
+ Tag is rendered below the bordered area; badges (when slotted) sit above
29
+ the frame inside the halo and shrink the frame just like in compact mode.
30
+ Overrides `compact` (a static tank is always compact-sized).
31
+
32
+ Static tanks render as a non-interactive `<div role="img">` (not a
33
+ `<button>`), so they are not in the tab order and do not announce as
34
+ activatable controls. */
35
+ static?: boolean;
13
36
  tag?: string;
37
+ /** Chart cell rendering mode.
38
+ - `bar`: static fill bar driven by `value`/`max` (default).
39
+ - `graph`: embedded `obc-gauge-trend` line/area chart.
40
+ - `graphAndBar`: embedded `obc-gauge-trend` with an integrated side bar. */
41
+ chartMode?: TankChartMode;
42
+ /** Time-series data points for the embedded gauge-trend (graph modes only). */
43
+ chartData?: ChartLineDataItem[];
44
+ /** Priority hint forwarded to child charts (regular | enhanced). */
45
+ priority?: Priority;
46
+ /** Advice overlays. Forwarded to the embedded `obc-gauge-trend` in
47
+ `graph` / `graph-and-bar` modes, or rendered as pills over the static
48
+ bar in `bar` mode. */
49
+ advice?: LinearAdvice[];
50
+ /** Show advice overlays (works in all `chartMode` variants). */
51
+ hasAdvice?: boolean;
52
+ /** Overlay a 32×32 decorative icon (currently `<obi-tank>`) centered on the
53
+ chart cell. Works in all three `chartMode` variants (bar, graph,
54
+ graph-and-bar) and in both orientations. The icon is rendered above the
55
+ bar/graph in a fixed CSS layer (does not scale with the SVG meet
56
+ transform) and is silhouetted with a `--border-silhouette-color` halo so
57
+ it stays legible on any underlying fill. The icon size scales with the
58
+ ambient `obc-component-size-*` class on an ancestor via the design token
59
+ `--automation-components-tanks-graphs-graph-icon-size` (32 → 48 → 64 → 64
60
+ for regular → medium → large → xl).
61
+
62
+ TODO(future): replace the hard-coded `<obi-tank>` with a `slot="graph-icon"`
63
+ so consumers can pass any `<obi-*>` icon. The current API ships the
64
+ smallest viable surface; the slot can be added without breaking the
65
+ boolean property. */
66
+ hasGraphIcon?: boolean;
67
+ /** Show an `<obc-alert-frame>` overlay around the bordered tank area (the
68
+ `.halo` wrapper). Mirrors the API of `obc-automation-button`: same six
69
+ properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`).
70
+ The ring overlays `.halo` only, so the tag and readout that sit outside
71
+ the halo in compact / static layouts remain unaffected. */
72
+ alert?: boolean;
73
+ alertFrameType?: ObcAlertFrameType;
74
+ alertFrameThickness?: ObcAlertFrameThickness;
75
+ alertFrameStatus?: ObcAlertFrameStatus;
76
+ showAlertCategoryIcon?: boolean;
77
+ showAlertIcon?: boolean;
78
+ /** Show the trend chevron / off icon next to the percent readout. Default
79
+ `true` preserves existing behavior. Set to `false` to hide the trend
80
+ indicator in both compact and non-compact readouts — useful when the
81
+ trend is not meaningful for a given tank, or when the consumer wants
82
+ to keep the readout compact. Has no effect in `static` mode, which
83
+ renders the tank's capacity (`max` + `unit`) instead of a percent and
84
+ intentionally omits the trend indicator (a static tank represents
85
+ "device present, current state unknown"). `attribute: false` per the
86
+ repo's positive-default-true boolean convention. */
87
+ showTrendSymbol?: boolean;
88
+ /** Number of fraction digits used to format the percent readout in the
89
+ non-compact (regular) layout. Defaults to `0` (integer percent). The
90
+ compact layout always renders integer percent to keep its fixed-width
91
+ footprint stable. The static layout renders capacity (`max` + `unit`)
92
+ rather than percent, so this property has no effect there — pass a
93
+ pre-formatted value through the `max-value` slot if fractional
94
+ precision is needed (see the `WithFractionDigits` story). */
95
+ percentFractionDigits?: number;
96
+ /** Rich detail rows shown below the main percent/value block in the regular
97
+ (non-compact, non-static) layout, separated by a divider. When empty (the
98
+ default), nothing is rendered — neither the divider nor the list. In
99
+ vertical orientation the chart cell shrinks to make room; in horizontal
100
+ orientation the readout column already has reserved whitespace so the
101
+ chart is unaffected.
102
+
103
+ Values are formatted using `percentFractionDigits`. Consumers that need
104
+ full control over the markup can replace the entire fallback by slotting
105
+ arbitrary content into `slot="rich"` (note: this is a different name from
106
+ the existing `slot="readout"` which replaces the whole readout block). */
107
+ readout?: TankReadoutItem[];
108
+ /** Enum-driven badges rendered inside the `badges` cell. Mirrors the API
109
+ introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
110
+ to a non-`None` value, an `<obc-automation-badge>` of the corresponding
111
+ type is rendered as fallback content for the `badges` slot. Any content
112
+ the consumer slots into `badges` overrides these defaults, preserving
113
+ backward compatibility with the existing slot-based API.
114
+
115
+ Render order (left → right): control, alert, interlock, commandLocked —
116
+ matching the positional convention used by `ObcAbstractAutomationButton`
117
+ (top-left, top-right, bottom-left, bottom-right) read row-by-row. */
118
+ badgeControl?: AutomationButtonBadgeControl;
119
+ badgeAlert?: AutomationButtonBadgeAlert;
120
+ badgeInterlock?: AutomationButtonBadgeInterlock;
121
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
14
122
  }
15
123
  export interface Events {
16
124
  }
@@ -21,7 +129,21 @@ type $$ComponentProps = Props & Events & Slots;
21
129
  declare const ObcAutomationTank: import("svelte").Component<$$ComponentProps, {
22
130
  LineMedium: typeof LineMedium;
23
131
  TankTrend: typeof TankTrend;
24
- TankVariant: typeof TankVariant;
132
+ TankType: typeof TankType;
133
+ TankOrientation: typeof TankOrientation;
134
+ TankPositioning: typeof TankPositioning;
135
+ TankChartMode: typeof TankChartMode;
136
+ TankReadoutItem: typeof TankReadoutItem;
137
+ ChartLineDataItem: typeof ChartLineDataItem;
138
+ Priority: typeof Priority;
139
+ LinearAdvice: typeof LinearAdvice;
140
+ ObcAlertFrameType: typeof ObcAlertFrameType;
141
+ ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
142
+ ObcAlertFrameStatus: typeof ObcAlertFrameStatus;
143
+ AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
144
+ AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
145
+ AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
146
+ AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
25
147
  }, "">;
26
148
  type ObcAutomationTank = ReturnType<typeof ObcAutomationTank>;
27
149
  export default ObcAutomationTank;
@@ -1,15 +1,17 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
+ export type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
4
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
5
6
  import { setProperties } from "../../util.js";
6
- import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
+ import type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
8
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
10
12
  class?: string;
11
13
  style?: string;
12
- data?: { label: string; value: number; }[];
14
+ data?: DonutChartDataItem[];
13
15
  colors?: string[];
14
16
  priority?: Priority;
15
17
  half?: boolean;
@@ -1,13 +1,11 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
2
+ import type { DonutChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
2
3
  import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
6
7
  style?: string;
7
- data?: {
8
- label: string;
9
- value: number;
10
- }[];
8
+ data?: DonutChartDataItem[];
11
9
  colors?: string[];
12
10
  priority?: Priority;
13
11
  half?: boolean;
@@ -31,6 +29,7 @@ export interface Slots {
31
29
  }
32
30
  type $$ComponentProps = Props & Events & Slots;
33
31
  declare const ObcDonutChart: import("svelte").Component<$$ComponentProps, {
32
+ DonutChartDataItem: typeof DonutChartDataItem;
34
33
  Priority: typeof Priority;
35
34
  }, "">;
36
35
  type ObcDonutChart = ReturnType<typeof ObcDonutChart>;
@@ -1,15 +1,17 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
+ export type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
4
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
5
6
  import { setProperties } from "../../util.js";
6
- import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
+ import type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
8
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
10
12
  class?: string;
11
13
  style?: string;
12
- data?: { label: string; value: number; children?: { label: string; value: number; }[] | undefined; }[];
14
+ data?: PieChartDataItem[];
13
15
  colors?: string[];
14
16
  priority?: Priority;
15
17
  showOuterLabels?: boolean;
@@ -1,17 +1,11 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
2
+ import type { PieChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
2
3
  import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
6
7
  style?: string;
7
- data?: {
8
- label: string;
9
- value: number;
10
- children?: {
11
- label: string;
12
- value: number;
13
- }[] | undefined;
14
- }[];
8
+ data?: PieChartDataItem[];
15
9
  colors?: string[];
16
10
  priority?: Priority;
17
11
  showOuterLabels?: boolean;
@@ -31,6 +25,7 @@ export interface Slots {
31
25
  }
32
26
  type $$ComponentProps = Props & Events & Slots;
33
27
  declare const ObcPieChart: import("svelte").Component<$$ComponentProps, {
28
+ PieChartDataItem: typeof PieChartDataItem;
34
29
  Priority: typeof Priority;
35
30
  }, "">;
36
31
  type ObcPieChart = ReturnType<typeof ObcPieChart>;
@@ -1,15 +1,17 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
+ export type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
4
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
5
6
  import { setProperties } from "../../util.js";
6
- import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
+ import type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
8
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
10
12
  class?: string;
11
13
  style?: string;
12
- data?: { label: string; value: number; }[];
14
+ data?: PolarChartDataItem[];
13
15
  colors?: string[];
14
16
  priority?: Priority;
15
17
  monochrome?: boolean;