@oicl/openbridge-webcomponents-svelte 2.0.0-next.15 → 2.0.0-next.16
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
CHANGED
|
@@ -2183,5 +2183,6 @@ export { default as ObcWatch } from './navigation-instruments/watch/ObcWatch.sve
|
|
|
2183
2183
|
export { default as ObcWatchFlat } from './navigation-instruments/watch-flat/ObcWatchFlat.svelte';
|
|
2184
2184
|
export { default as ObcWind } from './navigation-instruments/wind/ObcWind.svelte';
|
|
2185
2185
|
export { default as ObcWindIndicator } from './navigation-instruments/wind-indicator/ObcWindIndicator.svelte';
|
|
2186
|
+
export { default as ObcWindPropulsion } from './navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte';
|
|
2186
2187
|
export { default as ObcAlertDetailPage } from './pages/alert-detail-page/ObcAlertDetailPage.svelte';
|
|
2187
2188
|
export { default as ObcAlertListPageSmall } from './pages/alert-list-page-small/ObcAlertListPageSmall.svelte';
|
package/dist/index.js
CHANGED
|
@@ -2183,5 +2183,6 @@ export { default as ObcWatch } from './navigation-instruments/watch/ObcWatch.sve
|
|
|
2183
2183
|
export { default as ObcWatchFlat } from './navigation-instruments/watch-flat/ObcWatchFlat.svelte';
|
|
2184
2184
|
export { default as ObcWind } from './navigation-instruments/wind/ObcWind.svelte';
|
|
2185
2185
|
export { default as ObcWindIndicator } from './navigation-instruments/wind-indicator/ObcWindIndicator.svelte';
|
|
2186
|
+
export { default as ObcWindPropulsion } from './navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte';
|
|
2186
2187
|
export { default as ObcAlertDetailPage } from './pages/alert-detail-page/ObcAlertDetailPage.svelte';
|
|
2187
2188
|
export { default as ObcAlertListPageSmall } from './pages/alert-list-page-small/ObcAlertListPageSmall.svelte';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
4
|
+
export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
export type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
6
|
+
export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
7
|
+
export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
9
|
+
import { setProperties } from "../../util.js";
|
|
10
|
+
import type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
11
|
+
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
12
|
+
import type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
13
|
+
import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
14
|
+
import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
forceAngle?: number;
|
|
21
|
+
sailAngle?: number;
|
|
22
|
+
sailAngleSetpoint?: number | undefined;
|
|
23
|
+
newSailAngleSetpoint?: number | undefined;
|
|
24
|
+
atSailAngleSetpoint?: boolean;
|
|
25
|
+
autoAtSailAngleSetpoint?: boolean;
|
|
26
|
+
autoAtSailAngleSetpointDeadband?: number;
|
|
27
|
+
sailAngleSetpointAtZeroDeadband?: number;
|
|
28
|
+
sailAngleSetpointOverride?: boolean;
|
|
29
|
+
animateSetpoint?: boolean;
|
|
30
|
+
touching?: boolean;
|
|
31
|
+
force?: number;
|
|
32
|
+
maxForce?: number;
|
|
33
|
+
sailType?: SailType;
|
|
34
|
+
state?: InstrumentState;
|
|
35
|
+
priority?: Priority;
|
|
36
|
+
priorityElements?: WindPropulsionPriorityElement[];
|
|
37
|
+
showLabels?: boolean;
|
|
38
|
+
tickmarksInside?: boolean;
|
|
39
|
+
tickmarkStyle?: TickmarkStyle;
|
|
40
|
+
currentWindSpeedBeaufort?: number | null;
|
|
41
|
+
currentWindFromDirection?: number | null;
|
|
42
|
+
sailAngleAdvices?: AngleAdvice[]
|
|
43
|
+
}
|
|
44
|
+
export interface Events {
|
|
45
|
+
onNone?: (event: CustomEvent<unknown>) => void
|
|
46
|
+
}
|
|
47
|
+
export interface Slots {
|
|
48
|
+
children?: Snippet
|
|
49
|
+
}
|
|
50
|
+
const {onNone, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
51
|
+
|
|
52
|
+
</script>
|
|
53
|
+
<obc-wind-propulsion
|
|
54
|
+
use:setProperties={props}
|
|
55
|
+
class={className}
|
|
56
|
+
style={style}
|
|
57
|
+
onNone={onNone} >
|
|
58
|
+
|
|
59
|
+
{#if children}
|
|
60
|
+
{@render children()}
|
|
61
|
+
{/if}
|
|
62
|
+
</obc-wind-propulsion>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
2
|
+
import type { SailType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
3
|
+
import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import type { WindPropulsionPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
5
|
+
import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
6
|
+
import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
forceAngle?: number;
|
|
12
|
+
sailAngle?: number;
|
|
13
|
+
sailAngleSetpoint?: number | undefined;
|
|
14
|
+
newSailAngleSetpoint?: number | undefined;
|
|
15
|
+
atSailAngleSetpoint?: boolean;
|
|
16
|
+
autoAtSailAngleSetpoint?: boolean;
|
|
17
|
+
autoAtSailAngleSetpointDeadband?: number;
|
|
18
|
+
sailAngleSetpointAtZeroDeadband?: number;
|
|
19
|
+
sailAngleSetpointOverride?: boolean;
|
|
20
|
+
animateSetpoint?: boolean;
|
|
21
|
+
touching?: boolean;
|
|
22
|
+
force?: number;
|
|
23
|
+
maxForce?: number;
|
|
24
|
+
sailType?: SailType;
|
|
25
|
+
state?: InstrumentState;
|
|
26
|
+
priority?: Priority;
|
|
27
|
+
priorityElements?: WindPropulsionPriorityElement[];
|
|
28
|
+
showLabels?: boolean;
|
|
29
|
+
tickmarksInside?: boolean;
|
|
30
|
+
tickmarkStyle?: TickmarkStyle;
|
|
31
|
+
currentWindSpeedBeaufort?: number | null;
|
|
32
|
+
currentWindFromDirection?: number | null;
|
|
33
|
+
sailAngleAdvices?: AngleAdvice[];
|
|
34
|
+
}
|
|
35
|
+
export interface Events {
|
|
36
|
+
onNone?: (event: CustomEvent<unknown>) => void;
|
|
37
|
+
}
|
|
38
|
+
export interface Slots {
|
|
39
|
+
children?: Snippet;
|
|
40
|
+
}
|
|
41
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
42
|
+
declare const ObcWindPropulsion: import("svelte").Component<$$ComponentProps, {
|
|
43
|
+
SailType: typeof SailType;
|
|
44
|
+
InstrumentState: typeof InstrumentState;
|
|
45
|
+
Priority: typeof Priority;
|
|
46
|
+
WindPropulsionPriorityElement: typeof WindPropulsionPriorityElement;
|
|
47
|
+
TickmarkStyle: typeof TickmarkStyle;
|
|
48
|
+
AngleAdvice: typeof AngleAdvice;
|
|
49
|
+
}, "">;
|
|
50
|
+
type ObcWindPropulsion = ReturnType<typeof ObcWindPropulsion>;
|
|
51
|
+
export default ObcWindPropulsion;
|
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.16",
|
|
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.15"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|