@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,50 +13,48 @@ import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
showGrid
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/** Show axis tick marks and labels. */
|
|
59
|
-
showTickMarks?: boolean;
|
|
16
|
+
/** Simple single-series data. `{label, value}` items for the category axis; `{x, value}` items for time/number axes (x: epoch ms, ISO string, Date, or Temporal object). Points are drawn in array order (no sorting). */
|
|
17
|
+
data?: ChartLineDataItem[];
|
|
18
|
+
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
|
|
19
|
+
datasets?: ChartDataset<"line", ChartLinePoint[]>[] | undefined;
|
|
20
|
+
/** Optional explicit labels for the x-axis (category mode). If omitted labels are derived from `data` */
|
|
21
|
+
labels?: (string | number)[] | undefined;
|
|
22
|
+
/** Custom color palette (CSS variable names or color strings). */
|
|
23
|
+
colors?: string[];
|
|
24
|
+
/** Show HTML legend below chart with series labels and colors. */
|
|
25
|
+
legend?: boolean;
|
|
26
|
+
/** Development mode: show visual debug overlay with dimension guides. */
|
|
27
|
+
showDebugOverlay?: boolean;
|
|
28
|
+
/** Width of the chart in pixels. Default: 480. */
|
|
29
|
+
width?: number;
|
|
30
|
+
/** Height of the chart in pixels. Default: 320. */
|
|
31
|
+
height?: number;
|
|
32
|
+
/** Enable fixed aspect ratio scaling mode. When true, width/height properties define the aspect ratio (not actual pixels). The component fills 100% of parent width and calculates height from aspect ratio. When false (default), width/height are used as actual pixel dimensions. */
|
|
33
|
+
fixedAspectRatioScaling?: boolean;
|
|
34
|
+
/** Reference size for external scales when using fixedAspectRatioScaling. This value is passed down to external scales to determine their 1:1 Figma design size. At this reference size, scales render at native size; above/below they scale proportionally. Default: 384 (matches Figma design baseline). */
|
|
35
|
+
scaleReferenceSize?: number;
|
|
36
|
+
/** X-axis mode: 'category' for labeled, evenly spaced data points; 'time' for time-based data positioned proportionally; 'number' for plain numeric x-values. */
|
|
37
|
+
xAxisType?: XAxisType;
|
|
38
|
+
/** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
|
|
39
|
+
yAxisPosition?: YAxisPosition;
|
|
40
|
+
/** Multiple y-axis definitions for complex multi-axis charts. */
|
|
41
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
42
|
+
/** Show grid lines. */
|
|
43
|
+
showGrid?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Show vertical grid lines (x-axis). Default: false.
|
|
46
|
+
*
|
|
47
|
+
* Available when `showGrid==true`.
|
|
48
|
+
*/
|
|
49
|
+
showGridX?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Show horizontal grid lines (y-axis). Default: false.
|
|
52
|
+
*
|
|
53
|
+
* Available when `showGrid==true`.
|
|
54
|
+
*/
|
|
55
|
+
showGridY?: boolean;
|
|
56
|
+
/** Show axis tick marks and labels. */
|
|
57
|
+
showTickMarks?: boolean;
|
|
60
58
|
/** Reserve canvas padding for axis tick labels on sides without an external scale.
|
|
61
59
|
|
|
62
60
|
When `true` (default), the chart leaves room for tick labels and renders them
|
|
@@ -73,41 +71,44 @@ and never wants to show axis labels (e.g. `obc-automation-tank`).
|
|
|
73
71
|
Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
|
|
74
72
|
because a `true`-default boolean cannot work as an HTML boolean attribute. */
|
|
75
73
|
hasLabelPadding?: boolean;
|
|
76
|
-
|
|
77
|
-
showPoints?: boolean;
|
|
78
|
-
|
|
79
|
-
lineMode?: LineMode;
|
|
80
|
-
|
|
81
|
-
unit?: string;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Border radius
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
When instrumentMode=false, this is ignored and border radius is read from CSS variable.
|
|
110
|
-
|
|
74
|
+
/** Show point markers on data points. Default: false. */
|
|
75
|
+
showPoints?: boolean;
|
|
76
|
+
/** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
|
|
77
|
+
lineMode?: LineMode;
|
|
78
|
+
/** Unit label displayed in tooltips (e.g., 'kW', 'kg', '%'). */
|
|
79
|
+
unit?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Time axis label format: 'date' (full date/time) or 'minutes' (relative).
|
|
82
|
+
*
|
|
83
|
+
* Available when `xAxisType==time`.
|
|
84
|
+
*/
|
|
85
|
+
timeDisplay?: TimeDisplay;
|
|
86
|
+
/** Max number of x-axis ticks/grid lines. Useful for matching external axes. */
|
|
87
|
+
xTicksLimit?: number | undefined;
|
|
88
|
+
/** Force x-axis tick interval. Useful for matching external axes. */
|
|
89
|
+
xStepSize?: number | undefined;
|
|
90
|
+
/** Max number of y-axis ticks/grid lines. Useful for matching external axes. */
|
|
91
|
+
yTicksLimit?: number | undefined;
|
|
92
|
+
/** Force y-axis tick interval. Useful for matching external axes. */
|
|
93
|
+
yStepSize?: number | undefined;
|
|
94
|
+
/** Instrument state affecting colors of external scales. */
|
|
95
|
+
state?: InstrumentState;
|
|
96
|
+
/** Color priority: enhanced uses blue palette instead of default gray. */
|
|
97
|
+
priority?: Priority;
|
|
98
|
+
/** Frame style for chart and external scales. */
|
|
99
|
+
frameStyle?: FrameStyle;
|
|
100
|
+
/** Border radius position for the chart's own border. */
|
|
101
|
+
borderRadiusPosition?: BorderRadiusPosition | undefined;
|
|
102
|
+
/** Border radius position for external scales based on layout. */
|
|
103
|
+
borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;
|
|
104
|
+
/** When true, the chart is used inside an instrument (e.g., gauge-trend). In this mode, only label font size responds to .obc-component-size-* CSS classes. Border radius uses the explicit `borderRadius` property value (or defaults to 8px), rather than reading from CSS variables. */
|
|
105
|
+
instrumentMode?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px). When instrumentMode=false, this is ignored and border radius is read from CSS variable.
|
|
108
|
+
*
|
|
109
|
+
* Available when `instrumentMode==true`.
|
|
110
|
+
*/
|
|
111
|
+
borderRadius?: number | undefined
|
|
111
112
|
}
|
|
112
113
|
export interface Events {
|
|
113
114
|
|
|
@@ -6,9 +6,7 @@ import type { Snippet } from 'svelte';
|
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
|
-
/** Simple single-series data. `{label, value}` items for the category axis;
|
|
10
|
-
`{x, value}` items for time/number axes (x: epoch ms, ISO string, Date,
|
|
11
|
-
or Temporal object). Points are drawn in array order (no sorting). */
|
|
9
|
+
/** Simple single-series data. `{label, value}` items for the category axis; `{x, value}` items for time/number axes (x: epoch ms, ISO string, Date, or Temporal object). Points are drawn in array order (no sorting). */
|
|
12
10
|
data?: ChartLineDataItem[];
|
|
13
11
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
|
|
14
12
|
datasets?: ChartDataset<"line", ChartLinePoint[]>[] | undefined;
|
|
@@ -24,19 +22,11 @@ or Temporal object). Points are drawn in array order (no sorting). */
|
|
|
24
22
|
width?: number;
|
|
25
23
|
/** Height of the chart in pixels. Default: 320. */
|
|
26
24
|
height?: number;
|
|
27
|
-
/** Enable fixed aspect ratio scaling mode.
|
|
28
|
-
When true, width/height properties define the aspect ratio (not actual pixels).
|
|
29
|
-
The component fills 100% of parent width and calculates height from aspect ratio.
|
|
30
|
-
When false (default), width/height are used as actual pixel dimensions. */
|
|
25
|
+
/** Enable fixed aspect ratio scaling mode. When true, width/height properties define the aspect ratio (not actual pixels). The component fills 100% of parent width and calculates height from aspect ratio. When false (default), width/height are used as actual pixel dimensions. */
|
|
31
26
|
fixedAspectRatioScaling?: boolean;
|
|
32
|
-
/** Reference size for external scales when using fixedAspectRatioScaling.
|
|
33
|
-
This value is passed down to external scales to determine their 1:1 Figma design size.
|
|
34
|
-
At this reference size, scales render at native size; above/below they scale proportionally.
|
|
35
|
-
Default: 384 (matches Figma design baseline). */
|
|
27
|
+
/** Reference size for external scales when using fixedAspectRatioScaling. This value is passed down to external scales to determine their 1:1 Figma design size. At this reference size, scales render at native size; above/below they scale proportionally. Default: 384 (matches Figma design baseline). */
|
|
36
28
|
scaleReferenceSize?: number;
|
|
37
|
-
/** X-axis mode: 'category' for labeled, evenly spaced data points; 'time'
|
|
38
|
-
for time-based data positioned proportionally; 'number' for plain
|
|
39
|
-
numeric x-values. */
|
|
29
|
+
/** X-axis mode: 'category' for labeled, evenly spaced data points; 'time' for time-based data positioned proportionally; 'number' for plain numeric x-values. */
|
|
40
30
|
xAxisType?: XAxisType;
|
|
41
31
|
/** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
|
|
42
32
|
yAxisPosition?: YAxisPosition;
|
|
@@ -44,9 +34,17 @@ numeric x-values. */
|
|
|
44
34
|
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
45
35
|
/** Show grid lines. */
|
|
46
36
|
showGrid?: boolean;
|
|
47
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Show vertical grid lines (x-axis). Default: false.
|
|
39
|
+
*
|
|
40
|
+
* Available when `showGrid==true`.
|
|
41
|
+
*/
|
|
48
42
|
showGridX?: boolean;
|
|
49
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Show horizontal grid lines (y-axis). Default: false.
|
|
45
|
+
*
|
|
46
|
+
* Available when `showGrid==true`.
|
|
47
|
+
*/
|
|
50
48
|
showGridY?: boolean;
|
|
51
49
|
/** Show axis tick marks and labels. */
|
|
52
50
|
showTickMarks?: boolean;
|
|
@@ -72,7 +70,11 @@ because a `true`-default boolean cannot work as an HTML boolean attribute. */
|
|
|
72
70
|
lineMode?: LineMode;
|
|
73
71
|
/** Unit label displayed in tooltips (e.g., 'kW', 'kg', '%'). */
|
|
74
72
|
unit?: string;
|
|
75
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Time axis label format: 'date' (full date/time) or 'minutes' (relative).
|
|
75
|
+
*
|
|
76
|
+
* Available when `xAxisType==time`.
|
|
77
|
+
*/
|
|
76
78
|
timeDisplay?: TimeDisplay;
|
|
77
79
|
/** Max number of x-axis ticks/grid lines. Useful for matching external axes. */
|
|
78
80
|
xTicksLimit?: number | undefined;
|
|
@@ -92,14 +94,13 @@ because a `true`-default boolean cannot work as an HTML boolean attribute. */
|
|
|
92
94
|
borderRadiusPosition?: BorderRadiusPosition | undefined;
|
|
93
95
|
/** Border radius position for external scales based on layout. */
|
|
94
96
|
borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;
|
|
95
|
-
/** When true, the chart is used inside an instrument (e.g., gauge-trend).
|
|
96
|
-
In this mode, only label font size responds to .obc-component-size-* CSS classes.
|
|
97
|
-
Border radius uses the explicit `borderRadius` property value (or defaults to 8px),
|
|
98
|
-
rather than reading from CSS variables. */
|
|
97
|
+
/** When true, the chart is used inside an instrument (e.g., gauge-trend). In this mode, only label font size responds to .obc-component-size-* CSS classes. Border radius uses the explicit `borderRadius` property value (or defaults to 8px), rather than reading from CSS variables. */
|
|
99
98
|
instrumentMode?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
When instrumentMode=true, this value is used directly (defaults to 8px).
|
|
102
|
-
|
|
99
|
+
/**
|
|
100
|
+
* Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px). When instrumentMode=false, this is ignored and border radius is read from CSS variable.
|
|
101
|
+
*
|
|
102
|
+
* Available when `instrumentMode==true`.
|
|
103
|
+
*/
|
|
103
104
|
borderRadius?: number | undefined;
|
|
104
105
|
}
|
|
105
106
|
export interface Events {
|
|
@@ -42,38 +42,35 @@ animateSetpoint?: boolean;
|
|
|
42
42
|
maxValue?: number;
|
|
43
43
|
minValue?: number;
|
|
44
44
|
getAngle?: (v: number) => number;
|
|
45
|
+
/** Available when `type!=filled`. */
|
|
45
46
|
needleColor?: string | undefined;
|
|
47
|
+
/** Available when `type!=needle`. */
|
|
46
48
|
barColor?: string | undefined;
|
|
47
49
|
showLabels?: boolean;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
When undefined or <= 0, no
|
|
53
|
-
|
|
54
|
-
/** Interval for tertiary tickmarks in value units.
|
|
55
|
-
When undefined or <= 0, no tertiary tickmarks are shown. */
|
|
56
|
-
tertiaryTickmarkInterval?: number | undefined;
|
|
50
|
+
/** Interval for primary tickmarks in value units. When undefined or <= 0, no primary tickmarks are shown. */
|
|
51
|
+
primaryTickmarkInterval?: number | undefined;
|
|
52
|
+
/** Interval for secondary tickmarks in value units. When undefined or <= 0, no secondary tickmarks are shown. */
|
|
53
|
+
secondaryTickmarkInterval?: number | undefined;
|
|
54
|
+
/** Interval for tertiary tickmarks in value units. When undefined or <= 0, no tertiary tickmarks are shown. */
|
|
55
|
+
tertiaryTickmarkInterval?: number | undefined;
|
|
57
56
|
type?: ObcGaugeRadialType;
|
|
58
57
|
needleType?: ObcGaugeRadialType;
|
|
59
58
|
tickmarksInside?: boolean;
|
|
60
59
|
tickmarkStyle?: TickmarkStyle;
|
|
61
60
|
advices?: GaugeRadialAdvice[];
|
|
61
|
+
/** Available when `zoomToFitArc==false`. */
|
|
62
62
|
clipTop?: number;
|
|
63
|
+
/** Available when `zoomToFitArc==false`. */
|
|
63
64
|
clipBottom?: number;
|
|
65
|
+
/** Available when `zoomToFitArc==false`. */
|
|
64
66
|
clipLeft?: number;
|
|
67
|
+
/** Available when `zoomToFitArc==false`. */
|
|
65
68
|
clipRight?: number;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
(External / Internal / Max-min). See PR #903 / design discussion. */
|
|
69
|
-
endLabelsMaxMin?: boolean;
|
|
69
|
+
/** Place the horizontal end labels (±90°, e.g. min/max) below the tick instead of beside it — the "Max-min" placement from the radial label model (External / Internal / Max-min). See PR #903 / design discussion. */
|
|
70
|
+
endLabelsMaxMin?: boolean;
|
|
70
71
|
zoomToFitArc?: boolean;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
so instruments sharing the same value have identical ring circumference
|
|
74
|
-
regardless of label width or arc extent (like obc-donut-chart's
|
|
75
|
-
fixedHeight). When unset (default), the instrument fills its container. */
|
|
76
|
-
faceDiameter?: number | undefined
|
|
72
|
+
/** Outer-ring diameter in CSS pixels. When set, the instrument renders at a fixed intrinsic size derived from the ring, arc shape and label reserve — so instruments sharing the same value have identical ring circumference regardless of label width or arc extent (like obc-donut-chart's fixedHeight). When unset (default), the instrument fills its container. */
|
|
73
|
+
faceDiameter?: number | undefined
|
|
77
74
|
}
|
|
78
75
|
export interface Events {
|
|
79
76
|
onFrameChanged?: (event: CustomEvent<RadialFrame>) => void
|
|
@@ -34,37 +34,34 @@ regardless of instrument state. */
|
|
|
34
34
|
maxValue?: number;
|
|
35
35
|
minValue?: number;
|
|
36
36
|
getAngle?: (v: number) => number;
|
|
37
|
+
/** Available when `type!=filled`. */
|
|
37
38
|
needleColor?: string | undefined;
|
|
39
|
+
/** Available when `type!=needle`. */
|
|
38
40
|
barColor?: string | undefined;
|
|
39
41
|
showLabels?: boolean;
|
|
40
|
-
/** Interval for primary tickmarks in value units.
|
|
41
|
-
When undefined or <= 0, no primary tickmarks are shown. */
|
|
42
|
+
/** Interval for primary tickmarks in value units. When undefined or <= 0, no primary tickmarks are shown. */
|
|
42
43
|
primaryTickmarkInterval?: number | undefined;
|
|
43
|
-
/** Interval for secondary tickmarks in value units.
|
|
44
|
-
When undefined or <= 0, no secondary tickmarks are shown. */
|
|
44
|
+
/** Interval for secondary tickmarks in value units. When undefined or <= 0, no secondary tickmarks are shown. */
|
|
45
45
|
secondaryTickmarkInterval?: number | undefined;
|
|
46
|
-
/** Interval for tertiary tickmarks in value units.
|
|
47
|
-
When undefined or <= 0, no tertiary tickmarks are shown. */
|
|
46
|
+
/** Interval for tertiary tickmarks in value units. When undefined or <= 0, no tertiary tickmarks are shown. */
|
|
48
47
|
tertiaryTickmarkInterval?: number | undefined;
|
|
49
48
|
type?: ObcGaugeRadialType;
|
|
50
49
|
needleType?: ObcGaugeRadialType;
|
|
51
50
|
tickmarksInside?: boolean;
|
|
52
51
|
tickmarkStyle?: TickmarkStyle;
|
|
53
52
|
advices?: GaugeRadialAdvice[];
|
|
53
|
+
/** Available when `zoomToFitArc==false`. */
|
|
54
54
|
clipTop?: number;
|
|
55
|
+
/** Available when `zoomToFitArc==false`. */
|
|
55
56
|
clipBottom?: number;
|
|
57
|
+
/** Available when `zoomToFitArc==false`. */
|
|
56
58
|
clipLeft?: number;
|
|
59
|
+
/** Available when `zoomToFitArc==false`. */
|
|
57
60
|
clipRight?: number;
|
|
58
|
-
/** Place the horizontal end labels (±90°, e.g. min/max) below the tick instead
|
|
59
|
-
of beside it — the "Max-min" placement from the radial label model
|
|
60
|
-
(External / Internal / Max-min). See PR #903 / design discussion. */
|
|
61
|
+
/** Place the horizontal end labels (±90°, e.g. min/max) below the tick instead of beside it — the "Max-min" placement from the radial label model (External / Internal / Max-min). See PR #903 / design discussion. */
|
|
61
62
|
endLabelsMaxMin?: boolean;
|
|
62
63
|
zoomToFitArc?: boolean;
|
|
63
|
-
/** Outer-ring diameter in CSS pixels. When set, the instrument renders at a
|
|
64
|
-
fixed intrinsic size derived from the ring, arc shape and label reserve —
|
|
65
|
-
so instruments sharing the same value have identical ring circumference
|
|
66
|
-
regardless of label width or arc extent (like obc-donut-chart's
|
|
67
|
-
fixedHeight). When unset (default), the instrument fills its container. */
|
|
64
|
+
/** Outer-ring diameter in CSS pixels. When set, the instrument renders at a fixed intrinsic size derived from the ring, arc shape and label reserve — so instruments sharing the same value have identical ring circumference regardless of label width or arc extent (like obc-donut-chart's fixedHeight). When unset (default), the instrument fills its container. */
|
|
68
65
|
faceDiameter?: number | undefined;
|
|
69
66
|
}
|
|
70
67
|
export interface Events {
|
|
@@ -15,65 +15,66 @@ import type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/compone
|
|
|
15
15
|
export interface Props {
|
|
16
16
|
class?: string;
|
|
17
17
|
style?: string;
|
|
18
|
-
|
|
19
|
-
variant?: ReadoutBlockVariant;
|
|
18
|
+
/** Semantic variant (value / setpoint / advice). */
|
|
19
|
+
variant?: ReadoutBlockVariant;
|
|
20
20
|
/** [object Object],[object Object],[object Object] */
|
|
21
21
|
value?: string | number | null;
|
|
22
22
|
/** [object Object],[object Object],[object Object] */
|
|
23
23
|
valueType?: ReadoutValueType;
|
|
24
|
-
|
|
25
|
-
size?: ReadoutBlockSize;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
hintedZeros?: boolean;
|
|
54
|
-
|
|
55
|
-
spaceReserver?: string | undefined;
|
|
56
|
-
|
|
57
|
-
off?: boolean;
|
|
58
|
-
|
|
59
|
-
offText?: string;
|
|
60
|
-
|
|
61
|
-
alignment?: ObcTextboxAlignment;
|
|
24
|
+
/** Density tier — icon size, gap, degree tier. */
|
|
25
|
+
size?: ReadoutBlockSize;
|
|
26
|
+
/** Resolved number-typography size. When unset it is derived from `size` (small→s, medium→m, large→l), so a parent that de-emphasises a block (e.g. a secondary setpoint) can pass a smaller size without changing the tier. */
|
|
27
|
+
valueSize?: ObcTextboxSize | undefined;
|
|
28
|
+
/** Accent (in-command) colour tone. */
|
|
29
|
+
enhanced?: boolean;
|
|
30
|
+
/** Number font weight (regular / semibold / bold); colour is independent. */
|
|
31
|
+
weight?: ObcTextboxFontWeight;
|
|
32
|
+
/** Render the trailing cap-height degree glyph (`°`). */
|
|
33
|
+
hasDegree?: boolean;
|
|
34
|
+
/** Show the leading marker-icon container (always on for setpoint/advice). */
|
|
35
|
+
hasIcon?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Number of fraction digits. Must be between 0 and 100 — the range `Number.prototype.toFixed` accepts; outside it throws a `RangeError`. A fractional count truncates (`2.7` → `2`). A count that never arrived (`NaN`, `null` or unset) renders the reading as the unavailable dash — formatting with a precision the author never chose would let a critical `0.4` pass for a healthy `0`.
|
|
38
|
+
*
|
|
39
|
+
* Available when `valueType==number`.
|
|
40
|
+
*/
|
|
41
|
+
fractionDigits?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Integer digits to reserve / hint (independent of `fractionDigits`). Bounded before use: a fractional count truncates (`2.7` → `2`), anything above 100 — including `Infinity` — caps at 100, and a negative count reserves nothing. A count that never arrived (`NaN`, `null` or unset) renders the reading as the unavailable dash, consistent with `fractionDigits`.
|
|
44
|
+
*
|
|
45
|
+
* Available when `valueType==number`.
|
|
46
|
+
*/
|
|
47
|
+
maxDigits?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Render muted leading zeros filling the integer part to `maxDigits`.
|
|
50
|
+
*
|
|
51
|
+
* Available when `valueType==number`.
|
|
52
|
+
*/
|
|
53
|
+
hintedZeros?: boolean;
|
|
54
|
+
/** Explicit longest string to reserve width for (e.g. `"0000.0"`). */
|
|
55
|
+
spaceReserver?: string | undefined;
|
|
56
|
+
/** Render `offText` instead of a number (e.g. equipment powered down). */
|
|
57
|
+
off?: boolean;
|
|
58
|
+
/** Text shown when `off` is true. */
|
|
59
|
+
offText?: string;
|
|
60
|
+
/** Text alignment of the number within its reserved width. */
|
|
61
|
+
alignment?: ObcTextboxAlignment;
|
|
62
62
|
/** [object Object],[object Object],[object Object] */
|
|
63
63
|
category?: ReadoutAdviceCategory;
|
|
64
|
-
|
|
65
|
-
the number takes the category's triggered styling (SemiBold for
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
alert
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
64
|
+
/**
|
|
65
|
+
* The advice is triggered: the marker swaps to its filled/status icon and the number takes the category's triggered styling (SemiBold for regular/optimal/eco, active text colour for the alert categories). Only meaningful for `variant="advice"`.
|
|
66
|
+
*
|
|
67
|
+
* Available when `variant==advice`.
|
|
68
|
+
*/
|
|
69
|
+
active?: boolean;
|
|
70
|
+
/** Per-block measurement quality (outline chip). */
|
|
71
|
+
dataQuality?: ReadoutBlockDataQuality | undefined;
|
|
72
|
+
/** Per-block alert frame; nests inside any parent alert frame. */
|
|
73
|
+
alert?: boolean | AlertFrameConfig;
|
|
74
|
+
/** Setpoint focus (touch) state — only meaningful for `role="setpoint"`. */
|
|
75
|
+
touching?: boolean;
|
|
76
|
+
/** Setpoint pop-up fade phase — only meaningful for `role="setpoint"`. */
|
|
77
|
+
hidePhase?: ReadoutBlockHidePhase
|
|
77
78
|
}
|
|
78
79
|
export interface Events {
|
|
79
80
|
|
|
@@ -15,9 +15,7 @@ export interface Props {
|
|
|
15
15
|
valueType?: ReadoutValueType;
|
|
16
16
|
/** Density tier — icon size, gap, degree tier. */
|
|
17
17
|
size?: ReadoutBlockSize;
|
|
18
|
-
/** Resolved number-typography size. When unset it is derived from `size`
|
|
19
|
-
(small→s, medium→m, large→l), so a parent that de-emphasises a block (e.g.
|
|
20
|
-
a secondary setpoint) can pass a smaller size without changing the tier. */
|
|
18
|
+
/** Resolved number-typography size. When unset it is derived from `size` (small→s, medium→m, large→l), so a parent that de-emphasises a block (e.g. a secondary setpoint) can pass a smaller size without changing the tier. */
|
|
21
19
|
valueSize?: ObcTextboxSize | undefined;
|
|
22
20
|
/** Accent (in-command) colour tone. */
|
|
23
21
|
enhanced?: boolean;
|
|
@@ -27,21 +25,23 @@ a secondary setpoint) can pass a smaller size without changing the tier. */
|
|
|
27
25
|
hasDegree?: boolean;
|
|
28
26
|
/** Show the leading marker-icon container (always on for setpoint/advice). */
|
|
29
27
|
hasIcon?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
`Number.prototype.toFixed` accepts; outside it throws a `RangeError`.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
`0.4` pass for a healthy `0`. */
|
|
28
|
+
/**
|
|
29
|
+
* Number of fraction digits. Must be between 0 and 100 — the range `Number.prototype.toFixed` accepts; outside it throws a `RangeError`. A fractional count truncates (`2.7` → `2`). A count that never arrived (`NaN`, `null` or unset) renders the reading as the unavailable dash — formatting with a precision the author never chose would let a critical `0.4` pass for a healthy `0`.
|
|
30
|
+
*
|
|
31
|
+
* Available when `valueType==number`.
|
|
32
|
+
*/
|
|
36
33
|
fractionDigits?: number;
|
|
37
|
-
/**
|
|
38
|
-
Bounded before use: a fractional count
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
dash, consistent with `fractionDigits`. */
|
|
34
|
+
/**
|
|
35
|
+
* Integer digits to reserve / hint (independent of `fractionDigits`). Bounded before use: a fractional count truncates (`2.7` → `2`), anything above 100 — including `Infinity` — caps at 100, and a negative count reserves nothing. A count that never arrived (`NaN`, `null` or unset) renders the reading as the unavailable dash, consistent with `fractionDigits`.
|
|
36
|
+
*
|
|
37
|
+
* Available when `valueType==number`.
|
|
38
|
+
*/
|
|
43
39
|
maxDigits?: number;
|
|
44
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Render muted leading zeros filling the integer part to `maxDigits`.
|
|
42
|
+
*
|
|
43
|
+
* Available when `valueType==number`.
|
|
44
|
+
*/
|
|
45
45
|
hintedZeros?: boolean;
|
|
46
46
|
/** Explicit longest string to reserve width for (e.g. `"0000.0"`). */
|
|
47
47
|
spaceReserver?: string | undefined;
|
|
@@ -53,10 +53,11 @@ dash, consistent with `fractionDigits`. */
|
|
|
53
53
|
alignment?: ObcTextboxAlignment;
|
|
54
54
|
/** [object Object],[object Object],[object Object] */
|
|
55
55
|
category?: ReadoutAdviceCategory;
|
|
56
|
-
/**
|
|
57
|
-
the number takes the category's triggered styling (SemiBold for
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
/**
|
|
57
|
+
* The advice is triggered: the marker swaps to its filled/status icon and the number takes the category's triggered styling (SemiBold for regular/optimal/eco, active text colour for the alert categories). Only meaningful for `variant="advice"`.
|
|
58
|
+
*
|
|
59
|
+
* Available when `variant==advice`.
|
|
60
|
+
*/
|
|
60
61
|
active?: boolean;
|
|
61
62
|
/** Per-block measurement quality (outline chip). */
|
|
62
63
|
dataQuality?: ReadoutBlockDataQuality | undefined;
|
|
@@ -10,12 +10,8 @@
|
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
12
|
zoomToFitArc?: boolean;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
hasReadout?: boolean;
|
|
16
|
-
/** Colour palette for the scale fill / indicator and the readout value:
|
|
17
|
-
`regular` (default) or `enhanced`. */
|
|
18
|
-
priority?: Priority;
|
|
13
|
+
hasReadout?: boolean;
|
|
14
|
+
priority?: Priority;
|
|
19
15
|
/** Half-extent of the watch arc in degrees. The arc spans `centre ± arcAngle`
|
|
20
16
|
and values are placed at their true position within it. Default `45`
|
|
21
17
|
reproduces the historical 90°-wide arc.
|
|
@@ -5,11 +5,7 @@ export interface Props {
|
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
7
|
zoomToFitArc?: boolean;
|
|
8
|
-
/** When `true`, the centre shows an `<obc-readout>` with the value instead of
|
|
9
|
-
the horizon line, rotating indicator and vessel. Default `false`. */
|
|
10
8
|
hasReadout?: boolean;
|
|
11
|
-
/** Colour palette for the scale fill / indicator and the readout value:
|
|
12
|
-
`regular` (default) or `enhanced`. */
|
|
13
9
|
priority?: Priority;
|
|
14
10
|
/** Half-extent of the watch arc in degrees. The arc spans `centre ± arcAngle`
|
|
15
11
|
and values are placed at their true position within it. Default `45`
|