@oicl/openbridge-webcomponents-vue 2.0.0-next.103 → 2.0.0-next.105

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 (47) hide show
  1. package/navigation-instruments/compass/ObcCompass.vue.d.ts +7 -0
  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-flat/ObcCompassFlat.vue.d.ts +4 -0
  5. package/navigation-instruments/compass-flat/ObcCompassFlat.vue2.js +1 -1
  6. package/navigation-instruments/compass-flat/ObcCompassFlat.vue2.js.map +1 -1
  7. package/navigation-instruments/draft-trim/ObcDraftTrim.vue.d.ts +17 -0
  8. package/navigation-instruments/draft-trim/ObcDraftTrim.vue.js +2 -0
  9. package/navigation-instruments/draft-trim/ObcDraftTrim.vue.js.map +1 -0
  10. package/navigation-instruments/draft-trim/ObcDraftTrim.vue2.js +2 -0
  11. package/navigation-instruments/draft-trim/ObcDraftTrim.vue2.js.map +1 -0
  12. package/navigation-instruments/heading/ObcHeading.vue.d.ts +10 -0
  13. package/navigation-instruments/heading/ObcHeading.vue2.js +1 -1
  14. package/navigation-instruments/heading/ObcHeading.vue2.js.map +1 -1
  15. package/navigation-instruments/heave/ObcHeave.vue.d.ts +3 -0
  16. package/navigation-instruments/heave/ObcHeave.vue2.js +1 -1
  17. package/navigation-instruments/heave/ObcHeave.vue2.js.map +1 -1
  18. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.d.ts +44 -0
  19. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.js +2 -0
  20. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.js.map +1 -0
  21. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue2.js +2 -0
  22. package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue2.js.map +1 -0
  23. package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue.d.ts +7 -0
  24. package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue2.js +1 -1
  25. package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue2.js.map +1 -1
  26. package/navigation-instruments/rot-linear/ObcRotLinear.vue.d.ts +16 -0
  27. package/navigation-instruments/rot-linear/ObcRotLinear.vue.js +2 -0
  28. package/navigation-instruments/rot-linear/ObcRotLinear.vue.js.map +1 -0
  29. package/navigation-instruments/rot-linear/ObcRotLinear.vue2.js +2 -0
  30. package/navigation-instruments/rot-linear/ObcRotLinear.vue2.js.map +1 -0
  31. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.d.ts +21 -0
  32. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.js +2 -0
  33. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.js.map +1 -0
  34. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue2.js +2 -0
  35. package/navigation-instruments/speed-directions/ObcSpeedDirections.vue2.js.map +1 -0
  36. package/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.vue.d.ts +45 -0
  37. package/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.vue.js +2 -0
  38. package/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.vue.js.map +1 -0
  39. package/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.vue2.js +2 -0
  40. package/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.vue2.js.map +1 -0
  41. package/navigation-instruments/watch/ObcWatch.vue.d.ts +1 -0
  42. package/navigation-instruments/watch/ObcWatch.vue2.js +1 -1
  43. package/navigation-instruments/watch/ObcWatch.vue2.js.map +1 -1
  44. package/navigation-instruments/watch-flat/ObcWatchFlat.vue.d.ts +4 -0
  45. package/navigation-instruments/watch-flat/ObcWatchFlat.vue2.js +1 -1
  46. package/navigation-instruments/watch-flat/ObcWatchFlat.vue2.js.map +1 -1
  47. package/package.json +7 -2
@@ -1,6 +1,8 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
2
2
  import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
3
3
  import { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
5
+ import { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
4
6
  import { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
5
7
  import { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
8
  export interface Props {
@@ -21,6 +23,9 @@ export interface Props {
21
23
  currentSpeed?: number | null;
22
24
  currentFromDirection?: number | null;
23
25
  vesselImage?: VesselImage;
26
+ centerReadouts?: CompassCenterReadout[];
27
+ hdgArrowStyle?: HdgArrowStyle;
28
+ cogArrowStyle?: CogArrowStyle;
24
29
  rateOfTurnDegreesPerMinute?: number | undefined;
25
30
  rotDotAnimationFactor?: number;
26
31
  rotationsPerMinute?: number;
@@ -40,6 +45,8 @@ export interface Props {
40
45
  }
41
46
  export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
42
47
  export type { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
48
+ export type { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
49
+ export type { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
43
50
  export type { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
44
51
  export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
45
52
  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 l,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as S,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},faceDiameter:{}},setup(s){const t=s,r=u({}),p={created(o){for(const e in t)r[e]=o[e]}};let a=!1;const c=m(),d=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,v("obc-compass",e,h(c))};return(o,e)=>f((g(),S(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 y}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 A=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:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},faceDiameter:{}},setup(s){const t=s,r=u({}),c={created(o){for(const e in t)r[e]=o[e]}};let a=!1;const p=m(),d=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,y("obc-compass",e,h(p))};return(o,e)=>g((S(),f(d,null,null,512)),[[c]])}});export{A 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 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 faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {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 faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAsDA,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,EACzB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"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 {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n currentWindSpeedKnots?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean },\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 centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\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 faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA6DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,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,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,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,EACzB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -20,6 +20,10 @@ export interface Props {
20
20
  rotArcExtent?: number;
21
21
  rotPortStarboard?: boolean;
22
22
  rotAtZeroDeadband?: number;
23
+ hasReadout?: boolean;
24
+ label?: string;
25
+ unit?: string;
26
+ fractionDigits?: number;
23
27
  }
24
28
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
25
29
  export type { CompassFlatPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as v,createBlock as O,h as F}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js";const y=u({__name:"ObcCompassFlat",props:{FOVIndicator:{type:Boolean},heading:{},courseOverGround:{},tickInterval:{},FOV:{},minFOV:{},maxFOV:{},priority:{},priorityElements:{},rotType:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{}},setup(c){const e=c,n=d({}),i={created(o){for(const t in e)n[t]=o[t]}};let s=!1;const p=m(),l=()=>{const t={};for(const r in e){const a=e[r];(a!==void 0||s)&&(t[r]=a??n[r])}return s=!0,F("obc-compass-flat",t,P(p))};return(o,t)=>f((v(),O(l,null,null,512)),[[i]])}});export{y as default};
1
+ import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as O,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js";const _=u({__name:"ObcCompassFlat",props:{FOVIndicator:{type:Boolean},heading:{},courseOverGround:{},tickInterval:{},FOV:{},minFOV:{},maxFOV:{},priority:{},priorityElements:{},rotType:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{}},setup(i){const e=i,n=d({}),c={created(o){for(const t in e)n[t]=o[t]}};let s=!1;const l=f(),p=()=>{const t={};for(const r in e){const a=e[r];(a!==void 0||s)&&(t[r]=a??n[r])}return s=!0,h("obc-compass-flat",t,y(l))};return(o,t)=>m((v(),O(p,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcCompassFlat.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcCompassFlat.vue2.js","sources":["../../src/navigation-instruments/compass-flat/ObcCompassFlat.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-flat/compass-flat.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n FOVIndicator?: boolean;\n heading?: number;\n courseOverGround?: number;\n tickInterval?: number;\n FOV?: number;\n minFOV?: number;\n maxFOV?: number;\n priority?: Priority;\n priorityElements?: CompassFlatPriorityElement[];\n rotType?: RotType | undefined;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassFlat',\n props: {\n FOVIndicator: { type: Boolean },\n heading: {},\n courseOverGround: {},\n tickInterval: {},\n FOV: {},\n minFOV: {},\n maxFOV: {},\n priority: {},\n priorityElements: {},\n rotType: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\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-flat',\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":"oSAoCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,aAAc,CAAE,KAAM,OAAA,EACtB,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,aAAc,CAAA,EACd,IAAK,CAAA,EACL,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,CAAC,EAEtB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcCompassFlat.vue2.js","sources":["../../src/navigation-instruments/compass-flat/ObcCompassFlat.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-flat/compass-flat.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n FOVIndicator?: boolean;\n heading?: number;\n courseOverGround?: number;\n tickInterval?: number;\n FOV?: number;\n minFOV?: number;\n maxFOV?: number;\n priority?: Priority;\n priorityElements?: CompassFlatPriorityElement[];\n rotType?: RotType | undefined;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassFlat',\n props: {\n FOVIndicator: { type: Boolean },\n heading: {},\n courseOverGround: {},\n tickInterval: {},\n FOV: {},\n minFOV: {},\n maxFOV: {},\n priority: {},\n priorityElements: {},\n rotType: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {}\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-flat',\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":"+RAwCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,aAAc,CAAE,KAAM,OAAA,EACtB,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,aAAc,CAAA,EACd,IAAK,CAAA,EACL,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,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,mBACAI,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"}
@@ -0,0 +1,17 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';
2
+ import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
+ import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ export interface Props {
6
+ draftFore?: number;
7
+ draftAft?: number;
8
+ instrumentRange?: number;
9
+ advice?: LinearAdvice[];
10
+ vesselImage?: VesselImage;
11
+ priority?: Priority;
12
+ }
13
+ export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
14
+ export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
15
+ export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
16
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcDraftTrim.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcDraftTrim.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcDraftTrim.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as l,reactive as d,useSlots as u,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js";const k=l({__name:"ObcDraftTrim",props:{draftFore:{},draftAft:{},instrumentRange:{},advice:{},vesselImage:{},priority:{}},setup(a){const e=a,s=d({}),i={created(o){for(const t in e)s[t]=o[t]}};let n=!1;const p=u(),f=()=>{const t={};for(const r in e){const c=e[r];(c!==void 0||n)&&(t[r]=c??s[r])}return n=!0,h("obc-draft-trim",t,g(p))};return(o,t)=>m((v(),_(f,null,null,512)),[[i]])}});export{k as default};
2
+ //# sourceMappingURL=ObcDraftTrim.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcDraftTrim.vue2.js","sources":["../../src/navigation-instruments/draft-trim/ObcDraftTrim.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/draft-trim/draft-trim.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n draftFore?: number;\n draftAft?: number;\n instrumentRange?: number;\n advice?: LinearAdvice[];\n vesselImage?: VesselImage;\n priority?: Priority\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDraftTrim',\n props: {\n draftFore: {},\n draftAft: {},\n instrumentRange: {},\n advice: {},\n vesselImage: {},\n priority: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-draft-trim',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"2RAyBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,UAAW,CAAA,EACX,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,OAAQ,CAAA,EACR,YAAa,CAAA,EACb,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,iBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -2,6 +2,9 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/headi
2
2
  import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
3
3
  import { CompassDirection, HeadingPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
6
+ import { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
7
+ import { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
5
8
  export interface Props {
6
9
  heading?: number;
7
10
  courseOverGround?: number;
@@ -18,6 +21,10 @@ export interface Props {
18
21
  direction?: CompassDirection;
19
22
  priority?: Priority;
20
23
  priorityElements?: HeadingPriorityElement[];
24
+ vesselImage?: VesselImage | undefined;
25
+ centerReadouts?: CompassCenterReadout[];
26
+ hdgArrowStyle?: HdgArrowStyle;
27
+ cogArrowStyle?: CogArrowStyle;
21
28
  showLabels?: boolean;
22
29
  tickmarksInside?: boolean;
23
30
  faceDiameter?: number | undefined;
@@ -25,5 +32,8 @@ export interface Props {
25
32
  export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
26
33
  export type { CompassDirection, HeadingPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';
27
34
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
35
+ export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
36
+ export type { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
37
+ export type { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
28
38
  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>;
29
39
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as l,reactive as u,useSlots as g,withDirectives as f,openBlock as h,createBlock as m,h as v}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js";const b=l({__name:"ObcHeading",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},direction:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},faceDiameter:{}},setup(s){const t=s,i=u({}),p={created(o){for(const e in t)i[e]=o[e]}};let a=!1;const c=g(),d=()=>{const e={};for(const n in t){const r=t[n];(r!==void 0||a)&&(e[n]=r??i[n])}return a=!0,v("obc-heading",e,S(c))};return(o,e)=>f((h(),m(d,null,null,512)),[[p]])}});export{b as default};
1
+ import{defineComponent as l,reactive as u,useSlots as g,withDirectives as h,openBlock as m,createBlock as f,h as v}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js";const _=l({__name:"ObcHeading",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},direction:{},priority:{},priorityElements:{},vesselImage:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},faceDiameter:{}},setup(s){const t=s,a=u({}),p={created(o){for(const e in t)a[e]=o[e]}};let i=!1;const c=g(),d=()=>{const e={};for(const n in t){const r=t[n];(r!==void 0||i)&&(e[n]=r??a[n])}return i=!0,v("obc-heading",e,S(c))};return(o,e)=>h((m(),f(d,null,null,512)),[[p]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcHeading.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcHeading.vue2.js","sources":["../../src/navigation-instruments/heading/ObcHeading.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n direction?: CompassDirection;\n priority?: Priority;\n priorityElements?: HeadingPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeading',\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 direction: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heading',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAqCA,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,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcHeading.vue2.js","sources":["../../src/navigation-instruments/heading/ObcHeading.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n direction?: CompassDirection;\n priority?: Priority;\n priorityElements?: HeadingPriorityElement[];\n vesselImage?: VesselImage | undefined;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {CompassDirection, HeadingPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heading/heading.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeading',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean },\n autoAtHeadingSetpoint: { type: Boolean },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n headingAdvices: {},\n direction: {},\n priority: {},\n priorityElements: {},\n vesselImage: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heading',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA+CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,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,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -2,6 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.j
2
2
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
3
3
  import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
4
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
+ import { ObcHeaveType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
5
6
  export interface Props {
6
7
  heave?: number;
7
8
  gainScale?: number;
@@ -12,9 +13,11 @@ export interface Props {
12
13
  instrumentRange?: number;
13
14
  vesselImage?: VesselImage;
14
15
  priority?: Priority;
16
+ type?: ObcHeaveType;
15
17
  }
16
18
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
17
19
  export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
18
20
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
21
+ export type { ObcHeaveType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';
19
22
  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>;
20
23
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as v,reactive as f,useSlots as d,withDirectives as u,openBlock as m,createBlock as h,h as _}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js";const S=v({__name:"ObcHeave",props:{heave:{},gainScale:{},minTrendHeave:{},maxTrendHeave:{},draftOffset:{},advice:{},instrumentRange:{},vesselImage:{},priority:{}},setup(c){const t=c,s=f({}),i={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const p=d(),l=()=>{const e={};for(const o in t){const a=t[o];(a!==void 0||r)&&(e[o]=a??s[o])}return r=!0,_("obc-heave",e,g(p))};return(n,e)=>u((m(),h(l,null,null,512)),[[i]])}});export{S as default};
1
+ import{defineComponent as v,reactive as f,useSlots as d,withDirectives as u,openBlock as m,createBlock as h,h as _}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js";const S=v({__name:"ObcHeave",props:{heave:{},gainScale:{},minTrendHeave:{},maxTrendHeave:{},draftOffset:{},advice:{},instrumentRange:{},vesselImage:{},priority:{},type:{}},setup(c){const t=c,s=f({}),i={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const p=d(),l=()=>{const e={};for(const o in t){const a=t[o];(a!==void 0||r)&&(e[o]=a??s[o])}return r=!0,_("obc-heave",e,g(p))};return(n,e)=>u((m(),h(l,null,null,512)),[[i]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcHeave.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcHeave.vue2.js","sources":["../../src/navigation-instruments/heave/ObcHeave.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heave?: number;\n gainScale?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n draftOffset?: number;\n advice?: LinearAdvice[];\n instrumentRange?: number;\n vesselImage?: VesselImage;\n priority?: Priority\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeave',\n props: {\n heave: {},\n gainScale: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n draftOffset: {},\n advice: {},\n instrumentRange: {},\n vesselImage: {},\n priority: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heave',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA4BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,UAAW,CAAA,EACX,cAAe,CAAA,EACf,cAAe,CAAA,EACf,YAAa,CAAA,EACb,OAAQ,CAAA,EACR,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcHeave.vue2.js","sources":["../../src/navigation-instruments/heave/ObcHeave.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n\n export interface Props {\n heave?: number;\n gainScale?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n draftOffset?: number;\n advice?: LinearAdvice[];\n instrumentRange?: number;\n vesselImage?: VesselImage;\n priority?: Priority;\n type?: ObcHeaveType\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcHeaveType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/heave/heave.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcHeave',\n props: {\n heave: {},\n gainScale: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n draftOffset: {},\n advice: {},\n instrumentRange: {},\n vesselImage: {},\n priority: {},\n type: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-heave',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA+BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,UAAW,CAAA,EACX,cAAe,CAAA,EACf,cAAe,CAAA,EACf,YAAa,CAAA,EACb,OAAQ,CAAA,EACR,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,SAAU,CAAA,EACV,KAAM,CAAA,CAAC,EAET,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -0,0 +1,44 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
2
+ import { ObcPitchRollHeaveType, PitchRollHeavePriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
3
+ import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
4
+ import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
5
+ import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
+ export interface Props {
7
+ type?: ObcPitchRollHeaveType;
8
+ pitch?: number;
9
+ roll?: number;
10
+ heave?: number;
11
+ minAvgPitch?: number;
12
+ maxAvgPitch?: number;
13
+ minAvgRoll?: number;
14
+ maxAvgRoll?: number;
15
+ minTrendHeave?: number;
16
+ maxTrendHeave?: number;
17
+ heaveRange?: number;
18
+ pitchArcAngle?: number;
19
+ rollArcAngle?: number;
20
+ zoomToFitArc?: boolean;
21
+ hasReadout?: boolean;
22
+ pitchLabel?: string;
23
+ rollLabel?: string;
24
+ heaveLabel?: string;
25
+ unit?: string;
26
+ heaveUnit?: string;
27
+ fractionDigits?: number;
28
+ vesselImageFore?: VesselImage;
29
+ vesselImageSide?: VesselImage;
30
+ scaleForeImage?: number;
31
+ maxPitchAdvice?: number | undefined;
32
+ maxRollAdvice?: number | undefined;
33
+ triggerPitchAdvice?: boolean;
34
+ triggerRollAdvice?: boolean;
35
+ heaveAdvice?: LinearAdvice[];
36
+ priority?: Priority;
37
+ priorityElements?: PitchRollHeavePriorityElement[];
38
+ }
39
+ export type { ObcPitchRollHeaveType, PitchRollHeavePriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';
40
+ export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
41
+ export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
42
+ export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
43
+ 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>;
44
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcPitchRollHeave.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcPitchRollHeave.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcPitchRollHeave.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as p,reactive as m,useSlots as h,withDirectives as d,openBlock as g,createBlock as u,h as A}from"vue";import{assignSlotNodes as f}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js";const y=p({__name:"ObcPitchRollHeave",props:{type:{},pitch:{},roll:{},heave:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},minTrendHeave:{},maxTrendHeave:{},heaveRange:{},pitchArcAngle:{},rollArcAngle:{},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},pitchLabel:{},rollLabel:{},heaveLabel:{},unit:{},heaveUnit:{},fractionDigits:{},vesselImageFore:{},vesselImageSide:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean},triggerRollAdvice:{type:Boolean},heaveAdvice:{},priority:{},priorityElements:{}},setup(a){const o=a,l=m({}),c={created(t){for(const e in o)l[e]=t[e]}};let n=!1;const s=h(),v=()=>{const e={};for(const r in o){const i=o[r];(i!==void 0||n)&&(e[r]=i??l[r])}return n=!0,A("obc-pitch-roll-heave",e,f(s))};return(t,e)=>d((g(),u(v,null,null,512)),[[c]])}});export{y as default};
2
+ //# sourceMappingURL=ObcPitchRollHeave.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcPitchRollHeave.vue2.js","sources":["../../src/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';\n import {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: ObcPitchRollHeaveType;\n pitch?: number;\n roll?: number;\n heave?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n minTrendHeave?: number;\n maxTrendHeave?: number;\n heaveRange?: number;\n pitchArcAngle?: number;\n rollArcAngle?: number;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n pitchLabel?: string;\n rollLabel?: string;\n heaveLabel?: string;\n unit?: string;\n heaveUnit?: string;\n fractionDigits?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n heaveAdvice?: LinearAdvice[];\n priority?: Priority;\n priorityElements?: PitchRollHeavePriorityElement[]\n }\n\n \n \n export type {ObcPitchRollHeaveType, PitchRollHeavePriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitchRollHeave',\n props: {\n type: {},\n pitch: {},\n roll: {},\n heave: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n minTrendHeave: {},\n maxTrendHeave: {},\n heaveRange: {},\n pitchArcAngle: {},\n rollArcAngle: {},\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n pitchLabel: {},\n rollLabel: {},\n heaveLabel: {},\n unit: {},\n heaveUnit: {},\n fractionDigits: {},\n vesselImageFore: {},\n vesselImageSide: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean },\n triggerRollAdvice: { type: Boolean },\n heaveAdvice: {},\n priority: {},\n priorityElements: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch-roll-heave',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4SAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,KAAM,CAAA,EACN,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,cAAe,CAAA,EACf,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,aAAc,CAAA,EACd,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,OAAA,EAC5B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,YAAa,CAAA,EACb,SAAU,CAAA,EACV,iBAAkB,CAAA,CAAC,EAErB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,uBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -13,6 +13,13 @@ export interface Props {
13
13
  watchCircleType?: WatchCircleType;
14
14
  rotPortStarboard?: boolean;
15
15
  rotAtZeroDeadband?: number;
16
+ hasTrackBar?: boolean;
17
+ rotMaxValue?: number;
18
+ rotArcExtent?: number;
19
+ hasReadout?: boolean;
20
+ label?: string;
21
+ unit?: string;
22
+ fractionDigits?: number;
16
23
  }
17
24
  export type { RotType, RotPosition, WatchCircleType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
18
25
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as P,h as b}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js";const y=u({__name:"ObcRateOfTurn",props:{rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},priority:{},barStartAngle:{},barEndAngle:{},watchCircleType:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{}},setup(c){const e=c,n=f({}),i={created(o){for(const t in e)n[t]=o[t]}};let s=!1;const p=d(),l=()=>{const t={};for(const r in e){const a=e[r];(a!==void 0||s)&&(t[r]=a??n[r])}return s=!0,b("obc-rate-of-turn",t,_(p))};return(o,t)=>m((v(),P(l,null,null,512)),[[i]])}});export{y as default};
1
+ import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as b,h}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js";const _=u({__name:"ObcRateOfTurn",props:{rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},priority:{},barStartAngle:{},barEndAngle:{},watchCircleType:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},hasTrackBar:{type:Boolean},rotMaxValue:{},rotArcExtent:{},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{}},setup(c){const e=c,n=f({}),i={created(o){for(const t in e)n[t]=o[t]}};let a=!1;const l=d(),p=()=>{const t={};for(const r in e){const s=e[r];(s!==void 0||a)&&(t[r]=s??n[r])}return a=!0,h("obc-rate-of-turn",t,P(l))};return(o,t)=>m((v(),b(p,null,null,512)),[[i]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcRateOfTurn.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRateOfTurn.vue2.js","sources":["../../src/navigation-instruments/rate-of-turn/ObcRateOfTurn.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/rate-of-turn/rate-of-turn.js';\n import {RotType, RotPosition, WatchCircleType} 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 rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n priority?: Priority;\n barStartAngle?: number;\n barEndAngle?: number;\n watchCircleType?: WatchCircleType;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {RotType, RotPosition, WatchCircleType} 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: 'ObcRateOfTurn',\n props: {\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n priority: {},\n barStartAngle: {},\n barEndAngle: {},\n watchCircleType: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\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-rate-of-turn',\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":"oSA4BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,SAAU,CAAA,EACV,cAAe,CAAA,EACf,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,CAAC,EAEtB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcRateOfTurn.vue2.js","sources":["../../src/navigation-instruments/rate-of-turn/ObcRateOfTurn.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/rate-of-turn/rate-of-turn.js';\n import {RotType, RotPosition, WatchCircleType} 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 rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n priority?: Priority;\n barStartAngle?: number;\n barEndAngle?: number;\n watchCircleType?: WatchCircleType;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n hasTrackBar?: boolean;\n rotMaxValue?: number;\n rotArcExtent?: number;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number\n }\n\n \n \n export type {RotType, RotPosition, WatchCircleType} 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: 'ObcRateOfTurn',\n props: {\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n priority: {},\n barStartAngle: {},\n barEndAngle: {},\n watchCircleType: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n hasTrackBar: { type: Boolean },\n rotMaxValue: {},\n rotArcExtent: {},\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {}\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-rate-of-turn',\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":"+RAmCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,SAAU,CAAA,EACV,cAAe,CAAA,EACf,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,YAAa,CAAE,KAAM,OAAA,EACrB,YAAa,CAAA,EACb,aAAc,CAAA,EACd,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,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,mBACAI,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"}
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-linear/rot-linear.js';
2
+ import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
+ export interface Props {
4
+ rateOfTurnDegreesPerMinute?: number | undefined;
5
+ rotMaxValue?: number;
6
+ tickInterval?: number;
7
+ rotPortStarboard?: boolean;
8
+ priority?: Priority;
9
+ hasReadout?: boolean;
10
+ label?: string;
11
+ unit?: string;
12
+ fractionDigits?: number;
13
+ }
14
+ export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
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>;
16
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcRotLinear.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcRotLinear.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcRotLinear.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as f,useSlots as d,withDirectives as v,openBlock as m,createBlock as _,h}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-linear/rot-linear.js";const g=u({__name:"ObcRotLinear",props:{rateOfTurnDegreesPerMinute:{},rotMaxValue:{},tickInterval:{},rotPortStarboard:{type:Boolean},priority:{},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{}},setup(c){const t=c,n=f({}),i={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const l=d(),p=()=>{const e={};for(const r in t){const a=t[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-rot-linear",e,P(l))};return(o,e)=>v((m(),_(p,null,null,512)),[[i]])}});export{g as default};
2
+ //# sourceMappingURL=ObcRotLinear.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcRotLinear.vue2.js","sources":["../../src/navigation-instruments/rot-linear/ObcRotLinear.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/rot-linear/rot-linear.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotMaxValue?: number;\n tickInterval?: number;\n rotPortStarboard?: boolean;\n priority?: Priority;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRotLinear',\n props: {\n rateOfTurnDegreesPerMinute: {},\n rotMaxValue: {},\n tickInterval: {},\n rotPortStarboard: { type: Boolean },\n priority: {},\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {}\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-rot-linear',\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":"2RAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,2BAA4B,CAAA,EAC5B,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,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,iBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -0,0 +1,21 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-directions/speed-directions.js';
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';
4
+ export interface Props {
5
+ type?: SpeedDirectionsType;
6
+ frameStyle?: SpeedDirectionsFrameStyle;
7
+ speedAlongKnots?: number | undefined;
8
+ speedAthwartBowKnots?: number | undefined;
9
+ speedAthwartSternKnots?: number | undefined;
10
+ speedAthwartKnots?: number | undefined;
11
+ alongSpeedStepKnots?: number;
12
+ athwartSpeedStepKnots?: number;
13
+ alongMaxSpeedKnots?: number;
14
+ athwartMaxSpeedKnots?: number;
15
+ tintedArrows?: boolean;
16
+ vesselImage?: VesselImage;
17
+ }
18
+ 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
+ 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
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcSpeedDirections.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcSpeedDirections.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcSpeedDirections.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as i,reactive as f,useSlots as u,withDirectives as S,openBlock as m,createBlock as h,h as v}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},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,v("obc-speed-directions",e,w(d))};return(o,e)=>S((m(),h(l,null,null,512)),[[c]])}});export{A as default};
2
+ //# sourceMappingURL=ObcSpeedDirections.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcSpeedDirections.vue2.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 },\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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4SA6BA,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,OAAA,EACtB,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,uBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -0,0 +1,45 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js';
2
+ import { TopViewPropulsionType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js';
3
+ import { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
+ import { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
5
+ import { PropellerImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/propeller.js';
6
+ export interface Props {
7
+ type?: TopViewPropulsionType;
8
+ power?: number;
9
+ powerSetpoint?: number | undefined;
10
+ newPowerSetpoint?: number | undefined;
11
+ atPowerSetpoint?: boolean;
12
+ powerSetpointAtZeroDeadband?: number;
13
+ powerSetpointOverride?: boolean;
14
+ autoAtPowerSetpoint?: boolean;
15
+ autoAtPowerSetpointDeadband?: number;
16
+ rpm?: number;
17
+ rpmSetpoint?: number | undefined;
18
+ newRpmSetpoint?: number | undefined;
19
+ atRpmSetpoint?: boolean;
20
+ rpmSetpointAtZeroDeadband?: number;
21
+ rpmSetpointOverride?: boolean;
22
+ autoAtRpmSetpoint?: boolean;
23
+ autoAtRpmSetpointDeadband?: number;
24
+ pitch?: number;
25
+ touching?: boolean;
26
+ animateSetpoint?: boolean;
27
+ state?: InstrumentState;
28
+ priority?: Priority;
29
+ loading?: number;
30
+ primaryTickmarkInterval?: number | undefined;
31
+ secondaryTickmarkInterval?: number | undefined;
32
+ tertiaryTickmarkInterval?: number | undefined;
33
+ showLabels?: boolean;
34
+ tickmarksInside?: boolean;
35
+ tickmarkStyle?: TickmarkStyle;
36
+ hasLabelSpacer?: boolean;
37
+ propeller?: PropellerImage;
38
+ faceDiameter?: number | undefined;
39
+ }
40
+ export type { TopViewPropulsionType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js';
41
+ export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
42
+ export type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
43
+ export type { PropellerImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/propeller.js';
44
+ 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>;
45
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcTopViewPropulsion.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcTopViewPropulsion.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcTopViewPropulsion.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as m,reactive as d,useSlots as u,withDirectives as S,openBlock as y,createBlock as v,h as w}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js";const h=m({__name:"ObcTopViewPropulsion",props:{type:{},power:{},powerSetpoint:{},newPowerSetpoint:{},atPowerSetpoint:{type:Boolean},powerSetpointAtZeroDeadband:{},powerSetpointOverride:{type:Boolean},autoAtPowerSetpoint:{type:Boolean},autoAtPowerSetpointDeadband:{},rpm:{},rpmSetpoint:{},newRpmSetpoint:{},atRpmSetpoint:{type:Boolean},rpmSetpointAtZeroDeadband:{},rpmSetpointOverride:{type:Boolean},autoAtRpmSetpoint:{type:Boolean},autoAtRpmSetpointDeadband:{},pitch:{},touching:{type:Boolean},animateSetpoint:{type:Boolean},state:{},priority:{},loading:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},tickmarkStyle:{},hasLabelSpacer:{type:Boolean},propeller:{},faceDiameter:{}},setup(i){const t=i,p=d({}),s={created(o){for(const e in t)p[e]=o[e]}};let r=!1;const l=u(),c=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||r)&&(e[n]=a??p[n])}return r=!0,w("obc-top-view-propulsion",e,B(l))};return(o,e)=>S((y(),v(c,null,null,512)),[[s]])}});export{h as default};
2
+ //# sourceMappingURL=ObcTopViewPropulsion.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcTopViewPropulsion.vue2.js","sources":["../../src/navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.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/top-view-propulsion/top-view-propulsion.js';\n import {TopViewPropulsionType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {PropellerImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/propeller.js';\n\n export interface Props {\n type?: TopViewPropulsionType;\n power?: number;\n powerSetpoint?: number | undefined;\n newPowerSetpoint?: number | undefined;\n atPowerSetpoint?: boolean;\n powerSetpointAtZeroDeadband?: number;\n powerSetpointOverride?: boolean;\n autoAtPowerSetpoint?: boolean;\n autoAtPowerSetpointDeadband?: number;\n rpm?: number;\n rpmSetpoint?: number | undefined;\n newRpmSetpoint?: number | undefined;\n atRpmSetpoint?: boolean;\n rpmSetpointAtZeroDeadband?: number;\n rpmSetpointOverride?: boolean;\n autoAtRpmSetpoint?: boolean;\n autoAtRpmSetpointDeadband?: number;\n pitch?: number;\n touching?: boolean;\n animateSetpoint?: boolean;\n state?: InstrumentState;\n priority?: Priority;\n loading?: number;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n hasLabelSpacer?: boolean;\n propeller?: PropellerImage;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {TopViewPropulsionType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {PropellerImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/propeller.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTopViewPropulsion',\n props: {\n type: {},\n power: {},\n powerSetpoint: {},\n newPowerSetpoint: {},\n atPowerSetpoint: { type: Boolean },\n powerSetpointAtZeroDeadband: {},\n powerSetpointOverride: { type: Boolean },\n autoAtPowerSetpoint: { type: Boolean },\n autoAtPowerSetpointDeadband: {},\n rpm: {},\n rpmSetpoint: {},\n newRpmSetpoint: {},\n atRpmSetpoint: { type: Boolean },\n rpmSetpointAtZeroDeadband: {},\n rpmSetpointOverride: { type: Boolean },\n autoAtRpmSetpoint: { type: Boolean },\n autoAtRpmSetpointDeadband: {},\n pitch: {},\n touching: { type: Boolean },\n animateSetpoint: { type: Boolean },\n state: {},\n priority: {},\n loading: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n hasLabelSpacer: { type: Boolean },\n propeller: {},\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-top-view-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","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"kTAqDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,uBACR,MAAO,CACL,KAAM,CAAA,EACN,MAAO,CAAA,EACP,cAAe,CAAA,EACf,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,4BAA6B,CAAA,EAC7B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,4BAA6B,CAAA,EAC7B,IAAK,CAAA,EACL,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,cAAe,CAAE,KAAM,OAAA,EACvB,0BAA2B,CAAA,EAC3B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,0BAA2B,CAAA,EAC3B,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,QAAS,CAAA,EACT,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,eAAgB,CAAE,KAAM,OAAA,EACxB,UAAW,CAAA,EACX,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,0BACAF,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"}
@@ -28,6 +28,7 @@ export interface Props {
28
28
  tickmarkStyle?: TickmarkStyle;
29
29
  advices?: AngleAdviceRaw[];
30
30
  crosshairEnabled?: boolean;
31
+ crosshairCenterCutout?: boolean;
31
32
  showLabels?: boolean;
32
33
  vessels?: WatchVessel[];
33
34
  windKnots?: number | null;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as m,useSlots as u,withDirectives as y,openBlock as B,createBlock as f,h as g}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:{},faceDiameter:{},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:{},clipLeft:{},clipRight:{},endLabelsMaxMin:{type:Boolean},scaleWindIcon:{},rotation:{},zoomToFitArc:{type:Boolean},arcFrame:{},tickFadeAngle:{},rotType:{},rotPosition:{},rotStartAngle:{},rotEndAngle:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(s){const o=s,r=m({}),c={created(t){for(const e in o)r[e]=t[e]}};let a=!1;const l=u(),p=()=>{const e={};for(const n in o){const i=o[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,g("obc-watch",e,h(l))};return(t,e)=>y((B(),f(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 f,h as g}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:{},faceDiameter:{},areas:{},barAreas:{},needles:{},tickmarks:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},crosshairEnabled:{type:Boolean},crosshairCenterCutout:{type:Boolean},showLabels:{type:Boolean},vessels:{},windKnots:{},windFromDirectionDeg:{},windSymbolRadius:{},windColor:{},current:{},currentFromDirectionDeg:{},currentSymbolRadius:{},currentColor:{},starboardPortIndicator:{type:Boolean},clipTop:{},clipBottom:{},clipLeft:{},clipRight:{},endLabelsMaxMin:{type:Boolean},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,g("obc-watch",e,h(l))};return(t,e)=>y((B(),f(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 faceDiameter?: 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 clipLeft?: number;\n clipRight?: number;\n endLabelsMaxMin?: boolean;\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 faceDiameter: {},\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 clipLeft: {},\n clipRight: {},\n endLabelsMaxMin: { type: Boolean },\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":"sRA6EA,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,aAAc,CAAA,EACd,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,SAAU,CAAA,EACV,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,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 faceDiameter?: 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 crosshairCenterCutout?: 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 clipLeft?: number;\n clipRight?: number;\n endLabelsMaxMin?: boolean;\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 faceDiameter: {},\n areas: {},\n barAreas: {},\n needles: {},\n tickmarks: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n crosshairEnabled: { type: Boolean },\n crosshairCenterCutout: { 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 clipLeft: {},\n clipRight: {},\n endLabelsMaxMin: { type: Boolean },\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":"sRA8EA,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,aAAc,CAAA,EACd,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,sBAAuB,CAAE,KAAM,OAAA,EAC/B,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,SAAU,CAAA,EACV,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,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"}
@@ -2,6 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/wa
2
2
  import { Tickmark } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
3
3
  import { Label } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
4
4
  import { SVGTemplateResult } from 'lit';
5
+ import { WatchFlatBarArea, WatchFlatNeedle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';
5
6
  import { RotType, LinearRotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
6
7
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
8
  export interface Props {
@@ -18,6 +19,8 @@ export interface Props {
18
19
  ticksHeight?: number;
19
20
  borderRadius?: number;
20
21
  bottomBar?: boolean;
22
+ barAreas?: WatchFlatBarArea[];
23
+ needles?: WatchFlatNeedle[];
21
24
  rotType?: RotType | undefined;
22
25
  rotPosition?: LinearRotPosition;
23
26
  rotStartX?: number;
@@ -32,6 +35,7 @@ export interface Props {
32
35
  export type { Tickmark } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
33
36
  export type { Label } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
34
37
  export type { SVGTemplateResult } from 'lit';
38
+ export type { WatchFlatBarArea, WatchFlatNeedle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';
35
39
  export type { RotType, LinearRotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
36
40
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
37
41
  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 h,createBlock as g,h as k}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js";const D=d({__name:"ObcWatchFlat",props:{width:{},height:{},padding:{},rotation:{},tickmarkSpacing:{},angleSetpoint:{},tickmarks:{},labels:{},FOVIndicator:{},trackHeight:{},ticksHeight:{},borderRadius:{},bottomBar:{type:Boolean},rotType:{},rotPosition:{},rotStartX:{},rotEndX:{},rotDotSpacing:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(i){const o=i,n=u({}),c={created(e){for(const t in o)n[t]=e[t]}};let a=!1;const p=f(),l=()=>{const t={};for(const r in o){const s=o[r];(s!==void 0||a)&&(t[r]=s??n[r])}return a=!0,k("obc-watch-flat",t,v(p))};return(e,t)=>m((h(),g(l,null,null,512)),[[c]])}});export{D as default};
1
+ import{defineComponent as d,reactive as u,useSlots as f,withDirectives as m,openBlock as h,createBlock as g,h as b}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js";const D=d({__name:"ObcWatchFlat",props:{width:{},height:{},padding:{},rotation:{},tickmarkSpacing:{},angleSetpoint:{},tickmarks:{},labels:{},FOVIndicator:{},trackHeight:{},ticksHeight:{},borderRadius:{},bottomBar:{type:Boolean},barAreas:{},needles:{},rotType:{},rotPosition:{},rotStartX:{},rotEndX:{},rotDotSpacing:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(i){const o=i,n=u({}),c={created(e){for(const t in o)n[t]=e[t]}};let a=!1;const p=f(),l=()=>{const t={};for(const r in o){const s=o[r];(s!==void 0||a)&&(t[r]=s??n[r])}return a=!0,b("obc-watch-flat",t,k(p))};return(e,t)=>m((h(),g(l,null,null,512)),[[c]])}});export{D as default};
2
2
  //# sourceMappingURL=ObcWatchFlat.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcWatchFlat.vue2.js","sources":["../../src/navigation-instruments/watch-flat/ObcWatchFlat.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-flat/watch-flat.js';\n import {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nimport {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {SVGTemplateResult} from 'lit';\nimport {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n width?: number;\n height?: number;\n padding?: number;\n rotation?: number;\n tickmarkSpacing?: number;\n angleSetpoint?: number | undefined;\n tickmarks?: Tickmark[];\n labels?: Label[];\n FOVIndicator?: SVGTemplateResult[];\n trackHeight?: number;\n ticksHeight?: number;\n borderRadius?: number;\n bottomBar?: boolean;\n rotType?: RotType | undefined;\n rotPosition?: LinearRotPosition;\n rotStartX?: number;\n rotEndX?: number;\n rotDotSpacing?: number;\n rotPriority?: Priority;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number\n }\n\n \n \n export type {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nexport type {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {SVGTemplateResult} from 'lit';\nexport type {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatchFlat',\n props: {\n width: {},\n height: {},\n padding: {},\n rotation: {},\n tickmarkSpacing: {},\n angleSetpoint: {},\n tickmarks: {},\n labels: {},\n FOVIndicator: {},\n trackHeight: {},\n ticksHeight: {},\n borderRadius: {},\n bottomBar: { type: Boolean },\n rotType: {},\n rotPosition: {},\n rotStartX: {},\n rotEndX: {},\n rotDotSpacing: {},\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-flat',\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":"gSA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,QAAS,CAAA,EACT,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,cAAe,CAAA,EACf,UAAW,CAAA,EACX,OAAQ,CAAA,EACR,aAAc,CAAA,EACd,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,UAAW,CAAE,KAAM,OAAA,EACnB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,UAAW,CAAA,EACX,QAAS,CAAA,EACT,cAAe,CAAA,EACf,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,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcWatchFlat.vue2.js","sources":["../../src/navigation-instruments/watch-flat/ObcWatchFlat.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-flat/watch-flat.js';\n import {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nimport {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {SVGTemplateResult} from 'lit';\nimport {WatchFlatBarArea, WatchFlatNeedle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';\nimport {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n width?: number;\n height?: number;\n padding?: number;\n rotation?: number;\n tickmarkSpacing?: number;\n angleSetpoint?: number | undefined;\n tickmarks?: Tickmark[];\n labels?: Label[];\n FOVIndicator?: SVGTemplateResult[];\n trackHeight?: number;\n ticksHeight?: number;\n borderRadius?: number;\n bottomBar?: boolean;\n barAreas?: WatchFlatBarArea[];\n needles?: WatchFlatNeedle[];\n rotType?: RotType | undefined;\n rotPosition?: LinearRotPosition;\n rotStartX?: number;\n rotEndX?: number;\n rotDotSpacing?: number;\n rotPriority?: Priority;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number\n }\n\n \n \n export type {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nexport type {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {SVGTemplateResult} from 'lit';\nexport type {WatchFlatBarArea, WatchFlatNeedle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';\nexport type {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatchFlat',\n props: {\n width: {},\n height: {},\n padding: {},\n rotation: {},\n tickmarkSpacing: {},\n angleSetpoint: {},\n tickmarks: {},\n labels: {},\n FOVIndicator: {},\n trackHeight: {},\n ticksHeight: {},\n borderRadius: {},\n bottomBar: { type: Boolean },\n barAreas: {},\n needles: {},\n rotType: {},\n rotPosition: {},\n rotStartX: {},\n rotEndX: {},\n rotDotSpacing: {},\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-flat',\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":"gSAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,QAAS,CAAA,EACT,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,cAAe,CAAA,EACf,UAAW,CAAA,EACX,OAAQ,CAAA,EACR,aAAc,CAAA,EACd,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,UAAW,CAAE,KAAM,OAAA,EACnB,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,YAAa,CAAA,EACb,UAAW,CAAA,EACX,QAAS,CAAA,EACT,cAAe,CAAA,EACf,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,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
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.103",
11
+ "version": "2.0.0-next.105",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.0.0-next.102",
13
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.104",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },
@@ -2309,6 +2309,7 @@
2309
2309
  "navigation-instruments/compass-sector/ObcCompassSector.*",
2310
2310
  "navigation-instruments/depth-actual/ObcDepthActual.*",
2311
2311
  "navigation-instruments/depth-indicator/ObcDepthIndicator.*",
2312
+ "navigation-instruments/draft-trim/ObcDraftTrim.*",
2312
2313
  "navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.*",
2313
2314
  "navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.*",
2314
2315
  "navigation-instruments/gauge-radial/ObcGaugeRadial.*",
@@ -2328,6 +2329,7 @@
2328
2329
  "navigation-instruments/pitch/ObcPitch.*",
2329
2330
  "navigation-instruments/pitch-indicator/ObcPitchIndicator.*",
2330
2331
  "navigation-instruments/pitch-roll/ObcPitchRoll.*",
2332
+ "navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.*",
2331
2333
  "navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.*",
2332
2334
  "navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.*",
2333
2335
  "navigation-instruments/rate-of-turn/ObcRateOfTurn.*",
@@ -2337,13 +2339,16 @@
2337
2339
  "navigation-instruments/roll/ObcRoll.*",
2338
2340
  "navigation-instruments/roll-indicator/ObcRollIndicator.*",
2339
2341
  "navigation-instruments/rot-indicator/ObcRotIndicator.*",
2342
+ "navigation-instruments/rot-linear/ObcRotLinear.*",
2340
2343
  "navigation-instruments/rot-sector/ObcRotSector.*",
2341
2344
  "navigation-instruments/rudder/ObcRudder.*",
2342
2345
  "navigation-instruments/rudder-indicator/ObcRudderIndicator.*",
2343
2346
  "navigation-instruments/speed-arrows/ObcSpeedArrows.*",
2347
+ "navigation-instruments/speed-directions/ObcSpeedDirections.*",
2344
2348
  "navigation-instruments/speed-gauge/ObcSpeedGauge.*",
2345
2349
  "navigation-instruments/speed-indicator/ObcSpeedIndicator.*",
2346
2350
  "navigation-instruments/thruster/ObcThruster.*",
2351
+ "navigation-instruments/top-view-propulsion/ObcTopViewPropulsion.*",
2347
2352
  "navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.*",
2348
2353
  "navigation-instruments/watch/ObcWatch.*",
2349
2354
  "navigation-instruments/watch-flat/ObcWatchFlat.*",