@oicl/openbridge-webcomponents-svelte 2.0.0-next.27 → 2.0.0-next.28
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/index.d.ts +12 -0
- package/dist/index.js +12 -0
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +4 -4
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +3 -6
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +17 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +19 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +17 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +17 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +36 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +17 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +1 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +1 -0
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +19 -0
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +3 -1
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +2 -0
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +16 -6
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +15 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2158,22 +2158,34 @@ export { default as ObcCompassFlat } from './navigation-instruments/compass-flat
|
|
|
2158
2158
|
export { default as ObcCompassIndicator } from './navigation-instruments/compass-indicator/ObcCompassIndicator.svelte';
|
|
2159
2159
|
export { default as ObcCompassSector } from './navigation-instruments/compass-sector/ObcCompassSector.svelte';
|
|
2160
2160
|
export { default as ObcDepthActual } from './navigation-instruments/depth-actual/ObcDepthActual.svelte';
|
|
2161
|
+
export { default as ObcDepthIndicator } from './navigation-instruments/depth-indicator/ObcDepthIndicator.svelte';
|
|
2162
|
+
export { default as ObcGaugeBarIndicator } from './navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte';
|
|
2161
2163
|
export { default as ObcGaugeHorizontal } from './navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte';
|
|
2162
2164
|
export { default as ObcGaugeRadial } from './navigation-instruments/gauge-radial/ObcGaugeRadial.svelte';
|
|
2165
|
+
export { default as ObcGaugeRadialIndicator } from './navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte';
|
|
2163
2166
|
export { default as ObcGaugeTrend } from './navigation-instruments/gauge-trend/ObcGaugeTrend.svelte';
|
|
2167
|
+
export { default as ObcGaugeTrendIndicator } from './navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte';
|
|
2164
2168
|
export { default as ObcGaugeVertical } from './navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte';
|
|
2165
2169
|
export { default as ObcGraphMini } from './navigation-instruments/graph-mini/ObcGraphMini.svelte';
|
|
2166
2170
|
export { default as ObcHeading } from './navigation-instruments/heading/ObcHeading.svelte';
|
|
2171
|
+
export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
|
|
2167
2172
|
export { default as ObcHeave } from './navigation-instruments/heave/ObcHeave.svelte';
|
|
2173
|
+
export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
|
|
2168
2174
|
export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
|
|
2169
2175
|
export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
|
|
2176
|
+
export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
|
|
2170
2177
|
export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.svelte';
|
|
2178
|
+
export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
|
|
2171
2179
|
export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
|
|
2180
|
+
export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
|
|
2181
|
+
export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
|
|
2172
2182
|
export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
|
|
2173
2183
|
export { default as ObcRoll } from './navigation-instruments/roll/ObcRoll.svelte';
|
|
2184
|
+
export { default as ObcRollIndicator } from './navigation-instruments/roll-indicator/ObcRollIndicator.svelte';
|
|
2174
2185
|
export { default as ObcRotIndicator } from './navigation-instruments/rot-indicator/ObcRotIndicator.svelte';
|
|
2175
2186
|
export { default as ObcRotSector } from './navigation-instruments/rot-sector/ObcRotSector.svelte';
|
|
2176
2187
|
export { default as ObcRudder } from './navigation-instruments/rudder/ObcRudder.svelte';
|
|
2188
|
+
export { default as ObcRudderIndicator } from './navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte';
|
|
2177
2189
|
export { default as ObcSpeedArrows } from './navigation-instruments/speed-arrows/ObcSpeedArrows.svelte';
|
|
2178
2190
|
export { default as ObcSpeedGauge } from './navigation-instruments/speed-gauge/ObcSpeedGauge.svelte';
|
|
2179
2191
|
export { default as ObcSpeedIndicator } from './navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte';
|
package/dist/index.js
CHANGED
|
@@ -2158,22 +2158,34 @@ export { default as ObcCompassFlat } from './navigation-instruments/compass-flat
|
|
|
2158
2158
|
export { default as ObcCompassIndicator } from './navigation-instruments/compass-indicator/ObcCompassIndicator.svelte';
|
|
2159
2159
|
export { default as ObcCompassSector } from './navigation-instruments/compass-sector/ObcCompassSector.svelte';
|
|
2160
2160
|
export { default as ObcDepthActual } from './navigation-instruments/depth-actual/ObcDepthActual.svelte';
|
|
2161
|
+
export { default as ObcDepthIndicator } from './navigation-instruments/depth-indicator/ObcDepthIndicator.svelte';
|
|
2162
|
+
export { default as ObcGaugeBarIndicator } from './navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte';
|
|
2161
2163
|
export { default as ObcGaugeHorizontal } from './navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte';
|
|
2162
2164
|
export { default as ObcGaugeRadial } from './navigation-instruments/gauge-radial/ObcGaugeRadial.svelte';
|
|
2165
|
+
export { default as ObcGaugeRadialIndicator } from './navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte';
|
|
2163
2166
|
export { default as ObcGaugeTrend } from './navigation-instruments/gauge-trend/ObcGaugeTrend.svelte';
|
|
2167
|
+
export { default as ObcGaugeTrendIndicator } from './navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte';
|
|
2164
2168
|
export { default as ObcGaugeVertical } from './navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte';
|
|
2165
2169
|
export { default as ObcGraphMini } from './navigation-instruments/graph-mini/ObcGraphMini.svelte';
|
|
2166
2170
|
export { default as ObcHeading } from './navigation-instruments/heading/ObcHeading.svelte';
|
|
2171
|
+
export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
|
|
2167
2172
|
export { default as ObcHeave } from './navigation-instruments/heave/ObcHeave.svelte';
|
|
2173
|
+
export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
|
|
2168
2174
|
export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
|
|
2169
2175
|
export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
|
|
2176
|
+
export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
|
|
2170
2177
|
export { default as ObcPitch } from './navigation-instruments/pitch/ObcPitch.svelte';
|
|
2178
|
+
export { default as ObcPitchIndicator } from './navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte';
|
|
2171
2179
|
export { default as ObcPitchRoll } from './navigation-instruments/pitch-roll/ObcPitchRoll.svelte';
|
|
2180
|
+
export { default as ObcPropulsionAzimuthIndicator } from './navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte';
|
|
2181
|
+
export { default as ObcTunnelThruster } from './navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte';
|
|
2172
2182
|
export { default as ObcRateOfTurn } from './navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte';
|
|
2173
2183
|
export { default as ObcRoll } from './navigation-instruments/roll/ObcRoll.svelte';
|
|
2184
|
+
export { default as ObcRollIndicator } from './navigation-instruments/roll-indicator/ObcRollIndicator.svelte';
|
|
2174
2185
|
export { default as ObcRotIndicator } from './navigation-instruments/rot-indicator/ObcRotIndicator.svelte';
|
|
2175
2186
|
export { default as ObcRotSector } from './navigation-instruments/rot-sector/ObcRotSector.svelte';
|
|
2176
2187
|
export { default as ObcRudder } from './navigation-instruments/rudder/ObcRudder.svelte';
|
|
2188
|
+
export { default as ObcRudderIndicator } from './navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte';
|
|
2177
2189
|
export { default as ObcSpeedArrows } from './navigation-instruments/speed-arrows/ObcSpeedArrows.svelte';
|
|
2178
2190
|
export { default as ObcSpeedGauge } from './navigation-instruments/speed-gauge/ObcSpeedGauge.svelte';
|
|
2179
2191
|
export { default as ObcSpeedIndicator } from './navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
|
|
6
|
+
|
|
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
|
-
|
|
14
|
-
|
|
13
|
+
type?: string;
|
|
14
|
+
direction?: string
|
|
15
15
|
}
|
|
16
16
|
export interface Events {
|
|
17
17
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
|
|
2
|
-
import type { CompassIndicatorArrow } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
|
|
3
2
|
import type { Snippet } from 'svelte';
|
|
4
3
|
export interface Props {
|
|
5
4
|
class?: string;
|
|
6
5
|
style?: string;
|
|
7
6
|
angle?: number;
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
type?: string;
|
|
8
|
+
direction?: string;
|
|
10
9
|
}
|
|
11
10
|
export interface Events {
|
|
12
11
|
}
|
|
@@ -14,8 +13,6 @@ export interface Slots {
|
|
|
14
13
|
children?: Snippet;
|
|
15
14
|
}
|
|
16
15
|
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
-
declare const ObcCompassIndicator: import("svelte").Component<$$ComponentProps, {
|
|
18
|
-
CompassIndicatorArrow: typeof CompassIndicatorArrow;
|
|
19
|
-
}, "">;
|
|
16
|
+
declare const ObcCompassIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
20
17
|
type ObcCompassIndicator = ReturnType<typeof ObcCompassIndicator>;
|
|
21
18
|
export default ObcCompassIndicator;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
variant?: string;
|
|
13
|
+
values?: number[]
|
|
14
|
+
}
|
|
15
|
+
export interface Events {
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
export interface Slots {
|
|
19
|
+
children?: Snippet
|
|
20
|
+
}
|
|
21
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<obc-depth-indicator
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
class={className}
|
|
27
|
+
style={style}
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
{#if children}
|
|
31
|
+
{@render children()}
|
|
32
|
+
{/if}
|
|
33
|
+
</obc-depth-indicator>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-indicator/depth-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
variant?: string;
|
|
7
|
+
values?: number[];
|
|
8
|
+
}
|
|
9
|
+
export interface Events {
|
|
10
|
+
}
|
|
11
|
+
export interface Slots {
|
|
12
|
+
children?: Snippet;
|
|
13
|
+
}
|
|
14
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
15
|
+
declare const ObcDepthIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
16
|
+
type ObcDepthIndicator = ReturnType<typeof ObcDepthIndicator>;
|
|
17
|
+
export default ObcDepthIndicator;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-bar-indicator/gauge-bar-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
value?: number;
|
|
13
|
+
direction?: string;
|
|
14
|
+
type?: string
|
|
15
|
+
}
|
|
16
|
+
export interface Events {
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
export interface Slots {
|
|
20
|
+
children?: Snippet
|
|
21
|
+
}
|
|
22
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
23
|
+
|
|
24
|
+
</script>
|
|
25
|
+
<obc-gauge-bar-indicator
|
|
26
|
+
use:setProperties={props}
|
|
27
|
+
class={className}
|
|
28
|
+
style={style}
|
|
29
|
+
>
|
|
30
|
+
|
|
31
|
+
{#if children}
|
|
32
|
+
{@render children()}
|
|
33
|
+
{/if}
|
|
34
|
+
</obc-gauge-bar-indicator>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-bar-indicator/gauge-bar-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
value?: number;
|
|
7
|
+
direction?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface Events {
|
|
11
|
+
}
|
|
12
|
+
export interface Slots {
|
|
13
|
+
children?: Snippet;
|
|
14
|
+
}
|
|
15
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
16
|
+
declare const ObcGaugeBarIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
17
|
+
type ObcGaugeBarIndicator = ReturnType<typeof ObcGaugeBarIndicator>;
|
|
18
|
+
export default ObcGaugeBarIndicator;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {GaugeRadialIndicatorStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {GaugeRadialIndicatorStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
value?: number;
|
|
13
|
+
minValue?: number;
|
|
14
|
+
maxValue?: number;
|
|
15
|
+
sector?: number;
|
|
16
|
+
styleType?: GaugeRadialIndicatorStyle;
|
|
17
|
+
icon?: string;
|
|
18
|
+
hasIcon?: boolean
|
|
19
|
+
}
|
|
20
|
+
export interface Events {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
export interface Slots {
|
|
24
|
+
iconSnippet?: Snippet
|
|
25
|
+
}
|
|
26
|
+
const { class: className, style, iconSnippet, ...props} = $props<Props & Events & Slots>();
|
|
27
|
+
|
|
28
|
+
</script>
|
|
29
|
+
<obc-gauge-radial-indicator
|
|
30
|
+
use:setProperties={props}
|
|
31
|
+
class={className}
|
|
32
|
+
style={style}
|
|
33
|
+
>
|
|
34
|
+
|
|
35
|
+
{#if iconSnippet}
|
|
36
|
+
<div slot="icon">
|
|
37
|
+
{@render iconSnippet()}
|
|
38
|
+
</div>
|
|
39
|
+
{/if}
|
|
40
|
+
</obc-gauge-radial-indicator>
|
package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
|
|
2
|
+
import type { GaugeRadialIndicatorStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial-indicator/gauge-radial-indicator.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
value?: number;
|
|
8
|
+
minValue?: number;
|
|
9
|
+
maxValue?: number;
|
|
10
|
+
sector?: number;
|
|
11
|
+
styleType?: GaugeRadialIndicatorStyle;
|
|
12
|
+
icon?: string;
|
|
13
|
+
hasIcon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface Events {
|
|
16
|
+
}
|
|
17
|
+
export interface Slots {
|
|
18
|
+
iconSnippet?: Snippet;
|
|
19
|
+
}
|
|
20
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
21
|
+
declare const ObcGaugeRadialIndicator: import("svelte").Component<$$ComponentProps, {
|
|
22
|
+
GaugeRadialIndicatorStyle: typeof GaugeRadialIndicatorStyle;
|
|
23
|
+
}, "">;
|
|
24
|
+
type ObcGaugeRadialIndicator = ReturnType<typeof ObcGaugeRadialIndicator>;
|
|
25
|
+
export default ObcGaugeRadialIndicator;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
data?: number[];
|
|
14
|
+
minValue?: number;
|
|
15
|
+
maxValue?: number;
|
|
16
|
+
chartMinValue?: number | undefined;
|
|
17
|
+
chartMaxValue?: number | undefined;
|
|
18
|
+
value?: number | undefined
|
|
19
|
+
}
|
|
20
|
+
export interface Events {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
export interface Slots {
|
|
24
|
+
children?: Snippet
|
|
25
|
+
}
|
|
26
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
27
|
+
|
|
28
|
+
</script>
|
|
29
|
+
<obc-gauge-trend-indicator
|
|
30
|
+
use:setProperties={props}
|
|
31
|
+
class={className}
|
|
32
|
+
style={style}
|
|
33
|
+
>
|
|
34
|
+
|
|
35
|
+
{#if children}
|
|
36
|
+
{@render children()}
|
|
37
|
+
{/if}
|
|
38
|
+
</obc-gauge-trend-indicator>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend-indicator/gauge-trend-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
data?: number[];
|
|
8
|
+
minValue?: number;
|
|
9
|
+
maxValue?: number;
|
|
10
|
+
chartMinValue?: number | undefined;
|
|
11
|
+
chartMaxValue?: number | undefined;
|
|
12
|
+
value?: number | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
}
|
|
16
|
+
export interface Slots {
|
|
17
|
+
children?: Snippet;
|
|
18
|
+
}
|
|
19
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
20
|
+
declare const ObcGaugeTrendIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
21
|
+
type ObcGaugeTrendIndicator = ReturnType<typeof ObcGaugeTrendIndicator>;
|
|
22
|
+
export default ObcGaugeTrendIndicator;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
angle?: number;
|
|
14
|
+
/** Cross-track deviation in the range [-1, 1]. */
|
|
15
|
+
xtd?: number
|
|
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-heading-indicator
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
</obc-heading-indicator>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading-indicator/heading-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
angle?: number;
|
|
8
|
+
/** Cross-track deviation in the range [-1, 1]. */
|
|
9
|
+
xtd?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface Events {
|
|
12
|
+
}
|
|
13
|
+
export interface Slots {
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
+
declare const ObcHeadingIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
18
|
+
type ObcHeadingIndicator = ReturnType<typeof ObcHeadingIndicator>;
|
|
19
|
+
export default ObcHeadingIndicator;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
value?: number
|
|
14
|
+
}
|
|
15
|
+
export interface Events {
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
export interface Slots {
|
|
19
|
+
children?: Snippet
|
|
20
|
+
}
|
|
21
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<obc-heave-indicator
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
class={className}
|
|
27
|
+
style={style}
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
{#if children}
|
|
31
|
+
{@render children()}
|
|
32
|
+
{/if}
|
|
33
|
+
</obc-heave-indicator>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave-indicator/heave-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
value?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface Events {
|
|
10
|
+
}
|
|
11
|
+
export interface Slots {
|
|
12
|
+
children?: Snippet;
|
|
13
|
+
}
|
|
14
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
15
|
+
declare const ObcHeaveIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
16
|
+
type ObcHeaveIndicator = ReturnType<typeof ObcHeaveIndicator>;
|
|
17
|
+
export default ObcHeaveIndicator;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
pitchValue?: number;
|
|
13
|
+
rpmValue?: number;
|
|
14
|
+
thrust?: number;
|
|
15
|
+
speed?: number;
|
|
16
|
+
state?: string;
|
|
17
|
+
priority?: string;
|
|
18
|
+
hasSilhouette?: boolean
|
|
19
|
+
}
|
|
20
|
+
export interface Events {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
export interface Slots {
|
|
24
|
+
children?: Snippet
|
|
25
|
+
}
|
|
26
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
27
|
+
|
|
28
|
+
</script>
|
|
29
|
+
<obc-main-engine-indicator
|
|
30
|
+
use:setProperties={props}
|
|
31
|
+
class={className}
|
|
32
|
+
style={style}
|
|
33
|
+
>
|
|
34
|
+
|
|
35
|
+
{#if children}
|
|
36
|
+
{@render children()}
|
|
37
|
+
{/if}
|
|
38
|
+
</obc-main-engine-indicator>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
pitchValue?: number;
|
|
7
|
+
rpmValue?: number;
|
|
8
|
+
thrust?: number;
|
|
9
|
+
speed?: number;
|
|
10
|
+
state?: string;
|
|
11
|
+
priority?: string;
|
|
12
|
+
hasSilhouette?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
}
|
|
16
|
+
export interface Slots {
|
|
17
|
+
children?: Snippet;
|
|
18
|
+
}
|
|
19
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
20
|
+
declare const ObcMainEngineIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
21
|
+
type ObcMainEngineIndicator = ReturnType<typeof ObcMainEngineIndicator>;
|
|
22
|
+
export default ObcMainEngineIndicator;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
value?: number
|
|
14
|
+
}
|
|
15
|
+
export interface Events {
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
export interface Slots {
|
|
19
|
+
children?: Snippet
|
|
20
|
+
}
|
|
21
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<obc-pitch-indicator
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
class={className}
|
|
27
|
+
style={style}
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
{#if children}
|
|
31
|
+
{@render children()}
|
|
32
|
+
{/if}
|
|
33
|
+
</obc-pitch-indicator>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-indicator/pitch-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
value?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface Events {
|
|
10
|
+
}
|
|
11
|
+
export interface Slots {
|
|
12
|
+
children?: Snippet;
|
|
13
|
+
}
|
|
14
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
15
|
+
declare const ObcPitchIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
16
|
+
type ObcPitchIndicator = ReturnType<typeof ObcPitchIndicator>;
|
|
17
|
+
export default ObcPitchIndicator;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
hasSilhouette?: boolean;
|
|
14
|
+
azimuth?: number;
|
|
15
|
+
value?: number;
|
|
16
|
+
state?: string
|
|
17
|
+
}
|
|
18
|
+
export interface Events {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
export interface Slots {
|
|
22
|
+
children?: Snippet
|
|
23
|
+
}
|
|
24
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
25
|
+
|
|
26
|
+
</script>
|
|
27
|
+
<obc-propulsion-azimuth-indicator
|
|
28
|
+
use:setProperties={props}
|
|
29
|
+
class={className}
|
|
30
|
+
style={style}
|
|
31
|
+
>
|
|
32
|
+
|
|
33
|
+
{#if children}
|
|
34
|
+
{@render children()}
|
|
35
|
+
{/if}
|
|
36
|
+
</obc-propulsion-azimuth-indicator>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-azimuth-indicator/propulsion-azimuth-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
hasSilhouette?: boolean;
|
|
8
|
+
azimuth?: number;
|
|
9
|
+
value?: number;
|
|
10
|
+
state?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Events {
|
|
13
|
+
}
|
|
14
|
+
export interface Slots {
|
|
15
|
+
children?: Snippet;
|
|
16
|
+
}
|
|
17
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
18
|
+
declare const ObcPropulsionAzimuthIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
19
|
+
type ObcPropulsionAzimuthIndicator = ReturnType<typeof ObcPropulsionAzimuthIndicator>;
|
|
20
|
+
export default ObcPropulsionAzimuthIndicator;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-tunnel-thruster/propulsion-tunnel-thruster.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
value?: number;
|
|
13
|
+
thrust?: number;
|
|
14
|
+
state?: string;
|
|
15
|
+
hasSilhouette?: boolean
|
|
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-tunnel-thruster
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
</obc-tunnel-thruster>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/propulsion-tunnel-thruster/propulsion-tunnel-thruster.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
value?: number;
|
|
7
|
+
thrust?: number;
|
|
8
|
+
state?: string;
|
|
9
|
+
hasSilhouette?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Events {
|
|
12
|
+
}
|
|
13
|
+
export interface Slots {
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
+
declare const ObcTunnelThruster: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
18
|
+
type ObcTunnelThruster = ReturnType<typeof ObcTunnelThruster>;
|
|
19
|
+
export default ObcTunnelThruster;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
value?: number
|
|
14
|
+
}
|
|
15
|
+
export interface Events {
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
export interface Slots {
|
|
19
|
+
children?: Snippet
|
|
20
|
+
}
|
|
21
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<obc-roll-indicator
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
class={className}
|
|
27
|
+
style={style}
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
{#if children}
|
|
31
|
+
{@render children()}
|
|
32
|
+
{/if}
|
|
33
|
+
</obc-roll-indicator>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll-indicator/roll-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
value?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface Events {
|
|
10
|
+
}
|
|
11
|
+
export interface Slots {
|
|
12
|
+
children?: Snippet;
|
|
13
|
+
}
|
|
14
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
15
|
+
declare const ObcRollIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
16
|
+
type ObcRollIndicator = ReturnType<typeof ObcRollIndicator>;
|
|
17
|
+
export default ObcRollIndicator;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
angle?: number;
|
|
13
|
+
setpoint?: number;
|
|
14
|
+
state?: string;
|
|
15
|
+
hasSilhouette?: boolean
|
|
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-rudder-indicator
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
</obc-rudder-indicator>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder-indicator/rudder-indicator.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
angle?: number;
|
|
7
|
+
setpoint?: number;
|
|
8
|
+
state?: string;
|
|
9
|
+
hasSilhouette?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Events {
|
|
12
|
+
}
|
|
13
|
+
export interface Slots {
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
+
declare const ObcRudderIndicator: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
18
|
+
type ObcRudderIndicator = ReturnType<typeof ObcRudderIndicator>;
|
|
19
|
+
export default ObcRudderIndicator;
|
|
@@ -9,12 +9,22 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
|
|
12
|
+
type?: string;
|
|
13
|
+
direction?: string;
|
|
14
|
+
priority?: string;
|
|
15
|
+
level?: number;
|
|
16
|
+
/** Rotation of the reference frame (course/heading) in degrees.
|
|
17
|
+
|
|
18
|
+
Used in relative mode to compute the marker rotation as `windFromAngle - rotationAngle`.
|
|
19
|
+
`0` means north-up. */
|
|
20
|
+
rotationAngle?: number;
|
|
21
|
+
/** Primary wind direction input (wind-from).
|
|
22
|
+
|
|
23
|
+
Represents the direction the wind comes **from** in degrees.
|
|
24
|
+
- `0` / `360`: wind from north → marker points south (down)
|
|
25
|
+
- `180`: wind from south → marker points north (up) */
|
|
26
|
+
windFromAngle?: number;
|
|
27
|
+
angle?: number
|
|
18
28
|
}
|
|
19
29
|
export interface Events {
|
|
20
30
|
|
|
@@ -3,12 +3,22 @@ import type { Snippet } from 'svelte';
|
|
|
3
3
|
export interface Props {
|
|
4
4
|
class?: string;
|
|
5
5
|
style?: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
type?: string;
|
|
7
|
+
direction?: string;
|
|
8
|
+
priority?: string;
|
|
9
|
+
level?: number;
|
|
10
|
+
/** Rotation of the reference frame (course/heading) in degrees.
|
|
11
|
+
|
|
12
|
+
Used in relative mode to compute the marker rotation as `windFromAngle - rotationAngle`.
|
|
13
|
+
`0` means north-up. */
|
|
14
|
+
rotationAngle?: number;
|
|
15
|
+
/** Primary wind direction input (wind-from).
|
|
16
|
+
|
|
17
|
+
Represents the direction the wind comes **from** in degrees.
|
|
18
|
+
- `0` / `360`: wind from north → marker points south (down)
|
|
19
|
+
- `180`: wind from south → marker points north (up) */
|
|
20
|
+
windFromAngle?: number;
|
|
9
21
|
angle?: number;
|
|
10
|
-
/** If true, the wind direction is relative to North. If false, it is relative to the vessel's heading. */
|
|
11
|
-
northUp?: boolean;
|
|
12
22
|
}
|
|
13
23
|
export interface Events {
|
|
14
24
|
}
|
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.28",
|
|
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.27"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|