@oicl/openbridge-webcomponents-vue 2.2.0-next.11 → 2.2.0-next.13

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.
@@ -9,6 +9,7 @@ export interface Props {
9
9
  orientation?: TransmitterOrientation;
10
10
  type?: TransmitterType;
11
11
  lineType?: LineType | undefined;
12
+ showLine?: boolean;
12
13
  value?: number | null | undefined;
13
14
  unit?: string;
14
15
  fractionDigits?: number;
@@ -45,6 +46,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
45
46
  hasAlert: boolean;
46
47
  hasIcon: boolean;
47
48
  hasAdvice: boolean;
49
+ showLine: boolean;
48
50
  hintedZeros: boolean;
49
51
  hasSignSpacer: boolean;
50
52
  hasDegree: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as h,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js";const D=p({__name:"ObcTransmitter",props:{orientation:{},type:{},lineType:{},value:{},unit:{},fractionDigits:{},maxDigits:{},hintedZeros:{type:Boolean,default:void 0},hasSignSpacer:{type:Boolean,default:void 0},hasDegree:{type:Boolean,default:void 0},size:{},hasIcon:{type:Boolean,default:void 0},hasAdvice:{type:Boolean,default:void 0},hasAlert:{type:Boolean,default:void 0},alertFrameStatus:{},alertFrameType:{},alertFrameThickness:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},adviceValue:{},hasSetPoint:{type:Boolean,default:void 0},setpointValue:{},tag:{},idTag:{},data:{}},setup(i){const t=i,n=u({}),l={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const d=f(),c=()=>{const e={};for(const a in t){const r=t[a];(r!==void 0||s)&&(e[a]=r??n[a])}return s=!0,y("obc-transmitter",e,B(d))};return(o,e)=>v((m(),h(c,null,null,512)),[[l]])}});export{D as default};
1
+ import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as h,createBlock as m,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js";const D=p({__name:"ObcTransmitter",props:{orientation:{},type:{},lineType:{},showLine:{type:Boolean,default:void 0},value:{},unit:{},fractionDigits:{},maxDigits:{},hintedZeros:{type:Boolean,default:void 0},hasSignSpacer:{type:Boolean,default:void 0},hasDegree:{type:Boolean,default:void 0},size:{},hasIcon:{type:Boolean,default:void 0},hasAdvice:{type:Boolean,default:void 0},hasAlert:{type:Boolean,default:void 0},alertFrameStatus:{},alertFrameType:{},alertFrameThickness:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},adviceValue:{},hasSetPoint:{type:Boolean,default:void 0},setpointValue:{},tag:{},idTag:{},data:{}},setup(i){const t=i,n=u({}),l={created(o){for(const e in t)n[e]=o[e]}};let s=!1;const d=f(),c=()=>{const e={};for(const a in t){const r=t[a];(r!==void 0||s)&&(e[a]=r??n[a])}return s=!0,y("obc-transmitter",e,B(d))};return(o,e)=>v((h(),m(c,null,null,512)),[[l]])}});export{D as default};
2
2
  //# sourceMappingURL=ObcTransmitter2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcTransmitter2.vue.js","sources":["../../src/automation/transmitter/ObcTransmitter.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/automation/transmitter/transmitter.js';\n import {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nimport {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';\nimport {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nimport {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n\n export interface Props {\n orientation?: TransmitterOrientation;\n type?: TransmitterType;\n lineType?: LineType | undefined;\n value?: number | null | undefined;\n unit?: string;\n fractionDigits?: number;\n maxDigits?: number;\n hintedZeros?: boolean;\n hasSignSpacer?: boolean;\n hasDegree?: boolean;\n size?: TransmitterButtonSize;\n hasIcon?: boolean;\n hasAdvice?: boolean;\n hasAlert?: boolean;\n alertFrameStatus?: AlertType;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n adviceValue?: number | null | undefined;\n hasSetPoint?: boolean;\n setpointValue?: number | null | undefined;\n tag?: string;\n idTag?: string;\n data?: [number[], number[]]\n }\n\n \n \n export type {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nexport type {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';\nexport type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nexport type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransmitter',\n props: {\n orientation: {},\n type: {},\n lineType: {},\n value: {},\n unit: {},\n fractionDigits: {},\n maxDigits: {},\n hintedZeros: { type: Boolean, default: undefined },\n hasSignSpacer: { type: Boolean, default: undefined },\n hasDegree: { type: Boolean, default: undefined },\n size: {},\n hasIcon: { type: Boolean, default: undefined },\n hasAdvice: { type: Boolean, default: undefined },\n hasAlert: { type: Boolean, default: undefined },\n alertFrameStatus: {},\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n adviceValue: {},\n hasSetPoint: { type: Boolean, default: undefined },\n setpointValue: {},\n tag: {},\n idTag: {},\n data: {}\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-transmitter',\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":"sRAmDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,YAAa,CAAA,EACb,KAAM,CAAA,EACN,SAAU,CAAA,EACV,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,KAAM,CAAA,EACN,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,YAAa,CAAA,EACb,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,cAAe,CAAA,EACf,IAAK,CAAA,EACL,MAAO,CAAA,EACP,KAAM,CAAA,CAAC,EAET,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"}
1
+ {"version":3,"file":"ObcTransmitter2.vue.js","sources":["../../src/automation/transmitter/ObcTransmitter.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/automation/transmitter/transmitter.js';\n import {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nimport {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';\nimport {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nimport {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n\n export interface Props {\n orientation?: TransmitterOrientation;\n type?: TransmitterType;\n lineType?: LineType | undefined;\n showLine?: boolean;\n value?: number | null | undefined;\n unit?: string;\n fractionDigits?: number;\n maxDigits?: number;\n hintedZeros?: boolean;\n hasSignSpacer?: boolean;\n hasDegree?: boolean;\n size?: TransmitterButtonSize;\n hasIcon?: boolean;\n hasAdvice?: boolean;\n hasAlert?: boolean;\n alertFrameStatus?: AlertType;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n adviceValue?: number | null | undefined;\n hasSetPoint?: boolean;\n setpointValue?: number | null | undefined;\n tag?: string;\n idTag?: string;\n data?: [number[], number[]]\n }\n\n \n \n export type {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nexport type {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';\nexport type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nexport type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransmitter',\n props: {\n orientation: {},\n type: {},\n lineType: {},\n showLine: { type: Boolean, default: undefined },\n value: {},\n unit: {},\n fractionDigits: {},\n maxDigits: {},\n hintedZeros: { type: Boolean, default: undefined },\n hasSignSpacer: { type: Boolean, default: undefined },\n hasDegree: { type: Boolean, default: undefined },\n size: {},\n hasIcon: { type: Boolean, default: undefined },\n hasAdvice: { type: Boolean, default: undefined },\n hasAlert: { type: Boolean, default: undefined },\n alertFrameStatus: {},\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n adviceValue: {},\n hasSetPoint: { type: Boolean, default: undefined },\n setpointValue: {},\n tag: {},\n idTag: {},\n data: {}\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-transmitter',\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":"sRAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,YAAa,CAAA,EACb,KAAM,CAAA,EACN,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,MAAO,CAAA,EACP,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,UAAW,CAAA,EACX,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,KAAM,CAAA,EACN,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,YAAa,CAAA,EACb,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,cAAe,CAAA,EACf,IAAK,CAAA,EACL,MAAO,CAAA,EACP,KAAM,CAAA,CAAC,EAET,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"}
@@ -5,6 +5,7 @@ import { LineType } from '@oicl/openbridge-webcomponents/dist/automation/index.j
5
5
  export interface Props {
6
6
  orientation?: TransmitterOrientation;
7
7
  lineType?: LineType | undefined;
8
+ showLine?: boolean;
8
9
  values?: TransmitterStackValue[];
9
10
  }
10
11
  export type { TransmitterStackValueClickDetail, TransmitterStackValue } from '@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js';
@@ -16,5 +17,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
16
17
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
17
18
  onClick?: ((payload: CustomEvent<unknown>) => any) | undefined;
18
19
  "onValue-click"?: ((payload: CustomEvent<TransmitterStackValueClickDetail>) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ }>, {
21
+ showLine: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
23
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as f,reactive as v,useSlots as k,withDirectives as d,openBlock as _,createBlock as h,h as C}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js";const B=f({__name:"ObcTransmitterStack",props:{orientation:{},lineType:{},values:{}},emits:["value-click","click"],setup(l,{emit:a}){const o=l,s=v({}),p={created(n){for(const t in o)s[t]=n[t]}};let c=!1;const r=a,u=k(),m=()=>{const t={onValueClick:e=>r("value-click",e),onClick:e=>r("click",e)};for(const e in o){const i=o[e];(i!==void 0||c)&&(t[e]=i??s[e])}return c=!0,C("obc-transmitter-stack",t,P(u))};return(n,t)=>d((_(),h(m,null,null,512)),[[p]])}});export{B as default};
1
+ import{defineComponent as f,reactive as v,useSlots as d,withDirectives as k,openBlock as _,createBlock as h,h as B}from"vue";import{assignSlotNodes as C}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js";const w=f({__name:"ObcTransmitterStack",props:{orientation:{},lineType:{},showLine:{type:Boolean,default:void 0},values:{}},emits:["value-click","click"],setup(l,{emit:a}){const o=l,s=v({}),p={created(n){for(const t in o)s[t]=n[t]}};let c=!1;const r=a,u=d(),m=()=>{const t={onValueClick:e=>r("value-click",e),onClick:e=>r("click",e)};for(const e in o){const i=o[e];(i!==void 0||c)&&(t[e]=i??s[e])}return c=!0,B("obc-transmitter-stack",t,C(u))};return(n,t)=>k((_(),h(m,null,null,512)),[[p]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcTransmitterStack2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcTransmitterStack2.vue.js","sources":["../../src/automation/transmitter-stack/ObcTransmitterStack.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/automation/transmitter-stack/transmitter-stack.js';\n import {TransmitterStackValueClickDetail, TransmitterStackValue} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js';\nimport {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nimport {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\n\n export interface Props {\n orientation?: TransmitterOrientation;\n lineType?: LineType | undefined;\n values?: TransmitterStackValue[]\n }\n\n \n \n export type {TransmitterStackValueClickDetail, TransmitterStackValue} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js';\nexport type {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nexport type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransmitterStack',\n props: {\n orientation: {},\n lineType: {},\n values: {}\n },\n emits: [\"value-click\", \"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 onValueClick: (event: CustomEvent<TransmitterStackValueClickDetail>) => emit('value-click', event as CustomEvent<TransmitterStackValueClickDetail>),\nonClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\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-transmitter-stack',\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":"kSAsBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,YAAa,CAAA,EACb,SAAU,CAAA,EACV,OAAQ,CAAA,CAAC,EAEX,MAAO,CAAC,cAAe,OAAO,EAC9B,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,aAAeC,GAAyDL,EAAK,cAAeK,CAAsD,EACtJ,QAAUA,GAAgCL,EAAK,QAASK,CAA6B,CAAA,EAK/E,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,wBACAH,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
+ {"version":3,"file":"ObcTransmitterStack2.vue.js","sources":["../../src/automation/transmitter-stack/ObcTransmitterStack.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/automation/transmitter-stack/transmitter-stack.js';\n import {TransmitterStackValueClickDetail, TransmitterStackValue} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js';\nimport {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nimport {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\n\n export interface Props {\n orientation?: TransmitterOrientation;\n lineType?: LineType | undefined;\n showLine?: boolean;\n values?: TransmitterStackValue[]\n }\n\n \n \n export type {TransmitterStackValueClickDetail, TransmitterStackValue} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-stack/transmitter-stack.js';\nexport type {TransmitterOrientation} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter-shared.js';\nexport type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransmitterStack',\n props: {\n orientation: {},\n lineType: {},\n showLine: { type: Boolean, default: undefined },\n values: {}\n },\n emits: [\"value-click\", \"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 onValueClick: (event: CustomEvent<TransmitterStackValueClickDetail>) => emit('value-click', event as CustomEvent<TransmitterStackValueClickDetail>),\nonClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\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-transmitter-stack',\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":"kSAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,YAAa,CAAA,EACb,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,OAAQ,CAAA,CAAC,EAEX,MAAO,CAAC,cAAe,OAAO,EAC9B,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,aAAeC,GAAyDL,EAAK,cAAeK,CAAsD,EACtJ,QAAUA,GAAgCL,EAAK,QAASK,CAA6B,CAAA,EAK/E,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,wBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -0,0 +1,8 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-propulsion-backup.js';
2
+ export interface Props {
3
+ useCssColor?: boolean;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
6
+ useCssColor: boolean;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObiPropulsionBackup2.vue.js";export{f as default};
2
+ //# sourceMappingURL=ObiPropulsionBackup.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObiPropulsionBackup.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as a,reactive as f,useSlots as d,withDirectives as v,openBlock as m,createBlock as _,h}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/icons/icon-propulsion-backup.js";const C=a({__name:"ObiPropulsionBackup",props:{useCssColor:{type:Boolean,default:void 0}},setup(p){const e=p,n=f({}),i={created(t){for(const o in e)n[o]=t[o]}};let r=!1;const l=d(),u=()=>{const o={};for(const s in e){const c=e[s];(c!==void 0||r)&&(o[s]=c??n[s])}return r=!0,h("obi-propulsion-backup",o,k(l))};return(t,o)=>v((m(),_(u,null,null,512)),[[i]])}});export{C as default};
2
+ //# sourceMappingURL=ObiPropulsionBackup2.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObiPropulsionBackup2.vue.js","sources":["../src/icons/ObiPropulsionBackup.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/icons/icon-propulsion-backup.js';\n \n\n export interface Props {\n useCssColor?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiPropulsionBackup',\n props: {\n useCssColor: { type: Boolean, default: undefined }\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 'obi-propulsion-backup',\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":"2QAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEnD,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"}
@@ -0,0 +1,8 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-twoway-analog-0.js';
2
+ export interface Props {
3
+ useCssColor?: boolean;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
6
+ useCssColor: boolean;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import f from"./ObiTwowayAnalog02.vue.js";export{f as default};
2
+ //# sourceMappingURL=ObiTwowayAnalog0.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObiTwowayAnalog0.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as f,useSlots as d,withDirectives as v,openBlock as m,createBlock as _,h as w}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/icons/icon-twoway-analog-0.js";const C=u({__name:"ObiTwowayAnalog0",props:{useCssColor:{type:Boolean,default:void 0}},setup(a){const e=a,n=f({}),l={created(t){for(const o in e)n[o]=t[o]}};let r=!1;const i=d(),p=()=>{const o={};for(const s in e){const c=e[s];(c!==void 0||r)&&(o[s]=c??n[s])}return r=!0,w("obi-twoway-analog-0",o,h(i))};return(t,o)=>v((m(),_(p,null,null,512)),[[l]])}});export{C as default};
2
+ //# sourceMappingURL=ObiTwowayAnalog02.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObiTwowayAnalog02.vue.js","sources":["../src/icons/ObiTwowayAnalog0.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/icons/icon-twoway-analog-0.js';\n \n\n export interface Props {\n useCssColor?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiTwowayAnalog0',\n props: {\n useCssColor: { type: Boolean, default: undefined }\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 'obi-twoway-analog-0',\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":"8QAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEnD,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,sBACAF,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.2.0-next.11",
11
+ "version": "2.2.0-next.13",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.2.0-next.11",
13
+ "@oicl/openbridge-webcomponents": "^2.2.0-next.13",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },
@@ -1749,6 +1749,7 @@
1749
1749
  "icons/ObiPrintScreenProposal*",
1750
1750
  "icons/ObiPrint*",
1751
1751
  "icons/ObiPropulsionAzimuthThruster*",
1752
+ "icons/ObiPropulsionBackup*",
1752
1753
  "icons/ObiPropulsionMainEngine*",
1753
1754
  "icons/ObiPropulsionRudder*",
1754
1755
  "icons/ObiPropulsionStatic*",
@@ -2280,6 +2281,7 @@
2280
2281
  "icons/ObiTwowayAcuatorPistonClosedRight*",
2281
2282
  "icons/ObiTwowayAcuatorPistonClosed*",
2282
2283
  "icons/ObiTwowayAcuatorPistonOpen*",
2284
+ "icons/ObiTwowayAnalog0*",
2283
2285
  "icons/ObiTwowayAnalog10*",
2284
2286
  "icons/ObiTwowayAnalog25*",
2285
2287
  "icons/ObiTwowayAnalog50*",