@oicl/openbridge-webcomponents-svelte 2.0.0-next.28 → 2.0.0-next.29

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 (27) hide show
  1. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +4 -4
  2. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +7 -3
  3. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +3 -3
  4. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +5 -2
  5. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +3 -3
  6. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +5 -2
  7. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +3 -3
  8. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +5 -2
  9. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +3 -3
  10. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +5 -2
  11. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +4 -4
  12. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +7 -3
  13. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +3 -3
  14. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +5 -2
  15. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +6 -4
  16. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +8 -3
  17. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +3 -3
  18. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +5 -2
  19. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +3 -3
  20. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +5 -2
  21. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +3 -3
  22. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +5 -2
  23. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +3 -3
  24. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +5 -2
  25. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +5 -5
  26. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +9 -4
  27. package/package.json +2 -2
@@ -1,17 +1,17 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
12
  angle?: number;
13
- type?: string;
14
- direction?: string
13
+ type?: CompassIndicatorType;
14
+ direction?: CompassIndicatorDirection
15
15
  }
16
16
  export interface Events {
17
17
 
@@ -1,11 +1,12 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
2
+ import type { CompassIndicatorType, CompassIndicatorDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
7
  angle?: number;
7
- type?: string;
8
- direction?: string;
8
+ type?: CompassIndicatorType;
9
+ direction?: CompassIndicatorDirection;
9
10
  }
10
11
  export interface Events {
11
12
  }
@@ -13,6 +14,9 @@ export interface Slots {
13
14
  children?: Snippet;
14
15
  }
15
16
  type $$ComponentProps = Props & Events & Slots;
16
- declare const ObcCompassIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
17
+ declare const ObcCompassIndicator: import("svelte").Component<$$ComponentProps, {
18
+ CompassIndicatorType: typeof CompassIndicatorType;
19
+ CompassIndicatorDirection: typeof CompassIndicatorDirection;
20
+ }, "">;
17
21
  type ObcCompassIndicator = ReturnType<typeof ObcCompassIndicator>;
18
22
  export default ObcCompassIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {ObcDepthIndicatorVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {ObcDepthIndicatorVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- variant?: string;
12
+ variant?: ObcDepthIndicatorVariant;
13
13
  values?: number[]
14
14
  }
15
15
  export interface Events {
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
2
+ import type { ObcDepthIndicatorVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- variant?: string;
7
+ variant?: ObcDepthIndicatorVariant;
7
8
  values?: number[];
8
9
  }
9
10
  export interface Events {
@@ -12,6 +13,8 @@ export interface Slots {
12
13
  children?: Snippet;
13
14
  }
14
15
  type $$ComponentProps = Props & Events & Slots;
15
- declare const ObcDepthIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
16
+ declare const ObcDepthIndicator: import("svelte").Component<$$ComponentProps, {
17
+ ObcDepthIndicatorVariant: typeof ObcDepthIndicatorVariant;
18
+ }, "">;
16
19
  type ObcDepthIndicator = ReturnType<typeof ObcDepthIndicator>;
17
20
  export default ObcDepthIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {ObcGaugeTrendIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {ObcGaugeTrendIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: ObcGaugeTrendIndicatorType;
13
13
  data?: number[];
14
14
  minValue?: number;
15
15
  maxValue?: number;
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
2
+ import type { ObcGaugeTrendIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: ObcGaugeTrendIndicatorType;
7
8
  data?: number[];
8
9
  minValue?: number;
9
10
  maxValue?: number;
@@ -17,6 +18,8 @@ export interface Slots {
17
18
  children?: Snippet;
18
19
  }
19
20
  type $$ComponentProps = Props & Events & Slots;
20
- declare const ObcGaugeTrendIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
21
+ declare const ObcGaugeTrendIndicator: import("svelte").Component<$$ComponentProps, {
22
+ ObcGaugeTrendIndicatorType: typeof ObcGaugeTrendIndicatorType;
23
+ }, "">;
21
24
  type ObcGaugeTrendIndicator = ReturnType<typeof ObcGaugeTrendIndicator>;
22
25
  export default ObcGaugeTrendIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {HeadingIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {HeadingIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: HeadingIndicatorType;
13
13
  angle?: number;
14
14
  /** Cross-track deviation in the range [-1, 1]. */
15
15
  xtd?: number
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
2
+ import type { HeadingIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: HeadingIndicatorType;
7
8
  angle?: number;
8
9
  /** Cross-track deviation in the range [-1, 1]. */
9
10
  xtd?: number;
@@ -14,6 +15,8 @@ export interface Slots {
14
15
  children?: Snippet;
15
16
  }
16
17
  type $$ComponentProps = Props & Events & Slots;
17
- declare const ObcHeadingIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
18
+ declare const ObcHeadingIndicator: import("svelte").Component<$$ComponentProps, {
19
+ HeadingIndicatorType: typeof HeadingIndicatorType;
20
+ }, "">;
18
21
  type ObcHeadingIndicator = ReturnType<typeof ObcHeadingIndicator>;
19
22
  export default ObcHeadingIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {HeaveIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {HeaveIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: HeaveIndicatorType;
13
13
  value?: number
14
14
  }
15
15
  export interface Events {
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
2
+ import type { HeaveIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: HeaveIndicatorType;
7
8
  value?: number;
8
9
  }
9
10
  export interface Events {
@@ -12,6 +13,8 @@ export interface Slots {
12
13
  children?: Snippet;
13
14
  }
14
15
  type $$ComponentProps = Props & Events & Slots;
15
- declare const ObcHeaveIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
16
+ declare const ObcHeaveIndicator: import("svelte").Component<$$ComponentProps, {
17
+ HeaveIndicatorType: typeof HeaveIndicatorType;
18
+ }, "">;
16
19
  type ObcHeaveIndicator = ReturnType<typeof ObcHeaveIndicator>;
17
20
  export default ObcHeaveIndicator;
@@ -1,9 +1,9 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
@@ -13,8 +13,8 @@
13
13
  rpmValue?: number;
14
14
  thrust?: number;
15
15
  speed?: number;
16
- state?: string;
17
- priority?: string;
16
+ state?: InstrumentState;
17
+ priority?: Priority;
18
18
  hasSilhouette?: boolean
19
19
  }
20
20
  export interface Events {
@@ -1,4 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.js';
2
+ import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
@@ -7,8 +8,8 @@ export interface Props {
7
8
  rpmValue?: number;
8
9
  thrust?: number;
9
10
  speed?: number;
10
- state?: string;
11
- priority?: string;
11
+ state?: InstrumentState;
12
+ priority?: Priority;
12
13
  hasSilhouette?: boolean;
13
14
  }
14
15
  export interface Events {
@@ -17,6 +18,9 @@ export interface Slots {
17
18
  children?: Snippet;
18
19
  }
19
20
  type $$ComponentProps = Props & Events & Slots;
20
- declare const ObcMainEngineIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
21
+ declare const ObcMainEngineIndicator: import("svelte").Component<$$ComponentProps, {
22
+ InstrumentState: typeof InstrumentState;
23
+ Priority: typeof Priority;
24
+ }, "">;
21
25
  type ObcMainEngineIndicator = ReturnType<typeof ObcMainEngineIndicator>;
22
26
  export default ObcMainEngineIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {PitchIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {PitchIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: PitchIndicatorType;
13
13
  value?: number
14
14
  }
15
15
  export interface Events {
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
2
+ import type { PitchIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: PitchIndicatorType;
7
8
  value?: number;
8
9
  }
9
10
  export interface Events {
@@ -12,6 +13,8 @@ export interface Slots {
12
13
  children?: Snippet;
13
14
  }
14
15
  type $$ComponentProps = Props & Events & Slots;
15
- declare const ObcPitchIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
16
+ declare const ObcPitchIndicator: import("svelte").Component<$$ComponentProps, {
17
+ PitchIndicatorType: typeof PitchIndicatorType;
18
+ }, "">;
16
19
  type ObcPitchIndicator = ReturnType<typeof ObcPitchIndicator>;
17
20
  export default ObcPitchIndicator;
@@ -1,19 +1,21 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {PropulsionAzimuthIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
4
+ export type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
5
6
  import { setProperties } from "../../util.js";
6
-
7
+ import type {PropulsionAzimuthIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
8
+ import type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
10
12
  class?: string;
11
13
  style?: string;
12
- type?: string;
14
+ type?: PropulsionAzimuthIndicatorType;
13
15
  hasSilhouette?: boolean;
14
16
  azimuth?: number;
15
17
  value?: number;
16
- state?: string
18
+ state?: InstrumentState
17
19
  }
18
20
  export interface Events {
19
21
 
@@ -1,13 +1,15 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
2
+ import type { PropulsionAzimuthIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
3
+ import type { InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
2
4
  import type { Snippet } from 'svelte';
3
5
  export interface Props {
4
6
  class?: string;
5
7
  style?: string;
6
- type?: string;
8
+ type?: PropulsionAzimuthIndicatorType;
7
9
  hasSilhouette?: boolean;
8
10
  azimuth?: number;
9
11
  value?: number;
10
- state?: string;
12
+ state?: InstrumentState;
11
13
  }
12
14
  export interface Events {
13
15
  }
@@ -15,6 +17,9 @@ export interface Slots {
15
17
  children?: Snippet;
16
18
  }
17
19
  type $$ComponentProps = Props & Events & Slots;
18
- declare const ObcPropulsionAzimuthIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
20
+ declare const ObcPropulsionAzimuthIndicator: import("svelte").Component<$$ComponentProps, {
21
+ PropulsionAzimuthIndicatorType: typeof PropulsionAzimuthIndicatorType;
22
+ InstrumentState: typeof InstrumentState;
23
+ }, "">;
19
24
  type ObcPropulsionAzimuthIndicator = ReturnType<typeof ObcPropulsionAzimuthIndicator>;
20
25
  export default ObcPropulsionAzimuthIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {RollIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {RollIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: RollIndicatorType;
13
13
  value?: number
14
14
  }
15
15
  export interface Events {
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
2
+ import type { RollIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: RollIndicatorType;
7
8
  value?: number;
8
9
  }
9
10
  export interface Events {
@@ -12,6 +13,8 @@ export interface Slots {
12
13
  children?: Snippet;
13
14
  }
14
15
  type $$ComponentProps = Props & Events & Slots;
15
- declare const ObcRollIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
16
+ declare const ObcRollIndicator: import("svelte").Component<$$ComponentProps, {
17
+ RollIndicatorType: typeof RollIndicatorType;
18
+ }, "">;
16
19
  type ObcRollIndicator = ReturnType<typeof ObcRollIndicator>;
17
20
  export default ObcRollIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {RotIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {RotIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: RotIndicatorType;
13
13
  /** Measured rate of turn in degrees per minute (positive = starboard).
14
14
 
15
15
  Drives the spinner animation via `(rateOfTurnDegreesPerMinute / 360) *
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
2
+ import type { RotIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: RotIndicatorType;
7
8
  /** Measured rate of turn in degrees per minute (positive = starboard).
8
9
 
9
10
  Drives the spinner animation via `(rateOfTurnDegreesPerMinute / 360) *
@@ -22,6 +23,8 @@ export interface Slots {
22
23
  children?: Snippet;
23
24
  }
24
25
  type $$ComponentProps = Props & Events & Slots;
25
- declare const ObcRotIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
26
+ declare const ObcRotIndicator: import("svelte").Component<$$ComponentProps, {
27
+ RotIndicatorType: typeof RotIndicatorType;
28
+ }, "">;
26
29
  type ObcRotIndicator = ReturnType<typeof ObcRotIndicator>;
27
30
  export default ObcRotIndicator;
@@ -1,9 +1,9 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {RudderIndicatorState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {RudderIndicatorState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
@@ -11,7 +11,7 @@
11
11
  style?: string;
12
12
  angle?: number;
13
13
  setpoint?: number;
14
- state?: string;
14
+ state?: RudderIndicatorState;
15
15
  hasSilhouette?: boolean
16
16
  }
17
17
  export interface Events {
@@ -1,11 +1,12 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
2
+ import type { RudderIndicatorState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
7
  angle?: number;
7
8
  setpoint?: number;
8
- state?: string;
9
+ state?: RudderIndicatorState;
9
10
  hasSilhouette?: boolean;
10
11
  }
11
12
  export interface Events {
@@ -14,6 +15,8 @@ export interface Slots {
14
15
  children?: Snippet;
15
16
  }
16
17
  type $$ComponentProps = Props & Events & Slots;
17
- declare const ObcRudderIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
18
+ declare const ObcRudderIndicator: import("svelte").Component<$$ComponentProps, {
19
+ RudderIndicatorState: typeof RudderIndicatorState;
20
+ }, "">;
18
21
  type ObcRudderIndicator = ReturnType<typeof ObcRudderIndicator>;
19
22
  export default ObcRudderIndicator;
@@ -1,15 +1,15 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {SpeedIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {SpeedIndicatorType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
12
+ type?: SpeedIndicatorType;
13
13
  speed?: number;
14
14
  maxSpeed?: number;
15
15
  longLatLevels?: number[] | undefined
@@ -1,9 +1,10 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
2
+ import type { SpeedIndicatorType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-indicator/speed-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
+ type?: SpeedIndicatorType;
7
8
  speed?: number;
8
9
  maxSpeed?: number;
9
10
  longLatLevels?: number[] | undefined;
@@ -14,6 +15,8 @@ export interface Slots {
14
15
  children?: Snippet;
15
16
  }
16
17
  type $$ComponentProps = Props & Events & Slots;
17
- declare const ObcSpeedIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
18
+ declare const ObcSpeedIndicator: import("svelte").Component<$$ComponentProps, {
19
+ SpeedIndicatorType: typeof SpeedIndicatorType;
20
+ }, "">;
18
21
  type ObcSpeedIndicator = ReturnType<typeof ObcSpeedIndicator>;
19
22
  export default ObcSpeedIndicator;
@@ -1,17 +1,17 @@
1
1
 
2
2
  <script lang="ts">
3
-
3
+ export type {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
5
5
  import { setProperties } from "../../util.js";
6
-
6
+ import type {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- type?: string;
13
- direction?: string;
14
- priority?: string;
12
+ type?: WindIndicatorType;
13
+ direction?: WindIndicatorDirection;
14
+ priority?: WindIndicatorPriority;
15
15
  level?: number;
16
16
  /** Rotation of the reference frame (course/heading) in degrees.
17
17
 
@@ -1,11 +1,12 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
2
+ import type { WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';
2
3
  import type { Snippet } from 'svelte';
3
4
  export interface Props {
4
5
  class?: string;
5
6
  style?: string;
6
- type?: string;
7
- direction?: string;
8
- priority?: string;
7
+ type?: WindIndicatorType;
8
+ direction?: WindIndicatorDirection;
9
+ priority?: WindIndicatorPriority;
9
10
  level?: number;
10
11
  /** Rotation of the reference frame (course/heading) in degrees.
11
12
 
@@ -26,6 +27,10 @@ export interface Slots {
26
27
  children?: Snippet;
27
28
  }
28
29
  type $$ComponentProps = Props & Events & Slots;
29
- declare const ObcWindIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
30
+ declare const ObcWindIndicator: import("svelte").Component<$$ComponentProps, {
31
+ WindIndicatorType: typeof WindIndicatorType;
32
+ WindIndicatorDirection: typeof WindIndicatorDirection;
33
+ WindIndicatorPriority: typeof WindIndicatorPriority;
34
+ }, "">;
30
35
  type ObcWindIndicator = ReturnType<typeof ObcWindIndicator>;
31
36
  export default ObcWindIndicator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.28",
3
+ "version": "2.0.0-next.29",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@oicl/openbridge-webcomponents": "^2.0.0-next.27"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.28"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"