@oicl/openbridge-webcomponents-vue 2.0.0-next.93 → 2.0.0-next.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.vue.d.ts +3 -3
- package/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.vue2.js +1 -1
- package/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.vue2.js.map +1 -1
- package/navigation-instruments/readout/ObcReadout.vue.d.ts +35 -53
- package/navigation-instruments/readout/ObcReadout.vue2.js +1 -1
- package/navigation-instruments/readout/ObcReadout.vue2.js.map +1 -1
- package/package.json +2 -4
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.d.ts +0 -27
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.js +0 -2
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.js.map +0 -1
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue2.js +0 -2
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue2.js.map +0 -1
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue.d.ts +0 -30
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue.js +0 -2
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue.js.map +0 -1
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue2.js +0 -2
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue2.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
|
|
2
2
|
import { CommandStatus } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';
|
|
3
3
|
import { AzimuthThrusterLabeledSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ReadoutBlockSize } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
5
5
|
import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
6
6
|
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
|
|
7
7
|
import { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
@@ -10,7 +10,7 @@ export interface Props {
|
|
|
10
10
|
label?: string;
|
|
11
11
|
commandStatus?: CommandStatus;
|
|
12
12
|
size?: AzimuthThrusterLabeledSize;
|
|
13
|
-
|
|
13
|
+
readoutSize?: ReadoutBlockSize;
|
|
14
14
|
angle?: number;
|
|
15
15
|
angleSetpoint?: number | undefined;
|
|
16
16
|
newAngleSetpoint?: number | undefined;
|
|
@@ -36,7 +36,7 @@ export interface Props {
|
|
|
36
36
|
}
|
|
37
37
|
export type { CommandStatus } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';
|
|
38
38
|
export type { AzimuthThrusterLabeledSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
|
|
39
|
-
export type {
|
|
39
|
+
export type { ReadoutBlockSize } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
40
40
|
export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
41
41
|
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
|
|
42
42
|
export type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as c,reactive as d,useSlots as
|
|
1
|
+
import{defineComponent as c,reactive as d,useSlots as S,withDirectives as h,openBlock as m,createBlock as A,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js";const y=c({__name:"ObcAzimuthThrusterLabeled",props:{label:{},commandStatus:{},size:{},readoutSize:{},angle:{},angleSetpoint:{},newAngleSetpoint:{},atAngleSetpoint:{type:Boolean},angleSetpointAtZeroDeadband:{},angleSetpointOverride:{type:Boolean},autoAtAngleSetpoint:{type:Boolean},autoAtAngleSetpointDeadband:{},touching:{type:Boolean},thrust:{},thrustSetpoint:{},atThrustSetpoint:{type:Boolean},autoAtThrustSetpoint:{type:Boolean},autoAtThrustSetpointDeadband:{},thrustSetpointAtZeroDeadband:{},thrustSetpointOverride:{type:Boolean},angleAdvices:{},thrustAdvices:{},tickmarkStyle:{},singleDirection:{type:Boolean},topPropeller:{},bottomPropeller:{}},setup(l){const e=l,r=d({}),i={created(o){for(const t in e)r[t]=o[t]}};let a=!1;const p=S(),u=()=>{const t={};for(const n in e){const s=e[n];(s!==void 0||a)&&(t[n]=s??r[n])}return a=!0,g("obc-azimuth-thruster-labeled",t,v(p))};return(o,t)=>h((m(),A(u,null,null,512)),[[i]])}});export{y as default};
|
|
2
2
|
//# sourceMappingURL=ObcAzimuthThrusterLabeled.vue2.js.map
|
package/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.vue2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAzimuthThrusterLabeled.vue2.js","sources":["../../src/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.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/azimuth-thruster-labeled/azimuth-thruster-labeled.js';\n import {CommandStatus} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';\nimport {AzimuthThrusterLabeledSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';\nimport {
|
|
1
|
+
{"version":3,"file":"ObcAzimuthThrusterLabeled.vue2.js","sources":["../../src/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.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/azimuth-thruster-labeled/azimuth-thruster-labeled.js';\n import {CommandStatus} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';\nimport {AzimuthThrusterLabeledSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';\nimport {ReadoutBlockSize} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';\nimport {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nimport {PropellerType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/propeller.js';\n\n export interface Props {\n label?: string;\n commandStatus?: CommandStatus;\n size?: AzimuthThrusterLabeledSize;\n readoutSize?: ReadoutBlockSize;\n angle?: number;\n angleSetpoint?: number | undefined;\n newAngleSetpoint?: number | undefined;\n atAngleSetpoint?: boolean;\n angleSetpointAtZeroDeadband?: number;\n angleSetpointOverride?: boolean;\n autoAtAngleSetpoint?: boolean;\n autoAtAngleSetpointDeadband?: number;\n touching?: boolean;\n thrust?: number;\n thrustSetpoint?: number | undefined;\n atThrustSetpoint?: boolean;\n autoAtThrustSetpoint?: boolean;\n autoAtThrustSetpointDeadband?: number;\n thrustSetpointAtZeroDeadband?: number;\n thrustSetpointOverride?: boolean;\n angleAdvices?: AngleAdvice[];\n thrustAdvices?: LinearAdvice[];\n tickmarkStyle?: TickmarkStyle;\n singleDirection?: boolean;\n topPropeller?: PropellerType;\n bottomPropeller?: PropellerType\n }\n\n \n \n export type {CommandStatus} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';\nexport type {AzimuthThrusterLabeledSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';\nexport type {ReadoutBlockSize} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';\nexport type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';\nexport type {PropellerType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/propeller.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAzimuthThrusterLabeled',\n props: {\n label: {},\n commandStatus: {},\n size: {},\n readoutSize: {},\n angle: {},\n angleSetpoint: {},\n newAngleSetpoint: {},\n atAngleSetpoint: { type: Boolean },\n angleSetpointAtZeroDeadband: {},\n angleSetpointOverride: { type: Boolean },\n autoAtAngleSetpoint: { type: Boolean },\n autoAtAngleSetpointDeadband: {},\n touching: { type: Boolean },\n thrust: {},\n thrustSetpoint: {},\n atThrustSetpoint: { type: Boolean },\n autoAtThrustSetpoint: { type: Boolean },\n autoAtThrustSetpointDeadband: {},\n thrustSetpointAtZeroDeadband: {},\n thrustSetpointOverride: { type: Boolean },\n angleAdvices: {},\n thrustAdvices: {},\n tickmarkStyle: {},\n singleDirection: { type: Boolean },\n topPropeller: {},\n bottomPropeller: {}\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-azimuth-thruster-labeled',\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":"4TAqDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,MAAO,CAAA,EACP,cAAe,CAAA,EACf,KAAM,CAAA,EACN,YAAa,CAAA,EACb,MAAO,CAAA,EACP,cAAe,CAAA,EACf,iBAAkB,CAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,4BAA6B,CAAA,EAC7B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,4BAA6B,CAAA,EAC7B,SAAU,CAAE,KAAM,OAAA,EAClB,OAAQ,CAAA,EACR,eAAgB,CAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,qBAAsB,CAAE,KAAM,OAAA,EAC9B,6BAA8B,CAAA,EAC9B,6BAA8B,CAAA,EAC9B,uBAAwB,CAAE,KAAM,OAAA,EAChC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,cAAe,CAAA,EACf,gBAAiB,CAAE,KAAM,OAAA,EACzB,aAAc,CAAA,EACd,gBAAiB,CAAA,CAAC,EAEpB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,+BACAF,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,77 +1,59 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
|
-
import {
|
|
3
|
-
import { ReadoutVariant, ReadoutDataState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
|
+
import { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
4
3
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
import {
|
|
4
|
+
import { ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
6
5
|
import { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
-
import {
|
|
6
|
+
import { ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
8
7
|
export interface Props {
|
|
9
|
-
|
|
10
|
-
hasSetpoint?: boolean;
|
|
11
|
-
setpointValue?: number | undefined;
|
|
12
|
-
variant?: ReadoutVariant;
|
|
13
|
-
hasDegree?: boolean;
|
|
14
|
-
label?: string;
|
|
8
|
+
label?: string | undefined;
|
|
15
9
|
unit?: string | undefined;
|
|
16
10
|
src?: string | undefined;
|
|
11
|
+
hasValue?: boolean;
|
|
12
|
+
value?: number | null;
|
|
17
13
|
off?: boolean;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
offText?: string;
|
|
15
|
+
hasSetpoint?: boolean;
|
|
16
|
+
setpoint?: number | undefined;
|
|
17
|
+
hasAdvice?: boolean;
|
|
18
|
+
advice?: number | undefined;
|
|
19
|
+
size?: ReadoutBlockSize | undefined;
|
|
20
|
+
priority?: Priority | undefined;
|
|
21
|
+
direction?: ReadoutDirection | undefined;
|
|
22
|
+
stacking?: ReadoutStacking | undefined;
|
|
23
|
+
alignment?: ReadoutAlignment | undefined;
|
|
24
|
+
hasDegree?: boolean;
|
|
25
|
+
hasDegreeSpacer?: boolean;
|
|
28
26
|
fractionDigits?: number;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
labelOnly?: boolean;
|
|
32
|
-
hasSrcPicker?: boolean;
|
|
33
|
-
sourceDeltaValue?: number;
|
|
34
|
-
sourceType?: ReadoutSourceType | undefined;
|
|
35
|
-
hasLeadingIcon?: boolean;
|
|
27
|
+
maxDigits?: number;
|
|
28
|
+
dataQuality?: ReadoutBlockDataQuality | undefined;
|
|
36
29
|
alert?: boolean | AlertFrameConfig;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
adviceState?: ReadoutAdviceState;
|
|
44
|
-
adviceSecondaryValue?: number | undefined;
|
|
45
|
-
adviceDescription?: string;
|
|
46
|
-
adviceHasHintedZeros?: boolean;
|
|
47
|
-
setpointFormat?: ReadoutSetpointFormat;
|
|
48
|
-
setpointSecondaryValue?: number | undefined;
|
|
49
|
-
setpointDescription?: string;
|
|
50
|
-
setpointHasHintedZeros?: boolean;
|
|
30
|
+
valueOptions?: ReadoutValueOptions | undefined;
|
|
31
|
+
setpointOptions?: ReadoutSetpointOptions | undefined;
|
|
32
|
+
adviceOptions?: ReadoutAdviceOptions | undefined;
|
|
33
|
+
unitOptions?: ReadoutReserverOptions | undefined;
|
|
34
|
+
srcOptions?: ReadoutSourceOptions | undefined;
|
|
35
|
+
showDebugOverlay?: boolean;
|
|
51
36
|
}
|
|
52
|
-
export type {
|
|
53
|
-
export type { ReadoutVariant, ReadoutDataState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
37
|
+
export type { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
54
38
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
55
|
-
export type {
|
|
39
|
+
export type { ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
56
40
|
export type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
57
|
-
export type {
|
|
41
|
+
export type { ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
58
42
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
59
|
-
"source-flyout-click": (payload: CustomEvent<{
|
|
60
|
-
src: string;
|
|
61
|
-
sourceType?: ReadoutSourceType;
|
|
62
|
-
}>) => any;
|
|
63
43
|
"source-change": (payload: CustomEvent<{
|
|
64
44
|
value: string;
|
|
65
45
|
label?: string;
|
|
66
46
|
}>) => any;
|
|
67
|
-
|
|
68
|
-
"onSource-flyout-click"?: ((payload: CustomEvent<{
|
|
47
|
+
"source-flyout-click": (payload: CustomEvent<{
|
|
69
48
|
src: string;
|
|
70
|
-
|
|
71
|
-
|
|
49
|
+
}>) => any;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
72
51
|
"onSource-change"?: ((payload: CustomEvent<{
|
|
73
52
|
value: string;
|
|
74
53
|
label?: string;
|
|
75
54
|
}>) => any) | undefined;
|
|
55
|
+
"onSource-flyout-click"?: ((payload: CustomEvent<{
|
|
56
|
+
src: string;
|
|
57
|
+
}>) => any) | undefined;
|
|
76
58
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
77
59
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as d,reactive as v,useSlots as y,withDirectives as h,openBlock as m,createBlock as g,h as B}from"vue";import{assignSlotNodes as O}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js";const _=d({__name:"ObcReadout",props:{label:{},unit:{},src:{},hasValue:{type:Boolean},value:{},off:{type:Boolean},offText:{},hasSetpoint:{type:Boolean},setpoint:{},hasAdvice:{type:Boolean},advice:{},size:{},priority:{},direction:{},stacking:{},alignment:{},hasDegree:{type:Boolean},hasDegreeSpacer:{type:Boolean},fractionDigits:{},maxDigits:{},dataQuality:{},alert:{type:[Boolean,Object]},valueOptions:{},setpointOptions:{},adviceOptions:{},unitOptions:{},srcOptions:{},showDebugOverlay:{type:Boolean}},emits:["source-change","source-flyout-click"],setup(r,{emit:l}){const t=r,s=v({}),p={created(n){for(const o in t)s[o]=n[o]}};let a=!1;const c=l,u=y(),f=()=>{const o={onSourceChange:e=>c("source-change",e),onSourceFlyoutClick:e=>c("source-flyout-click",e)};for(const e in t){const i=t[e];(i!==void 0||a)&&(o[e]=i??s[e])}return a=!0,B("obc-readout",o,O(u))};return(n,o)=>h((m(),g(f,null,null,512)),[[p]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcReadout.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadout.vue2.js","sources":["../../src/navigation-instruments/readout/ObcReadout.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/readout/readout.js';\n import {
|
|
1
|
+
{"version":3,"file":"ObcReadout.vue2.js","sources":["../../src/navigation-instruments/readout/ObcReadout.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/readout/readout.js';\n import {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n\n export interface Props {\n label?: string | undefined;\n unit?: string | undefined;\n src?: string | undefined;\n hasValue?: boolean;\n value?: number | null;\n off?: boolean;\n offText?: string;\n hasSetpoint?: boolean;\n setpoint?: number | undefined;\n hasAdvice?: boolean;\n advice?: number | undefined;\n size?: ReadoutBlockSize | undefined;\n priority?: Priority | undefined;\n direction?: ReadoutDirection | undefined;\n stacking?: ReadoutStacking | undefined;\n alignment?: ReadoutAlignment | undefined;\n hasDegree?: boolean;\n hasDegreeSpacer?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n valueOptions?: ReadoutValueOptions | undefined;\n setpointOptions?: ReadoutSetpointOptions | undefined;\n adviceOptions?: ReadoutAdviceOptions | undefined;\n unitOptions?: ReadoutReserverOptions | undefined;\n srcOptions?: ReadoutSourceOptions | undefined;\n showDebugOverlay?: boolean\n }\n\n \n \n export type {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadout',\n props: {\n label: {},\n unit: {},\n src: {},\n hasValue: { type: Boolean },\n value: {},\n off: { type: Boolean },\n offText: {},\n hasSetpoint: { type: Boolean },\n setpoint: {},\n hasAdvice: { type: Boolean },\n advice: {},\n size: {},\n priority: {},\n direction: {},\n stacking: {},\n alignment: {},\n hasDegree: { type: Boolean },\n hasDegreeSpacer: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n valueOptions: {},\n setpointOptions: {},\n adviceOptions: {},\n unitOptions: {},\n srcOptions: {},\n showDebugOverlay: { type: Boolean }\n },\n emits: [\"source-change\", \"source-flyout-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 onSourceChange: (event: CustomEvent<{value: string, label?: string}>) => emit('source-change', event as CustomEvent<{value: string, label?: string}>),\nonSourceFlyoutClick: (event: CustomEvent<{src: string}>) => emit('source-flyout-click', event as CustomEvent<{src: string}>)\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-readout',\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":"0RAmDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,SAAU,CAAE,KAAM,OAAA,EAClB,MAAO,CAAA,EACP,IAAK,CAAE,KAAM,OAAA,EACb,QAAS,CAAA,EACT,YAAa,CAAE,KAAM,OAAA,EACrB,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,OAAA,EACnB,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,SAAU,CAAA,EACV,UAAW,CAAA,EACX,SAAU,CAAA,EACV,UAAW,CAAA,EACX,UAAW,CAAE,KAAM,OAAA,EACnB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,CAAC,QAAS,MAAM,CAAA,EAC/B,aAAc,CAAA,EACd,gBAAiB,CAAA,EACjB,cAAe,CAAA,EACf,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,iBAAkB,CAAE,KAAM,OAAA,CAAQ,EAEpC,MAAO,CAAC,gBAAiB,qBAAqB,EAC9C,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,CAKnB,MAAMC,EAJa,CACvB,eAAiBC,GAAwDL,EAAK,gBAAiBK,CAAqD,EACxJ,oBAAsBA,GAAsCL,EAAK,sBAAuBK,CAAmC,CAAA,EAKrH,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,cACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
|
|
9
9
|
"preview": "vite preview"
|
|
10
10
|
},
|
|
11
|
-
"version": "2.0.0-next.
|
|
11
|
+
"version": "2.0.0-next.94",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.93",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|
|
@@ -2332,10 +2332,8 @@
|
|
|
2332
2332
|
"navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.*",
|
|
2333
2333
|
"navigation-instruments/rate-of-turn/ObcRateOfTurn.*",
|
|
2334
2334
|
"navigation-instruments/readout/ObcReadout.*",
|
|
2335
|
-
"navigation-instruments/readout-advice/ObcReadoutAdvice.*",
|
|
2336
2335
|
"navigation-instruments/readout-list/ObcReadoutList.*",
|
|
2337
2336
|
"navigation-instruments/readout-list-item/ObcReadoutListItem.*",
|
|
2338
|
-
"navigation-instruments/readout-setpoint/ObcReadoutSetpoint.*",
|
|
2339
2337
|
"navigation-instruments/roll/ObcRoll.*",
|
|
2340
2338
|
"navigation-instruments/roll-indicator/ObcRollIndicator.*",
|
|
2341
2339
|
"navigation-instruments/rot-indicator/ObcRotIndicator.*",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
2
|
-
import { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
3
|
-
import { ReadoutSetpointSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
4
|
-
import { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
5
|
-
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
|
-
export interface Props {
|
|
7
|
-
readoutStyle?: ReadoutVariant | undefined;
|
|
8
|
-
direction?: ReadoutDirection | undefined;
|
|
9
|
-
size?: ReadoutSetpointSize;
|
|
10
|
-
format?: ReadoutAdviceFormat | undefined;
|
|
11
|
-
priority?: Priority | undefined;
|
|
12
|
-
state?: ReadoutAdviceState;
|
|
13
|
-
hugContent?: boolean;
|
|
14
|
-
value?: number | undefined;
|
|
15
|
-
secondaryValue?: number | undefined;
|
|
16
|
-
description?: string;
|
|
17
|
-
minValueLength?: number;
|
|
18
|
-
hasHintedZeros?: boolean;
|
|
19
|
-
fractionDigits?: number;
|
|
20
|
-
hasDegree?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
23
|
-
export type { ReadoutSetpointSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
24
|
-
export type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
25
|
-
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
26
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadoutAdvice.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as v,openBlock as m,createBlock as h,h as y}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js";const P=u({__name:"ObcReadoutAdvice",props:{readoutStyle:{},direction:{},size:{},format:{},priority:{},state:{},hugContent:{type:Boolean},value:{},secondaryValue:{},description:{},minValueLength:{},hasHintedZeros:{type:Boolean},fractionDigits:{},hasDegree:{type:Boolean}},setup(c){const t=c,s=d({}),i={created(o){for(const e in t)s[e]=o[e]}};let r=!1;const l=f(),p=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||r)&&(e[n]=a??s[n])}return r=!0,y("obc-readout-advice",e,_(l))};return(o,e)=>v((m(),h(p,null,null,512)),[[i]])}});export{P as default};
|
|
2
|
-
//# sourceMappingURL=ObcReadoutAdvice.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadoutAdvice.vue2.js","sources":["../../src/navigation-instruments/readout-advice/ObcReadoutAdvice.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/readout-advice/readout-advice.js';\n import {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {ReadoutSetpointSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';\nimport {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n readoutStyle?: ReadoutVariant | undefined;\n direction?: ReadoutDirection | undefined;\n size?: ReadoutSetpointSize;\n format?: ReadoutAdviceFormat | undefined;\n priority?: Priority | undefined;\n state?: ReadoutAdviceState;\n hugContent?: boolean;\n value?: number | undefined;\n secondaryValue?: number | undefined;\n description?: string;\n minValueLength?: number;\n hasHintedZeros?: boolean;\n fractionDigits?: number;\n hasDegree?: boolean\n }\n\n \n \n export type {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {ReadoutSetpointSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';\nexport type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutAdvice',\n props: {\n readoutStyle: {},\n direction: {},\n size: {},\n format: {},\n priority: {},\n state: {},\n hugContent: { type: Boolean },\n value: {},\n secondaryValue: {},\n description: {},\n minValueLength: {},\n hasHintedZeros: { type: Boolean },\n fractionDigits: {},\n hasDegree: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-readout-advice',\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":"wSAmCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,aAAc,CAAA,EACd,UAAW,CAAA,EACX,KAAM,CAAA,EACN,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,MAAO,CAAA,EACP,WAAY,CAAE,KAAM,OAAA,EACpB,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,eAAgB,CAAE,KAAM,OAAA,EACxB,eAAgB,CAAA,EAChB,UAAW,CAAE,KAAM,OAAA,CAAQ,EAE7B,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,qBACAF,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,30 +0,0 @@
|
|
|
1
|
-
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
2
|
-
import { ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
3
|
-
import { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
|
-
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export interface Props {
|
|
6
|
-
variant?: ReadoutSetpointVariant;
|
|
7
|
-
readoutStyle?: ReadoutVariant | undefined;
|
|
8
|
-
direction?: ReadoutDirection | undefined;
|
|
9
|
-
size?: ReadoutSetpointSize;
|
|
10
|
-
valueTypography?: ReadoutSetpointValueTypography | undefined;
|
|
11
|
-
format?: ReadoutSetpointFormat | undefined;
|
|
12
|
-
mode?: ReadoutSetpointMode | undefined;
|
|
13
|
-
priority?: Priority | undefined;
|
|
14
|
-
hugContent?: boolean;
|
|
15
|
-
minValueLength?: number;
|
|
16
|
-
value?: number | undefined;
|
|
17
|
-
secondaryValue?: number | undefined;
|
|
18
|
-
off?: boolean;
|
|
19
|
-
description?: string;
|
|
20
|
-
hasHintedZeros?: boolean;
|
|
21
|
-
hasDegree?: boolean;
|
|
22
|
-
showZeroPadding?: boolean;
|
|
23
|
-
fractionDigits?: number;
|
|
24
|
-
reserveSpaceForIcon?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export type { ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
27
|
-
export type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
28
|
-
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
29
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadoutSetpoint.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js";const D=u({__name:"ObcReadoutSetpoint",props:{variant:{},readoutStyle:{},direction:{},size:{},valueTypography:{},format:{},mode:{},priority:{},hugContent:{type:Boolean},minValueLength:{},value:{},secondaryValue:{},off:{type:Boolean},description:{},hasHintedZeros:{type:Boolean},hasDegree:{type:Boolean},showZeroPadding:{type:Boolean},fractionDigits:{},reserveSpaceForIcon:{type:Boolean}},setup(i){const o=i,r=d({}),c={created(t){for(const e in o)r[e]=t[e]}};let s=!1;const p=f(),l=()=>{const e={};for(const n in o){const a=o[n];(a!==void 0||s)&&(e[n]=a??r[n])}return s=!0,h("obc-readout-setpoint",e,B(p))};return(t,e)=>v((m(),y(l,null,null,512)),[[c]])}});export{D as default};
|
|
2
|
-
//# sourceMappingURL=ObcReadoutSetpoint.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadoutSetpoint.vue2.js","sources":["../../src/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.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/readout-setpoint/readout-setpoint.js';\n import {ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';\nimport {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n variant?: ReadoutSetpointVariant;\n readoutStyle?: ReadoutVariant | undefined;\n direction?: ReadoutDirection | undefined;\n size?: ReadoutSetpointSize;\n valueTypography?: ReadoutSetpointValueTypography | undefined;\n format?: ReadoutSetpointFormat | undefined;\n mode?: ReadoutSetpointMode | undefined;\n priority?: Priority | undefined;\n hugContent?: boolean;\n minValueLength?: number;\n value?: number | undefined;\n secondaryValue?: number | undefined;\n off?: boolean;\n description?: string;\n hasHintedZeros?: boolean;\n hasDegree?: boolean;\n showZeroPadding?: boolean;\n fractionDigits?: number;\n reserveSpaceForIcon?: boolean\n }\n\n \n \n export type {ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';\nexport type {ReadoutVariant, ReadoutDirection} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutSetpoint',\n props: {\n variant: {},\n readoutStyle: {},\n direction: {},\n size: {},\n valueTypography: {},\n format: {},\n mode: {},\n priority: {},\n hugContent: { type: Boolean },\n minValueLength: {},\n value: {},\n secondaryValue: {},\n off: { type: Boolean },\n description: {},\n hasHintedZeros: { type: Boolean },\n hasDegree: { type: Boolean },\n showZeroPadding: { type: Boolean },\n fractionDigits: {},\n reserveSpaceForIcon: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-readout-setpoint',\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":"uSAsCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,QAAS,CAAA,EACT,aAAc,CAAA,EACd,UAAW,CAAA,EACX,KAAM,CAAA,EACN,gBAAiB,CAAA,EACjB,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,IAAK,CAAE,KAAM,OAAA,EACb,YAAa,CAAA,EACb,eAAgB,CAAE,KAAM,OAAA,EACxB,UAAW,CAAE,KAAM,OAAA,EACnB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,oBAAqB,CAAE,KAAM,OAAA,CAAQ,EAEvC,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,uBACAI,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"}
|