@oicl/openbridge-webcomponents-svelte 2.0.0-next.170 → 2.0.0-next.172
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 +4 -0
- package/dist/ar/poi/ObcPoiAton.svelte.d.ts +4 -0
- package/dist/ar/poi/ObcPoiData.svelte +4 -0
- package/dist/ar/poi/ObcPoiData.svelte.d.ts +4 -0
- package/dist/ar/poi/ObcPoiVessel.svelte +4 -0
- package/dist/ar/poi/ObcPoiVessel.svelte.d.ts +4 -0
- package/dist/ar/poi/PoiBase.svelte +2 -0
- package/dist/ar/poi/PoiBase.svelte.d.ts +2 -0
- package/dist/ar/poi-button/ObcPoiButton.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButton.svelte.d.ts +1 -0
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte.d.ts +1 -0
- package/dist/ar/poi-button/ObcPoiButtonData.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButtonData.svelte.d.ts +1 -0
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte.d.ts +1 -0
- package/dist/ar/poi-controller/ObcPoiController.svelte +5 -1
- package/dist/ar/poi-controller/ObcPoiController.svelte.d.ts +4 -0
- package/dist/ar/poi-group/ObcPoiGroup.svelte +2 -0
- package/dist/ar/poi-group/ObcPoiGroup.svelte.d.ts +2 -0
- package/dist/ar/poi-layer/ObcPoiLayer.svelte +7 -4
- package/dist/ar/poi-layer/ObcPoiLayer.svelte.d.ts +8 -0
- package/dist/ar/poi-layer-stack/ObcPoiLayerStack.svelte +8 -6
- package/dist/ar/poi-layer-stack/ObcPoiLayerStack.svelte.d.ts +7 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +4 -1
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -1
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +4 -1
- package/dist/automation/capacitor/ObcCapacitor.svelte +4 -1
- package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +4 -1
- package/dist/automation/converter/ObcConverter.svelte +4 -1
- package/dist/automation/converter/ObcConverter.svelte.d.ts +4 -1
- package/dist/automation/damper/ObcDamper.svelte +4 -1
- package/dist/automation/damper/ObcDamper.svelte.d.ts +4 -1
- package/dist/automation/diodes/ObcDiodes.svelte +4 -1
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +4 -1
- package/dist/automation/fan/ObcFan.svelte +4 -1
- package/dist/automation/fan/ObcFan.svelte.d.ts +4 -1
- package/dist/automation/filter/ObcFilter.svelte +4 -1
- package/dist/automation/filter/ObcFilter.svelte.d.ts +4 -1
- package/dist/automation/ground/ObcGround.svelte +4 -1
- package/dist/automation/ground/ObcGround.svelte.d.ts +4 -1
- package/dist/automation/logic/ObcLogic.svelte +4 -1
- package/dist/automation/logic/ObcLogic.svelte.d.ts +4 -1
- package/dist/automation/mosfet/ObcMosfet.svelte +4 -1
- package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +4 -1
- package/dist/automation/motor/ObcMotor.svelte +4 -1
- package/dist/automation/motor/ObcMotor.svelte.d.ts +4 -1
- package/dist/automation/pump/ObcPump.svelte +4 -1
- package/dist/automation/pump/ObcPump.svelte.d.ts +4 -1
- package/dist/automation/resistor/ObcResistor.svelte +4 -1
- package/dist/automation/resistor/ObcResistor.svelte.d.ts +4 -1
- package/dist/automation/router/ObcRouter.svelte +4 -1
- package/dist/automation/router/ObcRouter.svelte.d.ts +4 -1
- package/dist/automation/source/ObcSource.svelte +4 -1
- package/dist/automation/source/ObcSource.svelte.d.ts +4 -1
- package/dist/automation/switch/ObcSwitch.svelte +4 -1
- package/dist/automation/switch/ObcSwitch.svelte.d.ts +4 -1
- package/dist/automation/transformer/ObcTransformer.svelte +4 -1
- package/dist/automation/transformer/ObcTransformer.svelte.d.ts +4 -1
- package/package.json +2 -2
|
@@ -34,6 +34,10 @@ import type {ObcPoiObjectState} from '@oicl/openbridge-webcomponents/dist/ar/poi
|
|
|
34
34
|
x?: number;
|
|
35
35
|
y?: number;
|
|
36
36
|
buttonY?: number | null;
|
|
37
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. */
|
|
38
|
+
xFilterCutoffHz?: number;
|
|
39
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. */
|
|
40
|
+
yFilterCutoffHz?: number;
|
|
37
41
|
fixedTarget?: boolean;
|
|
38
42
|
boxWidth?: number | null;
|
|
39
43
|
boxHeight?: number | null;
|
|
@@ -24,6 +24,10 @@ export interface Props {
|
|
|
24
24
|
x?: number;
|
|
25
25
|
y?: number;
|
|
26
26
|
buttonY?: number | null;
|
|
27
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. */
|
|
28
|
+
xFilterCutoffHz?: number;
|
|
29
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. */
|
|
30
|
+
yFilterCutoffHz?: number;
|
|
27
31
|
fixedTarget?: boolean;
|
|
28
32
|
boxWidth?: number | null;
|
|
29
33
|
boxHeight?: number | null;
|
|
@@ -32,6 +32,10 @@ import type {ObcPoiObjectStyle, ObcPoiObjectState} from '@oicl/openbridge-webcom
|
|
|
32
32
|
x?: number;
|
|
33
33
|
y?: number;
|
|
34
34
|
buttonY?: number | null;
|
|
35
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. */
|
|
36
|
+
xFilterCutoffHz?: number;
|
|
37
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. */
|
|
38
|
+
yFilterCutoffHz?: number;
|
|
35
39
|
fixedTarget?: boolean;
|
|
36
40
|
boxWidth?: number | null;
|
|
37
41
|
boxHeight?: number | null;
|
|
@@ -23,6 +23,10 @@ export interface Props {
|
|
|
23
23
|
x?: number;
|
|
24
24
|
y?: number;
|
|
25
25
|
buttonY?: number | null;
|
|
26
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. */
|
|
27
|
+
xFilterCutoffHz?: number;
|
|
28
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. */
|
|
29
|
+
yFilterCutoffHz?: number;
|
|
26
30
|
fixedTarget?: boolean;
|
|
27
31
|
boxWidth?: number | null;
|
|
28
32
|
boxHeight?: number | null;
|
|
@@ -32,6 +32,10 @@ import type {ObcPoiObjectVesselType, ObcPoiObjectVesselStyle, ObcPoiObjectVessel
|
|
|
32
32
|
x?: number;
|
|
33
33
|
y?: number;
|
|
34
34
|
buttonY?: number | null;
|
|
35
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. */
|
|
36
|
+
xFilterCutoffHz?: number;
|
|
37
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. */
|
|
38
|
+
yFilterCutoffHz?: number;
|
|
35
39
|
fixedTarget?: boolean;
|
|
36
40
|
boxWidth?: number | null;
|
|
37
41
|
boxHeight?: number | null;
|
|
@@ -23,6 +23,10 @@ export interface Props {
|
|
|
23
23
|
x?: number;
|
|
24
24
|
y?: number;
|
|
25
25
|
buttonY?: number | null;
|
|
26
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. */
|
|
27
|
+
xFilterCutoffHz?: number;
|
|
28
|
+
/** Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. */
|
|
29
|
+
yFilterCutoffHz?: number;
|
|
26
30
|
fixedTarget?: boolean;
|
|
27
31
|
boxWidth?: number | null;
|
|
28
32
|
boxHeight?: number | null;
|
|
@@ -29,6 +29,8 @@ import type {ObcPoiPointerType, ObcPoiPointerState} from '@oicl/openbridge-webco
|
|
|
29
29
|
x?: number;
|
|
30
30
|
y?: number;
|
|
31
31
|
buttonY?: number | null;
|
|
32
|
+
xFilterCutoffHz?: number;
|
|
33
|
+
yFilterCutoffHz?: number;
|
|
32
34
|
fixedTarget?: boolean;
|
|
33
35
|
boxWidth?: number | null;
|
|
34
36
|
boxHeight?: number | null;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
value?: PoiButtonVisualState;
|
|
19
19
|
overlapOpaque?: boolean;
|
|
20
20
|
type?: ObcPoiButtonType;
|
|
21
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
21
22
|
inExpandedGroup?: boolean;
|
|
22
23
|
data?: ObcPoiButtonDataItem[];
|
|
23
24
|
hasRelation?: boolean;
|
|
@@ -12,6 +12,7 @@ export interface Props {
|
|
|
12
12
|
value?: PoiButtonVisualState;
|
|
13
13
|
overlapOpaque?: boolean;
|
|
14
14
|
type?: ObcPoiButtonType;
|
|
15
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
15
16
|
inExpandedGroup?: boolean;
|
|
16
17
|
data?: ObcPoiButtonDataItem[];
|
|
17
18
|
hasRelation?: boolean;
|
|
@@ -22,6 +22,7 @@ import type {ObcPoiObjectState} from '@oicl/openbridge-webcomponents/dist/ar/poi
|
|
|
22
22
|
value?: PoiButtonVisualState;
|
|
23
23
|
overlapOpaque?: boolean;
|
|
24
24
|
type?: ObcPoiButtonType;
|
|
25
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
25
26
|
inExpandedGroup?: boolean;
|
|
26
27
|
data?: ObcPoiButtonDataItem[];
|
|
27
28
|
hasRelation?: boolean;
|
|
@@ -14,6 +14,7 @@ export interface Props {
|
|
|
14
14
|
value?: PoiButtonVisualState;
|
|
15
15
|
overlapOpaque?: boolean;
|
|
16
16
|
type?: ObcPoiButtonType;
|
|
17
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
17
18
|
inExpandedGroup?: boolean;
|
|
18
19
|
data?: ObcPoiButtonDataItem[];
|
|
19
20
|
hasRelation?: boolean;
|
|
@@ -20,6 +20,7 @@ import type {ObcPoiObjectStyle, ObcPoiObjectState} from '@oicl/openbridge-webcom
|
|
|
20
20
|
value?: PoiButtonVisualState;
|
|
21
21
|
overlapOpaque?: boolean;
|
|
22
22
|
type?: ObcPoiButtonType;
|
|
23
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
23
24
|
inExpandedGroup?: boolean;
|
|
24
25
|
data?: ObcPoiButtonDataItem[];
|
|
25
26
|
hasRelation?: boolean;
|
|
@@ -13,6 +13,7 @@ export interface Props {
|
|
|
13
13
|
value?: PoiButtonVisualState;
|
|
14
14
|
overlapOpaque?: boolean;
|
|
15
15
|
type?: ObcPoiButtonType;
|
|
16
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
16
17
|
inExpandedGroup?: boolean;
|
|
17
18
|
data?: ObcPoiButtonDataItem[];
|
|
18
19
|
hasRelation?: boolean;
|
|
@@ -20,6 +20,7 @@ import type {ObcPoiObjectVesselType, ObcPoiObjectVesselStyle, ObcPoiObjectVessel
|
|
|
20
20
|
value?: PoiButtonVisualState;
|
|
21
21
|
overlapOpaque?: boolean;
|
|
22
22
|
type?: ObcPoiButtonType;
|
|
23
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
23
24
|
inExpandedGroup?: boolean;
|
|
24
25
|
data?: ObcPoiButtonDataItem[];
|
|
25
26
|
hasRelation?: boolean;
|
|
@@ -13,6 +13,7 @@ export interface Props {
|
|
|
13
13
|
value?: PoiButtonVisualState;
|
|
14
14
|
overlapOpaque?: boolean;
|
|
15
15
|
type?: ObcPoiButtonType;
|
|
16
|
+
/** Expanded-group presentation state, applied by the owning group composition while the button is shown inside an expanded `obc-poi-group` and during its collapse animations. Consumers should not set it directly. */
|
|
16
17
|
inExpandedGroup?: boolean;
|
|
17
18
|
data?: ObcPoiButtonDataItem[];
|
|
18
19
|
hasRelation?: boolean;
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
frameIndex?: number | null;
|
|
17
17
|
confidenceMin?: number | null;
|
|
18
18
|
classFilter?: string[] | null;
|
|
19
|
-
keyFn?: PoiKeyFn | null
|
|
19
|
+
keyFn?: PoiKeyFn | null;
|
|
20
|
+
/** Forwarded to every controller-owned target's `xFilterCutoffHz`; `null` leaves the targets on their default. */
|
|
21
|
+
xFilterCutoffHz?: number | null;
|
|
22
|
+
/** Forwarded to every controller-owned target's `yFilterCutoffHz`; `null` leaves the targets on their default. */
|
|
23
|
+
yFilterCutoffHz?: number | null
|
|
20
24
|
}
|
|
21
25
|
export interface Events {
|
|
22
26
|
|
|
@@ -11,6 +11,10 @@ export interface Props {
|
|
|
11
11
|
confidenceMin?: number | null;
|
|
12
12
|
classFilter?: string[] | null;
|
|
13
13
|
keyFn?: PoiKeyFn | null;
|
|
14
|
+
/** Forwarded to every controller-owned target's `xFilterCutoffHz`; `null` leaves the targets on their default. */
|
|
15
|
+
xFilterCutoffHz?: number | null;
|
|
16
|
+
/** Forwarded to every controller-owned target's `yFilterCutoffHz`; `null` leaves the targets on their default. */
|
|
17
|
+
yFilterCutoffHz?: number | null;
|
|
14
18
|
}
|
|
15
19
|
export interface Events {
|
|
16
20
|
}
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
12
|
expand?: boolean;
|
|
13
|
+
/** Collapse-animation state. Set by the group itself and by coordinating containers such as `obc-poi-layer-stack` during collapse orchestration; do not set it directly. */
|
|
13
14
|
collapsing?: boolean;
|
|
14
15
|
positionVertical?: string;
|
|
16
|
+
/** Reorders expanded targets when their horizontal positions cross. Usually set via `obc-poi-layer`'s `internal-swapping` attribute, which forwards it to auto-created groups; set it directly only on manually managed groups. */
|
|
15
17
|
internalSwapping?: boolean
|
|
16
18
|
}
|
|
17
19
|
export interface Events {
|
|
@@ -5,8 +5,10 @@ export interface Props {
|
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
7
|
expand?: boolean;
|
|
8
|
+
/** Collapse-animation state. Set by the group itself and by coordinating containers such as `obc-poi-layer-stack` during collapse orchestration; do not set it directly. */
|
|
8
9
|
collapsing?: boolean;
|
|
9
10
|
positionVertical?: string;
|
|
11
|
+
/** Reorders expanded targets when their horizontal positions cross. Usually set via `obc-poi-layer`'s `internal-swapping` attribute, which forwards it to auto-created groups; set it directly only on manually managed groups. */
|
|
10
12
|
internalSwapping?: boolean;
|
|
11
13
|
}
|
|
12
14
|
export interface Events {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
4
|
+
export type {OverlapMode} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';
|
|
5
6
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
8
|
+
import type {OverlapMode} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
@@ -18,12 +20,13 @@
|
|
|
18
20
|
}
|
|
19
21
|
export interface Events {
|
|
20
22
|
onLayerResize?: (event: CustomEvent<{height:number,label:string}>) => void;
|
|
23
|
+
onGroupingChange?: (event: CustomEvent<{clusters:Poi[][],front:Poi[],behind:Poi[],pregrouped:Poi[]}>) => void;
|
|
21
24
|
onLayerSelectionChanged?: (event: Event) => void
|
|
22
25
|
}
|
|
23
26
|
export interface Slots {
|
|
24
27
|
children?: Snippet
|
|
25
28
|
}
|
|
26
|
-
const {onLayerResize, onLayerSelectionChanged, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
29
|
+
const {onLayerResize, onGroupingChange, onLayerSelectionChanged, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
</script>
|
|
@@ -32,7 +35,7 @@
|
|
|
32
35
|
|
|
33
36
|
class={className}
|
|
34
37
|
style={style}
|
|
35
|
-
use:forwardEvents={{'layer-resize': onLayerResize, 'layer-selection-changed': onLayerSelectionChanged}} >
|
|
38
|
+
use:forwardEvents={{'layer-resize': onLayerResize, 'grouping-change': onGroupingChange, 'layer-selection-changed': onLayerSelectionChanged}} >
|
|
36
39
|
|
|
37
40
|
{#if children}
|
|
38
41
|
{@render children()}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';
|
|
2
|
+
import type { Poi } from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
2
3
|
import type { OverlapMode } from '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
@@ -16,6 +17,12 @@ export interface Events {
|
|
|
16
17
|
height: number;
|
|
17
18
|
label: string;
|
|
18
19
|
}>) => void;
|
|
20
|
+
onGroupingChange?: (event: CustomEvent<{
|
|
21
|
+
clusters: Poi[][];
|
|
22
|
+
front: Poi[];
|
|
23
|
+
behind: Poi[];
|
|
24
|
+
pregrouped: Poi[];
|
|
25
|
+
}>) => void;
|
|
19
26
|
onLayerSelectionChanged?: (event: Event) => void;
|
|
20
27
|
}
|
|
21
28
|
export interface Slots {
|
|
@@ -23,6 +30,7 @@ export interface Slots {
|
|
|
23
30
|
}
|
|
24
31
|
type $$ComponentProps = Props & Events & Slots;
|
|
25
32
|
declare const ObcPoiLayer: import("svelte").Component<$$ComponentProps, {
|
|
33
|
+
Poi: typeof Poi;
|
|
26
34
|
OverlapMode: typeof OverlapMode;
|
|
27
35
|
}, "">;
|
|
28
36
|
type ObcPoiLayer = ReturnType<typeof ObcPoiLayer>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
4
|
+
export type {PoiLayerSelectionMode} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
|
+
import type {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
8
|
+
import type {PoiLayerSelectionMode} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
@@ -12,12 +14,12 @@
|
|
|
12
14
|
selectionMode?: PoiLayerSelectionMode
|
|
13
15
|
}
|
|
14
16
|
export interface Events {
|
|
15
|
-
|
|
17
|
+
onSelectionChange?: (event: CustomEvent<{selected: Poi[]; added: Poi | null; removed: Poi | null}>) => void
|
|
16
18
|
}
|
|
17
19
|
export interface Slots {
|
|
18
20
|
children?: Snippet
|
|
19
21
|
}
|
|
20
|
-
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
22
|
+
const {onSelectionChange, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
21
23
|
|
|
22
24
|
|
|
23
25
|
</script>
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
|
|
27
29
|
class={className}
|
|
28
30
|
style={style}
|
|
29
|
-
|
|
31
|
+
use:forwardEvents={{'selection-change': onSelectionChange}} >
|
|
30
32
|
|
|
31
33
|
{#if children}
|
|
32
34
|
{@render children()}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';
|
|
2
|
+
import type { Poi } from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
2
3
|
import type { PoiLayerSelectionMode } from '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
@@ -7,12 +8,18 @@ export interface Props {
|
|
|
7
8
|
selectionMode?: PoiLayerSelectionMode;
|
|
8
9
|
}
|
|
9
10
|
export interface Events {
|
|
11
|
+
onSelectionChange?: (event: CustomEvent<{
|
|
12
|
+
selected: Poi[];
|
|
13
|
+
added: Poi | null;
|
|
14
|
+
removed: Poi | null;
|
|
15
|
+
}>) => void;
|
|
10
16
|
}
|
|
11
17
|
export interface Slots {
|
|
12
18
|
children?: Snippet;
|
|
13
19
|
}
|
|
14
20
|
type $$ComponentProps = Props & Events & Slots;
|
|
15
21
|
declare const ObcPoiLayerStack: import("svelte").Component<$$ComponentProps, {
|
|
22
|
+
Poi: typeof Poi;
|
|
16
23
|
PoiLayerSelectionMode: typeof PoiLayerSelectionMode;
|
|
17
24
|
}, "">;
|
|
18
25
|
type ObcPoiLayerStack = ReturnType<typeof ObcPoiLayerStack>;
|
|
@@ -56,7 +56,10 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
|
|
|
56
56
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
57
57
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
58
58
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
59
|
-
on
|
|
59
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
60
|
+
turnedOn?: boolean;
|
|
61
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
62
|
+
on?: boolean | undefined;
|
|
60
63
|
speedInPercent?: number;
|
|
61
64
|
speed?: number | undefined;
|
|
62
65
|
speedUnit?: string;
|
|
@@ -45,7 +45,10 @@ export interface Props {
|
|
|
45
45
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
46
46
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
47
47
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
48
|
-
on
|
|
48
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
49
|
+
turnedOn?: boolean;
|
|
50
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
51
|
+
on?: boolean | undefined;
|
|
49
52
|
speedInPercent?: number;
|
|
50
53
|
speed?: number | undefined;
|
|
51
54
|
speedUnit?: string;
|
|
@@ -56,7 +56,10 @@ import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automatio
|
|
|
56
56
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
57
57
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
58
58
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
59
|
-
on
|
|
59
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
60
|
+
turnedOn?: boolean;
|
|
61
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
62
|
+
on?: boolean | undefined;
|
|
60
63
|
variant?: SquaredVariant;
|
|
61
64
|
orientation?: AutomationButtonOrientation
|
|
62
65
|
}
|
|
@@ -45,7 +45,10 @@ export interface Props {
|
|
|
45
45
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
46
46
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
47
47
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
48
|
-
on
|
|
48
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
49
|
+
turnedOn?: boolean;
|
|
50
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
51
|
+
on?: boolean | undefined;
|
|
49
52
|
variant?: SquaredVariant;
|
|
50
53
|
orientation?: AutomationButtonOrientation;
|
|
51
54
|
}
|
|
@@ -23,7 +23,10 @@ import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcompone
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
21
21
|
export interface Props {
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
|
-
on
|
|
24
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
25
|
+
turnedOn?: boolean;
|
|
26
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
|
+
on?: boolean | undefined;
|
|
25
28
|
variant?: SquaredVariant;
|
|
26
29
|
orientation?: AutomationButtonOrientation;
|
|
27
30
|
showReadoutStack?: boolean;
|
|
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
|
|
|
10
10
|
export interface Props {
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
|
-
on
|
|
13
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
14
|
+
turnedOn?: boolean;
|
|
15
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
|
+
on?: boolean | undefined;
|
|
14
17
|
variant?: SquaredVariant;
|
|
15
18
|
orientation?: AutomationButtonOrientation;
|
|
16
19
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
21
21
|
export interface Props {
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
|
-
on
|
|
24
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
25
|
+
turnedOn?: boolean;
|
|
26
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
|
+
on?: boolean | undefined;
|
|
25
28
|
speedInPercent?: number;
|
|
26
29
|
speed?: number | undefined;
|
|
27
30
|
speedUnit?: string;
|
|
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
|
|
|
10
10
|
export interface Props {
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
|
-
on
|
|
13
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
14
|
+
turnedOn?: boolean;
|
|
15
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
|
+
on?: boolean | undefined;
|
|
14
17
|
speedInPercent?: number;
|
|
15
18
|
speed?: number | undefined;
|
|
16
19
|
speedUnit?: string;
|
|
@@ -23,7 +23,10 @@ import type {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/aut
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
21
21
|
export interface Props {
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
|
-
on
|
|
24
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
25
|
+
turnedOn?: boolean;
|
|
26
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
|
+
on?: boolean | undefined;
|
|
25
28
|
speedInPercent?: number;
|
|
26
29
|
speed?: number | undefined;
|
|
27
30
|
speedUnit?: string;
|
|
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
|
|
|
10
10
|
export interface Props {
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
|
-
on
|
|
13
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
14
|
+
turnedOn?: boolean;
|
|
15
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
|
+
on?: boolean | undefined;
|
|
14
17
|
speedInPercent?: number;
|
|
15
18
|
speed?: number | undefined;
|
|
16
19
|
speedUnit?: string;
|
|
@@ -21,7 +21,10 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
21
21
|
export interface Props {
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
|
-
on
|
|
24
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
25
|
+
turnedOn?: boolean;
|
|
26
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
|
+
on?: boolean | undefined;
|
|
25
28
|
speedInPercent?: number;
|
|
26
29
|
speed?: number | undefined;
|
|
27
30
|
speedUnit?: string;
|
|
@@ -10,7 +10,10 @@ import type { Snippet } from 'svelte';
|
|
|
10
10
|
export interface Props {
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
|
-
on
|
|
13
|
+
/** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
14
|
+
turnedOn?: boolean;
|
|
15
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
|
+
on?: boolean | undefined;
|
|
14
17
|
speedInPercent?: number;
|
|
15
18
|
speed?: number | undefined;
|
|
16
19
|
speedUnit?: string;
|
|
@@ -23,7 +23,10 @@ import type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
|
@@ -23,7 +23,10 @@ import type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/di
|
|
|
23
23
|
export interface Props {
|
|
24
24
|
class?: string;
|
|
25
25
|
style?: string;
|
|
26
|
-
on
|
|
26
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
27
|
+
turnedOn?: boolean;
|
|
28
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
29
|
+
on?: boolean | undefined;
|
|
27
30
|
variant?: SquaredVariant;
|
|
28
31
|
orientation?: AutomationButtonOrientation;
|
|
29
32
|
showReadoutStack?: boolean;
|
|
@@ -11,7 +11,10 @@ import type { Snippet } from 'svelte';
|
|
|
11
11
|
export interface Props {
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
|
-
on
|
|
14
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
15
|
+
turnedOn?: boolean;
|
|
16
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
17
|
+
on?: boolean | undefined;
|
|
15
18
|
variant?: SquaredVariant;
|
|
16
19
|
orientation?: AutomationButtonOrientation;
|
|
17
20
|
showReadoutStack?: boolean;
|
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.172",
|
|
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.172"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"svelte": "^5.0.0"
|