@oicl/openbridge-webcomponents-vue 2.0.0-next.45 → 2.0.0-next.47

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 (22) hide show
  1. package/navigation-instruments/compass/ObcCompass.vue.d.ts +1 -1
  2. package/navigation-instruments/compass/ObcCompass.vue2.js +1 -1
  3. package/navigation-instruments/compass/ObcCompass.vue2.js.map +1 -1
  4. package/navigation-instruments/compass-indicator/ObcCompassIndicator.vue.d.ts +1 -0
  5. package/navigation-instruments/compass-indicator/ObcCompassIndicator.vue2.js +1 -1
  6. package/navigation-instruments/compass-indicator/ObcCompassIndicator.vue2.js.map +1 -1
  7. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue.d.ts +4 -4
  8. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue2.js +1 -1
  9. package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue2.js.map +1 -1
  10. package/navigation-instruments/watch/ObcWatch.vue.d.ts +1 -1
  11. package/navigation-instruments/watch/ObcWatch.vue2.js +1 -1
  12. package/navigation-instruments/watch/ObcWatch.vue2.js.map +1 -1
  13. package/navigation-instruments/wind/ObcWind.vue.d.ts +1 -1
  14. package/navigation-instruments/wind/ObcWind.vue2.js +1 -1
  15. package/navigation-instruments/wind/ObcWind.vue2.js.map +1 -1
  16. package/navigation-instruments/wind-indicator/ObcWindIndicator.vue.d.ts +2 -1
  17. package/navigation-instruments/wind-indicator/ObcWindIndicator.vue2.js +1 -1
  18. package/navigation-instruments/wind-indicator/ObcWindIndicator.vue2.js.map +1 -1
  19. package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue.d.ts +1 -1
  20. package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue2.js +1 -1
  21. package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue2.js.map +1 -1
  22. package/package.json +2 -2
@@ -16,7 +16,7 @@ export interface Props {
16
16
  animateSetpoint?: boolean;
17
17
  touching?: boolean;
18
18
  headingAdvices?: AngleAdvice[];
19
- windSpeed?: number | null;
19
+ currentWindSpeedKnots?: number | null;
20
20
  windFromDirection?: number | null;
21
21
  currentSpeed?: number | null;
22
22
  currentFromDirection?: number | null;
@@ -1,2 +1,2 @@
1
- import{defineComponent as l,reactive as u,useSlots as m,withDirectives as g,openBlock as S,createBlock as f,h as v}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const b=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},windSpeed:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean}},setup(s){const t=s,r=u({}),p={created(o){for(const e in t)r[e]=o[e]}};let i=!1;const c=m(),d=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||i)&&(e[n]=a??r[n])}return i=!0,v("obc-compass",e,h(c))};return(o,e)=>g((S(),f(d,null,null,512)),[[p]])}});export{b as default};
1
+ import{defineComponent as l,reactive as u,useSlots as m,withDirectives as g,openBlock as S,createBlock as f,h as v}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const b=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},currentWindSpeedKnots:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean}},setup(s){const t=s,r=u({}),p={created(o){for(const e in t)r[e]=o[e]}};let i=!1;const c=m(),d=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||i)&&(e[n]=a??r[n])}return i=!0,v("obc-compass",e,h(c))};return(o,e)=>g((S(),f(d,null,null,512)),[[p]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcCompass.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcCompass.vue2.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n windSpeed?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean },\n autoAtHeadingSetpoint: { type: Boolean },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n headingAdvices: {},\n windSpeed: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAqDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,OAAA,EAC3B,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,OAAA,EACjC,sBAAuB,CAAE,KAAM,OAAA,EAC/B,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,YAAa,CAAA,EACb,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,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":"ObcCompass.vue2.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n currentWindSpeedKnots?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean },\n autoAtHeadingSetpoint: { type: Boolean },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n headingAdvices: {},\n currentWindSpeedKnots: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAqDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,OAAA,EAC3B,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,OAAA,EACjC,sBAAuB,CAAE,KAAM,OAAA,EAC/B,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,YAAa,CAAA,EACb,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,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"}
@@ -4,6 +4,7 @@ export interface Props {
4
4
  angle?: number;
5
5
  type?: CompassIndicatorType;
6
6
  direction?: CompassIndicatorDirection;
7
+ northUp?: boolean;
7
8
  }
8
9
  export type { CompassIndicatorType, CompassIndicatorDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';
9
10
  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 d,reactive as u,useSlots as f,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js";const x=d({__name:"ObcCompassIndicator",props:{angle:{},type:{},direction:{}},setup(i){const o=i,n=u({}),p={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const a=f(),l=()=>{const e={};for(const s in o){const c=o[s];(c!==void 0||r)&&(e[s]=c??n[s])}return r=!0,h("obc-compass-indicator",e,P(a))};return(t,e)=>m((v(),_(l,null,null,512)),[[p]])}});export{x as default};
1
+ import{defineComponent as d,reactive as u,useSlots as f,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js";const k=d({__name:"ObcCompassIndicator",props:{angle:{},type:{},direction:{},northUp:{type:Boolean}},setup(p){const e=p,s=u({}),a={created(t){for(const o in e)s[o]=t[o]}};let r=!1;const i=f(),l=()=>{const o={};for(const n in e){const c=e[n];(c!==void 0||r)&&(o[n]=c??s[n])}return r=!0,h("obc-compass-indicator",o,B(i))};return(t,o)=>m((v(),_(l,null,null,512)),[[a]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcCompassIndicator.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcCompassIndicator.vue2.js","sources":["../../src/navigation-instruments/compass-indicator/ObcCompassIndicator.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';\n import {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';\n\n export interface Props {\n angle?: number;\n type?: CompassIndicatorType;\n direction?: CompassIndicatorDirection\n }\n\n \n \n export type {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassIndicator',\n props: {\n angle: {},\n type: {},\n direction: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass-indicator',\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":"ySAkBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,UAAW,CAAA,CAAC,EAEd,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,wBACAI,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":"ObcCompassIndicator.vue2.js","sources":["../../src/navigation-instruments/compass-indicator/ObcCompassIndicator.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';\n import {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';\n\n export interface Props {\n angle?: number;\n type?: CompassIndicatorType;\n direction?: CompassIndicatorDirection;\n northUp?: boolean\n }\n\n \n \n export type {CompassIndicatorType, CompassIndicatorDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-indicator/compass-indicator.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassIndicator',\n props: {\n angle: {},\n type: {},\n direction: {},\n northUp: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass-indicator',\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":"ySAmBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,UAAW,CAAA,EACX,QAAS,CAAE,KAAM,OAAA,CAAQ,EAE3B,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,wBACAI,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"}
@@ -3,10 +3,10 @@ import { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  export interface Props {
5
5
  dataPoints?: VelocityProjectionDatapoint[];
6
- instantWindDirectionDeg?: number | null;
7
- instantWindSpeedNumber?: number | null;
8
- instantCurrentDirectionDeg?: number | null;
9
- instantCurrentSpeedNumber?: number | null;
6
+ currentWindFromDirection?: number | null;
7
+ currentWindSpeedKnots?: number | null;
8
+ currentFromDirection?: number | null;
9
+ currentSpeedKnots?: number | null;
10
10
  vesselImage?: VesselImage;
11
11
  }
12
12
  export type { VelocityProjectionDatapoint } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js';
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as D,h as P}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/velocity-projection-plot/velocity-projection-plot.js";const S=u({__name:"ObcVelocityProjectionPlot",props:{dataPoints:{},instantWindDirectionDeg:{},instantWindSpeedNumber:{},instantCurrentDirectionDeg:{},instantCurrentSpeedNumber:{},vesselImage:{}},setup(i){const t=i,s=d({}),a={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const p=f(),l=()=>{const e={};for(const o in t){const c=t[o];(c!==void 0||r)&&(e[o]=c??s[o])}return r=!0,P("obc-velocity-projection-plot",e,_(p))};return(n,e)=>m((v(),D(l,null,null,512)),[[a]])}});export{S as default};
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};
2
2
  //# sourceMappingURL=ObcVelocityProjectionPlot.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcVelocityProjectionPlot.vue2.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 instantWindDirectionDeg?: number | null;\n instantWindSpeedNumber?: number | null;\n instantCurrentDirectionDeg?: number | null;\n instantCurrentSpeedNumber?: 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 instantWindDirectionDeg: {},\n instantWindSpeedNumber: {},\n instantCurrentDirectionDeg: {},\n instantCurrentSpeedNumber: {},\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,wBAAyB,CAAA,EACzB,uBAAwB,CAAA,EACxB,2BAA4B,CAAA,EAC5B,0BAA2B,CAAA,EAC3B,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":"ObcVelocityProjectionPlot.vue2.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"}
@@ -29,7 +29,7 @@ export interface Props {
29
29
  crosshairEnabled?: boolean;
30
30
  showLabels?: boolean;
31
31
  vessels?: WatchVessel[];
32
- wind?: number | null;
32
+ windKnots?: number | null;
33
33
  windFromDirectionDeg?: number | null;
34
34
  windSymbolRadius?: number | null;
35
35
  windColor?: string | undefined;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as y,openBlock as B,createBlock as g,h as f}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js";const v=d({__name:"ObcWatch",props:{state:{},priority:{},watchCircleType:{},northArrow:{type:Boolean},northArrowInside:{type:Boolean},angleSetpoint:{},newAngleSetpoint:{},atAngleSetpoint:{type:Boolean},angleSetpointAtZeroDeadband:{},setpointOverride:{type:Boolean},touching:{type:Boolean},animateSetpoint:{type:Boolean},padding:{},areas:{},barAreas:{},needles:{},tickmarks:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},crosshairEnabled:{type:Boolean},showLabels:{type:Boolean},vessels:{},wind:{},windFromDirectionDeg:{},windSymbolRadius:{},windColor:{},current:{},currentFromDirectionDeg:{},currentSymbolRadius:{},currentColor:{},starboardPortIndicator:{type:Boolean},clipTop:{},clipBottom:{},scaleWindIcon:{},rotation:{},zoomToFitArc:{type:Boolean},arcFrame:{},tickFadeAngle:{},rotType:{},rotPosition:{},rotStartAngle:{},rotEndAngle:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(s){const o=s,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const l=m(),p=()=>{const e={};for(const r in o){const i=o[r];(i!==void 0||a)&&(e[r]=i??n[r])}return a=!0,f("obc-watch",e,h(l))};return(t,e)=>y((B(),g(p,null,null,512)),[[c]])}});export{v as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as y,openBlock as B,createBlock as g,h as f}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js";const v=d({__name:"ObcWatch",props:{state:{},priority:{},watchCircleType:{},northArrow:{type:Boolean},northArrowInside:{type:Boolean},angleSetpoint:{},newAngleSetpoint:{},atAngleSetpoint:{type:Boolean},angleSetpointAtZeroDeadband:{},setpointOverride:{type:Boolean},touching:{type:Boolean},animateSetpoint:{type:Boolean},padding:{},areas:{},barAreas:{},needles:{},tickmarks:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},crosshairEnabled:{type:Boolean},showLabels:{type:Boolean},vessels:{},windKnots:{},windFromDirectionDeg:{},windSymbolRadius:{},windColor:{},current:{},currentFromDirectionDeg:{},currentSymbolRadius:{},currentColor:{},starboardPortIndicator:{type:Boolean},clipTop:{},clipBottom:{},scaleWindIcon:{},rotation:{},zoomToFitArc:{type:Boolean},arcFrame:{},tickFadeAngle:{},rotType:{},rotPosition:{},rotStartAngle:{},rotEndAngle:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(s){const o=s,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const l=m(),p=()=>{const e={};for(const r in o){const i=o[r];(i!==void 0||a)&&(e[r]=i??n[r])}return a=!0,f("obc-watch",e,h(l))};return(t,e)=>y((B(),g(p,null,null,512)),[[c]])}});export{v as default};
2
2
  //# sourceMappingURL=ObcWatch.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWatch.vue2.js","sources":["../../src/navigation-instruments/watch/ObcWatch.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/watch/watch.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nimport {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n watchCircleType?: WatchCircleType;\n northArrow?: boolean;\n northArrowInside?: boolean | undefined;\n angleSetpoint?: number | undefined;\n newAngleSetpoint?: number | undefined;\n atAngleSetpoint?: boolean;\n angleSetpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n touching?: boolean;\n animateSetpoint?: boolean;\n padding?: number | undefined;\n areas?: WatchArea[];\n barAreas?: WatchBarArea[];\n needles?: WatchNeedle[];\n tickmarks?: Tickmark[];\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: AngleAdviceRaw[];\n crosshairEnabled?: boolean;\n showLabels?: boolean;\n vessels?: WatchVessel[];\n wind?: number | null;\n windFromDirectionDeg?: number | null;\n windSymbolRadius?: number | null;\n windColor?: string | undefined;\n current?: number | null;\n currentFromDirectionDeg?: number | null;\n currentSymbolRadius?: number | null;\n currentColor?: string | undefined;\n starboardPortIndicator?: boolean;\n clipTop?: number;\n clipBottom?: number;\n scaleWindIcon?: number;\n rotation?: number | undefined;\n zoomToFitArc?: boolean;\n arcFrame?: ZoomToFitArcFrame | undefined;\n tickFadeAngle?: number;\n rotType?: RotType | undefined;\n rotPosition?: RotPosition;\n rotStartAngle?: number;\n rotEndAngle?: number;\n rotPriority?: Priority | undefined;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number\n }\n\n \n \n export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nexport type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatch',\n props: {\n state: {},\n priority: {},\n watchCircleType: {},\n northArrow: { type: Boolean },\n northArrowInside: { type: Boolean },\n angleSetpoint: {},\n newAngleSetpoint: {},\n atAngleSetpoint: { type: Boolean },\n angleSetpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n touching: { type: Boolean },\n animateSetpoint: { type: Boolean },\n padding: {},\n areas: {},\n barAreas: {},\n needles: {},\n tickmarks: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n crosshairEnabled: { type: Boolean },\n showLabels: { type: Boolean },\n vessels: {},\n wind: {},\n windFromDirectionDeg: {},\n windSymbolRadius: {},\n windColor: {},\n current: {},\n currentFromDirectionDeg: {},\n currentSymbolRadius: {},\n currentColor: {},\n starboardPortIndicator: { type: Boolean },\n clipTop: {},\n clipBottom: {},\n scaleWindIcon: {},\n rotation: {},\n zoomToFitArc: { type: Boolean },\n arcFrame: {},\n tickFadeAngle: {},\n rotType: {},\n rotPosition: {},\n rotStartAngle: {},\n rotEndAngle: {},\n rotPriority: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {}\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-watch',\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":"sRAyEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,OAAA,EACpB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,cAAe,CAAA,EACf,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,4BAA6B,CAAA,EAC7B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,QAAS,CAAA,EACT,MAAO,CAAA,EACP,SAAU,CAAA,EACV,QAAS,CAAA,EACT,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,WAAY,CAAE,KAAM,OAAA,EACpB,QAAS,CAAA,EACT,KAAM,CAAA,EACN,qBAAsB,CAAA,EACtB,iBAAkB,CAAA,EAClB,UAAW,CAAA,EACX,QAAS,CAAA,EACT,wBAAyB,CAAA,EACzB,oBAAqB,CAAA,EACrB,aAAc,CAAA,EACd,uBAAwB,CAAE,KAAM,OAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,SAAU,CAAA,EACV,aAAc,CAAE,KAAM,OAAA,EACtB,SAAU,CAAA,EACV,cAAe,CAAA,EACf,QAAS,CAAA,EACT,YAAa,CAAA,EACb,cAAe,CAAA,EACf,YAAa,CAAA,EACb,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,CAAC,EAE1B,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":"ObcWatch.vue2.js","sources":["../../src/navigation-instruments/watch/ObcWatch.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/watch/watch.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nimport {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n watchCircleType?: WatchCircleType;\n northArrow?: boolean;\n northArrowInside?: boolean | undefined;\n angleSetpoint?: number | undefined;\n newAngleSetpoint?: number | undefined;\n atAngleSetpoint?: boolean;\n angleSetpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n touching?: boolean;\n animateSetpoint?: boolean;\n padding?: number | undefined;\n areas?: WatchArea[];\n barAreas?: WatchBarArea[];\n needles?: WatchNeedle[];\n tickmarks?: Tickmark[];\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: AngleAdviceRaw[];\n crosshairEnabled?: boolean;\n showLabels?: boolean;\n vessels?: WatchVessel[];\n windKnots?: number | null;\n windFromDirectionDeg?: number | null;\n windSymbolRadius?: number | null;\n windColor?: string | undefined;\n current?: number | null;\n currentFromDirectionDeg?: number | null;\n currentSymbolRadius?: number | null;\n currentColor?: string | undefined;\n starboardPortIndicator?: boolean;\n clipTop?: number;\n clipBottom?: number;\n scaleWindIcon?: number;\n rotation?: number | undefined;\n zoomToFitArc?: boolean;\n arcFrame?: ZoomToFitArcFrame | undefined;\n tickFadeAngle?: number;\n rotType?: RotType | undefined;\n rotPosition?: RotPosition;\n rotStartAngle?: number;\n rotEndAngle?: number;\n rotPriority?: Priority | undefined;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number\n }\n\n \n \n export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nexport type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatch',\n props: {\n state: {},\n priority: {},\n watchCircleType: {},\n northArrow: { type: Boolean },\n northArrowInside: { type: Boolean },\n angleSetpoint: {},\n newAngleSetpoint: {},\n atAngleSetpoint: { type: Boolean },\n angleSetpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n touching: { type: Boolean },\n animateSetpoint: { type: Boolean },\n padding: {},\n areas: {},\n barAreas: {},\n needles: {},\n tickmarks: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n crosshairEnabled: { type: Boolean },\n showLabels: { type: Boolean },\n vessels: {},\n windKnots: {},\n windFromDirectionDeg: {},\n windSymbolRadius: {},\n windColor: {},\n current: {},\n currentFromDirectionDeg: {},\n currentSymbolRadius: {},\n currentColor: {},\n starboardPortIndicator: { type: Boolean },\n clipTop: {},\n clipBottom: {},\n scaleWindIcon: {},\n rotation: {},\n zoomToFitArc: { type: Boolean },\n arcFrame: {},\n tickFadeAngle: {},\n rotType: {},\n rotPosition: {},\n rotStartAngle: {},\n rotEndAngle: {},\n rotPriority: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {}\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-watch',\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":"sRAyEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,OAAA,EACpB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,cAAe,CAAA,EACf,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,4BAA6B,CAAA,EAC7B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,QAAS,CAAA,EACT,MAAO,CAAA,EACP,SAAU,CAAA,EACV,QAAS,CAAA,EACT,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,WAAY,CAAE,KAAM,OAAA,EACpB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,qBAAsB,CAAA,EACtB,iBAAkB,CAAA,EAClB,UAAW,CAAA,EACX,QAAS,CAAA,EACT,wBAAyB,CAAA,EACzB,oBAAqB,CAAA,EACrB,aAAc,CAAA,EACd,uBAAwB,CAAE,KAAM,OAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,SAAU,CAAA,EACV,aAAc,CAAE,KAAM,OAAA,EACtB,SAAU,CAAA,EACV,cAAe,CAAA,EACf,QAAS,CAAA,EACT,YAAa,CAAA,EACb,cAAe,CAAA,EACf,YAAa,CAAA,EACb,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,CAAC,EAE1B,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"}
@@ -3,7 +3,7 @@ import { WindHistogramData, WindVariant } from '@oicl/openbridge-webcomponents/d
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  export interface Props {
5
5
  currentWindFromDirection?: number;
6
- currentWindSpeedBeaufort?: number;
6
+ currentWindSpeedKnots?: number;
7
7
  windHistogramData?: WindHistogramData[];
8
8
  vesselImage?: VesselImage;
9
9
  vesselHeadingDeg?: number;
@@ -1,2 +1,2 @@
1
- import{defineComponent as p,reactive as u,useSlots as m,withDirectives as f,openBlock as v,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=p({__name:"ObcWind",props:{currentWindFromDirection:{},currentWindSpeedBeaufort:{},windHistogramData:{},vesselImage:{},vesselHeadingDeg:{},variant:{},smallVariantMaxPx:{},mediumVariantMaxPx:{}},setup(i){const t=i,r=u({}),c={created(n){for(const e in t)r[e]=n[e]}};let s=!1;const l=m(),d=()=>{const e={};for(const o in t){const a=t[o];(a!==void 0||s)&&(e[o]=a??r[o])}return s=!0,_("obc-wind",e,g(l))};return(n,e)=>f((v(),x(d,null,null,512)),[[c]])}});export{w as default};
1
+ import{defineComponent as p,reactive as u,useSlots as m,withDirectives as f,openBlock as v,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=p({__name:"ObcWind",props:{currentWindFromDirection:{},currentWindSpeedKnots:{},windHistogramData:{},vesselImage:{},vesselHeadingDeg:{},variant:{},smallVariantMaxPx:{},mediumVariantMaxPx:{}},setup(i){const t=i,s=u({}),c={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const l=m(),d=()=>{const e={};for(const o in t){const a=t[o];(a!==void 0||r)&&(e[o]=a??s[o])}return r=!0,_("obc-wind",e,g(l))};return(n,e)=>f((v(),x(d,null,null,512)),[[c]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcWind.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWind.vue2.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} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n currentWindFromDirection?: number;\n currentWindSpeedBeaufort?: number;\n windHistogramData?: WindHistogramData[];\n vesselImage?: VesselImage;\n vesselHeadingDeg?: number;\n variant?: WindVariant;\n smallVariantMaxPx?: number;\n mediumVariantMaxPx?: number\n }\n\n \n \n export type {WindHistogramData, WindVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWind',\n props: {\n currentWindFromDirection: {},\n currentWindSpeedBeaufort: {},\n windHistogramData: {},\n vesselImage: {},\n vesselHeadingDeg: {},\n variant: {},\n smallVariantMaxPx: {},\n mediumVariantMaxPx: {}\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":"oRAyBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,yBAA0B,CAAA,EAC1B,yBAA0B,CAAA,EAC1B,kBAAmB,CAAA,EACnB,YAAa,CAAA,EACb,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,kBAAmB,CAAA,EACnB,mBAAoB,CAAA,CAAC,EAEvB,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":"ObcWind.vue2.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} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.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 }\n\n \n \n export type {WindHistogramData, WindVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind/wind.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.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 },\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":"oRAyBA,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,CAAC,EAEvB,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"}
@@ -4,8 +4,9 @@ export interface Props {
4
4
  type?: WindIndicatorType;
5
5
  direction?: WindIndicatorDirection;
6
6
  priority?: WindIndicatorPriority;
7
- level?: number;
7
+ currentWindSpeedKnots?: number;
8
8
  rotationAngle?: number;
9
+ currentWindFromDirection?: number;
9
10
  windFromAngle?: number;
10
11
  angle?: number;
11
12
  }
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as f,withDirectives as m,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/wind-indicator/wind-indicator.js";const k=d({__name:"ObcWindIndicator",props:{type:{},direction:{},priority:{},level:{},rotationAngle:{},windFromAngle:{},angle:{}},setup(i){const t=i,r=u({}),l={created(o){for(const e in t)r[e]=o[e]}};let s=!1;const p=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,g("obc-wind-indicator",e,h(p))};return(o,e)=>m((v(),_(a,null,null,512)),[[l]])}});export{k as default};
1
+ import{defineComponent as l,reactive as u,useSlots as f,withDirectives as m,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/wind-indicator/wind-indicator.js";const S=l({__name:"ObcWindIndicator",props:{type:{},direction:{},priority:{},currentWindSpeedKnots:{},rotationAngle:{},currentWindFromDirection:{},windFromAngle:{},angle:{}},setup(i){const t=i,r=u({}),p={created(n){for(const e in t)r[e]=n[e]}};let s=!1;const d=f(),a=()=>{const e={};for(const o in t){const c=t[o];(c!==void 0||s)&&(e[o]=c??r[o])}return s=!0,g("obc-wind-indicator",e,h(d))};return(n,e)=>m((v(),_(a,null,null,512)),[[p]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcWindIndicator.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWindIndicator.vue2.js","sources":["../../src/navigation-instruments/wind-indicator/ObcWindIndicator.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-indicator/wind-indicator.js';\n import {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';\n\n export interface Props {\n type?: WindIndicatorType;\n direction?: WindIndicatorDirection;\n priority?: WindIndicatorPriority;\n level?: number;\n rotationAngle?: number;\n windFromAngle?: number;\n angle?: number\n }\n\n \n \n export type {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWindIndicator',\n props: {\n type: {},\n direction: {},\n priority: {},\n level: {},\n rotationAngle: {},\n windFromAngle: {},\n angle: {}\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-indicator',\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":"wSAsBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,KAAM,CAAA,EACN,UAAW,CAAA,EACX,SAAU,CAAA,EACV,MAAO,CAAA,EACP,cAAe,CAAA,EACf,cAAe,CAAA,EACf,MAAO,CAAA,CAAC,EAEV,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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":"ObcWindIndicator.vue2.js","sources":["../../src/navigation-instruments/wind-indicator/ObcWindIndicator.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-indicator/wind-indicator.js';\n import {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';\n\n export interface Props {\n type?: WindIndicatorType;\n direction?: WindIndicatorDirection;\n priority?: WindIndicatorPriority;\n currentWindSpeedKnots?: number;\n rotationAngle?: number;\n currentWindFromDirection?: number;\n windFromAngle?: number;\n angle?: number\n }\n\n \n \n export type {WindIndicatorType, WindIndicatorDirection, WindIndicatorPriority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-indicator/wind-indicator.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWindIndicator',\n props: {\n type: {},\n direction: {},\n priority: {},\n currentWindSpeedKnots: {},\n rotationAngle: {},\n currentWindFromDirection: {},\n windFromAngle: {},\n angle: {}\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-indicator',\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":"wSAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,KAAM,CAAA,EACN,UAAW,CAAA,EACX,SAAU,CAAA,EACV,sBAAuB,CAAA,EACvB,cAAe,CAAA,EACf,yBAA0B,CAAA,EAC1B,cAAe,CAAA,EACf,MAAO,CAAA,CAAC,EAEV,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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"}
@@ -25,7 +25,7 @@ export interface Props {
25
25
  showLabels?: boolean;
26
26
  tickmarksInside?: boolean;
27
27
  tickmarkStyle?: TickmarkStyle;
28
- currentWindSpeedBeaufort?: number | null;
28
+ currentWindSpeedKnots?: number | null;
29
29
  currentWindFromDirection?: number | null;
30
30
  sailAngleAdvices?: AngleAdvice[];
31
31
  }
@@ -1,2 +1,2 @@
1
- import{defineComponent as m,reactive as S,useSlots as f,withDirectives as A,openBlock as g,createBlock as y,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js";const b=m({__name:"ObcWindPropulsion",props:{forceAngle:{},sailAngle:{},sailAngleSetpoint:{},newSailAngleSetpoint:{},atSailAngleSetpoint:{type:Boolean},autoAtSailAngleSetpoint:{type:Boolean},autoAtSailAngleSetpointDeadband:{},sailAngleSetpointAtZeroDeadband:{},sailAngleSetpointOverride:{type:Boolean},animateSetpoint:{type:Boolean},touching:{type:Boolean},force:{},maxForce:{},sailType:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},tickmarkStyle:{},currentWindSpeedBeaufort:{},currentWindFromDirection:{},sailAngleAdvices:{}},emits:["None"],setup(l,{emit:a}){const o=l,i=S({}),p={created(n){for(const e in o)i[e]=n[e]}};let r=!1;const c=a,d=f(),u=()=>{const e={onNone:t=>c("None",t)};for(const t in o){const s=o[t];(s!==void 0||r)&&(e[t]=s??i[t])}return r=!0,v("obc-wind-propulsion",e,B(d))};return(n,e)=>A((g(),y(u,null,null,512)),[[p]])}});export{b as default};
1
+ import{defineComponent as m,reactive as S,useSlots as A,withDirectives as f,openBlock as g,createBlock as y,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js";const b=m({__name:"ObcWindPropulsion",props:{forceAngle:{},sailAngle:{},sailAngleSetpoint:{},newSailAngleSetpoint:{},atSailAngleSetpoint:{type:Boolean},autoAtSailAngleSetpoint:{type:Boolean},autoAtSailAngleSetpointDeadband:{},sailAngleSetpointAtZeroDeadband:{},sailAngleSetpointOverride:{type:Boolean},animateSetpoint:{type:Boolean},touching:{type:Boolean},force:{},maxForce:{},sailType:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},tickmarkStyle:{},currentWindSpeedKnots:{},currentWindFromDirection:{},sailAngleAdvices:{}},emits:["None"],setup(l,{emit:a}){const o=l,i=S({}),p={created(n){for(const e in o)i[e]=n[e]}};let s=!1;const c=a,d=A(),u=()=>{const e={onNone:t=>c("None",t)};for(const t in o){const r=o[t];(r!==void 0||s)&&(e[t]=r??i[t])}return s=!0,v("obc-wind-propulsion",e,B(d))};return(n,e)=>f((g(),y(u,null,null,512)),[[p]])}});export{b as default};
2
2
  //# sourceMappingURL=ObcWindPropulsion.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWindPropulsion.vue2.js","sources":["../../src/navigation-instruments/wind-propulsion/ObcWindPropulsion.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-propulsion/wind-propulsion.js';\n import {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n\n export interface Props {\n forceAngle?: number;\n sailAngle?: number;\n sailAngleSetpoint?: number | undefined;\n newSailAngleSetpoint?: number | undefined;\n atSailAngleSetpoint?: boolean;\n autoAtSailAngleSetpoint?: boolean;\n autoAtSailAngleSetpointDeadband?: number;\n sailAngleSetpointAtZeroDeadband?: number;\n sailAngleSetpointOverride?: boolean;\n animateSetpoint?: boolean;\n touching?: boolean;\n force?: number;\n maxForce?: number;\n sailType?: SailType;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: WindPropulsionPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n currentWindSpeedBeaufort?: number | null;\n currentWindFromDirection?: number | null;\n sailAngleAdvices?: AngleAdvice[]\n }\n\n \n \n export type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWindPropulsion',\n props: {\n forceAngle: {},\n sailAngle: {},\n sailAngleSetpoint: {},\n newSailAngleSetpoint: {},\n atSailAngleSetpoint: { type: Boolean },\n autoAtSailAngleSetpoint: { type: Boolean },\n autoAtSailAngleSetpointDeadband: {},\n sailAngleSetpointAtZeroDeadband: {},\n sailAngleSetpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n force: {},\n maxForce: {},\n sailType: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n currentWindSpeedBeaufort: {},\n currentWindFromDirection: {},\n sailAngleAdvices: {}\n },\n emits: [\"None\"],\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 onNone: (event: CustomEvent<unknown>) => emit('None', event as CustomEvent<unknown>)\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-propulsion',\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":"0SA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,kBAAmB,CAAA,EACnB,qBAAsB,CAAA,EACtB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,wBAAyB,CAAE,KAAM,OAAA,EACjC,gCAAiC,CAAA,EACjC,gCAAiC,CAAA,EACjC,0BAA2B,CAAE,KAAM,OAAA,EACnC,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,yBAA0B,CAAA,EAC1B,yBAA0B,CAAA,EAC1B,iBAAkB,CAAA,CAAC,EAErB,MAAO,CAAC,MAAM,EACd,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,OAASC,GAAgCL,EAAK,OAAQK,CAA6B,CAAA,EAKjF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcWindPropulsion.vue2.js","sources":["../../src/navigation-instruments/wind-propulsion/ObcWindPropulsion.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-propulsion/wind-propulsion.js';\n import {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n\n export interface Props {\n forceAngle?: number;\n sailAngle?: number;\n sailAngleSetpoint?: number | undefined;\n newSailAngleSetpoint?: number | undefined;\n atSailAngleSetpoint?: boolean;\n autoAtSailAngleSetpoint?: boolean;\n autoAtSailAngleSetpointDeadband?: number;\n sailAngleSetpointAtZeroDeadband?: number;\n sailAngleSetpointOverride?: boolean;\n animateSetpoint?: boolean;\n touching?: boolean;\n force?: number;\n maxForce?: number;\n sailType?: SailType;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: WindPropulsionPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n currentWindSpeedKnots?: number | null;\n currentWindFromDirection?: number | null;\n sailAngleAdvices?: AngleAdvice[]\n }\n\n \n \n export type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWindPropulsion',\n props: {\n forceAngle: {},\n sailAngle: {},\n sailAngleSetpoint: {},\n newSailAngleSetpoint: {},\n atSailAngleSetpoint: { type: Boolean },\n autoAtSailAngleSetpoint: { type: Boolean },\n autoAtSailAngleSetpointDeadband: {},\n sailAngleSetpointAtZeroDeadband: {},\n sailAngleSetpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n force: {},\n maxForce: {},\n sailType: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n currentWindSpeedKnots: {},\n currentWindFromDirection: {},\n sailAngleAdvices: {}\n },\n emits: [\"None\"],\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 onNone: (event: CustomEvent<unknown>) => emit('None', event as CustomEvent<unknown>)\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-propulsion',\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":"0SA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,kBAAmB,CAAA,EACnB,qBAAsB,CAAA,EACtB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,wBAAyB,CAAE,KAAM,OAAA,EACjC,gCAAiC,CAAA,EACjC,gCAAiC,CAAA,EACjC,0BAA2B,CAAE,KAAM,OAAA,EACnC,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,sBAAuB,CAAA,EACvB,yBAA0B,CAAA,EAC1B,iBAAkB,CAAA,CAAC,EAErB,MAAO,CAAC,MAAM,EACd,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,OAASC,GAAgCL,EAAK,OAAQK,CAA6B,CAAA,EAKjF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
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.0.0-next.45",
11
+ "version": "2.0.0-next.47",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.0.0-next.44",
13
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.46",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },