@oicl/openbridge-webcomponents-svelte 2.0.0 → 2.1.0-next.10
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 +110 -0
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +90 -0
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +2 -2
- package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +2 -2
- package/dist/automation/automation-button/ObcAutomationButton.svelte +2 -2
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -2
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +34 -3
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +34 -2
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +2 -2
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +2 -2
- package/dist/automation/capacitor/ObcCapacitor.svelte +2 -2
- package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +2 -2
- package/dist/automation/converter/ObcConverter.svelte +2 -2
- package/dist/automation/converter/ObcConverter.svelte.d.ts +2 -2
- package/dist/automation/damper/ObcDamper.svelte +2 -2
- package/dist/automation/damper/ObcDamper.svelte.d.ts +2 -2
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +110 -0
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +90 -0
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +2 -2
- package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +2 -2
- package/dist/automation/diodes/ObcDiodes.svelte +2 -2
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +2 -2
- package/dist/automation/fan/ObcFan.svelte +2 -2
- package/dist/automation/fan/ObcFan.svelte.d.ts +2 -2
- package/dist/automation/filter/ObcFilter.svelte +2 -2
- package/dist/automation/filter/ObcFilter.svelte.d.ts +2 -2
- package/dist/automation/ground/ObcGround.svelte +2 -2
- package/dist/automation/ground/ObcGround.svelte.d.ts +2 -2
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +10 -4
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte.d.ts +10 -3
- package/dist/automation/heat-pump/ObcHeatPump.svelte +10 -4
- package/dist/automation/heat-pump/ObcHeatPump.svelte.d.ts +10 -3
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +10 -4
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte.d.ts +10 -3
- package/dist/automation/logic/ObcLogic.svelte +2 -2
- package/dist/automation/logic/ObcLogic.svelte.d.ts +2 -2
- package/dist/automation/mosfet/ObcMosfet.svelte +2 -2
- package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +2 -2
- package/dist/automation/motor/ObcMotor.svelte +2 -2
- package/dist/automation/motor/ObcMotor.svelte.d.ts +2 -2
- package/dist/automation/pump/ObcPump.svelte +2 -2
- package/dist/automation/pump/ObcPump.svelte.d.ts +2 -2
- package/dist/automation/resistor/ObcResistor.svelte +2 -2
- package/dist/automation/resistor/ObcResistor.svelte.d.ts +2 -2
- package/dist/automation/router/ObcRouter.svelte +2 -2
- package/dist/automation/router/ObcRouter.svelte.d.ts +2 -2
- package/dist/automation/source/ObcSource.svelte +2 -2
- package/dist/automation/source/ObcSource.svelte.d.ts +2 -2
- package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte +10 -4
- package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte.d.ts +10 -3
- package/dist/automation/switch/ObcSwitch.svelte +2 -2
- package/dist/automation/switch/ObcSwitch.svelte.d.ts +2 -2
- package/dist/automation/transformer/ObcTransformer.svelte +2 -2
- package/dist/automation/transformer/ObcTransformer.svelte.d.ts +2 -2
- package/dist/automation/transmitter/ObcTransmitter.svelte +58 -3
- package/dist/automation/transmitter/ObcTransmitter.svelte.d.ts +46 -1
- package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte +20 -6
- package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte.d.ts +22 -5
- package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte +7 -1
- package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte.d.ts +7 -1
- package/dist/building-blocks/alert-list/ObcAlertList.svelte +1 -0
- package/dist/building-blocks/alert-list/ObcAlertList.svelte.d.ts +1 -0
- package/dist/building-blocks/alert-list/ObcAlertListBase.svelte +34 -0
- package/dist/building-blocks/alert-list/ObcAlertListBase.svelte.d.ts +15 -0
- package/dist/components/accordion-card/ObcAccordionCard.svelte +22 -4
- package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +21 -2
- package/dist/components/alert-menu/ObcAlertMenu.svelte +2 -2
- package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +2 -2
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +3 -1
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +3 -1
- package/dist/components/app-menu/ObcAppMenu.svelte +2 -2
- package/dist/components/app-menu/ObcAppMenu.svelte.d.ts +2 -2
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +6 -4
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte.d.ts +5 -4
- package/dist/components/command-menu/ObcCommandMenu.svelte +2 -2
- package/dist/components/command-menu/ObcCommandMenu.svelte.d.ts +2 -2
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +2 -2
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +2 -2
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte +2 -2
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +2 -2
- package/dist/components/system-menu/ObcSystemMenu.svelte +2 -2
- package/dist/components/system-menu/ObcSystemMenu.svelte.d.ts +2 -2
- package/dist/components/user-menu/ObcUserMenu.svelte +2 -2
- package/dist/components/user-menu/ObcUserMenu.svelte.d.ts +2 -2
- package/dist/icons/ObiElectricBolt.svelte +34 -0
- package/dist/icons/ObiElectricBolt.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricLightning.svelte +34 -0
- package/dist/icons/ObiElectricLightning.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatBoldGoogle.svelte +34 -0
- package/dist/icons/ObiFormatBoldGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatItalicGoogle.svelte +34 -0
- package/dist/icons/ObiFormatItalicGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatListBulletedGoogle.svelte +34 -0
- package/dist/icons/ObiFormatListBulletedGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatListNumberedGoogle.svelte +34 -0
- package/dist/icons/ObiFormatListNumberedGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiFormatUnderlineGoogle.svelte +34 -0
- package/dist/icons/ObiFormatUnderlineGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiLevelDisplacementTransmitter.svelte +34 -0
- package/dist/icons/ObiLevelDisplacementTransmitter.svelte.d.ts +16 -0
- package/dist/icons/ObiLink2.svelte +34 -0
- package/dist/icons/ObiLink2.svelte.d.ts +16 -0
- package/dist/icons/ObiLogOpen.svelte +34 -0
- package/dist/icons/ObiLogOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiQuantity.svelte +34 -0
- package/dist/icons/ObiQuantity.svelte.d.ts +16 -0
- package/dist/icons/ObiSimulate.svelte +34 -0
- package/dist/icons/ObiSimulate.svelte.d.ts +16 -0
- package/dist/icons/ObiTestTube.svelte +34 -0
- package/dist/icons/ObiTestTube.svelte.d.ts +16 -0
- package/dist/icons/ObiTimer.svelte +34 -0
- package/dist/icons/ObiTimer.svelte.d.ts +16 -0
- package/dist/icons/ObiTimer2.svelte +34 -0
- package/dist/icons/ObiTimer2.svelte.d.ts +16 -0
- package/dist/index.d.ts +26 -7
- package/dist/index.js +26 -7
- package/dist/{icons → manual-icon}/ObiCriticalAcknowledged.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalAcknowledged.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalBadge.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalBadge.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalNoack.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalNoack.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalRectified.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalRectified.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalSilenced.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalSilenced.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalTransferred.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalTransferred.svelte.d.ts +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalUnacknowledged.svelte +1 -1
- package/dist/{icons → manual-icon}/ObiCriticalUnacknowledged.svelte.d.ts +1 -1
- package/dist/navigation-instruments/compass/ObcCompass.svelte +8 -2
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +8 -1
- package/dist/navigation-instruments/current/ObcCurrent.svelte +8 -2
- package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +8 -1
- package/dist/navigation-instruments/depth/ObcDepth.svelte +8 -2
- package/dist/navigation-instruments/depth/ObcDepth.svelte.d.ts +8 -1
- package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte +8 -0
- package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte.d.ts +8 -0
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +4 -0
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +4 -0
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +4 -0
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +4 -0
- package/dist/navigation-instruments/heading/ObcHeading.svelte +8 -2
- package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +8 -1
- package/dist/navigation-instruments/heave/ObcHeave.svelte +8 -0
- package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +8 -0
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +4 -2
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +4 -1
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +14 -2
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +14 -1
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +14 -2
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +14 -1
- package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte +8 -2
- package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte.d.ts +8 -1
- package/dist/navigation-instruments/roll/ObcRoll.svelte +4 -2
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +4 -1
- package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte +5 -3
- package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte.d.ts +4 -1
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +5 -3
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -1
- package/dist/navigation-instruments/wind/ObcWind.svelte +4 -2
- package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +4 -1
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +11 -3
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +10 -2
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte +43 -0
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte.d.ts +25 -0
- package/package.json +2 -2
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
|
+
export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
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';
|
|
7
|
+
export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
|
+
export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
10
|
+
export type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
11
|
+
import '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
12
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
13
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
14
|
+
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
15
|
+
import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
16
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
17
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
18
|
+
import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
19
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
20
|
+
import type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
21
|
+
import type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
22
|
+
import type { Snippet } from 'svelte';
|
|
23
|
+
|
|
24
|
+
export interface Props {
|
|
25
|
+
class?: string;
|
|
26
|
+
style?: string;
|
|
27
|
+
showReadoutStack?: boolean;
|
|
28
|
+
/** Available when `showReadoutStack==true`. */
|
|
29
|
+
readoutPosition?: AutomationButtonReadoutPosition;
|
|
30
|
+
/** Available when `showReadoutStack==true`. */
|
|
31
|
+
showStatus?: boolean;
|
|
32
|
+
/** Available when `showReadoutStack==true`. */
|
|
33
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
34
|
+
/** Available when `showReadoutStack==true`. */
|
|
35
|
+
tag?: string | null;
|
|
36
|
+
positioning?: AutomationButtonPositioning;
|
|
37
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
38
|
+
activated?: boolean;
|
|
39
|
+
alert?: boolean;
|
|
40
|
+
/** Available when `alert==true`. */
|
|
41
|
+
alertFrameType?: ObcAlertFrameType;
|
|
42
|
+
/** Available when `alert==true`. */
|
|
43
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
44
|
+
/** Available when `alert==true`. */
|
|
45
|
+
alertFrameStatus?: AlertType;
|
|
46
|
+
/** Available when `alert==true`. */
|
|
47
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
48
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
49
|
+
showAlertCategoryIcon?: boolean;
|
|
50
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
51
|
+
showAlertIcon?: boolean;
|
|
52
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
53
|
+
progress?: boolean;
|
|
54
|
+
/** Available when `progress==true`. */
|
|
55
|
+
progressMode?: CircularProgressMode;
|
|
56
|
+
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
57
|
+
progressValue?: number;
|
|
58
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
59
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
60
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
61
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
62
|
+
/** Opening of port 1 in percent (0–100). */
|
|
63
|
+
open1?: number;
|
|
64
|
+
/** Opening of port 2, the stem, in percent (0–100). */
|
|
65
|
+
open2?: number;
|
|
66
|
+
/** Opening of port 3 in percent (0–100). */
|
|
67
|
+
open3?: number;
|
|
68
|
+
/** Side the stem points to. */
|
|
69
|
+
orientation?: ThreewayValveOrientation;
|
|
70
|
+
/** Readout rows, one per flow: an optional arrow direction with either a value and optional unit (default `%`) or `open` for an `Open`/`Closed` state. */
|
|
71
|
+
flows?: ThreewayValveFlow[];
|
|
72
|
+
/** Visual style of the button surround. */
|
|
73
|
+
variant?: AnalogThreewayValveVariant
|
|
74
|
+
}
|
|
75
|
+
export interface Events {
|
|
76
|
+
onClick?: (event: CustomEvent<unknown>) => void
|
|
77
|
+
}
|
|
78
|
+
export interface Slots {
|
|
79
|
+
badgeTopRight?: Snippet;
|
|
80
|
+
badgeTopLeft?: Snippet;
|
|
81
|
+
badgeBottomLeft?: Snippet;
|
|
82
|
+
badgeBottomRight?: Snippet
|
|
83
|
+
}
|
|
84
|
+
const {onClick, class: className, style, badgeTopRight, badgeTopLeft, badgeBottomLeft, badgeBottomRight, ...props} = $props<Props & Events & Slots>();
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</script>
|
|
88
|
+
<obc-analog-threeway-valve
|
|
89
|
+
use:setProperties={props}
|
|
90
|
+
|
|
91
|
+
class={className}
|
|
92
|
+
style={style}
|
|
93
|
+
use:forwardEvents={{'click': onClick}} >
|
|
94
|
+
|
|
95
|
+
{#if badgeTopRight}
|
|
96
|
+
<NamedSlot name="badge-top-right" content={badgeTopRight} />
|
|
97
|
+
{/if}
|
|
98
|
+
|
|
99
|
+
{#if badgeTopLeft}
|
|
100
|
+
<NamedSlot name="badge-top-left" content={badgeTopLeft} />
|
|
101
|
+
{/if}
|
|
102
|
+
|
|
103
|
+
{#if badgeBottomLeft}
|
|
104
|
+
<NamedSlot name="badge-bottom-left" content={badgeBottomLeft} />
|
|
105
|
+
{/if}
|
|
106
|
+
|
|
107
|
+
{#if badgeBottomRight}
|
|
108
|
+
<NamedSlot name="badge-bottom-right" content={badgeBottomRight} />
|
|
109
|
+
{/if}
|
|
110
|
+
</obc-analog-threeway-valve>
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
2
|
+
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
|
+
import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
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';
|
|
6
|
+
import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
7
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
8
|
+
import type { ThreewayValveOrientation, ThreewayValveFlow } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
9
|
+
import type { AnalogThreewayValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
10
|
+
import type { Snippet } from 'svelte';
|
|
11
|
+
export interface Props {
|
|
12
|
+
class?: string;
|
|
13
|
+
style?: string;
|
|
14
|
+
showReadoutStack?: boolean;
|
|
15
|
+
/** Available when `showReadoutStack==true`. */
|
|
16
|
+
readoutPosition?: AutomationButtonReadoutPosition;
|
|
17
|
+
/** Available when `showReadoutStack==true`. */
|
|
18
|
+
showStatus?: boolean;
|
|
19
|
+
/** Available when `showReadoutStack==true`. */
|
|
20
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
21
|
+
/** Available when `showReadoutStack==true`. */
|
|
22
|
+
tag?: string | null;
|
|
23
|
+
positioning?: AutomationButtonPositioning;
|
|
24
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
25
|
+
activated?: boolean;
|
|
26
|
+
alert?: boolean;
|
|
27
|
+
/** Available when `alert==true`. */
|
|
28
|
+
alertFrameType?: ObcAlertFrameType;
|
|
29
|
+
/** Available when `alert==true`. */
|
|
30
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
31
|
+
/** Available when `alert==true`. */
|
|
32
|
+
alertFrameStatus?: AlertType;
|
|
33
|
+
/** Available when `alert==true`. */
|
|
34
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
35
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
36
|
+
showAlertCategoryIcon?: boolean;
|
|
37
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
38
|
+
showAlertIcon?: boolean;
|
|
39
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
40
|
+
progress?: boolean;
|
|
41
|
+
/** Available when `progress==true`. */
|
|
42
|
+
progressMode?: CircularProgressMode;
|
|
43
|
+
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
44
|
+
progressValue?: number;
|
|
45
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
46
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
47
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
48
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
49
|
+
/** Opening of port 1 in percent (0–100). */
|
|
50
|
+
open1?: number;
|
|
51
|
+
/** Opening of port 2, the stem, in percent (0–100). */
|
|
52
|
+
open2?: number;
|
|
53
|
+
/** Opening of port 3 in percent (0–100). */
|
|
54
|
+
open3?: number;
|
|
55
|
+
/** Side the stem points to. */
|
|
56
|
+
orientation?: ThreewayValveOrientation;
|
|
57
|
+
/** Readout rows, one per flow: an optional arrow direction with either a value and optional unit (default `%`) or `open` for an `Open`/`Closed` state. */
|
|
58
|
+
flows?: ThreewayValveFlow[];
|
|
59
|
+
/** Visual style of the button surround. */
|
|
60
|
+
variant?: AnalogThreewayValveVariant;
|
|
61
|
+
}
|
|
62
|
+
export interface Events {
|
|
63
|
+
onClick?: (event: CustomEvent<unknown>) => void;
|
|
64
|
+
}
|
|
65
|
+
export interface Slots {
|
|
66
|
+
badgeTopRight?: Snippet;
|
|
67
|
+
badgeTopLeft?: Snippet;
|
|
68
|
+
badgeBottomLeft?: Snippet;
|
|
69
|
+
badgeBottomRight?: Snippet;
|
|
70
|
+
}
|
|
71
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
72
|
+
declare const ObcAnalogThreewayValve: import("svelte").Component<$$ComponentProps, {
|
|
73
|
+
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
74
|
+
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
75
|
+
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
76
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
77
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
78
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
79
|
+
AlertType: typeof AlertType;
|
|
80
|
+
CircularProgressMode: typeof CircularProgressMode;
|
|
81
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
82
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
83
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
84
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
85
|
+
ThreewayValveOrientation: typeof ThreewayValveOrientation;
|
|
86
|
+
ThreewayValveFlow: typeof ThreewayValveFlow;
|
|
87
|
+
AnalogThreewayValveVariant: typeof AnalogThreewayValveVariant;
|
|
88
|
+
}, "">;
|
|
89
|
+
type ObcAnalogThreewayValve = ReturnType<typeof ObcAnalogThreewayValve>;
|
|
90
|
+
export default ObcAnalogThreewayValve;
|
|
@@ -42,9 +42,9 @@ import type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/autom
|
|
|
42
42
|
alertFrameStatus?: AlertType;
|
|
43
43
|
/** Available when `alert==true`. */
|
|
44
44
|
alertFrameMode?: ObcAlertFrameMode;
|
|
45
|
-
/** Available when `alert==true`. */
|
|
45
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
|
-
/** Available when `alert==true`. */
|
|
47
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
49
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
50
|
progress?: boolean;
|
|
@@ -31,9 +31,9 @@ export interface Props {
|
|
|
31
31
|
alertFrameStatus?: AlertType;
|
|
32
32
|
/** Available when `alert==true`. */
|
|
33
33
|
alertFrameMode?: ObcAlertFrameMode;
|
|
34
|
-
/** Available when `alert==true`. */
|
|
34
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
35
35
|
showAlertCategoryIcon?: boolean;
|
|
36
|
-
/** Available when `alert==true`. */
|
|
36
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
37
37
|
showAlertIcon?: boolean;
|
|
38
38
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
39
39
|
progress?: boolean;
|
|
@@ -40,9 +40,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
40
40
|
alertFrameStatus?: AlertType;
|
|
41
41
|
/** Available when `alert==true`. */
|
|
42
42
|
alertFrameMode?: ObcAlertFrameMode;
|
|
43
|
-
/** Available when `alert==true`. */
|
|
43
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
44
44
|
showAlertCategoryIcon?: boolean;
|
|
45
|
-
/** Available when `alert==true`. */
|
|
45
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
46
46
|
showAlertIcon?: boolean;
|
|
47
47
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
48
48
|
progress?: boolean;
|
|
@@ -30,9 +30,9 @@ export interface Props {
|
|
|
30
30
|
alertFrameStatus?: AlertType;
|
|
31
31
|
/** Available when `alert==true`. */
|
|
32
32
|
alertFrameMode?: ObcAlertFrameMode;
|
|
33
|
-
/** Available when `alert==true`. */
|
|
33
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
34
34
|
showAlertCategoryIcon?: boolean;
|
|
35
|
-
/** Available when `alert==true`. */
|
|
35
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
36
36
|
showAlertIcon?: boolean;
|
|
37
37
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
38
38
|
progress?: boolean;
|
|
@@ -42,9 +42,9 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
|
|
|
42
42
|
alertFrameStatus?: AlertType;
|
|
43
43
|
/** Available when `alert==true`. */
|
|
44
44
|
alertFrameMode?: ObcAlertFrameMode;
|
|
45
|
-
/** Available when `alert==true`. */
|
|
45
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
|
-
/** Available when `alert==true`. */
|
|
47
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
49
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
50
|
progress?: boolean;
|
|
@@ -31,9 +31,9 @@ export interface Props {
|
|
|
31
31
|
alertFrameStatus?: AlertType;
|
|
32
32
|
/** Available when `alert==true`. */
|
|
33
33
|
alertFrameMode?: ObcAlertFrameMode;
|
|
34
|
-
/** Available when `alert==true`. */
|
|
34
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
35
35
|
showAlertCategoryIcon?: boolean;
|
|
36
|
-
/** Available when `alert==true`. */
|
|
36
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
37
37
|
showAlertIcon?: boolean;
|
|
38
38
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
39
39
|
progress?: boolean;
|
|
@@ -42,9 +42,9 @@ import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automatio
|
|
|
42
42
|
alertFrameStatus?: AlertType;
|
|
43
43
|
/** Available when `alert==true`. */
|
|
44
44
|
alertFrameMode?: ObcAlertFrameMode;
|
|
45
|
-
/** Available when `alert==true`. */
|
|
45
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
|
-
/** Available when `alert==true`. */
|
|
47
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
49
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
50
|
progress?: boolean;
|
|
@@ -31,9 +31,9 @@ export interface Props {
|
|
|
31
31
|
alertFrameStatus?: AlertType;
|
|
32
32
|
/** Available when `alert==true`. */
|
|
33
33
|
alertFrameMode?: ObcAlertFrameMode;
|
|
34
|
-
/** Available when `alert==true`. */
|
|
34
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
35
35
|
showAlertCategoryIcon?: boolean;
|
|
36
|
-
/** Available when `alert==true`. */
|
|
36
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
37
37
|
showAlertIcon?: boolean;
|
|
38
38
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
39
39
|
progress?: boolean;
|
|
@@ -41,9 +41,9 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
41
41
|
alertFrameStatus?: AlertType;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameMode?: ObcAlertFrameMode;
|
|
44
|
-
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
44
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
45
45
|
showAlertCategoryIcon?: boolean;
|
|
46
|
-
/** Available when `alert==true`. */
|
|
46
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
47
47
|
showAlertIcon?: boolean;
|
|
48
48
|
progress?: boolean;
|
|
49
49
|
/** Available when `progress==true`. */
|
|
@@ -31,9 +31,9 @@ export interface Props {
|
|
|
31
31
|
alertFrameStatus?: AlertType;
|
|
32
32
|
/** Available when `alert==true`. */
|
|
33
33
|
alertFrameMode?: ObcAlertFrameMode;
|
|
34
|
-
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
34
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
35
35
|
showAlertCategoryIcon?: boolean;
|
|
36
|
-
/** Available when `alert==true`. */
|
|
36
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
37
37
|
showAlertIcon?: boolean;
|
|
38
38
|
progress?: boolean;
|
|
39
39
|
/** Available when `progress==true`. */
|
|
@@ -6,7 +6,7 @@ export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automati
|
|
|
6
6
|
export type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
7
7
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
8
8
|
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
9
|
-
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
9
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
10
10
|
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
11
11
|
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
12
12
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
@@ -18,7 +18,7 @@ import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automati
|
|
|
18
18
|
import type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
19
19
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
20
20
|
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
21
|
-
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
21
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
22
22
|
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
23
23
|
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
24
24
|
import type { Snippet } from 'svelte';
|
|
@@ -79,12 +79,43 @@ animateSetpoint?: boolean;
|
|
|
79
79
|
hasAdvice?: boolean;
|
|
80
80
|
/** Overlays a decorative icon centred on the chart cell — the energy-battery icon for a battery tank, the generic tank icon otherwise. Works in every `chartMode` and both orientations; the icon sits in a fixed CSS layer above the bar or graph and is silhouetted so it stays legible on any fill, and its size follows the ambient `obc-component-size-*` class. */
|
|
81
81
|
hasGraphIcon?: boolean;
|
|
82
|
-
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same
|
|
82
|
+
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same seven properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`). The ring overlays `.halo` only, so the tag and readout that sit outside the halo in compact / static layouts remain unaffected. */
|
|
83
83
|
alert?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Shape of the alert frame.
|
|
86
|
+
*
|
|
87
|
+
* Available when `alert==true`.
|
|
88
|
+
*/
|
|
84
89
|
alertFrameType?: ObcAlertFrameType;
|
|
90
|
+
/**
|
|
91
|
+
* Thickness of the alert frame.
|
|
92
|
+
*
|
|
93
|
+
* Available when `alert==true`.
|
|
94
|
+
*/
|
|
85
95
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
96
|
+
/**
|
|
97
|
+
* Alert status the frame is coloured for.
|
|
98
|
+
*
|
|
99
|
+
* Available when `alert==true`.
|
|
100
|
+
*/
|
|
86
101
|
alertFrameStatus?: AlertType;
|
|
102
|
+
/**
|
|
103
|
+
* Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
|
|
104
|
+
*
|
|
105
|
+
* Available when `alert==true`.
|
|
106
|
+
*/
|
|
107
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
108
|
+
/**
|
|
109
|
+
* Shows the alert category icon inside the frame.
|
|
110
|
+
*
|
|
111
|
+
* Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
|
|
112
|
+
*/
|
|
87
113
|
showAlertCategoryIcon?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Shows the slotted alert icon inside the frame.
|
|
116
|
+
*
|
|
117
|
+
* Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
|
|
118
|
+
*/
|
|
88
119
|
showAlertIcon?: boolean;
|
|
89
120
|
/** Show the trend chevron / off icon next to the percent readout. Default `true` preserves existing behavior. Set to `false` to hide the trend indicator in both compact and non-compact readouts — useful when the trend is not meaningful for a given tank, or when the consumer wants to keep the readout compact. Has no effect in `static` mode, which renders the tank's capacity (`max` + `unit`) instead of a percent and intentionally omits the trend indicator (a static tank represents "device present, current state unknown"). `attribute: false` per the repo's positive-default-true boolean convention. */
|
|
90
121
|
showTrendSymbol?: boolean;
|
|
@@ -5,7 +5,7 @@ import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automa
|
|
|
5
5
|
import type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
6
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
7
|
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
8
|
-
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
8
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
9
9
|
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
10
10
|
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
@@ -65,12 +65,43 @@ regardless of instrument state. */
|
|
|
65
65
|
hasAdvice?: boolean;
|
|
66
66
|
/** Overlays a decorative icon centred on the chart cell — the energy-battery icon for a battery tank, the generic tank icon otherwise. Works in every `chartMode` and both orientations; the icon sits in a fixed CSS layer above the bar or graph and is silhouetted so it stays legible on any fill, and its size follows the ambient `obc-component-size-*` class. */
|
|
67
67
|
hasGraphIcon?: boolean;
|
|
68
|
-
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same
|
|
68
|
+
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same seven properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`). The ring overlays `.halo` only, so the tag and readout that sit outside the halo in compact / static layouts remain unaffected. */
|
|
69
69
|
alert?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Shape of the alert frame.
|
|
72
|
+
*
|
|
73
|
+
* Available when `alert==true`.
|
|
74
|
+
*/
|
|
70
75
|
alertFrameType?: ObcAlertFrameType;
|
|
76
|
+
/**
|
|
77
|
+
* Thickness of the alert frame.
|
|
78
|
+
*
|
|
79
|
+
* Available when `alert==true`.
|
|
80
|
+
*/
|
|
71
81
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
82
|
+
/**
|
|
83
|
+
* Alert status the frame is coloured for.
|
|
84
|
+
*
|
|
85
|
+
* Available when `alert==true`.
|
|
86
|
+
*/
|
|
72
87
|
alertFrameStatus?: AlertType;
|
|
88
|
+
/**
|
|
89
|
+
* Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
|
|
90
|
+
*
|
|
91
|
+
* Available when `alert==true`.
|
|
92
|
+
*/
|
|
93
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
94
|
+
/**
|
|
95
|
+
* Shows the alert category icon inside the frame.
|
|
96
|
+
*
|
|
97
|
+
* Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
|
|
98
|
+
*/
|
|
73
99
|
showAlertCategoryIcon?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Shows the slotted alert icon inside the frame.
|
|
102
|
+
*
|
|
103
|
+
* Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
|
|
104
|
+
*/
|
|
74
105
|
showAlertIcon?: boolean;
|
|
75
106
|
/** Show the trend chevron / off icon next to the percent readout. Default `true` preserves existing behavior. Set to `false` to hide the trend indicator in both compact and non-compact readouts — useful when the trend is not meaningful for a given tank, or when the consumer wants to keep the readout compact. Has no effect in `static` mode, which renders the tank's capacity (`max` + `unit`) instead of a percent and intentionally omits the trend indicator (a static tank represents "device present, current state unknown"). `attribute: false` per the repo's positive-default-true boolean convention. */
|
|
76
107
|
showTrendSymbol?: boolean;
|
|
@@ -110,6 +141,7 @@ declare const ObcAutomationTank: import("svelte").Component<$$ComponentProps, {
|
|
|
110
141
|
LinearAdvice: typeof LinearAdvice;
|
|
111
142
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
112
143
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
144
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
113
145
|
AlertType: typeof AlertType;
|
|
114
146
|
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
115
147
|
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
@@ -50,9 +50,9 @@ import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcompone
|
|
|
50
50
|
alertFrameStatus?: AlertType;
|
|
51
51
|
/** Available when `alert==true`. */
|
|
52
52
|
alertFrameMode?: ObcAlertFrameMode;
|
|
53
|
-
/** Available when `alert==true`. */
|
|
53
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
54
54
|
showAlertCategoryIcon?: boolean;
|
|
55
|
-
/** Available when `alert==true`. */
|
|
55
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
56
56
|
showAlertIcon?: boolean;
|
|
57
57
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
58
58
|
progress?: boolean;
|
|
@@ -38,9 +38,9 @@ export interface Props {
|
|
|
38
38
|
alertFrameStatus?: AlertType;
|
|
39
39
|
/** Available when `alert==true`. */
|
|
40
40
|
alertFrameMode?: ObcAlertFrameMode;
|
|
41
|
-
/** Available when `alert==true`. */
|
|
41
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
42
42
|
showAlertCategoryIcon?: boolean;
|
|
43
|
-
/** Available when `alert==true`. */
|
|
43
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
44
44
|
showAlertIcon?: boolean;
|
|
45
45
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
46
46
|
progress?: boolean;
|
|
@@ -50,9 +50,9 @@ import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
50
50
|
alertFrameStatus?: AlertType;
|
|
51
51
|
/** Available when `alert==true`. */
|
|
52
52
|
alertFrameMode?: ObcAlertFrameMode;
|
|
53
|
-
/** Available when `alert==true`. */
|
|
53
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
54
54
|
showAlertCategoryIcon?: boolean;
|
|
55
|
-
/** Available when `alert==true`. */
|
|
55
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
56
56
|
showAlertIcon?: boolean;
|
|
57
57
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
58
58
|
progress?: boolean;
|
|
@@ -38,9 +38,9 @@ export interface Props {
|
|
|
38
38
|
alertFrameStatus?: AlertType;
|
|
39
39
|
/** Available when `alert==true`. */
|
|
40
40
|
alertFrameMode?: ObcAlertFrameMode;
|
|
41
|
-
/** Available when `alert==true`. */
|
|
41
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
42
42
|
showAlertCategoryIcon?: boolean;
|
|
43
|
-
/** Available when `alert==true`. */
|
|
43
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
44
44
|
showAlertIcon?: boolean;
|
|
45
45
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
46
46
|
progress?: boolean;
|
|
@@ -50,9 +50,9 @@ import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
50
50
|
alertFrameStatus?: AlertType;
|
|
51
51
|
/** Available when `alert==true`. */
|
|
52
52
|
alertFrameMode?: ObcAlertFrameMode;
|
|
53
|
-
/** Available when `alert==true`. */
|
|
53
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
54
54
|
showAlertCategoryIcon?: boolean;
|
|
55
|
-
/** Available when `alert==true`. */
|
|
55
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
56
56
|
showAlertIcon?: boolean;
|
|
57
57
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
58
58
|
progress?: boolean;
|
|
@@ -38,9 +38,9 @@ export interface Props {
|
|
|
38
38
|
alertFrameStatus?: AlertType;
|
|
39
39
|
/** Available when `alert==true`. */
|
|
40
40
|
alertFrameMode?: ObcAlertFrameMode;
|
|
41
|
-
/** Available when `alert==true`. */
|
|
41
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
42
42
|
showAlertCategoryIcon?: boolean;
|
|
43
|
-
/** Available when `alert==true`. */
|
|
43
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
44
44
|
showAlertIcon?: boolean;
|
|
45
45
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
46
46
|
progress?: boolean;
|
|
@@ -48,9 +48,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
48
48
|
alertFrameStatus?: AlertType;
|
|
49
49
|
/** Available when `alert==true`. */
|
|
50
50
|
alertFrameMode?: ObcAlertFrameMode;
|
|
51
|
-
/** Available when `alert==true`. */
|
|
51
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
52
52
|
showAlertCategoryIcon?: boolean;
|
|
53
|
-
/** Available when `alert==true`. */
|
|
53
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
54
54
|
showAlertIcon?: boolean;
|
|
55
55
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
56
56
|
progress?: boolean;
|
|
@@ -37,9 +37,9 @@ export interface Props {
|
|
|
37
37
|
alertFrameStatus?: AlertType;
|
|
38
38
|
/** Available when `alert==true`. */
|
|
39
39
|
alertFrameMode?: ObcAlertFrameMode;
|
|
40
|
-
/** Available when `alert==true`. */
|
|
40
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
41
41
|
showAlertCategoryIcon?: boolean;
|
|
42
|
-
/** Available when `alert==true`. */
|
|
42
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
43
43
|
showAlertIcon?: boolean;
|
|
44
44
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
45
45
|
progress?: boolean;
|