@oicl/openbridge-webcomponents-vue 2.0.0-next.26 → 2.0.0-next.27

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.
Files changed (73) hide show
  1. package/automation/analog-valve/ObcAnalogValve.vue.d.ts +1 -2
  2. package/automation/analog-valve/ObcAnalogValve.vue2.js +1 -1
  3. package/automation/analog-valve/ObcAnalogValve.vue2.js.map +1 -1
  4. package/automation/automation-button/ObcAbstractAutomationButton.vue.d.ts +1 -2
  5. package/automation/automation-button/ObcAbstractAutomationButton.vue2.js +1 -1
  6. package/automation/automation-button/ObcAbstractAutomationButton.vue2.js.map +1 -1
  7. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +1 -2
  8. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js +1 -1
  9. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js.map +1 -1
  10. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue.d.ts +1 -2
  11. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js +1 -1
  12. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js.map +1 -1
  13. package/automation/automation-button/ObcAutomationButton.vue.d.ts +3 -4
  14. package/automation/automation-button/ObcAutomationButton.vue2.js +1 -1
  15. package/automation/automation-button/ObcAutomationButton.vue2.js.map +1 -1
  16. package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +1 -2
  17. package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js +1 -1
  18. package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js.map +1 -1
  19. package/automation/capacitor/ObcCapacitor.vue.d.ts +1 -2
  20. package/automation/capacitor/ObcCapacitor.vue2.js +1 -1
  21. package/automation/capacitor/ObcCapacitor.vue2.js.map +1 -1
  22. package/automation/converter/ObcConverter.vue.d.ts +1 -2
  23. package/automation/converter/ObcConverter.vue2.js +1 -1
  24. package/automation/converter/ObcConverter.vue2.js.map +1 -1
  25. package/automation/damper/ObcDamper.vue.d.ts +1 -2
  26. package/automation/damper/ObcDamper.vue2.js +1 -1
  27. package/automation/damper/ObcDamper.vue2.js.map +1 -1
  28. package/automation/digital-valve/ObcDigitalValve.vue.d.ts +1 -2
  29. package/automation/digital-valve/ObcDigitalValve.vue2.js +1 -1
  30. package/automation/digital-valve/ObcDigitalValve.vue2.js.map +1 -1
  31. package/automation/diodes/ObcDiodes.vue.d.ts +1 -2
  32. package/automation/diodes/ObcDiodes.vue2.js +1 -1
  33. package/automation/diodes/ObcDiodes.vue2.js.map +1 -1
  34. package/automation/fan/ObcFan.vue.d.ts +1 -2
  35. package/automation/fan/ObcFan.vue2.js +1 -1
  36. package/automation/fan/ObcFan.vue2.js.map +1 -1
  37. package/automation/filter/ObcFilter.vue.d.ts +1 -2
  38. package/automation/filter/ObcFilter.vue2.js +1 -1
  39. package/automation/filter/ObcFilter.vue2.js.map +1 -1
  40. package/automation/ground/ObcGround.vue.d.ts +1 -2
  41. package/automation/ground/ObcGround.vue2.js +1 -1
  42. package/automation/ground/ObcGround.vue2.js.map +1 -1
  43. package/automation/logic/ObcLogic.vue.d.ts +1 -2
  44. package/automation/logic/ObcLogic.vue2.js +1 -1
  45. package/automation/logic/ObcLogic.vue2.js.map +1 -1
  46. package/automation/mosfet/ObcMosfet.vue.d.ts +1 -2
  47. package/automation/mosfet/ObcMosfet.vue2.js +1 -1
  48. package/automation/mosfet/ObcMosfet.vue2.js.map +1 -1
  49. package/automation/motor/ObcMotor.vue.d.ts +1 -2
  50. package/automation/motor/ObcMotor.vue2.js +1 -1
  51. package/automation/motor/ObcMotor.vue2.js.map +1 -1
  52. package/automation/pump/ObcPump.vue.d.ts +1 -2
  53. package/automation/pump/ObcPump.vue2.js +1 -1
  54. package/automation/pump/ObcPump.vue2.js.map +1 -1
  55. package/automation/resistor/ObcResistor.vue.d.ts +1 -2
  56. package/automation/resistor/ObcResistor.vue2.js +1 -1
  57. package/automation/resistor/ObcResistor.vue2.js.map +1 -1
  58. package/automation/router/ObcRouter.vue.d.ts +1 -2
  59. package/automation/router/ObcRouter.vue2.js +1 -1
  60. package/automation/router/ObcRouter.vue2.js.map +1 -1
  61. package/automation/source/ObcSource.vue.d.ts +1 -2
  62. package/automation/source/ObcSource.vue2.js +1 -1
  63. package/automation/source/ObcSource.vue2.js.map +1 -1
  64. package/automation/switch/ObcSwitch.vue.d.ts +1 -2
  65. package/automation/switch/ObcSwitch.vue2.js +1 -1
  66. package/automation/switch/ObcSwitch.vue2.js.map +1 -1
  67. package/automation/transformer/ObcTransformer.vue.d.ts +1 -2
  68. package/automation/transformer/ObcTransformer.vue2.js +1 -1
  69. package/automation/transformer/ObcTransformer.vue2.js.map +1 -1
  70. package/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.vue.d.ts +3 -4
  71. package/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.vue2.js +1 -1
  72. package/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.vue2.js.map +1 -1
  73. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPump.vue2.js","sources":["../../src/automation/pump/ObcPump.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/pump/pump.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n vertical?: boolean;\n on?: boolean;\n speedInPercent?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n showReadoutStack?: boolean;\n hasIdTag?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPump',\n props: {\n vertical: { type: Boolean },\n on: { type: Boolean },\n speedInPercent: {},\n labelDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean },\n hasIdTag: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-pump',\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":"wQAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,SAAU,CAAE,KAAM,OAAA,EAClB,GAAI,CAAE,KAAM,OAAA,EACZ,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,WACAF,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":"ObcPump.vue2.js","sources":["../../src/automation/pump/ObcPump.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/pump/pump.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n vertical?: boolean;\n on?: boolean;\n speedInPercent?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPump',\n props: {\n vertical: { type: Boolean },\n on: { type: Boolean },\n speedInPercent: {},\n labelDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-pump',\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":"wQAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,SAAU,CAAE,KAAM,OAAA,EAClB,GAAI,CAAE,KAAM,OAAA,EACZ,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,WACAF,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"}
@@ -11,7 +11,6 @@ export interface Props {
11
11
  on?: boolean;
12
12
  variant?: SquaredVariant;
13
13
  showReadoutStack?: boolean;
14
- hasIdTag?: boolean;
15
14
  readoutPosition?: AutomationButtonReadoutPosition;
16
15
  readoutSize?: AutomationButtonReadoutStackSize;
17
16
  positioning?: AutomationButtonPositioning;
@@ -24,7 +23,7 @@ export interface Props {
24
23
  progress?: boolean;
25
24
  progressMode?: CircularProgressMode;
26
25
  progressValue?: number;
27
- tag?: string;
26
+ tag?: string | null;
28
27
  direction?: AutomationButtonDirection;
29
28
  badgeControl?: AutomationButtonBadgeControl;
30
29
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const _=d({__name:"ObcResistor",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},hasIdTag:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-resistor",e,y(p))};return(t,e)=>g((f(),v(i,null,null,512)),[[c]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const _=d({__name:"ObcResistor",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-resistor",e,y(i))};return(t,e)=>f((g(),v(p,null,null,512)),[[l]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcResistor.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcResistor.vue2.js","sources":["../../src/automation/resistor/ObcResistor.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/resistor/resistor.js';\n import {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: ResistorAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n hasIdTag?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcResistor',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n hasIdTag: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-resistor',\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":"2QAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,eACAI,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
+ {"version":3,"file":"ObcResistor.vue2.js","sources":["../../src/automation/resistor/ObcResistor.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/resistor/resistor.js';\n import {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: ResistorAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcResistor',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-resistor',\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":"2QAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,eACAI,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"}
@@ -11,7 +11,6 @@ export interface Props {
11
11
  on?: boolean;
12
12
  variant?: SquaredVariant;
13
13
  showReadoutStack?: boolean;
14
- hasIdTag?: boolean;
15
14
  readoutPosition?: AutomationButtonReadoutPosition;
16
15
  readoutSize?: AutomationButtonReadoutStackSize;
17
16
  positioning?: AutomationButtonPositioning;
@@ -24,7 +23,7 @@ export interface Props {
24
23
  progress?: boolean;
25
24
  progressMode?: CircularProgressMode;
26
25
  progressValue?: number;
27
- tag?: string;
26
+ tag?: string | null;
28
27
  direction?: AutomationButtonDirection;
29
28
  badgeControl?: AutomationButtonBadgeControl;
30
29
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const _=d({__name:"ObcRouter",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},hasIdTag:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,h("obc-router",e,y(p))};return(t,e)=>g((f(),v(i,null,null,512)),[[c]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const _=d({__name:"ObcRouter",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-router",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcRouter.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRouter.vue2.js","sources":["../../src/automation/router/ObcRouter.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/router/router.js';\n import {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: RouterAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n hasIdTag?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRouter',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n hasIdTag: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-router',\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":"uQAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,aACAI,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
+ {"version":3,"file":"ObcRouter.vue2.js","sources":["../../src/automation/router/ObcRouter.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/router/router.js';\n import {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: RouterAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRouter',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-router',\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":"uQAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,aACAI,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"}
@@ -11,7 +11,6 @@ export interface Props {
11
11
  on?: boolean;
12
12
  variant?: SquaredVariant;
13
13
  showReadoutStack?: boolean;
14
- hasIdTag?: boolean;
15
14
  readoutPosition?: AutomationButtonReadoutPosition;
16
15
  readoutSize?: AutomationButtonReadoutStackSize;
17
16
  positioning?: AutomationButtonPositioning;
@@ -24,7 +23,7 @@ export interface Props {
24
23
  progress?: boolean;
25
24
  progressMode?: CircularProgressMode;
26
25
  progressValue?: number;
27
- tag?: string;
26
+ tag?: string | null;
28
27
  direction?: AutomationButtonDirection;
29
28
  badgeControl?: AutomationButtonBadgeControl;
30
29
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const S=d({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},hasIdTag:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-source",e,y(p))};return(t,e)=>g((f(),v(i,null,null,512)),[[l]])}});export{S as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const S=d({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-source",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcSource.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcSource.vue2.js","sources":["../../src/automation/source/ObcSource.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/source/source.js';\n import {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SourceAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n hasIdTag?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSource',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n hasIdTag: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-source',\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":"uQAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,aACAI,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
+ {"version":3,"file":"ObcSource.vue2.js","sources":["../../src/automation/source/ObcSource.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/source/source.js';\n import {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SourceAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSource',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-source',\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":"uQAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,aACAI,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"}
@@ -11,7 +11,6 @@ export interface Props {
11
11
  on?: boolean;
12
12
  variant?: SquaredVariant;
13
13
  showReadoutStack?: boolean;
14
- hasIdTag?: boolean;
15
14
  readoutPosition?: AutomationButtonReadoutPosition;
16
15
  readoutSize?: AutomationButtonReadoutStackSize;
17
16
  positioning?: AutomationButtonPositioning;
@@ -24,7 +23,7 @@ export interface Props {
24
23
  progress?: boolean;
25
24
  progressMode?: CircularProgressMode;
26
25
  progressValue?: number;
27
- tag?: string;
26
+ tag?: string | null;
28
27
  direction?: AutomationButtonDirection;
29
28
  badgeControl?: AutomationButtonBadgeControl;
30
29
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const w=d({__name:"ObcSwitch",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},hasIdTag:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,v("obc-switch",e,y(p))};return(t,e)=>g((f(),h(i,null,null,512)),[[l]])}});export{w as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const w=d({__name:"ObcSwitch",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,v("obc-switch",e,y(i))};return(t,e)=>f((g(),h(p,null,null,512)),[[l]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcSwitch.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcSwitch.vue2.js","sources":["../../src/automation/switch/ObcSwitch.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/switch/switch.js';\n import {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SwitchAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n hasIdTag?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSwitch',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n hasIdTag: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-switch',\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":"4QAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,aACAF,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":"ObcSwitch.vue2.js","sources":["../../src/automation/switch/ObcSwitch.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/switch/switch.js';\n import {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SwitchAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSwitch',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-switch',\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":"4QAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,aACAF,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"}
@@ -11,7 +11,6 @@ export interface Props {
11
11
  on?: boolean;
12
12
  variant?: SquaredVariant;
13
13
  showReadoutStack?: boolean;
14
- hasIdTag?: boolean;
15
14
  readoutPosition?: AutomationButtonReadoutPosition;
16
15
  readoutSize?: AutomationButtonReadoutStackSize;
17
16
  positioning?: AutomationButtonPositioning;
@@ -24,7 +23,7 @@ export interface Props {
24
23
  progress?: boolean;
25
24
  progressMode?: CircularProgressMode;
26
25
  progressValue?: number;
27
- tag?: string;
26
+ tag?: string | null;
28
27
  direction?: AutomationButtonDirection;
29
28
  badgeControl?: AutomationButtonBadgeControl;
30
29
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js";const _=d({__name:"ObcTransformer",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},hasIdTag:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,h("obc-transformer",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[c]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js";const _=d({__name:"ObcTransformer",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-transformer",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcTransformer.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcTransformer.vue2.js","sources":["../../src/automation/transformer/ObcTransformer.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/transformer/transformer.js';\n import {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: TransformerAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n hasIdTag?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransformer',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n hasIdTag: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-transformer',\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":"iRAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,kBACAI,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
+ {"version":3,"file":"ObcTransformer.vue2.js","sources":["../../src/automation/transformer/ObcTransformer.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/transformer/transformer.js';\n import {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: TransformerAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransformer',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\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-transformer',\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":"iRAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,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,GAGL,EACL,kBACAI,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,12 +1,11 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
2
- import { AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
2
+ import { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
3
3
  export interface Props {
4
4
  readouts?: AutomationButtonReadoutStack[];
5
- tag?: AutomationButtonReadoutStackTag | null;
5
+ tag?: string | null;
6
6
  size?: AutomationButtonReadoutStackSize;
7
7
  idTagOrientation?: IdTagOrientation;
8
- hasIdTag?: boolean;
9
8
  }
10
- export type { AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
9
+ export type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
11
10
  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>;
12
11
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as l,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js";const P=l({__name:"ObcAutomationButtonReadoutStack",props:{readouts:{},tag:{},size:{},idTagOrientation:{},hasIdTag:{type:Boolean}},setup(c){const o=c,s=d({}),i={created(e){for(const t in o)s[t]=e[t]}};let r=!1;const u=f(),p=()=>{const t={};for(const n in o){const a=o[n];(a!==void 0||r)&&(t[n]=a??s[n])}return r=!0,h("obc-automation-button-readout-stack",t,g(u))};return(e,t)=>m((v(),_(p,null,null,512)),[[i]])}});export{P as default};
1
+ import{defineComponent as l,reactive as d,useSlots as f,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js";const P=l({__name:"ObcAutomationButtonReadoutStack",props:{readouts:{},tag:{},size:{},idTagOrientation:{}},setup(a){const o=a,s=d({}),i={created(e){for(const t in o)s[t]=e[t]}};let r=!1;const u=f(),p=()=>{const t={};for(const n in o){const c=o[n];(c!==void 0||r)&&(t[n]=c??s[n])}return r=!0,h("obc-automation-button-readout-stack",t,k(u))};return(e,t)=>m((v(),_(p,null,null,512)),[[i]])}});export{P as default};
2
2
  //# sourceMappingURL=ObcAutomationButtonReadoutStack.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAutomationButtonReadoutStack.vue2.js","sources":["../../src/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.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/components/automation-button-readout-stack/automation-button-readout-stack.js';\n import {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\n\n export interface Props {\n readouts?: AutomationButtonReadoutStack[];\n tag?: AutomationButtonReadoutStackTag | null;\n size?: AutomationButtonReadoutStackSize;\n idTagOrientation?: IdTagOrientation;\n hasIdTag?: boolean\n }\n\n \n \n export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackTag, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationButtonReadoutStack',\n props: {\n readouts: {},\n tag: {},\n size: {},\n idTagOrientation: {},\n hasIdTag: { 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-automation-button-readout-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","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"yTAoBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kCACR,MAAO,CACL,SAAU,CAAA,EACV,IAAK,CAAA,EACL,KAAM,CAAA,EACN,iBAAkB,CAAA,EAClB,SAAU,CAAE,KAAM,OAAA,CAAQ,EAE5B,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,sCACAI,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
+ {"version":3,"file":"ObcAutomationButtonReadoutStack.vue2.js","sources":["../../src/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.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/components/automation-button-readout-stack/automation-button-readout-stack.js';\n import {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\n\n export interface Props {\n readouts?: AutomationButtonReadoutStack[];\n tag?: string | null;\n size?: AutomationButtonReadoutStackSize;\n idTagOrientation?: IdTagOrientation\n }\n\n \n \n export type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize, IdTagOrientation} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationButtonReadoutStack',\n props: {\n readouts: {},\n tag: {},\n size: {},\n idTagOrientation: {}\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-automation-button-readout-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","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"yTAmBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kCACR,MAAO,CACL,SAAU,CAAA,EACV,IAAK,CAAA,EACL,KAAM,CAAA,EACN,iBAAkB,CAAA,CAAC,EAErB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,sCACAI,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.26",
11
+ "version": "2.0.0-next.27",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.0.0-next.25",
13
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.26",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },