@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.
Files changed (325) hide show
  1. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -4
  2. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +7 -1
  3. package/dist/ar/poi/ObcPoi.svelte +6 -0
  4. package/dist/ar/poi/ObcPoi.svelte.d.ts +6 -0
  5. package/dist/ar/poi-button/ObcPoiButtonAton.svelte +1 -0
  6. package/dist/ar/poi-button/ObcPoiButtonAton.svelte.d.ts +1 -0
  7. package/dist/ar/poi-button/ObcPoiButtonData.svelte +1 -0
  8. package/dist/ar/poi-button/ObcPoiButtonData.svelte.d.ts +1 -0
  9. package/dist/ar/poi-button/ObcPoiButtonVessel.svelte +1 -0
  10. package/dist/ar/poi-button/ObcPoiButtonVessel.svelte.d.ts +1 -0
  11. package/dist/ar/poi-card/ObcPoiCard.svelte +42 -16
  12. package/dist/ar/poi-card/ObcPoiCard.svelte.d.ts +32 -6
  13. package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte +31 -10
  14. package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte.d.ts +26 -5
  15. package/dist/ar/poi-object/ObcPoiObject.svelte +1 -0
  16. package/dist/ar/poi-object/ObcPoiObject.svelte.d.ts +1 -0
  17. package/dist/automation/analog-valve/ObcAnalogValve.svelte +13 -0
  18. package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +13 -0
  19. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +12 -0
  20. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +12 -0
  21. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +13 -0
  22. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +13 -0
  23. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +12 -0
  24. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +12 -0
  25. package/dist/automation/automation-button/ObcAutomationButton.svelte +17 -4
  26. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +13 -0
  27. package/dist/automation/automation-tank/ObcAutomationTank.svelte +22 -45
  28. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +10 -33
  29. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +12 -0
  30. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +12 -0
  31. package/dist/automation/bus/ObcBus.svelte +10 -10
  32. package/dist/automation/capacitor/ObcCapacitor.svelte +12 -0
  33. package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +12 -0
  34. package/dist/automation/converter/ObcConverter.svelte +12 -0
  35. package/dist/automation/converter/ObcConverter.svelte.d.ts +12 -0
  36. package/dist/automation/damper/ObcDamper.svelte +12 -0
  37. package/dist/automation/damper/ObcDamper.svelte.d.ts +12 -0
  38. package/dist/automation/digital-valve/ObcDigitalValve.svelte +12 -0
  39. package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +12 -0
  40. package/dist/automation/diodes/ObcDiodes.svelte +12 -0
  41. package/dist/automation/diodes/ObcDiodes.svelte.d.ts +12 -0
  42. package/dist/automation/fan/ObcFan.svelte +13 -0
  43. package/dist/automation/fan/ObcFan.svelte.d.ts +13 -0
  44. package/dist/automation/filter/ObcFilter.svelte +12 -0
  45. package/dist/automation/filter/ObcFilter.svelte.d.ts +12 -0
  46. package/dist/automation/ground/ObcGround.svelte +12 -0
  47. package/dist/automation/ground/ObcGround.svelte.d.ts +12 -0
  48. package/dist/automation/indicator-battery/ObcIndicatorBattery.svelte +4 -4
  49. package/dist/automation/indicator-generator/ObcIndicatorGenerator.svelte +4 -4
  50. package/dist/automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte +4 -4
  51. package/dist/automation/logic/ObcLogic.svelte +12 -0
  52. package/dist/automation/logic/ObcLogic.svelte.d.ts +12 -0
  53. package/dist/automation/mosfet/ObcMosfet.svelte +12 -0
  54. package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +12 -0
  55. package/dist/automation/motor/ObcMotor.svelte +13 -0
  56. package/dist/automation/motor/ObcMotor.svelte.d.ts +13 -0
  57. package/dist/automation/pump/ObcPump.svelte +13 -0
  58. package/dist/automation/pump/ObcPump.svelte.d.ts +13 -0
  59. package/dist/automation/resistor/ObcResistor.svelte +12 -0
  60. package/dist/automation/resistor/ObcResistor.svelte.d.ts +12 -0
  61. package/dist/automation/router/ObcRouter.svelte +12 -0
  62. package/dist/automation/router/ObcRouter.svelte.d.ts +12 -0
  63. package/dist/automation/source/ObcSource.svelte +12 -0
  64. package/dist/automation/source/ObcSource.svelte.d.ts +12 -0
  65. package/dist/automation/switch/ObcSwitch.svelte +12 -0
  66. package/dist/automation/switch/ObcSwitch.svelte.d.ts +12 -0
  67. package/dist/automation/transformer/ObcTransformer.svelte +12 -0
  68. package/dist/automation/transformer/ObcTransformer.svelte.d.ts +12 -0
  69. package/dist/automation/transmitter/ObcTransmitter.svelte +14 -14
  70. package/dist/automation/transmitter-button/ObcTransmitterButton.svelte +8 -8
  71. package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte +1 -0
  72. package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte.d.ts +1 -0
  73. package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +82 -82
  74. package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +26 -26
  75. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +34 -30
  76. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +5 -1
  77. package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +80 -79
  78. package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +25 -24
  79. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +26 -22
  80. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +6 -2
  81. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +34 -26
  82. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +10 -2
  83. package/dist/bars-graphs/radial-bar-chart/ObcRadialBarChart.svelte +16 -16
  84. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +134 -83
  85. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +89 -38
  86. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +98 -83
  87. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +48 -33
  88. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +80 -79
  89. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +25 -24
  90. package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +16 -19
  91. package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +11 -14
  92. package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte +54 -53
  93. package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte.d.ts +21 -20
  94. package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte +2 -6
  95. package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte.d.ts +0 -4
  96. package/dist/components/accordion-card/ObcAccordionCard.svelte +44 -27
  97. package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +25 -8
  98. package/dist/components/accordion-item/ObcAccordionItem.svelte +8 -10
  99. package/dist/components/accordion-item/ObcAccordionItem.svelte.d.ts +2 -4
  100. package/dist/components/advice-button/ObcAdviceButton.svelte +12 -12
  101. package/dist/components/advice-button/ObcAdviceButton.svelte.d.ts +8 -8
  102. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +8 -13
  103. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +4 -9
  104. package/dist/components/advice-menu-item/ObcAdviceMenuItem.svelte +4 -4
  105. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +66 -33
  106. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +55 -22
  107. package/dist/components/alert-button/ObcAlertButton.svelte +6 -2
  108. package/dist/components/alert-button/ObcAlertButton.svelte.d.ts +5 -1
  109. package/dist/components/alert-frame/ObcAlertFrame.svelte +12 -14
  110. package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +2 -4
  111. package/dist/components/alert-icon/ObcAlertIcon.svelte +2 -0
  112. package/dist/components/alert-icon/ObcAlertIcon.svelte.d.ts +2 -0
  113. package/dist/components/alert-list-details/ObcAlertListDetails.svelte +1 -0
  114. package/dist/components/alert-list-details/ObcAlertListDetails.svelte.d.ts +1 -0
  115. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +22 -35
  116. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +6 -19
  117. package/dist/components/app-button/ObcAppButton.svelte +6 -6
  118. package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte +36 -24
  119. package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte.d.ts +15 -3
  120. package/dist/components/audio-output/ObcAudioOutput.svelte +4 -6
  121. package/dist/components/audio-output/ObcAudioOutput.svelte.d.ts +2 -4
  122. package/dist/components/audio-recording-item/ObcAudioRecordingItem.svelte +12 -14
  123. package/dist/components/audio-recording-item/ObcAudioRecordingItem.svelte.d.ts +2 -4
  124. package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +26 -28
  125. package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte.d.ts +2 -4
  126. package/dist/components/button/ObcButton.svelte +12 -16
  127. package/dist/components/button/ObcButton.svelte.d.ts +4 -8
  128. package/dist/components/calendar/ObcCalendar.svelte +2 -0
  129. package/dist/components/calendar/ObcCalendar.svelte.d.ts +2 -0
  130. package/dist/components/chat-message/ObcChatMessage.svelte +3 -0
  131. package/dist/components/chat-message/ObcChatMessage.svelte.d.ts +3 -0
  132. package/dist/components/check-button/ObcCheckButton.svelte +28 -17
  133. package/dist/components/check-button/ObcCheckButton.svelte.d.ts +21 -10
  134. package/dist/components/checkbox/ObcCheckbox.svelte +2 -2
  135. package/dist/components/checkbox-item/ObcCheckboxItem.svelte +2 -0
  136. package/dist/components/checkbox-item/ObcCheckboxItem.svelte.d.ts +2 -0
  137. package/dist/components/clock/ObcClock.svelte +15 -18
  138. package/dist/components/clock/ObcClock.svelte.d.ts +8 -11
  139. package/dist/components/command-menu/ObcCommandMenu.svelte +4 -6
  140. package/dist/components/command-menu/ObcCommandMenu.svelte.d.ts +2 -4
  141. package/dist/components/context-menu-input/ObcContextMenuInput.svelte +6 -2
  142. package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +5 -1
  143. package/dist/components/date-item/ObcDateItem.svelte +10 -15
  144. package/dist/components/date-item/ObcDateItem.svelte.d.ts +4 -9
  145. package/dist/components/dropdown-button/ObcDropdownButton.svelte +12 -13
  146. package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +2 -3
  147. package/dist/components/elevated-card/ObcElevatedCard.svelte +30 -34
  148. package/dist/components/elevated-card/ObcElevatedCard.svelte.d.ts +18 -22
  149. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +20 -24
  150. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +4 -8
  151. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +8 -8
  152. package/dist/components/event-item/ObcEventItem.svelte +3 -0
  153. package/dist/components/event-item/ObcEventItem.svelte.d.ts +3 -0
  154. package/dist/components/event-list/ObcEventList.svelte +6 -8
  155. package/dist/components/event-list/ObcEventList.svelte.d.ts +2 -4
  156. package/dist/components/filter-chip/ObcFilterChip.svelte +8 -8
  157. package/dist/components/floating-item/ObcFloatingItem.svelte +16 -14
  158. package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +12 -10
  159. package/dist/components/form-footer-container/ObcFormFooterContainer.svelte +2 -2
  160. package/dist/components/form-item/ObcFormItem.svelte +3 -0
  161. package/dist/components/form-item/ObcFormItem.svelte.d.ts +3 -0
  162. package/dist/components/icon-button/ObcIconButton.svelte +18 -24
  163. package/dist/components/icon-button/ObcIconButton.svelte.d.ts +5 -11
  164. package/dist/components/input-chip/ObcInputChip.svelte +6 -9
  165. package/dist/components/input-chip/ObcInputChip.svelte.d.ts +3 -6
  166. package/dist/components/keyboard-full/ObcKeyboardFull.svelte +3 -3
  167. package/dist/components/keyboard-full/ObcKeyboardFull.svelte.d.ts +2 -2
  168. package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte +28 -20
  169. package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte.d.ts +10 -2
  170. package/dist/components/menu-button/ObcMenuButton.svelte +24 -36
  171. package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +11 -23
  172. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +2 -0
  173. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -0
  174. package/dist/components/modal-window/ObcModalWindow.svelte +10 -10
  175. package/dist/components/navigation-item/ObcNavigationItem.svelte +29 -29
  176. package/dist/components/navigation-item/ObcNavigationItem.svelte.d.ts +16 -16
  177. package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +18 -23
  178. package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte.d.ts +4 -9
  179. package/dist/components/navigation-menu/ObcNavigationMenu.svelte +8 -5
  180. package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +5 -2
  181. package/dist/components/notification-badge-button/ObcNotificationBadgeButton.svelte +14 -20
  182. package/dist/components/notification-badge-button/ObcNotificationBadgeButton.svelte.d.ts +6 -12
  183. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +8 -13
  184. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +4 -9
  185. package/dist/components/notification-menu-item/ObcNotificationMenuItem.svelte +4 -4
  186. package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +70 -36
  187. package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte.d.ts +57 -23
  188. package/dist/components/number-input-field/ObcNumberInputField.svelte +23 -23
  189. package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +8 -8
  190. package/dist/components/pivot-item-group/ObcPivotItemGroup.svelte +8 -7
  191. package/dist/components/pivot-item-group/ObcPivotItemGroup.svelte.d.ts +6 -5
  192. package/dist/components/progress-bar/ObcProgressBar.svelte +58 -24
  193. package/dist/components/progress-bar/ObcProgressBar.svelte.d.ts +45 -11
  194. package/dist/components/progress-button/ObcProgressButton.svelte +48 -24
  195. package/dist/components/progress-button/ObcProgressButton.svelte.d.ts +30 -6
  196. package/dist/components/progress-indicator-dots/ObcProgressIndicatorDots.svelte +6 -11
  197. package/dist/components/progress-indicator-dots/ObcProgressIndicatorDots.svelte.d.ts +3 -8
  198. package/dist/components/radio/ObcRadio.svelte +14 -19
  199. package/dist/components/radio/ObcRadio.svelte.d.ts +5 -10
  200. package/dist/components/rich-button/ObcRichButton.svelte +10 -10
  201. package/dist/components/sequence-card/ObcSequenceCard.svelte +8 -0
  202. package/dist/components/sequence-card/ObcSequenceCard.svelte.d.ts +8 -0
  203. package/dist/components/sequence-item/ObcSequenceItem.svelte +20 -10
  204. package/dist/components/sequence-item/ObcSequenceItem.svelte.d.ts +16 -6
  205. package/dist/components/sequence-step/ObcSequenceStep.svelte +12 -5
  206. package/dist/components/sequence-step/ObcSequenceStep.svelte.d.ts +10 -3
  207. package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte +1 -0
  208. package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte.d.ts +1 -0
  209. package/dist/components/slide-button/ObcSlideButton.svelte +8 -8
  210. package/dist/components/slider-double/ObcSliderDouble.svelte +24 -34
  211. package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +9 -19
  212. package/dist/components/split-button/ObcSplitButton.svelte +40 -42
  213. package/dist/components/split-button/ObcSplitButton.svelte.d.ts +25 -27
  214. package/dist/components/stepper-box/ObcStepperBox.svelte +20 -21
  215. package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +1 -2
  216. package/dist/components/system-button/ObcSystemButton.svelte +6 -7
  217. package/dist/components/system-button/ObcSystemButton.svelte.d.ts +1 -2
  218. package/dist/components/tab-item/ObcTabItem.svelte +5 -0
  219. package/dist/components/tab-item/ObcTabItem.svelte.d.ts +5 -0
  220. package/dist/components/tabbed-card/ObcTabbedCard.svelte +8 -9
  221. package/dist/components/tabbed-card/ObcTabbedCard.svelte.d.ts +1 -2
  222. package/dist/components/table/ObcTable.svelte +4 -0
  223. package/dist/components/table/ObcTable.svelte.d.ts +4 -0
  224. package/dist/components/table-header-item/ObcTableHeaderItem.svelte +1 -0
  225. package/dist/components/table-header-item/ObcTableHeaderItem.svelte.d.ts +1 -0
  226. package/dist/components/text-input-field/ObcTextInputField.svelte +17 -15
  227. package/dist/components/text-input-field/ObcTextInputField.svelte.d.ts +4 -2
  228. package/dist/components/textarea-field/ObcTextareaField.svelte +64 -51
  229. package/dist/components/textarea-field/ObcTextareaField.svelte.d.ts +27 -14
  230. package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte +26 -21
  231. package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte.d.ts +12 -7
  232. package/dist/components/toggle-button-three-state/ObcToggleButtonThreeState.svelte +4 -4
  233. package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +14 -18
  234. package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte.d.ts +4 -8
  235. package/dist/components/toggle-switch/ObcToggleSwitch.svelte +20 -21
  236. package/dist/components/toggle-switch/ObcToggleSwitch.svelte.d.ts +9 -10
  237. package/dist/components/toggletip/ObcToggletip.svelte +34 -26
  238. package/dist/components/toggletip/ObcToggletip.svelte.d.ts +23 -15
  239. package/dist/components/top-bar/ObcTopBar.svelte +1 -0
  240. package/dist/components/top-bar/ObcTopBar.svelte.d.ts +1 -0
  241. package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +30 -10
  242. package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte.d.ts +25 -5
  243. package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +16 -20
  244. package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte.d.ts +3 -7
  245. package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +20 -27
  246. package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte.d.ts +5 -12
  247. package/dist/components/user-button/ObcUserButton.svelte +14 -7
  248. package/dist/components/user-button/ObcUserButton.svelte.d.ts +11 -4
  249. package/dist/components/user-menu/ObcUserMenu.svelte +60 -22
  250. package/dist/components/user-menu/ObcUserMenu.svelte.d.ts +46 -8
  251. package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +40 -40
  252. package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +28 -24
  253. package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte.d.ts +5 -1
  254. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +6 -6
  255. package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte +22 -16
  256. package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte.d.ts +18 -12
  257. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +12 -0
  258. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +12 -0
  259. package/dist/navigation-instruments/compass/ObcCompass.svelte +95 -62
  260. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +60 -27
  261. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +52 -26
  262. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +38 -12
  263. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +45 -19
  264. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +39 -13
  265. package/dist/navigation-instruments/current/ObcCurrent.svelte +48 -23
  266. package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +35 -10
  267. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +1 -0
  268. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +1 -0
  269. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +8 -10
  270. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +2 -4
  271. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +34 -36
  272. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +1 -3
  273. package/dist/navigation-instruments/gauge-radial-proportional/ObcGaugeRadialProportional.svelte +20 -22
  274. package/dist/navigation-instruments/gauge-radial-proportional/ObcGaugeRadialProportional.svelte.d.ts +9 -11
  275. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +120 -111
  276. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +50 -41
  277. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +34 -36
  278. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +1 -3
  279. package/dist/navigation-instruments/graph-mini/ObcGraphMini.svelte +2 -2
  280. package/dist/navigation-instruments/heading/ObcHeading.svelte +27 -25
  281. package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +16 -14
  282. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +2 -2
  283. package/dist/navigation-instruments/heave/ObcHeave.svelte +5 -3
  284. package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +4 -2
  285. package/dist/navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte +2 -2
  286. package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte +36 -36
  287. package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -15
  288. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +3 -6
  289. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +32 -21
  290. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +25 -14
  291. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +33 -16
  292. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +25 -8
  293. package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte +25 -18
  294. package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte.d.ts +14 -7
  295. package/dist/navigation-instruments/position-deviation/ObcPositionDeviation.svelte +14 -14
  296. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +38 -28
  297. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +29 -19
  298. package/dist/navigation-instruments/readout/ObcReadout.svelte +45 -39
  299. package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +34 -28
  300. package/dist/navigation-instruments/readout-list/ObcReadoutList.svelte +2 -4
  301. package/dist/navigation-instruments/readout-list/ObcReadoutList.svelte.d.ts +1 -3
  302. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +26 -28
  303. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +19 -21
  304. package/dist/navigation-instruments/roll/ObcRoll.svelte +12 -15
  305. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +3 -6
  306. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +2 -4
  307. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +1 -3
  308. package/dist/navigation-instruments/rot-linear/ObcRotLinear.svelte +28 -18
  309. package/dist/navigation-instruments/rot-linear/ObcRotLinear.svelte.d.ts +17 -7
  310. package/dist/navigation-instruments/rudder/ObcRudder.svelte +4 -8
  311. package/dist/navigation-instruments/rudder/ObcRudder.svelte.d.ts +1 -5
  312. package/dist/navigation-instruments/speed-arrows/ObcSpeedArrows.svelte +3 -0
  313. package/dist/navigation-instruments/speed-arrows/ObcSpeedArrows.svelte.d.ts +3 -0
  314. package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte +44 -21
  315. package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte.d.ts +31 -8
  316. package/dist/navigation-instruments/thruster/ObcThruster.svelte +2 -0
  317. package/dist/navigation-instruments/thruster/ObcThruster.svelte.d.ts +2 -0
  318. package/dist/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.svelte +48 -25
  319. package/dist/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.svelte.d.ts +40 -17
  320. package/dist/navigation-instruments/watch/ObcWatch.svelte +78 -81
  321. package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +30 -33
  322. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +28 -13
  323. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +21 -6
  324. package/dist/navigation-instruments/wind/ObcWind.svelte +4 -4
  325. package/package.json +2 -2
@@ -13,24 +13,32 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
13
13
  export interface Props {
14
14
  class?: string;
15
15
  style?: string;
16
- /** Main title text displayed in the accordion header. */
17
- cardTitle?: string;
18
- /** Supporting description text shown under the title (only in large size and if `hasDescription` is true). */
19
- description?: string;
20
- /** Optional status label displayed in the header (shown if `hasStatusLabel` is true). */
21
- statusLabel?: string;
22
- /** Whether the accordion card is expanded (shows additional content). */
23
- expanded?: boolean;
24
- /** Disables the accordion card, preventing user interaction and dimming its appearance. */
25
- disabled?: boolean;
26
- /** Shows an alert overlay above the card when true. Configure appearance with `alertFrameType`, `alertFrameThickness`, and `alertFrameStatus`. */
27
- hasAlert?: boolean;
28
- /** Enables the description text in the header (only in large size). */
29
- hasDescription?: boolean;
30
- /** Enables the status label in the header. */
31
- hasStatusLabel?: boolean;
32
- /** Enables the leading icon slot in the header. */
33
- hasLeadingIcon?: boolean;
16
+ /** Main title text displayed in the accordion header. */
17
+ cardTitle?: string;
18
+ /**
19
+ * Supporting description text shown under the title (only in large size and if `hasDescription` is true).
20
+ *
21
+ * Available when `size==large && hasDescription==true`.
22
+ */
23
+ description?: string;
24
+ /**
25
+ * Optional status label displayed in the header (shown if `hasStatusLabel` is true).
26
+ *
27
+ * Available when `hasStatusLabel==true`.
28
+ */
29
+ statusLabel?: string;
30
+ /** Whether the accordion card is expanded (shows additional content). */
31
+ expanded?: boolean;
32
+ /** Disables the accordion card, preventing user interaction and dimming its appearance. */
33
+ disabled?: boolean;
34
+ /** Shows an alert overlay above the card when true. Configure appearance with `alertFrameType`, `alertFrameThickness`, and `alertFrameStatus`. */
35
+ hasAlert?: boolean;
36
+ /** Enables the description text in the header (only in large size). */
37
+ hasDescription?: boolean;
38
+ /** Enables the status label in the header. */
39
+ hasStatusLabel?: boolean;
40
+ /** Enables the leading icon slot in the header. */
41
+ hasLeadingIcon?: boolean;
34
42
  /** Controls border radius/edge styling for stacking multiple accordions.
35
43
  - `regular` (default): Standard border radius.
36
44
  - `top`: Flat bottom edge (for top of a stack).
@@ -41,15 +49,24 @@ position?: Position;
41
49
  - `single-line` (default): Compact header with only title.
42
50
  - `large`: Header includes a description beneath the title. */
43
51
  size?: AccordionSize;
44
- /** Type of the alert frame overlay (used when `hasAlert` is true).
45
- See `obc-alert-frame` for available types. */
46
- alertFrameType?: ObcAlertFrameType;
47
- /** Thickness of the alert frame overlay (used when `hasAlert` is true).
48
- See `obc-alert-frame` for available thickness values. */
49
- alertFrameThickness?: ObcAlertFrameThickness;
50
- /** Status of the alert frame overlay (used when `hasAlert` is true).
51
- See `obc-alert-frame` for available statuses. */
52
- alertFrameStatus?: AlertType
52
+ /**
53
+ * Type of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available types.
54
+ *
55
+ * Available when `hasAlert==true`.
56
+ */
57
+ alertFrameType?: ObcAlertFrameType;
58
+ /**
59
+ * Thickness of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available thickness values.
60
+ *
61
+ * Available when `hasAlert==true`.
62
+ */
63
+ alertFrameThickness?: ObcAlertFrameThickness;
64
+ /**
65
+ * Status of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available statuses.
66
+ *
67
+ * Available when `hasAlert==true`.
68
+ */
69
+ alertFrameStatus?: AlertType
53
70
  }
54
71
  export interface Events {
55
72
  onAccordionToggle?: (event: CustomEvent<{expanded: boolean, cardTitle: string}>) => void
@@ -8,9 +8,17 @@ export interface Props {
8
8
  style?: string;
9
9
  /** Main title text displayed in the accordion header. */
10
10
  cardTitle?: string;
11
- /** Supporting description text shown under the title (only in large size and if `hasDescription` is true). */
11
+ /**
12
+ * Supporting description text shown under the title (only in large size and if `hasDescription` is true).
13
+ *
14
+ * Available when `size==large && hasDescription==true`.
15
+ */
12
16
  description?: string;
13
- /** Optional status label displayed in the header (shown if `hasStatusLabel` is true). */
17
+ /**
18
+ * Optional status label displayed in the header (shown if `hasStatusLabel` is true).
19
+ *
20
+ * Available when `hasStatusLabel==true`.
21
+ */
14
22
  statusLabel?: string;
15
23
  /** Whether the accordion card is expanded (shows additional content). */
16
24
  expanded?: boolean;
@@ -34,14 +42,23 @@ export interface Props {
34
42
  - `single-line` (default): Compact header with only title.
35
43
  - `large`: Header includes a description beneath the title. */
36
44
  size?: AccordionSize;
37
- /** Type of the alert frame overlay (used when `hasAlert` is true).
38
- See `obc-alert-frame` for available types. */
45
+ /**
46
+ * Type of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available types.
47
+ *
48
+ * Available when `hasAlert==true`.
49
+ */
39
50
  alertFrameType?: ObcAlertFrameType;
40
- /** Thickness of the alert frame overlay (used when `hasAlert` is true).
41
- See `obc-alert-frame` for available thickness values. */
51
+ /**
52
+ * Thickness of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available thickness values.
53
+ *
54
+ * Available when `hasAlert==true`.
55
+ */
42
56
  alertFrameThickness?: ObcAlertFrameThickness;
43
- /** Status of the alert frame overlay (used when `hasAlert` is true).
44
- See `obc-alert-frame` for available statuses. */
57
+ /**
58
+ * Status of the alert frame overlay (used when `hasAlert` is true). See `obc-alert-frame` for available statuses.
59
+ *
60
+ * Available when `hasAlert==true`.
61
+ */
45
62
  alertFrameStatus?: AlertType;
46
63
  }
47
64
  export interface Events {
@@ -9,16 +9,14 @@
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- /** The label displayed in the header of the accordion item. */
13
- title?: string;
14
- /** Whether the item is expanded (shows the content area).
15
- Set to `true` to expand, `false` to collapse. */
16
- open?: boolean;
17
- /** Disables the accordion item, preventing user interaction and dimming the appearance. */
18
- disabled?: boolean;
19
- /** Displays a divider line below the item for visual separation.
20
- Useful when stacking multiple items in a list. */
21
- showDivider?: boolean
12
+ /** The label displayed in the header of the accordion item. */
13
+ title?: string;
14
+ /** Whether the item is expanded (shows the content area). Set to `true` to expand, `false` to collapse. */
15
+ open?: boolean;
16
+ /** Disables the accordion item, preventing user interaction and dimming the appearance. */
17
+ disabled?: boolean;
18
+ /** Displays a divider line below the item for visual separation. Useful when stacking multiple items in a list. */
19
+ showDivider?: boolean
22
20
  }
23
21
  export interface Events {
24
22
  onAccordionItemToggle?: (event: CustomEvent<{open: boolean, title: string}>) => void
@@ -5,13 +5,11 @@ export interface Props {
5
5
  style?: string;
6
6
  /** The label displayed in the header of the accordion item. */
7
7
  title?: string;
8
- /** Whether the item is expanded (shows the content area).
9
- Set to `true` to expand, `false` to collapse. */
8
+ /** Whether the item is expanded (shows the content area). Set to `true` to expand, `false` to collapse. */
10
9
  open?: boolean;
11
10
  /** Disables the accordion item, preventing user interaction and dimming the appearance. */
12
11
  disabled?: boolean;
13
- /** Displays a divider line below the item for visual separation.
14
- Useful when stacking multiple items in a list. */
12
+ /** Displays a divider line below the item for visual separation. Useful when stacking multiple items in a list. */
15
13
  showDivider?: boolean;
16
14
  }
17
15
  export interface Events {
@@ -15,18 +15,18 @@
15
15
  - `normal`: Standard, highlighted when active (`isActive` must be true for effect).
16
16
  - `enhanced`: Most prominent, accent background/border when active (`isActive` must be true for effect). */
17
17
  buttonStyle?: AdviceButtonStyle;
18
- /** Number of advice items or notifications to display in the badge.
19
- Only shown when `showCount` is true and style is `normal` or `enhanced`. */
20
- count?: number;
21
- /** Whether to display the advice count badge.
22
- If false, the count is hidden even if `count` is set. */
23
- showCount?: boolean;
24
- /** Whether the button is in the active/selected state.
25
- Changes the icon and style when true. */
26
- isActive?: boolean;
27
- /** Accessibility label for the button.
28
- Used for screen readers via `aria-label`. */
29
- ariaLabel?: string
18
+ /** Number of advice items or notifications to display in the badge. Only shown when `showCount` is true and style is `normal` or `enhanced`. */
19
+ count?: number;
20
+ /**
21
+ * Whether to display the advice count badge. If false, the count is hidden even if `count` is set.
22
+ *
23
+ * Available when `isActive==true && buttonStyle in [Normal, Enhanced]`.
24
+ */
25
+ showCount?: boolean;
26
+ /** Whether the button is in the active/selected state. Changes the icon and style when true. */
27
+ isActive?: boolean;
28
+ /** Accessibility label for the button. Used for screen readers via `aria-label`. */
29
+ ariaLabel?: string
30
30
  }
31
31
  export interface Events {
32
32
  onObcClick?: (event: AdviceButtonClickEvent) => void
@@ -10,17 +10,17 @@ export interface Props {
10
10
  - `normal`: Standard, highlighted when active (`isActive` must be true for effect).
11
11
  - `enhanced`: Most prominent, accent background/border when active (`isActive` must be true for effect). */
12
12
  buttonStyle?: AdviceButtonStyle;
13
- /** Number of advice items or notifications to display in the badge.
14
- Only shown when `showCount` is true and style is `normal` or `enhanced`. */
13
+ /** Number of advice items or notifications to display in the badge. Only shown when `showCount` is true and style is `normal` or `enhanced`. */
15
14
  count?: number;
16
- /** Whether to display the advice count badge.
17
- If false, the count is hidden even if `count` is set. */
15
+ /**
16
+ * Whether to display the advice count badge. If false, the count is hidden even if `count` is set.
17
+ *
18
+ * Available when `isActive==true && buttonStyle in [Normal, Enhanced]`.
19
+ */
18
20
  showCount?: boolean;
19
- /** Whether the button is in the active/selected state.
20
- Changes the icon and style when true. */
21
+ /** Whether the button is in the active/selected state. Changes the icon and style when true. */
21
22
  isActive?: boolean;
22
- /** Accessibility label for the button.
23
- Used for screen readers via `aria-label`. */
23
+ /** Accessibility label for the button. Used for screen readers via `aria-label`. */
24
24
  ariaLabel?: string;
25
25
  }
26
26
  export interface Events {
@@ -19,19 +19,14 @@ type?: ObcFloatingItemType;
19
19
  - `vertical`: Content and icons are stacked vertically.
20
20
  Default: `horizontal`. */
21
21
  direction?: ObcFloatingItemDirection;
22
- /** If true, displays a timestamp label (e.g., "09:12:46") in the advice message.
23
- Default: false. */
24
- hasTimestamp?: boolean;
25
- /** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp.
26
- Default: false. */
27
- hasDay?: boolean;
28
- /** If true, renders a primary action button in the advice message.
29
- Default: false. */
30
- action?: boolean;
31
- /** If true, renders a secondary action button in the advice message.
32
- Note: The secondary action is only shown if the primary action (`action`) is also enabled.
33
- Default: false. */
34
- action2?: boolean;
22
+ /** If true, displays a timestamp label (e.g., "09:12:46") in the advice message. Default: false. */
23
+ hasTimestamp?: boolean;
24
+ /** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp. Default: false. */
25
+ hasDay?: boolean;
26
+ /** If true, renders a primary action button in the advice message. Default: false. */
27
+ action?: boolean;
28
+ /** If true, renders a secondary action button in the advice message. Note: The secondary action is only shown if the primary action (`action`) is also enabled. Default: false. */
29
+ action2?: boolean;
35
30
  /** Sets the content line type for the advice message.
36
31
  - `singleLine`: Compact, one-line message.
37
32
  - `multiLine`: Allows for longer, multi-line advice text.
@@ -14,18 +14,13 @@ Default: `regular`. */
14
14
  - `vertical`: Content and icons are stacked vertically.
15
15
  Default: `horizontal`. */
16
16
  direction?: ObcFloatingItemDirection;
17
- /** If true, displays a timestamp label (e.g., "09:12:46") in the advice message.
18
- Default: false. */
17
+ /** If true, displays a timestamp label (e.g., "09:12:46") in the advice message. Default: false. */
19
18
  hasTimestamp?: boolean;
20
- /** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp.
21
- Default: false. */
19
+ /** If true (and `hasTimestamp` is also true), displays a day label (e.g., "Yesterday") in addition to the timestamp. Default: false. */
22
20
  hasDay?: boolean;
23
- /** If true, renders a primary action button in the advice message.
24
- Default: false. */
21
+ /** If true, renders a primary action button in the advice message. Default: false. */
25
22
  action?: boolean;
26
- /** If true, renders a secondary action button in the advice message.
27
- Note: The secondary action is only shown if the primary action (`action`) is also enabled.
28
- Default: false. */
23
+ /** If true, renders a secondary action button in the advice message. Note: The secondary action is only shown if the primary action (`action`) is also enabled. Default: false. */
29
24
  action2?: boolean;
30
25
  /** Sets the content line type for the advice message.
31
26
  - `singleLine`: Compact, one-line message.
@@ -9,15 +9,15 @@
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- /** When true, renders the `icon` slot for a secondary icon. */
13
- hasIcon?: boolean;
12
+ /** When true, renders the `icon` slot for a secondary icon. */
13
+ hasIcon?: boolean;
14
14
  title?: string;
15
15
  description?: string;
16
16
  day?: string;
17
17
  time?: string;
18
18
  open?: boolean;
19
- /** Layout size: `single-line` (default) or `double-line`. */
20
- size?: ObcMessageMenuItemSize;
19
+ /** Layout size: `single-line` (default) or `double-line`. */
20
+ size?: ObcMessageMenuItemSize;
21
21
  primaryActionLabel?: string;
22
22
  secondaryActionLabel?: string
23
23
  }
@@ -9,21 +9,36 @@
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- /** Title or heading of the advice message.
13
- Shown in the `title` slot if `hasTitle` is true. */
14
- title?: string;
15
- /** Detailed message text for the advice.
16
- Shown in the `description` slot if `hasDescription` is true. */
17
- description?: string;
18
- /** Primary timestamp to display (e.g., time of advice).
19
- Shown in the `time` slot if `hasTimestamp` is true. */
20
- time?: string;
21
- /** Secondary timestamp (e.g., duration, relative time).
22
- Shown in the `time-secondary` slot if `hasTimestamp2` is true. */
23
- timeSecondary?: string;
24
- /** Label for the action button (when `type` is "with-button").
25
- Shown in the `action-text` slot. */
26
- actionLabel?: string;
12
+ /**
13
+ * Title or heading of the advice message. Shown in the `title` slot if `hasTitle` is true.
14
+ *
15
+ * Available when `showTitle==true && type!=Inactive`.
16
+ */
17
+ title?: string;
18
+ /**
19
+ * Detailed message text for the advice. Shown in the `description` slot if `hasDescription` is true.
20
+ *
21
+ * Available when `showDescription==true && type!=Inactive`.
22
+ */
23
+ description?: string;
24
+ /**
25
+ * Primary timestamp to display (e.g., time of advice). Shown in the `time` slot if `hasTimestamp` is true.
26
+ *
27
+ * Available when `showTimestamp==true && type!=Inactive`.
28
+ */
29
+ time?: string;
30
+ /**
31
+ * Secondary timestamp (e.g., duration, relative time). Shown in the `time-secondary` slot if `hasTimestamp2` is true.
32
+ *
33
+ * Available when `hasTimestamp2==true && type!=Inactive`.
34
+ */
35
+ timeSecondary?: string;
36
+ /**
37
+ * Label for the action button (when `type` is "with-button"). Shown in the `action-text` slot.
38
+ *
39
+ * Available when `type==WithButton`.
40
+ */
41
+ actionLabel?: string;
27
42
  /** Display type of the advice message.
28
43
  - `simple`: Standard message with optional title, description, and timestamp.
29
44
  - `with-button`: Includes a text action button.
@@ -38,24 +53,42 @@ type?: ObcAdviceMessageItemType;
38
53
 
39
54
  Default: `regular` */
40
55
  size?: ObcAdviceMessageItemSize;
41
- /** Whether to show the title.
42
- If false, the title is hidden even if set. */
43
- showTitle?: boolean;
44
- /** Whether to show the description.
45
- If false, the description is hidden even if set. */
46
- showDescription?: boolean;
47
- /** Whether to show the primary timestamp.
48
- If false, the `time` slot is not rendered. */
49
- showTimestamp?: boolean;
50
- /** Whether to show the secondary timestamp.
51
- If true, the `time-secondary` slot is rendered. */
52
- hasTimestamp2?: boolean;
53
- /** Whether to show the secondary icon overlay.
54
- If true, the `secondary-icon` slot is rendered. */
55
- hasSecondaryIcon?: boolean;
56
- /** Text to display in the empty/inactive state.
57
- Shown in the `empty` slot when `type="inactive"` or `empty` is true. */
58
- emptyText?: string
56
+ /**
57
+ * Whether to show the title. If false, the title is hidden even if set.
58
+ *
59
+ * Available when `type!=Inactive`.
60
+ */
61
+ showTitle?: boolean;
62
+ /**
63
+ * Whether to show the description. If false, the description is hidden even if set.
64
+ *
65
+ * Available when `type!=Inactive`.
66
+ */
67
+ showDescription?: boolean;
68
+ /**
69
+ * Whether to show the primary timestamp. If false, the `time` slot is not rendered.
70
+ *
71
+ * Available when `type!=Inactive`.
72
+ */
73
+ showTimestamp?: boolean;
74
+ /**
75
+ * Whether to show the secondary timestamp. If true, the `time-secondary` slot is rendered.
76
+ *
77
+ * Available when `type!=Inactive`.
78
+ */
79
+ hasTimestamp2?: boolean;
80
+ /**
81
+ * Whether to show the secondary icon overlay. If true, the `secondary-icon` slot is rendered.
82
+ *
83
+ * Available when `type!=Inactive`.
84
+ */
85
+ hasSecondaryIcon?: boolean;
86
+ /**
87
+ * Text to display in the empty/inactive state. Shown in the `empty` slot when `type="inactive"` or `empty` is true.
88
+ *
89
+ * Available when `type==Inactive`.
90
+ */
91
+ emptyText?: string
59
92
  }
60
93
  export interface Events {
61
94
  onMessageClick?: (event: CustomEvent<void>) => void;
@@ -4,20 +4,35 @@ import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
- /** Title or heading of the advice message.
8
- Shown in the `title` slot if `hasTitle` is true. */
7
+ /**
8
+ * Title or heading of the advice message. Shown in the `title` slot if `hasTitle` is true.
9
+ *
10
+ * Available when `showTitle==true && type!=Inactive`.
11
+ */
9
12
  title?: string;
10
- /** Detailed message text for the advice.
11
- Shown in the `description` slot if `hasDescription` is true. */
13
+ /**
14
+ * Detailed message text for the advice. Shown in the `description` slot if `hasDescription` is true.
15
+ *
16
+ * Available when `showDescription==true && type!=Inactive`.
17
+ */
12
18
  description?: string;
13
- /** Primary timestamp to display (e.g., time of advice).
14
- Shown in the `time` slot if `hasTimestamp` is true. */
19
+ /**
20
+ * Primary timestamp to display (e.g., time of advice). Shown in the `time` slot if `hasTimestamp` is true.
21
+ *
22
+ * Available when `showTimestamp==true && type!=Inactive`.
23
+ */
15
24
  time?: string;
16
- /** Secondary timestamp (e.g., duration, relative time).
17
- Shown in the `time-secondary` slot if `hasTimestamp2` is true. */
25
+ /**
26
+ * Secondary timestamp (e.g., duration, relative time). Shown in the `time-secondary` slot if `hasTimestamp2` is true.
27
+ *
28
+ * Available when `hasTimestamp2==true && type!=Inactive`.
29
+ */
18
30
  timeSecondary?: string;
19
- /** Label for the action button (when `type` is "with-button").
20
- Shown in the `action-text` slot. */
31
+ /**
32
+ * Label for the action button (when `type` is "with-button"). Shown in the `action-text` slot.
33
+ *
34
+ * Available when `type==WithButton`.
35
+ */
21
36
  actionLabel?: string;
22
37
  /** Display type of the advice message.
23
38
  - `simple`: Standard message with optional title, description, and timestamp.
@@ -33,23 +48,41 @@ Default: `simple` */
33
48
 
34
49
  Default: `regular` */
35
50
  size?: ObcAdviceMessageItemSize;
36
- /** Whether to show the title.
37
- If false, the title is hidden even if set. */
51
+ /**
52
+ * Whether to show the title. If false, the title is hidden even if set.
53
+ *
54
+ * Available when `type!=Inactive`.
55
+ */
38
56
  showTitle?: boolean;
39
- /** Whether to show the description.
40
- If false, the description is hidden even if set. */
57
+ /**
58
+ * Whether to show the description. If false, the description is hidden even if set.
59
+ *
60
+ * Available when `type!=Inactive`.
61
+ */
41
62
  showDescription?: boolean;
42
- /** Whether to show the primary timestamp.
43
- If false, the `time` slot is not rendered. */
63
+ /**
64
+ * Whether to show the primary timestamp. If false, the `time` slot is not rendered.
65
+ *
66
+ * Available when `type!=Inactive`.
67
+ */
44
68
  showTimestamp?: boolean;
45
- /** Whether to show the secondary timestamp.
46
- If true, the `time-secondary` slot is rendered. */
69
+ /**
70
+ * Whether to show the secondary timestamp. If true, the `time-secondary` slot is rendered.
71
+ *
72
+ * Available when `type!=Inactive`.
73
+ */
47
74
  hasTimestamp2?: boolean;
48
- /** Whether to show the secondary icon overlay.
49
- If true, the `secondary-icon` slot is rendered. */
75
+ /**
76
+ * Whether to show the secondary icon overlay. If true, the `secondary-icon` slot is rendered.
77
+ *
78
+ * Available when `type!=Inactive`.
79
+ */
50
80
  hasSecondaryIcon?: boolean;
51
- /** Text to display in the empty/inactive state.
52
- Shown in the `empty` slot when `type="inactive"` or `empty` is true. */
81
+ /**
82
+ * Text to display in the empty/inactive state. Shown in the `empty` slot when `type="inactive"` or `empty` is true.
83
+ *
84
+ * Available when `type==Inactive`.
85
+ */
53
86
  emptyText?: string;
54
87
  }
55
88
  export interface Events {
@@ -33,8 +33,12 @@ large?: boolean;
33
33
 
34
34
  The silence button is only shown if this is true, the width is above `silenceButtonMinBreakpointPx`, and the button is not in flat mode. */
35
35
  showSilenceButton?: boolean;
36
- /** Disables the silence button when true. */
37
- silenceButtonDisabled?: boolean;
36
+ /**
37
+ * Disables the silence button when true.
38
+ *
39
+ * Available when `showSilenceButton==true`.
40
+ */
41
+ silenceButtonDisabled?: boolean;
38
42
  /** Whether to show the alert counter badge.
39
43
 
40
44
  Only shown when there are active alerts and the button is not in flat mode. */
@@ -27,7 +27,11 @@ Adds extra height and padding. */
27
27
 
28
28
  The silence button is only shown if this is true, the width is above `silenceButtonMinBreakpointPx`, and the button is not in flat mode. */
29
29
  showSilenceButton?: boolean;
30
- /** Disables the silence button when true. */
30
+ /**
31
+ * Disables the silence button when true.
32
+ *
33
+ * Available when `showSilenceButton==true`.
34
+ */
31
35
  silenceButtonDisabled?: boolean;
32
36
  /** Whether to show the alert counter badge.
33
37
 
@@ -34,20 +34,18 @@ status?: AlertType;
34
34
  - `unacked-active`: Active and not yet acknowledged; blinks.
35
35
  - `unacked-rectified`: Condition cleared but not yet acknowledged. */
36
36
  mode?: ObcAlertFrameMode;
37
- /** When true, the frame wraps and sizes itself to its slotted content instead
38
- of overlaying a fixed region. Reflected to an attribute for CSS styling. */
39
- wrapContent?: boolean;
40
- /** When true, the frame stretches to fill the full width of its container
41
- instead of hugging its content. Reflected to an attribute for CSS styling. */
42
- fullWidth?: boolean;
43
- /** If true, the top-left corner will be sharp (not rounded). */
44
- sharpEdgeTopLeft?: boolean;
45
- /** If true, the top-right corner will be sharp (not rounded). */
46
- sharpEdgeTopRight?: boolean;
47
- /** If true, the bottom-left corner will be sharp (not rounded). */
48
- sharpEdgeBottomLeft?: boolean;
49
- /** If true, the bottom-right corner will be sharp (not rounded). */
50
- sharpEdgeBottomRight?: boolean;
37
+ /** When true, the frame wraps and sizes itself to its slotted content instead of overlaying a fixed region. Reflected to an attribute for CSS styling. */
38
+ wrapContent?: boolean;
39
+ /** When true, the frame stretches to fill the full width of its container instead of hugging its content. Reflected to an attribute for CSS styling. */
40
+ fullWidth?: boolean;
41
+ /** If true, the top-left corner will be sharp (not rounded). */
42
+ sharpEdgeTopLeft?: boolean;
43
+ /** If true, the top-right corner will be sharp (not rounded). */
44
+ sharpEdgeTopRight?: boolean;
45
+ /** If true, the bottom-left corner will be sharp (not rounded). */
46
+ sharpEdgeBottomLeft?: boolean;
47
+ /** If true, the bottom-right corner will be sharp (not rounded). */
48
+ sharpEdgeBottomRight?: boolean;
51
49
  textSize?: AlertFrameTextSize;
52
50
  showIcon?: boolean;
53
51
  showAlertCategoryIcon?: boolean
@@ -28,11 +28,9 @@ Default: `small-side-flip` */
28
28
  - `unacked-active`: Active and not yet acknowledged; blinks.
29
29
  - `unacked-rectified`: Condition cleared but not yet acknowledged. */
30
30
  mode?: ObcAlertFrameMode;
31
- /** When true, the frame wraps and sizes itself to its slotted content instead
32
- of overlaying a fixed region. Reflected to an attribute for CSS styling. */
31
+ /** When true, the frame wraps and sizes itself to its slotted content instead of overlaying a fixed region. Reflected to an attribute for CSS styling. */
33
32
  wrapContent?: boolean;
34
- /** When true, the frame stretches to fill the full width of its container
35
- instead of hugging its content. Reflected to an attribute for CSS styling. */
33
+ /** When true, the frame stretches to fill the full width of its container instead of hugging its content. Reflected to an attribute for CSS styling. */
36
34
  fullWidth?: boolean;
37
35
  /** If true, the top-left corner will be sharp (not rounded). */
38
36
  sharpEdgeTopLeft?: boolean;
@@ -11,7 +11,9 @@
11
11
  style?: string;
12
12
  alertType?: AlertType;
13
13
  type?: AlertType | undefined;
14
+ /** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
14
15
  acknowledged?: boolean | undefined;
16
+ /** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
15
17
  active?: boolean | undefined;
16
18
  silenced?: boolean | undefined
17
19
  }
@@ -6,7 +6,9 @@ export interface Props {
6
6
  style?: string;
7
7
  alertType?: AlertType;
8
8
  type?: AlertType | undefined;
9
+ /** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
9
10
  acknowledged?: boolean | undefined;
11
+ /** Available when `type in [Alarm, Warning, LevelCritical, LevelHigh, LevelMedium, LevelLow]`. */
10
12
  active?: boolean | undefined;
11
13
  silenced?: boolean | undefined;
12
14
  }
@@ -14,6 +14,7 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
14
14
  selectedMode?: AlertListMode;
15
15
  alerts?: Alert[];
16
16
  showTime?: boolean;
17
+ /** Available when `showTime==true`. */
17
18
  timeFormatter?: (time: Date) => string;
18
19
  small?: boolean
19
20
  }