@oicl/openbridge-webcomponents-svelte 0.0.20260407101310 → 0.0.20260407112816
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/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +2 -1
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/navigation-instruments/compass/ObcCompass.svelte +6 -2
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +7 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +7 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +6 -0
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +59 -0
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +49 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +11 -3
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +15 -1
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +3 -1
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +2 -0
- package/dist/navigation-instruments/rudder/ObcRudder.svelte +2 -1
- package/dist/navigation-instruments/rudder/ObcRudder.svelte.d.ts +1 -0
- package/dist/navigation-instruments/watch/ObcWatch.svelte +14 -1
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +14 -0
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +18 -1
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +18 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2156,6 +2156,7 @@ export { default as ObcBearingIndicator } from './navigation-instruments/bearing
|
|
|
2156
2156
|
export { default as ObcCompass } from './navigation-instruments/compass/ObcCompass.svelte';
|
|
2157
2157
|
export { default as ObcCompassFlat } from './navigation-instruments/compass-flat/ObcCompassFlat.svelte';
|
|
2158
2158
|
export { default as ObcCompassIndicator } from './navigation-instruments/compass-indicator/ObcCompassIndicator.svelte';
|
|
2159
|
+
export { default as ObcCompassSector } from './navigation-instruments/compass-sector/ObcCompassSector.svelte';
|
|
2159
2160
|
export { default as ObcDepthActual } from './navigation-instruments/depth-actual/ObcDepthActual.svelte';
|
|
2160
2161
|
export { default as ObcGaugeHorizontal } from './navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte';
|
|
2161
2162
|
export { default as ObcGaugeRadial } from './navigation-instruments/gauge-radial/ObcGaugeRadial.svelte';
|
package/dist/index.js
CHANGED
|
@@ -2156,6 +2156,7 @@ export { default as ObcBearingIndicator } from './navigation-instruments/bearing
|
|
|
2156
2156
|
export { default as ObcCompass } from './navigation-instruments/compass/ObcCompass.svelte';
|
|
2157
2157
|
export { default as ObcCompassFlat } from './navigation-instruments/compass-flat/ObcCompassFlat.svelte';
|
|
2158
2158
|
export { default as ObcCompassIndicator } from './navigation-instruments/compass-indicator/ObcCompassIndicator.svelte';
|
|
2159
|
+
export { default as ObcCompassSector } from './navigation-instruments/compass-sector/ObcCompassSector.svelte';
|
|
2159
2160
|
export { default as ObcDepthActual } from './navigation-instruments/depth-actual/ObcDepthActual.svelte';
|
|
2160
2161
|
export { default as ObcGaugeHorizontal } from './navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte';
|
|
2161
2162
|
export { default as ObcGaugeRadial } from './navigation-instruments/gauge-radial/ObcGaugeRadial.svelte';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
4
|
-
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
6
6
|
export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
7
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
8
8
|
import { setProperties } from "../../util.js";
|
|
9
9
|
import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
10
|
-
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
10
|
+
import type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
11
11
|
import type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
12
12
|
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
13
13
|
import type { Snippet } from 'svelte';
|
|
@@ -33,6 +33,10 @@ import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dis
|
|
|
33
33
|
currentFromDirection?: number | null;
|
|
34
34
|
vesselImage?: VesselImage;
|
|
35
35
|
rotationsPerMinute?: number;
|
|
36
|
+
rotType?: RotType;
|
|
37
|
+
rotPosition?: RotPosition;
|
|
38
|
+
rotMaxValue?: number;
|
|
39
|
+
rotArcExtent?: number;
|
|
36
40
|
direction?: CompassDirection;
|
|
37
41
|
state?: InstrumentState;
|
|
38
42
|
priority?: Priority;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
2
2
|
import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
3
|
-
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
5
5
|
import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import type { Snippet } from 'svelte';
|
|
@@ -25,6 +25,10 @@ export interface Props {
|
|
|
25
25
|
currentFromDirection?: number | null;
|
|
26
26
|
vesselImage?: VesselImage;
|
|
27
27
|
rotationsPerMinute?: number;
|
|
28
|
+
rotType?: RotType;
|
|
29
|
+
rotPosition?: RotPosition;
|
|
30
|
+
rotMaxValue?: number;
|
|
31
|
+
rotArcExtent?: number;
|
|
28
32
|
direction?: CompassDirection;
|
|
29
33
|
state?: InstrumentState;
|
|
30
34
|
priority?: Priority;
|
|
@@ -43,6 +47,8 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
43
47
|
declare const ObcCompass: import("svelte").Component<$$ComponentProps, {
|
|
44
48
|
AngleAdvice: typeof AngleAdvice;
|
|
45
49
|
VesselImage: typeof VesselImage;
|
|
50
|
+
RotType: typeof RotType;
|
|
51
|
+
RotPosition: typeof RotPosition;
|
|
46
52
|
CompassDirection: typeof CompassDirection;
|
|
47
53
|
CompassPriorityElement: typeof CompassPriorityElement;
|
|
48
54
|
InstrumentState: typeof InstrumentState;
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
4
|
export type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
5
|
+
export type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
5
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
6
7
|
import { setProperties } from "../../util.js";
|
|
7
8
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
8
9
|
import type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
10
|
+
import type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
9
11
|
import type { Snippet } from 'svelte';
|
|
10
12
|
|
|
11
13
|
export interface Props {
|
|
@@ -19,7 +21,11 @@ import type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/di
|
|
|
19
21
|
minFOV?: number;
|
|
20
22
|
maxFOV?: number;
|
|
21
23
|
priority?: Priority;
|
|
22
|
-
priorityElements?: CompassFlatPriorityElement[]
|
|
24
|
+
priorityElements?: CompassFlatPriorityElement[];
|
|
25
|
+
rotType?: RotType | undefined;
|
|
26
|
+
rotationsPerMinute?: number;
|
|
27
|
+
rotMaxValue?: number;
|
|
28
|
+
rotArcExtent?: number
|
|
23
29
|
}
|
|
24
30
|
export interface Events {
|
|
25
31
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
2
2
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
3
|
import type { CompassFlatPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
4
|
+
import type { RotType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
4
5
|
import type { Snippet } from 'svelte';
|
|
5
6
|
export interface Props {
|
|
6
7
|
class?: string;
|
|
@@ -14,6 +15,10 @@ export interface Props {
|
|
|
14
15
|
maxFOV?: number;
|
|
15
16
|
priority?: Priority;
|
|
16
17
|
priorityElements?: CompassFlatPriorityElement[];
|
|
18
|
+
rotType?: RotType | undefined;
|
|
19
|
+
rotationsPerMinute?: number;
|
|
20
|
+
rotMaxValue?: number;
|
|
21
|
+
rotArcExtent?: number;
|
|
17
22
|
}
|
|
18
23
|
export interface Events {
|
|
19
24
|
}
|
|
@@ -24,6 +29,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
24
29
|
declare const ObcCompassFlat: import("svelte").Component<$$ComponentProps, {
|
|
25
30
|
Priority: typeof Priority;
|
|
26
31
|
CompassFlatPriorityElement: typeof CompassFlatPriorityElement;
|
|
32
|
+
RotType: typeof RotType;
|
|
27
33
|
}, "">;
|
|
28
34
|
type ObcCompassFlat = ReturnType<typeof ObcCompassFlat>;
|
|
29
35
|
export default ObcCompassFlat;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
4
|
+
export type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
|
+
export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
|
+
export type {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
7
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
8
|
+
import { setProperties } from "../../util.js";
|
|
9
|
+
import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
10
|
+
import type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
11
|
+
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
12
|
+
import type {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
13
|
+
import type { Snippet } from 'svelte';
|
|
14
|
+
|
|
15
|
+
export interface Props {
|
|
16
|
+
class?: string;
|
|
17
|
+
style?: string;
|
|
18
|
+
heading?: number;
|
|
19
|
+
courseOverGround?: number;
|
|
20
|
+
headingSetpoint?: number | null;
|
|
21
|
+
newHeadingSetpoint?: number | undefined;
|
|
22
|
+
atHeadingSetpoint?: boolean;
|
|
23
|
+
headingSetpointAtZeroDeadband?: number;
|
|
24
|
+
headingSetpointOverride?: boolean;
|
|
25
|
+
autoAtHeadingSetpoint?: boolean;
|
|
26
|
+
autoAtHeadingSetpointDeadband?: number;
|
|
27
|
+
animateSetpoint?: boolean;
|
|
28
|
+
touching?: boolean;
|
|
29
|
+
headingAdvices?: AngleAdvice[];
|
|
30
|
+
minFOV?: number;
|
|
31
|
+
rotType?: RotType | undefined;
|
|
32
|
+
rotPosition?: RotPosition;
|
|
33
|
+
rotationsPerMinute?: number;
|
|
34
|
+
rotMaxValue?: number;
|
|
35
|
+
state?: InstrumentState;
|
|
36
|
+
priority?: Priority;
|
|
37
|
+
priorityElements?: CompassSectorPriorityElement[];
|
|
38
|
+
tickmarksInside?: boolean;
|
|
39
|
+
zoomToFitArc?: boolean
|
|
40
|
+
}
|
|
41
|
+
export interface Events {
|
|
42
|
+
onNone?: (event: CustomEvent<unknown>) => void
|
|
43
|
+
}
|
|
44
|
+
export interface Slots {
|
|
45
|
+
children?: Snippet
|
|
46
|
+
}
|
|
47
|
+
const {onNone, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
48
|
+
|
|
49
|
+
</script>
|
|
50
|
+
<obc-compass-sector
|
|
51
|
+
use:setProperties={props}
|
|
52
|
+
class={className}
|
|
53
|
+
style={style}
|
|
54
|
+
onNone={onNone} >
|
|
55
|
+
|
|
56
|
+
{#if children}
|
|
57
|
+
{@render children()}
|
|
58
|
+
{/if}
|
|
59
|
+
</obc-compass-sector>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
2
|
+
import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
3
|
+
import type { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import type { CompassSectorPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
6
|
+
import type { Snippet } from 'svelte';
|
|
7
|
+
export interface Props {
|
|
8
|
+
class?: string;
|
|
9
|
+
style?: string;
|
|
10
|
+
heading?: number;
|
|
11
|
+
courseOverGround?: number;
|
|
12
|
+
headingSetpoint?: number | null;
|
|
13
|
+
newHeadingSetpoint?: number | undefined;
|
|
14
|
+
atHeadingSetpoint?: boolean;
|
|
15
|
+
headingSetpointAtZeroDeadband?: number;
|
|
16
|
+
headingSetpointOverride?: boolean;
|
|
17
|
+
autoAtHeadingSetpoint?: boolean;
|
|
18
|
+
autoAtHeadingSetpointDeadband?: number;
|
|
19
|
+
animateSetpoint?: boolean;
|
|
20
|
+
touching?: boolean;
|
|
21
|
+
headingAdvices?: AngleAdvice[];
|
|
22
|
+
minFOV?: number;
|
|
23
|
+
rotType?: RotType | undefined;
|
|
24
|
+
rotPosition?: RotPosition;
|
|
25
|
+
rotationsPerMinute?: number;
|
|
26
|
+
rotMaxValue?: number;
|
|
27
|
+
state?: InstrumentState;
|
|
28
|
+
priority?: Priority;
|
|
29
|
+
priorityElements?: CompassSectorPriorityElement[];
|
|
30
|
+
tickmarksInside?: boolean;
|
|
31
|
+
zoomToFitArc?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface Events {
|
|
34
|
+
onNone?: (event: CustomEvent<unknown>) => void;
|
|
35
|
+
}
|
|
36
|
+
export interface Slots {
|
|
37
|
+
children?: Snippet;
|
|
38
|
+
}
|
|
39
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
40
|
+
declare const ObcCompassSector: import("svelte").Component<$$ComponentProps, {
|
|
41
|
+
AngleAdvice: typeof AngleAdvice;
|
|
42
|
+
RotType: typeof RotType;
|
|
43
|
+
RotPosition: typeof RotPosition;
|
|
44
|
+
InstrumentState: typeof InstrumentState;
|
|
45
|
+
Priority: typeof Priority;
|
|
46
|
+
CompassSectorPriorityElement: typeof CompassSectorPriorityElement;
|
|
47
|
+
}, "">;
|
|
48
|
+
type ObcCompassSector = ReturnType<typeof ObcCompassSector>;
|
|
49
|
+
export default ObcCompassSector;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
|
|
3
|
+
export type {RotType, RotPosition, WatchCircleType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
|
|
7
|
+
import type {RotType, RotPosition, WatchCircleType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
8
|
+
import type {Priority} 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
|
-
|
|
14
|
+
rotationsPerMinute?: number;
|
|
15
|
+
rotType?: RotType;
|
|
16
|
+
rotPosition?: RotPosition;
|
|
17
|
+
priority?: Priority;
|
|
18
|
+
barStartAngle?: number;
|
|
19
|
+
barEndAngle?: number;
|
|
20
|
+
watchCircleType?: WatchCircleType
|
|
13
21
|
}
|
|
14
22
|
export interface Events {
|
|
15
23
|
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js';
|
|
2
|
+
import type { RotType, RotPosition, WatchCircleType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import type { Priority } 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;
|
|
8
|
+
rotationsPerMinute?: number;
|
|
9
|
+
rotType?: RotType;
|
|
10
|
+
rotPosition?: RotPosition;
|
|
11
|
+
priority?: Priority;
|
|
12
|
+
barStartAngle?: number;
|
|
13
|
+
barEndAngle?: number;
|
|
14
|
+
watchCircleType?: WatchCircleType;
|
|
6
15
|
}
|
|
7
16
|
export interface Events {
|
|
8
17
|
}
|
|
@@ -10,6 +19,11 @@ export interface Slots {
|
|
|
10
19
|
children?: Snippet;
|
|
11
20
|
}
|
|
12
21
|
type $$ComponentProps = Props & Events & Slots;
|
|
13
|
-
declare const ObcRateOfTurn: import("svelte").Component<$$ComponentProps, {
|
|
22
|
+
declare const ObcRateOfTurn: import("svelte").Component<$$ComponentProps, {
|
|
23
|
+
RotType: typeof RotType;
|
|
24
|
+
RotPosition: typeof RotPosition;
|
|
25
|
+
WatchCircleType: typeof WatchCircleType;
|
|
26
|
+
Priority: typeof Priority;
|
|
27
|
+
}, "">;
|
|
14
28
|
type ObcRateOfTurn = ReturnType<typeof ObcRateOfTurn>;
|
|
15
29
|
export default ObcRateOfTurn;
|
|
@@ -30,7 +30,9 @@ tertiaryTickmarkInterval?: number | undefined;
|
|
|
30
30
|
priority?: Priority;
|
|
31
31
|
portStarboard?: boolean;
|
|
32
32
|
tickmarkStyle?: TickmarkStyle;
|
|
33
|
-
advices?: GaugeRadialAdvice[]
|
|
33
|
+
advices?: GaugeRadialAdvice[];
|
|
34
|
+
zoomToFitArc?: boolean;
|
|
35
|
+
rotArcExtent?: number
|
|
34
36
|
}
|
|
35
37
|
export interface Events {
|
|
36
38
|
|
|
@@ -4,12 +4,16 @@
|
|
|
4
4
|
export type {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export type {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
6
6
|
export type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
7
|
+
export type {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';
|
|
8
|
+
export type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
7
9
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
8
10
|
import { setProperties } from "../../util.js";
|
|
9
11
|
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
12
|
import type {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
11
13
|
import type {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
12
14
|
import type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
15
|
+
import type {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';
|
|
16
|
+
import type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
13
17
|
import type { Snippet } from 'svelte';
|
|
14
18
|
|
|
15
19
|
export interface Props {
|
|
@@ -19,6 +23,7 @@ import type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigatio
|
|
|
19
23
|
priority?: Priority;
|
|
20
24
|
watchCircleType?: WatchCircleType;
|
|
21
25
|
northArrow?: boolean;
|
|
26
|
+
northArrowInside?: boolean | undefined;
|
|
22
27
|
angleSetpoint?: number | undefined;
|
|
23
28
|
newAngleSetpoint?: number | undefined;
|
|
24
29
|
atAngleSetpoint?: boolean;
|
|
@@ -49,7 +54,15 @@ import type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigatio
|
|
|
49
54
|
clipTop?: number;
|
|
50
55
|
clipBottom?: number;
|
|
51
56
|
scaleWindIcon?: number;
|
|
52
|
-
rotation?: number | undefined
|
|
57
|
+
rotation?: number | undefined;
|
|
58
|
+
zoomToFitArc?: boolean;
|
|
59
|
+
arcFrame?: ZoomToFitArcFrame | undefined;
|
|
60
|
+
tickFadeAngle?: number;
|
|
61
|
+
rotType?: RotType | undefined;
|
|
62
|
+
rotPosition?: RotPosition;
|
|
63
|
+
rotStartAngle?: number;
|
|
64
|
+
rotEndAngle?: number;
|
|
65
|
+
rotPriority?: Priority | undefined
|
|
53
66
|
}
|
|
54
67
|
export interface Events {
|
|
55
68
|
|
|
@@ -3,6 +3,8 @@ import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/d
|
|
|
3
3
|
import type { WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import type { Tickmark, TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
5
5
|
import type { AngleAdviceRaw } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
6
|
+
import type { ZoomToFitArcFrame } from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';
|
|
7
|
+
import type { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
6
8
|
import type { Snippet } from 'svelte';
|
|
7
9
|
export interface Props {
|
|
8
10
|
class?: string;
|
|
@@ -11,6 +13,7 @@ export interface Props {
|
|
|
11
13
|
priority?: Priority;
|
|
12
14
|
watchCircleType?: WatchCircleType;
|
|
13
15
|
northArrow?: boolean;
|
|
16
|
+
northArrowInside?: boolean | undefined;
|
|
14
17
|
angleSetpoint?: number | undefined;
|
|
15
18
|
newAngleSetpoint?: number | undefined;
|
|
16
19
|
atAngleSetpoint?: boolean;
|
|
@@ -42,6 +45,14 @@ export interface Props {
|
|
|
42
45
|
clipBottom?: number;
|
|
43
46
|
scaleWindIcon?: number;
|
|
44
47
|
rotation?: number | undefined;
|
|
48
|
+
zoomToFitArc?: boolean;
|
|
49
|
+
arcFrame?: ZoomToFitArcFrame | undefined;
|
|
50
|
+
tickFadeAngle?: number;
|
|
51
|
+
rotType?: RotType | undefined;
|
|
52
|
+
rotPosition?: RotPosition;
|
|
53
|
+
rotStartAngle?: number;
|
|
54
|
+
rotEndAngle?: number;
|
|
55
|
+
rotPriority?: Priority | undefined;
|
|
45
56
|
}
|
|
46
57
|
export interface Events {
|
|
47
58
|
}
|
|
@@ -60,6 +71,9 @@ declare const ObcWatch: import("svelte").Component<$$ComponentProps, {
|
|
|
60
71
|
Tickmark: typeof Tickmark;
|
|
61
72
|
TickmarkStyle: typeof TickmarkStyle;
|
|
62
73
|
AngleAdviceRaw: typeof AngleAdviceRaw;
|
|
74
|
+
ZoomToFitArcFrame: typeof ZoomToFitArcFrame;
|
|
75
|
+
RotType: typeof RotType;
|
|
76
|
+
RotPosition: typeof RotPosition;
|
|
63
77
|
}, "">;
|
|
64
78
|
type ObcWatch = ReturnType<typeof ObcWatch>;
|
|
65
79
|
export default ObcWatch;
|
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
export type {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
|
|
4
4
|
export type {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
5
5
|
export type {SVGTemplateResult} from 'lit';
|
|
6
|
+
export type {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
7
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
8
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';
|
|
7
9
|
import { setProperties } from "../../util.js";
|
|
8
10
|
import type {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
|
|
9
11
|
import type {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
10
12
|
import type {SVGTemplateResult} from 'lit';
|
|
13
|
+
import type {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
14
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
15
|
import type { Snippet } from 'svelte';
|
|
12
16
|
|
|
13
17
|
export interface Props {
|
|
@@ -24,7 +28,20 @@ import type {SVGTemplateResult} from 'lit';
|
|
|
24
28
|
FOVIndicator?: SVGTemplateResult[];
|
|
25
29
|
trackHeight?: number;
|
|
26
30
|
ticksHeight?: number;
|
|
27
|
-
borderRadius?: number
|
|
31
|
+
borderRadius?: number;
|
|
32
|
+
bottomBar?: boolean;
|
|
33
|
+
rotType?: RotType | undefined;
|
|
34
|
+
rotPosition?: LinearRotPosition;
|
|
35
|
+
/** Bar start position in SVG user-space x-coordinates (center-origin). Computed by the parent instrument. */
|
|
36
|
+
rotStartX?: number;
|
|
37
|
+
/** Bar end position in SVG user-space x-coordinates (center-origin). Computed by the parent instrument. */
|
|
38
|
+
rotEndX?: number;
|
|
39
|
+
/** Pixel spacing between adjacent dots in the linear ROT strip.
|
|
40
|
+
Must be > 0 to enable animation; the default `0` intentionally disables
|
|
41
|
+
the spinning dots so the parent instrument must supply a meaningful value
|
|
42
|
+
derived from the current scale (e.g. `LINEAR_DOT_ANGLE_SPACING * translationScale`). */
|
|
43
|
+
rotDotSpacing?: number;
|
|
44
|
+
rotPriority?: Priority
|
|
28
45
|
}
|
|
29
46
|
export interface Events {
|
|
30
47
|
|
|
@@ -2,6 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/wa
|
|
|
2
2
|
import type { Tickmark } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
|
|
3
3
|
import type { Label } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
4
4
|
import type { SVGTemplateResult } from 'lit';
|
|
5
|
+
import type { RotType, LinearRotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
6
|
+
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
7
|
import type { Snippet } from 'svelte';
|
|
6
8
|
export interface Props {
|
|
7
9
|
class?: string;
|
|
@@ -18,6 +20,19 @@ export interface Props {
|
|
|
18
20
|
trackHeight?: number;
|
|
19
21
|
ticksHeight?: number;
|
|
20
22
|
borderRadius?: number;
|
|
23
|
+
bottomBar?: boolean;
|
|
24
|
+
rotType?: RotType | undefined;
|
|
25
|
+
rotPosition?: LinearRotPosition;
|
|
26
|
+
/** Bar start position in SVG user-space x-coordinates (center-origin). Computed by the parent instrument. */
|
|
27
|
+
rotStartX?: number;
|
|
28
|
+
/** Bar end position in SVG user-space x-coordinates (center-origin). Computed by the parent instrument. */
|
|
29
|
+
rotEndX?: number;
|
|
30
|
+
/** Pixel spacing between adjacent dots in the linear ROT strip.
|
|
31
|
+
Must be > 0 to enable animation; the default `0` intentionally disables
|
|
32
|
+
the spinning dots so the parent instrument must supply a meaningful value
|
|
33
|
+
derived from the current scale (e.g. `LINEAR_DOT_ANGLE_SPACING * translationScale`). */
|
|
34
|
+
rotDotSpacing?: number;
|
|
35
|
+
rotPriority?: Priority;
|
|
21
36
|
}
|
|
22
37
|
export interface Events {
|
|
23
38
|
}
|
|
@@ -29,6 +44,9 @@ declare const ObcWatchFlat: import("svelte").Component<$$ComponentProps, {
|
|
|
29
44
|
Tickmark: typeof Tickmark;
|
|
30
45
|
Label: typeof Label;
|
|
31
46
|
SVGTemplateResult: typeof SVGTemplateResult;
|
|
47
|
+
RotType: typeof RotType;
|
|
48
|
+
LinearRotPosition: typeof LinearRotPosition;
|
|
49
|
+
Priority: typeof Priority;
|
|
32
50
|
}, "">;
|
|
33
51
|
type ObcWatchFlat = ReturnType<typeof ObcWatchFlat>;
|
|
34
52
|
export default ObcWatchFlat;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20260407112816",
|
|
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": "^0.0.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^0.0.20260407112816"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|