@oicl/openbridge-webcomponents-svelte 2.0.0-next.8 → 2.0.0-next.81
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
|
@@ -4,7 +4,7 @@ import type { Snippet } from 'svelte';
|
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
|
-
value?:
|
|
7
|
+
value?: number;
|
|
8
8
|
unit?: string;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
textAlign?: ObcNumberInputFieldTextAlign;
|
|
@@ -36,9 +36,26 @@ This is useful to avoid React re-rendering to reset the value. */
|
|
|
36
36
|
helperPlacement?: ObcNumberInputFieldPlacement;
|
|
37
37
|
/** Internal property for squared corners, used when input is used in stepper-box */
|
|
38
38
|
squared?: boolean;
|
|
39
|
+
/** Optional display text override for controlled consumers (e.g. keyboard-numeric)
|
|
40
|
+
that manage formatted strings while the committed value may be NaN. */
|
|
41
|
+
displayOverride?: string;
|
|
42
|
+
decimalSeparator?: string | undefined;
|
|
43
|
+
groupSeparator?: string | undefined;
|
|
44
|
+
minFractionDigits?: number;
|
|
45
|
+
maxFractionDigits?: number | undefined;
|
|
46
|
+
/** Optional regex pattern. When set, any keystroke or paste whose resulting
|
|
47
|
+
value does not match this pattern is blocked at the `beforeinput` stage.
|
|
48
|
+
When unset, a permissive numeric filter (digits, sign, active separators,
|
|
49
|
+
whitespace) is applied instead. */
|
|
50
|
+
validationPattern?: string;
|
|
39
51
|
}
|
|
40
52
|
export interface Events {
|
|
41
|
-
onInput?: (event: CustomEvent<
|
|
53
|
+
onInput?: (event: CustomEvent<{
|
|
54
|
+
value: number;
|
|
55
|
+
}>) => void;
|
|
56
|
+
onChange?: (event: CustomEvent<{
|
|
57
|
+
value: number;
|
|
58
|
+
}>) => void;
|
|
42
59
|
}
|
|
43
60
|
export interface Slots {
|
|
44
61
|
leadingIcon?: Snippet;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, PaginationVariant} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
3
|
+
export type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent, PaginationVariant} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, PaginationVariant} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
6
|
+
import type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent, PaginationVariant} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -39,12 +39,13 @@ fullWidth?: boolean;
|
|
|
39
39
|
}
|
|
40
40
|
export interface Events {
|
|
41
41
|
onValue?: (event: ObcPaginationValueChangeEvent) => void;
|
|
42
|
-
onNavigate?: (event: ObcPaginationNavigateEvent) => void
|
|
42
|
+
onNavigate?: (event: ObcPaginationNavigateEvent) => void;
|
|
43
|
+
onSelectPage?: (event: ObcPaginationSelectPageEvent) => void
|
|
43
44
|
}
|
|
44
45
|
export interface Slots {
|
|
45
46
|
children?: Snippet
|
|
46
47
|
}
|
|
47
|
-
const {onValue, onNavigate, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
48
|
+
const {onValue, onNavigate, onSelectPage, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
48
49
|
|
|
49
50
|
</script>
|
|
50
51
|
<obc-pagination
|
|
@@ -52,7 +53,8 @@ fullWidth?: boolean;
|
|
|
52
53
|
class={className}
|
|
53
54
|
style={style}
|
|
54
55
|
onvalue={onValue}
|
|
55
|
-
onnavigate={onNavigate}
|
|
56
|
+
onnavigate={onNavigate}
|
|
57
|
+
onselect-page={onSelectPage} >
|
|
56
58
|
|
|
57
59
|
{#if children}
|
|
58
60
|
{@render children()}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
2
|
-
import type { ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, PaginationVariant } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
2
|
+
import type { ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent, PaginationVariant } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -35,6 +35,7 @@ Default: `false` */
|
|
|
35
35
|
export interface Events {
|
|
36
36
|
onValue?: (event: ObcPaginationValueChangeEvent) => void;
|
|
37
37
|
onNavigate?: (event: ObcPaginationNavigateEvent) => void;
|
|
38
|
+
onSelectPage?: (event: ObcPaginationSelectPageEvent) => void;
|
|
38
39
|
}
|
|
39
40
|
export interface Slots {
|
|
40
41
|
children?: Snippet;
|
|
@@ -43,6 +44,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
43
44
|
declare const ObcPagination: import("svelte").Component<$$ComponentProps, {
|
|
44
45
|
ObcPaginationValueChangeEvent: typeof ObcPaginationValueChangeEvent;
|
|
45
46
|
ObcPaginationNavigateEvent: typeof ObcPaginationNavigateEvent;
|
|
47
|
+
ObcPaginationSelectPageEvent: typeof ObcPaginationSelectPageEvent;
|
|
46
48
|
PaginationVariant: typeof PaginationVariant;
|
|
47
49
|
}, "">;
|
|
48
50
|
type ObcPagination = ReturnType<typeof ObcPagination>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {ObcSliderValueEvent, ObcSliderVariant} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
3
|
+
export type {ObcSliderValueEvent, ObcSliderChangeEvent, ObcSliderVariant} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {ObcSliderValueEvent, ObcSliderVariant} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
6
|
+
import type {ObcSliderValueEvent, ObcSliderChangeEvent, ObcSliderVariant} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -50,7 +50,7 @@ hasRightIcon?: boolean;
|
|
|
50
50
|
|
|
51
51
|
Default is false. */
|
|
52
52
|
allowSeeking?: boolean;
|
|
53
|
-
/** The speed of
|
|
53
|
+
/** The speed of the smooth animation that moves the value to the clicked position (used when `allowSeeking` is false).
|
|
54
54
|
|
|
55
55
|
Expressed as the inverse of seconds to go from min to max (e.g., 1/3 means 3 seconds for full range).
|
|
56
56
|
Default is 1/3. */
|
|
@@ -58,20 +58,22 @@ seekingSpeed?: number;
|
|
|
58
58
|
disabled?: boolean
|
|
59
59
|
}
|
|
60
60
|
export interface Events {
|
|
61
|
-
onValue?: (event: ObcSliderValueEvent) => void
|
|
61
|
+
onValue?: (event: ObcSliderValueEvent) => void;
|
|
62
|
+
onChange?: (event: ObcSliderChangeEvent) => void
|
|
62
63
|
}
|
|
63
64
|
export interface Slots {
|
|
64
65
|
iconLeft?: Snippet;
|
|
65
66
|
iconRight?: Snippet
|
|
66
67
|
}
|
|
67
|
-
const {onValue, class: className, style, iconLeft, iconRight, ...props} = $props<Props & Events & Slots>();
|
|
68
|
+
const {onValue, onChange, class: className, style, iconLeft, iconRight, ...props} = $props<Props & Events & Slots>();
|
|
68
69
|
|
|
69
70
|
</script>
|
|
70
71
|
<obc-slider
|
|
71
72
|
use:setProperties={props}
|
|
72
73
|
class={className}
|
|
73
74
|
style={style}
|
|
74
|
-
onvalue={onValue}
|
|
75
|
+
onvalue={onValue}
|
|
76
|
+
onchange={onChange} >
|
|
75
77
|
|
|
76
78
|
{#if iconLeft}
|
|
77
79
|
<div slot="icon-left">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
2
|
-
import type { ObcSliderValueEvent, ObcSliderVariant } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
2
|
+
import type { ObcSliderValueEvent, ObcSliderChangeEvent, ObcSliderVariant } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -45,7 +45,7 @@ When true, the `icon-right` slot is rendered as a button. */
|
|
|
45
45
|
|
|
46
46
|
Default is false. */
|
|
47
47
|
allowSeeking?: boolean;
|
|
48
|
-
/** The speed of
|
|
48
|
+
/** The speed of the smooth animation that moves the value to the clicked position (used when `allowSeeking` is false).
|
|
49
49
|
|
|
50
50
|
Expressed as the inverse of seconds to go from min to max (e.g., 1/3 means 3 seconds for full range).
|
|
51
51
|
Default is 1/3. */
|
|
@@ -54,6 +54,7 @@ Default is 1/3. */
|
|
|
54
54
|
}
|
|
55
55
|
export interface Events {
|
|
56
56
|
onValue?: (event: ObcSliderValueEvent) => void;
|
|
57
|
+
onChange?: (event: ObcSliderChangeEvent) => void;
|
|
57
58
|
}
|
|
58
59
|
export interface Slots {
|
|
59
60
|
iconLeft?: Snippet;
|
|
@@ -62,6 +63,7 @@ export interface Slots {
|
|
|
62
63
|
type $$ComponentProps = Props & Events & Slots;
|
|
63
64
|
declare const ObcSlider: import("svelte").Component<$$ComponentProps, {
|
|
64
65
|
ObcSliderValueEvent: typeof ObcSliderValueEvent;
|
|
66
|
+
ObcSliderChangeEvent: typeof ObcSliderChangeEvent;
|
|
65
67
|
ObcSliderVariant: typeof ObcSliderVariant;
|
|
66
68
|
}, "">;
|
|
67
69
|
type ObcSlider = ReturnType<typeof ObcSlider>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {ObcSliderDoubleValueEvent, ObcSliderDoubleVariant} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
3
|
+
export type {ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent, ObcSliderDoubleVariant} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {ObcSliderDoubleValueEvent, ObcSliderDoubleVariant} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
6
|
+
import type {ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent, ObcSliderDoubleVariant} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -46,23 +46,44 @@ labelUnit?: string;
|
|
|
46
46
|
/** Number of decimal places to display in value labels. */
|
|
47
47
|
labelDecimals?: number;
|
|
48
48
|
/** CSS width for value labels (e.g., "5ch", "60px"). */
|
|
49
|
-
labelWidth?: string
|
|
49
|
+
labelWidth?: string;
|
|
50
|
+
/** Whether to show the left (low) readout label.
|
|
51
|
+
|
|
52
|
+
When false, the left readout is hidden entirely. When true, the readout
|
|
53
|
+
renders the formatted `low` value or the content slotted into `left-readout`.
|
|
54
|
+
|
|
55
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
56
|
+
showLeftReadout?: boolean;
|
|
57
|
+
/** Whether to show the right (high) readout label.
|
|
58
|
+
|
|
59
|
+
When false, the right readout is hidden entirely. When true, the readout
|
|
60
|
+
renders the formatted `high` value or the content slotted into `right-readout`.
|
|
61
|
+
|
|
62
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
63
|
+
showRightReadout?: boolean;
|
|
64
|
+
/** Removes spacing between the slider and its container edges for seamless
|
|
65
|
+
layout integration. Reflected to the `hugcontainer` HTML attribute. */
|
|
66
|
+
hugContainer?: boolean
|
|
50
67
|
}
|
|
51
68
|
export interface Events {
|
|
52
|
-
onValue?: (event: ObcSliderDoubleValueEvent) => void
|
|
69
|
+
onValue?: (event: ObcSliderDoubleValueEvent) => void;
|
|
70
|
+
onChange?: (event: ObcSliderDoubleChangeEvent) => void
|
|
53
71
|
}
|
|
54
72
|
export interface Slots {
|
|
55
73
|
iconLeft?: Snippet;
|
|
56
|
-
iconRight?: Snippet
|
|
74
|
+
iconRight?: Snippet;
|
|
75
|
+
leftReadout?: Snippet;
|
|
76
|
+
rightReadout?: Snippet
|
|
57
77
|
}
|
|
58
|
-
const {onValue, class: className, style, iconLeft, iconRight, ...props} = $props<Props & Events & Slots>();
|
|
78
|
+
const {onValue, onChange, class: className, style, iconLeft, iconRight, leftReadout, rightReadout, ...props} = $props<Props & Events & Slots>();
|
|
59
79
|
|
|
60
80
|
</script>
|
|
61
81
|
<obc-slider-double
|
|
62
82
|
use:setProperties={props}
|
|
63
83
|
class={className}
|
|
64
84
|
style={style}
|
|
65
|
-
onvalue={onValue}
|
|
85
|
+
onvalue={onValue}
|
|
86
|
+
onchange={onChange} >
|
|
66
87
|
|
|
67
88
|
{#if iconLeft}
|
|
68
89
|
<div slot="icon-left">
|
|
@@ -75,4 +96,16 @@ labelWidth?: string
|
|
|
75
96
|
{@render iconRight()}
|
|
76
97
|
</div>
|
|
77
98
|
{/if}
|
|
99
|
+
|
|
100
|
+
{#if leftReadout}
|
|
101
|
+
<div slot="left-readout">
|
|
102
|
+
{@render leftReadout()}
|
|
103
|
+
</div>
|
|
104
|
+
{/if}
|
|
105
|
+
|
|
106
|
+
{#if rightReadout}
|
|
107
|
+
<div slot="right-readout">
|
|
108
|
+
{@render rightReadout()}
|
|
109
|
+
</div>
|
|
110
|
+
{/if}
|
|
78
111
|
</obc-slider-double>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
2
|
-
import type { ObcSliderDoubleValueEvent, ObcSliderDoubleVariant } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
2
|
+
import type { ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent, ObcSliderDoubleVariant } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -42,17 +42,38 @@ Default is 1/3 (i.e., 3 seconds for full range). */
|
|
|
42
42
|
labelDecimals?: number;
|
|
43
43
|
/** CSS width for value labels (e.g., "5ch", "60px"). */
|
|
44
44
|
labelWidth?: string;
|
|
45
|
+
/** Whether to show the left (low) readout label.
|
|
46
|
+
|
|
47
|
+
When false, the left readout is hidden entirely. When true, the readout
|
|
48
|
+
renders the formatted `low` value or the content slotted into `left-readout`.
|
|
49
|
+
|
|
50
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
51
|
+
showLeftReadout?: boolean;
|
|
52
|
+
/** Whether to show the right (high) readout label.
|
|
53
|
+
|
|
54
|
+
When false, the right readout is hidden entirely. When true, the readout
|
|
55
|
+
renders the formatted `high` value or the content slotted into `right-readout`.
|
|
56
|
+
|
|
57
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
58
|
+
showRightReadout?: boolean;
|
|
59
|
+
/** Removes spacing between the slider and its container edges for seamless
|
|
60
|
+
layout integration. Reflected to the `hugcontainer` HTML attribute. */
|
|
61
|
+
hugContainer?: boolean;
|
|
45
62
|
}
|
|
46
63
|
export interface Events {
|
|
47
64
|
onValue?: (event: ObcSliderDoubleValueEvent) => void;
|
|
65
|
+
onChange?: (event: ObcSliderDoubleChangeEvent) => void;
|
|
48
66
|
}
|
|
49
67
|
export interface Slots {
|
|
50
68
|
iconLeft?: Snippet;
|
|
51
69
|
iconRight?: Snippet;
|
|
70
|
+
leftReadout?: Snippet;
|
|
71
|
+
rightReadout?: Snippet;
|
|
52
72
|
}
|
|
53
73
|
type $$ComponentProps = Props & Events & Slots;
|
|
54
74
|
declare const ObcSliderDouble: import("svelte").Component<$$ComponentProps, {
|
|
55
75
|
ObcSliderDoubleValueEvent: typeof ObcSliderDoubleValueEvent;
|
|
76
|
+
ObcSliderDoubleChangeEvent: typeof ObcSliderDoubleChangeEvent;
|
|
56
77
|
ObcSliderDoubleVariant: typeof ObcSliderDoubleVariant;
|
|
57
78
|
}, "">;
|
|
58
79
|
type ObcSliderDouble = ReturnType<typeof ObcSliderDouble>;
|
|
@@ -16,21 +16,38 @@
|
|
|
16
16
|
|
|
17
17
|
Changing this property updates the icons and directionality of the stepper buttons. */
|
|
18
18
|
type?: ObcStepperBoxType;
|
|
19
|
-
/** If true, displays the `helper-text` slot content below the control for additional guidance or status. */
|
|
20
|
-
hasHelperText?: boolean;
|
|
21
19
|
/** If true, the stepper box is disabled and the buttons are not clickable. */
|
|
22
|
-
disabled?: boolean
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** The current numeric value displayed in the field.
|
|
22
|
+
Pass `null` to clear the value and show the `placeholder` instead. */
|
|
23
|
+
value?: number | null;
|
|
24
|
+
/** Optional lower bound; decrement button disables at this value. */
|
|
25
|
+
min?: number | undefined;
|
|
26
|
+
/** Optional upper bound; increment button disables at this value. */
|
|
27
|
+
max?: number | undefined;
|
|
28
|
+
/** Increment step size (default 1). */
|
|
29
|
+
stepUp?: number;
|
|
30
|
+
/** Decrement step size (default 1). */
|
|
31
|
+
stepDown?: number;
|
|
32
|
+
/** Unit text displayed inside the field. */
|
|
33
|
+
unit?: string;
|
|
34
|
+
/** Helper text displayed below the stepper. When set, the helper text is shown. */
|
|
35
|
+
helperText?: string;
|
|
36
|
+
/** Placeholder text shown when the input is empty. */
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
/** If true, the input is non-editable; programmatic value changes still apply. */
|
|
39
|
+
readonly?: boolean
|
|
23
40
|
}
|
|
24
41
|
export interface Events {
|
|
25
|
-
onDown?: (event: CustomEvent<
|
|
26
|
-
onUp?: (event: CustomEvent<
|
|
42
|
+
onDown?: (event: CustomEvent<{value: number}>) => void;
|
|
43
|
+
onUp?: (event: CustomEvent<{value: number}>) => void;
|
|
44
|
+
onInput?: (event: CustomEvent<{value: string}>) => void;
|
|
45
|
+
onChange?: (event: CustomEvent<{value: number | null}>) => void
|
|
27
46
|
}
|
|
28
47
|
export interface Slots {
|
|
29
|
-
children?: Snippet
|
|
30
|
-
unit?: Snippet;
|
|
31
|
-
helperText?: Snippet
|
|
48
|
+
children?: Snippet
|
|
32
49
|
}
|
|
33
|
-
const {onDown, onUp, class: className, style, children,
|
|
50
|
+
const {onDown, onUp, onInput, onChange, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
34
51
|
|
|
35
52
|
</script>
|
|
36
53
|
<obc-stepper-box
|
|
@@ -38,21 +55,11 @@ disabled?: boolean
|
|
|
38
55
|
class={className}
|
|
39
56
|
style={style}
|
|
40
57
|
ondown={onDown}
|
|
41
|
-
onup={onUp}
|
|
58
|
+
onup={onUp}
|
|
59
|
+
oninput={onInput}
|
|
60
|
+
onchange={onChange} >
|
|
42
61
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{#if unit}
|
|
48
|
-
<div slot="unit">
|
|
49
|
-
{@render unit()}
|
|
50
|
-
</div>
|
|
51
|
-
{/if}
|
|
52
|
-
|
|
53
|
-
{#if helperText}
|
|
54
|
-
<div slot="helper-text">
|
|
55
|
-
{@render helperText()}
|
|
56
|
-
</div>
|
|
57
|
-
{/if}
|
|
62
|
+
{#if children}
|
|
63
|
+
{@render children()}
|
|
64
|
+
{/if}
|
|
58
65
|
</obc-stepper-box>
|
|
@@ -11,19 +11,44 @@ export interface Props {
|
|
|
11
11
|
|
|
12
12
|
Changing this property updates the icons and directionality of the stepper buttons. */
|
|
13
13
|
type?: ObcStepperBoxType;
|
|
14
|
-
/** If true, displays the `helper-text` slot content below the control for additional guidance or status. */
|
|
15
|
-
hasHelperText?: boolean;
|
|
16
14
|
/** If true, the stepper box is disabled and the buttons are not clickable. */
|
|
17
15
|
disabled?: boolean;
|
|
16
|
+
/** The current numeric value displayed in the field.
|
|
17
|
+
Pass `null` to clear the value and show the `placeholder` instead. */
|
|
18
|
+
value?: number | null;
|
|
19
|
+
/** Optional lower bound; decrement button disables at this value. */
|
|
20
|
+
min?: number | undefined;
|
|
21
|
+
/** Optional upper bound; increment button disables at this value. */
|
|
22
|
+
max?: number | undefined;
|
|
23
|
+
/** Increment step size (default 1). */
|
|
24
|
+
stepUp?: number;
|
|
25
|
+
/** Decrement step size (default 1). */
|
|
26
|
+
stepDown?: number;
|
|
27
|
+
/** Unit text displayed inside the field. */
|
|
28
|
+
unit?: string;
|
|
29
|
+
/** Helper text displayed below the stepper. When set, the helper text is shown. */
|
|
30
|
+
helperText?: string;
|
|
31
|
+
/** Placeholder text shown when the input is empty. */
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
/** If true, the input is non-editable; programmatic value changes still apply. */
|
|
34
|
+
readonly?: boolean;
|
|
18
35
|
}
|
|
19
36
|
export interface Events {
|
|
20
|
-
onDown?: (event: CustomEvent<
|
|
21
|
-
|
|
37
|
+
onDown?: (event: CustomEvent<{
|
|
38
|
+
value: number;
|
|
39
|
+
}>) => void;
|
|
40
|
+
onUp?: (event: CustomEvent<{
|
|
41
|
+
value: number;
|
|
42
|
+
}>) => void;
|
|
43
|
+
onInput?: (event: CustomEvent<{
|
|
44
|
+
value: string;
|
|
45
|
+
}>) => void;
|
|
46
|
+
onChange?: (event: CustomEvent<{
|
|
47
|
+
value: number | null;
|
|
48
|
+
}>) => void;
|
|
22
49
|
}
|
|
23
50
|
export interface Slots {
|
|
24
51
|
children?: Snippet;
|
|
25
|
-
unit?: Snippet;
|
|
26
|
-
helperText?: Snippet;
|
|
27
52
|
}
|
|
28
53
|
type $$ComponentProps = Props & Events & Slots;
|
|
29
54
|
declare const ObcStepperBox: import("svelte").Component<$$ComponentProps, {
|
|
@@ -59,6 +59,14 @@ Can be overridden by slotting content into the `title` slot.
|
|
|
59
59
|
|
|
60
60
|
Default: 'Tab title' */
|
|
61
61
|
title?: string;
|
|
62
|
+
/** Shows contextual text below the tab title.
|
|
63
|
+
|
|
64
|
+
Default: false */
|
|
65
|
+
showSubtitle?: boolean;
|
|
66
|
+
/** Contextual text shown below the tab title when `showSubtitle` is true.
|
|
67
|
+
|
|
68
|
+
Default: '' */
|
|
69
|
+
subtitle?: string;
|
|
62
70
|
/** Disables the tab, preventing user interaction and applying disabled styles.
|
|
63
71
|
|
|
64
72
|
Default: false */
|
|
@@ -93,10 +101,10 @@ showLeadingBadgeIcon?: boolean
|
|
|
93
101
|
}
|
|
94
102
|
export interface Slots {
|
|
95
103
|
leadingIcon?: Snippet;
|
|
96
|
-
|
|
104
|
+
titleSnippet?: Snippet;
|
|
97
105
|
badgeIcon?: Snippet
|
|
98
106
|
}
|
|
99
|
-
const {onTabClick, onTabClose, class: className, style, leadingIcon,
|
|
107
|
+
const {onTabClick, onTabClose, class: className, style, leadingIcon, titleSnippet, badgeIcon, ...props} = $props<Props & Events & Slots>();
|
|
100
108
|
|
|
101
109
|
</script>
|
|
102
110
|
<obc-tab-item
|
|
@@ -112,9 +120,9 @@ showLeadingBadgeIcon?: boolean
|
|
|
112
120
|
</div>
|
|
113
121
|
{/if}
|
|
114
122
|
|
|
115
|
-
{#if
|
|
123
|
+
{#if titleSnippet}
|
|
116
124
|
<div slot="title">
|
|
117
|
-
{@render
|
|
125
|
+
{@render titleSnippet()}
|
|
118
126
|
</div>
|
|
119
127
|
{/if}
|
|
120
128
|
|
|
@@ -53,6 +53,14 @@ Can be overridden by slotting content into the `title` slot.
|
|
|
53
53
|
|
|
54
54
|
Default: 'Tab title' */
|
|
55
55
|
title?: string;
|
|
56
|
+
/** Shows contextual text below the tab title.
|
|
57
|
+
|
|
58
|
+
Default: false */
|
|
59
|
+
showSubtitle?: boolean;
|
|
60
|
+
/** Contextual text shown below the tab title when `showSubtitle` is true.
|
|
61
|
+
|
|
62
|
+
Default: '' */
|
|
63
|
+
subtitle?: string;
|
|
56
64
|
/** Disables the tab, preventing user interaction and applying disabled styles.
|
|
57
65
|
|
|
58
66
|
Default: false */
|
|
@@ -91,7 +99,7 @@ export interface Events {
|
|
|
91
99
|
}
|
|
92
100
|
export interface Slots {
|
|
93
101
|
leadingIcon?: Snippet;
|
|
94
|
-
|
|
102
|
+
titleSnippet?: Snippet;
|
|
95
103
|
badgeIcon?: Snippet;
|
|
96
104
|
}
|
|
97
105
|
type $$ComponentProps = Props & Events & Slots;
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
/** The list of tabs to display. Each tab is defined by an object with properties such as `id`, `title`, `hasLeadingIcon`, `hasBadge`, `badgeCount`, `badgeType`, `badgeSize`, `badgeShowNumber`, `showLeadingBadgeIcon`, and `disabled`.
|
|
12
|
+
/** The list of tabs to display. Each tab is defined by an object with properties such as `id`, `title`, `subtitle`, `showSubtitle`, `hasLeadingIcon`, `hasBadge`, `badgeCount`, `badgeType`, `badgeSize`, `badgeShowNumber`, `showLeadingBadgeIcon`, and `disabled`.
|
|
13
13
|
|
|
14
14
|
- `id` (string): Unique identifier for the tab.
|
|
15
15
|
- `title` (string): Display label for the tab.
|
|
16
|
+
- `subtitle` (string): Contextual text shown below the title when subtitle display is enabled.
|
|
17
|
+
- `showSubtitle` (boolean): Optional per-tab override for displaying the subtitle.
|
|
16
18
|
- `hasLeadingIcon` (boolean): Whether to show a leading icon (default: true).
|
|
17
19
|
- `hasBadge` (boolean): Whether to show a badge on the tab.
|
|
18
20
|
- `badgeCount` (number): Number to display in the badge.
|
|
@@ -34,6 +36,10 @@ hasClose?: boolean;
|
|
|
34
36
|
|
|
35
37
|
Default: `false`. */
|
|
36
38
|
hug?: boolean;
|
|
39
|
+
/** Whether to display subtitle text for each tab. Individual tabs can override this with `tab.showSubtitle`.
|
|
40
|
+
|
|
41
|
+
Default: `false`. */
|
|
42
|
+
showSubtitle?: boolean;
|
|
37
43
|
/** Whether to display an "add new tab" button at the end of the tab row. When clicked, emits the `add-new-tab` event.
|
|
38
44
|
|
|
39
45
|
Default: `false`. */
|
|
@@ -59,16 +65,16 @@ hasAddNewTab?: boolean
|
|
|
59
65
|
ontab-closed={onTabClosed}
|
|
60
66
|
onadd-new-tab={onAddNewTab} >
|
|
61
67
|
|
|
62
|
-
{#if tabs && tabIcon}
|
|
63
|
-
{#each tabs as item}
|
|
68
|
+
{#if props.tabs && tabIcon}
|
|
69
|
+
{#each props.tabs as item}
|
|
64
70
|
<div slot="tab-{item.id}-icon">
|
|
65
71
|
{@render tabIcon(item)}
|
|
66
72
|
</div>
|
|
67
73
|
{/each}
|
|
68
74
|
{/if}
|
|
69
75
|
|
|
70
|
-
{#if tabs && tabBadgeIcon}
|
|
71
|
-
{#each tabs as item}
|
|
76
|
+
{#if props.tabs && tabBadgeIcon}
|
|
77
|
+
{#each props.tabs as item}
|
|
72
78
|
<div slot="tab-{item.id}-badge-icon">
|
|
73
79
|
{@render tabBadgeIcon(item)}
|
|
74
80
|
</div>
|
|
@@ -4,10 +4,12 @@ import type { Snippet } from 'svelte';
|
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
|
-
/** The list of tabs to display. Each tab is defined by an object with properties such as `id`, `title`, `hasLeadingIcon`, `hasBadge`, `badgeCount`, `badgeType`, `badgeSize`, `badgeShowNumber`, `showLeadingBadgeIcon`, and `disabled`.
|
|
7
|
+
/** The list of tabs to display. Each tab is defined by an object with properties such as `id`, `title`, `subtitle`, `showSubtitle`, `hasLeadingIcon`, `hasBadge`, `badgeCount`, `badgeType`, `badgeSize`, `badgeShowNumber`, `showLeadingBadgeIcon`, and `disabled`.
|
|
8
8
|
|
|
9
9
|
- `id` (string): Unique identifier for the tab.
|
|
10
10
|
- `title` (string): Display label for the tab.
|
|
11
|
+
- `subtitle` (string): Contextual text shown below the title when subtitle display is enabled.
|
|
12
|
+
- `showSubtitle` (boolean): Optional per-tab override for displaying the subtitle.
|
|
11
13
|
- `hasLeadingIcon` (boolean): Whether to show a leading icon (default: true).
|
|
12
14
|
- `hasBadge` (boolean): Whether to show a badge on the tab.
|
|
13
15
|
- `badgeCount` (number): Number to display in the badge.
|
|
@@ -29,6 +31,10 @@ Default: `false`. */
|
|
|
29
31
|
|
|
30
32
|
Default: `false`. */
|
|
31
33
|
hug?: boolean;
|
|
34
|
+
/** Whether to display subtitle text for each tab. Individual tabs can override this with `tab.showSubtitle`.
|
|
35
|
+
|
|
36
|
+
Default: `false`. */
|
|
37
|
+
showSubtitle?: boolean;
|
|
32
38
|
/** Whether to display an "add new tab" button at the end of the tab row. When clicked, emits the `add-new-tab` event.
|
|
33
39
|
|
|
34
40
|
Default: `false`. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {TagColor} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
3
|
+
export type {TagColor, TagSize} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {TagColor} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
6
|
+
import type {TagColor, TagSize} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
style?: string;
|
|
12
12
|
label?: string;
|
|
13
13
|
color?: TagColor;
|
|
14
|
+
size?: TagSize;
|
|
14
15
|
hasIcon?: boolean
|
|
15
16
|
}
|
|
16
17
|
export interface Events {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
2
|
-
import type { TagColor } from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
2
|
+
import type { TagColor, TagSize } from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
7
|
label?: string;
|
|
8
8
|
color?: TagColor;
|
|
9
|
+
size?: TagSize;
|
|
9
10
|
hasIcon?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export interface Events {
|
|
@@ -16,6 +17,7 @@ export interface Slots {
|
|
|
16
17
|
type $$ComponentProps = Props & Events & Slots;
|
|
17
18
|
declare const ObcTag: import("svelte").Component<$$ComponentProps, {
|
|
18
19
|
TagColor: typeof TagColor;
|
|
20
|
+
TagSize: typeof TagSize;
|
|
19
21
|
}, "">;
|
|
20
22
|
type ObcTag = ReturnType<typeof ObcTag>;
|
|
21
23
|
export default ObcTag;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {ObcTextboxAlignment, ObcTextboxSize, ObcTextboxFontWeight} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
import type {ObcTextboxAlignment, ObcTextboxSize, ObcTextboxFontWeight} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
alignment?: ObcTextboxAlignment;
|
|
13
|
+
size?: ObcTextboxSize;
|
|
14
|
+
fontWeight?: ObcTextboxFontWeight
|
|
15
|
+
}
|
|
16
|
+
export interface Events {
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
export interface Slots {
|
|
20
|
+
children?: Snippet;
|
|
21
|
+
length?: Snippet
|
|
22
|
+
}
|
|
23
|
+
const { class: className, style, children, length, ...props} = $props<Props & Events & Slots>();
|
|
24
|
+
|
|
25
|
+
</script>
|
|
26
|
+
<obc-textbox
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
|
|
36
|
+
{#if length}
|
|
37
|
+
<div slot="length">
|
|
38
|
+
{@render length()}
|
|
39
|
+
</div>
|
|
40
|
+
{/if}
|
|
41
|
+
</obc-textbox>
|