@oicl/openbridge-webcomponents-svelte 2.2.0-next.5 → 2.2.0-next.7
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/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +4 -1
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +4 -1
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +4 -1
- package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +4 -1
- 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/automation-button/ObcAutomationButton.svelte +25 -4
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +21 -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/digital-threeway-valve/ObcDigitalThreewayValve.svelte +4 -1
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +4 -1
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +28 -6
- package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +27 -3
- package/dist/automation/diodes/ObcDiodes.svelte +4 -1
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +4 -1
- package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte +87 -0
- package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte.d.ts +79 -0
- package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte +91 -0
- package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte.d.ts +84 -0
- package/dist/automation/direction-valve-shared/direction-valve-shared.d.ts +2 -0
- package/dist/automation/direction-valve-shared/direction-valve-shared.js +2 -0
- 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/non-return-valve/ObcNonReturnValve.svelte +87 -0
- package/dist/automation/non-return-valve/ObcNonReturnValve.svelte.d.ts +79 -0
- package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte +91 -0
- package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte.d.ts +84 -0
- package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte +91 -0
- package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte.d.ts +84 -0
- 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/dist/components/alert-button-item/ObcAlertButtonItem.svelte +11 -6
- package/dist/components/alert-button-item/ObcAlertButtonItem.svelte.d.ts +5 -1
- package/dist/components/alert-subsystem-button/ObcAlertSubsystemButton.svelte +62 -0
- package/dist/components/alert-subsystem-button/ObcAlertSubsystemButton.svelte.d.ts +43 -0
- package/dist/components/diagnostic-button/ObcDiagnosticButton.svelte +41 -0
- package/dist/components/diagnostic-button/ObcDiagnosticButton.svelte.d.ts +24 -0
- package/dist/components/diagnostic-menu/ObcDiagnosticMenu.svelte +71 -0
- package/dist/components/diagnostic-menu/ObcDiagnosticMenu.svelte.d.ts +44 -0
- package/dist/components/top-bar/ObcTopBar.svelte +6 -1
- package/dist/components/top-bar/ObcTopBar.svelte.d.ts +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/package.json +2 -2
|
@@ -25,10 +25,13 @@ import type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/di
|
|
|
25
25
|
class?: string;
|
|
26
26
|
style?: string;
|
|
27
27
|
showReadoutStack?: boolean;
|
|
28
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
29
|
+
static?: boolean;
|
|
28
30
|
/** Available when `showReadoutStack==true`. */
|
|
29
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
31
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
30
32
|
/** Available when `showReadoutStack==true`. */
|
|
31
33
|
showStatus?: boolean;
|
|
34
|
+
showStatusIcon?: boolean;
|
|
32
35
|
/** Available when `showReadoutStack==true`. */
|
|
33
36
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
34
37
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -12,10 +12,13 @@ export interface Props {
|
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
14
|
showReadoutStack?: boolean;
|
|
15
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
16
|
+
static?: boolean;
|
|
15
17
|
/** Available when `showReadoutStack==true`. */
|
|
16
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
18
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
17
19
|
/** Available when `showReadoutStack==true`. */
|
|
18
20
|
showStatus?: boolean;
|
|
21
|
+
showStatusIcon?: boolean;
|
|
19
22
|
/** Available when `showReadoutStack==true`. */
|
|
20
23
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
21
24
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -22,10 +22,13 @@ import type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/autom
|
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
24
|
showReadoutStack?: boolean;
|
|
25
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
26
|
+
static?: boolean;
|
|
25
27
|
/** Available when `showReadoutStack==true`. */
|
|
26
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
28
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
27
29
|
/** Available when `showReadoutStack==true`. */
|
|
28
30
|
showStatus?: boolean;
|
|
31
|
+
showStatusIcon?: boolean;
|
|
29
32
|
/** Available when `showReadoutStack==true`. */
|
|
30
33
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
31
34
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -11,10 +11,13 @@ export interface Props {
|
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
13
|
showReadoutStack?: boolean;
|
|
14
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
15
|
+
static?: boolean;
|
|
14
16
|
/** Available when `showReadoutStack==true`. */
|
|
15
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
17
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
16
18
|
/** Available when `showReadoutStack==true`. */
|
|
17
19
|
showStatus?: boolean;
|
|
20
|
+
showStatusIcon?: boolean;
|
|
18
21
|
/** Available when `showReadoutStack==true`. */
|
|
19
22
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
20
23
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -20,10 +20,13 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
20
20
|
class?: string;
|
|
21
21
|
style?: string;
|
|
22
22
|
showReadoutStack?: boolean;
|
|
23
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
24
|
+
static?: boolean;
|
|
23
25
|
/** Available when `showReadoutStack==true`. */
|
|
24
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
26
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
25
27
|
/** Available when `showReadoutStack==true`. */
|
|
26
28
|
showStatus?: boolean;
|
|
29
|
+
showStatusIcon?: boolean;
|
|
27
30
|
/** Available when `showReadoutStack==true`. */
|
|
28
31
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
29
32
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -10,10 +10,13 @@ export interface Props {
|
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
12
|
showReadoutStack?: boolean;
|
|
13
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
14
|
+
static?: boolean;
|
|
13
15
|
/** Available when `showReadoutStack==true`. */
|
|
14
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
16
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
15
17
|
/** Available when `showReadoutStack==true`. */
|
|
16
18
|
showStatus?: boolean;
|
|
19
|
+
showStatusIcon?: boolean;
|
|
17
20
|
/** Available when `showReadoutStack==true`. */
|
|
18
21
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
19
22
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -22,10 +22,13 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
|
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
24
|
showReadoutStack?: boolean;
|
|
25
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
26
|
+
static?: boolean;
|
|
25
27
|
/** Available when `showReadoutStack==true`. */
|
|
26
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
28
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
27
29
|
/** Available when `showReadoutStack==true`. */
|
|
28
30
|
showStatus?: boolean;
|
|
31
|
+
showStatusIcon?: boolean;
|
|
29
32
|
/** Available when `showReadoutStack==true`. */
|
|
30
33
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
31
34
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -11,10 +11,13 @@ export interface Props {
|
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
13
|
showReadoutStack?: boolean;
|
|
14
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
15
|
+
static?: boolean;
|
|
14
16
|
/** Available when `showReadoutStack==true`. */
|
|
15
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
17
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
16
18
|
/** Available when `showReadoutStack==true`. */
|
|
17
19
|
showStatus?: boolean;
|
|
20
|
+
showStatusIcon?: boolean;
|
|
18
21
|
/** Available when `showReadoutStack==true`. */
|
|
19
22
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
20
23
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -22,10 +22,13 @@ import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automatio
|
|
|
22
22
|
class?: string;
|
|
23
23
|
style?: string;
|
|
24
24
|
showReadoutStack?: boolean;
|
|
25
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
26
|
+
static?: boolean;
|
|
25
27
|
/** Available when `showReadoutStack==true`. */
|
|
26
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
28
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
27
29
|
/** Available when `showReadoutStack==true`. */
|
|
28
30
|
showStatus?: boolean;
|
|
31
|
+
showStatusIcon?: boolean;
|
|
29
32
|
/** Available when `showReadoutStack==true`. */
|
|
30
33
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
31
34
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -11,10 +11,13 @@ export interface Props {
|
|
|
11
11
|
class?: string;
|
|
12
12
|
style?: string;
|
|
13
13
|
showReadoutStack?: boolean;
|
|
14
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
15
|
+
static?: boolean;
|
|
14
16
|
/** Available when `showReadoutStack==true`. */
|
|
15
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
17
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
16
18
|
/** Available when `showReadoutStack==true`. */
|
|
17
19
|
showStatus?: boolean;
|
|
20
|
+
showStatusIcon?: boolean;
|
|
18
21
|
/** Available when `showReadoutStack==true`. */
|
|
19
22
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
20
23
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
|
+
export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation, AutomationButtonHandlePosition, AutomationButtonHandleSize, AutomationButtonSelfActuationLine} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
4
|
export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
5
5
|
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
6
|
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -8,7 +8,7 @@ export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
8
8
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
9
9
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
10
10
|
import NamedSlot from "../../NamedSlot.svelte";
|
|
11
|
-
import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
11
|
+
import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation, AutomationButtonHandlePosition, AutomationButtonHandleSize, AutomationButtonSelfActuationLine} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
12
12
|
import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
13
13
|
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
14
|
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -55,7 +55,23 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
55
55
|
positioning?: AutomationButtonPositioning;
|
|
56
56
|
orientation?: AutomationButtonOrientation;
|
|
57
57
|
/** Badge spacer should be set to true if there is a badge on the same side as the label */
|
|
58
|
-
hasBadgeSpacer?: boolean
|
|
58
|
+
hasBadgeSpacer?: boolean;
|
|
59
|
+
/** Side of the symbol the handle sits on; `none` hides the handle and the self-actuation line. */
|
|
60
|
+
handlePosition?: AutomationButtonHandlePosition;
|
|
61
|
+
/**
|
|
62
|
+
* `small` draws the handle from the symbol's centre, for symbols without a button around them.
|
|
63
|
+
*
|
|
64
|
+
* Available when `handlePosition!=none`.
|
|
65
|
+
*/
|
|
66
|
+
handleSize?: AutomationButtonHandleSize;
|
|
67
|
+
/**
|
|
68
|
+
* Side of the symbol the self-actuation line runs to from the handle. Drawn only on a side next to the handle.
|
|
69
|
+
*
|
|
70
|
+
* Available when `handlePosition!=none`.
|
|
71
|
+
*/
|
|
72
|
+
selfActuationLine?: AutomationButtonSelfActuationLine;
|
|
73
|
+
/** Name for assistive technology when the button shows no text of its own, such as a symbol without a tag. */
|
|
74
|
+
accessibleName?: string | null
|
|
59
75
|
}
|
|
60
76
|
export interface Events {
|
|
61
77
|
onClick?: (event: CustomEvent<unknown>) => void
|
|
@@ -67,11 +83,12 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
67
83
|
badgeBottomRight?: Snippet;
|
|
68
84
|
icon?: Snippet;
|
|
69
85
|
iconSilhouette?: Snippet;
|
|
86
|
+
handle?: Snippet;
|
|
70
87
|
alertIcon?: Snippet;
|
|
71
88
|
alertLabel?: Snippet;
|
|
72
89
|
alertTimer?: Snippet
|
|
73
90
|
}
|
|
74
|
-
const {onClick, class: className, style, badgeTopRight, badgeTopLeft, badgeBottomLeft, badgeBottomRight, icon, iconSilhouette, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
91
|
+
const {onClick, class: className, style, badgeTopRight, badgeTopLeft, badgeBottomLeft, badgeBottomRight, icon, iconSilhouette, handle, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
75
92
|
|
|
76
93
|
|
|
77
94
|
</script>
|
|
@@ -106,6 +123,10 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
106
123
|
<NamedSlot name="icon-silhouette" content={iconSilhouette} />
|
|
107
124
|
{/if}
|
|
108
125
|
|
|
126
|
+
{#if handle}
|
|
127
|
+
<NamedSlot name="handle" content={handle} />
|
|
128
|
+
{/if}
|
|
129
|
+
|
|
109
130
|
{#if alertIcon}
|
|
110
131
|
<NamedSlot name="alert-icon" content={alertIcon} />
|
|
111
132
|
{/if}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
2
|
-
import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
2
|
+
import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation, AutomationButtonHandlePosition, AutomationButtonHandleSize, AutomationButtonSelfActuationLine } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
3
|
import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
4
4
|
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
5
|
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -46,6 +46,22 @@ export interface Props {
|
|
|
46
46
|
orientation?: AutomationButtonOrientation;
|
|
47
47
|
/** Badge spacer should be set to true if there is a badge on the same side as the label */
|
|
48
48
|
hasBadgeSpacer?: boolean;
|
|
49
|
+
/** Side of the symbol the handle sits on; `none` hides the handle and the self-actuation line. */
|
|
50
|
+
handlePosition?: AutomationButtonHandlePosition;
|
|
51
|
+
/**
|
|
52
|
+
* `small` draws the handle from the symbol's centre, for symbols without a button around them.
|
|
53
|
+
*
|
|
54
|
+
* Available when `handlePosition!=none`.
|
|
55
|
+
*/
|
|
56
|
+
handleSize?: AutomationButtonHandleSize;
|
|
57
|
+
/**
|
|
58
|
+
* Side of the symbol the self-actuation line runs to from the handle. Drawn only on a side next to the handle.
|
|
59
|
+
*
|
|
60
|
+
* Available when `handlePosition!=none`.
|
|
61
|
+
*/
|
|
62
|
+
selfActuationLine?: AutomationButtonSelfActuationLine;
|
|
63
|
+
/** Name for assistive technology when the button shows no text of its own, such as a symbol without a tag. */
|
|
64
|
+
accessibleName?: string | null;
|
|
49
65
|
}
|
|
50
66
|
export interface Events {
|
|
51
67
|
onClick?: (event: CustomEvent<unknown>) => void;
|
|
@@ -57,6 +73,7 @@ export interface Slots {
|
|
|
57
73
|
badgeBottomRight?: Snippet;
|
|
58
74
|
icon?: Snippet;
|
|
59
75
|
iconSilhouette?: Snippet;
|
|
76
|
+
handle?: Snippet;
|
|
60
77
|
alertIcon?: Snippet;
|
|
61
78
|
alertLabel?: Snippet;
|
|
62
79
|
alertTimer?: Snippet;
|
|
@@ -69,6 +86,9 @@ declare const ObcAutomationButton: import("svelte").Component<$$ComponentProps,
|
|
|
69
86
|
AutomationButtonDirection: typeof AutomationButtonDirection;
|
|
70
87
|
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
71
88
|
AutomationButtonOrientation: typeof AutomationButtonOrientation;
|
|
89
|
+
AutomationButtonHandlePosition: typeof AutomationButtonHandlePosition;
|
|
90
|
+
AutomationButtonHandleSize: typeof AutomationButtonHandleSize;
|
|
91
|
+
AutomationButtonSelfActuationLine: typeof AutomationButtonSelfActuationLine;
|
|
72
92
|
AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
|
|
73
93
|
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
74
94
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
@@ -30,10 +30,13 @@ import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcompone
|
|
|
30
30
|
variant?: SquaredVariant;
|
|
31
31
|
orientation?: AutomationButtonOrientation;
|
|
32
32
|
showReadoutStack?: boolean;
|
|
33
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
34
|
+
static?: boolean;
|
|
33
35
|
/** Available when `showReadoutStack==true`. */
|
|
34
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
36
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
35
37
|
/** Available when `showReadoutStack==true`. */
|
|
36
38
|
showStatus?: boolean;
|
|
39
|
+
showStatusIcon?: boolean;
|
|
37
40
|
/** Available when `showReadoutStack==true`. */
|
|
38
41
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
39
42
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -18,10 +18,13 @@ export interface Props {
|
|
|
18
18
|
variant?: SquaredVariant;
|
|
19
19
|
orientation?: AutomationButtonOrientation;
|
|
20
20
|
showReadoutStack?: boolean;
|
|
21
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
22
|
+
static?: boolean;
|
|
21
23
|
/** Available when `showReadoutStack==true`. */
|
|
22
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
24
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
23
25
|
/** Available when `showReadoutStack==true`. */
|
|
24
26
|
showStatus?: boolean;
|
|
27
|
+
showStatusIcon?: boolean;
|
|
25
28
|
/** Available when `showReadoutStack==true`. */
|
|
26
29
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
30
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -30,10 +30,13 @@ import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
30
30
|
variant?: SquaredVariant;
|
|
31
31
|
orientation?: AutomationButtonOrientation;
|
|
32
32
|
showReadoutStack?: boolean;
|
|
33
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
34
|
+
static?: boolean;
|
|
33
35
|
/** Available when `showReadoutStack==true`. */
|
|
34
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
36
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
35
37
|
/** Available when `showReadoutStack==true`. */
|
|
36
38
|
showStatus?: boolean;
|
|
39
|
+
showStatusIcon?: boolean;
|
|
37
40
|
/** Available when `showReadoutStack==true`. */
|
|
38
41
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
39
42
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -18,10 +18,13 @@ export interface Props {
|
|
|
18
18
|
variant?: SquaredVariant;
|
|
19
19
|
orientation?: AutomationButtonOrientation;
|
|
20
20
|
showReadoutStack?: boolean;
|
|
21
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
22
|
+
static?: boolean;
|
|
21
23
|
/** Available when `showReadoutStack==true`. */
|
|
22
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
24
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
23
25
|
/** Available when `showReadoutStack==true`. */
|
|
24
26
|
showStatus?: boolean;
|
|
27
|
+
showStatusIcon?: boolean;
|
|
25
28
|
/** Available when `showReadoutStack==true`. */
|
|
26
29
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
30
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -30,10 +30,13 @@ import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
30
30
|
variant?: SquaredVariant;
|
|
31
31
|
orientation?: AutomationButtonOrientation;
|
|
32
32
|
showReadoutStack?: boolean;
|
|
33
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
34
|
+
static?: boolean;
|
|
33
35
|
/** Available when `showReadoutStack==true`. */
|
|
34
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
36
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
35
37
|
/** Available when `showReadoutStack==true`. */
|
|
36
38
|
showStatus?: boolean;
|
|
39
|
+
showStatusIcon?: boolean;
|
|
37
40
|
/** Available when `showReadoutStack==true`. */
|
|
38
41
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
39
42
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -18,10 +18,13 @@ export interface Props {
|
|
|
18
18
|
variant?: SquaredVariant;
|
|
19
19
|
orientation?: AutomationButtonOrientation;
|
|
20
20
|
showReadoutStack?: boolean;
|
|
21
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
22
|
+
static?: boolean;
|
|
21
23
|
/** Available when `showReadoutStack==true`. */
|
|
22
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
24
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
23
25
|
/** Available when `showReadoutStack==true`. */
|
|
24
26
|
showStatus?: boolean;
|
|
27
|
+
showStatusIcon?: boolean;
|
|
25
28
|
/** Available when `showReadoutStack==true`. */
|
|
26
29
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
30
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -28,10 +28,13 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
28
28
|
variant?: SquaredVariant;
|
|
29
29
|
orientation?: AutomationButtonOrientation;
|
|
30
30
|
showReadoutStack?: boolean;
|
|
31
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
32
|
+
static?: boolean;
|
|
31
33
|
/** Available when `showReadoutStack==true`. */
|
|
32
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
34
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
33
35
|
/** Available when `showReadoutStack==true`. */
|
|
34
36
|
showStatus?: boolean;
|
|
37
|
+
showStatusIcon?: boolean;
|
|
35
38
|
/** Available when `showReadoutStack==true`. */
|
|
36
39
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
37
40
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -17,10 +17,13 @@ export interface Props {
|
|
|
17
17
|
variant?: SquaredVariant;
|
|
18
18
|
orientation?: AutomationButtonOrientation;
|
|
19
19
|
showReadoutStack?: boolean;
|
|
20
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
21
|
+
static?: boolean;
|
|
20
22
|
/** Available when `showReadoutStack==true`. */
|
|
21
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
23
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
22
24
|
/** Available when `showReadoutStack==true`. */
|
|
23
25
|
showStatus?: boolean;
|
|
26
|
+
showStatusIcon?: boolean;
|
|
24
27
|
/** Available when `showReadoutStack==true`. */
|
|
25
28
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
26
29
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -25,10 +25,13 @@ import type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/d
|
|
|
25
25
|
class?: string;
|
|
26
26
|
style?: string;
|
|
27
27
|
showReadoutStack?: boolean;
|
|
28
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
29
|
+
static?: boolean;
|
|
28
30
|
/** Available when `showReadoutStack==true`. */
|
|
29
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
31
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
30
32
|
/** Available when `showReadoutStack==true`. */
|
|
31
33
|
showStatus?: boolean;
|
|
34
|
+
showStatusIcon?: boolean;
|
|
32
35
|
/** Available when `showReadoutStack==true`. */
|
|
33
36
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
34
37
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -12,10 +12,13 @@ export interface Props {
|
|
|
12
12
|
class?: string;
|
|
13
13
|
style?: string;
|
|
14
14
|
showReadoutStack?: boolean;
|
|
15
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
16
|
+
static?: boolean;
|
|
15
17
|
/** Available when `showReadoutStack==true`. */
|
|
16
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
18
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
17
19
|
/** Available when `showReadoutStack==true`. */
|
|
18
20
|
showStatus?: boolean;
|
|
21
|
+
showStatusIcon?: boolean;
|
|
19
22
|
/** Available when `showReadoutStack==true`. */
|
|
20
23
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
21
24
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
|
+
export type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
4
|
export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
5
5
|
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
-
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
6
|
+
export type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
7
|
export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
8
|
export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
|
+
export type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
|
|
9
10
|
export type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
10
11
|
import '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
11
12
|
import { setProperties } from "../../util.js";
|
|
12
|
-
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
13
|
+
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
13
14
|
import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
14
15
|
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
15
|
-
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
16
|
+
import type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
16
17
|
import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
17
18
|
import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
19
|
+
import type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
|
|
18
20
|
import type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
19
21
|
import type { Snippet } from 'svelte';
|
|
20
22
|
|
|
@@ -22,10 +24,13 @@ import type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/auto
|
|
|
22
24
|
class?: string;
|
|
23
25
|
style?: string;
|
|
24
26
|
showReadoutStack?: boolean;
|
|
27
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
28
|
+
static?: boolean;
|
|
25
29
|
/** Available when `showReadoutStack==true`. */
|
|
26
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
30
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
27
31
|
/** Available when `showReadoutStack==true`. */
|
|
28
32
|
showStatus?: boolean;
|
|
33
|
+
showStatusIcon?: boolean;
|
|
29
34
|
/** Available when `showReadoutStack==true`. */
|
|
30
35
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
31
36
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -57,7 +62,24 @@ import type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/auto
|
|
|
57
62
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
58
63
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
59
64
|
open?: boolean;
|
|
60
|
-
|
|
65
|
+
/** Draw the valve for a vertical pipe; used only while `flowDirection` is unset. */
|
|
66
|
+
vertical?: boolean;
|
|
67
|
+
/** Direction the medium flows through the valve; the symbol turns with it. When unset, `vertical` picks `down`, otherwise `right`. */
|
|
68
|
+
flowDirection?: Direction | undefined;
|
|
69
|
+
/** The handle or actuator drawn on the valve. It sits on top when the flow is to the right and turns with the flow. */
|
|
70
|
+
handle?: ObcValveHandle;
|
|
71
|
+
/**
|
|
72
|
+
* Put the handle on the other side of the valve.
|
|
73
|
+
*
|
|
74
|
+
* Available when `handle!=none`.
|
|
75
|
+
*/
|
|
76
|
+
invertHandlePosition?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Size of the handle: `small` draws it from the symbol's centre, for symbols without a button around them.
|
|
79
|
+
*
|
|
80
|
+
* Available when `handle!=none`.
|
|
81
|
+
*/
|
|
82
|
+
handleSize?: AutomationButtonHandleSize;
|
|
61
83
|
variant?: DigitalValveVariant
|
|
62
84
|
}
|
|
63
85
|
export interface Events {
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
2
|
-
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
2
|
+
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
3
|
import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
4
4
|
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
|
-
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
|
+
import type { AlertType, Direction } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
6
6
|
import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
7
7
|
import type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
8
|
+
import type { ObcValveHandle } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
|
|
8
9
|
import type { DigitalValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
9
10
|
import type { Snippet } from 'svelte';
|
|
10
11
|
export interface Props {
|
|
11
12
|
class?: string;
|
|
12
13
|
style?: string;
|
|
13
14
|
showReadoutStack?: boolean;
|
|
15
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
16
|
+
static?: boolean;
|
|
14
17
|
/** Available when `showReadoutStack==true`. */
|
|
15
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
18
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
16
19
|
/** Available when `showReadoutStack==true`. */
|
|
17
20
|
showStatus?: boolean;
|
|
21
|
+
showStatusIcon?: boolean;
|
|
18
22
|
/** Available when `showReadoutStack==true`. */
|
|
19
23
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
20
24
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -46,7 +50,24 @@ export interface Props {
|
|
|
46
50
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
47
51
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
48
52
|
open?: boolean;
|
|
53
|
+
/** Draw the valve for a vertical pipe; used only while `flowDirection` is unset. */
|
|
49
54
|
vertical?: boolean;
|
|
55
|
+
/** Direction the medium flows through the valve; the symbol turns with it. When unset, `vertical` picks `down`, otherwise `right`. */
|
|
56
|
+
flowDirection?: Direction | undefined;
|
|
57
|
+
/** The handle or actuator drawn on the valve. It sits on top when the flow is to the right and turns with the flow. */
|
|
58
|
+
handle?: ObcValveHandle;
|
|
59
|
+
/**
|
|
60
|
+
* Put the handle on the other side of the valve.
|
|
61
|
+
*
|
|
62
|
+
* Available when `handle!=none`.
|
|
63
|
+
*/
|
|
64
|
+
invertHandlePosition?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Size of the handle: `small` draws it from the symbol's centre, for symbols without a button around them.
|
|
67
|
+
*
|
|
68
|
+
* Available when `handle!=none`.
|
|
69
|
+
*/
|
|
70
|
+
handleSize?: AutomationButtonHandleSize;
|
|
50
71
|
variant?: DigitalValveVariant;
|
|
51
72
|
}
|
|
52
73
|
export interface Events {
|
|
@@ -58,16 +79,19 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
58
79
|
declare const ObcDigitalValve: import("svelte").Component<$$ComponentProps, {
|
|
59
80
|
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
60
81
|
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
82
|
+
AutomationButtonHandleSize: typeof AutomationButtonHandleSize;
|
|
61
83
|
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
62
84
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
63
85
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
64
86
|
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
65
87
|
AlertType: typeof AlertType;
|
|
88
|
+
Direction: typeof Direction;
|
|
66
89
|
CircularProgressMode: typeof CircularProgressMode;
|
|
67
90
|
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
68
91
|
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
69
92
|
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
70
93
|
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
94
|
+
ObcValveHandle: typeof ObcValveHandle;
|
|
71
95
|
DigitalValveVariant: typeof DigitalValveVariant;
|
|
72
96
|
}, "">;
|
|
73
97
|
type ObcDigitalValve = ReturnType<typeof ObcDigitalValve>;
|
|
@@ -30,10 +30,13 @@ import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
30
30
|
variant?: SquaredVariant;
|
|
31
31
|
orientation?: AutomationButtonOrientation;
|
|
32
32
|
showReadoutStack?: boolean;
|
|
33
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
34
|
+
static?: boolean;
|
|
33
35
|
/** Available when `showReadoutStack==true`. */
|
|
34
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
36
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
35
37
|
/** Available when `showReadoutStack==true`. */
|
|
36
38
|
showStatus?: boolean;
|
|
39
|
+
showStatusIcon?: boolean;
|
|
37
40
|
/** Available when `showReadoutStack==true`. */
|
|
38
41
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
39
42
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -18,10 +18,13 @@ export interface Props {
|
|
|
18
18
|
variant?: SquaredVariant;
|
|
19
19
|
orientation?: AutomationButtonOrientation;
|
|
20
20
|
showReadoutStack?: boolean;
|
|
21
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
22
|
+
static?: boolean;
|
|
21
23
|
/** Available when `showReadoutStack==true`. */
|
|
22
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
24
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
23
25
|
/** Available when `showReadoutStack==true`. */
|
|
24
26
|
showStatus?: boolean;
|
|
27
|
+
showStatusIcon?: boolean;
|
|
25
28
|
/** Available when `showReadoutStack==true`. */
|
|
26
29
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
30
|
/** Available when `showReadoutStack==true`. */
|