@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
|
@@ -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;
|
|
@@ -54,9 +54,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
54
54
|
alertFrameStatus?: AlertType;
|
|
55
55
|
/** Available when `alert==true`. */
|
|
56
56
|
alertFrameMode?: ObcAlertFrameMode;
|
|
57
|
-
/** Available when `alert==true`. */
|
|
57
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
58
58
|
showAlertCategoryIcon?: boolean;
|
|
59
|
-
/** Available when `alert==true`. */
|
|
59
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
60
60
|
showAlertIcon?: boolean;
|
|
61
61
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
62
62
|
progress?: boolean;
|
|
@@ -43,9 +43,9 @@ export interface Props {
|
|
|
43
43
|
alertFrameStatus?: AlertType;
|
|
44
44
|
/** Available when `alert==true`. */
|
|
45
45
|
alertFrameMode?: ObcAlertFrameMode;
|
|
46
|
-
/** Available when `alert==true`. */
|
|
46
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
47
47
|
showAlertCategoryIcon?: boolean;
|
|
48
|
-
/** Available when `alert==true`. */
|
|
48
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
49
49
|
showAlertIcon?: boolean;
|
|
50
50
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
51
51
|
progress?: boolean;
|
|
@@ -54,9 +54,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
54
54
|
alertFrameStatus?: AlertType;
|
|
55
55
|
/** Available when `alert==true`. */
|
|
56
56
|
alertFrameMode?: ObcAlertFrameMode;
|
|
57
|
-
/** Available when `alert==true`. */
|
|
57
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
58
58
|
showAlertCategoryIcon?: boolean;
|
|
59
|
-
/** Available when `alert==true`. */
|
|
59
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
60
60
|
showAlertIcon?: boolean;
|
|
61
61
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
62
62
|
progress?: boolean;
|
|
@@ -43,9 +43,9 @@ export interface Props {
|
|
|
43
43
|
alertFrameStatus?: AlertType;
|
|
44
44
|
/** Available when `alert==true`. */
|
|
45
45
|
alertFrameMode?: ObcAlertFrameMode;
|
|
46
|
-
/** Available when `alert==true`. */
|
|
46
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
47
47
|
showAlertCategoryIcon?: boolean;
|
|
48
|
-
/** Available when `alert==true`. */
|
|
48
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
49
49
|
showAlertIcon?: boolean;
|
|
50
50
|
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
51
51
|
progress?: boolean;
|
|
@@ -50,9 +50,9 @@ import type {ResistorAlternativeIcon} 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 {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
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 {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
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;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
4
4
|
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
5
|
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
|
-
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
7
|
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
8
|
import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
9
9
|
import { setProperties } from "../../util.js";
|
|
10
10
|
import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
11
11
|
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
12
12
|
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
|
-
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
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';
|
|
15
15
|
import type { Snippet } from 'svelte';
|
|
16
16
|
|
|
@@ -64,15 +64,21 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
64
64
|
*/
|
|
65
65
|
alertFrameStatus?: AlertType;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
|
|
68
68
|
*
|
|
69
69
|
* Available when `alert==true`.
|
|
70
70
|
*/
|
|
71
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
72
|
+
/**
|
|
73
|
+
* Shows the alert category icon inside the frame.
|
|
74
|
+
*
|
|
75
|
+
* Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
|
|
76
|
+
*/
|
|
71
77
|
showAlertCategoryIcon?: boolean;
|
|
72
78
|
/**
|
|
73
79
|
* Shows the slotted alert icon inside the frame.
|
|
74
80
|
*
|
|
75
|
-
* Available when `alert==true`.
|
|
81
|
+
* Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
|
|
76
82
|
*/
|
|
77
83
|
showAlertIcon?: boolean
|
|
78
84
|
}
|
|
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-s
|
|
|
2
2
|
import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
3
3
|
import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
4
4
|
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
5
|
-
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
6
|
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
export interface Props {
|
|
@@ -55,15 +55,21 @@ export interface Props {
|
|
|
55
55
|
*/
|
|
56
56
|
alertFrameStatus?: AlertType;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
|
|
59
59
|
*
|
|
60
60
|
* Available when `alert==true`.
|
|
61
61
|
*/
|
|
62
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the alert category icon inside the frame.
|
|
65
|
+
*
|
|
66
|
+
* Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
|
|
67
|
+
*/
|
|
62
68
|
showAlertCategoryIcon?: boolean;
|
|
63
69
|
/**
|
|
64
70
|
* Shows the slotted alert icon inside the frame.
|
|
65
71
|
*
|
|
66
|
-
* Available when `alert==true`.
|
|
72
|
+
* Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
|
|
67
73
|
*/
|
|
68
74
|
showAlertIcon?: boolean;
|
|
69
75
|
}
|
|
@@ -82,6 +88,7 @@ declare const ObcAbstractSpecialtyTank: import("svelte").Component<$$ComponentPr
|
|
|
82
88
|
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
83
89
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
84
90
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
91
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
85
92
|
AlertType: typeof AlertType;
|
|
86
93
|
}, "">;
|
|
87
94
|
type ObcAbstractSpecialtyTank = ReturnType<typeof ObcAbstractSpecialtyTank>;
|
|
@@ -50,9 +50,9 @@ import type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
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 {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/di
|
|
|
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;
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
export type {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
|
|
5
5
|
export type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
6
6
|
export type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
|
|
7
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
9
|
import '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
|
|
8
10
|
import { setProperties } from "../../util.js";
|
|
9
11
|
import NamedSlot from "../../NamedSlot.svelte";
|
|
@@ -11,6 +13,8 @@ export type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
11
13
|
import type {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
|
|
12
14
|
import type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
13
15
|
import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
|
|
16
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
17
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
18
|
import type { Snippet } from 'svelte';
|
|
15
19
|
|
|
16
20
|
export interface Props {
|
|
@@ -32,8 +36,44 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
32
36
|
size?: TransmitterButtonSize;
|
|
33
37
|
hasIcon?: boolean;
|
|
34
38
|
hasAdvice?: boolean;
|
|
35
|
-
/** Wrap the transmitter in an `<obc-alert-frame>`
|
|
39
|
+
/** Wrap the transmitter in an `<obc-alert-frame>` when true. */
|
|
36
40
|
hasAlert?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Severity of the alert frame, which picks its colour and flap badge: `alarm` (default), `warning`, `caution` or one of the `level-*` severities.
|
|
43
|
+
*
|
|
44
|
+
* Available when `hasAlert==true`.
|
|
45
|
+
*/
|
|
46
|
+
alertFrameStatus?: AlertType;
|
|
47
|
+
/**
|
|
48
|
+
* Flap of the alert frame: `regular` (default) draws the outline alone, `small-side-flip`, `large-side-flip`, `bottom-flip` and `top-flip` add a flap with the status badge.
|
|
49
|
+
*
|
|
50
|
+
* Available when `hasAlert==true`.
|
|
51
|
+
*/
|
|
52
|
+
alertFrameType?: ObcAlertFrameType;
|
|
53
|
+
/**
|
|
54
|
+
* Border of the alert frame: `small` (default) or `large`.
|
|
55
|
+
*
|
|
56
|
+
* Available when `hasAlert==true`.
|
|
57
|
+
*/
|
|
58
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
59
|
+
/**
|
|
60
|
+
* Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
|
|
61
|
+
*
|
|
62
|
+
* Available when `hasAlert==true`.
|
|
63
|
+
*/
|
|
64
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
65
|
+
/**
|
|
66
|
+
* Show the status badge in the flap; a small side flap without it is not drawn.
|
|
67
|
+
*
|
|
68
|
+
* Available when `hasAlert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
|
|
69
|
+
*/
|
|
70
|
+
showAlertCategoryIcon?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Show the `alert-icon` slot in a large side, bottom or top flap.
|
|
73
|
+
*
|
|
74
|
+
* Available when `hasAlert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
|
|
75
|
+
*/
|
|
76
|
+
showAlertIcon?: boolean;
|
|
37
77
|
/** Advisory value shown in the leading advice segment when `hasAdvice`. */
|
|
38
78
|
adviceValue?: number | null | undefined;
|
|
39
79
|
hasSetPoint?: boolean;
|
|
@@ -50,9 +90,12 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
50
90
|
|
|
51
91
|
}
|
|
52
92
|
export interface Slots {
|
|
53
|
-
icon?: Snippet
|
|
93
|
+
icon?: Snippet;
|
|
94
|
+
alertIcon?: Snippet;
|
|
95
|
+
alertLabel?: Snippet;
|
|
96
|
+
alertTimer?: Snippet
|
|
54
97
|
}
|
|
55
|
-
const { class: className, style, icon, ...props} = $props<Props & Events & Slots>();
|
|
98
|
+
const { class: className, style, icon, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
56
99
|
|
|
57
100
|
|
|
58
101
|
</script>
|
|
@@ -66,4 +109,16 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
66
109
|
{#if icon}
|
|
67
110
|
<NamedSlot name="icon" content={icon} />
|
|
68
111
|
{/if}
|
|
112
|
+
|
|
113
|
+
{#if alertIcon}
|
|
114
|
+
<NamedSlot name="alert-icon" content={alertIcon} />
|
|
115
|
+
{/if}
|
|
116
|
+
|
|
117
|
+
{#if alertLabel}
|
|
118
|
+
<NamedSlot name="alert-label" content={alertLabel} />
|
|
119
|
+
{/if}
|
|
120
|
+
|
|
121
|
+
{#if alertTimer}
|
|
122
|
+
<NamedSlot name="alert-timer" content={alertTimer} />
|
|
123
|
+
{/if}
|
|
69
124
|
</obc-transmitter>
|
|
@@ -3,6 +3,8 @@ import type { TransmitterOrientation } from '@oicl/openbridge-webcomponents/dist
|
|
|
3
3
|
import type { TransmitterType } from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
|
|
4
4
|
import type { LineType } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
5
5
|
import type { TransmitterButtonSize } from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
|
|
6
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
8
|
import type { Snippet } from 'svelte';
|
|
7
9
|
export interface Props {
|
|
8
10
|
class?: string;
|
|
@@ -23,8 +25,44 @@ export interface Props {
|
|
|
23
25
|
size?: TransmitterButtonSize;
|
|
24
26
|
hasIcon?: boolean;
|
|
25
27
|
hasAdvice?: boolean;
|
|
26
|
-
/** Wrap the transmitter in an `<obc-alert-frame>`
|
|
28
|
+
/** Wrap the transmitter in an `<obc-alert-frame>` when true. */
|
|
27
29
|
hasAlert?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Severity of the alert frame, which picks its colour and flap badge: `alarm` (default), `warning`, `caution` or one of the `level-*` severities.
|
|
32
|
+
*
|
|
33
|
+
* Available when `hasAlert==true`.
|
|
34
|
+
*/
|
|
35
|
+
alertFrameStatus?: AlertType;
|
|
36
|
+
/**
|
|
37
|
+
* Flap of the alert frame: `regular` (default) draws the outline alone, `small-side-flip`, `large-side-flip`, `bottom-flip` and `top-flip` add a flap with the status badge.
|
|
38
|
+
*
|
|
39
|
+
* Available when `hasAlert==true`.
|
|
40
|
+
*/
|
|
41
|
+
alertFrameType?: ObcAlertFrameType;
|
|
42
|
+
/**
|
|
43
|
+
* Border of the alert frame: `small` (default) or `large`.
|
|
44
|
+
*
|
|
45
|
+
* Available when `hasAlert==true`.
|
|
46
|
+
*/
|
|
47
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
48
|
+
/**
|
|
49
|
+
* Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
|
|
50
|
+
*
|
|
51
|
+
* Available when `hasAlert==true`.
|
|
52
|
+
*/
|
|
53
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
54
|
+
/**
|
|
55
|
+
* Show the status badge in the flap; a small side flap without it is not drawn.
|
|
56
|
+
*
|
|
57
|
+
* Available when `hasAlert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
|
|
58
|
+
*/
|
|
59
|
+
showAlertCategoryIcon?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Show the `alert-icon` slot in a large side, bottom or top flap.
|
|
62
|
+
*
|
|
63
|
+
* Available when `hasAlert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
|
|
64
|
+
*/
|
|
65
|
+
showAlertIcon?: boolean;
|
|
28
66
|
/** Advisory value shown in the leading advice segment when `hasAdvice`. */
|
|
29
67
|
adviceValue?: number | null | undefined;
|
|
30
68
|
hasSetPoint?: boolean;
|
|
@@ -41,6 +79,9 @@ export interface Events {
|
|
|
41
79
|
}
|
|
42
80
|
export interface Slots {
|
|
43
81
|
icon?: Snippet;
|
|
82
|
+
alertIcon?: Snippet;
|
|
83
|
+
alertLabel?: Snippet;
|
|
84
|
+
alertTimer?: Snippet;
|
|
44
85
|
}
|
|
45
86
|
type $$ComponentProps = Props & Events & Slots;
|
|
46
87
|
declare const ObcTransmitter: import("svelte").Component<$$ComponentProps, {
|
|
@@ -48,6 +89,10 @@ declare const ObcTransmitter: import("svelte").Component<$$ComponentProps, {
|
|
|
48
89
|
TransmitterType: typeof TransmitterType;
|
|
49
90
|
LineType: typeof LineType;
|
|
50
91
|
TransmitterButtonSize: typeof TransmitterButtonSize;
|
|
92
|
+
AlertType: typeof AlertType;
|
|
93
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
94
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
95
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
51
96
|
}, "">;
|
|
52
97
|
type ObcTransmitter = ReturnType<typeof ObcTransmitter>;
|
|
53
98
|
export default ObcTransmitter;
|
|
@@ -1,18 +1,32 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
|
|
3
|
+
export type {ThreewayValveOrientation} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
|
|
6
|
+
import type {ThreewayValveOrientation} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
/** Opening of port 1 in percent (0–100). */
|
|
13
|
+
open1?: number;
|
|
14
|
+
/** Opening of port 2, the stem, in percent (0–100). */
|
|
15
|
+
open2?: number;
|
|
16
|
+
/** Opening of port 3 in percent (0–100). */
|
|
17
|
+
open3?: number;
|
|
18
|
+
/** Side the stem points to; `bottom` and `top` lay the valve on a horizontal pipe, `left` and `right` on a vertical one. */
|
|
19
|
+
orientation?: ThreewayValveOrientation;
|
|
20
|
+
/** Opening of the right port with the stem up. Setting any of `value`,
|
|
21
|
+
`value2`, `closed` or `horisontal` draws the symbol stem up, with the
|
|
22
|
+
left port fully open, and ignores `open1`–`open3` and `orientation`. */
|
|
23
|
+
value?: number | undefined;
|
|
24
|
+
/** Opening of the top port (the stem). */
|
|
25
|
+
value2?: number | undefined;
|
|
26
|
+
closed?: boolean | undefined;
|
|
27
|
+
/** Makes the stem the fully open port; `value` then opens the left port and
|
|
28
|
+
`value2` the right one. */
|
|
29
|
+
horisontal?: boolean | undefined
|
|
16
30
|
}
|
|
17
31
|
export interface Events {
|
|
18
32
|
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js';
|
|
2
|
+
import type { ThreewayValveOrientation } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
2
3
|
import type { Snippet } from 'svelte';
|
|
3
4
|
export interface Props {
|
|
4
5
|
class?: string;
|
|
5
6
|
style?: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
/** Opening of port 1 in percent (0–100). */
|
|
8
|
+
open1?: number;
|
|
9
|
+
/** Opening of port 2, the stem, in percent (0–100). */
|
|
10
|
+
open2?: number;
|
|
11
|
+
/** Opening of port 3 in percent (0–100). */
|
|
12
|
+
open3?: number;
|
|
13
|
+
/** Side the stem points to; `bottom` and `top` lay the valve on a horizontal pipe, `left` and `right` on a vertical one. */
|
|
14
|
+
orientation?: ThreewayValveOrientation;
|
|
15
|
+
/** Opening of the right port with the stem up. Setting any of `value`,
|
|
16
|
+
`value2`, `closed` or `horisontal` draws the symbol stem up, with the
|
|
17
|
+
left port fully open, and ignores `open1`–`open3` and `orientation`. */
|
|
18
|
+
value?: number | undefined;
|
|
19
|
+
/** Opening of the top port (the stem). */
|
|
20
|
+
value2?: number | undefined;
|
|
21
|
+
closed?: boolean | undefined;
|
|
22
|
+
/** Makes the stem the fully open port; `value` then opens the left port and
|
|
23
|
+
`value2` the right one. */
|
|
24
|
+
horisontal?: boolean | undefined;
|
|
10
25
|
}
|
|
11
26
|
export interface Events {
|
|
12
27
|
}
|
|
@@ -14,6 +29,8 @@ export interface Slots {
|
|
|
14
29
|
children?: Snippet;
|
|
15
30
|
}
|
|
16
31
|
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
-
declare const ObcValveAnalogThreeWayIcon: import("svelte").Component<$$ComponentProps, {
|
|
32
|
+
declare const ObcValveAnalogThreeWayIcon: import("svelte").Component<$$ComponentProps, {
|
|
33
|
+
ThreewayValveOrientation: typeof ThreewayValveOrientation;
|
|
34
|
+
}, "">;
|
|
18
35
|
type ObcValveAnalogThreeWayIcon = ReturnType<typeof ObcValveAnalogThreeWayIcon>;
|
|
19
36
|
export default ObcValveAnalogThreeWayIcon;
|
|
@@ -9,9 +9,15 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Opening in percent (0–100).
|
|
14
|
+
*
|
|
15
|
+
* Available when `closed==false`.
|
|
16
|
+
*/
|
|
13
17
|
value?: number;
|
|
18
|
+
/** Shows the closed symbol. */
|
|
14
19
|
closed?: boolean;
|
|
20
|
+
/** Turns the symbol 90° for a vertical pipe. */
|
|
15
21
|
vertical?: boolean
|
|
16
22
|
}
|
|
17
23
|
export interface Events {
|
|
@@ -3,9 +3,15 @@ import type { Snippet } from 'svelte';
|
|
|
3
3
|
export interface Props {
|
|
4
4
|
class?: string;
|
|
5
5
|
style?: string;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Opening in percent (0–100).
|
|
8
|
+
*
|
|
9
|
+
* Available when `closed==false`.
|
|
10
|
+
*/
|
|
7
11
|
value?: number;
|
|
12
|
+
/** Shows the closed symbol. */
|
|
8
13
|
closed?: boolean;
|
|
14
|
+
/** Turns the symbol 90° for a vertical pipe. */
|
|
9
15
|
vertical?: boolean;
|
|
10
16
|
}
|
|
11
17
|
export interface Events {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/building-blocks/alert-list/alert-list-base.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
export interface Slots {
|
|
18
|
+
children?: Snippet
|
|
19
|
+
}
|
|
20
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<undefined
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
|
|
27
|
+
class={className}
|
|
28
|
+
style={style}
|
|
29
|
+
>
|
|
30
|
+
|
|
31
|
+
{#if children}
|
|
32
|
+
{@render children()}
|
|
33
|
+
{/if}
|
|
34
|
+
</undefined>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/building-blocks/alert-list/alert-list-base.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Events {
|
|
8
|
+
}
|
|
9
|
+
export interface Slots {
|
|
10
|
+
children?: Snippet;
|
|
11
|
+
}
|
|
12
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
13
|
+
declare const ObcAlertListBase: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
14
|
+
type ObcAlertListBase = ReturnType<typeof ObcAlertListBase>;
|
|
15
|
+
export default ObcAlertListBase;
|