@oicl/openbridge-webcomponents-vue 2.1.0-next.4 → 2.1.0-next.5

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 (51) hide show
  1. package/components/brilliance-menu/ObcBrillianceMenu.vue.d.ts +4 -2
  2. package/components/brilliance-menu/ObcBrillianceMenu2.vue.js.map +1 -1
  3. package/navigation-instruments/compass/ObcCompass.vue.d.ts +3 -2
  4. package/navigation-instruments/compass/ObcCompass2.vue.js +1 -1
  5. package/navigation-instruments/compass/ObcCompass2.vue.js.map +1 -1
  6. package/navigation-instruments/current/ObcCurrent.vue.d.ts +3 -2
  7. package/navigation-instruments/current/ObcCurrent2.vue.js +1 -1
  8. package/navigation-instruments/current/ObcCurrent2.vue.js.map +1 -1
  9. package/navigation-instruments/depth/ObcDepth.vue.d.ts +3 -2
  10. package/navigation-instruments/depth/ObcDepth2.vue.js +1 -1
  11. package/navigation-instruments/depth/ObcDepth2.vue.js.map +1 -1
  12. package/navigation-instruments/depth/ObcDepthTopBand.vue.d.ts +3 -0
  13. package/navigation-instruments/depth/ObcDepthTopBand2.vue.js +1 -1
  14. package/navigation-instruments/depth/ObcDepthTopBand2.vue.js.map +1 -1
  15. package/navigation-instruments/depth-actual/ObcDepthActual.vue.d.ts +3 -0
  16. package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js +1 -1
  17. package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js.map +1 -1
  18. package/navigation-instruments/draft-trim/ObcDraftTrim.vue.d.ts +3 -0
  19. package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js +1 -1
  20. package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js.map +1 -1
  21. package/navigation-instruments/heading/ObcHeading.vue.d.ts +3 -2
  22. package/navigation-instruments/heading/ObcHeading2.vue.js +1 -1
  23. package/navigation-instruments/heading/ObcHeading2.vue.js.map +1 -1
  24. package/navigation-instruments/heave/ObcHeave.vue.d.ts +3 -0
  25. package/navigation-instruments/heave/ObcHeave2.vue.js +1 -1
  26. package/navigation-instruments/heave/ObcHeave2.vue.js.map +1 -1
  27. package/navigation-instruments/pitch/ObcPitch.vue.d.ts +3 -2
  28. package/navigation-instruments/pitch/ObcPitch2.vue.js +1 -1
  29. package/navigation-instruments/pitch/ObcPitch2.vue.js.map +1 -1
  30. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue.d.ts +4 -2
  31. package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js +1 -1
  32. package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js.map +1 -1
  33. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.d.ts +4 -2
  34. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js +1 -1
  35. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js.map +1 -1
  36. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.vue.d.ts +3 -2
  37. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js +1 -1
  38. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js.map +1 -1
  39. package/navigation-instruments/roll/ObcRoll.vue.d.ts +3 -2
  40. package/navigation-instruments/roll/ObcRoll2.vue.js +1 -1
  41. package/navigation-instruments/roll/ObcRoll2.vue.js.map +1 -1
  42. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.d.ts +3 -2
  43. package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js +1 -1
  44. package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js.map +1 -1
  45. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue.d.ts +3 -2
  46. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js +1 -1
  47. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js.map +1 -1
  48. package/navigation-instruments/wind/ObcWind.vue.d.ts +3 -2
  49. package/navigation-instruments/wind/ObcWind2.vue.js +1 -1
  50. package/navigation-instruments/wind/ObcWind2.vue.js.map +1 -1
  51. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
2
- import { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
2
+ import { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
3
+ import { ObcPalette } from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
3
4
  export interface Props {
4
5
  softDismiss?: boolean;
5
6
  open?: boolean;
@@ -22,7 +23,8 @@ export interface Props {
22
23
  showScreenControlLink?: boolean;
23
24
  showAdditionalScreenControls?: boolean;
24
25
  }
25
- export type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
26
+ export type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
27
+ export type { ObcPalette } from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
26
28
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
29
  close: (payload: CustomEvent<void>) => any;
28
30
  "palette-changed": (payload: ObcPaletteChangeEvent) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ObcBrillianceMenu2.vue.js","sources":["../../src/components/brilliance-menu/ObcBrillianceMenu.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/components/brilliance-menu/brilliance-menu.js';\n import {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n palette?: ObcPalette;\n brightness?: number;\n showLinkBrightness?: boolean;\n showLinkPalette?: boolean;\n showBrightness?: boolean;\n showPalette?: boolean;\n showNightPalette?: boolean;\n showDuskPalette?: boolean;\n showDayPalette?: boolean;\n showBrightPalette?: boolean;\n variant?: ObcBrillianceMenuVariant;\n brightnessUnit?: string;\n brightnessMax?: number;\n brightnessMinorStep?: number;\n brightnessMajorStep?: number;\n brightnessInputVariant?: ObcBrillianceInputVariant;\n showScreenControlLink?: boolean;\n showAdditionalScreenControls?: boolean\n }\n\n \n \n export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBrillianceMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n palette: {},\n brightness: {},\n showLinkBrightness: { type: Boolean, default: undefined },\n showLinkPalette: { type: Boolean, default: undefined },\n showBrightness: { type: Boolean, default: undefined },\n showPalette: { type: Boolean, default: undefined },\n showNightPalette: { type: Boolean, default: undefined },\n showDuskPalette: { type: Boolean, default: undefined },\n showDayPalette: { type: Boolean, default: undefined },\n showBrightPalette: { type: Boolean, default: undefined },\n variant: {},\n brightnessUnit: {},\n brightnessMax: {},\n brightnessMinorStep: {},\n brightnessMajorStep: {},\n brightnessInputVariant: {},\n showScreenControlLink: { type: Boolean, default: undefined },\n showAdditionalScreenControls: { type: Boolean, default: undefined }\n },\n emits: [\"palette-changed\", \"brightness-changed\", \"link-palette-changed\", \"link-brightness-changed\", \"screen-control-link-clicked\", \"close\"],\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 onPaletteChanged: (event: ObcPaletteChangeEvent) => emit('palette-changed', event as ObcPaletteChangeEvent),\nonBrightnessChanged: (event: ObcBrightnessChangeEvent) => emit('brightness-changed', event as ObcBrightnessChangeEvent),\nonLinkPaletteChanged: (event: ObcLinkPaletteChangeEvent) => emit('link-palette-changed', event as ObcLinkPaletteChangeEvent),\nonLinkBrightnessChanged: (event: ObcLinkBrightnessChangeEvent) => emit('link-brightness-changed', event as ObcLinkBrightnessChangeEvent),\nonScreenControlLinkClicked: (event: CustomEvent) => emit('screen-control-link-clicked', event as CustomEvent),\nonClose: (event: CustomEvent<void>) => emit('close', event as CustomEvent<void>)\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-brilliance-menu',\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":"8RAmCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,QAAS,CAAA,EACT,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,oBAAqB,CAAA,EACrB,oBAAqB,CAAA,EACrB,uBAAwB,CAAA,EACxB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,6BAA8B,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEpE,MAAO,CAAC,kBAAmB,qBAAsB,uBAAwB,0BAA2B,8BAA+B,OAAO,EAC1I,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,CASnB,MAAMC,EARa,CACvB,iBAAmBC,GAAiCL,EAAK,kBAAmBK,CAA8B,EAC9G,oBAAsBA,GAAoCL,EAAK,qBAAsBK,CAAiC,EACtH,qBAAuBA,GAAqCL,EAAK,uBAAwBK,CAAkC,EAC3H,wBAA0BA,GAAwCL,EAAK,0BAA2BK,CAAqC,EACvI,2BAA6BA,GAAuBL,EAAK,8BAA+BK,CAAoB,EAC5G,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,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":"ObcBrillianceMenu2.vue.js","sources":["../../src/components/brilliance-menu/ObcBrillianceMenu.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/components/brilliance-menu/brilliance-menu.js';\n import {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\nimport {ObcPalette} from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n palette?: ObcPalette;\n brightness?: number;\n showLinkBrightness?: boolean;\n showLinkPalette?: boolean;\n showBrightness?: boolean;\n showPalette?: boolean;\n showNightPalette?: boolean;\n showDuskPalette?: boolean;\n showDayPalette?: boolean;\n showBrightPalette?: boolean;\n variant?: ObcBrillianceMenuVariant;\n brightnessUnit?: string;\n brightnessMax?: number;\n brightnessMinorStep?: number;\n brightnessMajorStep?: number;\n brightnessInputVariant?: ObcBrillianceInputVariant;\n showScreenControlLink?: boolean;\n showAdditionalScreenControls?: boolean\n }\n\n \n \n export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\nexport type {ObcPalette} from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBrillianceMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n palette: {},\n brightness: {},\n showLinkBrightness: { type: Boolean, default: undefined },\n showLinkPalette: { type: Boolean, default: undefined },\n showBrightness: { type: Boolean, default: undefined },\n showPalette: { type: Boolean, default: undefined },\n showNightPalette: { type: Boolean, default: undefined },\n showDuskPalette: { type: Boolean, default: undefined },\n showDayPalette: { type: Boolean, default: undefined },\n showBrightPalette: { type: Boolean, default: undefined },\n variant: {},\n brightnessUnit: {},\n brightnessMax: {},\n brightnessMinorStep: {},\n brightnessMajorStep: {},\n brightnessInputVariant: {},\n showScreenControlLink: { type: Boolean, default: undefined },\n showAdditionalScreenControls: { type: Boolean, default: undefined }\n },\n emits: [\"palette-changed\", \"brightness-changed\", \"link-palette-changed\", \"link-brightness-changed\", \"screen-control-link-clicked\", \"close\"],\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 onPaletteChanged: (event: ObcPaletteChangeEvent) => emit('palette-changed', event as ObcPaletteChangeEvent),\nonBrightnessChanged: (event: ObcBrightnessChangeEvent) => emit('brightness-changed', event as ObcBrightnessChangeEvent),\nonLinkPaletteChanged: (event: ObcLinkPaletteChangeEvent) => emit('link-palette-changed', event as ObcLinkPaletteChangeEvent),\nonLinkBrightnessChanged: (event: ObcLinkBrightnessChangeEvent) => emit('link-brightness-changed', event as ObcLinkBrightnessChangeEvent),\nonScreenControlLinkClicked: (event: CustomEvent) => emit('screen-control-link-clicked', event as CustomEvent),\nonClose: (event: CustomEvent<void>) => emit('close', event as CustomEvent<void>)\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-brilliance-menu',\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":"8RAqCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,QAAS,CAAA,EACT,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,oBAAqB,CAAA,EACrB,oBAAqB,CAAA,EACrB,uBAAwB,CAAA,EACxB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,6BAA8B,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEpE,MAAO,CAAC,kBAAmB,qBAAsB,uBAAwB,0BAA2B,8BAA+B,OAAO,EAC1I,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,CASnB,MAAMC,EARa,CACvB,iBAAmBC,GAAiCL,EAAK,kBAAmBK,CAA8B,EAC9G,oBAAsBA,GAAoCL,EAAK,qBAAsBK,CAAiC,EACtH,qBAAuBA,GAAqCL,EAAK,uBAAwBK,CAAkC,EAC3H,wBAA0BA,GAAwCL,EAAK,0BAA2BK,CAAqC,EACvI,2BAA6BA,GAAuBL,EAAK,8BAA+BK,CAAoB,EAC5G,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,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,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
2
2
  import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
3
- import { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
+ import { VesselImage, VesselImageSrc, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
5
5
  import { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
6
6
  import { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
@@ -23,6 +23,7 @@ export interface Props {
23
23
  currentSpeed?: number | null;
24
24
  currentFromDirection?: number | null;
25
25
  vesselImage?: VesselImage;
26
+ vesselImageSrc?: VesselImageSrc | undefined;
26
27
  centerReadouts?: CompassCenterReadout[];
27
28
  hdgArrowStyle?: HdgArrowStyle;
28
29
  cogArrowStyle?: CogArrowStyle;
@@ -44,7 +45,7 @@ export interface Props {
44
45
  faceDiameter?: number | undefined;
45
46
  }
46
47
  export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
47
- export type { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
48
+ export type { VesselImage, VesselImageSrc, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
48
49
  export type { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
49
50
  export type { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
50
51
  export type { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
@@ -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;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as v,useSlots as m,withDirectives as u,openBlock as f,createBlock as g,h}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js";const x=d({__name:"ObcPitchRoll",props:{type:{},pitch:{},roll:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},vesselImageSide:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean,default:void 0},triggerRollAdvice:{type:Boolean,default:void 0},priority:{},priorityElements:{},hasReadout:{type:Boolean,default:void 0},pitchLabel:{},rollLabel:{},unit:{},fractionDigits:{},zoomToFitArc:{type:Boolean,default:void 0},arcAngle:{},pitchArcAngle:{},rollArcAngle:{}},setup(n){const o=n,r=v({}),s={created(t){for(const e in o)r[e]=t[e]}};let i=!1;const a=m(),p=()=>{const e={};for(const l in o){const c=o[l];(c!==void 0||i)&&(e[l]=c??r[l])}return i=!0,h("obc-pitch-roll",e,A(a))};return(t,e)=>u((f(),g(p,null,null,512)),[[s]])}});export{x as default};
1
+ import{defineComponent as d,reactive as v,useSlots as m,withDirectives as g,openBlock as u,createBlock as f,h}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js";const x=d({__name:"ObcPitchRoll",props:{type:{},pitch:{},roll:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},vesselImageSide:{},vesselImageForeSrc:{},vesselImageSideSrc:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean,default:void 0},triggerRollAdvice:{type:Boolean,default:void 0},priority:{},priorityElements:{},hasReadout:{type:Boolean,default:void 0},pitchLabel:{},rollLabel:{},unit:{},fractionDigits:{},zoomToFitArc:{type:Boolean,default:void 0},arcAngle:{},pitchArcAngle:{},rollArcAngle:{}},setup(s){const o=s,r=v({}),n={created(t){for(const e in o)r[e]=t[e]}};let i=!1;const a=m(),p=()=>{const e={};for(const l in o){const c=o[l];(c!==void 0||i)&&(e[l]=c??r[l])}return i=!0,h("obc-pitch-roll",e,A(a))};return(t,e)=>g((u(),f(p,null,null,512)),[[n]])}});export{x as default};
2
2
  //# sourceMappingURL=ObcPitchRoll2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPitchRoll2.vue.js","sources":["../../src/navigation-instruments/pitch-roll/ObcPitchRoll.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-roll/pitch-roll.js';\n import {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.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 type?: PitchRollType;\n pitch?: number;\n roll?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n priority?: Priority;\n priorityElements?: PitchRollPriorityElement[];\n hasReadout?: boolean;\n pitchLabel?: string;\n rollLabel?: string;\n unit?: string;\n fractionDigits?: number;\n zoomToFitArc?: boolean;\n arcAngle?: number;\n pitchArcAngle?: number | undefined;\n rollArcAngle?: number | undefined\n }\n\n \n \n export type {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.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: 'ObcPitchRoll',\n props: {\n type: {},\n pitch: {},\n roll: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n vesselImageSide: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean, default: undefined },\n triggerRollAdvice: { type: Boolean, default: undefined },\n priority: {},\n priorityElements: {},\n hasReadout: { type: Boolean, default: undefined },\n pitchLabel: {},\n rollLabel: {},\n unit: {},\n fractionDigits: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n arcAngle: {},\n pitchArcAngle: {},\n rollArcAngle: {}\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-roll',\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":"2RA4CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,SAAU,CAAA,EACV,cAAe,CAAA,EACf,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,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":"ObcPitchRoll2.vue.js","sources":["../../src/navigation-instruments/pitch-roll/ObcPitchRoll.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-roll/pitch-roll.js';\n import {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\nimport {VesselImage, VesselImageSrc} 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 type?: PitchRollType;\n pitch?: number;\n roll?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n vesselImageForeSrc?: VesselImageSrc | undefined;\n vesselImageSideSrc?: VesselImageSrc | undefined;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n priority?: Priority;\n priorityElements?: PitchRollPriorityElement[];\n hasReadout?: boolean;\n pitchLabel?: string;\n rollLabel?: string;\n unit?: string;\n fractionDigits?: number;\n zoomToFitArc?: boolean;\n arcAngle?: number;\n pitchArcAngle?: number | undefined;\n rollArcAngle?: number | undefined\n }\n\n \n \n export type {PitchRollType, PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\nexport type {VesselImage, VesselImageSrc} 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: 'ObcPitchRoll',\n props: {\n type: {},\n pitch: {},\n roll: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n vesselImageSide: {},\n vesselImageForeSrc: {},\n vesselImageSideSrc: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean, default: undefined },\n triggerRollAdvice: { type: Boolean, default: undefined },\n priority: {},\n priorityElements: {},\n hasReadout: { type: Boolean, default: undefined },\n pitchLabel: {},\n rollLabel: {},\n unit: {},\n fractionDigits: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n arcAngle: {},\n pitchArcAngle: {},\n rollArcAngle: {}\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-roll',\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":"2RA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,SAAU,CAAA,EACV,cAAe,CAAA,EACf,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,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,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
2
2
  import { ObcPitchRollHeaveType, PitchRollHeavePriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.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 { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
5
5
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  export interface Props {
@@ -27,6 +27,8 @@ export interface Props {
27
27
  fractionDigits?: number;
28
28
  vesselImageFore?: VesselImage;
29
29
  vesselImageSide?: VesselImage;
30
+ vesselImageForeSrc?: VesselImageSrc | undefined;
31
+ vesselImageSideSrc?: VesselImageSrc | undefined;
30
32
  scaleForeImage?: number;
31
33
  maxPitchAdvice?: number | undefined;
32
34
  maxRollAdvice?: number | undefined;
@@ -37,7 +39,7 @@ export interface Props {
37
39
  priorityElements?: PitchRollHeavePriorityElement[];
38
40
  }
39
41
  export type { ObcPitchRollHeaveType, PitchRollHeavePriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
40
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
42
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
41
43
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
42
44
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
43
45
  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 p,reactive as d,useSlots as m,withDirectives as h,openBlock as u,createBlock as f,h as g}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js";const y=p({__name:"ObcPitchRollHeave",props:{type:{},pitch:{},roll:{},heave:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},minTrendHeave:{},maxTrendHeave:{},heaveRange:{},pitchArcAngle:{},rollArcAngle:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},pitchLabel:{},rollLabel:{},heaveLabel:{},unit:{},heaveUnit:{},fractionDigits:{},vesselImageFore:{},vesselImageSide:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean,default:void 0},triggerRollAdvice:{type:Boolean,default:void 0},heaveAdvice:{},priority:{},priorityElements:{}},setup(n){const o=n,i=d({}),c={created(t){for(const e in o)i[e]=t[e]}};let r=!1;const s=m(),v=()=>{const e={};for(const l in o){const a=o[l];(a!==void 0||r)&&(e[l]=a??i[l])}return r=!0,g("obc-pitch-roll-heave",e,A(s))};return(t,e)=>h((u(),f(v,null,null,512)),[[c]])}});export{y as default};
1
+ import{defineComponent as d,reactive as p,useSlots as m,withDirectives as h,openBlock as g,createBlock as u,h as f}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js";const y=d({__name:"ObcPitchRollHeave",props:{type:{},pitch:{},roll:{},heave:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},minTrendHeave:{},maxTrendHeave:{},heaveRange:{},pitchArcAngle:{},rollArcAngle:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},pitchLabel:{},rollLabel:{},heaveLabel:{},unit:{},heaveUnit:{},fractionDigits:{},vesselImageFore:{},vesselImageSide:{},vesselImageForeSrc:{},vesselImageSideSrc:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean,default:void 0},triggerRollAdvice:{type:Boolean,default:void 0},heaveAdvice:{},priority:{},priorityElements:{}},setup(n){const o=n,r=p({}),c={created(t){for(const e in o)r[e]=t[e]}};let i=!1;const s=m(),v=()=>{const e={};for(const l in o){const a=o[l];(a!==void 0||i)&&(e[l]=a??r[l])}return i=!0,f("obc-pitch-roll-heave",e,A(s))};return(t,e)=>h((g(),u(v,null,null,512)),[[c]])}});export{y as default};
2
2
  //# sourceMappingURL=ObcPitchRollHeave2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPitchRollHeave2.vue.js","sources":["../../src/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.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-roll-heave/pitch-roll-heave.js';\n import {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.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} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: ObcPitchRollHeaveType;\n pitch?: number;\n roll?: number;\n heave?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n heaveRange?: number;\n pitchArcAngle?: number;\n rollArcAngle?: number;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n pitchLabel?: string;\n rollLabel?: string;\n heaveLabel?: string;\n unit?: string;\n heaveUnit?: string;\n fractionDigits?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n heaveAdvice?: LinearAdvice[];\n priority?: Priority;\n priorityElements?: PitchRollHeavePriorityElement[]\n }\n\n \n \n export type {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.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} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitchRollHeave',\n props: {\n type: {},\n pitch: {},\n roll: {},\n heave: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n heaveRange: {},\n pitchArcAngle: {},\n rollArcAngle: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n hasReadout: { type: Boolean, default: undefined },\n pitchLabel: {},\n rollLabel: {},\n heaveLabel: {},\n unit: {},\n heaveUnit: {},\n fractionDigits: {},\n vesselImageFore: {},\n vesselImageSide: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean, default: undefined },\n triggerRollAdvice: { type: Boolean, default: undefined },\n heaveAdvice: {},\n priority: {},\n priorityElements: {}\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-roll-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":"4SAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,cAAe,CAAA,EACf,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,aAAc,CAAA,EACd,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,YAAa,CAAA,EACb,SAAU,CAAA,EACV,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,uBACAF,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":"ObcPitchRollHeave2.vue.js","sources":["../../src/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.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-roll-heave/pitch-roll-heave.js';\n import {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.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} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: ObcPitchRollHeaveType;\n pitch?: number;\n roll?: number;\n heave?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n heaveRange?: number;\n pitchArcAngle?: number;\n rollArcAngle?: number;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n pitchLabel?: string;\n rollLabel?: string;\n heaveLabel?: string;\n unit?: string;\n heaveUnit?: string;\n fractionDigits?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n vesselImageForeSrc?: VesselImageSrc | undefined;\n vesselImageSideSrc?: VesselImageSrc | undefined;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n heaveAdvice?: LinearAdvice[];\n priority?: Priority;\n priorityElements?: PitchRollHeavePriorityElement[]\n }\n\n \n \n export type {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.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} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitchRollHeave',\n props: {\n type: {},\n pitch: {},\n roll: {},\n heave: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n heaveRange: {},\n pitchArcAngle: {},\n rollArcAngle: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n hasReadout: { type: Boolean, default: undefined },\n pitchLabel: {},\n rollLabel: {},\n heaveLabel: {},\n unit: {},\n heaveUnit: {},\n fractionDigits: {},\n vesselImageFore: {},\n vesselImageSide: {},\n vesselImageForeSrc: {},\n vesselImageSideSrc: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean, default: undefined },\n triggerRollAdvice: { type: Boolean, default: undefined },\n heaveAdvice: {},\n priority: {},\n priorityElements: {}\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-roll-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":"4SAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,cAAe,CAAA,EACf,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,aAAc,CAAA,EACd,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,YAAa,CAAA,EACb,SAAU,CAAA,EACV,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,uBACAF,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-yaw/pitch-roll-yaw.js';
2
2
  import { PitchRollYawType, PitchRollSample } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.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?: PitchRollYawType;
@@ -13,11 +13,12 @@ export interface Props {
13
13
  motionRadius?: number;
14
14
  motionHistory?: PitchRollSample[];
15
15
  vesselImage?: VesselImage;
16
+ vesselImageSrc?: VesselImageSrc | undefined;
16
17
  priority?: Priority;
17
18
  showLabels?: boolean;
18
19
  }
19
20
  export type { PitchRollYawType, PitchRollSample } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';
20
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
21
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
21
22
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
22
23
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
23
24
  showLabels: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as m,useSlots as d,withDirectives as f,openBlock as v,createBlock as h,h as w}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js";const b=u({__name:"ObcPitchRollYaw",props:{type:{},pitch:{},roll:{},yaw:{},minAvgYaw:{},maxAvgYaw:{},range:{},motionRadius:{},motionHistory:{},vesselImage:{},priority:{},showLabels:{type:Boolean,default:void 0}},setup(a){const e=a,n=m({}),i={created(t){for(const o in e)n[o]=t[o]}};let r=!1;const l=d(),p=()=>{const o={};for(const s in e){const c=e[s];(c!==void 0||r)&&(o[s]=c??n[s])}return r=!0,w("obc-pitch-roll-yaw",o,y(l))};return(t,o)=>f((v(),h(p,null,null,512)),[[i]])}});export{b as default};
1
+ import{defineComponent as m,reactive as u,useSlots as v,withDirectives as d,openBlock as f,createBlock as h,h as w}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js";const b=m({__name:"ObcPitchRollYaw",props:{type:{},pitch:{},roll:{},yaw:{},minAvgYaw:{},maxAvgYaw:{},range:{},motionRadius:{},motionHistory:{},vesselImage:{},vesselImageSrc:{},priority:{},showLabels:{type:Boolean,default:void 0}},setup(a){const o=a,n=u({}),i={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const l=v(),p=()=>{const e={};for(const s in o){const c=o[s];(c!==void 0||r)&&(e[s]=c??n[s])}return r=!0,w("obc-pitch-roll-yaw",e,g(l))};return(t,e)=>d((f(),h(p,null,null,512)),[[i]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcPitchRollYaw2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPitchRollYaw2.vue.js","sources":["../../src/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.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-roll-yaw/pitch-roll-yaw.js';\n import {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.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 type?: PitchRollYawType;\n pitch?: number;\n roll?: number;\n yaw?: number;\n minAvgYaw?: number;\n maxAvgYaw?: number;\n range?: number;\n motionRadius?: number;\n motionHistory?: PitchRollSample[];\n vesselImage?: VesselImage;\n priority?: Priority;\n showLabels?: boolean\n }\n\n \n \n export type {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.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: 'ObcPitchRollYaw',\n props: {\n type: {},\n pitch: {},\n roll: {},\n yaw: {},\n minAvgYaw: {},\n maxAvgYaw: {},\n range: {},\n motionRadius: {},\n motionHistory: {},\n vesselImage: {},\n priority: {},\n showLabels: { type: Boolean, default: undefined }\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-roll-yaw',\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":"wSA+BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,UAAW,CAAA,EACX,UAAW,CAAA,EACX,MAAO,CAAA,EACP,aAAc,CAAA,EACd,cAAe,CAAA,EACf,YAAa,CAAA,EACb,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAElD,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,qBACAF,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":"ObcPitchRollYaw2.vue.js","sources":["../../src/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.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-roll-yaw/pitch-roll-yaw.js';\n import {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';\nimport {VesselImage, VesselImageSrc} 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 type?: PitchRollYawType;\n pitch?: number;\n roll?: number;\n yaw?: number;\n minAvgYaw?: number;\n maxAvgYaw?: number;\n range?: number;\n motionRadius?: number;\n motionHistory?: PitchRollSample[];\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n priority?: Priority;\n showLabels?: boolean\n }\n\n \n \n export type {PitchRollYawType, PitchRollSample} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.js';\nexport type {VesselImage, VesselImageSrc} 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: 'ObcPitchRollYaw',\n props: {\n type: {},\n pitch: {},\n roll: {},\n yaw: {},\n minAvgYaw: {},\n maxAvgYaw: {},\n range: {},\n motionRadius: {},\n motionHistory: {},\n vesselImage: {},\n vesselImageSrc: {},\n priority: {},\n showLabels: { type: Boolean, default: undefined }\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-roll-yaw',\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":"wSAgCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,UAAW,CAAA,EACX,UAAW,CAAA,EACX,MAAO,CAAA,EACP,aAAc,CAAA,EACd,cAAe,CAAA,EACf,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAElD,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,qBACAF,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/roll/roll.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 { ObcRollType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.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
  minAvgRoll?: number;
8
8
  maxAvgRoll?: number;
9
9
  vesselImageFore?: VesselImage;
10
+ vesselImageForeSrc?: VesselImageSrc | undefined;
10
11
  scaleForeImage?: number;
11
12
  maxRollAdvice?: number | undefined;
12
13
  triggerRollAdvice?: boolean;
@@ -19,7 +20,7 @@ export interface Props {
19
20
  priority?: Priority;
20
21
  arcAngle?: number;
21
22
  }
22
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
23
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
23
24
  export type { ObcRollType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
24
25
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
25
26
  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 g,h as R}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js";const B=d({__name:"ObcRoll",props:{roll:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},scaleForeImage:{},maxRollAdvice:{},triggerRollAdvice:{type:Boolean,default:void 0},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},priority:{},arcAngle:{}},setup(a){const o=a,r=u({}),c={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=v(),p=()=>{const e={};for(const l in o){const s=o[l];(s!==void 0||n)&&(e[l]=s??r[l])}return n=!0,R("obc-roll",e,A(i))};return(t,e)=>f((m(),g(p,null,null,512)),[[c]])}});export{B as default};
1
+ import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as g,h as R}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js";const B=d({__name:"ObcRoll",props:{roll:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},vesselImageForeSrc:{},scaleForeImage:{},maxRollAdvice:{},triggerRollAdvice:{type:Boolean,default:void 0},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},priority:{},arcAngle:{}},setup(a){const o=a,r=u({}),c={created(t){for(const e in o)r[e]=t[e]}};let s=!1;const i=v(),p=()=>{const e={};for(const l in o){const n=o[l];(n!==void 0||s)&&(e[l]=n??r[l])}return s=!0,R("obc-roll",e,A(i))};return(t,e)=>f((m(),g(p,null,null,512)),[[c]])}});export{B as default};
2
2
  //# sourceMappingURL=ObcRoll2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRoll2.vue.js","sources":["../../src/navigation-instruments/roll/ObcRoll.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/roll/roll.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n roll?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n scaleForeImage?: number;\n maxRollAdvice?: number | undefined;\n triggerRollAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcRollType;\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 {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRoll',\n props: {\n roll: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n scaleForeImage: {},\n maxRollAdvice: {},\n triggerRollAdvice: { 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-roll',\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":"oRAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,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,WACAF,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":"ObcRoll2.vue.js","sources":["../../src/navigation-instruments/roll/ObcRoll.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/roll/roll.js';\n import {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n roll?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n vesselImageForeSrc?: VesselImageSrc | undefined;\n scaleForeImage?: number;\n maxRollAdvice?: number | undefined;\n triggerRollAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcRollType;\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 {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRoll',\n props: {\n roll: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n vesselImageForeSrc: {},\n scaleForeImage: {},\n maxRollAdvice: {},\n triggerRollAdvice: { 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-roll',\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":"oRAmCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,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,WACAF,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/speed-directions/speed-directions.js';
2
2
  import { SpeedDirectionsType, SpeedDirectionsFrameStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.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
  export interface Props {
5
5
  type?: SpeedDirectionsType;
6
6
  frameStyle?: SpeedDirectionsFrameStyle;
@@ -14,9 +14,10 @@ export interface Props {
14
14
  athwartMaxSpeedKnots?: number;
15
15
  tintedArrows?: boolean;
16
16
  vesselImage?: VesselImage;
17
+ vesselImageSrc?: VesselImageSrc | undefined;
17
18
  }
18
19
  export type { SpeedDirectionsType, SpeedDirectionsFrameStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.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
  tintedArrows: boolean;
22
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as i,reactive as f,useSlots as u,withDirectives as S,openBlock as m,createBlock as v,h}from"vue";import{assignSlotNodes as w}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js";const A=i({__name:"ObcSpeedDirections",props:{type:{},frameStyle:{},speedAlongKnots:{},speedAthwartBowKnots:{},speedAthwartSternKnots:{},speedAthwartKnots:{},alongSpeedStepKnots:{},athwartSpeedStepKnots:{},alongMaxSpeedKnots:{},athwartMaxSpeedKnots:{},tintedArrows:{type:Boolean,default:void 0},vesselImage:{}},setup(a){const t=a,n=f({}),c={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const d=u(),l=()=>{const e={};for(const s in t){const p=t[s];(p!==void 0||r)&&(e[s]=p??n[s])}return r=!0,h("obc-speed-directions",e,w(d))};return(o,e)=>S((m(),v(l,null,null,512)),[[c]])}});export{A as default};
1
+ import{defineComponent as i,reactive as f,useSlots as u,withDirectives as S,openBlock as m,createBlock as v,h}from"vue";import{assignSlotNodes as w}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js";const A=i({__name:"ObcSpeedDirections",props:{type:{},frameStyle:{},speedAlongKnots:{},speedAthwartBowKnots:{},speedAthwartSternKnots:{},speedAthwartKnots:{},alongSpeedStepKnots:{},athwartSpeedStepKnots:{},alongMaxSpeedKnots:{},athwartMaxSpeedKnots:{},tintedArrows:{type:Boolean,default:void 0},vesselImage:{},vesselImageSrc:{}},setup(a){const t=a,n=f({}),c={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const d=u(),l=()=>{const e={};for(const s in t){const p=t[s];(p!==void 0||r)&&(e[s]=p??n[s])}return r=!0,h("obc-speed-directions",e,w(d))};return(o,e)=>S((m(),v(l,null,null,512)),[[c]])}});export{A as default};
2
2
  //# sourceMappingURL=ObcSpeedDirections2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcSpeedDirections2.vue.js","sources":["../../src/navigation-instruments/speed-directions/ObcSpeedDirections.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/speed-directions/speed-directions.js';\n import {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: SpeedDirectionsType;\n frameStyle?: SpeedDirectionsFrameStyle;\n speedAlongKnots?: number | undefined;\n speedAthwartBowKnots?: number | undefined;\n speedAthwartSternKnots?: number | undefined;\n speedAthwartKnots?: number | undefined;\n alongSpeedStepKnots?: number;\n athwartSpeedStepKnots?: number;\n alongMaxSpeedKnots?: number;\n athwartMaxSpeedKnots?: number;\n tintedArrows?: boolean;\n vesselImage?: VesselImage\n }\n\n \n \n export type {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSpeedDirections',\n props: {\n type: {},\n frameStyle: {},\n speedAlongKnots: {},\n speedAthwartBowKnots: {},\n speedAthwartSternKnots: {},\n speedAthwartKnots: {},\n alongSpeedStepKnots: {},\n athwartSpeedStepKnots: {},\n alongMaxSpeedKnots: {},\n athwartMaxSpeedKnots: {},\n tintedArrows: { type: Boolean, default: undefined },\n vesselImage: {}\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-speed-directions',\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":"uSA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,qBAAsB,CAAA,EACtB,uBAAwB,CAAA,EACxB,kBAAmB,CAAA,EACnB,oBAAqB,CAAA,EACrB,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,qBAAsB,CAAA,EACtB,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,YAAa,CAAA,CAAC,EAEhB,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,uBACAI,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":"ObcSpeedDirections2.vue.js","sources":["../../src/navigation-instruments/speed-directions/ObcSpeedDirections.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/speed-directions/speed-directions.js';\n import {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: SpeedDirectionsType;\n frameStyle?: SpeedDirectionsFrameStyle;\n speedAlongKnots?: number | undefined;\n speedAthwartBowKnots?: number | undefined;\n speedAthwartSternKnots?: number | undefined;\n speedAthwartKnots?: number | undefined;\n alongSpeedStepKnots?: number;\n athwartSpeedStepKnots?: number;\n alongMaxSpeedKnots?: number;\n athwartMaxSpeedKnots?: number;\n tintedArrows?: boolean;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined\n }\n\n \n \n export type {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSpeedDirections',\n props: {\n type: {},\n frameStyle: {},\n speedAlongKnots: {},\n speedAthwartBowKnots: {},\n speedAthwartSternKnots: {},\n speedAthwartKnots: {},\n alongSpeedStepKnots: {},\n athwartSpeedStepKnots: {},\n alongMaxSpeedKnots: {},\n athwartMaxSpeedKnots: {},\n tintedArrows: { type: Boolean, default: undefined },\n vesselImage: {},\n vesselImageSrc: {}\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-speed-directions',\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":"uSA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,qBAAsB,CAAA,EACtB,uBAAwB,CAAA,EACxB,kBAAmB,CAAA,EACnB,oBAAqB,CAAA,EACrB,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,qBAAsB,CAAA,EACtB,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,YAAa,CAAA,EACb,eAAgB,CAAA,CAAC,EAEnB,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,uBACAI,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,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
2
2
  import { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.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
  export interface Props {
5
5
  dataPoints?: VelocityProjectionDatapoint[];
6
6
  currentWindFromDirection?: number | null;
@@ -8,8 +8,9 @@ export interface Props {
8
8
  currentFromDirection?: number | null;
9
9
  currentSpeedKnots?: number | null;
10
10
  vesselImage?: VesselImage;
11
+ vesselImageSrc?: VesselImageSrc | undefined;
11
12
  }
12
13
  export type { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
13
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
14
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
14
15
  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>;
15
16
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as P,h as _}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js";const g=u({__name:"ObcVelocityProjectionPlot",props:{dataPoints:{},currentWindFromDirection:{},currentWindSpeedKnots:{},currentFromDirection:{},currentSpeedKnots:{},vesselImage:{}},setup(i){const t=i,r=d({}),p={created(o){for(const e in t)r[e]=o[e]}};let s=!1;const l=f(),a=()=>{const e={};for(const n in t){const c=t[n];(c!==void 0||s)&&(e[n]=c??r[n])}return s=!0,_("obc-velocity-projection-plot",e,h(l))};return(o,e)=>m((v(),P(a,null,null,512)),[[p]])}});export{g as default};
1
+ import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as v,createBlock as P,h as _}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js";const b=u({__name:"ObcVelocityProjectionPlot",props:{dataPoints:{},currentWindFromDirection:{},currentWindSpeedKnots:{},currentFromDirection:{},currentSpeedKnots:{},vesselImage:{},vesselImageSrc:{}},setup(i){const t=i,r=d({}),l={created(o){for(const e in t)r[e]=o[e]}};let s=!1;const p=m(),a=()=>{const e={};for(const n in t){const c=t[n];(c!==void 0||s)&&(e[n]=c??r[n])}return s=!0,_("obc-velocity-projection-plot",e,S(p))};return(o,e)=>f((v(),P(a,null,null,512)),[[l]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcVelocityProjectionPlot2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcVelocityProjectionPlot2.vue.js","sources":["../../src/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.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/velocity-projection-plot/velocity-projection-plot.js';\n import {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n dataPoints?: VelocityProjectionDatapoint[];\n currentWindFromDirection?: number | null;\n currentWindSpeedKnots?: number | null;\n currentFromDirection?: number | null;\n currentSpeedKnots?: number | null;\n vesselImage?: VesselImage\n }\n\n \n \n export type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcVelocityProjectionPlot',\n props: {\n dataPoints: {},\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n currentFromDirection: {},\n currentSpeedKnots: {},\n vesselImage: {}\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-velocity-projection-plot',\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":"4TAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,WAAY,CAAA,EACZ,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,YAAa,CAAA,CAAC,EAEhB,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,+BACAF,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":"ObcVelocityProjectionPlot2.vue.js","sources":["../../src/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.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/velocity-projection-plot/velocity-projection-plot.js';\n import {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n dataPoints?: VelocityProjectionDatapoint[];\n currentWindFromDirection?: number | null;\n currentWindSpeedKnots?: number | null;\n currentFromDirection?: number | null;\n currentSpeedKnots?: number | null;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined\n }\n\n \n \n export type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcVelocityProjectionPlot',\n props: {\n dataPoints: {},\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n currentFromDirection: {},\n currentSpeedKnots: {},\n vesselImage: {},\n vesselImageSrc: {}\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-velocity-projection-plot',\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":"4TAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,WAAY,CAAA,EACZ,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,eAAgB,CAAA,CAAC,EAEnB,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,+BACAF,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,12 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
2
2
  import { WindHistogramData, WindVariant, WindVisualization } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.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
  currentWindFromDirection?: number;
7
7
  currentWindSpeedKnots?: number;
8
8
  windHistogramData?: WindHistogramData[];
9
9
  vesselImage?: VesselImage;
10
+ vesselImageSrc?: VesselImageSrc | undefined;
10
11
  vesselHeadingDeg?: number;
11
12
  variant?: WindVariant;
12
13
  smallVariantMaxPx?: number;
@@ -15,7 +16,7 @@ export interface Props {
15
16
  priority?: Priority;
16
17
  }
17
18
  export type { WindHistogramData, WindVariant, WindVisualization } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
18
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
19
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
19
20
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
20
21
  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>;
21
22
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as v,openBlock as f,createBlock as x,h as _}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js";const w=d({__name:"ObcWind",props:{currentWindFromDirection:{},currentWindSpeedKnots:{},windHistogramData:{},vesselImage:{},vesselHeadingDeg:{},variant:{},smallVariantMaxPx:{},mediumVariantMaxPx:{},visualization:{},priority:{}},setup(a){const t=a,r=u({}),c={created(n){for(const e in t)r[e]=n[e]}};let s=!1;const l=m(),p=()=>{const e={};for(const o in t){const i=t[o];(i!==void 0||s)&&(e[o]=i??r[o])}return s=!0,_("obc-wind",e,g(l))};return(n,e)=>v((f(),x(p,null,null,512)),[[c]])}});export{w as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as v,openBlock as f,createBlock as g,h as x}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js";const S=d({__name:"ObcWind",props:{currentWindFromDirection:{},currentWindSpeedKnots:{},windHistogramData:{},vesselImage:{},vesselImageSrc:{},vesselHeadingDeg:{},variant:{},smallVariantMaxPx:{},mediumVariantMaxPx:{},visualization:{},priority:{}},setup(a){const t=a,s=u({}),c={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const l=m(),p=()=>{const e={};for(const o in t){const i=t[o];(i!==void 0||r)&&(e[o]=i??s[o])}return r=!0,x("obc-wind",e,_(l))};return(n,e)=>v((f(),g(p,null,null,512)),[[c]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcWind2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWind2.vue.js","sources":["../../src/navigation-instruments/wind/ObcWind.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/wind/wind.js';\n import {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.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 currentWindFromDirection?: number;\n currentWindSpeedKnots?: number;\n windHistogramData?: WindHistogramData[];\n vesselImage?: VesselImage;\n vesselHeadingDeg?: number;\n variant?: WindVariant;\n smallVariantMaxPx?: number;\n mediumVariantMaxPx?: number;\n visualization?: WindVisualization;\n priority?: Priority\n }\n\n \n \n export type {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.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: 'ObcWind',\n props: {\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n windHistogramData: {},\n vesselImage: {},\n vesselHeadingDeg: {},\n variant: {},\n smallVariantMaxPx: {},\n mediumVariantMaxPx: {},\n visualization: {},\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-wind',\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":"oRA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,kBAAmB,CAAA,EACnB,mBAAoB,CAAA,EACpB,cAAe,CAAA,EACf,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,WACAF,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":"ObcWind2.vue.js","sources":["../../src/navigation-instruments/wind/ObcWind.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/wind/wind.js';\n import {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nimport {VesselImage, VesselImageSrc} 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 currentWindFromDirection?: number;\n currentWindSpeedKnots?: number;\n windHistogramData?: WindHistogramData[];\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n vesselHeadingDeg?: number;\n variant?: WindVariant;\n smallVariantMaxPx?: number;\n mediumVariantMaxPx?: number;\n visualization?: WindVisualization;\n priority?: Priority\n }\n\n \n \n export type {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nexport type {VesselImage, VesselImageSrc} 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: 'ObcWind',\n props: {\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n windHistogramData: {},\n vesselImage: {},\n vesselImageSrc: {},\n vesselHeadingDeg: {},\n variant: {},\n smallVariantMaxPx: {},\n mediumVariantMaxPx: {},\n visualization: {},\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-wind',\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":"oRA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,kBAAmB,CAAA,EACnB,mBAAoB,CAAA,EACpB,cAAe,CAAA,EACf,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,WACAF,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"}
package/package.json CHANGED
@@ -8,9 +8,9 @@
8
8
  "build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
9
9
  "preview": "vite preview"
10
10
  },
11
- "version": "2.1.0-next.4",
11
+ "version": "2.1.0-next.5",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.1.0-next.4",
13
+ "@oicl/openbridge-webcomponents": "^2.1.0-next.5",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },