@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,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
2
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
2
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
3
  import { ObcRollType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  export interface Props {
@@ -7,6 +7,7 @@ export interface Props {
7
7
  minAvgRoll?: number;
8
8
  maxAvgRoll?: number;
9
9
  vesselImageFore?: VesselImage;
10
+ vesselImageForeSrc?: VesselImageSrc | undefined;
10
11
  scaleForeImage?: number;
11
12
  maxRollAdvice?: number | undefined;
12
13
  triggerRollAdvice?: boolean;
@@ -19,7 +20,7 @@ export interface Props {
19
20
  priority?: Priority;
20
21
  arcAngle?: number;
21
22
  }
22
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
23
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
23
24
  export type { ObcRollType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';
24
25
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
25
26
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as g,h as R}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js";const B=d({__name:"ObcRoll",props:{roll:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},scaleForeImage:{},maxRollAdvice:{},triggerRollAdvice:{type:Boolean,default:void 0},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},priority:{},arcAngle:{}},setup(a){const o=a,r=u({}),c={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=v(),p=()=>{const e={};for(const l in o){const s=o[l];(s!==void 0||n)&&(e[l]=s??r[l])}return n=!0,R("obc-roll",e,A(i))};return(t,e)=>f((m(),g(p,null,null,512)),[[c]])}});export{B as default};
1
+ import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as g,h as R}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js";const B=d({__name:"ObcRoll",props:{roll:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},vesselImageForeSrc:{},scaleForeImage:{},maxRollAdvice:{},triggerRollAdvice:{type:Boolean,default:void 0},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean,default:void 0},hasReadout:{type:Boolean,default:void 0},priority:{},arcAngle:{}},setup(a){const o=a,r=u({}),c={created(t){for(const e in o)r[e]=t[e]}};let s=!1;const i=v(),p=()=>{const e={};for(const l in o){const n=o[l];(n!==void 0||s)&&(e[l]=n??r[l])}return s=!0,R("obc-roll",e,A(i))};return(t,e)=>f((m(),g(p,null,null,512)),[[c]])}});export{B as default};
2
2
  //# sourceMappingURL=ObcRoll2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRoll2.vue.js","sources":["../../src/navigation-instruments/roll/ObcRoll.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n roll?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n scaleForeImage?: number;\n maxRollAdvice?: number | undefined;\n triggerRollAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcRollType;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRoll',\n props: {\n roll: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n scaleForeImage: {},\n maxRollAdvice: {},\n triggerRollAdvice: { type: Boolean, default: undefined },\n label: {},\n unit: {},\n fractionDigits: {},\n type: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n hasReadout: { type: Boolean, default: undefined },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-roll',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oRAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcRoll2.vue.js","sources":["../../src/navigation-instruments/roll/ObcRoll.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\n import {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n roll?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n vesselImageForeSrc?: VesselImageSrc | undefined;\n scaleForeImage?: number;\n maxRollAdvice?: number | undefined;\n triggerRollAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcRollType;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRoll',\n props: {\n roll: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n vesselImageForeSrc: {},\n scaleForeImage: {},\n maxRollAdvice: {},\n triggerRollAdvice: { type: Boolean, default: undefined },\n label: {},\n unit: {},\n fractionDigits: {},\n type: {},\n zoomToFitArc: { type: Boolean, default: undefined },\n hasReadout: { type: Boolean, default: undefined },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-roll',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oRAmCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js';
2
2
  import { SpeedDirectionsType, SpeedDirectionsFrameStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';
3
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  export interface Props {
5
5
  type?: SpeedDirectionsType;
6
6
  frameStyle?: SpeedDirectionsFrameStyle;
@@ -14,9 +14,10 @@ export interface Props {
14
14
  athwartMaxSpeedKnots?: number;
15
15
  tintedArrows?: boolean;
16
16
  vesselImage?: VesselImage;
17
+ vesselImageSrc?: VesselImageSrc | undefined;
17
18
  }
18
19
  export type { SpeedDirectionsType, SpeedDirectionsFrameStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';
19
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
20
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
20
21
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
21
22
  tintedArrows: boolean;
22
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as i,reactive as f,useSlots as u,withDirectives as S,openBlock as m,createBlock as v,h}from"vue";import{assignSlotNodes as w}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js";const A=i({__name:"ObcSpeedDirections",props:{type:{},frameStyle:{},speedAlongKnots:{},speedAthwartBowKnots:{},speedAthwartSternKnots:{},speedAthwartKnots:{},alongSpeedStepKnots:{},athwartSpeedStepKnots:{},alongMaxSpeedKnots:{},athwartMaxSpeedKnots:{},tintedArrows:{type:Boolean,default:void 0},vesselImage:{}},setup(a){const t=a,n=f({}),c={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const d=u(),l=()=>{const e={};for(const s in t){const p=t[s];(p!==void 0||r)&&(e[s]=p??n[s])}return r=!0,h("obc-speed-directions",e,w(d))};return(o,e)=>S((m(),v(l,null,null,512)),[[c]])}});export{A as default};
1
+ import{defineComponent as i,reactive as f,useSlots as u,withDirectives as S,openBlock as m,createBlock as v,h}from"vue";import{assignSlotNodes as w}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js";const A=i({__name:"ObcSpeedDirections",props:{type:{},frameStyle:{},speedAlongKnots:{},speedAthwartBowKnots:{},speedAthwartSternKnots:{},speedAthwartKnots:{},alongSpeedStepKnots:{},athwartSpeedStepKnots:{},alongMaxSpeedKnots:{},athwartMaxSpeedKnots:{},tintedArrows:{type:Boolean,default:void 0},vesselImage:{},vesselImageSrc:{}},setup(a){const t=a,n=f({}),c={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const d=u(),l=()=>{const e={};for(const s in t){const p=t[s];(p!==void 0||r)&&(e[s]=p??n[s])}return r=!0,h("obc-speed-directions",e,w(d))};return(o,e)=>S((m(),v(l,null,null,512)),[[c]])}});export{A as default};
2
2
  //# sourceMappingURL=ObcSpeedDirections2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcSpeedDirections2.vue.js","sources":["../../src/navigation-instruments/speed-directions/ObcSpeedDirections.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js';\n import {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: SpeedDirectionsType;\n frameStyle?: SpeedDirectionsFrameStyle;\n speedAlongKnots?: number | undefined;\n speedAthwartBowKnots?: number | undefined;\n speedAthwartSternKnots?: number | undefined;\n speedAthwartKnots?: number | undefined;\n alongSpeedStepKnots?: number;\n athwartSpeedStepKnots?: number;\n alongMaxSpeedKnots?: number;\n athwartMaxSpeedKnots?: number;\n tintedArrows?: boolean;\n vesselImage?: VesselImage\n }\n\n \n \n export type {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSpeedDirections',\n props: {\n type: {},\n frameStyle: {},\n speedAlongKnots: {},\n speedAthwartBowKnots: {},\n speedAthwartSternKnots: {},\n speedAthwartKnots: {},\n alongSpeedStepKnots: {},\n athwartSpeedStepKnots: {},\n alongMaxSpeedKnots: {},\n athwartMaxSpeedKnots: {},\n tintedArrows: { type: Boolean, default: undefined },\n vesselImage: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-speed-directions',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uSA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,qBAAsB,CAAA,EACtB,uBAAwB,CAAA,EACxB,kBAAmB,CAAA,EACnB,oBAAqB,CAAA,EACrB,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,qBAAsB,CAAA,EACtB,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,YAAa,CAAA,CAAC,EAEhB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,uBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcSpeedDirections2.vue.js","sources":["../../src/navigation-instruments/speed-directions/ObcSpeedDirections.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js';\n import {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: SpeedDirectionsType;\n frameStyle?: SpeedDirectionsFrameStyle;\n speedAlongKnots?: number | undefined;\n speedAthwartBowKnots?: number | undefined;\n speedAthwartSternKnots?: number | undefined;\n speedAthwartKnots?: number | undefined;\n alongSpeedStepKnots?: number;\n athwartSpeedStepKnots?: number;\n alongMaxSpeedKnots?: number;\n athwartMaxSpeedKnots?: number;\n tintedArrows?: boolean;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined\n }\n\n \n \n export type {SpeedDirectionsType, SpeedDirectionsFrameStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions-geometry.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSpeedDirections',\n props: {\n type: {},\n frameStyle: {},\n speedAlongKnots: {},\n speedAthwartBowKnots: {},\n speedAthwartSternKnots: {},\n speedAthwartKnots: {},\n alongSpeedStepKnots: {},\n athwartSpeedStepKnots: {},\n alongMaxSpeedKnots: {},\n athwartMaxSpeedKnots: {},\n tintedArrows: { type: Boolean, default: undefined },\n vesselImage: {},\n vesselImageSrc: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-speed-directions',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uSA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,qBAAsB,CAAA,EACtB,uBAAwB,CAAA,EACxB,kBAAmB,CAAA,EACnB,oBAAqB,CAAA,EACrB,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,qBAAsB,CAAA,EACtB,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,YAAa,CAAA,EACb,eAAgB,CAAA,CAAC,EAEnB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,uBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
2
2
  import { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
3
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  export interface Props {
5
5
  dataPoints?: VelocityProjectionDatapoint[];
6
6
  currentWindFromDirection?: number | null;
@@ -8,8 +8,9 @@ export interface Props {
8
8
  currentFromDirection?: number | null;
9
9
  currentSpeedKnots?: number | null;
10
10
  vesselImage?: VesselImage;
11
+ vesselImageSrc?: VesselImageSrc | undefined;
11
12
  }
12
13
  export type { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
13
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
14
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
14
15
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
16
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as P,h as _}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js";const g=u({__name:"ObcVelocityProjectionPlot",props:{dataPoints:{},currentWindFromDirection:{},currentWindSpeedKnots:{},currentFromDirection:{},currentSpeedKnots:{},vesselImage:{}},setup(i){const t=i,r=d({}),p={created(o){for(const e in t)r[e]=o[e]}};let s=!1;const l=f(),a=()=>{const e={};for(const n in t){const c=t[n];(c!==void 0||s)&&(e[n]=c??r[n])}return s=!0,_("obc-velocity-projection-plot",e,h(l))};return(o,e)=>m((v(),P(a,null,null,512)),[[p]])}});export{g as default};
1
+ import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as v,createBlock as P,h as _}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js";const b=u({__name:"ObcVelocityProjectionPlot",props:{dataPoints:{},currentWindFromDirection:{},currentWindSpeedKnots:{},currentFromDirection:{},currentSpeedKnots:{},vesselImage:{},vesselImageSrc:{}},setup(i){const t=i,r=d({}),l={created(o){for(const e in t)r[e]=o[e]}};let s=!1;const p=m(),a=()=>{const e={};for(const n in t){const c=t[n];(c!==void 0||s)&&(e[n]=c??r[n])}return s=!0,_("obc-velocity-projection-plot",e,S(p))};return(o,e)=>f((v(),P(a,null,null,512)),[[l]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcVelocityProjectionPlot2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcVelocityProjectionPlot2.vue.js","sources":["../../src/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\n import {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n dataPoints?: VelocityProjectionDatapoint[];\n currentWindFromDirection?: number | null;\n currentWindSpeedKnots?: number | null;\n currentFromDirection?: number | null;\n currentSpeedKnots?: number | null;\n vesselImage?: VesselImage\n }\n\n \n \n export type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcVelocityProjectionPlot',\n props: {\n dataPoints: {},\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n currentFromDirection: {},\n currentSpeedKnots: {},\n vesselImage: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-velocity-projection-plot',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4TAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,WAAY,CAAA,EACZ,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,YAAa,CAAA,CAAC,EAEhB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,+BACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcVelocityProjectionPlot2.vue.js","sources":["../../src/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\n import {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n dataPoints?: VelocityProjectionDatapoint[];\n currentWindFromDirection?: number | null;\n currentWindSpeedKnots?: number | null;\n currentFromDirection?: number | null;\n currentSpeedKnots?: number | null;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined\n }\n\n \n \n export type {VelocityProjectionDatapoint} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcVelocityProjectionPlot',\n props: {\n dataPoints: {},\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n currentFromDirection: {},\n currentSpeedKnots: {},\n vesselImage: {},\n vesselImageSrc: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-velocity-projection-plot',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4TAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,WAAY,CAAA,EACZ,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,eAAgB,CAAA,CAAC,EAEnB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,+BACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,12 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
2
2
  import { WindHistogramData, WindVariant, WindVisualization } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
3
- import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
3
+ import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  export interface Props {
6
6
  currentWindFromDirection?: number;
7
7
  currentWindSpeedKnots?: number;
8
8
  windHistogramData?: WindHistogramData[];
9
9
  vesselImage?: VesselImage;
10
+ vesselImageSrc?: VesselImageSrc | undefined;
10
11
  vesselHeadingDeg?: number;
11
12
  variant?: WindVariant;
12
13
  smallVariantMaxPx?: number;
@@ -15,7 +16,7 @@ export interface Props {
15
16
  priority?: Priority;
16
17
  }
17
18
  export type { WindHistogramData, WindVariant, WindVisualization } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';
18
- export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
19
+ export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
19
20
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
20
21
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
22
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as v,openBlock as f,createBlock as x,h as _}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js";const w=d({__name:"ObcWind",props:{currentWindFromDirection:{},currentWindSpeedKnots:{},windHistogramData:{},vesselImage:{},vesselHeadingDeg:{},variant:{},smallVariantMaxPx:{},mediumVariantMaxPx:{},visualization:{},priority:{}},setup(a){const t=a,r=u({}),c={created(n){for(const e in t)r[e]=n[e]}};let s=!1;const l=m(),p=()=>{const e={};for(const o in t){const i=t[o];(i!==void 0||s)&&(e[o]=i??r[o])}return s=!0,_("obc-wind",e,g(l))};return(n,e)=>v((f(),x(p,null,null,512)),[[c]])}});export{w as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as v,openBlock as f,createBlock as g,h as x}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js";const S=d({__name:"ObcWind",props:{currentWindFromDirection:{},currentWindSpeedKnots:{},windHistogramData:{},vesselImage:{},vesselImageSrc:{},vesselHeadingDeg:{},variant:{},smallVariantMaxPx:{},mediumVariantMaxPx:{},visualization:{},priority:{}},setup(a){const t=a,s=u({}),c={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const l=m(),p=()=>{const e={};for(const o in t){const i=t[o];(i!==void 0||r)&&(e[o]=i??s[o])}return r=!0,x("obc-wind",e,_(l))};return(n,e)=>v((f(),g(p,null,null,512)),[[c]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcWind2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWind2.vue.js","sources":["../../src/navigation-instruments/wind/ObcWind.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\n import {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n currentWindFromDirection?: number;\n currentWindSpeedKnots?: number;\n windHistogramData?: WindHistogramData[];\n vesselImage?: VesselImage;\n vesselHeadingDeg?: number;\n variant?: WindVariant;\n smallVariantMaxPx?: number;\n mediumVariantMaxPx?: number;\n visualization?: WindVisualization;\n priority?: Priority\n }\n\n \n \n export type {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWind',\n props: {\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n windHistogramData: {},\n vesselImage: {},\n vesselHeadingDeg: {},\n variant: {},\n smallVariantMaxPx: {},\n mediumVariantMaxPx: {},\n visualization: {},\n priority: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-wind',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oRA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,kBAAmB,CAAA,EACnB,mBAAoB,CAAA,EACpB,cAAe,CAAA,EACf,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcWind2.vue.js","sources":["../../src/navigation-instruments/wind/ObcWind.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\n import {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n currentWindFromDirection?: number;\n currentWindSpeedKnots?: number;\n windHistogramData?: WindHistogramData[];\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n vesselHeadingDeg?: number;\n variant?: WindVariant;\n smallVariantMaxPx?: number;\n mediumVariantMaxPx?: number;\n visualization?: WindVisualization;\n priority?: Priority\n }\n\n \n \n export type {WindHistogramData, WindVariant, WindVisualization} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWind',\n props: {\n currentWindFromDirection: {},\n currentWindSpeedKnots: {},\n windHistogramData: {},\n vesselImage: {},\n vesselImageSrc: {},\n vesselHeadingDeg: {},\n variant: {},\n smallVariantMaxPx: {},\n mediumVariantMaxPx: {},\n visualization: {},\n priority: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-wind',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oRA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,yBAA0B,CAAA,EAC1B,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,kBAAmB,CAAA,EACnB,mBAAoB,CAAA,EACpB,cAAe,CAAA,EACf,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
package/package.json CHANGED
@@ -8,9 +8,9 @@
8
8
  "build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
9
9
  "preview": "vite preview"
10
10
  },
11
- "version": "2.1.0-next.3",
11
+ "version": "2.1.0-next.5",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.1.0-next.3",
13
+ "@oicl/openbridge-webcomponents": "^2.1.0-next.5",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },
@@ -49,6 +49,7 @@
49
49
  "ar/poi-object/ObcPoiObjectData*",
50
50
  "ar/poi-object/ObcPoiObjectVessel*",
51
51
  "ar/poi-object/ObcPoiObject*",
52
+ "automation/analog-threeway-valve/ObcAnalogThreewayValve*",
52
53
  "automation/analog-valve/ObcAnalogValve*",
53
54
  "automation/automation-badge/ObcAutomationBadge*",
54
55
  "automation/automation-button/ObcAbstractAutomationButtonMotorized*",
@@ -64,6 +65,7 @@
64
65
  "automation/converter/ObcConverter*",
65
66
  "automation/corner-line/ObcCornerLine*",
66
67
  "automation/damper/ObcDamper*",
68
+ "automation/digital-threeway-valve/ObcDigitalThreewayValve*",
67
69
  "automation/digital-valve/ObcDigitalValve*",
68
70
  "automation/diodes/ObcDiodes*",
69
71
  "automation/direction-line/ObcDirectionLine*",