@oicl/openbridge-webcomponents-vue 2.1.0-next.3 → 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 (68) hide show
  1. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.d.ts +60 -0
  2. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.js +2 -0
  3. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.js.map +1 -0
  4. package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js +2 -0
  5. package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js.map +1 -0
  6. package/automation/analog-valve/ObcAnalogValve.vue.d.ts +2 -2
  7. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.d.ts +63 -0
  8. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.js +2 -0
  9. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.js.map +1 -0
  10. package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js +2 -0
  11. package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js.map +1 -0
  12. package/automation/digital-valve/ObcDigitalValve.vue.d.ts +2 -2
  13. package/automation/motor/ObcMotor.vue.d.ts +1 -1
  14. package/automation/pump/ObcPump.vue.d.ts +1 -1
  15. package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.vue.d.ts +10 -4
  16. package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon2.vue.js +1 -1
  17. package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon2.vue.js.map +1 -1
  18. package/components/brilliance-menu/ObcBrillianceMenu.vue.d.ts +4 -2
  19. package/components/brilliance-menu/ObcBrillianceMenu2.vue.js.map +1 -1
  20. package/navigation-instruments/compass/ObcCompass.vue.d.ts +3 -2
  21. package/navigation-instruments/compass/ObcCompass2.vue.js +1 -1
  22. package/navigation-instruments/compass/ObcCompass2.vue.js.map +1 -1
  23. package/navigation-instruments/current/ObcCurrent.vue.d.ts +3 -2
  24. package/navigation-instruments/current/ObcCurrent2.vue.js +1 -1
  25. package/navigation-instruments/current/ObcCurrent2.vue.js.map +1 -1
  26. package/navigation-instruments/depth/ObcDepth.vue.d.ts +3 -2
  27. package/navigation-instruments/depth/ObcDepth2.vue.js +1 -1
  28. package/navigation-instruments/depth/ObcDepth2.vue.js.map +1 -1
  29. package/navigation-instruments/depth/ObcDepthTopBand.vue.d.ts +3 -0
  30. package/navigation-instruments/depth/ObcDepthTopBand2.vue.js +1 -1
  31. package/navigation-instruments/depth/ObcDepthTopBand2.vue.js.map +1 -1
  32. package/navigation-instruments/depth-actual/ObcDepthActual.vue.d.ts +3 -0
  33. package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js +1 -1
  34. package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js.map +1 -1
  35. package/navigation-instruments/draft-trim/ObcDraftTrim.vue.d.ts +3 -0
  36. package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js +1 -1
  37. package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js.map +1 -1
  38. package/navigation-instruments/heading/ObcHeading.vue.d.ts +3 -2
  39. package/navigation-instruments/heading/ObcHeading2.vue.js +1 -1
  40. package/navigation-instruments/heading/ObcHeading2.vue.js.map +1 -1
  41. package/navigation-instruments/heave/ObcHeave.vue.d.ts +3 -0
  42. package/navigation-instruments/heave/ObcHeave2.vue.js +1 -1
  43. package/navigation-instruments/heave/ObcHeave2.vue.js.map +1 -1
  44. package/navigation-instruments/pitch/ObcPitch.vue.d.ts +3 -2
  45. package/navigation-instruments/pitch/ObcPitch2.vue.js +1 -1
  46. package/navigation-instruments/pitch/ObcPitch2.vue.js.map +1 -1
  47. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue.d.ts +4 -2
  48. package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js +1 -1
  49. package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js.map +1 -1
  50. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.d.ts +4 -2
  51. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js +1 -1
  52. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js.map +1 -1
  53. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.vue.d.ts +3 -2
  54. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js +1 -1
  55. package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js.map +1 -1
  56. package/navigation-instruments/roll/ObcRoll.vue.d.ts +3 -2
  57. package/navigation-instruments/roll/ObcRoll2.vue.js +1 -1
  58. package/navigation-instruments/roll/ObcRoll2.vue.js.map +1 -1
  59. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.d.ts +3 -2
  60. package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js +1 -1
  61. package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js.map +1 -1
  62. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue.d.ts +3 -2
  63. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js +1 -1
  64. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js.map +1 -1
  65. package/navigation-instruments/wind/ObcWind.vue.d.ts +3 -2
  66. package/navigation-instruments/wind/ObcWind2.vue.js +1 -1
  67. package/navigation-instruments/wind/ObcWind2.vue.js.map +1 -1
  68. package/package.json +4 -2
@@ -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"}