@oicl/openbridge-webcomponents-vue 2.2.0-next.16 → 2.2.0-next.18

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 (97) hide show
  1. package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.d.ts +3 -0
  2. package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js +1 -1
  3. package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js.map +1 -1
  4. package/automation/analog-valve/ObcAnalogValve.vue.d.ts +3 -0
  5. package/automation/analog-valve/ObcAnalogValve2.vue.js +1 -1
  6. package/automation/analog-valve/ObcAnalogValve2.vue.js.map +1 -1
  7. package/automation/automation-button/ObcAbstractAutomationButton.vue.d.ts +3 -0
  8. package/automation/automation-button/ObcAbstractAutomationButton2.vue.js +1 -1
  9. package/automation/automation-button/ObcAbstractAutomationButton2.vue.js.map +1 -1
  10. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +3 -0
  11. package/automation/automation-button/ObcAbstractAutomationButtonMotorized2.vue.js +1 -1
  12. package/automation/automation-button/ObcAbstractAutomationButtonMotorized2.vue.js.map +1 -1
  13. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue.d.ts +3 -0
  14. package/automation/automation-button/ObcAbstractAutomationButtonSquared2.vue.js +1 -1
  15. package/automation/automation-button/ObcAbstractAutomationButtonSquared2.vue.js.map +1 -1
  16. package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +3 -0
  17. package/automation/bipolar-transistor/ObcBipolarTransistor2.vue.js +1 -1
  18. package/automation/bipolar-transistor/ObcBipolarTransistor2.vue.js.map +1 -1
  19. package/automation/capacitor/ObcCapacitor.vue.d.ts +3 -0
  20. package/automation/capacitor/ObcCapacitor2.vue.js +1 -1
  21. package/automation/capacitor/ObcCapacitor2.vue.js.map +1 -1
  22. package/automation/converter/ObcConverter.vue.d.ts +3 -0
  23. package/automation/converter/ObcConverter2.vue.js +1 -1
  24. package/automation/converter/ObcConverter2.vue.js.map +1 -1
  25. package/automation/damper/ObcDamper.vue.d.ts +3 -0
  26. package/automation/damper/ObcDamper2.vue.js +1 -1
  27. package/automation/damper/ObcDamper2.vue.js.map +1 -1
  28. package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.d.ts +3 -0
  29. package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js +1 -1
  30. package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js.map +1 -1
  31. package/automation/digital-valve/ObcDigitalValve.vue.d.ts +3 -0
  32. package/automation/digital-valve/ObcDigitalValve2.vue.js +1 -1
  33. package/automation/digital-valve/ObcDigitalValve2.vue.js.map +1 -1
  34. package/automation/diodes/ObcDiodes.vue.d.ts +3 -0
  35. package/automation/diodes/ObcDiodes2.vue.js +1 -1
  36. package/automation/diodes/ObcDiodes2.vue.js.map +1 -1
  37. package/automation/direction-valve-shared/ObcDirectionValveBase.vue.d.ts +3 -0
  38. package/automation/direction-valve-shared/ObcDirectionValveBase2.vue.js +1 -1
  39. package/automation/direction-valve-shared/ObcDirectionValveBase2.vue.js.map +1 -1
  40. package/automation/direction-valve-shared/ObcPressureValveBase.vue.d.ts +3 -0
  41. package/automation/direction-valve-shared/ObcPressureValveBase2.vue.js +1 -1
  42. package/automation/direction-valve-shared/ObcPressureValveBase2.vue.js.map +1 -1
  43. package/automation/electricity-battery/ObcElectricityBattery.vue.d.ts +3 -0
  44. package/automation/electricity-battery/ObcElectricityBattery2.vue.js +1 -1
  45. package/automation/electricity-battery/ObcElectricityBattery2.vue.js.map +1 -1
  46. package/automation/fan/ObcFan.vue.d.ts +3 -0
  47. package/automation/fan/ObcFan2.vue.js +1 -1
  48. package/automation/fan/ObcFan2.vue.js.map +1 -1
  49. package/automation/filter/ObcFilter.vue.d.ts +3 -0
  50. package/automation/filter/ObcFilter2.vue.js +1 -1
  51. package/automation/filter/ObcFilter2.vue.js.map +1 -1
  52. package/automation/ground/ObcGround.vue.d.ts +3 -0
  53. package/automation/ground/ObcGround2.vue.js +1 -1
  54. package/automation/ground/ObcGround2.vue.js.map +1 -1
  55. package/automation/logic/ObcLogic.vue.d.ts +3 -0
  56. package/automation/logic/ObcLogic2.vue.js +1 -1
  57. package/automation/logic/ObcLogic2.vue.js.map +1 -1
  58. package/automation/mosfet/ObcMosfet.vue.d.ts +3 -0
  59. package/automation/mosfet/ObcMosfet2.vue.js +1 -1
  60. package/automation/mosfet/ObcMosfet2.vue.js.map +1 -1
  61. package/automation/motor/ObcMotor.vue.d.ts +3 -0
  62. package/automation/motor/ObcMotor2.vue.js +1 -1
  63. package/automation/motor/ObcMotor2.vue.js.map +1 -1
  64. package/automation/non-return-valve/ObcNonReturnValve.vue.d.ts +3 -0
  65. package/automation/non-return-valve/ObcNonReturnValve2.vue.js +1 -1
  66. package/automation/non-return-valve/ObcNonReturnValve2.vue.js.map +1 -1
  67. package/automation/pressure-reduction-valve/ObcPressureReductionValve.vue.d.ts +3 -0
  68. package/automation/pressure-reduction-valve/ObcPressureReductionValve2.vue.js +1 -1
  69. package/automation/pressure-reduction-valve/ObcPressureReductionValve2.vue.js.map +1 -1
  70. package/automation/pressure-sustain-valve/ObcPressureSustainValve.vue.d.ts +3 -0
  71. package/automation/pressure-sustain-valve/ObcPressureSustainValve2.vue.js +1 -1
  72. package/automation/pressure-sustain-valve/ObcPressureSustainValve2.vue.js.map +1 -1
  73. package/automation/pump/ObcPump.vue.d.ts +3 -0
  74. package/automation/pump/ObcPump2.vue.js +1 -1
  75. package/automation/pump/ObcPump2.vue.js.map +1 -1
  76. package/automation/resistor/ObcResistor.vue.d.ts +3 -0
  77. package/automation/resistor/ObcResistor2.vue.js +1 -1
  78. package/automation/resistor/ObcResistor2.vue.js.map +1 -1
  79. package/automation/router/ObcRouter.vue.d.ts +3 -0
  80. package/automation/router/ObcRouter2.vue.js +1 -1
  81. package/automation/router/ObcRouter2.vue.js.map +1 -1
  82. package/automation/source/ObcSource.vue.d.ts +3 -0
  83. package/automation/source/ObcSource2.vue.js +1 -1
  84. package/automation/source/ObcSource2.vue.js.map +1 -1
  85. package/automation/switch/ObcSwitch.vue.d.ts +3 -0
  86. package/automation/switch/ObcSwitch2.vue.js +1 -1
  87. package/automation/switch/ObcSwitch2.vue.js.map +1 -1
  88. package/automation/transformer/ObcTransformer.vue.d.ts +3 -0
  89. package/automation/transformer/ObcTransformer2.vue.js +1 -1
  90. package/automation/transformer/ObcTransformer2.vue.js.map +1 -1
  91. package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue.d.ts +3 -0
  92. package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal2.vue.js +1 -1
  93. package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal2.vue.js.map +1 -1
  94. package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue.d.ts +3 -0
  95. package/navigation-instruments/gauge-vertical/ObcGaugeVertical2.vue.js +1 -1
  96. package/navigation-instruments/gauge-vertical/ObcGaugeVertical2.vue.js.map +1 -1
  97. package/package.json +2 -2
@@ -6,6 +6,7 @@ import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } 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
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
9
10
  export interface Props {
10
11
  flowDirection?: Direction;
11
12
  variant?: DirectionValveVariant;
@@ -32,6 +33,7 @@ export interface Props {
32
33
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
33
34
  badgeInterlock?: AutomationButtonBadgeInterlock;
34
35
  badgeAlert?: AutomationButtonBadgeAlert;
36
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
35
37
  }
36
38
  export type { Direction, AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
37
39
  export type { DirectionValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
@@ -40,6 +42,7 @@ export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcompo
40
42
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
41
43
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
42
44
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
45
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
43
46
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
44
47
  progress: boolean;
45
48
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/non-return-valve/non-return-valve.js";const b=p({__name:"ObcNonReturnValve",props:{flowDirection:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,y("obc-non-return-valve",e,B(i))};return(t,e)=>f((m(),g(c,null,null,512)),[[d]])}});export{b as default};
1
+ import{defineComponent as u,reactive as p,useSlots as v,withDirectives as f,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/non-return-valve/non-return-valve.js";const S=u({__name:"ObcNonReturnValve",props:{flowDirection:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(l){const o=l,n=p({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,y("obc-non-return-valve",e,B(i))};return(t,e)=>f((m(),g(c,null,null,512)),[[d]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcNonReturnValve2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcNonReturnValve2.vue.js","sources":["../../src/automation/non-return-valve/ObcNonReturnValve.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/non-return-valve/non-return-valve.js';\n import {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} 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 flowDirection?: Direction;\n variant?: DirectionValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} 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: 'ObcNonReturnValve',\n props: {\n flowDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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-non-return-valve',\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":"gSAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,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,uBACAF,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":"ObcNonReturnValve2.vue.js","sources":["../../src/automation/non-return-valve/ObcNonReturnValve.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/non-return-valve/non-return-valve.js';\n import {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} 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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n flowDirection?: Direction;\n variant?: DirectionValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} 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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcNonReturnValve',\n props: {\n flowDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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-non-return-valve',\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":"gSAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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,uBACAF,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"}
@@ -6,6 +6,7 @@ import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } 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
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
9
10
  export interface Props {
10
11
  invertHandlePosition?: boolean;
11
12
  handleSize?: AutomationButtonHandleSize;
@@ -34,6 +35,7 @@ export interface Props {
34
35
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
35
36
  badgeInterlock?: AutomationButtonBadgeInterlock;
36
37
  badgeAlert?: AutomationButtonBadgeAlert;
38
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
37
39
  }
38
40
  export type { AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
39
41
  export type { Direction, AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -42,6 +44,7 @@ export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcompo
42
44
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
43
45
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
44
46
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
47
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
45
48
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
46
49
  progress: boolean;
47
50
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as p,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pressure-reduction-valve/pressure-reduction-valve.js";const b=u({__name:"ObcPressureReductionValve",props:{invertHandlePosition:{type:Boolean,default:void 0},handleSize:{},flowDirection:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=p({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,B("obc-pressure-reduction-valve",e,g(i))};return(t,e)=>f((m(),y(c,null,null,512)),[[d]])}});export{b as default};
1
+ import{defineComponent as u,reactive as p,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as g}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pressure-reduction-valve/pressure-reduction-valve.js";const w=u({__name:"ObcPressureReductionValve",props:{invertHandlePosition:{type:Boolean,default:void 0},handleSize:{},flowDirection:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(l){const o=l,r=p({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,g("obc-pressure-reduction-valve",e,B(i))};return(t,e)=>f((m(),y(c,null,null,512)),[[d]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcPressureReductionValve2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPressureReductionValve2.vue.js","sources":["../../src/automation/pressure-reduction-valve/ObcPressureReductionValve.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/pressure-reduction-valve/pressure-reduction-valve.js';\n import {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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 invertHandlePosition?: boolean;\n handleSize?: AutomationButtonHandleSize;\n flowDirection?: Direction;\n variant?: DirectionValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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: 'ObcPressureReductionValve',\n props: {\n invertHandlePosition: { type: Boolean, default: undefined },\n handleSize: {},\n flowDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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-pressure-reduction-valve',\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":"gTAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,qBAAsB,CAAE,KAAM,QAAS,QAAS,MAAA,EAChD,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,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,+BACAF,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":"ObcPressureReductionValve2.vue.js","sources":["../../src/automation/pressure-reduction-valve/ObcPressureReductionValve.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/pressure-reduction-valve/pressure-reduction-valve.js';\n import {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n invertHandlePosition?: boolean;\n handleSize?: AutomationButtonHandleSize;\n flowDirection?: Direction;\n variant?: DirectionValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPressureReductionValve',\n props: {\n invertHandlePosition: { type: Boolean, default: undefined },\n handleSize: {},\n flowDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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-pressure-reduction-valve',\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":"gTAyDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,qBAAsB,CAAE,KAAM,QAAS,QAAS,MAAA,EAChD,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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,+BACAF,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"}
@@ -6,6 +6,7 @@ import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents
6
6
  import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } 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
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
9
10
  export interface Props {
10
11
  invertHandlePosition?: boolean;
11
12
  handleSize?: AutomationButtonHandleSize;
@@ -34,6 +35,7 @@ export interface Props {
34
35
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
35
36
  badgeInterlock?: AutomationButtonBadgeInterlock;
36
37
  badgeAlert?: AutomationButtonBadgeAlert;
38
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
37
39
  }
38
40
  export type { AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
39
41
  export type { Direction, AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -42,6 +44,7 @@ export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcompo
42
44
  export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
43
45
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
44
46
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
47
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
45
48
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
46
49
  progress: boolean;
47
50
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as p,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pressure-sustain-valve/pressure-sustain-valve.js";const b=u({__name:"ObcPressureSustainValve",props:{invertHandlePosition:{type:Boolean,default:void 0},handleSize:{},flowDirection:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,s=p({}),d={created(t){for(const e in o)s[e]=t[e]}};let n=!1;const i=v(),c=()=>{const e={};for(const a in o){const r=o[a];(r!==void 0||n)&&(e[a]=r??s[a])}return n=!0,B("obc-pressure-sustain-valve",e,g(i))};return(t,e)=>f((m(),y(c,null,null,512)),[[d]])}});export{b as default};
1
+ import{defineComponent as c,reactive as p,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as g}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pressure-sustain-valve/pressure-sustain-valve.js";const w=c({__name:"ObcPressureSustainValve",props:{invertHandlePosition:{type:Boolean,default:void 0},handleSize:{},flowDirection:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(l){const o=l,s=p({}),d={created(t){for(const e in o)s[e]=t[e]}};let n=!1;const i=v(),u=()=>{const e={};for(const a in o){const r=o[a];(r!==void 0||n)&&(e[a]=r??s[a])}return n=!0,g("obc-pressure-sustain-valve",e,B(i))};return(t,e)=>f((m(),y(u,null,null,512)),[[d]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcPressureSustainValve2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPressureSustainValve2.vue.js","sources":["../../src/automation/pressure-sustain-valve/ObcPressureSustainValve.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/pressure-sustain-valve/pressure-sustain-valve.js';\n import {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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 invertHandlePosition?: boolean;\n handleSize?: AutomationButtonHandleSize;\n flowDirection?: Direction;\n variant?: DirectionValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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: 'ObcPressureSustainValve',\n props: {\n invertHandlePosition: { type: Boolean, default: undefined },\n handleSize: {},\n flowDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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-pressure-sustain-valve',\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":"4SAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,0BACR,MAAO,CACL,qBAAsB,CAAE,KAAM,QAAS,QAAS,MAAA,EAChD,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,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,6BACAF,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":"ObcPressureSustainValve2.vue.js","sources":["../../src/automation/pressure-sustain-valve/ObcPressureSustainValve.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/pressure-sustain-valve/pressure-sustain-valve.js';\n import {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n invertHandlePosition?: boolean;\n handleSize?: AutomationButtonHandleSize;\n flowDirection?: Direction;\n variant?: DirectionValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} 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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPressureSustainValve',\n props: {\n invertHandlePosition: { type: Boolean, default: undefined },\n handleSize: {},\n flowDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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-pressure-sustain-valve',\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":"4SAyDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,0BACR,MAAO,CACL,qBAAsB,CAAE,KAAM,QAAS,QAAS,MAAA,EAChD,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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,6BACAF,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"}
@@ -6,6 +6,7 @@ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@o
6
6
  import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
9
10
  export interface Props {
10
11
  vertical?: boolean;
11
12
  turnedOn?: boolean;
@@ -40,6 +41,7 @@ export interface Props {
40
41
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
41
42
  badgeInterlock?: AutomationButtonBadgeInterlock;
42
43
  badgeAlert?: AutomationButtonBadgeAlert;
44
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
43
45
  }
44
46
  export type { AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
45
47
  export type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
@@ -48,6 +50,7 @@ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } fro
48
50
  export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
49
51
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
50
52
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
53
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
51
54
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
52
55
  progress: boolean;
53
56
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const k=c({__name:"ObcPump",props:{vertical:{type:Boolean,default:void 0},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),p=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-pump",e,g(i))};return(t,e)=>v((m(),y(p,null,null,512)),[[d]])}});export{k as default};
1
+ import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const k=c({__name:"ObcPump",props:{vertical:{type:Boolean,default:void 0},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(d){const o=d,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),p=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-pump",e,g(i))};return(t,e)=>v((m(),y(p,null,null,512)),[[l]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcPump2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcPump2.vue.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, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn?: boolean;\n on?: boolean | undefined;\n speedInPercent?: number;\n speed?: number | undefined;\n speedUnit?: string;\n speedMaxDigits?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n direction?: AutomationButtonDirection;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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, default: undefined },\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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":"wQA4DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcPump2.vue.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, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n vertical?: boolean;\n turnedOn?: boolean;\n on?: boolean | undefined;\n speedInPercent?: number;\n speed?: number | undefined;\n speedUnit?: string;\n speedMaxDigits?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n direction?: AutomationButtonDirection;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPump',\n props: {\n vertical: { type: Boolean, default: undefined },\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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":"wQA+DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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"}
@@ -7,6 +7,7 @@ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@o
7
7
  import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
11
  export interface Props {
11
12
  alternativeIcon?: ResistorAlternativeIcon;
12
13
  turnedOn?: boolean;
@@ -36,6 +37,7 @@ export interface Props {
36
37
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
37
38
  badgeInterlock?: AutomationButtonBadgeInterlock;
38
39
  badgeAlert?: AutomationButtonBadgeAlert;
40
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
39
41
  }
40
42
  export type { ResistorAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';
41
43
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -45,6 +47,7 @@ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } fro
45
47
  export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
46
48
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
47
49
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
50
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
48
51
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
49
52
  progress: boolean;
50
53
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const k=p({__name:"ObcResistor",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-resistor",e,g(i))};return(t,e)=>v((m(),y(c,null,null,512)),[[d]])}});export{k as default};
1
+ import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const k=p({__name:"ObcResistor",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-resistor",e,g(i))};return(t,e)=>v((m(),y(c,null,null,512)),[[d]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcResistor2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcResistor2.vue.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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gRAyDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,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,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":"ObcResistor2.vue.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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: ResistorAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcResistor',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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":"gRA4DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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"}
@@ -7,6 +7,7 @@ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@o
7
7
  import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
11
  export interface Props {
11
12
  alternativeIcon?: RouterAlternativeIcon;
12
13
  turnedOn?: boolean;
@@ -36,6 +37,7 @@ export interface Props {
36
37
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
37
38
  badgeInterlock?: AutomationButtonBadgeInterlock;
38
39
  badgeAlert?: AutomationButtonBadgeAlert;
40
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
39
41
  }
40
42
  export type { RouterAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';
41
43
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -45,6 +47,7 @@ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } fro
45
47
  export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
46
48
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
47
49
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
50
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
48
51
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
49
52
  progress: boolean;
50
53
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as p,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const k=u({__name:"ObcRouter",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=p({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-router",e,g(i))};return(t,e)=>v((m(),y(c,null,null,512)),[[d]])}});export{k as default};
1
+ import{defineComponent as c,reactive as p,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const k=c({__name:"ObcRouter",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(l){const o=l,n=p({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),u=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-router",e,g(i))};return(t,e)=>v((m(),y(u,null,null,512)),[[d]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcRouter2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcRouter2.vue.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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAyDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcRouter2.vue.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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: RouterAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRouter',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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":"4QA4DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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"}
@@ -7,6 +7,7 @@ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@o
7
7
  import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
+ import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
11
  export interface Props {
11
12
  alternativeIcon?: SourceAlternativeIcon;
12
13
  turnedOn?: boolean;
@@ -36,6 +37,7 @@ export interface Props {
36
37
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
37
38
  badgeInterlock?: AutomationButtonBadgeInterlock;
38
39
  badgeAlert?: AutomationButtonBadgeAlert;
40
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
39
41
  }
40
42
  export type { SourceAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';
41
43
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -45,6 +47,7 @@ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } fro
45
47
  export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
46
48
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
47
49
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
50
+ export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
48
51
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
49
52
  progress: boolean;
50
53
  showReadoutStack: boolean;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as p,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const k=u({__name:"ObcSource",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=p({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-source",e,g(i))};return(t,e)=>v((m(),y(c,null,null,512)),[[d]])}});export{k as default};
1
+ import{defineComponent as u,reactive as p,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as B}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const k=u({__name:"ObcSource",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(l){const o=l,n=p({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,B("obc-source",e,g(i))};return(t,e)=>v((m(),y(c,null,null,512)),[[d]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcSource2.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcSource2.vue.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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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 turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAyDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcSource2.vue.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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: SourceAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\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 {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} 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, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.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';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSource',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\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":"4QA4DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,CAAC,EAEhB,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"}