@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.
- package/README.md +2 -0
- 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/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/automation/automation-tank/ObcAutomationTank.svelte +117 -4
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +125 -3
- 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 +22 -6
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +22 -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/card/ObcCard.svelte +4 -4
- package/dist/components/card/ObcCard.svelte.d.ts +4 -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/icon-button/ObcIconButton.svelte +6 -4
- package/dist/components/icon-button/ObcIconButton.svelte.d.ts +3 -0
- 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/number-input-field/ObcNumberInputField.svelte +14 -5
- package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +14 -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/stepper-box/ObcStepperBox.svelte +31 -22
- package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +32 -7
- package/dist/components/tab-item/ObcTabItem.svelte +12 -4
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
- package/dist/components/tab-row/ObcTabRow.svelte +7 -1
- package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
- package/dist/components/tag/ObcTag.svelte +3 -2
- package/dist/components/tag/ObcTag.svelte.d.ts +3 -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 +17 -0
- package/dist/index.js +17 -0
- 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/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
- package/dist/navigation-instruments/compass/ObcCompass.svelte +18 -2
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +17 -1
- 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 +11 -4
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +11 -3
- 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/readout/ObcReadout.svelte +158 -0
- package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +101 -0
- package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +53 -0
- package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +40 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +60 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +42 -0
- package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte +62 -0
- package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte.d.ts +46 -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/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +4 -4
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -4
- package/dist/navigation-instruments/watch/ObcWatch.svelte +4 -2
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +3 -1
- 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 +7 -4
- package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +6 -2
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +28 -8
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +31 -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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
pitchValue?: number;
|
|
13
|
+
rpmValue?: number;
|
|
14
|
+
thrust?: number;
|
|
15
|
+
speed?: number;
|
|
16
|
+
state?: InstrumentState;
|
|
17
|
+
priority?: Priority;
|
|
18
|
+
hasSilhouette?: boolean
|
|
19
|
+
}
|
|
20
|
+
export interface Events {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
export interface Slots {
|
|
24
|
+
children?: Snippet
|
|
25
|
+
}
|
|
26
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
27
|
+
|
|
28
|
+
</script>
|
|
29
|
+
<obc-main-engine-indicator
|
|
30
|
+
use:setProperties={props}
|
|
31
|
+
class={className}
|
|
32
|
+
style={style}
|
|
33
|
+
>
|
|
34
|
+
|
|
35
|
+
{#if children}
|
|
36
|
+
{@render children()}
|
|
37
|
+
{/if}
|
|
38
|
+
</obc-main-engine-indicator>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.js';
|
|
2
|
+
import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
pitchValue?: number;
|
|
8
|
+
rpmValue?: number;
|
|
9
|
+
thrust?: number;
|
|
10
|
+
speed?: number;
|
|
11
|
+
state?: InstrumentState;
|
|
12
|
+
priority?: Priority;
|
|
13
|
+
hasSilhouette?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface Events {
|
|
16
|
+
}
|
|
17
|
+
export interface Slots {
|
|
18
|
+
children?: Snippet;
|
|
19
|
+
}
|
|
20
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
21
|
+
declare const ObcMainEngineIndicator: import("svelte").Component<$$ComponentProps, {
|
|
22
|
+
InstrumentState: typeof InstrumentState;
|
|
23
|
+
Priority: typeof Priority;
|
|
24
|
+
}, "">;
|
|
25
|
+
type ObcMainEngineIndicator = ReturnType<typeof ObcMainEngineIndicator>;
|
|
26
|
+
export default ObcMainEngineIndicator;
|
|
@@ -14,7 +14,18 @@
|
|
|
14
14
|
maxAvgPitch?: number;
|
|
15
15
|
vesselImageSide?: VesselImage;
|
|
16
16
|
maxPitchAdvice?: number | undefined;
|
|
17
|
-
triggerPitchAdvice?: boolean
|
|
17
|
+
triggerPitchAdvice?: boolean;
|
|
18
|
+
zoomToFitArc?: boolean;
|
|
19
|
+
/** Half-extent of the watch arc in degrees. The arc spans `90° ± arcAngle`
|
|
20
|
+
and pitch values are placed at their true position within it. Default
|
|
21
|
+
`45` reproduces the historical 90°-wide arc.
|
|
22
|
+
|
|
23
|
+
Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
|
|
24
|
+
narrower arc is enlarged (its radius grows) on its own layer, while the
|
|
25
|
+
vessel image and the rotating indicator line stay at their natural size
|
|
26
|
+
and position on a separate central layer. The two layers are
|
|
27
|
+
intentionally visually disconnected. */
|
|
28
|
+
arcAngle?: number
|
|
18
29
|
}
|
|
19
30
|
export interface Events {
|
|
20
31
|
|
|
@@ -10,6 +10,17 @@ export interface Props {
|
|
|
10
10
|
vesselImageSide?: VesselImage;
|
|
11
11
|
maxPitchAdvice?: number | undefined;
|
|
12
12
|
triggerPitchAdvice?: boolean;
|
|
13
|
+
zoomToFitArc?: boolean;
|
|
14
|
+
/** Half-extent of the watch arc in degrees. The arc spans `90° ± arcAngle`
|
|
15
|
+
and pitch values are placed at their true position within it. Default
|
|
16
|
+
`45` reproduces the historical 90°-wide arc.
|
|
17
|
+
|
|
18
|
+
Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
|
|
19
|
+
narrower arc is enlarged (its radius grows) on its own layer, while the
|
|
20
|
+
vessel image and the rotating indicator line stay at their natural size
|
|
21
|
+
and position on a separate central layer. The two layers are
|
|
22
|
+
intentionally visually disconnected. */
|
|
23
|
+
arcAngle?: number;
|
|
13
24
|
}
|
|
14
25
|
export interface Events {
|
|
15
26
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {PitchIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {PitchIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: PitchIndicatorType;
|
|
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-pitch-indicator
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
class={className}
|
|
27
|
+
style={style}
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
{#if children}
|
|
31
|
+
{@render children()}
|
|
32
|
+
{/if}
|
|
33
|
+
</obc-pitch-indicator>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
2
|
+
import type { PitchIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
type?: PitchIndicatorType;
|
|
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 ObcPitchIndicator: import("svelte").Component<$$ComponentProps, {
|
|
17
|
+
PitchIndicatorType: typeof PitchIndicatorType;
|
|
18
|
+
}, "">;
|
|
19
|
+
type ObcPitchIndicator = ReturnType<typeof ObcPitchIndicator>;
|
|
20
|
+
export default ObcPitchIndicator;
|
|
@@ -21,12 +21,24 @@ import type {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist
|
|
|
21
21
|
maxAvgRoll?: number;
|
|
22
22
|
vesselImageFore?: VesselImage;
|
|
23
23
|
vesselImageSide?: VesselImage;
|
|
24
|
+
scaleForeImage?: number;
|
|
24
25
|
maxPitchAdvice?: number | undefined;
|
|
25
26
|
maxRollAdvice?: number | undefined;
|
|
26
27
|
triggerPitchAdvice?: boolean;
|
|
27
28
|
triggerRollAdvice?: boolean;
|
|
28
29
|
priority?: Priority;
|
|
29
|
-
priorityElements?: PitchRollPriorityElement[]
|
|
30
|
+
priorityElements?: PitchRollPriorityElement[];
|
|
31
|
+
zoomToFitArc?: boolean;
|
|
32
|
+
/** Half-extent of each of the four watch arcs in degrees, measured from the
|
|
33
|
+
arc's natural center (0°/90°/180°/270°). Each arc spans
|
|
34
|
+
`center ± arcAngle`. Default `30` reproduces the historical 60°-wide
|
|
35
|
+
arcs; smaller values produce narrower arcs that, combined with
|
|
36
|
+
`zoomToFitArc`, reveal more detail in the relevant motion range. */
|
|
37
|
+
arcAngle?: number;
|
|
38
|
+
/** [object Object],[object Object],[object Object] */
|
|
39
|
+
pitchArcAngle?: number | undefined;
|
|
40
|
+
/** [object Object],[object Object],[object Object] */
|
|
41
|
+
rollArcAngle?: number | undefined
|
|
30
42
|
}
|
|
31
43
|
export interface Events {
|
|
32
44
|
|
|
@@ -14,12 +14,24 @@ export interface Props {
|
|
|
14
14
|
maxAvgRoll?: number;
|
|
15
15
|
vesselImageFore?: VesselImage;
|
|
16
16
|
vesselImageSide?: VesselImage;
|
|
17
|
+
scaleForeImage?: number;
|
|
17
18
|
maxPitchAdvice?: number | undefined;
|
|
18
19
|
maxRollAdvice?: number | undefined;
|
|
19
20
|
triggerPitchAdvice?: boolean;
|
|
20
21
|
triggerRollAdvice?: boolean;
|
|
21
22
|
priority?: Priority;
|
|
22
23
|
priorityElements?: PitchRollPriorityElement[];
|
|
24
|
+
zoomToFitArc?: boolean;
|
|
25
|
+
/** Half-extent of each of the four watch arcs in degrees, measured from the
|
|
26
|
+
arc's natural center (0°/90°/180°/270°). Each arc spans
|
|
27
|
+
`center ± arcAngle`. Default `30` reproduces the historical 60°-wide
|
|
28
|
+
arcs; smaller values produce narrower arcs that, combined with
|
|
29
|
+
`zoomToFitArc`, reveal more detail in the relevant motion range. */
|
|
30
|
+
arcAngle?: number;
|
|
31
|
+
/** [object Object],[object Object],[object Object] */
|
|
32
|
+
pitchArcAngle?: number | undefined;
|
|
33
|
+
/** [object Object],[object Object],[object Object] */
|
|
34
|
+
rollArcAngle?: number | undefined;
|
|
23
35
|
}
|
|
24
36
|
export interface Events {
|
|
25
37
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {PropulsionAzimuthIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
4
|
+
export type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
6
|
+
import { setProperties } from "../../util.js";
|
|
7
|
+
import type {PropulsionAzimuthIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
8
|
+
import type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
|
|
11
|
+
export interface Props {
|
|
12
|
+
class?: string;
|
|
13
|
+
style?: string;
|
|
14
|
+
type?: PropulsionAzimuthIndicatorType;
|
|
15
|
+
hasSilhouette?: boolean;
|
|
16
|
+
azimuth?: number;
|
|
17
|
+
value?: number;
|
|
18
|
+
state?: InstrumentState
|
|
19
|
+
}
|
|
20
|
+
export interface Events {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
export interface Slots {
|
|
24
|
+
children?: Snippet
|
|
25
|
+
}
|
|
26
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
27
|
+
|
|
28
|
+
</script>
|
|
29
|
+
<obc-propulsion-azimuth-indicator
|
|
30
|
+
use:setProperties={props}
|
|
31
|
+
class={className}
|
|
32
|
+
style={style}
|
|
33
|
+
>
|
|
34
|
+
|
|
35
|
+
{#if children}
|
|
36
|
+
{@render children()}
|
|
37
|
+
{/if}
|
|
38
|
+
</obc-propulsion-azimuth-indicator>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
2
|
+
import type { PropulsionAzimuthIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
3
|
+
import type { InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import type { Snippet } from 'svelte';
|
|
5
|
+
export interface Props {
|
|
6
|
+
class?: string;
|
|
7
|
+
style?: string;
|
|
8
|
+
type?: PropulsionAzimuthIndicatorType;
|
|
9
|
+
hasSilhouette?: boolean;
|
|
10
|
+
azimuth?: number;
|
|
11
|
+
value?: number;
|
|
12
|
+
state?: InstrumentState;
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
}
|
|
16
|
+
export interface Slots {
|
|
17
|
+
children?: Snippet;
|
|
18
|
+
}
|
|
19
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
20
|
+
declare const ObcPropulsionAzimuthIndicator: import("svelte").Component<$$ComponentProps, {
|
|
21
|
+
PropulsionAzimuthIndicatorType: typeof PropulsionAzimuthIndicatorType;
|
|
22
|
+
InstrumentState: typeof InstrumentState;
|
|
23
|
+
}, "">;
|
|
24
|
+
type ObcPropulsionAzimuthIndicator = ReturnType<typeof ObcPropulsionAzimuthIndicator>;
|
|
25
|
+
export default ObcPropulsionAzimuthIndicator;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-tunnel-thruster/propulsion-tunnel-thruster.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
value?: number;
|
|
13
|
+
thrust?: number;
|
|
14
|
+
state?: string;
|
|
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-tunnel-thruster
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
</obc-tunnel-thruster>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-tunnel-thruster/propulsion-tunnel-thruster.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
value?: number;
|
|
7
|
+
thrust?: number;
|
|
8
|
+
state?: string;
|
|
9
|
+
hasSilhouette?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Events {
|
|
12
|
+
}
|
|
13
|
+
export interface Slots {
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
+
declare const ObcTunnelThruster: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
18
|
+
type ObcTunnelThruster = ReturnType<typeof ObcTunnelThruster>;
|
|
19
|
+
export default ObcTunnelThruster;
|
|
@@ -11,6 +11,12 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
+
/** Measured rate of turn in degrees per minute (positive = starboard).
|
|
15
|
+
When `undefined`, the legacy `rotationsPerMinute` value is used. */
|
|
16
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
17
|
+
/** Visual amplification applied to the spinning dot animation. Default `18`
|
|
18
|
+
keeps the legacy visual feel (≈1 rpm at 20°/min). */
|
|
19
|
+
rotDotAnimationFactor?: number;
|
|
14
20
|
rotationsPerMinute?: number;
|
|
15
21
|
rotType?: RotType;
|
|
16
22
|
rotPosition?: RotPosition;
|
|
@@ -5,6 +5,12 @@ import type { Snippet } from 'svelte';
|
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
7
7
|
style?: string;
|
|
8
|
+
/** Measured rate of turn in degrees per minute (positive = starboard).
|
|
9
|
+
When `undefined`, the legacy `rotationsPerMinute` value is used. */
|
|
10
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
11
|
+
/** Visual amplification applied to the spinning dot animation. Default `18`
|
|
12
|
+
keeps the legacy visual feel (≈1 rpm at 20°/min). */
|
|
13
|
+
rotDotAnimationFactor?: number;
|
|
8
14
|
rotationsPerMinute?: number;
|
|
9
15
|
rotType?: RotType;
|
|
10
16
|
rotPosition?: RotPosition;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
4
|
+
export type {ReadoutVariant, ReadoutAlertState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
5
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
|
+
export type {ReadoutSetpointSize, ReadoutSetpointFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
7
|
+
export type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
9
|
+
import { setProperties } from "../../util.js";
|
|
10
|
+
import type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
11
|
+
import type {ReadoutVariant, ReadoutAlertState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
12
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
13
|
+
import type {ReadoutSetpointSize, ReadoutSetpointFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
14
|
+
import type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
value?: number | undefined;
|
|
21
|
+
hasSetpoint?: boolean;
|
|
22
|
+
setpointValue?: number | undefined;
|
|
23
|
+
variant?: ReadoutVariant;
|
|
24
|
+
hasDegree?: boolean;
|
|
25
|
+
label?: string;
|
|
26
|
+
unit?: string | undefined;
|
|
27
|
+
src?: string | undefined;
|
|
28
|
+
off?: boolean;
|
|
29
|
+
valuePriority?: Priority | undefined;
|
|
30
|
+
alertState?: ReadoutAlertState;
|
|
31
|
+
setpointInteraction?: ReadoutSetpointInteraction;
|
|
32
|
+
direction?: ReadoutDirection;
|
|
33
|
+
/** Override the size of the setpoint segment (when `hasSetpoint` is true).
|
|
34
|
+
|
|
35
|
+
- In `alwaysVisible` and `popUp` interaction modes: any size value applies.
|
|
36
|
+
- In `flipFlop` mode: the override is honored only when strictly smaller
|
|
37
|
+
than the variant's base size (medium for `regular`, large for
|
|
38
|
+
`enhanced`/`stack`). Larger overrides are ignored, falling back to the
|
|
39
|
+
default secondary size to preserve the flip-flop visual effect and
|
|
40
|
+
prevent setpoint/value overlap.
|
|
41
|
+
|
|
42
|
+
When unset, the setpoint size is derived from `variant` (and adjusted for
|
|
43
|
+
multi-line formats). */
|
|
44
|
+
setpointSize?: ReadoutSetpointSize | undefined;
|
|
45
|
+
alignment?: ReadoutStackVerticalAlignment;
|
|
46
|
+
hug?: boolean;
|
|
47
|
+
hasSetpointDivider?: boolean;
|
|
48
|
+
hasSourceDivider?: boolean;
|
|
49
|
+
showZeroPadding?: boolean;
|
|
50
|
+
fractionDigits?: number;
|
|
51
|
+
minValueLength?: number;
|
|
52
|
+
valueHasHintedZeros?: boolean;
|
|
53
|
+
labelOnly?: boolean;
|
|
54
|
+
hasSrcPicker?: boolean;
|
|
55
|
+
sourceDeltaValue?: number;
|
|
56
|
+
sourceType?: ReadoutSourceType | undefined;
|
|
57
|
+
hasLeadingIcon?: boolean;
|
|
58
|
+
sourceHug?: boolean;
|
|
59
|
+
hasSourceLeadingIcon?: boolean;
|
|
60
|
+
hasSourceTrailingIcon?: boolean;
|
|
61
|
+
hasAdvice?: boolean;
|
|
62
|
+
adviceValue?: number | undefined;
|
|
63
|
+
adviceFormat?: ReadoutAdviceFormat;
|
|
64
|
+
adviceState?: ReadoutAdviceState;
|
|
65
|
+
adviceSecondaryValue?: number | undefined;
|
|
66
|
+
adviceDescription?: string;
|
|
67
|
+
adviceHasHintedZeros?: boolean;
|
|
68
|
+
setpointFormat?: ReadoutSetpointFormat;
|
|
69
|
+
setpointSecondaryValue?: number | undefined;
|
|
70
|
+
setpointDescription?: string;
|
|
71
|
+
setpointHasHintedZeros?: boolean
|
|
72
|
+
}
|
|
73
|
+
export interface Events {
|
|
74
|
+
onSourceFlyoutClick?: (event: CustomEvent<{src: string, sourceType?: ReadoutSourceType}>) => void;
|
|
75
|
+
onSourceChange?: (event: CustomEvent<{value: string, label?: string}>) => void
|
|
76
|
+
}
|
|
77
|
+
export interface Slots {
|
|
78
|
+
advice?: Snippet;
|
|
79
|
+
adviceIcon?: Snippet;
|
|
80
|
+
setpoint?: Snippet;
|
|
81
|
+
setpointIcon?: Snippet;
|
|
82
|
+
leadingIcon?: Snippet;
|
|
83
|
+
valueSnippet?: Snippet;
|
|
84
|
+
labelSnippet?: Snippet;
|
|
85
|
+
unitSnippet?: Snippet;
|
|
86
|
+
source?: Snippet;
|
|
87
|
+
srcPickerContent?: Snippet
|
|
88
|
+
}
|
|
89
|
+
const {onSourceFlyoutClick, onSourceChange, class: className, style, advice, adviceIcon, setpoint, setpointIcon, leadingIcon, valueSnippet, labelSnippet, unitSnippet, source, srcPickerContent, ...props} = $props<Props & Events & Slots>();
|
|
90
|
+
|
|
91
|
+
</script>
|
|
92
|
+
<obc-readout
|
|
93
|
+
use:setProperties={props}
|
|
94
|
+
class={className}
|
|
95
|
+
style={style}
|
|
96
|
+
onsource-flyout-click={onSourceFlyoutClick}
|
|
97
|
+
onsource-change={onSourceChange} >
|
|
98
|
+
|
|
99
|
+
{#if advice}
|
|
100
|
+
<div slot="advice">
|
|
101
|
+
{@render advice()}
|
|
102
|
+
</div>
|
|
103
|
+
{/if}
|
|
104
|
+
|
|
105
|
+
{#if adviceIcon}
|
|
106
|
+
<div slot="advice-icon">
|
|
107
|
+
{@render adviceIcon()}
|
|
108
|
+
</div>
|
|
109
|
+
{/if}
|
|
110
|
+
|
|
111
|
+
{#if setpoint}
|
|
112
|
+
<div slot="setpoint">
|
|
113
|
+
{@render setpoint()}
|
|
114
|
+
</div>
|
|
115
|
+
{/if}
|
|
116
|
+
|
|
117
|
+
{#if setpointIcon}
|
|
118
|
+
<div slot="setpoint-icon">
|
|
119
|
+
{@render setpointIcon()}
|
|
120
|
+
</div>
|
|
121
|
+
{/if}
|
|
122
|
+
|
|
123
|
+
{#if leadingIcon}
|
|
124
|
+
<div slot="leading-icon">
|
|
125
|
+
{@render leadingIcon()}
|
|
126
|
+
</div>
|
|
127
|
+
{/if}
|
|
128
|
+
|
|
129
|
+
{#if valueSnippet}
|
|
130
|
+
<div slot="value">
|
|
131
|
+
{@render valueSnippet()}
|
|
132
|
+
</div>
|
|
133
|
+
{/if}
|
|
134
|
+
|
|
135
|
+
{#if labelSnippet}
|
|
136
|
+
<div slot="label">
|
|
137
|
+
{@render labelSnippet()}
|
|
138
|
+
</div>
|
|
139
|
+
{/if}
|
|
140
|
+
|
|
141
|
+
{#if unitSnippet}
|
|
142
|
+
<div slot="unit">
|
|
143
|
+
{@render unitSnippet()}
|
|
144
|
+
</div>
|
|
145
|
+
{/if}
|
|
146
|
+
|
|
147
|
+
{#if source}
|
|
148
|
+
<div slot="source">
|
|
149
|
+
{@render source()}
|
|
150
|
+
</div>
|
|
151
|
+
{/if}
|
|
152
|
+
|
|
153
|
+
{#if srcPickerContent}
|
|
154
|
+
<div slot="src-picker-content">
|
|
155
|
+
{@render srcPickerContent()}
|
|
156
|
+
</div>
|
|
157
|
+
{/if}
|
|
158
|
+
</obc-readout>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
|
+
import type { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
3
|
+
import type { ReadoutVariant, ReadoutAlertState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } 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 { ReadoutSetpointSize, ReadoutSetpointFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
6
|
+
import type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
value?: number | undefined;
|
|
12
|
+
hasSetpoint?: boolean;
|
|
13
|
+
setpointValue?: number | undefined;
|
|
14
|
+
variant?: ReadoutVariant;
|
|
15
|
+
hasDegree?: boolean;
|
|
16
|
+
label?: string;
|
|
17
|
+
unit?: string | undefined;
|
|
18
|
+
src?: string | undefined;
|
|
19
|
+
off?: boolean;
|
|
20
|
+
valuePriority?: Priority | undefined;
|
|
21
|
+
alertState?: ReadoutAlertState;
|
|
22
|
+
setpointInteraction?: ReadoutSetpointInteraction;
|
|
23
|
+
direction?: ReadoutDirection;
|
|
24
|
+
/** Override the size of the setpoint segment (when `hasSetpoint` is true).
|
|
25
|
+
|
|
26
|
+
- In `alwaysVisible` and `popUp` interaction modes: any size value applies.
|
|
27
|
+
- In `flipFlop` mode: the override is honored only when strictly smaller
|
|
28
|
+
than the variant's base size (medium for `regular`, large for
|
|
29
|
+
`enhanced`/`stack`). Larger overrides are ignored, falling back to the
|
|
30
|
+
default secondary size to preserve the flip-flop visual effect and
|
|
31
|
+
prevent setpoint/value overlap.
|
|
32
|
+
|
|
33
|
+
When unset, the setpoint size is derived from `variant` (and adjusted for
|
|
34
|
+
multi-line formats). */
|
|
35
|
+
setpointSize?: ReadoutSetpointSize | undefined;
|
|
36
|
+
alignment?: ReadoutStackVerticalAlignment;
|
|
37
|
+
hug?: boolean;
|
|
38
|
+
hasSetpointDivider?: boolean;
|
|
39
|
+
hasSourceDivider?: boolean;
|
|
40
|
+
showZeroPadding?: boolean;
|
|
41
|
+
fractionDigits?: number;
|
|
42
|
+
minValueLength?: number;
|
|
43
|
+
valueHasHintedZeros?: boolean;
|
|
44
|
+
labelOnly?: boolean;
|
|
45
|
+
hasSrcPicker?: boolean;
|
|
46
|
+
sourceDeltaValue?: number;
|
|
47
|
+
sourceType?: ReadoutSourceType | undefined;
|
|
48
|
+
hasLeadingIcon?: boolean;
|
|
49
|
+
sourceHug?: boolean;
|
|
50
|
+
hasSourceLeadingIcon?: boolean;
|
|
51
|
+
hasSourceTrailingIcon?: boolean;
|
|
52
|
+
hasAdvice?: boolean;
|
|
53
|
+
adviceValue?: number | undefined;
|
|
54
|
+
adviceFormat?: ReadoutAdviceFormat;
|
|
55
|
+
adviceState?: ReadoutAdviceState;
|
|
56
|
+
adviceSecondaryValue?: number | undefined;
|
|
57
|
+
adviceDescription?: string;
|
|
58
|
+
adviceHasHintedZeros?: boolean;
|
|
59
|
+
setpointFormat?: ReadoutSetpointFormat;
|
|
60
|
+
setpointSecondaryValue?: number | undefined;
|
|
61
|
+
setpointDescription?: string;
|
|
62
|
+
setpointHasHintedZeros?: boolean;
|
|
63
|
+
}
|
|
64
|
+
export interface Events {
|
|
65
|
+
onSourceFlyoutClick?: (event: CustomEvent<{
|
|
66
|
+
src: string;
|
|
67
|
+
sourceType?: ReadoutSourceType;
|
|
68
|
+
}>) => void;
|
|
69
|
+
onSourceChange?: (event: CustomEvent<{
|
|
70
|
+
value: string;
|
|
71
|
+
label?: string;
|
|
72
|
+
}>) => void;
|
|
73
|
+
}
|
|
74
|
+
export interface Slots {
|
|
75
|
+
advice?: Snippet;
|
|
76
|
+
adviceIcon?: Snippet;
|
|
77
|
+
setpoint?: Snippet;
|
|
78
|
+
setpointIcon?: Snippet;
|
|
79
|
+
leadingIcon?: Snippet;
|
|
80
|
+
valueSnippet?: Snippet;
|
|
81
|
+
labelSnippet?: Snippet;
|
|
82
|
+
unitSnippet?: Snippet;
|
|
83
|
+
source?: Snippet;
|
|
84
|
+
srcPickerContent?: Snippet;
|
|
85
|
+
}
|
|
86
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
87
|
+
declare const ObcReadout: import("svelte").Component<$$ComponentProps, {
|
|
88
|
+
ReadoutSourceType: typeof ReadoutSourceType;
|
|
89
|
+
ReadoutVariant: typeof ReadoutVariant;
|
|
90
|
+
ReadoutAlertState: typeof ReadoutAlertState;
|
|
91
|
+
ReadoutSetpointInteraction: typeof ReadoutSetpointInteraction;
|
|
92
|
+
ReadoutDirection: typeof ReadoutDirection;
|
|
93
|
+
ReadoutStackVerticalAlignment: typeof ReadoutStackVerticalAlignment;
|
|
94
|
+
Priority: typeof Priority;
|
|
95
|
+
ReadoutSetpointSize: typeof ReadoutSetpointSize;
|
|
96
|
+
ReadoutSetpointFormat: typeof ReadoutSetpointFormat;
|
|
97
|
+
ReadoutAdviceFormat: typeof ReadoutAdviceFormat;
|
|
98
|
+
ReadoutAdviceState: typeof ReadoutAdviceState;
|
|
99
|
+
}, "">;
|
|
100
|
+
type ObcReadout = ReturnType<typeof ObcReadout>;
|
|
101
|
+
export default ObcReadout;
|