@oicl/openbridge-webcomponents-svelte 2.1.0-next.1 → 2.1.0-next.11
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/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +110 -0
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +90 -0
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +110 -0
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +90 -0
- package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte +20 -6
- package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte.d.ts +22 -5
- package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte +7 -1
- package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte.d.ts +7 -1
- package/dist/building-blocks/alert-list/ObcAlertList.svelte +1 -0
- package/dist/building-blocks/alert-list/ObcAlertList.svelte.d.ts +1 -0
- package/dist/building-blocks/alert-list/ObcAlertListBase.svelte +34 -0
- package/dist/building-blocks/alert-list/ObcAlertListBase.svelte.d.ts +15 -0
- package/dist/components/alert-menu/ObcAlertMenu.svelte +2 -2
- package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +2 -2
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +3 -1
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +3 -1
- package/dist/components/app-menu/ObcAppMenu.svelte +2 -2
- package/dist/components/app-menu/ObcAppMenu.svelte.d.ts +2 -2
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +6 -4
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte.d.ts +5 -4
- package/dist/components/command-menu/ObcCommandMenu.svelte +2 -2
- package/dist/components/command-menu/ObcCommandMenu.svelte.d.ts +2 -2
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +2 -2
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +2 -2
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte +2 -2
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +2 -2
- package/dist/components/system-menu/ObcSystemMenu.svelte +2 -2
- package/dist/components/system-menu/ObcSystemMenu.svelte.d.ts +2 -2
- package/dist/components/user-menu/ObcUserMenu.svelte +2 -2
- package/dist/components/user-menu/ObcUserMenu.svelte.d.ts +2 -2
- package/dist/icons/ObiElectricBolt.svelte +34 -0
- package/dist/icons/ObiElectricBolt.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricLightning.svelte +34 -0
- package/dist/icons/ObiElectricLightning.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatBoldGoogle.svelte +34 -0
- package/dist/icons/ObiFormatBoldGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatItalicGoogle.svelte +34 -0
- package/dist/icons/ObiFormatItalicGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatListBulletedGoogle.svelte +34 -0
- package/dist/icons/ObiFormatListBulletedGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatListNumberedGoogle.svelte +34 -0
- package/dist/icons/ObiFormatListNumberedGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatUnderlineGoogle.svelte +34 -0
- package/dist/icons/ObiFormatUnderlineGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiLevelDisplacementTransmitter.svelte +34 -0
- package/dist/icons/ObiLevelDisplacementTransmitter.svelte.d.ts +16 -0
- package/dist/icons/ObiLink2.svelte +34 -0
- package/dist/icons/ObiLink2.svelte.d.ts +16 -0
- package/dist/icons/ObiLogOpen.svelte +34 -0
- package/dist/icons/ObiLogOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiQuantity.svelte +34 -0
- package/dist/icons/ObiQuantity.svelte.d.ts +16 -0
- package/dist/icons/ObiSimulate.svelte +34 -0
- package/dist/icons/ObiSimulate.svelte.d.ts +16 -0
- package/dist/icons/ObiTestTube.svelte +34 -0
- package/dist/icons/ObiTestTube.svelte.d.ts +16 -0
- package/dist/icons/ObiTimer.svelte +34 -0
- package/dist/icons/ObiTimer.svelte.d.ts +16 -0
- package/dist/icons/ObiTimer2.svelte +34 -0
- package/dist/icons/ObiTimer2.svelte.d.ts +16 -0
- package/dist/index.d.ts +26 -7
- package/dist/index.js +26 -7
- package/dist/{icons → manual-icon}/ObiCriticalAcknowledged.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalAcknowledged.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalBadge.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalBadge.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalNoack.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalNoack.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalRectified.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalRectified.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalSilenced.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalSilenced.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalTransferred.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalTransferred.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalUnacknowledged.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalUnacknowledged.svelte.d.ts +1 -1
- package/dist/navigation-instruments/compass/ObcCompass.svelte +8 -2
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +8 -1
- package/dist/navigation-instruments/current/ObcCurrent.svelte +8 -2
- package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +8 -1
- package/dist/navigation-instruments/depth/ObcDepth.svelte +8 -2
- package/dist/navigation-instruments/depth/ObcDepth.svelte.d.ts +8 -1
- package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte +8 -0
- package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte.d.ts +8 -0
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +4 -0
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +4 -0
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +4 -0
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +4 -0
- package/dist/navigation-instruments/heading/ObcHeading.svelte +8 -2
- package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +8 -1
- package/dist/navigation-instruments/heave/ObcHeave.svelte +8 -0
- package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +8 -0
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +4 -2
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +4 -1
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +14 -2
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +14 -1
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +14 -2
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +14 -1
- package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte +8 -2
- package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte.d.ts +8 -1
- package/dist/navigation-instruments/roll/ObcRoll.svelte +4 -2
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +4 -1
- package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte +5 -3
- package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte.d.ts +4 -1
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +5 -3
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -1
- package/dist/navigation-instruments/wind/ObcWind.svelte +4 -2
- package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +4 -1
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +11 -3
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +10 -2
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte +43 -0
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte.d.ts +25 -0
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
4
4
|
export type {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
|
|
5
5
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
6
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
7
7
|
export type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
|
|
8
8
|
export type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
|
|
9
9
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
|
|
@@ -11,7 +11,7 @@ export type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/
|
|
|
11
11
|
import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
12
12
|
import type {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
|
|
13
13
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
14
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
14
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
15
15
|
import type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
|
|
16
16
|
import type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
|
|
17
17
|
import type { Snippet } from 'svelte';
|
|
@@ -49,6 +49,12 @@ import type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/
|
|
|
49
49
|
* Available when `centerReadouts==[]`.
|
|
50
50
|
*/
|
|
51
51
|
vesselImage?: VesselImage | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). Setting it shows the vessel even when `vesselImage` is unset.
|
|
54
|
+
*
|
|
55
|
+
* Available when `centerReadouts==[]`.
|
|
56
|
+
*/
|
|
57
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
52
58
|
/** Center readouts replacing the vessel: the first entry renders on top, the rest side by side below a horizontal divider. Values bind per entry `source` (`hdg` → `heading`, `cog` → `courseOverGround`; `rot` has no input on this instrument and renders a dash) and colors follow `priorityElements`. While non-empty, the crosshair's center is cut out so the readouts sit on a clean face. */
|
|
53
59
|
centerReadouts?: CompassCenterReadout[];
|
|
54
60
|
/** HDG arrow style: `needle` (default), `arrowHead`, `vector`, or `beamLine`. */
|
|
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/headi
|
|
|
2
2
|
import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
3
3
|
import type { CompassDirection, HeadingPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
|
|
4
4
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
6
6
|
import type { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
|
|
7
7
|
import type { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
|
|
8
8
|
import type { Snippet } from 'svelte';
|
|
@@ -39,6 +39,12 @@ export interface Props {
|
|
|
39
39
|
* Available when `centerReadouts==[]`.
|
|
40
40
|
*/
|
|
41
41
|
vesselImage?: VesselImage | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). Setting it shows the vessel even when `vesselImage` is unset.
|
|
44
|
+
*
|
|
45
|
+
* Available when `centerReadouts==[]`.
|
|
46
|
+
*/
|
|
47
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
42
48
|
/** Center readouts replacing the vessel: the first entry renders on top, the rest side by side below a horizontal divider. Values bind per entry `source` (`hdg` → `heading`, `cog` → `courseOverGround`; `rot` has no input on this instrument and renders a dash) and colors follow `priorityElements`. While non-empty, the crosshair's center is cut out so the readouts sit on a clean face. */
|
|
43
49
|
centerReadouts?: CompassCenterReadout[];
|
|
44
50
|
/** HDG arrow style: `needle` (default), `arrowHead`, `vector`, or `beamLine`. */
|
|
@@ -64,6 +70,7 @@ declare const ObcHeading: import("svelte").Component<$$ComponentProps, {
|
|
|
64
70
|
HeadingPriorityElement: typeof HeadingPriorityElement;
|
|
65
71
|
Priority: typeof Priority;
|
|
66
72
|
VesselImage: typeof VesselImage;
|
|
73
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
67
74
|
CompassCenterReadout: typeof CompassCenterReadout;
|
|
68
75
|
HdgArrowStyle: typeof HdgArrowStyle;
|
|
69
76
|
CogArrowStyle: typeof CogArrowStyle;
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
4
4
|
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
|
+
export type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
|
|
5
6
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
7
|
export type {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
|
|
7
8
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
|
|
8
9
|
import { setProperties } from "../../util.js";
|
|
9
10
|
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
10
11
|
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
12
|
+
import type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
|
|
11
13
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
12
14
|
import type {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
|
|
13
15
|
import type { Snippet } from 'svelte';
|
|
@@ -26,6 +28,12 @@ import type {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-
|
|
|
26
28
|
instrumentRange?: number;
|
|
27
29
|
/** Available when `type==vessel`. */
|
|
28
30
|
vesselImage?: VesselImage;
|
|
31
|
+
/**
|
|
32
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
33
|
+
*
|
|
34
|
+
* Available when `type==vessel`.
|
|
35
|
+
*/
|
|
36
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
29
37
|
priority?: Priority;
|
|
30
38
|
/** `vessel` (default) frames the scale next to a vessel silhouette; `bar` renders the scale column on its own. */
|
|
31
39
|
type?: ObcHeaveType
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
|
|
2
2
|
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
3
3
|
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
import type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
|
|
4
5
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
6
|
import type { ObcHeaveType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
|
|
6
7
|
import type { Snippet } from 'svelte';
|
|
@@ -18,6 +19,12 @@ export interface Props {
|
|
|
18
19
|
instrumentRange?: number;
|
|
19
20
|
/** Available when `type==vessel`. */
|
|
20
21
|
vesselImage?: VesselImage;
|
|
22
|
+
/**
|
|
23
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
24
|
+
*
|
|
25
|
+
* Available when `type==vessel`.
|
|
26
|
+
*/
|
|
27
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
21
28
|
priority?: Priority;
|
|
22
29
|
/** `vessel` (default) frames the scale next to a vessel silhouette; `bar` renders the scale column on its own. */
|
|
23
30
|
type?: ObcHeaveType;
|
|
@@ -31,6 +38,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
31
38
|
declare const ObcHeave: import("svelte").Component<$$ComponentProps, {
|
|
32
39
|
LinearAdvice: typeof LinearAdvice;
|
|
33
40
|
VesselImage: typeof VesselImage;
|
|
41
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
34
42
|
Priority: typeof Priority;
|
|
35
43
|
ObcHeaveType: typeof ObcHeaveType;
|
|
36
44
|
}, "">;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
9
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
10
|
import type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -24,6 +24,8 @@ import type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-
|
|
|
24
24
|
minAvgPitch?: number;
|
|
25
25
|
maxAvgPitch?: number;
|
|
26
26
|
vesselImageSide?: VesselImage;
|
|
27
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageSide` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
28
|
+
vesselImageSideSrc?: VesselImageSrc | undefined;
|
|
27
29
|
maxPitchAdvice?: number | undefined;
|
|
28
30
|
triggerPitchAdvice?: boolean;
|
|
29
31
|
/** Readout label. Default `Pitch`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
|
|
2
2
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { ObcPitchType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
@@ -17,6 +17,8 @@ export interface Props {
|
|
|
17
17
|
minAvgPitch?: number;
|
|
18
18
|
maxAvgPitch?: number;
|
|
19
19
|
vesselImageSide?: VesselImage;
|
|
20
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageSide` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
21
|
+
vesselImageSideSrc?: VesselImageSrc | undefined;
|
|
20
22
|
maxPitchAdvice?: number | undefined;
|
|
21
23
|
triggerPitchAdvice?: boolean;
|
|
22
24
|
/** Readout label. Default `Pitch`. */
|
|
@@ -37,6 +39,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
37
39
|
declare const ObcPitch: import("svelte").Component<$$ComponentProps, {
|
|
38
40
|
Priority: typeof Priority;
|
|
39
41
|
VesselImage: typeof VesselImage;
|
|
42
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
40
43
|
ObcPitchType: typeof ObcPitchType;
|
|
41
44
|
}, "">;
|
|
42
45
|
type ObcPitch = ReturnType<typeof ObcPitch>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
9
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
10
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -23,6 +23,18 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
|
|
|
23
23
|
maxAvgRoll?: number;
|
|
24
24
|
vesselImageFore?: VesselImage;
|
|
25
25
|
vesselImageSide?: VesselImage;
|
|
26
|
+
/**
|
|
27
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageFore` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
28
|
+
*
|
|
29
|
+
* Available when `hasReadout==false`.
|
|
30
|
+
*/
|
|
31
|
+
vesselImageForeSrc?: VesselImageSrc | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageSide` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
34
|
+
*
|
|
35
|
+
* Available when `hasReadout==false`.
|
|
36
|
+
*/
|
|
37
|
+
vesselImageSideSrc?: VesselImageSrc | undefined;
|
|
26
38
|
scaleForeImage?: number;
|
|
27
39
|
maxPitchAdvice?: number | undefined;
|
|
28
40
|
maxRollAdvice?: number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
2
2
|
import type { PitchRollType, PitchRollPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
@@ -16,6 +16,18 @@ export interface Props {
|
|
|
16
16
|
maxAvgRoll?: number;
|
|
17
17
|
vesselImageFore?: VesselImage;
|
|
18
18
|
vesselImageSide?: VesselImage;
|
|
19
|
+
/**
|
|
20
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageFore` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
21
|
+
*
|
|
22
|
+
* Available when `hasReadout==false`.
|
|
23
|
+
*/
|
|
24
|
+
vesselImageForeSrc?: VesselImageSrc | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageSide` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
27
|
+
*
|
|
28
|
+
* Available when `hasReadout==false`.
|
|
29
|
+
*/
|
|
30
|
+
vesselImageSideSrc?: VesselImageSrc | undefined;
|
|
19
31
|
scaleForeImage?: number;
|
|
20
32
|
maxPitchAdvice?: number | undefined;
|
|
21
33
|
maxRollAdvice?: number | undefined;
|
|
@@ -69,6 +81,7 @@ declare const ObcPitchRoll: import("svelte").Component<$$ComponentProps, {
|
|
|
69
81
|
PitchRollType: typeof PitchRollType;
|
|
70
82
|
PitchRollPriorityElement: typeof PitchRollPriorityElement;
|
|
71
83
|
VesselImage: typeof VesselImage;
|
|
84
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
72
85
|
Priority: typeof Priority;
|
|
73
86
|
}, "">;
|
|
74
87
|
type ObcPitchRoll = ReturnType<typeof ObcPitchRoll>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
6
6
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
7
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
|
|
8
8
|
import { setProperties } from "../../util.js";
|
|
9
9
|
import type {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
|
|
10
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
11
11
|
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
12
12
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
13
13
|
import type { Snippet } from 'svelte';
|
|
@@ -62,6 +62,18 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
|
|
|
62
62
|
vesselImageFore?: VesselImage;
|
|
63
63
|
/** Available when `type==singleScale && hasReadout==false`. */
|
|
64
64
|
vesselImageSide?: VesselImage;
|
|
65
|
+
/**
|
|
66
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageFore` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
67
|
+
*
|
|
68
|
+
* Available when `type==singleScale && hasReadout==false`.
|
|
69
|
+
*/
|
|
70
|
+
vesselImageForeSrc?: VesselImageSrc | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageSide` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
73
|
+
*
|
|
74
|
+
* Available when `type==singleScale && hasReadout==false`.
|
|
75
|
+
*/
|
|
76
|
+
vesselImageSideSrc?: VesselImageSrc | undefined;
|
|
65
77
|
/** Available when `type==singleScale && hasReadout==false`. */
|
|
66
78
|
scaleForeImage?: number;
|
|
67
79
|
maxPitchAdvice?: number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
|
|
2
2
|
import type { ObcPitchRollHeaveType, PitchRollHeavePriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import type { Snippet } from 'svelte';
|
|
@@ -54,6 +54,18 @@ export interface Props {
|
|
|
54
54
|
vesselImageFore?: VesselImage;
|
|
55
55
|
/** Available when `type==singleScale && hasReadout==false`. */
|
|
56
56
|
vesselImageSide?: VesselImage;
|
|
57
|
+
/**
|
|
58
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageFore` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
59
|
+
*
|
|
60
|
+
* Available when `type==singleScale && hasReadout==false`.
|
|
61
|
+
*/
|
|
62
|
+
vesselImageForeSrc?: VesselImageSrc | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageSide` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
65
|
+
*
|
|
66
|
+
* Available when `type==singleScale && hasReadout==false`.
|
|
67
|
+
*/
|
|
68
|
+
vesselImageSideSrc?: VesselImageSrc | undefined;
|
|
57
69
|
/** Available when `type==singleScale && hasReadout==false`. */
|
|
58
70
|
scaleForeImage?: number;
|
|
59
71
|
maxPitchAdvice?: number | undefined;
|
|
@@ -76,6 +88,7 @@ declare const ObcPitchRollHeave: import("svelte").Component<$$ComponentProps, {
|
|
|
76
88
|
ObcPitchRollHeaveType: typeof ObcPitchRollHeaveType;
|
|
77
89
|
PitchRollHeavePriorityElement: typeof PitchRollHeavePriorityElement;
|
|
78
90
|
VesselImage: typeof VesselImage;
|
|
91
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
79
92
|
LinearAdvice: typeof LinearAdvice;
|
|
80
93
|
Priority: typeof Priority;
|
|
81
94
|
}, "">;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
|
|
9
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
10
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -40,6 +40,12 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
|
|
|
40
40
|
motionHistory?: PitchRollSample[];
|
|
41
41
|
/** Available when `type!='level'`. */
|
|
42
42
|
vesselImage?: VesselImage;
|
|
43
|
+
/**
|
|
44
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
45
|
+
*
|
|
46
|
+
* Available when `type!='level'`.
|
|
47
|
+
*/
|
|
48
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
43
49
|
priority?: Priority;
|
|
44
50
|
/** When `true`, shows 0/90/180/-90 labels outside the scale. */
|
|
45
51
|
showLabels?: boolean
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
|
|
2
2
|
import type { PitchRollYawType, PitchRollSample } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
@@ -33,6 +33,12 @@ export interface Props {
|
|
|
33
33
|
motionHistory?: PitchRollSample[];
|
|
34
34
|
/** Available when `type!='level'`. */
|
|
35
35
|
vesselImage?: VesselImage;
|
|
36
|
+
/**
|
|
37
|
+
* Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`).
|
|
38
|
+
*
|
|
39
|
+
* Available when `type!='level'`.
|
|
40
|
+
*/
|
|
41
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
36
42
|
priority?: Priority;
|
|
37
43
|
/** When `true`, shows 0/90/180/-90 labels outside the scale. */
|
|
38
44
|
showLabels?: boolean;
|
|
@@ -47,6 +53,7 @@ declare const ObcPitchRollYaw: import("svelte").Component<$$ComponentProps, {
|
|
|
47
53
|
PitchRollYawType: typeof PitchRollYawType;
|
|
48
54
|
PitchRollSample: typeof PitchRollSample;
|
|
49
55
|
VesselImage: typeof VesselImage;
|
|
56
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
50
57
|
Priority: typeof Priority;
|
|
51
58
|
}, "">;
|
|
52
59
|
type ObcPitchRollYaw = ReturnType<typeof ObcPitchRollYaw>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
9
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
10
|
import type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -24,6 +24,8 @@ import type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-i
|
|
|
24
24
|
minAvgRoll?: number;
|
|
25
25
|
maxAvgRoll?: number;
|
|
26
26
|
vesselImageFore?: VesselImage;
|
|
27
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageFore` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
28
|
+
vesselImageForeSrc?: VesselImageSrc | undefined;
|
|
27
29
|
scaleForeImage?: number;
|
|
28
30
|
maxRollAdvice?: number | undefined;
|
|
29
31
|
triggerRollAdvice?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
2
2
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { ObcRollType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
@@ -17,6 +17,8 @@ export interface Props {
|
|
|
17
17
|
minAvgRoll?: number;
|
|
18
18
|
maxAvgRoll?: number;
|
|
19
19
|
vesselImageFore?: VesselImage;
|
|
20
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImageFore` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
21
|
+
vesselImageForeSrc?: VesselImageSrc | undefined;
|
|
20
22
|
scaleForeImage?: number;
|
|
21
23
|
maxRollAdvice?: number | undefined;
|
|
22
24
|
triggerRollAdvice?: boolean;
|
|
@@ -38,6 +40,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
38
40
|
declare const ObcRoll: import("svelte").Component<$$ComponentProps, {
|
|
39
41
|
Priority: typeof Priority;
|
|
40
42
|
VesselImage: typeof VesselImage;
|
|
43
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
41
44
|
ObcRollType: typeof ObcRollType;
|
|
42
45
|
}, "">;
|
|
43
46
|
type ObcRoll = ReturnType<typeof ObcRoll>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js';
|
|
6
6
|
import { setProperties } from "../../util.js";
|
|
7
7
|
import type {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';
|
|
8
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
8
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
10
10
|
|
|
11
11
|
export interface Props {
|
|
@@ -56,7 +56,9 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
|
|
|
56
56
|
*/
|
|
57
57
|
tintedArrows?: boolean;
|
|
58
58
|
/** Vessel image drawn at the center of the instrument. The standalone style draws it at twice the size for the chevron types, as in the design. */
|
|
59
|
-
vesselImage?: VesselImage
|
|
59
|
+
vesselImage?: VesselImage;
|
|
60
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
61
|
+
vesselImageSrc?: VesselImageSrc | undefined
|
|
60
62
|
}
|
|
61
63
|
export interface Events {
|
|
62
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js';
|
|
2
2
|
import type { SpeedDirectionsType, SpeedDirectionsFrameStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
@@ -51,6 +51,8 @@ export interface Props {
|
|
|
51
51
|
tintedArrows?: boolean;
|
|
52
52
|
/** Vessel image drawn at the center of the instrument. The standalone style draws it at twice the size for the chevron types, as in the design. */
|
|
53
53
|
vesselImage?: VesselImage;
|
|
54
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
55
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
54
56
|
}
|
|
55
57
|
export interface Events {
|
|
56
58
|
}
|
|
@@ -62,6 +64,7 @@ declare const ObcSpeedDirections: import("svelte").Component<$$ComponentProps, {
|
|
|
62
64
|
SpeedDirectionsType: typeof SpeedDirectionsType;
|
|
63
65
|
SpeedDirectionsFrameStyle: typeof SpeedDirectionsFrameStyle;
|
|
64
66
|
VesselImage: typeof VesselImage;
|
|
67
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
65
68
|
}, "">;
|
|
66
69
|
type ObcSpeedDirections = ReturnType<typeof ObcSpeedDirections>;
|
|
67
70
|
export default ObcSpeedDirections;
|
package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
|
|
6
6
|
import { setProperties } from "../../util.js";
|
|
7
7
|
import type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
|
|
8
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
8
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
10
10
|
|
|
11
11
|
export interface Props {
|
|
@@ -16,7 +16,9 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
|
|
|
16
16
|
currentWindSpeedKnots?: number | null;
|
|
17
17
|
currentFromDirection?: number | null;
|
|
18
18
|
currentSpeedKnots?: number | null;
|
|
19
|
-
vesselImage?: VesselImage
|
|
19
|
+
vesselImage?: VesselImage;
|
|
20
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
21
|
+
vesselImageSrc?: VesselImageSrc | undefined
|
|
20
22
|
}
|
|
21
23
|
export interface Events {
|
|
22
24
|
|
package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
|
|
2
2
|
import type { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
@@ -11,6 +11,8 @@ export interface Props {
|
|
|
11
11
|
currentFromDirection?: number | null;
|
|
12
12
|
currentSpeedKnots?: number | null;
|
|
13
13
|
vesselImage?: VesselImage;
|
|
14
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
15
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
14
16
|
}
|
|
15
17
|
export interface Events {
|
|
16
18
|
}
|
|
@@ -21,6 +23,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
21
23
|
declare const ObcVelocityProjectionPlot: import("svelte").Component<$$ComponentProps, {
|
|
22
24
|
VelocityProjectionDatapoint: typeof VelocityProjectionDatapoint;
|
|
23
25
|
VesselImage: typeof VesselImage;
|
|
26
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
24
27
|
}, "">;
|
|
25
28
|
type ObcVelocityProjectionPlot = ReturnType<typeof ObcVelocityProjectionPlot>;
|
|
26
29
|
export default ObcVelocityProjectionPlot;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
|
|
9
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
9
|
+
import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
10
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -17,6 +17,8 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
|
|
|
17
17
|
currentWindSpeedKnots?: number;
|
|
18
18
|
windHistogramData?: WindHistogramData[];
|
|
19
19
|
vesselImage?: VesselImage;
|
|
20
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
21
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
20
22
|
vesselHeadingDeg?: number;
|
|
21
23
|
variant?: WindVariant;
|
|
22
24
|
smallVariantMaxPx?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
|
|
2
2
|
import type { WindHistogramData, WindVariant, WindVisualization } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
@@ -10,6 +10,8 @@ export interface Props {
|
|
|
10
10
|
currentWindSpeedKnots?: number;
|
|
11
11
|
windHistogramData?: WindHistogramData[];
|
|
12
12
|
vesselImage?: VesselImage;
|
|
13
|
+
/** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
|
|
14
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
13
15
|
vesselHeadingDeg?: number;
|
|
14
16
|
variant?: WindVariant;
|
|
15
17
|
smallVariantMaxPx?: number;
|
|
@@ -30,6 +32,7 @@ declare const ObcWind: import("svelte").Component<$$ComponentProps, {
|
|
|
30
32
|
WindVariant: typeof WindVariant;
|
|
31
33
|
WindVisualization: typeof WindVisualization;
|
|
32
34
|
VesselImage: typeof VesselImage;
|
|
35
|
+
VesselImageSrc: typeof VesselImageSrc;
|
|
33
36
|
Priority: typeof Priority;
|
|
34
37
|
}, "">;
|
|
35
38
|
type ObcWind = ReturnType<typeof ObcWind>;
|
|
@@ -11,11 +11,19 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
+
/** Whether the dropdown offers the shelved alerts. */
|
|
14
15
|
hasShelved?: boolean;
|
|
15
|
-
|
|
16
|
-
alerts?: Alert[];
|
|
16
|
+
/** Whether the list shows when each alert was raised. */
|
|
17
17
|
showTime?: boolean;
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Formats the time the list shows.
|
|
20
|
+
*
|
|
21
|
+
* Available when `showTime==true`.
|
|
22
|
+
*/
|
|
23
|
+
timeFormatter?: (time: Date) => string;
|
|
24
|
+
/** Alerts to list. */
|
|
25
|
+
alerts?: Alert[];
|
|
26
|
+
selectedMode?: AlertListMode
|
|
19
27
|
}
|
|
20
28
|
export interface Events {
|
|
21
29
|
onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
|
|
@@ -5,11 +5,19 @@ import type { Snippet } from 'svelte';
|
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
7
7
|
style?: string;
|
|
8
|
+
/** Whether the dropdown offers the shelved alerts. */
|
|
8
9
|
hasShelved?: boolean;
|
|
9
|
-
|
|
10
|
-
alerts?: Alert[];
|
|
10
|
+
/** Whether the list shows when each alert was raised. */
|
|
11
11
|
showTime?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Formats the time the list shows.
|
|
14
|
+
*
|
|
15
|
+
* Available when `showTime==true`.
|
|
16
|
+
*/
|
|
12
17
|
timeFormatter?: (time: Date) => string;
|
|
18
|
+
/** Alerts to list. */
|
|
19
|
+
alerts?: Alert[];
|
|
20
|
+
selectedMode?: AlertListMode;
|
|
13
21
|
}
|
|
14
22
|
export interface Events {
|
|
15
23
|
onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
|