@oicl/openbridge-webcomponents-svelte 2.0.0-next.7 → 2.0.0-next.71

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 (486) hide show
  1. package/README.md +2 -0
  2. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
  3. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
  4. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +13 -9
  5. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +16 -9
  6. package/dist/automation/automation-button/ObcAutomationButton.svelte +9 -7
  7. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +8 -7
  8. package/dist/automation/automation-tank/ObcAutomationTank.svelte +189 -9
  9. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +136 -4
  10. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
  11. package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
  12. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
  13. package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
  14. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
  15. package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
  16. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
  17. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
  18. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
  19. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
  20. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +22 -6
  21. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +22 -13
  22. package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +6 -0
  23. package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +6 -0
  24. package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte +48 -0
  25. package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte.d.ts +35 -0
  26. package/dist/components/accordion-card/ObcAccordionCard.svelte +5 -3
  27. package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +4 -3
  28. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
  29. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
  30. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
  31. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
  32. package/dist/components/alert-frame/ObcAlertFrame.svelte +15 -4
  33. package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +15 -4
  34. package/dist/components/alert-frame/ObiCriticalBadge.svelte +32 -0
  35. package/dist/components/alert-frame/ObiCriticalBadge.svelte.d.ts +15 -0
  36. package/dist/components/alert-frame/ObiDiagnosticBadge.svelte +32 -0
  37. package/dist/components/alert-frame/ObiDiagnosticBadge.svelte.d.ts +15 -0
  38. package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
  39. package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
  40. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
  41. package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
  42. package/dist/components/badge/ObcBadge.svelte +2 -2
  43. package/dist/components/badge/ObcBadge.svelte.d.ts +2 -2
  44. package/dist/components/card/ObcCard.svelte +4 -4
  45. package/dist/components/card/ObcCard.svelte.d.ts +4 -4
  46. package/dist/components/dropdown-button/ObcDropdownButton.svelte +8 -3
  47. package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +8 -6
  48. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
  49. package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
  50. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
  51. package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
  52. package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
  53. package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
  54. package/dist/components/form-container/ObcFormContainer.svelte +4 -4
  55. package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
  56. package/dist/components/icon-button/ObcIconButton.svelte +6 -4
  57. package/dist/components/icon-button/ObcIconButton.svelte.d.ts +3 -0
  58. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -7
  59. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -2
  60. package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
  61. package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
  62. package/dist/components/navigation-item/ObcNavigationItem.svelte +12 -1
  63. package/dist/components/navigation-item/ObcNavigationItem.svelte.d.ts +12 -0
  64. package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +14 -1
  65. package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte.d.ts +14 -0
  66. package/dist/components/navigation-menu/ObcNavigationMenu.svelte +2 -1
  67. package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +2 -1
  68. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
  69. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
  70. package/dist/components/number-input-field/ObcNumberInputField.svelte +19 -5
  71. package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +19 -2
  72. package/dist/components/slider-double/ObcSliderDouble.svelte +34 -3
  73. package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +19 -0
  74. package/dist/components/stepper-box/ObcStepperBox.svelte +32 -25
  75. package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +31 -6
  76. package/dist/components/tab-item/ObcTabItem.svelte +12 -4
  77. package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
  78. package/dist/components/tab-row/ObcTabRow.svelte +11 -5
  79. package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
  80. package/dist/components/tag/ObcTag.svelte +3 -2
  81. package/dist/components/tag/ObcTag.svelte.d.ts +3 -1
  82. package/dist/components/textbox/ObcTextbox.svelte +41 -0
  83. package/dist/components/textbox/ObcTextbox.svelte.d.ts +24 -0
  84. package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
  85. package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
  86. package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte +8 -0
  87. package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte.d.ts +8 -0
  88. package/dist/components/tree-navigation/ObcTreeNavigation.svelte +32 -0
  89. package/dist/components/tree-navigation/ObcTreeNavigation.svelte.d.ts +15 -0
  90. package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +60 -0
  91. package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte.d.ts +43 -0
  92. package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +64 -0
  93. package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte.d.ts +50 -0
  94. package/dist/icons/ObiAddColumnAfter.svelte +32 -0
  95. package/dist/icons/ObiAddColumnAfter.svelte.d.ts +16 -0
  96. package/dist/icons/ObiAddColumnBefore.svelte +32 -0
  97. package/dist/icons/ObiAddColumnBefore.svelte.d.ts +16 -0
  98. package/dist/icons/ObiAddRowAbove.svelte +32 -0
  99. package/dist/icons/ObiAddRowAbove.svelte.d.ts +16 -0
  100. package/dist/icons/ObiAddRowBelow.svelte +32 -0
  101. package/dist/icons/ObiAddRowBelow.svelte.d.ts +16 -0
  102. package/dist/icons/{ObiWindApparent3.svelte → ObiCameraSettings.svelte} +3 -3
  103. package/dist/icons/ObiCameraSettings.svelte.d.ts +16 -0
  104. package/dist/icons/ObiDieselEngineOff.svelte +32 -0
  105. package/dist/icons/ObiDieselEngineOff.svelte.d.ts +16 -0
  106. package/dist/icons/ObiDieselEngineOn.svelte +32 -0
  107. package/dist/icons/ObiDieselEngineOn.svelte.d.ts +16 -0
  108. package/dist/icons/ObiDieselEngineStatic.svelte +32 -0
  109. package/dist/icons/ObiDieselEngineStatic.svelte.d.ts +16 -0
  110. package/dist/icons/ObiDieselGeneratorAcOff.svelte +32 -0
  111. package/dist/icons/ObiDieselGeneratorAcOff.svelte.d.ts +16 -0
  112. package/dist/icons/ObiDieselGeneratorAcOn.svelte +32 -0
  113. package/dist/icons/ObiDieselGeneratorAcOn.svelte.d.ts +16 -0
  114. package/dist/icons/ObiDieselGeneratorAcStatic.svelte +32 -0
  115. package/dist/icons/ObiDieselGeneratorAcStatic.svelte.d.ts +16 -0
  116. package/dist/icons/ObiDieselGeneratorDcOff.svelte +32 -0
  117. package/dist/icons/ObiDieselGeneratorDcOff.svelte.d.ts +16 -0
  118. package/dist/icons/ObiDieselGeneratorDcOn.svelte +32 -0
  119. package/dist/icons/ObiDieselGeneratorDcOn.svelte.d.ts +16 -0
  120. package/dist/icons/ObiDieselGeneratorDcStatic.svelte +32 -0
  121. package/dist/icons/ObiDieselGeneratorDcStatic.svelte.d.ts +16 -0
  122. package/dist/icons/ObiDieselGeneratorOff.svelte +32 -0
  123. package/dist/icons/ObiDieselGeneratorOff.svelte.d.ts +16 -0
  124. package/dist/icons/ObiDieselGeneratorOn.svelte +32 -0
  125. package/dist/icons/ObiDieselGeneratorOn.svelte.d.ts +16 -0
  126. package/dist/icons/ObiDieselGeneratorStatic.svelte +32 -0
  127. package/dist/icons/ObiDieselGeneratorStatic.svelte.d.ts +16 -0
  128. package/dist/icons/ObiDieselGeneratorStepOff.svelte +32 -0
  129. package/dist/icons/ObiDieselGeneratorStepOff.svelte.d.ts +16 -0
  130. package/dist/icons/ObiDieselGeneratorStepOn.svelte +32 -0
  131. package/dist/icons/ObiDieselGeneratorStepOn.svelte.d.ts +16 -0
  132. package/dist/icons/ObiDieselGeneratorStepStatic.svelte +32 -0
  133. package/dist/icons/ObiDieselGeneratorStepStatic.svelte.d.ts +16 -0
  134. package/dist/icons/ObiElectricGeneratorAcOff.svelte +32 -0
  135. package/dist/icons/ObiElectricGeneratorAcOff.svelte.d.ts +16 -0
  136. package/dist/icons/ObiElectricGeneratorAcOn.svelte +32 -0
  137. package/dist/icons/ObiElectricGeneratorAcOn.svelte.d.ts +16 -0
  138. package/dist/icons/ObiElectricGeneratorAcStatic.svelte +32 -0
  139. package/dist/icons/ObiElectricGeneratorAcStatic.svelte.d.ts +16 -0
  140. package/dist/icons/ObiElectricGeneratorDcOff.svelte +32 -0
  141. package/dist/icons/ObiElectricGeneratorDcOff.svelte.d.ts +16 -0
  142. package/dist/icons/ObiElectricGeneratorDcOn.svelte +32 -0
  143. package/dist/icons/ObiElectricGeneratorDcOn.svelte.d.ts +16 -0
  144. package/dist/icons/ObiElectricGeneratorDcStatic.svelte +32 -0
  145. package/dist/icons/ObiElectricGeneratorDcStatic.svelte.d.ts +16 -0
  146. package/dist/icons/ObiElectricGeneratorOff.svelte +32 -0
  147. package/dist/icons/ObiElectricGeneratorOff.svelte.d.ts +16 -0
  148. package/dist/icons/ObiElectricGeneratorOn.svelte +32 -0
  149. package/dist/icons/ObiElectricGeneratorOn.svelte.d.ts +16 -0
  150. package/dist/icons/ObiElectricGeneratorOrMotorAcOff.svelte +32 -0
  151. package/dist/icons/ObiElectricGeneratorOrMotorAcOff.svelte.d.ts +16 -0
  152. package/dist/icons/ObiElectricGeneratorOrMotorAcOn.svelte +32 -0
  153. package/dist/icons/ObiElectricGeneratorOrMotorAcOn.svelte.d.ts +16 -0
  154. package/dist/icons/ObiElectricGeneratorOrMotorAcStatic.svelte +32 -0
  155. package/dist/icons/ObiElectricGeneratorOrMotorAcStatic.svelte.d.ts +16 -0
  156. package/dist/icons/ObiElectricGeneratorOrMotorDcOff.svelte +32 -0
  157. package/dist/icons/ObiElectricGeneratorOrMotorDcOff.svelte.d.ts +16 -0
  158. package/dist/icons/ObiElectricGeneratorOrMotorDcOn.svelte +32 -0
  159. package/dist/icons/ObiElectricGeneratorOrMotorDcOn.svelte.d.ts +16 -0
  160. package/dist/icons/ObiElectricGeneratorOrMotorDcStatic.svelte +32 -0
  161. package/dist/icons/ObiElectricGeneratorOrMotorDcStatic.svelte.d.ts +16 -0
  162. package/dist/icons/ObiElectricGeneratorOrMotorOff.svelte +32 -0
  163. package/dist/icons/ObiElectricGeneratorOrMotorOff.svelte.d.ts +16 -0
  164. package/dist/icons/ObiElectricGeneratorOrMotorOn.svelte +32 -0
  165. package/dist/icons/ObiElectricGeneratorOrMotorOn.svelte.d.ts +16 -0
  166. package/dist/icons/ObiElectricGeneratorOrMotorStatic.svelte +32 -0
  167. package/dist/icons/ObiElectricGeneratorOrMotorStatic.svelte.d.ts +16 -0
  168. package/dist/icons/ObiElectricGeneratorOrMotorStepOff.svelte +32 -0
  169. package/dist/icons/ObiElectricGeneratorOrMotorStepOff.svelte.d.ts +16 -0
  170. package/dist/icons/ObiElectricGeneratorOrMotorStepOn.svelte +32 -0
  171. package/dist/icons/ObiElectricGeneratorOrMotorStepOn.svelte.d.ts +16 -0
  172. package/dist/icons/ObiElectricGeneratorOrMotorStepStatic.svelte +32 -0
  173. package/dist/icons/ObiElectricGeneratorOrMotorStepStatic.svelte.d.ts +16 -0
  174. package/dist/icons/ObiElectricGeneratorStatic.svelte +32 -0
  175. package/dist/icons/ObiElectricGeneratorStatic.svelte.d.ts +16 -0
  176. package/dist/icons/ObiElectricGeneratorStepOff.svelte +32 -0
  177. package/dist/icons/ObiElectricGeneratorStepOff.svelte.d.ts +16 -0
  178. package/dist/icons/ObiElectricGeneratorStepOn.svelte +32 -0
  179. package/dist/icons/ObiElectricGeneratorStepOn.svelte.d.ts +16 -0
  180. package/dist/icons/ObiElectricGeneratorStepStatic.svelte +32 -0
  181. package/dist/icons/ObiElectricGeneratorStepStatic.svelte.d.ts +16 -0
  182. package/dist/icons/ObiElectricMotorAcOff.svelte +32 -0
  183. package/dist/icons/ObiElectricMotorAcOff.svelte.d.ts +16 -0
  184. package/dist/icons/ObiElectricMotorAcOn.svelte +32 -0
  185. package/dist/icons/ObiElectricMotorAcOn.svelte.d.ts +16 -0
  186. package/dist/icons/ObiElectricMotorAcStatic.svelte +32 -0
  187. package/dist/icons/ObiElectricMotorAcStatic.svelte.d.ts +16 -0
  188. package/dist/icons/ObiElectricMotorDcOff.svelte +32 -0
  189. package/dist/icons/ObiElectricMotorDcOff.svelte.d.ts +16 -0
  190. package/dist/icons/ObiElectricMotorDcOn.svelte +32 -0
  191. package/dist/icons/ObiElectricMotorDcOn.svelte.d.ts +16 -0
  192. package/dist/icons/ObiElectricMotorDcStatic.svelte +32 -0
  193. package/dist/icons/ObiElectricMotorDcStatic.svelte.d.ts +16 -0
  194. package/dist/icons/ObiElectricMotorOff.svelte +32 -0
  195. package/dist/icons/ObiElectricMotorOff.svelte.d.ts +16 -0
  196. package/dist/icons/ObiElectricMotorOn.svelte +32 -0
  197. package/dist/icons/ObiElectricMotorOn.svelte.d.ts +16 -0
  198. package/dist/icons/ObiElectricMotorStatic.svelte +32 -0
  199. package/dist/icons/ObiElectricMotorStatic.svelte.d.ts +16 -0
  200. package/dist/icons/ObiElectricMotorStepOff.svelte +32 -0
  201. package/dist/icons/ObiElectricMotorStepOff.svelte.d.ts +16 -0
  202. package/dist/icons/ObiElectricMotorStepOn.svelte +32 -0
  203. package/dist/icons/ObiElectricMotorStepOn.svelte.d.ts +16 -0
  204. package/dist/icons/ObiElectricMotorStepStatic.svelte +32 -0
  205. package/dist/icons/ObiElectricMotorStepStatic.svelte.d.ts +16 -0
  206. package/dist/icons/{ObiWindApparent4.svelte → ObiEmergencyBadge.svelte} +3 -3
  207. package/dist/icons/ObiEmergencyBadge.svelte.d.ts +16 -0
  208. package/dist/icons/{ObiWindTrue3.svelte → ObiLocationK.svelte} +3 -3
  209. package/dist/icons/{ObiWindTrue3.svelte.d.ts → ObiLocationK.svelte.d.ts} +4 -4
  210. package/dist/icons/ObiMediaLibrary.svelte +32 -0
  211. package/dist/icons/ObiMediaLibrary.svelte.d.ts +16 -0
  212. package/dist/icons/{ObiWindTrue4.svelte → ObiPressure.svelte} +3 -3
  213. package/dist/icons/{ObiWindTrue6.svelte.d.ts → ObiPressure.svelte.d.ts} +4 -4
  214. package/dist/icons/{ObiWindTrue6.svelte → ObiScreenFill.svelte} +3 -3
  215. package/dist/icons/{ObiWindShaft3.svelte.d.ts → ObiScreenFill.svelte.d.ts} +4 -4
  216. package/dist/icons/ObiScreenFit.svelte +32 -0
  217. package/dist/icons/{ObiWindTrue4.svelte.d.ts → ObiScreenFit.svelte.d.ts} +4 -4
  218. package/dist/icons/ObiVesselGenericAnchoredColour.svelte +32 -0
  219. package/dist/icons/ObiVesselGenericAnchoredColour.svelte.d.ts +16 -0
  220. package/dist/icons/ObiVesselGenericDefaultColour.svelte +32 -0
  221. package/dist/icons/ObiVesselGenericDefaultColour.svelte.d.ts +16 -0
  222. package/dist/icons/ObiVesselGenericFastColour.svelte +32 -0
  223. package/dist/icons/ObiVesselGenericFastColour.svelte.d.ts +16 -0
  224. package/dist/icons/ObiVesselGenericMediumColour.svelte +32 -0
  225. package/dist/icons/ObiVesselGenericMediumColour.svelte.d.ts +16 -0
  226. package/dist/icons/ObiVesselGenericSlowColour.svelte +32 -0
  227. package/dist/icons/ObiVesselGenericSlowColour.svelte.d.ts +16 -0
  228. package/dist/icons/ObiVesselGenericStoppedColour.svelte +32 -0
  229. package/dist/icons/ObiVesselGenericStoppedColour.svelte.d.ts +16 -0
  230. package/dist/icons/ObiVesselTypeBargeColour.svelte +32 -0
  231. package/dist/icons/ObiVesselTypeBargeColour.svelte.d.ts +16 -0
  232. package/dist/icons/ObiVesselTypeCargoColour.svelte +32 -0
  233. package/dist/icons/ObiVesselTypeCargoColour.svelte.d.ts +16 -0
  234. package/dist/icons/ObiVesselTypeCruiseColour.svelte +32 -0
  235. package/dist/icons/ObiVesselTypeCruiseColour.svelte.d.ts +16 -0
  236. package/dist/icons/ObiVesselTypeFishingColour.svelte +32 -0
  237. package/dist/icons/ObiVesselTypeFishingColour.svelte.d.ts +16 -0
  238. package/dist/icons/ObiVesselTypeGenericColour.svelte +32 -0
  239. package/dist/icons/ObiVesselTypeGenericColour.svelte.d.ts +16 -0
  240. package/dist/icons/ObiVesselTypeLifeboatColour.svelte +32 -0
  241. package/dist/icons/ObiVesselTypeLifeboatColour.svelte.d.ts +16 -0
  242. package/dist/icons/ObiVesselTypeMilitaryColour.svelte +32 -0
  243. package/dist/icons/ObiVesselTypeMilitaryColour.svelte.d.ts +16 -0
  244. package/dist/icons/ObiVesselTypeMotorBoatColour.svelte +32 -0
  245. package/dist/icons/ObiVesselTypeMotorBoatColour.svelte.d.ts +16 -0
  246. package/dist/icons/ObiVesselTypePassengerColour.svelte +32 -0
  247. package/dist/icons/ObiVesselTypePassengerColour.svelte.d.ts +16 -0
  248. package/dist/icons/ObiVesselTypePilotColour.svelte +32 -0
  249. package/dist/icons/ObiVesselTypePilotColour.svelte.d.ts +16 -0
  250. package/dist/icons/ObiVesselTypePsvColour.svelte +32 -0
  251. package/dist/icons/ObiVesselTypePsvColour.svelte.d.ts +16 -0
  252. package/dist/icons/ObiVesselTypeSailingColour.svelte +32 -0
  253. package/dist/icons/ObiVesselTypeSailingColour.svelte.d.ts +16 -0
  254. package/dist/icons/ObiVesselTypeSarColour.svelte +32 -0
  255. package/dist/icons/ObiVesselTypeSarColour.svelte.d.ts +16 -0
  256. package/dist/icons/ObiVesselTypeSmallcraftColour.svelte +32 -0
  257. package/dist/icons/ObiVesselTypeSmallcraftColour.svelte.d.ts +16 -0
  258. package/dist/icons/ObiVesselTypeSpeedCraftColour.svelte +32 -0
  259. package/dist/icons/ObiVesselTypeSpeedCraftColour.svelte.d.ts +16 -0
  260. package/dist/icons/ObiVesselTypeTankerColour.svelte +32 -0
  261. package/dist/icons/ObiVesselTypeTankerColour.svelte.d.ts +16 -0
  262. package/dist/icons/ObiVesselTypeTugColour.svelte +32 -0
  263. package/dist/icons/ObiVesselTypeTugColour.svelte.d.ts +16 -0
  264. package/dist/icons/ObiVesselTypeUnknownColour.svelte +32 -0
  265. package/dist/icons/ObiVesselTypeUnknownColour.svelte.d.ts +16 -0
  266. package/dist/icons/{ObiWindApparent2.svelte → ObiWindApparent0.svelte} +3 -3
  267. package/dist/icons/{ObiWindApparent2.svelte.d.ts → ObiWindApparent0.svelte.d.ts} +4 -4
  268. package/dist/icons/ObiWindApparent100.svelte +32 -0
  269. package/dist/icons/ObiWindApparent100.svelte.d.ts +16 -0
  270. package/dist/icons/{ObiWindApparent11.svelte → ObiWindApparent15.svelte} +3 -3
  271. package/dist/icons/{ObiWindApparent13.svelte.d.ts → ObiWindApparent15.svelte.d.ts} +4 -4
  272. package/dist/icons/{ObiWindApparent13.svelte → ObiWindApparent20.svelte} +3 -3
  273. package/dist/icons/{ObiWindApparent11.svelte.d.ts → ObiWindApparent20.svelte.d.ts} +4 -4
  274. package/dist/icons/{ObiWindApparent12.svelte → ObiWindApparent25.svelte} +3 -3
  275. package/dist/icons/{ObiWindApparent14.svelte.d.ts → ObiWindApparent25.svelte.d.ts} +4 -4
  276. package/dist/icons/{ObiWindApparent14.svelte → ObiWindApparent30.svelte} +3 -3
  277. package/dist/icons/{ObiWindApparent12.svelte.d.ts → ObiWindApparent30.svelte.d.ts} +4 -4
  278. package/dist/icons/ObiWindApparent35.svelte +32 -0
  279. package/dist/icons/ObiWindApparent35.svelte.d.ts +16 -0
  280. package/dist/icons/ObiWindApparent40.svelte +32 -0
  281. package/dist/icons/ObiWindApparent40.svelte.d.ts +16 -0
  282. package/dist/icons/ObiWindApparent45.svelte +32 -0
  283. package/dist/icons/ObiWindApparent45.svelte.d.ts +16 -0
  284. package/dist/icons/ObiWindApparent50.svelte +32 -0
  285. package/dist/icons/ObiWindApparent50.svelte.d.ts +16 -0
  286. package/dist/icons/ObiWindApparent55.svelte +32 -0
  287. package/dist/icons/ObiWindApparent55.svelte.d.ts +16 -0
  288. package/dist/icons/ObiWindApparent60.svelte +32 -0
  289. package/dist/icons/ObiWindApparent60.svelte.d.ts +16 -0
  290. package/dist/icons/ObiWindApparent65.svelte +32 -0
  291. package/dist/icons/ObiWindApparent65.svelte.d.ts +16 -0
  292. package/dist/icons/ObiWindApparent70.svelte +32 -0
  293. package/dist/icons/ObiWindApparent70.svelte.d.ts +16 -0
  294. package/dist/icons/{ObiWindShaft2.svelte → ObiWindShaft0.svelte} +3 -3
  295. package/dist/icons/{ObiWindShaft2.svelte.d.ts → ObiWindShaft0.svelte.d.ts} +4 -4
  296. package/dist/icons/ObiWindShaft100.svelte +32 -0
  297. package/dist/icons/ObiWindShaft100.svelte.d.ts +16 -0
  298. package/dist/icons/{ObiWindShaft11.svelte → ObiWindShaft15.svelte} +3 -3
  299. package/dist/icons/{ObiWindShaft11.svelte.d.ts → ObiWindShaft15.svelte.d.ts} +4 -4
  300. package/dist/icons/{ObiWindShaft12.svelte → ObiWindShaft20.svelte} +3 -3
  301. package/dist/icons/{ObiWindShaft12.svelte.d.ts → ObiWindShaft20.svelte.d.ts} +4 -4
  302. package/dist/icons/{ObiWindShaft13.svelte → ObiWindShaft25.svelte} +3 -3
  303. package/dist/icons/{ObiWindShaft13.svelte.d.ts → ObiWindShaft25.svelte.d.ts} +4 -4
  304. package/dist/icons/{ObiWindShaft14.svelte → ObiWindShaft30.svelte} +3 -3
  305. package/dist/icons/{ObiWindShaft14.svelte.d.ts → ObiWindShaft30.svelte.d.ts} +4 -4
  306. package/dist/icons/ObiWindShaft35.svelte +32 -0
  307. package/dist/icons/ObiWindShaft35.svelte.d.ts +16 -0
  308. package/dist/icons/ObiWindShaft40.svelte +32 -0
  309. package/dist/icons/ObiWindShaft40.svelte.d.ts +16 -0
  310. package/dist/icons/ObiWindShaft45.svelte +32 -0
  311. package/dist/icons/ObiWindShaft45.svelte.d.ts +16 -0
  312. package/dist/icons/ObiWindShaft50.svelte +32 -0
  313. package/dist/icons/ObiWindShaft50.svelte.d.ts +16 -0
  314. package/dist/icons/ObiWindShaft55.svelte +32 -0
  315. package/dist/icons/ObiWindShaft55.svelte.d.ts +16 -0
  316. package/dist/icons/ObiWindShaft60.svelte +32 -0
  317. package/dist/icons/ObiWindShaft60.svelte.d.ts +16 -0
  318. package/dist/icons/ObiWindShaft65.svelte +32 -0
  319. package/dist/icons/ObiWindShaft65.svelte.d.ts +16 -0
  320. package/dist/icons/ObiWindShaft70.svelte +32 -0
  321. package/dist/icons/ObiWindShaft70.svelte.d.ts +16 -0
  322. package/dist/icons/ObiWindShaft75.svelte +32 -0
  323. package/dist/icons/ObiWindShaft75.svelte.d.ts +16 -0
  324. package/dist/icons/ObiWindShaft80.svelte +32 -0
  325. package/dist/icons/ObiWindShaft80.svelte.d.ts +16 -0
  326. package/dist/icons/ObiWindShaft85.svelte +32 -0
  327. package/dist/icons/ObiWindShaft85.svelte.d.ts +16 -0
  328. package/dist/icons/ObiWindShaft90.svelte +32 -0
  329. package/dist/icons/ObiWindShaft90.svelte.d.ts +16 -0
  330. package/dist/icons/ObiWindShaft95.svelte +32 -0
  331. package/dist/icons/ObiWindShaft95.svelte.d.ts +16 -0
  332. package/dist/icons/{ObiWindTrue2.svelte → ObiWindTrue0.svelte} +3 -3
  333. package/dist/icons/{ObiWindTrue2.svelte.d.ts → ObiWindTrue0.svelte.d.ts} +4 -4
  334. package/dist/icons/ObiWindTrue100.svelte +32 -0
  335. package/dist/icons/ObiWindTrue100.svelte.d.ts +16 -0
  336. package/dist/icons/{ObiWindShaft3.svelte → ObiWindTrue15.svelte} +3 -3
  337. package/dist/icons/{ObiWindTrue11.svelte.d.ts → ObiWindTrue15.svelte.d.ts} +4 -4
  338. package/dist/icons/{ObiWindShaft4.svelte → ObiWindTrue20.svelte} +3 -3
  339. package/dist/icons/{ObiWindTrue12.svelte.d.ts → ObiWindTrue20.svelte.d.ts} +4 -4
  340. package/dist/icons/{ObiWindShaft6.svelte → ObiWindTrue25.svelte} +3 -3
  341. package/dist/icons/{ObiWindTrue13.svelte.d.ts → ObiWindTrue25.svelte.d.ts} +4 -4
  342. package/dist/icons/ObiWindTrue30.svelte +32 -0
  343. package/dist/icons/{ObiWindTrue14.svelte.d.ts → ObiWindTrue30.svelte.d.ts} +4 -4
  344. package/dist/icons/ObiWindTrue35.svelte +32 -0
  345. package/dist/icons/ObiWindTrue35.svelte.d.ts +16 -0
  346. package/dist/icons/ObiWindTrue45.svelte +32 -0
  347. package/dist/icons/ObiWindTrue45.svelte.d.ts +16 -0
  348. package/dist/icons/ObiWindTrue50.svelte +32 -0
  349. package/dist/icons/ObiWindTrue50.svelte.d.ts +16 -0
  350. package/dist/icons/ObiWindTrue55.svelte +32 -0
  351. package/dist/icons/ObiWindTrue55.svelte.d.ts +16 -0
  352. package/dist/icons/ObiWindTrue60.svelte +32 -0
  353. package/dist/icons/ObiWindTrue60.svelte.d.ts +16 -0
  354. package/dist/icons/ObiWindTrue65.svelte +32 -0
  355. package/dist/icons/ObiWindTrue65.svelte.d.ts +16 -0
  356. package/dist/icons/ObiWindTrue70.svelte +32 -0
  357. package/dist/icons/ObiWindTrue70.svelte.d.ts +16 -0
  358. package/dist/index.d.ts +161 -33
  359. package/dist/index.js +161 -33
  360. package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +88 -0
  361. package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte.d.ts +46 -0
  362. package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +19 -7
  363. package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte.d.ts +10 -1
  364. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
  365. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
  366. package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte +2 -1
  367. package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte.d.ts +1 -0
  368. package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte +49 -0
  369. package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte.d.ts +19 -0
  370. package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte +10 -2
  371. package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte.d.ts +2 -0
  372. package/dist/manual-icon/ObiAlertsCriticalTwotone.svelte +32 -0
  373. package/dist/manual-icon/ObiAlertsCriticalTwotone.svelte.d.ts +16 -0
  374. package/dist/manual-icon/ObiAlertsDiagnosticTwotone.svelte +32 -0
  375. package/dist/manual-icon/ObiAlertsDiagnosticTwotone.svelte.d.ts +16 -0
  376. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
  377. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
  378. package/dist/navigation-instruments/compass/ObcCompass.svelte +18 -2
  379. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +17 -1
  380. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
  381. package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
  382. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +11 -4
  383. package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +11 -3
  384. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +27 -2
  385. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +25 -0
  386. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
  387. package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
  388. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
  389. package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
  390. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
  391. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
  392. package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte +12 -3
  393. package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte.d.ts +11 -1
  394. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
  395. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
  396. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
  397. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
  398. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
  399. package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
  400. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
  401. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
  402. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
  403. package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
  404. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
  405. package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
  406. package/dist/navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte +33 -0
  407. package/dist/navigation-instruments/indicator-graph/ObcIndicatorGraph.svelte.d.ts +20 -0
  408. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
  409. package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
  410. package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
  411. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
  412. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
  413. package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
  414. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +24 -1
  415. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +23 -0
  416. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
  417. package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
  418. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
  419. package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
  420. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
  421. package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
  422. package/dist/navigation-instruments/readout/ObcReadout.svelte +161 -0
  423. package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +104 -0
  424. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +53 -0
  425. package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +40 -0
  426. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +64 -0
  427. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +46 -0
  428. package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte +63 -0
  429. package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte.d.ts +47 -0
  430. package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
  431. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
  432. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
  433. package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
  434. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
  435. package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
  436. package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +10 -1
  437. package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +9 -0
  438. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
  439. package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
  440. package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte +9 -1
  441. package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte.d.ts +9 -1
  442. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
  443. package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
  444. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +4 -4
  445. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -4
  446. package/dist/navigation-instruments/watch/ObcWatch.svelte +17 -4
  447. package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +14 -1
  448. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
  449. package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
  450. package/dist/navigation-instruments/wind/ObcWind.svelte +7 -4
  451. package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +6 -2
  452. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +29 -8
  453. package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +32 -6
  454. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
  455. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
  456. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
  457. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
  458. package/package.json +2 -2
  459. package/dist/icons/ObiWindApparent3.svelte.d.ts +0 -16
  460. package/dist/icons/ObiWindApparent4.svelte.d.ts +0 -16
  461. package/dist/icons/ObiWindApparent6.svelte +0 -32
  462. package/dist/icons/ObiWindApparent6.svelte.d.ts +0 -16
  463. package/dist/icons/ObiWindApparent7.svelte +0 -32
  464. package/dist/icons/ObiWindApparent7.svelte.d.ts +0 -16
  465. package/dist/icons/ObiWindApparent8.svelte +0 -32
  466. package/dist/icons/ObiWindApparent8.svelte.d.ts +0 -16
  467. package/dist/icons/ObiWindApparent9.svelte +0 -32
  468. package/dist/icons/ObiWindApparent9.svelte.d.ts +0 -16
  469. package/dist/icons/ObiWindShaft4.svelte.d.ts +0 -16
  470. package/dist/icons/ObiWindShaft6.svelte.d.ts +0 -16
  471. package/dist/icons/ObiWindShaft7.svelte +0 -32
  472. package/dist/icons/ObiWindShaft7.svelte.d.ts +0 -16
  473. package/dist/icons/ObiWindShaft8.svelte +0 -32
  474. package/dist/icons/ObiWindShaft8.svelte.d.ts +0 -16
  475. package/dist/icons/ObiWindShaft9.svelte +0 -32
  476. package/dist/icons/ObiWindShaft9.svelte.d.ts +0 -16
  477. package/dist/icons/ObiWindTrue11.svelte +0 -32
  478. package/dist/icons/ObiWindTrue12.svelte +0 -32
  479. package/dist/icons/ObiWindTrue13.svelte +0 -32
  480. package/dist/icons/ObiWindTrue14.svelte +0 -32
  481. package/dist/icons/ObiWindTrue7.svelte +0 -32
  482. package/dist/icons/ObiWindTrue7.svelte.d.ts +0 -16
  483. package/dist/icons/ObiWindTrue8.svelte +0 -32
  484. package/dist/icons/ObiWindTrue8.svelte.d.ts +0 -16
  485. package/dist/icons/ObiWindTrue9.svelte +0 -32
  486. package/dist/icons/ObiWindTrue9.svelte.d.ts +0 -16
@@ -0,0 +1,35 @@
1
+ import '@oicl/openbridge-webcomponents/dist/building-blocks/single-axis-inclinometer/single-axis-inclinometer.js';
2
+ import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
+ import type { Snippet } from 'svelte';
4
+ export interface Props {
5
+ class?: string;
6
+ style?: string;
7
+ zoomToFitArc?: boolean;
8
+ /** When `true`, the centre shows an `<obc-readout>` with the value instead of
9
+ the horizon line, rotating indicator and vessel. Default `false`. */
10
+ hasReadout?: boolean;
11
+ /** Colour palette for the scale fill / indicator and the readout value:
12
+ `regular` (default) or `enhanced`. */
13
+ priority?: Priority;
14
+ /** Half-extent of the watch arc in degrees. The arc spans `centre ± arcAngle`
15
+ and values are placed at their true position within it. Default `45`
16
+ reproduces the historical 90°-wide arc.
17
+
18
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
19
+ narrower arc is enlarged (its radius grows) on its own layer, while the
20
+ vessel image and the rotating indicator line stay at their natural size and
21
+ position on a separate central layer. The two layers are intentionally
22
+ visually disconnected. */
23
+ arcAngle?: number;
24
+ }
25
+ export interface Events {
26
+ }
27
+ export interface Slots {
28
+ children?: Snippet;
29
+ }
30
+ type $$ComponentProps = Props & Events & Slots;
31
+ declare const SingleAxisInclinometer: import("svelte").Component<$$ComponentProps, {
32
+ Priority: typeof Priority;
33
+ }, "">;
34
+ type SingleAxisInclinometer = ReturnType<typeof SingleAxisInclinometer>;
35
+ export default SingleAxisInclinometer;
@@ -1,11 +1,13 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {Position, AccordionSize} from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
4
- export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
4
+ export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
5
6
  import '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
6
7
  import { setProperties } from "../../util.js";
7
8
  import type {Position, AccordionSize} from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
8
- import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
9
+ import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
10
+ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
9
11
  import type { Snippet } from 'svelte';
10
12
 
11
13
  export interface Props {
@@ -47,7 +49,7 @@ See `obc-alert-frame` for available thickness values. */
47
49
  alertFrameThickness?: ObcAlertFrameThickness;
48
50
  /** Status of the alert frame overlay (used when `hasAlert` is true).
49
51
  See `obc-alert-frame` for available statuses. */
50
- alertFrameStatus?: ObcAlertFrameStatus
52
+ alertFrameStatus?: AlertType
51
53
  }
52
54
  export interface Events {
53
55
  onAccordionToggle?: (event: CustomEvent<{expanded: boolean, cardTitle: string}>) => void
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
2
2
  import type { Position, AccordionSize } from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
3
- import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
3
+ import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
4
+ import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
4
5
  import type { Snippet } from 'svelte';
5
6
  export interface Props {
6
7
  class?: string;
@@ -41,7 +42,7 @@ See `obc-alert-frame` for available thickness values. */
41
42
  alertFrameThickness?: ObcAlertFrameThickness;
42
43
  /** Status of the alert frame overlay (used when `hasAlert` is true).
43
44
  See `obc-alert-frame` for available statuses. */
44
- alertFrameStatus?: ObcAlertFrameStatus;
45
+ alertFrameStatus?: AlertType;
45
46
  }
46
47
  export interface Events {
47
48
  onAccordionToggle?: (event: CustomEvent<{
@@ -62,7 +63,7 @@ declare const ObcAccordionCard: import("svelte").Component<$$ComponentProps, {
62
63
  AccordionSize: typeof AccordionSize;
63
64
  ObcAlertFrameType: typeof ObcAlertFrameType;
64
65
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
65
- ObcAlertFrameStatus: typeof ObcAlertFrameStatus;
66
+ AlertType: typeof AlertType;
66
67
  }, "">;
67
68
  type ObcAccordionCard = ReturnType<typeof ObcAccordionCard>;
68
69
  export default ObcAccordionCard;
@@ -50,10 +50,10 @@ lineType?: ObcFloatingItemLineType
50
50
  description?: Snippet;
51
51
  time?: Snippet;
52
52
  day?: Snippet;
53
- action?: Snippet;
54
- action2?: Snippet
53
+ actionSnippet?: Snippet;
54
+ action2Snippet?: Snippet
55
55
  }
56
- const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day, action, action2, ...props} = $props<Props & Events & Slots>();
56
+ const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day, actionSnippet, action2Snippet, ...props} = $props<Props & Events & Slots>();
57
57
 
58
58
  </script>
59
59
  <obc-advice-floating-item
@@ -100,15 +100,15 @@ lineType?: ObcFloatingItemLineType
100
100
  </div>
101
101
  {/if}
102
102
 
103
- {#if action}
103
+ {#if actionSnippet}
104
104
  <div slot="action">
105
- {@render action()}
105
+ {@render actionSnippet()}
106
106
  </div>
107
107
  {/if}
108
108
 
109
- {#if action2}
109
+ {#if action2Snippet}
110
110
  <div slot="action2">
111
- {@render action2()}
111
+ {@render action2Snippet()}
112
112
  </div>
113
113
  {/if}
114
114
  </obc-advice-floating-item>
@@ -45,8 +45,8 @@ export interface Slots {
45
45
  description?: Snippet;
46
46
  time?: Snippet;
47
47
  day?: Snippet;
48
- action?: Snippet;
49
- action2?: Snippet;
48
+ actionSnippet?: Snippet;
49
+ action2Snippet?: Snippet;
50
50
  }
51
51
  type $$ComponentProps = Props & Events & Slots;
52
52
  declare const ObcAdviceFloatingItem: import("svelte").Component<$$ComponentProps, {
@@ -64,15 +64,15 @@ emptyText?: string
64
64
  export interface Slots {
65
65
  primaryIcon?: Snippet;
66
66
  secondaryIcon?: Snippet;
67
- title?: Snippet;
68
- description?: Snippet;
69
- time?: Snippet;
70
- timeSecondary?: Snippet;
67
+ titleSnippet?: Snippet;
68
+ descriptionSnippet?: Snippet;
69
+ timeSnippet?: Snippet;
70
+ timeSecondarySnippet?: Snippet;
71
71
  actionText?: Snippet;
72
72
  actionIcon?: Snippet;
73
73
  empty?: Snippet
74
74
  }
75
- const {onMessageClick, onActionClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, timeSecondary, actionText, actionIcon, empty, ...props} = $props<Props & Events & Slots>();
75
+ const {onMessageClick, onActionClick, class: className, style, primaryIcon, secondaryIcon, titleSnippet, descriptionSnippet, timeSnippet, timeSecondarySnippet, actionText, actionIcon, empty, ...props} = $props<Props & Events & Slots>();
76
76
 
77
77
  </script>
78
78
  <obc-advice-message-item
@@ -94,27 +94,27 @@ emptyText?: string
94
94
  </div>
95
95
  {/if}
96
96
 
97
- {#if title}
97
+ {#if titleSnippet}
98
98
  <div slot="title">
99
- {@render title()}
99
+ {@render titleSnippet()}
100
100
  </div>
101
101
  {/if}
102
102
 
103
- {#if description}
103
+ {#if descriptionSnippet}
104
104
  <div slot="description">
105
- {@render description()}
105
+ {@render descriptionSnippet()}
106
106
  </div>
107
107
  {/if}
108
108
 
109
- {#if time}
109
+ {#if timeSnippet}
110
110
  <div slot="time">
111
- {@render time()}
111
+ {@render timeSnippet()}
112
112
  </div>
113
113
  {/if}
114
114
 
115
- {#if timeSecondary}
115
+ {#if timeSecondarySnippet}
116
116
  <div slot="time-secondary">
117
- {@render timeSecondary()}
117
+ {@render timeSecondarySnippet()}
118
118
  </div>
119
119
  {/if}
120
120
 
@@ -59,10 +59,10 @@ export interface Events {
59
59
  export interface Slots {
60
60
  primaryIcon?: Snippet;
61
61
  secondaryIcon?: Snippet;
62
- title?: Snippet;
63
- description?: Snippet;
64
- time?: Snippet;
65
- timeSecondary?: Snippet;
62
+ titleSnippet?: Snippet;
63
+ descriptionSnippet?: Snippet;
64
+ timeSnippet?: Snippet;
65
+ timeSecondarySnippet?: Snippet;
66
66
  actionText?: Snippet;
67
67
  actionIcon?: Snippet;
68
68
  empty?: Snippet;
@@ -1,9 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
3
+ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
4
+ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
6
  import { setProperties } from "../../util.js";
6
- import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
+ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
8
+ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
@@ -24,8 +26,17 @@ thickness?: ObcAlertFrameThickness;
24
26
  /** Status of the alert, controlling color scheme and icon.
25
27
  - `alarm`: Highest severity (default).
26
28
  - `warning`: Medium severity.
27
- - `caution`: Lower severity. */
28
- status?: ObcAlertFrameStatus;
29
+ - `caution`: Lower severity.
30
+ - `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents. */
31
+ status?: AlertType;
32
+ /** Acknowledgement lifecycle state, controlling the frame's blinking/animation.
33
+ - `acked-active`: Active and acknowledged (default); no blinking.
34
+ - `unacked-active`: Active and not yet acknowledged; blinks.
35
+ - `unacked-rectified`: Condition cleared but not yet acknowledged. */
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;
29
40
  /** If true, the top-left corner will be sharp (not rounded). */
30
41
  sharpEdgeTopLeft?: boolean;
31
42
  /** If true, the top-right corner will be sharp (not rounded). */
@@ -1,5 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
2
- import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
2
+ import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
3
+ import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
@@ -19,8 +20,17 @@ Default: `small-side-flip` */
19
20
  /** Status of the alert, controlling color scheme and icon.
20
21
  - `alarm`: Highest severity (default).
21
22
  - `warning`: Medium severity.
22
- - `caution`: Lower severity. */
23
- status?: ObcAlertFrameStatus;
23
+ - `caution`: Lower severity.
24
+ - `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents. */
25
+ status?: AlertType;
26
+ /** Acknowledgement lifecycle state, controlling the frame's blinking/animation.
27
+ - `acked-active`: Active and acknowledged (default); no blinking.
28
+ - `unacked-active`: Active and not yet acknowledged; blinks.
29
+ - `unacked-rectified`: Condition cleared but not yet acknowledged. */
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. */
33
+ wrapContent?: boolean;
24
34
  /** If true, the top-left corner will be sharp (not rounded). */
25
35
  sharpEdgeTopLeft?: boolean;
26
36
  /** If true, the top-right corner will be sharp (not rounded). */
@@ -45,8 +55,9 @@ type $$ComponentProps = Props & Events & Slots;
45
55
  declare const ObcAlertFrame: import("svelte").Component<$$ComponentProps, {
46
56
  ObcAlertFrameType: typeof ObcAlertFrameType;
47
57
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
48
- ObcAlertFrameStatus: typeof ObcAlertFrameStatus;
58
+ ObcAlertFrameMode: typeof ObcAlertFrameMode;
49
59
  AlertFrameTextSize: typeof AlertFrameTextSize;
60
+ AlertType: typeof AlertType;
50
61
  }, "">;
51
62
  type ObcAlertFrame = ReturnType<typeof ObcAlertFrame>;
52
63
  export default ObcAlertFrame;
@@ -0,0 +1,32 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/components/alert-frame/critical-badge.js';
5
+ import { setProperties } from "../../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+ </script>
23
+ <obi-critical-badge
24
+ use:setProperties={props}
25
+ class={className}
26
+ style={style}
27
+ >
28
+
29
+ {#if children}
30
+ {@render children()}
31
+ {/if}
32
+ </obi-critical-badge>
@@ -0,0 +1,15 @@
1
+ import '@oicl/openbridge-webcomponents/dist/components/alert-frame/critical-badge.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ }
7
+ export interface Events {
8
+ }
9
+ export interface Slots {
10
+ children?: Snippet;
11
+ }
12
+ type $$ComponentProps = Props & Events & Slots;
13
+ declare const ObiCriticalBadge: import("svelte").Component<$$ComponentProps, {}, "">;
14
+ type ObiCriticalBadge = ReturnType<typeof ObiCriticalBadge>;
15
+ export default ObiCriticalBadge;
@@ -0,0 +1,32 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/components/alert-frame/diagnostic-badge.js';
5
+ import { setProperties } from "../../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+ </script>
23
+ <obi-diagnostic-badge
24
+ use:setProperties={props}
25
+ class={className}
26
+ style={style}
27
+ >
28
+
29
+ {#if children}
30
+ {@render children()}
31
+ {/if}
32
+ </obi-diagnostic-badge>
@@ -0,0 +1,15 @@
1
+ import '@oicl/openbridge-webcomponents/dist/components/alert-frame/diagnostic-badge.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ }
7
+ export interface Events {
8
+ }
9
+ export interface Slots {
10
+ children?: Snippet;
11
+ }
12
+ type $$ComponentProps = Props & Events & Slots;
13
+ declare const ObiDiagnosticBadge: import("svelte").Component<$$ComponentProps, {}, "">;
14
+ type ObiDiagnosticBadge = ReturnType<typeof ObiDiagnosticBadge>;
15
+ export default ObiDiagnosticBadge;
@@ -18,7 +18,17 @@ hasShelved?: boolean;
18
18
  Should be set to true only when there are unacknowledged alerts in view.
19
19
 
20
20
  Default: false. */
21
- canAckAll?: boolean
21
+ canAckAll?: boolean;
22
+ /** If true, shows the "Silence" button in the action bar.
23
+ When hidden, the "ACK visible" button expands to fill the freed space.
24
+
25
+ Default: true. */
26
+ showSilenceButton?: boolean;
27
+ /** If true, shows the "Alerts" navigation button in the action bar.
28
+ When hidden, the "ACK visible" button expands to fill the freed space.
29
+
30
+ Default: true. */
31
+ showAlertListButton?: boolean
22
32
  }
23
33
  export interface Events {
24
34
  onAckAllVisibleClick?: (event: ObcAckAllVisibleClickEvent) => void;
@@ -14,6 +14,16 @@ Should be set to true only when there are unacknowledged alerts in view.
14
14
 
15
15
  Default: false. */
16
16
  canAckAll?: boolean;
17
+ /** If true, shows the "Silence" button in the action bar.
18
+ When hidden, the "ACK visible" button expands to fill the freed space.
19
+
20
+ Default: true. */
21
+ showSilenceButton?: boolean;
22
+ /** If true, shows the "Alerts" navigation button in the action bar.
23
+ When hidden, the "ACK visible" button expands to fill the freed space.
24
+
25
+ Default: true. */
26
+ showAlertListButton?: boolean;
17
27
  }
18
28
  export interface Events {
19
29
  onAckAllVisibleClick?: (event: ObcAckAllVisibleClickEvent) => void;
@@ -1,19 +1,18 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
3
+ export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  import { setProperties } from "../../util.js";
6
- import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
+ import type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
12
  readouts?: AutomationButtonReadoutStack[];
13
- tag?: AutomationButtonReadoutStackTag | null;
13
+ tag?: string | null;
14
14
  size?: AutomationButtonReadoutStackSize;
15
- idTagOrientation?: IdTagOrientation;
16
- hasIdTag?: boolean
15
+ idTagOrientation?: IdTagOrientation
17
16
  }
18
17
  export interface Events {
19
18
 
@@ -1,14 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
2
- import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
2
+ import type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
3
3
  import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
7
  readouts?: AutomationButtonReadoutStack[];
8
- tag?: AutomationButtonReadoutStackTag | null;
8
+ tag?: string | null;
9
9
  size?: AutomationButtonReadoutStackSize;
10
10
  idTagOrientation?: IdTagOrientation;
11
- hasIdTag?: boolean;
12
11
  }
13
12
  export interface Events {
14
13
  }
@@ -18,7 +17,6 @@ export interface Slots {
18
17
  type $$ComponentProps = Props & Events & Slots;
19
18
  declare const ObcAutomationButtonReadoutStack: import("svelte").Component<$$ComponentProps, {
20
19
  AutomationButtonReadoutStack: typeof AutomationButtonReadoutStack;
21
- AutomationButtonReadoutStackTag: typeof AutomationButtonReadoutStackTag;
22
20
  AutomationButtonReadoutStackSize: typeof AutomationButtonReadoutStackSize;
23
21
  IdTagOrientation: typeof IdTagOrientation;
24
22
  }, "">;
@@ -19,7 +19,7 @@ Set to `false` for symbolic or icon-only badges. */
19
19
  showNumber?: boolean;
20
20
  /** Visual style/type of the badge.
21
21
 
22
- Possible values: `regular`, `alarm`, `warning`, `caution`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.
22
+ Possible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.
23
23
 
24
24
  Defaults to `regular`. */
25
25
  type?: string;
@@ -34,7 +34,7 @@ size?: string;
34
34
  variant?: BadgeVariant;
35
35
  /** Whether to show an icon in the badge.
36
36
 
37
- For built-in types (`alarm`, `warning`, `caution`, `running`), a contextual icon is shown automatically.
37
+ For built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically.
38
38
  For other types, provide a custom icon in the `badge-icon` slot. */
39
39
  showIcon?: boolean
40
40
  }
@@ -14,7 +14,7 @@ Set to `false` for symbolic or icon-only badges. */
14
14
  showNumber?: boolean;
15
15
  /** Visual style/type of the badge.
16
16
 
17
- Possible values: `regular`, `alarm`, `warning`, `caution`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.
17
+ Possible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.
18
18
 
19
19
  Defaults to `regular`. */
20
20
  type?: string;
@@ -29,7 +29,7 @@ Possible values: `regular` (default), `large`. */
29
29
  variant?: BadgeVariant;
30
30
  /** Whether to show an icon in the badge.
31
31
 
32
- For built-in types (`alarm`, `warning`, `caution`, `running`), a contextual icon is shown automatically.
32
+ For built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically.
33
33
  For other types, provide a custom icon in the `badge-icon` slot. */
34
34
  showIcon?: boolean;
35
35
  }
@@ -14,13 +14,13 @@
14
14
 
15
15
  When `hasDialog` is false, the card is a static container. When true, clicking the card opens a modal dialog overlay, displaying content from the `dialog-title` and `dialog-content` slots. */
16
16
  hasDialog?: boolean;
17
- /** Total time in milliseconds before the dialog auto-closes.
17
+ /** Total time in seconds before the dialog auto-closes. Use `0` to disable auto-close.
18
18
 
19
- When the dialog is open, it will automatically close after this duration unless reset by user activity. The countdown indicator appears for the last `dialogVisibleTimerSeconds` milliseconds. */
19
+ When greater than zero, the dialog closes after this duration unless reset by user activity. The countdown indicator appears for the last `dialogVisibleTimerSeconds` seconds. */
20
20
  dialogTimeOutSeconds?: number;
21
- /** Duration in milliseconds for which the countdown indicator is shown before auto-dismiss.
21
+ /** Duration in seconds for which the countdown indicator is shown before auto-dismiss.
22
22
 
23
- The countdown indicator is visible for the last `dialogVisibleTimerSeconds` milliseconds of the dialog's lifetime. User activity resets the timer. */
23
+ The countdown indicator is visible for the last `dialogVisibleTimerSeconds` seconds of the dialog's lifetime when auto-close is enabled. User activity resets the timer. */
24
24
  dialogVisibleTimerSeconds?: number
25
25
  }
26
26
  export interface Events {
@@ -8,13 +8,13 @@ export interface Props {
8
8
 
9
9
  When `hasDialog` is false, the card is a static container. When true, clicking the card opens a modal dialog overlay, displaying content from the `dialog-title` and `dialog-content` slots. */
10
10
  hasDialog?: boolean;
11
- /** Total time in milliseconds before the dialog auto-closes.
11
+ /** Total time in seconds before the dialog auto-closes. Use `0` to disable auto-close.
12
12
 
13
- When the dialog is open, it will automatically close after this duration unless reset by user activity. The countdown indicator appears for the last `dialogVisibleTimerSeconds` milliseconds. */
13
+ When greater than zero, the dialog closes after this duration unless reset by user activity. The countdown indicator appears for the last `dialogVisibleTimerSeconds` seconds. */
14
14
  dialogTimeOutSeconds?: number;
15
- /** Duration in milliseconds for which the countdown indicator is shown before auto-dismiss.
15
+ /** Duration in seconds for which the countdown indicator is shown before auto-dismiss.
16
16
 
17
- The countdown indicator is visible for the last `dialogVisibleTimerSeconds` milliseconds of the dialog's lifetime. User activity resets the timer. */
17
+ The countdown indicator is visible for the last `dialogVisibleTimerSeconds` seconds of the dialog's lifetime when auto-close is enabled. User activity resets the timer. */
18
18
  dialogVisibleTimerSeconds?: number;
19
19
  }
20
20
  export interface Events {
@@ -1,9 +1,9 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ObcDropdownButtonChangeEvent, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
3
+ export type {ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
5
5
  import { setProperties } from "../../util.js";
6
- import type {ObcDropdownButtonChangeEvent, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
6
+ import type {ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
7
7
  import type { Snippet } from 'svelte';
8
8
 
9
9
  export interface Props {
@@ -16,12 +16,17 @@ Example:
16
16
  { value: 'volvo', label: 'Volvo' },
17
17
  { value: 'xc90', label: 'XC 90', level: 2 }
18
18
  ] */
19
- options?: { value: string; label: string; level?: number | undefined; }[];
19
+ options?: DropdownButtonOption[];
20
20
  /** The value of the currently selected option. If not set, defaults to the first option in the list. */
21
21
  value?: string | undefined;
22
22
  disabled?: boolean;
23
23
  /** If true, the select expands to fill the width of its container. Default is false. */
24
24
  fullWidth?: boolean;
25
+ /** If true, a `value` that does not match any option leaves the button with no option selected,
26
+ showing `placeholder` instead of defaulting to the first option. Default is false. */
27
+ allowEmptySelection?: boolean;
28
+ /** Text shown when nothing is selected and `allowEmptySelection` is true. Default is an empty string. */
29
+ placeholder?: string;
25
30
  /** Controls the button's display type.
26
31
  - `label`: Text label only (default)
27
32
  - `icon`: Icon only, no label
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
2
- import type { ObcDropdownButtonChangeEvent, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
2
+ import type { ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
3
3
  import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
@@ -11,16 +11,17 @@ Example:
11
11
  { value: 'volvo', label: 'Volvo' },
12
12
  { value: 'xc90', label: 'XC 90', level: 2 }
13
13
  ] */
14
- options?: {
15
- value: string;
16
- label: string;
17
- level?: number | undefined;
18
- }[];
14
+ options?: DropdownButtonOption[];
19
15
  /** The value of the currently selected option. If not set, defaults to the first option in the list. */
20
16
  value?: string | undefined;
21
17
  disabled?: boolean;
22
18
  /** If true, the select expands to fill the width of its container. Default is false. */
23
19
  fullWidth?: boolean;
20
+ /** If true, a `value` that does not match any option leaves the button with no option selected,
21
+ showing `placeholder` instead of defaulting to the first option. Default is false. */
22
+ allowEmptySelection?: boolean;
23
+ /** Text shown when nothing is selected and `allowEmptySelection` is true. Default is an empty string. */
24
+ placeholder?: string;
24
25
  /** Controls the button's display type.
25
26
  - `label`: Text label only (default)
26
27
  - `icon`: Icon only, no label
@@ -43,6 +44,7 @@ export interface Slots {
43
44
  type $$ComponentProps = Props & Events & Slots;
44
45
  declare const ObcDropdownButton: import("svelte").Component<$$ComponentProps, {
45
46
  ObcDropdownButtonChangeEvent: typeof ObcDropdownButtonChangeEvent;
47
+ DropdownButtonOption: typeof DropdownButtonOption;
46
48
  DropdownButtonType: typeof DropdownButtonType;
47
49
  }, "">;
48
50
  type ObcDropdownButton = ReturnType<typeof ObcDropdownButton>;
@@ -39,9 +39,9 @@ required?: boolean
39
39
  }
40
40
  export interface Slots {
41
41
  leadingIcon?: Snippet;
42
- label?: Snippet
42
+ labelSnippet?: Snippet
43
43
  }
44
- const {onChange, class: className, style, leadingIcon, label, ...props} = $props<Props & Events & Slots>();
44
+ const {onChange, class: className, style, leadingIcon, labelSnippet, ...props} = $props<Props & Events & Slots>();
45
45
 
46
46
  </script>
47
47
  <obc-elevated-card-radio
@@ -56,9 +56,9 @@ required?: boolean
56
56
  </div>
57
57
  {/if}
58
58
 
59
- {#if label}
59
+ {#if labelSnippet}
60
60
  <div slot="label">
61
- {@render label()}
61
+ {@render labelSnippet()}
62
62
  </div>
63
63
  {/if}
64
64
  </obc-elevated-card-radio>