@oicl/openbridge-webcomponents-vue 2.0.0-next.60 → 2.0.0-next.62

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 (30) hide show
  1. package/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.vue.d.ts +11 -0
  2. package/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.vue.js +2 -0
  3. package/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.vue.js.map +1 -0
  4. package/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.vue2.js +2 -0
  5. package/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.vue2.js.map +1 -0
  6. package/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.vue.d.ts +2 -10
  7. package/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.vue2.js +1 -1
  8. package/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.vue2.js.map +1 -1
  9. package/navigation-instruments/compass-sector/ObcCompassSector.vue.d.ts +3 -0
  10. package/navigation-instruments/compass-sector/ObcCompassSector.vue2.js +1 -1
  11. package/navigation-instruments/compass-sector/ObcCompassSector.vue2.js.map +1 -1
  12. package/navigation-instruments/gauge-radial/ObcGaugeRadial.vue.d.ts +1 -1
  13. package/navigation-instruments/gauge-radial/ObcGaugeRadial.vue2.js +1 -1
  14. package/navigation-instruments/gauge-radial/ObcGaugeRadial.vue2.js.map +1 -1
  15. package/navigation-instruments/pitch/ObcPitch.vue.d.ts +4 -1
  16. package/navigation-instruments/pitch/ObcPitch.vue2.js +1 -1
  17. package/navigation-instruments/pitch/ObcPitch.vue2.js.map +1 -1
  18. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue.d.ts +4 -0
  19. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue2.js +1 -1
  20. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue2.js.map +1 -1
  21. package/navigation-instruments/roll/ObcRoll.vue.d.ts +4 -1
  22. package/navigation-instruments/roll/ObcRoll.vue2.js +1 -1
  23. package/navigation-instruments/roll/ObcRoll.vue2.js.map +1 -1
  24. package/navigation-instruments/rot-sector/ObcRotSector.vue.d.ts +3 -0
  25. package/navigation-instruments/rot-sector/ObcRotSector.vue2.js +1 -1
  26. package/navigation-instruments/rot-sector/ObcRotSector.vue2.js.map +1 -1
  27. package/navigation-instruments/speed-gauge/ObcSpeedGauge.vue.d.ts +4 -1
  28. package/navigation-instruments/speed-gauge/ObcSpeedGauge.vue2.js +1 -1
  29. package/navigation-instruments/speed-gauge/ObcSpeedGauge.vue2.js.map +1 -1
  30. package/package.json +3 -2
@@ -0,0 +1,11 @@
1
+ import '@oicl/openbridge-webcomponents/dist/building-blocks/single-axis-inclinometer/single-axis-inclinometer.js';
2
+ import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
+ export interface Props {
4
+ zoomToFitArc?: boolean;
5
+ hasReadout?: boolean;
6
+ priority?: Priority;
7
+ arcAngle?: number;
8
+ }
9
+ export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./SingleAxisInclinometer.vue2.js";export{f as default};
2
+ //# sourceMappingURL=SingleAxisInclinometer.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SingleAxisInclinometer.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/single-axis-inclinometer/single-axis-inclinometer.js";const A=u({__name:"SingleAxisInclinometer",props:{zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},priority:{},arcAngle:{}},setup(i){const o=i,s=d({}),l={created(t){for(const e in o)s[e]=t[e]}};let r=!1;const p=f(),a=()=>{const e={};for(const n in o){const c=o[n];(c!==void 0||r)&&(e[n]=c??s[n])}return r=!0,h("undefined",e,B(p))};return(t,e)=>m((v(),_(a,null,null,512)),[[l]])}});export{A as default};
2
+ //# sourceMappingURL=SingleAxisInclinometer.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SingleAxisInclinometer.vue2.js","sources":["../../src/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.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/building-blocks/single-axis-inclinometer/single-axis-inclinometer.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: 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: 'SingleAxisInclinometer',\n props: {\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"gTAmBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,yBACR,MAAO,CACL,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,YACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,14 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js';
2
2
  export interface Props {
3
- numberOfButtons?: number;
3
+ hideAlarmList?: boolean;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- "button1-click": (payload: CustomEvent<unknown>) => any;
7
- "button2-click": (payload: CustomEvent<unknown>) => any;
8
- "button3-click": (payload: CustomEvent<unknown>) => any;
9
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
- "onButton1-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
11
- "onButton2-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
12
- "onButton3-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ 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>;
14
6
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as f,reactive as k,useSlots as b,withDirectives as d,openBlock as v,createBlock as B,h as _}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js";const x=f({__name:"ObcIntegrationVesselMenu",props:{numberOfButtons:{}},emits:["button1-click","button2-click","button3-click"],setup(l,{emit:u}){const n=l,s=k({}),p={created(c){for(const o in n)s[o]=c[o]}};let r=!1;const e=u,a=b(),m=()=>{const o={onButton1Click:t=>e("button1-click",t),onButton2Click:t=>e("button2-click",t),onButton3Click:t=>e("button3-click",t)};for(const t in n){const i=n[t];(i!==void 0||r)&&(o[t]=i??s[t])}return r=!0,_("obc-integration-vessel-menu",o,h(a))};return(c,o)=>d((v(),B(m,null,null,512)),[[p]])}});export{x as default};
1
+ import{defineComponent as u,reactive as f,useSlots as d,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/integration-systems/integration-vessel-menu/integration-vessel-menu.js";const k=u({__name:"ObcIntegrationVesselMenu",props:{hideAlarmList:{type:Boolean}},setup(i){const t=i,s=f({}),l={created(o){for(const e in t)s[e]=o[e]}};let r=!1;const a=d(),p=()=>{const e={};for(const n in t){const c=t[n];(c!==void 0||r)&&(e[n]=c??s[n])}return r=!0,h("obc-integration-vessel-menu",e,g(a))};return(o,e)=>m((v(),_(p,null,null,512)),[[l]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcIntegrationVesselMenu.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcIntegrationVesselMenu.vue2.js","sources":["../../src/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.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/integration-systems/integration-vessel-menu/integration-vessel-menu.js';\n \n\n export interface Props {\n numberOfButtons?: number\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationVesselMenu',\n props: {\n numberOfButtons: {}\n },\n emits: [\"button1-click\", \"button2-click\", \"button3-click\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onButton1Click: (event: CustomEvent<unknown>) => emit('button1-click', event as CustomEvent<unknown>),\nonButton2Click: (event: CustomEvent<unknown>) => emit('button2-click', event as CustomEvent<unknown>),\nonButton3Click: (event: CustomEvent<unknown>) => emit('button3-click', event as CustomEvent<unknown>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-integration-vessel-menu',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uTAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,2BACR,MAAO,CACL,gBAAiB,CAAA,CAAC,EAEpB,MAAO,CAAC,gBAAiB,gBAAiB,eAAe,EACzD,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAMnB,MAAMC,EALa,CACvB,eAAiBC,GAAgCL,EAAK,gBAAiBK,CAA6B,EACxG,eAAiBA,GAAgCL,EAAK,gBAAiBK,CAA6B,EACpG,eAAiBA,GAAgCL,EAAK,gBAAiBK,CAA6B,CAAA,EAK9F,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,8BACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcIntegrationVesselMenu.vue2.js","sources":["../../src/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.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/integration-systems/integration-vessel-menu/integration-vessel-menu.js';\n \n\n export interface Props {\n hideAlarmList?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationVesselMenu',\n props: {\n hideAlarmList: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-integration-vessel-menu',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"kTAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,2BACR,MAAO,CACL,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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,8BACAI,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"}
@@ -31,6 +31,9 @@ export interface Props {
31
31
  tickmarksInside?: boolean;
32
32
  zoomToFitArc?: boolean;
33
33
  hasReadout?: boolean;
34
+ label?: string;
35
+ unit?: string;
36
+ fractionDigits?: number;
34
37
  }
35
38
  export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
36
39
  export type { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
@@ -1,2 +1,2 @@
1
- import{defineComponent as m,reactive as f,useSlots as g,withDirectives as y,openBlock as S,createBlock as h,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js";const b=m({__name:"ObcCompassSector",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},minFOV:{},rotType:{},rotPosition:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotMaxValue:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},state:{},priority:{},priorityElements:{},tickmarksInside:{type:Boolean},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean}},emits:["None"],setup(s,{emit:p}){const o=s,r=f({}),c={created(n){for(const e in o)r[e]=n[e]}};let a=!1;const d=p,l=g(),u=()=>{const e={onNone:t=>d("None",t)};for(const t in o){const i=o[t];(i!==void 0||a)&&(e[t]=i??r[t])}return a=!0,v("obc-compass-sector",e,B(l))};return(n,e)=>y((S(),h(u,null,null,512)),[[c]])}});export{b as default};
1
+ import{defineComponent as m,reactive as f,useSlots as g,withDirectives as y,openBlock as S,createBlock as h,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js";const P=m({__name:"ObcCompassSector",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},minFOV:{},rotType:{},rotPosition:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotMaxValue:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},state:{},priority:{},priorityElements:{},tickmarksInside:{type:Boolean},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{}},emits:["None"],setup(s,{emit:p}){const o=s,r=f({}),c={created(n){for(const e in o)r[e]=n[e]}};let a=!1;const d=p,l=g(),u=()=>{const e={onNone:t=>d("None",t)};for(const t in o){const i=o[t];(i!==void 0||a)&&(e[t]=i??r[t])}return a=!0,v("obc-compass-sector",e,B(l))};return(n,e)=>y((S(),h(u,null,null,512)),[[c]])}});export{P as default};
2
2
  //# sourceMappingURL=ObcCompassSector.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcCompassSector.vue2.js","sources":["../../src/navigation-instruments/compass-sector/ObcCompassSector.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-sector/compass-sector.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.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 minFOV?: number;\n rotType?: RotType | undefined;\n rotPosition?: RotPosition;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassSectorPriorityElement[];\n tickmarksInside?: boolean;\n zoomToFitArc?: boolean;\n hasReadout?: boolean\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassSector',\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 minFOV: {},\n rotType: {},\n rotPosition: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotMaxValue: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n state: {},\n priority: {},\n priorityElements: {},\n tickmarksInside: { type: Boolean },\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean }\n },\n emits: [\"None\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onNone: (event: CustomEvent<unknown>) => emit('None', event as CustomEvent<unknown>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass-sector',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"wSAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,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,OAAQ,CAAA,EACR,QAAS,CAAA,EACT,YAAa,CAAA,EACb,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,CAAQ,EAE9B,MAAO,CAAC,MAAM,EACd,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,OAASC,GAAgCL,EAAK,OAAQK,CAA6B,CAAA,EAKjF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcCompassSector.vue2.js","sources":["../../src/navigation-instruments/compass-sector/ObcCompassSector.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-sector/compass-sector.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.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 minFOV?: number;\n rotType?: RotType | undefined;\n rotPosition?: RotPosition;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassSectorPriorityElement[];\n tickmarksInside?: boolean;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {CompassSectorPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassSector',\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 minFOV: {},\n rotType: {},\n rotPosition: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotMaxValue: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n state: {},\n priority: {},\n priorityElements: {},\n tickmarksInside: { type: Boolean },\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {}\n },\n emits: [\"None\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onNone: (event: CustomEvent<unknown>) => emit('None', event as CustomEvent<unknown>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass-sector',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"wSAmDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,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,OAAQ,CAAA,EACR,QAAS,CAAA,EACT,YAAa,CAAA,EACb,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,CAAC,EAEnB,MAAO,CAAC,MAAM,EACd,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,OAASC,GAAgCL,EAAK,OAAQK,CAA6B,CAAA,EAKjF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -17,7 +17,7 @@ export interface Props {
17
17
  tickmarkStyle?: TickmarkStyle;
18
18
  advices?: GaugeRadialAdvice[];
19
19
  sector?: GaugeRadialSector;
20
- showReadout?: boolean;
20
+ hasReadout?: boolean;
21
21
  label?: string;
22
22
  unit?: string;
23
23
  fractionDigits?: number;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as m,withDirectives as v,openBlock as y,createBlock as f,h as k}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js";const g=u({__name:"ObcGaugeRadial",props:{value:{},maxValue:{},minValue:{},showLabels:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},state:{},priority:{},type:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},sector:{},showReadout:{type:Boolean},label:{},unit:{},fractionDigits:{},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(i){const t=i,a=d({}),p={created(o){for(const e in t)a[e]=o[e]}};let r=!1;const l=m(),c=()=>{const e={};for(const n in t){const s=t[n];(s!==void 0||r)&&(e[n]=s??a[n])}return r=!0,k("obc-gauge-radial",e,B(l))};return(o,e)=>v((y(),f(c,null,null,512)),[[p]])}});export{g as default};
1
+ import{defineComponent as u,reactive as d,useSlots as m,withDirectives as v,openBlock as y,createBlock as f,h as k}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js";const g=u({__name:"ObcGaugeRadial",props:{value:{},maxValue:{},minValue:{},showLabels:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},state:{},priority:{},type:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},sector:{},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(i){const t=i,n=d({}),p={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const l=m(),c=()=>{const e={};for(const a in t){const s=t[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,k("obc-gauge-radial",e,B(l))};return(o,e)=>v((y(),f(c,null,null,512)),[[p]])}});export{g as default};
2
2
  //# sourceMappingURL=ObcGaugeRadial.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcGaugeRadial.vue2.js","sources":["../../src/navigation-instruments/gauge-radial/ObcGaugeRadial.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/gauge-radial/gauge-radial.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n\n export interface Props {\n value?: number;\n maxValue?: number;\n minValue?: number;\n showLabels?: boolean;\n primaryTickmarkInterval?: number;\n secondaryTickmarkInterval?: number;\n tertiaryTickmarkInterval?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n type?: ObcGaugeRadialType;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: GaugeRadialAdvice[];\n sector?: GaugeRadialSector;\n showReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeRadial',\n props: {\n value: {},\n maxValue: {},\n minValue: {},\n showLabels: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n state: {},\n priority: {},\n type: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n sector: {},\n showReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {},\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-gauge-radial',\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":"oSA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,MAAO,CAAA,EACP,SAAU,CAAA,EACV,KAAM,CAAA,EACN,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,OAAQ,CAAA,EACR,YAAa,CAAE,KAAM,OAAA,EACrB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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":"ObcGaugeRadial.vue2.js","sources":["../../src/navigation-instruments/gauge-radial/ObcGaugeRadial.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/gauge-radial/gauge-radial.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n\n export interface Props {\n value?: number;\n maxValue?: number;\n minValue?: number;\n showLabels?: boolean;\n primaryTickmarkInterval?: number;\n secondaryTickmarkInterval?: number;\n tertiaryTickmarkInterval?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n type?: ObcGaugeRadialType;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: GaugeRadialAdvice[];\n sector?: GaugeRadialSector;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcGaugeRadialType, GaugeRadialAdvice, GaugeRadialSector} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-radial/gauge-radial.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeRadial',\n props: {\n value: {},\n maxValue: {},\n minValue: {},\n showLabels: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n state: {},\n priority: {},\n type: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n sector: {},\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {},\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-gauge-radial',\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":"oSA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,MAAO,CAAA,EACP,SAAU,CAAA,EACV,KAAM,CAAA,EACN,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,OAAQ,CAAA,EACR,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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"}
@@ -9,9 +9,12 @@ export interface Props {
9
9
  vesselImageSide?: VesselImage;
10
10
  maxPitchAdvice?: number | undefined;
11
11
  triggerPitchAdvice?: boolean;
12
+ label?: string;
13
+ unit?: string;
14
+ fractionDigits?: number;
15
+ type?: ObcPitchType;
12
16
  zoomToFitArc?: boolean;
13
17
  hasReadout?: boolean;
14
- type?: ObcPitchType;
15
18
  priority?: Priority;
16
19
  arcAngle?: number;
17
20
  }
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as m,useSlots as u,withDirectives as v,openBlock as h,createBlock as f,h as P}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js";const B=d({__name:"ObcPitch",props:{pitch:{},minAvgPitch:{},maxAvgPitch:{},vesselImageSide:{},maxPitchAdvice:{},triggerPitchAdvice:{type:Boolean},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},type:{},priority:{},arcAngle:{}},setup(i){const t=i,n=m({}),p={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const a=u(),l=()=>{const e={};for(const c in t){const r=t[c];(r!==void 0||s)&&(e[c]=r??n[c])}return s=!0,P("obc-pitch",e,g(a))};return(o,e)=>v((h(),f(l,null,null,512)),[[p]])}});export{B as default};
1
+ import{defineComponent as u,reactive as d,useSlots as m,withDirectives as v,openBlock as f,createBlock as h,h as g}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js";const B=u({__name:"ObcPitch",props:{pitch:{},minAvgPitch:{},maxAvgPitch:{},vesselImageSide:{},maxPitchAdvice:{},triggerPitchAdvice:{type:Boolean},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},priority:{},arcAngle:{}},setup(i){const t=i,c=d({}),a={created(o){for(const e in t)c[e]=o[e]}};let s=!1;const p=m(),l=()=>{const e={};for(const n in t){const r=t[n];(r!==void 0||s)&&(e[n]=r??c[n])}return s=!0,g("obc-pitch",e,P(p))};return(o,e)=>v((f(),h(l,null,null,512)),[[a]])}});export{B as default};
2
2
  //# sourceMappingURL=ObcPitch.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPitch.vue2.js","sources":["../../src/navigation-instruments/pitch/ObcPitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n pitch?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n vesselImageSide?: VesselImage;\n maxPitchAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n type?: ObcPitchType;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitch',\n props: {\n pitch: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n vesselImageSide: {},\n maxPitchAdvice: {},\n triggerPitchAdvice: { type: Boolean },\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n type: {},\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,KAAM,CAAA,EACN,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcPitch.vue2.js","sources":["../../src/navigation-instruments/pitch/ObcPitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n pitch?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n vesselImageSide?: VesselImage;\n maxPitchAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcPitchType;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcPitchType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch/pitch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitch',\n props: {\n pitch: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n vesselImageSide: {},\n maxPitchAdvice: {},\n triggerPitchAdvice: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {},\n type: {},\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,YAAa,CAAA,EACb,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -19,6 +19,10 @@ export interface Props {
19
19
  priority?: Priority;
20
20
  priorityElements?: PitchRollPriorityElement[];
21
21
  hasReadout?: boolean;
22
+ pitchLabel?: string;
23
+ rollLabel?: string;
24
+ unit?: string;
25
+ fractionDigits?: number;
22
26
  zoomToFitArc?: boolean;
23
27
  arcAngle?: number;
24
28
  pitchArcAngle?: number | undefined;
@@ -1,2 +1,2 @@
1
- import{defineComponent as m,reactive as v,useSlots as d,withDirectives as g,openBlock as A,createBlock as h,h as u}from"vue";import{assignSlotNodes as f}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js";const y=m({__name:"ObcPitchRoll",props:{pitch:{},roll:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},vesselImageSide:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean},triggerRollAdvice:{type:Boolean},priority:{},priorityElements:{},hasReadout:{type:Boolean},zoomToFitArc:{type:Boolean},arcAngle:{},pitchArcAngle:{},rollArcAngle:{}},setup(s){const o=s,l=v({}),i={created(t){for(const e in o)l[e]=t[e]}};let c=!1;const a=d(),p=()=>{const e={};for(const r in o){const n=o[r];(n!==void 0||c)&&(e[r]=n??l[r])}return c=!0,u("obc-pitch-roll",e,f(a))};return(t,e)=>g((A(),h(p,null,null,512)),[[i]])}});export{y as default};
1
+ import{defineComponent as m,reactive as v,useSlots as g,withDirectives as d,openBlock as h,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/pitch-roll.js";const y=m({__name:"ObcPitchRoll",props:{pitch:{},roll:{},minAvgPitch:{},maxAvgPitch:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},vesselImageSide:{},scaleForeImage:{},maxPitchAdvice:{},maxRollAdvice:{},triggerPitchAdvice:{type:Boolean},triggerRollAdvice:{type:Boolean},priority:{},priorityElements:{},hasReadout:{type:Boolean},pitchLabel:{},rollLabel:{},unit:{},fractionDigits:{},zoomToFitArc:{type:Boolean},arcAngle:{},pitchArcAngle:{},rollArcAngle:{}},setup(n){const o=n,l=v({}),s={created(t){for(const e in o)l[e]=t[e]}};let c=!1;const a=g(),p=()=>{const e={};for(const r in o){const i=o[r];(i!==void 0||c)&&(e[r]=i??l[r])}return c=!0,A("obc-pitch-roll",e,f(a))};return(t,e)=>d((h(),u(p,null,null,512)),[[s]])}});export{y as default};
2
2
  //# sourceMappingURL=ObcPitchRoll.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPitchRoll.vue2.js","sources":["../../src/navigation-instruments/pitch-roll/ObcPitchRoll.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\n\n export interface Props {\n pitch?: number;\n roll?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n priority?: Priority;\n priorityElements?: PitchRollPriorityElement[];\n hasReadout?: boolean;\n zoomToFitArc?: boolean;\n arcAngle?: number;\n pitchArcAngle?: number | undefined;\n rollArcAngle?: number | undefined\n }\n\n \n \n export 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 {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitchRoll',\n props: {\n pitch: {},\n roll: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n vesselImageSide: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean },\n triggerRollAdvice: { type: Boolean },\n priority: {},\n priorityElements: {},\n hasReadout: { type: Boolean },\n zoomToFitArc: { type: Boolean },\n arcAngle: {},\n pitchArcAngle: {},\n rollArcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch-roll',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gSAuCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,OAAA,EAC5B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,aAAc,CAAE,KAAM,OAAA,EACtB,SAAU,CAAA,EACV,cAAe,CAAA,EACf,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,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":"ObcPitchRoll.vue2.js","sources":["../../src/navigation-instruments/pitch-roll/ObcPitchRoll.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\n\n export interface Props {\n pitch?: number;\n roll?: number;\n minAvgPitch?: number;\n maxAvgPitch?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n vesselImageSide?: VesselImage;\n scaleForeImage?: number;\n maxPitchAdvice?: number | undefined;\n maxRollAdvice?: number | undefined;\n triggerPitchAdvice?: boolean;\n triggerRollAdvice?: boolean;\n priority?: Priority;\n priorityElements?: PitchRollPriorityElement[];\n hasReadout?: boolean;\n pitchLabel?: string;\n rollLabel?: string;\n unit?: string;\n fractionDigits?: number;\n zoomToFitArc?: boolean;\n arcAngle?: number;\n pitchArcAngle?: number | undefined;\n rollArcAngle?: number | undefined\n }\n\n \n \n export type {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 {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/pitch-roll/pitch-roll.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPitchRoll',\n props: {\n pitch: {},\n roll: {},\n minAvgPitch: {},\n maxAvgPitch: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n vesselImageSide: {},\n scaleForeImage: {},\n maxPitchAdvice: {},\n maxRollAdvice: {},\n triggerPitchAdvice: { type: Boolean },\n triggerRollAdvice: { type: Boolean },\n priority: {},\n priorityElements: {},\n hasReadout: { type: Boolean },\n pitchLabel: {},\n rollLabel: {},\n unit: {},\n fractionDigits: {},\n zoomToFitArc: { type: Boolean },\n arcAngle: {},\n pitchArcAngle: {},\n rollArcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pitch-roll',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gSA2CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,mBAAoB,CAAE,KAAM,OAAA,EAC5B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,aAAc,CAAE,KAAM,OAAA,EACtB,SAAU,CAAA,EACV,cAAe,CAAA,EACf,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,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"}
@@ -10,9 +10,12 @@ export interface Props {
10
10
  scaleForeImage?: number;
11
11
  maxRollAdvice?: number | undefined;
12
12
  triggerRollAdvice?: boolean;
13
+ label?: string;
14
+ unit?: string;
15
+ fractionDigits?: number;
16
+ type?: ObcRollType;
13
17
  zoomToFitArc?: boolean;
14
18
  hasReadout?: boolean;
15
- type?: ObcRollType;
16
19
  priority?: Priority;
17
20
  arcAngle?: number;
18
21
  }
@@ -1,2 +1,2 @@
1
- import{defineComponent as m,reactive as u,useSlots as v,withDirectives as d,openBlock as f,createBlock as g,h as R}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js";const B=m({__name:"ObcRoll",props:{roll:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},scaleForeImage:{},maxRollAdvice:{},triggerRollAdvice:{type:Boolean},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},type:{},priority:{},arcAngle:{}},setup(c){const o=c,s=u({}),a={created(t){for(const e in o)s[e]=t[e]}};let l=!1;const i=v(),p=()=>{const e={};for(const r in o){const n=o[r];(n!==void 0||l)&&(e[r]=n??s[r])}return l=!0,R("obc-roll",e,A(i))};return(t,e)=>d((f(),g(p,null,null,512)),[[a]])}});export{B as default};
1
+ import{defineComponent as m,reactive as u,useSlots as v,withDirectives as d,openBlock as f,createBlock as g,h as R}from"vue";import{assignSlotNodes as A}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js";const B=m({__name:"ObcRoll",props:{roll:{},minAvgRoll:{},maxAvgRoll:{},vesselImageFore:{},scaleForeImage:{},maxRollAdvice:{},triggerRollAdvice:{type:Boolean},label:{},unit:{},fractionDigits:{},type:{},zoomToFitArc:{type:Boolean},hasReadout:{type:Boolean},priority:{},arcAngle:{}},setup(c){const o=c,l=u({}),a={created(t){for(const e in o)l[e]=t[e]}};let n=!1;const i=v(),p=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||n)&&(e[r]=s??l[r])}return n=!0,R("obc-roll",e,A(i))};return(t,e)=>d((f(),g(p,null,null,512)),[[a]])}});export{B as default};
2
2
  //# sourceMappingURL=ObcRoll.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRoll.vue2.js","sources":["../../src/navigation-instruments/roll/ObcRoll.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n roll?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n scaleForeImage?: number;\n maxRollAdvice?: number | undefined;\n triggerRollAdvice?: boolean;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n type?: ObcRollType;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRoll',\n props: {\n roll: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n scaleForeImage: {},\n maxRollAdvice: {},\n triggerRollAdvice: { type: Boolean },\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n type: {},\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-roll',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oRA+BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,kBAAmB,CAAE,KAAM,OAAA,EAC3B,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,KAAM,CAAA,EACN,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcRoll.vue2.js","sources":["../../src/navigation-instruments/roll/ObcRoll.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\n import {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n roll?: number;\n minAvgRoll?: number;\n maxAvgRoll?: number;\n vesselImageFore?: VesselImage;\n scaleForeImage?: number;\n maxRollAdvice?: number | undefined;\n triggerRollAdvice?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n type?: ObcRollType;\n zoomToFitArc?: boolean;\n hasReadout?: boolean;\n priority?: Priority;\n arcAngle?: number\n }\n\n \n \n export type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {ObcRollType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/roll/roll.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRoll',\n props: {\n roll: {},\n minAvgRoll: {},\n maxAvgRoll: {},\n vesselImageFore: {},\n scaleForeImage: {},\n maxRollAdvice: {},\n triggerRollAdvice: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {},\n type: {},\n zoomToFitArc: { type: Boolean },\n hasReadout: { type: Boolean },\n priority: {},\n arcAngle: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-roll',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oRAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,kBAAmB,CAAE,KAAM,OAAA,EAC3B,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,SAAU,CAAA,CAAC,EAEb,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -17,6 +17,9 @@ export interface Props {
17
17
  zoomToFitArc?: boolean;
18
18
  rotArcExtent?: number;
19
19
  hasReadout?: boolean;
20
+ label?: string;
21
+ unit?: string;
22
+ fractionDigits?: number;
20
23
  setpoint?: number | undefined;
21
24
  newSetpoint?: number | undefined;
22
25
  atSetpoint?: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as y,openBlock as v,createBlock as k,h as B}from"vue";import{assignSlotNodes as f}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-sector/rot-sector.js";const _=d({__name:"ObcRotSector",props:{value:{},maxValue:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},priority:{},portStarboard:{type:Boolean},tickmarkStyle:{},advices:{},zoomToFitArc:{type:Boolean},rotArcExtent:{},hasReadout:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(i){const e=i,r=u({}),p={created(o){for(const t in e)r[t]=o[t]}};let a=!1;const c=m(),l=()=>{const t={};for(const n in e){const s=e[n];(s!==void 0||a)&&(t[n]=s??r[n])}return a=!0,B("obc-rot-sector",t,f(c))};return(o,t)=>y((v(),k(l,null,null,512)),[[p]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as y,openBlock as v,createBlock as f,h as k}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-sector/rot-sector.js";const _=d({__name:"ObcRotSector",props:{value:{},maxValue:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},priority:{},portStarboard:{type:Boolean},tickmarkStyle:{},advices:{},zoomToFitArc:{type:Boolean},rotArcExtent:{},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(i){const e=i,r=u({}),p={created(o){for(const t in e)r[t]=o[t]}};let a=!1;const c=m(),l=()=>{const t={};for(const n in e){const s=e[n];(s!==void 0||a)&&(t[n]=s??r[n])}return a=!0,k("obc-rot-sector",t,B(c))};return(o,t)=>y((v(),f(l,null,null,512)),[[p]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcRotSector.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRotSector.vue2.js","sources":["../../src/navigation-instruments/rot-sector/ObcRotSector.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-sector/rot-sector.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-sector/rot-sector.js';\n\n export interface Props {\n value?: number;\n maxValue?: number;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n priority?: Priority;\n portStarboard?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: GaugeRadialAdvice[];\n zoomToFitArc?: boolean;\n rotArcExtent?: number;\n hasReadout?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {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 {GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-sector/rot-sector.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRotSector',\n props: {\n value: {},\n maxValue: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n priority: {},\n portStarboard: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n zoomToFitArc: { type: Boolean },\n rotArcExtent: {},\n hasReadout: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-rot-sector',\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":"gSA0CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,SAAU,CAAA,EACV,cAAe,CAAE,KAAM,OAAA,EACvB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,aAAc,CAAE,KAAM,OAAA,EACtB,aAAc,CAAA,EACd,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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":"ObcRotSector.vue2.js","sources":["../../src/navigation-instruments/rot-sector/ObcRotSector.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-sector/rot-sector.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-sector/rot-sector.js';\n\n export interface Props {\n value?: number;\n maxValue?: number;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n priority?: Priority;\n portStarboard?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: GaugeRadialAdvice[];\n zoomToFitArc?: boolean;\n rotArcExtent?: number;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {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 {GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-sector/rot-sector.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRotSector',\n props: {\n value: {},\n maxValue: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n priority: {},\n portStarboard: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n zoomToFitArc: { type: Boolean },\n rotArcExtent: {},\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {},\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-rot-sector',\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":"gSA6CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,SAAU,CAAA,EACV,cAAe,CAAE,KAAM,OAAA,EACvB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,aAAc,CAAE,KAAM,OAAA,EACtB,aAAc,CAAA,EACd,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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"}
@@ -13,7 +13,10 @@ export interface Props {
13
13
  needleType?: ObcSpeedGaugeNeedleType;
14
14
  speedAdvices?: SpeedAdvice[];
15
15
  tickmarkStyle?: TickmarkStyle;
16
- showReadout?: boolean;
16
+ hasReadout?: boolean;
17
+ label?: string;
18
+ unit?: string;
19
+ fractionDigits?: number;
17
20
  setpoint?: number | undefined;
18
21
  newSetpoint?: number | undefined;
19
22
  atSetpoint?: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as v,createBlock as y,h as S}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-gauge/speed-gauge.js";const b=d({__name:"ObcSpeedGauge",props:{speed:{},maxSpeed:{},minSpeed:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},tickmarkInterval:{},priority:{},needleType:{},speedAdvices:{},tickmarkStyle:{},showReadout:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(r){const t=r,s=u({}),i={created(o){for(const e in t)s[e]=o[e]}};let p=!1;const c=m(),l=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||p)&&(e[n]=a??s[n])}return p=!0,S("obc-speed-gauge",e,B(c))};return(o,e)=>f((v(),y(l,null,null,512)),[[i]])}});export{b as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as v,createBlock as y,h as S}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-gauge/speed-gauge.js";const g=d({__name:"ObcSpeedGauge",props:{speed:{},maxSpeed:{},minSpeed:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},tickmarkInterval:{},priority:{},needleType:{},speedAdvices:{},tickmarkStyle:{},hasReadout:{type:Boolean},label:{},unit:{},fractionDigits:{},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(i){const t=i,s=u({}),r={created(o){for(const e in t)s[e]=o[e]}};let a=!1;const c=m(),l=()=>{const e={};for(const n in t){const p=t[n];(p!==void 0||a)&&(e[n]=p??s[n])}return a=!0,S("obc-speed-gauge",e,B(c))};return(o,e)=>f((v(),y(l,null,null,512)),[[r]])}});export{g as default};
2
2
  //# sourceMappingURL=ObcSpeedGauge.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcSpeedGauge.vue2.js","sources":["../../src/navigation-instruments/speed-gauge/ObcSpeedGauge.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-gauge/speed-gauge.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcSpeedGaugeNeedleType, SpeedAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-gauge/speed-gauge.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n\n export interface Props {\n speed?: number;\n maxSpeed?: number;\n minSpeed?: number;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n tickmarkInterval?: number | undefined;\n priority?: Priority;\n needleType?: ObcSpeedGaugeNeedleType;\n speedAdvices?: SpeedAdvice[];\n tickmarkStyle?: TickmarkStyle;\n showReadout?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcSpeedGaugeNeedleType, SpeedAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-gauge/speed-gauge.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSpeedGauge',\n props: {\n speed: {},\n maxSpeed: {},\n minSpeed: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n tickmarkInterval: {},\n priority: {},\n needleType: {},\n speedAdvices: {},\n tickmarkStyle: {},\n showReadout: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-speed-gauge',\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":"kSAuCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,iBAAkB,CAAA,EAClB,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,aAAc,CAAA,EACd,cAAe,CAAA,EACf,YAAa,CAAE,KAAM,OAAA,EACrB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,kBACAF,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":"ObcSpeedGauge.vue2.js","sources":["../../src/navigation-instruments/speed-gauge/ObcSpeedGauge.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-gauge/speed-gauge.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcSpeedGaugeNeedleType, SpeedAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-gauge/speed-gauge.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n\n export interface Props {\n speed?: number;\n maxSpeed?: number;\n minSpeed?: number;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n tickmarkInterval?: number | undefined;\n priority?: Priority;\n needleType?: ObcSpeedGaugeNeedleType;\n speedAdvices?: SpeedAdvice[];\n tickmarkStyle?: TickmarkStyle;\n hasReadout?: boolean;\n label?: string;\n unit?: string;\n fractionDigits?: number;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcSpeedGaugeNeedleType, SpeedAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/speed-gauge/speed-gauge.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSpeedGauge',\n props: {\n speed: {},\n maxSpeed: {},\n minSpeed: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n tickmarkInterval: {},\n priority: {},\n needleType: {},\n speedAdvices: {},\n tickmarkStyle: {},\n hasReadout: { type: Boolean },\n label: {},\n unit: {},\n fractionDigits: {},\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-speed-gauge',\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":"kSA0CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,iBAAkB,CAAA,EAClB,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,aAAc,CAAA,EACd,cAAe,CAAA,EACf,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,kBACAF,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.60",
11
+ "version": "2.0.0-next.62",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.0.0-next.59",
13
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.61",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },
@@ -98,6 +98,7 @@
98
98
  "building-blocks/chart-line/ObcChartLineBase.*",
99
99
  "building-blocks/circular-progress/ObcCircularProgress.*",
100
100
  "building-blocks/instrument-radial/ObcInstrumentRadial.*",
101
+ "building-blocks/single-axis-inclinometer/SingleAxisInclinometer.*",
101
102
  "components/accordion-card/ObcAccordionCard.*",
102
103
  "components/accordion-item/ObcAccordionItem.*",
103
104
  "components/advice-button/ObcAdviceButton.*",