@oicl/openbridge-webcomponents-vue 2.0.0-next.32 → 2.0.0-next.33
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 -0
- 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 +84 -0
- package/navigation-instruments/readout/ObcReadout.vue.js +2 -0
- package/navigation-instruments/readout/ObcReadout.vue.js.map +1 -0
- package/navigation-instruments/readout/ObcReadout.vue2.js +2 -0
- package/navigation-instruments/readout/ObcReadout.vue2.js.map +1 -0
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.d.ts +28 -0
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.js +2 -0
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.js.map +1 -0
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue2.js +2 -0
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue2.js.map +1 -0
- package/navigation-instruments/readout-input/ObcReadoutInput.vue.d.ts +30 -0
- package/navigation-instruments/readout-input/ObcReadoutInput.vue.js +2 -0
- package/navigation-instruments/readout-input/ObcReadoutInput.vue.js.map +1 -0
- package/navigation-instruments/readout-input/ObcReadoutInput.vue2.js +2 -0
- package/navigation-instruments/readout-input/ObcReadoutInput.vue2.js.map +1 -0
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.d.ts +29 -0
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.js +2 -0
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.js.map +1 -0
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js +2 -0
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js.map +1 -0
- package/package.json +6 -3
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue.d.ts +0 -25
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue.js +0 -2
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue.js.map +0 -1
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue2.js +0 -2
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue2.js.map +0 -1
|
@@ -1,6 +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 { ReadoutVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
5
|
import { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
5
6
|
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
|
|
6
7
|
import { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
@@ -9,6 +10,7 @@ export interface Props {
|
|
|
9
10
|
label?: string;
|
|
10
11
|
commandStatus?: CommandStatus;
|
|
11
12
|
size?: AzimuthThrusterLabeledSize;
|
|
13
|
+
readoutVariant?: ReadoutVariant;
|
|
12
14
|
angle?: number;
|
|
13
15
|
angleSetpoint?: number | undefined;
|
|
14
16
|
newAngleSetpoint?: number | undefined;
|
|
@@ -34,6 +36,7 @@ export interface Props {
|
|
|
34
36
|
}
|
|
35
37
|
export type { CommandStatus } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/badge-command/badge-command.js';
|
|
36
38
|
export type { AzimuthThrusterLabeledSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js';
|
|
39
|
+
export type { ReadoutVariant } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
37
40
|
export type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
38
41
|
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/thruster/advice.js';
|
|
39
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 h,withDirectives as S,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:{},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({}),
|
|
1
|
+
import{defineComponent as c,reactive as d,useSlots as h,withDirectives as S,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:{},readoutVariant:{},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=h(),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)=>S((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 {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 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 {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 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":"
|
|
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 {ReadoutVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.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 readoutVariant?: ReadoutVariant;\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 {ReadoutVariant} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.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 readoutVariant: {},\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,eAAgB,CAAA,EAChB,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"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
|
+
import { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
3
|
+
import { ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
|
+
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
6
|
+
import { ReadoutInputFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
7
|
+
export interface Props {
|
|
8
|
+
variant?: ReadoutVariant;
|
|
9
|
+
valuePriority?: Priority | undefined;
|
|
10
|
+
alertState?: ReadoutAlertState;
|
|
11
|
+
inputInteraction?: ReadoutInputInteraction;
|
|
12
|
+
direction?: ReadoutDirection;
|
|
13
|
+
alignment?: ReadoutStackVerticalAlignment;
|
|
14
|
+
hug?: boolean;
|
|
15
|
+
hasAdvice?: boolean;
|
|
16
|
+
hasInput?: boolean;
|
|
17
|
+
hasInputDivider?: boolean;
|
|
18
|
+
hasSourceDivider?: boolean;
|
|
19
|
+
hasSrc?: boolean;
|
|
20
|
+
value?: string | number | undefined;
|
|
21
|
+
maxDigits?: number;
|
|
22
|
+
showZeroPadding?: boolean;
|
|
23
|
+
fractionDigits?: number;
|
|
24
|
+
valueHasFixedLength?: boolean;
|
|
25
|
+
valueLength?: string;
|
|
26
|
+
valueHasHintedZeros?: boolean;
|
|
27
|
+
hasDegree?: boolean;
|
|
28
|
+
unit?: string;
|
|
29
|
+
src?: string;
|
|
30
|
+
sourceDeltaValue?: string;
|
|
31
|
+
labelOnly?: boolean;
|
|
32
|
+
hasSrcPicker?: boolean;
|
|
33
|
+
hasLeadingIcon?: boolean;
|
|
34
|
+
adviceValue?: string | number | undefined;
|
|
35
|
+
setpointValue?: string | number | undefined;
|
|
36
|
+
label?: string;
|
|
37
|
+
sourceType?: ReadoutSourceType | undefined;
|
|
38
|
+
sourceHug?: boolean;
|
|
39
|
+
hasSourceLeadingIcon?: boolean;
|
|
40
|
+
hasSourceTrailingIcon?: boolean;
|
|
41
|
+
hasLabelFixedLength?: boolean;
|
|
42
|
+
labelLength?: string;
|
|
43
|
+
hasUnitFixedLength?: boolean;
|
|
44
|
+
unitLength?: string;
|
|
45
|
+
adviceFormat?: ReadoutAdviceFormat;
|
|
46
|
+
adviceState?: ReadoutAdviceState;
|
|
47
|
+
advicePriority?: Priority | undefined;
|
|
48
|
+
adviceHasFixedLength?: boolean;
|
|
49
|
+
adviceSecondaryValue?: string;
|
|
50
|
+
adviceDescription?: string;
|
|
51
|
+
adviceValueLength?: string;
|
|
52
|
+
adviceHasHintedZeros?: boolean;
|
|
53
|
+
inputFormat?: ReadoutInputFormat;
|
|
54
|
+
inputHasFixedLength?: boolean;
|
|
55
|
+
inputSecondaryValue?: string;
|
|
56
|
+
inputDescription?: string;
|
|
57
|
+
inputValueLength?: string;
|
|
58
|
+
inputHasHintedZeros?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export type { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
61
|
+
export type { ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
62
|
+
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
63
|
+
export type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
64
|
+
export type { ReadoutInputFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
65
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
66
|
+
"source-flyout-click": (payload: CustomEvent<{
|
|
67
|
+
src: string;
|
|
68
|
+
sourceType?: ReadoutSourceType;
|
|
69
|
+
}>) => any;
|
|
70
|
+
"source-change": (payload: CustomEvent<{
|
|
71
|
+
value: string;
|
|
72
|
+
label?: string;
|
|
73
|
+
}>) => any;
|
|
74
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
75
|
+
"onSource-flyout-click"?: ((payload: CustomEvent<{
|
|
76
|
+
src: string;
|
|
77
|
+
sourceType?: ReadoutSourceType;
|
|
78
|
+
}>) => any) | undefined;
|
|
79
|
+
"onSource-change"?: ((payload: CustomEvent<{
|
|
80
|
+
value: string;
|
|
81
|
+
label?: string;
|
|
82
|
+
}>) => any) | undefined;
|
|
83
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
84
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadout.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as h,reactive as y,useSlots as v,withDirectives as g,openBlock as B,createBlock as m,h as f}from"vue";import{assignSlotNodes as L}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js";const x=h({__name:"ObcReadout",props:{variant:{},valuePriority:{},alertState:{},inputInteraction:{},direction:{},alignment:{},hug:{type:Boolean},hasAdvice:{type:Boolean},hasInput:{type:Boolean},hasInputDivider:{type:Boolean},hasSourceDivider:{type:Boolean},hasSrc:{type:Boolean},value:{},maxDigits:{},showZeroPadding:{type:Boolean},fractionDigits:{},valueHasFixedLength:{type:Boolean},valueLength:{},valueHasHintedZeros:{type:Boolean},hasDegree:{type:Boolean},unit:{},src:{},sourceDeltaValue:{},labelOnly:{type:Boolean},hasSrcPicker:{type:Boolean},hasLeadingIcon:{type:Boolean},adviceValue:{},setpointValue:{},label:{},sourceType:{},sourceHug:{type:Boolean},hasSourceLeadingIcon:{type:Boolean},hasSourceTrailingIcon:{type:Boolean},hasLabelFixedLength:{type:Boolean},labelLength:{},hasUnitFixedLength:{type:Boolean},unitLength:{},adviceFormat:{},adviceState:{},advicePriority:{},adviceHasFixedLength:{type:Boolean},adviceSecondaryValue:{},adviceDescription:{},adviceValueLength:{},adviceHasHintedZeros:{type:Boolean},inputFormat:{},inputHasFixedLength:{type:Boolean},inputSecondaryValue:{},inputDescription:{},inputValueLength:{},inputHasHintedZeros:{type:Boolean}},emits:["source-flyout-click","source-change"],setup(r,{emit:l}){const t=r,a=y({}),u={created(n){for(const o in t)a[o]=n[o]}};let i=!1;const s=l,p=v(),d=()=>{const o={onSourceFlyoutClick:e=>s("source-flyout-click",e),onSourceChange:e=>s("source-change",e)};for(const e in t){const c=t[e];(c!==void 0||i)&&(o[e]=c??a[e])}return i=!0,f("obc-readout",o,L(p))};return(n,o)=>g((B(),m(d,null,null,512)),[[u]])}});export{x as default};
|
|
2
|
+
//# sourceMappingURL=ObcReadout.vue2.js.map
|
|
@@ -0,0 +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 {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nimport {ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';\nimport {ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';\n\n export interface Props {\n variant?: ReadoutVariant;\n valuePriority?: Priority | undefined;\n alertState?: ReadoutAlertState;\n inputInteraction?: ReadoutInputInteraction;\n direction?: ReadoutDirection;\n alignment?: ReadoutStackVerticalAlignment;\n hug?: boolean;\n hasAdvice?: boolean;\n hasInput?: boolean;\n hasInputDivider?: boolean;\n hasSourceDivider?: boolean;\n hasSrc?: boolean;\n value?: string | number | undefined;\n maxDigits?: number;\n showZeroPadding?: boolean;\n fractionDigits?: number;\n valueHasFixedLength?: boolean;\n valueLength?: string;\n valueHasHintedZeros?: boolean;\n hasDegree?: boolean;\n unit?: string;\n src?: string;\n sourceDeltaValue?: string;\n labelOnly?: boolean;\n hasSrcPicker?: boolean;\n hasLeadingIcon?: boolean;\n adviceValue?: string | number | undefined;\n setpointValue?: string | number | undefined;\n label?: string;\n sourceType?: ReadoutSourceType | undefined;\n sourceHug?: boolean;\n hasSourceLeadingIcon?: boolean;\n hasSourceTrailingIcon?: boolean;\n hasLabelFixedLength?: boolean;\n labelLength?: string;\n hasUnitFixedLength?: boolean;\n unitLength?: string;\n adviceFormat?: ReadoutAdviceFormat;\n adviceState?: ReadoutAdviceState;\n advicePriority?: Priority | undefined;\n adviceHasFixedLength?: boolean;\n adviceSecondaryValue?: string;\n adviceDescription?: string;\n adviceValueLength?: string;\n adviceHasHintedZeros?: boolean;\n inputFormat?: ReadoutInputFormat;\n inputHasFixedLength?: boolean;\n inputSecondaryValue?: string;\n inputDescription?: string;\n inputValueLength?: string;\n inputHasHintedZeros?: boolean\n }\n\n \n \n export type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nexport type {ReadoutVariant, ReadoutAlertState, ReadoutInputInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';\nexport type {ReadoutInputFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadout',\n props: {\n variant: {},\n valuePriority: {},\n alertState: {},\n inputInteraction: {},\n direction: {},\n alignment: {},\n hug: { type: Boolean },\n hasAdvice: { type: Boolean },\n hasInput: { type: Boolean },\n hasInputDivider: { type: Boolean },\n hasSourceDivider: { type: Boolean },\n hasSrc: { type: Boolean },\n value: {},\n maxDigits: {},\n showZeroPadding: { type: Boolean },\n fractionDigits: {},\n valueHasFixedLength: { type: Boolean },\n valueLength: {},\n valueHasHintedZeros: { type: Boolean },\n hasDegree: { type: Boolean },\n unit: {},\n src: {},\n sourceDeltaValue: {},\n labelOnly: { type: Boolean },\n hasSrcPicker: { type: Boolean },\n hasLeadingIcon: { type: Boolean },\n adviceValue: {},\n setpointValue: {},\n label: {},\n sourceType: {},\n sourceHug: { type: Boolean },\n hasSourceLeadingIcon: { type: Boolean },\n hasSourceTrailingIcon: { type: Boolean },\n hasLabelFixedLength: { type: Boolean },\n labelLength: {},\n hasUnitFixedLength: { type: Boolean },\n unitLength: {},\n adviceFormat: {},\n adviceState: {},\n advicePriority: {},\n adviceHasFixedLength: { type: Boolean },\n adviceSecondaryValue: {},\n adviceDescription: {},\n adviceValueLength: {},\n adviceHasHintedZeros: { type: Boolean },\n inputFormat: {},\n inputHasFixedLength: { type: Boolean },\n inputSecondaryValue: {},\n inputDescription: {},\n inputValueLength: {},\n inputHasHintedZeros: { type: Boolean }\n },\n emits: [\"source-flyout-click\", \"source-change\"],\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 onSourceFlyoutClick: (event: CustomEvent<{src: string, sourceType?: ReadoutSourceType}>) => emit('source-flyout-click', event as CustomEvent<{src: string, sourceType?: ReadoutSourceType}>),\nonSourceChange: (event: CustomEvent<{value: string, label?: string}>) => emit('source-change', event as CustomEvent<{value: string, label?: 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":"0RA0EA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,QAAS,CAAA,EACT,cAAe,CAAA,EACf,WAAY,CAAA,EACZ,iBAAkB,CAAA,EAClB,UAAW,CAAA,EACX,UAAW,CAAA,EACX,IAAK,CAAE,KAAM,OAAA,EACb,UAAW,CAAE,KAAM,OAAA,EACnB,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,OAAQ,CAAE,KAAM,OAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,YAAa,CAAA,EACb,oBAAqB,CAAE,KAAM,OAAA,EAC7B,UAAW,CAAE,KAAM,OAAA,EACnB,KAAM,CAAA,EACN,IAAK,CAAA,EACL,iBAAkB,CAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,eAAgB,CAAE,KAAM,OAAA,EACxB,YAAa,CAAA,EACb,cAAe,CAAA,EACf,MAAO,CAAA,EACP,WAAY,CAAA,EACZ,UAAW,CAAE,KAAM,OAAA,EACnB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,YAAa,CAAA,EACb,mBAAoB,CAAE,KAAM,OAAA,EAC5B,WAAY,CAAA,EACZ,aAAc,CAAA,EACd,YAAa,CAAA,EACb,eAAgB,CAAA,EAChB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,kBAAmB,CAAA,EACnB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,YAAa,CAAA,EACb,oBAAqB,CAAE,KAAM,OAAA,EAC7B,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,iBAAkB,CAAA,EAClB,oBAAqB,CAAE,KAAM,OAAA,CAAQ,EAEvC,MAAO,CAAC,sBAAuB,eAAe,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,oBAAsBC,GAAsEL,EAAK,sBAAuBK,CAAmE,EAC/L,eAAiBA,GAAwDL,EAAK,gBAAiBK,CAAqD,CAAA,EAK9I,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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { ReadoutInputSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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?: ReadoutInputSize;
|
|
10
|
+
format?: ReadoutAdviceFormat | undefined;
|
|
11
|
+
priority?: Priority | undefined;
|
|
12
|
+
state?: ReadoutAdviceState;
|
|
13
|
+
hugContent?: boolean;
|
|
14
|
+
hasFixedLength?: boolean;
|
|
15
|
+
value?: string | number | undefined;
|
|
16
|
+
secondaryValue?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
valueLength?: string;
|
|
19
|
+
hasHintedZeros?: boolean;
|
|
20
|
+
fractionDigits?: number;
|
|
21
|
+
hasDegree?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
24
|
+
export type { ReadoutInputSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
25
|
+
export type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
26
|
+
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
27
|
+
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>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadoutAdvice.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as f,withDirectives as v,openBlock as h,createBlock as m,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js";const x=d({__name:"ObcReadoutAdvice",props:{readoutStyle:{},direction:{},size:{},format:{},priority:{},state:{},hugContent:{type:Boolean},hasFixedLength:{type:Boolean},value:{},secondaryValue:{},description:{},valueLength:{},hasHintedZeros:{type:Boolean},fractionDigits:{},hasDegree:{type:Boolean}},setup(c){const t=c,s=u({}),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,g(l))};return(o,e)=>v((h(),m(p,null,null,512)),[[i]])}});export{x as default};
|
|
2
|
+
//# sourceMappingURL=ObcReadoutAdvice.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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 {ReadoutInputSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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?: ReadoutInputSize;\n format?: ReadoutAdviceFormat | undefined;\n priority?: Priority | undefined;\n state?: ReadoutAdviceState;\n hugContent?: boolean;\n hasFixedLength?: boolean;\n value?: string | number | undefined;\n secondaryValue?: string;\n description?: string;\n valueLength?: string;\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 {ReadoutInputSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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 hasFixedLength: { type: Boolean },\n value: {},\n secondaryValue: {},\n description: {},\n valueLength: {},\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":"wSAoCA,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,eAAgB,CAAE,KAAM,OAAA,EACxB,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js';
|
|
2
|
+
import { ReadoutInputVariant, ReadoutInputSize, ReadoutInputValueTypography, ReadoutInputFormat, ReadoutInputMode } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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?: ReadoutInputVariant;
|
|
7
|
+
readoutStyle?: ReadoutVariant | undefined;
|
|
8
|
+
direction?: ReadoutDirection | undefined;
|
|
9
|
+
size?: ReadoutInputSize;
|
|
10
|
+
valueTypography?: ReadoutInputValueTypography | undefined;
|
|
11
|
+
format?: ReadoutInputFormat | undefined;
|
|
12
|
+
mode?: ReadoutInputMode | undefined;
|
|
13
|
+
priority?: Priority | undefined;
|
|
14
|
+
hugContent?: boolean;
|
|
15
|
+
hasFixedLength?: boolean;
|
|
16
|
+
value?: string | number | undefined;
|
|
17
|
+
secondaryValue?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
valueLength?: string;
|
|
20
|
+
hasHintedZeros?: boolean;
|
|
21
|
+
hasDegree?: boolean;
|
|
22
|
+
showZeroPadding?: boolean;
|
|
23
|
+
maxDigits?: number;
|
|
24
|
+
fractionDigits?: number;
|
|
25
|
+
}
|
|
26
|
+
export type { ReadoutInputVariant, ReadoutInputSize, ReadoutInputValueTypography, ReadoutInputFormat, ReadoutInputMode } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadoutInput.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as h,openBlock as v,createBlock as m,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.js";const x=u({__name:"ObcReadoutInput",props:{variant:{},readoutStyle:{},direction:{},size:{},valueTypography:{},format:{},mode:{},priority:{},hugContent:{type:Boolean},hasFixedLength:{type:Boolean},value:{},secondaryValue:{},description:{},valueLength:{},hasHintedZeros:{type:Boolean},hasDegree:{type:Boolean},showZeroPadding:{type:Boolean},maxDigits:{},fractionDigits:{}},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,y("obc-readout-input",e,g(p))};return(t,e)=>h((v(),m(l,null,null,512)),[[c]])}});export{x as default};
|
|
2
|
+
//# sourceMappingURL=ObcReadoutInput.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadoutInput.vue2.js","sources":["../../src/navigation-instruments/readout-input/ObcReadoutInput.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-input/readout-input.js';\n import {ReadoutInputVariant, ReadoutInputSize, ReadoutInputValueTypography, ReadoutInputFormat, ReadoutInputMode} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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?: ReadoutInputVariant;\n readoutStyle?: ReadoutVariant | undefined;\n direction?: ReadoutDirection | undefined;\n size?: ReadoutInputSize;\n valueTypography?: ReadoutInputValueTypography | undefined;\n format?: ReadoutInputFormat | undefined;\n mode?: ReadoutInputMode | undefined;\n priority?: Priority | undefined;\n hugContent?: boolean;\n hasFixedLength?: boolean;\n value?: string | number | undefined;\n secondaryValue?: string;\n description?: string;\n valueLength?: string;\n hasHintedZeros?: boolean;\n hasDegree?: boolean;\n showZeroPadding?: boolean;\n maxDigits?: number;\n fractionDigits?: number\n }\n\n \n \n export type {ReadoutInputVariant, ReadoutInputSize, ReadoutInputValueTypography, ReadoutInputFormat, ReadoutInputMode} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-input/readout-input.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: 'ObcReadoutInput',\n props: {\n variant: {},\n readoutStyle: {},\n direction: {},\n size: {},\n valueTypography: {},\n format: {},\n mode: {},\n priority: {},\n hugContent: { type: Boolean },\n hasFixedLength: { type: Boolean },\n value: {},\n secondaryValue: {},\n description: {},\n valueLength: {},\n hasHintedZeros: { type: Boolean },\n hasDegree: { type: Boolean },\n showZeroPadding: { type: Boolean },\n maxDigits: {},\n fractionDigits: {}\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-input',\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":"sSAsCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,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,CAAE,KAAM,OAAA,EACxB,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,eAAgB,CAAE,KAAM,OAAA,EACxB,UAAW,CAAE,KAAM,OAAA,EACnB,gBAAiB,CAAE,KAAM,OAAA,EACzB,UAAW,CAAA,EACX,eAAgB,CAAA,CAAC,EAEnB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,oBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
2
|
+
import { ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
3
|
+
export interface Props {
|
|
4
|
+
size?: ReadoutListItemSize;
|
|
5
|
+
stacking?: ReadoutListItemStacking;
|
|
6
|
+
priority?: ReadoutListItemPriority;
|
|
7
|
+
alertState?: ReadoutListItemAlertState;
|
|
8
|
+
label?: string;
|
|
9
|
+
unit?: string;
|
|
10
|
+
src?: string;
|
|
11
|
+
value?: string | number | undefined;
|
|
12
|
+
inputValue?: string | number | undefined;
|
|
13
|
+
hasInput?: boolean;
|
|
14
|
+
hasDegree?: boolean;
|
|
15
|
+
hasUnit?: boolean;
|
|
16
|
+
hasLabel?: boolean;
|
|
17
|
+
hasSource?: boolean;
|
|
18
|
+
hasLeadingIcon?: boolean;
|
|
19
|
+
hasValueIcon?: boolean;
|
|
20
|
+
maxDigits?: number;
|
|
21
|
+
fractionDigits?: number;
|
|
22
|
+
showZeroPadding?: boolean;
|
|
23
|
+
hasFixedLength?: boolean;
|
|
24
|
+
valueLength?: string;
|
|
25
|
+
hasHintedZeros?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export type { ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
28
|
+
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>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadoutListItem.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as h,withDirectives as f,openBlock as B,createBlock as m,h as y}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js";const L=u({__name:"ObcReadoutListItem",props:{size:{},stacking:{},priority:{},alertState:{},label:{},unit:{},src:{},value:{},inputValue:{},hasInput:{type:Boolean},hasDegree:{type:Boolean},hasUnit:{type:Boolean},hasLabel:{type:Boolean},hasSource:{type:Boolean},hasLeadingIcon:{type:Boolean},hasValueIcon:{type:Boolean},maxDigits:{},fractionDigits:{},showZeroPadding:{type:Boolean},hasFixedLength:{type:Boolean},valueLength:{},hasHintedZeros:{type:Boolean}},setup(i){const t=i,s=d({}),l={created(o){for(const e in t)s[e]=o[e]}};let a=!1;const c=h(),p=()=>{const e={};for(const n in t){const r=t[n];(r!==void 0||a)&&(e[n]=r??s[n])}return a=!0,y("obc-readout-list-item",e,v(c))};return(o,e)=>f((B(),m(p,null,null,512)),[[l]])}});export{L as default};
|
|
2
|
+
//# sourceMappingURL=ObcReadoutListItem.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadoutListItem.vue2.js","sources":["../../src/navigation-instruments/readout-list-item/ObcReadoutListItem.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-list-item/readout-list-item.js';\n import {ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n\n export interface Props {\n size?: ReadoutListItemSize;\n stacking?: ReadoutListItemStacking;\n priority?: ReadoutListItemPriority;\n alertState?: ReadoutListItemAlertState;\n label?: string;\n unit?: string;\n src?: string;\n value?: string | number | undefined;\n inputValue?: string | number | undefined;\n hasInput?: boolean;\n hasDegree?: boolean;\n hasUnit?: boolean;\n hasLabel?: boolean;\n hasSource?: boolean;\n hasLeadingIcon?: boolean;\n hasValueIcon?: boolean;\n maxDigits?: number;\n fractionDigits?: number;\n showZeroPadding?: boolean;\n hasFixedLength?: boolean;\n valueLength?: string;\n hasHintedZeros?: boolean\n }\n\n \n \n export type {ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutListItem',\n props: {\n size: {},\n stacking: {},\n priority: {},\n alertState: {},\n label: {},\n unit: {},\n src: {},\n value: {},\n inputValue: {},\n hasInput: { type: Boolean },\n hasDegree: { type: Boolean },\n hasUnit: { type: Boolean },\n hasLabel: { type: Boolean },\n hasSource: { type: Boolean },\n hasLeadingIcon: { type: Boolean },\n hasValueIcon: { type: Boolean },\n maxDigits: {},\n fractionDigits: {},\n showZeroPadding: { type: Boolean },\n hasFixedLength: { type: Boolean },\n valueLength: {},\n hasHintedZeros: { 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-list-item',\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":"8SAqCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAA,EACV,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,MAAO,CAAA,EACP,WAAY,CAAA,EACZ,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,QAAS,CAAE,KAAM,OAAA,EACjB,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAE,KAAM,OAAA,EACtB,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAE,KAAM,OAAA,EACxB,YAAa,CAAA,EACb,eAAgB,CAAE,KAAM,OAAA,CAAQ,EAElC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,wBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
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.33",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.32",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|
|
@@ -2210,7 +2210,6 @@
|
|
|
2210
2210
|
"navigation-instruments/heading-indicator/ObcHeadingIndicator.*",
|
|
2211
2211
|
"navigation-instruments/heave/ObcHeave.*",
|
|
2212
2212
|
"navigation-instruments/heave-indicator/ObcHeaveIndicator.*",
|
|
2213
|
-
"navigation-instruments/instrument-field/ObcInstrumentField.*",
|
|
2214
2213
|
"navigation-instruments/main-engine/ObcMainEngine.*",
|
|
2215
2214
|
"navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.*",
|
|
2216
2215
|
"navigation-instruments/pitch/ObcPitch.*",
|
|
@@ -2219,6 +2218,10 @@
|
|
|
2219
2218
|
"navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.*",
|
|
2220
2219
|
"navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.*",
|
|
2221
2220
|
"navigation-instruments/rate-of-turn/ObcRateOfTurn.*",
|
|
2221
|
+
"navigation-instruments/readout/ObcReadout.*",
|
|
2222
|
+
"navigation-instruments/readout-advice/ObcReadoutAdvice.*",
|
|
2223
|
+
"navigation-instruments/readout-input/ObcReadoutInput.*",
|
|
2224
|
+
"navigation-instruments/readout-list-item/ObcReadoutListItem.*",
|
|
2222
2225
|
"navigation-instruments/roll/ObcRoll.*",
|
|
2223
2226
|
"navigation-instruments/roll-indicator/ObcRollIndicator.*",
|
|
2224
2227
|
"navigation-instruments/rot-indicator/ObcRotIndicator.*",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';
|
|
2
|
-
import { InstrumentFieldSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';
|
|
3
|
-
export interface Props {
|
|
4
|
-
size?: InstrumentFieldSize;
|
|
5
|
-
setpoint?: number | undefined;
|
|
6
|
-
hasSetpoint?: boolean;
|
|
7
|
-
hasSrc?: boolean;
|
|
8
|
-
value?: number | undefined;
|
|
9
|
-
maxDigits?: number;
|
|
10
|
-
showZeroPadding?: boolean;
|
|
11
|
-
fractionDigits?: number;
|
|
12
|
-
tag?: string;
|
|
13
|
-
unit?: string;
|
|
14
|
-
src?: string;
|
|
15
|
-
neutralColor?: boolean;
|
|
16
|
-
horizontal?: boolean;
|
|
17
|
-
center?: boolean;
|
|
18
|
-
labelOnly?: boolean;
|
|
19
|
-
off?: boolean;
|
|
20
|
-
autoHideSetpoint?: boolean;
|
|
21
|
-
autoHideDeadband?: number;
|
|
22
|
-
}
|
|
23
|
-
export type { InstrumentFieldSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';
|
|
24
|
-
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>;
|
|
25
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcInstrumentField.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as B,createBlock as y,h as v}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js";const S=u({__name:"ObcInstrumentField",props:{size:{},setpoint:{},hasSetpoint:{type:Boolean},hasSrc:{type:Boolean},value:{},maxDigits:{},showZeroPadding:{type:Boolean},fractionDigits:{},tag:{},unit:{},src:{},neutralColor:{type:Boolean},horizontal:{type:Boolean},center:{type:Boolean},labelOnly:{type:Boolean},off:{type:Boolean},autoHideSetpoint:{type:Boolean},autoHideDeadband:{}},setup(l){const o=l,s=d({}),i={created(t){for(const e in o)s[e]=t[e]}};let r=!1;const p=f(),c=()=>{const e={};for(const n in o){const a=o[n];(a!==void 0||r)&&(e[n]=a??s[n])}return r=!0,v("obc-instrument-field",e,h(p))};return(t,e)=>m((B(),y(c,null,null,512)),[[i]])}});export{S as default};
|
|
2
|
-
//# sourceMappingURL=ObcInstrumentField.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcInstrumentField.vue2.js","sources":["../../src/navigation-instruments/instrument-field/ObcInstrumentField.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/instrument-field/instrument-field.js';\n import {InstrumentFieldSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';\n\n export interface Props {\n size?: InstrumentFieldSize;\n setpoint?: number | undefined;\n hasSetpoint?: boolean;\n hasSrc?: boolean;\n value?: number | undefined;\n maxDigits?: number;\n showZeroPadding?: boolean;\n fractionDigits?: number;\n tag?: string;\n unit?: string;\n src?: string;\n neutralColor?: boolean;\n horizontal?: boolean;\n center?: boolean;\n labelOnly?: boolean;\n off?: boolean;\n autoHideSetpoint?: boolean;\n autoHideDeadband?: number\n }\n\n \n \n export type {InstrumentFieldSize} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/instrument-field/instrument-field.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcInstrumentField',\n props: {\n size: {},\n setpoint: {},\n hasSetpoint: { type: Boolean },\n hasSrc: { type: Boolean },\n value: {},\n maxDigits: {},\n showZeroPadding: { type: Boolean },\n fractionDigits: {},\n tag: {},\n unit: {},\n src: {},\n neutralColor: { type: Boolean },\n horizontal: { type: Boolean },\n center: { type: Boolean },\n labelOnly: { type: Boolean },\n off: { type: Boolean },\n autoHideSetpoint: { type: Boolean },\n autoHideDeadband: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-instrument-field',\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":"4SAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAA,EACV,YAAa,CAAE,KAAM,OAAA,EACrB,OAAQ,CAAE,KAAM,OAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,IAAK,CAAA,EACL,KAAM,CAAA,EACN,IAAK,CAAA,EACL,aAAc,CAAE,KAAM,OAAA,EACtB,WAAY,CAAE,KAAM,OAAA,EACpB,OAAQ,CAAE,KAAM,OAAA,EAChB,UAAW,CAAE,KAAM,OAAA,EACnB,IAAK,CAAE,KAAM,OAAA,EACb,iBAAkB,CAAE,KAAM,OAAA,EAC1B,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,GAGLM,EACL,uBACAF,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"}
|