@oicl/openbridge-webcomponents-vue 2.0.0-next.13 → 2.0.0-next.15

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 +6 -4
  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 +6 -4
  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 +6 -4
  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 +6 -4
  11. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js +1 -1
  12. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js.map +1 -1
  13. package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +6 -4
  14. package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js +1 -1
  15. package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js.map +1 -1
  16. package/automation/capacitor/ObcCapacitor.vue.d.ts +6 -4
  17. package/automation/capacitor/ObcCapacitor.vue2.js +1 -1
  18. package/automation/capacitor/ObcCapacitor.vue2.js.map +1 -1
  19. package/automation/converter/ObcConverter.vue.d.ts +6 -4
  20. package/automation/converter/ObcConverter.vue2.js +1 -1
  21. package/automation/converter/ObcConverter.vue2.js.map +1 -1
  22. package/automation/damper/ObcDamper.vue.d.ts +6 -4
  23. package/automation/damper/ObcDamper.vue2.js +1 -1
  24. package/automation/damper/ObcDamper.vue2.js.map +1 -1
  25. package/automation/digital-valve/ObcDigitalValve.vue.d.ts +6 -4
  26. package/automation/digital-valve/ObcDigitalValve.vue2.js +1 -1
  27. package/automation/digital-valve/ObcDigitalValve.vue2.js.map +1 -1
  28. package/automation/diodes/ObcDiodes.vue.d.ts +6 -4
  29. package/automation/diodes/ObcDiodes.vue2.js +1 -1
  30. package/automation/diodes/ObcDiodes.vue2.js.map +1 -1
  31. package/automation/fan/ObcFan.vue.d.ts +6 -4
  32. package/automation/fan/ObcFan.vue2.js +1 -1
  33. package/automation/fan/ObcFan.vue2.js.map +1 -1
  34. package/automation/filter/ObcFilter.vue.d.ts +6 -4
  35. package/automation/filter/ObcFilter.vue2.js +1 -1
  36. package/automation/filter/ObcFilter.vue2.js.map +1 -1
  37. package/automation/ground/ObcGround.vue.d.ts +6 -4
  38. package/automation/ground/ObcGround.vue2.js +1 -1
  39. package/automation/ground/ObcGround.vue2.js.map +1 -1
  40. package/automation/logic/ObcLogic.vue.d.ts +6 -4
  41. package/automation/logic/ObcLogic.vue2.js +1 -1
  42. package/automation/logic/ObcLogic.vue2.js.map +1 -1
  43. package/automation/mosfet/ObcMosfet.vue.d.ts +6 -4
  44. package/automation/mosfet/ObcMosfet.vue2.js +1 -1
  45. package/automation/mosfet/ObcMosfet.vue2.js.map +1 -1
  46. package/automation/motor/ObcMotor.vue.d.ts +6 -4
  47. package/automation/motor/ObcMotor.vue2.js +1 -1
  48. package/automation/motor/ObcMotor.vue2.js.map +1 -1
  49. package/automation/pump/ObcPump.vue.d.ts +6 -4
  50. package/automation/pump/ObcPump.vue2.js +1 -1
  51. package/automation/pump/ObcPump.vue2.js.map +1 -1
  52. package/automation/resistor/ObcResistor.vue.d.ts +6 -4
  53. package/automation/resistor/ObcResistor.vue2.js +1 -1
  54. package/automation/resistor/ObcResistor.vue2.js.map +1 -1
  55. package/automation/router/ObcRouter.vue.d.ts +6 -4
  56. package/automation/router/ObcRouter.vue2.js +1 -1
  57. package/automation/router/ObcRouter.vue2.js.map +1 -1
  58. package/automation/source/ObcSource.vue.d.ts +6 -4
  59. package/automation/source/ObcSource.vue2.js +1 -1
  60. package/automation/source/ObcSource.vue2.js.map +1 -1
  61. package/automation/switch/ObcSwitch.vue.d.ts +6 -4
  62. package/automation/switch/ObcSwitch.vue2.js +1 -1
  63. package/automation/switch/ObcSwitch.vue2.js.map +1 -1
  64. package/automation/transformer/ObcTransformer.vue.d.ts +6 -4
  65. package/automation/transformer/ObcTransformer.vue2.js +1 -1
  66. package/automation/transformer/ObcTransformer.vue2.js.map +1 -1
  67. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue.d.ts +1 -0
  68. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue2.js +1 -1
  69. package/navigation-instruments/pitch-roll/ObcPitchRoll.vue2.js.map +1 -1
  70. package/navigation-instruments/roll/ObcRoll.vue.d.ts +1 -0
  71. package/navigation-instruments/roll/ObcRoll.vue2.js +1 -1
  72. package/navigation-instruments/roll/ObcRoll.vue2.js.map +1 -1
  73. package/package.json +2 -2
@@ -5,6 +5,7 @@ import { AutomationButtonReadoutPosition, AutomationButtonPositioning, Automatio
5
5
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
9
10
  alternativeIcon?: MosfetAlternativeIcon;
10
11
  on?: boolean;
@@ -25,10 +26,10 @@ export interface Props {
25
26
  progressValue?: number;
26
27
  tag?: string;
27
28
  direction?: AutomationButtonDirection;
28
- badgeAuto?: boolean;
29
- badgeCommandLocked?: boolean;
30
- badgeDuty?: boolean;
31
- badgeAlertOff?: boolean;
29
+ badgeControl?: AutomationButtonBadgeControl;
30
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
31
+ badgeInterlock?: AutomationButtonBadgeInterlock;
32
+ badgeAlert?: AutomationButtonBadgeAlert;
32
33
  }
33
34
  export type { MosfetAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';
34
35
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -36,5 +37,6 @@ export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as f,withDirectives as m,openBlock as y,createBlock as B,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js";const k=d({__name:"ObcMosfet",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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,a=u({}),p={created(t){for(const e in o)a[e]=t[e]}};let r=!1;const c=f(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||r)&&(e[n]=s??a[n])}return r=!0,g("obc-mosfet",e,v(c))};return(t,e)=>m((y(),B(i,null,null,512)),[[p]])}});export{k 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/mosfet/mosfet.js";const _=d({__name:"ObcMosfet",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-mosfet",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcMosfet.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcMosfet.vue2.js","sources":["../../src/automation/mosfet/ObcMosfet.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/mosfet/mosfet.js';\n import {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.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';\n\n export interface Props {\n alternativeIcon?: MosfetAlternativeIcon;\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\n }\n\n \n \n export type {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.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';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcMosfet',\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-mosfet',\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":"4QAgDA,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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":"ObcMosfet.vue2.js","sources":["../../src/automation/mosfet/ObcMosfet.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/mosfet/mosfet.js';\n import {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.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?: MosfetAlternativeIcon;\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 {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.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: 'ObcMosfet',\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-mosfet',\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"}
@@ -4,6 +4,7 @@ import { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation
4
4
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
7
8
  export interface Props {
8
9
  vertical?: boolean;
9
10
  on?: boolean;
@@ -26,15 +27,16 @@ export interface Props {
26
27
  progressValue?: number;
27
28
  tag?: string;
28
29
  direction?: AutomationButtonDirection;
29
- badgeAuto?: boolean;
30
- badgeCommandLocked?: boolean;
31
- badgeDuty?: boolean;
32
- badgeAlertOff?: boolean;
30
+ badgeControl?: AutomationButtonBadgeControl;
31
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
32
+ badgeInterlock?: AutomationButtonBadgeInterlock;
33
+ badgeAlert?: AutomationButtonBadgeAlert;
33
34
  }
34
35
  export type { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
35
36
  export type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as y,withDirectives as m,openBlock as B,createBlock as f,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/motor/motor.js";const k=d({__name:"ObcMotor",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},labelDirection:{},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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,r=u({}),p={created(t){for(const e in o)r[e]=t[e]}};let a=!1;const c=y(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||a)&&(e[n]=s??r[n])}return a=!0,g("obc-motor",e,v(c))};return(t,e)=>m((B(),f(i,null,null,512)),[[p]])}});export{k as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/motor/motor.js";const _=d({__name:"ObcMotor",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},labelDirection:{},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,y("obc-motor",e,B(p))};return(t,e)=>g((f(),v(i,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcMotor.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcMotor.vue2.js","sources":["../../src/automation/motor/ObcMotor.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/motor/motor.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';\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\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';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcMotor',\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-motor',\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":"0QAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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,YACAF,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":"ObcMotor.vue2.js","sources":["../../src/automation/motor/ObcMotor.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/motor/motor.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: 'ObcMotor',\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-motor',\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":"0QAkDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,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,YACAF,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"}
@@ -4,6 +4,7 @@ import { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation
4
4
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
5
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
7
8
  export interface Props {
8
9
  vertical?: boolean;
9
10
  on?: boolean;
@@ -26,15 +27,16 @@ export interface Props {
26
27
  progressValue?: number;
27
28
  tag?: string;
28
29
  direction?: AutomationButtonDirection;
29
- badgeAuto?: boolean;
30
- badgeCommandLocked?: boolean;
31
- badgeDuty?: boolean;
32
- badgeAlertOff?: boolean;
30
+ badgeControl?: AutomationButtonBadgeControl;
31
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
32
+ badgeInterlock?: AutomationButtonBadgeInterlock;
33
+ badgeAlert?: AutomationButtonBadgeAlert;
33
34
  }
34
35
  export type { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
35
36
  export type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as y,openBlock as B,createBlock as f,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const _=d({__name:"ObcPump",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},labelDirection:{},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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,a=u({}),p={created(t){for(const e in o)a[e]=t[e]}};let r=!1;const c=m(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||r)&&(e[n]=s??a[n])}return r=!0,g("obc-pump",e,v(c))};return(t,e)=>y((B(),f(i,null,null,512)),[[p]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const P=d({__name:"ObcPump",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},labelDirection:{},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,y("obc-pump",e,B(p))};return(t,e)=>g((f(),v(i,null,null,512)),[[c]])}});export{P as default};
2
2
  //# sourceMappingURL=ObcPump.vue2.js.map
@@ -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';\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\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';\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-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":"wQAgDA,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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 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"}
@@ -5,6 +5,7 @@ import { AutomationButtonReadoutPosition, AutomationButtonPositioning, Automatio
5
5
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
9
10
  alternativeIcon?: ResistorAlternativeIcon;
10
11
  on?: boolean;
@@ -25,10 +26,10 @@ export interface Props {
25
26
  progressValue?: number;
26
27
  tag?: string;
27
28
  direction?: AutomationButtonDirection;
28
- badgeAuto?: boolean;
29
- badgeCommandLocked?: boolean;
30
- badgeDuty?: boolean;
31
- badgeAlertOff?: boolean;
29
+ badgeControl?: AutomationButtonBadgeControl;
30
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
31
+ badgeInterlock?: AutomationButtonBadgeInterlock;
32
+ badgeAlert?: AutomationButtonBadgeAlert;
32
33
  }
33
34
  export type { ResistorAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';
34
35
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -36,5 +37,6 @@ export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as y,withDirectives as f,openBlock as m,createBlock as B,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const k=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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,r=u({}),p={created(t){for(const e in o)r[e]=t[e]}};let a=!1;const c=y(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||a)&&(e[n]=s??r[n])}return a=!0,g("obc-resistor",e,v(c))};return(t,e)=>f((m(),B(i,null,null,512)),[[p]])}});export{k as default};
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};
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';\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\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';\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gRAgDA,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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,eACAF,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":"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"}
@@ -5,6 +5,7 @@ import { AutomationButtonReadoutPosition, AutomationButtonPositioning, Automatio
5
5
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
9
10
  alternativeIcon?: RouterAlternativeIcon;
10
11
  on?: boolean;
@@ -25,10 +26,10 @@ export interface Props {
25
26
  progressValue?: number;
26
27
  tag?: string;
27
28
  direction?: AutomationButtonDirection;
28
- badgeAuto?: boolean;
29
- badgeCommandLocked?: boolean;
30
- badgeDuty?: boolean;
31
- badgeAlertOff?: boolean;
29
+ badgeControl?: AutomationButtonBadgeControl;
30
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
31
+ badgeInterlock?: AutomationButtonBadgeInterlock;
32
+ badgeAlert?: AutomationButtonBadgeAlert;
32
33
  }
33
34
  export type { RouterAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';
34
35
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -36,5 +37,6 @@ export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as y,withDirectives as f,openBlock as m,createBlock as B,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const k=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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,r=u({}),p={created(t){for(const e in o)r[e]=t[e]}};let a=!1;const c=y(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||a)&&(e[n]=s??r[n])}return a=!0,g("obc-router",e,v(c))};return(t,e)=>f((m(),B(i,null,null,512)),[[p]])}});export{k as default};
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};
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';\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\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';\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAgDA,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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":"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"}
@@ -5,6 +5,7 @@ import { AutomationButtonReadoutPosition, AutomationButtonPositioning, Automatio
5
5
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
9
10
  alternativeIcon?: SourceAlternativeIcon;
10
11
  on?: boolean;
@@ -25,10 +26,10 @@ export interface Props {
25
26
  progressValue?: number;
26
27
  tag?: string;
27
28
  direction?: AutomationButtonDirection;
28
- badgeAuto?: boolean;
29
- badgeCommandLocked?: boolean;
30
- badgeDuty?: boolean;
31
- badgeAlertOff?: boolean;
29
+ badgeControl?: AutomationButtonBadgeControl;
30
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
31
+ badgeInterlock?: AutomationButtonBadgeInterlock;
32
+ badgeAlert?: AutomationButtonBadgeAlert;
32
33
  }
33
34
  export type { SourceAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';
34
35
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -36,5 +37,6 @@ export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as y,withDirectives as f,openBlock as m,createBlock as B,h as g}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const _=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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,r=u({}),c={created(t){for(const e in o)r[e]=t[e]}};let a=!1;const p=y(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||a)&&(e[n]=s??r[n])}return a=!0,g("obc-source",e,v(p))};return(t,e)=>f((m(),B(i,null,null,512)),[[c]])}});export{_ as default};
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};
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';\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\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';\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAgDA,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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":"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"}
@@ -5,6 +5,7 @@ import { AutomationButtonReadoutPosition, AutomationButtonPositioning, Automatio
5
5
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
+ import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
9
10
  alternativeIcon?: SwitchAlternativeIcon;
10
11
  on?: boolean;
@@ -25,10 +26,10 @@ export interface Props {
25
26
  progressValue?: number;
26
27
  tag?: string;
27
28
  direction?: AutomationButtonDirection;
28
- badgeAuto?: boolean;
29
- badgeCommandLocked?: boolean;
30
- badgeDuty?: boolean;
31
- badgeAlertOff?: boolean;
29
+ badgeControl?: AutomationButtonBadgeControl;
30
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
31
+ badgeInterlock?: AutomationButtonBadgeInterlock;
32
+ badgeAlert?: AutomationButtonBadgeAlert;
32
33
  }
33
34
  export type { SwitchAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';
34
35
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -36,5 +37,6 @@ export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
36
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
38
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
39
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
40
+ export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
41
  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>;
40
42
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as y,withDirectives as f,openBlock as m,createBlock as B,h as g}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const S=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:{},badgeAuto:{type:Boolean},badgeCommandLocked:{type:Boolean},badgeDuty:{type:Boolean},badgeAlertOff:{type:Boolean}},setup(l){const o=l,a=u({}),c={created(t){for(const e in o)a[e]=t[e]}};let r=!1;const p=y(),i=()=>{const e={};for(const n in o){const s=o[n];(s!==void 0||r)&&(e[n]=s??a[n])}return r=!0,g("obc-switch",e,h(p))};return(t,e)=>f((m(),B(i,null,null,512)),[[c]])}});export{S as default};
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};
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';\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 badgeAuto?: boolean;\n badgeCommandLocked?: boolean;\n badgeDuty?: boolean;\n badgeAlertOff?: boolean\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';\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 badgeAuto: { type: Boolean },\n badgeCommandLocked: { type: Boolean },\n badgeDuty: { type: Boolean },\n badgeAlertOff: { 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-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":"4QAgDA,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,UAAW,CAAE,KAAM,OAAA,EACnB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,CAAQ,EAEjC,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 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"}