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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +2 -0
  2. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
  3. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
  4. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +7 -6
  5. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +10 -6
  6. package/dist/automation/automation-button/ObcAutomationButton.svelte +3 -4
  7. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -4
  8. package/dist/automation/automation-tank/ObcAutomationTank.svelte +117 -4
  9. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +125 -3
  10. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
  11. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
  12. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
  13. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
  14. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
  15. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
  16. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
  17. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
  18. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
  19. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
  20. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +22 -6
  21. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +22 -13
  22. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
  23. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
  24. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
  25. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
  26. package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
  27. package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
  28. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
  29. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
  30. package/dist/components/card/ObcCard.svelte +4 -4
  31. package/dist/components/card/ObcCard.svelte.d.ts +4 -4
  32. package/dist/components/context-menu-input/ObcContextMenuInput.svelte +4 -4
  33. package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +6 -10
  34. package/dist/components/dropdown-button/ObcDropdownButton.svelte +3 -3
  35. package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +3 -6
  36. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
  37. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
  38. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
  39. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
  40. package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
  41. package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
  42. package/dist/components/form-container/ObcFormContainer.svelte +4 -4
  43. package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
  44. package/dist/components/icon-button/ObcIconButton.svelte +6 -4
  45. package/dist/components/icon-button/ObcIconButton.svelte.d.ts +3 -0
  46. package/dist/components/menu-button/ObcMenuButton.svelte +6 -4
  47. package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +5 -8
  48. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -7
  49. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -2
  50. package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
  51. package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
  52. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
  53. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
  54. package/dist/components/number-input-field/ObcNumberInputField.svelte +14 -5
  55. package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +14 -2
  56. package/dist/components/slider-double/ObcSliderDouble.svelte +34 -3
  57. package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +19 -0
  58. package/dist/components/split-button/ObcSplitButton.svelte +6 -4
  59. package/dist/components/split-button/ObcSplitButton.svelte.d.ts +5 -9
  60. package/dist/components/stepper-box/ObcStepperBox.svelte +31 -22
  61. package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +32 -7
  62. package/dist/components/tab-item/ObcTabItem.svelte +12 -4
  63. package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
  64. package/dist/components/tab-row/ObcTabRow.svelte +7 -1
  65. package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
  66. package/dist/components/tag/ObcTag.svelte +3 -2
  67. package/dist/components/tag/ObcTag.svelte.d.ts +3 -1
  68. package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
  69. package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
  70. package/dist/index.d.ts +17 -0
  71. package/dist/index.js +17 -0
  72. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
  73. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
  74. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
  75. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
  76. package/dist/navigation-instruments/compass/ObcCompass.svelte +18 -2
  77. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +17 -1
  78. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
  79. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
  80. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +11 -4
  81. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +11 -3
  82. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +16 -1
  83. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +15 -0
  84. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
  85. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
  86. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
  87. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
  88. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
  89. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
  90. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
  91. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
  92. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
  93. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
  94. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
  95. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
  96. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
  97. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
  98. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
  99. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
  100. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
  101. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
  102. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
  103. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
  104. package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
  105. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
  106. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
  107. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
  108. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +13 -1
  109. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +12 -0
  110. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
  111. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
  112. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
  113. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
  114. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
  115. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
  116. package/dist/navigation-instruments/readout/ObcReadout.svelte +158 -0
  117. package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +101 -0
  118. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +53 -0
  119. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +40 -0
  120. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +60 -0
  121. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +42 -0
  122. package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte +62 -0
  123. package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte.d.ts +46 -0
  124. package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
  125. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
  126. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
  127. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
  128. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
  129. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
  130. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
  131. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
  132. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
  133. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
  134. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +4 -4
  135. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -4
  136. package/dist/navigation-instruments/watch/ObcWatch.svelte +4 -2
  137. package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +3 -1
  138. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
  139. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
  140. package/dist/navigation-instruments/wind/ObcWind.svelte +7 -4
  141. package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +6 -2
  142. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +28 -8
  143. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +31 -6
  144. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
  145. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
  146. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
  147. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
  148. package/package.json +2 -2
@@ -0,0 +1,53 @@
1
+
2
+ <script lang="ts">
3
+ export type {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
4
+ export type {ReadoutSetpointSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
5
+ export type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
6
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
8
+ import { setProperties } from "../../util.js";
9
+ import type {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
10
+ import type {ReadoutSetpointSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
11
+ import type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
12
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
13
+ import type { Snippet } from 'svelte';
14
+
15
+ export interface Props {
16
+ class?: string;
17
+ style?: string;
18
+ readoutStyle?: ReadoutVariant | undefined;
19
+ direction?: ReadoutDirection | undefined;
20
+ size?: ReadoutSetpointSize;
21
+ format?: ReadoutAdviceFormat | undefined;
22
+ priority?: Priority | undefined;
23
+ state?: ReadoutAdviceState;
24
+ hugContent?: boolean;
25
+ value?: number | undefined;
26
+ secondaryValue?: number | undefined;
27
+ description?: string;
28
+ minValueLength?: number;
29
+ hasHintedZeros?: boolean;
30
+ fractionDigits?: number;
31
+ hasDegree?: boolean
32
+ }
33
+ export interface Events {
34
+
35
+ }
36
+ export interface Slots {
37
+ icon?: Snippet
38
+ }
39
+ const { class: className, style, icon, ...props} = $props<Props & Events & Slots>();
40
+
41
+ </script>
42
+ <obc-readout-advice
43
+ use:setProperties={props}
44
+ class={className}
45
+ style={style}
46
+ >
47
+
48
+ {#if icon}
49
+ <div slot="icon">
50
+ {@render icon()}
51
+ </div>
52
+ {/if}
53
+ </obc-readout-advice>
@@ -0,0 +1,40 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
2
+ import type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
3
+ import type { ReadoutSetpointSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
4
+ import type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
5
+ import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
+ import type { Snippet } from 'svelte';
7
+ export interface Props {
8
+ class?: string;
9
+ style?: string;
10
+ readoutStyle?: ReadoutVariant | undefined;
11
+ direction?: ReadoutDirection | undefined;
12
+ size?: ReadoutSetpointSize;
13
+ format?: ReadoutAdviceFormat | undefined;
14
+ priority?: Priority | undefined;
15
+ state?: ReadoutAdviceState;
16
+ hugContent?: boolean;
17
+ value?: number | undefined;
18
+ secondaryValue?: number | undefined;
19
+ description?: string;
20
+ minValueLength?: number;
21
+ hasHintedZeros?: boolean;
22
+ fractionDigits?: number;
23
+ hasDegree?: boolean;
24
+ }
25
+ export interface Events {
26
+ }
27
+ export interface Slots {
28
+ icon?: Snippet;
29
+ }
30
+ type $$ComponentProps = Props & Events & Slots;
31
+ declare const ObcReadoutAdvice: import("svelte").Component<$$ComponentProps, {
32
+ ReadoutVariant: typeof ReadoutVariant;
33
+ ReadoutDirection: typeof ReadoutDirection;
34
+ ReadoutSetpointSize: typeof ReadoutSetpointSize;
35
+ ReadoutAdviceFormat: typeof ReadoutAdviceFormat;
36
+ ReadoutAdviceState: typeof ReadoutAdviceState;
37
+ Priority: typeof Priority;
38
+ }, "">;
39
+ type ObcReadoutAdvice = ReturnType<typeof ObcReadoutAdvice>;
40
+ export default ObcReadoutAdvice;
@@ -0,0 +1,60 @@
1
+
2
+ <script lang="ts">
3
+ export type {ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ size?: ReadoutListItemSize;
13
+ stacking?: ReadoutListItemStacking;
14
+ priority?: ReadoutListItemPriority;
15
+ alertState?: ReadoutListItemAlertState;
16
+ label?: string;
17
+ unit?: string;
18
+ src?: string;
19
+ value?: number | undefined;
20
+ setpointValue?: number | undefined;
21
+ hasSetpoint?: boolean;
22
+ hasDegree?: boolean;
23
+ hasUnit?: boolean;
24
+ hasLabel?: boolean;
25
+ hasSource?: boolean;
26
+ hasLeadingIcon?: boolean;
27
+ hasValueIcon?: boolean;
28
+ fractionDigits?: number;
29
+ showZeroPadding?: boolean;
30
+ minValueLength?: number;
31
+ hasHintedZeros?: boolean
32
+ }
33
+ export interface Events {
34
+
35
+ }
36
+ export interface Slots {
37
+ leadingIcon?: Snippet;
38
+ valueIcon?: Snippet
39
+ }
40
+ const { class: className, style, leadingIcon, valueIcon, ...props} = $props<Props & Events & Slots>();
41
+
42
+ </script>
43
+ <obc-readout-list-item
44
+ use:setProperties={props}
45
+ class={className}
46
+ style={style}
47
+ >
48
+
49
+ {#if leadingIcon}
50
+ <div slot="leading-icon">
51
+ {@render leadingIcon()}
52
+ </div>
53
+ {/if}
54
+
55
+ {#if valueIcon}
56
+ <div slot="value-icon">
57
+ {@render valueIcon()}
58
+ </div>
59
+ {/if}
60
+ </obc-readout-list-item>
@@ -0,0 +1,42 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
2
+ import type { ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ size?: ReadoutListItemSize;
8
+ stacking?: ReadoutListItemStacking;
9
+ priority?: ReadoutListItemPriority;
10
+ alertState?: ReadoutListItemAlertState;
11
+ label?: string;
12
+ unit?: string;
13
+ src?: string;
14
+ value?: number | undefined;
15
+ setpointValue?: number | undefined;
16
+ hasSetpoint?: boolean;
17
+ hasDegree?: boolean;
18
+ hasUnit?: boolean;
19
+ hasLabel?: boolean;
20
+ hasSource?: boolean;
21
+ hasLeadingIcon?: boolean;
22
+ hasValueIcon?: boolean;
23
+ fractionDigits?: number;
24
+ showZeroPadding?: boolean;
25
+ minValueLength?: number;
26
+ hasHintedZeros?: boolean;
27
+ }
28
+ export interface Events {
29
+ }
30
+ export interface Slots {
31
+ leadingIcon?: Snippet;
32
+ valueIcon?: Snippet;
33
+ }
34
+ type $$ComponentProps = Props & Events & Slots;
35
+ declare const ObcReadoutListItem: import("svelte").Component<$$ComponentProps, {
36
+ ReadoutListItemSize: typeof ReadoutListItemSize;
37
+ ReadoutListItemStacking: typeof ReadoutListItemStacking;
38
+ ReadoutListItemPriority: typeof ReadoutListItemPriority;
39
+ ReadoutListItemAlertState: typeof ReadoutListItemAlertState;
40
+ }, "">;
41
+ type ObcReadoutListItem = ReturnType<typeof ObcReadoutListItem>;
42
+ export default ObcReadoutListItem;
@@ -0,0 +1,62 @@
1
+
2
+ <script lang="ts">
3
+ export type {ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
4
+ export type {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
5
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
7
+ import { setProperties } from "../../util.js";
8
+ import type {ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
9
+ import type {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
10
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
+ import type { Snippet } from 'svelte';
12
+
13
+ export interface Props {
14
+ class?: string;
15
+ style?: string;
16
+ variant?: ReadoutSetpointVariant;
17
+ readoutStyle?: ReadoutVariant | undefined;
18
+ direction?: ReadoutDirection | undefined;
19
+ size?: ReadoutSetpointSize;
20
+ valueTypography?: ReadoutSetpointValueTypography | undefined;
21
+ format?: ReadoutSetpointFormat | undefined;
22
+ mode?: ReadoutSetpointMode | undefined;
23
+ priority?: Priority | undefined;
24
+ hugContent?: boolean;
25
+ minValueLength?: number;
26
+ value?: number | undefined;
27
+ secondaryValue?: number | undefined;
28
+ off?: boolean;
29
+ description?: string;
30
+ hasHintedZeros?: boolean;
31
+ hasDegree?: boolean;
32
+ showZeroPadding?: boolean;
33
+ fractionDigits?: number
34
+ }
35
+ export interface Events {
36
+
37
+ }
38
+ export interface Slots {
39
+ icon?: Snippet;
40
+ valueSnippet?: Snippet
41
+ }
42
+ const { class: className, style, icon, valueSnippet, ...props} = $props<Props & Events & Slots>();
43
+
44
+ </script>
45
+ <obc-readout-setpoint
46
+ use:setProperties={props}
47
+ class={className}
48
+ style={style}
49
+ >
50
+
51
+ {#if icon}
52
+ <div slot="icon">
53
+ {@render icon()}
54
+ </div>
55
+ {/if}
56
+
57
+ {#if valueSnippet}
58
+ <div slot="value">
59
+ {@render valueSnippet()}
60
+ </div>
61
+ {/if}
62
+ </obc-readout-setpoint>
@@ -0,0 +1,46 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
2
+ import type { ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
3
+ import type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
4
+ import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ import type { Snippet } from 'svelte';
6
+ export interface Props {
7
+ class?: string;
8
+ style?: string;
9
+ variant?: ReadoutSetpointVariant;
10
+ readoutStyle?: ReadoutVariant | undefined;
11
+ direction?: ReadoutDirection | undefined;
12
+ size?: ReadoutSetpointSize;
13
+ valueTypography?: ReadoutSetpointValueTypography | undefined;
14
+ format?: ReadoutSetpointFormat | undefined;
15
+ mode?: ReadoutSetpointMode | undefined;
16
+ priority?: Priority | undefined;
17
+ hugContent?: boolean;
18
+ minValueLength?: number;
19
+ value?: number | undefined;
20
+ secondaryValue?: number | undefined;
21
+ off?: boolean;
22
+ description?: string;
23
+ hasHintedZeros?: boolean;
24
+ hasDegree?: boolean;
25
+ showZeroPadding?: boolean;
26
+ fractionDigits?: number;
27
+ }
28
+ export interface Events {
29
+ }
30
+ export interface Slots {
31
+ icon?: Snippet;
32
+ valueSnippet?: Snippet;
33
+ }
34
+ type $$ComponentProps = Props & Events & Slots;
35
+ declare const ObcReadoutSetpoint: import("svelte").Component<$$ComponentProps, {
36
+ ReadoutSetpointVariant: typeof ReadoutSetpointVariant;
37
+ ReadoutSetpointSize: typeof ReadoutSetpointSize;
38
+ ReadoutSetpointValueTypography: typeof ReadoutSetpointValueTypography;
39
+ ReadoutSetpointFormat: typeof ReadoutSetpointFormat;
40
+ ReadoutSetpointMode: typeof ReadoutSetpointMode;
41
+ ReadoutVariant: typeof ReadoutVariant;
42
+ ReadoutDirection: typeof ReadoutDirection;
43
+ Priority: typeof Priority;
44
+ }, "">;
45
+ type ObcReadoutSetpoint = ReturnType<typeof ObcReadoutSetpoint>;
46
+ export default ObcReadoutSetpoint;
@@ -13,8 +13,20 @@
13
13
  minAvgRoll?: number;
14
14
  maxAvgRoll?: number;
15
15
  vesselImageFore?: VesselImage;
16
+ scaleForeImage?: number;
16
17
  maxRollAdvice?: number | undefined;
17
- triggerRollAdvice?: boolean
18
+ triggerRollAdvice?: boolean;
19
+ zoomToFitArc?: boolean;
20
+ /** Half-extent of the watch arc in degrees. The arc spans `180° ± arcAngle`
21
+ and roll values are placed at their true position within it. Default
22
+ `45` reproduces the historical 90°-wide arc.
23
+
24
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
25
+ narrower arc is enlarged (its radius grows) on its own layer, while the
26
+ vessel image and the rotating indicator line stay at their natural size
27
+ and position on a separate central layer. The two layers are
28
+ intentionally visually disconnected. */
29
+ arcAngle?: number
18
30
  }
19
31
  export interface Events {
20
32
 
@@ -8,8 +8,20 @@ export interface Props {
8
8
  minAvgRoll?: number;
9
9
  maxAvgRoll?: number;
10
10
  vesselImageFore?: VesselImage;
11
+ scaleForeImage?: number;
11
12
  maxRollAdvice?: number | undefined;
12
13
  triggerRollAdvice?: boolean;
14
+ zoomToFitArc?: boolean;
15
+ /** Half-extent of the watch arc in degrees. The arc spans `180° ± arcAngle`
16
+ and roll values are placed at their true position within it. Default
17
+ `45` reproduces the historical 90°-wide arc.
18
+
19
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
20
+ narrower arc is enlarged (its radius grows) on its own layer, while the
21
+ vessel image and the rotating indicator line stay at their natural size
22
+ and position on a separate central layer. The two layers are
23
+ intentionally visually disconnected. */
24
+ arcAngle?: number;
13
25
  }
14
26
  export interface Events {
15
27
  }
@@ -0,0 +1,33 @@
1
+
2
+ <script lang="ts">
3
+ export type {RollIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {RollIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ type?: RollIndicatorType;
13
+ value?: 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-roll-indicator
25
+ use:setProperties={props}
26
+ class={className}
27
+ style={style}
28
+ >
29
+
30
+ {#if children}
31
+ {@render children()}
32
+ {/if}
33
+ </obc-roll-indicator>
@@ -0,0 +1,20 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
2
+ import type { RollIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ type?: RollIndicatorType;
8
+ value?: number;
9
+ }
10
+ export interface Events {
11
+ }
12
+ export interface Slots {
13
+ children?: Snippet;
14
+ }
15
+ type $$ComponentProps = Props & Events & Slots;
16
+ declare const ObcRollIndicator: import("svelte").Component<$$ComponentProps, {
17
+ RollIndicatorType: typeof RollIndicatorType;
18
+ }, "">;
19
+ type ObcRollIndicator = ReturnType<typeof ObcRollIndicator>;
20
+ export default ObcRollIndicator;
@@ -1,14 +1,25 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {RotIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {RotIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-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
+ type?: RotIndicatorType;
13
+ /** Measured rate of turn in degrees per minute (positive = starboard).
14
+
15
+ Drives the spinner animation via `(rateOfTurnDegreesPerMinute / 360) *
16
+ rotDotAnimationFactor` rotations per minute. When `undefined` the legacy
17
+ `rotationsPerMinute` value is used instead. */
18
+ rateOfTurnDegreesPerMinute?: number | undefined;
19
+ /** Visual amplification applied to the spinning dot animation. Default `18`
20
+ keeps the legacy visual feel (≈1 rpm at 20°/min). Has no effect when
21
+ the legacy `rotationsPerMinute` API is used. */
22
+ rotDotAnimationFactor?: number;
12
23
  rotationsPerMinute?: number
13
24
  }
14
25
  export interface Events {
@@ -1,8 +1,20 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
2
+ import type { RotIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
7
+ type?: RotIndicatorType;
8
+ /** Measured rate of turn in degrees per minute (positive = starboard).
9
+
10
+ Drives the spinner animation via `(rateOfTurnDegreesPerMinute / 360) *
11
+ rotDotAnimationFactor` rotations per minute. When `undefined` the legacy
12
+ `rotationsPerMinute` value is used instead. */
13
+ rateOfTurnDegreesPerMinute?: number | undefined;
14
+ /** Visual amplification applied to the spinning dot animation. Default `18`
15
+ keeps the legacy visual feel (≈1 rpm at 20°/min). Has no effect when
16
+ the legacy `rotationsPerMinute` API is used. */
17
+ rotDotAnimationFactor?: number;
6
18
  rotationsPerMinute?: number;
7
19
  }
8
20
  export interface Events {
@@ -11,6 +23,8 @@ export interface Slots {
11
23
  children?: Snippet;
12
24
  }
13
25
  type $$ComponentProps = Props & Events & Slots;
14
- declare const ObcRotIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
26
+ declare const ObcRotIndicator: import("svelte").Component<$$ComponentProps, {
27
+ RotIndicatorType: typeof RotIndicatorType;
28
+ }, "">;
15
29
  type ObcRotIndicator = ReturnType<typeof ObcRotIndicator>;
16
30
  export default ObcRotIndicator;
@@ -0,0 +1,35 @@
1
+
2
+ <script lang="ts">
3
+ export type {RudderIndicatorState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
4
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
5
+ import { setProperties } from "../../util.js";
6
+ import type {RudderIndicatorState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ angle?: number;
13
+ setpoint?: number;
14
+ state?: RudderIndicatorState;
15
+ hasSilhouette?: boolean
16
+ }
17
+ export interface Events {
18
+
19
+ }
20
+ export interface Slots {
21
+ children?: Snippet
22
+ }
23
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
24
+
25
+ </script>
26
+ <obc-rudder-indicator
27
+ use:setProperties={props}
28
+ class={className}
29
+ style={style}
30
+ >
31
+
32
+ {#if children}
33
+ {@render children()}
34
+ {/if}
35
+ </obc-rudder-indicator>
@@ -0,0 +1,22 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
2
+ import type { RudderIndicatorState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ angle?: number;
8
+ setpoint?: number;
9
+ state?: RudderIndicatorState;
10
+ hasSilhouette?: boolean;
11
+ }
12
+ export interface Events {
13
+ }
14
+ export interface Slots {
15
+ children?: Snippet;
16
+ }
17
+ type $$ComponentProps = Props & Events & Slots;
18
+ declare const ObcRudderIndicator: import("svelte").Component<$$ComponentProps, {
19
+ RudderIndicatorState: typeof RudderIndicatorState;
20
+ }, "">;
21
+ type ObcRudderIndicator = ReturnType<typeof ObcRudderIndicator>;
22
+ export default ObcRudderIndicator;
@@ -1,16 +1,18 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {SpeedIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {SpeedIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-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
+ type?: SpeedIndicatorType;
12
13
  speed?: number;
13
- maxSpeed?: number
14
+ maxSpeed?: number;
15
+ longLatLevels?: number[] | undefined
14
16
  }
15
17
  export interface Events {
16
18
 
@@ -1,10 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
2
+ import type { SpeedIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
7
+ type?: SpeedIndicatorType;
6
8
  speed?: number;
7
9
  maxSpeed?: number;
10
+ longLatLevels?: number[] | undefined;
8
11
  }
9
12
  export interface Events {
10
13
  }
@@ -12,6 +15,8 @@ export interface Slots {
12
15
  children?: Snippet;
13
16
  }
14
17
  type $$ComponentProps = Props & Events & Slots;
15
- declare const ObcSpeedIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
18
+ declare const ObcSpeedIndicator: import("svelte").Component<$$ComponentProps, {
19
+ SpeedIndicatorType: typeof SpeedIndicatorType;
20
+ }, "">;
16
21
  type ObcSpeedIndicator = ReturnType<typeof ObcSpeedIndicator>;
17
22
  export default ObcSpeedIndicator;
@@ -12,10 +12,10 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
12
12
  class?: string;
13
13
  style?: string;
14
14
  dataPoints?: VelocityProjectionDatapoint[];
15
- instantWindDirectionDeg?: number | null;
16
- instantWindSpeedNumber?: number | null;
17
- instantCurrentDirectionDeg?: number | null;
18
- instantCurrentSpeedNumber?: number | null;
15
+ currentWindFromDirection?: number | null;
16
+ currentWindSpeedKnots?: number | null;
17
+ currentFromDirection?: number | null;
18
+ currentSpeedKnots?: number | null;
19
19
  vesselImage?: VesselImage
20
20
  }
21
21
  export interface Events {
@@ -6,10 +6,10 @@ export interface Props {
6
6
  class?: string;
7
7
  style?: string;
8
8
  dataPoints?: VelocityProjectionDatapoint[];
9
- instantWindDirectionDeg?: number | null;
10
- instantWindSpeedNumber?: number | null;
11
- instantCurrentDirectionDeg?: number | null;
12
- instantCurrentSpeedNumber?: number | null;
9
+ currentWindFromDirection?: number | null;
10
+ currentWindSpeedKnots?: number | null;
11
+ currentFromDirection?: number | null;
12
+ currentSpeedKnots?: number | null;
13
13
  vesselImage?: VesselImage;
14
14
  }
15
15
  export interface Events {
@@ -42,7 +42,7 @@ import type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/nav
42
42
  crosshairEnabled?: boolean;
43
43
  showLabels?: boolean;
44
44
  vessels?: WatchVessel[];
45
- wind?: number | null;
45
+ windKnots?: number | null;
46
46
  windFromDirectionDeg?: number | null;
47
47
  windSymbolRadius?: number | null;
48
48
  windColor?: string | undefined;
@@ -64,7 +64,9 @@ import type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/nav
64
64
  rotEndAngle?: number;
65
65
  rotPriority?: Priority | undefined;
66
66
  rotPortStarboard?: boolean;
67
- rotAtZeroDeadband?: number
67
+ rotAtZeroDeadband?: number;
68
+ rateOfTurnDegreesPerMinute?: number | undefined;
69
+ rotDotAnimationFactor?: number
68
70
  }
69
71
  export interface Events {
70
72
 
@@ -32,7 +32,7 @@ export interface Props {
32
32
  crosshairEnabled?: boolean;
33
33
  showLabels?: boolean;
34
34
  vessels?: WatchVessel[];
35
- wind?: number | null;
35
+ windKnots?: number | null;
36
36
  windFromDirectionDeg?: number | null;
37
37
  windSymbolRadius?: number | null;
38
38
  windColor?: string | undefined;
@@ -55,6 +55,8 @@ export interface Props {
55
55
  rotPriority?: Priority | undefined;
56
56
  rotPortStarboard?: boolean;
57
57
  rotAtZeroDeadband?: number;
58
+ rateOfTurnDegreesPerMinute?: number | undefined;
59
+ rotDotAnimationFactor?: number;
58
60
  }
59
61
  export interface Events {
60
62
  }
@@ -43,7 +43,9 @@ derived from the current scale (e.g. `LINEAR_DOT_ANGLE_SPACING * translationScal
43
43
  rotDotSpacing?: number;
44
44
  rotPriority?: Priority;
45
45
  rotPortStarboard?: boolean;
46
- rotAtZeroDeadband?: number
46
+ rotAtZeroDeadband?: number;
47
+ rateOfTurnDegreesPerMinute?: number | undefined;
48
+ rotDotAnimationFactor?: number
47
49
  }
48
50
  export interface Events {
49
51