@oicl/openbridge-webcomponents-svelte 2.0.0-next.67 → 2.0.0-next.69
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
|
@@ -2280,6 +2280,7 @@ export { default as ObcHeading } from './navigation-instruments/heading/ObcHeadi
|
|
|
2280
2280
|
export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
|
|
2281
2281
|
export { default as ObcHeave } from './navigation-instruments/heave/ObcHeave.svelte';
|
|
2282
2282
|
export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
|
|
2283
|
+
export { default as ObcIndicatorGraph } from './navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte';
|
|
2283
2284
|
export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
|
|
2284
2285
|
export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
|
|
2285
2286
|
export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
|
package/dist/index.js
CHANGED
|
@@ -2280,6 +2280,7 @@ export { default as ObcHeading } from './navigation-instruments/heading/ObcHeadi
|
|
|
2280
2280
|
export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
|
|
2281
2281
|
export { default as ObcHeave } from './navigation-instruments/heave/ObcHeave.svelte';
|
|
2282
2282
|
export { default as ObcHeaveIndicator } from './navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte';
|
|
2283
|
+
export { default as ObcIndicatorGraph } from './navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte';
|
|
2283
2284
|
export { default as ObcInstrumentField } from './navigation-instruments/instrument-field/ObcInstrumentField.svelte';
|
|
2284
2285
|
export { default as ObcMainEngine } from './navigation-instruments/main-engine/ObcMainEngine.svelte';
|
|
2285
2286
|
export { default as ObcMainEngineIndicator } from './navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {ObcIndicatorGraphLayout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/indicator-graph/indicator-graph.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/indicator-graph/indicator-graph.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {ObcIndicatorGraphLayout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/indicator-graph/indicator-graph.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
data?: [number[], number[]];
|
|
13
|
+
layout?: ObcIndicatorGraphLayout
|
|
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-indicator-graph
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
class={className}
|
|
27
|
+
style={style}
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
{#if children}
|
|
31
|
+
{@render children()}
|
|
32
|
+
{/if}
|
|
33
|
+
</obc-indicator-graph>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/indicator-graph/indicator-graph.js';
|
|
2
|
+
import type { ObcIndicatorGraphLayout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/indicator-graph/indicator-graph.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
data?: [number[], number[]];
|
|
8
|
+
layout?: ObcIndicatorGraphLayout;
|
|
9
|
+
}
|
|
10
|
+
export interface Events {
|
|
11
|
+
}
|
|
12
|
+
export interface Slots {
|
|
13
|
+
children?: Snippet;
|
|
14
|
+
}
|
|
15
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
16
|
+
declare const ObcIndicatorGraph: import("svelte").Component<$$ComponentProps, {
|
|
17
|
+
ObcIndicatorGraphLayout: typeof ObcIndicatorGraphLayout;
|
|
18
|
+
}, "">;
|
|
19
|
+
type ObcIndicatorGraph = ReturnType<typeof ObcIndicatorGraph>;
|
|
20
|
+
export default ObcIndicatorGraph;
|
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.69",
|
|
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.68"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|