@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,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';
|
|
2
2
|
import type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
3
3
|
import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
4
5
|
import type { Snippet } from 'svelte';
|
|
5
6
|
export interface Props {
|
|
6
7
|
class?: string;
|
|
@@ -103,6 +104,12 @@ export interface Props {
|
|
|
103
104
|
* Available when `instrumentMode==true`.
|
|
104
105
|
*/
|
|
105
106
|
borderRadius?: number | undefined;
|
|
107
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
108
|
+
advices?: AdviceInput[];
|
|
109
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
110
|
+
adviceTrigger?: AdviceTrigger;
|
|
111
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
112
|
+
adviceEmphasis?: boolean;
|
|
106
113
|
}
|
|
107
114
|
export interface Events {
|
|
108
115
|
}
|
|
@@ -126,6 +133,8 @@ declare const ObcLineGraph: import("svelte").Component<$$ComponentProps, {
|
|
|
126
133
|
Priority: typeof Priority;
|
|
127
134
|
FrameStyle: typeof FrameStyle;
|
|
128
135
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
136
|
+
AdviceInput: typeof AdviceInput;
|
|
137
|
+
AdviceTrigger: typeof AdviceTrigger;
|
|
129
138
|
}, "">;
|
|
130
139
|
type ObcLineGraph = ReturnType<typeof ObcLineGraph>;
|
|
131
140
|
export default ObcLineGraph;
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
4
|
+
export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
4
5
|
export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
|
|
7
7
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
9
|
+
import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
9
10
|
import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
17
|
+
advices?: AdviceInput[];
|
|
18
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
19
|
+
adviceTrigger?: AdviceTrigger;
|
|
20
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
21
|
+
adviceEmphasis?: boolean;
|
|
16
22
|
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
17
23
|
setpoint?: number | undefined;
|
|
18
24
|
/** Adjustment preview for 2-step interface.
|
|
@@ -170,11 +176,9 @@ animateSetpoint?: boolean;
|
|
|
170
176
|
/**
|
|
171
177
|
* Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap)
|
|
172
178
|
*
|
|
173
|
-
* Available when `hasBar==true
|
|
179
|
+
* Available when `hasBar==true`.
|
|
174
180
|
*/
|
|
175
181
|
advicePosition?: AdvicePosition;
|
|
176
|
-
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
177
|
-
advices?: LinearAdvice[] | undefined;
|
|
178
182
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
179
183
|
highlightCurrentValue?: boolean
|
|
180
184
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
|
|
2
|
+
import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
2
3
|
import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
4
|
import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
10
|
+
advices?: AdviceInput[];
|
|
11
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
12
|
+
adviceTrigger?: AdviceTrigger;
|
|
13
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
14
|
+
adviceEmphasis?: boolean;
|
|
9
15
|
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
10
16
|
setpoint?: number | undefined;
|
|
11
17
|
/** Adjustment preview for 2-step interface.
|
|
@@ -163,11 +169,9 @@ regardless of instrument state. */
|
|
|
163
169
|
/**
|
|
164
170
|
* Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap)
|
|
165
171
|
*
|
|
166
|
-
* Available when `hasBar==true
|
|
172
|
+
* Available when `hasBar==true`.
|
|
167
173
|
*/
|
|
168
174
|
advicePosition?: AdvicePosition;
|
|
169
|
-
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
170
|
-
advices?: LinearAdvice[] | undefined;
|
|
171
175
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
172
176
|
highlightCurrentValue?: boolean;
|
|
173
177
|
}
|
|
@@ -179,6 +183,8 @@ export interface Slots {
|
|
|
179
183
|
}
|
|
180
184
|
type $$ComponentProps = Props & Events & Slots;
|
|
181
185
|
declare const ObcBarHorizontal: import("svelte").Component<$$ComponentProps, {
|
|
186
|
+
AdviceInput: typeof AdviceInput;
|
|
187
|
+
AdviceTrigger: typeof AdviceTrigger;
|
|
182
188
|
ExternalScaleSide: typeof ExternalScaleSide;
|
|
183
189
|
BarContainerStyle: typeof BarContainerStyle;
|
|
184
190
|
ScaleType: typeof ScaleType;
|
|
@@ -188,7 +194,6 @@ declare const ObcBarHorizontal: import("svelte").Component<$$ComponentProps, {
|
|
|
188
194
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
189
195
|
Priority: typeof Priority;
|
|
190
196
|
InstrumentState: typeof InstrumentState;
|
|
191
|
-
LinearAdvice: typeof LinearAdvice;
|
|
192
197
|
}, "">;
|
|
193
198
|
type ObcBarHorizontal = ReturnType<typeof ObcBarHorizontal>;
|
|
194
199
|
export default ObcBarHorizontal;
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
4
|
+
export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
4
5
|
export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
7
7
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
9
|
+
import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
9
10
|
import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
17
|
+
advices?: AdviceInput[];
|
|
18
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
19
|
+
adviceTrigger?: AdviceTrigger;
|
|
20
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
21
|
+
adviceEmphasis?: boolean;
|
|
16
22
|
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
17
23
|
setpoint?: number | undefined;
|
|
18
24
|
/** Adjustment preview for 2-step interface.
|
|
@@ -137,8 +143,6 @@ animateSetpoint?: boolean;
|
|
|
137
143
|
* Available when `hasBar==true`.
|
|
138
144
|
*/
|
|
139
145
|
advicePosition?: AdvicePosition;
|
|
140
|
-
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
141
|
-
advices?: LinearAdvice[] | undefined;
|
|
142
146
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
143
147
|
highlightCurrentValue?: boolean
|
|
144
148
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
2
|
+
import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
2
3
|
import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
4
|
import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
10
|
+
advices?: AdviceInput[];
|
|
11
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
12
|
+
adviceTrigger?: AdviceTrigger;
|
|
13
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
14
|
+
adviceEmphasis?: boolean;
|
|
9
15
|
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
10
16
|
setpoint?: number | undefined;
|
|
11
17
|
/** Adjustment preview for 2-step interface.
|
|
@@ -130,8 +136,6 @@ regardless of instrument state. */
|
|
|
130
136
|
* Available when `hasBar==true`.
|
|
131
137
|
*/
|
|
132
138
|
advicePosition?: AdvicePosition;
|
|
133
|
-
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
134
|
-
advices?: LinearAdvice[] | undefined;
|
|
135
139
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
136
140
|
highlightCurrentValue?: boolean;
|
|
137
141
|
}
|
|
@@ -143,6 +147,8 @@ export interface Slots {
|
|
|
143
147
|
}
|
|
144
148
|
type $$ComponentProps = Props & Events & Slots;
|
|
145
149
|
declare const ObcBarVertical: import("svelte").Component<$$ComponentProps, {
|
|
150
|
+
AdviceInput: typeof AdviceInput;
|
|
151
|
+
AdviceTrigger: typeof AdviceTrigger;
|
|
146
152
|
ExternalScaleSide: typeof ExternalScaleSide;
|
|
147
153
|
BarContainerStyle: typeof BarContainerStyle;
|
|
148
154
|
ScaleType: typeof ScaleType;
|
|
@@ -152,7 +158,6 @@ declare const ObcBarVertical: import("svelte").Component<$$ComponentProps, {
|
|
|
152
158
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
153
159
|
Priority: typeof Priority;
|
|
154
160
|
InstrumentState: typeof InstrumentState;
|
|
155
|
-
LinearAdvice: typeof LinearAdvice;
|
|
156
161
|
}, "">;
|
|
157
162
|
type ObcBarVertical = ReturnType<typeof ObcBarVertical>;
|
|
158
163
|
export default ObcBarVertical;
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
4
|
+
export type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
5
|
export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
7
|
import { setProperties } from "../../util.js";
|
|
7
|
-
import type {
|
|
8
|
+
import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
9
|
+
import type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
8
10
|
import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
9
11
|
import type { Snippet } from 'svelte';
|
|
10
12
|
|
|
11
13
|
export interface Props {
|
|
12
14
|
class?: string;
|
|
13
15
|
style?: string;
|
|
16
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
17
|
+
advices?: AdviceInput[];
|
|
18
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
19
|
+
adviceTrigger?: AdviceTrigger;
|
|
20
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
21
|
+
adviceEmphasis?: boolean;
|
|
14
22
|
/** Simple single-series data. `{label, value}` items for the category axis; `{x, value}` items for time/number axes (x: epoch ms, ISO string, Date, or Temporal object). Points are drawn in array order (no sorting). */
|
|
15
23
|
data?: ChartLineDataItem[];
|
|
16
24
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. Explicit Chart.js styling on an entry (`borderColor`, `backgroundColor`, `borderDash`, `borderCapStyle`, `fill`, `order`, `pointRadius`) wins over the derived defaults (`fill: true` selects the chart's own `'start'`); `ellipseClip` clips the entry's drawing to an ellipse: centre and `rx` in data units, `ry` in data units when given, else round in pixels. */
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
|
+
import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
2
3
|
import type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
3
4
|
import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import type { Snippet } from 'svelte';
|
|
5
6
|
export interface Props {
|
|
6
7
|
class?: string;
|
|
7
8
|
style?: string;
|
|
9
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
10
|
+
advices?: AdviceInput[];
|
|
11
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
12
|
+
adviceTrigger?: AdviceTrigger;
|
|
13
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
14
|
+
adviceEmphasis?: boolean;
|
|
8
15
|
/** Simple single-series data. `{label, value}` items for the category axis; `{x, value}` items for time/number axes (x: epoch ms, ISO string, Date, or Temporal object). Points are drawn in array order (no sorting). */
|
|
9
16
|
data?: ChartLineDataItem[];
|
|
10
17
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. Explicit Chart.js styling on an entry (`borderColor`, `backgroundColor`, `borderDash`, `borderCapStyle`, `fill`, `order`, `pointRadius`) wins over the derived defaults (`fill: true` selects the chart's own `'start'`); `ellipseClip` clips the entry's drawing to an ellipse: centre and `rx` in data units, `ry` in data units when given, else round in pixels. */
|
|
@@ -111,6 +118,8 @@ export interface Slots {
|
|
|
111
118
|
}
|
|
112
119
|
type $$ComponentProps = Props & Events & Slots;
|
|
113
120
|
declare const ObcChartLineBase: import("svelte").Component<$$ComponentProps, {
|
|
121
|
+
AdviceInput: typeof AdviceInput;
|
|
122
|
+
AdviceTrigger: typeof AdviceTrigger;
|
|
114
123
|
ChartLineDataItem: typeof ChartLineDataItem;
|
|
115
124
|
ChartLineDataset: typeof ChartLineDataset;
|
|
116
125
|
XAxisType: typeof XAxisType;
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {RadialFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/radial-frame.js';
|
|
4
|
+
export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
4
5
|
export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {ObcGaugeRadialType
|
|
6
|
+
export type {ObcGaugeRadialType} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';
|
|
6
7
|
export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
7
8
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';
|
|
8
9
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
9
10
|
import type {RadialFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/radial-frame.js';
|
|
11
|
+
import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
10
12
|
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
|
-
import type {ObcGaugeRadialType
|
|
13
|
+
import type {ObcGaugeRadialType} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';
|
|
12
14
|
import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
13
15
|
import type { Snippet } from 'svelte';
|
|
14
16
|
|
|
15
17
|
export interface Props {
|
|
16
18
|
class?: string;
|
|
17
19
|
style?: string;
|
|
20
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
21
|
+
advices?: AdviceInput[];
|
|
22
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
23
|
+
adviceTrigger?: AdviceTrigger;
|
|
24
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
25
|
+
adviceEmphasis?: boolean;
|
|
18
26
|
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
19
27
|
setpoint?: number | undefined;
|
|
20
28
|
/** Adjustment preview for 2-step interface.
|
|
@@ -57,7 +65,6 @@ animateSetpoint?: boolean;
|
|
|
57
65
|
needleType?: ObcGaugeRadialType;
|
|
58
66
|
tickmarksInside?: boolean;
|
|
59
67
|
tickmarkStyle?: TickmarkStyle;
|
|
60
|
-
advices?: GaugeRadialAdvice[];
|
|
61
68
|
/** Available when `zoomToFitArc==false`. */
|
|
62
69
|
clipTop?: number;
|
|
63
70
|
/** Available when `zoomToFitArc==false`. */
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';
|
|
2
2
|
import type { RadialFrame } from '@oicl/openbridge-webcomponents/dist/svghelpers/radial-frame.js';
|
|
3
|
+
import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
|
|
3
4
|
import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type { ObcGaugeRadialType
|
|
5
|
+
import type { ObcGaugeRadialType } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';
|
|
5
6
|
import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
6
7
|
import type { Snippet } from 'svelte';
|
|
7
8
|
export interface Props {
|
|
8
9
|
class?: string;
|
|
9
10
|
style?: string;
|
|
11
|
+
/** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
|
|
12
|
+
advices?: AdviceInput[];
|
|
13
|
+
/** Which readings trigger an advice: the value, the setpoint, or either. */
|
|
14
|
+
adviceTrigger?: AdviceTrigger;
|
|
15
|
+
/** The design's go-to / no-go emphasis rules. */
|
|
16
|
+
adviceEmphasis?: boolean;
|
|
10
17
|
/** Target setpoint value. `undefined` = no setpoint marker shown. */
|
|
11
18
|
setpoint?: number | undefined;
|
|
12
19
|
/** Adjustment preview for 2-step interface.
|
|
@@ -49,7 +56,6 @@ regardless of instrument state. */
|
|
|
49
56
|
needleType?: ObcGaugeRadialType;
|
|
50
57
|
tickmarksInside?: boolean;
|
|
51
58
|
tickmarkStyle?: TickmarkStyle;
|
|
52
|
-
advices?: GaugeRadialAdvice[];
|
|
53
59
|
/** Available when `zoomToFitArc==false`. */
|
|
54
60
|
clipTop?: number;
|
|
55
61
|
/** Available when `zoomToFitArc==false`. */
|
|
@@ -73,10 +79,11 @@ export interface Slots {
|
|
|
73
79
|
type $$ComponentProps = Props & Events & Slots;
|
|
74
80
|
declare const ObcInstrumentRadial: import("svelte").Component<$$ComponentProps, {
|
|
75
81
|
RadialFrame: typeof RadialFrame;
|
|
82
|
+
AdviceInput: typeof AdviceInput;
|
|
83
|
+
AdviceTrigger: typeof AdviceTrigger;
|
|
76
84
|
InstrumentState: typeof InstrumentState;
|
|
77
85
|
Priority: typeof Priority;
|
|
78
86
|
ObcGaugeRadialType: typeof ObcGaugeRadialType;
|
|
79
|
-
GaugeRadialAdvice: typeof GaugeRadialAdvice;
|
|
80
87
|
TickmarkStyle: typeof TickmarkStyle;
|
|
81
88
|
}, "">;
|
|
82
89
|
type ObcInstrumentRadial = ReturnType<typeof ObcInstrumentRadial>;
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
4
4
|
export type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
5
|
+
export type {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
5
6
|
import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
|
|
6
7
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
8
|
import type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
9
|
import type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
10
|
+
import type {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
9
11
|
import type { Snippet } from 'svelte';
|
|
10
12
|
|
|
11
13
|
export interface Props {
|
|
@@ -31,6 +33,12 @@ import type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/compo
|
|
|
31
33
|
counter?: boolean;
|
|
32
34
|
/** Shows the per-severity counts and the shelved count before the bell and the total (the item's global counter); a flat button shows the plain bell. */
|
|
33
35
|
globalCounter?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* How the global counter draws each count: `badges` (filled severity badges, default) or `alert-level` (the severity shape beside the count).
|
|
38
|
+
*
|
|
39
|
+
* Available when `globalCounter==true`.
|
|
40
|
+
*/
|
|
41
|
+
globalCounterType?: ObcAlertCounterItemType;
|
|
34
42
|
/**
|
|
35
43
|
* Alert count per severity for the global counter badges (`countAlarm`, `countWarning`, `countCaution` and the `level-*` counts).
|
|
36
44
|
*
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
|
|
2
2
|
import type { AlertType, AlertCounts, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
3
3
|
import type { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
4
|
+
import type { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
4
5
|
import type { Snippet } from 'svelte';
|
|
5
6
|
export interface Props {
|
|
6
7
|
class?: string;
|
|
@@ -25,6 +26,12 @@ export interface Props {
|
|
|
25
26
|
counter?: boolean;
|
|
26
27
|
/** Shows the per-severity counts and the shelved count before the bell and the total (the item's global counter); a flat button shows the plain bell. */
|
|
27
28
|
globalCounter?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* How the global counter draws each count: `badges` (filled severity badges, default) or `alert-level` (the severity shape beside the count).
|
|
31
|
+
*
|
|
32
|
+
* Available when `globalCounter==true`.
|
|
33
|
+
*/
|
|
34
|
+
globalCounterType?: ObcAlertCounterItemType;
|
|
28
35
|
/**
|
|
29
36
|
* Alert count per severity for the global counter badges (`countAlarm`, `countWarning`, `countCaution` and the `level-*` counts).
|
|
30
37
|
*
|
|
@@ -71,6 +78,7 @@ declare const ObcAlertButton: import("svelte").Component<$$ComponentProps, {
|
|
|
71
78
|
AlertCounts: typeof AlertCounts;
|
|
72
79
|
FlashingSpeed: typeof FlashingSpeed;
|
|
73
80
|
ObcAlertButtonType: typeof ObcAlertButtonType;
|
|
81
|
+
ObcAlertCounterItemType: typeof ObcAlertCounterItemType;
|
|
74
82
|
}, "">;
|
|
75
83
|
type ObcAlertButton = ReturnType<typeof ObcAlertButton>;
|
|
76
84
|
export default ObcAlertButton;
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
4
4
|
export type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
|
+
export type {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
5
6
|
import '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
6
7
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
8
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
7
9
|
import type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
8
10
|
import type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
11
|
+
import type {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
9
12
|
import type { Snippet } from 'svelte';
|
|
10
13
|
|
|
11
14
|
export interface Props {
|
|
@@ -33,6 +36,12 @@ import type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webco
|
|
|
33
36
|
counter?: boolean;
|
|
34
37
|
/** Shows the per-severity counts, the bell and the total instead of a single alert status. */
|
|
35
38
|
globalCounter?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* How the global counter draws each count: `badges` (filled severity badges, default) or `alert-level` (the severity shape beside the count).
|
|
41
|
+
*
|
|
42
|
+
* Available when `globalCounter==true`.
|
|
43
|
+
*/
|
|
44
|
+
globalCounterType?: ObcAlertCounterItemType;
|
|
36
45
|
/**
|
|
37
46
|
* Alert count per severity for the global counter badges.
|
|
38
47
|
*
|
|
@@ -59,16 +68,20 @@ import type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webco
|
|
|
59
68
|
flashingSpeed?: FlashingSpeed;
|
|
60
69
|
/** Stretches the visible button to the host height instead of the 32 px visual target. */
|
|
61
70
|
fillHeight?: boolean;
|
|
71
|
+
/** Draws the button in the selected style, for a button whose panel is showing. */
|
|
72
|
+
activated?: boolean;
|
|
62
73
|
/** Accessible name forwarded to the inner `<button>`, mapped to the `aria-label` attribute; replaces the generated label. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary. */
|
|
63
|
-
ariaLabel?: string | null
|
|
74
|
+
ariaLabel?: string | null;
|
|
75
|
+
/** Whether the panel the button opens is showing, forwarded to the inner `<button>` as `aria-expanded`; mapped to the `aria-expanded` attribute. Set it with `activated` from the flag that drives the panel; left unset, the button announces no panel. */
|
|
76
|
+
ariaExpanded?: string | null
|
|
64
77
|
}
|
|
65
78
|
export interface Events {
|
|
66
79
|
onClick?: (event: CustomEvent<unknown>) => void
|
|
67
80
|
}
|
|
68
81
|
export interface Slots {
|
|
69
|
-
|
|
82
|
+
icon?: Snippet
|
|
70
83
|
}
|
|
71
|
-
const {onClick, class: className, style,
|
|
84
|
+
const {onClick, class: className, style, icon, ...props} = $props<Props & Events & Slots>();
|
|
72
85
|
|
|
73
86
|
|
|
74
87
|
</script>
|
|
@@ -79,7 +92,7 @@ import type {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webco
|
|
|
79
92
|
style={style}
|
|
80
93
|
use:forwardEvents={{'click': onClick}} >
|
|
81
94
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
95
|
+
{#if icon}
|
|
96
|
+
<NamedSlot name="icon" content={icon} />
|
|
97
|
+
{/if}
|
|
85
98
|
</obc-alert-button-item>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
2
2
|
import type { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
3
3
|
import type { AlertType, AlertCounts, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
4
|
+
import type { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
4
5
|
import type { Snippet } from 'svelte';
|
|
5
6
|
export interface Props {
|
|
6
7
|
class?: string;
|
|
@@ -27,6 +28,12 @@ export interface Props {
|
|
|
27
28
|
counter?: boolean;
|
|
28
29
|
/** Shows the per-severity counts, the bell and the total instead of a single alert status. */
|
|
29
30
|
globalCounter?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* How the global counter draws each count: `badges` (filled severity badges, default) or `alert-level` (the severity shape beside the count).
|
|
33
|
+
*
|
|
34
|
+
* Available when `globalCounter==true`.
|
|
35
|
+
*/
|
|
36
|
+
globalCounterType?: ObcAlertCounterItemType;
|
|
30
37
|
/**
|
|
31
38
|
* Alert count per severity for the global counter badges.
|
|
32
39
|
*
|
|
@@ -53,14 +60,18 @@ export interface Props {
|
|
|
53
60
|
flashingSpeed?: FlashingSpeed;
|
|
54
61
|
/** Stretches the visible button to the host height instead of the 32 px visual target. */
|
|
55
62
|
fillHeight?: boolean;
|
|
63
|
+
/** Draws the button in the selected style, for a button whose panel is showing. */
|
|
64
|
+
activated?: boolean;
|
|
56
65
|
/** Accessible name forwarded to the inner `<button>`, mapped to the `aria-label` attribute; replaces the generated label. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary. */
|
|
57
66
|
ariaLabel?: string | null;
|
|
67
|
+
/** Whether the panel the button opens is showing, forwarded to the inner `<button>` as `aria-expanded`; mapped to the `aria-expanded` attribute. Set it with `activated` from the flag that drives the panel; left unset, the button announces no panel. */
|
|
68
|
+
ariaExpanded?: string | null;
|
|
58
69
|
}
|
|
59
70
|
export interface Events {
|
|
60
71
|
onClick?: (event: CustomEvent<unknown>) => void;
|
|
61
72
|
}
|
|
62
73
|
export interface Slots {
|
|
63
|
-
|
|
74
|
+
icon?: Snippet;
|
|
64
75
|
}
|
|
65
76
|
type $$ComponentProps = Props & Events & Slots;
|
|
66
77
|
declare const ObcAlertButtonItem: import("svelte").Component<$$ComponentProps, {
|
|
@@ -68,6 +79,7 @@ declare const ObcAlertButtonItem: import("svelte").Component<$$ComponentProps, {
|
|
|
68
79
|
AlertType: typeof AlertType;
|
|
69
80
|
AlertCounts: typeof AlertCounts;
|
|
70
81
|
FlashingSpeed: typeof FlashingSpeed;
|
|
82
|
+
ObcAlertCounterItemType: typeof ObcAlertCounterItemType;
|
|
71
83
|
}, "">;
|
|
72
84
|
type ObcAlertButtonItem = ReturnType<typeof ObcAlertButtonItem>;
|
|
73
85
|
export default ObcAlertButtonItem;
|
|
@@ -15,7 +15,7 @@ import type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
15
15
|
type?: ObcAlertCounterItemType;
|
|
16
16
|
/** Alert count per severity (`countAlarm`, `countWarning`, `countCaution` and the `level-*` counts); counts of zero or less are not shown. */
|
|
17
17
|
counts?: AlertCounts;
|
|
18
|
-
/** Number of shelved alerts, shown as a neutral badge after the severities; hidden at zero. */
|
|
18
|
+
/** Number of shelved alerts, shown as a neutral badge with the timer icon after the severities; hidden at zero. */
|
|
19
19
|
shelvedCount?: number
|
|
20
20
|
}
|
|
21
21
|
export interface Events {
|
|
@@ -9,7 +9,7 @@ export interface Props {
|
|
|
9
9
|
type?: ObcAlertCounterItemType;
|
|
10
10
|
/** Alert count per severity (`countAlarm`, `countWarning`, `countCaution` and the `level-*` counts); counts of zero or less are not shown. */
|
|
11
11
|
counts?: AlertCounts;
|
|
12
|
-
/** Number of shelved alerts, shown as a neutral badge after the severities; hidden at zero. */
|
|
12
|
+
/** Number of shelved alerts, shown as a neutral badge with the timer icon after the severities; hidden at zero. */
|
|
13
13
|
shelvedCount?: number;
|
|
14
14
|
}
|
|
15
15
|
export interface Events {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/components/alert-subsystem-button/alert-subsystem-button.js';
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
7
|
+
import type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import type { Snippet } from 'svelte';
|
|
9
|
+
|
|
10
|
+
export interface Props {
|
|
11
|
+
class?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Alert count per severity, drawn as badges in the counter half.
|
|
15
|
+
*
|
|
16
|
+
* Available when `hasAlert==true`.
|
|
17
|
+
*/
|
|
18
|
+
counts?: AlertCounts;
|
|
19
|
+
/** Whether the subsystem has active alerts: `true` draws the badges, `false` the `emptyText`; `true` with nothing counted shows the `emptyText` as well. */
|
|
20
|
+
hasAlert?: boolean;
|
|
21
|
+
/** The subsystem label, before the badges. */
|
|
22
|
+
label?: string;
|
|
23
|
+
/** Text shown instead of the badges when `hasAlert` is `false` or nothing is counted. */
|
|
24
|
+
emptyText?: string;
|
|
25
|
+
/** Disables both halves. */
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/** Disables the counter half alone. */
|
|
28
|
+
counterDisabled?: boolean;
|
|
29
|
+
/** Disables the list half alone. */
|
|
30
|
+
listDisabled?: boolean;
|
|
31
|
+
/** Accessible name of the list half; "Alert list" when left empty. */
|
|
32
|
+
listButtonLabel?: string;
|
|
33
|
+
/** Accessible name of the counter half, mapped to the `aria-label` attribute; replaces the generated "HVAC, 2 Caution", or "Alerts" when the half has neither a label nor text. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary. */
|
|
34
|
+
ariaLabel?: string | null
|
|
35
|
+
}
|
|
36
|
+
export interface Events {
|
|
37
|
+
onCounterClick?: (event: CustomEvent<void>) => void;
|
|
38
|
+
onAlertListClick?: (event: CustomEvent<void>) => void
|
|
39
|
+
}
|
|
40
|
+
export interface Slots {
|
|
41
|
+
icon?: Snippet;
|
|
42
|
+
listIcon?: Snippet
|
|
43
|
+
}
|
|
44
|
+
const {onCounterClick, onAlertListClick, class: className, style, icon, listIcon, ...props} = $props<Props & Events & Slots>();
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
</script>
|
|
48
|
+
<obc-alert-subsystem-button
|
|
49
|
+
use:setProperties={props}
|
|
50
|
+
|
|
51
|
+
class={className}
|
|
52
|
+
style={style}
|
|
53
|
+
use:forwardEvents={{'counter-click': onCounterClick, 'alert-list-click': onAlertListClick}} >
|
|
54
|
+
|
|
55
|
+
{#if icon}
|
|
56
|
+
<NamedSlot name="icon" content={icon} />
|
|
57
|
+
{/if}
|
|
58
|
+
|
|
59
|
+
{#if listIcon}
|
|
60
|
+
<NamedSlot name="list-icon" content={listIcon} />
|
|
61
|
+
{/if}
|
|
62
|
+
</obc-alert-subsystem-button>
|