@oicl/openbridge-webcomponents-svelte 2.0.0-next.8 → 2.0.0-next.80
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/README.md +2 -0
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +17 -13
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +18 -12
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +7 -3
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +6 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +3 -0
- package/dist/automation/automation-button/ObcAutomationButton.svelte +12 -9
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +11 -8
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +189 -9
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +136 -4
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +22 -6
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +22 -13
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +6 -0
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +6 -0
- package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte +48 -0
- package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte.d.ts +35 -0
- package/dist/components/accordion-card/ObcAccordionCard.svelte +5 -3
- package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +4 -3
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
- package/dist/components/alert-frame/ObcAlertFrame.svelte +18 -4
- package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +18 -4
- package/dist/components/alert-frame/ObiCriticalBadge.svelte +32 -0
- package/dist/components/alert-frame/ObiCriticalBadge.svelte.d.ts +15 -0
- package/dist/components/alert-frame/ObiDiagnosticBadge.svelte +32 -0
- package/dist/components/alert-frame/ObiDiagnosticBadge.svelte.d.ts +15 -0
- package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
- package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +16 -4
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +13 -1
- package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
- package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
- package/dist/components/badge/ObcBadge.svelte +2 -2
- package/dist/components/badge/ObcBadge.svelte.d.ts +2 -2
- package/dist/components/card/ObcCard.svelte +4 -4
- package/dist/components/card/ObcCard.svelte.d.ts +4 -4
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +8 -3
- package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +8 -6
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
- package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
- package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
- package/dist/components/form-container/ObcFormContainer.svelte +4 -4
- package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
- package/dist/components/icon-button/ObcIconButton.svelte +6 -4
- package/dist/components/icon-button/ObcIconButton.svelte.d.ts +3 -0
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +9 -7
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +4 -2
- package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
- package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
- package/dist/components/navigation-item/ObcNavigationItem.svelte +12 -1
- package/dist/components/navigation-item/ObcNavigationItem.svelte.d.ts +12 -0
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +14 -1
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte.d.ts +14 -0
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte +2 -1
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +2 -1
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
- package/dist/components/number-input-field/ObcNumberInputField.svelte +19 -5
- package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +19 -2
- package/dist/components/pagination/ObcPagination.svelte +7 -5
- package/dist/components/pagination/ObcPagination.svelte.d.ts +3 -1
- package/dist/components/slider/ObcSlider.svelte +8 -6
- package/dist/components/slider/ObcSlider.svelte.d.ts +4 -2
- package/dist/components/slider-double/ObcSliderDouble.svelte +40 -7
- package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +22 -1
- package/dist/components/stepper-box/ObcStepperBox.svelte +32 -25
- package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +31 -6
- package/dist/components/tab-item/ObcTabItem.svelte +12 -4
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
- package/dist/components/tab-row/ObcTabRow.svelte +11 -5
- package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
- package/dist/components/tag/ObcTag.svelte +3 -2
- package/dist/components/tag/ObcTag.svelte.d.ts +3 -1
- package/dist/components/textbox/ObcTextbox.svelte +41 -0
- package/dist/components/textbox/ObcTextbox.svelte.d.ts +24 -0
- package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
- package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
- package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte +13 -3
- package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte.d.ts +11 -0
- package/dist/components/toggle-button-vertical-group/ObcToggleButtonVerticalGroup.svelte +13 -3
- package/dist/components/toggle-button-vertical-group/ObcToggleButtonVerticalGroup.svelte.d.ts +11 -0
- package/dist/components/toggle-switch/ObcToggleSwitch.svelte +5 -3
- package/dist/components/toggle-switch/ObcToggleSwitch.svelte.d.ts +1 -0
- package/dist/components/tree-navigation/ObcTreeNavigation.svelte +32 -0
- package/dist/components/tree-navigation/ObcTreeNavigation.svelte.d.ts +15 -0
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +60 -0
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte.d.ts +43 -0
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +64 -0
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte.d.ts +50 -0
- package/dist/icons/ObiAddColumnAfter.svelte +32 -0
- package/dist/icons/ObiAddColumnAfter.svelte.d.ts +16 -0
- package/dist/icons/ObiAddColumnBefore.svelte +32 -0
- package/dist/icons/ObiAddColumnBefore.svelte.d.ts +16 -0
- package/dist/icons/ObiAddRowAbove.svelte +32 -0
- package/dist/icons/ObiAddRowAbove.svelte.d.ts +16 -0
- package/dist/icons/ObiAddRowBelow.svelte +32 -0
- package/dist/icons/ObiAddRowBelow.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindApparent3.svelte → ObiCameraSettings.svelte} +3 -3
- package/dist/icons/ObiCameraSettings.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselEngineOff.svelte +32 -0
- package/dist/icons/ObiDieselEngineOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselEngineOn.svelte +32 -0
- package/dist/icons/ObiDieselEngineOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselEngineStatic.svelte +32 -0
- package/dist/icons/ObiDieselEngineStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorAcOff.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorAcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorAcOn.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorAcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorAcStatic.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorAcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorDcOff.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorDcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorDcOn.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorDcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorDcStatic.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorDcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorOff.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorOn.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorStatic.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorStepOff.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorStepOff.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorStepOn.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorStepOn.svelte.d.ts +16 -0
- package/dist/icons/ObiDieselGeneratorStepStatic.svelte +32 -0
- package/dist/icons/ObiDieselGeneratorStepStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorAcOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorAcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorAcOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorAcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorAcStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorAcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorDcOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorDcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorDcOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorDcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorDcStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorDcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorAcOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorAcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorAcOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorAcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorAcStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorAcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorDcOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorDcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorDcOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorDcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorDcStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorDcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStepOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStepOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStepOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStepOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStepStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorOrMotorStepStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorStepOff.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorStepOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorStepOn.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorStepOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricGeneratorStepStatic.svelte +32 -0
- package/dist/icons/ObiElectricGeneratorStepStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorAcOff.svelte +32 -0
- package/dist/icons/ObiElectricMotorAcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorAcOn.svelte +32 -0
- package/dist/icons/ObiElectricMotorAcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorAcStatic.svelte +32 -0
- package/dist/icons/ObiElectricMotorAcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorDcOff.svelte +32 -0
- package/dist/icons/ObiElectricMotorDcOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorDcOn.svelte +32 -0
- package/dist/icons/ObiElectricMotorDcOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorDcStatic.svelte +32 -0
- package/dist/icons/ObiElectricMotorDcStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorOff.svelte +32 -0
- package/dist/icons/ObiElectricMotorOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorOn.svelte +32 -0
- package/dist/icons/ObiElectricMotorOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorStatic.svelte +32 -0
- package/dist/icons/ObiElectricMotorStatic.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorStepOff.svelte +32 -0
- package/dist/icons/ObiElectricMotorStepOff.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorStepOn.svelte +32 -0
- package/dist/icons/ObiElectricMotorStepOn.svelte.d.ts +16 -0
- package/dist/icons/ObiElectricMotorStepStatic.svelte +32 -0
- package/dist/icons/ObiElectricMotorStepStatic.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindApparent4.svelte → ObiEmergencyBadge.svelte} +3 -3
- package/dist/icons/ObiEmergencyBadge.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindTrue3.svelte → ObiLocationK.svelte} +3 -3
- package/dist/icons/{ObiWindTrue3.svelte.d.ts → ObiLocationK.svelte.d.ts} +4 -4
- package/dist/icons/ObiMediaLibrary.svelte +32 -0
- package/dist/icons/ObiMediaLibrary.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindTrue4.svelte → ObiPressure.svelte} +3 -3
- package/dist/icons/{ObiWindTrue6.svelte.d.ts → ObiPressure.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindTrue6.svelte → ObiScreenFill.svelte} +3 -3
- package/dist/icons/{ObiWindShaft3.svelte.d.ts → ObiScreenFill.svelte.d.ts} +4 -4
- package/dist/icons/ObiScreenFit.svelte +32 -0
- package/dist/icons/{ObiWindTrue4.svelte.d.ts → ObiScreenFit.svelte.d.ts} +4 -4
- package/dist/icons/ObiVesselGenericAnchoredColour.svelte +32 -0
- package/dist/icons/ObiVesselGenericAnchoredColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselGenericDefaultColour.svelte +32 -0
- package/dist/icons/ObiVesselGenericDefaultColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselGenericFastColour.svelte +32 -0
- package/dist/icons/ObiVesselGenericFastColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselGenericMediumColour.svelte +32 -0
- package/dist/icons/ObiVesselGenericMediumColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselGenericSlowColour.svelte +32 -0
- package/dist/icons/ObiVesselGenericSlowColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselGenericStoppedColour.svelte +32 -0
- package/dist/icons/ObiVesselGenericStoppedColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeBargeColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeBargeColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeCargoColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeCargoColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeCruiseColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeCruiseColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeFishingColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeFishingColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeGenericColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeGenericColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeLifeboatColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeLifeboatColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeMilitaryColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeMilitaryColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeMotorBoatColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeMotorBoatColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypePassengerColour.svelte +32 -0
- package/dist/icons/ObiVesselTypePassengerColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypePilotColour.svelte +32 -0
- package/dist/icons/ObiVesselTypePilotColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypePsvColour.svelte +32 -0
- package/dist/icons/ObiVesselTypePsvColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeSailingColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeSailingColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeSarColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeSarColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeSmallcraftColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeSmallcraftColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeSpeedCraftColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeSpeedCraftColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeTankerColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeTankerColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeTugColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeTugColour.svelte.d.ts +16 -0
- package/dist/icons/ObiVesselTypeUnknownColour.svelte +32 -0
- package/dist/icons/ObiVesselTypeUnknownColour.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindApparent2.svelte → ObiWindApparent0.svelte} +3 -3
- package/dist/icons/{ObiWindApparent2.svelte.d.ts → ObiWindApparent0.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindApparent100.svelte +32 -0
- package/dist/icons/ObiWindApparent100.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindApparent11.svelte → ObiWindApparent15.svelte} +3 -3
- package/dist/icons/{ObiWindApparent13.svelte.d.ts → ObiWindApparent15.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindApparent13.svelte → ObiWindApparent20.svelte} +3 -3
- package/dist/icons/{ObiWindApparent11.svelte.d.ts → ObiWindApparent20.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindApparent12.svelte → ObiWindApparent25.svelte} +3 -3
- package/dist/icons/{ObiWindApparent14.svelte.d.ts → ObiWindApparent25.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindApparent14.svelte → ObiWindApparent30.svelte} +3 -3
- package/dist/icons/{ObiWindApparent12.svelte.d.ts → ObiWindApparent30.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindApparent35.svelte +32 -0
- package/dist/icons/ObiWindApparent35.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent40.svelte +32 -0
- package/dist/icons/ObiWindApparent40.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent45.svelte +32 -0
- package/dist/icons/ObiWindApparent45.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent50.svelte +32 -0
- package/dist/icons/ObiWindApparent50.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent55.svelte +32 -0
- package/dist/icons/ObiWindApparent55.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent60.svelte +32 -0
- package/dist/icons/ObiWindApparent60.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent65.svelte +32 -0
- package/dist/icons/ObiWindApparent65.svelte.d.ts +16 -0
- package/dist/icons/ObiWindApparent70.svelte +32 -0
- package/dist/icons/ObiWindApparent70.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindShaft2.svelte → ObiWindShaft0.svelte} +3 -3
- package/dist/icons/{ObiWindShaft2.svelte.d.ts → ObiWindShaft0.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindShaft100.svelte +32 -0
- package/dist/icons/ObiWindShaft100.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindShaft11.svelte → ObiWindShaft15.svelte} +3 -3
- package/dist/icons/{ObiWindShaft11.svelte.d.ts → ObiWindShaft15.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindShaft12.svelte → ObiWindShaft20.svelte} +3 -3
- package/dist/icons/{ObiWindShaft12.svelte.d.ts → ObiWindShaft20.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindShaft13.svelte → ObiWindShaft25.svelte} +3 -3
- package/dist/icons/{ObiWindShaft13.svelte.d.ts → ObiWindShaft25.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindShaft14.svelte → ObiWindShaft30.svelte} +3 -3
- package/dist/icons/{ObiWindShaft14.svelte.d.ts → ObiWindShaft30.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindShaft35.svelte +32 -0
- package/dist/icons/ObiWindShaft35.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft40.svelte +32 -0
- package/dist/icons/ObiWindShaft40.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft45.svelte +32 -0
- package/dist/icons/ObiWindShaft45.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft50.svelte +32 -0
- package/dist/icons/ObiWindShaft50.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft55.svelte +32 -0
- package/dist/icons/ObiWindShaft55.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft60.svelte +32 -0
- package/dist/icons/ObiWindShaft60.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft65.svelte +32 -0
- package/dist/icons/ObiWindShaft65.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft70.svelte +32 -0
- package/dist/icons/ObiWindShaft70.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft75.svelte +32 -0
- package/dist/icons/ObiWindShaft75.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft80.svelte +32 -0
- package/dist/icons/ObiWindShaft80.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft85.svelte +32 -0
- package/dist/icons/ObiWindShaft85.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft90.svelte +32 -0
- package/dist/icons/ObiWindShaft90.svelte.d.ts +16 -0
- package/dist/icons/ObiWindShaft95.svelte +32 -0
- package/dist/icons/ObiWindShaft95.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindTrue2.svelte → ObiWindTrue0.svelte} +3 -3
- package/dist/icons/{ObiWindTrue2.svelte.d.ts → ObiWindTrue0.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindTrue100.svelte +32 -0
- package/dist/icons/ObiWindTrue100.svelte.d.ts +16 -0
- package/dist/icons/{ObiWindShaft3.svelte → ObiWindTrue15.svelte} +3 -3
- package/dist/icons/{ObiWindTrue11.svelte.d.ts → ObiWindTrue15.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindShaft4.svelte → ObiWindTrue20.svelte} +3 -3
- package/dist/icons/{ObiWindTrue12.svelte.d.ts → ObiWindTrue20.svelte.d.ts} +4 -4
- package/dist/icons/{ObiWindShaft6.svelte → ObiWindTrue25.svelte} +3 -3
- package/dist/icons/{ObiWindTrue13.svelte.d.ts → ObiWindTrue25.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindTrue30.svelte +32 -0
- package/dist/icons/{ObiWindTrue14.svelte.d.ts → ObiWindTrue30.svelte.d.ts} +4 -4
- package/dist/icons/ObiWindTrue35.svelte +32 -0
- package/dist/icons/ObiWindTrue35.svelte.d.ts +16 -0
- package/dist/icons/ObiWindTrue45.svelte +32 -0
- package/dist/icons/ObiWindTrue45.svelte.d.ts +16 -0
- package/dist/icons/ObiWindTrue50.svelte +32 -0
- package/dist/icons/ObiWindTrue50.svelte.d.ts +16 -0
- package/dist/icons/ObiWindTrue55.svelte +32 -0
- package/dist/icons/ObiWindTrue55.svelte.d.ts +16 -0
- package/dist/icons/ObiWindTrue60.svelte +32 -0
- package/dist/icons/ObiWindTrue60.svelte.d.ts +16 -0
- package/dist/icons/ObiWindTrue65.svelte +32 -0
- package/dist/icons/ObiWindTrue65.svelte.d.ts +16 -0
- package/dist/icons/ObiWindTrue70.svelte +32 -0
- package/dist/icons/ObiWindTrue70.svelte.d.ts +16 -0
- package/dist/index.d.ts +161 -33
- package/dist/index.js +161 -33
- package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +88 -0
- package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte.d.ts +46 -0
- package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +19 -7
- package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte.d.ts +10 -1
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
- package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte +2 -1
- package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte.d.ts +1 -0
- package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte +50 -0
- package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte.d.ts +20 -0
- package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte +10 -2
- package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte.d.ts +2 -0
- package/dist/manual-icon/ObiAlertsCriticalTwotone.svelte +32 -0
- package/dist/manual-icon/ObiAlertsCriticalTwotone.svelte.d.ts +16 -0
- package/dist/manual-icon/ObiAlertsDiagnosticTwotone.svelte +32 -0
- package/dist/manual-icon/ObiAlertsDiagnosticTwotone.svelte.d.ts +16 -0
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
- package/dist/navigation-instruments/compass/ObcCompass.svelte +18 -2
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +17 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +11 -4
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +11 -3
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +27 -2
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +25 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte +12 -3
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte.d.ts +11 -1
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte +33 -0
- package/dist/navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte.d.ts +20 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +24 -1
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +23 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
- package/dist/navigation-instruments/readout/ObcReadout.svelte +161 -0
- package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +104 -0
- package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +53 -0
- package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +40 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +64 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +46 -0
- package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte +63 -0
- package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte.d.ts +47 -0
- package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +10 -1
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +9 -0
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte +9 -1
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte.d.ts +9 -1
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +4 -4
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -4
- package/dist/navigation-instruments/watch/ObcWatch.svelte +17 -4
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +14 -1
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
- package/dist/navigation-instruments/wind/ObcWind.svelte +7 -4
- package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +6 -2
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +29 -8
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +32 -6
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
- package/package.json +2 -2
- package/dist/icons/ObiWindApparent3.svelte.d.ts +0 -16
- package/dist/icons/ObiWindApparent4.svelte.d.ts +0 -16
- package/dist/icons/ObiWindApparent6.svelte +0 -32
- package/dist/icons/ObiWindApparent6.svelte.d.ts +0 -16
- package/dist/icons/ObiWindApparent7.svelte +0 -32
- package/dist/icons/ObiWindApparent7.svelte.d.ts +0 -16
- package/dist/icons/ObiWindApparent8.svelte +0 -32
- package/dist/icons/ObiWindApparent8.svelte.d.ts +0 -16
- package/dist/icons/ObiWindApparent9.svelte +0 -32
- package/dist/icons/ObiWindApparent9.svelte.d.ts +0 -16
- package/dist/icons/ObiWindShaft4.svelte.d.ts +0 -16
- package/dist/icons/ObiWindShaft6.svelte.d.ts +0 -16
- package/dist/icons/ObiWindShaft7.svelte +0 -32
- package/dist/icons/ObiWindShaft7.svelte.d.ts +0 -16
- package/dist/icons/ObiWindShaft8.svelte +0 -32
- package/dist/icons/ObiWindShaft8.svelte.d.ts +0 -16
- package/dist/icons/ObiWindShaft9.svelte +0 -32
- package/dist/icons/ObiWindShaft9.svelte.d.ts +0 -16
- package/dist/icons/ObiWindTrue11.svelte +0 -32
- package/dist/icons/ObiWindTrue12.svelte +0 -32
- package/dist/icons/ObiWindTrue13.svelte +0 -32
- package/dist/icons/ObiWindTrue14.svelte +0 -32
- package/dist/icons/ObiWindTrue7.svelte +0 -32
- package/dist/icons/ObiWindTrue7.svelte.d.ts +0 -16
- package/dist/icons/ObiWindTrue8.svelte +0 -32
- package/dist/icons/ObiWindTrue8.svelte.d.ts +0 -16
- package/dist/icons/ObiWindTrue9.svelte +0 -32
- package/dist/icons/ObiWindTrue9.svelte.d.ts +0 -16
package/README.md
CHANGED
|
@@ -28,12 +28,14 @@ We are thrilled if you would like to support the OpenBridge Web Components proje
|
|
|
28
28
|
We invite industry partners to join our Joint Industry Project. By becoming a donor, you help secure the future of the project and gain influence over the roadmap.
|
|
29
29
|
|
|
30
30
|
### Donor Benefits
|
|
31
|
+
|
|
31
32
|
By becoming a donor, you aren’t just supporting code—you’re joining a collaborative movement. To show our appreciation, donors receive a specialized benefits package valid for 12 months upon receipt of payment:
|
|
32
33
|
|
|
33
34
|
- **Proudly Show Your Support:** You are authorized to use the official "OpenBridge Member" logo in your marketing materials and corporate communications.
|
|
34
35
|
- **Early & Easy Access:** You gain the right to use all new releases of the project’s software components directly under the Apache License 2.0.
|
|
35
36
|
|
|
36
37
|
### How to Support
|
|
38
|
+
|
|
37
39
|
If you are interested in supporting the project, please fill out this **[Support Form](https://docs.google.com/forms/d/e/1FAIpQLSc6JVRyyIease2PkUArirNkG0DeTB__YnWEovjVwISlaYdktA/viewform?usp=header)**.
|
|
38
40
|
|
|
39
41
|
For more information, please contact **Torstein A. Bø** at [torstein.bo@openstudio.no](mailto:torstein.bo@openstudio.no) or contact us on [Slack](https://join.slack.com/t/openbridgegroup/shared_invite/zt-2e4clvl6s-uZLkN5L3g8O~c1UZCN1reQ).
|
|
@@ -33,11 +33,11 @@ course?: number;
|
|
|
33
33
|
export interface Slots {
|
|
34
34
|
children?: Snippet;
|
|
35
35
|
silhouette?: Snippet;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
numberSnippet?: Snippet;
|
|
37
|
+
nameSnippet?: Snippet;
|
|
38
|
+
vesselImageSnippet?: Snippet
|
|
39
39
|
}
|
|
40
|
-
const { class: className, style, children, silhouette,
|
|
40
|
+
const { class: className, style, children, silhouette, numberSnippet, nameSnippet, vesselImageSnippet, ...props} = $props<Props & Events & Slots>();
|
|
41
41
|
|
|
42
42
|
</script>
|
|
43
43
|
<obc-chart-object-vessel-button
|
|
@@ -56,21 +56,21 @@ course?: number;
|
|
|
56
56
|
</div>
|
|
57
57
|
{/if}
|
|
58
58
|
|
|
59
|
-
{#if
|
|
59
|
+
{#if numberSnippet}
|
|
60
60
|
<div slot="number">
|
|
61
|
-
{@render
|
|
61
|
+
{@render numberSnippet()}
|
|
62
62
|
</div>
|
|
63
63
|
{/if}
|
|
64
64
|
|
|
65
|
-
{#if
|
|
65
|
+
{#if nameSnippet}
|
|
66
66
|
<div slot="name">
|
|
67
|
-
{@render
|
|
67
|
+
{@render nameSnippet()}
|
|
68
68
|
</div>
|
|
69
69
|
{/if}
|
|
70
70
|
|
|
71
|
-
{#if
|
|
71
|
+
{#if vesselImageSnippet}
|
|
72
72
|
<div slot="vessel-image">
|
|
73
|
-
{@render
|
|
73
|
+
{@render vesselImageSnippet()}
|
|
74
74
|
</div>
|
|
75
75
|
{/if}
|
|
76
76
|
</obc-chart-object-vessel-button>
|
|
@@ -26,9 +26,9 @@ export interface Events {
|
|
|
26
26
|
export interface Slots {
|
|
27
27
|
children?: Snippet;
|
|
28
28
|
silhouette?: Snippet;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
numberSnippet?: Snippet;
|
|
30
|
+
nameSnippet?: Snippet;
|
|
31
|
+
vesselImageSnippet?: Snippet;
|
|
32
32
|
}
|
|
33
33
|
type $$ComponentProps = Props & Events & Slots;
|
|
34
34
|
declare const ObcChartObjectVesselButton: import("svelte").Component<$$ComponentProps, {
|
|
@@ -1,40 +1,44 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
3
|
+
export type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
4
|
export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
5
|
-
export type {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
5
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
6
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';
|
|
7
9
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
8
10
|
import { setProperties } from "../../util.js";
|
|
9
|
-
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
11
|
+
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
10
12
|
import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
11
|
-
import type {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
13
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
12
15
|
import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
16
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
17
|
import type { Snippet } from 'svelte';
|
|
14
18
|
|
|
15
19
|
export interface Props {
|
|
16
20
|
class?: string;
|
|
17
21
|
style?: string;
|
|
18
22
|
showReadoutStack?: boolean;
|
|
19
|
-
hasIdTag?: boolean;
|
|
20
23
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
21
24
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
22
25
|
positioning?: AutomationButtonPositioning;
|
|
23
26
|
alert?: boolean;
|
|
24
27
|
alertFrameType?: ObcAlertFrameType;
|
|
25
28
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
26
|
-
alertFrameStatus?:
|
|
29
|
+
alertFrameStatus?: AlertType;
|
|
30
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
27
31
|
showAlertCategoryIcon?: boolean;
|
|
28
32
|
showAlertIcon?: boolean;
|
|
29
|
-
|
|
33
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
34
|
+
progress?: boolean;
|
|
30
35
|
progressMode?: CircularProgressMode;
|
|
31
36
|
progressValue?: number;
|
|
32
|
-
tag?: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
badgeAlertOff?: boolean
|
|
37
|
+
tag?: string | null;
|
|
38
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
39
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
40
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
41
|
+
badgeAlert?: AutomationButtonBadgeAlert
|
|
38
42
|
}
|
|
39
43
|
export interface Events {
|
|
40
44
|
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
2
|
-
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
2
|
+
import type { AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
|
-
import type { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
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
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';
|
|
6
8
|
import type { Snippet } from 'svelte';
|
|
7
9
|
export interface Props {
|
|
8
10
|
class?: string;
|
|
9
11
|
style?: string;
|
|
10
12
|
showReadoutStack?: boolean;
|
|
11
|
-
hasIdTag?: boolean;
|
|
12
13
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
13
14
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
14
15
|
positioning?: AutomationButtonPositioning;
|
|
15
16
|
alert?: boolean;
|
|
16
17
|
alertFrameType?: ObcAlertFrameType;
|
|
17
18
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
18
|
-
alertFrameStatus?:
|
|
19
|
+
alertFrameStatus?: AlertType;
|
|
20
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
19
21
|
showAlertCategoryIcon?: boolean;
|
|
20
22
|
showAlertIcon?: boolean;
|
|
23
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
21
24
|
progress?: boolean;
|
|
22
25
|
progressMode?: CircularProgressMode;
|
|
23
26
|
progressValue?: number;
|
|
24
|
-
tag?: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
badgeAlertOff?: boolean;
|
|
27
|
+
tag?: string | null;
|
|
28
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
29
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
30
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
31
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
30
32
|
}
|
|
31
33
|
export interface Events {
|
|
32
34
|
}
|
|
@@ -37,12 +39,16 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
37
39
|
declare const ObcAbstractAutomationButton: import("svelte").Component<$$ComponentProps, {
|
|
38
40
|
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
39
41
|
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
40
|
-
AutomationButtonDirection: typeof AutomationButtonDirection;
|
|
41
42
|
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
42
43
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
43
44
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
44
|
-
|
|
45
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
46
|
+
AlertType: typeof AlertType;
|
|
45
47
|
CircularProgressMode: typeof CircularProgressMode;
|
|
48
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
49
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
50
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
51
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
46
52
|
}, "">;
|
|
47
53
|
type ObcAbstractAutomationButton = ReturnType<typeof ObcAbstractAutomationButton>;
|
|
48
54
|
export default ObcAbstractAutomationButton;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {AutomationButtonLabelDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
|
+
export type {AutomationButtonLabelDirection, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
4
|
export type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
6
6
|
import { setProperties } from "../../util.js";
|
|
7
|
-
import type {AutomationButtonLabelDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
7
|
+
import type {AutomationButtonLabelDirection, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
8
8
|
import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
10
10
|
|
|
@@ -13,8 +13,12 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
|
|
|
13
13
|
style?: string;
|
|
14
14
|
on?: boolean;
|
|
15
15
|
speedInPercent?: number;
|
|
16
|
+
speed?: number | undefined;
|
|
17
|
+
speedUnit?: string;
|
|
18
|
+
speedMaxDigits?: number;
|
|
16
19
|
labelDirection?: AutomationButtonLabelDirection;
|
|
17
|
-
variant?: MotorizedVariant
|
|
20
|
+
variant?: MotorizedVariant;
|
|
21
|
+
direction?: AutomationButtonDirection
|
|
18
22
|
}
|
|
19
23
|
export interface Events {
|
|
20
24
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
2
|
-
import type { AutomationButtonLabelDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
2
|
+
import type { AutomationButtonLabelDirection, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
3
|
import type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
export interface Props {
|
|
@@ -7,8 +7,12 @@ export interface Props {
|
|
|
7
7
|
style?: string;
|
|
8
8
|
on?: boolean;
|
|
9
9
|
speedInPercent?: number;
|
|
10
|
+
speed?: number | undefined;
|
|
11
|
+
speedUnit?: string;
|
|
12
|
+
speedMaxDigits?: number;
|
|
10
13
|
labelDirection?: AutomationButtonLabelDirection;
|
|
11
14
|
variant?: MotorizedVariant;
|
|
15
|
+
direction?: AutomationButtonDirection;
|
|
12
16
|
}
|
|
13
17
|
export interface Events {
|
|
14
18
|
}
|
|
@@ -18,6 +22,7 @@ export interface Slots {
|
|
|
18
22
|
type $$ComponentProps = Props & Events & Slots;
|
|
19
23
|
declare const ObcAbstractAutomationButtonMotorized: import("svelte").Component<$$ComponentProps, {
|
|
20
24
|
AutomationButtonLabelDirection: typeof AutomationButtonLabelDirection;
|
|
25
|
+
AutomationButtonDirection: typeof AutomationButtonDirection;
|
|
21
26
|
MotorizedVariant: typeof MotorizedVariant;
|
|
22
27
|
}, "">;
|
|
23
28
|
type ObcAbstractAutomationButtonMotorized = ReturnType<typeof ObcAbstractAutomationButtonMotorized>;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
+
export type {AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
7
|
import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
8
|
+
import type {AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
14
|
on?: boolean;
|
|
13
|
-
variant?: SquaredVariant
|
|
15
|
+
variant?: SquaredVariant;
|
|
16
|
+
orientation?: AutomationButtonOrientation
|
|
14
17
|
}
|
|
15
18
|
export interface Events {
|
|
16
19
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
2
2
|
import type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
3
|
+
import type { AutomationButtonOrientation } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
8
|
on?: boolean;
|
|
8
9
|
variant?: SquaredVariant;
|
|
10
|
+
orientation?: AutomationButtonOrientation;
|
|
9
11
|
}
|
|
10
12
|
export interface Events {
|
|
11
13
|
}
|
|
@@ -15,6 +17,7 @@ export interface Slots {
|
|
|
15
17
|
type $$ComponentProps = Props & Events & Slots;
|
|
16
18
|
declare const ObcAbstractAutomationButtonSquared: import("svelte").Component<$$ComponentProps, {
|
|
17
19
|
SquaredVariant: typeof SquaredVariant;
|
|
20
|
+
AutomationButtonOrientation: typeof AutomationButtonOrientation;
|
|
18
21
|
}, "">;
|
|
19
22
|
type ObcAbstractAutomationButtonSquared = ReturnType<typeof ObcAbstractAutomationButtonSquared>;
|
|
20
23
|
export default ObcAbstractAutomationButtonSquared;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
|
-
export type {AutomationButtonReadoutStack,
|
|
5
|
-
export type {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
3
|
+
export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
4
|
+
export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
5
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
6
7
|
export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
7
8
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
8
9
|
import { setProperties } from "../../util.js";
|
|
9
|
-
import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
10
|
-
import type {AutomationButtonReadoutStack,
|
|
11
|
-
import type {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
10
|
+
import type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
11
|
+
import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
12
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
13
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
12
14
|
import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
13
15
|
import type { Snippet } from 'svelte';
|
|
14
16
|
|
|
@@ -20,14 +22,14 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
20
22
|
static?: boolean;
|
|
21
23
|
showReadoutStack?: boolean;
|
|
22
24
|
readouts?: AutomationButtonReadoutStack[];
|
|
23
|
-
tag?:
|
|
24
|
-
hasIdTag?: boolean;
|
|
25
|
+
tag?: string | null;
|
|
25
26
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
26
27
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
27
28
|
alert?: boolean;
|
|
28
29
|
alertFrameType?: ObcAlertFrameType;
|
|
29
30
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
30
|
-
alertFrameStatus?:
|
|
31
|
+
alertFrameStatus?: AlertType;
|
|
32
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
31
33
|
showAlertCategoryIcon?: boolean;
|
|
32
34
|
showAlertIcon?: boolean;
|
|
33
35
|
progress?: boolean;
|
|
@@ -35,6 +37,7 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
35
37
|
progressValue?: number;
|
|
36
38
|
direction?: AutomationButtonDirection;
|
|
37
39
|
positioning?: AutomationButtonPositioning;
|
|
40
|
+
orientation?: AutomationButtonOrientation;
|
|
38
41
|
/** Badge spacer should be set to true if there is a badge on the same side as the label */
|
|
39
42
|
hasBadgeSpacer?: boolean
|
|
40
43
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
2
|
-
import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
|
-
import type { AutomationButtonReadoutStack,
|
|
4
|
-
import type { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
2
|
+
import type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning, AutomationButtonOrientation } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
3
|
+
import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
4
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
6
|
import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
6
7
|
import type { Snippet } from 'svelte';
|
|
7
8
|
export interface Props {
|
|
@@ -12,14 +13,14 @@ export interface Props {
|
|
|
12
13
|
static?: boolean;
|
|
13
14
|
showReadoutStack?: boolean;
|
|
14
15
|
readouts?: AutomationButtonReadoutStack[];
|
|
15
|
-
tag?:
|
|
16
|
-
hasIdTag?: boolean;
|
|
16
|
+
tag?: string | null;
|
|
17
17
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
18
18
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
19
19
|
alert?: boolean;
|
|
20
20
|
alertFrameType?: ObcAlertFrameType;
|
|
21
21
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
22
|
-
alertFrameStatus?:
|
|
22
|
+
alertFrameStatus?: AlertType;
|
|
23
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
23
24
|
showAlertCategoryIcon?: boolean;
|
|
24
25
|
showAlertIcon?: boolean;
|
|
25
26
|
progress?: boolean;
|
|
@@ -27,6 +28,7 @@ export interface Props {
|
|
|
27
28
|
progressValue?: number;
|
|
28
29
|
direction?: AutomationButtonDirection;
|
|
29
30
|
positioning?: AutomationButtonPositioning;
|
|
31
|
+
orientation?: AutomationButtonOrientation;
|
|
30
32
|
/** Badge spacer should be set to true if there is a badge on the same side as the label */
|
|
31
33
|
hasBadgeSpacer?: boolean;
|
|
32
34
|
}
|
|
@@ -42,12 +44,13 @@ declare const ObcAutomationButton: import("svelte").Component<$$ComponentProps,
|
|
|
42
44
|
AutomationButtonReadoutPosition: typeof AutomationButtonReadoutPosition;
|
|
43
45
|
AutomationButtonDirection: typeof AutomationButtonDirection;
|
|
44
46
|
AutomationButtonPositioning: typeof AutomationButtonPositioning;
|
|
47
|
+
AutomationButtonOrientation: typeof AutomationButtonOrientation;
|
|
45
48
|
AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
|
|
46
|
-
AutomationButtonReadoutStackTag: typeof AutomationButtonReadoutStackTag;
|
|
47
49
|
AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
|
|
48
50
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
49
51
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
50
|
-
|
|
52
|
+
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
53
|
+
AlertType: typeof AlertType;
|
|
51
54
|
CircularProgressMode: typeof CircularProgressMode;
|
|
52
55
|
}, "">;
|
|
53
56
|
type ObcAutomationButton = ReturnType<typeof ObcAutomationButton>;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
4
|
-
export type {TankTrend,
|
|
4
|
+
export type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
5
|
+
export type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
|
+
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
8
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
9
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
10
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
5
11
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
6
12
|
import { setProperties } from "../../util.js";
|
|
7
13
|
import type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
8
|
-
import type {TankTrend,
|
|
14
|
+
import type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
15
|
+
import type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
16
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
17
|
+
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
18
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
19
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
20
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
21
|
import type { Snippet } from 'svelte';
|
|
10
22
|
|
|
11
23
|
export interface Props {
|
|
@@ -15,16 +27,128 @@ import type {TankTrend, TankVariant} from '@oicl/openbridge-webcomponents/dist/a
|
|
|
15
27
|
value?: number;
|
|
16
28
|
max?: number;
|
|
17
29
|
trend?: TankTrend;
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
type?: TankType;
|
|
31
|
+
orientation?: TankOrientation;
|
|
32
|
+
compact?: boolean;
|
|
33
|
+
/** Host positioning model — see `TankPositioning` for details. Defaults to
|
|
34
|
+
`button` (host fills parent container, 100% × 100%, no anchor offset).
|
|
35
|
+
Set to `point` for the legacy P&ID canvas mode (fixed default dimensions
|
|
36
|
+
+ top-center anchor offset). */
|
|
37
|
+
positioning?: TankPositioning;
|
|
38
|
+
/** Static (display-only) variant. Always rendered at the compact size; the
|
|
39
|
+
inner chart/bar is hidden, the bordered area is filled with
|
|
40
|
+
`--container-section-color`, and the readout is centered inside the frame.
|
|
41
|
+
Tag is rendered below the bordered area; badges (when slotted) sit above
|
|
42
|
+
the frame inside the halo and shrink the frame just like in compact mode.
|
|
43
|
+
Overrides `compact` (a static tank is always compact-sized).
|
|
44
|
+
|
|
45
|
+
Static tanks render as a non-interactive `<div role="img">` (not a
|
|
46
|
+
`<button>`), so they are not in the tab order and do not announce as
|
|
47
|
+
activatable controls. */
|
|
48
|
+
static?: boolean;
|
|
49
|
+
tag?: string;
|
|
50
|
+
/** Chart cell rendering mode.
|
|
51
|
+
- `bar`: static fill bar driven by `value`/`max` (default).
|
|
52
|
+
- `graph`: embedded `obc-gauge-trend` line/area chart.
|
|
53
|
+
- `graphAndBar`: embedded `obc-gauge-trend` with an integrated side bar. */
|
|
54
|
+
chartMode?: TankChartMode;
|
|
55
|
+
/** Time-series data points for the embedded gauge-trend (graph modes only). */
|
|
56
|
+
chartData?: ChartLineDataItem[];
|
|
57
|
+
/** Priority hint forwarded to child charts (regular | enhanced). */
|
|
58
|
+
priority?: Priority;
|
|
59
|
+
/** Advice overlays. Forwarded to the embedded `obc-gauge-trend` in
|
|
60
|
+
`graph` / `graph-and-bar` modes, or rendered as pills over the static
|
|
61
|
+
bar in `bar` mode. */
|
|
62
|
+
advice?: LinearAdvice[];
|
|
63
|
+
/** Show advice overlays (works in all `chartMode` variants). */
|
|
64
|
+
hasAdvice?: boolean;
|
|
65
|
+
/** Overlay a 32×32 decorative icon (currently `<obi-tank>`) centered on the
|
|
66
|
+
chart cell. Works in all three `chartMode` variants (bar, graph,
|
|
67
|
+
graph-and-bar) and in both orientations. The icon is rendered above the
|
|
68
|
+
bar/graph in a fixed CSS layer (does not scale with the SVG meet
|
|
69
|
+
transform) and is silhouetted with a `--border-silhouette-color` halo so
|
|
70
|
+
it stays legible on any underlying fill. The icon size scales with the
|
|
71
|
+
ambient `obc-component-size-*` class on an ancestor via the design token
|
|
72
|
+
`--automation-components-tanks-graphs-graph-icon-size` (32 → 48 → 64 → 64
|
|
73
|
+
for regular → medium → large → xl).
|
|
74
|
+
|
|
75
|
+
TODO(future): replace the hard-coded `<obi-tank>` with a `slot="graph-icon"`
|
|
76
|
+
so consumers can pass any `<obi-*>` icon. The current API ships the
|
|
77
|
+
smallest viable surface; the slot can be added without breaking the
|
|
78
|
+
boolean property. */
|
|
79
|
+
hasGraphIcon?: boolean;
|
|
80
|
+
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the
|
|
81
|
+
`.halo` wrapper). Mirrors the API of `obc-automation-button`: same six
|
|
82
|
+
properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`).
|
|
83
|
+
The ring overlays `.halo` only, so the tag and readout that sit outside
|
|
84
|
+
the halo in compact / static layouts remain unaffected. */
|
|
85
|
+
alert?: boolean;
|
|
86
|
+
alertFrameType?: ObcAlertFrameType;
|
|
87
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
88
|
+
alertFrameStatus?: AlertType;
|
|
89
|
+
showAlertCategoryIcon?: boolean;
|
|
90
|
+
showAlertIcon?: boolean;
|
|
91
|
+
/** Show the trend chevron / off icon next to the percent readout. Default
|
|
92
|
+
`true` preserves existing behavior. Set to `false` to hide the trend
|
|
93
|
+
indicator in both compact and non-compact readouts — useful when the
|
|
94
|
+
trend is not meaningful for a given tank, or when the consumer wants
|
|
95
|
+
to keep the readout compact. Has no effect in `static` mode, which
|
|
96
|
+
renders the tank's capacity (`max` + `unit`) instead of a percent and
|
|
97
|
+
intentionally omits the trend indicator (a static tank represents
|
|
98
|
+
"device present, current state unknown"). `attribute: false` per the
|
|
99
|
+
repo's positive-default-true boolean convention. */
|
|
100
|
+
showTrendSymbol?: boolean;
|
|
101
|
+
/** Number of fraction digits used to format the percent readout in the
|
|
102
|
+
non-compact (regular) layout. Defaults to `0` (integer percent). The
|
|
103
|
+
compact layout always renders integer percent to keep its fixed-width
|
|
104
|
+
footprint stable. The static layout renders capacity (`max` + `unit`)
|
|
105
|
+
rather than percent, so this property has no effect there — pass a
|
|
106
|
+
pre-formatted value through the `max-value` slot if fractional
|
|
107
|
+
precision is needed (see the `WithFractionDigits` story). */
|
|
108
|
+
percentFractionDigits?: number;
|
|
109
|
+
/** Rich detail rows shown below the main percent/value block in the regular
|
|
110
|
+
(non-compact, non-static) layout, separated by a divider. When empty (the
|
|
111
|
+
default), nothing is rendered — neither the divider nor the list. In
|
|
112
|
+
vertical orientation the chart cell shrinks to make room; in horizontal
|
|
113
|
+
orientation the readout column already has reserved whitespace so the
|
|
114
|
+
chart is unaffected.
|
|
115
|
+
|
|
116
|
+
Values are formatted using `percentFractionDigits`. Consumers that need
|
|
117
|
+
full control over the markup can replace the entire fallback by slotting
|
|
118
|
+
arbitrary content into `slot="rich"` (note: this is a different name from
|
|
119
|
+
the existing `slot="readout"` which replaces the whole readout block). */
|
|
120
|
+
readout?: TankReadoutItem[];
|
|
121
|
+
/** Enum-driven badges rendered inside the `badges` cell. Mirrors the API
|
|
122
|
+
introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
|
|
123
|
+
to a non-`None` value, an `<obc-automation-badge>` of the corresponding
|
|
124
|
+
type is rendered as fallback content for the `badges` slot. Any content
|
|
125
|
+
the consumer slots into `badges` overrides these defaults, preserving
|
|
126
|
+
backward compatibility with the existing slot-based API.
|
|
127
|
+
|
|
128
|
+
Render order (left → right): control, alert, interlock, commandLocked —
|
|
129
|
+
matching the positional convention used by `ObcAbstractAutomationButton`
|
|
130
|
+
(top-left, top-right, bottom-left, bottom-right) read row-by-row. */
|
|
131
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
132
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
133
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
134
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked
|
|
20
135
|
}
|
|
21
136
|
export interface Events {
|
|
22
137
|
|
|
23
138
|
}
|
|
24
139
|
export interface Slots {
|
|
25
|
-
|
|
140
|
+
badges?: Snippet;
|
|
141
|
+
tagSnippet?: Snippet;
|
|
142
|
+
readoutSnippet?: Snippet;
|
|
143
|
+
maxValue?: Snippet;
|
|
144
|
+
unit?: Snippet;
|
|
145
|
+
currentValue?: Snippet;
|
|
146
|
+
rich?: Snippet;
|
|
147
|
+
alertIcon?: Snippet;
|
|
148
|
+
alertLabel?: Snippet;
|
|
149
|
+
alertTimer?: Snippet
|
|
26
150
|
}
|
|
27
|
-
const { class: className, style,
|
|
151
|
+
const { class: className, style, badges, tagSnippet, readoutSnippet, maxValue, unit, currentValue, rich, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
28
152
|
|
|
29
153
|
</script>
|
|
30
154
|
<obc-automation-tank
|
|
@@ -33,7 +157,63 @@ import type {TankTrend, TankVariant} from '@oicl/openbridge-webcomponents/dist/a
|
|
|
33
157
|
style={style}
|
|
34
158
|
>
|
|
35
159
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
160
|
+
{#if badges}
|
|
161
|
+
<div slot="badges">
|
|
162
|
+
{@render badges()}
|
|
163
|
+
</div>
|
|
164
|
+
{/if}
|
|
165
|
+
|
|
166
|
+
{#if tagSnippet}
|
|
167
|
+
<div slot="tag">
|
|
168
|
+
{@render tagSnippet()}
|
|
169
|
+
</div>
|
|
170
|
+
{/if}
|
|
171
|
+
|
|
172
|
+
{#if readoutSnippet}
|
|
173
|
+
<div slot="readout">
|
|
174
|
+
{@render readoutSnippet()}
|
|
175
|
+
</div>
|
|
176
|
+
{/if}
|
|
177
|
+
|
|
178
|
+
{#if maxValue}
|
|
179
|
+
<div slot="max-value">
|
|
180
|
+
{@render maxValue()}
|
|
181
|
+
</div>
|
|
182
|
+
{/if}
|
|
183
|
+
|
|
184
|
+
{#if unit}
|
|
185
|
+
<div slot="unit">
|
|
186
|
+
{@render unit()}
|
|
187
|
+
</div>
|
|
188
|
+
{/if}
|
|
189
|
+
|
|
190
|
+
{#if currentValue}
|
|
191
|
+
<div slot="current-value">
|
|
192
|
+
{@render currentValue()}
|
|
193
|
+
</div>
|
|
194
|
+
{/if}
|
|
195
|
+
|
|
196
|
+
{#if rich}
|
|
197
|
+
<div slot="rich">
|
|
198
|
+
{@render rich()}
|
|
199
|
+
</div>
|
|
200
|
+
{/if}
|
|
201
|
+
|
|
202
|
+
{#if alertIcon}
|
|
203
|
+
<div slot="alert-icon">
|
|
204
|
+
{@render alertIcon()}
|
|
205
|
+
</div>
|
|
206
|
+
{/if}
|
|
207
|
+
|
|
208
|
+
{#if alertLabel}
|
|
209
|
+
<div slot="alert-label">
|
|
210
|
+
{@render alertLabel()}
|
|
211
|
+
</div>
|
|
212
|
+
{/if}
|
|
213
|
+
|
|
214
|
+
{#if alertTimer}
|
|
215
|
+
<div slot="alert-timer">
|
|
216
|
+
{@render alertTimer()}
|
|
217
|
+
</div>
|
|
218
|
+
{/if}
|
|
39
219
|
</obc-automation-tank>
|