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

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
package/dist/index.js CHANGED
@@ -2158,22 +2158,37 @@ export { default as ObcCompassFlat } from './navigation-instruments/compass-flat
2158
2158
  export { default as ObcCompassIndicator } from './navigation-instruments/compass-indicator/ObcCompassIndicator.svelte';
2159
2159
  export { default as ObcCompassSector } from './navigation-instruments/compass-sector/ObcCompassSector.svelte';
2160
2160
  export { default as ObcDepthActual } from './navigation-instruments/depth-actual/ObcDepthActual.svelte';
2161
+ export { default as ObcDepthIndicator } from './navigation-instruments/depth-indicator/ObcDepthIndicator.svelte';
2162
+ export { default as ObcGaugeBarIndicator } from './navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte';
2161
2163
  export { default as ObcGaugeHorizontal } from './navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte';
2162
2164
  export { default as ObcGaugeRadial } from './navigation-instruments/gauge-radial/ObcGaugeRadial.svelte';
2165
+ export { default as ObcGaugeRadialIndicator } from './navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte';
2163
2166
  export { default as ObcGaugeTrend } from './navigation-instruments/gauge-trend/ObcGaugeTrend.svelte';
2167
+ export { default as ObcGaugeTrendIndicator } from './navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte';
2164
2168
  export { default as ObcGaugeVertical } from './navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte';
2165
2169
  export { default as ObcGraphMini } from './navigation-instruments/graph-mini/ObcGraphMini.svelte';
2166
2170
  export { default as ObcHeading } from './navigation-instruments/heading/ObcHeading.svelte';
2171
+ export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
2167
2172
  export { default as ObcHeave } from './navigation-instruments/heave/ObcHeave.svelte';
2168
- export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
2173
+ export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
2169
2174
  export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
2175
+ export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
2170
2176
  export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.svelte';
2177
+ export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
2171
2178
  export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
2179
+ export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
2180
+ export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
2172
2181
  export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
2182
+ export { default as ObcReadout } from './navigation-instruments/readout/ObcReadout.svelte';
2183
+ export { default as ObcReadoutAdvice } from './navigation-instruments/readout-advice/ObcReadoutAdvice.svelte';
2184
+ export { default as ObcReadoutInput } from './navigation-instruments/readout-input/ObcReadoutInput.svelte';
2185
+ export { default as ObcReadoutListItem } from './navigation-instruments/readout-list-item/ObcReadoutListItem.svelte';
2173
2186
  export { default as ObcRoll } from './navigation-instruments/roll/ObcRoll.svelte';
2187
+ export { default as ObcRollIndicator } from './navigation-instruments/roll-indicator/ObcRollIndicator.svelte';
2174
2188
  export { default as ObcRotIndicator } from './navigation-instruments/rot-indicator/ObcRotIndicator.svelte';
2175
2189
  export { default as ObcRotSector } from './navigation-instruments/rot-sector/ObcRotSector.svelte';
2176
2190
  export { default as ObcRudder } from './navigation-instruments/rudder/ObcRudder.svelte';
2191
+ export { default as ObcRudderIndicator } from './navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte';
2177
2192
  export { default as ObcSpeedArrows } from './navigation-instruments/speed-arrows/ObcSpeedArrows.svelte';
2178
2193
  export { default as ObcSpeedGauge } from './navigation-instruments/speed-gauge/ObcSpeedGauge.svelte';
2179
2194
  export { default as ObcSpeedIndicator } from './navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte';
@@ -2183,5 +2198,6 @@ export { default as ObcWatch } from './navigation-instruments/watch/ObcWatch.sve
2183
2198
  export { default as ObcWatchFlat } from './navigation-instruments/watch-flat/ObcWatchFlat.svelte';
2184
2199
  export { default as ObcWind } from './navigation-instruments/wind/ObcWind.svelte';
2185
2200
  export { default as ObcWindIndicator } from './navigation-instruments/wind-indicator/ObcWindIndicator.svelte';
2201
+ export { default as ObcWindPropulsion } from './navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte';
2186
2202
  export { default as ObcAlertDetailPage } from './pages/alert-detail-page/ObcAlertDetailPage.svelte';
2187
2203
  export { default as ObcAlertListPageSmall } from './pages/alert-list-page-small/ObcAlertListPageSmall.svelte';
@@ -1,11 +1,9 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ObcIntegrationDropdownButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
4
- export type {HTMLTemplateResult} from 'lit';
3
+ export type {ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
5
4
  import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
6
5
  import { setProperties } from "../../util.js";
7
- import type {ObcIntegrationDropdownButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
8
- import type {HTMLTemplateResult} from 'lit';
6
+ import type {ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
9
7
  import type { Snippet } from 'svelte';
10
8
 
11
9
  export interface Props {
@@ -18,7 +16,7 @@ Example:
18
16
  { value: 'volvo', label: 'Volvo', icon: html`<obi-ship></obi-ship>` },
19
17
  { value: 'xc90', label: 'XC 90', icon: html`<obi-ship></obi-ship>` }
20
18
  ] */
21
- options?: { value: string; label: string; status?: string | undefined; icon: HTMLTemplateResult; disabled?: boolean | undefined; }[];
19
+ options?: IntegrationDropdownOption[];
22
20
  hasFleet?: boolean;
23
21
  fleetLabel?: string;
24
22
  /** The value of the currently selected option. */
@@ -1,6 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
2
- import type { ObcIntegrationDropdownButtonChangeEvent } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
3
- import type { HTMLTemplateResult } from 'lit';
2
+ import type { ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
4
3
  import type { Snippet } from 'svelte';
5
4
  export interface Props {
6
5
  class?: string;
@@ -12,13 +11,7 @@ Example:
12
11
  { value: 'volvo', label: 'Volvo', icon: html`<obi-ship></obi-ship>` },
13
12
  { value: 'xc90', label: 'XC 90', icon: html`<obi-ship></obi-ship>` }
14
13
  ] */
15
- options?: {
16
- value: string;
17
- label: string;
18
- status?: string | undefined;
19
- icon: HTMLTemplateResult;
20
- disabled?: boolean | undefined;
21
- }[];
14
+ options?: IntegrationDropdownOption[];
22
15
  hasFleet?: boolean;
23
16
  fleetLabel?: string;
24
17
  /** The value of the currently selected option. */
@@ -39,7 +32,7 @@ export interface Slots {
39
32
  type $$ComponentProps = Props & Events & Slots;
40
33
  declare const ObcIntegrationDropdownButton: import("svelte").Component<$$ComponentProps, {
41
34
  ObcIntegrationDropdownButtonChangeEvent: typeof ObcIntegrationDropdownButtonChangeEvent;
42
- HTMLTemplateResult: typeof HTMLTemplateResult;
35
+ IntegrationDropdownOption: typeof IntegrationDropdownOption;
43
36
  }, "">;
44
37
  type ObcIntegrationDropdownButton = ReturnType<typeof ObcIntegrationDropdownButton>;
45
38
  export default ObcIntegrationDropdownButton;
@@ -2,6 +2,7 @@
2
2
  <script lang="ts">
3
3
  export type {CommandStatus} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';
4
4
  export type {AzimuthThrusterLabeledSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
5
+ export type {ReadoutVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
5
6
  export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
6
7
  export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
7
8
  export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
@@ -10,6 +11,7 @@ export type {PropellerType} from '@oicl/openbridge-webcomponents/dist/navigation
10
11
  import { setProperties } from "../../util.js";
11
12
  import type {CommandStatus} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';
12
13
  import type {AzimuthThrusterLabeledSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
14
+ import type {ReadoutVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
13
15
  import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
14
16
  import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
15
17
  import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
@@ -22,6 +24,7 @@ import type {PropellerType} from '@oicl/openbridge-webcomponents/dist/navigation
22
24
  label?: string;
23
25
  commandStatus?: CommandStatus;
24
26
  size?: AzimuthThrusterLabeledSize;
27
+ readoutVariant?: ReadoutVariant;
25
28
  angle?: number;
26
29
  angleSetpoint?: number | undefined;
27
30
  newAngleSetpoint?: number | undefined;
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
2
2
  import type { CommandStatus } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';
3
3
  import type { AzimuthThrusterLabeledSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
4
+ import type { ReadoutVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
4
5
  import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
5
6
  import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
6
7
  import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
@@ -12,6 +13,7 @@ export interface Props {
12
13
  label?: string;
13
14
  commandStatus?: CommandStatus;
14
15
  size?: AzimuthThrusterLabeledSize;
16
+ readoutVariant?: ReadoutVariant;
15
17
  angle?: number;
16
18
  angleSetpoint?: number | undefined;
17
19
  newAngleSetpoint?: number | undefined;
@@ -44,6 +46,7 @@ type $$ComponentProps = Props & Events & Slots;
44
46
  declare const ObcAzimuthThrusterLabeled: import("svelte").Component<$$ComponentProps, {
45
47
  CommandStatus: typeof CommandStatus;
46
48
  AzimuthThrusterLabeledSize: typeof AzimuthThrusterLabeledSize;
49
+ ReadoutVariant: typeof ReadoutVariant;
47
50
  AngleAdvice: typeof AngleAdvice;
48
51
  LinearAdvice: typeof LinearAdvice;
49
52
  TickmarkStyle: typeof TickmarkStyle;
@@ -32,10 +32,26 @@ import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dis
32
32
  currentSpeed?: number | null;
33
33
  currentFromDirection?: number | null;
34
34
  vesselImage?: VesselImage;
35
+ /** Measured rate of turn in degrees per minute (positive = starboard).
36
+ Drives both the bar extent and (after multiplication by
37
+ `rotDotAnimationFactor`) the spinning dot animation.
38
+ When `undefined`, falls back to the deprecated `rotationsPerMinute`. */
39
+ rateOfTurnDegreesPerMinute?: number | undefined;
40
+ /** Visual amplification applied only to the spinning dot animation
41
+ (not to the bar extent). Default `18` keeps the legacy visual feel
42
+ (≈1 rpm at 20°/min). */
43
+ rotDotAnimationFactor?: number;
35
44
  rotationsPerMinute?: number;
36
45
  rotType?: RotType;
37
46
  rotPosition?: RotPosition;
38
- rotMaxValue?: number;
47
+ /** Bar-extent reference value in **degrees per minute**. The bar fills the
48
+ full ±`rotArcExtent` arc when the measured ROT equals ±`rotMaxValue`.
49
+ Default `60` aligns with ES-TRIN 2025/1 Art. 3.02.
50
+
51
+ Note: prior to the introduction of `rateOfTurnDegreesPerMinute` this
52
+ property was interpreted in rotations per minute. The unit changed when
53
+ the physical ROT API was introduced. */
54
+ rotMaxValue?: number;
39
55
  rotArcExtent?: number;
40
56
  rotPortStarboard?: boolean;
41
57
  rotAtZeroDeadband?: number;
@@ -24,9 +24,25 @@ export interface Props {
24
24
  currentSpeed?: number | null;
25
25
  currentFromDirection?: number | null;
26
26
  vesselImage?: VesselImage;
27
+ /** Measured rate of turn in degrees per minute (positive = starboard).
28
+ Drives both the bar extent and (after multiplication by
29
+ `rotDotAnimationFactor`) the spinning dot animation.
30
+ When `undefined`, falls back to the deprecated `rotationsPerMinute`. */
31
+ rateOfTurnDegreesPerMinute?: number | undefined;
32
+ /** Visual amplification applied only to the spinning dot animation
33
+ (not to the bar extent). Default `18` keeps the legacy visual feel
34
+ (≈1 rpm at 20°/min). */
35
+ rotDotAnimationFactor?: number;
27
36
  rotationsPerMinute?: number;
28
37
  rotType?: RotType;
29
38
  rotPosition?: RotPosition;
39
+ /** Bar-extent reference value in **degrees per minute**. The bar fills the
40
+ full ±`rotArcExtent` arc when the measured ROT equals ±`rotMaxValue`.
41
+ Default `60` aligns with ES-TRIN 2025/1 Art. 3.02.
42
+
43
+ Note: prior to the introduction of `rateOfTurnDegreesPerMinute` this
44
+ property was interpreted in rotations per minute. The unit changed when
45
+ the physical ROT API was introduced. */
30
46
  rotMaxValue?: number;
31
47
  rotArcExtent?: number;
32
48
  rotPortStarboard?: boolean;
@@ -23,8 +23,15 @@ import type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instr
23
23
  priority?: Priority;
24
24
  priorityElements?: CompassFlatPriorityElement[];
25
25
  rotType?: RotType | undefined;
26
+ /** Measured rate of turn in degrees per minute (positive = starboard).
27
+ When `undefined`, falls back to the deprecated `rotationsPerMinute`. */
28
+ rateOfTurnDegreesPerMinute?: number | undefined;
29
+ /** Visual amplification applied only to the spinning dot animation. */
30
+ rotDotAnimationFactor?: number;
26
31
  rotationsPerMinute?: number;
27
- rotMaxValue?: number;
32
+ /** Bar-extent reference value in **degrees per minute**. Default `60`
33
+ per ES-TRIN 2025/1 Art. 3.02. */
34
+ rotMaxValue?: number;
28
35
  rotArcExtent?: number;
29
36
  rotPortStarboard?: boolean;
30
37
  rotAtZeroDeadband?: number
@@ -16,7 +16,14 @@ export interface Props {
16
16
  priority?: Priority;
17
17
  priorityElements?: CompassFlatPriorityElement[];
18
18
  rotType?: RotType | undefined;
19
+ /** Measured rate of turn in degrees per minute (positive = starboard).
20
+ When `undefined`, falls back to the deprecated `rotationsPerMinute`. */
21
+ rateOfTurnDegreesPerMinute?: number | undefined;
22
+ /** Visual amplification applied only to the spinning dot animation. */
23
+ rotDotAnimationFactor?: number;
19
24
  rotationsPerMinute?: number;
25
+ /** Bar-extent reference value in **degrees per minute**. Default `60`
26
+ per ES-TRIN 2025/1 Art. 3.02. */
20
27
  rotMaxValue?: number;
21
28
  rotArcExtent?: number;
22
29
  rotPortStarboard?: boolean;
@@ -1,17 +1,17 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {CompassIndicatorArrow} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
3
+ export type {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
- import type {CompassIndicatorArrow} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
6
+ import type {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
12
  angle?: number;
13
- arrow?: CompassIndicatorArrow;
14
- northUp?: boolean
13
+ type?: CompassIndicatorType;
14
+ direction?: CompassIndicatorDirection
15
15
  }
16
16
  export interface Events {
17
17
 
@@ -1,12 +1,12 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
2
- import type { CompassIndicatorArrow } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
2
+ import type { CompassIndicatorType, CompassIndicatorDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
3
3
  import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
7
  angle?: number;
8
- arrow?: CompassIndicatorArrow;
9
- northUp?: boolean;
8
+ type?: CompassIndicatorType;
9
+ direction?: CompassIndicatorDirection;
10
10
  }
11
11
  export interface Events {
12
12
  }
@@ -15,7 +15,8 @@ export interface Slots {
15
15
  }
16
16
  type $$ComponentProps = Props & Events & Slots;
17
17
  declare const ObcCompassIndicator: import("svelte").Component<$$ComponentProps, {
18
- CompassIndicatorArrow: typeof CompassIndicatorArrow;
18
+ CompassIndicatorType: typeof CompassIndicatorType;
19
+ CompassIndicatorDirection: typeof CompassIndicatorDirection;
19
20
  }, "">;
20
21
  type ObcCompassIndicator = ReturnType<typeof ObcCompassIndicator>;
21
22
  export default ObcCompassIndicator;
@@ -30,8 +30,23 @@ import type {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/
30
30
  minFOV?: number;
31
31
  rotType?: RotType | undefined;
32
32
  rotPosition?: RotPosition;
33
+ /** Measured rate of turn in degrees per minute (positive = starboard).
34
+ Drives both the bar extent and (after multiplication by
35
+ `rotDotAnimationFactor`) the spinning dot animation. When `undefined`,
36
+ falls back to the deprecated `rotationsPerMinute`. */
37
+ rateOfTurnDegreesPerMinute?: number | undefined;
38
+ /** Visual amplification applied only to the spinning dot animation
39
+ (not to the bar extent). Default `18` keeps the legacy visual feel
40
+ (≈1 rpm at 20°/min). */
41
+ rotDotAnimationFactor?: number;
33
42
  rotationsPerMinute?: number;
34
- rotMaxValue?: number;
43
+ /** Bar-extent reference value in **degrees per minute**. The bar fills the
44
+ full ±`ARC_HALF_EXTENT` arc when the measured ROT equals
45
+ ±`rotMaxValue`. Default `60` aligns with ES-TRIN 2025/1 Art. 3.02.
46
+
47
+ Note: the unit changed from rotations per minute to degrees per minute
48
+ with the introduction of `rateOfTurnDegreesPerMinute`. */
49
+ rotMaxValue?: number;
35
50
  rotPortStarboard?: boolean;
36
51
  rotAtZeroDeadband?: number;
37
52
  state?: InstrumentState;
@@ -22,7 +22,22 @@ export interface Props {
22
22
  minFOV?: number;
23
23
  rotType?: RotType | undefined;
24
24
  rotPosition?: RotPosition;
25
+ /** Measured rate of turn in degrees per minute (positive = starboard).
26
+ Drives both the bar extent and (after multiplication by
27
+ `rotDotAnimationFactor`) the spinning dot animation. When `undefined`,
28
+ falls back to the deprecated `rotationsPerMinute`. */
29
+ rateOfTurnDegreesPerMinute?: number | undefined;
30
+ /** Visual amplification applied only to the spinning dot animation
31
+ (not to the bar extent). Default `18` keeps the legacy visual feel
32
+ (≈1 rpm at 20°/min). */
33
+ rotDotAnimationFactor?: number;
25
34
  rotationsPerMinute?: number;
35
+ /** Bar-extent reference value in **degrees per minute**. The bar fills the
36
+ full ±`ARC_HALF_EXTENT` arc when the measured ROT equals
37
+ ±`rotMaxValue`. Default `60` aligns with ES-TRIN 2025/1 Art. 3.02.
38
+
39
+ Note: the unit changed from rotations per minute to degrees per minute
40
+ with the introduction of `rateOfTurnDegreesPerMinute`. */
26
41
  rotMaxValue?: number;
27
42
  rotPortStarboard?: boolean;
28
43
  rotAtZeroDeadband?: number;
@@ -0,0 +1,33 @@
1
+
2
+ <script lang="ts">
3
+ export type {ObcDepthIndicatorVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {ObcDepthIndicatorVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ variant?: ObcDepthIndicatorVariant;
13
+ values?: number[]
14
+ }
15
+ export interface Events {
16
+
17
+ }
18
+ export interface Slots {
19
+ children?: Snippet
20
+ }
21
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
22
+
23
+ </script>
24
+ <obc-depth-indicator
25
+ use:setProperties={props}
26
+ class={className}
27
+ style={style}
28
+ >
29
+
30
+ {#if children}
31
+ {@render children()}
32
+ {/if}
33
+ </obc-depth-indicator>
@@ -0,0 +1,20 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
2
+ import type { ObcDepthIndicatorVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ variant?: ObcDepthIndicatorVariant;
8
+ values?: number[];
9
+ }
10
+ export interface Events {
11
+ }
12
+ export interface Slots {
13
+ children?: Snippet;
14
+ }
15
+ type $$ComponentProps = Props & Events & Slots;
16
+ declare const ObcDepthIndicator: import("svelte").Component<$$ComponentProps, {
17
+ ObcDepthIndicatorVariant: typeof ObcDepthIndicatorVariant;
18
+ }, "">;
19
+ type ObcDepthIndicator = ReturnType<typeof ObcDepthIndicator>;
20
+ export default ObcDepthIndicator;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-bar-indicator/gauge-bar-indicator.js';
5
+ import { setProperties } from "../../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ value?: number;
13
+ direction?: string;
14
+ type?: string
15
+ }
16
+ export interface Events {
17
+
18
+ }
19
+ export interface Slots {
20
+ children?: Snippet
21
+ }
22
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
23
+
24
+ </script>
25
+ <obc-gauge-bar-indicator
26
+ use:setProperties={props}
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obc-gauge-bar-indicator>
@@ -0,0 +1,18 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-bar-indicator/gauge-bar-indicator.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ value?: number;
7
+ direction?: string;
8
+ type?: string;
9
+ }
10
+ export interface Events {
11
+ }
12
+ export interface Slots {
13
+ children?: Snippet;
14
+ }
15
+ type $$ComponentProps = Props & Events & Slots;
16
+ declare const ObcGaugeBarIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
17
+ type ObcGaugeBarIndicator = ReturnType<typeof ObcGaugeBarIndicator>;
18
+ export default ObcGaugeBarIndicator;
@@ -2,12 +2,12 @@
2
2
  <script lang="ts">
3
3
  export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
4
4
  export type {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/navigation-instruments/gauge-horizontal/gauge-horizontal.js';
7
7
  import { setProperties } from "../../util.js";
8
8
  import type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
9
9
  import type {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 {
@@ -45,7 +45,7 @@ value?: number | undefined;
45
45
  state?: InstrumentState;
46
46
  focused?: boolean;
47
47
  /** Advice/alert overlays with min, max, type, and hinted state. When undefined or empty, no advice shown. */
48
- advices?: { min: number; max: number; type: AdviceType; hinted: boolean; }[] | undefined;
48
+ advices?: LinearAdvice[] | undefined;
49
49
  /** When true, displays a dot indicator at the current value position.
50
50
  The dot is rendered in the scale band, touching its inner edge (towards the chart).
51
51
  This provides an alternative to bar fill for highlighting the current value. */
@@ -1,7 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js';
2
2
  import type { ExternalScaleSide, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
3
3
  import type { 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;
@@ -38,12 +38,7 @@ export interface Props {
38
38
  state?: InstrumentState;
39
39
  focused?: boolean;
40
40
  /** Advice/alert overlays with min, max, type, and hinted state. When undefined or empty, no advice shown. */
41
- advices?: {
42
- min: number;
43
- max: number;
44
- type: AdviceType;
45
- hinted: boolean;
46
- }[] | undefined;
41
+ advices?: LinearAdvice[] | undefined;
47
42
  /** When true, displays a dot indicator at the current value position.
48
43
  The dot is rendered in the scale band, touching its inner edge (towards the chart).
49
44
  This provides an alternative to bar fill for highlighting the current value. */
@@ -62,7 +57,7 @@ declare const ObcGaugeHorizontal: import("svelte").Component<$$ComponentProps, {
62
57
  BorderRadiusPosition: typeof BorderRadiusPosition;
63
58
  Priority: typeof Priority;
64
59
  InstrumentState: typeof InstrumentState;
65
- AdviceType: typeof AdviceType;
60
+ LinearAdvice: typeof LinearAdvice;
66
61
  }, "">;
67
62
  type ObcGaugeHorizontal = ReturnType<typeof ObcGaugeHorizontal>;
68
63
  export default ObcGaugeHorizontal;
@@ -0,0 +1,40 @@
1
+
2
+ <script lang="ts">
3
+ export type {GaugeRadialIndicatorStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {GaugeRadialIndicatorStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ value?: number;
13
+ minValue?: number;
14
+ maxValue?: number;
15
+ sector?: number;
16
+ styleType?: GaugeRadialIndicatorStyle;
17
+ icon?: string;
18
+ hasIcon?: boolean
19
+ }
20
+ export interface Events {
21
+
22
+ }
23
+ export interface Slots {
24
+ iconSnippet?: Snippet
25
+ }
26
+ const { class: className, style, iconSnippet, ...props} = $props<Props & Events & Slots>();
27
+
28
+ </script>
29
+ <obc-gauge-radial-indicator
30
+ use:setProperties={props}
31
+ class={className}
32
+ style={style}
33
+ >
34
+
35
+ {#if iconSnippet}
36
+ <div slot="icon">
37
+ {@render iconSnippet()}
38
+ </div>
39
+ {/if}
40
+ </obc-gauge-radial-indicator>
@@ -0,0 +1,25 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
2
+ import type { GaugeRadialIndicatorStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ value?: number;
8
+ minValue?: number;
9
+ maxValue?: number;
10
+ sector?: number;
11
+ styleType?: GaugeRadialIndicatorStyle;
12
+ icon?: string;
13
+ hasIcon?: boolean;
14
+ }
15
+ export interface Events {
16
+ }
17
+ export interface Slots {
18
+ iconSnippet?: Snippet;
19
+ }
20
+ type $$ComponentProps = Props & Events & Slots;
21
+ declare const ObcGaugeRadialIndicator: import("svelte").Component<$$ComponentProps, {
22
+ GaugeRadialIndicatorStyle: typeof GaugeRadialIndicatorStyle;
23
+ }, "">;
24
+ type ObcGaugeRadialIndicator = ReturnType<typeof ObcGaugeRadialIndicator>;
25
+ export default ObcGaugeRadialIndicator;
@@ -1,11 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
4
- export type {AdviceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
4
+ export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js';
6
6
  import { setProperties } from "../../util.js";
7
7
  import type {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
8
- import type {AdviceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
8
+ import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
9
9
  import type { Snippet } from 'svelte';
10
10
 
11
11
  export interface Props {
@@ -67,7 +67,7 @@ In `'tint'` mode, this defines the upper bound of the highlighted range.
67
67
  When `undefined`, defaults to `value`. */
68
68
  fillMax?: number | undefined;
69
69
  /** Advice/alert overlays for the vertical scale. */
70
- advice?: { min: number; max: number; type: AdviceType; hinted: boolean; }[];
70
+ advice?: LinearAdvice[];
71
71
  /** Primary tick interval for the vertical scale (longest ticks with labels). */
72
72
  primaryTickmarkInterval?: number | undefined;
73
73
  /** Secondary tick interval for the vertical scale (medium ticks). */
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js';
2
2
  import type { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
3
- import type { AdviceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
3
+ import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
4
4
  import type { Snippet } from 'svelte';
5
5
  export interface Props {
6
6
  class?: string;
@@ -61,12 +61,7 @@ In `'tint'` mode, this defines the upper bound of the highlighted range.
61
61
  When `undefined`, defaults to `value`. */
62
62
  fillMax?: number | undefined;
63
63
  /** Advice/alert overlays for the vertical scale. */
64
- advice?: {
65
- min: number;
66
- max: number;
67
- type: AdviceType;
68
- hinted: boolean;
69
- }[];
64
+ advice?: LinearAdvice[];
70
65
  /** Primary tick interval for the vertical scale (longest ticks with labels). */
71
66
  primaryTickmarkInterval?: number | undefined;
72
67
  /** Secondary tick interval for the vertical scale (medium ticks). */
@@ -87,7 +82,7 @@ type $$ComponentProps = Props & Events & Slots;
87
82
  declare const ObcGaugeTrend: import("svelte").Component<$$ComponentProps, {
88
83
  ScaleType: typeof ScaleType;
89
84
  FillMode: typeof FillMode;
90
- AdviceType: typeof AdviceType;
85
+ LinearAdvice: typeof LinearAdvice;
91
86
  }, "">;
92
87
  type ObcGaugeTrend = ReturnType<typeof ObcGaugeTrend>;
93
88
  export default ObcGaugeTrend;