@oicl/openbridge-webcomponents-svelte 2.0.0-next.82 → 2.0.0-next.84
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/ar/poi/ObcPoiAton.svelte +31 -2
- package/dist/ar/poi/ObcPoiAton.svelte.d.ts +33 -0
- package/dist/ar/poi/ObcPoiData.svelte +31 -2
- package/dist/ar/poi/ObcPoiData.svelte.d.ts +33 -0
- package/dist/ar/poi/ObcPoiVessel.svelte +31 -2
- package/dist/ar/poi/ObcPoiVessel.svelte.d.ts +33 -0
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte +16 -2
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte.d.ts +18 -0
- package/dist/ar/poi-button/ObcPoiButtonData.svelte +16 -2
- package/dist/ar/poi-button/ObcPoiButtonData.svelte.d.ts +18 -0
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte +16 -2
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte.d.ts +18 -0
- package/dist/ar/poi-object/ObcPoiObjectAton.svelte +8 -4
- package/dist/ar/poi-object/ObcPoiObjectAton.svelte.d.ts +7 -3
- package/dist/ar/poi-object/ObcPoiObjectData.svelte +5 -2
- package/dist/ar/poi-object/ObcPoiObjectData.svelte.d.ts +6 -1
- package/dist/ar/poi-object/ObcPoiObjectVessel.svelte +7 -2
- package/dist/ar/poi-object/ObcPoiObjectVessel.svelte.d.ts +6 -0
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +32 -2
- package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +38 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +32 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +38 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +34 -4
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +39 -2
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +39 -2
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +44 -0
- package/dist/automation/capacitor/ObcCapacitor.svelte +39 -2
- package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +44 -0
- package/dist/automation/converter/ObcConverter.svelte +39 -2
- package/dist/automation/converter/ObcConverter.svelte.d.ts +44 -0
- package/dist/automation/damper/ObcDamper.svelte +37 -3
- package/dist/automation/damper/ObcDamper.svelte.d.ts +46 -1
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +34 -2
- package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +38 -0
- package/dist/automation/diodes/ObcDiodes.svelte +39 -2
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +44 -0
- package/dist/automation/fan/ObcFan.svelte +42 -3
- package/dist/automation/fan/ObcFan.svelte.d.ts +52 -1
- package/dist/automation/filter/ObcFilter.svelte +39 -2
- package/dist/automation/filter/ObcFilter.svelte.d.ts +44 -0
- package/dist/automation/ground/ObcGround.svelte +39 -2
- package/dist/automation/ground/ObcGround.svelte.d.ts +44 -0
- package/dist/automation/logic/ObcLogic.svelte +39 -2
- package/dist/automation/logic/ObcLogic.svelte.d.ts +44 -0
- package/dist/automation/mosfet/ObcMosfet.svelte +39 -2
- package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +44 -0
- package/dist/automation/motor/ObcMotor.svelte +42 -2
- package/dist/automation/motor/ObcMotor.svelte.d.ts +52 -1
- package/dist/automation/pump/ObcPump.svelte +42 -2
- package/dist/automation/pump/ObcPump.svelte.d.ts +52 -1
- package/dist/automation/resistor/ObcResistor.svelte +39 -2
- package/dist/automation/resistor/ObcResistor.svelte.d.ts +44 -0
- package/dist/automation/router/ObcRouter.svelte +39 -2
- package/dist/automation/router/ObcRouter.svelte.d.ts +44 -0
- package/dist/automation/source/ObcSource.svelte +39 -2
- package/dist/automation/source/ObcSource.svelte.d.ts +44 -0
- package/dist/automation/switch/ObcSwitch.svelte +39 -2
- package/dist/automation/switch/ObcSwitch.svelte.d.ts +44 -0
- package/dist/automation/transformer/ObcTransformer.svelte +39 -2
- package/dist/automation/transformer/ObcTransformer.svelte.d.ts +44 -0
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +99 -2
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +108 -0
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +97 -3
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +110 -1
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +21 -0
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +21 -0
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +21 -0
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +21 -0
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +21 -0
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +21 -0
- package/dist/components/textbox/ObcTextbox.svelte +2 -1
- package/dist/components/textbox/ObcTextbox.svelte.d.ts +1 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +21 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +21 -0
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte +21 -0
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte.d.ts +21 -0
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +120 -2
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +129 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +21 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +21 -0
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +21 -2
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +19 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +42 -23
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +35 -22
- package/dist/navigation-instruments/roll/ObcRoll.svelte +21 -2
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +19 -0
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +21 -0
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +21 -0
- package/dist/navigation-instruments/rudder/ObcRudder.svelte +21 -0
- package/dist/navigation-instruments/rudder/ObcRudder.svelte.d.ts +21 -0
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte +21 -0
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte.d.ts +21 -0
- package/dist/navigation-instruments/thruster/ObcThruster.svelte +21 -0
- package/dist/navigation-instruments/thruster/ObcThruster.svelte.d.ts +21 -0
- package/package.json +2 -2
|
@@ -1,47 +1,54 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {ReadoutListItemSize, ReadoutListItemStacking,
|
|
3
|
+
export type {ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
4
4
|
export type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
6
6
|
import { setProperties } from "../../util.js";
|
|
7
|
-
import type {ReadoutListItemSize, ReadoutListItemStacking,
|
|
7
|
+
import type {ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
8
8
|
import type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
10
10
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
src?: string;
|
|
22
|
-
value?: number | undefined;
|
|
23
|
-
setpointValue?: number | undefined;
|
|
14
|
+
label?: string | undefined;
|
|
15
|
+
unit?: string | undefined;
|
|
16
|
+
src?: string | undefined;
|
|
17
|
+
hasValue?: boolean;
|
|
18
|
+
value?: number | null;
|
|
19
|
+
/** Render the value as the literal "OFF" (e.g. equipment powered down). Affects the value only. */
|
|
20
|
+
off?: boolean;
|
|
24
21
|
hasSetpoint?: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
setpoint?: number | undefined;
|
|
23
|
+
hasAdvice?: boolean;
|
|
24
|
+
advice?: number | undefined;
|
|
25
|
+
size?: ReadoutListItemSize | undefined;
|
|
26
|
+
priority?: ReadoutListItemPriority | undefined;
|
|
27
|
+
stacking?: ReadoutListItemStacking | undefined;
|
|
28
|
+
clickable?: boolean | ReadoutListItemClickable;
|
|
29
29
|
hasLeadingIcon?: boolean;
|
|
30
|
-
|
|
30
|
+
hasDegree?: boolean;
|
|
31
|
+
hasDegreeSpacer?: boolean;
|
|
31
32
|
fractionDigits?: number;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
maxDigits?: number;
|
|
34
|
+
dataQuality?: ReadoutListItemDataQuality | undefined;
|
|
35
|
+
alert?: boolean | AlertFrameConfig;
|
|
36
|
+
valueOptions?: ReadoutValueOptions | undefined;
|
|
37
|
+
setpointOptions?: ReadoutSetpointOptions | undefined;
|
|
38
|
+
adviceOptions?: ReadoutAdviceOptions | undefined;
|
|
39
|
+
unitOptions?: ReadoutReserverOptions | undefined;
|
|
40
|
+
srcOptions?: ReadoutSrcOptions | undefined
|
|
36
41
|
}
|
|
37
42
|
export interface Events {
|
|
38
43
|
|
|
39
44
|
}
|
|
40
45
|
export interface Slots {
|
|
41
46
|
leadingIcon?: Snippet;
|
|
42
|
-
valueIcon?: Snippet
|
|
47
|
+
valueIcon?: Snippet;
|
|
48
|
+
setpointIcon?: Snippet;
|
|
49
|
+
adviceIcon?: Snippet
|
|
43
50
|
}
|
|
44
|
-
const { class: className, style, leadingIcon, valueIcon, ...props} = $props<Props & Events & Slots>();
|
|
51
|
+
const { class: className, style, leadingIcon, valueIcon, setpointIcon, adviceIcon, ...props} = $props<Props & Events & Slots>();
|
|
45
52
|
|
|
46
53
|
</script>
|
|
47
54
|
<obc-readout-list-item
|
|
@@ -61,4 +68,16 @@ import type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/compone
|
|
|
61
68
|
{@render valueIcon()}
|
|
62
69
|
</div>
|
|
63
70
|
{/if}
|
|
71
|
+
|
|
72
|
+
{#if setpointIcon}
|
|
73
|
+
<div slot="setpoint-icon">
|
|
74
|
+
{@render setpointIcon()}
|
|
75
|
+
</div>
|
|
76
|
+
{/if}
|
|
77
|
+
|
|
78
|
+
{#if adviceIcon}
|
|
79
|
+
<div slot="advice-icon">
|
|
80
|
+
{@render adviceIcon()}
|
|
81
|
+
</div>
|
|
82
|
+
{/if}
|
|
64
83
|
</obc-readout-list-item>
|
|
@@ -1,45 +1,58 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
2
|
-
import type { ReadoutListItemSize, ReadoutListItemStacking,
|
|
2
|
+
import type { ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
3
3
|
import type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
7
7
|
style?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
src?: string;
|
|
16
|
-
value?: number | undefined;
|
|
17
|
-
setpointValue?: number | undefined;
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
unit?: string | undefined;
|
|
10
|
+
src?: string | undefined;
|
|
11
|
+
hasValue?: boolean;
|
|
12
|
+
value?: number | null;
|
|
13
|
+
/** Render the value as the literal "OFF" (e.g. equipment powered down). Affects the value only. */
|
|
14
|
+
off?: boolean;
|
|
18
15
|
hasSetpoint?: boolean;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
setpoint?: number | undefined;
|
|
17
|
+
hasAdvice?: boolean;
|
|
18
|
+
advice?: number | undefined;
|
|
19
|
+
size?: ReadoutListItemSize | undefined;
|
|
20
|
+
priority?: ReadoutListItemPriority | undefined;
|
|
21
|
+
stacking?: ReadoutListItemStacking | undefined;
|
|
22
|
+
clickable?: boolean | ReadoutListItemClickable;
|
|
23
23
|
hasLeadingIcon?: boolean;
|
|
24
|
-
|
|
24
|
+
hasDegree?: boolean;
|
|
25
|
+
hasDegreeSpacer?: boolean;
|
|
25
26
|
fractionDigits?: number;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
maxDigits?: number;
|
|
28
|
+
dataQuality?: ReadoutListItemDataQuality | undefined;
|
|
29
|
+
alert?: boolean | AlertFrameConfig;
|
|
30
|
+
valueOptions?: ReadoutValueOptions | undefined;
|
|
31
|
+
setpointOptions?: ReadoutSetpointOptions | undefined;
|
|
32
|
+
adviceOptions?: ReadoutAdviceOptions | undefined;
|
|
33
|
+
unitOptions?: ReadoutReserverOptions | undefined;
|
|
34
|
+
srcOptions?: ReadoutSrcOptions | undefined;
|
|
30
35
|
}
|
|
31
36
|
export interface Events {
|
|
32
37
|
}
|
|
33
38
|
export interface Slots {
|
|
34
39
|
leadingIcon?: Snippet;
|
|
35
40
|
valueIcon?: Snippet;
|
|
41
|
+
setpointIcon?: Snippet;
|
|
42
|
+
adviceIcon?: Snippet;
|
|
36
43
|
}
|
|
37
44
|
type $$ComponentProps = Props & Events & Slots;
|
|
38
45
|
declare const ObcReadoutListItem: import("svelte").Component<$$ComponentProps, {
|
|
39
46
|
ReadoutListItemSize: typeof ReadoutListItemSize;
|
|
40
|
-
ReadoutListItemStacking: typeof ReadoutListItemStacking;
|
|
41
47
|
ReadoutListItemPriority: typeof ReadoutListItemPriority;
|
|
42
|
-
|
|
48
|
+
ReadoutListItemStacking: typeof ReadoutListItemStacking;
|
|
49
|
+
ReadoutListItemClickable: typeof ReadoutListItemClickable;
|
|
50
|
+
ReadoutListItemDataQuality: typeof ReadoutListItemDataQuality;
|
|
51
|
+
ReadoutValueOptions: typeof ReadoutValueOptions;
|
|
52
|
+
ReadoutSetpointOptions: typeof ReadoutSetpointOptions;
|
|
53
|
+
ReadoutAdviceOptions: typeof ReadoutAdviceOptions;
|
|
54
|
+
ReadoutReserverOptions: typeof ReadoutReserverOptions;
|
|
55
|
+
ReadoutSrcOptions: typeof ReadoutSrcOptions;
|
|
43
56
|
AlertFrameConfig: typeof AlertFrameConfig;
|
|
44
57
|
}, "">;
|
|
45
58
|
type ObcReadoutListItem = ReturnType<typeof ObcReadoutListItem>;
|
|
@@ -1,16 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
5
|
export type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
5
6
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
6
7
|
import { setProperties } from "../../util.js";
|
|
7
|
-
import type {
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
9
|
+
import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
8
10
|
import type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
9
11
|
import type { Snippet } from 'svelte';
|
|
10
12
|
|
|
11
13
|
export interface Props {
|
|
12
14
|
class?: string;
|
|
13
15
|
style?: string;
|
|
16
|
+
zoomToFitArc?: boolean;
|
|
17
|
+
/** When `true`, the centre shows an `<obc-readout>` with the value instead of
|
|
18
|
+
the horizon line, rotating indicator and vessel. Default `false`. */
|
|
19
|
+
hasReadout?: boolean;
|
|
20
|
+
/** Colour palette for the scale fill / indicator and the readout value:
|
|
21
|
+
`regular` (default) or `enhanced`. */
|
|
22
|
+
priority?: Priority;
|
|
23
|
+
/** Half-extent of the watch arc in degrees. The arc spans `centre ± arcAngle`
|
|
24
|
+
and values are placed at their true position within it. Default `45`
|
|
25
|
+
reproduces the historical 90°-wide arc.
|
|
26
|
+
|
|
27
|
+
Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
|
|
28
|
+
narrower arc is enlarged (its radius grows) on its own layer, while the
|
|
29
|
+
vessel image and the rotating indicator line stay at their natural size and
|
|
30
|
+
position on a separate central layer. The two layers are intentionally
|
|
31
|
+
visually disconnected. */
|
|
32
|
+
arcAngle?: number;
|
|
14
33
|
roll?: number;
|
|
15
34
|
minAvgRoll?: number;
|
|
16
35
|
maxAvgRoll?: number;
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
2
|
+
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
2
3
|
import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
4
|
import type { ObcRollType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
|
|
4
5
|
import type { Snippet } from 'svelte';
|
|
5
6
|
export interface Props {
|
|
6
7
|
class?: string;
|
|
7
8
|
style?: string;
|
|
9
|
+
zoomToFitArc?: boolean;
|
|
10
|
+
/** When `true`, the centre shows an `<obc-readout>` with the value instead of
|
|
11
|
+
the horizon line, rotating indicator and vessel. Default `false`. */
|
|
12
|
+
hasReadout?: boolean;
|
|
13
|
+
/** Colour palette for the scale fill / indicator and the readout value:
|
|
14
|
+
`regular` (default) or `enhanced`. */
|
|
15
|
+
priority?: Priority;
|
|
16
|
+
/** Half-extent of the watch arc in degrees. The arc spans `centre ± arcAngle`
|
|
17
|
+
and values are placed at their true position within it. Default `45`
|
|
18
|
+
reproduces the historical 90°-wide arc.
|
|
19
|
+
|
|
20
|
+
Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
|
|
21
|
+
narrower arc is enlarged (its radius grows) on its own layer, while the
|
|
22
|
+
vessel image and the rotating indicator line stay at their natural size and
|
|
23
|
+
position on a separate central layer. The two layers are intentionally
|
|
24
|
+
visually disconnected. */
|
|
25
|
+
arcAngle?: number;
|
|
8
26
|
roll?: number;
|
|
9
27
|
minAvgRoll?: number;
|
|
10
28
|
maxAvgRoll?: number;
|
|
@@ -29,6 +47,7 @@ export interface Slots {
|
|
|
29
47
|
}
|
|
30
48
|
type $$ComponentProps = Props & Events & Slots;
|
|
31
49
|
declare const ObcRoll: import("svelte").Component<$$ComponentProps, {
|
|
50
|
+
Priority: typeof Priority;
|
|
32
51
|
VesselImage: typeof VesselImage;
|
|
33
52
|
ObcRollType: typeof ObcRollType;
|
|
34
53
|
}, "">;
|
|
@@ -13,6 +13,27 @@ import type {GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/naviga
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
17
|
+
setpoint?: number | undefined;
|
|
18
|
+
/** Adjustment preview for 2-step interface.
|
|
19
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
20
|
+
newSetpoint?: number | undefined;
|
|
21
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
22
|
+
atSetpoint?: boolean;
|
|
23
|
+
/** User is physically interacting with the control.
|
|
24
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
25
|
+
touching?: boolean;
|
|
26
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
27
|
+
autoAtSetpoint?: boolean;
|
|
28
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
29
|
+
autoAtSetpointDeadband?: number;
|
|
30
|
+
/** Tolerance for zero-snap visual state. */
|
|
31
|
+
setpointAtZeroDeadband?: number;
|
|
32
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
33
|
+
regardless of instrument state. */
|
|
34
|
+
setpointOverride?: boolean;
|
|
35
|
+
/** Enable CSS-animated confirm transition. */
|
|
36
|
+
animateSetpoint?: boolean;
|
|
16
37
|
value?: number;
|
|
17
38
|
maxValue?: number;
|
|
18
39
|
showLabels?: boolean;
|
|
@@ -6,6 +6,27 @@ import type { Snippet } from 'svelte';
|
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
10
|
+
setpoint?: number | undefined;
|
|
11
|
+
/** Adjustment preview for 2-step interface.
|
|
12
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
13
|
+
newSetpoint?: number | undefined;
|
|
14
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
15
|
+
atSetpoint?: boolean;
|
|
16
|
+
/** User is physically interacting with the control.
|
|
17
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
18
|
+
touching?: boolean;
|
|
19
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
20
|
+
autoAtSetpoint?: boolean;
|
|
21
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
22
|
+
autoAtSetpointDeadband?: number;
|
|
23
|
+
/** Tolerance for zero-snap visual state. */
|
|
24
|
+
setpointAtZeroDeadband?: number;
|
|
25
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
26
|
+
regardless of instrument state. */
|
|
27
|
+
setpointOverride?: boolean;
|
|
28
|
+
/** Enable CSS-animated confirm transition. */
|
|
29
|
+
animateSetpoint?: boolean;
|
|
9
30
|
value?: number;
|
|
10
31
|
maxValue?: number;
|
|
11
32
|
showLabels?: boolean;
|
|
@@ -15,6 +15,27 @@ import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-i
|
|
|
15
15
|
export interface Props {
|
|
16
16
|
class?: string;
|
|
17
17
|
style?: string;
|
|
18
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
19
|
+
setpoint?: number | undefined;
|
|
20
|
+
/** Adjustment preview for 2-step interface.
|
|
21
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
22
|
+
newSetpoint?: number | undefined;
|
|
23
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
24
|
+
atSetpoint?: boolean;
|
|
25
|
+
/** User is physically interacting with the control.
|
|
26
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
27
|
+
touching?: boolean;
|
|
28
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
29
|
+
autoAtSetpoint?: boolean;
|
|
30
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
31
|
+
autoAtSetpointDeadband?: number;
|
|
32
|
+
/** Tolerance for zero-snap visual state. */
|
|
33
|
+
setpointAtZeroDeadband?: number;
|
|
34
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
35
|
+
regardless of instrument state. */
|
|
36
|
+
setpointOverride?: boolean;
|
|
37
|
+
/** Enable CSS-animated confirm transition. */
|
|
38
|
+
animateSetpoint?: boolean;
|
|
18
39
|
angle?: number;
|
|
19
40
|
variant?: ObcRudderVariant;
|
|
20
41
|
maxAngle?: number;
|
|
@@ -7,6 +7,27 @@ import type { Snippet } from 'svelte';
|
|
|
7
7
|
export interface Props {
|
|
8
8
|
class?: string;
|
|
9
9
|
style?: string;
|
|
10
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
11
|
+
setpoint?: number | undefined;
|
|
12
|
+
/** Adjustment preview for 2-step interface.
|
|
13
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
14
|
+
newSetpoint?: number | undefined;
|
|
15
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
16
|
+
atSetpoint?: boolean;
|
|
17
|
+
/** User is physically interacting with the control.
|
|
18
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
19
|
+
touching?: boolean;
|
|
20
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
21
|
+
autoAtSetpoint?: boolean;
|
|
22
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
23
|
+
autoAtSetpointDeadband?: number;
|
|
24
|
+
/** Tolerance for zero-snap visual state. */
|
|
25
|
+
setpointAtZeroDeadband?: number;
|
|
26
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
27
|
+
regardless of instrument state. */
|
|
28
|
+
setpointOverride?: boolean;
|
|
29
|
+
/** Enable CSS-animated confirm transition. */
|
|
30
|
+
animateSetpoint?: boolean;
|
|
10
31
|
angle?: number;
|
|
11
32
|
variant?: ObcRudderVariant;
|
|
12
33
|
maxAngle?: number;
|
|
@@ -13,6 +13,27 @@ import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
17
|
+
setpoint?: number | undefined;
|
|
18
|
+
/** Adjustment preview for 2-step interface.
|
|
19
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
20
|
+
newSetpoint?: number | undefined;
|
|
21
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
22
|
+
atSetpoint?: boolean;
|
|
23
|
+
/** User is physically interacting with the control.
|
|
24
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
25
|
+
touching?: boolean;
|
|
26
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
27
|
+
autoAtSetpoint?: boolean;
|
|
28
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
29
|
+
autoAtSetpointDeadband?: number;
|
|
30
|
+
/** Tolerance for zero-snap visual state. */
|
|
31
|
+
setpointAtZeroDeadband?: number;
|
|
32
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
33
|
+
regardless of instrument state. */
|
|
34
|
+
setpointOverride?: boolean;
|
|
35
|
+
/** Enable CSS-animated confirm transition. */
|
|
36
|
+
animateSetpoint?: boolean;
|
|
16
37
|
speed?: number;
|
|
17
38
|
maxSpeed?: number;
|
|
18
39
|
minSpeed?: number;
|
|
@@ -6,6 +6,27 @@ import type { Snippet } from 'svelte';
|
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
10
|
+
setpoint?: number | undefined;
|
|
11
|
+
/** Adjustment preview for 2-step interface.
|
|
12
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
13
|
+
newSetpoint?: number | undefined;
|
|
14
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
15
|
+
atSetpoint?: boolean;
|
|
16
|
+
/** User is physically interacting with the control.
|
|
17
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
18
|
+
touching?: boolean;
|
|
19
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
20
|
+
autoAtSetpoint?: boolean;
|
|
21
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
22
|
+
autoAtSetpointDeadband?: number;
|
|
23
|
+
/** Tolerance for zero-snap visual state. */
|
|
24
|
+
setpointAtZeroDeadband?: number;
|
|
25
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
26
|
+
regardless of instrument state. */
|
|
27
|
+
setpointOverride?: boolean;
|
|
28
|
+
/** Enable CSS-animated confirm transition. */
|
|
29
|
+
animateSetpoint?: boolean;
|
|
9
30
|
speed?: number;
|
|
10
31
|
maxSpeed?: number;
|
|
11
32
|
minSpeed?: number;
|
|
@@ -13,6 +13,27 @@ import type {PropellerType} from '@oicl/openbridge-webcomponents/dist/navigation
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
17
|
+
setpoint?: number | undefined;
|
|
18
|
+
/** Adjustment preview for 2-step interface.
|
|
19
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
20
|
+
newSetpoint?: number | undefined;
|
|
21
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
22
|
+
atSetpoint?: boolean;
|
|
23
|
+
/** User is physically interacting with the control.
|
|
24
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
25
|
+
touching?: boolean;
|
|
26
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
27
|
+
autoAtSetpoint?: boolean;
|
|
28
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
29
|
+
autoAtSetpointDeadband?: number;
|
|
30
|
+
/** Tolerance for zero-snap visual state. */
|
|
31
|
+
setpointAtZeroDeadband?: number;
|
|
32
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
33
|
+
regardless of instrument state. */
|
|
34
|
+
setpointOverride?: boolean;
|
|
35
|
+
/** Enable CSS-animated confirm transition. */
|
|
36
|
+
animateSetpoint?: boolean;
|
|
16
37
|
thrust?: number;
|
|
17
38
|
state?: InstrumentState;
|
|
18
39
|
priority?: Priority;
|
|
@@ -6,6 +6,27 @@ import type { Snippet } from 'svelte';
|
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
+
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
10
|
+
setpoint?: number | undefined;
|
|
11
|
+
/** Adjustment preview for 2-step interface.
|
|
12
|
+
When defined, two markers are shown: original (dimmed) + new (focus). */
|
|
13
|
+
newSetpoint?: number | undefined;
|
|
14
|
+
/** Manual at-setpoint override (used when `autoAtSetpoint` is false). */
|
|
15
|
+
atSetpoint?: boolean;
|
|
16
|
+
/** User is physically interacting with the control.
|
|
17
|
+
Suppresses at-setpoint calculation and triggers focus visual. */
|
|
18
|
+
touching?: boolean;
|
|
19
|
+
/** When false, uses manual `atSetpoint` boolean instead of auto-calculation. */
|
|
20
|
+
autoAtSetpoint?: boolean;
|
|
21
|
+
/** Tolerance for auto at-setpoint detection. */
|
|
22
|
+
autoAtSetpointDeadband?: number;
|
|
23
|
+
/** Tolerance for zero-snap visual state. */
|
|
24
|
+
setpointAtZeroDeadband?: number;
|
|
25
|
+
/** Override to derive the setpoint color from the instrument's `priority`
|
|
26
|
+
regardless of instrument state. */
|
|
27
|
+
setpointOverride?: boolean;
|
|
28
|
+
/** Enable CSS-animated confirm transition. */
|
|
29
|
+
animateSetpoint?: boolean;
|
|
9
30
|
thrust?: number;
|
|
10
31
|
state?: InstrumentState;
|
|
11
32
|
priority?: Priority;
|
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.84",
|
|
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.83"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|