@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
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
2
2
|
import type { LineMedium } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
3
|
-
import type { TankTrend,
|
|
3
|
+
import type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
4
|
+
import type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
5
|
+
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
|
+
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
7
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
8
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
9
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
4
10
|
import type { Snippet } from 'svelte';
|
|
5
11
|
export interface Props {
|
|
6
12
|
class?: string;
|
|
@@ -9,19 +15,145 @@ export interface Props {
|
|
|
9
15
|
value?: number;
|
|
10
16
|
max?: number;
|
|
11
17
|
trend?: TankTrend;
|
|
12
|
-
|
|
18
|
+
type?: TankType;
|
|
19
|
+
orientation?: TankOrientation;
|
|
20
|
+
compact?: boolean;
|
|
21
|
+
/** Host positioning model — see `TankPositioning` for details. Defaults to
|
|
22
|
+
`button` (host fills parent container, 100% × 100%, no anchor offset).
|
|
23
|
+
Set to `point` for the legacy P&ID canvas mode (fixed default dimensions
|
|
24
|
+
+ top-center anchor offset). */
|
|
25
|
+
positioning?: TankPositioning;
|
|
26
|
+
/** Static (display-only) variant. Always rendered at the compact size; the
|
|
27
|
+
inner chart/bar is hidden, the bordered area is filled with
|
|
28
|
+
`--container-section-color`, and the readout is centered inside the frame.
|
|
29
|
+
Tag is rendered below the bordered area; badges (when slotted) sit above
|
|
30
|
+
the frame inside the halo and shrink the frame just like in compact mode.
|
|
31
|
+
Overrides `compact` (a static tank is always compact-sized).
|
|
32
|
+
|
|
33
|
+
Static tanks render as a non-interactive `<div role="img">` (not a
|
|
34
|
+
`<button>`), so they are not in the tab order and do not announce as
|
|
35
|
+
activatable controls. */
|
|
36
|
+
static?: boolean;
|
|
13
37
|
tag?: string;
|
|
38
|
+
/** Chart cell rendering mode.
|
|
39
|
+
- `bar`: static fill bar driven by `value`/`max` (default).
|
|
40
|
+
- `graph`: embedded `obc-gauge-trend` line/area chart.
|
|
41
|
+
- `graphAndBar`: embedded `obc-gauge-trend` with an integrated side bar. */
|
|
42
|
+
chartMode?: TankChartMode;
|
|
43
|
+
/** Time-series data points for the embedded gauge-trend (graph modes only). */
|
|
44
|
+
chartData?: ChartLineDataItem[];
|
|
45
|
+
/** Priority hint forwarded to child charts (regular | enhanced). */
|
|
46
|
+
priority?: Priority;
|
|
47
|
+
/** Advice overlays. Forwarded to the embedded `obc-gauge-trend` in
|
|
48
|
+
`graph` / `graph-and-bar` modes, or rendered as pills over the static
|
|
49
|
+
bar in `bar` mode. */
|
|
50
|
+
advice?: LinearAdvice[];
|
|
51
|
+
/** Show advice overlays (works in all `chartMode` variants). */
|
|
52
|
+
hasAdvice?: boolean;
|
|
53
|
+
/** Overlay a 32×32 decorative icon (currently `<obi-tank>`) centered on the
|
|
54
|
+
chart cell. Works in all three `chartMode` variants (bar, graph,
|
|
55
|
+
graph-and-bar) and in both orientations. The icon is rendered above the
|
|
56
|
+
bar/graph in a fixed CSS layer (does not scale with the SVG meet
|
|
57
|
+
transform) and is silhouetted with a `--border-silhouette-color` halo so
|
|
58
|
+
it stays legible on any underlying fill. The icon size scales with the
|
|
59
|
+
ambient `obc-component-size-*` class on an ancestor via the design token
|
|
60
|
+
`--automation-components-tanks-graphs-graph-icon-size` (32 → 48 → 64 → 64
|
|
61
|
+
for regular → medium → large → xl).
|
|
62
|
+
|
|
63
|
+
TODO(future): replace the hard-coded `<obi-tank>` with a `slot="graph-icon"`
|
|
64
|
+
so consumers can pass any `<obi-*>` icon. The current API ships the
|
|
65
|
+
smallest viable surface; the slot can be added without breaking the
|
|
66
|
+
boolean property. */
|
|
67
|
+
hasGraphIcon?: boolean;
|
|
68
|
+
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the
|
|
69
|
+
`.halo` wrapper). Mirrors the API of `obc-automation-button`: same six
|
|
70
|
+
properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`).
|
|
71
|
+
The ring overlays `.halo` only, so the tag and readout that sit outside
|
|
72
|
+
the halo in compact / static layouts remain unaffected. */
|
|
73
|
+
alert?: boolean;
|
|
74
|
+
alertFrameType?: ObcAlertFrameType;
|
|
75
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
76
|
+
alertFrameStatus?: AlertType;
|
|
77
|
+
showAlertCategoryIcon?: boolean;
|
|
78
|
+
showAlertIcon?: boolean;
|
|
79
|
+
/** Show the trend chevron / off icon next to the percent readout. Default
|
|
80
|
+
`true` preserves existing behavior. Set to `false` to hide the trend
|
|
81
|
+
indicator in both compact and non-compact readouts — useful when the
|
|
82
|
+
trend is not meaningful for a given tank, or when the consumer wants
|
|
83
|
+
to keep the readout compact. Has no effect in `static` mode, which
|
|
84
|
+
renders the tank's capacity (`max` + `unit`) instead of a percent and
|
|
85
|
+
intentionally omits the trend indicator (a static tank represents
|
|
86
|
+
"device present, current state unknown"). `attribute: false` per the
|
|
87
|
+
repo's positive-default-true boolean convention. */
|
|
88
|
+
showTrendSymbol?: boolean;
|
|
89
|
+
/** Number of fraction digits used to format the percent readout in the
|
|
90
|
+
non-compact (regular) layout. Defaults to `0` (integer percent). The
|
|
91
|
+
compact layout always renders integer percent to keep its fixed-width
|
|
92
|
+
footprint stable. The static layout renders capacity (`max` + `unit`)
|
|
93
|
+
rather than percent, so this property has no effect there — pass a
|
|
94
|
+
pre-formatted value through the `max-value` slot if fractional
|
|
95
|
+
precision is needed (see the `WithFractionDigits` story). */
|
|
96
|
+
percentFractionDigits?: number;
|
|
97
|
+
/** Rich detail rows shown below the main percent/value block in the regular
|
|
98
|
+
(non-compact, non-static) layout, separated by a divider. When empty (the
|
|
99
|
+
default), nothing is rendered — neither the divider nor the list. In
|
|
100
|
+
vertical orientation the chart cell shrinks to make room; in horizontal
|
|
101
|
+
orientation the readout column already has reserved whitespace so the
|
|
102
|
+
chart is unaffected.
|
|
103
|
+
|
|
104
|
+
Values are formatted using `percentFractionDigits`. Consumers that need
|
|
105
|
+
full control over the markup can replace the entire fallback by slotting
|
|
106
|
+
arbitrary content into `slot="rich"` (note: this is a different name from
|
|
107
|
+
the existing `slot="readout"` which replaces the whole readout block). */
|
|
108
|
+
readout?: TankReadoutItem[];
|
|
109
|
+
/** Enum-driven badges rendered inside the `badges` cell. Mirrors the API
|
|
110
|
+
introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
|
|
111
|
+
to a non-`None` value, an `<obc-automation-badge>` of the corresponding
|
|
112
|
+
type is rendered as fallback content for the `badges` slot. Any content
|
|
113
|
+
the consumer slots into `badges` overrides these defaults, preserving
|
|
114
|
+
backward compatibility with the existing slot-based API.
|
|
115
|
+
|
|
116
|
+
Render order (left → right): control, alert, interlock, commandLocked —
|
|
117
|
+
matching the positional convention used by `ObcAbstractAutomationButton`
|
|
118
|
+
(top-left, top-right, bottom-left, bottom-right) read row-by-row. */
|
|
119
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
120
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
121
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
122
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
14
123
|
}
|
|
15
124
|
export interface Events {
|
|
16
125
|
}
|
|
17
126
|
export interface Slots {
|
|
18
|
-
|
|
127
|
+
badges?: Snippet;
|
|
128
|
+
tagSnippet?: Snippet;
|
|
129
|
+
readoutSnippet?: Snippet;
|
|
130
|
+
maxValue?: Snippet;
|
|
131
|
+
unit?: Snippet;
|
|
132
|
+
currentValue?: Snippet;
|
|
133
|
+
rich?: Snippet;
|
|
134
|
+
alertIcon?: Snippet;
|
|
135
|
+
alertLabel?: Snippet;
|
|
136
|
+
alertTimer?: Snippet;
|
|
19
137
|
}
|
|
20
138
|
type $$ComponentProps = Props & Events & Slots;
|
|
21
139
|
declare const ObcAutomationTank: import("svelte").Component<$$ComponentProps, {
|
|
22
140
|
LineMedium: typeof LineMedium;
|
|
23
141
|
TankTrend: typeof TankTrend;
|
|
24
|
-
|
|
142
|
+
TankType: typeof TankType;
|
|
143
|
+
TankOrientation: typeof TankOrientation;
|
|
144
|
+
TankPositioning: typeof TankPositioning;
|
|
145
|
+
TankChartMode: typeof TankChartMode;
|
|
146
|
+
TankReadoutItem: typeof TankReadoutItem;
|
|
147
|
+
ChartLineDataItem: typeof ChartLineDataItem;
|
|
148
|
+
Priority: typeof Priority;
|
|
149
|
+
LinearAdvice: typeof LinearAdvice;
|
|
150
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
151
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
152
|
+
AlertType: typeof AlertType;
|
|
153
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
154
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
155
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
156
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
25
157
|
}, "">;
|
|
26
158
|
type ObcAutomationTank = ReturnType<typeof ObcAutomationTank>;
|
|
27
159
|
export default ObcAutomationTank;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
|
-
data?:
|
|
14
|
+
data?: DonutChartDataItem[];
|
|
13
15
|
colors?: string[];
|
|
14
16
|
priority?: Priority;
|
|
15
17
|
half?: boolean;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
2
|
+
import type { DonutChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
2
3
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
|
-
data?:
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
}[];
|
|
8
|
+
data?: DonutChartDataItem[];
|
|
11
9
|
colors?: string[];
|
|
12
10
|
priority?: Priority;
|
|
13
11
|
half?: boolean;
|
|
@@ -31,6 +29,7 @@ export interface Slots {
|
|
|
31
29
|
}
|
|
32
30
|
type $$ComponentProps = Props & Events & Slots;
|
|
33
31
|
declare const ObcDonutChart: import("svelte").Component<$$ComponentProps, {
|
|
32
|
+
DonutChartDataItem: typeof DonutChartDataItem;
|
|
34
33
|
Priority: typeof Priority;
|
|
35
34
|
}, "">;
|
|
36
35
|
type ObcDonutChart = ReturnType<typeof ObcDonutChart>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
|
-
data?:
|
|
14
|
+
data?: PieChartDataItem[];
|
|
13
15
|
colors?: string[];
|
|
14
16
|
priority?: Priority;
|
|
15
17
|
showOuterLabels?: boolean;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
2
|
+
import type { PieChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
2
3
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
|
-
data?:
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
children?: {
|
|
11
|
-
label: string;
|
|
12
|
-
value: number;
|
|
13
|
-
}[] | undefined;
|
|
14
|
-
}[];
|
|
8
|
+
data?: PieChartDataItem[];
|
|
15
9
|
colors?: string[];
|
|
16
10
|
priority?: Priority;
|
|
17
11
|
showOuterLabels?: boolean;
|
|
@@ -31,6 +25,7 @@ export interface Slots {
|
|
|
31
25
|
}
|
|
32
26
|
type $$ComponentProps = Props & Events & Slots;
|
|
33
27
|
declare const ObcPieChart: import("svelte").Component<$$ComponentProps, {
|
|
28
|
+
PieChartDataItem: typeof PieChartDataItem;
|
|
34
29
|
Priority: typeof Priority;
|
|
35
30
|
}, "">;
|
|
36
31
|
type ObcPieChart = ReturnType<typeof ObcPieChart>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
|
-
data?:
|
|
14
|
+
data?: PolarChartDataItem[];
|
|
13
15
|
colors?: string[];
|
|
14
16
|
priority?: Priority;
|
|
15
17
|
monochrome?: boolean;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
2
|
+
import type { PolarChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
2
3
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
|
-
data?:
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
}[];
|
|
8
|
+
data?: PolarChartDataItem[];
|
|
11
9
|
colors?: string[];
|
|
12
10
|
priority?: Priority;
|
|
13
11
|
monochrome?: boolean;
|
|
@@ -29,6 +27,7 @@ export interface Slots {
|
|
|
29
27
|
}
|
|
30
28
|
type $$ComponentProps = Props & Events & Slots;
|
|
31
29
|
declare const ObcPolarChart: import("svelte").Component<$$ComponentProps, {
|
|
30
|
+
PolarChartDataItem: typeof PolarChartDataItem;
|
|
32
31
|
Priority: typeof Priority;
|
|
33
32
|
}, "">;
|
|
34
33
|
type ObcPolarChart = ReturnType<typeof ObcPolarChart>;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
4
4
|
export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {
|
|
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 } from "../../util.js";
|
|
8
8
|
import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
9
9
|
import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {
|
|
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 {
|
|
@@ -92,7 +92,7 @@ state?: InstrumentState;
|
|
|
92
92
|
advicePosition?: AdvicePosition;
|
|
93
93
|
/** Advice/alert overlays with state and positioning.
|
|
94
94
|
When undefined or empty, no advice shown. */
|
|
95
|
-
advices?:
|
|
95
|
+
advices?: LinearAdvice[] | undefined;
|
|
96
96
|
/** When true, displays a dot indicator at the current value position.
|
|
97
97
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
98
98
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
|
|
2
2
|
import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type {
|
|
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;
|
|
@@ -85,12 +85,7 @@ When instrumentMode=false, this is ignored and border radius is read from CSS va
|
|
|
85
85
|
advicePosition?: AdvicePosition;
|
|
86
86
|
/** Advice/alert overlays with state and positioning.
|
|
87
87
|
When undefined or empty, no advice shown. */
|
|
88
|
-
advices?:
|
|
89
|
-
min: number;
|
|
90
|
-
max: number;
|
|
91
|
-
type: AdviceType;
|
|
92
|
-
hinted: boolean;
|
|
93
|
-
}[] | undefined;
|
|
88
|
+
advices?: LinearAdvice[] | undefined;
|
|
94
89
|
/** When true, displays a dot indicator at the current value position.
|
|
95
90
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
96
91
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -112,7 +107,7 @@ declare const ObcBarHorizontal: import("svelte").Component<$$ComponentProps, {
|
|
|
112
107
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
113
108
|
Priority: typeof Priority;
|
|
114
109
|
InstrumentState: typeof InstrumentState;
|
|
115
|
-
|
|
110
|
+
LinearAdvice: typeof LinearAdvice;
|
|
116
111
|
}, "">;
|
|
117
112
|
type ObcBarHorizontal = ReturnType<typeof ObcBarHorizontal>;
|
|
118
113
|
export default ObcBarHorizontal;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
4
4
|
export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {
|
|
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 } from "../../util.js";
|
|
8
8
|
import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
9
9
|
import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {
|
|
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 {
|
|
@@ -92,7 +92,7 @@ state?: InstrumentState;
|
|
|
92
92
|
advicePosition?: AdvicePosition;
|
|
93
93
|
/** Advice/alert overlays with state and positioning.
|
|
94
94
|
When undefined or empty, no advice shown. */
|
|
95
|
-
advices?:
|
|
95
|
+
advices?: LinearAdvice[] | undefined;
|
|
96
96
|
/** When true, displays a dot indicator at the current value position.
|
|
97
97
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
98
98
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
2
2
|
import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type {
|
|
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;
|
|
@@ -85,12 +85,7 @@ When instrumentMode=false, this is ignored and border radius is read from CSS va
|
|
|
85
85
|
advicePosition?: AdvicePosition;
|
|
86
86
|
/** Advice/alert overlays with state and positioning.
|
|
87
87
|
When undefined or empty, no advice shown. */
|
|
88
|
-
advices?:
|
|
89
|
-
min: number;
|
|
90
|
-
max: number;
|
|
91
|
-
type: AdviceType;
|
|
92
|
-
hinted: boolean;
|
|
93
|
-
}[] | undefined;
|
|
88
|
+
advices?: LinearAdvice[] | undefined;
|
|
94
89
|
/** When true, displays a dot indicator at the current value position.
|
|
95
90
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
96
91
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -112,7 +107,7 @@ declare const ObcBarVertical: import("svelte").Component<$$ComponentProps, {
|
|
|
112
107
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
113
108
|
Priority: typeof Priority;
|
|
114
109
|
InstrumentState: typeof InstrumentState;
|
|
115
|
-
|
|
110
|
+
LinearAdvice: typeof LinearAdvice;
|
|
116
111
|
}, "">;
|
|
117
112
|
type ObcBarVertical = ReturnType<typeof ObcBarVertical>;
|
|
118
113
|
export default ObcBarVertical;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
3
|
+
export type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
|
+
export type {ChartDataset} from 'chart.js';
|
|
5
5
|
export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
8
|
+
import type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
9
|
+
import type {ChartDataset} from 'chart.js';
|
|
10
10
|
import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '
|
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
16
|
/** Simple single-series data (array of {label, value}). */
|
|
17
|
-
data?:
|
|
17
|
+
data?: ChartLineDataItem[];
|
|
18
18
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
|
|
19
19
|
datasets?: ChartDataset<"line", (number | { x: string | number | Date; y: number; })[]>[] | undefined;
|
|
20
20
|
/** Optional explicit labels for the x-axis (category mode). If omitted labels are derived from `data` */
|
|
@@ -44,7 +44,7 @@ xAxisType?: XAxisType;
|
|
|
44
44
|
/** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
|
|
45
45
|
yAxisPosition?: YAxisPosition;
|
|
46
46
|
/** Multiple y-axis definitions for complex multi-axis charts. */
|
|
47
|
-
yAxes?:
|
|
47
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
48
48
|
/** Show grid lines. */
|
|
49
49
|
showGrid?: boolean;
|
|
50
50
|
/** Show vertical grid lines (x-axis). Default: false. */
|
|
@@ -53,6 +53,22 @@ showGridX?: boolean;
|
|
|
53
53
|
showGridY?: boolean;
|
|
54
54
|
/** Show axis tick marks and labels. */
|
|
55
55
|
showTickMarks?: boolean;
|
|
56
|
+
/** Reserve canvas padding for axis tick labels on sides without an external scale.
|
|
57
|
+
|
|
58
|
+
When `true` (default), the chart leaves room for tick labels and renders them
|
|
59
|
+
(subject to `showTickMarks` and the 192px auto-compact threshold).
|
|
60
|
+
|
|
61
|
+
When `false`, the chart renders edge-to-edge on sides without a slotted external
|
|
62
|
+
scale AND axis tick labels are force-hidden so they cannot be clipped. This also
|
|
63
|
+
suppresses the automatic edge-to-edge switch that normally happens below the
|
|
64
|
+
192px threshold, eliminating the visible padding "jump" when crossing it.
|
|
65
|
+
|
|
66
|
+
Useful when embedding the chart inside another component that owns framing
|
|
67
|
+
and never wants to show axis labels (e.g. `obc-automation-tank`).
|
|
68
|
+
|
|
69
|
+
Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
|
|
70
|
+
because a `true`-default boolean cannot work as an HTML boolean attribute. */
|
|
71
|
+
hasLabelPadding?: boolean;
|
|
56
72
|
/** Show point markers on data points. Default: false. */
|
|
57
73
|
showPoints?: boolean;
|
|
58
74
|
/** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
|
+
import type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
3
|
import type { ChartDataset } from 'chart.js';
|
|
3
|
-
import type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
4
|
import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
9
|
/** Simple single-series data (array of {label, value}). */
|
|
10
|
-
data?:
|
|
11
|
-
label: string;
|
|
12
|
-
value: number;
|
|
13
|
-
}[];
|
|
10
|
+
data?: ChartLineDataItem[];
|
|
14
11
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
|
|
15
12
|
datasets?: ChartDataset<"line", (number | {
|
|
16
13
|
x: string | number | Date;
|
|
@@ -43,13 +40,7 @@ Default: 384 (matches Figma design baseline). */
|
|
|
43
40
|
/** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
|
|
44
41
|
yAxisPosition?: YAxisPosition;
|
|
45
42
|
/** Multiple y-axis definitions for complex multi-axis charts. */
|
|
46
|
-
yAxes?:
|
|
47
|
-
id?: string | undefined;
|
|
48
|
-
position?: "left" | "right" | undefined;
|
|
49
|
-
min?: number | undefined;
|
|
50
|
-
max?: number | undefined;
|
|
51
|
-
grid?: boolean | undefined;
|
|
52
|
-
}[] | undefined;
|
|
43
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
53
44
|
/** Show grid lines. */
|
|
54
45
|
showGrid?: boolean;
|
|
55
46
|
/** Show vertical grid lines (x-axis). Default: false. */
|
|
@@ -58,6 +49,22 @@ Default: 384 (matches Figma design baseline). */
|
|
|
58
49
|
showGridY?: boolean;
|
|
59
50
|
/** Show axis tick marks and labels. */
|
|
60
51
|
showTickMarks?: boolean;
|
|
52
|
+
/** Reserve canvas padding for axis tick labels on sides without an external scale.
|
|
53
|
+
|
|
54
|
+
When `true` (default), the chart leaves room for tick labels and renders them
|
|
55
|
+
(subject to `showTickMarks` and the 192px auto-compact threshold).
|
|
56
|
+
|
|
57
|
+
When `false`, the chart renders edge-to-edge on sides without a slotted external
|
|
58
|
+
scale AND axis tick labels are force-hidden so they cannot be clipped. This also
|
|
59
|
+
suppresses the automatic edge-to-edge switch that normally happens below the
|
|
60
|
+
192px threshold, eliminating the visible padding "jump" when crossing it.
|
|
61
|
+
|
|
62
|
+
Useful when embedding the chart inside another component that owns framing
|
|
63
|
+
and never wants to show axis labels (e.g. `obc-automation-tank`).
|
|
64
|
+
|
|
65
|
+
Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
|
|
66
|
+
because a `true`-default boolean cannot work as an HTML boolean attribute. */
|
|
67
|
+
hasLabelPadding?: boolean;
|
|
61
68
|
/** Show point markers on data points. Default: false. */
|
|
62
69
|
showPoints?: boolean;
|
|
63
70
|
/** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
|
|
@@ -101,11 +108,13 @@ export interface Slots {
|
|
|
101
108
|
}
|
|
102
109
|
type $$ComponentProps = Props & Events & Slots;
|
|
103
110
|
declare const ObcChartLineBase: import("svelte").Component<$$ComponentProps, {
|
|
104
|
-
|
|
111
|
+
ChartLineDataItem: typeof ChartLineDataItem;
|
|
105
112
|
XAxisType: typeof XAxisType;
|
|
106
113
|
YAxisPosition: typeof YAxisPosition;
|
|
114
|
+
ChartLineYAxisConfig: typeof ChartLineYAxisConfig;
|
|
107
115
|
LineMode: typeof LineMode;
|
|
108
116
|
TimeDisplay: typeof TimeDisplay;
|
|
117
|
+
ChartDataset: typeof ChartDataset;
|
|
109
118
|
InstrumentState: typeof InstrumentState;
|
|
110
119
|
Priority: typeof Priority;
|
|
111
120
|
FrameStyle: typeof FrameStyle;
|
|
@@ -38,6 +38,12 @@ tertiaryTickmarkInterval?: number | undefined;
|
|
|
38
38
|
advices?: GaugeRadialAdvice[];
|
|
39
39
|
clipTop?: number;
|
|
40
40
|
clipBottom?: number;
|
|
41
|
+
clipLeft?: number;
|
|
42
|
+
clipRight?: number;
|
|
43
|
+
/** Place the horizontal end labels (±90°, e.g. min/max) below the tick instead
|
|
44
|
+
of beside it — the "Max-min" placement from the radial label model
|
|
45
|
+
(External / Internal / Max-min). See PR #903 / design discussion. */
|
|
46
|
+
endLabelsMaxMin?: boolean;
|
|
41
47
|
zoomToFitArc?: boolean
|
|
42
48
|
}
|
|
43
49
|
export interface Events {
|
|
@@ -31,6 +31,12 @@ When undefined or <= 0, no tertiary tickmarks are shown. */
|
|
|
31
31
|
advices?: GaugeRadialAdvice[];
|
|
32
32
|
clipTop?: number;
|
|
33
33
|
clipBottom?: number;
|
|
34
|
+
clipLeft?: number;
|
|
35
|
+
clipRight?: number;
|
|
36
|
+
/** Place the horizontal end labels (±90°, e.g. min/max) below the tick instead
|
|
37
|
+
of beside it — the "Max-min" placement from the radial label model
|
|
38
|
+
(External / Internal / Max-min). See PR #903 / design discussion. */
|
|
39
|
+
endLabelsMaxMin?: boolean;
|
|
34
40
|
zoomToFitArc?: boolean;
|
|
35
41
|
}
|
|
36
42
|
export interface Events {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/building-blocks/single-axis-inclinometer/single-axis-inclinometer.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
zoomToFitArc?: boolean;
|
|
13
|
+
/** When `true`, the centre shows an `<obc-readout>` with the value instead of
|
|
14
|
+
the horizon line, rotating indicator and vessel. Default `false`. */
|
|
15
|
+
hasReadout?: boolean;
|
|
16
|
+
/** Colour palette for the scale fill / indicator and the readout value:
|
|
17
|
+
`regular` (default) or `enhanced`. */
|
|
18
|
+
priority?: Priority;
|
|
19
|
+
/** Half-extent of the watch arc in degrees. The arc spans `centre ± arcAngle`
|
|
20
|
+
and values are placed at their true position within it. Default `45`
|
|
21
|
+
reproduces the historical 90°-wide arc.
|
|
22
|
+
|
|
23
|
+
Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
|
|
24
|
+
narrower arc is enlarged (its radius grows) on its own layer, while the
|
|
25
|
+
vessel image and the rotating indicator line stay at their natural size and
|
|
26
|
+
position on a separate central layer. The two layers are intentionally
|
|
27
|
+
visually disconnected. */
|
|
28
|
+
arcAngle?: number
|
|
29
|
+
}
|
|
30
|
+
export interface Events {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
export interface Slots {
|
|
34
|
+
children?: Snippet
|
|
35
|
+
}
|
|
36
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
37
|
+
|
|
38
|
+
</script>
|
|
39
|
+
<undefined
|
|
40
|
+
use:setProperties={props}
|
|
41
|
+
class={className}
|
|
42
|
+
style={style}
|
|
43
|
+
>
|
|
44
|
+
|
|
45
|
+
{#if children}
|
|
46
|
+
{@render children()}
|
|
47
|
+
{/if}
|
|
48
|
+
</undefined>
|