@oicl/openbridge-webcomponents-vue 2.1.0-next.3 → 2.1.0-next.5
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/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.d.ts +60 -0
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.js +2 -0
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.js.map +1 -0
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js +2 -0
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js.map +1 -0
- package/automation/analog-valve/ObcAnalogValve.vue.d.ts +2 -2
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.d.ts +63 -0
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.js +2 -0
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.js.map +1 -0
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js +2 -0
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js.map +1 -0
- package/automation/digital-valve/ObcDigitalValve.vue.d.ts +2 -2
- package/automation/motor/ObcMotor.vue.d.ts +1 -1
- package/automation/pump/ObcPump.vue.d.ts +1 -1
- package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.vue.d.ts +10 -4
- package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon2.vue.js +1 -1
- package/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon2.vue.js.map +1 -1
- package/components/brilliance-menu/ObcBrillianceMenu.vue.d.ts +4 -2
- package/components/brilliance-menu/ObcBrillianceMenu2.vue.js.map +1 -1
- package/navigation-instruments/compass/ObcCompass.vue.d.ts +3 -2
- package/navigation-instruments/compass/ObcCompass2.vue.js +1 -1
- package/navigation-instruments/compass/ObcCompass2.vue.js.map +1 -1
- package/navigation-instruments/current/ObcCurrent.vue.d.ts +3 -2
- package/navigation-instruments/current/ObcCurrent2.vue.js +1 -1
- package/navigation-instruments/current/ObcCurrent2.vue.js.map +1 -1
- package/navigation-instruments/depth/ObcDepth.vue.d.ts +3 -2
- package/navigation-instruments/depth/ObcDepth2.vue.js +1 -1
- package/navigation-instruments/depth/ObcDepth2.vue.js.map +1 -1
- package/navigation-instruments/depth/ObcDepthTopBand.vue.d.ts +3 -0
- package/navigation-instruments/depth/ObcDepthTopBand2.vue.js +1 -1
- package/navigation-instruments/depth/ObcDepthTopBand2.vue.js.map +1 -1
- package/navigation-instruments/depth-actual/ObcDepthActual.vue.d.ts +3 -0
- package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js +1 -1
- package/navigation-instruments/depth-actual/ObcDepthActual2.vue.js.map +1 -1
- package/navigation-instruments/draft-trim/ObcDraftTrim.vue.d.ts +3 -0
- package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js +1 -1
- package/navigation-instruments/draft-trim/ObcDraftTrim2.vue.js.map +1 -1
- package/navigation-instruments/heading/ObcHeading.vue.d.ts +3 -2
- package/navigation-instruments/heading/ObcHeading2.vue.js +1 -1
- package/navigation-instruments/heading/ObcHeading2.vue.js.map +1 -1
- package/navigation-instruments/heave/ObcHeave.vue.d.ts +3 -0
- package/navigation-instruments/heave/ObcHeave2.vue.js +1 -1
- package/navigation-instruments/heave/ObcHeave2.vue.js.map +1 -1
- package/navigation-instruments/pitch/ObcPitch.vue.d.ts +3 -2
- package/navigation-instruments/pitch/ObcPitch2.vue.js +1 -1
- package/navigation-instruments/pitch/ObcPitch2.vue.js.map +1 -1
- package/navigation-instruments/pitch-roll/ObcPitchRoll.vue.d.ts +4 -2
- package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js +1 -1
- package/navigation-instruments/pitch-roll/ObcPitchRoll2.vue.js.map +1 -1
- package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.vue.d.ts +4 -2
- package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js +1 -1
- package/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave2.vue.js.map +1 -1
- package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.vue.d.ts +3 -2
- package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js +1 -1
- package/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw2.vue.js.map +1 -1
- package/navigation-instruments/roll/ObcRoll.vue.d.ts +3 -2
- package/navigation-instruments/roll/ObcRoll2.vue.js +1 -1
- package/navigation-instruments/roll/ObcRoll2.vue.js.map +1 -1
- package/navigation-instruments/speed-directions/ObcSpeedDirections.vue.d.ts +3 -2
- package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js +1 -1
- package/navigation-instruments/speed-directions/ObcSpeedDirections2.vue.js.map +1 -1
- package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.vue.d.ts +3 -2
- package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js +1 -1
- package/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot2.vue.js.map +1 -1
- package/navigation-instruments/wind/ObcWind.vue.d.ts +3 -2
- package/navigation-instruments/wind/ObcWind2.vue.js +1 -1
- package/navigation-instruments/wind/ObcWind2.vue.js.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
2
|
+
import { ThreewayValveOrientation, ThreewayValveFlow } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
3
|
+
import { AnalogThreewayValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
4
|
+
import { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
|
+
import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
|
+
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
|
+
export interface Props {
|
|
11
|
+
open1?: number;
|
|
12
|
+
open2?: number;
|
|
13
|
+
open3?: number;
|
|
14
|
+
orientation?: ThreewayValveOrientation;
|
|
15
|
+
flows?: ThreewayValveFlow[];
|
|
16
|
+
variant?: AnalogThreewayValveVariant;
|
|
17
|
+
showReadoutStack?: boolean;
|
|
18
|
+
readoutPosition?: AutomationButtonReadoutPosition;
|
|
19
|
+
showStatus?: boolean;
|
|
20
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
21
|
+
tag?: string | null;
|
|
22
|
+
positioning?: AutomationButtonPositioning;
|
|
23
|
+
activated?: boolean;
|
|
24
|
+
alert?: boolean;
|
|
25
|
+
alertFrameType?: ObcAlertFrameType;
|
|
26
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
27
|
+
alertFrameStatus?: AlertType;
|
|
28
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
29
|
+
showAlertCategoryIcon?: boolean;
|
|
30
|
+
showAlertIcon?: boolean;
|
|
31
|
+
progress?: boolean;
|
|
32
|
+
progressMode?: CircularProgressMode;
|
|
33
|
+
progressValue?: number;
|
|
34
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
35
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
36
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
37
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
38
|
+
}
|
|
39
|
+
export type { ThreewayValveOrientation, ThreewayValveFlow } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
40
|
+
export type { AnalogThreewayValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
|
|
41
|
+
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
42
|
+
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
43
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
44
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
45
|
+
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
46
|
+
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
47
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
48
|
+
click: (payload: CustomEvent<unknown>) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
+
onClick?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
progress: boolean;
|
|
53
|
+
showReadoutStack: boolean;
|
|
54
|
+
showStatus: boolean;
|
|
55
|
+
activated: boolean;
|
|
56
|
+
alert: boolean;
|
|
57
|
+
showAlertCategoryIcon: boolean;
|
|
58
|
+
showAlertIcon: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcAnalogThreewayValve.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as v,reactive as f,useSlots as m,withDirectives as g,openBlock as h,createBlock as y,h as k}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js";const _=v({__name:"ObcAnalogThreewayValve",props:{open1:{},open2:{},open3:{},orientation:{},flows:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},emits:["click"],setup(l,{emit:i}){const t=l,n=f({}),c={created(a){for(const e in t)n[e]=a[e]}};let r=!1;const d=i,p=m(),u=()=>{const e={onClick:o=>d("click",o)};for(const o in t){const s=t[o];(s!==void 0||r)&&(e[o]=s??n[o])}return r=!0,k("obc-analog-threeway-valve",e,B(p))};return(a,e)=>g((h(),y(u,null,null,512)),[[c]])}});export{_ as default};
|
|
2
|
+
//# sourceMappingURL=ObcAnalogThreewayValve2.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcAnalogThreewayValve2.vue.js","sources":["../../src/automation/analog-threeway-valve/ObcAnalogThreewayValve.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/automation/analog-threeway-valve/analog-threeway-valve.js';\n import {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nimport {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n open1?: number;\n open2?: number;\n open3?: number;\n orientation?: ThreewayValveOrientation;\n flows?: ThreewayValveFlow[];\n variant?: AnalogThreewayValveVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nexport type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAnalogThreewayValve',\n props: {\n open1: {},\n open2: {},\n open3: {},\n orientation: {},\n flows: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n emits: [\"click\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-analog-threeway-valve',\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":"0SAwDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,yBACR,MAAO,CACL,MAAO,CAAA,EACP,MAAO,CAAA,EACP,MAAO,CAAA,EACP,YAAa,CAAA,EACb,MAAO,CAAA,EACP,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAO,CAAC,OAAO,EACf,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,QAAUC,GAAgCL,EAAK,QAASK,CAA6B,CAAA,EAKnF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,4BACAH,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"}
|
|
@@ -43,13 +43,13 @@ export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/b
|
|
|
43
43
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
44
44
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
45
45
|
progress: boolean;
|
|
46
|
-
open: boolean;
|
|
47
|
-
vertical: boolean;
|
|
48
46
|
showReadoutStack: boolean;
|
|
49
47
|
showStatus: boolean;
|
|
50
48
|
activated: boolean;
|
|
51
49
|
alert: boolean;
|
|
52
50
|
showAlertCategoryIcon: boolean;
|
|
53
51
|
showAlertIcon: boolean;
|
|
52
|
+
open: boolean;
|
|
53
|
+
vertical: boolean;
|
|
54
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
55
|
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
|
|
2
|
+
import { ThreewayValveOrientation, ThreewayValveFlow } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
3
|
+
import { DigitalThreewayValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
|
|
4
|
+
import { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
|
+
import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
|
+
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
|
+
export interface Props {
|
|
11
|
+
open1?: boolean;
|
|
12
|
+
open2?: boolean;
|
|
13
|
+
open3?: boolean;
|
|
14
|
+
orientation?: ThreewayValveOrientation;
|
|
15
|
+
flows?: ThreewayValveFlow[];
|
|
16
|
+
variant?: DigitalThreewayValveVariant;
|
|
17
|
+
showReadoutStack?: boolean;
|
|
18
|
+
readoutPosition?: AutomationButtonReadoutPosition;
|
|
19
|
+
showStatus?: boolean;
|
|
20
|
+
readoutSize?: AutomationButtonReadoutStackSize;
|
|
21
|
+
tag?: string | null;
|
|
22
|
+
positioning?: AutomationButtonPositioning;
|
|
23
|
+
activated?: boolean;
|
|
24
|
+
alert?: boolean;
|
|
25
|
+
alertFrameType?: ObcAlertFrameType;
|
|
26
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
27
|
+
alertFrameStatus?: AlertType;
|
|
28
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
29
|
+
showAlertCategoryIcon?: boolean;
|
|
30
|
+
showAlertIcon?: boolean;
|
|
31
|
+
progress?: boolean;
|
|
32
|
+
progressMode?: CircularProgressMode;
|
|
33
|
+
progressValue?: number;
|
|
34
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
35
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
36
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
37
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
38
|
+
}
|
|
39
|
+
export type { ThreewayValveOrientation, ThreewayValveFlow } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
40
|
+
export type { DigitalThreewayValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
|
|
41
|
+
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
42
|
+
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
43
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
44
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
45
|
+
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
46
|
+
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
47
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
48
|
+
click: (payload: CustomEvent<unknown>) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
+
onClick?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
progress: boolean;
|
|
53
|
+
open1: boolean;
|
|
54
|
+
open2: boolean;
|
|
55
|
+
open3: boolean;
|
|
56
|
+
showReadoutStack: boolean;
|
|
57
|
+
showStatus: boolean;
|
|
58
|
+
activated: boolean;
|
|
59
|
+
alert: boolean;
|
|
60
|
+
showAlertCategoryIcon: boolean;
|
|
61
|
+
showAlertIcon: boolean;
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcDigitalThreewayValve.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as v,reactive as f,useSlots as m,withDirectives as y,openBlock as g,createBlock as B,h}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js";const _=v({__name:"ObcDigitalThreewayValve",props:{open1:{type:Boolean,default:void 0},open2:{type:Boolean,default:void 0},open3:{type:Boolean,default:void 0},orientation:{},flows:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},emits:["click"],setup(s,{emit:i}){const t=s,n=f({}),d={created(a){for(const e in t)n[e]=a[e]}};let r=!1;const c=i,p=m(),u=()=>{const e={onClick:o=>c("click",o)};for(const o in t){const l=t[o];(l!==void 0||r)&&(e[o]=l??n[o])}return r=!0,h("obc-digital-threeway-valve",e,k(p))};return(a,e)=>y((g(),B(u,null,null,512)),[[d]])}});export{_ as default};
|
|
2
|
+
//# sourceMappingURL=ObcDigitalThreewayValve2.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcDigitalThreewayValve2.vue.js","sources":["../../src/automation/digital-threeway-valve/ObcDigitalThreewayValve.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/automation/digital-threeway-valve/digital-threeway-valve.js';\n import {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nimport {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n open1?: boolean;\n open2?: boolean;\n open3?: boolean;\n orientation?: ThreewayValveOrientation;\n flows?: ThreewayValveFlow[];\n variant?: DigitalThreewayValveVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nexport type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDigitalThreewayValve',\n props: {\n open1: { type: Boolean, default: undefined },\n open2: { type: Boolean, default: undefined },\n open3: { type: Boolean, default: undefined },\n orientation: {},\n flows: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n emits: [\"click\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-digital-threeway-valve',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uSAwDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,0BACR,MAAO,CACL,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,YAAa,CAAA,EACb,MAAO,CAAA,EACP,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAO,CAAC,OAAO,EACf,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,QAAUC,GAAgCL,EAAK,QAASK,CAA6B,CAAA,EAKnF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,6BACAK,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -41,13 +41,13 @@ export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/b
|
|
|
41
41
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
42
42
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
43
43
|
progress: boolean;
|
|
44
|
-
open: boolean;
|
|
45
|
-
vertical: boolean;
|
|
46
44
|
showReadoutStack: boolean;
|
|
47
45
|
showStatus: boolean;
|
|
48
46
|
activated: boolean;
|
|
49
47
|
alert: boolean;
|
|
50
48
|
showAlertCategoryIcon: boolean;
|
|
51
49
|
showAlertIcon: boolean;
|
|
50
|
+
open: boolean;
|
|
51
|
+
vertical: boolean;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
53
|
export default _default;
|
|
@@ -48,13 +48,13 @@ export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/b
|
|
|
48
48
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
49
49
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
50
50
|
progress: boolean;
|
|
51
|
-
vertical: boolean;
|
|
52
51
|
showReadoutStack: boolean;
|
|
53
52
|
showStatus: boolean;
|
|
54
53
|
activated: boolean;
|
|
55
54
|
alert: boolean;
|
|
56
55
|
showAlertCategoryIcon: boolean;
|
|
57
56
|
showAlertIcon: boolean;
|
|
57
|
+
vertical: boolean;
|
|
58
58
|
turnedOn: boolean;
|
|
59
59
|
on: boolean;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -48,13 +48,13 @@ export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/b
|
|
|
48
48
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
49
49
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
50
50
|
progress: boolean;
|
|
51
|
-
vertical: boolean;
|
|
52
51
|
showReadoutStack: boolean;
|
|
53
52
|
showStatus: boolean;
|
|
54
53
|
activated: boolean;
|
|
55
54
|
alert: boolean;
|
|
56
55
|
showAlertCategoryIcon: boolean;
|
|
57
56
|
showAlertIcon: boolean;
|
|
57
|
+
vertical: boolean;
|
|
58
58
|
turnedOn: boolean;
|
|
59
59
|
on: boolean;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js';
|
|
2
|
+
import { ThreewayValveOrientation } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
2
3
|
export interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
open1?: number;
|
|
5
|
+
open2?: number;
|
|
6
|
+
open3?: number;
|
|
7
|
+
orientation?: ThreewayValveOrientation;
|
|
8
|
+
value?: number | undefined;
|
|
9
|
+
value2?: number | undefined;
|
|
10
|
+
closed?: boolean | undefined;
|
|
11
|
+
horisontal?: boolean | undefined;
|
|
7
12
|
}
|
|
13
|
+
export type { ThreewayValveOrientation } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
8
14
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
15
|
closed: boolean;
|
|
10
16
|
horisontal: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as v,useSlots as d,withDirectives as f,openBlock as m,createBlock as h,h as _}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js";const b=u({__name:"ObcValveAnalogThreeWayIcon",props:{value:{},value2:{},closed:{type:Boolean,default:void 0},horisontal:{type:Boolean,default:void 0}},setup(c){const o=c,s=v({}),l={created(t){for(const e in o)s[e]=t[e]}};let r=!1;const
|
|
1
|
+
import{defineComponent as u,reactive as v,useSlots as d,withDirectives as f,openBlock as m,createBlock as h,h as _}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js";const b=u({__name:"ObcValveAnalogThreeWayIcon",props:{open1:{},open2:{},open3:{},orientation:{},value:{},value2:{},closed:{type:Boolean,default:void 0},horisontal:{type:Boolean,default:void 0}},setup(c){const o=c,s=v({}),l={created(t){for(const e in o)s[e]=t[e]}};let r=!1;const p=d(),i=()=>{const e={};for(const n in o){const a=o[n];(a!==void 0||r)&&(e[n]=a??s[n])}return r=!0,_("obc-valve-analog-three-way-icon",e,y(p))};return(t,e)=>f((m(),h(i,null,null,512)),[[l]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcValveAnalogThreeWayIcon2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcValveAnalogThreeWayIcon2.vue.js","sources":["../../src/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.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/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js';\n
|
|
1
|
+
{"version":3,"file":"ObcValveAnalogThreeWayIcon2.vue.js","sources":["../../src/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.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/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js';\n import {ThreewayValveOrientation} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\n\n export interface Props {\n open1?: number;\n open2?: number;\n open3?: number;\n orientation?: ThreewayValveOrientation;\n value?: number | undefined;\n value2?: number | undefined;\n closed?: boolean | undefined;\n horisontal?: boolean | undefined\n }\n\n \n \n export type {ThreewayValveOrientation} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcValveAnalogThreeWayIcon',\n props: {\n open1: {},\n open2: {},\n open3: {},\n orientation: {},\n value: {},\n value2: {},\n closed: { type: Boolean, default: undefined },\n horisontal: { type: Boolean, default: undefined }\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-valve-analog-three-way-icon',\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":"sTAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,6BACR,MAAO,CACL,MAAO,CAAA,EACP,MAAO,CAAA,EACP,MAAO,CAAA,EACP,YAAa,CAAA,EACb,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAElD,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,kCACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
|
|
2
|
-
import { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent,
|
|
2
|
+
import { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
|
|
3
|
+
import { ObcPalette } from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
|
|
3
4
|
export interface Props {
|
|
4
5
|
softDismiss?: boolean;
|
|
5
6
|
open?: boolean;
|
|
@@ -22,7 +23,8 @@ export interface Props {
|
|
|
22
23
|
showScreenControlLink?: boolean;
|
|
23
24
|
showAdditionalScreenControls?: boolean;
|
|
24
25
|
}
|
|
25
|
-
export type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent,
|
|
26
|
+
export type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
|
|
27
|
+
export type { ObcPalette } from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
|
|
26
28
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
29
|
close: (payload: CustomEvent<void>) => any;
|
|
28
30
|
"palette-changed": (payload: ObcPaletteChangeEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcBrillianceMenu2.vue.js","sources":["../../src/components/brilliance-menu/ObcBrillianceMenu.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/components/brilliance-menu/brilliance-menu.js';\n import {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent,
|
|
1
|
+
{"version":3,"file":"ObcBrillianceMenu2.vue.js","sources":["../../src/components/brilliance-menu/ObcBrillianceMenu.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/components/brilliance-menu/brilliance-menu.js';\n import {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\nimport {ObcPalette} from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n palette?: ObcPalette;\n brightness?: number;\n showLinkBrightness?: boolean;\n showLinkPalette?: boolean;\n showBrightness?: boolean;\n showPalette?: boolean;\n showNightPalette?: boolean;\n showDuskPalette?: boolean;\n showDayPalette?: boolean;\n showBrightPalette?: boolean;\n variant?: ObcBrillianceMenuVariant;\n brightnessUnit?: string;\n brightnessMax?: number;\n brightnessMinorStep?: number;\n brightnessMajorStep?: number;\n brightnessInputVariant?: ObcBrillianceInputVariant;\n showScreenControlLink?: boolean;\n showAdditionalScreenControls?: boolean\n }\n\n \n \n export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\nexport type {ObcPalette} from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBrillianceMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n palette: {},\n brightness: {},\n showLinkBrightness: { type: Boolean, default: undefined },\n showLinkPalette: { type: Boolean, default: undefined },\n showBrightness: { type: Boolean, default: undefined },\n showPalette: { type: Boolean, default: undefined },\n showNightPalette: { type: Boolean, default: undefined },\n showDuskPalette: { type: Boolean, default: undefined },\n showDayPalette: { type: Boolean, default: undefined },\n showBrightPalette: { type: Boolean, default: undefined },\n variant: {},\n brightnessUnit: {},\n brightnessMax: {},\n brightnessMinorStep: {},\n brightnessMajorStep: {},\n brightnessInputVariant: {},\n showScreenControlLink: { type: Boolean, default: undefined },\n showAdditionalScreenControls: { type: Boolean, default: undefined }\n },\n emits: [\"palette-changed\", \"brightness-changed\", \"link-palette-changed\", \"link-brightness-changed\", \"screen-control-link-clicked\", \"close\"],\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 onPaletteChanged: (event: ObcPaletteChangeEvent) => emit('palette-changed', event as ObcPaletteChangeEvent),\nonBrightnessChanged: (event: ObcBrightnessChangeEvent) => emit('brightness-changed', event as ObcBrightnessChangeEvent),\nonLinkPaletteChanged: (event: ObcLinkPaletteChangeEvent) => emit('link-palette-changed', event as ObcLinkPaletteChangeEvent),\nonLinkBrightnessChanged: (event: ObcLinkBrightnessChangeEvent) => emit('link-brightness-changed', event as ObcLinkBrightnessChangeEvent),\nonScreenControlLinkClicked: (event: CustomEvent) => emit('screen-control-link-clicked', event as CustomEvent),\nonClose: (event: CustomEvent<void>) => emit('close', event as CustomEvent<void>)\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-brilliance-menu',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"8RAqCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,QAAS,CAAA,EACT,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,oBAAqB,CAAA,EACrB,oBAAqB,CAAA,EACrB,uBAAwB,CAAA,EACxB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,6BAA8B,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEpE,MAAO,CAAC,kBAAmB,qBAAsB,uBAAwB,0BAA2B,8BAA+B,OAAO,EAC1I,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,CASnB,MAAMC,EARa,CACvB,iBAAmBC,GAAiCL,EAAK,kBAAmBK,CAA8B,EAC9G,oBAAsBA,GAAoCL,EAAK,qBAAsBK,CAAiC,EACtH,qBAAuBA,GAAqCL,EAAK,uBAAwBK,CAAkC,EAC3H,wBAA0BA,GAAwCL,EAAK,0BAA2BK,CAAqC,EACvI,2BAA6BA,GAAuBL,EAAK,8BAA+BK,CAAoB,EAC5G,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,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, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
3
|
+
import { VesselImage, VesselImageSrc, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
|
|
5
5
|
import { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
|
|
6
6
|
import { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
@@ -23,6 +23,7 @@ export interface Props {
|
|
|
23
23
|
currentSpeed?: number | null;
|
|
24
24
|
currentFromDirection?: number | null;
|
|
25
25
|
vesselImage?: VesselImage;
|
|
26
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
26
27
|
centerReadouts?: CompassCenterReadout[];
|
|
27
28
|
hdgArrowStyle?: HdgArrowStyle;
|
|
28
29
|
cogArrowStyle?: CogArrowStyle;
|
|
@@ -44,7 +45,7 @@ export interface Props {
|
|
|
44
45
|
faceDiameter?: number | undefined;
|
|
45
46
|
}
|
|
46
47
|
export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
47
|
-
export type { VesselImage, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
48
|
+
export type { VesselImage, VesselImageSrc, RotType, RotPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
48
49
|
export type { CompassCenterReadout } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';
|
|
49
50
|
export type { HdgArrowStyle, CogArrowStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';
|
|
50
51
|
export type { CompassDirection, CompassPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as l,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as S}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const A=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean,default:void 0},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean,default:void 0},autoAtHeadingSetpoint:{type:Boolean,default:void 0},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean,default:void 0},touching:{type:Boolean,default:void 0},headingAdvices:{},currentWindSpeedKnots:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean,default:void 0},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean,default:void 0},tickmarksInside:{type:Boolean,default:void 0},faceDiameter:{}},setup(d){const t=d,r=u({}),s={created(o){for(const e in t)r[e]=o[e]}};let a=!1;const c=f(),p=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,S("obc-compass",e,y(c))};return(o,e)=>v((m(),g(p,null,null,512)),[[s]])}});export{A as default};
|
|
1
|
+
import{defineComponent as l,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as S}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js";const A=l({__name:"ObcCompass",props:{heading:{},courseOverGround:{},headingSetpoint:{},newHeadingSetpoint:{},atHeadingSetpoint:{type:Boolean,default:void 0},headingSetpointAtZeroDeadband:{},headingSetpointOverride:{type:Boolean,default:void 0},autoAtHeadingSetpoint:{type:Boolean,default:void 0},autoAtHeadingSetpointDeadband:{},animateSetpoint:{type:Boolean,default:void 0},touching:{type:Boolean,default:void 0},headingAdvices:{},currentWindSpeedKnots:{},windFromDirection:{},currentSpeed:{},currentFromDirection:{},vesselImage:{},vesselImageSrc:{},centerReadouts:{},hdgArrowStyle:{},cogArrowStyle:{},rateOfTurnDegreesPerMinute:{},rotDotAnimationFactor:{},rotationsPerMinute:{},rotType:{},rotPosition:{},rotMaxValue:{},rotArcExtent:{},rotPortStarboard:{type:Boolean,default:void 0},rotAtZeroDeadband:{},direction:{},state:{},priority:{},priorityElements:{},showLabels:{type:Boolean,default:void 0},tickmarksInside:{type:Boolean,default:void 0},faceDiameter:{}},setup(d){const t=d,r=u({}),s={created(o){for(const e in t)r[e]=o[e]}};let a=!1;const c=f(),p=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??r[n])}return a=!0,S("obc-compass",e,y(c))};return(o,e)=>v((m(),g(p,null,null,512)),[[s]])}});export{A as default};
|
|
2
2
|
//# sourceMappingURL=ObcCompass2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCompass2.vue.js","sources":["../../src/navigation-instruments/compass/ObcCompass.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\n import {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n currentWindSpeedKnots?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean, default: undefined },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean, default: undefined },\n autoAtHeadingSetpoint: { type: Boolean, default: undefined },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean, default: undefined },\n touching: { type: Boolean, default: undefined },\n headingAdvices: {},\n currentWindSpeedKnots: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean, default: undefined },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean, default: undefined },\n tickmarksInside: { type: Boolean, default: undefined },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcCompass2.vue.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, VesselImageSrc, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nimport {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nimport {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nimport {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n heading?: number;\n courseOverGround?: number;\n headingSetpoint?: number | null;\n newHeadingSetpoint?: number | undefined;\n atHeadingSetpoint?: boolean;\n headingSetpointAtZeroDeadband?: number;\n headingSetpointOverride?: boolean;\n autoAtHeadingSetpoint?: boolean;\n autoAtHeadingSetpointDeadband?: number;\n animateSetpoint?: boolean;\n touching?: boolean;\n headingAdvices?: AngleAdvice[];\n currentWindSpeedKnots?: number | null;\n windFromDirection?: number | null;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n centerReadouts?: CompassCenterReadout[];\n hdgArrowStyle?: HdgArrowStyle;\n cogArrowStyle?: CogArrowStyle;\n rateOfTurnDegreesPerMinute?: number | undefined;\n rotDotAnimationFactor?: number;\n rotationsPerMinute?: number;\n rotType?: RotType;\n rotPosition?: RotPosition;\n rotMaxValue?: number;\n rotArcExtent?: number;\n rotPortStarboard?: boolean;\n rotAtZeroDeadband?: number;\n direction?: CompassDirection;\n state?: InstrumentState;\n priority?: Priority;\n priorityElements?: CompassPriorityElement[];\n showLabels?: boolean;\n tickmarksInside?: boolean;\n faceDiameter?: number | undefined\n }\n\n \n \n export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {VesselImage, VesselImageSrc, RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {CompassCenterReadout} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/center-readout.js';\nexport type {HdgArrowStyle, CogArrowStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/course-arrows/course-arrows.js';\nexport type {CompassDirection, CompassPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/compass/compass.js';\nexport type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCompass',\n props: {\n heading: {},\n courseOverGround: {},\n headingSetpoint: {},\n newHeadingSetpoint: {},\n atHeadingSetpoint: { type: Boolean, default: undefined },\n headingSetpointAtZeroDeadband: {},\n headingSetpointOverride: { type: Boolean, default: undefined },\n autoAtHeadingSetpoint: { type: Boolean, default: undefined },\n autoAtHeadingSetpointDeadband: {},\n animateSetpoint: { type: Boolean, default: undefined },\n touching: { type: Boolean, default: undefined },\n headingAdvices: {},\n currentWindSpeedKnots: {},\n windFromDirection: {},\n currentSpeed: {},\n currentFromDirection: {},\n vesselImage: {},\n vesselImageSrc: {},\n centerReadouts: {},\n hdgArrowStyle: {},\n cogArrowStyle: {},\n rateOfTurnDegreesPerMinute: {},\n rotDotAnimationFactor: {},\n rotationsPerMinute: {},\n rotType: {},\n rotPosition: {},\n rotMaxValue: {},\n rotArcExtent: {},\n rotPortStarboard: { type: Boolean, default: undefined },\n rotAtZeroDeadband: {},\n direction: {},\n state: {},\n priority: {},\n priorityElements: {},\n showLabels: { type: Boolean, default: undefined },\n tickmarksInside: { type: Boolean, default: undefined },\n faceDiameter: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-compass',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RA8DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,iBAAkB,CAAA,EAClB,gBAAiB,CAAA,EACjB,mBAAoB,CAAA,EACpB,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,8BAA+B,CAAA,EAC/B,wBAAyB,CAAE,KAAM,QAAS,QAAS,MAAA,EACnD,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,8BAA+B,CAAA,EAC/B,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,eAAgB,CAAA,EAChB,sBAAuB,CAAA,EACvB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,cAAe,CAAA,EACf,2BAA4B,CAAA,EAC5B,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,EACpB,QAAS,CAAA,EACT,YAAa,CAAA,EACb,YAAa,CAAA,EACb,aAAc,CAAA,EACd,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,kBAAmB,CAAA,EACnB,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,iBAAkB,CAAA,EAClB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,cACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
|
|
2
2
|
import { CurrentType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
|
|
3
3
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
5
|
export interface Props {
|
|
6
6
|
type?: CurrentType;
|
|
7
7
|
currentSpeed?: number | null;
|
|
@@ -12,11 +12,12 @@ export interface Props {
|
|
|
12
12
|
waveHeight?: number;
|
|
13
13
|
waveSpeed?: number;
|
|
14
14
|
vesselImage?: VesselImage;
|
|
15
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
15
16
|
vesselHeadingDeg?: number;
|
|
16
17
|
}
|
|
17
18
|
export type { CurrentType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';
|
|
18
19
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
19
|
-
export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
20
|
+
export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
20
21
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
22
|
hasPattern: boolean;
|
|
22
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as
|
|
1
|
+
import{defineComponent as u,reactive as v,useSlots as d,withDirectives as f,openBlock as m,createBlock as g,h}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js";const P=u({__name:"ObcCurrent",props:{type:{},currentSpeed:{},currentFromDirection:{},priority:{},hasPattern:{type:Boolean,default:void 0},waveLength:{},waveHeight:{},waveSpeed:{},vesselImage:{},vesselImageSrc:{},vesselHeadingDeg:{}},setup(a){const t=a,n=v({}),i={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const p=d(),l=()=>{const e={};for(const r in t){const c=t[r];(c!==void 0||s)&&(e[r]=c??n[r])}return s=!0,h("obc-current",e,_(p))};return(o,e)=>f((m(),g(l,null,null,512)),[[i]])}});export{P as default};
|
|
2
2
|
//# sourceMappingURL=ObcCurrent2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCurrent2.vue.js","sources":["../../src/navigation-instruments/current/ObcCurrent.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/current/current.js';\n import {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: CurrentType;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n priority?: Priority;\n hasPattern?: boolean;\n waveLength?: number;\n waveHeight?: number;\n waveSpeed?: number;\n vesselImage?: VesselImage;\n vesselHeadingDeg?: number\n }\n\n \n \n export type {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCurrent',\n props: {\n type: {},\n currentSpeed: {},\n currentFromDirection: {},\n priority: {},\n hasPattern: { type: Boolean, default: undefined },\n waveLength: {},\n waveHeight: {},\n waveSpeed: {},\n vesselImage: {},\n vesselHeadingDeg: {}\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-current',\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","
|
|
1
|
+
{"version":3,"file":"ObcCurrent2.vue.js","sources":["../../src/navigation-instruments/current/ObcCurrent.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/current/current.js';\n import {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: CurrentType;\n currentSpeed?: number | null;\n currentFromDirection?: number | null;\n priority?: Priority;\n hasPattern?: boolean;\n waveLength?: number;\n waveHeight?: number;\n waveSpeed?: number;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n vesselHeadingDeg?: number\n }\n\n \n \n export type {CurrentType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/current/current.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCurrent',\n props: {\n type: {},\n currentSpeed: {},\n currentFromDirection: {},\n priority: {},\n hasPattern: { type: Boolean, default: undefined },\n waveLength: {},\n waveHeight: {},\n waveSpeed: {},\n vesselImage: {},\n vesselImageSrc: {},\n vesselHeadingDeg: {}\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-current',\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":"qRA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,KAAM,CAAA,EACN,aAAc,CAAA,EACd,qBAAsB,CAAA,EACtB,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,WAAY,CAAA,EACZ,WAAY,CAAA,EACZ,UAAW,CAAA,EACX,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,iBAAkB,CAAA,CAAC,EAErB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,cACAI,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,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.j
|
|
|
2
2
|
import { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
|
|
3
3
|
import { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
4
|
import { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
|
|
5
|
-
import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
5
|
+
import { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
6
6
|
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
7
7
|
import { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
8
8
|
export interface Props {
|
|
@@ -24,6 +24,7 @@ export interface Props {
|
|
|
24
24
|
hasScale?: boolean;
|
|
25
25
|
showVessel?: boolean;
|
|
26
26
|
vesselImage?: VesselImage;
|
|
27
|
+
vesselImageSrc?: VesselImageSrc | undefined;
|
|
27
28
|
hasAdvice?: boolean;
|
|
28
29
|
advice?: LinearAdvice[];
|
|
29
30
|
priority?: Priority;
|
|
@@ -32,7 +33,7 @@ export interface Props {
|
|
|
32
33
|
export type { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
|
|
33
34
|
export type { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
34
35
|
export type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
|
|
35
|
-
export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
36
|
+
export type { VesselImage, VesselImageSrc } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
36
37
|
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
37
38
|
export type { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
38
39
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,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/depth/depth.js";const x=d({__name:"ObcDepth",props:{type:{},data:{},prediction:{},scan:{},scanRange:{},predictedDepth:{},value:{},hasValueLine:{type:Boolean,default:void 0},now:{},xAxis:{},ranges:{},maxDepth:{},autoRange:{type:Boolean,default:void 0},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},hasScale:{type:Boolean,default:void 0},showVessel:{type:Boolean,default:void 0},vesselImage:{},hasAdvice:{type:Boolean,default:void 0},advice:{},priority:{},state:{}},setup(c){const t=c,
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as v,withDirectives as f,openBlock as m,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/depth/depth.js";const x=d({__name:"ObcDepth",props:{type:{},data:{},prediction:{},scan:{},scanRange:{},predictedDepth:{},value:{},hasValueLine:{type:Boolean,default:void 0},now:{},xAxis:{},ranges:{},maxDepth:{},autoRange:{type:Boolean,default:void 0},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},hasScale:{type:Boolean,default:void 0},showVessel:{type:Boolean,default:void 0},vesselImage:{},vesselImageSrc:{},hasAdvice:{type:Boolean,default:void 0},advice:{},priority:{},state:{}},setup(c){const t=c,s=u({}),l={created(o){for(const e in t)s[e]=o[e]}};let n=!1;const i=v(),p=()=>{const e={};for(const a in t){const r=t[a];(r!==void 0||n)&&(e[a]=r??s[a])}return n=!0,y("obc-depth",e,B(i))};return(o,e)=>f((m(),h(p,null,null,512)),[[l]])}});export{x as default};
|
|
2
2
|
//# sourceMappingURL=ObcDepth2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDepth2.vue.js","sources":["../../src/navigation-instruments/depth/ObcDepth.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/depth/depth.js';\n import {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nimport {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: DepthType;\n data?: DepthDataItem[];\n prediction?: ChartLineDataItem[];\n scan?: ChartLineDataItem[];\n scanRange?: number | undefined;\n predictedDepth?: number | undefined;\n value?: number | undefined;\n hasValueLine?: boolean;\n now?: number;\n xAxis?: ChartLineXAxisConfig | undefined;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n hasScale?: boolean;\n showVessel?: boolean;\n vesselImage?: VesselImage;\n hasAdvice?: boolean;\n advice?: LinearAdvice[];\n priority?: Priority;\n state?: InstrumentState\n }\n\n \n \n export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nexport type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepth',\n props: {\n type: {},\n data: {},\n prediction: {},\n scan: {},\n scanRange: {},\n predictedDepth: {},\n value: {},\n hasValueLine: { type: Boolean, default: undefined },\n now: {},\n xAxis: {},\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean, default: undefined },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n hasScale: { type: Boolean, default: undefined },\n showVessel: { type: Boolean, default: undefined },\n vesselImage: {},\n hasAdvice: { type: Boolean, default: undefined },\n advice: {},\n priority: {},\n state: {}\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-depth',\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":"ObcDepth2.vue.js","sources":["../../src/navigation-instruments/depth/ObcDepth.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/depth/depth.js';\n import {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nimport {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nimport {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: DepthType;\n data?: DepthDataItem[];\n prediction?: ChartLineDataItem[];\n scan?: ChartLineDataItem[];\n scanRange?: number | undefined;\n predictedDepth?: number | undefined;\n value?: number | undefined;\n hasValueLine?: boolean;\n now?: number;\n xAxis?: ChartLineXAxisConfig | undefined;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n hasScale?: boolean;\n showVessel?: boolean;\n vesselImage?: VesselImage;\n vesselImageSrc?: VesselImageSrc | undefined;\n hasAdvice?: boolean;\n advice?: LinearAdvice[];\n priority?: Priority;\n state?: InstrumentState\n }\n\n \n \n export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nexport type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nexport type {VesselImage, VesselImageSrc} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepth',\n props: {\n type: {},\n data: {},\n prediction: {},\n scan: {},\n scanRange: {},\n predictedDepth: {},\n value: {},\n hasValueLine: { type: Boolean, default: undefined },\n now: {},\n xAxis: {},\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean, default: undefined },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n hasScale: { type: Boolean, default: undefined },\n showVessel: { type: Boolean, default: undefined },\n vesselImage: {},\n vesselImageSrc: {},\n hasAdvice: { type: Boolean, default: undefined },\n advice: {},\n priority: {},\n state: {}\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-depth',\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":"sRAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,KAAM,CAAA,EACN,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,IAAK,CAAA,EACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,MAAO,CAAA,CAAC,EAEV,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|