@oicl/openbridge-webcomponents-svelte 2.0.0-next.3 → 2.0.0-next.31
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.
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
- package/dist/ar/{building-blocks/poi → poi}/ObcPoi.svelte +6 -6
- package/dist/ar/{building-blocks/poi → poi}/ObcPoi.svelte.d.ts +3 -3
- package/dist/ar/{poi-aton → poi}/ObcPoiAton.svelte +6 -4
- package/dist/ar/{poi-aton → poi}/ObcPoiAton.svelte.d.ts +5 -4
- package/dist/ar/{poi-data → poi}/ObcPoiData.svelte +5 -5
- package/dist/ar/{poi-data → poi}/ObcPoiData.svelte.d.ts +6 -6
- package/dist/ar/{poi-vessel → poi}/ObcPoiVessel.svelte +3 -3
- package/dist/ar/{poi-vessel → poi}/ObcPoiVessel.svelte.d.ts +2 -2
- package/dist/ar/{building-blocks/poi/ObcPoiBase.svelte → poi/PoiBase.svelte} +9 -10
- package/dist/ar/{building-blocks/poi/ObcPoiBase.svelte.d.ts → poi/PoiBase.svelte.d.ts} +8 -9
- package/dist/ar/{building-blocks/poi-button → poi-button}/ObcPoiButton.svelte +4 -4
- package/dist/ar/{building-blocks/poi-button → poi-button}/ObcPoiButton.svelte.d.ts +2 -2
- package/dist/ar/{poi-button-aton → poi-button}/ObcPoiButtonAton.svelte +6 -4
- package/dist/ar/{poi-button-aton → poi-button}/ObcPoiButtonAton.svelte.d.ts +5 -4
- package/dist/ar/{poi-button-data → poi-button}/ObcPoiButtonData.svelte +5 -5
- package/dist/ar/{poi-button-data → poi-button}/ObcPoiButtonData.svelte.d.ts +6 -6
- package/dist/ar/{poi-button-vessel → poi-button}/ObcPoiButtonVessel.svelte +3 -3
- package/dist/ar/{poi-button-vessel → poi-button}/ObcPoiButtonVessel.svelte.d.ts +2 -2
- package/dist/ar/poi-controller/ObcPoiController.svelte +14 -5
- package/dist/ar/poi-controller/ObcPoiController.svelte.d.ts +2 -1
- package/dist/ar/{building-blocks/poi-object/ObcAbstractPoiObject.svelte → poi-object/AbstractPoiObject.svelte} +5 -5
- package/dist/ar/poi-object/AbstractPoiObject.svelte.d.ts +22 -0
- package/dist/ar/{building-blocks/poi-object → poi-object}/ObcPoiObject.svelte +4 -4
- package/dist/ar/{building-blocks/poi-object → poi-object}/ObcPoiObject.svelte.d.ts +2 -2
- package/dist/ar/{poi-object-aton → poi-object}/ObcPoiObjectAton.svelte +3 -3
- package/dist/ar/{poi-object-aton → poi-object}/ObcPoiObjectAton.svelte.d.ts +2 -2
- package/dist/ar/{poi-object-data → poi-object}/ObcPoiObjectData.svelte +3 -3
- package/dist/ar/{poi-object-data → poi-object}/ObcPoiObjectData.svelte.d.ts +2 -2
- package/dist/ar/{poi-object-vessel → poi-object}/ObcPoiObjectVessel.svelte +3 -3
- package/dist/ar/{poi-object-vessel → poi-object}/ObcPoiObjectVessel.svelte.d.ts +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +7 -6
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +10 -6
- package/dist/automation/automation-button/ObcAutomationButton.svelte +3 -4
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -4
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +6 -6
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +6 -13
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
- package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
- package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
- package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
- package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +4 -4
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +6 -10
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +3 -3
- package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +3 -6
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
- package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
- package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
- package/dist/components/form-container/ObcFormContainer.svelte +4 -4
- package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
- package/dist/components/menu-button/ObcMenuButton.svelte +6 -4
- package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +5 -8
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -7
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -2
- package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
- package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
- package/dist/components/slider-double/ObcSliderDouble.svelte +34 -3
- package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +19 -0
- package/dist/components/split-button/ObcSplitButton.svelte +6 -4
- package/dist/components/split-button/ObcSplitButton.svelte.d.ts +5 -9
- package/dist/components/tab-item/ObcTabItem.svelte +4 -4
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +1 -1
- package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
- package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
- package/dist/index.d.ts +27 -14
- package/dist/index.js +27 -14
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
- package/dist/navigation-instruments/compass/ObcCompass.svelte +17 -1
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +16 -0
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +4 -4
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +5 -4
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +16 -1
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +15 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +13 -1
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +12 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
- package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
- package/dist/navigation-instruments/watch/ObcWatch.svelte +3 -1
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +2 -0
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
- package/dist/navigation-instruments/wind/ObcWind.svelte +6 -3
- package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +5 -1
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +18 -8
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +21 -6
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
- package/package.json +2 -2
- package/dist/ar/building-blocks/poi-object/ObcAbstractPoiObject.svelte.d.ts +0 -21
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {ObcSplitButtonClickEvent, ObcSplitButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
4
|
+
export type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {ObcSplitButtonClickEvent, ObcSplitButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
8
|
+
import type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
@@ -53,8 +55,8 @@ Use instead of `options` for grouped or subtitle layouts. */
|
|
|
53
55
|
columnGroups?: ColumnGroup[]
|
|
54
56
|
}
|
|
55
57
|
export interface Events {
|
|
56
|
-
onClick?: (event:
|
|
57
|
-
onChange?: (event:
|
|
58
|
+
onClick?: (event: ObcSplitButtonClickEvent) => void;
|
|
59
|
+
onChange?: (event: ObcSplitButtonChangeEvent) => void
|
|
58
60
|
}
|
|
59
61
|
export interface Slots {
|
|
60
62
|
icon?: Snippet
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
2
|
+
import type { ObcSplitButtonClickEvent, ObcSplitButtonChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
2
3
|
import type { ContextMenuOption, ContextMenuType, ColumnGroup } from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
@@ -48,21 +49,16 @@ Use instead of `options` for grouped or subtitle layouts. */
|
|
|
48
49
|
columnGroups?: ColumnGroup[];
|
|
49
50
|
}
|
|
50
51
|
export interface Events {
|
|
51
|
-
onClick?: (event:
|
|
52
|
-
|
|
53
|
-
value?: string;
|
|
54
|
-
option?: ContextMenuOption;
|
|
55
|
-
}>) => void;
|
|
56
|
-
onChange?: (event: CustomEvent<{
|
|
57
|
-
selectedValues: string[];
|
|
58
|
-
selectedOptions: Array<ContextMenuOption>;
|
|
59
|
-
}>) => void;
|
|
52
|
+
onClick?: (event: ObcSplitButtonClickEvent) => void;
|
|
53
|
+
onChange?: (event: ObcSplitButtonChangeEvent) => void;
|
|
60
54
|
}
|
|
61
55
|
export interface Slots {
|
|
62
56
|
icon?: Snippet;
|
|
63
57
|
}
|
|
64
58
|
type $$ComponentProps = Props & Events & Slots;
|
|
65
59
|
declare const ObcSplitButton: import("svelte").Component<$$ComponentProps, {
|
|
60
|
+
ObcSplitButtonClickEvent: typeof ObcSplitButtonClickEvent;
|
|
61
|
+
ObcSplitButtonChangeEvent: typeof ObcSplitButtonChangeEvent;
|
|
66
62
|
ContextMenuOption: typeof ContextMenuOption;
|
|
67
63
|
ContextMenuType: typeof ContextMenuType;
|
|
68
64
|
ColumnGroup: typeof ColumnGroup;
|
|
@@ -93,10 +93,10 @@ showLeadingBadgeIcon?: boolean
|
|
|
93
93
|
}
|
|
94
94
|
export interface Slots {
|
|
95
95
|
leadingIcon?: Snippet;
|
|
96
|
-
|
|
96
|
+
titleSnippet?: Snippet;
|
|
97
97
|
badgeIcon?: Snippet
|
|
98
98
|
}
|
|
99
|
-
const {onTabClick, onTabClose, class: className, style, leadingIcon,
|
|
99
|
+
const {onTabClick, onTabClose, class: className, style, leadingIcon, titleSnippet, badgeIcon, ...props} = $props<Props & Events & Slots>();
|
|
100
100
|
|
|
101
101
|
</script>
|
|
102
102
|
<obc-tab-item
|
|
@@ -112,9 +112,9 @@ showLeadingBadgeIcon?: boolean
|
|
|
112
112
|
</div>
|
|
113
113
|
{/if}
|
|
114
114
|
|
|
115
|
-
{#if
|
|
115
|
+
{#if titleSnippet}
|
|
116
116
|
<div slot="title">
|
|
117
|
-
{@render
|
|
117
|
+
{@render titleSnippet()}
|
|
118
118
|
</div>
|
|
119
119
|
{/if}
|
|
120
120
|
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
export interface Slots {
|
|
20
20
|
icon?: Snippet;
|
|
21
21
|
title?: Snippet;
|
|
22
|
-
|
|
22
|
+
labelSnippet?: Snippet;
|
|
23
23
|
actions?: Snippet
|
|
24
24
|
}
|
|
25
|
-
const {onActionClick, class: className, style, icon, title,
|
|
25
|
+
const {onActionClick, class: className, style, icon, title, labelSnippet, actions, ...props} = $props<Props & Events & Slots>();
|
|
26
26
|
|
|
27
27
|
</script>
|
|
28
28
|
<obc-title-container
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
</div>
|
|
44
44
|
{/if}
|
|
45
45
|
|
|
46
|
-
{#if
|
|
46
|
+
{#if labelSnippet}
|
|
47
47
|
<div slot="label">
|
|
48
|
-
{@render
|
|
48
|
+
{@render labelSnippet()}
|
|
49
49
|
</div>
|
|
50
50
|
{/if}
|
|
51
51
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export { default as ObcPoiBase } from './ar/building-blocks/poi/ObcPoiBase.svelte';
|
|
2
|
-
export { default as ObcPoi } from './ar/building-blocks/poi/ObcPoi.svelte';
|
|
3
|
-
export { default as ObcPoiButton } from './ar/building-blocks/poi-button/ObcPoiButton.svelte';
|
|
4
1
|
export { default as ObcPoiGraphicLine } from './ar/building-blocks/poi-graphic-line/ObcPoiGraphicLine.svelte';
|
|
5
2
|
export { default as ObcPoiHeader } from './ar/building-blocks/poi-header/ObcPoiHeader.svelte';
|
|
6
3
|
export { default as ObcPoiLine } from './ar/building-blocks/poi-line/ObcPoiLine.svelte';
|
|
7
|
-
export { default as ObcAbstractPoiObject } from './ar/building-blocks/poi-object/ObcAbstractPoiObject.svelte';
|
|
8
|
-
export { default as ObcPoiObject } from './ar/building-blocks/poi-object/ObcPoiObject.svelte';
|
|
9
4
|
export { default as ObcPoiPointer } from './ar/building-blocks/poi-pointer/ObcPoiPointer.svelte';
|
|
10
5
|
export { default as ObcPoiSelectionFrame } from './ar/building-blocks/poi-selection-frame/ObcPoiSelectionFrame.svelte';
|
|
11
6
|
export { default as ObcRulerPointer } from './ar/building-blocks/ruler-pointer/ObcRulerPointer.svelte';
|
|
12
7
|
export { default as ObcChartObjectVesselButton } from './ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte';
|
|
13
|
-
export { default as ObcPoiAton } from './ar/poi
|
|
14
|
-
export { default as
|
|
15
|
-
export { default as
|
|
16
|
-
export { default as
|
|
8
|
+
export { default as ObcPoiAton } from './ar/poi/ObcPoiAton.svelte';
|
|
9
|
+
export { default as PoiBase } from './ar/poi/PoiBase.svelte';
|
|
10
|
+
export { default as ObcPoiData } from './ar/poi/ObcPoiData.svelte';
|
|
11
|
+
export { default as ObcPoiVessel } from './ar/poi/ObcPoiVessel.svelte';
|
|
12
|
+
export { default as ObcPoi } from './ar/poi/ObcPoi.svelte';
|
|
13
|
+
export { default as ObcPoiButtonAton } from './ar/poi-button/ObcPoiButtonAton.svelte';
|
|
14
|
+
export { default as ObcPoiButtonData } from './ar/poi-button/ObcPoiButtonData.svelte';
|
|
15
|
+
export { default as ObcPoiButtonVessel } from './ar/poi-button/ObcPoiButtonVessel.svelte';
|
|
16
|
+
export { default as ObcPoiButton } from './ar/poi-button/ObcPoiButton.svelte';
|
|
17
17
|
export { default as ObcPoiCard } from './ar/poi-card/ObcPoiCard.svelte';
|
|
18
18
|
export { default as ObcPoiCardHeader } from './ar/poi-card-header/ObcPoiCardHeader.svelte';
|
|
19
19
|
export { default as ObcPoiController } from './ar/poi-controller/ObcPoiController.svelte';
|
|
20
|
-
export { default as ObcPoiData } from './ar/poi-data/ObcPoiData.svelte';
|
|
21
20
|
export { default as ObcPoiGroup } from './ar/poi-group/ObcPoiGroup.svelte';
|
|
22
21
|
export { default as ObcPoiLayer } from './ar/poi-layer/ObcPoiLayer.svelte';
|
|
23
22
|
export { default as ObcPoiLayerStack } from './ar/poi-layer-stack/ObcPoiLayerStack.svelte';
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
export { default as
|
|
23
|
+
export { default as AbstractPoiObject } from './ar/poi-object/AbstractPoiObject.svelte';
|
|
24
|
+
export { default as ObcPoiObjectAton } from './ar/poi-object/ObcPoiObjectAton.svelte';
|
|
25
|
+
export { default as ObcPoiObjectData } from './ar/poi-object/ObcPoiObjectData.svelte';
|
|
26
|
+
export { default as ObcPoiObjectVessel } from './ar/poi-object/ObcPoiObjectVessel.svelte';
|
|
27
|
+
export { default as ObcPoiObject } from './ar/poi-object/ObcPoiObject.svelte';
|
|
28
28
|
export { default as ObcAnalogValve } from './automation/analog-valve/ObcAnalogValve.svelte';
|
|
29
29
|
export { default as ObcAutomationBadge } from './automation/automation-badge/ObcAutomationBadge.svelte';
|
|
30
30
|
export { default as ObcAbstractAutomationButtonMotorized } from './automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte';
|
|
@@ -2158,22 +2158,34 @@ 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';
|
|
2173
|
+
export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
|
|
2168
2174
|
export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
|
|
2169
2175
|
export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
|
|
2176
|
+
export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
|
|
2170
2177
|
export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.svelte';
|
|
2178
|
+
export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
|
|
2171
2179
|
export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
|
|
2180
|
+
export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
|
|
2181
|
+
export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
|
|
2172
2182
|
export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
|
|
2173
2183
|
export { default as ObcRoll } from './navigation-instruments/roll/ObcRoll.svelte';
|
|
2184
|
+
export { default as ObcRollIndicator } from './navigation-instruments/roll-indicator/ObcRollIndicator.svelte';
|
|
2174
2185
|
export { default as ObcRotIndicator } from './navigation-instruments/rot-indicator/ObcRotIndicator.svelte';
|
|
2175
2186
|
export { default as ObcRotSector } from './navigation-instruments/rot-sector/ObcRotSector.svelte';
|
|
2176
2187
|
export { default as ObcRudder } from './navigation-instruments/rudder/ObcRudder.svelte';
|
|
2188
|
+
export { default as ObcRudderIndicator } from './navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte';
|
|
2177
2189
|
export { default as ObcSpeedArrows } from './navigation-instruments/speed-arrows/ObcSpeedArrows.svelte';
|
|
2178
2190
|
export { default as ObcSpeedGauge } from './navigation-instruments/speed-gauge/ObcSpeedGauge.svelte';
|
|
2179
2191
|
export { default as ObcSpeedIndicator } from './navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte';
|
|
@@ -2183,5 +2195,6 @@ export { default as ObcWatch } from './navigation-instruments/watch/ObcWatch.sve
|
|
|
2183
2195
|
export { default as ObcWatchFlat } from './navigation-instruments/watch-flat/ObcWatchFlat.svelte';
|
|
2184
2196
|
export { default as ObcWind } from './navigation-instruments/wind/ObcWind.svelte';
|
|
2185
2197
|
export { default as ObcWindIndicator } from './navigation-instruments/wind-indicator/ObcWindIndicator.svelte';
|
|
2198
|
+
export { default as ObcWindPropulsion } from './navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte';
|
|
2186
2199
|
export { default as ObcAlertDetailPage } from './pages/alert-detail-page/ObcAlertDetailPage.svelte';
|
|
2187
2200
|
export { default as ObcAlertListPageSmall } from './pages/alert-list-page-small/ObcAlertListPageSmall.svelte';
|
package/dist/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export { default as ObcPoiBase } from './ar/building-blocks/poi/ObcPoiBase.svelte';
|
|
2
|
-
export { default as ObcPoi } from './ar/building-blocks/poi/ObcPoi.svelte';
|
|
3
|
-
export { default as ObcPoiButton } from './ar/building-blocks/poi-button/ObcPoiButton.svelte';
|
|
4
1
|
export { default as ObcPoiGraphicLine } from './ar/building-blocks/poi-graphic-line/ObcPoiGraphicLine.svelte';
|
|
5
2
|
export { default as ObcPoiHeader } from './ar/building-blocks/poi-header/ObcPoiHeader.svelte';
|
|
6
3
|
export { default as ObcPoiLine } from './ar/building-blocks/poi-line/ObcPoiLine.svelte';
|
|
7
|
-
export { default as ObcAbstractPoiObject } from './ar/building-blocks/poi-object/ObcAbstractPoiObject.svelte';
|
|
8
|
-
export { default as ObcPoiObject } from './ar/building-blocks/poi-object/ObcPoiObject.svelte';
|
|
9
4
|
export { default as ObcPoiPointer } from './ar/building-blocks/poi-pointer/ObcPoiPointer.svelte';
|
|
10
5
|
export { default as ObcPoiSelectionFrame } from './ar/building-blocks/poi-selection-frame/ObcPoiSelectionFrame.svelte';
|
|
11
6
|
export { default as ObcRulerPointer } from './ar/building-blocks/ruler-pointer/ObcRulerPointer.svelte';
|
|
12
7
|
export { default as ObcChartObjectVesselButton } from './ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte';
|
|
13
|
-
export { default as ObcPoiAton } from './ar/poi
|
|
14
|
-
export { default as
|
|
15
|
-
export { default as
|
|
16
|
-
export { default as
|
|
8
|
+
export { default as ObcPoiAton } from './ar/poi/ObcPoiAton.svelte';
|
|
9
|
+
export { default as PoiBase } from './ar/poi/PoiBase.svelte';
|
|
10
|
+
export { default as ObcPoiData } from './ar/poi/ObcPoiData.svelte';
|
|
11
|
+
export { default as ObcPoiVessel } from './ar/poi/ObcPoiVessel.svelte';
|
|
12
|
+
export { default as ObcPoi } from './ar/poi/ObcPoi.svelte';
|
|
13
|
+
export { default as ObcPoiButtonAton } from './ar/poi-button/ObcPoiButtonAton.svelte';
|
|
14
|
+
export { default as ObcPoiButtonData } from './ar/poi-button/ObcPoiButtonData.svelte';
|
|
15
|
+
export { default as ObcPoiButtonVessel } from './ar/poi-button/ObcPoiButtonVessel.svelte';
|
|
16
|
+
export { default as ObcPoiButton } from './ar/poi-button/ObcPoiButton.svelte';
|
|
17
17
|
export { default as ObcPoiCard } from './ar/poi-card/ObcPoiCard.svelte';
|
|
18
18
|
export { default as ObcPoiCardHeader } from './ar/poi-card-header/ObcPoiCardHeader.svelte';
|
|
19
19
|
export { default as ObcPoiController } from './ar/poi-controller/ObcPoiController.svelte';
|
|
20
|
-
export { default as ObcPoiData } from './ar/poi-data/ObcPoiData.svelte';
|
|
21
20
|
export { default as ObcPoiGroup } from './ar/poi-group/ObcPoiGroup.svelte';
|
|
22
21
|
export { default as ObcPoiLayer } from './ar/poi-layer/ObcPoiLayer.svelte';
|
|
23
22
|
export { default as ObcPoiLayerStack } from './ar/poi-layer-stack/ObcPoiLayerStack.svelte';
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
export { default as
|
|
23
|
+
export { default as AbstractPoiObject } from './ar/poi-object/AbstractPoiObject.svelte';
|
|
24
|
+
export { default as ObcPoiObjectAton } from './ar/poi-object/ObcPoiObjectAton.svelte';
|
|
25
|
+
export { default as ObcPoiObjectData } from './ar/poi-object/ObcPoiObjectData.svelte';
|
|
26
|
+
export { default as ObcPoiObjectVessel } from './ar/poi-object/ObcPoiObjectVessel.svelte';
|
|
27
|
+
export { default as ObcPoiObject } from './ar/poi-object/ObcPoiObject.svelte';
|
|
28
28
|
export { default as ObcAnalogValve } from './automation/analog-valve/ObcAnalogValve.svelte';
|
|
29
29
|
export { default as ObcAutomationBadge } from './automation/automation-badge/ObcAutomationBadge.svelte';
|
|
30
30
|
export { default as ObcAbstractAutomationButtonMotorized } from './automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte';
|
|
@@ -2158,22 +2158,34 @@ 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';
|
|
2173
|
+
export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
|
|
2168
2174
|
export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
|
|
2169
2175
|
export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
|
|
2176
|
+
export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
|
|
2170
2177
|
export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.svelte';
|
|
2178
|
+
export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
|
|
2171
2179
|
export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
|
|
2180
|
+
export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
|
|
2181
|
+
export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
|
|
2172
2182
|
export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
|
|
2173
2183
|
export { default as ObcRoll } from './navigation-instruments/roll/ObcRoll.svelte';
|
|
2184
|
+
export { default as ObcRollIndicator } from './navigation-instruments/roll-indicator/ObcRollIndicator.svelte';
|
|
2174
2185
|
export { default as ObcRotIndicator } from './navigation-instruments/rot-indicator/ObcRotIndicator.svelte';
|
|
2175
2186
|
export { default as ObcRotSector } from './navigation-instruments/rot-sector/ObcRotSector.svelte';
|
|
2176
2187
|
export { default as ObcRudder } from './navigation-instruments/rudder/ObcRudder.svelte';
|
|
2188
|
+
export { default as ObcRudderIndicator } from './navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte';
|
|
2177
2189
|
export { default as ObcSpeedArrows } from './navigation-instruments/speed-arrows/ObcSpeedArrows.svelte';
|
|
2178
2190
|
export { default as ObcSpeedGauge } from './navigation-instruments/speed-gauge/ObcSpeedGauge.svelte';
|
|
2179
2191
|
export { default as ObcSpeedIndicator } from './navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte';
|
|
@@ -2183,5 +2195,6 @@ export { default as ObcWatch } from './navigation-instruments/watch/ObcWatch.sve
|
|
|
2183
2195
|
export { default as ObcWatchFlat } from './navigation-instruments/watch-flat/ObcWatchFlat.svelte';
|
|
2184
2196
|
export { default as ObcWind } from './navigation-instruments/wind/ObcWind.svelte';
|
|
2185
2197
|
export { default as ObcWindIndicator } from './navigation-instruments/wind-indicator/ObcWindIndicator.svelte';
|
|
2198
|
+
export { default as ObcWindPropulsion } from './navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte';
|
|
2186
2199
|
export { default as ObcAlertDetailPage } from './pages/alert-detail-page/ObcAlertDetailPage.svelte';
|
|
2187
2200
|
export { default as ObcAlertListPageSmall } from './pages/alert-list-page-small/ObcAlertListPageSmall.svelte';
|
package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte
CHANGED
|
@@ -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?:
|
|
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
|
-
|
|
35
|
+
IntegrationDropdownOption: typeof IntegrationDropdownOption;
|
|
43
36
|
}, "">;
|
|
44
37
|
type ObcIntegrationDropdownButton = ReturnType<typeof ObcIntegrationDropdownButton>;
|
|
45
38
|
export default ObcIntegrationDropdownButton;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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 {
|
|
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 {
|
|
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
|
-
|
|
14
|
-
|
|
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 {
|
|
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
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|