@oicl/openbridge-webcomponents-vue 2.0.0-next.15 → 2.0.0-next.17
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.
- package/navigation-instruments/compass/ObcCompass.vue.d.ts +2 -0
- package/navigation-instruments/compass/ObcCompass.vue2.js +1 -1
- package/navigation-instruments/compass/ObcCompass.vue2.js.map +1 -1
- package/navigation-instruments/compass-flat/ObcCompassFlat.vue.d.ts +2 -0
- package/navigation-instruments/compass-flat/ObcCompassFlat.vue2.js +1 -1
- package/navigation-instruments/compass-flat/ObcCompassFlat.vue2.js.map +1 -1
- package/navigation-instruments/compass-sector/ObcCompassSector.vue.d.ts +2 -0
- package/navigation-instruments/compass-sector/ObcCompassSector.vue2.js +1 -1
- package/navigation-instruments/compass-sector/ObcCompassSector.vue2.js.map +1 -1
- package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue.d.ts +2 -0
- package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue2.js +1 -1
- package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue2.js.map +1 -1
- package/navigation-instruments/rot-indicator/ObcRotIndicator.vue.d.ts +2 -0
- package/navigation-instruments/rot-indicator/ObcRotIndicator.vue2.js +1 -1
- package/navigation-instruments/rot-indicator/ObcRotIndicator.vue2.js.map +1 -1
- package/navigation-instruments/watch/ObcWatch.vue.d.ts +2 -0
- package/navigation-instruments/watch/ObcWatch.vue2.js +1 -1
- package/navigation-instruments/watch/ObcWatch.vue2.js.map +1 -1
- package/navigation-instruments/watch-flat/ObcWatchFlat.vue.d.ts +2 -0
- package/navigation-instruments/watch-flat/ObcWatchFlat.vue2.js +1 -1
- package/navigation-instruments/watch-flat/ObcWatchFlat.vue2.js.map +1 -1
- package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue.d.ts +42 -0
- package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue.js +2 -0
- package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue.js.map +1 -0
- package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue2.js +2 -0
- package/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue2.js.map +1 -0
- package/package.json +3 -2
|
@@ -21,6 +21,8 @@ export interface Props {
|
|
|
21
21
|
currentSpeed?: number | null;
|
|
22
22
|
currentFromDirection?: number | null;
|
|
23
23
|
vesselImage?: VesselImage;
|
|
24
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
25
|
+
rotDotAnimationFactor?: number;
|
|
24
26
|
rotationsPerMinute?: number;
|
|
25
27
|
rotType?: RotType;
|
|
26
28
|
rotPosition?: RotPosition;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as l,reactive as u,useSlots as m,withDirectives as
|
|
1
|
+
import{defineComponent as l,reactive as u,useSlots as m,withDirectives as g,openBlock as S,createBlock as f,h as v}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const b=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean},autoAtHeadingSetpoint:{type:Boolean},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean},touching:{type:Boolean},headingAdvices:{},windSpeed:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean}},setup(s){const t=s,r=u({}),p={created(o){for(const e in t)r[e]=o[e]}};let i=!1;const c=m(),d=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||i)&&(e[n]=a??r[n])}return i=!0,v("obc-compass",e,h(c))};return(o,e)=>g((S(),f(d,null,null,512)),[[p]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcCompass.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCompass.vue2.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n windSpeed?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean },\n autoAtHeadingSetpoint: { type: Boolean },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n headingAdvices: {},\n windSpeed: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcCompass.vue2.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n windSpeed?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean },\n autoAtHeadingSetpoint: { type: Boolean },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n headingAdvices: {},\n windSpeed: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAqDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,OAAA,EAC3B,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,OAAA,EACjC,sBAAuB,CAAE,KAAM,OAAA,EAC/B,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,YAAa,CAAA,EACb,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -13,6 +13,8 @@ export interface Props {
|
|
|
13
13
|
priority?: Priority;
|
|
14
14
|
priorityElements?: CompassFlatPriorityElement[];
|
|
15
15
|
rotType?: RotType | undefined;
|
|
16
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
17
|
+
rotDotAnimationFactor?: number;
|
|
16
18
|
rotationsPerMinute?: number;
|
|
17
19
|
rotMaxValue?: number;
|
|
18
20
|
rotArcExtent?: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as v,createBlock as O,h as
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as v,createBlock as O,h as F}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js";const y=u({__name:"ObcCompassFlat",props:{FOVIndicator:{type:Boolean},heading:{},courseOverGround:{},tickInterval:{},FOV:{},minFOV:{},maxFOV:{},priority:{},priorityElements:{},rotType:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{}},setup(c){const e=c,n=d({}),i={created(o){for(const t in e)n[t]=o[t]}};let s=!1;const p=m(),l=()=>{const t={};for(const r in e){const a=e[r];(a!==void 0||s)&&(t[r]=a??n[r])}return s=!0,F("obc-compass-flat",t,P(p))};return(o,t)=>f((v(),O(l,null,null,512)),[[i]])}});export{y as default};
|
|
2
2
|
//# sourceMappingURL=ObcCompassFlat.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCompassFlat.vue2.js","sources":["../../src/navigation-instruments/compass-flat/ObcCompassFlat.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n FOVIndicator?: boolean;\n heading?: number;\n courseOverGround?: number;\n tickInterval?: number;\n FOV?: number;\n minFOV?: number;\n maxFOV?: number;\n priority?: Priority;\n priorityElements?: CompassFlatPriorityElement[];\n rotType?: RotType | undefined;\n rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassFlat',\n props: {\n FOVIndicator: { type: Boolean },\n heading: {},\n courseOverGround: {},\n tickInterval: {},\n FOV: {},\n minFOV: {},\n maxFOV: {},\n priority: {},\n priorityElements: {},\n rotType: {},\n rotationsPerMinute: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass-flat',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcCompassFlat.vue2.js","sources":["../../src/navigation-instruments/compass-flat/ObcCompassFlat.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n FOVIndicator?: boolean;\n heading?: number;\n courseOverGround?: number;\n tickInterval?: number;\n FOV?: number;\n minFOV?: number;\n maxFOV?: number;\n priority?: Priority;\n priorityElements?: CompassFlatPriorityElement[];\n rotType?: RotType | undefined;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {CompassFlatPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {RotType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompassFlat',\n props: {\n FOVIndicator: { type: Boolean },\n heading: {},\n courseOverGround: {},\n tickInterval: {},\n FOV: {},\n minFOV: {},\n maxFOV: {},\n priority: {},\n priorityElements: {},\n rotType: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass-flat',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oSAoCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,aAAc,CAAE,KAAM,OAAA,EACtB,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,aAAc,CAAA,EACd,IAAK,CAAA,EACL,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,QAAS,CAAA,EACT,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,CAAC,EAEtB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -19,6 +19,8 @@ export interface Props {
|
|
|
19
19
|
minFOV?: number;
|
|
20
20
|
rotType?: RotType | undefined;
|
|
21
21
|
rotPosition?: RotPosition;
|
|
22
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
23
|
+
rotDotAnimationFactor?: number;
|
|
22
24
|
rotationsPerMinute?: number;
|
|
23
25
|
rotMaxValue?: number;
|
|
24
26
|
rotPortStarboard?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as m,reactive as
|
|
1
|
+
import{defineComponent as m,reactive as f,useSlots as g,withDirectives as S,openBlock as v,createBlock as y,h}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}},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,h("obc-compass-sector",e,B(l))};return(n,e)=>S((v(),y(u,null,null,512)),[[c]])}});export{b 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 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 }\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 rotationsPerMinute: {},\n rotMaxValue: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n state: {},\n priority: {},\n priorityElements: {},\n tickmarksInside: { type: Boolean },\n zoomToFitArc: { 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","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
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 }\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 },\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","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"mSA+CA,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,CAAQ,EAEhC,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,GAGL,EACL,qBACAK,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -2,6 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/
|
|
|
2
2
|
import { RotType, RotPosition, WatchCircleType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
3
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
4
|
export interface Props {
|
|
5
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
6
|
+
rotDotAnimationFactor?: number;
|
|
5
7
|
rotationsPerMinute?: number;
|
|
6
8
|
rotType?: RotType;
|
|
7
9
|
rotPosition?: RotPosition;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as P,h as b}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js";const y=u({__name:"ObcRateOfTurn",props:{rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},priority:{},barStartAngle:{},barEndAngle:{},watchCircleType:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{}},setup(c){const e=c,n=f({}),i={created(o){for(const t in e)n[t]=o[t]}};let s=!1;const p=d(),l=()=>{const t={};for(const r in e){const a=e[r];(a!==void 0||s)&&(t[r]=a??n[r])}return s=!0,b("obc-rate-of-turn",t,_(p))};return(o,t)=>m((v(),P(l,null,null,512)),[[i]])}});export{y as default};
|
|
2
2
|
//# sourceMappingURL=ObcRateOfTurn.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcRateOfTurn.vue2.js","sources":["../../src/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js';\n import {RotType, RotPosition, WatchCircleType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n priority?: Priority;\n barStartAngle?: number;\n barEndAngle?: number;\n watchCircleType?: WatchCircleType;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {RotType, RotPosition, WatchCircleType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRateOfTurn',\n props: {\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n priority: {},\n barStartAngle: {},\n barEndAngle: {},\n watchCircleType: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-rate-of-turn',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcRateOfTurn.vue2.js","sources":["../../src/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js';\n import {RotType, RotPosition, WatchCircleType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n priority?: Priority;\n barStartAngle?: number;\n barEndAngle?: number;\n watchCircleType?: WatchCircleType;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {RotType, RotPosition, WatchCircleType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRateOfTurn',\n props: {\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n priority: {},\n barStartAngle: {},\n barEndAngle: {},\n watchCircleType: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-rate-of-turn',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oSA4BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,SAAU,CAAA,EACV,cAAe,CAAA,EACf,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,CAAC,EAEtB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js';
|
|
2
2
|
export interface Props {
|
|
3
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
4
|
+
rotDotAnimationFactor?: number;
|
|
3
5
|
rotationsPerMinute?: number;
|
|
4
6
|
}
|
|
5
7
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as l,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as _,h as P}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rot-indicator/rot-indicator.js";const k=l({__name:"ObcRotIndicator",props:{rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{}},setup(i){const e=i,n=f({}),a={created(o){for(const t in e)n[t]=o[t]}};let s=!1;const p=d(),u=()=>{const t={};for(const r in e){const c=e[r];(c!==void 0||s)&&(t[r]=c??n[r])}return s=!0,P("obc-rot-indicator",t,h(p))};return(o,t)=>m((v(),_(u,null,null,512)),[[a]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcRotIndicator.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcRotIndicator.vue2.js","sources":["../../src/navigation-instruments/rot-indicator/ObcRotIndicator.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-indicator/rot-indicator.js';\n \n\n export interface Props {\n rotationsPerMinute?: number\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRotIndicator',\n props: {\n rotationsPerMinute: {}\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-indicator',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcRotIndicator.vue2.js","sources":["../../src/navigation-instruments/rot-indicator/ObcRotIndicator.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-indicator/rot-indicator.js';\n \n\n export interface Props {\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRotIndicator',\n props: {\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {}\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-indicator',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sSAgBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,CAAC,EAEvB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,oBACAF,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"}
|
|
@@ -52,6 +52,8 @@ export interface Props {
|
|
|
52
52
|
rotPriority?: Priority | undefined;
|
|
53
53
|
rotPortStarboard?: boolean;
|
|
54
54
|
rotAtZeroDeadband?: number;
|
|
55
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
56
|
+
rotDotAnimationFactor?: number;
|
|
55
57
|
}
|
|
56
58
|
export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
57
59
|
export type { WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as y,openBlock as B,createBlock as g,h as f}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js";const v=d({__name:"ObcWatch",props:{state:{},priority:{},watchCircleType:{},northArrow:{type:Boolean},northArrowInside:{type:Boolean},angleSetpoint:{},newAngleSetpoint:{},atAngleSetpoint:{type:Boolean},angleSetpointAtZeroDeadband:{},setpointOverride:{type:Boolean},touching:{type:Boolean},animateSetpoint:{type:Boolean},padding:{},areas:{},barAreas:{},needles:{},tickmarks:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},crosshairEnabled:{type:Boolean},showLabels:{type:Boolean},vessels:{},wind:{},windFromDirectionDeg:{},windSymbolRadius:{},windColor:{},current:{},currentFromDirectionDeg:{},currentSymbolRadius:{},currentColor:{},starboardPortIndicator:{type:Boolean},clipTop:{},clipBottom:{},scaleWindIcon:{},rotation:{},zoomToFitArc:{type:Boolean},arcFrame:{},tickFadeAngle:{},rotType:{},rotPosition:{},rotStartAngle:{},rotEndAngle:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(s){const o=s,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const l=m(),p=()=>{const e={};for(const r in o){const i=o[r];(i!==void 0||a)&&(e[r]=i??n[r])}return a=!0,f("obc-watch",e,h(l))};return(t,e)=>y((B(),g(p,null,null,512)),[[c]])}});export{v as default};
|
|
2
2
|
//# sourceMappingURL=ObcWatch.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcWatch.vue2.js","sources":["../../src/navigation-instruments/watch/ObcWatch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nimport {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n watchCircleType?: WatchCircleType;\n northArrow?: boolean;\n northArrowInside?: boolean | undefined;\n angleSetpoint?: number | undefined;\n newAngleSetpoint?: number | undefined;\n atAngleSetpoint?: boolean;\n angleSetpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n touching?: boolean;\n animateSetpoint?: boolean;\n padding?: number | undefined;\n areas?: WatchArea[];\n barAreas?: WatchBarArea[];\n needles?: WatchNeedle[];\n tickmarks?: Tickmark[];\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: AngleAdviceRaw[];\n crosshairEnabled?: boolean;\n showLabels?: boolean;\n vessels?: WatchVessel[];\n wind?: number | null;\n windFromDirectionDeg?: number | null;\n windSymbolRadius?: number | null;\n windColor?: string | undefined;\n current?: number | null;\n currentFromDirectionDeg?: number | null;\n currentSymbolRadius?: number | null;\n currentColor?: string | undefined;\n starboardPortIndicator?: boolean;\n clipTop?: number;\n clipBottom?: number;\n scaleWindIcon?: number;\n rotation?: number | undefined;\n zoomToFitArc?: boolean;\n arcFrame?: ZoomToFitArcFrame | undefined;\n tickFadeAngle?: number;\n rotType?: RotType | undefined;\n rotPosition?: RotPosition;\n rotStartAngle?: number;\n rotEndAngle?: number;\n rotPriority?: Priority | undefined;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nexport type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatch',\n props: {\n state: {},\n priority: {},\n watchCircleType: {},\n northArrow: { type: Boolean },\n northArrowInside: { type: Boolean },\n angleSetpoint: {},\n newAngleSetpoint: {},\n atAngleSetpoint: { type: Boolean },\n angleSetpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n touching: { type: Boolean },\n animateSetpoint: { type: Boolean },\n padding: {},\n areas: {},\n barAreas: {},\n needles: {},\n tickmarks: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n crosshairEnabled: { type: Boolean },\n showLabels: { type: Boolean },\n vessels: {},\n wind: {},\n windFromDirectionDeg: {},\n windSymbolRadius: {},\n windColor: {},\n current: {},\n currentFromDirectionDeg: {},\n currentSymbolRadius: {},\n currentColor: {},\n starboardPortIndicator: { type: Boolean },\n clipTop: {},\n clipBottom: {},\n scaleWindIcon: {},\n rotation: {},\n zoomToFitArc: { type: Boolean },\n arcFrame: {},\n tickFadeAngle: {},\n rotType: {},\n rotPosition: {},\n rotStartAngle: {},\n rotEndAngle: {},\n rotPriority: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-watch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcWatch.vue2.js","sources":["../../src/navigation-instruments/watch/ObcWatch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nimport {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n watchCircleType?: WatchCircleType;\n northArrow?: boolean;\n northArrowInside?: boolean | undefined;\n angleSetpoint?: number | undefined;\n newAngleSetpoint?: number | undefined;\n atAngleSetpoint?: boolean;\n angleSetpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n touching?: boolean;\n animateSetpoint?: boolean;\n padding?: number | undefined;\n areas?: WatchArea[];\n barAreas?: WatchBarArea[];\n needles?: WatchNeedle[];\n tickmarks?: Tickmark[];\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: AngleAdviceRaw[];\n crosshairEnabled?: boolean;\n showLabels?: boolean;\n vessels?: WatchVessel[];\n wind?: number | null;\n windFromDirectionDeg?: number | null;\n windSymbolRadius?: number | null;\n windColor?: string | undefined;\n current?: number | null;\n currentFromDirectionDeg?: number | null;\n currentSymbolRadius?: number | null;\n currentColor?: string | undefined;\n starboardPortIndicator?: boolean;\n clipTop?: number;\n clipBottom?: number;\n scaleWindIcon?: number;\n rotation?: number | undefined;\n zoomToFitArc?: boolean;\n arcFrame?: ZoomToFitArcFrame | undefined;\n tickFadeAngle?: number;\n rotType?: RotType | undefined;\n rotPosition?: RotPosition;\n rotStartAngle?: number;\n rotEndAngle?: number;\n rotPriority?: Priority | undefined;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number\n }\n\n \n \n export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Tickmark, TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdviceRaw} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {ZoomToFitArcFrame} from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';\nexport type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatch',\n props: {\n state: {},\n priority: {},\n watchCircleType: {},\n northArrow: { type: Boolean },\n northArrowInside: { type: Boolean },\n angleSetpoint: {},\n newAngleSetpoint: {},\n atAngleSetpoint: { type: Boolean },\n angleSetpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n touching: { type: Boolean },\n animateSetpoint: { type: Boolean },\n padding: {},\n areas: {},\n barAreas: {},\n needles: {},\n tickmarks: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n crosshairEnabled: { type: Boolean },\n showLabels: { type: Boolean },\n vessels: {},\n wind: {},\n windFromDirectionDeg: {},\n windSymbolRadius: {},\n windColor: {},\n current: {},\n currentFromDirectionDeg: {},\n currentSymbolRadius: {},\n currentColor: {},\n starboardPortIndicator: { type: Boolean },\n clipTop: {},\n clipBottom: {},\n scaleWindIcon: {},\n rotation: {},\n zoomToFitArc: { type: Boolean },\n arcFrame: {},\n tickFadeAngle: {},\n rotType: {},\n rotPosition: {},\n rotStartAngle: {},\n rotEndAngle: {},\n rotPriority: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-watch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAyEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,OAAA,EACpB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,cAAe,CAAA,EACf,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,4BAA6B,CAAA,EAC7B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,QAAS,CAAA,EACT,MAAO,CAAA,EACP,SAAU,CAAA,EACV,QAAS,CAAA,EACT,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,WAAY,CAAE,KAAM,OAAA,EACpB,QAAS,CAAA,EACT,KAAM,CAAA,EACN,qBAAsB,CAAA,EACtB,iBAAkB,CAAA,EAClB,UAAW,CAAA,EACX,QAAS,CAAA,EACT,wBAAyB,CAAA,EACzB,oBAAqB,CAAA,EACrB,aAAc,CAAA,EACd,uBAAwB,CAAE,KAAM,OAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,SAAU,CAAA,EACV,aAAc,CAAE,KAAM,OAAA,EACtB,SAAU,CAAA,EACV,cAAe,CAAA,EACf,QAAS,CAAA,EACT,YAAa,CAAA,EACb,cAAe,CAAA,EACf,YAAa,CAAA,EACb,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,CAAC,EAE1B,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -26,6 +26,8 @@ export interface Props {
|
|
|
26
26
|
rotPriority?: Priority;
|
|
27
27
|
rotPortStarboard?: boolean;
|
|
28
28
|
rotAtZeroDeadband?: number;
|
|
29
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
30
|
+
rotDotAnimationFactor?: number;
|
|
29
31
|
}
|
|
30
32
|
export type { Tickmark } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
|
|
31
33
|
export type { Label } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as f,withDirectives as
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as f,withDirectives as m,openBlock as h,createBlock as g,h as k}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js";const D=d({__name:"ObcWatchFlat",props:{width:{},height:{},padding:{},rotation:{},tickmarkSpacing:{},angleSetpoint:{},tickmarks:{},labels:{},FOVIndicator:{},trackHeight:{},ticksHeight:{},borderRadius:{},bottomBar:{type:Boolean},rotType:{},rotPosition:{},rotStartX:{},rotEndX:{},rotDotSpacing:{},rotPriority:{},rotPortStarboard:{type:Boolean},rotAtZeroDeadband:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{}},setup(i){const o=i,n=u({}),c={created(e){for(const t in o)n[t]=e[t]}};let a=!1;const p=f(),l=()=>{const t={};for(const r in o){const s=o[r];(s!==void 0||a)&&(t[r]=s??n[r])}return a=!0,k("obc-watch-flat",t,v(p))};return(e,t)=>m((h(),g(l,null,null,512)),[[c]])}});export{D as default};
|
|
2
2
|
//# sourceMappingURL=ObcWatchFlat.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcWatchFlat.vue2.js","sources":["../../src/navigation-instruments/watch-flat/ObcWatchFlat.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';\n import {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nimport {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {SVGTemplateResult} from 'lit';\nimport {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n width?: number;\n height?: number;\n padding?: number;\n rotation?: number;\n tickmarkSpacing?: number;\n angleSetpoint?: number | undefined;\n tickmarks?: Tickmark[];\n labels?: Label[];\n FOVIndicator?: SVGTemplateResult[];\n trackHeight?: number;\n ticksHeight?: number;\n borderRadius?: number;\n bottomBar?: boolean;\n rotType?: RotType | undefined;\n rotPosition?: LinearRotPosition;\n rotStartX?: number;\n rotEndX?: number;\n rotDotSpacing?: number;\n rotPriority?: Priority;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number\n }\n\n \n \n export type {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nexport type {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {SVGTemplateResult} from 'lit';\nexport type {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatchFlat',\n props: {\n width: {},\n height: {},\n padding: {},\n rotation: {},\n tickmarkSpacing: {},\n angleSetpoint: {},\n tickmarks: {},\n labels: {},\n FOVIndicator: {},\n trackHeight: {},\n ticksHeight: {},\n borderRadius: {},\n bottomBar: { type: Boolean },\n rotType: {},\n rotPosition: {},\n rotStartX: {},\n rotEndX: {},\n rotDotSpacing: {},\n rotPriority: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-watch-flat',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcWatchFlat.vue2.js","sources":["../../src/navigation-instruments/watch-flat/ObcWatchFlat.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/watch-flat.js';\n import {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nimport {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nimport {SVGTemplateResult} from 'lit';\nimport {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n width?: number;\n height?: number;\n padding?: number;\n rotation?: number;\n tickmarkSpacing?: number;\n angleSetpoint?: number | undefined;\n tickmarks?: Tickmark[];\n labels?: Label[];\n FOVIndicator?: SVGTemplateResult[];\n trackHeight?: number;\n ticksHeight?: number;\n borderRadius?: number;\n bottomBar?: boolean;\n rotType?: RotType | undefined;\n rotPosition?: LinearRotPosition;\n rotStartX?: number;\n rotEndX?: number;\n rotDotSpacing?: number;\n rotPriority?: Priority;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number\n }\n\n \n \n export type {Tickmark} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';\nexport type {Label} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';\nexport type {SVGTemplateResult} from 'lit';\nexport type {RotType, LinearRotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatchFlat',\n props: {\n width: {},\n height: {},\n padding: {},\n rotation: {},\n tickmarkSpacing: {},\n angleSetpoint: {},\n tickmarks: {},\n labels: {},\n FOVIndicator: {},\n trackHeight: {},\n ticksHeight: {},\n borderRadius: {},\n bottomBar: { type: Boolean },\n rotType: {},\n rotPosition: {},\n rotStartX: {},\n rotEndX: {},\n rotDotSpacing: {},\n rotPriority: {},\n rotPortStarboard: { type: Boolean },\n rotAtZeroDeadband: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-watch-flat',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gSA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,QAAS,CAAA,EACT,SAAU,CAAA,EACV,gBAAiB,CAAA,EACjB,cAAe,CAAA,EACf,UAAW,CAAA,EACX,OAAQ,CAAA,EACR,aAAc,CAAA,EACd,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,UAAW,CAAE,KAAM,OAAA,EACnB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,UAAW,CAAA,EACX,QAAS,CAAA,EACT,cAAe,CAAA,EACf,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAA,EACnB,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,CAAC,EAE1B,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
2
|
+
import { SailType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
3
|
+
import { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import { WindPropulsionPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
5
|
+
import { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
6
|
+
import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
7
|
+
export interface Props {
|
|
8
|
+
forceAngle?: number;
|
|
9
|
+
sailAngle?: number;
|
|
10
|
+
sailAngleSetpoint?: number | undefined;
|
|
11
|
+
newSailAngleSetpoint?: number | undefined;
|
|
12
|
+
atSailAngleSetpoint?: boolean;
|
|
13
|
+
autoAtSailAngleSetpoint?: boolean;
|
|
14
|
+
autoAtSailAngleSetpointDeadband?: number;
|
|
15
|
+
sailAngleSetpointAtZeroDeadband?: number;
|
|
16
|
+
sailAngleSetpointOverride?: boolean;
|
|
17
|
+
animateSetpoint?: boolean;
|
|
18
|
+
touching?: boolean;
|
|
19
|
+
force?: number;
|
|
20
|
+
maxForce?: number;
|
|
21
|
+
sailType?: SailType;
|
|
22
|
+
state?: InstrumentState;
|
|
23
|
+
priority?: Priority;
|
|
24
|
+
priorityElements?: WindPropulsionPriorityElement[];
|
|
25
|
+
showLabels?: boolean;
|
|
26
|
+
tickmarksInside?: boolean;
|
|
27
|
+
tickmarkStyle?: TickmarkStyle;
|
|
28
|
+
currentWindSpeedBeaufort?: number | null;
|
|
29
|
+
currentWindFromDirection?: number | null;
|
|
30
|
+
sailAngleAdvices?: AngleAdvice[];
|
|
31
|
+
}
|
|
32
|
+
export type { SailType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
33
|
+
export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
34
|
+
export type { WindPropulsionPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
35
|
+
export type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
36
|
+
export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
37
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
38
|
+
None: (payload: CustomEvent<unknown>) => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
40
|
+
onNone?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcWindPropulsion.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as m,reactive as S,useSlots as f,withDirectives as A,openBlock as g,createBlock as y,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js";const b=m({__name:"ObcWindPropulsion",props:{forceAngle:{},sailAngle:{},sailAngleSetpoint:{},newSailAngleSetpoint:{},atSailAngleSetpoint:{type:Boolean},autoAtSailAngleSetpoint:{type:Boolean},autoAtSailAngleSetpointDeadband:{},sailAngleSetpointAtZeroDeadband:{},sailAngleSetpointOverride:{type:Boolean},animateSetpoint:{type:Boolean},touching:{type:Boolean},force:{},maxForce:{},sailType:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},tickmarkStyle:{},currentWindSpeedBeaufort:{},currentWindFromDirection:{},sailAngleAdvices:{}},emits:["None"],setup(l,{emit:a}){const o=l,i=S({}),p={created(n){for(const e in o)i[e]=n[e]}};let r=!1;const c=a,d=f(),u=()=>{const e={onNone:t=>c("None",t)};for(const t in o){const s=o[t];(s!==void 0||r)&&(e[t]=s??i[t])}return r=!0,v("obc-wind-propulsion",e,B(d))};return(n,e)=>A((g(),y(u,null,null,512)),[[p]])}});export{b as default};
|
|
2
|
+
//# sourceMappingURL=ObcWindPropulsion.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcWindPropulsion.vue2.js","sources":["../../src/navigation-instruments/wind-propulsion/ObcWindPropulsion.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\n import {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n\n export interface Props {\n forceAngle?: number;\n sailAngle?: number;\n sailAngleSetpoint?: number | undefined;\n newSailAngleSetpoint?: number | undefined;\n atSailAngleSetpoint?: boolean;\n autoAtSailAngleSetpoint?: boolean;\n autoAtSailAngleSetpointDeadband?: number;\n sailAngleSetpointAtZeroDeadband?: number;\n sailAngleSetpointOverride?: boolean;\n animateSetpoint?: boolean;\n touching?: boolean;\n force?: number;\n maxForce?: number;\n sailType?: SailType;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: WindPropulsionPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n currentWindSpeedBeaufort?: number | null;\n currentWindFromDirection?: number | null;\n sailAngleAdvices?: AngleAdvice[]\n }\n\n \n \n export type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWindPropulsion',\n props: {\n forceAngle: {},\n sailAngle: {},\n sailAngleSetpoint: {},\n newSailAngleSetpoint: {},\n atSailAngleSetpoint: { type: Boolean },\n autoAtSailAngleSetpoint: { type: Boolean },\n autoAtSailAngleSetpointDeadband: {},\n sailAngleSetpointAtZeroDeadband: {},\n sailAngleSetpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean },\n touching: { type: Boolean },\n force: {},\n maxForce: {},\n sailType: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n currentWindSpeedBeaufort: {},\n currentWindFromDirection: {},\n sailAngleAdvices: {}\n },\n emits: [\"None\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onNone: (event: CustomEvent<unknown>) => emit('None', event as CustomEvent<unknown>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-wind-propulsion',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0SA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,kBAAmB,CAAA,EACnB,qBAAsB,CAAA,EACtB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,wBAAyB,CAAE,KAAM,OAAA,EACjC,gCAAiC,CAAA,EACjC,gCAAiC,CAAA,EACjC,0BAA2B,CAAE,KAAM,OAAA,EACnC,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,yBAA0B,CAAA,EAC1B,yBAA0B,CAAA,EAC1B,iBAAkB,CAAA,CAAC,EAErB,MAAO,CAAC,MAAM,EACd,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,OAASC,GAAgCL,EAAK,OAAQK,CAA6B,CAAA,EAKjF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
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.
|
|
11
|
+
"version": "2.0.0-next.17",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.16",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|
|
@@ -2222,6 +2222,7 @@
|
|
|
2222
2222
|
"navigation-instruments/watch-flat/ObcWatchFlat.*",
|
|
2223
2223
|
"navigation-instruments/wind/ObcWind.*",
|
|
2224
2224
|
"navigation-instruments/wind-indicator/ObcWindIndicator.*",
|
|
2225
|
+
"navigation-instruments/wind-propulsion/ObcWindPropulsion.*",
|
|
2225
2226
|
"pages/alert-detail-page/ObcAlertDetailPage.*",
|
|
2226
2227
|
"pages/alert-list-page-small/ObcAlertListPageSmall.*",
|
|
2227
2228
|
"README.md"
|