@oicl/openbridge-webcomponents-vue 2.0.0 → 2.1.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 (231) hide show
  1. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.d.ts +60 -0
  2. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.js +2 -0
  3. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.js.map +1 -0
  4. package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js +2 -0
  5. package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js.map +1 -0
  6. package/automation/analog-valve/ObcAnalogValve.vue.d.ts +2 -2
  7. package/automation/automation-tank/ObcAutomationTank.vue.d.ts +3 -2
  8. package/automation/automation-tank/ObcAutomationTank2.vue.js +1 -1
  9. package/automation/automation-tank/ObcAutomationTank2.vue.js.map +1 -1
  10. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.d.ts +63 -0
  11. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.js +2 -0
  12. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.js.map +1 -0
  13. package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js +2 -0
  14. package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js.map +1 -0
  15. package/automation/digital-valve/ObcDigitalValve.vue.d.ts +2 -2
  16. package/automation/heat-exchanger/ObcHeatExchanger.vue.d.ts +3 -2
  17. package/automation/heat-exchanger/ObcHeatExchanger2.vue.js +1 -1
  18. package/automation/heat-exchanger/ObcHeatExchanger2.vue.js.map +1 -1
  19. package/automation/heat-pump/ObcHeatPump.vue.d.ts +3 -2
  20. package/automation/heat-pump/ObcHeatPump2.vue.js +1 -1
  21. package/automation/heat-pump/ObcHeatPump2.vue.js.map +1 -1
  22. package/automation/hydraulic-separator/ObcHydraulicSeparator.vue.d.ts +3 -2
  23. package/automation/hydraulic-separator/ObcHydraulicSeparator2.vue.js +1 -1
  24. package/automation/hydraulic-separator/ObcHydraulicSeparator2.vue.js.map +1 -1
  25. package/automation/motor/ObcMotor.vue.d.ts +1 -1
  26. package/automation/pump/ObcPump.vue.d.ts +1 -1
  27. package/automation/specialty-tank/ObcAbstractSpecialtyTank.vue.d.ts +3 -2
  28. package/automation/specialty-tank/ObcAbstractSpecialtyTank2.vue.js +1 -1
  29. package/automation/specialty-tank/ObcAbstractSpecialtyTank2.vue.js.map +1 -1
  30. package/automation/transmitter/ObcTransmitter.vue.d.ts +12 -0
  31. package/automation/transmitter/ObcTransmitter2.vue.js +1 -1
  32. package/automation/transmitter/ObcTransmitter2.vue.js.map +1 -1
  33. package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.vue.d.ts +10 -4
  34. package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon2.vue.js +1 -1
  35. package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon2.vue.js.map +1 -1
  36. package/building-blocks/alert-list/ObcAlertListBase.vue.d.ts +5 -0
  37. package/building-blocks/alert-list/ObcAlertListBase.vue.js +2 -0
  38. package/building-blocks/alert-list/ObcAlertListBase.vue.js.map +1 -0
  39. package/building-blocks/alert-list/ObcAlertListBase2.vue.js +2 -0
  40. package/building-blocks/alert-list/ObcAlertListBase2.vue.js.map +1 -0
  41. package/components/accordion-card/ObcAccordionCard.vue.d.ts +7 -2
  42. package/components/accordion-card/ObcAccordionCard2.vue.js +1 -1
  43. package/components/accordion-card/ObcAccordionCard2.vue.js.map +1 -1
  44. package/components/alert-menu-item/ObcAlertMenuItem.vue.d.ts +2 -0
  45. package/components/alert-menu-item/ObcAlertMenuItem2.vue.js +1 -1
  46. package/components/alert-menu-item/ObcAlertMenuItem2.vue.js.map +1 -1
  47. package/components/brilliance-menu/ObcBrillianceMenu.vue.d.ts +4 -2
  48. package/components/brilliance-menu/ObcBrillianceMenu2.vue.js.map +1 -1
  49. package/icons/{ObiCriticalBadge.vue.d.ts → ObiElectricBolt.vue.d.ts} +1 -1
  50. package/icons/ObiElectricBolt.vue.js +2 -0
  51. package/icons/ObiElectricBolt.vue.js.map +1 -0
  52. package/icons/ObiElectricBolt2.vue.js +2 -0
  53. package/icons/ObiElectricBolt2.vue.js.map +1 -0
  54. package/icons/{ObiCriticalRectified.vue.d.ts → ObiElectricLightning.vue.d.ts} +1 -1
  55. package/icons/ObiElectricLightning.vue.js +2 -0
  56. package/icons/ObiElectricLightning.vue.js.map +1 -0
  57. package/icons/ObiElectricLightning2.vue.js +2 -0
  58. package/icons/{ObiCriticalRectified2.vue.js.map → ObiElectricLightning2.vue.js.map} +1 -1
  59. package/icons/ObiFormatBoldGoogle.vue.d.ts +8 -0
  60. package/icons/ObiFormatBoldGoogle.vue.js +2 -0
  61. package/icons/ObiFormatBoldGoogle.vue.js.map +1 -0
  62. package/icons/ObiFormatBoldGoogle2.vue.js +2 -0
  63. package/icons/ObiFormatBoldGoogle2.vue.js.map +1 -0
  64. package/icons/ObiFormatItalicGoogle.vue.d.ts +8 -0
  65. package/icons/ObiFormatItalicGoogle.vue.js +2 -0
  66. package/icons/ObiFormatItalicGoogle.vue.js.map +1 -0
  67. package/icons/ObiFormatItalicGoogle2.vue.js +2 -0
  68. package/icons/ObiFormatItalicGoogle2.vue.js.map +1 -0
  69. package/icons/ObiFormatListBulletedGoogle.vue.d.ts +8 -0
  70. package/icons/ObiFormatListBulletedGoogle.vue.js +2 -0
  71. package/icons/ObiFormatListBulletedGoogle.vue.js.map +1 -0
  72. package/icons/ObiFormatListBulletedGoogle2.vue.js +2 -0
  73. package/icons/ObiFormatListBulletedGoogle2.vue.js.map +1 -0
  74. package/icons/ObiFormatListNumberedGoogle.vue.d.ts +8 -0
  75. package/icons/ObiFormatListNumberedGoogle.vue.js +2 -0
  76. package/icons/ObiFormatListNumberedGoogle.vue.js.map +1 -0
  77. package/icons/ObiFormatListNumberedGoogle2.vue.js +2 -0
  78. package/icons/ObiFormatListNumberedGoogle2.vue.js.map +1 -0
  79. package/icons/{ObiCriticalAcknowledged.vue.d.ts → ObiFormatUnderlineGoogle.vue.d.ts} +1 -1
  80. package/icons/ObiFormatUnderlineGoogle.vue.js +2 -0
  81. package/icons/ObiFormatUnderlineGoogle.vue.js.map +1 -0
  82. package/icons/ObiFormatUnderlineGoogle2.vue.js +2 -0
  83. package/icons/ObiFormatUnderlineGoogle2.vue.js.map +1 -0
  84. package/icons/ObiLevelDisplacementTransmitter.vue.d.ts +8 -0
  85. package/icons/ObiLevelDisplacementTransmitter.vue.js +2 -0
  86. package/icons/ObiLevelDisplacementTransmitter.vue.js.map +1 -0
  87. package/icons/ObiLevelDisplacementTransmitter2.vue.js +2 -0
  88. package/icons/ObiLevelDisplacementTransmitter2.vue.js.map +1 -0
  89. package/icons/ObiLink.vue.js +1 -1
  90. package/icons/{ObiCriticalNoack.vue.d.ts → ObiLink2.vue.d.ts} +1 -1
  91. package/icons/ObiLink2.vue.js +1 -1
  92. package/icons/ObiLink2.vue.js.map +1 -1
  93. package/icons/ObiLink22.vue.js +2 -0
  94. package/icons/ObiLink22.vue.js.map +1 -0
  95. package/icons/ObiLink3.vue.js +2 -0
  96. package/icons/ObiLink3.vue.js.map +1 -0
  97. package/icons/{ObiCriticalSilenced.vue.d.ts → ObiLogOpen.vue.d.ts} +1 -1
  98. package/icons/ObiLogOpen.vue.js +2 -0
  99. package/icons/ObiLogOpen.vue.js.map +1 -0
  100. package/icons/ObiLogOpen2.vue.js +2 -0
  101. package/icons/ObiLogOpen2.vue.js.map +1 -0
  102. package/icons/ObiQuantity.vue.d.ts +8 -0
  103. package/icons/ObiQuantity.vue.js +2 -0
  104. package/icons/ObiQuantity.vue.js.map +1 -0
  105. package/icons/ObiQuantity2.vue.js +2 -0
  106. package/icons/ObiQuantity2.vue.js.map +1 -0
  107. package/icons/ObiSimulate.vue.d.ts +8 -0
  108. package/icons/ObiSimulate.vue.js +2 -0
  109. package/icons/ObiSimulate.vue.js.map +1 -0
  110. package/icons/ObiSimulate2.vue.js +2 -0
  111. package/icons/ObiSimulate2.vue.js.map +1 -0
  112. package/icons/ObiTestTube.vue.d.ts +8 -0
  113. package/icons/ObiTestTube.vue.js +2 -0
  114. package/icons/ObiTestTube.vue.js.map +1 -0
  115. package/icons/ObiTestTube2.vue.js +2 -0
  116. package/icons/ObiTestTube2.vue.js.map +1 -0
  117. package/icons/ObiTimer.vue.d.ts +8 -0
  118. package/icons/ObiTimer.vue.js +2 -0
  119. package/icons/ObiTimer.vue.js.map +1 -0
  120. package/icons/ObiTimer2.vue.d.ts +8 -0
  121. package/icons/ObiTimer2.vue.js +2 -0
  122. package/icons/ObiTimer2.vue.js.map +1 -0
  123. package/icons/ObiTimer22.vue.js +2 -0
  124. package/icons/ObiTimer22.vue.js.map +1 -0
  125. package/icons/ObiTimer3.vue.js +2 -0
  126. package/icons/ObiTimer3.vue.js.map +1 -0
  127. package/manual-icon/ObiCriticalAcknowledged.vue.d.ts +8 -0
  128. package/manual-icon/ObiCriticalAcknowledged2.vue.js +2 -0
  129. package/manual-icon/ObiCriticalAcknowledged2.vue.js.map +1 -0
  130. package/manual-icon/ObiCriticalBadge.vue.d.ts +8 -0
  131. package/manual-icon/ObiCriticalBadge2.vue.js +2 -0
  132. package/manual-icon/ObiCriticalBadge2.vue.js.map +1 -0
  133. package/manual-icon/ObiCriticalNoack.vue.d.ts +8 -0
  134. package/manual-icon/ObiCriticalNoack2.vue.js +2 -0
  135. package/manual-icon/ObiCriticalNoack2.vue.js.map +1 -0
  136. package/manual-icon/ObiCriticalRectified.vue.d.ts +8 -0
  137. package/manual-icon/ObiCriticalRectified2.vue.js +2 -0
  138. package/manual-icon/ObiCriticalRectified2.vue.js.map +1 -0
  139. package/manual-icon/ObiCriticalSilenced.vue.d.ts +8 -0
  140. package/manual-icon/ObiCriticalSilenced2.vue.js +2 -0
  141. package/manual-icon/ObiCriticalSilenced2.vue.js.map +1 -0
  142. package/{icons → manual-icon}/ObiCriticalTransferred.vue.d.ts +1 -1
  143. package/manual-icon/ObiCriticalTransferred2.vue.js +2 -0
  144. package/manual-icon/ObiCriticalTransferred2.vue.js.map +1 -0
  145. package/{icons → manual-icon}/ObiCriticalUnacknowledged.vue.d.ts +1 -1
  146. package/manual-icon/ObiCriticalUnacknowledged2.vue.js +2 -0
  147. package/manual-icon/ObiCriticalUnacknowledged2.vue.js.map +1 -0
  148. package/navigation-instruments/compass/ObcCompass.vue.d.ts +3 -2
  149. package/navigation-instruments/compass/ObcCompass2.vue.js +1 -1
  150. package/navigation-instruments/compass/ObcCompass2.vue.js.map +1 -1
  151. package/navigation-instruments/current/ObcCurrent.vue.d.ts +3 -2
  152. package/navigation-instruments/current/ObcCurrent2.vue.js +1 -1
  153. package/navigation-instruments/current/ObcCurrent2.vue.js.map +1 -1
  154. package/navigation-instruments/depth/ObcDepth.vue.d.ts +3 -2
  155. package/navigation-instruments/depth/ObcDepth2.vue.js +1 -1
  156. package/navigation-instruments/depth/ObcDepth2.vue.js.map +1 -1
  157. package/navigation-instruments/depth/ObcDepthTopBand.vue.d.ts +3 -0
  158. package/navigation-instruments/depth/ObcDepthTopBand2.vue.js +1 -1
  159. package/navigation-instruments/depth/ObcDepthTopBand2.vue.js.map +1 -1
  160. package/navigation-instruments/depth-actual/ObcDepthActual.vue.d.ts +3 -0
  161. package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js +1 -1
  162. package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js.map +1 -1
  163. package/navigation-instruments/draft-trim/ObcDraftTrim.vue.d.ts +3 -0
  164. package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js +1 -1
  165. package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js.map +1 -1
  166. package/navigation-instruments/heading/ObcHeading.vue.d.ts +3 -2
  167. package/navigation-instruments/heading/ObcHeading2.vue.js +1 -1
  168. package/navigation-instruments/heading/ObcHeading2.vue.js.map +1 -1
  169. package/navigation-instruments/heave/ObcHeave.vue.d.ts +3 -0
  170. package/navigation-instruments/heave/ObcHeave2.vue.js +1 -1
  171. package/navigation-instruments/heave/ObcHeave2.vue.js.map +1 -1
  172. package/navigation-instruments/pitch/ObcPitch.vue.d.ts +3 -2
  173. package/navigation-instruments/pitch/ObcPitch2.vue.js +1 -1
  174. package/navigation-instruments/pitch/ObcPitch2.vue.js.map +1 -1
  175. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue.d.ts +4 -2
  176. package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js +1 -1
  177. package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js.map +1 -1
  178. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.d.ts +4 -2
  179. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js +1 -1
  180. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js.map +1 -1
  181. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.vue.d.ts +3 -2
  182. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js +1 -1
  183. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js.map +1 -1
  184. package/navigation-instruments/roll/ObcRoll.vue.d.ts +3 -2
  185. package/navigation-instruments/roll/ObcRoll2.vue.js +1 -1
  186. package/navigation-instruments/roll/ObcRoll2.vue.js.map +1 -1
  187. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.d.ts +3 -2
  188. package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js +1 -1
  189. package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js.map +1 -1
  190. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue.d.ts +3 -2
  191. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js +1 -1
  192. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js.map +1 -1
  193. package/navigation-instruments/wind/ObcWind.vue.d.ts +3 -2
  194. package/navigation-instruments/wind/ObcWind2.vue.js +1 -1
  195. package/navigation-instruments/wind/ObcWind2.vue.js.map +1 -1
  196. package/package.json +28 -9
  197. package/pages/alert-list-page-small/ObcAlertListPageSmall.vue.d.ts +2 -2
  198. package/pages/alert-list-page-small/ObcAlertListPageSmall2.vue.js +1 -1
  199. package/pages/alert-list-page-small/ObcAlertListPageSmall2.vue.js.map +1 -1
  200. package/pages/alert-list-page-small/ObcAlertListPageSmallBase.vue.d.ts +11 -0
  201. package/pages/alert-list-page-small/ObcAlertListPageSmallBase.vue.js +2 -0
  202. package/pages/alert-list-page-small/ObcAlertListPageSmallBase.vue.js.map +1 -0
  203. package/pages/alert-list-page-small/ObcAlertListPageSmallBase2.vue.js +2 -0
  204. package/pages/alert-list-page-small/ObcAlertListPageSmallBase2.vue.js.map +1 -0
  205. package/icons/ObiCriticalAcknowledged2.vue.js +0 -2
  206. package/icons/ObiCriticalAcknowledged2.vue.js.map +0 -1
  207. package/icons/ObiCriticalBadge2.vue.js +0 -2
  208. package/icons/ObiCriticalBadge2.vue.js.map +0 -1
  209. package/icons/ObiCriticalNoack2.vue.js +0 -2
  210. package/icons/ObiCriticalNoack2.vue.js.map +0 -1
  211. package/icons/ObiCriticalRectified2.vue.js +0 -2
  212. package/icons/ObiCriticalSilenced2.vue.js +0 -2
  213. package/icons/ObiCriticalSilenced2.vue.js.map +0 -1
  214. package/icons/ObiCriticalTransferred2.vue.js +0 -2
  215. package/icons/ObiCriticalTransferred2.vue.js.map +0 -1
  216. package/icons/ObiCriticalUnacknowledged2.vue.js +0 -2
  217. package/icons/ObiCriticalUnacknowledged2.vue.js.map +0 -1
  218. /package/{icons → manual-icon}/ObiCriticalAcknowledged.vue.js +0 -0
  219. /package/{icons → manual-icon}/ObiCriticalAcknowledged.vue.js.map +0 -0
  220. /package/{icons → manual-icon}/ObiCriticalBadge.vue.js +0 -0
  221. /package/{icons → manual-icon}/ObiCriticalBadge.vue.js.map +0 -0
  222. /package/{icons → manual-icon}/ObiCriticalNoack.vue.js +0 -0
  223. /package/{icons → manual-icon}/ObiCriticalNoack.vue.js.map +0 -0
  224. /package/{icons → manual-icon}/ObiCriticalRectified.vue.js +0 -0
  225. /package/{icons → manual-icon}/ObiCriticalRectified.vue.js.map +0 -0
  226. /package/{icons → manual-icon}/ObiCriticalSilenced.vue.js +0 -0
  227. /package/{icons → manual-icon}/ObiCriticalSilenced.vue.js.map +0 -0
  228. /package/{icons → manual-icon}/ObiCriticalTransferred.vue.js +0 -0
  229. /package/{icons → manual-icon}/ObiCriticalTransferred.vue.js.map +0 -0
  230. /package/{icons → manual-icon}/ObiCriticalUnacknowledged.vue.js +0 -0
  231. /package/{icons → manual-icon}/ObiCriticalUnacknowledged.vue.js.map +0 -0
@@ -1,2 +1,2 @@
1
- import{defineComponent as l,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as S}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const A=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean,default:void 0},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean,default:void 0},autoAtHeadingSetpoint:{type:Boolean,default:void 0},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean,default:void 0},touching:{type:Boolean,default:void 0},headingAdvices:{},currentWindSpeedKnots:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean,default:void 0},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean,default:void 0},tickmarksInside:{type:Boolean,default:void 0},faceDiameter:{}},setup(d){const t=d,r=u({}),s={created(o){for(const e in t)r[e]=o[e]}};let a=!1;const c=f(),p=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,S("obc-compass",e,y(c))};return(o,e)=>v((m(),g(p,null,null,512)),[[s]])}});export{A as default};
1
+ import{defineComponent as l,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as S}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const A=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean,default:void 0},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean,default:void 0},autoAtHeadingSetpoint:{type:Boolean,default:void 0},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean,default:void 0},touching:{type:Boolean,default:void 0},headingAdvices:{},currentWindSpeedKnots:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},vesselImageSrc:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean,default:void 0},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean,default:void 0},tickmarksInside:{type:Boolean,default:void 0},faceDiameter:{}},setup(d){const t=d,r=u({}),s={created(o){for(const e in t)r[e]=o[e]}};let a=!1;const c=f(),p=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,S("obc-compass",e,y(c))};return(o,e)=>v((m(),g(p,null,null,512)),[[s]])}});export{A as default};
2
2
  //# sourceMappingURL=ObcCompass2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcCompass2.vue.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n currentWindSpeedKnots?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean, default: undefined },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean, default: undefined },\n autoAtHeadingSetpoint: { type: Boolean, default: undefined },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean, default: undefined },\n touching: { type: Boolean, default: undefined },\n headingAdvices: {},\n currentWindSpeedKnots: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean, default: undefined },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean, default: undefined },\n tickmarksInside: { type: Boolean, default: undefined },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA6DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,QAAS,QAAS,MAAA,EACnD,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,eAAgB,CAAA,EAChB,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,kBAAmB,CAAA,EACnB,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcCompass2.vue.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, VesselImageSrc, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n currentWindSpeedKnots?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, VesselImageSrc, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean, default: undefined },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean, default: undefined },\n autoAtHeadingSetpoint: { type: Boolean, default: undefined },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean, default: undefined },\n touching: { type: Boolean, default: undefined },\n headingAdvices: {},\n currentWindSpeedKnots: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n vesselImageSrc: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean, default: undefined },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean, default: undefined },\n tickmarksInside: { type: Boolean, default: undefined },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA8DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,QAAS,QAAS,MAAA,EACnD,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,eAAgB,CAAA,EAChB,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,kBAAmB,CAAA,EACnB,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
2
2
  import { CurrentType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
3
3
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
5
  export interface Props {
6
6
  type?: CurrentType;
7
7
  currentSpeed?: number | null;
@@ -12,11 +12,12 @@ export interface Props {
12
12
  waveHeight?: number;
13
13
  waveSpeed?: number;
14
14
  vesselImage?: VesselImage;
15
+ vesselImageSrc?: VesselImageSrc | undefined;
15
16
  vesselHeadingDeg?: number;
16
17
  }
17
18
  export type { CurrentType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
18
19
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
19
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
20
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
20
21
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
21
22
  hasPattern: boolean;
22
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as v,withDirectives as f,openBlock as m,createBlock as h,h as g}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js";const S=u({__name:"ObcCurrent",props:{type:{},currentSpeed:{},currentFromDirection:{},priority:{},hasPattern:{type:Boolean,default:void 0},waveLength:{},waveHeight:{},waveSpeed:{},vesselImage:{},vesselHeadingDeg:{}},setup(a){const t=a,n=d({}),i={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const p=v(),l=()=>{const e={};for(const r in t){const c=t[r];(c!==void 0||s)&&(e[r]=c??n[r])}return s=!0,g("obc-current",e,_(p))};return(o,e)=>f((m(),h(l,null,null,512)),[[i]])}});export{S as default};
1
+ import{defineComponent as u,reactive as v,useSlots as d,withDirectives as f,openBlock as m,createBlock as g,h}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js";const P=u({__name:"ObcCurrent",props:{type:{},currentSpeed:{},currentFromDirection:{},priority:{},hasPattern:{type:Boolean,default:void 0},waveLength:{},waveHeight:{},waveSpeed:{},vesselImage:{},vesselImageSrc:{},vesselHeadingDeg:{}},setup(a){const t=a,n=v({}),i={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const p=d(),l=()=>{const e={};for(const r in t){const c=t[r];(c!==void 0||s)&&(e[r]=c??n[r])}return s=!0,h("obc-current",e,_(p))};return(o,e)=>f((m(),g(l,null,null,512)),[[i]])}});export{P as default};
2
2
  //# sourceMappingURL=ObcCurrent2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcCurrent2.vue.js","sources":["../../src/navigation-instruments/current/ObcCurrent.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\n import {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: CurrentType;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n priority?: Priority;\n hasPattern?: boolean;\n waveLength?: number;\n waveHeight?: number;\n waveSpeed?: number;\n vesselImage?: VesselImage;\n vesselHeadingDeg?: number\n }\n\n \n \n export type {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCurrent',\n props: {\n type: {},\n currentSpeed: {},\n currentFromDirection: {},\n priority: {},\n hasPattern: { type: Boolean, default: undefined },\n waveLength: {},\n waveHeight: {},\n waveSpeed: {},\n vesselImage: {},\n vesselHeadingDeg: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-current',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,KAAM,CAAA,EACN,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,YAAa,CAAA,EACb,iBAAkB,CAAA,CAAC,EAErB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcCurrent2.vue.js","sources":["../../src/navigation-instruments/current/ObcCurrent.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\n import {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: CurrentType;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n priority?: Priority;\n hasPattern?: boolean;\n waveLength?: number;\n waveHeight?: number;\n waveSpeed?: number;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n vesselHeadingDeg?: number\n }\n\n \n \n export type {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCurrent',\n props: {\n type: {},\n currentSpeed: {},\n currentFromDirection: {},\n priority: {},\n hasPattern: { type: Boolean, default: undefined },\n waveLength: {},\n waveHeight: {},\n waveSpeed: {},\n vesselImage: {},\n vesselImageSrc: {},\n vesselHeadingDeg: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-current',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"qRA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,KAAM,CAAA,EACN,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,iBAAkB,CAAA,CAAC,EAErB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,cACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.j
2
2
  import { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
3
3
  import { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  import { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
5
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
6
6
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
7
7
  import { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
8
8
  export interface Props {
@@ -24,6 +24,7 @@ export interface Props {
24
24
  hasScale?: boolean;
25
25
  showVessel?: boolean;
26
26
  vesselImage?: VesselImage;
27
+ vesselImageSrc?: VesselImageSrc | undefined;
27
28
  hasAdvice?: boolean;
28
29
  advice?: LinearAdvice[];
29
30
  priority?: Priority;
@@ -32,7 +33,7 @@ export interface Props {
32
33
  export type { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
33
34
  export type { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
34
35
  export type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
35
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
36
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
36
37
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
37
38
  export type { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
38
39
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as h,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js";const x=d({__name:"ObcDepth",props:{type:{},data:{},prediction:{},scan:{},scanRange:{},predictedDepth:{},value:{},hasValueLine:{type:Boolean,default:void 0},now:{},xAxis:{},ranges:{},maxDepth:{},autoRange:{type:Boolean,default:void 0},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},hasScale:{type:Boolean,default:void 0},showVessel:{type:Boolean,default:void 0},vesselImage:{},hasAdvice:{type:Boolean,default:void 0},advice:{},priority:{},state:{}},setup(c){const t=c,n=u({}),i={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const l=v(),p=()=>{const e={};for(const a in t){const r=t[a];(r!==void 0||s)&&(e[a]=r??n[a])}return s=!0,y("obc-depth",e,B(l))};return(o,e)=>f((m(),h(p,null,null,512)),[[i]])}});export{x as default};
1
+ import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as h,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js";const x=d({__name:"ObcDepth",props:{type:{},data:{},prediction:{},scan:{},scanRange:{},predictedDepth:{},value:{},hasValueLine:{type:Boolean,default:void 0},now:{},xAxis:{},ranges:{},maxDepth:{},autoRange:{type:Boolean,default:void 0},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},hasScale:{type:Boolean,default:void 0},showVessel:{type:Boolean,default:void 0},vesselImage:{},vesselImageSrc:{},hasAdvice:{type:Boolean,default:void 0},advice:{},priority:{},state:{}},setup(c){const t=c,s=u({}),l={created(o){for(const e in t)s[e]=o[e]}};let n=!1;const i=v(),p=()=>{const e={};for(const a in t){const r=t[a];(r!==void 0||n)&&(e[a]=r??s[a])}return n=!0,y("obc-depth",e,B(i))};return(o,e)=>f((m(),h(p,null,null,512)),[[l]])}});export{x as default};
2
2
  //# sourceMappingURL=ObcDepth2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcDepth2.vue.js","sources":["../../src/navigation-instruments/depth/ObcDepth.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\n import {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nimport {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: DepthType;\n data?: DepthDataItem[];\n prediction?: ChartLineDataItem[];\n scan?: ChartLineDataItem[];\n scanRange?: number | undefined;\n predictedDepth?: number | undefined;\n value?: number | undefined;\n hasValueLine?: boolean;\n now?: number;\n xAxis?: ChartLineXAxisConfig | undefined;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n hasScale?: boolean;\n showVessel?: boolean;\n vesselImage?: VesselImage;\n hasAdvice?: boolean;\n advice?: LinearAdvice[];\n priority?: Priority;\n state?: InstrumentState\n }\n\n \n \n export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nexport type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepth',\n props: {\n type: {},\n data: {},\n prediction: {},\n scan: {},\n scanRange: {},\n predictedDepth: {},\n value: {},\n hasValueLine: { type: Boolean, default: undefined },\n now: {},\n xAxis: {},\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean, default: undefined },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n hasScale: { type: Boolean, default: undefined },\n showVessel: { type: Boolean, default: undefined },\n vesselImage: {},\n hasAdvice: { type: Boolean, default: undefined },\n advice: {},\n priority: {},\n state: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-depth',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA+CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,KAAM,CAAA,EACN,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,IAAK,CAAA,EACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,MAAO,CAAA,CAAC,EAEV,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcDepth2.vue.js","sources":["../../src/navigation-instruments/depth/ObcDepth.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\n import {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nimport {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: DepthType;\n data?: DepthDataItem[];\n prediction?: ChartLineDataItem[];\n scan?: ChartLineDataItem[];\n scanRange?: number | undefined;\n predictedDepth?: number | undefined;\n value?: number | undefined;\n hasValueLine?: boolean;\n now?: number;\n xAxis?: ChartLineXAxisConfig | undefined;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n hasScale?: boolean;\n showVessel?: boolean;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n hasAdvice?: boolean;\n advice?: LinearAdvice[];\n priority?: Priority;\n state?: InstrumentState\n }\n\n \n \n export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nexport type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepth',\n props: {\n type: {},\n data: {},\n prediction: {},\n scan: {},\n scanRange: {},\n predictedDepth: {},\n value: {},\n hasValueLine: { type: Boolean, default: undefined },\n now: {},\n xAxis: {},\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean, default: undefined },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n hasScale: { type: Boolean, default: undefined },\n showVessel: { type: Boolean, default: undefined },\n vesselImage: {},\n vesselImageSrc: {},\n hasAdvice: { type: Boolean, default: undefined },\n advice: {},\n priority: {},\n state: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-depth',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,KAAM,CAAA,EACN,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,IAAK,CAAA,EACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,MAAO,CAAA,CAAC,EAEV,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
2
2
  import { DepthTopBandType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
4
5
  export interface Props {
5
6
  type?: DepthTopBandType;
6
7
  now?: number | undefined;
7
8
  vesselImage?: VesselImage;
9
+ vesselImageSrc?: VesselImageSrc | undefined;
8
10
  minValue?: number;
9
11
  maxValue?: number;
10
12
  paddingLeft?: number;
@@ -15,6 +17,7 @@ export interface Props {
15
17
  }
16
18
  export type { DepthTopBandType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
17
19
  export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
20
+ export type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
18
21
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
22
  "scale-dimensions-changed": (payload: CustomEvent<any>) => any;
20
23
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
@@ -1,2 +1,2 @@
1
- import{defineComponent as f,reactive as u,useSlots as h,withDirectives as v,openBlock as g,createBlock as _,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js";const b=f({__name:"ObcDepthTopBand",props:{type:{},now:{},vesselImage:{},minValue:{},maxValue:{},paddingLeft:{},paddingRight:{},width:{},fixedAspectRatio:{type:Boolean,default:void 0},scaleReferenceSize:{}},emits:["scale-dimensions-changed"],setup(a,{emit:r}){const n=a,s=u({}),d={created(o){for(const e in n)s[e]=o[e]}};let c=!1;const p=r,l=h(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in n){const i=n[t];(i!==void 0||c)&&(e[t]=i??s[t])}return c=!0,x("obc-depth-top-band",e,B(l))};return(o,e)=>v((g(),_(m,null,null,512)),[[d]])}});export{b as default};
1
+ import{defineComponent as f,reactive as u,useSlots as h,withDirectives as v,openBlock as g,createBlock as _,h as S}from"vue";import{assignSlotNodes as x}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js";const b=f({__name:"ObcDepthTopBand",props:{type:{},now:{},vesselImage:{},vesselImageSrc:{},minValue:{},maxValue:{},paddingLeft:{},paddingRight:{},width:{},fixedAspectRatio:{type:Boolean,default:void 0},scaleReferenceSize:{}},emits:["scale-dimensions-changed"],setup(i,{emit:r}){const n=i,s=u({}),d={created(o){for(const e in n)s[e]=o[e]}};let c=!1;const p=r,l=h(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in n){const a=n[t];(a!==void 0||c)&&(e[t]=a??s[t])}return c=!0,S("obc-depth-top-band",e,x(l))};return(o,e)=>v((g(),_(m,null,null,512)),[[d]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcDepthTopBand2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcDepthTopBand2.vue.js","sources":["../../src/navigation-instruments/depth/ObcDepthTopBand.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\n import {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: DepthTopBandType;\n now?: number | undefined;\n vesselImage?: VesselImage;\n minValue?: number;\n maxValue?: number;\n paddingLeft?: number;\n paddingRight?: number;\n width?: number;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number\n }\n\n \n \n export type {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepthTopBand',\n props: {\n type: {},\n now: {},\n vesselImage: {},\n minValue: {},\n maxValue: {},\n paddingLeft: {},\n paddingRight: {},\n width: {},\n fixedAspectRatio: { type: Boolean, default: undefined },\n scaleReferenceSize: {}\n },\n emits: [\"scale-dimensions-changed\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-depth-top-band',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"+RA2BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,KAAM,CAAA,EACN,IAAK,CAAA,EACL,YAAa,CAAA,EACb,SAAU,CAAA,EACV,SAAU,CAAA,EACV,YAAa,CAAA,EACb,aAAc,CAAA,EACd,MAAO,CAAA,EACP,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,mBAAoB,CAAA,CAAC,EAEvB,MAAO,CAAC,0BAA0B,EAClC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcDepthTopBand2.vue.js","sources":["../../src/navigation-instruments/depth/ObcDepthTopBand.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\n import {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\n\n export interface Props {\n type?: DepthTopBandType;\n now?: number | undefined;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n minValue?: number;\n maxValue?: number;\n paddingLeft?: number;\n paddingRight?: number;\n width?: number;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number\n }\n\n \n \n export type {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepthTopBand',\n props: {\n type: {},\n now: {},\n vesselImage: {},\n vesselImageSrc: {},\n minValue: {},\n maxValue: {},\n paddingLeft: {},\n paddingRight: {},\n width: {},\n fixedAspectRatio: { type: Boolean, default: undefined },\n scaleReferenceSize: {}\n },\n emits: [\"scale-dimensions-changed\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-depth-top-band',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"+RA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,KAAM,CAAA,EACN,IAAK,CAAA,EACL,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,SAAU,CAAA,EACV,YAAa,CAAA,EACb,aAAc,CAAA,EACd,MAAO,CAAA,EACP,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,mBAAoB,CAAA,CAAC,EAEvB,MAAO,CAAC,0BAA0B,EAClC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js';
2
2
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
4
5
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
6
  import { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
6
7
  export interface Props {
@@ -9,6 +10,7 @@ export interface Props {
9
10
  advice?: LinearAdvice[];
10
11
  vesselScale?: number;
11
12
  vesselImage?: VesselImage;
13
+ vesselImageSrc?: VesselImageSrc | undefined;
12
14
  priority?: Priority;
13
15
  showLabels?: boolean;
14
16
  ranges?: readonly DepthRange[];
@@ -20,6 +22,7 @@ export interface Props {
20
22
  }
21
23
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
22
24
  export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
25
+ export type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
23
26
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
24
27
  export type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
25
28
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as h,h as k}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js";const D=d({__name:"ObcDepthActual",props:{depth:{},draft:{},advice:{},vesselScale:{},vesselImage:{},priority:{},showLabels:{type:Boolean,default:void 0},ranges:{},maxDepth:{},autoRange:{type:Boolean,default:void 0},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},instrumentRange:{}},setup(c){const t=c,n=u({}),l={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const p=v(),i=()=>{const e={};for(const s in t){const a=t[s];(a!==void 0||r)&&(e[s]=a??n[s])}return r=!0,k("obc-depth-actual",e,_(p))};return(o,e)=>f((m(),h(i,null,null,512)),[[l]])}});export{D as default};
1
+ import{defineComponent as d,reactive as u,useSlots as v,withDirectives as m,openBlock as f,createBlock as h,h as g}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js";const D=d({__name:"ObcDepthActual",props:{depth:{},draft:{},advice:{},vesselScale:{},vesselImage:{},vesselImageSrc:{},priority:{},showLabels:{type:Boolean,default:void 0},ranges:{},maxDepth:{},autoRange:{type:Boolean,default:void 0},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},instrumentRange:{}},setup(c){const t=c,r=u({}),l={created(o){for(const e in t)r[e]=o[e]}};let n=!1;const p=v(),i=()=>{const e={};for(const s in t){const a=t[s];(a!==void 0||n)&&(e[s]=a??r[s])}return n=!0,g("obc-depth-actual",e,k(p))};return(o,e)=>m((f(),h(i,null,null,512)),[[l]])}});export{D as default};
2
2
  //# sourceMappingURL=ObcDepthActual2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcDepthActual2.vue.js","sources":["../../src/navigation-instruments/depth-actual/ObcDepthActual.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\n\n export interface Props {\n depth?: number;\n draft?: number;\n advice?: LinearAdvice[];\n vesselScale?: number;\n vesselImage?: VesselImage;\n priority?: Priority;\n showLabels?: boolean;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n instrumentRange?: number | undefined\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepthActual',\n props: {\n depth: {},\n draft: {},\n advice: {},\n vesselScale: {},\n vesselImage: {},\n priority: {},\n showLabels: { type: Boolean, default: undefined },\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean, default: undefined },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n instrumentRange: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-depth-actual',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oSAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,MAAO,CAAA,EACP,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,YAAa,CAAA,EACb,YAAa,CAAA,EACb,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,gBAAiB,CAAA,CAAC,EAEpB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcDepthActual2.vue.js","sources":["../../src/navigation-instruments/depth-actual/ObcDepthActual.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\n\n export interface Props {\n depth?: number;\n draft?: number;\n advice?: LinearAdvice[];\n vesselScale?: number;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n priority?: Priority;\n showLabels?: boolean;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n instrumentRange?: number | undefined\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepthActual',\n props: {\n depth: {},\n draft: {},\n advice: {},\n vesselScale: {},\n vesselImage: {},\n vesselImageSrc: {},\n priority: {},\n showLabels: { type: Boolean, default: undefined },\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean, default: undefined },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n instrumentRange: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-depth-actual',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oSAqCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,MAAO,CAAA,EACP,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,YAAa,CAAA,EACb,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,gBAAiB,CAAA,CAAC,EAEpB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';
2
2
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
4
5
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
6
  export interface Props {
6
7
  draftFore?: number;
@@ -8,10 +9,12 @@ export interface Props {
8
9
  instrumentRange?: number;
9
10
  advice?: LinearAdvice[];
10
11
  vesselImage?: VesselImage;
12
+ vesselImageSrc?: VesselImageSrc | undefined;
11
13
  priority?: Priority;
12
14
  }
13
15
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
14
16
  export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
17
+ export type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
15
18
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
16
19
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
20
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as l,reactive as d,useSlots as u,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js";const k=l({__name:"ObcDraftTrim",props:{draftFore:{},draftAft:{},instrumentRange:{},advice:{},vesselImage:{},priority:{}},setup(a){const e=a,s=d({}),i={created(o){for(const t in e)s[t]=o[t]}};let n=!1;const p=u(),f=()=>{const t={};for(const r in e){const c=e[r];(c!==void 0||n)&&(t[r]=c??s[r])}return n=!0,h("obc-draft-trim",t,g(p))};return(o,t)=>m((v(),_(f,null,null,512)),[[i]])}});export{k as default};
1
+ import{defineComponent as l,reactive as d,useSlots as m,withDirectives as u,openBlock as v,createBlock as _,h as g}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js";const b=l({__name:"ObcDraftTrim",props:{draftFore:{},draftAft:{},instrumentRange:{},advice:{},vesselImage:{},vesselImageSrc:{},priority:{}},setup(a){const t=a,s=d({}),i={created(r){for(const e in t)s[e]=r[e]}};let n=!1;const p=m(),f=()=>{const e={};for(const o in t){const c=t[o];(c!==void 0||n)&&(e[o]=c??s[o])}return n=!0,g("obc-draft-trim",e,h(p))};return(r,e)=>u((v(),_(f,null,null,512)),[[i]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcDraftTrim2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcDraftTrim2.vue.js","sources":["../../src/navigation-instruments/draft-trim/ObcDraftTrim.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n draftFore?: number;\n draftAft?: number;\n instrumentRange?: number;\n advice?: LinearAdvice[];\n vesselImage?: VesselImage;\n priority?: Priority\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDraftTrim',\n props: {\n draftFore: {},\n draftAft: {},\n instrumentRange: {},\n advice: {},\n vesselImage: {},\n priority: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-draft-trim',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"2RAyBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,UAAW,CAAA,EACX,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,OAAQ,CAAA,EACR,YAAa,CAAA,EACb,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,iBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcDraftTrim2.vue.js","sources":["../../src/navigation-instruments/draft-trim/ObcDraftTrim.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n draftFore?: number;\n draftAft?: number;\n instrumentRange?: number;\n advice?: LinearAdvice[];\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n priority?: Priority\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDraftTrim',\n props: {\n draftFore: {},\n draftAft: {},\n instrumentRange: {},\n advice: {},\n vesselImage: {},\n vesselImageSrc: {},\n priority: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-draft-trim',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gSA4BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,UAAW,CAAA,EACX,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,OAAQ,CAAA,EACR,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/headi
2
2
  import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
3
3
  import { CompassDirection, HeadingPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
5
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
6
6
  import { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
7
7
  import { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
8
8
  export interface Props {
@@ -22,6 +22,7 @@ export interface Props {
22
22
  priority?: Priority;
23
23
  priorityElements?: HeadingPriorityElement[];
24
24
  vesselImage?: VesselImage | undefined;
25
+ vesselImageSrc?: VesselImageSrc | undefined;
25
26
  centerReadouts?: CompassCenterReadout[];
26
27
  hdgArrowStyle?: HdgArrowStyle;
27
28
  cogArrowStyle?: CogArrowStyle;
@@ -32,7 +33,7 @@ export interface Props {
32
33
  export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
33
34
  export type { CompassDirection, HeadingPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
34
35
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
35
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
36
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
36
37
  export type { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
37
38
  export type { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
38
39
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -1,2 +1,2 @@
1
- import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as g,createBlock as h,h as m}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js";const _=c({__name:"ObcHeading",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean,default:void 0},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean,default:void 0},autoAtHeadingSetpoint:{type:Boolean,default:void 0},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean,default:void 0},touching:{type:Boolean,default:void 0},headingAdvices:{},direction:{},priority:{},priorityElements:{},vesselImage:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},showLabels:{type:Boolean,default:void 0},tickmarksInside:{type:Boolean,default:void 0},faceDiameter:{}},setup(r){const t=r,a=u({}),s={created(o){for(const e in t)a[e]=o[e]}};let i=!1;const l=f(),p=()=>{const e={};for(const n in t){const d=t[n];(d!==void 0||i)&&(e[n]=d??a[n])}return i=!0,m("obc-heading",e,S(l))};return(o,e)=>v((g(),h(p,null,null,512)),[[s]])}});export{_ as default};
1
+ import{defineComponent as c,reactive as u,useSlots as v,withDirectives as f,openBlock as g,createBlock as m,h}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js";const _=c({__name:"ObcHeading",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean,default:void 0},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean,default:void 0},autoAtHeadingSetpoint:{type:Boolean,default:void 0},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean,default:void 0},touching:{type:Boolean,default:void 0},headingAdvices:{},direction:{},priority:{},priorityElements:{},vesselImage:{},vesselImageSrc:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},showLabels:{type:Boolean,default:void 0},tickmarksInside:{type:Boolean,default:void 0},faceDiameter:{}},setup(d){const t=d,a=u({}),s={created(o){for(const e in t)a[e]=o[e]}};let i=!1;const l=v(),p=()=>{const e={};for(const n in t){const r=t[n];(r!==void 0||i)&&(e[n]=r??a[n])}return i=!0,h("obc-heading",e,S(l))};return(o,e)=>f((g(),m(p,null,null,512)),[[s]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcHeading2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcHeading2.vue.js","sources":["../../src/navigation-instruments/heading/ObcHeading.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n direction?: CompassDirection;\n priority?: Priority;\n priorityElements?: HeadingPriorityElement[];\n vesselImage?: VesselImage | undefined;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeading',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean, default: undefined },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean, default: undefined },\n autoAtHeadingSetpoint: { type: Boolean, default: undefined },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean, default: undefined },\n touching: { type: Boolean, default: undefined },\n headingAdvices: {},\n direction: {},\n priority: {},\n priorityElements: {},\n vesselImage: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n showLabels: { type: Boolean, default: undefined },\n tickmarksInside: { type: Boolean, default: undefined },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heading',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA+CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,QAAS,QAAS,MAAA,EACnD,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcHeading2.vue.js","sources":["../../src/navigation-instruments/heading/ObcHeading.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n direction?: CompassDirection;\n priority?: Priority;\n priorityElements?: HeadingPriorityElement[];\n vesselImage?: VesselImage | undefined;\n vesselImageSrc?: VesselImageSrc | undefined;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeading',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean, default: undefined },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean, default: undefined },\n autoAtHeadingSetpoint: { type: Boolean, default: undefined },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean, default: undefined },\n touching: { type: Boolean, default: undefined },\n headingAdvices: {},\n direction: {},\n priority: {},\n priorityElements: {},\n vesselImage: {},\n vesselImageSrc: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n showLabels: { type: Boolean, default: undefined },\n tickmarksInside: { type: Boolean, default: undefined },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heading',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"qRAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,QAAS,QAAS,MAAA,EACnD,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,cACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
2
2
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
4
5
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
6
  import { ObcHeaveType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
6
7
  export interface Props {
@@ -12,11 +13,13 @@ export interface Props {
12
13
  advice?: LinearAdvice[];
13
14
  instrumentRange?: number;
14
15
  vesselImage?: VesselImage;
16
+ vesselImageSrc?: VesselImageSrc | undefined;
15
17
  priority?: Priority;
16
18
  type?: ObcHeaveType;
17
19
  }
18
20
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
19
21
  export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
22
+ export type { VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';
20
23
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
21
24
  export type { ObcHeaveType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
22
25
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as v,reactive as f,useSlots as d,withDirectives as u,openBlock as m,createBlock as h,h as _}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js";const S=v({__name:"ObcHeave",props:{heave:{},gainScale:{},minTrendHeave:{},maxTrendHeave:{},draftOffset:{},advice:{},instrumentRange:{},vesselImage:{},priority:{},type:{}},setup(c){const t=c,s=f({}),i={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const p=d(),l=()=>{const e={};for(const o in t){const a=t[o];(a!==void 0||r)&&(e[o]=a??s[o])}return r=!0,_("obc-heave",e,g(p))};return(n,e)=>u((m(),h(l,null,null,512)),[[i]])}});export{S as default};
1
+ import{defineComponent as v,reactive as f,useSlots as d,withDirectives as m,openBlock as u,createBlock as h,h as _}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js";const P=v({__name:"ObcHeave",props:{heave:{},gainScale:{},minTrendHeave:{},maxTrendHeave:{},draftOffset:{},advice:{},instrumentRange:{},vesselImage:{},vesselImageSrc:{},priority:{},type:{}},setup(c){const t=c,o=f({}),i={created(s){for(const e in t)o[e]=s[e]}};let r=!1;const p=d(),l=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||r)&&(e[n]=a??o[n])}return r=!0,_("obc-heave",e,g(p))};return(s,e)=>m((u(),h(l,null,null,512)),[[i]])}});export{P as default};
2
2
  //# sourceMappingURL=ObcHeave2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcHeave2.vue.js","sources":["../../src/navigation-instruments/heave/ObcHeave.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n\n export interface Props {\n heave?: number;\n gainScale?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n draftOffset?: number;\n advice?: LinearAdvice[];\n instrumentRange?: number;\n vesselImage?: VesselImage;\n priority?: Priority;\n type?: ObcHeaveType\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeave',\n props: {\n heave: {},\n gainScale: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n draftOffset: {},\n advice: {},\n instrumentRange: {},\n vesselImage: {},\n priority: {},\n type: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heave',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA+BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,UAAW,CAAA,EACX,cAAe,CAAA,EACf,cAAe,CAAA,EACf,YAAa,CAAA,EACb,OAAQ,CAAA,EACR,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,SAAU,CAAA,EACV,KAAM,CAAA,CAAC,EAET,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcHeave2.vue.js","sources":["../../src/navigation-instruments/heave/ObcHeave.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n\n export interface Props {\n heave?: number;\n gainScale?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n draftOffset?: number;\n advice?: LinearAdvice[];\n instrumentRange?: number;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n priority?: Priority;\n type?: ObcHeaveType\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/vessel.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeave',\n props: {\n heave: {},\n gainScale: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n draftOffset: {},\n advice: {},\n instrumentRange: {},\n vesselImage: {},\n vesselImageSrc: {},\n priority: {},\n type: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heave',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,UAAW,CAAA,EACX,cAAe,CAAA,EACf,cAAe,CAAA,EACf,YAAa,CAAA,EACb,OAAQ,CAAA,EACR,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,KAAM,CAAA,CAAC,EAET,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
2
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
2
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
3
  import { ObcPitchType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  export interface Props {
@@ -7,6 +7,7 @@ export interface Props {
7
7
  minAvgPitch?: number;
8
8
  maxAvgPitch?: number;
9
9
  vesselImageSide?: VesselImage;
10
+ vesselImageSideSrc?: VesselImageSrc | undefined;
10
11
  maxPitchAdvice?: number | undefined;
11
12
  triggerPitchAdvice?: boolean;
12
13
  label?: string;
@@ -18,7 +19,7 @@ export interface Props {
18
19
  priority?: Priority;
19
20
  arcAngle?: number;
20
21
  }
21
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
22
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
22
23
  export type { ObcPitchType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';
23
24
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
24
25
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as h,h as g}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js";const B=d({__name:"ObcPitch",props:{pitch:{},minAvgPitch:{},maxAvgPitch:{},vesselImageSide:{},maxPitchAdvice:{},triggerPitchAdvice:{type:Boolean,default:void 0},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},priority:{},arcAngle:{}},setup(r){const t=r,n=u({}),a={created(o){for(const e in t)n[e]=o[e]}};let c=!1;const l=v(),p=()=>{const e={};for(const i in t){const s=t[i];(s!==void 0||c)&&(e[i]=s??n[i])}return c=!0,g("obc-pitch",e,P(l))};return(o,e)=>f((m(),h(p,null,null,512)),[[a]])}});export{B as default};
1
+ import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as h,h as g}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js";const B=d({__name:"ObcPitch",props:{pitch:{},minAvgPitch:{},maxAvgPitch:{},vesselImageSide:{},vesselImageSideSrc:{},maxPitchAdvice:{},triggerPitchAdvice:{type:Boolean,default:void 0},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},priority:{},arcAngle:{}},setup(r){const t=r,s=u({}),a={created(o){for(const e in t)s[e]=o[e]}};let c=!1;const l=v(),p=()=>{const e={};for(const i in t){const n=t[i];(n!==void 0||c)&&(e[i]=n??s[i])}return c=!0,g("obc-pitch",e,P(l))};return(o,e)=>f((m(),h(p,null,null,512)),[[a]])}});export{B as default};
2
2
  //# sourceMappingURL=ObcPitch2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPitch2.vue.js","sources":["../../src/navigation-instruments/pitch/ObcPitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n pitch?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n vesselImageSide?: VesselImage;\n maxPitchAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcPitchType;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitch',\n props: {\n pitch: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n vesselImageSide: {},\n maxPitchAdvice: {},\n triggerPitchAdvice: { type: Boolean, default: undefined },\n label: {},\n unit: {},\n fractionDigits: {},\n type: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n hasReadout: { type: Boolean, default: undefined },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcPitch2.vue.js","sources":["../../src/navigation-instruments/pitch/ObcPitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\n import {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n pitch?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n vesselImageSide?: VesselImage;\n vesselImageSideSrc?: VesselImageSrc | undefined;\n maxPitchAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcPitchType;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitch',\n props: {\n pitch: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n vesselImageSide: {},\n vesselImageSideSrc: {},\n maxPitchAdvice: {},\n triggerPitchAdvice: { type: Boolean, default: undefined },\n label: {},\n unit: {},\n fractionDigits: {},\n type: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n hasReadout: { type: Boolean, default: undefined },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
2
2
  import { PitchRollType, PitchRollPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
3
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  export interface Props {
6
6
  type?: PitchRollType;
@@ -12,6 +12,8 @@ export interface Props {
12
12
  maxAvgRoll?: number;
13
13
  vesselImageFore?: VesselImage;
14
14
  vesselImageSide?: VesselImage;
15
+ vesselImageForeSrc?: VesselImageSrc | undefined;
16
+ vesselImageSideSrc?: VesselImageSrc | undefined;
15
17
  scaleForeImage?: number;
16
18
  maxPitchAdvice?: number | undefined;
17
19
  maxRollAdvice?: number | undefined;
@@ -30,7 +32,7 @@ export interface Props {
30
32
  rollArcAngle?: number | undefined;
31
33
  }
32
34
  export type { PitchRollType, PitchRollPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';
33
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
35
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
34
36
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
35
37
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
36
38
  hasReadout: boolean;