@oicl/openbridge-webcomponents-svelte 2.1.0 → 2.2.0-next.10

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 (459) hide show
  1. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +4 -1
  2. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +4 -1
  3. package/dist/automation/analog-valve/ObcAnalogValve.svelte +4 -1
  4. package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +4 -1
  5. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +4 -1
  6. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +4 -1
  7. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -1
  8. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +4 -1
  9. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -1
  10. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +4 -1
  11. package/dist/automation/automation-button/ObcAutomationButton.svelte +25 -4
  12. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +21 -1
  13. package/dist/automation/automation-tank/ObcAutomationTank.svelte +11 -5
  14. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +10 -3
  15. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -1
  16. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +4 -1
  17. package/dist/automation/capacitor/ObcCapacitor.svelte +4 -1
  18. package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +4 -1
  19. package/dist/automation/converter/ObcConverter.svelte +4 -1
  20. package/dist/automation/converter/ObcConverter.svelte.d.ts +4 -1
  21. package/dist/automation/damper/ObcDamper.svelte +4 -1
  22. package/dist/automation/damper/ObcDamper.svelte.d.ts +4 -1
  23. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +4 -1
  24. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +4 -1
  25. package/dist/automation/digital-valve/ObcDigitalValve.svelte +28 -6
  26. package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +27 -3
  27. package/dist/automation/diodes/ObcDiodes.svelte +4 -1
  28. package/dist/automation/diodes/ObcDiodes.svelte.d.ts +4 -1
  29. package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte +87 -0
  30. package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte.d.ts +79 -0
  31. package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte +91 -0
  32. package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte.d.ts +84 -0
  33. package/dist/automation/direction-valve-shared/direction-valve-shared.d.ts +2 -0
  34. package/dist/automation/direction-valve-shared/direction-valve-shared.js +2 -0
  35. package/dist/automation/electricity-battery/ObcElectricityBattery.svelte +105 -0
  36. package/dist/automation/electricity-battery/ObcElectricityBattery.svelte.d.ts +85 -0
  37. package/dist/automation/fan/ObcFan.svelte +4 -1
  38. package/dist/automation/fan/ObcFan.svelte.d.ts +4 -1
  39. package/dist/automation/filter/ObcFilter.svelte +4 -1
  40. package/dist/automation/filter/ObcFilter.svelte.d.ts +4 -1
  41. package/dist/automation/gauge-generator/ObcGaugeGenerator.svelte +10 -4
  42. package/dist/automation/gauge-generator/ObcGaugeGenerator.svelte.d.ts +10 -4
  43. package/dist/automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte +10 -4
  44. package/dist/automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte.d.ts +10 -4
  45. package/dist/automation/ground/ObcGround.svelte +4 -1
  46. package/dist/automation/ground/ObcGround.svelte.d.ts +4 -1
  47. package/dist/automation/logic/ObcLogic.svelte +4 -1
  48. package/dist/automation/logic/ObcLogic.svelte.d.ts +4 -1
  49. package/dist/automation/mosfet/ObcMosfet.svelte +4 -1
  50. package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +4 -1
  51. package/dist/automation/motor/ObcMotor.svelte +4 -1
  52. package/dist/automation/motor/ObcMotor.svelte.d.ts +4 -1
  53. package/dist/automation/non-return-valve/ObcNonReturnValve.svelte +87 -0
  54. package/dist/automation/non-return-valve/ObcNonReturnValve.svelte.d.ts +79 -0
  55. package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte +91 -0
  56. package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte.d.ts +84 -0
  57. package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte +91 -0
  58. package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte.d.ts +84 -0
  59. package/dist/automation/pump/ObcPump.svelte +4 -1
  60. package/dist/automation/pump/ObcPump.svelte.d.ts +4 -1
  61. package/dist/automation/resistor/ObcResistor.svelte +4 -1
  62. package/dist/automation/resistor/ObcResistor.svelte.d.ts +4 -1
  63. package/dist/automation/router/ObcRouter.svelte +4 -1
  64. package/dist/automation/router/ObcRouter.svelte.d.ts +4 -1
  65. package/dist/automation/source/ObcSource.svelte +4 -1
  66. package/dist/automation/source/ObcSource.svelte.d.ts +4 -1
  67. package/dist/automation/switch/ObcSwitch.svelte +4 -1
  68. package/dist/automation/switch/ObcSwitch.svelte.d.ts +4 -1
  69. package/dist/automation/transformer/ObcTransformer.svelte +4 -1
  70. package/dist/automation/transformer/ObcTransformer.svelte.d.ts +4 -1
  71. package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +8 -0
  72. package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +9 -0
  73. package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +9 -1
  74. package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +9 -0
  75. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +11 -7
  76. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +10 -5
  77. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +10 -6
  78. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +9 -4
  79. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +10 -2
  80. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +9 -0
  81. package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +10 -3
  82. package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte.d.ts +10 -3
  83. package/dist/components/alert-button/ObcAlertButton.svelte +8 -0
  84. package/dist/components/alert-button/ObcAlertButton.svelte.d.ts +8 -0
  85. package/dist/components/alert-button-item/ObcAlertButtonItem.svelte +19 -6
  86. package/dist/components/alert-button-item/ObcAlertButtonItem.svelte.d.ts +13 -1
  87. package/dist/components/alert-counter-item/ObcAlertCounterItem.svelte +1 -1
  88. package/dist/components/alert-counter-item/ObcAlertCounterItem.svelte.d.ts +1 -1
  89. package/dist/components/alert-subsystem-button/ObcAlertSubsystemButton.svelte +62 -0
  90. package/dist/components/alert-subsystem-button/ObcAlertSubsystemButton.svelte.d.ts +43 -0
  91. package/dist/components/diagnostic-button/ObcDiagnosticButton.svelte +41 -0
  92. package/dist/components/diagnostic-button/ObcDiagnosticButton.svelte.d.ts +24 -0
  93. package/dist/components/diagnostic-menu/ObcDiagnosticMenu.svelte +71 -0
  94. package/dist/components/diagnostic-menu/ObcDiagnosticMenu.svelte.d.ts +44 -0
  95. package/dist/components/split-button/ObcSplitButton.svelte +21 -2
  96. package/dist/components/split-button/ObcSplitButton.svelte.d.ts +15 -0
  97. package/dist/components/top-bar/ObcTopBar.svelte +16 -4
  98. package/dist/components/top-bar/ObcTopBar.svelte.d.ts +6 -2
  99. package/dist/icons/ObiActuatorElectroHydraulicClosed.svelte +34 -0
  100. package/dist/icons/ObiActuatorElectroHydraulicClosed.svelte.d.ts +16 -0
  101. package/dist/icons/ObiActuatorElectroHydraulicOpen.svelte +34 -0
  102. package/dist/icons/ObiActuatorElectroHydraulicOpen.svelte.d.ts +16 -0
  103. package/dist/icons/ObiActuatorElectroHydraulicStatic.svelte +34 -0
  104. package/dist/icons/ObiActuatorElectroHydraulicStatic.svelte.d.ts +16 -0
  105. package/dist/icons/ObiActuatorElectroMotorClosed.svelte +34 -0
  106. package/dist/icons/ObiActuatorElectroMotorClosed.svelte.d.ts +16 -0
  107. package/dist/icons/ObiActuatorElectroMotorOpen.svelte +34 -0
  108. package/dist/icons/ObiActuatorElectroMotorOpen.svelte.d.ts +16 -0
  109. package/dist/icons/ObiActuatorElectroMotorStatic.svelte +34 -0
  110. package/dist/icons/ObiActuatorElectroMotorStatic.svelte.d.ts +16 -0
  111. package/dist/icons/ObiActuatorLeverClosed.svelte +34 -0
  112. package/dist/icons/ObiActuatorLeverClosed.svelte.d.ts +16 -0
  113. package/dist/icons/ObiActuatorLeverOpen.svelte +34 -0
  114. package/dist/icons/ObiActuatorLeverOpen.svelte.d.ts +16 -0
  115. package/dist/icons/ObiActuatorLeverStatic.svelte +34 -0
  116. package/dist/icons/ObiActuatorLeverStatic.svelte.d.ts +16 -0
  117. package/dist/icons/ObiActuatorManualAlternativeClosed.svelte +34 -0
  118. package/dist/icons/ObiActuatorManualAlternativeClosed.svelte.d.ts +16 -0
  119. package/dist/icons/ObiActuatorManualAlternativeOpen.svelte +34 -0
  120. package/dist/icons/ObiActuatorManualAlternativeOpen.svelte.d.ts +16 -0
  121. package/dist/icons/ObiActuatorManualAlternativeStatic.svelte +34 -0
  122. package/dist/icons/ObiActuatorManualAlternativeStatic.svelte.d.ts +16 -0
  123. package/dist/icons/ObiActuatorManualClosed.svelte +34 -0
  124. package/dist/icons/ObiActuatorManualClosed.svelte.d.ts +16 -0
  125. package/dist/icons/ObiActuatorManualOpen.svelte +34 -0
  126. package/dist/icons/ObiActuatorManualOpen.svelte.d.ts +16 -0
  127. package/dist/icons/ObiActuatorManualSmallClosed.svelte +34 -0
  128. package/dist/icons/ObiActuatorManualSmallClosed.svelte.d.ts +16 -0
  129. package/dist/icons/ObiActuatorManualSmallOpen.svelte +34 -0
  130. package/dist/icons/ObiActuatorManualSmallOpen.svelte.d.ts +16 -0
  131. package/dist/icons/ObiActuatorManualSmallStatic.svelte +34 -0
  132. package/dist/icons/ObiActuatorManualSmallStatic.svelte.d.ts +16 -0
  133. package/dist/icons/ObiActuatorManualStatic.svelte +34 -0
  134. package/dist/icons/ObiActuatorManualStatic.svelte.d.ts +16 -0
  135. package/dist/icons/ObiActuatorPistonClosed.svelte +34 -0
  136. package/dist/icons/ObiActuatorPistonClosed.svelte.d.ts +16 -0
  137. package/dist/icons/ObiActuatorPistonOpen.svelte +34 -0
  138. package/dist/icons/ObiActuatorPistonOpen.svelte.d.ts +16 -0
  139. package/dist/icons/ObiActuatorPistonStatic.svelte +34 -0
  140. package/dist/icons/ObiActuatorPistonStatic.svelte.d.ts +16 -0
  141. package/dist/icons/ObiActuatorPneumaticClosed.svelte +34 -0
  142. package/dist/icons/ObiActuatorPneumaticClosed.svelte.d.ts +16 -0
  143. package/dist/icons/ObiActuatorPneumaticOpen.svelte +34 -0
  144. package/dist/icons/ObiActuatorPneumaticOpen.svelte.d.ts +16 -0
  145. package/dist/icons/ObiActuatorPneumaticStatic.svelte +34 -0
  146. package/dist/icons/ObiActuatorPneumaticStatic.svelte.d.ts +16 -0
  147. package/dist/icons/ObiActuatorReferenceClosed.svelte +34 -0
  148. package/dist/icons/ObiActuatorReferenceClosed.svelte.d.ts +16 -0
  149. package/dist/icons/ObiActuatorReferenceOpen.svelte +34 -0
  150. package/dist/icons/ObiActuatorReferenceOpen.svelte.d.ts +16 -0
  151. package/dist/icons/ObiActuatorReferenceStatic.svelte +34 -0
  152. package/dist/icons/ObiActuatorReferenceStatic.svelte.d.ts +16 -0
  153. package/dist/icons/ObiActuatorSmallElectroHydraulicClosed.svelte +34 -0
  154. package/dist/icons/ObiActuatorSmallElectroHydraulicClosed.svelte.d.ts +16 -0
  155. package/dist/icons/ObiActuatorSmallElectroHydraulicOpen.svelte +34 -0
  156. package/dist/icons/ObiActuatorSmallElectroHydraulicOpen.svelte.d.ts +16 -0
  157. package/dist/icons/ObiActuatorSmallElectroHydraulicStatic.svelte +34 -0
  158. package/dist/icons/ObiActuatorSmallElectroHydraulicStatic.svelte.d.ts +16 -0
  159. package/dist/icons/ObiActuatorSmallElectroMotorClosed.svelte +34 -0
  160. package/dist/icons/ObiActuatorSmallElectroMotorClosed.svelte.d.ts +16 -0
  161. package/dist/icons/ObiActuatorSmallElectroMotorOpen.svelte +34 -0
  162. package/dist/icons/ObiActuatorSmallElectroMotorOpen.svelte.d.ts +16 -0
  163. package/dist/icons/ObiActuatorSmallElectroMotorStatic.svelte +34 -0
  164. package/dist/icons/ObiActuatorSmallElectroMotorStatic.svelte.d.ts +16 -0
  165. package/dist/icons/ObiActuatorSmallLeverClosed.svelte +34 -0
  166. package/dist/icons/ObiActuatorSmallLeverClosed.svelte.d.ts +16 -0
  167. package/dist/icons/ObiActuatorSmallLeverOpen.svelte +34 -0
  168. package/dist/icons/ObiActuatorSmallLeverOpen.svelte.d.ts +16 -0
  169. package/dist/icons/ObiActuatorSmallLeverStatic.svelte +34 -0
  170. package/dist/icons/ObiActuatorSmallLeverStatic.svelte.d.ts +16 -0
  171. package/dist/icons/ObiActuatorSmallManualAlternativeClosed.svelte +34 -0
  172. package/dist/icons/ObiActuatorSmallManualAlternativeClosed.svelte.d.ts +16 -0
  173. package/dist/icons/ObiActuatorSmallManualAlternativeOpen.svelte +34 -0
  174. package/dist/icons/ObiActuatorSmallManualAlternativeOpen.svelte.d.ts +16 -0
  175. package/dist/icons/ObiActuatorSmallManualAlternativeStatic.svelte +34 -0
  176. package/dist/icons/ObiActuatorSmallManualAlternativeStatic.svelte.d.ts +16 -0
  177. package/dist/icons/ObiActuatorSmallPistonClosed.svelte +34 -0
  178. package/dist/icons/ObiActuatorSmallPistonClosed.svelte.d.ts +16 -0
  179. package/dist/icons/ObiActuatorSmallPistonOpen.svelte +34 -0
  180. package/dist/icons/ObiActuatorSmallPistonOpen.svelte.d.ts +16 -0
  181. package/dist/icons/ObiActuatorSmallPistonStatic.svelte +34 -0
  182. package/dist/icons/ObiActuatorSmallPistonStatic.svelte.d.ts +16 -0
  183. package/dist/icons/ObiActuatorSmallPneumaticClosed.svelte +34 -0
  184. package/dist/icons/ObiActuatorSmallPneumaticClosed.svelte.d.ts +16 -0
  185. package/dist/icons/ObiActuatorSmallPneumaticOpen.svelte +34 -0
  186. package/dist/icons/ObiActuatorSmallPneumaticOpen.svelte.d.ts +16 -0
  187. package/dist/icons/ObiActuatorSmallPneumaticStatic.svelte +34 -0
  188. package/dist/icons/ObiActuatorSmallPneumaticStatic.svelte.d.ts +16 -0
  189. package/dist/icons/ObiActuatorSmallSolenoidClosed.svelte +34 -0
  190. package/dist/icons/ObiActuatorSmallSolenoidClosed.svelte.d.ts +16 -0
  191. package/dist/icons/ObiActuatorSmallSolenoidOpen.svelte +34 -0
  192. package/dist/icons/ObiActuatorSmallSolenoidOpen.svelte.d.ts +16 -0
  193. package/dist/icons/ObiActuatorSmallSolenoidStatic.svelte +34 -0
  194. package/dist/icons/ObiActuatorSmallSolenoidStatic.svelte.d.ts +16 -0
  195. package/dist/icons/ObiActuatorSmallSpringClosed.svelte +34 -0
  196. package/dist/icons/ObiActuatorSmallSpringClosed.svelte.d.ts +16 -0
  197. package/dist/icons/ObiActuatorSmallSpringOpen.svelte +34 -0
  198. package/dist/icons/ObiActuatorSmallSpringOpen.svelte.d.ts +16 -0
  199. package/dist/icons/ObiActuatorSmallSpringStatic.svelte +34 -0
  200. package/dist/icons/ObiActuatorSmallSpringStatic.svelte.d.ts +16 -0
  201. package/dist/icons/ObiActuatorSolenoidClosed.svelte +34 -0
  202. package/dist/icons/ObiActuatorSolenoidClosed.svelte.d.ts +16 -0
  203. package/dist/icons/ObiActuatorSolenoidOpen.svelte +34 -0
  204. package/dist/icons/ObiActuatorSolenoidOpen.svelte.d.ts +16 -0
  205. package/dist/icons/ObiActuatorSolenoidStatic.svelte +34 -0
  206. package/dist/icons/ObiActuatorSolenoidStatic.svelte.d.ts +16 -0
  207. package/dist/icons/ObiActuatorSpringClosed.svelte +34 -0
  208. package/dist/icons/ObiActuatorSpringClosed.svelte.d.ts +16 -0
  209. package/dist/icons/ObiActuatorSpringOpen.svelte +34 -0
  210. package/dist/icons/ObiActuatorSpringOpen.svelte.d.ts +16 -0
  211. package/dist/icons/ObiActuatorSpringStatic.svelte +34 -0
  212. package/dist/icons/ObiActuatorSpringStatic.svelte.d.ts +16 -0
  213. package/dist/icons/ObiAlarmUnacknowledgedOutlined.svelte +34 -0
  214. package/dist/icons/ObiAlarmUnacknowledgedOutlined.svelte.d.ts +16 -0
  215. package/dist/icons/ObiConverterAcacOff.svelte +34 -0
  216. package/dist/icons/ObiConverterAcacOff.svelte.d.ts +16 -0
  217. package/dist/icons/ObiConverterAcacOn.svelte +34 -0
  218. package/dist/icons/ObiConverterAcacOn.svelte.d.ts +16 -0
  219. package/dist/icons/ObiConverterAcacStatic.svelte +34 -0
  220. package/dist/icons/ObiConverterAcacStatic.svelte.d.ts +16 -0
  221. package/dist/icons/ObiConverterAcdcStatic.svelte +34 -0
  222. package/dist/icons/ObiConverterAcdcStatic.svelte.d.ts +16 -0
  223. package/dist/icons/ObiConverterAcvacOff.svelte +34 -0
  224. package/dist/icons/ObiConverterAcvacOff.svelte.d.ts +16 -0
  225. package/dist/icons/ObiConverterAcvacOn.svelte +34 -0
  226. package/dist/icons/ObiConverterAcvacOn.svelte.d.ts +16 -0
  227. package/dist/icons/ObiConverterAcvacStatic.svelte +34 -0
  228. package/dist/icons/ObiConverterAcvacStatic.svelte.d.ts +16 -0
  229. package/dist/icons/ObiConverterDcacStatic.svelte +34 -0
  230. package/dist/icons/ObiConverterDcacStatic.svelte.d.ts +16 -0
  231. package/dist/icons/ObiConverterVacacOff.svelte +34 -0
  232. package/dist/icons/ObiConverterVacacOff.svelte.d.ts +16 -0
  233. package/dist/icons/ObiConverterVacacOn.svelte +34 -0
  234. package/dist/icons/ObiConverterVacacOn.svelte.d.ts +16 -0
  235. package/dist/icons/ObiConverterVacacStatic.svelte +34 -0
  236. package/dist/icons/ObiConverterVacacStatic.svelte.d.ts +16 -0
  237. package/dist/icons/ObiConverterVacvacOff.svelte +34 -0
  238. package/dist/icons/ObiConverterVacvacOff.svelte.d.ts +16 -0
  239. package/dist/icons/ObiConverterVacvacOn.svelte +34 -0
  240. package/dist/icons/ObiConverterVacvacOn.svelte.d.ts +16 -0
  241. package/dist/icons/ObiConverterVacvacStatic.svelte +34 -0
  242. package/dist/icons/ObiConverterVacvacStatic.svelte.d.ts +16 -0
  243. package/dist/icons/ObiDeviceFilterOff.svelte +34 -0
  244. package/dist/icons/ObiDeviceFilterOff.svelte.d.ts +16 -0
  245. package/dist/icons/ObiDeviceFilterOn.svelte +34 -0
  246. package/dist/icons/ObiDeviceFilterOn.svelte.d.ts +16 -0
  247. package/dist/icons/ObiDeviceFilterStatic.svelte +34 -0
  248. package/dist/icons/ObiDeviceFilterStatic.svelte.d.ts +16 -0
  249. package/dist/icons/ObiDirectionLeftOff.svelte +34 -0
  250. package/dist/icons/ObiDirectionLeftOff.svelte.d.ts +16 -0
  251. package/dist/icons/ObiDirectionLeftOn.svelte +34 -0
  252. package/dist/icons/ObiDirectionLeftOn.svelte.d.ts +16 -0
  253. package/dist/icons/ObiDirectionLeftStatic.svelte +34 -0
  254. package/dist/icons/ObiDirectionLeftStatic.svelte.d.ts +16 -0
  255. package/dist/icons/ObiDirectionRightOff.svelte +34 -0
  256. package/dist/icons/ObiDirectionRightOff.svelte.d.ts +16 -0
  257. package/dist/icons/ObiDirectionRightOn.svelte +34 -0
  258. package/dist/icons/ObiDirectionRightOn.svelte.d.ts +16 -0
  259. package/dist/icons/ObiDirectionRightStatic.svelte +34 -0
  260. package/dist/icons/ObiDirectionRightStatic.svelte.d.ts +16 -0
  261. package/dist/icons/ObiDoubleClick.svelte +34 -0
  262. package/dist/icons/ObiDoubleClick.svelte.d.ts +16 -0
  263. package/dist/icons/ObiElectricityBatteryOff.svelte +34 -0
  264. package/dist/icons/ObiElectricityBatteryOff.svelte.d.ts +16 -0
  265. package/dist/icons/ObiElectricityBatteryOn.svelte +34 -0
  266. package/dist/icons/ObiElectricityBatteryOn.svelte.d.ts +16 -0
  267. package/dist/icons/ObiShield2.svelte +34 -0
  268. package/dist/icons/ObiShield2.svelte.d.ts +16 -0
  269. package/dist/icons/ObiShieldGoogle.svelte +34 -0
  270. package/dist/icons/ObiShieldGoogle.svelte.d.ts +16 -0
  271. package/dist/icons/ObiSimulation2.svelte +34 -0
  272. package/dist/icons/ObiSimulation2.svelte.d.ts +16 -0
  273. package/dist/icons/ObiThreewayActuatorGenericClosed.svelte +34 -0
  274. package/dist/icons/ObiThreewayActuatorGenericClosed.svelte.d.ts +16 -0
  275. package/dist/icons/ObiThreewayActuatorGenericClosedBottom.svelte +34 -0
  276. package/dist/icons/ObiThreewayActuatorGenericClosedBottom.svelte.d.ts +16 -0
  277. package/dist/icons/ObiThreewayActuatorGenericClosedLeft.svelte +34 -0
  278. package/dist/icons/ObiThreewayActuatorGenericClosedLeft.svelte.d.ts +16 -0
  279. package/dist/icons/ObiThreewayActuatorGenericClosedRight.svelte +34 -0
  280. package/dist/icons/ObiThreewayActuatorGenericClosedRight.svelte.d.ts +16 -0
  281. package/dist/icons/ObiThreewayActuatorGenericInleftBottom0.svelte +34 -0
  282. package/dist/icons/ObiThreewayActuatorGenericInleftBottom0.svelte.d.ts +16 -0
  283. package/dist/icons/ObiThreewayActuatorGenericInleftBottom100.svelte +34 -0
  284. package/dist/icons/ObiThreewayActuatorGenericInleftBottom100.svelte.d.ts +16 -0
  285. package/dist/icons/ObiThreewayActuatorGenericInleftBottom25.svelte +34 -0
  286. package/dist/icons/ObiThreewayActuatorGenericInleftBottom25.svelte.d.ts +16 -0
  287. package/dist/icons/ObiThreewayActuatorGenericInleftBottom50.svelte +34 -0
  288. package/dist/icons/ObiThreewayActuatorGenericInleftBottom50.svelte.d.ts +16 -0
  289. package/dist/icons/ObiThreewayActuatorGenericInleftBottom75.svelte +34 -0
  290. package/dist/icons/ObiThreewayActuatorGenericInleftBottom75.svelte.d.ts +16 -0
  291. package/dist/icons/ObiThreewayActuatorGenericInleftLeft0.svelte +34 -0
  292. package/dist/icons/ObiThreewayActuatorGenericInleftLeft0.svelte.d.ts +16 -0
  293. package/dist/icons/ObiThreewayActuatorGenericInleftLeft100.svelte +34 -0
  294. package/dist/icons/ObiThreewayActuatorGenericInleftLeft100.svelte.d.ts +16 -0
  295. package/dist/icons/ObiThreewayActuatorGenericInleftLeft25.svelte +34 -0
  296. package/dist/icons/ObiThreewayActuatorGenericInleftLeft25.svelte.d.ts +16 -0
  297. package/dist/icons/ObiThreewayActuatorGenericInleftLeft50.svelte +34 -0
  298. package/dist/icons/ObiThreewayActuatorGenericInleftLeft50.svelte.d.ts +16 -0
  299. package/dist/icons/ObiThreewayActuatorGenericInleftLeft75.svelte +34 -0
  300. package/dist/icons/ObiThreewayActuatorGenericInleftLeft75.svelte.d.ts +16 -0
  301. package/dist/icons/ObiThreewayActuatorGenericInleftRight0.svelte +34 -0
  302. package/dist/icons/ObiThreewayActuatorGenericInleftRight0.svelte.d.ts +16 -0
  303. package/dist/icons/ObiThreewayActuatorGenericInleftRight100.svelte +34 -0
  304. package/dist/icons/ObiThreewayActuatorGenericInleftRight100.svelte.d.ts +16 -0
  305. package/dist/icons/ObiThreewayActuatorGenericInleftRight25.svelte +34 -0
  306. package/dist/icons/ObiThreewayActuatorGenericInleftRight25.svelte.d.ts +16 -0
  307. package/dist/icons/ObiThreewayActuatorGenericInleftRight50.svelte +34 -0
  308. package/dist/icons/ObiThreewayActuatorGenericInleftRight50.svelte.d.ts +16 -0
  309. package/dist/icons/ObiThreewayActuatorGenericInleftRight75.svelte +34 -0
  310. package/dist/icons/ObiThreewayActuatorGenericInleftRight75.svelte.d.ts +16 -0
  311. package/dist/icons/ObiThreewayActuatorGenericOpen.svelte +34 -0
  312. package/dist/icons/ObiThreewayActuatorGenericOpen.svelte.d.ts +16 -0
  313. package/dist/icons/ObiThreewayActuatorPistonClosed.svelte +34 -0
  314. package/dist/icons/ObiThreewayActuatorPistonClosed.svelte.d.ts +16 -0
  315. package/dist/icons/ObiThreewayActuatorPistonClosedBottom.svelte +34 -0
  316. package/dist/icons/ObiThreewayActuatorPistonClosedBottom.svelte.d.ts +16 -0
  317. package/dist/icons/ObiThreewayActuatorPistonClosedLeft.svelte +34 -0
  318. package/dist/icons/ObiThreewayActuatorPistonClosedLeft.svelte.d.ts +16 -0
  319. package/dist/icons/ObiThreewayActuatorPistonClosedRight.svelte +34 -0
  320. package/dist/icons/ObiThreewayActuatorPistonClosedRight.svelte.d.ts +16 -0
  321. package/dist/icons/ObiThreewayActuatorPistonInleftBottom0.svelte +34 -0
  322. package/dist/icons/ObiThreewayActuatorPistonInleftBottom0.svelte.d.ts +16 -0
  323. package/dist/icons/ObiThreewayActuatorPistonInleftBottom100.svelte +34 -0
  324. package/dist/icons/ObiThreewayActuatorPistonInleftBottom100.svelte.d.ts +16 -0
  325. package/dist/icons/ObiThreewayActuatorPistonInleftBottom25.svelte +34 -0
  326. package/dist/icons/ObiThreewayActuatorPistonInleftBottom25.svelte.d.ts +16 -0
  327. package/dist/icons/ObiThreewayActuatorPistonInleftBottom50.svelte +34 -0
  328. package/dist/icons/ObiThreewayActuatorPistonInleftBottom50.svelte.d.ts +16 -0
  329. package/dist/icons/ObiThreewayActuatorPistonInleftBottom75.svelte +34 -0
  330. package/dist/icons/ObiThreewayActuatorPistonInleftBottom75.svelte.d.ts +16 -0
  331. package/dist/icons/ObiThreewayActuatorPistonInleftLeft0.svelte +34 -0
  332. package/dist/icons/ObiThreewayActuatorPistonInleftLeft0.svelte.d.ts +16 -0
  333. package/dist/icons/ObiThreewayActuatorPistonInleftLeft100.svelte +34 -0
  334. package/dist/icons/ObiThreewayActuatorPistonInleftLeft100.svelte.d.ts +16 -0
  335. package/dist/icons/ObiThreewayActuatorPistonInleftLeft25.svelte +34 -0
  336. package/dist/icons/ObiThreewayActuatorPistonInleftLeft25.svelte.d.ts +16 -0
  337. package/dist/icons/ObiThreewayActuatorPistonInleftLeft50.svelte +34 -0
  338. package/dist/icons/ObiThreewayActuatorPistonInleftLeft50.svelte.d.ts +16 -0
  339. package/dist/icons/ObiThreewayActuatorPistonInleftLeft75.svelte +34 -0
  340. package/dist/icons/ObiThreewayActuatorPistonInleftLeft75.svelte.d.ts +16 -0
  341. package/dist/icons/ObiThreewayActuatorPistonInleftRight0.svelte +34 -0
  342. package/dist/icons/ObiThreewayActuatorPistonInleftRight0.svelte.d.ts +16 -0
  343. package/dist/icons/ObiThreewayActuatorPistonInleftRight100.svelte +34 -0
  344. package/dist/icons/ObiThreewayActuatorPistonInleftRight100.svelte.d.ts +16 -0
  345. package/dist/icons/ObiThreewayActuatorPistonInleftRight25.svelte +34 -0
  346. package/dist/icons/ObiThreewayActuatorPistonInleftRight25.svelte.d.ts +16 -0
  347. package/dist/icons/ObiThreewayActuatorPistonInleftRight50.svelte +34 -0
  348. package/dist/icons/ObiThreewayActuatorPistonInleftRight50.svelte.d.ts +16 -0
  349. package/dist/icons/ObiThreewayActuatorPistonInleftRight75.svelte +34 -0
  350. package/dist/icons/ObiThreewayActuatorPistonInleftRight75.svelte.d.ts +16 -0
  351. package/dist/icons/ObiThreewayActuatorPistonOpen.svelte +34 -0
  352. package/dist/icons/ObiThreewayActuatorPistonOpen.svelte.d.ts +16 -0
  353. package/dist/icons/ObiTwowayActuatorGeneral10.svelte +34 -0
  354. package/dist/icons/ObiTwowayActuatorGeneral10.svelte.d.ts +16 -0
  355. package/dist/icons/ObiTwowayActuatorGeneral25.svelte +34 -0
  356. package/dist/icons/ObiTwowayActuatorGeneral25.svelte.d.ts +16 -0
  357. package/dist/icons/ObiTwowayActuatorGeneral50.svelte +34 -0
  358. package/dist/icons/ObiTwowayActuatorGeneral50.svelte.d.ts +16 -0
  359. package/dist/icons/ObiTwowayActuatorGeneral75.svelte +34 -0
  360. package/dist/icons/ObiTwowayActuatorGeneral75.svelte.d.ts +16 -0
  361. package/dist/icons/ObiTwowayActuatorGeneralClosed.svelte +34 -0
  362. package/dist/icons/ObiTwowayActuatorGeneralClosed.svelte.d.ts +16 -0
  363. package/dist/icons/ObiTwowayActuatorGeneralClosedLeft.svelte +34 -0
  364. package/dist/icons/ObiTwowayActuatorGeneralClosedLeft.svelte.d.ts +16 -0
  365. package/dist/icons/ObiTwowayActuatorGeneralClosedRight.svelte +34 -0
  366. package/dist/icons/ObiTwowayActuatorGeneralClosedRight.svelte.d.ts +16 -0
  367. package/dist/icons/ObiTwowayActuatorGeneralOpen.svelte +34 -0
  368. package/dist/icons/ObiTwowayActuatorGeneralOpen.svelte.d.ts +16 -0
  369. package/dist/icons/ObiTwowayActuatorPiston10.svelte +34 -0
  370. package/dist/icons/ObiTwowayActuatorPiston10.svelte.d.ts +16 -0
  371. package/dist/icons/ObiTwowayActuatorPiston25.svelte +34 -0
  372. package/dist/icons/ObiTwowayActuatorPiston25.svelte.d.ts +16 -0
  373. package/dist/icons/ObiTwowayActuatorPiston50.svelte +34 -0
  374. package/dist/icons/ObiTwowayActuatorPiston50.svelte.d.ts +16 -0
  375. package/dist/icons/ObiTwowayActuatorPiston75.svelte +34 -0
  376. package/dist/icons/ObiTwowayActuatorPiston75.svelte.d.ts +16 -0
  377. package/dist/icons/ObiTwowayActuatorPistonClosed.svelte +34 -0
  378. package/dist/icons/ObiTwowayActuatorPistonClosed.svelte.d.ts +16 -0
  379. package/dist/icons/ObiTwowayActuatorPistonClosedLeft.svelte +34 -0
  380. package/dist/icons/ObiTwowayActuatorPistonClosedLeft.svelte.d.ts +16 -0
  381. package/dist/icons/ObiTwowayActuatorPistonClosedRight.svelte +34 -0
  382. package/dist/icons/ObiTwowayActuatorPistonClosedRight.svelte.d.ts +16 -0
  383. package/dist/icons/ObiTwowayActuatorPistonOpen.svelte +34 -0
  384. package/dist/icons/ObiTwowayActuatorPistonOpen.svelte.d.ts +16 -0
  385. package/dist/icons/ObiTwowayDigitalNonReturnStatic.svelte +34 -0
  386. package/dist/icons/ObiTwowayDigitalNonReturnStatic.svelte.d.ts +16 -0
  387. package/dist/icons/ObiValveCornerLeftBottomClosed.svelte +34 -0
  388. package/dist/icons/ObiValveCornerLeftBottomClosed.svelte.d.ts +16 -0
  389. package/dist/icons/ObiValveCornerLeftBottomOpen.svelte +34 -0
  390. package/dist/icons/ObiValveCornerLeftBottomOpen.svelte.d.ts +16 -0
  391. package/dist/icons/ObiValveCornerLeftBottomStatic.svelte +34 -0
  392. package/dist/icons/ObiValveCornerLeftBottomStatic.svelte.d.ts +16 -0
  393. package/dist/icons/ObiValveFourWayClosed.svelte +34 -0
  394. package/dist/icons/ObiValveFourWayClosed.svelte.d.ts +16 -0
  395. package/dist/icons/ObiValveFourWayClosedBottom.svelte +34 -0
  396. package/dist/icons/ObiValveFourWayClosedBottom.svelte.d.ts +16 -0
  397. package/dist/icons/ObiValveFourWayClosedLeft.svelte +34 -0
  398. package/dist/icons/ObiValveFourWayClosedLeft.svelte.d.ts +16 -0
  399. package/dist/icons/ObiValveFourWayClosedRight.svelte +34 -0
  400. package/dist/icons/ObiValveFourWayClosedRight.svelte.d.ts +16 -0
  401. package/dist/icons/ObiValveFourWayClosedTop.svelte +34 -0
  402. package/dist/icons/ObiValveFourWayClosedTop.svelte.d.ts +16 -0
  403. package/dist/icons/ObiValveFourWayOpen.svelte +34 -0
  404. package/dist/icons/ObiValveFourWayOpen.svelte.d.ts +16 -0
  405. package/dist/icons/ObiValveFourWayStatic.svelte +34 -0
  406. package/dist/icons/ObiValveFourWayStatic.svelte.d.ts +16 -0
  407. package/dist/icons/ObiValveReductionClosed.svelte +34 -0
  408. package/dist/icons/ObiValveReductionClosed.svelte.d.ts +16 -0
  409. package/dist/icons/ObiValveReductionOpen.svelte +34 -0
  410. package/dist/icons/ObiValveReductionOpen.svelte.d.ts +16 -0
  411. package/dist/icons/ObiValveReductionStatic.svelte +34 -0
  412. package/dist/icons/ObiValveReductionStatic.svelte.d.ts +16 -0
  413. package/dist/index.d.ts +166 -0
  414. package/dist/index.js +166 -0
  415. package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte +18 -6
  416. package/dist/navigation-instruments/azimuth-thruster/ObcAzimuthThruster.svelte.d.ts +19 -6
  417. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +8 -6
  418. package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +9 -6
  419. package/dist/navigation-instruments/compass/ObcCompass.svelte +10 -4
  420. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +11 -4
  421. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +10 -3
  422. package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +11 -3
  423. package/dist/navigation-instruments/depth/ObcDepth.svelte +11 -5
  424. package/dist/navigation-instruments/depth/ObcDepth.svelte.d.ts +10 -3
  425. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +9 -3
  426. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +10 -3
  427. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +9 -3
  428. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +10 -3
  429. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +10 -6
  430. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +9 -4
  431. package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte +12 -6
  432. package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte.d.ts +10 -4
  433. package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte +12 -6
  434. package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte.d.ts +10 -4
  435. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +11 -3
  436. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +12 -3
  437. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +10 -6
  438. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +9 -4
  439. package/dist/navigation-instruments/heading/ObcHeading.svelte +10 -3
  440. package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +11 -3
  441. package/dist/navigation-instruments/heave/ObcHeave.svelte +10 -3
  442. package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +11 -3
  443. package/dist/navigation-instruments/main-engine/ObcMainEngine.svelte +18 -3
  444. package/dist/navigation-instruments/main-engine/ObcMainEngine.svelte.d.ts +19 -3
  445. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +4 -3
  446. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +4 -3
  447. package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +10 -5
  448. package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +9 -3
  449. package/dist/navigation-instruments/rudder/ObcRudder.svelte +10 -5
  450. package/dist/navigation-instruments/rudder/ObcRudder.svelte.d.ts +9 -3
  451. package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte +14 -5
  452. package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte.d.ts +12 -3
  453. package/dist/navigation-instruments/thruster/ObcThruster.svelte +10 -5
  454. package/dist/navigation-instruments/thruster/ObcThruster.svelte.d.ts +9 -3
  455. package/dist/navigation-instruments/watch/ObcWatch.svelte +4 -3
  456. package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +4 -3
  457. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +12 -5
  458. package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +11 -3
  459. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
2
- import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
3
3
  import type { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  import type { CompassSectorPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
@@ -7,6 +7,12 @@ import type { Snippet } from 'svelte';
7
7
  export interface Props {
8
8
  class?: string;
9
9
  style?: string;
10
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
11
+ advices?: AdviceInput[];
12
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
13
+ adviceTrigger?: AdviceTrigger;
14
+ /** The design's go-to / no-go emphasis rules. */
15
+ adviceEmphasis?: boolean;
10
16
  heading?: number;
11
17
  courseOverGround?: number;
12
18
  headingSetpoint?: number | null;
@@ -26,7 +32,8 @@ export interface Props {
26
32
  animateSetpoint?: boolean;
27
33
  /** Available when `headingSetpoint!=null`. */
28
34
  touching?: boolean;
29
- headingAdvices?: AngleAdvice[];
35
+ /** Heading advices: ranges and points in degrees, resolved against `heading` and `headingSetpoint`. The same list as `advices`, the name every instrument shares. */
36
+ headingAdvices?: AdviceInput[] | undefined;
30
37
  minFOV?: number;
31
38
  rotType?: RotType | undefined;
32
39
  /** Available when `rotType!=undefined`. */
@@ -89,7 +96,8 @@ export interface Slots {
89
96
  }
90
97
  type $$ComponentProps = Props & Events & Slots;
91
98
  declare const ObcCompassSector: import("svelte").Component<$$ComponentProps, {
92
- AngleAdvice: typeof AngleAdvice;
99
+ AdviceInput: typeof AdviceInput;
100
+ AdviceTrigger: typeof AdviceTrigger;
93
101
  RotType: typeof RotType;
94
102
  RotPosition: typeof RotPosition;
95
103
  InstrumentState: typeof InstrumentState;
@@ -1,24 +1,30 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
3
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
+ export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
4
5
  export type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
5
6
  export type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
6
7
  export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
7
- export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
8
8
  export type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
9
9
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
10
10
  import { setProperties } from "../../util.js";
11
- import type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
11
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
12
+ import type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
12
13
  import type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
13
14
  import type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
14
15
  import type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
15
- import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
16
16
  import type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
17
17
  import type { Snippet } from 'svelte';
18
18
 
19
19
  export interface Props {
20
20
  class?: string;
21
21
  style?: string;
22
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
23
+ advices?: AdviceInput[];
24
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
25
+ adviceTrigger?: AdviceTrigger;
26
+ /** The design's go-to / no-go emphasis rules. */
27
+ adviceEmphasis?: boolean;
22
28
  /** `regular`, `prediction` or `scanned`. */
23
29
  type?: DepthType;
24
30
  /** History samples; `echoValue` draws the echo band under the line. */
@@ -100,7 +106,7 @@ import type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dis
100
106
  *
101
107
  * Available when `hasAdvice==true`.
102
108
  */
103
- advice?: LinearAdvice[];
109
+ advice?: AdviceInput[] | undefined;
104
110
  /** `enhanced` draws the live series in the enhanced palette. */
105
111
  priority?: Priority;
106
112
  /** Instrument state, passed to the chart and the scale. */
@@ -1,14 +1,20 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
2
3
  import type { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
3
4
  import type { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
5
  import type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
5
6
  import type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
6
- import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
7
7
  import type { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
8
8
  import type { Snippet } from 'svelte';
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
13
+ advices?: AdviceInput[];
14
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
15
+ adviceTrigger?: AdviceTrigger;
16
+ /** The design's go-to / no-go emphasis rules. */
17
+ adviceEmphasis?: boolean;
12
18
  /** `regular`, `prediction` or `scanned`. */
13
19
  type?: DepthType;
14
20
  /** History samples; `echoValue` draws the echo band under the line. */
@@ -90,7 +96,7 @@ export interface Props {
90
96
  *
91
97
  * Available when `hasAdvice==true`.
92
98
  */
93
- advice?: LinearAdvice[];
99
+ advice?: AdviceInput[] | undefined;
94
100
  /** `enhanced` draws the live series in the enhanced palette. */
95
101
  priority?: Priority;
96
102
  /** Instrument state, passed to the chart and the scale. */
@@ -103,6 +109,8 @@ export interface Slots {
103
109
  }
104
110
  type $$ComponentProps = Props & Events & Slots;
105
111
  declare const ObcDepth: import("svelte").Component<$$ComponentProps, {
112
+ AdviceInput: typeof AdviceInput;
113
+ AdviceTrigger: typeof AdviceTrigger;
106
114
  DepthType: typeof DepthType;
107
115
  DepthDataItem: typeof DepthDataItem;
108
116
  ChartLineDataItem: typeof ChartLineDataItem;
@@ -110,7 +118,6 @@ declare const ObcDepth: import("svelte").Component<$$ComponentProps, {
110
118
  DepthRange: typeof DepthRange;
111
119
  VesselImage: typeof VesselImage;
112
120
  VesselImageSrc: typeof VesselImageSrc;
113
- LinearAdvice: typeof LinearAdvice;
114
121
  Priority: typeof Priority;
115
122
  InstrumentState: typeof InstrumentState;
116
123
  }, "">;
@@ -1,13 +1,13 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
4
  export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
5
  export type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
6
6
  export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
7
  export type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js';
9
9
  import { setProperties } from "../../util.js";
10
- import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
10
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
11
11
  import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
12
12
  import type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
13
13
  import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
@@ -17,12 +17,18 @@ import type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-in
17
17
  export interface Props {
18
18
  class?: string;
19
19
  style?: string;
20
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
21
+ advices?: AdviceInput[];
22
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
23
+ adviceTrigger?: AdviceTrigger;
24
+ /** The design's go-to / no-go emphasis rules. */
25
+ adviceEmphasis?: boolean;
20
26
  /** Depth below the surface. */
21
27
  depth?: number;
22
28
  /** Draught, drawn as the vessel's keel line. */
23
29
  draft?: number;
24
30
  /** Advice zones on the gauge, in depth units. */
25
- advice?: LinearAdvice[];
31
+ advice?: AdviceInput[] | undefined;
26
32
  /**
27
33
  * Factor on the range's vessel size.
28
34
  *
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js';
2
- import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
3
3
  import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
5
5
  import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
@@ -8,12 +8,18 @@ import type { Snippet } from 'svelte';
8
8
  export interface Props {
9
9
  class?: string;
10
10
  style?: string;
11
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
12
+ advices?: AdviceInput[];
13
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
14
+ adviceTrigger?: AdviceTrigger;
15
+ /** The design's go-to / no-go emphasis rules. */
16
+ adviceEmphasis?: boolean;
11
17
  /** Depth below the surface. */
12
18
  depth?: number;
13
19
  /** Draught, drawn as the vessel's keel line. */
14
20
  draft?: number;
15
21
  /** Advice zones on the gauge, in depth units. */
16
- advice?: LinearAdvice[];
22
+ advice?: AdviceInput[] | undefined;
17
23
  /**
18
24
  * Factor on the range's vessel size.
19
25
  *
@@ -48,7 +54,8 @@ export interface Slots {
48
54
  }
49
55
  type $$ComponentProps = Props & Events & Slots;
50
56
  declare const ObcDepthActual: import("svelte").Component<$$ComponentProps, {
51
- LinearAdvice: typeof LinearAdvice;
57
+ AdviceInput: typeof AdviceInput;
58
+ AdviceTrigger: typeof AdviceTrigger;
52
59
  VesselImage: typeof VesselImage;
53
60
  VesselImageSrc: typeof VesselImageSrc;
54
61
  Priority: typeof Priority;
@@ -1,12 +1,12 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
4
  export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
5
  export type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
6
6
  export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';
8
8
  import { setProperties } from "../../util.js";
9
- import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
9
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
10
10
  import type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
11
11
  import type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
12
12
  import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
@@ -15,6 +15,12 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
15
15
  export interface Props {
16
16
  class?: string;
17
17
  style?: string;
18
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
19
+ advices?: AdviceInput[];
20
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
21
+ adviceTrigger?: AdviceTrigger;
22
+ /** The design's go-to / no-go emphasis rules. */
23
+ adviceEmphasis?: boolean;
18
24
  /** Draught at the bow, positive below the waterline. */
19
25
  draftFore?: number;
20
26
  /** Draught at the stern, positive below the waterline. */
@@ -22,7 +28,7 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
22
28
  /** Half-extent of both scales. Each spans `±instrumentRange` around the waterline, so the upper half reads as freeboard. */
23
29
  instrumentRange?: number;
24
30
  /** Advice zones, in the same positive-below-the-waterline units as the draughts. Applied to both scales; each is triggered by its own draught. */
25
- advice?: LinearAdvice[];
31
+ advice?: AdviceInput[] | undefined;
26
32
  vesselImage?: VesselImage;
27
33
  /** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
28
34
  vesselImageSrc?: VesselImageSrc | undefined;
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';
2
- import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
3
3
  import type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
5
5
  import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
@@ -7,6 +7,12 @@ import type { Snippet } from 'svelte';
7
7
  export interface Props {
8
8
  class?: string;
9
9
  style?: string;
10
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
11
+ advices?: AdviceInput[];
12
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
13
+ adviceTrigger?: AdviceTrigger;
14
+ /** The design's go-to / no-go emphasis rules. */
15
+ adviceEmphasis?: boolean;
10
16
  /** Draught at the bow, positive below the waterline. */
11
17
  draftFore?: number;
12
18
  /** Draught at the stern, positive below the waterline. */
@@ -14,7 +20,7 @@ export interface Props {
14
20
  /** Half-extent of both scales. Each spans `±instrumentRange` around the waterline, so the upper half reads as freeboard. */
15
21
  instrumentRange?: number;
16
22
  /** Advice zones, in the same positive-below-the-waterline units as the draughts. Applied to both scales; each is triggered by its own draught. */
17
- advice?: LinearAdvice[];
23
+ advice?: AdviceInput[] | undefined;
18
24
  vesselImage?: VesselImage;
19
25
  /** Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). */
20
26
  vesselImageSrc?: VesselImageSrc | undefined;
@@ -27,7 +33,8 @@ export interface Slots {
27
33
  }
28
34
  type $$ComponentProps = Props & Events & Slots;
29
35
  declare const ObcDraftTrim: import("svelte").Component<$$ComponentProps, {
30
- LinearAdvice: typeof LinearAdvice;
36
+ AdviceInput: typeof AdviceInput;
37
+ AdviceTrigger: typeof AdviceTrigger;
31
38
  VesselImage: typeof VesselImage;
32
39
  VesselImageSrc: typeof VesselImageSrc;
33
40
  Priority: typeof Priority;
@@ -1,18 +1,24 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
3
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
+ export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
4
5
  export type {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
- export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js';
7
7
  import { setProperties, forwardEvents } from "../../util.js";
8
- import type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
8
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
9
+ import type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
9
10
  import type {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
- import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
11
11
  import type { Snippet } from 'svelte';
12
12
 
13
13
  export interface Props {
14
14
  class?: string;
15
15
  style?: string;
16
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
17
+ advices?: AdviceInput[];
18
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
19
+ adviceTrigger?: AdviceTrigger;
20
+ /** The design's go-to / no-go emphasis rules. */
21
+ adviceEmphasis?: boolean;
16
22
  /** Target setpoint value. `undefined` = no setpoint marker shown. */
17
23
  setpoint?: number | undefined;
18
24
  /** Adjustment preview for 2-step interface.
@@ -67,8 +73,6 @@ animateSetpoint?: boolean;
67
73
  /** Instrument state: active, loading, or off */
68
74
  state?: InstrumentState;
69
75
  focused?: boolean;
70
- /** Advice/alert overlays with min, max, type, and hinted state. When undefined or empty, no advice shown. */
71
- advices?: LinearAdvice[] | undefined;
72
76
  /** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
73
77
  highlightCurrentValue?: boolean
74
78
  }
@@ -1,11 +1,17 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
2
3
  import type { ExternalScaleSide, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
3
4
  import type { BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
5
5
  import type { Snippet } from 'svelte';
6
6
  export interface Props {
7
7
  class?: string;
8
8
  style?: string;
9
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
10
+ advices?: AdviceInput[];
11
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
12
+ adviceTrigger?: AdviceTrigger;
13
+ /** The design's go-to / no-go emphasis rules. */
14
+ adviceEmphasis?: boolean;
9
15
  /** Target setpoint value. `undefined` = no setpoint marker shown. */
10
16
  setpoint?: number | undefined;
11
17
  /** Adjustment preview for 2-step interface.
@@ -60,8 +66,6 @@ regardless of instrument state. */
60
66
  /** Instrument state: active, loading, or off */
61
67
  state?: InstrumentState;
62
68
  focused?: boolean;
63
- /** Advice/alert overlays with min, max, type, and hinted state. When undefined or empty, no advice shown. */
64
- advices?: LinearAdvice[] | undefined;
65
69
  /** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
66
70
  highlightCurrentValue?: boolean;
67
71
  }
@@ -73,12 +77,13 @@ export interface Slots {
73
77
  }
74
78
  type $$ComponentProps = Props & Events & Slots;
75
79
  declare const ObcGaugeHorizontal: import("svelte").Component<$$ComponentProps, {
80
+ AdviceInput: typeof AdviceInput;
81
+ AdviceTrigger: typeof AdviceTrigger;
76
82
  ExternalScaleSide: typeof ExternalScaleSide;
77
83
  FillMode: typeof FillMode;
78
84
  BorderRadiusPosition: typeof BorderRadiusPosition;
79
85
  Priority: typeof Priority;
80
86
  InstrumentState: typeof InstrumentState;
81
- LinearAdvice: typeof LinearAdvice;
82
87
  }, "">;
83
88
  type ObcGaugeHorizontal = ReturnType<typeof ObcGaugeHorizontal>;
84
89
  export default ObcGaugeHorizontal;
@@ -1,19 +1,27 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- export type {GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority, GaugeProportionalAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
3
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
+ export type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ export type {GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
5
6
  export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
6
7
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
7
8
  import { setProperties } from "../../util.js";
8
9
  import NamedSlot from "../../NamedSlot.svelte";
9
- import type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
- import type {GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority, GaugeProportionalAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
10
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
11
+ import type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
12
+ import type {GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
11
13
  import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
12
14
  import type { Snippet } from 'svelte';
13
15
 
14
16
  export interface Props {
15
17
  class?: string;
16
18
  style?: string;
19
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
20
+ advices?: AdviceInput[];
21
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
22
+ adviceTrigger?: AdviceTrigger;
23
+ /** The design's go-to / no-go emphasis rules. */
24
+ adviceEmphasis?: boolean;
17
25
  /** Target setpoint value. `undefined` = no setpoint marker shown. */
18
26
  setpoint?: number | undefined;
19
27
  /** Adjustment preview for 2-step interface.
@@ -52,8 +60,6 @@ animateSetpoint?: boolean;
52
60
  /** Interval for secondary tickmarks in value units. When undefined or <= 0, no secondary tickmarks are shown. */
53
61
  secondaryTickmarkInterval?: number | undefined;
54
62
  tickmarkStyle?: TickmarkStyle;
55
- /** Caution/alert arcs in value units. */
56
- advices?: GaugeProportionalAdvice[];
57
63
  /**
58
64
  * When `true`, shows the center readout (and the secondary readout when the split frame renders — dashed until `secondaryValue` is set). Default `false`.
59
65
  *
@@ -1,11 +1,18 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
2
3
  import type { InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
- import type { GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority, GaugeProportionalAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
4
+ import type { GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
4
5
  import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
5
6
  import type { Snippet } from 'svelte';
6
7
  export interface Props {
7
8
  class?: string;
8
9
  style?: string;
10
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
11
+ advices?: AdviceInput[];
12
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
13
+ adviceTrigger?: AdviceTrigger;
14
+ /** The design's go-to / no-go emphasis rules. */
15
+ adviceEmphasis?: boolean;
9
16
  /** Target setpoint value. `undefined` = no setpoint marker shown. */
10
17
  setpoint?: number | undefined;
11
18
  /** Adjustment preview for 2-step interface.
@@ -44,8 +51,6 @@ regardless of instrument state. */
44
51
  /** Interval for secondary tickmarks in value units. When undefined or <= 0, no secondary tickmarks are shown. */
45
52
  secondaryTickmarkInterval?: number | undefined;
46
53
  tickmarkStyle?: TickmarkStyle;
47
- /** Caution/alert arcs in value units. */
48
- advices?: GaugeProportionalAdvice[];
49
54
  /**
50
55
  * When `true`, shows the center readout (and the secondary readout when the split frame renders — dashed until `secondaryValue` is set). Default `false`.
51
56
  *
@@ -97,11 +102,12 @@ export interface Slots {
97
102
  }
98
103
  type $$ComponentProps = Props & Events & Slots;
99
104
  declare const ObcGaugeProportional: import("svelte").Component<$$ComponentProps, {
105
+ AdviceInput: typeof AdviceInput;
106
+ AdviceTrigger: typeof AdviceTrigger;
100
107
  InstrumentState: typeof InstrumentState;
101
108
  GaugeProportionalSector: typeof GaugeProportionalSector;
102
109
  GaugeProportionalAlignment: typeof GaugeProportionalAlignment;
103
110
  GaugeProportionalPriority: typeof GaugeProportionalPriority;
104
- GaugeProportionalAdvice: typeof GaugeProportionalAdvice;
105
111
  TickmarkStyle: typeof TickmarkStyle;
106
112
  }, "">;
107
113
  type ObcGaugeProportional = ReturnType<typeof ObcGaugeProportional>;
@@ -1,18 +1,26 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- export type {ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector, GaugeRadialHorizontalAlignment, GaugeRadialVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
3
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
+ export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ export type {ObcGaugeRadialType, GaugeRadialSector, GaugeRadialHorizontalAlignment, GaugeRadialVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
5
6
  export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
6
7
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
7
8
  import { setProperties } from "../../util.js";
8
- import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
9
- import type {ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector, GaugeRadialHorizontalAlignment, GaugeRadialVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
9
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
10
+ import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
+ import type {ObcGaugeRadialType, GaugeRadialSector, GaugeRadialHorizontalAlignment, GaugeRadialVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
10
12
  import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
11
13
  import type { Snippet } from 'svelte';
12
14
 
13
15
  export interface Props {
14
16
  class?: string;
15
17
  style?: string;
18
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
19
+ advices?: AdviceInput[];
20
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
21
+ adviceTrigger?: AdviceTrigger;
22
+ /** The design's go-to / no-go emphasis rules. */
23
+ adviceEmphasis?: boolean;
16
24
  /** Target setpoint value. `undefined` = no setpoint marker shown. */
17
25
  setpoint?: number | undefined;
18
26
  /** Adjustment preview for 2-step interface.
@@ -47,8 +55,6 @@ animateSetpoint?: boolean;
47
55
  type?: ObcGaugeRadialType;
48
56
  tickmarksInside?: boolean;
49
57
  tickmarkStyle?: TickmarkStyle;
50
- /** Caution/alert arcs. Ignored on `sector: 90-left` / `90-right`. */
51
- advices?: GaugeRadialAdvice[];
52
58
  sector?: GaugeRadialSector;
53
59
  /** Horizontal placement of the dial when the host is wider than the dial (e.g. a short, wide container shrinks the dial to fit the height, leaving horizontal slack). Default `center`. */
54
60
  horizontalAlignment?: GaugeRadialHorizontalAlignment;
@@ -1,11 +1,18 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
2
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
2
3
  import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
- import type { ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector, GaugeRadialHorizontalAlignment, GaugeRadialVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
4
+ import type { ObcGaugeRadialType, GaugeRadialSector, GaugeRadialHorizontalAlignment, GaugeRadialVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';
4
5
  import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
5
6
  import type { Snippet } from 'svelte';
6
7
  export interface Props {
7
8
  class?: string;
8
9
  style?: string;
10
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
11
+ advices?: AdviceInput[];
12
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
13
+ adviceTrigger?: AdviceTrigger;
14
+ /** The design's go-to / no-go emphasis rules. */
15
+ adviceEmphasis?: boolean;
9
16
  /** Target setpoint value. `undefined` = no setpoint marker shown. */
10
17
  setpoint?: number | undefined;
11
18
  /** Adjustment preview for 2-step interface.
@@ -40,8 +47,6 @@ regardless of instrument state. */
40
47
  type?: ObcGaugeRadialType;
41
48
  tickmarksInside?: boolean;
42
49
  tickmarkStyle?: TickmarkStyle;
43
- /** Caution/alert arcs. Ignored on `sector: 90-left` / `90-right`. */
44
- advices?: GaugeRadialAdvice[];
45
50
  sector?: GaugeRadialSector;
46
51
  /** Horizontal placement of the dial when the host is wider than the dial (e.g. a short, wide container shrinks the dial to fit the height, leaving horizontal slack). Default `center`. */
47
52
  horizontalAlignment?: GaugeRadialHorizontalAlignment;
@@ -62,10 +67,11 @@ export interface Slots {
62
67
  }
63
68
  type $$ComponentProps = Props & Events & Slots;
64
69
  declare const ObcGaugeRadial: import("svelte").Component<$$ComponentProps, {
70
+ AdviceInput: typeof AdviceInput;
71
+ AdviceTrigger: typeof AdviceTrigger;
65
72
  InstrumentState: typeof InstrumentState;
66
73
  Priority: typeof Priority;
67
74
  ObcGaugeRadialType: typeof ObcGaugeRadialType;
68
- GaugeRadialAdvice: typeof GaugeRadialAdvice;
69
75
  GaugeRadialSector: typeof GaugeRadialSector;
70
76
  GaugeRadialHorizontalAlignment: typeof GaugeRadialHorizontalAlignment;
71
77
  GaugeRadialVerticalAlignment: typeof GaugeRadialVerticalAlignment;
@@ -2,14 +2,14 @@
2
2
  <script lang="ts">
3
3
  export type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ export type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
5
6
  export type {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
6
- export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js';
8
8
  import { setProperties } from "../../util.js";
9
9
  import type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
10
10
  import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
+ import type {AdviceInput, AdviceTrigger} from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
11
12
  import type {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
12
- import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
13
13
  import type { Snippet } from 'svelte';
14
14
 
15
15
  export interface Props {
@@ -134,6 +134,14 @@ animateSetpoint?: boolean;
134
134
  * Available when `instrumentMode==true`.
135
135
  */
136
136
  borderRadius?: number | undefined;
137
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
138
+ advices?: AdviceInput[];
139
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
140
+ adviceTrigger?: AdviceTrigger;
141
+ /** The design's go-to / no-go emphasis rules. */
142
+ adviceEmphasis?: boolean;
143
+ /** Shows the dot at the value on the vertical scale. Left unset, the dot shows while `hasBar` is false. */
144
+ highlightCurrentValue?: boolean | undefined;
137
145
  /**
138
146
  * Vertical scale type: `regular` (default) uses the standard tick lengths, `condensed` the shorter ones for a compact display.
139
147
  *
@@ -191,7 +199,7 @@ animateSetpoint?: boolean;
191
199
  *
192
200
  * Available when `hasAdvice==true`.
193
201
  */
194
- advice?: LinearAdvice[];
202
+ advice?: AdviceInput[] | undefined;
195
203
  /** Primary tick interval for the vertical scale (longest ticks with labels). */
196
204
  primaryTickmarkInterval?: number | undefined;
197
205
  /**
@@ -1,8 +1,8 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js';
2
2
  import type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
3
  import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
+ import type { AdviceInput, AdviceTrigger } from '@oicl/openbridge-webcomponents/dist/svghelpers/advice.js';
4
5
  import type { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
5
- import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
6
6
  import type { Snippet } from 'svelte';
7
7
  export interface Props {
8
8
  class?: string;
@@ -126,6 +126,14 @@ regardless of instrument state. */
126
126
  * Available when `instrumentMode==true`.
127
127
  */
128
128
  borderRadius?: number | undefined;
129
+ /** Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. */
130
+ advices?: AdviceInput[];
131
+ /** Which readings trigger an advice: the value, the setpoint, or either. */
132
+ adviceTrigger?: AdviceTrigger;
133
+ /** The design's go-to / no-go emphasis rules. */
134
+ adviceEmphasis?: boolean;
135
+ /** Shows the dot at the value on the vertical scale. Left unset, the dot shows while `hasBar` is false. */
136
+ highlightCurrentValue?: boolean | undefined;
129
137
  /**
130
138
  * Vertical scale type: `regular` (default) uses the standard tick lengths, `condensed` the shorter ones for a compact display.
131
139
  *
@@ -183,7 +191,7 @@ regardless of instrument state. */
183
191
  *
184
192
  * Available when `hasAdvice==true`.
185
193
  */
186
- advice?: LinearAdvice[];
194
+ advice?: AdviceInput[] | undefined;
187
195
  /** Primary tick interval for the vertical scale (longest ticks with labels). */
188
196
  primaryTickmarkInterval?: number | undefined;
189
197
  /**
@@ -223,9 +231,10 @@ declare const ObcGaugeTrend: import("svelte").Component<$$ComponentProps, {
223
231
  Priority: typeof Priority;
224
232
  FrameStyle: typeof FrameStyle;
225
233
  BorderRadiusPosition: typeof BorderRadiusPosition;
234
+ AdviceInput: typeof AdviceInput;
235
+ AdviceTrigger: typeof AdviceTrigger;
226
236
  ScaleType: typeof ScaleType;
227
237
  FillMode: typeof FillMode;
228
- LinearAdvice: typeof LinearAdvice;
229
238
  }, "">;
230
239
  type ObcGaugeTrend = ReturnType<typeof ObcGaugeTrend>;
231
240
  export default ObcGaugeTrend;