@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
|
@@ -31,7 +31,11 @@ regardless of instrument state. */
|
|
|
31
31
|
minValue?: number;
|
|
32
32
|
/** Maximum scale value (manual mode) */
|
|
33
33
|
maxValue?: number;
|
|
34
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Total width in pixels (including padding bands)
|
|
36
|
+
*
|
|
37
|
+
* Available when `fixedAspectRatio==false`.
|
|
38
|
+
*/
|
|
35
39
|
width?: number;
|
|
36
40
|
/** Padding left of the drawing area */
|
|
37
41
|
paddingLeft?: number;
|
|
@@ -39,13 +43,13 @@ regardless of instrument state. */
|
|
|
39
43
|
paddingRight?: number;
|
|
40
44
|
/** Which side this scale lives on */
|
|
41
45
|
side?: ExternalScaleSide;
|
|
42
|
-
/** When true, freezes all internal calculations and scales the entire component
|
|
43
|
-
proportionally (like CSS transform:scale), except label font-size remains constant.
|
|
44
|
-
When false (default), dimensions react to component properties. */
|
|
46
|
+
/** When true, freezes all internal calculations and scales the entire component proportionally (like CSS transform:scale), except label font-size remains constant. When false (default), dimensions react to component properties. */
|
|
45
47
|
fixedAspectRatio?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
At this width, the scale renders at native 1:1 (matches Figma design).
|
|
48
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Reference size for proportional scaling when fixedAspectRatio is true. At this width, the scale renders at native 1:1 (matches Figma design). Above this width, the scale grows proportionally; below, it shrinks.
|
|
50
|
+
*
|
|
51
|
+
* Available when `fixedAspectRatio==true`.
|
|
52
|
+
*/
|
|
49
53
|
scaleReferenceSize?: number;
|
|
50
54
|
/** Show scale tickmarks */
|
|
51
55
|
hasScale?: boolean;
|
|
@@ -54,62 +58,109 @@ Above this width, the scale grows proportionally; below, it shrinks. */
|
|
|
54
58
|
hasBar?: boolean;
|
|
55
59
|
/** Show background behind the scale tickmarks. */
|
|
56
60
|
scaleBackground?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
When undefined, defaults based on scaleBackground.
|
|
59
|
-
|
|
61
|
+
/**
|
|
62
|
+
* Bar container background style. When undefined, defaults based on scaleBackground. Set explicitly to override: 'primary' (lighter) or 'secondary' (gray).
|
|
63
|
+
*
|
|
64
|
+
* Available when `hasBar==true`.
|
|
65
|
+
*/
|
|
60
66
|
barContainerStyle?: BarContainerStyle | undefined;
|
|
61
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Bar/fill thickness in pixels
|
|
69
|
+
*
|
|
70
|
+
* Available when `hasBar==true`.
|
|
71
|
+
*/
|
|
62
72
|
barThickness?: number;
|
|
63
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Tickmark band thickness in pixels.
|
|
75
|
+
*
|
|
76
|
+
* Available when `hasScale==true`.
|
|
77
|
+
*/
|
|
64
78
|
tickThickness?: number;
|
|
65
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Label band thickness in pixels.
|
|
81
|
+
*
|
|
82
|
+
* Available when `showLabels==true`.
|
|
83
|
+
*/
|
|
66
84
|
labelThickness?: number;
|
|
67
|
-
/**
|
|
68
|
-
When empty array [], defaults to [minValue, 0, maxValue].
|
|
85
|
+
/**
|
|
86
|
+
* Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue].
|
|
87
|
+
*
|
|
88
|
+
* Available when `hasScale==true`.
|
|
89
|
+
*/
|
|
69
90
|
mainTickmarks?: number[] | undefined;
|
|
70
|
-
/**
|
|
71
|
-
When undefined, no primary tickmarks are shown.
|
|
91
|
+
/**
|
|
92
|
+
* Interval for primary (longest) tickmarks with labels (minimum 1). When undefined, no primary tickmarks are shown.
|
|
93
|
+
*
|
|
94
|
+
* Available when `hasScale==true || showLabels==true`.
|
|
95
|
+
*/
|
|
72
96
|
primaryTickmarkInterval?: number | undefined;
|
|
73
|
-
/**
|
|
74
|
-
When undefined, no secondary tickmarks are shown.
|
|
97
|
+
/**
|
|
98
|
+
* Interval for secondary (medium) tickmarks (minimum 1). When undefined, no secondary tickmarks are shown.
|
|
99
|
+
*
|
|
100
|
+
* Available when `hasScale==true`.
|
|
101
|
+
*/
|
|
75
102
|
secondaryTickmarkInterval?: number | undefined;
|
|
76
|
-
/**
|
|
77
|
-
When undefined, no tertiary tickmarks are shown.
|
|
103
|
+
/**
|
|
104
|
+
* Interval for tertiary (shortest) tickmarks (minimum 1). When undefined, no tertiary tickmarks are shown.
|
|
105
|
+
*
|
|
106
|
+
* Available when `hasScale==true`.
|
|
107
|
+
*/
|
|
78
108
|
tertiaryTickmarkInterval?: number | undefined;
|
|
79
109
|
/** Scale display mode: regular or condensed (shorter ticks) */
|
|
80
110
|
scaleType?: ScaleType;
|
|
81
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Frame style: regular (4px gap for all), flat (main tickmarks touch edge), framed, or instrument
|
|
113
|
+
*
|
|
114
|
+
* Available when `hasScale==true && mainTickmarks!=undefined`.
|
|
115
|
+
*/
|
|
82
116
|
frameStyle?: FrameStyle;
|
|
83
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Border radius position based on component layout
|
|
119
|
+
*
|
|
120
|
+
* Available when `hasBar==true`.
|
|
121
|
+
*/
|
|
84
122
|
borderRadiusPosition?: BorderRadiusPosition | undefined;
|
|
85
|
-
/** When true, the component is used inside an instrument (e.g., gauge-trend).
|
|
86
|
-
In this mode, only label font size responds to .obc-component-size-* CSS classes.
|
|
87
|
-
Border radius and bar thickness use explicit values or defaults, not CSS variables. */
|
|
123
|
+
/** When true, the component 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 and bar thickness use explicit values or defaults, not CSS variables. */
|
|
88
124
|
instrumentMode?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed).
|
|
91
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed). When instrumentMode=false, this is ignored and border radius is read from CSS variable.
|
|
127
|
+
*
|
|
128
|
+
* Available when `instrumentMode==true`.
|
|
129
|
+
*/
|
|
92
130
|
borderRadius?: number | undefined;
|
|
93
131
|
/** Color priority: enhanced uses blue instrument colors for bar fill and setpoint */
|
|
94
132
|
priority?: Priority;
|
|
95
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Fill visualization mode: fill or tint
|
|
135
|
+
*
|
|
136
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
137
|
+
*/
|
|
96
138
|
fillMode?: FillMode;
|
|
97
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* Minimum fill value for tint mode (defaults to 0)
|
|
141
|
+
*
|
|
142
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
143
|
+
*/
|
|
98
144
|
fillMin?: number | undefined;
|
|
99
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* Maximum fill value for tint mode (defaults to value)
|
|
147
|
+
*
|
|
148
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
149
|
+
*/
|
|
100
150
|
fillMax?: number | undefined;
|
|
101
151
|
/** Current value (bar fill level) */
|
|
102
152
|
value?: number | undefined;
|
|
103
153
|
/** Instrument state (affects colors and some marker behavior) */
|
|
104
154
|
state?: InstrumentState;
|
|
105
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap)
|
|
157
|
+
*
|
|
158
|
+
* Available when `hasBar==true && advices!=undefined`.
|
|
159
|
+
*/
|
|
106
160
|
advicePosition?: AdvicePosition;
|
|
107
|
-
/** Advice/alert overlays with state and positioning.
|
|
108
|
-
When undefined or empty, no advice shown. */
|
|
161
|
+
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
109
162
|
advices?: LinearAdvice[] | undefined;
|
|
110
|
-
/** When true, displays a dot indicator at the current value position.
|
|
111
|
-
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
112
|
-
This provides an alternative to bar fill for highlighting the current value. */
|
|
163
|
+
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
113
164
|
highlightCurrentValue?: boolean;
|
|
114
165
|
}
|
|
115
166
|
export interface Events {
|
|
@@ -34,90 +34,105 @@ regardless of instrument state. */
|
|
|
34
34
|
setpointOverride?: boolean;
|
|
35
35
|
/** Enable CSS-animated confirm transition. */
|
|
36
36
|
animateSetpoint?: boolean;
|
|
37
|
-
|
|
38
|
-
minValue?: number;
|
|
39
|
-
|
|
40
|
-
maxValue?: number;
|
|
41
|
-
|
|
42
|
-
height?: number;
|
|
43
|
-
|
|
44
|
-
paddingTop?: number;
|
|
45
|
-
|
|
46
|
-
paddingBottom?: number;
|
|
47
|
-
|
|
48
|
-
side?: ExternalScaleSide;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
fixedAspectRatio
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
scaleReferenceSize?: number;
|
|
57
|
-
|
|
58
|
-
hasScale?: boolean;
|
|
37
|
+
/** Minimum scale value (manual mode) */
|
|
38
|
+
minValue?: number;
|
|
39
|
+
/** Maximum scale value (manual mode) */
|
|
40
|
+
maxValue?: number;
|
|
41
|
+
/** Total height in pixels (including padding bands) */
|
|
42
|
+
height?: number;
|
|
43
|
+
/** Padding above the drawing area */
|
|
44
|
+
paddingTop?: number;
|
|
45
|
+
/** Padding below the drawing area */
|
|
46
|
+
paddingBottom?: number;
|
|
47
|
+
/** Which side this scale lives on */
|
|
48
|
+
side?: ExternalScaleSide;
|
|
49
|
+
/** When true, freezes all internal calculations and scales the entire component proportionally (like CSS transform:scale), except label font-size remains constant. When false (default), dimensions react to component properties. */
|
|
50
|
+
fixedAspectRatio?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Reference size for proportional scaling when fixedAspectRatio is true. At this height, the scale renders at native 1:1 (matches Figma design). Above this height, the scale grows proportionally; below, it shrinks.
|
|
53
|
+
*
|
|
54
|
+
* Available when `fixedAspectRatio==true`.
|
|
55
|
+
*/
|
|
56
|
+
scaleReferenceSize?: number;
|
|
57
|
+
/** Show scale tickmarks */
|
|
58
|
+
hasScale?: boolean;
|
|
59
59
|
showLabels?: boolean;
|
|
60
|
-
|
|
61
|
-
hasBar?: boolean;
|
|
62
|
-
|
|
63
|
-
scaleBackground?: boolean;
|
|
64
|
-
|
|
65
|
-
When undefined, defaults based on scaleBackground.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
When undefined, no primary tickmarks are shown. */
|
|
79
|
-
primaryTickmarkInterval?: number | undefined;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
Border radius and bar thickness use explicit values or defaults, not CSS variables. */
|
|
95
|
-
instrumentMode?: boolean;
|
|
96
|
-
|
|
97
|
-
When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed).
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
60
|
+
/** Show bar */
|
|
61
|
+
hasBar?: boolean;
|
|
62
|
+
/** Show background behind the scale tickmarks. */
|
|
63
|
+
scaleBackground?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Bar container background style. When undefined, defaults based on scaleBackground. Set explicitly to override: 'primary' (lighter) or 'secondary' (gray).
|
|
66
|
+
*
|
|
67
|
+
* Available when `hasBar==true`.
|
|
68
|
+
*/
|
|
69
|
+
barContainerStyle?: BarContainerStyle | undefined;
|
|
70
|
+
/** Bar/fill thickness in pixels */
|
|
71
|
+
barThickness?: number;
|
|
72
|
+
/** Tickmark band thickness in pixels. */
|
|
73
|
+
tickThickness?: number;
|
|
74
|
+
/** Label band thickness in pixels. */
|
|
75
|
+
labelThickness?: number;
|
|
76
|
+
/** Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue]. */
|
|
77
|
+
mainTickmarks?: number[] | undefined;
|
|
78
|
+
/** Interval for primary (longest) tickmarks with labels (minimum 1). When undefined, no primary tickmarks are shown. */
|
|
79
|
+
primaryTickmarkInterval?: number | undefined;
|
|
80
|
+
/** Interval for secondary (medium) tickmarks (minimum 1). When undefined, no secondary tickmarks are shown. */
|
|
81
|
+
secondaryTickmarkInterval?: number | undefined;
|
|
82
|
+
/** Interval for tertiary (shortest) tickmarks (minimum 1). When undefined, no tertiary tickmarks are shown. */
|
|
83
|
+
tertiaryTickmarkInterval?: number | undefined;
|
|
84
|
+
/** Scale display mode: regular or condensed (shorter ticks) */
|
|
85
|
+
scaleType?: ScaleType;
|
|
86
|
+
/** Frame style: regular (4px gap for all), flat (main tickmarks touch edge), framed, or instrument */
|
|
87
|
+
frameStyle?: FrameStyle;
|
|
88
|
+
/**
|
|
89
|
+
* Border radius position based on component layout
|
|
90
|
+
*
|
|
91
|
+
* Available when `hasBar==true`.
|
|
92
|
+
*/
|
|
93
|
+
borderRadiusPosition?: BorderRadiusPosition | undefined;
|
|
94
|
+
/** When true, the component 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 and bar thickness use explicit values or defaults, not CSS variables. */
|
|
95
|
+
instrumentMode?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed). When instrumentMode=false, this is ignored and border radius is read from CSS variable.
|
|
98
|
+
*
|
|
99
|
+
* Available when `instrumentMode==true`.
|
|
100
|
+
*/
|
|
101
|
+
borderRadius?: number | undefined;
|
|
102
|
+
/** Color priority: enhanced uses blue instrument colors for bar fill and setpoint */
|
|
103
|
+
priority?: Priority;
|
|
104
|
+
/**
|
|
105
|
+
* Fill visualization mode: fill or tint
|
|
106
|
+
*
|
|
107
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
108
|
+
*/
|
|
109
|
+
fillMode?: FillMode;
|
|
110
|
+
/**
|
|
111
|
+
* Minimum fill value for tint mode (defaults to 0)
|
|
112
|
+
*
|
|
113
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
114
|
+
*/
|
|
115
|
+
fillMin?: number | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* Maximum fill value for tint mode (defaults to value)
|
|
118
|
+
*
|
|
119
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
120
|
+
*/
|
|
121
|
+
fillMax?: number | undefined;
|
|
122
|
+
/** Current value (bar fill level) */
|
|
123
|
+
value?: number | undefined;
|
|
124
|
+
/** Instrument state (affects colors and some marker behavior) */
|
|
125
|
+
state?: InstrumentState;
|
|
126
|
+
/**
|
|
127
|
+
* Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap)
|
|
128
|
+
*
|
|
129
|
+
* Available when `hasBar==true`.
|
|
130
|
+
*/
|
|
131
|
+
advicePosition?: AdvicePosition;
|
|
132
|
+
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
133
|
+
advices?: LinearAdvice[] | undefined;
|
|
134
|
+
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
135
|
+
highlightCurrentValue?: boolean
|
|
121
136
|
}
|
|
122
137
|
export interface Events {
|
|
123
138
|
onScaleDimensionsChanged?: (event: CustomEvent) => void
|
|
@@ -39,13 +39,13 @@ regardless of instrument state. */
|
|
|
39
39
|
paddingBottom?: number;
|
|
40
40
|
/** Which side this scale lives on */
|
|
41
41
|
side?: ExternalScaleSide;
|
|
42
|
-
/** When true, freezes all internal calculations and scales the entire component
|
|
43
|
-
proportionally (like CSS transform:scale), except label font-size remains constant.
|
|
44
|
-
When false (default), dimensions react to component properties. */
|
|
42
|
+
/** When true, freezes all internal calculations and scales the entire component proportionally (like CSS transform:scale), except label font-size remains constant. When false (default), dimensions react to component properties. */
|
|
45
43
|
fixedAspectRatio?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
At this height, the scale renders at native 1:1 (matches Figma design).
|
|
48
|
-
|
|
44
|
+
/**
|
|
45
|
+
* Reference size for proportional scaling when fixedAspectRatio is true. At this height, the scale renders at native 1:1 (matches Figma design). Above this height, the scale grows proportionally; below, it shrinks.
|
|
46
|
+
*
|
|
47
|
+
* Available when `fixedAspectRatio==true`.
|
|
48
|
+
*/
|
|
49
49
|
scaleReferenceSize?: number;
|
|
50
50
|
/** Show scale tickmarks */
|
|
51
51
|
hasScale?: boolean;
|
|
@@ -54,9 +54,11 @@ Above this height, the scale grows proportionally; below, it shrinks. */
|
|
|
54
54
|
hasBar?: boolean;
|
|
55
55
|
/** Show background behind the scale tickmarks. */
|
|
56
56
|
scaleBackground?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
When undefined, defaults based on scaleBackground.
|
|
59
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Bar container background style. When undefined, defaults based on scaleBackground. Set explicitly to override: 'primary' (lighter) or 'secondary' (gray).
|
|
59
|
+
*
|
|
60
|
+
* Available when `hasBar==true`.
|
|
61
|
+
*/
|
|
60
62
|
barContainerStyle?: BarContainerStyle | undefined;
|
|
61
63
|
/** Bar/fill thickness in pixels */
|
|
62
64
|
barThickness?: number;
|
|
@@ -64,52 +66,65 @@ Set explicitly to override: 'primary' (lighter) or 'secondary' (gray). */
|
|
|
64
66
|
tickThickness?: number;
|
|
65
67
|
/** Label band thickness in pixels. */
|
|
66
68
|
labelThickness?: number;
|
|
67
|
-
/** Array of values for main tickmarks. When undefined, no main tickmarks shown.
|
|
68
|
-
When empty array [], defaults to [minValue, 0, maxValue]. */
|
|
69
|
+
/** Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue]. */
|
|
69
70
|
mainTickmarks?: number[] | undefined;
|
|
70
|
-
/** Interval for primary (longest) tickmarks with labels (minimum 1).
|
|
71
|
-
When undefined, no primary tickmarks are shown. */
|
|
71
|
+
/** Interval for primary (longest) tickmarks with labels (minimum 1). When undefined, no primary tickmarks are shown. */
|
|
72
72
|
primaryTickmarkInterval?: number | undefined;
|
|
73
|
-
/** Interval for secondary (medium) tickmarks (minimum 1).
|
|
74
|
-
When undefined, no secondary tickmarks are shown. */
|
|
73
|
+
/** Interval for secondary (medium) tickmarks (minimum 1). When undefined, no secondary tickmarks are shown. */
|
|
75
74
|
secondaryTickmarkInterval?: number | undefined;
|
|
76
|
-
/** Interval for tertiary (shortest) tickmarks (minimum 1).
|
|
77
|
-
When undefined, no tertiary tickmarks are shown. */
|
|
75
|
+
/** Interval for tertiary (shortest) tickmarks (minimum 1). When undefined, no tertiary tickmarks are shown. */
|
|
78
76
|
tertiaryTickmarkInterval?: number | undefined;
|
|
79
77
|
/** Scale display mode: regular or condensed (shorter ticks) */
|
|
80
78
|
scaleType?: ScaleType;
|
|
81
79
|
/** Frame style: regular (4px gap for all), flat (main tickmarks touch edge), framed, or instrument */
|
|
82
80
|
frameStyle?: FrameStyle;
|
|
83
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Border radius position based on component layout
|
|
83
|
+
*
|
|
84
|
+
* Available when `hasBar==true`.
|
|
85
|
+
*/
|
|
84
86
|
borderRadiusPosition?: BorderRadiusPosition | undefined;
|
|
85
|
-
/** When true, the component is used inside an instrument (e.g., gauge-trend).
|
|
86
|
-
In this mode, only label font size responds to .obc-component-size-* CSS classes.
|
|
87
|
-
Border radius and bar thickness use explicit values or defaults, not CSS variables. */
|
|
87
|
+
/** When true, the component 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 and bar thickness use explicit values or defaults, not CSS variables. */
|
|
88
88
|
instrumentMode?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed).
|
|
91
|
-
|
|
89
|
+
/**
|
|
90
|
+
* Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed). When instrumentMode=false, this is ignored and border radius is read from CSS variable.
|
|
91
|
+
*
|
|
92
|
+
* Available when `instrumentMode==true`.
|
|
93
|
+
*/
|
|
92
94
|
borderRadius?: number | undefined;
|
|
93
95
|
/** Color priority: enhanced uses blue instrument colors for bar fill and setpoint */
|
|
94
96
|
priority?: Priority;
|
|
95
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Fill visualization mode: fill or tint
|
|
99
|
+
*
|
|
100
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
101
|
+
*/
|
|
96
102
|
fillMode?: FillMode;
|
|
97
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Minimum fill value for tint mode (defaults to 0)
|
|
105
|
+
*
|
|
106
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
107
|
+
*/
|
|
98
108
|
fillMin?: number | undefined;
|
|
99
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Maximum fill value for tint mode (defaults to value)
|
|
111
|
+
*
|
|
112
|
+
* Available when `hasBar==true && value!=undefined`.
|
|
113
|
+
*/
|
|
100
114
|
fillMax?: number | undefined;
|
|
101
115
|
/** Current value (bar fill level) */
|
|
102
116
|
value?: number | undefined;
|
|
103
117
|
/** Instrument state (affects colors and some marker behavior) */
|
|
104
118
|
state?: InstrumentState;
|
|
105
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap)
|
|
121
|
+
*
|
|
122
|
+
* Available when `hasBar==true`.
|
|
123
|
+
*/
|
|
106
124
|
advicePosition?: AdvicePosition;
|
|
107
|
-
/** Advice/alert overlays with state and positioning.
|
|
108
|
-
When undefined or empty, no advice shown. */
|
|
125
|
+
/** Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. */
|
|
109
126
|
advices?: LinearAdvice[] | undefined;
|
|
110
|
-
/** When true, displays a dot indicator at the current value position.
|
|
111
|
-
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
112
|
-
This provides an alternative to bar fill for highlighting the current value. */
|
|
127
|
+
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
113
128
|
highlightCurrentValue?: boolean;
|
|
114
129
|
}
|
|
115
130
|
export interface Events {
|