@oicl/openbridge-webcomponents-svelte 2.1.0-next.3 → 2.1.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +110 -0
  2. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +90 -0
  3. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +110 -0
  4. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +90 -0
  5. package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte +20 -6
  6. package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte.d.ts +22 -5
  7. package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +4 -2
  8. package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte.d.ts +3 -2
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +2 -0
  11. package/dist/navigation-instruments/compass/ObcCompass.svelte +8 -2
  12. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +8 -1
  13. package/dist/navigation-instruments/current/ObcCurrent.svelte +8 -2
  14. package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +8 -1
  15. package/dist/navigation-instruments/depth/ObcDepth.svelte +8 -2
  16. package/dist/navigation-instruments/depth/ObcDepth.svelte.d.ts +8 -1
  17. package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte +8 -0
  18. package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte.d.ts +8 -0
  19. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +4 -0
  20. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +4 -0
  21. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +4 -0
  22. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +4 -0
  23. package/dist/navigation-instruments/heading/ObcHeading.svelte +8 -2
  24. package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +8 -1
  25. package/dist/navigation-instruments/heave/ObcHeave.svelte +8 -0
  26. package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +8 -0
  27. package/dist/navigation-instruments/pitch/ObcPitch.svelte +4 -2
  28. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +4 -1
  29. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +14 -2
  30. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +14 -1
  31. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +14 -2
  32. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +14 -1
  33. package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte +8 -2
  34. package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte.d.ts +8 -1
  35. package/dist/navigation-instruments/roll/ObcRoll.svelte +4 -2
  36. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +4 -1
  37. package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte +5 -3
  38. package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte.d.ts +4 -1
  39. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +5 -3
  40. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -1
  41. package/dist/navigation-instruments/wind/ObcWind.svelte +4 -2
  42. package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +4 -1
  43. package/package.json +2 -2
@@ -2,12 +2,12 @@
2
2
  <script lang="ts">
3
3
  export type {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
4
4
  export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
- export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
+ export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
7
7
  import { setProperties } from "../../util.js";
8
8
  import type {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
9
9
  import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.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 { Snippet } from 'svelte';
12
12
 
13
13
  export interface Props {
@@ -55,6 +55,12 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
55
55
  * Available when `type==vessel`.
56
56
  */
57
57
  vesselImage?: VesselImage;
58
+ /**
59
+ * 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`).
60
+ *
61
+ * Available when `type==vessel`.
62
+ */
63
+ vesselImageSrc?: VesselImageSrc | undefined;
58
64
  /**
59
65
  * Vessel heading in degrees.
60
66
  *
@@ -1,7 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
2
2
  import type { CurrentType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
3
3
  import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
5
  import type { Snippet } from 'svelte';
6
6
  export interface Props {
7
7
  class?: string;
@@ -48,6 +48,12 @@ export interface Props {
48
48
  * Available when `type==vessel`.
49
49
  */
50
50
  vesselImage?: VesselImage;
51
+ /**
52
+ * 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`).
53
+ *
54
+ * Available when `type==vessel`.
55
+ */
56
+ vesselImageSrc?: VesselImageSrc | undefined;
51
57
  /**
52
58
  * Vessel heading in degrees.
53
59
  *
@@ -65,6 +71,7 @@ declare const ObcCurrent: import("svelte").Component<$$ComponentProps, {
65
71
  CurrentType: typeof CurrentType;
66
72
  Priority: typeof Priority;
67
73
  VesselImage: typeof VesselImage;
74
+ VesselImageSrc: typeof VesselImageSrc;
68
75
  }, "">;
69
76
  type ObcCurrent = ReturnType<typeof ObcCurrent>;
70
77
  export default ObcCurrent;
@@ -3,7 +3,7 @@
3
3
  export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
4
4
  export type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
5
5
  export type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.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 {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
8
8
  export type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
9
9
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
@@ -11,7 +11,7 @@ export type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dis
11
11
  import type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
12
12
  import type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
13
13
  import type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.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 {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
16
16
  import type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
17
17
  import type { Snippet } from 'svelte';
@@ -87,6 +87,12 @@ import type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dis
87
87
  * Available when `showVessel==true`.
88
88
  */
89
89
  vesselImage?: VesselImage;
90
+ /**
91
+ * 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`).
92
+ *
93
+ * Available when `showVessel==true`.
94
+ */
95
+ vesselImageSrc?: VesselImageSrc | undefined;
90
96
  /** Advice overlays on the right band. */
91
97
  hasAdvice?: boolean;
92
98
  /**
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.j
2
2
  import type { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
3
3
  import type { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  import type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.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 { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
7
7
  import type { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
8
8
  import type { Snippet } from 'svelte';
@@ -77,6 +77,12 @@ export interface Props {
77
77
  * Available when `showVessel==true`.
78
78
  */
79
79
  vesselImage?: VesselImage;
80
+ /**
81
+ * 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`).
82
+ *
83
+ * Available when `showVessel==true`.
84
+ */
85
+ vesselImageSrc?: VesselImageSrc | undefined;
80
86
  /** Advice overlays on the right band. */
81
87
  hasAdvice?: boolean;
82
88
  /**
@@ -103,6 +109,7 @@ declare const ObcDepth: import("svelte").Component<$$ComponentProps, {
103
109
  ChartLineXAxisConfig: typeof ChartLineXAxisConfig;
104
110
  DepthRange: typeof DepthRange;
105
111
  VesselImage: typeof VesselImage;
112
+ VesselImageSrc: typeof VesselImageSrc;
106
113
  LinearAdvice: typeof LinearAdvice;
107
114
  Priority: typeof Priority;
108
115
  InstrumentState: typeof InstrumentState;
@@ -2,10 +2,12 @@
2
2
  <script lang="ts">
3
3
  export type {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.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
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
6
7
  import { setProperties, forwardEvents } from "../../util.js";
7
8
  import type {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
8
9
  import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
10
+ import type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
9
11
  import type { Snippet } from 'svelte';
10
12
 
11
13
  export interface Props {
@@ -25,6 +27,12 @@ import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-i
25
27
  * Available when `type==vessel`.
26
28
  */
27
29
  vesselImage?: VesselImage;
30
+ /**
31
+ * 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`).
32
+ *
33
+ * Available when `type==vessel`.
34
+ */
35
+ vesselImageSrc?: VesselImageSrc | undefined;
28
36
  /** Start of the x range; pushed by the hosting chart. */
29
37
  minValue?: number;
30
38
  /** End of the x range; pushed by the hosting chart. */
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
2
2
  import type { DepthTopBandType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.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 { Snippet } from 'svelte';
5
6
  export interface Props {
6
7
  class?: string;
@@ -19,6 +20,12 @@ export interface Props {
19
20
  * Available when `type==vessel`.
20
21
  */
21
22
  vesselImage?: VesselImage;
23
+ /**
24
+ * 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`).
25
+ *
26
+ * Available when `type==vessel`.
27
+ */
28
+ vesselImageSrc?: VesselImageSrc | undefined;
22
29
  /** Start of the x range; pushed by the hosting chart. */
23
30
  minValue?: number;
24
31
  /** End of the x range; pushed by the hosting chart. */
@@ -48,6 +55,7 @@ type $$ComponentProps = Props & Events & Slots;
48
55
  declare const ObcDepthTopBand: import("svelte").Component<$$ComponentProps, {
49
56
  DepthTopBandType: typeof DepthTopBandType;
50
57
  VesselImage: typeof VesselImage;
58
+ VesselImageSrc: typeof VesselImageSrc;
51
59
  }, "">;
52
60
  type ObcDepthTopBand = ReturnType<typeof ObcDepthTopBand>;
53
61
  export default ObcDepthTopBand;
@@ -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 {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
7
8
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.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 {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
13
15
  import type { Snippet } from 'svelte';
@@ -29,6 +31,8 @@ import type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-in
29
31
  vesselScale?: number;
30
32
  /** Fore-view silhouette. */
31
33
  vesselImage?: VesselImage;
34
+ /** 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`). */
35
+ vesselImageSrc?: VesselImageSrc | undefined;
32
36
  /** `enhanced` draws the fills and lines in the enhanced palette. */
33
37
  priority?: Priority;
34
38
  /** Label the scale ends and the primary ladder beside the frame. */
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.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 { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
6
7
  import type { Snippet } from 'svelte';
@@ -21,6 +22,8 @@ export interface Props {
21
22
  vesselScale?: number;
22
23
  /** Fore-view silhouette. */
23
24
  vesselImage?: VesselImage;
25
+ /** 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`). */
26
+ vesselImageSrc?: VesselImageSrc | undefined;
24
27
  /** `enhanced` draws the fills and lines in the enhanced palette. */
25
28
  priority?: Priority;
26
29
  /** Label the scale ends and the primary ladder beside the frame. */
@@ -47,6 +50,7 @@ type $$ComponentProps = Props & Events & Slots;
47
50
  declare const ObcDepthActual: import("svelte").Component<$$ComponentProps, {
48
51
  LinearAdvice: typeof LinearAdvice;
49
52
  VesselImage: typeof VesselImage;
53
+ VesselImageSrc: typeof VesselImageSrc;
50
54
  Priority: typeof Priority;
51
55
  DepthRange: typeof DepthRange;
52
56
  }, "">;
@@ -2,11 +2,13 @@
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
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';
7
8
  import { setProperties } from "../../util.js";
8
9
  import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
9
10
  import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
11
+ import type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
10
12
  import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
13
  import type { Snippet } from 'svelte';
12
14
 
@@ -22,6 +24,8 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
22
24
  /** Advice zones, in the same positive-below-the-waterline units as the draughts. Applied to both scales; each is triggered by its own draught. */
23
25
  advice?: LinearAdvice[];
24
26
  vesselImage?: VesselImage;
27
+ /** 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`). */
28
+ vesselImageSrc?: VesselImageSrc | undefined;
25
29
  priority?: Priority
26
30
  }
27
31
  export interface Events {
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.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 { Snippet } from 'svelte';
6
7
  export interface Props {
@@ -15,6 +16,8 @@ export interface Props {
15
16
  /** Advice zones, in the same positive-below-the-waterline units as the draughts. Applied to both scales; each is triggered by its own draught. */
16
17
  advice?: LinearAdvice[];
17
18
  vesselImage?: VesselImage;
19
+ /** 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`). */
20
+ vesselImageSrc?: VesselImageSrc | undefined;
18
21
  priority?: Priority;
19
22
  }
20
23
  export interface Events {
@@ -26,6 +29,7 @@ type $$ComponentProps = Props & Events & Slots;
26
29
  declare const ObcDraftTrim: import("svelte").Component<$$ComponentProps, {
27
30
  LinearAdvice: typeof LinearAdvice;
28
31
  VesselImage: typeof VesselImage;
32
+ VesselImageSrc: typeof VesselImageSrc;
29
33
  Priority: typeof Priority;
30
34
  }, "">;
31
35
  type ObcDraftTrim = ReturnType<typeof ObcDraftTrim>;
@@ -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