@oicl/openbridge-webcomponents-vue 2.0.0-next.88 → 2.0.0-next.89

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.
@@ -0,0 +1,30 @@
1
+ import '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
2
+ import { ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
3
+ import { ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment } from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
4
+ import { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ export interface Props {
6
+ variant?: ReadoutBlockVariant;
7
+ value?: number | null;
8
+ size?: ReadoutBlockSize;
9
+ valueSize?: ObcTextboxSize | undefined;
10
+ enhanced?: boolean;
11
+ weight?: ObcTextboxFontWeight;
12
+ hasDegree?: boolean;
13
+ hasIcon?: boolean;
14
+ fractionDigits?: number;
15
+ maxDigits?: number;
16
+ hintedZeros?: boolean;
17
+ spaceReserver?: string | undefined;
18
+ off?: boolean;
19
+ offText?: string;
20
+ alignment?: ObcTextboxAlignment;
21
+ dataQuality?: ReadoutBlockDataQuality | undefined;
22
+ alert?: boolean | AlertFrameConfig;
23
+ touching?: boolean;
24
+ hidePhase?: ReadoutBlockHidePhase;
25
+ }
26
+ export type { ReadoutBlockVariant, ReadoutBlockSize, ReadoutBlockDataQuality, ReadoutBlockHidePhase } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
27
+ export type { ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment } from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
28
+ export type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
29
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcReadoutBlock.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcReadoutBlock.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcReadoutBlock.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as f,useSlots as d,withDirectives as h,openBlock as v,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:{},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({}),i={created(t){for(const e in o)s[e]=t[e]}};let a=!1;const l=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(l))};return(t,e)=>h((v(),m(p,null,null,512)),[[i]])}});export{b as default};
2
+ //# sourceMappingURL=ObcReadoutBlock.vue2.js.map
@@ -0,0 +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":"+RAsCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,QAAS,CAAA,EACT,MAAO,CAAA,EACP,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"}
@@ -0,0 +1,6 @@
1
+ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list/readout-list.js';
2
+ export interface Props {
3
+ showDebugOverlay?: boolean;
4
+ }
5
+ 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>;
6
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObcReadoutList.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObcReadoutList.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcReadoutList.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as d,useSlots as f,withDirectives as v,openBlock as m,createBlock as _,h}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list/readout-list.js";const g=u({__name:"ObcReadoutList",props:{showDebugOverlay:{type:Boolean}},setup(a){const t=a,n=d({}),l={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const p=f(),i=()=>{const e={};for(const s in t){const c=t[s];(c!==void 0||r)&&(e[s]=c??n[s])}return r=!0,h("obc-readout-list",e,b(p))};return(o,e)=>v((m(),_(i,null,null,512)),[[l]])}});export{g as default};
2
+ //# sourceMappingURL=ObcReadoutList.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObcReadoutList.vue2.js","sources":["../../src/navigation-instruments/readout-list/ObcReadoutList.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/readout-list.js';\n \n\n export interface Props {\n showDebugOverlay?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadoutList',\n props: {\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',\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":"+RAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,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,mBACAI,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"}
@@ -1,5 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
2
- import { ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
2
+ import { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
3
+ import { ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
3
4
  import { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
4
5
  export interface Props {
5
6
  label?: string | undefined;
@@ -8,11 +9,12 @@ export interface Props {
8
9
  hasValue?: boolean;
9
10
  value?: number | null;
10
11
  off?: boolean;
12
+ offText?: string;
11
13
  hasSetpoint?: boolean;
12
14
  setpoint?: number | undefined;
13
15
  hasAdvice?: boolean;
14
16
  advice?: number | undefined;
15
- size?: ReadoutListItemSize | undefined;
17
+ size?: ReadoutBlockSize | undefined;
16
18
  priority?: ReadoutListItemPriority | undefined;
17
19
  stacking?: ReadoutListItemStacking | undefined;
18
20
  clickable?: boolean | ReadoutListItemClickable;
@@ -21,15 +23,17 @@ export interface Props {
21
23
  hasDegreeSpacer?: boolean;
22
24
  fractionDigits?: number;
23
25
  maxDigits?: number;
24
- dataQuality?: ReadoutListItemDataQuality | undefined;
26
+ dataQuality?: ReadoutBlockDataQuality | undefined;
25
27
  alert?: boolean | AlertFrameConfig;
26
28
  valueOptions?: ReadoutValueOptions | undefined;
27
29
  setpointOptions?: ReadoutSetpointOptions | undefined;
28
30
  adviceOptions?: ReadoutAdviceOptions | undefined;
29
31
  unitOptions?: ReadoutReserverOptions | undefined;
30
32
  srcOptions?: ReadoutSrcOptions | undefined;
33
+ showDebugOverlay?: boolean;
31
34
  }
32
- export type { ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
35
+ export type { ReadoutBlockSize, ReadoutBlockDataQuality } from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
36
+ export type { ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutValueOptions, ReadoutSetpointOptions, ReadoutAdviceOptions, ReadoutReserverOptions, ReadoutSrcOptions } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-list-item/readout-list-item.js';
33
37
  export type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
34
38
  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>;
35
39
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as h}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},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:{}},setup(r){const t=r,s=d({}),c={created(o){for(const e in t)s[e]=o[e]}};let a=!1;const p=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,B("obc-readout-list-item",e,h(p))};return(o,e)=>v((m(),y(l,null,null,512)),[[c]])}});export{D as default};
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({}),c={created(o){for(const e in t)s[e]=o[e]}};let a=!1;const p=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(p))};return(o,e)=>v((y(),B(l,null,null,512)),[[c]])}});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 {ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, 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 hasSetpoint?: boolean;\n setpoint?: number | undefined;\n hasAdvice?: boolean;\n advice?: number | undefined;\n size?: ReadoutListItemSize | 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?: ReadoutListItemDataQuality | 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 }\n\n \n \n export type {ReadoutListItemSize, ReadoutListItemPriority, ReadoutListItemStacking, ReadoutListItemClickable, ReadoutListItemDataQuality, 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 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 },\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":"8SA2CA,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,IAAK,CAAE,KAAM,OAAA,EACb,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,CAAC,EAEf,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
+ {"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":"ySA+CA,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,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.88",
11
+ "version": "2.0.0-next.89",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.0.0-next.87",
13
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.88",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },
@@ -98,6 +98,7 @@
98
98
  "building-blocks/chart-line/ObcChartLineBase.*",
99
99
  "building-blocks/circular-progress/ObcCircularProgress.*",
100
100
  "building-blocks/instrument-radial/ObcInstrumentRadial.*",
101
+ "building-blocks/readout-block/ObcReadoutBlock.*",
101
102
  "building-blocks/single-axis-inclinometer/SingleAxisInclinometer.*",
102
103
  "components/accordion-card/ObcAccordionCard.*",
103
104
  "components/accordion-item/ObcAccordionItem.*",
@@ -2332,6 +2333,7 @@
2332
2333
  "navigation-instruments/rate-of-turn/ObcRateOfTurn.*",
2333
2334
  "navigation-instruments/readout/ObcReadout.*",
2334
2335
  "navigation-instruments/readout-advice/ObcReadoutAdvice.*",
2336
+ "navigation-instruments/readout-list/ObcReadoutList.*",
2335
2337
  "navigation-instruments/readout-list-item/ObcReadoutListItem.*",
2336
2338
  "navigation-instruments/readout-setpoint/ObcReadoutSetpoint.*",
2337
2339
  "navigation-instruments/roll/ObcRoll.*",