@oicl/openbridge-webcomponents-svelte 2.0.0-next.4 → 2.0.0-next.41

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 (145) hide show
  1. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
  2. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
  3. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +7 -6
  4. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +10 -6
  5. package/dist/automation/automation-button/ObcAutomationButton.svelte +3 -4
  6. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -4
  7. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
  8. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
  9. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
  10. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
  11. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
  12. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
  13. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
  14. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
  15. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
  16. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
  17. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +6 -6
  18. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +6 -13
  19. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
  20. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
  21. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
  22. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
  23. package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
  24. package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
  25. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
  26. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
  27. package/dist/components/card/ObcCard.svelte +4 -4
  28. package/dist/components/card/ObcCard.svelte.d.ts +4 -4
  29. package/dist/components/context-menu-input/ObcContextMenuInput.svelte +4 -4
  30. package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +6 -10
  31. package/dist/components/dropdown-button/ObcDropdownButton.svelte +3 -3
  32. package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +3 -6
  33. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
  34. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
  35. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
  36. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
  37. package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
  38. package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
  39. package/dist/components/form-container/ObcFormContainer.svelte +4 -4
  40. package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
  41. package/dist/components/icon-button/ObcIconButton.svelte +3 -1
  42. package/dist/components/icon-button/ObcIconButton.svelte.d.ts +2 -0
  43. package/dist/components/menu-button/ObcMenuButton.svelte +6 -4
  44. package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +5 -8
  45. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -7
  46. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -2
  47. package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
  48. package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
  49. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
  50. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
  51. package/dist/components/number-input-field/ObcNumberInputField.svelte +14 -5
  52. package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +14 -2
  53. package/dist/components/slider-double/ObcSliderDouble.svelte +34 -3
  54. package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +19 -0
  55. package/dist/components/split-button/ObcSplitButton.svelte +6 -4
  56. package/dist/components/split-button/ObcSplitButton.svelte.d.ts +5 -9
  57. package/dist/components/stepper-box/ObcStepperBox.svelte +31 -22
  58. package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +32 -7
  59. package/dist/components/tab-item/ObcTabItem.svelte +12 -4
  60. package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
  61. package/dist/components/tab-row/ObcTabRow.svelte +7 -1
  62. package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
  63. package/dist/components/tag/ObcTag.svelte +3 -2
  64. package/dist/components/tag/ObcTag.svelte.d.ts +3 -1
  65. package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
  66. package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
  67. package/dist/index.d.ts +17 -1
  68. package/dist/index.js +17 -1
  69. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
  70. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
  71. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
  72. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
  73. package/dist/navigation-instruments/compass/ObcCompass.svelte +17 -1
  74. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +16 -0
  75. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
  76. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
  77. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +4 -4
  78. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +5 -4
  79. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +16 -1
  80. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +15 -0
  81. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
  82. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
  83. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
  84. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
  85. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
  86. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
  87. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
  88. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
  89. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
  90. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
  91. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
  92. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
  93. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
  94. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
  95. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
  96. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
  97. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
  98. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
  99. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
  100. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
  101. package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
  102. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
  103. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
  104. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
  105. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +13 -1
  106. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +12 -0
  107. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
  108. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
  109. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
  110. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
  111. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
  112. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
  113. package/dist/navigation-instruments/readout/ObcReadout.svelte +169 -0
  114. package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +112 -0
  115. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +54 -0
  116. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +41 -0
  117. package/dist/navigation-instruments/readout-input/ObcReadoutInput.svelte +63 -0
  118. package/dist/navigation-instruments/readout-input/ObcReadoutInput.svelte.d.ts +47 -0
  119. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +62 -0
  120. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +44 -0
  121. package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
  122. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
  123. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
  124. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
  125. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
  126. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
  127. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
  128. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
  129. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
  130. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
  131. package/dist/navigation-instruments/watch/ObcWatch.svelte +3 -1
  132. package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +2 -0
  133. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
  134. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
  135. package/dist/navigation-instruments/wind/ObcWind.svelte +6 -3
  136. package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +5 -1
  137. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +18 -8
  138. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +21 -6
  139. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
  140. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
  141. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
  142. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
  143. package/package.json +2 -2
  144. package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte +0 -69
  145. package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte.d.ts +0 -54
@@ -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,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;
@@ -1,13 +1,11 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
2
+ import type { PolarChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-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?: PolarChartDataItem[];
11
9
  colors?: string[];
12
10
  priority?: Priority;
13
11
  monochrome?: boolean;
@@ -29,6 +27,7 @@ export interface Slots {
29
27
  }
30
28
  type $$ComponentProps = Props & Events & Slots;
31
29
  declare const ObcPolarChart: import("svelte").Component<$$ComponentProps, {
30
+ PolarChartDataItem: typeof PolarChartDataItem;
32
31
  Priority: typeof Priority;
33
32
  }, "">;
34
33
  type ObcPolarChart = ReturnType<typeof ObcPolarChart>;
@@ -2,12 +2,12 @@
2
2
  <script lang="ts">
3
3
  export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
4
4
  export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
- export type {AdviceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
5
+ export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
7
7
  import { setProperties } from "../../util.js";
8
8
  import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
9
9
  import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
- import type {AdviceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
10
+ import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
11
11
  import type { Snippet } from 'svelte';
12
12
 
13
13
  export interface Props {
@@ -92,7 +92,7 @@ state?: InstrumentState;
92
92
  advicePosition?: AdvicePosition;
93
93
  /** Advice/alert overlays with state and positioning.
94
94
  When undefined or empty, no advice shown. */
95
- advices?: { min: number; max: number; type: AdviceType; hinted: boolean; }[] | undefined;
95
+ advices?: LinearAdvice[] | undefined;
96
96
  /** When true, displays a dot indicator at the current value position.
97
97
  The dot is rendered in the scale band, touching its inner edge (towards the chart).
98
98
  This provides an alternative to bar fill for highlighting the current value. */
@@ -1,7 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
2
2
  import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
3
3
  import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- import type { AdviceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
4
+ import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
5
5
  import type { Snippet } from 'svelte';
6
6
  export interface Props {
7
7
  class?: string;
@@ -85,12 +85,7 @@ When instrumentMode=false, this is ignored and border radius is read from CSS va
85
85
  advicePosition?: AdvicePosition;
86
86
  /** Advice/alert overlays with state and positioning.
87
87
  When undefined or empty, no advice shown. */
88
- advices?: {
89
- min: number;
90
- max: number;
91
- type: AdviceType;
92
- hinted: boolean;
93
- }[] | undefined;
88
+ advices?: LinearAdvice[] | undefined;
94
89
  /** When true, displays a dot indicator at the current value position.
95
90
  The dot is rendered in the scale band, touching its inner edge (towards the chart).
96
91
  This provides an alternative to bar fill for highlighting the current value. */
@@ -112,7 +107,7 @@ declare const ObcBarHorizontal: import("svelte").Component<$$ComponentProps, {
112
107
  BorderRadiusPosition: typeof BorderRadiusPosition;
113
108
  Priority: typeof Priority;
114
109
  InstrumentState: typeof InstrumentState;
115
- AdviceType: typeof AdviceType;
110
+ LinearAdvice: typeof LinearAdvice;
116
111
  }, "">;
117
112
  type ObcBarHorizontal = ReturnType<typeof ObcBarHorizontal>;
118
113
  export default ObcBarHorizontal;
@@ -2,12 +2,12 @@
2
2
  <script lang="ts">
3
3
  export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
4
4
  export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
- export type {AdviceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
5
+ export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
7
7
  import { setProperties } from "../../util.js";
8
8
  import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
9
9
  import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
- import type {AdviceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
10
+ import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
11
11
  import type { Snippet } from 'svelte';
12
12
 
13
13
  export interface Props {
@@ -92,7 +92,7 @@ state?: InstrumentState;
92
92
  advicePosition?: AdvicePosition;
93
93
  /** Advice/alert overlays with state and positioning.
94
94
  When undefined or empty, no advice shown. */
95
- advices?: { min: number; max: number; type: AdviceType; hinted: boolean; }[] | undefined;
95
+ advices?: LinearAdvice[] | undefined;
96
96
  /** When true, displays a dot indicator at the current value position.
97
97
  The dot is rendered in the scale band, touching its inner edge (towards the chart).
98
98
  This provides an alternative to bar fill for highlighting the current value. */
@@ -1,7 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
2
2
  import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
3
3
  import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- import type { AdviceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
4
+ import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
5
5
  import type { Snippet } from 'svelte';
6
6
  export interface Props {
7
7
  class?: string;
@@ -85,12 +85,7 @@ When instrumentMode=false, this is ignored and border radius is read from CSS va
85
85
  advicePosition?: AdvicePosition;
86
86
  /** Advice/alert overlays with state and positioning.
87
87
  When undefined or empty, no advice shown. */
88
- advices?: {
89
- min: number;
90
- max: number;
91
- type: AdviceType;
92
- hinted: boolean;
93
- }[] | undefined;
88
+ advices?: LinearAdvice[] | undefined;
94
89
  /** When true, displays a dot indicator at the current value position.
95
90
  The dot is rendered in the scale band, touching its inner edge (towards the chart).
96
91
  This provides an alternative to bar fill for highlighting the current value. */
@@ -112,7 +107,7 @@ declare const ObcBarVertical: import("svelte").Component<$$ComponentProps, {
112
107
  BorderRadiusPosition: typeof BorderRadiusPosition;
113
108
  Priority: typeof Priority;
114
109
  InstrumentState: typeof InstrumentState;
115
- AdviceType: typeof AdviceType;
110
+ LinearAdvice: typeof LinearAdvice;
116
111
  }, "">;
117
112
  type ObcBarVertical = ReturnType<typeof ObcBarVertical>;
118
113
  export default ObcBarVertical;
@@ -1,12 +1,12 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ChartDataset} from 'chart.js';
4
- export type {XAxisType, YAxisPosition, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
+ export type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
+ export type {ChartDataset} from 'chart.js';
5
5
  export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
7
7
  import { setProperties } from "../../util.js";
8
- import type {ChartDataset} from 'chart.js';
9
- import type {XAxisType, YAxisPosition, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
8
+ import type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
9
+ import type {ChartDataset} from 'chart.js';
10
10
  import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
11
  import type { Snippet } from 'svelte';
12
12
 
@@ -14,7 +14,7 @@ import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '
14
14
  class?: string;
15
15
  style?: string;
16
16
  /** Simple single-series data (array of {label, value}). */
17
- data?: { label: string; value: number; }[];
17
+ data?: ChartLineDataItem[];
18
18
  /** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
19
19
  datasets?: ChartDataset<"line", (number | { x: string | number | Date; y: number; })[]>[] | undefined;
20
20
  /** Optional explicit labels for the x-axis (category mode). If omitted labels are derived from `data` */
@@ -44,7 +44,7 @@ xAxisType?: XAxisType;
44
44
  /** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
45
45
  yAxisPosition?: YAxisPosition;
46
46
  /** Multiple y-axis definitions for complex multi-axis charts. */
47
- yAxes?: { id?: string | undefined; position?: "left" | "right" | undefined; min?: number | undefined; max?: number | undefined; grid?: boolean | undefined; }[] | undefined;
47
+ yAxes?: ChartLineYAxisConfig[] | undefined;
48
48
  /** Show grid lines. */
49
49
  showGrid?: boolean;
50
50
  /** Show vertical grid lines (x-axis). Default: false. */
@@ -1,16 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
+ import type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
3
  import type { ChartDataset } from 'chart.js';
3
- import type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  import type { Snippet } from 'svelte';
6
6
  export interface Props {
7
7
  class?: string;
8
8
  style?: string;
9
9
  /** Simple single-series data (array of {label, value}). */
10
- data?: {
11
- label: string;
12
- value: number;
13
- }[];
10
+ data?: ChartLineDataItem[];
14
11
  /** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
15
12
  datasets?: ChartDataset<"line", (number | {
16
13
  x: string | number | Date;
@@ -43,13 +40,7 @@ Default: 384 (matches Figma design baseline). */
43
40
  /** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
44
41
  yAxisPosition?: YAxisPosition;
45
42
  /** Multiple y-axis definitions for complex multi-axis charts. */
46
- yAxes?: {
47
- id?: string | undefined;
48
- position?: "left" | "right" | undefined;
49
- min?: number | undefined;
50
- max?: number | undefined;
51
- grid?: boolean | undefined;
52
- }[] | undefined;
43
+ yAxes?: ChartLineYAxisConfig[] | undefined;
53
44
  /** Show grid lines. */
54
45
  showGrid?: boolean;
55
46
  /** Show vertical grid lines (x-axis). Default: false. */
@@ -101,11 +92,13 @@ export interface Slots {
101
92
  }
102
93
  type $$ComponentProps = Props & Events & Slots;
103
94
  declare const ObcChartLineBase: import("svelte").Component<$$ComponentProps, {
104
- ChartDataset: typeof ChartDataset;
95
+ ChartLineDataItem: typeof ChartLineDataItem;
105
96
  XAxisType: typeof XAxisType;
106
97
  YAxisPosition: typeof YAxisPosition;
98
+ ChartLineYAxisConfig: typeof ChartLineYAxisConfig;
107
99
  LineMode: typeof LineMode;
108
100
  TimeDisplay: typeof TimeDisplay;
101
+ ChartDataset: typeof ChartDataset;
109
102
  InstrumentState: typeof InstrumentState;
110
103
  Priority: typeof Priority;
111
104
  FrameStyle: typeof FrameStyle;
@@ -50,10 +50,10 @@ lineType?: ObcFloatingItemLineType
50
50
  description?: Snippet;
51
51
  time?: Snippet;
52
52
  day?: Snippet;
53
- action?: Snippet;
54
- action2?: Snippet
53
+ actionSnippet?: Snippet;
54
+ action2Snippet?: Snippet
55
55
  }
56
- const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day, action, action2, ...props} = $props<Props & Events & Slots>();
56
+ const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day, actionSnippet, action2Snippet, ...props} = $props<Props & Events & Slots>();
57
57
 
58
58
  </script>
59
59
  <obc-advice-floating-item
@@ -100,15 +100,15 @@ lineType?: ObcFloatingItemLineType
100
100
  </div>
101
101
  {/if}
102
102
 
103
- {#if action}
103
+ {#if actionSnippet}
104
104
  <div slot="action">
105
- {@render action()}
105
+ {@render actionSnippet()}
106
106
  </div>
107
107
  {/if}
108
108
 
109
- {#if action2}
109
+ {#if action2Snippet}
110
110
  <div slot="action2">
111
- {@render action2()}
111
+ {@render action2Snippet()}
112
112
  </div>
113
113
  {/if}
114
114
  </obc-advice-floating-item>
@@ -45,8 +45,8 @@ export interface Slots {
45
45
  description?: Snippet;
46
46
  time?: Snippet;
47
47
  day?: Snippet;
48
- action?: Snippet;
49
- action2?: Snippet;
48
+ actionSnippet?: Snippet;
49
+ action2Snippet?: Snippet;
50
50
  }
51
51
  type $$ComponentProps = Props & Events & Slots;
52
52
  declare const ObcAdviceFloatingItem: import("svelte").Component<$$ComponentProps, {