@oicl/openbridge-webcomponents-vue 0.0.20260407101310 → 0.0.20260408055359
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/building-blocks/instrument-radial/ObcInstrumentRadial.vue.d.ts +1 -0
- package/building-blocks/instrument-radial/ObcInstrumentRadial.vue2.js +1 -1
- package/building-blocks/instrument-radial/ObcInstrumentRadial.vue2.js.map +1 -1
- package/navigation-instruments/compass/ObcCompass.vue.d.ts +6 -2
- 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 +6 -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 +39 -0
- package/navigation-instruments/compass-sector/ObcCompassSector.vue.js +2 -0
- package/navigation-instruments/compass-sector/ObcCompassSector.vue.js.map +1 -0
- package/navigation-instruments/compass-sector/ObcCompassSector.vue2.js +2 -0
- package/navigation-instruments/compass-sector/ObcCompassSector.vue2.js.map +1 -0
- package/navigation-instruments/rate-of-turn/ObcRateOfTurn.vue.d.ts +12 -1
- 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-sector/ObcRotSector.vue.d.ts +2 -0
- package/navigation-instruments/rot-sector/ObcRotSector.vue2.js +1 -1
- package/navigation-instruments/rot-sector/ObcRotSector.vue2.js.map +1 -1
- package/navigation-instruments/rudder/ObcRudder.vue.d.ts +1 -0
- package/navigation-instruments/rudder/ObcRudder.vue2.js +1 -1
- package/navigation-instruments/rudder/ObcRudder.vue2.js.map +1 -1
- package/navigation-instruments/watch/ObcWatch.vue.d.ts +13 -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 +11 -0
- package/navigation-instruments/watch-flat/ObcWatchFlat.vue2.js +1 -1
- package/navigation-instruments/watch-flat/ObcWatchFlat.vue2.js.map +1 -1
- package/package.json +3 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as
|
|
1
|
+
import{defineComponent as d,reactive as m,useSlots as u,withDirectives as y,openBlock as v,createBlock as k,h as f}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js";const T=d({__name:"ObcInstrumentRadial",props:{state:{},priority:{},value:{},maxValue:{},minValue:{},getAngle:{type:Function},needleColor:{},barColor:{},showLabels:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},type:{},needleType:{},tickmarksInside:{type:Boolean},tickmarkStyle:{},advices:{},clipTop:{},clipBottom:{},zoomToFitArc:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},setup(s){const t=s,a=m({}),p={created(o){for(const e in t)a[e]=o[e]}};let r=!1;const l=u(),c=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||r)&&(e[n]=i??a[n])}return r=!0,f("obc-instrument-radial",e,B(l))};return(o,e)=>y((v(),k(c,null,null,512)),[[p]])}});export{T as default};
|
|
2
2
|
//# sourceMappingURL=ObcInstrumentRadial.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcInstrumentRadial.vue2.js","sources":["../../src/building-blocks/instrument-radial/ObcInstrumentRadial.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/instrument-radial/instrument-radial.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcGaugeRadialType, GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n value?: number;\n maxValue?: number;\n minValue?: number;\n getAngle?: (v: number) => number;\n needleColor?: string | undefined;\n barColor?: string | undefined;\n showLabels?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n type?: ObcGaugeRadialType;\n needleType?: ObcGaugeRadialType;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: GaugeRadialAdvice[];\n clipTop?: number;\n clipBottom?: 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} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcInstrumentRadial',\n props: {\n state: {},\n priority: {},\n value: {},\n maxValue: {},\n minValue: {},\n getAngle: { type: Function },\n needleColor: {},\n barColor: {},\n showLabels: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n type: {},\n needleType: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n clipTop: {},\n clipBottom: {},\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-instrument-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":"
|
|
1
|
+
{"version":3,"file":"ObcInstrumentRadial.vue2.js","sources":["../../src/building-blocks/instrument-radial/ObcInstrumentRadial.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/instrument-radial/instrument-radial.js';\n import {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ObcGaugeRadialType, GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n value?: number;\n maxValue?: number;\n minValue?: number;\n getAngle?: (v: number) => number;\n needleColor?: string | undefined;\n barColor?: string | undefined;\n showLabels?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n type?: ObcGaugeRadialType;\n needleType?: ObcGaugeRadialType;\n tickmarksInside?: boolean;\n tickmarkStyle?: TickmarkStyle;\n advices?: GaugeRadialAdvice[];\n clipTop?: number;\n clipBottom?: number;\n zoomToFitArc?: 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 {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ObcGaugeRadialType, GaugeRadialAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-radial/instrument-radial.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcInstrumentRadial',\n props: {\n state: {},\n priority: {},\n value: {},\n maxValue: {},\n minValue: {},\n getAngle: { type: Function },\n needleColor: {},\n barColor: {},\n showLabels: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n type: {},\n needleType: {},\n tickmarksInside: { type: Boolean },\n tickmarkStyle: {},\n advices: {},\n clipTop: {},\n clipBottom: {},\n zoomToFitArc: { 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-instrument-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":"uSAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,MAAO,CAAA,EACP,SAAU,CAAA,EACV,MAAO,CAAA,EACP,SAAU,CAAA,EACV,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,QAAA,EAClB,YAAa,CAAA,EACb,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,gBAAiB,CAAE,KAAM,OAAA,EACzB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,aAAc,CAAE,KAAM,OAAA,EACtB,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,wBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
2
2
|
import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
3
|
-
import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
5
5
|
import { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
export interface Props {
|
|
@@ -22,6 +22,10 @@ export interface Props {
|
|
|
22
22
|
currentFromDirection?: number | null;
|
|
23
23
|
vesselImage?: VesselImage;
|
|
24
24
|
rotationsPerMinute?: number;
|
|
25
|
+
rotType?: RotType;
|
|
26
|
+
rotPosition?: RotPosition;
|
|
27
|
+
rotMaxValue?: number;
|
|
28
|
+
rotArcExtent?: number;
|
|
25
29
|
direction?: CompassDirection;
|
|
26
30
|
state?: InstrumentState;
|
|
27
31
|
priority?: Priority;
|
|
@@ -30,7 +34,7 @@ export interface Props {
|
|
|
30
34
|
tickmarksInside?: boolean;
|
|
31
35
|
}
|
|
32
36
|
export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
33
|
-
export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
37
|
+
export type { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
34
38
|
export type { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
35
39
|
export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
36
40
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as l,reactive as u,useSlots as m,withDirectives as g,openBlock as v,createBlock as S,h as f}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 _=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:{},rotationsPerMinute:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean}},setup(
|
|
1
|
+
import{defineComponent as l,reactive as u,useSlots as m,withDirectives as g,openBlock as v,createBlock as S,h as f}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 _=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:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},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,f("obc-compass",e,h(c))};return(o,e)=>g((v(),S(d,null,null,512)),[[p]])}});export{_ 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} 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 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} 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 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 rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: 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 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":"0RAiDA,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,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
2
2
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
3
|
import { CompassFlatPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
4
|
+
import { RotType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
4
5
|
export interface Props {
|
|
5
6
|
FOVIndicator?: boolean;
|
|
6
7
|
heading?: number;
|
|
@@ -11,8 +12,13 @@ export interface Props {
|
|
|
11
12
|
maxFOV?: number;
|
|
12
13
|
priority?: Priority;
|
|
13
14
|
priorityElements?: CompassFlatPriorityElement[];
|
|
15
|
+
rotType?: RotType | undefined;
|
|
16
|
+
rotationsPerMinute?: number;
|
|
17
|
+
rotMaxValue?: number;
|
|
18
|
+
rotArcExtent?: number;
|
|
14
19
|
}
|
|
15
20
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
16
21
|
export type { CompassFlatPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
22
|
+
export type { RotType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
17
23
|
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>;
|
|
18
24
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as m,useSlots as d,withDirectives as f,openBlock as v,createBlock as O,h as _}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js";const
|
|
1
|
+
import{defineComponent as u,reactive as m,useSlots as d,withDirectives as f,openBlock as v,createBlock as O,h as _}from"vue";import{assignSlotNodes as h}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:{},rotationsPerMinute:{},rotMaxValue:{},rotArcExtent:{}},setup(a){const e=a,n=m({}),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 c=e[r];(c!==void 0||s)&&(t[r]=c??n[r])}return s=!0,_("obc-compass-flat",t,h(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';\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 }\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';\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 },\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 rotationsPerMinute?: number;\n rotMaxValue?: number;\n rotArcExtent?: 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 },\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":"oSAgCA,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,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,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,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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
2
|
+
import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
3
|
+
import { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
import { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import { CompassSectorPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
6
|
+
export interface Props {
|
|
7
|
+
heading?: number;
|
|
8
|
+
courseOverGround?: number;
|
|
9
|
+
headingSetpoint?: number | null;
|
|
10
|
+
newHeadingSetpoint?: number | undefined;
|
|
11
|
+
atHeadingSetpoint?: boolean;
|
|
12
|
+
headingSetpointAtZeroDeadband?: number;
|
|
13
|
+
headingSetpointOverride?: boolean;
|
|
14
|
+
autoAtHeadingSetpoint?: boolean;
|
|
15
|
+
autoAtHeadingSetpointDeadband?: number;
|
|
16
|
+
animateSetpoint?: boolean;
|
|
17
|
+
touching?: boolean;
|
|
18
|
+
headingAdvices?: AngleAdvice[];
|
|
19
|
+
minFOV?: number;
|
|
20
|
+
rotType?: RotType | undefined;
|
|
21
|
+
rotPosition?: RotPosition;
|
|
22
|
+
rotationsPerMinute?: number;
|
|
23
|
+
rotMaxValue?: number;
|
|
24
|
+
state?: InstrumentState;
|
|
25
|
+
priority?: Priority;
|
|
26
|
+
priorityElements?: CompassSectorPriorityElement[];
|
|
27
|
+
tickmarksInside?: boolean;
|
|
28
|
+
zoomToFitArc?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
31
|
+
export type { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
32
|
+
export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
33
|
+
export type { CompassSectorPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-sector/compass-sector.js';
|
|
34
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
35
|
+
None: (payload: CustomEvent<unknown>) => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
37
|
+
onNone?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcCompassSector.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as m,reactive as f,useSlots as g,withDirectives as v,openBlock as S,createBlock as h,h as y}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:{},rotationsPerMinute:{},rotMaxValue:{},state:{},priority:{},priorityElements:{},tickmarksInside:{type:Boolean},zoomToFitArc:{type:Boolean}},emits:["None"],setup(a,{emit:p}){const o=a,i=f({}),c={created(n){for(const e in o)i[e]=n[e]}};let r=!1;const d=p,l=g(),u=()=>{const e={onNone:t=>d("None",t)};for(const t in o){const s=o[t];(s!==void 0||r)&&(e[t]=s??i[t])}return r=!0,y("obc-compass-sector",e,B(l))};return(n,e)=>v((S(),h(u,null,null,512)),[[c]])}});export{b as default};
|
|
2
|
+
//# sourceMappingURL=ObcCompassSector.vue2.js.map
|
|
@@ -0,0 +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 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 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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"wSA2CA,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,mBAAoB,CAAA,EACpB,YAAa,CAAA,EACb,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,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,5 +1,16 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js';
|
|
2
|
+
import { RotType, RotPosition, WatchCircleType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
2
4
|
export interface Props {
|
|
5
|
+
rotationsPerMinute?: number;
|
|
6
|
+
rotType?: RotType;
|
|
7
|
+
rotPosition?: RotPosition;
|
|
8
|
+
priority?: Priority;
|
|
9
|
+
barStartAngle?: number;
|
|
10
|
+
barEndAngle?: number;
|
|
11
|
+
watchCircleType?: WatchCircleType;
|
|
3
12
|
}
|
|
4
|
-
|
|
13
|
+
export type { RotType, RotPosition, WatchCircleType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
14
|
+
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
15
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
16
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
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 P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rate-of-turn.js";const S=u({__name:"ObcRateOfTurn",props:{rotationsPerMinute:{},rotType:{},rotPosition:{},priority:{},barStartAngle:{},barEndAngle:{},watchCircleType:{}},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(),l=()=>{const t={};for(const r in e){const c=e[r];(c!==void 0||s)&&(t[r]=c??n[r])}return s=!0,h("obc-rate-of-turn",t,P(p))};return(o,t)=>m((v(),_(l,null,null,512)),[[a]])}});export{S 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 { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots } 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
|
|
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 }\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 },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-rate-of-turn',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"+RAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,SAAU,CAAA,EACV,cAAe,CAAA,EACf,YAAa,CAAA,EACb,gBAAiB,CAAA,CAAC,EAEpB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,mBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -14,6 +14,8 @@ export interface Props {
|
|
|
14
14
|
portStarboard?: boolean;
|
|
15
15
|
tickmarkStyle?: TickmarkStyle;
|
|
16
16
|
advices?: GaugeRadialAdvice[];
|
|
17
|
+
zoomToFitArc?: boolean;
|
|
18
|
+
rotArcExtent?: number;
|
|
17
19
|
setpoint?: number | undefined;
|
|
18
20
|
newSetpoint?: number | undefined;
|
|
19
21
|
atSetpoint?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as
|
|
1
|
+
import{defineComponent as d,reactive as m,useSlots as u,withDirectives as v,openBlock as y,createBlock as k,h as f}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:{},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=m({}),p={created(o){for(const t in e)r[t]=o[t]}};let a=!1;const c=u(),l=()=>{const t={};for(const n in e){const s=e[n];(s!==void 0||a)&&(t[n]=s??r[n])}return a=!0,f("obc-rot-sector",t,B(c))};return(o,t)=>v((y(),k(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 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 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":"
|
|
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 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 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":"gSAyCA,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,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,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 B}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder/rudder.js";const b=d({__name:"ObcRudder",props:{angle:{},variant:{},maxAngle:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},state:{},priority:{},tickmarkStyle:{},advices:{},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({}),p={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 r=t[n];(r!==void 0||a)&&(e[n]=r??s[n])}return a=!0,B("obc-rudder",e,S(c))};return(o,e)=>f((v(),y(l,null,null,512)),[[p]])}});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 B}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder/rudder.js";const b=d({__name:"ObcRudder",props:{angle:{},variant:{},maxAngle:{},showLabels:{type:Boolean},tickmarksInside:{type:Boolean},state:{},priority:{},tickmarkStyle:{},advices:{},zoomToFitArc:{type:Boolean},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({}),p={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 r=t[n];(r!==void 0||a)&&(e[n]=r??s[n])}return a=!0,B("obc-rudder",e,S(c))};return(o,e)=>f((v(),y(l,null,null,512)),[[p]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcRudder.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcRudder.vue2.js","sources":["../../src/navigation-instruments/rudder/ObcRudder.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/rudder/rudder.js';\n import {ObcRudderVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder/rudder.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n\n export interface Props {\n angle?: number;\n variant?: ObcRudderVariant;\n maxAngle?: number;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n state?: InstrumentState;\n priority?: Priority;\n tickmarkStyle?: TickmarkStyle;\n advices?: AngleAdvice[];\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 {ObcRudderVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder/rudder.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRudder',\n props: {\n angle: {},\n variant: {},\n maxAngle: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n state: {},\n priority: {},\n tickmarkStyle: {},\n advices: {},\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-rudder',\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":"ObcRudder.vue2.js","sources":["../../src/navigation-instruments/rudder/ObcRudder.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/rudder/rudder.js';\n import {ObcRudderVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder/rudder.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n\n export interface Props {\n angle?: number;\n variant?: ObcRudderVariant;\n maxAngle?: number;\n showLabels?: boolean;\n tickmarksInside?: boolean;\n state?: InstrumentState;\n priority?: Priority;\n tickmarkStyle?: TickmarkStyle;\n advices?: AngleAdvice[];\n zoomToFitArc?: 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 {ObcRudderVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rudder/rudder.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRudder',\n props: {\n angle: {},\n variant: {},\n maxAngle: {},\n showLabels: { type: Boolean },\n tickmarksInside: { type: Boolean },\n state: {},\n priority: {},\n tickmarkStyle: {},\n advices: {},\n zoomToFitArc: { 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-rudder',\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":"wRAwCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,MAAO,CAAA,EACP,QAAS,CAAA,EACT,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,gBAAiB,CAAE,KAAM,OAAA,EACzB,MAAO,CAAA,EACP,SAAU,CAAA,EACV,cAAe,CAAA,EACf,QAAS,CAAA,EACT,aAAc,CAAE,KAAM,OAAA,EACtB,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,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -3,11 +3,14 @@ import { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/n
|
|
|
3
3
|
import { WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import { Tickmark, TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
5
5
|
import { AngleAdviceRaw } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
6
|
+
import { ZoomToFitArcFrame } from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';
|
|
7
|
+
import { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
6
8
|
export interface Props {
|
|
7
9
|
state?: InstrumentState;
|
|
8
10
|
priority?: Priority;
|
|
9
11
|
watchCircleType?: WatchCircleType;
|
|
10
12
|
northArrow?: boolean;
|
|
13
|
+
northArrowInside?: boolean | undefined;
|
|
11
14
|
angleSetpoint?: number | undefined;
|
|
12
15
|
newAngleSetpoint?: number | undefined;
|
|
13
16
|
atAngleSetpoint?: boolean;
|
|
@@ -39,10 +42,20 @@ export interface Props {
|
|
|
39
42
|
clipBottom?: number;
|
|
40
43
|
scaleWindIcon?: number;
|
|
41
44
|
rotation?: number | undefined;
|
|
45
|
+
zoomToFitArc?: boolean;
|
|
46
|
+
arcFrame?: ZoomToFitArcFrame | undefined;
|
|
47
|
+
tickFadeAngle?: number;
|
|
48
|
+
rotType?: RotType | undefined;
|
|
49
|
+
rotPosition?: RotPosition;
|
|
50
|
+
rotStartAngle?: number;
|
|
51
|
+
rotEndAngle?: number;
|
|
52
|
+
rotPriority?: Priority | undefined;
|
|
42
53
|
}
|
|
43
54
|
export type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
44
55
|
export type { WatchCircleType, WatchArea, WatchBarArea, WatchNeedle, WatchVessel } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
45
56
|
export type { Tickmark, TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
46
57
|
export type { AngleAdviceRaw } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
58
|
+
export type { ZoomToFitArcFrame } from '@oicl/openbridge-webcomponents/dist/svghelpers/arc-frame.js';
|
|
59
|
+
export type { RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
47
60
|
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>;
|
|
48
61
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as
|
|
1
|
+
import{defineComponent as d,reactive as m,useSlots as u,withDirectives as y,openBlock as B,createBlock as g,h}from"vue";import{assignSlotNodes as f}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js";const A=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:{}},setup(s){const o=s,r=m({}),c={created(t){for(const e in o)r[e]=t[e]}};let a=!1;const l=u(),p=()=>{const e={};for(const n in o){const i=o[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,h("obc-watch",e,f(l))};return(t,e)=>y((B(),g(p,null,null,512)),[[c]])}});export{A 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';\n\n export interface Props {\n state?: InstrumentState;\n priority?: Priority;\n watchCircleType?: WatchCircleType;\n northArrow?: boolean;\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 }\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';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcWatch',\n props: {\n state: {},\n priority: {},\n watchCircleType: {},\n northArrow: { 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 },\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 }\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 },\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":"iRAqEA,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,CAAC,EAEhB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,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"}
|
|
@@ -2,6 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/wa
|
|
|
2
2
|
import { Tickmark } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
|
|
3
3
|
import { Label } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
4
4
|
import { SVGTemplateResult } from 'lit';
|
|
5
|
+
import { RotType, LinearRotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
6
|
+
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
7
|
export interface Props {
|
|
6
8
|
width?: number;
|
|
7
9
|
height?: number;
|
|
@@ -15,9 +17,18 @@ export interface Props {
|
|
|
15
17
|
trackHeight?: number;
|
|
16
18
|
ticksHeight?: number;
|
|
17
19
|
borderRadius?: number;
|
|
20
|
+
bottomBar?: boolean;
|
|
21
|
+
rotType?: RotType | undefined;
|
|
22
|
+
rotPosition?: LinearRotPosition;
|
|
23
|
+
rotStartX?: number;
|
|
24
|
+
rotEndX?: number;
|
|
25
|
+
rotDotSpacing?: number;
|
|
26
|
+
rotPriority?: Priority;
|
|
18
27
|
}
|
|
19
28
|
export type { Tickmark } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch-flat/tickmark-flat.js';
|
|
20
29
|
export type { Label } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass-flat/compass-flat.js';
|
|
21
30
|
export type { SVGTemplateResult } from 'lit';
|
|
31
|
+
export type { RotType, LinearRotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/rate-of-turn/rot-renderer.js';
|
|
32
|
+
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
22
33
|
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>;
|
|
23
34
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as f,withDirectives as h,openBlock as m,createBlock as
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as f,withDirectives as h,openBlock as m,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 P=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:{}},setup(i){const o=i,n=u({}),a={created(e){for(const t in o)n[t]=e[t]}};let s=!1;const p=f(),l=()=>{const t={};for(const r in o){const c=o[r];(c!==void 0||s)&&(t[r]=c??n[r])}return s=!0,k("obc-watch-flat",t,v(p))};return(e,t)=>h((m(),g(l,null,null,512)),[[a]])}});export{P 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';\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 }\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';\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 },\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 }\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 },\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":"gSA0CA,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,CAAC,EAEhB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
|
|
9
9
|
"preview": "vite preview"
|
|
10
10
|
},
|
|
11
|
-
"version": "0.0.
|
|
11
|
+
"version": "0.0.20260408055359",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^0.0.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^0.0.20260408055359",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|
|
@@ -2195,6 +2195,7 @@
|
|
|
2195
2195
|
"navigation-instruments/compass/ObcCompass.*",
|
|
2196
2196
|
"navigation-instruments/compass-flat/ObcCompassFlat.*",
|
|
2197
2197
|
"navigation-instruments/compass-indicator/ObcCompassIndicator.*",
|
|
2198
|
+
"navigation-instruments/compass-sector/ObcCompassSector.*",
|
|
2198
2199
|
"navigation-instruments/depth-actual/ObcDepthActual.*",
|
|
2199
2200
|
"navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.*",
|
|
2200
2201
|
"navigation-instruments/gauge-radial/ObcGaugeRadial.*",
|