@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
@@ -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;
@@ -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
 
@@ -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
 
@@ -35,6 +35,8 @@ derived from the current scale (e.g. `LINEAR_DOT_ANGLE_SPACING * translationScal
35
35
  rotPriority?: Priority;
36
36
  rotPortStarboard?: boolean;
37
37
  rotAtZeroDeadband?: number;
38
+ rateOfTurnDegreesPerMinute?: number | undefined;
39
+ rotDotAnimationFactor?: number;
38
40
  }
39
41
  export interface Events {
40
42
  }
@@ -1,10 +1,10 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {WindHistogramData} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
3
+ export type {WindHistogramData, WindVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
4
4
  export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
6
6
  import { setProperties } from "../../util.js";
7
- import type {WindHistogramData} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
7
+ import type {WindHistogramData, WindVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
8
8
  import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
9
9
  import type { Snippet } from 'svelte';
10
10
 
@@ -15,7 +15,10 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
15
15
  currentWindSpeedBeaufort?: number;
16
16
  windHistogramData?: WindHistogramData[];
17
17
  vesselImage?: VesselImage;
18
- vesselHeadingDeg?: number
18
+ vesselHeadingDeg?: number;
19
+ variant?: WindVariant;
20
+ smallVariantMaxPx?: number;
21
+ mediumVariantMaxPx?: number
19
22
  }
20
23
  export interface Events {
21
24
 
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
2
- import type { WindHistogramData } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
2
+ import type { WindHistogramData, WindVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
3
3
  import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import type { Snippet } from 'svelte';
5
5
  export interface Props {
@@ -10,6 +10,9 @@ export interface Props {
10
10
  windHistogramData?: WindHistogramData[];
11
11
  vesselImage?: VesselImage;
12
12
  vesselHeadingDeg?: number;
13
+ variant?: WindVariant;
14
+ smallVariantMaxPx?: number;
15
+ mediumVariantMaxPx?: number;
13
16
  }
14
17
  export interface Events {
15
18
  }
@@ -19,6 +22,7 @@ export interface Slots {
19
22
  type $$ComponentProps = Props & Events & Slots;
20
23
  declare const ObcWind: import("svelte").Component<$$ComponentProps, {
21
24
  WindHistogramData: typeof WindHistogramData;
25
+ WindVariant: typeof WindVariant;
22
26
  VesselImage: typeof VesselImage;
23
27
  }, "">;
24
28
  type ObcWind = ReturnType<typeof ObcWind>;
@@ -1,20 +1,30 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-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
- /** The wind speed in Beaufort scale (0-12) */
13
- speed?: number;
14
- /** The wind direction in degrees (0-360) */
15
- angle?: number;
16
- /** If true, the wind direction is relative to North. If false, it is relative to the vessel's heading. */
17
- northUp?: boolean
12
+ type?: WindIndicatorType;
13
+ direction?: WindIndicatorDirection;
14
+ priority?: WindIndicatorPriority;
15
+ level?: number;
16
+ /** Rotation of the reference frame (course/heading) in degrees.
17
+
18
+ Used in relative mode to compute the marker rotation as `windFromAngle - rotationAngle`.
19
+ `0` means north-up. */
20
+ rotationAngle?: number;
21
+ /** Primary wind direction input (wind-from).
22
+
23
+ Represents the direction the wind comes **from** in degrees.
24
+ - `0` / `360`: wind from north → marker points south (down)
25
+ - `180`: wind from south → marker points north (up) */
26
+ windFromAngle?: number;
27
+ angle?: number
18
28
  }
19
29
  export interface Events {
20
30
 
@@ -1,14 +1,25 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
2
+ import type { WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- /** The wind speed in Beaufort scale (0-12) */
7
- speed?: number;
8
- /** The wind direction in degrees (0-360) */
7
+ type?: WindIndicatorType;
8
+ direction?: WindIndicatorDirection;
9
+ priority?: WindIndicatorPriority;
10
+ level?: number;
11
+ /** Rotation of the reference frame (course/heading) in degrees.
12
+
13
+ Used in relative mode to compute the marker rotation as `windFromAngle - rotationAngle`.
14
+ `0` means north-up. */
15
+ rotationAngle?: number;
16
+ /** Primary wind direction input (wind-from).
17
+
18
+ Represents the direction the wind comes **from** in degrees.
19
+ - `0` / `360`: wind from north → marker points south (down)
20
+ - `180`: wind from south → marker points north (up) */
21
+ windFromAngle?: number;
9
22
  angle?: number;
10
- /** If true, the wind direction is relative to North. If false, it is relative to the vessel's heading. */
11
- northUp?: boolean;
12
23
  }
13
24
  export interface Events {
14
25
  }
@@ -16,6 +27,10 @@ export interface Slots {
16
27
  children?: Snippet;
17
28
  }
18
29
  type $$ComponentProps = Props & Events & Slots;
19
- declare const ObcWindIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
30
+ declare const ObcWindIndicator: import("svelte").Component<$$ComponentProps, {
31
+ WindIndicatorType: typeof WindIndicatorType;
32
+ WindIndicatorDirection: typeof WindIndicatorDirection;
33
+ WindIndicatorPriority: typeof WindIndicatorPriority;
34
+ }, "">;
20
35
  type ObcWindIndicator = ReturnType<typeof ObcWindIndicator>;
21
36
  export default ObcWindIndicator;
@@ -0,0 +1,62 @@
1
+
2
+ <script lang="ts">
3
+ export type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
4
+ export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ export type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
6
+ export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
7
+ export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
8
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
9
+ import { setProperties } from "../../util.js";
10
+ import type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
11
+ import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
12
+ import type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
13
+ import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
14
+ import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
15
+ import type { Snippet } from 'svelte';
16
+
17
+ export interface Props {
18
+ class?: string;
19
+ style?: string;
20
+ forceAngle?: number;
21
+ sailAngle?: number;
22
+ sailAngleSetpoint?: number | undefined;
23
+ newSailAngleSetpoint?: number | undefined;
24
+ atSailAngleSetpoint?: boolean;
25
+ autoAtSailAngleSetpoint?: boolean;
26
+ autoAtSailAngleSetpointDeadband?: number;
27
+ sailAngleSetpointAtZeroDeadband?: number;
28
+ sailAngleSetpointOverride?: boolean;
29
+ animateSetpoint?: boolean;
30
+ touching?: boolean;
31
+ force?: number;
32
+ maxForce?: number;
33
+ sailType?: SailType;
34
+ state?: InstrumentState;
35
+ priority?: Priority;
36
+ priorityElements?: WindPropulsionPriorityElement[];
37
+ showLabels?: boolean;
38
+ tickmarksInside?: boolean;
39
+ tickmarkStyle?: TickmarkStyle;
40
+ currentWindSpeedBeaufort?: number | null;
41
+ currentWindFromDirection?: number | null;
42
+ sailAngleAdvices?: AngleAdvice[]
43
+ }
44
+ export interface Events {
45
+ onNone?: (event: CustomEvent<unknown>) => void
46
+ }
47
+ export interface Slots {
48
+ children?: Snippet
49
+ }
50
+ const {onNone, class: className, style, children, ...props} = $props<Props & Events & Slots>();
51
+
52
+ </script>
53
+ <obc-wind-propulsion
54
+ use:setProperties={props}
55
+ class={className}
56
+ style={style}
57
+ onNone={onNone} >
58
+
59
+ {#if children}
60
+ {@render children()}
61
+ {/if}
62
+ </obc-wind-propulsion>
@@ -0,0 +1,51 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
2
+ import type { SailType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
3
+ import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
+ import type { WindPropulsionPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
5
+ import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
6
+ import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
7
+ import type { Snippet } from 'svelte';
8
+ export interface Props {
9
+ class?: string;
10
+ style?: string;
11
+ forceAngle?: number;
12
+ sailAngle?: number;
13
+ sailAngleSetpoint?: number | undefined;
14
+ newSailAngleSetpoint?: number | undefined;
15
+ atSailAngleSetpoint?: boolean;
16
+ autoAtSailAngleSetpoint?: boolean;
17
+ autoAtSailAngleSetpointDeadband?: number;
18
+ sailAngleSetpointAtZeroDeadband?: number;
19
+ sailAngleSetpointOverride?: boolean;
20
+ animateSetpoint?: boolean;
21
+ touching?: boolean;
22
+ force?: number;
23
+ maxForce?: number;
24
+ sailType?: SailType;
25
+ state?: InstrumentState;
26
+ priority?: Priority;
27
+ priorityElements?: WindPropulsionPriorityElement[];
28
+ showLabels?: boolean;
29
+ tickmarksInside?: boolean;
30
+ tickmarkStyle?: TickmarkStyle;
31
+ currentWindSpeedBeaufort?: number | null;
32
+ currentWindFromDirection?: number | null;
33
+ sailAngleAdvices?: AngleAdvice[];
34
+ }
35
+ export interface Events {
36
+ onNone?: (event: CustomEvent<unknown>) => void;
37
+ }
38
+ export interface Slots {
39
+ children?: Snippet;
40
+ }
41
+ type $$ComponentProps = Props & Events & Slots;
42
+ declare const ObcWindPropulsion: import("svelte").Component<$$ComponentProps, {
43
+ SailType: typeof SailType;
44
+ InstrumentState: typeof InstrumentState;
45
+ Priority: typeof Priority;
46
+ WindPropulsionPriorityElement: typeof WindPropulsionPriorityElement;
47
+ TickmarkStyle: typeof TickmarkStyle;
48
+ AngleAdvice: typeof AngleAdvice;
49
+ }, "">;
50
+ type ObcWindPropulsion = ReturnType<typeof ObcWindPropulsion>;
51
+ export default ObcWindPropulsion;
@@ -20,12 +20,13 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
20
20
  export interface Events {
21
21
  onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
22
22
  onAckClick?: (event: ObcAckClickEvent) => void;
23
- onRowClick?: (event: ObcRowClickEvent) => void
23
+ onRowClick?: (event: ObcRowClickEvent) => void;
24
+ onSilenceClick?: (event: CustomEvent<void>) => void
24
25
  }
25
26
  export interface Slots {
26
27
  children?: Snippet
27
28
  }
28
- const {onAckAllVisibleClick, onAckClick, onRowClick, class: className, style, children, ...props} = $props<Props & Events & Slots>();
29
+ const {onAckAllVisibleClick, onAckClick, onRowClick, onSilenceClick, class: className, style, children, ...props} = $props<Props & Events & Slots>();
29
30
 
30
31
  </script>
31
32
  <obc-alert-list-page-small
@@ -34,7 +35,8 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
34
35
  style={style}
35
36
  onack-all-visible-click={onAckAllVisibleClick}
36
37
  onack-click={onAckClick}
37
- onrow-click={onRowClick} >
38
+ onrow-click={onRowClick}
39
+ onsilence-click={onSilenceClick} >
38
40
 
39
41
  {#if children}
40
42
  {@render children()}
@@ -15,6 +15,7 @@ export interface Events {
15
15
  onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
16
16
  onAckClick?: (event: ObcAckClickEvent) => void;
17
17
  onRowClick?: (event: ObcRowClickEvent) => void;
18
+ onSilenceClick?: (event: CustomEvent<void>) => void;
18
19
  }
19
20
  export interface Slots {
20
21
  children?: Snippet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.4",
3
+ "version": "2.0.0-next.40",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@oicl/openbridge-webcomponents": "^2.0.0-next.3"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.39"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"
@@ -1,69 +0,0 @@
1
-
2
- <script lang="ts">
3
- export type {InstrumentFieldSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';
4
- import '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';
5
- import { setProperties } from "../../util.js";
6
- import type {InstrumentFieldSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';
7
- import type { Snippet } from 'svelte';
8
-
9
- export interface Props {
10
- class?: string;
11
- style?: string;
12
- /** The size of the instrument field. */
13
- size?: InstrumentFieldSize;
14
- /** The setpoint value to display. */
15
- setpoint?: number | undefined;
16
- /** Whether to show the setpoint. */
17
- hasSetpoint?: boolean;
18
- /** Whether to show the source (src) field. */
19
- hasSrc?: boolean;
20
- /** The primary value to display. */
21
- value?: number | undefined;
22
- /** The maximum number of integer digits to show (for zero padding). */
23
- maxDigits?: number;
24
- /** Whether to show leading zeros up to `maxDigits`. */
25
- showZeroPadding?: boolean;
26
- /** The number of decimal places to display. */
27
- fractionDigits?: number;
28
- /** The tag or label for the data (e.g., "HDG", "SPD"). */
29
- tag?: string;
30
- /** The unit of measurement (e.g., "DEG", "KN"). */
31
- unit?: string;
32
- /** The current source name (e.g., "GPS 1"). */
33
- src?: string;
34
- /** If true, uses a neutral color scheme instead of the default instrument color. */
35
- neutralColor?: boolean;
36
- /** If true, uses a horizontal layout. */
37
- horizontal?: boolean;
38
- /** If true, centers the content. */
39
- center?: boolean;
40
- /** If true, only the label (tag and unit) is displayed. */
41
- labelOnly?: boolean;
42
- /** If true, displays the "off" state (e.g., showing "OFF" instead of value). */
43
- off?: boolean;
44
- /** If true, automatically hides the setpoint when the value is close to it. */
45
- autoHideSetpoint?: boolean;
46
- /** The deadband within which the setpoint is hidden if `autoHideSetpoint` is true. */
47
- autoHideDeadband?: number
48
- }
49
- export interface Events {
50
-
51
- }
52
- export interface Slots {
53
- offValue?: Snippet
54
- }
55
- const { class: className, style, offValue, ...props} = $props<Props & Events & Slots>();
56
-
57
- </script>
58
- <obc-instrument-field
59
- use:setProperties={props}
60
- class={className}
61
- style={style}
62
- >
63
-
64
- {#if offValue}
65
- <div slot="off-value">
66
- {@render offValue()}
67
- </div>
68
- {/if}
69
- </obc-instrument-field>