@oicl/openbridge-webcomponents-svelte 2.2.0-next.1 → 2.2.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +4 -1
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +4 -1
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +4 -1
- package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +4 -1
- package/dist/automation/automation-button/ObcAutomationButton.svelte +25 -4
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +21 -1
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +11 -5
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +10 -3
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -1
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +4 -1
- package/dist/automation/capacitor/ObcCapacitor.svelte +4 -1
- package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +4 -1
- package/dist/automation/converter/ObcConverter.svelte +4 -1
- package/dist/automation/converter/ObcConverter.svelte.d.ts +4 -1
- package/dist/automation/damper/ObcDamper.svelte +4 -1
- package/dist/automation/damper/ObcDamper.svelte.d.ts +4 -1
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +4 -1
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +4 -1
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +28 -6
- package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +27 -3
- package/dist/automation/diodes/ObcDiodes.svelte +4 -1
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +4 -1
- package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte +87 -0
- package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte.d.ts +79 -0
- package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte +91 -0
- package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte.d.ts +84 -0
- package/dist/automation/direction-valve-shared/direction-valve-shared.d.ts +2 -0
- package/dist/automation/direction-valve-shared/direction-valve-shared.js +2 -0
- package/dist/automation/electricity-battery/ObcElectricityBattery.svelte +105 -0
- package/dist/automation/electricity-battery/ObcElectricityBattery.svelte.d.ts +85 -0
- package/dist/automation/fan/ObcFan.svelte +4 -1
- package/dist/automation/fan/ObcFan.svelte.d.ts +4 -1
- package/dist/automation/filter/ObcFilter.svelte +4 -1
- package/dist/automation/filter/ObcFilter.svelte.d.ts +4 -1
- package/dist/automation/gauge-generator/ObcGaugeGenerator.svelte +10 -4
- package/dist/automation/gauge-generator/ObcGaugeGenerator.svelte.d.ts +10 -4
- package/dist/automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte +10 -4
- package/dist/automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte.d.ts +10 -4
- package/dist/automation/ground/ObcGround.svelte +4 -1
- package/dist/automation/ground/ObcGround.svelte.d.ts +4 -1
- package/dist/automation/logic/ObcLogic.svelte +4 -1
- package/dist/automation/logic/ObcLogic.svelte.d.ts +4 -1
- package/dist/automation/mosfet/ObcMosfet.svelte +4 -1
- package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +4 -1
- package/dist/automation/motor/ObcMotor.svelte +4 -1
- package/dist/automation/motor/ObcMotor.svelte.d.ts +4 -1
- package/dist/automation/non-return-valve/ObcNonReturnValve.svelte +87 -0
- package/dist/automation/non-return-valve/ObcNonReturnValve.svelte.d.ts +79 -0
- package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte +91 -0
- package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte.d.ts +84 -0
- package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte +91 -0
- package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte.d.ts +84 -0
- package/dist/automation/pump/ObcPump.svelte +4 -1
- package/dist/automation/pump/ObcPump.svelte.d.ts +4 -1
- package/dist/automation/resistor/ObcResistor.svelte +4 -1
- package/dist/automation/resistor/ObcResistor.svelte.d.ts +4 -1
- package/dist/automation/router/ObcRouter.svelte +4 -1
- package/dist/automation/router/ObcRouter.svelte.d.ts +4 -1
- package/dist/automation/source/ObcSource.svelte +4 -1
- package/dist/automation/source/ObcSource.svelte.d.ts +4 -1
- package/dist/automation/switch/ObcSwitch.svelte +4 -1
- package/dist/automation/switch/ObcSwitch.svelte.d.ts +4 -1
- package/dist/automation/transformer/ObcTransformer.svelte +4 -1
- package/dist/automation/transformer/ObcTransformer.svelte.d.ts +4 -1
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +8 -0
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +9 -0
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +9 -1
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +9 -0
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +11 -7
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +10 -5
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +10 -6
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +9 -4
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +10 -2
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +9 -0
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +10 -3
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +10 -3
- package/dist/components/alert-button/ObcAlertButton.svelte +8 -0
- package/dist/components/alert-button/ObcAlertButton.svelte.d.ts +8 -0
- package/dist/components/alert-button-item/ObcAlertButtonItem.svelte +19 -6
- package/dist/components/alert-button-item/ObcAlertButtonItem.svelte.d.ts +13 -1
- package/dist/components/alert-counter-item/ObcAlertCounterItem.svelte +1 -1
- package/dist/components/alert-counter-item/ObcAlertCounterItem.svelte.d.ts +1 -1
- package/dist/components/alert-subsystem-button/ObcAlertSubsystemButton.svelte +62 -0
- package/dist/components/alert-subsystem-button/ObcAlertSubsystemButton.svelte.d.ts +43 -0
- package/dist/components/diagnostic-button/ObcDiagnosticButton.svelte +41 -0
- package/dist/components/diagnostic-button/ObcDiagnosticButton.svelte.d.ts +24 -0
- package/dist/components/diagnostic-menu/ObcDiagnosticMenu.svelte +71 -0
- package/dist/components/diagnostic-menu/ObcDiagnosticMenu.svelte.d.ts +44 -0
- package/dist/components/top-bar/ObcTopBar.svelte +16 -4
- package/dist/components/top-bar/ObcTopBar.svelte.d.ts +6 -2
- package/dist/icons/ObiActuatorElectroHydraulicClosed.svelte +34 -0
- package/dist/icons/ObiActuatorElectroHydraulicClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorElectroHydraulicOpen.svelte +34 -0
- package/dist/icons/ObiActuatorElectroHydraulicOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorElectroHydraulicStatic.svelte +34 -0
- package/dist/icons/ObiActuatorElectroHydraulicStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorElectroMotorClosed.svelte +34 -0
- package/dist/icons/ObiActuatorElectroMotorClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorElectroMotorOpen.svelte +34 -0
- package/dist/icons/ObiActuatorElectroMotorOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorElectroMotorStatic.svelte +34 -0
- package/dist/icons/ObiActuatorElectroMotorStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorLeverClosed.svelte +34 -0
- package/dist/icons/ObiActuatorLeverClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorLeverOpen.svelte +34 -0
- package/dist/icons/ObiActuatorLeverOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorLeverStatic.svelte +34 -0
- package/dist/icons/ObiActuatorLeverStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualAlternativeClosed.svelte +34 -0
- package/dist/icons/ObiActuatorManualAlternativeClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualAlternativeOpen.svelte +34 -0
- package/dist/icons/ObiActuatorManualAlternativeOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualAlternativeStatic.svelte +34 -0
- package/dist/icons/ObiActuatorManualAlternativeStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualClosed.svelte +34 -0
- package/dist/icons/ObiActuatorManualClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualOpen.svelte +34 -0
- package/dist/icons/ObiActuatorManualOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualSmallClosed.svelte +34 -0
- package/dist/icons/ObiActuatorManualSmallClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualSmallOpen.svelte +34 -0
- package/dist/icons/ObiActuatorManualSmallOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualSmallStatic.svelte +34 -0
- package/dist/icons/ObiActuatorManualSmallStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorManualStatic.svelte +34 -0
- package/dist/icons/ObiActuatorManualStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorPistonClosed.svelte +34 -0
- package/dist/icons/ObiActuatorPistonClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorPistonOpen.svelte +34 -0
- package/dist/icons/ObiActuatorPistonOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorPistonStatic.svelte +34 -0
- package/dist/icons/ObiActuatorPistonStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorPneumaticClosed.svelte +34 -0
- package/dist/icons/ObiActuatorPneumaticClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorPneumaticOpen.svelte +34 -0
- package/dist/icons/ObiActuatorPneumaticOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorPneumaticStatic.svelte +34 -0
- package/dist/icons/ObiActuatorPneumaticStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorReferenceClosed.svelte +34 -0
- package/dist/icons/ObiActuatorReferenceClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorReferenceOpen.svelte +34 -0
- package/dist/icons/ObiActuatorReferenceOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorReferenceStatic.svelte +34 -0
- package/dist/icons/ObiActuatorReferenceStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallElectroHydraulicClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallElectroHydraulicClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallElectroHydraulicOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallElectroHydraulicOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallElectroHydraulicStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallElectroHydraulicStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallElectroMotorClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallElectroMotorClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallElectroMotorOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallElectroMotorOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallElectroMotorStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallElectroMotorStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallLeverClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallLeverClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallLeverOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallLeverOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallLeverStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallLeverStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallManualAlternativeClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallManualAlternativeClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallManualAlternativeOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallManualAlternativeOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallManualAlternativeStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallManualAlternativeStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallPistonClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallPistonClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallPistonOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallPistonOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallPistonStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallPistonStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallPneumaticClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallPneumaticClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallPneumaticOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallPneumaticOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallPneumaticStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallPneumaticStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallSolenoidClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallSolenoidClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallSolenoidOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallSolenoidOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallSolenoidStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallSolenoidStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallSpringClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSmallSpringClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallSpringOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSmallSpringOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSmallSpringStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSmallSpringStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSolenoidClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSolenoidClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSolenoidOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSolenoidOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSolenoidStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSolenoidStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSpringClosed.svelte +34 -0
- package/dist/icons/ObiActuatorSpringClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSpringOpen.svelte +34 -0
- package/dist/icons/ObiActuatorSpringOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiActuatorSpringStatic.svelte +34 -0
- package/dist/icons/ObiActuatorSpringStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiAlarmUnacknowledgedOutlined.svelte +34 -0
- package/dist/icons/ObiAlarmUnacknowledgedOutlined.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcacOff.svelte +34 -0
- package/dist/icons/ObiConverterAcacOff.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcacOn.svelte +34 -0
- package/dist/icons/ObiConverterAcacOn.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcacStatic.svelte +34 -0
- package/dist/icons/ObiConverterAcacStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcdcStatic.svelte +34 -0
- package/dist/icons/ObiConverterAcdcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcvacOff.svelte +34 -0
- package/dist/icons/ObiConverterAcvacOff.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcvacOn.svelte +34 -0
- package/dist/icons/ObiConverterAcvacOn.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterAcvacStatic.svelte +34 -0
- package/dist/icons/ObiConverterAcvacStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterDcacStatic.svelte +34 -0
- package/dist/icons/ObiConverterDcacStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterVacacOff.svelte +34 -0
- package/dist/icons/ObiConverterVacacOff.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterVacacOn.svelte +34 -0
- package/dist/icons/ObiConverterVacacOn.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterVacacStatic.svelte +34 -0
- package/dist/icons/ObiConverterVacacStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterVacvacOff.svelte +34 -0
- package/dist/icons/ObiConverterVacvacOff.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterVacvacOn.svelte +34 -0
- package/dist/icons/ObiConverterVacvacOn.svelte.d.ts +16 -0
- package/dist/icons/ObiConverterVacvacStatic.svelte +34 -0
- package/dist/icons/ObiConverterVacvacStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDeviceFilterOff.svelte +34 -0
- package/dist/icons/ObiDeviceFilterOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDeviceFilterOn.svelte +34 -0
- package/dist/icons/ObiDeviceFilterOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDeviceFilterStatic.svelte +34 -0
- package/dist/icons/ObiDeviceFilterStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDirectionLeftOff.svelte +34 -0
- package/dist/icons/ObiDirectionLeftOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDirectionLeftOn.svelte +34 -0
- package/dist/icons/ObiDirectionLeftOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDirectionLeftStatic.svelte +34 -0
- package/dist/icons/ObiDirectionLeftStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDirectionRightOff.svelte +34 -0
- package/dist/icons/ObiDirectionRightOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDirectionRightOn.svelte +34 -0
- package/dist/icons/ObiDirectionRightOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDirectionRightStatic.svelte +34 -0
- package/dist/icons/ObiDirectionRightStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDoubleClick.svelte +34 -0
- package/dist/icons/ObiDoubleClick.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricityBatteryOff.svelte +34 -0
- package/dist/icons/ObiElectricityBatteryOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricityBatteryOn.svelte +34 -0
- package/dist/icons/ObiElectricityBatteryOn.svelte.d.ts +16 -0
- package/dist/icons/ObiShield2.svelte +34 -0
- package/dist/icons/ObiShield2.svelte.d.ts +16 -0
- package/dist/icons/ObiShieldGoogle.svelte +34 -0
- package/dist/icons/ObiShieldGoogle.svelte.d.ts +16 -0
- package/dist/icons/ObiSimulation2.svelte +34 -0
- package/dist/icons/ObiSimulation2.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericClosed.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericClosedBottom.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericClosedBottom.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericClosedLeft.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericClosedLeft.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericClosedRight.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericClosedRight.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom0.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom0.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom100.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom100.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom25.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom25.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom50.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom50.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom75.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftBottom75.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft0.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft0.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft100.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft100.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft25.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft25.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft50.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft50.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft75.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftLeft75.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight0.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight0.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight100.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight100.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight25.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight25.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight50.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight50.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight75.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericInleftRight75.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorGenericOpen.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorGenericOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonClosed.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonClosedBottom.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonClosedBottom.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonClosedLeft.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonClosedLeft.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonClosedRight.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonClosedRight.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom0.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom0.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom100.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom100.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom25.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom25.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom50.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom50.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom75.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftBottom75.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft0.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft0.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft100.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft100.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft25.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft25.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft50.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft50.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft75.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftLeft75.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight0.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight0.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight100.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight100.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight25.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight25.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight50.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight50.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight75.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonInleftRight75.svelte.d.ts +16 -0
- package/dist/icons/ObiThreewayActuatorPistonOpen.svelte +34 -0
- package/dist/icons/ObiThreewayActuatorPistonOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneral10.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneral10.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneral25.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneral25.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneral50.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneral50.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneral75.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneral75.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneralClosed.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneralClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneralClosedLeft.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneralClosedLeft.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneralClosedRight.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneralClosedRight.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorGeneralOpen.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorGeneralOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPiston10.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPiston10.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPiston25.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPiston25.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPiston50.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPiston50.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPiston75.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPiston75.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPistonClosed.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPistonClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPistonClosedLeft.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPistonClosedLeft.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPistonClosedRight.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPistonClosedRight.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayActuatorPistonOpen.svelte +34 -0
- package/dist/icons/ObiTwowayActuatorPistonOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayDigitalNonReturnStatic.svelte +34 -0
- package/dist/icons/ObiTwowayDigitalNonReturnStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiValveCornerLeftBottomClosed.svelte +34 -0
- package/dist/icons/ObiValveCornerLeftBottomClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiValveCornerLeftBottomOpen.svelte +34 -0
- package/dist/icons/ObiValveCornerLeftBottomOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiValveCornerLeftBottomStatic.svelte +34 -0
- package/dist/icons/ObiValveCornerLeftBottomStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayClosed.svelte +34 -0
- package/dist/icons/ObiValveFourWayClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayClosedBottom.svelte +34 -0
- package/dist/icons/ObiValveFourWayClosedBottom.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayClosedLeft.svelte +34 -0
- package/dist/icons/ObiValveFourWayClosedLeft.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayClosedRight.svelte +34 -0
- package/dist/icons/ObiValveFourWayClosedRight.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayClosedTop.svelte +34 -0
- package/dist/icons/ObiValveFourWayClosedTop.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayOpen.svelte +34 -0
- package/dist/icons/ObiValveFourWayOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiValveFourWayStatic.svelte +34 -0
- package/dist/icons/ObiValveFourWayStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiValveReductionClosed.svelte +34 -0
- package/dist/icons/ObiValveReductionClosed.svelte.d.ts +16 -0
- package/dist/icons/ObiValveReductionOpen.svelte +34 -0
- package/dist/icons/ObiValveReductionOpen.svelte.d.ts +16 -0
- package/dist/icons/ObiValveReductionStatic.svelte +34 -0
- package/dist/icons/ObiValveReductionStatic.svelte.d.ts +16 -0
- package/dist/index.d.ts +166 -0
- package/dist/index.js +166 -0
- package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte +18 -6
- package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte.d.ts +19 -6
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +8 -6
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +9 -6
- package/dist/navigation-instruments/compass/ObcCompass.svelte +10 -4
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +11 -4
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +10 -3
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +11 -3
- package/dist/navigation-instruments/depth/ObcDepth.svelte +11 -5
- package/dist/navigation-instruments/depth/ObcDepth.svelte.d.ts +10 -3
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +9 -3
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +10 -3
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +9 -3
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +10 -3
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +10 -6
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +9 -4
- package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte +12 -6
- package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte.d.ts +10 -4
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte +12 -6
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte.d.ts +10 -4
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +11 -3
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +12 -3
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +10 -6
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +9 -4
- package/dist/navigation-instruments/heading/ObcHeading.svelte +10 -3
- package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +11 -3
- package/dist/navigation-instruments/heave/ObcHeave.svelte +10 -3
- package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +11 -3
- package/dist/navigation-instruments/main-engine/ObcMainEngine.svelte +18 -3
- package/dist/navigation-instruments/main-engine/ObcMainEngine.svelte.d.ts +19 -3
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +4 -3
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +4 -3
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +10 -5
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +9 -3
- package/dist/navigation-instruments/rudder/ObcRudder.svelte +10 -5
- package/dist/navigation-instruments/rudder/ObcRudder.svelte.d.ts +9 -3
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte +14 -5
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte.d.ts +12 -3
- package/dist/navigation-instruments/thruster/ObcThruster.svelte +10 -5
- package/dist/navigation-instruments/thruster/ObcThruster.svelte.d.ts +9 -3
- package/dist/navigation-instruments/watch/ObcWatch.svelte +4 -3
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +4 -3
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +12 -5
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +11 -3
- package/package.json +2 -2
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
2
|
-
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
2
|
+
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
3
|
import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
4
4
|
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
|
-
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
|
+
import type { AlertType, Direction } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
6
6
|
import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
7
7
|
import type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
8
|
+
import type { ObcValveHandle } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
|
|
8
9
|
import type { DigitalValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
|
|
9
10
|
import type { Snippet } from 'svelte';
|
|
10
11
|
export interface Props {
|
|
11
12
|
class?: string;
|
|
12
13
|
style?: string;
|
|
13
14
|
showReadoutStack?: boolean;
|
|
15
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
16
|
+
static?: boolean;
|
|
14
17
|
/** Available when `showReadoutStack==true`. */
|
|
15
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
18
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
16
19
|
/** Available when `showReadoutStack==true`. */
|
|
17
20
|
showStatus?: boolean;
|
|
21
|
+
showStatusIcon?: boolean;
|
|
18
22
|
/** Available when `showReadoutStack==true`. */
|
|
19
23
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
20
24
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -46,7 +50,24 @@ export interface Props {
|
|
|
46
50
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
47
51
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
48
52
|
open?: boolean;
|
|
53
|
+
/** Draw the valve for a vertical pipe; used only while `flowDirection` is unset. */
|
|
49
54
|
vertical?: boolean;
|
|
55
|
+
/** Direction the medium flows through the valve; the symbol turns with it. When unset, `vertical` picks `down`, otherwise `right`. */
|
|
56
|
+
flowDirection?: Direction | undefined;
|
|
57
|
+
/** The handle or actuator drawn on the valve. It sits on top when the flow is to the right and turns with the flow. */
|
|
58
|
+
handle?: ObcValveHandle;
|
|
59
|
+
/**
|
|
60
|
+
* Put the handle on the other side of the valve.
|
|
61
|
+
*
|
|
62
|
+
* Available when `handle!=none`.
|
|
63
|
+
*/
|
|
64
|
+
invertHandlePosition?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Size of the handle: `small` draws it from the symbol's centre, for symbols without a button around them.
|
|
67
|
+
*
|
|
68
|
+
* Available when `handle!=none`.
|
|
69
|
+
*/
|
|
70
|
+
handleSize?: AutomationButtonHandleSize;
|
|
50
71
|
variant?: DigitalValveVariant;
|
|
51
72
|
}
|
|
52
73
|
export interface Events {
|
|
@@ -58,16 +79,19 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
58
79
|
declare const ObcDigitalValve: import("svelte").Component<$$ComponentProps, {
|
|
59
80
|
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
60
81
|
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
82
|
+
AutomationButtonHandleSize: typeof AutomationButtonHandleSize;
|
|
61
83
|
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
62
84
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
63
85
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
64
86
|
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
65
87
|
AlertType: typeof AlertType;
|
|
88
|
+
Direction: typeof Direction;
|
|
66
89
|
CircularProgressMode: typeof CircularProgressMode;
|
|
67
90
|
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
68
91
|
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
69
92
|
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
70
93
|
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
94
|
+
ObcValveHandle: typeof ObcValveHandle;
|
|
71
95
|
DigitalValveVariant: typeof DigitalValveVariant;
|
|
72
96
|
}, "">;
|
|
73
97
|
type ObcDigitalValve = ReturnType<typeof ObcDigitalValve>;
|
|
@@ -30,10 +30,13 @@ import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
30
30
|
variant?: SquaredVariant;
|
|
31
31
|
orientation?: AutomationButtonOrientation;
|
|
32
32
|
showReadoutStack?: boolean;
|
|
33
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
34
|
+
static?: boolean;
|
|
33
35
|
/** Available when `showReadoutStack==true`. */
|
|
34
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
36
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
35
37
|
/** Available when `showReadoutStack==true`. */
|
|
36
38
|
showStatus?: boolean;
|
|
39
|
+
showStatusIcon?: boolean;
|
|
37
40
|
/** Available when `showReadoutStack==true`. */
|
|
38
41
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
39
42
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -18,10 +18,13 @@ export interface Props {
|
|
|
18
18
|
variant?: SquaredVariant;
|
|
19
19
|
orientation?: AutomationButtonOrientation;
|
|
20
20
|
showReadoutStack?: boolean;
|
|
21
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
22
|
+
static?: boolean;
|
|
21
23
|
/** Available when `showReadoutStack==true`. */
|
|
22
|
-
readoutPosition?: AutomationButtonReadoutPosition;
|
|
24
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
23
25
|
/** Available when `showReadoutStack==true`. */
|
|
24
26
|
showStatus?: boolean;
|
|
27
|
+
showStatusIcon?: boolean;
|
|
25
28
|
/** Available when `showReadoutStack==true`. */
|
|
26
29
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
30
|
/** Available when `showReadoutStack==true`. */
|
|
@@ -0,0 +1,87 @@
|
|
|
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, Direction} 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 {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
10
|
+
import '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
11
|
+
import { setProperties } from "../../util.js";
|
|
12
|
+
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
13
|
+
import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
14
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
15
|
+
import type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
16
|
+
import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
17
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
18
|
+
import type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
19
|
+
import type { Snippet } from 'svelte';
|
|
20
|
+
|
|
21
|
+
export interface Props {
|
|
22
|
+
class?: string;
|
|
23
|
+
style?: string;
|
|
24
|
+
showReadoutStack?: boolean;
|
|
25
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
26
|
+
static?: boolean;
|
|
27
|
+
/** Available when `showReadoutStack==true`. */
|
|
28
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
29
|
+
/** Available when `showReadoutStack==true`. */
|
|
30
|
+
showStatus?: boolean;
|
|
31
|
+
showStatusIcon?: 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
|
+
/** The direction the medium flows through the valve; the symbol turns with it. */
|
|
63
|
+
flowDirection?: Direction;
|
|
64
|
+
/** `regular` draws the round button, `flat` only the symbol. */
|
|
65
|
+
variant?: DirectionValveVariant
|
|
66
|
+
}
|
|
67
|
+
export interface Events {
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
export interface Slots {
|
|
71
|
+
children?: Snippet
|
|
72
|
+
}
|
|
73
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</script>
|
|
77
|
+
<undefined
|
|
78
|
+
use:setProperties={props}
|
|
79
|
+
|
|
80
|
+
class={className}
|
|
81
|
+
style={style}
|
|
82
|
+
>
|
|
83
|
+
|
|
84
|
+
{#if children}
|
|
85
|
+
{@render children()}
|
|
86
|
+
{/if}
|
|
87
|
+
</undefined>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.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, Direction } 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 { DirectionValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
export interface Props {
|
|
11
|
+
class?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
showReadoutStack?: boolean;
|
|
14
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
15
|
+
static?: boolean;
|
|
16
|
+
/** Available when `showReadoutStack==true`. */
|
|
17
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
18
|
+
/** Available when `showReadoutStack==true`. */
|
|
19
|
+
showStatus?: boolean;
|
|
20
|
+
showStatusIcon?: boolean;
|
|
21
|
+
/** Available when `showReadoutStack==true`. */
|
|
22
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
23
|
+
/** Available when `showReadoutStack==true`. */
|
|
24
|
+
tag?: string | null;
|
|
25
|
+
positioning?: AutomationButtonPositioning;
|
|
26
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
27
|
+
activated?: boolean;
|
|
28
|
+
alert?: boolean;
|
|
29
|
+
/** Available when `alert==true`. */
|
|
30
|
+
alertFrameType?: ObcAlertFrameType;
|
|
31
|
+
/** Available when `alert==true`. */
|
|
32
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
33
|
+
/** Available when `alert==true`. */
|
|
34
|
+
alertFrameStatus?: AlertType;
|
|
35
|
+
/** Available when `alert==true`. */
|
|
36
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
37
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
38
|
+
showAlertCategoryIcon?: boolean;
|
|
39
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
40
|
+
showAlertIcon?: boolean;
|
|
41
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
42
|
+
progress?: boolean;
|
|
43
|
+
/** Available when `progress==true`. */
|
|
44
|
+
progressMode?: CircularProgressMode;
|
|
45
|
+
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
46
|
+
progressValue?: number;
|
|
47
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
48
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
49
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
50
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
51
|
+
/** The direction the medium flows through the valve; the symbol turns with it. */
|
|
52
|
+
flowDirection?: Direction;
|
|
53
|
+
/** `regular` draws the round button, `flat` only the symbol. */
|
|
54
|
+
variant?: DirectionValveVariant;
|
|
55
|
+
}
|
|
56
|
+
export interface Events {
|
|
57
|
+
}
|
|
58
|
+
export interface Slots {
|
|
59
|
+
children?: Snippet;
|
|
60
|
+
}
|
|
61
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
62
|
+
declare const ObcDirectionValveBase: import("svelte").Component<$$ComponentProps, {
|
|
63
|
+
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
64
|
+
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
65
|
+
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
66
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
67
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
68
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
69
|
+
AlertType: typeof AlertType;
|
|
70
|
+
Direction: typeof Direction;
|
|
71
|
+
CircularProgressMode: typeof CircularProgressMode;
|
|
72
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
73
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
74
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
75
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
76
|
+
DirectionValveVariant: typeof DirectionValveVariant;
|
|
77
|
+
}, "">;
|
|
78
|
+
type ObcDirectionValveBase = ReturnType<typeof ObcDirectionValveBase>;
|
|
79
|
+
export default ObcDirectionValveBase;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
4
|
+
export type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
5
|
+
export type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
6
|
+
export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
7
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
8
|
+
export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
|
+
import '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
11
|
+
import { setProperties } from "../../util.js";
|
|
12
|
+
import type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
13
|
+
import type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
14
|
+
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize} 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 {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
18
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
19
|
+
import type { Snippet } from 'svelte';
|
|
20
|
+
|
|
21
|
+
export interface Props {
|
|
22
|
+
class?: string;
|
|
23
|
+
style?: string;
|
|
24
|
+
/** The direction the medium flows through the valve; the symbol turns with it. */
|
|
25
|
+
flowDirection?: Direction;
|
|
26
|
+
/** `regular` draws the round button, `flat` only the symbol. */
|
|
27
|
+
variant?: DirectionValveVariant;
|
|
28
|
+
showReadoutStack?: boolean;
|
|
29
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
30
|
+
static?: boolean;
|
|
31
|
+
/** Available when `showReadoutStack==true`. */
|
|
32
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
33
|
+
/** Available when `showReadoutStack==true`. */
|
|
34
|
+
showStatus?: boolean;
|
|
35
|
+
showStatusIcon?: boolean;
|
|
36
|
+
/** Available when `showReadoutStack==true`. */
|
|
37
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
38
|
+
/** Available when `showReadoutStack==true`. */
|
|
39
|
+
tag?: string | null;
|
|
40
|
+
positioning?: AutomationButtonPositioning;
|
|
41
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
42
|
+
activated?: boolean;
|
|
43
|
+
alert?: boolean;
|
|
44
|
+
/** Available when `alert==true`. */
|
|
45
|
+
alertFrameType?: ObcAlertFrameType;
|
|
46
|
+
/** Available when `alert==true`. */
|
|
47
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
48
|
+
/** Available when `alert==true`. */
|
|
49
|
+
alertFrameStatus?: AlertType;
|
|
50
|
+
/** Available when `alert==true`. */
|
|
51
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
52
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
53
|
+
showAlertCategoryIcon?: boolean;
|
|
54
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
55
|
+
showAlertIcon?: boolean;
|
|
56
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
57
|
+
progress?: boolean;
|
|
58
|
+
/** Available when `progress==true`. */
|
|
59
|
+
progressMode?: CircularProgressMode;
|
|
60
|
+
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
61
|
+
progressValue?: number;
|
|
62
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
63
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
64
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
65
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
66
|
+
/** Puts the actuator on the opposite side of the pipe. */
|
|
67
|
+
invertHandlePosition?: boolean;
|
|
68
|
+
/** Size of the handle: `small` draws it from the symbol's centre, for symbols without a button around them. */
|
|
69
|
+
handleSize?: AutomationButtonHandleSize
|
|
70
|
+
}
|
|
71
|
+
export interface Events {
|
|
72
|
+
|
|
73
|
+
}
|
|
74
|
+
export interface Slots {
|
|
75
|
+
children?: Snippet
|
|
76
|
+
}
|
|
77
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
</script>
|
|
81
|
+
<undefined
|
|
82
|
+
use:setProperties={props}
|
|
83
|
+
|
|
84
|
+
class={className}
|
|
85
|
+
style={style}
|
|
86
|
+
>
|
|
87
|
+
|
|
88
|
+
{#if children}
|
|
89
|
+
{@render children()}
|
|
90
|
+
{/if}
|
|
91
|
+
</undefined>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
2
|
+
import type { Direction, AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
3
|
+
import type { DirectionValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
4
|
+
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonHandleSize } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
|
+
import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
|
+
import type { Snippet } from 'svelte';
|
|
10
|
+
export interface Props {
|
|
11
|
+
class?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
/** The direction the medium flows through the valve; the symbol turns with it. */
|
|
14
|
+
flowDirection?: Direction;
|
|
15
|
+
/** `regular` draws the round button, `flat` only the symbol. */
|
|
16
|
+
variant?: DirectionValveVariant;
|
|
17
|
+
showReadoutStack?: boolean;
|
|
18
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
19
|
+
static?: boolean;
|
|
20
|
+
/** Available when `showReadoutStack==true`. */
|
|
21
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
22
|
+
/** Available when `showReadoutStack==true`. */
|
|
23
|
+
showStatus?: boolean;
|
|
24
|
+
showStatusIcon?: boolean;
|
|
25
|
+
/** Available when `showReadoutStack==true`. */
|
|
26
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
|
+
/** Available when `showReadoutStack==true`. */
|
|
28
|
+
tag?: string | null;
|
|
29
|
+
positioning?: AutomationButtonPositioning;
|
|
30
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
31
|
+
activated?: boolean;
|
|
32
|
+
alert?: boolean;
|
|
33
|
+
/** Available when `alert==true`. */
|
|
34
|
+
alertFrameType?: ObcAlertFrameType;
|
|
35
|
+
/** Available when `alert==true`. */
|
|
36
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
37
|
+
/** Available when `alert==true`. */
|
|
38
|
+
alertFrameStatus?: AlertType;
|
|
39
|
+
/** Available when `alert==true`. */
|
|
40
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
41
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
42
|
+
showAlertCategoryIcon?: boolean;
|
|
43
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
44
|
+
showAlertIcon?: boolean;
|
|
45
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
46
|
+
progress?: boolean;
|
|
47
|
+
/** Available when `progress==true`. */
|
|
48
|
+
progressMode?: CircularProgressMode;
|
|
49
|
+
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
50
|
+
progressValue?: number;
|
|
51
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
52
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
53
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
54
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
55
|
+
/** Puts the actuator on the opposite side of the pipe. */
|
|
56
|
+
invertHandlePosition?: boolean;
|
|
57
|
+
/** Size of the handle: `small` draws it from the symbol's centre, for symbols without a button around them. */
|
|
58
|
+
handleSize?: AutomationButtonHandleSize;
|
|
59
|
+
}
|
|
60
|
+
export interface Events {
|
|
61
|
+
}
|
|
62
|
+
export interface Slots {
|
|
63
|
+
children?: Snippet;
|
|
64
|
+
}
|
|
65
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
66
|
+
declare const ObcPressureValveBase: import("svelte").Component<$$ComponentProps, {
|
|
67
|
+
Direction: typeof Direction;
|
|
68
|
+
AlertType: typeof AlertType;
|
|
69
|
+
DirectionValveVariant: typeof DirectionValveVariant;
|
|
70
|
+
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
71
|
+
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
72
|
+
AutomationButtonHandleSize: typeof AutomationButtonHandleSize;
|
|
73
|
+
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
74
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
75
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
76
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
77
|
+
CircularProgressMode: typeof CircularProgressMode;
|
|
78
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
79
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
80
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
81
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
82
|
+
}, "">;
|
|
83
|
+
type ObcPressureValveBase = ReturnType<typeof ObcPressureValveBase>;
|
|
84
|
+
export default ObcPressureValveBase;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
+
export type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
|
+
export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
|
+
import '@oicl/openbridge-webcomponents/dist/automation/electricity-battery/electricity-battery.js';
|
|
11
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
12
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
13
|
+
import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
14
|
+
import type {AutomationButtonOrientation, 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 { Snippet } from 'svelte';
|
|
21
|
+
|
|
22
|
+
export interface Props {
|
|
23
|
+
class?: string;
|
|
24
|
+
style?: string;
|
|
25
|
+
/** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
|
|
26
|
+
turnedOn?: boolean;
|
|
27
|
+
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
28
|
+
on?: boolean | undefined;
|
|
29
|
+
variant?: SquaredVariant;
|
|
30
|
+
orientation?: AutomationButtonOrientation;
|
|
31
|
+
showReadoutStack?: boolean;
|
|
32
|
+
/** Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. */
|
|
33
|
+
static?: boolean;
|
|
34
|
+
/** Available when `showReadoutStack==true`. */
|
|
35
|
+
readoutPosition?: AutomationButtonReadoutPosition | undefined;
|
|
36
|
+
/** Available when `showReadoutStack==true`. */
|
|
37
|
+
showStatus?: boolean;
|
|
38
|
+
showStatusIcon?: boolean;
|
|
39
|
+
/** Available when `showReadoutStack==true`. */
|
|
40
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
41
|
+
/** Available when `showReadoutStack==true`. */
|
|
42
|
+
tag?: string | null;
|
|
43
|
+
positioning?: AutomationButtonPositioning;
|
|
44
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
45
|
+
activated?: boolean;
|
|
46
|
+
alert?: boolean;
|
|
47
|
+
/** Available when `alert==true`. */
|
|
48
|
+
alertFrameType?: ObcAlertFrameType;
|
|
49
|
+
/** Available when `alert==true`. */
|
|
50
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
51
|
+
/** Available when `alert==true`. */
|
|
52
|
+
alertFrameStatus?: AlertType;
|
|
53
|
+
/** Available when `alert==true`. */
|
|
54
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
55
|
+
/** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
56
|
+
showAlertCategoryIcon?: boolean;
|
|
57
|
+
/** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
|
|
58
|
+
showAlertIcon?: boolean;
|
|
59
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
60
|
+
progress?: boolean;
|
|
61
|
+
/** Available when `progress==true`. */
|
|
62
|
+
progressMode?: CircularProgressMode;
|
|
63
|
+
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
64
|
+
progressValue?: number;
|
|
65
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
66
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
67
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
68
|
+
badgeAlert?: AutomationButtonBadgeAlert
|
|
69
|
+
}
|
|
70
|
+
export interface Events {
|
|
71
|
+
onClick?: (event: CustomEvent<unknown>) => void
|
|
72
|
+
}
|
|
73
|
+
export interface Slots {
|
|
74
|
+
badgeTopRight?: Snippet;
|
|
75
|
+
badgeTopLeft?: Snippet;
|
|
76
|
+
badgeBottomLeft?: Snippet;
|
|
77
|
+
badgeBottomRight?: Snippet
|
|
78
|
+
}
|
|
79
|
+
const {onClick, class: className, style, badgeTopRight, badgeTopLeft, badgeBottomLeft, badgeBottomRight, ...props} = $props<Props & Events & Slots>();
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
</script>
|
|
83
|
+
<obc-electricity-battery
|
|
84
|
+
use:setProperties={props}
|
|
85
|
+
|
|
86
|
+
class={className}
|
|
87
|
+
style={style}
|
|
88
|
+
use:forwardEvents={{'click': onClick}} >
|
|
89
|
+
|
|
90
|
+
{#if badgeTopRight}
|
|
91
|
+
<NamedSlot name="badge-top-right" content={badgeTopRight} />
|
|
92
|
+
{/if}
|
|
93
|
+
|
|
94
|
+
{#if badgeTopLeft}
|
|
95
|
+
<NamedSlot name="badge-top-left" content={badgeTopLeft} />
|
|
96
|
+
{/if}
|
|
97
|
+
|
|
98
|
+
{#if badgeBottomLeft}
|
|
99
|
+
<NamedSlot name="badge-bottom-left" content={badgeBottomLeft} />
|
|
100
|
+
{/if}
|
|
101
|
+
|
|
102
|
+
{#if badgeBottomRight}
|
|
103
|
+
<NamedSlot name="badge-bottom-right" content={badgeBottomRight} />
|
|
104
|
+
{/if}
|
|
105
|
+
</obc-electricity-battery>
|