@oicl/openbridge-webcomponents-svelte 2.0.0-next.110 → 2.0.0-next.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation/indicator-battery/ObcIndicatorBattery.svelte +43 -0
- package/dist/automation/indicator-battery/ObcIndicatorBattery.svelte.d.ts +29 -0
- package/dist/automation/indicator-engine/ObcIndicatorEngine.svelte +35 -0
- package/dist/automation/indicator-engine/ObcIndicatorEngine.svelte.d.ts +22 -0
- package/dist/automation/indicator-generator/ObcIndicatorGenerator.svelte +39 -0
- package/dist/automation/indicator-generator/ObcIndicatorGenerator.svelte.d.ts +25 -0
- package/dist/automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte +43 -0
- package/dist/automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte.d.ts +29 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/navigation-instruments/compass/ObcCompass.svelte +1 -1
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +1 -1
- package/dist/navigation-instruments/current/ObcCurrent.svelte +10 -0
- package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +10 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +3 -1
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +3 -1
- package/package.json +2 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
4
|
+
export type {IndicatorBatteryVariant, IndicatorBatteryValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
|
|
5
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
|
|
6
|
+
import { setProperties } from "../../util.js";
|
|
7
|
+
import type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
8
|
+
import type {IndicatorBatteryVariant, IndicatorBatteryValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
|
|
11
|
+
export interface Props {
|
|
12
|
+
class?: string;
|
|
13
|
+
style?: string;
|
|
14
|
+
direction?: IndicatorDirection;
|
|
15
|
+
variant?: IndicatorBatteryVariant;
|
|
16
|
+
value?: IndicatorBatteryValue;
|
|
17
|
+
/** Current charge, 0-100 (%) */
|
|
18
|
+
level?: number;
|
|
19
|
+
/** History samples, 0-100 (%) each, oldest first */
|
|
20
|
+
data?: number[];
|
|
21
|
+
hasIcon?: boolean
|
|
22
|
+
}
|
|
23
|
+
export interface Events {
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
export interface Slots {
|
|
27
|
+
icon?: Snippet
|
|
28
|
+
}
|
|
29
|
+
const { class: className, style, icon, ...props} = $props<Props & Events & Slots>();
|
|
30
|
+
|
|
31
|
+
</script>
|
|
32
|
+
<obc-indicator-battery
|
|
33
|
+
use:setProperties={props}
|
|
34
|
+
class={className}
|
|
35
|
+
style={style}
|
|
36
|
+
>
|
|
37
|
+
|
|
38
|
+
{#if icon}
|
|
39
|
+
<div slot="icon">
|
|
40
|
+
{@render icon()}
|
|
41
|
+
</div>
|
|
42
|
+
{/if}
|
|
43
|
+
</obc-indicator-battery>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
|
|
2
|
+
import type { IndicatorDirection } from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
3
|
+
import type { IndicatorBatteryVariant, IndicatorBatteryValue } from '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
|
|
4
|
+
import type { Snippet } from 'svelte';
|
|
5
|
+
export interface Props {
|
|
6
|
+
class?: string;
|
|
7
|
+
style?: string;
|
|
8
|
+
direction?: IndicatorDirection;
|
|
9
|
+
variant?: IndicatorBatteryVariant;
|
|
10
|
+
value?: IndicatorBatteryValue;
|
|
11
|
+
/** Current charge, 0-100 (%) */
|
|
12
|
+
level?: number;
|
|
13
|
+
/** History samples, 0-100 (%) each, oldest first */
|
|
14
|
+
data?: number[];
|
|
15
|
+
hasIcon?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface Events {
|
|
18
|
+
}
|
|
19
|
+
export interface Slots {
|
|
20
|
+
icon?: Snippet;
|
|
21
|
+
}
|
|
22
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
23
|
+
declare const ObcIndicatorBattery: import("svelte").Component<$$ComponentProps, {
|
|
24
|
+
IndicatorDirection: typeof IndicatorDirection;
|
|
25
|
+
IndicatorBatteryVariant: typeof IndicatorBatteryVariant;
|
|
26
|
+
IndicatorBatteryValue: typeof IndicatorBatteryValue;
|
|
27
|
+
}, "">;
|
|
28
|
+
type ObcIndicatorBattery = ReturnType<typeof ObcIndicatorBattery>;
|
|
29
|
+
export default ObcIndicatorBattery;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {IndicatorEngineValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-engine/indicator-engine.js';
|
|
4
|
+
export type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
5
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-engine/indicator-engine.js';
|
|
6
|
+
import { setProperties } from "../../util.js";
|
|
7
|
+
import type {IndicatorEngineValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-engine/indicator-engine.js';
|
|
8
|
+
import type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
|
|
11
|
+
export interface Props {
|
|
12
|
+
class?: string;
|
|
13
|
+
style?: string;
|
|
14
|
+
value?: IndicatorEngineValue;
|
|
15
|
+
direction?: IndicatorDirection
|
|
16
|
+
}
|
|
17
|
+
export interface Events {
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
export interface Slots {
|
|
21
|
+
children?: Snippet
|
|
22
|
+
}
|
|
23
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
24
|
+
|
|
25
|
+
</script>
|
|
26
|
+
<obc-indicator-engine
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
</obc-indicator-engine>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-engine/indicator-engine.js';
|
|
2
|
+
import type { IndicatorEngineValue } from '@oicl/openbridge-webcomponents/dist/automation/indicator-engine/indicator-engine.js';
|
|
3
|
+
import type { IndicatorDirection } from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
4
|
+
import type { Snippet } from 'svelte';
|
|
5
|
+
export interface Props {
|
|
6
|
+
class?: string;
|
|
7
|
+
style?: string;
|
|
8
|
+
value?: IndicatorEngineValue;
|
|
9
|
+
direction?: IndicatorDirection;
|
|
10
|
+
}
|
|
11
|
+
export interface Events {
|
|
12
|
+
}
|
|
13
|
+
export interface Slots {
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
+
declare const ObcIndicatorEngine: import("svelte").Component<$$ComponentProps, {
|
|
18
|
+
IndicatorEngineValue: typeof IndicatorEngineValue;
|
|
19
|
+
IndicatorDirection: typeof IndicatorDirection;
|
|
20
|
+
}, "">;
|
|
21
|
+
type ObcIndicatorEngine = ReturnType<typeof ObcIndicatorEngine>;
|
|
22
|
+
export default ObcIndicatorEngine;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {IndicatorGeneratorVariant, IndicatorGeneratorValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {IndicatorGeneratorVariant, IndicatorGeneratorValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
variant?: IndicatorGeneratorVariant;
|
|
13
|
+
value?: IndicatorGeneratorValue;
|
|
14
|
+
/** Outer progress ring sweep, 0-100 (%) */
|
|
15
|
+
level?: number;
|
|
16
|
+
/** Inner progress ring sweep, 0-100 (%), double-bar only */
|
|
17
|
+
secondaryLevel?: number
|
|
18
|
+
}
|
|
19
|
+
export interface Events {
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
export interface Slots {
|
|
23
|
+
icon?: Snippet
|
|
24
|
+
}
|
|
25
|
+
const { class: className, style, icon, ...props} = $props<Props & Events & Slots>();
|
|
26
|
+
|
|
27
|
+
</script>
|
|
28
|
+
<obc-indicator-generator
|
|
29
|
+
use:setProperties={props}
|
|
30
|
+
class={className}
|
|
31
|
+
style={style}
|
|
32
|
+
>
|
|
33
|
+
|
|
34
|
+
{#if icon}
|
|
35
|
+
<div slot="icon">
|
|
36
|
+
{@render icon()}
|
|
37
|
+
</div>
|
|
38
|
+
{/if}
|
|
39
|
+
</obc-indicator-generator>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
|
|
2
|
+
import type { IndicatorGeneratorVariant, IndicatorGeneratorValue } from '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
variant?: IndicatorGeneratorVariant;
|
|
8
|
+
value?: IndicatorGeneratorValue;
|
|
9
|
+
/** Outer progress ring sweep, 0-100 (%) */
|
|
10
|
+
level?: number;
|
|
11
|
+
/** Inner progress ring sweep, 0-100 (%), double-bar only */
|
|
12
|
+
secondaryLevel?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
}
|
|
16
|
+
export interface Slots {
|
|
17
|
+
icon?: Snippet;
|
|
18
|
+
}
|
|
19
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
20
|
+
declare const ObcIndicatorGenerator: import("svelte").Component<$$ComponentProps, {
|
|
21
|
+
IndicatorGeneratorVariant: typeof IndicatorGeneratorVariant;
|
|
22
|
+
IndicatorGeneratorValue: typeof IndicatorGeneratorValue;
|
|
23
|
+
}, "">;
|
|
24
|
+
type ObcIndicatorGenerator = ReturnType<typeof ObcIndicatorGenerator>;
|
|
25
|
+
export default ObcIndicatorGenerator;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
4
|
+
export type {IndicatorTankAtmosphericVariant, IndicatorTankAtmosphericValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
|
|
5
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
|
|
6
|
+
import { setProperties } from "../../util.js";
|
|
7
|
+
import type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
8
|
+
import type {IndicatorTankAtmosphericVariant, IndicatorTankAtmosphericValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
|
|
11
|
+
export interface Props {
|
|
12
|
+
class?: string;
|
|
13
|
+
style?: string;
|
|
14
|
+
direction?: IndicatorDirection;
|
|
15
|
+
variant?: IndicatorTankAtmosphericVariant;
|
|
16
|
+
value?: IndicatorTankAtmosphericValue;
|
|
17
|
+
/** Current level, 0-100 (%) */
|
|
18
|
+
level?: number;
|
|
19
|
+
/** History samples, 0-100 (%) each, oldest first */
|
|
20
|
+
data?: number[];
|
|
21
|
+
hasIcon?: boolean
|
|
22
|
+
}
|
|
23
|
+
export interface Events {
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
export interface Slots {
|
|
27
|
+
icon?: Snippet
|
|
28
|
+
}
|
|
29
|
+
const { class: className, style, icon, ...props} = $props<Props & Events & Slots>();
|
|
30
|
+
|
|
31
|
+
</script>
|
|
32
|
+
<obc-indicator-tank-atmospheric
|
|
33
|
+
use:setProperties={props}
|
|
34
|
+
class={className}
|
|
35
|
+
style={style}
|
|
36
|
+
>
|
|
37
|
+
|
|
38
|
+
{#if icon}
|
|
39
|
+
<div slot="icon">
|
|
40
|
+
{@render icon()}
|
|
41
|
+
</div>
|
|
42
|
+
{/if}
|
|
43
|
+
</obc-indicator-tank-atmospheric>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
|
|
2
|
+
import type { IndicatorDirection } from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
|
|
3
|
+
import type { IndicatorTankAtmosphericVariant, IndicatorTankAtmosphericValue } from '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
|
|
4
|
+
import type { Snippet } from 'svelte';
|
|
5
|
+
export interface Props {
|
|
6
|
+
class?: string;
|
|
7
|
+
style?: string;
|
|
8
|
+
direction?: IndicatorDirection;
|
|
9
|
+
variant?: IndicatorTankAtmosphericVariant;
|
|
10
|
+
value?: IndicatorTankAtmosphericValue;
|
|
11
|
+
/** Current level, 0-100 (%) */
|
|
12
|
+
level?: number;
|
|
13
|
+
/** History samples, 0-100 (%) each, oldest first */
|
|
14
|
+
data?: number[];
|
|
15
|
+
hasIcon?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface Events {
|
|
18
|
+
}
|
|
19
|
+
export interface Slots {
|
|
20
|
+
icon?: Snippet;
|
|
21
|
+
}
|
|
22
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
23
|
+
declare const ObcIndicatorTankAtmospheric: import("svelte").Component<$$ComponentProps, {
|
|
24
|
+
IndicatorDirection: typeof IndicatorDirection;
|
|
25
|
+
IndicatorTankAtmosphericVariant: typeof IndicatorTankAtmosphericVariant;
|
|
26
|
+
IndicatorTankAtmosphericValue: typeof IndicatorTankAtmosphericValue;
|
|
27
|
+
}, "">;
|
|
28
|
+
type ObcIndicatorTankAtmospheric = ReturnType<typeof ObcIndicatorTankAtmospheric>;
|
|
29
|
+
export default ObcIndicatorTankAtmospheric;
|
package/dist/index.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ export { default as ObcFan } from './automation/fan/ObcFan.svelte';
|
|
|
48
48
|
export { default as ObcFilter } from './automation/filter/ObcFilter.svelte';
|
|
49
49
|
export { default as ObcGround } from './automation/ground/ObcGround.svelte';
|
|
50
50
|
export { default as ObcHorizontalLine } from './automation/horizontal-line/ObcHorizontalLine.svelte';
|
|
51
|
+
export { default as ObcIndicatorBattery } from './automation/indicator-battery/ObcIndicatorBattery.svelte';
|
|
52
|
+
export { default as ObcIndicatorEngine } from './automation/indicator-engine/ObcIndicatorEngine.svelte';
|
|
53
|
+
export { default as ObcIndicatorGenerator } from './automation/indicator-generator/ObcIndicatorGenerator.svelte';
|
|
54
|
+
export { default as ObcIndicatorTankAtmospheric } from './automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte';
|
|
51
55
|
export { default as ObcLineCross } from './automation/line-cross/ObcLineCross.svelte';
|
|
52
56
|
export { default as ObcLineOverlap } from './automation/line-overlap/ObcLineOverlap.svelte';
|
|
53
57
|
export { default as ObcLogic } from './automation/logic/ObcLogic.svelte';
|
package/dist/index.js
CHANGED
|
@@ -48,6 +48,10 @@ export { default as ObcFan } from './automation/fan/ObcFan.svelte';
|
|
|
48
48
|
export { default as ObcFilter } from './automation/filter/ObcFilter.svelte';
|
|
49
49
|
export { default as ObcGround } from './automation/ground/ObcGround.svelte';
|
|
50
50
|
export { default as ObcHorizontalLine } from './automation/horizontal-line/ObcHorizontalLine.svelte';
|
|
51
|
+
export { default as ObcIndicatorBattery } from './automation/indicator-battery/ObcIndicatorBattery.svelte';
|
|
52
|
+
export { default as ObcIndicatorEngine } from './automation/indicator-engine/ObcIndicatorEngine.svelte';
|
|
53
|
+
export { default as ObcIndicatorGenerator } from './automation/indicator-generator/ObcIndicatorGenerator.svelte';
|
|
54
|
+
export { default as ObcIndicatorTankAtmospheric } from './automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte';
|
|
51
55
|
export { default as ObcLineCross } from './automation/line-cross/ObcLineCross.svelte';
|
|
52
56
|
export { default as ObcLineOverlap } from './automation/line-overlap/ObcLineOverlap.svelte';
|
|
53
57
|
export { default as ObcLogic } from './automation/logic/ObcLogic.svelte';
|
|
@@ -94,7 +94,7 @@ rotMaxValue?: number;
|
|
|
94
94
|
/** Color priority: `Priority.enhanced` uses the blue/enhanced color palette, `Priority.regular` (default) uses the standard palette. */
|
|
95
95
|
priority?: Priority;
|
|
96
96
|
priorityElements?: CompassPriorityElement[];
|
|
97
|
-
/** Show compass NSEW labels
|
|
97
|
+
/** Show compass NSEW labels. The north arrow is always shown, independent of this flag. */
|
|
98
98
|
showLabels?: boolean;
|
|
99
99
|
/** When true, labels and north arrow are placed inside the outer ring. */
|
|
100
100
|
tickmarksInside?: boolean;
|
|
@@ -84,7 +84,7 @@ the physical ROT API was introduced. */
|
|
|
84
84
|
/** Color priority: `Priority.enhanced` uses the blue/enhanced color palette, `Priority.regular` (default) uses the standard palette. */
|
|
85
85
|
priority?: Priority;
|
|
86
86
|
priorityElements?: CompassPriorityElement[];
|
|
87
|
-
/** Show compass NSEW labels
|
|
87
|
+
/** Show compass NSEW labels. The north arrow is always shown, independent of this flag. */
|
|
88
88
|
showLabels?: boolean;
|
|
89
89
|
/** When true, labels and north arrow are placed inside the outer ring. */
|
|
90
90
|
tickmarksInside?: boolean;
|
|
@@ -22,6 +22,16 @@ currentSpeed?: number | null;
|
|
|
22
22
|
currentFromDirection?: number | null;
|
|
23
23
|
/** Color priority: `Priority.enhanced` uses the blue/enhanced palette (default: `Priority.regular`). */
|
|
24
24
|
priority?: Priority;
|
|
25
|
+
/** Show the force-graphics band pattern behind the watch face. */
|
|
26
|
+
hasPattern?: boolean;
|
|
27
|
+
/** Wavelength of the pattern bands as a multiplier on the design spacing
|
|
28
|
+
(1 = design, 0.5 = twice as dense). */
|
|
29
|
+
waveLength?: number;
|
|
30
|
+
/** Wave intensity: the peak opacity the pattern bands fade up to (0–1). */
|
|
31
|
+
waveHeight?: number;
|
|
32
|
+
/** Drift speed of the pattern in wavelengths per second, moving with the
|
|
33
|
+
flow (negative drifts against it); 0 keeps the pattern static. */
|
|
34
|
+
waveSpeed?: number;
|
|
25
35
|
/** The image of the vessel. */
|
|
26
36
|
vesselImage?: VesselImage;
|
|
27
37
|
/** Vessel heading in degrees. */
|
|
@@ -15,6 +15,16 @@ rounded and clamped. `null` hides the icon. */
|
|
|
15
15
|
currentFromDirection?: number | null;
|
|
16
16
|
/** Color priority: `Priority.enhanced` uses the blue/enhanced palette (default: `Priority.regular`). */
|
|
17
17
|
priority?: Priority;
|
|
18
|
+
/** Show the force-graphics band pattern behind the watch face. */
|
|
19
|
+
hasPattern?: boolean;
|
|
20
|
+
/** Wavelength of the pattern bands as a multiplier on the design spacing
|
|
21
|
+
(1 = design, 0.5 = twice as dense). */
|
|
22
|
+
waveLength?: number;
|
|
23
|
+
/** Wave intensity: the peak opacity the pattern bands fade up to (0–1). */
|
|
24
|
+
waveHeight?: number;
|
|
25
|
+
/** Drift speed of the pattern in wavelengths per second, moving with the
|
|
26
|
+
flow (negative drifts against it); 0 keeps the pattern static. */
|
|
27
|
+
waveSpeed?: number;
|
|
18
28
|
/** The image of the vessel. */
|
|
19
29
|
vesselImage?: VesselImage;
|
|
20
30
|
/** Vessel heading in degrees. */
|
|
@@ -29,7 +29,9 @@ rotDotAnimationFactor?: number;
|
|
|
29
29
|
/** When `true`, shows a bar in the ring band from the twelve o'clock
|
|
30
30
|
position to the measured rate of turn, with a needle marker at its end
|
|
31
31
|
and sector tickmarks. Pairs with `watchCircleType="double"` for the
|
|
32
|
-
banded face
|
|
32
|
+
banded face — or `"triple"` when `rotPosition` is `innerCircle`, so the
|
|
33
|
+
dots get their inner track too. Driven by `rateOfTurnDegreesPerMinute`
|
|
34
|
+
only. */
|
|
33
35
|
hasTrackBar?: boolean;
|
|
34
36
|
/** Bar-extent reference value in **degrees per minute**: the track bar
|
|
35
37
|
reaches ±`rotArcExtent` when the measured ROT equals ±`rotMaxValue`.
|
|
@@ -23,7 +23,9 @@ keeps the legacy visual feel (≈1 rpm at 20°/min). */
|
|
|
23
23
|
/** When `true`, shows a bar in the ring band from the twelve o'clock
|
|
24
24
|
position to the measured rate of turn, with a needle marker at its end
|
|
25
25
|
and sector tickmarks. Pairs with `watchCircleType="double"` for the
|
|
26
|
-
banded face
|
|
26
|
+
banded face — or `"triple"` when `rotPosition` is `innerCircle`, so the
|
|
27
|
+
dots get their inner track too. Driven by `rateOfTurnDegreesPerMinute`
|
|
28
|
+
only. */
|
|
27
29
|
hasTrackBar?: boolean;
|
|
28
30
|
/** Bar-extent reference value in **degrees per minute**: the track bar
|
|
29
31
|
reaches ±`rotArcExtent` when the measured ROT equals ±`rotMaxValue`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.112",
|
|
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.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.111"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|