@oicl/openbridge-webcomponents-vue 2.0.0-next.112 → 2.0.0-next.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/building-blocks/readout-block/ObcReadoutBlock.vue.d.ts +4 -1
- package/building-blocks/readout-block/ObcReadoutBlock.vue2.js +1 -1
- package/building-blocks/readout-block/ObcReadoutBlock.vue2.js.map +1 -1
- package/navigation-instruments/readout/ObcReadout.vue.d.ts +4 -1
- package/navigation-instruments/readout/ObcReadout.vue2.js +1 -1
- package/navigation-instruments/readout/ObcReadout.vue2.js.map +1 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.d.ts +4 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js +1 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
2
2
|
import { ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
3
|
+
import { ReadoutValueType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
|
|
3
4
|
import { ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment } from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
4
5
|
import { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
6
|
export interface Props {
|
|
6
7
|
variant?: ReadoutBlockVariant;
|
|
7
|
-
value?: number | null;
|
|
8
|
+
value?: string | number | null;
|
|
9
|
+
valueType?: ReadoutValueType;
|
|
8
10
|
size?: ReadoutBlockSize;
|
|
9
11
|
valueSize?: ObcTextboxSize | undefined;
|
|
10
12
|
enhanced?: boolean;
|
|
@@ -24,6 +26,7 @@ export interface Props {
|
|
|
24
26
|
hidePhase?: ReadoutBlockHidePhase;
|
|
25
27
|
}
|
|
26
28
|
export type { ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
29
|
+
export type { ReadoutValueType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
|
|
27
30
|
export type { ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment } from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
28
31
|
export type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
29
32
|
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 u,reactive as f,useSlots as d,withDirectives as
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as d,withDirectives as v,openBlock as h,createBlock as m,h as B}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js";const b=u({__name:"ObcReadoutBlock",props:{variant:{},value:{},valueType:{},size:{},valueSize:{},enhanced:{type:Boolean},weight:{},hasDegree:{type:Boolean},hasIcon:{type:Boolean},fractionDigits:{},maxDigits:{},hintedZeros:{type:Boolean},spaceReserver:{},off:{type:Boolean},offText:{},alignment:{},dataQuality:{},alert:{type:[Boolean,Object]},touching:{type:Boolean},hidePhase:{}},setup(c){const o=c,s=f({}),l={created(t){for(const e in o)s[e]=t[e]}};let a=!1;const i=d(),p=()=>{const e={};for(const n in o){const r=o[n];(r!==void 0||a)&&(e[n]=r??s[n])}return a=!0,B("obc-readout-block",e,y(i))};return(t,e)=>v((h(),m(p,null,null,512)),[[l]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcReadoutBlock.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadoutBlock.vue2.js","sources":["../../src/building-blocks/readout-block/ObcReadoutBlock.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\n import {ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n\n export interface Props {\n variant?: ReadoutBlockVariant;\n value?: number | null;\n size?: ReadoutBlockSize;\n valueSize?: ObcTextboxSize | undefined;\n enhanced?: boolean;\n weight?: ObcTextboxFontWeight;\n hasDegree?: boolean;\n hasIcon?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n hintedZeros?: boolean;\n spaceReserver?: string | undefined;\n off?: boolean;\n offText?: string;\n alignment?: ObcTextboxAlignment;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n touching?: boolean;\n hidePhase?: ReadoutBlockHidePhase\n }\n\n \n \n export type {ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutBlock',\n props: {\n variant: {},\n value: {},\n size: {},\n valueSize: {},\n enhanced: { type: Boolean },\n weight: {},\n hasDegree: { type: Boolean },\n hasIcon: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n hintedZeros: { type: Boolean },\n spaceReserver: {},\n off: { type: Boolean },\n offText: {},\n alignment: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n touching: { type: Boolean },\n hidePhase: {}\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-block',\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":"ObcReadoutBlock.vue2.js","sources":["../../src/building-blocks/readout-block/ObcReadoutBlock.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\n import {ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';\nimport {ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n\n export interface Props {\n variant?: ReadoutBlockVariant;\n value?: string | number | null;\n valueType?: ReadoutValueType;\n size?: ReadoutBlockSize;\n valueSize?: ObcTextboxSize | undefined;\n enhanced?: boolean;\n weight?: ObcTextboxFontWeight;\n hasDegree?: boolean;\n hasIcon?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n hintedZeros?: boolean;\n spaceReserver?: string | undefined;\n off?: boolean;\n offText?: string;\n alignment?: ObcTextboxAlignment;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n touching?: boolean;\n hidePhase?: ReadoutBlockHidePhase\n }\n\n \n \n export type {ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';\nexport type {ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutBlock',\n props: {\n variant: {},\n value: {},\n valueType: {},\n size: {},\n valueSize: {},\n enhanced: { type: Boolean },\n weight: {},\n hasDegree: { type: Boolean },\n hasIcon: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n hintedZeros: { type: Boolean },\n spaceReserver: {},\n off: { type: Boolean },\n offText: {},\n alignment: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n touching: { type: Boolean },\n hidePhase: {}\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-block',\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":"+RAyCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,QAAS,CAAA,EACT,MAAO,CAAA,EACP,UAAW,CAAA,EACX,KAAM,CAAA,EACN,UAAW,CAAA,EACX,SAAU,CAAE,KAAM,OAAA,EAClB,OAAQ,CAAA,EACR,UAAW,CAAE,KAAM,OAAA,EACnB,QAAS,CAAE,KAAM,OAAA,EACjB,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,YAAa,CAAE,KAAM,OAAA,EACrB,cAAe,CAAA,EACf,IAAK,CAAE,KAAM,OAAA,EACb,QAAS,CAAA,EACT,UAAW,CAAA,EACX,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,CAAC,QAAS,MAAM,CAAA,EAC/B,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAA,CAAC,EAEd,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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
|
+
import { ReadoutValueType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
|
|
2
3
|
import { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
3
4
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import { ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
@@ -9,7 +10,8 @@ export interface Props {
|
|
|
9
10
|
unit?: string | undefined;
|
|
10
11
|
src?: string | undefined;
|
|
11
12
|
hasValue?: boolean;
|
|
12
|
-
value?: number | null;
|
|
13
|
+
value?: string | number | null;
|
|
14
|
+
valueType?: ReadoutValueType;
|
|
13
15
|
off?: boolean;
|
|
14
16
|
offText?: string;
|
|
15
17
|
hasSetpoint?: boolean;
|
|
@@ -34,6 +36,7 @@ export interface Props {
|
|
|
34
36
|
srcOptions?: ReadoutSourceOptions | undefined;
|
|
35
37
|
showDebugOverlay?: boolean;
|
|
36
38
|
}
|
|
39
|
+
export type { ReadoutValueType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
|
|
37
40
|
export type { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
38
41
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
39
42
|
export type { ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as v,useSlots as y,withDirectives as h,openBlock as m,createBlock as g,h as B}from"vue";import{assignSlotNodes as O}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js";const _=d({__name:"ObcReadout",props:{label:{},unit:{},src:{},hasValue:{type:Boolean},value:{},off:{type:Boolean},offText:{},hasSetpoint:{type:Boolean},setpoint:{},hasAdvice:{type:Boolean},advice:{},size:{},priority:{},direction:{},stacking:{},alignment:{},hasDegree:{type:Boolean},hasDegreeSpacer:{type:Boolean},fractionDigits:{},maxDigits:{},dataQuality:{},alert:{type:[Boolean,Object]},valueOptions:{},setpointOptions:{},adviceOptions:{},unitOptions:{},srcOptions:{},showDebugOverlay:{type:Boolean}},emits:["source-change","source-flyout-click"],setup(r,{emit:l}){const t=r,s=v({}),p={created(n){for(const o in t)s[o]=n[o]}};let a=!1;const c=l,u=y(),f=()=>{const o={onSourceChange:e=>c("source-change",e),onSourceFlyoutClick:e=>c("source-flyout-click",e)};for(const e in t){const i=t[e];(i!==void 0||a)&&(o[e]=i??s[e])}return a=!0,B("obc-readout",o,O(u))};return(n,o)=>h((m(),g(f,null,null,512)),[[p]])}});export{_ as default};
|
|
1
|
+
import{defineComponent as d,reactive as v,useSlots as y,withDirectives as h,openBlock as m,createBlock as g,h as B}from"vue";import{assignSlotNodes as O}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js";const _=d({__name:"ObcReadout",props:{label:{},unit:{},src:{},hasValue:{type:Boolean},value:{},valueType:{},off:{type:Boolean},offText:{},hasSetpoint:{type:Boolean},setpoint:{},hasAdvice:{type:Boolean},advice:{},size:{},priority:{},direction:{},stacking:{},alignment:{},hasDegree:{type:Boolean},hasDegreeSpacer:{type:Boolean},fractionDigits:{},maxDigits:{},dataQuality:{},alert:{type:[Boolean,Object]},valueOptions:{},setpointOptions:{},adviceOptions:{},unitOptions:{},srcOptions:{},showDebugOverlay:{type:Boolean}},emits:["source-change","source-flyout-click"],setup(r,{emit:l}){const t=r,s=v({}),p={created(n){for(const o in t)s[o]=n[o]}};let a=!1;const c=l,u=y(),f=()=>{const o={onSourceChange:e=>c("source-change",e),onSourceFlyoutClick:e=>c("source-flyout-click",e)};for(const e in t){const i=t[e];(i!==void 0||a)&&(o[e]=i??s[e])}return a=!0,B("obc-readout",o,O(u))};return(n,o)=>h((m(),g(f,null,null,512)),[[p]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcReadout.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadout.vue2.js","sources":["../../src/navigation-instruments/readout/ObcReadout.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\n import {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n\n export interface Props {\n label?: string | undefined;\n unit?: string | undefined;\n src?: string | undefined;\n hasValue?: boolean;\n value?: number | null;\n off?: boolean;\n offText?: string;\n hasSetpoint?: boolean;\n setpoint?: number | undefined;\n hasAdvice?: boolean;\n advice?: number | undefined;\n size?: ReadoutBlockSize | undefined;\n priority?: Priority | undefined;\n direction?: ReadoutDirection | undefined;\n stacking?: ReadoutStacking | undefined;\n alignment?: ReadoutAlignment | undefined;\n hasDegree?: boolean;\n hasDegreeSpacer?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n valueOptions?: ReadoutValueOptions | undefined;\n setpointOptions?: ReadoutSetpointOptions | undefined;\n adviceOptions?: ReadoutAdviceOptions | undefined;\n unitOptions?: ReadoutReserverOptions | undefined;\n srcOptions?: ReadoutSourceOptions | undefined;\n showDebugOverlay?: boolean\n }\n\n \n \n export type {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadout',\n props: {\n label: {},\n unit: {},\n src: {},\n hasValue: { type: Boolean },\n value: {},\n off: { type: Boolean },\n offText: {},\n hasSetpoint: { type: Boolean },\n setpoint: {},\n hasAdvice: { type: Boolean },\n advice: {},\n size: {},\n priority: {},\n direction: {},\n stacking: {},\n alignment: {},\n hasDegree: { type: Boolean },\n hasDegreeSpacer: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n valueOptions: {},\n setpointOptions: {},\n adviceOptions: {},\n unitOptions: {},\n srcOptions: {},\n showDebugOverlay: { type: Boolean }\n },\n emits: [\"source-change\", \"source-flyout-click\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onSourceChange: (event: CustomEvent<{value: string, label?: string}>) => emit('source-change', event as CustomEvent<{value: string, label?: string}>),\nonSourceFlyoutClick: (event: CustomEvent<{src: string}>) => emit('source-flyout-click', event as CustomEvent<{src: string}>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-readout',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
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 {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';\nimport {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n\n export interface Props {\n label?: string | undefined;\n unit?: string | undefined;\n src?: string | undefined;\n hasValue?: boolean;\n value?: string | number | null;\n valueType?: ReadoutValueType;\n off?: boolean;\n offText?: string;\n hasSetpoint?: boolean;\n setpoint?: number | undefined;\n hasAdvice?: boolean;\n advice?: number | undefined;\n size?: ReadoutBlockSize | undefined;\n priority?: Priority | undefined;\n direction?: ReadoutDirection | undefined;\n stacking?: ReadoutStacking | undefined;\n alignment?: ReadoutAlignment | undefined;\n hasDegree?: boolean;\n hasDegreeSpacer?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n valueOptions?: ReadoutValueOptions | undefined;\n setpointOptions?: ReadoutSetpointOptions | undefined;\n adviceOptions?: ReadoutAdviceOptions | undefined;\n unitOptions?: ReadoutReserverOptions | undefined;\n srcOptions?: ReadoutSourceOptions | undefined;\n showDebugOverlay?: boolean\n }\n\n \n \n export type {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';\nexport type {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ReadoutDirection, ReadoutStacking, ReadoutAlignment, ReadoutSourceOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadout',\n props: {\n label: {},\n unit: {},\n src: {},\n hasValue: { type: Boolean },\n value: {},\n valueType: {},\n off: { type: Boolean },\n offText: {},\n hasSetpoint: { type: Boolean },\n setpoint: {},\n hasAdvice: { type: Boolean },\n advice: {},\n size: {},\n priority: {},\n direction: {},\n stacking: {},\n alignment: {},\n hasDegree: { type: Boolean },\n hasDegreeSpacer: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n valueOptions: {},\n setpointOptions: {},\n adviceOptions: {},\n unitOptions: {},\n srcOptions: {},\n showDebugOverlay: { type: Boolean }\n },\n emits: [\"source-change\", \"source-flyout-click\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onSourceChange: (event: CustomEvent<{value: string, label?: string}>) => emit('source-change', event as CustomEvent<{value: string, label?: string}>),\nonSourceFlyoutClick: (event: CustomEvent<{src: string}>) => emit('source-flyout-click', event as CustomEvent<{src: string}>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-readout',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,SAAU,CAAE,KAAM,OAAA,EAClB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,IAAK,CAAE,KAAM,OAAA,EACb,QAAS,CAAA,EACT,YAAa,CAAE,KAAM,OAAA,EACrB,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,OAAA,EACnB,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,SAAU,CAAA,EACV,UAAW,CAAA,EACX,SAAU,CAAA,EACV,UAAW,CAAA,EACX,UAAW,CAAE,KAAM,OAAA,EACnB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,CAAC,QAAS,MAAM,CAAA,EAC/B,aAAc,CAAA,EACd,gBAAiB,CAAA,EACjB,cAAe,CAAA,EACf,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,iBAAkB,CAAE,KAAM,OAAA,CAAQ,EAEpC,MAAO,CAAC,gBAAiB,qBAAqB,EAC9C,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAKnB,MAAMC,EAJa,CACvB,eAAiBC,GAAwDL,EAAK,gBAAiBK,CAAqD,EACxJ,oBAAsBA,GAAsCL,EAAK,sBAAuBK,CAAmC,CAAA,EAKrH,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,cACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
2
|
+
import { ReadoutValueType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
|
|
2
3
|
import { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
3
4
|
import { ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
4
5
|
import { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
@@ -7,7 +8,8 @@ export interface Props {
|
|
|
7
8
|
unit?: string | undefined;
|
|
8
9
|
src?: string | undefined;
|
|
9
10
|
hasValue?: boolean;
|
|
10
|
-
value?: number | null;
|
|
11
|
+
value?: string | number | null;
|
|
12
|
+
valueType?: ReadoutValueType;
|
|
11
13
|
off?: boolean;
|
|
12
14
|
offText?: string;
|
|
13
15
|
hasSetpoint?: boolean;
|
|
@@ -32,6 +34,7 @@ export interface Props {
|
|
|
32
34
|
srcOptions?: ReadoutSrcOptions | undefined;
|
|
33
35
|
showDebugOverlay?: boolean;
|
|
34
36
|
}
|
|
37
|
+
export type { ReadoutValueType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
|
|
35
38
|
export type { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
|
|
36
39
|
export type { ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
|
|
37
40
|
export type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as v,openBlock as y,createBlock as B,h}from"vue";import{assignSlotNodes as m}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js";const D=u({__name:"ObcReadoutListItem",props:{label:{},unit:{},src:{},hasValue:{type:Boolean},value:{},off:{type:Boolean},offText:{},hasSetpoint:{type:Boolean},setpoint:{},hasAdvice:{type:Boolean},advice:{},size:{},priority:{},stacking:{},clickable:{type:[Boolean,Object]},hasLeadingIcon:{type:Boolean},hasDegree:{type:Boolean},hasDegreeSpacer:{type:Boolean},fractionDigits:{},maxDigits:{},dataQuality:{},alert:{type:[Boolean,Object]},valueOptions:{},setpointOptions:{},adviceOptions:{},unitOptions:{},srcOptions:{},showDebugOverlay:{type:Boolean}},setup(r){const t=r,s=d({}),
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as f,withDirectives as v,openBlock as y,createBlock as B,h}from"vue";import{assignSlotNodes as m}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js";const D=u({__name:"ObcReadoutListItem",props:{label:{},unit:{},src:{},hasValue:{type:Boolean},value:{},valueType:{},off:{type:Boolean},offText:{},hasSetpoint:{type:Boolean},setpoint:{},hasAdvice:{type:Boolean},advice:{},size:{},priority:{},stacking:{},clickable:{type:[Boolean,Object]},hasLeadingIcon:{type:Boolean},hasDegree:{type:Boolean},hasDegreeSpacer:{type:Boolean},fractionDigits:{},maxDigits:{},dataQuality:{},alert:{type:[Boolean,Object]},valueOptions:{},setpointOptions:{},adviceOptions:{},unitOptions:{},srcOptions:{},showDebugOverlay:{type:Boolean}},setup(r){const t=r,s=d({}),p={created(o){for(const e in t)s[e]=o[e]}};let a=!1;const c=f(),l=()=>{const e={};for(const n in t){const i=t[n];(i!==void 0||a)&&(e[n]=i??s[n])}return a=!0,h("obc-readout-list-item",e,m(c))};return(o,e)=>v((y(),B(l,null,null,512)),[[p]])}});export{D 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 {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n\n export interface Props {\n label?: string | undefined;\n unit?: string | undefined;\n src?: string | undefined;\n hasValue?: boolean;\n value?: number | null;\n off?: boolean;\n offText?: string;\n hasSetpoint?: boolean;\n setpoint?: number | undefined;\n hasAdvice?: boolean;\n advice?: number | undefined;\n size?: ReadoutBlockSize | undefined;\n priority?: ReadoutListItemPriority | undefined;\n stacking?: ReadoutListItemStacking | undefined;\n clickable?: boolean | ReadoutListItemClickable;\n hasLeadingIcon?: boolean;\n hasDegree?: boolean;\n hasDegreeSpacer?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n valueOptions?: ReadoutValueOptions | undefined;\n setpointOptions?: ReadoutSetpointOptions | undefined;\n adviceOptions?: ReadoutAdviceOptions | undefined;\n unitOptions?: ReadoutReserverOptions | undefined;\n srcOptions?: ReadoutSrcOptions | undefined;\n showDebugOverlay?: boolean\n }\n\n \n \n export type {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutListItem',\n props: {\n label: {},\n unit: {},\n src: {},\n hasValue: { type: Boolean },\n value: {},\n off: { type: Boolean },\n offText: {},\n hasSetpoint: { type: Boolean },\n setpoint: {},\n hasAdvice: { type: Boolean },\n advice: {},\n size: {},\n priority: {},\n stacking: {},\n clickable: { type: [Boolean, Object] },\n hasLeadingIcon: { type: Boolean },\n hasDegree: { type: Boolean },\n hasDegreeSpacer: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n valueOptions: {},\n setpointOptions: {},\n adviceOptions: {},\n unitOptions: {},\n srcOptions: {},\n showDebugOverlay: { type: Boolean }\n },\n 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","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
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 {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';\nimport {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nimport {ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n\n export interface Props {\n label?: string | undefined;\n unit?: string | undefined;\n src?: string | undefined;\n hasValue?: boolean;\n value?: string | number | null;\n valueType?: ReadoutValueType;\n off?: boolean;\n offText?: string;\n hasSetpoint?: boolean;\n setpoint?: number | undefined;\n hasAdvice?: boolean;\n advice?: number | undefined;\n size?: ReadoutBlockSize | undefined;\n priority?: ReadoutListItemPriority | undefined;\n stacking?: ReadoutListItemStacking | undefined;\n clickable?: boolean | ReadoutListItemClickable;\n hasLeadingIcon?: boolean;\n hasDegree?: boolean;\n hasDegreeSpacer?: boolean;\n fractionDigits?: number;\n maxDigits?: number;\n dataQuality?: ReadoutBlockDataQuality | undefined;\n alert?: boolean | AlertFrameConfig;\n valueOptions?: ReadoutValueOptions | undefined;\n setpointOptions?: ReadoutSetpointOptions | undefined;\n adviceOptions?: ReadoutAdviceOptions | undefined;\n unitOptions?: ReadoutReserverOptions | undefined;\n srcOptions?: ReadoutSrcOptions | undefined;\n showDebugOverlay?: boolean\n }\n\n \n \n export type {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';\nexport type {ReadoutBlockSize, ReadoutBlockDataQuality} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';\nexport type {ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutListItem',\n props: {\n label: {},\n unit: {},\n src: {},\n hasValue: { type: Boolean },\n value: {},\n valueType: {},\n off: { type: Boolean },\n offText: {},\n hasSetpoint: { type: Boolean },\n setpoint: {},\n hasAdvice: { type: Boolean },\n advice: {},\n size: {},\n priority: {},\n stacking: {},\n clickable: { type: [Boolean, Object] },\n hasLeadingIcon: { type: Boolean },\n hasDegree: { type: Boolean },\n hasDegreeSpacer: { type: Boolean },\n fractionDigits: {},\n maxDigits: {},\n dataQuality: {},\n alert: { type: [Boolean, Object] },\n valueOptions: {},\n setpointOptions: {},\n adviceOptions: {},\n unitOptions: {},\n srcOptions: {},\n showDebugOverlay: { type: Boolean }\n },\n 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","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"ySAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,SAAU,CAAE,KAAM,OAAA,EAClB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,IAAK,CAAE,KAAM,OAAA,EACb,QAAS,CAAA,EACT,YAAa,CAAE,KAAM,OAAA,EACrB,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,OAAA,EACnB,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,SAAU,CAAA,EACV,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,CAAC,QAAS,MAAM,CAAA,EACnC,eAAgB,CAAE,KAAM,OAAA,EACxB,UAAW,CAAE,KAAM,OAAA,EACnB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,CAAC,QAAS,MAAM,CAAA,EAC/B,aAAc,CAAA,EACd,gBAAiB,CAAA,EACjB,cAAe,CAAA,EACf,YAAa,CAAA,EACb,WAAY,CAAA,EACZ,iBAAkB,CAAE,KAAM,OAAA,CAAQ,EAEpC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,wBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
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.113",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.112",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|