@oicl/openbridge-webcomponents-svelte 2.0.0-next.131 → 2.0.0-next.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -4
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +7 -1
- package/dist/ar/poi/ObcPoi.svelte +6 -0
- package/dist/ar/poi/ObcPoi.svelte.d.ts +6 -0
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte.d.ts +1 -0
- package/dist/ar/poi-button/ObcPoiButtonData.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButtonData.svelte.d.ts +1 -0
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte +1 -0
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte.d.ts +1 -0
- package/dist/ar/poi-card/ObcPoiCard.svelte +42 -16
- package/dist/ar/poi-card/ObcPoiCard.svelte.d.ts +32 -6
- package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte +31 -10
- package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte.d.ts +26 -5
- package/dist/ar/poi-object/ObcPoiObject.svelte +1 -0
- package/dist/ar/poi-object/ObcPoiObject.svelte.d.ts +1 -0
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +13 -0
- package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +13 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +12 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +12 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +13 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +13 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +12 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +12 -0
- package/dist/automation/automation-button/ObcAutomationButton.svelte +17 -4
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +13 -0
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +22 -45
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +10 -33
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +12 -0
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +12 -0
- package/dist/automation/bus/ObcBus.svelte +10 -10
- package/dist/automation/capacitor/ObcCapacitor.svelte +12 -0
- package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +12 -0
- package/dist/automation/converter/ObcConverter.svelte +12 -0
- package/dist/automation/converter/ObcConverter.svelte.d.ts +12 -0
- package/dist/automation/damper/ObcDamper.svelte +12 -0
- package/dist/automation/damper/ObcDamper.svelte.d.ts +12 -0
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +12 -0
- package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +12 -0
- package/dist/automation/diodes/ObcDiodes.svelte +12 -0
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +12 -0
- package/dist/automation/fan/ObcFan.svelte +13 -0
- package/dist/automation/fan/ObcFan.svelte.d.ts +13 -0
- package/dist/automation/filter/ObcFilter.svelte +12 -0
- package/dist/automation/filter/ObcFilter.svelte.d.ts +12 -0
- package/dist/automation/ground/ObcGround.svelte +12 -0
- package/dist/automation/ground/ObcGround.svelte.d.ts +12 -0
- package/dist/automation/indicator-battery/ObcIndicatorBattery.svelte +4 -4
- package/dist/automation/indicator-generator/ObcIndicatorGenerator.svelte +4 -4
- package/dist/automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte +4 -4
- package/dist/automation/logic/ObcLogic.svelte +12 -0
- package/dist/automation/logic/ObcLogic.svelte.d.ts +12 -0
- package/dist/automation/mosfet/ObcMosfet.svelte +12 -0
- package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +12 -0
- package/dist/automation/motor/ObcMotor.svelte +13 -0
- package/dist/automation/motor/ObcMotor.svelte.d.ts +13 -0
- package/dist/automation/pump/ObcPump.svelte +13 -0
- package/dist/automation/pump/ObcPump.svelte.d.ts +13 -0
- package/dist/automation/resistor/ObcResistor.svelte +12 -0
- package/dist/automation/resistor/ObcResistor.svelte.d.ts +12 -0
- package/dist/automation/router/ObcRouter.svelte +12 -0
- package/dist/automation/router/ObcRouter.svelte.d.ts +12 -0
- package/dist/automation/source/ObcSource.svelte +12 -0
- package/dist/automation/source/ObcSource.svelte.d.ts +12 -0
- package/dist/automation/switch/ObcSwitch.svelte +12 -0
- package/dist/automation/switch/ObcSwitch.svelte.d.ts +12 -0
- package/dist/automation/transformer/ObcTransformer.svelte +12 -0
- package/dist/automation/transformer/ObcTransformer.svelte.d.ts +12 -0
- package/dist/automation/transmitter/ObcTransmitter.svelte +14 -14
- package/dist/automation/transmitter-button/ObcTransmitterButton.svelte +8 -8
- package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte +1 -0
- package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte.d.ts +1 -0
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +82 -82
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +26 -26
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +34 -30
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +5 -1
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +80 -79
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +25 -24
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +26 -22
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +6 -2
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +34 -26
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +10 -2
- package/dist/bars-graphs/radial-bar-chart/ObcRadialBarChart.svelte +16 -16
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +134 -83
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +89 -38
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +98 -83
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +48 -33
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +80 -79
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +25 -24
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +16 -19
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +11 -14
- package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte +54 -53
- package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte.d.ts +21 -20
- package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte +2 -6
- package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte.d.ts +0 -4
- package/dist/components/accordion-card/ObcAccordionCard.svelte +44 -27
- package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +25 -8
- package/dist/components/accordion-item/ObcAccordionItem.svelte +8 -10
- package/dist/components/accordion-item/ObcAccordionItem.svelte.d.ts +2 -4
- package/dist/components/advice-button/ObcAdviceButton.svelte +12 -12
- package/dist/components/advice-button/ObcAdviceButton.svelte.d.ts +8 -8
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +8 -13
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +4 -9
- package/dist/components/advice-menu-item/ObcAdviceMenuItem.svelte +4 -4
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +66 -33
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +55 -22
- package/dist/components/alert-button/ObcAlertButton.svelte +6 -2
- package/dist/components/alert-button/ObcAlertButton.svelte.d.ts +5 -1
- package/dist/components/alert-frame/ObcAlertFrame.svelte +12 -14
- package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +2 -4
- package/dist/components/alert-icon/ObcAlertIcon.svelte +2 -0
- package/dist/components/alert-icon/ObcAlertIcon.svelte.d.ts +2 -0
- package/dist/components/alert-list-details/ObcAlertListDetails.svelte +1 -0
- package/dist/components/alert-list-details/ObcAlertListDetails.svelte.d.ts +1 -0
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +22 -35
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +6 -19
- package/dist/components/app-button/ObcAppButton.svelte +6 -6
- package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte +36 -24
- package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte.d.ts +15 -3
- package/dist/components/audio-output/ObcAudioOutput.svelte +4 -6
- package/dist/components/audio-output/ObcAudioOutput.svelte.d.ts +2 -4
- package/dist/components/audio-recording-item/ObcAudioRecordingItem.svelte +12 -14
- package/dist/components/audio-recording-item/ObcAudioRecordingItem.svelte.d.ts +2 -4
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +26 -28
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte.d.ts +2 -4
- package/dist/components/button/ObcButton.svelte +12 -16
- package/dist/components/button/ObcButton.svelte.d.ts +4 -8
- package/dist/components/calendar/ObcCalendar.svelte +2 -0
- package/dist/components/calendar/ObcCalendar.svelte.d.ts +2 -0
- package/dist/components/chat-message/ObcChatMessage.svelte +3 -0
- package/dist/components/chat-message/ObcChatMessage.svelte.d.ts +3 -0
- package/dist/components/check-button/ObcCheckButton.svelte +28 -17
- package/dist/components/check-button/ObcCheckButton.svelte.d.ts +21 -10
- package/dist/components/checkbox/ObcCheckbox.svelte +2 -2
- package/dist/components/checkbox-item/ObcCheckboxItem.svelte +2 -0
- package/dist/components/checkbox-item/ObcCheckboxItem.svelte.d.ts +2 -0
- package/dist/components/clock/ObcClock.svelte +15 -18
- package/dist/components/clock/ObcClock.svelte.d.ts +8 -11
- package/dist/components/command-menu/ObcCommandMenu.svelte +4 -6
- package/dist/components/command-menu/ObcCommandMenu.svelte.d.ts +2 -4
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +6 -2
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +5 -1
- package/dist/components/date-item/ObcDateItem.svelte +10 -15
- package/dist/components/date-item/ObcDateItem.svelte.d.ts +4 -9
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +12 -13
- package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +2 -3
- package/dist/components/elevated-card/ObcElevatedCard.svelte +30 -34
- package/dist/components/elevated-card/ObcElevatedCard.svelte.d.ts +18 -22
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +20 -24
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +4 -8
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +8 -8
- package/dist/components/event-item/ObcEventItem.svelte +3 -0
- package/dist/components/event-item/ObcEventItem.svelte.d.ts +3 -0
- package/dist/components/event-list/ObcEventList.svelte +6 -8
- package/dist/components/event-list/ObcEventList.svelte.d.ts +2 -4
- package/dist/components/filter-chip/ObcFilterChip.svelte +8 -8
- package/dist/components/floating-item/ObcFloatingItem.svelte +16 -14
- package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +12 -10
- package/dist/components/form-footer-container/ObcFormFooterContainer.svelte +2 -2
- package/dist/components/form-item/ObcFormItem.svelte +3 -0
- package/dist/components/form-item/ObcFormItem.svelte.d.ts +3 -0
- package/dist/components/icon-button/ObcIconButton.svelte +18 -24
- package/dist/components/icon-button/ObcIconButton.svelte.d.ts +5 -11
- package/dist/components/input-chip/ObcInputChip.svelte +6 -9
- package/dist/components/input-chip/ObcInputChip.svelte.d.ts +3 -6
- package/dist/components/keyboard-full/ObcKeyboardFull.svelte +3 -3
- package/dist/components/keyboard-full/ObcKeyboardFull.svelte.d.ts +2 -2
- package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte +28 -20
- package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte.d.ts +10 -2
- package/dist/components/menu-button/ObcMenuButton.svelte +24 -36
- package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +11 -23
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +2 -0
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -0
- package/dist/components/modal-window/ObcModalWindow.svelte +10 -10
- package/dist/components/navigation-item/ObcNavigationItem.svelte +29 -29
- package/dist/components/navigation-item/ObcNavigationItem.svelte.d.ts +16 -16
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +18 -23
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte.d.ts +4 -9
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte +8 -5
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +5 -2
- package/dist/components/notification-badge-button/ObcNotificationBadgeButton.svelte +14 -20
- package/dist/components/notification-badge-button/ObcNotificationBadgeButton.svelte.d.ts +6 -12
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +8 -13
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +4 -9
- package/dist/components/notification-menu-item/ObcNotificationMenuItem.svelte +4 -4
- package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +70 -36
- package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte.d.ts +57 -23
- package/dist/components/number-input-field/ObcNumberInputField.svelte +23 -23
- package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +8 -8
- package/dist/components/pivot-item-group/ObcPivotItemGroup.svelte +8 -7
- package/dist/components/pivot-item-group/ObcPivotItemGroup.svelte.d.ts +6 -5
- package/dist/components/progress-bar/ObcProgressBar.svelte +58 -24
- package/dist/components/progress-bar/ObcProgressBar.svelte.d.ts +45 -11
- package/dist/components/progress-button/ObcProgressButton.svelte +48 -24
- package/dist/components/progress-button/ObcProgressButton.svelte.d.ts +30 -6
- package/dist/components/progress-indicator-dots/ObcProgressIndicatorDots.svelte +6 -11
- package/dist/components/progress-indicator-dots/ObcProgressIndicatorDots.svelte.d.ts +3 -8
- package/dist/components/radio/ObcRadio.svelte +14 -19
- package/dist/components/radio/ObcRadio.svelte.d.ts +5 -10
- package/dist/components/rich-button/ObcRichButton.svelte +10 -10
- package/dist/components/sequence-card/ObcSequenceCard.svelte +8 -0
- package/dist/components/sequence-card/ObcSequenceCard.svelte.d.ts +8 -0
- package/dist/components/sequence-item/ObcSequenceItem.svelte +20 -10
- package/dist/components/sequence-item/ObcSequenceItem.svelte.d.ts +16 -6
- package/dist/components/sequence-step/ObcSequenceStep.svelte +12 -5
- package/dist/components/sequence-step/ObcSequenceStep.svelte.d.ts +10 -3
- package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte +1 -0
- package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte.d.ts +1 -0
- package/dist/components/slide-button/ObcSlideButton.svelte +8 -8
- package/dist/components/slider-double/ObcSliderDouble.svelte +24 -34
- package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +9 -19
- package/dist/components/split-button/ObcSplitButton.svelte +40 -42
- package/dist/components/split-button/ObcSplitButton.svelte.d.ts +25 -27
- package/dist/components/stepper-box/ObcStepperBox.svelte +20 -21
- package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +1 -2
- package/dist/components/system-button/ObcSystemButton.svelte +6 -7
- package/dist/components/system-button/ObcSystemButton.svelte.d.ts +1 -2
- package/dist/components/tab-item/ObcTabItem.svelte +5 -0
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +5 -0
- package/dist/components/tabbed-card/ObcTabbedCard.svelte +8 -9
- package/dist/components/tabbed-card/ObcTabbedCard.svelte.d.ts +1 -2
- package/dist/components/table/ObcTable.svelte +4 -0
- package/dist/components/table/ObcTable.svelte.d.ts +4 -0
- package/dist/components/table-header-item/ObcTableHeaderItem.svelte +1 -0
- package/dist/components/table-header-item/ObcTableHeaderItem.svelte.d.ts +1 -0
- package/dist/components/text-input-field/ObcTextInputField.svelte +17 -15
- package/dist/components/text-input-field/ObcTextInputField.svelte.d.ts +4 -2
- package/dist/components/textarea-field/ObcTextareaField.svelte +64 -51
- package/dist/components/textarea-field/ObcTextareaField.svelte.d.ts +27 -14
- package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte +26 -21
- package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte.d.ts +12 -7
- package/dist/components/toggle-button-three-state/ObcToggleButtonThreeState.svelte +4 -4
- package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +14 -18
- package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte.d.ts +4 -8
- package/dist/components/toggle-switch/ObcToggleSwitch.svelte +20 -21
- package/dist/components/toggle-switch/ObcToggleSwitch.svelte.d.ts +9 -10
- package/dist/components/toggletip/ObcToggletip.svelte +34 -26
- package/dist/components/toggletip/ObcToggletip.svelte.d.ts +23 -15
- package/dist/components/top-bar/ObcTopBar.svelte +1 -0
- package/dist/components/top-bar/ObcTopBar.svelte.d.ts +1 -0
- package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +30 -10
- package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte.d.ts +25 -5
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +16 -20
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte.d.ts +3 -7
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +20 -27
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte.d.ts +5 -12
- package/dist/components/user-button/ObcUserButton.svelte +14 -7
- package/dist/components/user-button/ObcUserButton.svelte.d.ts +11 -4
- package/dist/components/user-menu/ObcUserMenu.svelte +60 -22
- package/dist/components/user-menu/ObcUserMenu.svelte.d.ts +46 -8
- package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +40 -40
- package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +28 -24
- package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte.d.ts +5 -1
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +6 -6
- package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte +22 -16
- package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte.d.ts +18 -12
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +12 -0
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +12 -0
- package/dist/navigation-instruments/compass/ObcCompass.svelte +95 -62
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +60 -27
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +52 -26
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +38 -12
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +45 -19
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +39 -13
- package/dist/navigation-instruments/current/ObcCurrent.svelte +48 -23
- package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +35 -10
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +1 -0
- package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +1 -0
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +8 -10
- package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +2 -4
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +34 -36
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +1 -3
- package/dist/navigation-instruments/gauge-radial-proportional/ObcGaugeRadialProportional.svelte +20 -22
- package/dist/navigation-instruments/gauge-radial-proportional/ObcGaugeRadialProportional.svelte.d.ts +9 -11
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +120 -111
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +50 -41
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +34 -36
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +1 -3
- package/dist/navigation-instruments/graph-mini/ObcGraphMini.svelte +2 -2
- package/dist/navigation-instruments/heading/ObcHeading.svelte +27 -25
- package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +16 -14
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +2 -2
- package/dist/navigation-instruments/heave/ObcHeave.svelte +5 -3
- package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +4 -2
- package/dist/navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte +2 -2
- package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte +36 -36
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -15
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +3 -6
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +32 -21
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +25 -14
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +33 -16
- package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +25 -8
- package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte +25 -18
- package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte.d.ts +14 -7
- package/dist/navigation-instruments/position-deviation/ObcPositionDeviation.svelte +14 -14
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +38 -28
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +29 -19
- package/dist/navigation-instruments/readout/ObcReadout.svelte +45 -39
- package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +34 -28
- package/dist/navigation-instruments/readout-list/ObcReadoutList.svelte +2 -4
- package/dist/navigation-instruments/readout-list/ObcReadoutList.svelte.d.ts +1 -3
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +26 -28
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +19 -21
- package/dist/navigation-instruments/roll/ObcRoll.svelte +12 -15
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +3 -6
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +2 -4
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +1 -3
- package/dist/navigation-instruments/rot-linear/ObcRotLinear.svelte +28 -18
- package/dist/navigation-instruments/rot-linear/ObcRotLinear.svelte.d.ts +17 -7
- package/dist/navigation-instruments/rudder/ObcRudder.svelte +4 -8
- package/dist/navigation-instruments/rudder/ObcRudder.svelte.d.ts +1 -5
- package/dist/navigation-instruments/speed-arrows/ObcSpeedArrows.svelte +3 -0
- package/dist/navigation-instruments/speed-arrows/ObcSpeedArrows.svelte.d.ts +3 -0
- package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte +44 -21
- package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte.d.ts +31 -8
- package/dist/navigation-instruments/thruster/ObcThruster.svelte +2 -0
- package/dist/navigation-instruments/thruster/ObcThruster.svelte.d.ts +2 -0
- package/dist/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.svelte +48 -25
- package/dist/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.svelte.d.ts +40 -17
- package/dist/navigation-instruments/watch/ObcWatch.svelte +78 -81
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +30 -33
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +28 -13
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +21 -6
- package/dist/navigation-instruments/wind/ObcWind.svelte +4 -4
- package/package.json +2 -2
|
@@ -13,24 +13,32 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
-
|
|
17
|
-
cardTitle?: string;
|
|
18
|
-
|
|
19
|
-
description
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
16
|
+
/** Main title text displayed in the accordion header. */
|
|
17
|
+
cardTitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Supporting description text shown under the title (only in large size and if `hasDescription` is true).
|
|
20
|
+
*
|
|
21
|
+
* Available when `size==large && hasDescription==true`.
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional status label displayed in the header (shown if `hasStatusLabel` is true).
|
|
26
|
+
*
|
|
27
|
+
* Available when `hasStatusLabel==true`.
|
|
28
|
+
*/
|
|
29
|
+
statusLabel?: string;
|
|
30
|
+
/** Whether the accordion card is expanded (shows additional content). */
|
|
31
|
+
expanded?: boolean;
|
|
32
|
+
/** Disables the accordion card, preventing user interaction and dimming its appearance. */
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/** Shows an alert overlay above the card when true. Configure appearance with `alertFrameType`, `alertFrameThickness`, and `alertFrameStatus`. */
|
|
35
|
+
hasAlert?: boolean;
|
|
36
|
+
/** Enables the description text in the header (only in large size). */
|
|
37
|
+
hasDescription?: boolean;
|
|
38
|
+
/** Enables the status label in the header. */
|
|
39
|
+
hasStatusLabel?: boolean;
|
|
40
|
+
/** Enables the leading icon slot in the header. */
|
|
41
|
+
hasLeadingIcon?: boolean;
|
|
34
42
|
/** Controls border radius/edge styling for stacking multiple accordions.
|
|
35
43
|
- `regular` (default): Standard border radius.
|
|
36
44
|
- `top`: Flat bottom edge (for top of a stack).
|
|
@@ -41,15 +49,24 @@ position?: Position;
|
|
|
41
49
|
- `single-line` (default): Compact header with only title.
|
|
42
50
|
- `large`: Header includes a description beneath the title. */
|
|
43
51
|
size?: AccordionSize;
|
|
44
|
-
|
|
45
|
-
See `obc-alert-frame` for available types.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
See `obc-alert-frame` for available
|
|
52
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Type of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available types.
|
|
54
|
+
*
|
|
55
|
+
* Available when `hasAlert==true`.
|
|
56
|
+
*/
|
|
57
|
+
alertFrameType?: ObcAlertFrameType;
|
|
58
|
+
/**
|
|
59
|
+
* Thickness of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available thickness values.
|
|
60
|
+
*
|
|
61
|
+
* Available when `hasAlert==true`.
|
|
62
|
+
*/
|
|
63
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
64
|
+
/**
|
|
65
|
+
* Status of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available statuses.
|
|
66
|
+
*
|
|
67
|
+
* Available when `hasAlert==true`.
|
|
68
|
+
*/
|
|
69
|
+
alertFrameStatus?: AlertType
|
|
53
70
|
}
|
|
54
71
|
export interface Events {
|
|
55
72
|
onAccordionToggle?: (event: CustomEvent<{expanded: boolean, cardTitle: string}>) => void
|
|
@@ -8,9 +8,17 @@ export interface Props {
|
|
|
8
8
|
style?: string;
|
|
9
9
|
/** Main title text displayed in the accordion header. */
|
|
10
10
|
cardTitle?: string;
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Supporting description text shown under the title (only in large size and if `hasDescription` is true).
|
|
13
|
+
*
|
|
14
|
+
* Available when `size==large && hasDescription==true`.
|
|
15
|
+
*/
|
|
12
16
|
description?: string;
|
|
13
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Optional status label displayed in the header (shown if `hasStatusLabel` is true).
|
|
19
|
+
*
|
|
20
|
+
* Available when `hasStatusLabel==true`.
|
|
21
|
+
*/
|
|
14
22
|
statusLabel?: string;
|
|
15
23
|
/** Whether the accordion card is expanded (shows additional content). */
|
|
16
24
|
expanded?: boolean;
|
|
@@ -34,14 +42,23 @@ export interface Props {
|
|
|
34
42
|
- `single-line` (default): Compact header with only title.
|
|
35
43
|
- `large`: Header includes a description beneath the title. */
|
|
36
44
|
size?: AccordionSize;
|
|
37
|
-
/**
|
|
38
|
-
See `obc-alert-frame` for available types.
|
|
45
|
+
/**
|
|
46
|
+
* Type of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available types.
|
|
47
|
+
*
|
|
48
|
+
* Available when `hasAlert==true`.
|
|
49
|
+
*/
|
|
39
50
|
alertFrameType?: ObcAlertFrameType;
|
|
40
|
-
/**
|
|
41
|
-
See `obc-alert-frame` for available thickness values.
|
|
51
|
+
/**
|
|
52
|
+
* Thickness of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available thickness values.
|
|
53
|
+
*
|
|
54
|
+
* Available when `hasAlert==true`.
|
|
55
|
+
*/
|
|
42
56
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
43
|
-
/**
|
|
44
|
-
See `obc-alert-frame` for available statuses.
|
|
57
|
+
/**
|
|
58
|
+
* Status of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available statuses.
|
|
59
|
+
*
|
|
60
|
+
* Available when `hasAlert==true`.
|
|
61
|
+
*/
|
|
45
62
|
alertFrameStatus?: AlertType;
|
|
46
63
|
}
|
|
47
64
|
export interface Events {
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
|
|
13
|
-
title?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Useful when stacking multiple items in a list. */
|
|
21
|
-
showDivider?: boolean
|
|
12
|
+
/** The label displayed in the header of the accordion item. */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** Whether the item is expanded (shows the content area). Set to `true` to expand, `false` to collapse. */
|
|
15
|
+
open?: boolean;
|
|
16
|
+
/** Disables the accordion item, preventing user interaction and dimming the appearance. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Displays a divider line below the item for visual separation. Useful when stacking multiple items in a list. */
|
|
19
|
+
showDivider?: boolean
|
|
22
20
|
}
|
|
23
21
|
export interface Events {
|
|
24
22
|
onAccordionItemToggle?: (event: CustomEvent<{open: boolean, title: string}>) => void
|
|
@@ -5,13 +5,11 @@ export interface Props {
|
|
|
5
5
|
style?: string;
|
|
6
6
|
/** The label displayed in the header of the accordion item. */
|
|
7
7
|
title?: string;
|
|
8
|
-
/** Whether the item is expanded (shows the content area).
|
|
9
|
-
Set to `true` to expand, `false` to collapse. */
|
|
8
|
+
/** Whether the item is expanded (shows the content area). Set to `true` to expand, `false` to collapse. */
|
|
10
9
|
open?: boolean;
|
|
11
10
|
/** Disables the accordion item, preventing user interaction and dimming the appearance. */
|
|
12
11
|
disabled?: boolean;
|
|
13
|
-
/** Displays a divider line below the item for visual separation.
|
|
14
|
-
Useful when stacking multiple items in a list. */
|
|
12
|
+
/** Displays a divider line below the item for visual separation. Useful when stacking multiple items in a list. */
|
|
15
13
|
showDivider?: boolean;
|
|
16
14
|
}
|
|
17
15
|
export interface Events {
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
- `normal`: Standard, highlighted when active (`isActive` must be true for effect).
|
|
16
16
|
- `enhanced`: Most prominent, accent background/border when active (`isActive` must be true for effect). */
|
|
17
17
|
buttonStyle?: AdviceButtonStyle;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Used for screen readers via `aria-label`. */
|
|
29
|
-
ariaLabel?: string
|
|
18
|
+
/** Number of advice items or notifications to display in the badge. Only shown when `showCount` is true and style is `normal` or `enhanced`. */
|
|
19
|
+
count?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to display the advice count badge. If false, the count is hidden even if `count` is set.
|
|
22
|
+
*
|
|
23
|
+
* Available when `isActive==true && buttonStyle in [Normal, Enhanced]`.
|
|
24
|
+
*/
|
|
25
|
+
showCount?: boolean;
|
|
26
|
+
/** Whether the button is in the active/selected state. Changes the icon and style when true. */
|
|
27
|
+
isActive?: boolean;
|
|
28
|
+
/** Accessibility label for the button. Used for screen readers via `aria-label`. */
|
|
29
|
+
ariaLabel?: string
|
|
30
30
|
}
|
|
31
31
|
export interface Events {
|
|
32
32
|
onObcClick?: (event: AdviceButtonClickEvent) => void
|
|
@@ -10,17 +10,17 @@ export interface Props {
|
|
|
10
10
|
- `normal`: Standard, highlighted when active (`isActive` must be true for effect).
|
|
11
11
|
- `enhanced`: Most prominent, accent background/border when active (`isActive` must be true for effect). */
|
|
12
12
|
buttonStyle?: AdviceButtonStyle;
|
|
13
|
-
/** Number of advice items or notifications to display in the badge.
|
|
14
|
-
Only shown when `showCount` is true and style is `normal` or `enhanced`. */
|
|
13
|
+
/** Number of advice items or notifications to display in the badge. Only shown when `showCount` is true and style is `normal` or `enhanced`. */
|
|
15
14
|
count?: number;
|
|
16
|
-
/**
|
|
17
|
-
If false, the count is hidden even if `count` is set.
|
|
15
|
+
/**
|
|
16
|
+
* Whether to display the advice count badge. If false, the count is hidden even if `count` is set.
|
|
17
|
+
*
|
|
18
|
+
* Available when `isActive==true && buttonStyle in [Normal, Enhanced]`.
|
|
19
|
+
*/
|
|
18
20
|
showCount?: boolean;
|
|
19
|
-
/** Whether the button is in the active/selected state.
|
|
20
|
-
Changes the icon and style when true. */
|
|
21
|
+
/** Whether the button is in the active/selected state. Changes the icon and style when true. */
|
|
21
22
|
isActive?: boolean;
|
|
22
|
-
/** Accessibility label for the button.
|
|
23
|
-
Used for screen readers via `aria-label`. */
|
|
23
|
+
/** Accessibility label for the button. Used for screen readers via `aria-label`. */
|
|
24
24
|
ariaLabel?: string;
|
|
25
25
|
}
|
|
26
26
|
export interface Events {
|
|
@@ -19,19 +19,14 @@ type?: ObcFloatingItemType;
|
|
|
19
19
|
- `vertical`: Content and icons are stacked vertically.
|
|
20
20
|
Default: `horizontal`. */
|
|
21
21
|
direction?: ObcFloatingItemDirection;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hasTimestamp
|
|
25
|
-
|
|
26
|
-
Default: false. */
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
action?: boolean;
|
|
31
|
-
/** If true, renders a secondary action button in the advice message.
|
|
32
|
-
Note: The secondary action is only shown if the primary action (`action`) is also enabled.
|
|
33
|
-
Default: false. */
|
|
34
|
-
action2?: boolean;
|
|
22
|
+
/** If true, displays a timestamp label (e.g., "09:12:46") in the advice message. Default: false. */
|
|
23
|
+
hasTimestamp?: boolean;
|
|
24
|
+
/** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp. Default: false. */
|
|
25
|
+
hasDay?: boolean;
|
|
26
|
+
/** If true, renders a primary action button in the advice message. Default: false. */
|
|
27
|
+
action?: boolean;
|
|
28
|
+
/** If true, renders a secondary action button in the advice message. Note: The secondary action is only shown if the primary action (`action`) is also enabled. Default: false. */
|
|
29
|
+
action2?: boolean;
|
|
35
30
|
/** Sets the content line type for the advice message.
|
|
36
31
|
- `singleLine`: Compact, one-line message.
|
|
37
32
|
- `multiLine`: Allows for longer, multi-line advice text.
|
|
@@ -14,18 +14,13 @@ Default: `regular`. */
|
|
|
14
14
|
- `vertical`: Content and icons are stacked vertically.
|
|
15
15
|
Default: `horizontal`. */
|
|
16
16
|
direction?: ObcFloatingItemDirection;
|
|
17
|
-
/** If true, displays a timestamp label (e.g., "09:12:46") in the advice message.
|
|
18
|
-
Default: false. */
|
|
17
|
+
/** If true, displays a timestamp label (e.g., "09:12:46") in the advice message. Default: false. */
|
|
19
18
|
hasTimestamp?: boolean;
|
|
20
|
-
/** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp.
|
|
21
|
-
Default: false. */
|
|
19
|
+
/** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp. Default: false. */
|
|
22
20
|
hasDay?: boolean;
|
|
23
|
-
/** If true, renders a primary action button in the advice message.
|
|
24
|
-
Default: false. */
|
|
21
|
+
/** If true, renders a primary action button in the advice message. Default: false. */
|
|
25
22
|
action?: boolean;
|
|
26
|
-
/** If true, renders a secondary action button in the advice message.
|
|
27
|
-
Note: The secondary action is only shown if the primary action (`action`) is also enabled.
|
|
28
|
-
Default: false. */
|
|
23
|
+
/** If true, renders a secondary action button in the advice message. Note: The secondary action is only shown if the primary action (`action`) is also enabled. Default: false. */
|
|
29
24
|
action2?: boolean;
|
|
30
25
|
/** Sets the content line type for the advice message.
|
|
31
26
|
- `singleLine`: Compact, one-line message.
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
|
|
13
|
-
hasIcon?: boolean;
|
|
12
|
+
/** When true, renders the `icon` slot for a secondary icon. */
|
|
13
|
+
hasIcon?: boolean;
|
|
14
14
|
title?: string;
|
|
15
15
|
description?: string;
|
|
16
16
|
day?: string;
|
|
17
17
|
time?: string;
|
|
18
18
|
open?: boolean;
|
|
19
|
-
|
|
20
|
-
size?: ObcMessageMenuItemSize;
|
|
19
|
+
/** Layout size: `single-line` (default) or `double-line`. */
|
|
20
|
+
size?: ObcMessageMenuItemSize;
|
|
21
21
|
primaryActionLabel?: string;
|
|
22
22
|
secondaryActionLabel?: string
|
|
23
23
|
}
|
|
@@ -9,21 +9,36 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
|
|
13
|
-
Shown in the `title` slot if `hasTitle` is true.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Shown in the `
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Shown in the `
|
|
26
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Title or heading of the advice message. Shown in the `title` slot if `hasTitle` is true.
|
|
14
|
+
*
|
|
15
|
+
* Available when `showTitle==true && type!=Inactive`.
|
|
16
|
+
*/
|
|
17
|
+
title?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Detailed message text for the advice. Shown in the `description` slot if `hasDescription` is true.
|
|
20
|
+
*
|
|
21
|
+
* Available when `showDescription==true && type!=Inactive`.
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Primary timestamp to display (e.g., time of advice). Shown in the `time` slot if `hasTimestamp` is true.
|
|
26
|
+
*
|
|
27
|
+
* Available when `showTimestamp==true && type!=Inactive`.
|
|
28
|
+
*/
|
|
29
|
+
time?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Secondary timestamp (e.g., duration, relative time). Shown in the `time-secondary` slot if `hasTimestamp2` is true.
|
|
32
|
+
*
|
|
33
|
+
* Available when `hasTimestamp2==true && type!=Inactive`.
|
|
34
|
+
*/
|
|
35
|
+
timeSecondary?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Label for the action button (when `type` is "with-button"). Shown in the `action-text` slot.
|
|
38
|
+
*
|
|
39
|
+
* Available when `type==WithButton`.
|
|
40
|
+
*/
|
|
41
|
+
actionLabel?: string;
|
|
27
42
|
/** Display type of the advice message.
|
|
28
43
|
- `simple`: Standard message with optional title, description, and timestamp.
|
|
29
44
|
- `with-button`: Includes a text action button.
|
|
@@ -38,24 +53,42 @@ type?: ObcAdviceMessageItemType;
|
|
|
38
53
|
|
|
39
54
|
Default: `regular` */
|
|
40
55
|
size?: ObcAdviceMessageItemSize;
|
|
41
|
-
|
|
42
|
-
If false, the title is hidden even if set.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
If false, the
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
If
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Whether to show the title. If false, the title is hidden even if set.
|
|
58
|
+
*
|
|
59
|
+
* Available when `type!=Inactive`.
|
|
60
|
+
*/
|
|
61
|
+
showTitle?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether to show the description. If false, the description is hidden even if set.
|
|
64
|
+
*
|
|
65
|
+
* Available when `type!=Inactive`.
|
|
66
|
+
*/
|
|
67
|
+
showDescription?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Whether to show the primary timestamp. If false, the `time` slot is not rendered.
|
|
70
|
+
*
|
|
71
|
+
* Available when `type!=Inactive`.
|
|
72
|
+
*/
|
|
73
|
+
showTimestamp?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Whether to show the secondary timestamp. If true, the `time-secondary` slot is rendered.
|
|
76
|
+
*
|
|
77
|
+
* Available when `type!=Inactive`.
|
|
78
|
+
*/
|
|
79
|
+
hasTimestamp2?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Whether to show the secondary icon overlay. If true, the `secondary-icon` slot is rendered.
|
|
82
|
+
*
|
|
83
|
+
* Available when `type!=Inactive`.
|
|
84
|
+
*/
|
|
85
|
+
hasSecondaryIcon?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Text to display in the empty/inactive state. Shown in the `empty` slot when `type="inactive"` or `empty` is true.
|
|
88
|
+
*
|
|
89
|
+
* Available when `type==Inactive`.
|
|
90
|
+
*/
|
|
91
|
+
emptyText?: string
|
|
59
92
|
}
|
|
60
93
|
export interface Events {
|
|
61
94
|
onMessageClick?: (event: CustomEvent<void>) => void;
|
|
@@ -4,20 +4,35 @@ import type { Snippet } from 'svelte';
|
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
|
-
/**
|
|
8
|
-
Shown in the `title` slot if `hasTitle` is true.
|
|
7
|
+
/**
|
|
8
|
+
* Title or heading of the advice message. Shown in the `title` slot if `hasTitle` is true.
|
|
9
|
+
*
|
|
10
|
+
* Available when `showTitle==true && type!=Inactive`.
|
|
11
|
+
*/
|
|
9
12
|
title?: string;
|
|
10
|
-
/**
|
|
11
|
-
Shown in the `description` slot if `hasDescription` is true.
|
|
13
|
+
/**
|
|
14
|
+
* Detailed message text for the advice. Shown in the `description` slot if `hasDescription` is true.
|
|
15
|
+
*
|
|
16
|
+
* Available when `showDescription==true && type!=Inactive`.
|
|
17
|
+
*/
|
|
12
18
|
description?: string;
|
|
13
|
-
/**
|
|
14
|
-
Shown in the `time` slot if `hasTimestamp` is true.
|
|
19
|
+
/**
|
|
20
|
+
* Primary timestamp to display (e.g., time of advice). Shown in the `time` slot if `hasTimestamp` is true.
|
|
21
|
+
*
|
|
22
|
+
* Available when `showTimestamp==true && type!=Inactive`.
|
|
23
|
+
*/
|
|
15
24
|
time?: string;
|
|
16
|
-
/**
|
|
17
|
-
Shown in the `time-secondary` slot if `hasTimestamp2` is true.
|
|
25
|
+
/**
|
|
26
|
+
* Secondary timestamp (e.g., duration, relative time). Shown in the `time-secondary` slot if `hasTimestamp2` is true.
|
|
27
|
+
*
|
|
28
|
+
* Available when `hasTimestamp2==true && type!=Inactive`.
|
|
29
|
+
*/
|
|
18
30
|
timeSecondary?: string;
|
|
19
|
-
/**
|
|
20
|
-
Shown in the `action-text` slot.
|
|
31
|
+
/**
|
|
32
|
+
* Label for the action button (when `type` is "with-button"). Shown in the `action-text` slot.
|
|
33
|
+
*
|
|
34
|
+
* Available when `type==WithButton`.
|
|
35
|
+
*/
|
|
21
36
|
actionLabel?: string;
|
|
22
37
|
/** Display type of the advice message.
|
|
23
38
|
- `simple`: Standard message with optional title, description, and timestamp.
|
|
@@ -33,23 +48,41 @@ Default: `simple` */
|
|
|
33
48
|
|
|
34
49
|
Default: `regular` */
|
|
35
50
|
size?: ObcAdviceMessageItemSize;
|
|
36
|
-
/**
|
|
37
|
-
If false, the title is hidden even if set.
|
|
51
|
+
/**
|
|
52
|
+
* Whether to show the title. If false, the title is hidden even if set.
|
|
53
|
+
*
|
|
54
|
+
* Available when `type!=Inactive`.
|
|
55
|
+
*/
|
|
38
56
|
showTitle?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
If false, the description is hidden even if set.
|
|
57
|
+
/**
|
|
58
|
+
* Whether to show the description. If false, the description is hidden even if set.
|
|
59
|
+
*
|
|
60
|
+
* Available when `type!=Inactive`.
|
|
61
|
+
*/
|
|
41
62
|
showDescription?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
If false, the `time` slot is not rendered.
|
|
63
|
+
/**
|
|
64
|
+
* Whether to show the primary timestamp. If false, the `time` slot is not rendered.
|
|
65
|
+
*
|
|
66
|
+
* Available when `type!=Inactive`.
|
|
67
|
+
*/
|
|
44
68
|
showTimestamp?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
If true, the `time-secondary` slot is rendered.
|
|
69
|
+
/**
|
|
70
|
+
* Whether to show the secondary timestamp. If true, the `time-secondary` slot is rendered.
|
|
71
|
+
*
|
|
72
|
+
* Available when `type!=Inactive`.
|
|
73
|
+
*/
|
|
47
74
|
hasTimestamp2?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
If true, the `secondary-icon` slot is rendered.
|
|
75
|
+
/**
|
|
76
|
+
* Whether to show the secondary icon overlay. If true, the `secondary-icon` slot is rendered.
|
|
77
|
+
*
|
|
78
|
+
* Available when `type!=Inactive`.
|
|
79
|
+
*/
|
|
50
80
|
hasSecondaryIcon?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
Shown in the `empty` slot when `type="inactive"` or `empty` is true.
|
|
81
|
+
/**
|
|
82
|
+
* Text to display in the empty/inactive state. Shown in the `empty` slot when `type="inactive"` or `empty` is true.
|
|
83
|
+
*
|
|
84
|
+
* Available when `type==Inactive`.
|
|
85
|
+
*/
|
|
53
86
|
emptyText?: string;
|
|
54
87
|
}
|
|
55
88
|
export interface Events {
|
|
@@ -33,8 +33,12 @@ large?: boolean;
|
|
|
33
33
|
|
|
34
34
|
The silence button is only shown if this is true, the width is above `silenceButtonMinBreakpointPx`, and the button is not in flat mode. */
|
|
35
35
|
showSilenceButton?: boolean;
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Disables the silence button when true.
|
|
38
|
+
*
|
|
39
|
+
* Available when `showSilenceButton==true`.
|
|
40
|
+
*/
|
|
41
|
+
silenceButtonDisabled?: boolean;
|
|
38
42
|
/** Whether to show the alert counter badge.
|
|
39
43
|
|
|
40
44
|
Only shown when there are active alerts and the button is not in flat mode. */
|
|
@@ -27,7 +27,11 @@ Adds extra height and padding. */
|
|
|
27
27
|
|
|
28
28
|
The silence button is only shown if this is true, the width is above `silenceButtonMinBreakpointPx`, and the button is not in flat mode. */
|
|
29
29
|
showSilenceButton?: boolean;
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Disables the silence button when true.
|
|
32
|
+
*
|
|
33
|
+
* Available when `showSilenceButton==true`.
|
|
34
|
+
*/
|
|
31
35
|
silenceButtonDisabled?: boolean;
|
|
32
36
|
/** Whether to show the alert counter badge.
|
|
33
37
|
|
|
@@ -34,20 +34,18 @@ status?: AlertType;
|
|
|
34
34
|
- `unacked-active`: Active and not yet acknowledged; blinks.
|
|
35
35
|
- `unacked-rectified`: Condition cleared but not yet acknowledged. */
|
|
36
36
|
mode?: ObcAlertFrameMode;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/** If true, the bottom-right corner will be sharp (not rounded). */
|
|
50
|
-
sharpEdgeBottomRight?: boolean;
|
|
37
|
+
/** When true, the frame wraps and sizes itself to its slotted content instead of overlaying a fixed region. Reflected to an attribute for CSS styling. */
|
|
38
|
+
wrapContent?: boolean;
|
|
39
|
+
/** When true, the frame stretches to fill the full width of its container instead of hugging its content. Reflected to an attribute for CSS styling. */
|
|
40
|
+
fullWidth?: boolean;
|
|
41
|
+
/** If true, the top-left corner will be sharp (not rounded). */
|
|
42
|
+
sharpEdgeTopLeft?: boolean;
|
|
43
|
+
/** If true, the top-right corner will be sharp (not rounded). */
|
|
44
|
+
sharpEdgeTopRight?: boolean;
|
|
45
|
+
/** If true, the bottom-left corner will be sharp (not rounded). */
|
|
46
|
+
sharpEdgeBottomLeft?: boolean;
|
|
47
|
+
/** If true, the bottom-right corner will be sharp (not rounded). */
|
|
48
|
+
sharpEdgeBottomRight?: boolean;
|
|
51
49
|
textSize?: AlertFrameTextSize;
|
|
52
50
|
showIcon?: boolean;
|
|
53
51
|
showAlertCategoryIcon?: boolean
|
|
@@ -28,11 +28,9 @@ Default: `small-side-flip` */
|
|
|
28
28
|
- `unacked-active`: Active and not yet acknowledged; blinks.
|
|
29
29
|
- `unacked-rectified`: Condition cleared but not yet acknowledged. */
|
|
30
30
|
mode?: ObcAlertFrameMode;
|
|
31
|
-
/** When true, the frame wraps and sizes itself to its slotted content instead
|
|
32
|
-
of overlaying a fixed region. Reflected to an attribute for CSS styling. */
|
|
31
|
+
/** When true, the frame wraps and sizes itself to its slotted content instead of overlaying a fixed region. Reflected to an attribute for CSS styling. */
|
|
33
32
|
wrapContent?: boolean;
|
|
34
|
-
/** When true, the frame stretches to fill the full width of its container
|
|
35
|
-
instead of hugging its content. Reflected to an attribute for CSS styling. */
|
|
33
|
+
/** When true, the frame stretches to fill the full width of its container instead of hugging its content. Reflected to an attribute for CSS styling. */
|
|
36
34
|
fullWidth?: boolean;
|
|
37
35
|
/** If true, the top-left corner will be sharp (not rounded). */
|
|
38
36
|
sharpEdgeTopLeft?: boolean;
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
style?: string;
|
|
12
12
|
alertType?: AlertType;
|
|
13
13
|
type?: AlertType | undefined;
|
|
14
|
+
/** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
|
|
14
15
|
acknowledged?: boolean | undefined;
|
|
16
|
+
/** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
|
|
15
17
|
active?: boolean | undefined;
|
|
16
18
|
silenced?: boolean | undefined
|
|
17
19
|
}
|
|
@@ -6,7 +6,9 @@ export interface Props {
|
|
|
6
6
|
style?: string;
|
|
7
7
|
alertType?: AlertType;
|
|
8
8
|
type?: AlertType | undefined;
|
|
9
|
+
/** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
|
|
9
10
|
acknowledged?: boolean | undefined;
|
|
11
|
+
/** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
|
|
10
12
|
active?: boolean | undefined;
|
|
11
13
|
silenced?: boolean | undefined;
|
|
12
14
|
}
|