@oicl/openbridge-webcomponents-vue 2.0.0-next.42 → 2.0.0-next.43
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/gauge-trend/ObcGaugeTrend.vue.d.ts +3 -3
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js +1 -1
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js.map +1 -1
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue.d.ts +25 -0
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue.js +2 -0
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue.js.map +1 -0
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue2.js +2 -0
- package/navigation-instruments/instrument-field/ObcInstrumentField.vue2.js.map +1 -0
- package/navigation-instruments/readout/ObcReadout.vue.d.ts +25 -36
- package/navigation-instruments/readout/ObcReadout.vue2.js +1 -1
- package/navigation-instruments/readout/ObcReadout.vue2.js.map +1 -1
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue.d.ts +6 -7
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue2.js +1 -1
- package/navigation-instruments/readout-advice/ObcReadoutAdvice.vue2.js.map +1 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.d.ts +4 -6
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js +1 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js.map +1 -1
- package/navigation-instruments/{readout-input/ObcReadoutInput.vue.d.ts → readout-setpoint/ObcReadoutSetpoint.vue.d.ts} +12 -13
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue.js +2 -0
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue.js.map +1 -0
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue2.js +2 -0
- package/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.vue2.js.map +1 -0
- package/package.json +4 -3
- package/navigation-instruments/readout-input/ObcReadoutInput.vue.js +0 -2
- package/navigation-instruments/readout-input/ObcReadoutInput.vue.js.map +0 -1
- package/navigation-instruments/readout-input/ObcReadoutInput.vue2.js +0 -2
- package/navigation-instruments/readout-input/ObcReadoutInput.vue2.js.map +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js';
|
|
2
|
-
import { Priority, InstrumentState, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
2
|
import { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
4
3
|
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
4
|
import { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
5
|
import { ChartDataset } from 'chart.js';
|
|
6
|
+
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
7
|
export interface Props {
|
|
8
|
-
priority?: Priority;
|
|
9
8
|
scaleType?: ScaleType;
|
|
10
9
|
minValue?: number;
|
|
11
10
|
maxValue?: number;
|
|
@@ -62,16 +61,17 @@ export interface Props {
|
|
|
62
61
|
yTicksLimit?: number | undefined;
|
|
63
62
|
yStepSize?: number | undefined;
|
|
64
63
|
state?: InstrumentState;
|
|
64
|
+
priority?: Priority;
|
|
65
65
|
frameStyle?: FrameStyle;
|
|
66
66
|
borderRadiusPosition?: BorderRadiusPosition | undefined;
|
|
67
67
|
borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;
|
|
68
68
|
instrumentMode?: boolean;
|
|
69
69
|
borderRadius?: number | undefined;
|
|
70
70
|
}
|
|
71
|
-
export type { Priority, InstrumentState, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
72
71
|
export type { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
73
72
|
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
74
73
|
export type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
75
74
|
export type { ChartDataset } from 'chart.js';
|
|
75
|
+
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
76
76
|
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>;
|
|
77
77
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as B,openBlock as h,createBlock as m,h as f}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js";const b=d({__name:"ObcGaugeTrend",props:{
|
|
1
|
+
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as B,openBlock as h,createBlock as m,h as f}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js";const b=d({__name:"ObcGaugeTrend",props:{scaleType:{},minValue:{},maxValue:{},chartMinValue:{},chartMaxValue:{},value:{},hasBar:{type:Boolean},hasScale:{type:Boolean},hasAdvice:{type:Boolean},fillMode:{},fillMin:{},fillMax:{},advice:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},chartFill:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean},data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const t=r,n=y({}),l={created(o){for(const e in t)n[e]=o[e]}};let i=!1;const p=u(),c=()=>{const e={};for(const a in t){const s=t[a];(s!==void 0||i)&&(e[a]=s??n[a])}return i=!0,f("obc-gauge-trend",e,v(p))};return(o,e)=>B((h(),m(c,null,null,512)),[[l]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcGaugeTrend.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcGaugeTrend.vue2.js","sources":["../../src/navigation-instruments/gauge-trend/ObcGaugeTrend.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/gauge-trend/gauge-trend.js';\n import {
|
|
1
|
+
{"version":3,"file":"ObcGaugeTrend.vue2.js","sources":["../../src/navigation-instruments/gauge-trend/ObcGaugeTrend.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/gauge-trend/gauge-trend.js';\n import {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {ChartDataset} from 'chart.js';\nimport {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n scaleType?: ScaleType;\n minValue?: number;\n maxValue?: number;\n chartMinValue?: number | undefined;\n chartMaxValue?: number | undefined;\n value?: number | undefined;\n hasBar?: boolean;\n hasScale?: boolean;\n hasAdvice?: boolean;\n fillMode?: FillMode;\n fillMin?: number;\n fillMax?: number | undefined;\n advice?: LinearAdvice[];\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number;\n tertiaryTickmarkInterval?: number | undefined;\n chartFill?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean;\n data?: ChartLineDataItem[];\n datasets?: ChartDataset<\"line\", (number | { x: string | number | Date; y: number; })[]>[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {ChartDataset} from 'chart.js';\nexport type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeTrend',\n props: {\n scaleType: {},\n minValue: {},\n maxValue: {},\n chartMinValue: {},\n chartMaxValue: {},\n value: {},\n hasBar: { type: Boolean },\n hasScale: { type: Boolean },\n hasAdvice: { type: Boolean },\n fillMode: {},\n fillMin: {},\n fillMax: {},\n advice: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n chartFill: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean },\n data: {},\n datasets: {},\n labels: {},\n colors: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n width: {},\n height: {},\n fixedAspectRatioScaling: { type: Boolean },\n scaleReferenceSize: {},\n xAxisType: {},\n yAxisPosition: {},\n yAxes: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-gauge-trend',\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":"kSAkFA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,UAAW,CAAA,EACX,SAAU,CAAA,EACV,SAAU,CAAA,EACV,cAAe,CAAA,EACf,cAAe,CAAA,EACf,MAAO,CAAA,EACP,OAAQ,CAAE,KAAM,OAAA,EAChB,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,OAAQ,CAAA,EACR,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,UAAW,CAAE,KAAM,OAAA,EACnB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,EACzB,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,kBACAF,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,25 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcInstrumentField.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,67 +1,56 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
2
|
import { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
3
|
-
import { ReadoutVariant, ReadoutAlertState,
|
|
3
|
+
import { ReadoutVariant, ReadoutAlertState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
4
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
import {
|
|
5
|
+
import { ReadoutSetpointSize, ReadoutSetpointFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
6
6
|
import { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
7
7
|
export interface Props {
|
|
8
|
+
value?: number | undefined;
|
|
9
|
+
hasSetpoint?: boolean;
|
|
10
|
+
setpointValue?: number | undefined;
|
|
8
11
|
variant?: ReadoutVariant;
|
|
12
|
+
hasDegree?: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
unit?: string | undefined;
|
|
15
|
+
src?: string | undefined;
|
|
16
|
+
off?: boolean;
|
|
9
17
|
valuePriority?: Priority | undefined;
|
|
10
18
|
alertState?: ReadoutAlertState;
|
|
11
|
-
|
|
19
|
+
setpointInteraction?: ReadoutSetpointInteraction;
|
|
12
20
|
direction?: ReadoutDirection;
|
|
13
|
-
|
|
21
|
+
setpointSize?: ReadoutSetpointSize | undefined;
|
|
14
22
|
alignment?: ReadoutStackVerticalAlignment;
|
|
15
23
|
hug?: boolean;
|
|
16
|
-
|
|
17
|
-
hasInput?: boolean;
|
|
18
|
-
hasInputDivider?: boolean;
|
|
24
|
+
hasSetpointDivider?: boolean;
|
|
19
25
|
hasSourceDivider?: boolean;
|
|
20
|
-
hasSrc?: boolean;
|
|
21
|
-
value?: string | number | undefined;
|
|
22
|
-
maxDigits?: number;
|
|
23
26
|
showZeroPadding?: boolean;
|
|
24
27
|
fractionDigits?: number;
|
|
25
|
-
|
|
26
|
-
valueLength?: string;
|
|
28
|
+
minValueLength?: number;
|
|
27
29
|
valueHasHintedZeros?: boolean;
|
|
28
|
-
hasDegree?: boolean;
|
|
29
|
-
unit?: string;
|
|
30
|
-
src?: string;
|
|
31
|
-
sourceDeltaValue?: string;
|
|
32
30
|
labelOnly?: boolean;
|
|
33
31
|
hasSrcPicker?: boolean;
|
|
34
|
-
|
|
35
|
-
adviceValue?: string | number | undefined;
|
|
36
|
-
setpointValue?: string | number | undefined;
|
|
37
|
-
label?: string;
|
|
32
|
+
sourceDeltaValue?: number;
|
|
38
33
|
sourceType?: ReadoutSourceType | undefined;
|
|
34
|
+
hasLeadingIcon?: boolean;
|
|
39
35
|
sourceHug?: boolean;
|
|
40
36
|
hasSourceLeadingIcon?: boolean;
|
|
41
37
|
hasSourceTrailingIcon?: boolean;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
hasUnitFixedLength?: boolean;
|
|
45
|
-
unitLength?: string;
|
|
38
|
+
hasAdvice?: boolean;
|
|
39
|
+
adviceValue?: number | undefined;
|
|
46
40
|
adviceFormat?: ReadoutAdviceFormat;
|
|
47
41
|
adviceState?: ReadoutAdviceState;
|
|
48
|
-
|
|
49
|
-
adviceHasFixedLength?: boolean;
|
|
50
|
-
adviceSecondaryValue?: string;
|
|
42
|
+
adviceSecondaryValue?: number | undefined;
|
|
51
43
|
adviceDescription?: string;
|
|
52
|
-
adviceValueLength?: string;
|
|
53
44
|
adviceHasHintedZeros?: boolean;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
inputValueLength?: string;
|
|
59
|
-
inputHasHintedZeros?: boolean;
|
|
45
|
+
setpointFormat?: ReadoutSetpointFormat;
|
|
46
|
+
setpointSecondaryValue?: number | undefined;
|
|
47
|
+
setpointDescription?: string;
|
|
48
|
+
setpointHasHintedZeros?: boolean;
|
|
60
49
|
}
|
|
61
50
|
export type { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
62
|
-
export type { ReadoutVariant, ReadoutAlertState,
|
|
51
|
+
export type { ReadoutVariant, ReadoutAlertState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
63
52
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
64
|
-
export type {
|
|
53
|
+
export type { ReadoutSetpointSize, ReadoutSetpointFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
65
54
|
export type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
66
55
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
67
56
|
"source-flyout-click": (payload: CustomEvent<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as y,reactive as v,useSlots as h,withDirectives as B,openBlock as f,createBlock as m,h as S}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js";const P=y({__name:"ObcReadout",props:{value:{},hasSetpoint:{type:Boolean},setpointValue:{},variant:{},hasDegree:{type:Boolean},label:{},unit:{},src:{},off:{type:Boolean},valuePriority:{},alertState:{},setpointInteraction:{},direction:{},setpointSize:{},alignment:{},hug:{type:Boolean},hasSetpointDivider:{type:Boolean},hasSourceDivider:{type:Boolean},showZeroPadding:{type:Boolean},fractionDigits:{},minValueLength:{},valueHasHintedZeros:{type:Boolean},labelOnly:{type:Boolean},hasSrcPicker:{type:Boolean},sourceDeltaValue:{},sourceType:{},hasLeadingIcon:{type:Boolean},sourceHug:{type:Boolean},hasSourceLeadingIcon:{type:Boolean},hasSourceTrailingIcon:{type:Boolean},hasAdvice:{type:Boolean},adviceValue:{},adviceFormat:{},adviceState:{},adviceSecondaryValue:{},adviceDescription:{},adviceHasHintedZeros:{type:Boolean},setpointFormat:{},setpointSecondaryValue:{},setpointDescription:{},setpointHasHintedZeros:{type:Boolean}},emits:["source-flyout-click","source-change"],setup(c,{emit:l}){const t=c,a=v({}),p={created(n){for(const o in t)a[o]=n[o]}};let s=!1;const i=l,u=h(),d=()=>{const o={onSourceFlyoutClick:e=>i("source-flyout-click",e),onSourceChange:e=>i("source-change",e)};for(const e in t){const r=t[e];(r!==void 0||s)&&(o[e]=r??a[e])}return s=!0,S("obc-readout",o,g(u))};return(n,o)=>B((f(),m(d,null,null,512)),[[p]])}});export{P 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 {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nimport {ReadoutVariant, ReadoutAlertState,
|
|
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, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ReadoutSetpointSize, ReadoutSetpointFormat} 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';\n\n export interface Props {\n value?: number | undefined;\n hasSetpoint?: boolean;\n setpointValue?: number | undefined;\n variant?: ReadoutVariant;\n hasDegree?: boolean;\n label?: string;\n unit?: string | undefined;\n src?: string | undefined;\n off?: boolean;\n valuePriority?: Priority | undefined;\n alertState?: ReadoutAlertState;\n setpointInteraction?: ReadoutSetpointInteraction;\n direction?: ReadoutDirection;\n setpointSize?: ReadoutSetpointSize | undefined;\n alignment?: ReadoutStackVerticalAlignment;\n hug?: boolean;\n hasSetpointDivider?: boolean;\n hasSourceDivider?: boolean;\n showZeroPadding?: boolean;\n fractionDigits?: number;\n minValueLength?: number;\n valueHasHintedZeros?: boolean;\n labelOnly?: boolean;\n hasSrcPicker?: boolean;\n sourceDeltaValue?: number;\n sourceType?: ReadoutSourceType | undefined;\n hasLeadingIcon?: boolean;\n sourceHug?: boolean;\n hasSourceLeadingIcon?: boolean;\n hasSourceTrailingIcon?: boolean;\n hasAdvice?: boolean;\n adviceValue?: number | undefined;\n adviceFormat?: ReadoutAdviceFormat;\n adviceState?: ReadoutAdviceState;\n adviceSecondaryValue?: number | undefined;\n adviceDescription?: string;\n adviceHasHintedZeros?: boolean;\n setpointFormat?: ReadoutSetpointFormat;\n setpointSecondaryValue?: number | undefined;\n setpointDescription?: string;\n setpointHasHintedZeros?: boolean\n }\n\n \n \n export type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nexport type {ReadoutVariant, ReadoutAlertState, ReadoutSetpointInteraction, 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 {ReadoutSetpointSize, ReadoutSetpointFormat} 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';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadout',\n props: {\n value: {},\n hasSetpoint: { type: Boolean },\n setpointValue: {},\n variant: {},\n hasDegree: { type: Boolean },\n label: {},\n unit: {},\n src: {},\n off: { type: Boolean },\n valuePriority: {},\n alertState: {},\n setpointInteraction: {},\n direction: {},\n setpointSize: {},\n alignment: {},\n hug: { type: Boolean },\n hasSetpointDivider: { type: Boolean },\n hasSourceDivider: { type: Boolean },\n showZeroPadding: { type: Boolean },\n fractionDigits: {},\n minValueLength: {},\n valueHasHintedZeros: { type: Boolean },\n labelOnly: { type: Boolean },\n hasSrcPicker: { type: Boolean },\n sourceDeltaValue: {},\n sourceType: {},\n hasLeadingIcon: { type: Boolean },\n sourceHug: { type: Boolean },\n hasSourceLeadingIcon: { type: Boolean },\n hasSourceTrailingIcon: { type: Boolean },\n hasAdvice: { type: Boolean },\n adviceValue: {},\n adviceFormat: {},\n adviceState: {},\n adviceSecondaryValue: {},\n adviceDescription: {},\n adviceHasHintedZeros: { type: Boolean },\n setpointFormat: {},\n setpointSecondaryValue: {},\n setpointDescription: {},\n setpointHasHintedZeros: { 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":"0RAgEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,MAAO,CAAA,EACP,YAAa,CAAE,KAAM,OAAA,EACrB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,UAAW,CAAE,KAAM,OAAA,EACnB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,IAAK,CAAE,KAAM,OAAA,EACb,cAAe,CAAA,EACf,WAAY,CAAA,EACZ,oBAAqB,CAAA,EACrB,UAAW,CAAA,EACX,aAAc,CAAA,EACd,UAAW,CAAA,EACX,IAAK,CAAE,KAAM,OAAA,EACb,mBAAoB,CAAE,KAAM,OAAA,EAC5B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,iBAAkB,CAAA,EAClB,WAAY,CAAA,EACZ,eAAgB,CAAE,KAAM,OAAA,EACxB,UAAW,CAAE,KAAM,OAAA,EACnB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,UAAW,CAAE,KAAM,OAAA,EACnB,YAAa,CAAA,EACb,aAAc,CAAA,EACd,YAAa,CAAA,EACb,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,eAAgB,CAAA,EAChB,uBAAwB,CAAA,EACxB,oBAAqB,CAAA,EACrB,uBAAwB,CAAE,KAAM,OAAA,CAAQ,EAE1C,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"}
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
2
2
|
import { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
3
|
-
import {
|
|
3
|
+
import { ReadoutSetpointSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
4
4
|
import { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
5
5
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
export interface Props {
|
|
7
7
|
readoutStyle?: ReadoutVariant | undefined;
|
|
8
8
|
direction?: ReadoutDirection | undefined;
|
|
9
|
-
size?:
|
|
9
|
+
size?: ReadoutSetpointSize;
|
|
10
10
|
format?: ReadoutAdviceFormat | undefined;
|
|
11
11
|
priority?: Priority | undefined;
|
|
12
12
|
state?: ReadoutAdviceState;
|
|
13
13
|
hugContent?: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
secondaryValue?: string;
|
|
14
|
+
value?: number | undefined;
|
|
15
|
+
secondaryValue?: number | undefined;
|
|
17
16
|
description?: string;
|
|
18
|
-
|
|
17
|
+
minValueLength?: number;
|
|
19
18
|
hasHintedZeros?: boolean;
|
|
20
19
|
fractionDigits?: number;
|
|
21
20
|
hasDegree?: boolean;
|
|
22
21
|
}
|
|
23
22
|
export type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
24
|
-
export type {
|
|
23
|
+
export type { ReadoutSetpointSize } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
25
24
|
export type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
26
25
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
27
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>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
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
2
|
//# sourceMappingURL=ObcReadoutAdvice.vue2.js.map
|
|
@@ -1 +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 {
|
|
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"}
|
|
@@ -8,20 +8,18 @@ export interface Props {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
unit?: string;
|
|
10
10
|
src?: string;
|
|
11
|
-
value?:
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
value?: number | undefined;
|
|
12
|
+
setpointValue?: number | undefined;
|
|
13
|
+
hasSetpoint?: boolean;
|
|
14
14
|
hasDegree?: boolean;
|
|
15
15
|
hasUnit?: boolean;
|
|
16
16
|
hasLabel?: boolean;
|
|
17
17
|
hasSource?: boolean;
|
|
18
18
|
hasLeadingIcon?: boolean;
|
|
19
19
|
hasValueIcon?: boolean;
|
|
20
|
-
maxDigits?: number;
|
|
21
20
|
fractionDigits?: number;
|
|
22
21
|
showZeroPadding?: boolean;
|
|
23
|
-
|
|
24
|
-
valueLength?: string;
|
|
22
|
+
minValueLength?: number;
|
|
25
23
|
hasHintedZeros?: boolean;
|
|
26
24
|
}
|
|
27
25
|
export type { ReadoutListItemSize, ReadoutListItemStacking, ReadoutListItemPriority, ReadoutListItemAlertState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as h,withDirectives as f,openBlock as
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as h,withDirectives as f,openBlock as m,createBlock as B,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 b=u({__name:"ObcReadoutListItem",props:{size:{},stacking:{},priority:{},alertState:{},label:{},unit:{},src:{},value:{},setpointValue:{},hasSetpoint:{type:Boolean},hasDegree:{type:Boolean},hasUnit:{type:Boolean},hasLabel:{type:Boolean},hasSource:{type:Boolean},hasLeadingIcon:{type:Boolean},hasValueIcon:{type:Boolean},fractionDigits:{},showZeroPadding:{type:Boolean},minValueLength:{},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((m(),B(p,null,null,512)),[[l]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcReadoutListItem.vue2.js.map
|
|
@@ -1 +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?:
|
|
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?: number | undefined;\n setpointValue?: number | undefined;\n hasSetpoint?: boolean;\n hasDegree?: boolean;\n hasUnit?: boolean;\n hasLabel?: boolean;\n hasSource?: boolean;\n hasLeadingIcon?: boolean;\n hasValueIcon?: boolean;\n fractionDigits?: number;\n showZeroPadding?: boolean;\n minValueLength?: number;\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 setpointValue: {},\n hasSetpoint: { 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 fractionDigits: {},\n showZeroPadding: { type: Boolean },\n minValueLength: {},\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":"8SAmCA,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,cAAe,CAAA,EACf,YAAa,CAAE,KAAM,OAAA,EACrB,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,eAAgB,CAAA,EAChB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,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"}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-
|
|
2
|
-
import {
|
|
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
3
|
import { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
4
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
export interface Props {
|
|
6
|
-
variant?:
|
|
6
|
+
variant?: ReadoutSetpointVariant;
|
|
7
7
|
readoutStyle?: ReadoutVariant | undefined;
|
|
8
8
|
direction?: ReadoutDirection | undefined;
|
|
9
|
-
size?:
|
|
10
|
-
valueTypography?:
|
|
11
|
-
format?:
|
|
12
|
-
mode?:
|
|
9
|
+
size?: ReadoutSetpointSize;
|
|
10
|
+
valueTypography?: ReadoutSetpointValueTypography | undefined;
|
|
11
|
+
format?: ReadoutSetpointFormat | undefined;
|
|
12
|
+
mode?: ReadoutSetpointMode | undefined;
|
|
13
13
|
priority?: Priority | undefined;
|
|
14
14
|
hugContent?: boolean;
|
|
15
|
-
|
|
16
|
-
value?:
|
|
17
|
-
secondaryValue?:
|
|
15
|
+
minValueLength?: number;
|
|
16
|
+
value?: number | undefined;
|
|
17
|
+
secondaryValue?: number | undefined;
|
|
18
|
+
off?: boolean;
|
|
18
19
|
description?: string;
|
|
19
|
-
valueLength?: string;
|
|
20
20
|
hasHintedZeros?: boolean;
|
|
21
21
|
hasDegree?: boolean;
|
|
22
22
|
showZeroPadding?: boolean;
|
|
23
|
-
maxDigits?: number;
|
|
24
23
|
fractionDigits?: number;
|
|
25
24
|
}
|
|
26
|
-
export type {
|
|
25
|
+
export type { ReadoutSetpointVariant, ReadoutSetpointSize, ReadoutSetpointValueTypography, ReadoutSetpointFormat, ReadoutSetpointMode } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
27
26
|
export type { ReadoutVariant, ReadoutDirection } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
28
27
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
29
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcReadoutSetpoint.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as h,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-setpoint/readout-setpoint.js";const P=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:{}},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-setpoint",e,g(p))};return(t,e)=>m((v(),h(l,null,null,512)),[[c]])}});export{P as default};
|
|
2
|
+
//# sourceMappingURL=ObcReadoutSetpoint.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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 }\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 },\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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4SAqCA,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,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,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"}
|
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.43",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.42",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|
|
@@ -2210,6 +2210,7 @@
|
|
|
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.*",
|
|
2213
2214
|
"navigation-instruments/main-engine/ObcMainEngine.*",
|
|
2214
2215
|
"navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.*",
|
|
2215
2216
|
"navigation-instruments/pitch/ObcPitch.*",
|
|
@@ -2220,8 +2221,8 @@
|
|
|
2220
2221
|
"navigation-instruments/rate-of-turn/ObcRateOfTurn.*",
|
|
2221
2222
|
"navigation-instruments/readout/ObcReadout.*",
|
|
2222
2223
|
"navigation-instruments/readout-advice/ObcReadoutAdvice.*",
|
|
2223
|
-
"navigation-instruments/readout-input/ObcReadoutInput.*",
|
|
2224
2224
|
"navigation-instruments/readout-list-item/ObcReadoutListItem.*",
|
|
2225
|
+
"navigation-instruments/readout-setpoint/ObcReadoutSetpoint.*",
|
|
2225
2226
|
"navigation-instruments/roll/ObcRoll.*",
|
|
2226
2227
|
"navigation-instruments/roll-indicator/ObcRollIndicator.*",
|
|
2227
2228
|
"navigation-instruments/rot-indicator/ObcRotIndicator.*",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadoutInput.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|