@oicl/openbridge-webcomponents-svelte 2.0.0-next.164 → 2.0.0-next.166
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
|
@@ -2353,6 +2353,7 @@ export { default as ObcGaugeRadialIndicator } from './navigation-instruments/gau
|
|
|
2353
2353
|
export { default as ObcGaugeTrend } from './navigation-instruments/gauge-trend/ObcGaugeTrend.svelte';
|
|
2354
2354
|
export { default as ObcGaugeTrendIndicator } from './navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte';
|
|
2355
2355
|
export { default as ObcGaugeVertical } from './navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte';
|
|
2356
|
+
export { default as ObcGnssSkyplot } from './navigation-instruments/gnss-skyplot/ObcGnssSkyplot.svelte';
|
|
2356
2357
|
export { default as ObcGraphMini } from './navigation-instruments/graph-mini/ObcGraphMini.svelte';
|
|
2357
2358
|
export { default as ObcHeading } from './navigation-instruments/heading/ObcHeading.svelte';
|
|
2358
2359
|
export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
|
package/dist/index.js
CHANGED
|
@@ -2353,6 +2353,7 @@ export { default as ObcGaugeRadialIndicator } from './navigation-instruments/gau
|
|
|
2353
2353
|
export { default as ObcGaugeTrend } from './navigation-instruments/gauge-trend/ObcGaugeTrend.svelte';
|
|
2354
2354
|
export { default as ObcGaugeTrendIndicator } from './navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte';
|
|
2355
2355
|
export { default as ObcGaugeVertical } from './navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte';
|
|
2356
|
+
export { default as ObcGnssSkyplot } from './navigation-instruments/gnss-skyplot/ObcGnssSkyplot.svelte';
|
|
2356
2357
|
export { default as ObcGraphMini } from './navigation-instruments/graph-mini/ObcGraphMini.svelte';
|
|
2357
2358
|
export { default as ObcHeading } from './navigation-instruments/heading/ObcHeading.svelte';
|
|
2358
2359
|
export { default as ObcHeadingIndicator } from './navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {Satellite} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gnss-skyplot/gnss-skyplot.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gnss-skyplot/gnss-skyplot.js';
|
|
6
|
+
import { setProperties } from "../../util.js";
|
|
7
|
+
import type {Satellite} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gnss-skyplot/gnss-skyplot.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
|
|
11
|
+
export interface Props {
|
|
12
|
+
class?: string;
|
|
13
|
+
style?: string;
|
|
14
|
+
/** The satellites to plot; each carries its own azimuth, elevation, constellation and tracked state. */
|
|
15
|
+
satellites?: Satellite[];
|
|
16
|
+
/** Color priority of the markers that have no constellation hue. */
|
|
17
|
+
priority?: Priority;
|
|
18
|
+
/** When `true`, the marker hue comes from the satellite's `constellation` instead of `priority`. */
|
|
19
|
+
colorByConstellation?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* When `true`, shows a key for the constellations present.
|
|
22
|
+
*
|
|
23
|
+
* Available when `colorByConstellation==true`.
|
|
24
|
+
*/
|
|
25
|
+
showLegend?: boolean;
|
|
26
|
+
/** When `true` (default), shows the azimuth labels outside the ring. */
|
|
27
|
+
showLabels?: boolean;
|
|
28
|
+
/** Outer-ring diameter in CSS pixels. When set, the instrument renders at a fixed intrinsic size derived from the ring and label reserve, so instruments sharing the same value have identical ring circumference. When unset (default), the instrument fills its container. */
|
|
29
|
+
faceDiameter?: number | undefined
|
|
30
|
+
}
|
|
31
|
+
export interface Events {
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
export interface Slots {
|
|
35
|
+
children?: Snippet
|
|
36
|
+
}
|
|
37
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
</script>
|
|
41
|
+
<obc-gnss-skyplot
|
|
42
|
+
use:setProperties={props}
|
|
43
|
+
|
|
44
|
+
class={className}
|
|
45
|
+
style={style}
|
|
46
|
+
>
|
|
47
|
+
|
|
48
|
+
{#if children}
|
|
49
|
+
{@render children()}
|
|
50
|
+
{/if}
|
|
51
|
+
</obc-gnss-skyplot>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gnss-skyplot/gnss-skyplot.js';
|
|
2
|
+
import type { Satellite } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gnss-skyplot/gnss-skyplot.js';
|
|
3
|
+
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import type { Snippet } from 'svelte';
|
|
5
|
+
export interface Props {
|
|
6
|
+
class?: string;
|
|
7
|
+
style?: string;
|
|
8
|
+
/** The satellites to plot; each carries its own azimuth, elevation, constellation and tracked state. */
|
|
9
|
+
satellites?: Satellite[];
|
|
10
|
+
/** Color priority of the markers that have no constellation hue. */
|
|
11
|
+
priority?: Priority;
|
|
12
|
+
/** When `true`, the marker hue comes from the satellite's `constellation` instead of `priority`. */
|
|
13
|
+
colorByConstellation?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* When `true`, shows a key for the constellations present.
|
|
16
|
+
*
|
|
17
|
+
* Available when `colorByConstellation==true`.
|
|
18
|
+
*/
|
|
19
|
+
showLegend?: boolean;
|
|
20
|
+
/** When `true` (default), shows the azimuth labels outside the ring. */
|
|
21
|
+
showLabels?: boolean;
|
|
22
|
+
/** Outer-ring diameter in CSS pixels. When set, the instrument renders at a fixed intrinsic size derived from the ring and label reserve, so instruments sharing the same value have identical ring circumference. When unset (default), the instrument fills its container. */
|
|
23
|
+
faceDiameter?: number | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface Events {
|
|
26
|
+
}
|
|
27
|
+
export interface Slots {
|
|
28
|
+
children?: Snippet;
|
|
29
|
+
}
|
|
30
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
31
|
+
declare const ObcGnssSkyplot: import("svelte").Component<$$ComponentProps, {
|
|
32
|
+
Satellite: typeof Satellite;
|
|
33
|
+
Priority: typeof Priority;
|
|
34
|
+
}, "">;
|
|
35
|
+
type ObcGnssSkyplot = ReturnType<typeof ObcGnssSkyplot>;
|
|
36
|
+
export default ObcGnssSkyplot;
|
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.166",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
37
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.166"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"svelte": "^5.0.0"
|