@oicl/openbridge-webcomponents-vue 2.0.0-next.57 → 2.0.0-next.59

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 (112) hide show
  1. package/automation/analog-valve/ObcAnalogValve.vue.d.ts +6 -3
  2. package/automation/analog-valve/ObcAnalogValve.vue2.js +1 -1
  3. package/automation/analog-valve/ObcAnalogValve.vue2.js.map +1 -1
  4. package/automation/automation-button/ObcAbstractAutomationButton.vue.d.ts +6 -3
  5. package/automation/automation-button/ObcAbstractAutomationButton.vue2.js +1 -1
  6. package/automation/automation-button/ObcAbstractAutomationButton.vue2.js.map +1 -1
  7. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +6 -3
  8. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js +1 -1
  9. package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js.map +1 -1
  10. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue.d.ts +6 -3
  11. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js +1 -1
  12. package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js.map +1 -1
  13. package/automation/automation-button/ObcAutomationButton.vue.d.ts +6 -3
  14. package/automation/automation-button/ObcAutomationButton.vue2.js +1 -1
  15. package/automation/automation-button/ObcAutomationButton.vue2.js.map +1 -1
  16. package/automation/automation-tank/ObcAutomationTank.vue.d.ts +5 -3
  17. package/automation/automation-tank/ObcAutomationTank.vue2.js.map +1 -1
  18. package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +6 -3
  19. package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js +1 -1
  20. package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js.map +1 -1
  21. package/automation/capacitor/ObcCapacitor.vue.d.ts +6 -3
  22. package/automation/capacitor/ObcCapacitor.vue2.js +1 -1
  23. package/automation/capacitor/ObcCapacitor.vue2.js.map +1 -1
  24. package/automation/converter/ObcConverter.vue.d.ts +6 -3
  25. package/automation/converter/ObcConverter.vue2.js +1 -1
  26. package/automation/converter/ObcConverter.vue2.js.map +1 -1
  27. package/automation/damper/ObcDamper.vue.d.ts +6 -3
  28. package/automation/damper/ObcDamper.vue2.js +1 -1
  29. package/automation/damper/ObcDamper.vue2.js.map +1 -1
  30. package/automation/digital-valve/ObcDigitalValve.vue.d.ts +6 -3
  31. package/automation/digital-valve/ObcDigitalValve.vue2.js +1 -1
  32. package/automation/digital-valve/ObcDigitalValve.vue2.js.map +1 -1
  33. package/automation/diodes/ObcDiodes.vue.d.ts +6 -3
  34. package/automation/diodes/ObcDiodes.vue2.js +1 -1
  35. package/automation/diodes/ObcDiodes.vue2.js.map +1 -1
  36. package/automation/fan/ObcFan.vue.d.ts +6 -3
  37. package/automation/fan/ObcFan.vue2.js +1 -1
  38. package/automation/fan/ObcFan.vue2.js.map +1 -1
  39. package/automation/filter/ObcFilter.vue.d.ts +6 -3
  40. package/automation/filter/ObcFilter.vue2.js +1 -1
  41. package/automation/filter/ObcFilter.vue2.js.map +1 -1
  42. package/automation/ground/ObcGround.vue.d.ts +6 -3
  43. package/automation/ground/ObcGround.vue2.js +1 -1
  44. package/automation/ground/ObcGround.vue2.js.map +1 -1
  45. package/automation/logic/ObcLogic.vue.d.ts +6 -3
  46. package/automation/logic/ObcLogic.vue2.js +1 -1
  47. package/automation/logic/ObcLogic.vue2.js.map +1 -1
  48. package/automation/mosfet/ObcMosfet.vue.d.ts +6 -3
  49. package/automation/mosfet/ObcMosfet.vue2.js +1 -1
  50. package/automation/mosfet/ObcMosfet.vue2.js.map +1 -1
  51. package/automation/motor/ObcMotor.vue.d.ts +6 -3
  52. package/automation/motor/ObcMotor.vue2.js +1 -1
  53. package/automation/motor/ObcMotor.vue2.js.map +1 -1
  54. package/automation/pump/ObcPump.vue.d.ts +6 -3
  55. package/automation/pump/ObcPump.vue2.js +1 -1
  56. package/automation/pump/ObcPump.vue2.js.map +1 -1
  57. package/automation/resistor/ObcResistor.vue.d.ts +6 -3
  58. package/automation/resistor/ObcResistor.vue2.js +1 -1
  59. package/automation/resistor/ObcResistor.vue2.js.map +1 -1
  60. package/automation/router/ObcRouter.vue.d.ts +6 -3
  61. package/automation/router/ObcRouter.vue2.js +1 -1
  62. package/automation/router/ObcRouter.vue2.js.map +1 -1
  63. package/automation/source/ObcSource.vue.d.ts +6 -3
  64. package/automation/source/ObcSource.vue2.js +1 -1
  65. package/automation/source/ObcSource.vue2.js.map +1 -1
  66. package/automation/switch/ObcSwitch.vue.d.ts +6 -3
  67. package/automation/switch/ObcSwitch.vue2.js +1 -1
  68. package/automation/switch/ObcSwitch.vue2.js.map +1 -1
  69. package/automation/transformer/ObcTransformer.vue.d.ts +6 -3
  70. package/automation/transformer/ObcTransformer.vue2.js +1 -1
  71. package/automation/transformer/ObcTransformer.vue2.js.map +1 -1
  72. package/building-blocks/instrument-radial/ObcInstrumentRadial.vue.d.ts +3 -0
  73. package/building-blocks/instrument-radial/ObcInstrumentRadial.vue2.js +1 -1
  74. package/building-blocks/instrument-radial/ObcInstrumentRadial.vue2.js.map +1 -1
  75. package/components/accordion-card/ObcAccordionCard.vue.d.ts +5 -3
  76. package/components/accordion-card/ObcAccordionCard.vue2.js.map +1 -1
  77. package/components/alert-frame/ObcAlertFrame.vue.d.ts +7 -3
  78. package/components/alert-frame/ObcAlertFrame.vue2.js +1 -1
  79. package/components/alert-frame/ObcAlertFrame.vue2.js.map +1 -1
  80. package/components/alert-frame/ObiCriticalBadge.vue.d.ts +5 -0
  81. package/components/alert-frame/ObiCriticalBadge.vue.js +2 -0
  82. package/components/alert-frame/ObiCriticalBadge.vue.js.map +1 -0
  83. package/components/alert-frame/ObiCriticalBadge.vue2.js +2 -0
  84. package/components/alert-frame/ObiCriticalBadge.vue2.js.map +1 -0
  85. package/components/alert-frame/ObiDiagnosticBadge.vue.d.ts +5 -0
  86. package/components/alert-frame/ObiDiagnosticBadge.vue.js +2 -0
  87. package/components/alert-frame/ObiDiagnosticBadge.vue.js.map +1 -0
  88. package/components/alert-frame/ObiDiagnosticBadge.vue2.js +2 -0
  89. package/components/alert-frame/ObiDiagnosticBadge.vue2.js.map +1 -0
  90. package/manual-icon/ObiAlertsCriticalTwotone.vue.d.ts +6 -0
  91. package/manual-icon/ObiAlertsCriticalTwotone.vue.js +2 -0
  92. package/manual-icon/ObiAlertsCriticalTwotone.vue.js.map +1 -0
  93. package/manual-icon/ObiAlertsCriticalTwotone.vue2.js +2 -0
  94. package/manual-icon/ObiAlertsCriticalTwotone.vue2.js.map +1 -0
  95. package/manual-icon/ObiAlertsDiagnosticTwotone.vue.d.ts +6 -0
  96. package/manual-icon/ObiAlertsDiagnosticTwotone.vue.js +2 -0
  97. package/manual-icon/ObiAlertsDiagnosticTwotone.vue.js.map +1 -0
  98. package/manual-icon/ObiAlertsDiagnosticTwotone.vue2.js +2 -0
  99. package/manual-icon/ObiAlertsDiagnosticTwotone.vue2.js.map +1 -0
  100. package/navigation-instruments/gauge-radial/ObcGaugeRadial.vue.d.ts +7 -2
  101. package/navigation-instruments/gauge-radial/ObcGaugeRadial.vue2.js +1 -1
  102. package/navigation-instruments/gauge-radial/ObcGaugeRadial.vue2.js.map +1 -1
  103. package/navigation-instruments/readout/ObcReadout.vue.d.ts +6 -3
  104. package/navigation-instruments/readout/ObcReadout.vue2.js +1 -1
  105. package/navigation-instruments/readout/ObcReadout.vue2.js.map +1 -1
  106. package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.d.ts +6 -3
  107. package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js +1 -1
  108. package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js.map +1 -1
  109. package/navigation-instruments/watch/ObcWatch.vue.d.ts +3 -0
  110. package/navigation-instruments/watch/ObcWatch.vue2.js +1 -1
  111. package/navigation-instruments/watch/ObcWatch.vue2.js.map +1 -1
  112. package/package.json +6 -2
@@ -2,7 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve
2
2
  import { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import { AnalogValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';
4
4
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
6
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
@@ -18,7 +19,8 @@ export interface Props {
18
19
  alert?: boolean;
19
20
  alertFrameType?: ObcAlertFrameType;
20
21
  alertFrameThickness?: ObcAlertFrameThickness;
21
- alertFrameStatus?: ObcAlertFrameStatus;
22
+ alertFrameStatus?: AlertType;
23
+ alertFrameMode?: ObcAlertFrameMode;
22
24
  showAlertCategoryIcon?: boolean;
23
25
  showAlertIcon?: boolean;
24
26
  progress?: boolean;
@@ -34,7 +36,8 @@ export interface Props {
34
36
  export type { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
35
37
  export type { AnalogValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';
36
38
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
39
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
40
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
38
41
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
39
42
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
40
43
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as v,withDirectives as g,openBlock as m,createBlock as f,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js";const _=d({__name:"ObcAnalogValve",props:{open:{type:Boolean},value:{},vertical:{type:Boolean},labelDirection:{},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=v(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,y("obc-analog-valve",e,B(p))};return(t,e)=>g((m(),f(i,null,null,512)),[[c]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as v,openBlock as g,createBlock as f,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js";const _=d({__name:"ObcAnalogValve",props:{open:{type:Boolean},value:{},vertical:{type:Boolean},labelDirection:{},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,a=u({}),c={created(t){for(const e in o)a[e]=t[e]}};let n=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||n)&&(e[r]=s??a[r])}return n=!0,y("obc-analog-valve",e,B(p))};return(t,e)=>v((g(),f(i,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcAnalogValve.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAnalogValve.vue2.js","sources":["../../src/automation/analog-valve/ObcAnalogValve.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/analog-valve/analog-valve.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n open?: boolean;\n value?: number;\n vertical?: boolean;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: AnalogValveVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAnalogValve',\n props: {\n open: { type: Boolean },\n value: {},\n vertical: { type: Boolean },\n labelDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-analog-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":"wRAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,KAAM,CAAE,KAAM,OAAA,EACd,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,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":"ObcAnalogValve.vue2.js","sources":["../../src/automation/analog-valve/ObcAnalogValve.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/analog-valve/analog-valve.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.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 open?: boolean;\n value?: number;\n vertical?: boolean;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: AnalogValveVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\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 tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.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: 'ObcAnalogValve',\n props: {\n open: { type: Boolean },\n value: {},\n vertical: { type: Boolean },\n labelDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-analog-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":"wRAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,KAAM,CAAE,KAAM,OAAA,EACd,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,mBACAF,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,7 +1,8 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
2
2
  import { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
4
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
5
6
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
6
7
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
7
8
  export interface Props {
@@ -12,7 +13,8 @@ export interface Props {
12
13
  alert?: boolean;
13
14
  alertFrameType?: ObcAlertFrameType;
14
15
  alertFrameThickness?: ObcAlertFrameThickness;
15
- alertFrameStatus?: ObcAlertFrameStatus;
16
+ alertFrameStatus?: AlertType;
17
+ alertFrameMode?: ObcAlertFrameMode;
16
18
  showAlertCategoryIcon?: boolean;
17
19
  showAlertIcon?: boolean;
18
20
  progress?: boolean;
@@ -27,7 +29,8 @@ export interface Props {
27
29
  }
28
30
  export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
29
31
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
30
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
32
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
33
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
31
34
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
32
35
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
33
36
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as h,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js";const _=d({__name:"ObcAbstractAutomationButton",props:{showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,v("undefined",e,B(p))};return(t,e)=>f((g(),h(i,null,null,512)),[[l]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as h,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js";const _=d({__name:"ObcAbstractAutomationButton",props:{showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,v("undefined",e,B(p))};return(t,e)=>f((g(),h(i,null,null,512)),[[l]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcAbstractAutomationButton.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAbstractAutomationButton.vue2.js","sources":["../../src/automation/automation-button/ObcAbstractAutomationButton.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/automation-button/abstract-automation-button.js';\n import {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAbstractAutomationButton',\n props: {\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"2SA0CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,8BACR,MAAO,CACL,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAbstractAutomationButton.vue2.js","sources":["../../src/automation/automation-button/ObcAbstractAutomationButton.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/automation-button/abstract-automation-button.js';\n import {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, 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 showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\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 tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, 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: 'ObcAbstractAutomationButton',\n props: {\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"2SA6CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,8BACR,MAAO,CACL,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -2,7 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstrac
2
2
  import { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
4
4
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
6
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
@@ -17,7 +18,8 @@ export interface Props {
17
18
  alert?: boolean;
18
19
  alertFrameType?: ObcAlertFrameType;
19
20
  alertFrameThickness?: ObcAlertFrameThickness;
20
- alertFrameStatus?: ObcAlertFrameStatus;
21
+ alertFrameStatus?: AlertType;
22
+ alertFrameMode?: ObcAlertFrameMode;
21
23
  showAlertCategoryIcon?: boolean;
22
24
  showAlertIcon?: boolean;
23
25
  progress?: boolean;
@@ -33,7 +35,8 @@ export interface Props {
33
35
  export type { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
34
36
  export type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
35
37
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
36
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
38
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
39
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
37
40
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
38
41
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
39
42
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h as B}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js";const _=d({__name:"ObcAbstractAutomationButtonMotorized",props:{on:{type:Boolean},speedInPercent:{},labelDirection:{},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,r=u({}),l={created(t){for(const e in o)r[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const n in o){const a=o[n];(a!==void 0||s)&&(e[n]=a??r[n])}return s=!0,B("undefined",e,h(i))};return(t,e)=>f((g(),v(p,null,null,512)),[[l]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h as B}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js";const _=d({__name:"ObcAbstractAutomationButtonMotorized",props:{on:{type:Boolean},speedInPercent:{},labelDirection:{},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,B("undefined",e,h(i))};return(t,e)=>f((g(),v(p,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcAbstractAutomationButtonMotorized.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAbstractAutomationButtonMotorized.vue2.js","sources":["../../src/automation/automation-button/ObcAbstractAutomationButtonMotorized.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/automation-button/abstract-automation-button-motorized.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n on?: boolean;\n speedInPercent?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAbstractAutomationButtonMotorized',\n props: {\n on: { type: Boolean },\n speedInPercent: {},\n labelDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"qTAgDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,uCACR,MAAO,CACL,GAAI,CAAE,KAAM,OAAA,EACZ,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAbstractAutomationButtonMotorized.vue2.js","sources":["../../src/automation/automation-button/ObcAbstractAutomationButtonMotorized.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/automation-button/abstract-automation-button-motorized.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, 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 on?: boolean;\n speedInPercent?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, 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: 'ObcAbstractAutomationButtonMotorized',\n props: {\n on: { type: Boolean },\n speedInPercent: {},\n labelDirection: {},\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"qTAmDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,uCACR,MAAO,CACL,GAAI,CAAE,KAAM,OAAA,EACZ,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -2,7 +2,8 @@ import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstrac
2
2
  import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
3
3
  import { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
4
4
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
5
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
6
7
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
7
8
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
8
9
  export interface Props {
@@ -15,7 +16,8 @@ export interface Props {
15
16
  alert?: boolean;
16
17
  alertFrameType?: ObcAlertFrameType;
17
18
  alertFrameThickness?: ObcAlertFrameThickness;
18
- alertFrameStatus?: ObcAlertFrameStatus;
19
+ alertFrameStatus?: AlertType;
20
+ alertFrameMode?: ObcAlertFrameMode;
19
21
  showAlertCategoryIcon?: boolean;
20
22
  showAlertIcon?: boolean;
21
23
  progress?: boolean;
@@ -31,7 +33,8 @@ export interface Props {
31
33
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
32
34
  export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
33
35
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
34
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
36
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
37
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
35
38
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
36
39
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
37
40
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h as B}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js";const S=d({__name:"ObcAbstractAutomationButtonSquared",props:{on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,B("undefined",e,h(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{S as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h as B}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js";const S=d({__name:"ObcAbstractAutomationButtonSquared",props:{on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,B("undefined",e,h(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[c]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcAbstractAutomationButtonSquared.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAbstractAutomationButtonSquared.vue2.js","sources":["../../src/automation/automation-button/ObcAbstractAutomationButtonSquared.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/automation-button/abstract-automation-button-squared.js';\n import {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAbstractAutomationButtonSquared',\n props: {\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"mTA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qCACR,MAAO,CACL,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAbstractAutomationButtonSquared.vue2.js","sources":["../../src/automation/automation-button/ObcAbstractAutomationButtonSquared.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/automation-button/abstract-automation-button-squared.js';\n import {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, 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 on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, 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: 'ObcAbstractAutomationButtonSquared',\n props: {\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\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":"mTAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qCACR,MAAO,CACL,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
2
2
  import { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
3
3
  import { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
4
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
4
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
5
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
5
6
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
6
7
  export interface Props {
7
8
  variant?: AutomationButtonVariant;
@@ -15,7 +16,8 @@ export interface Props {
15
16
  alert?: boolean;
16
17
  alertFrameType?: ObcAlertFrameType;
17
18
  alertFrameThickness?: ObcAlertFrameThickness;
18
- alertFrameStatus?: ObcAlertFrameStatus;
19
+ alertFrameStatus?: AlertType;
20
+ alertFrameMode?: ObcAlertFrameMode;
19
21
  showAlertCategoryIcon?: boolean;
20
22
  showAlertIcon?: boolean;
21
23
  progress?: boolean;
@@ -27,7 +29,8 @@ export interface Props {
27
29
  }
28
30
  export type { AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
29
31
  export type { AutomationButtonReadoutStack, AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
30
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
32
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
33
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
31
34
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
32
35
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
36
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as B,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js";const k=u({__name:"ObcAutomationButton",props:{variant:{},state:{},static:{type:Boolean},showReadoutStack:{type:Boolean},readouts:{},tag:{},readoutPosition:{},readoutSize:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},direction:{},positioning:{},hasBadgeSpacer:{type:Boolean}},setup(c){const o=c,s=d({}),p={created(t){for(const e in o)s[e]=t[e]}};let n=!1;const l=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||n)&&(e[r]=a??s[r])}return n=!0,v("obc-automation-button",e,y(l))};return(t,e)=>f((B(),h(i,null,null,512)),[[p]])}});export{k as default};
1
+ import{defineComponent as u,reactive as d,useSlots as m,withDirectives as f,openBlock as B,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js";const k=u({__name:"ObcAutomationButton",props:{variant:{},state:{},static:{type:Boolean},showReadoutStack:{type:Boolean},readouts:{},tag:{},readoutPosition:{},readoutSize:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},direction:{},positioning:{},hasBadgeSpacer:{type:Boolean}},setup(c){const o=c,s=d({}),l={created(t){for(const e in o)s[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const n=o[r];(n!==void 0||a)&&(e[r]=n??s[r])}return a=!0,v("obc-automation-button",e,y(p))};return(t,e)=>f((B(),h(i,null,null,512)),[[l]])}});export{k as default};
2
2
  //# sourceMappingURL=ObcAutomationButton.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAutomationButton.vue2.js","sources":["../../src/automation/automation-button/ObcAutomationButton.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/automation-button/automation-button.js';\n import {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\n\n export interface Props {\n variant?: AutomationButtonVariant;\n state?: AutomationButtonState;\n static?: boolean;\n showReadoutStack?: boolean;\n readouts?: AutomationButtonReadoutStack[];\n tag?: string | null;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n direction?: AutomationButtonDirection;\n positioning?: AutomationButtonPositioning;\n hasBadgeSpacer?: boolean\n }\n\n \n \n export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStack, AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationButton',\n props: {\n variant: {},\n state: {},\n static: { type: Boolean },\n showReadoutStack: { type: Boolean },\n readouts: {},\n tag: {},\n readoutPosition: {},\n readoutSize: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n direction: {},\n positioning: {},\n hasBadgeSpacer: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-automation-button',\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":"kSAyCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,QAAS,CAAA,EACT,MAAO,CAAA,EACP,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAA,EACV,IAAK,CAAA,EACL,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,UAAW,CAAA,EACX,YAAa,CAAA,EACb,eAAgB,CAAE,KAAM,OAAA,CAAQ,EAElC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,wBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAutomationButton.vue2.js","sources":["../../src/automation/automation-button/ObcAutomationButton.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/automation-button/automation-button.js';\n import {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStack, 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';\n\n export interface Props {\n variant?: AutomationButtonVariant;\n state?: AutomationButtonState;\n static?: boolean;\n showReadoutStack?: boolean;\n readouts?: AutomationButtonReadoutStack[];\n tag?: string | null;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\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 direction?: AutomationButtonDirection;\n positioning?: AutomationButtonPositioning;\n hasBadgeSpacer?: boolean\n }\n\n \n \n export type {AutomationButtonVariant, AutomationButtonState, AutomationButtonReadoutPosition, AutomationButtonDirection, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStack, 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';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationButton',\n props: {\n variant: {},\n state: {},\n static: { type: Boolean },\n showReadoutStack: { type: Boolean },\n readouts: {},\n tag: {},\n readoutPosition: {},\n readoutSize: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n direction: {},\n positioning: {},\n hasBadgeSpacer: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-automation-button',\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":"kSA4CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,QAAS,CAAA,EACT,MAAO,CAAA,EACP,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAA,EACV,IAAK,CAAA,EACL,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,UAAW,CAAA,EACX,YAAa,CAAA,EACb,eAAgB,CAAE,KAAM,OAAA,CAAQ,EAElC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,wBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -4,7 +4,8 @@ import { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, T
4
4
  import { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
5
5
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
7
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
+ import { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
8
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
8
9
  import { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
10
  export interface Props {
10
11
  medium?: LineMedium;
@@ -26,7 +27,7 @@ export interface Props {
26
27
  alert?: boolean;
27
28
  alertFrameType?: ObcAlertFrameType;
28
29
  alertFrameThickness?: ObcAlertFrameThickness;
29
- alertFrameStatus?: ObcAlertFrameStatus;
30
+ alertFrameStatus?: AlertType;
30
31
  showAlertCategoryIcon?: boolean;
31
32
  showAlertIcon?: boolean;
32
33
  showTrendSymbol?: boolean;
@@ -42,7 +43,8 @@ export type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMo
42
43
  export type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
43
44
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
44
45
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
45
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
46
+ export type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
47
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
46
48
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
47
49
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
50
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAutomationTank.vue2.js","sources":["../../src/automation/automation-tank/ObcAutomationTank.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/automation-tank/automation-tank.js';\n import {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nimport {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nimport {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n medium?: LineMedium;\n value?: number;\n max?: number;\n trend?: TankTrend;\n type?: TankType;\n orientation?: TankOrientation;\n compact?: boolean;\n positioning?: TankPositioning;\n static?: boolean;\n tag?: string;\n chartMode?: TankChartMode;\n chartData?: ChartLineDataItem[];\n priority?: Priority;\n advice?: LinearAdvice[];\n hasAdvice?: boolean;\n hasGraphIcon?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n showTrendSymbol?: boolean;\n percentFractionDigits?: number;\n readout?: TankReadoutItem[];\n badgeControl?: AutomationButtonBadgeControl;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked\n }\n\n \n \n export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nexport type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nexport type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationTank',\n props: {\n medium: {},\n value: {},\n max: {},\n trend: {},\n type: {},\n orientation: {},\n compact: { type: Boolean },\n positioning: {},\n static: { type: Boolean },\n tag: {},\n chartMode: {},\n chartData: {},\n priority: {},\n advice: {},\n hasAdvice: { type: Boolean },\n hasGraphIcon: { type: Boolean },\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n showTrendSymbol: { type: Boolean },\n percentFractionDigits: {},\n readout: {},\n badgeControl: {},\n badgeAlert: {},\n badgeInterlock: {},\n badgeCommandLocked: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-automation-tank',\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":"8RAwDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,OAAQ,CAAA,EACR,MAAO,CAAA,EACP,IAAK,CAAA,EACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,QAAS,CAAE,KAAM,OAAA,EACjB,YAAa,CAAA,EACb,OAAQ,CAAE,KAAM,OAAA,EAChB,IAAK,CAAA,EACL,UAAW,CAAA,EACX,UAAW,CAAA,EACX,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,sBAAuB,CAAA,EACvB,QAAS,CAAA,EACT,aAAc,CAAA,EACd,WAAY,CAAA,EACZ,eAAgB,CAAA,EAChB,mBAAoB,CAAA,CAAC,EAEvB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,sBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAutomationTank.vue2.js","sources":["../../src/automation/automation-tank/ObcAutomationTank.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/automation-tank/automation-tank.js';\n import {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nimport {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nimport {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n medium?: LineMedium;\n value?: number;\n max?: number;\n trend?: TankTrend;\n type?: TankType;\n orientation?: TankOrientation;\n compact?: boolean;\n positioning?: TankPositioning;\n static?: boolean;\n tag?: string;\n chartMode?: TankChartMode;\n chartData?: ChartLineDataItem[];\n priority?: Priority;\n advice?: LinearAdvice[];\n hasAdvice?: boolean;\n hasGraphIcon?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n showTrendSymbol?: boolean;\n percentFractionDigits?: number;\n readout?: TankReadoutItem[];\n badgeControl?: AutomationButtonBadgeControl;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked\n }\n\n \n \n export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nexport type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nexport type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationTank',\n props: {\n medium: {},\n value: {},\n max: {},\n trend: {},\n type: {},\n orientation: {},\n compact: { type: Boolean },\n positioning: {},\n static: { type: Boolean },\n tag: {},\n chartMode: {},\n chartData: {},\n priority: {},\n advice: {},\n hasAdvice: { type: Boolean },\n hasGraphIcon: { type: Boolean },\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n showTrendSymbol: { type: Boolean },\n percentFractionDigits: {},\n readout: {},\n badgeControl: {},\n badgeAlert: {},\n badgeInterlock: {},\n badgeCommandLocked: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-automation-tank',\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":"8RA0DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,OAAQ,CAAA,EACR,MAAO,CAAA,EACP,IAAK,CAAA,EACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,QAAS,CAAE,KAAM,OAAA,EACjB,YAAa,CAAA,EACb,OAAQ,CAAE,KAAM,OAAA,EAChB,IAAK,CAAA,EACL,UAAW,CAAA,EACX,UAAW,CAAA,EACX,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,sBAAuB,CAAA,EACvB,QAAS,CAAA,EACT,aAAc,CAAA,EACd,WAAY,CAAA,EACZ,eAAgB,CAAA,EAChB,mBAAoB,CAAA,CAAC,EAEvB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,sBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -3,7 +3,8 @@ import { BipolarTransistorAlternativeIcon } from '@oicl/openbridge-webcomponents
3
3
  import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
4
4
  import { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
5
5
  import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
6
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
+ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
7
8
  import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
9
  import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
10
  export interface Props {
@@ -17,7 +18,8 @@ export interface Props {
17
18
  alert?: boolean;
18
19
  alertFrameType?: ObcAlertFrameType;
19
20
  alertFrameThickness?: ObcAlertFrameThickness;
20
- alertFrameStatus?: ObcAlertFrameStatus;
21
+ alertFrameStatus?: AlertType;
22
+ alertFrameMode?: ObcAlertFrameMode;
21
23
  showAlertCategoryIcon?: boolean;
22
24
  showAlertIcon?: boolean;
23
25
  progress?: boolean;
@@ -34,7 +36,8 @@ export type { BipolarTransistorAlternativeIcon } from '@oicl/openbridge-webcompo
34
36
  export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
35
37
  export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
36
38
  export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
37
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
39
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
40
+ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
38
41
  export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
39
42
  export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
40
43
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h as B}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js";const _=d({__name:"ObcBipolarTransistor",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,B("obc-bipolar-transistor",e,h(i))};return(t,e)=>f((g(),v(p,null,null,512)),[[c]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h as B}from"vue";import{assignSlotNodes as h}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js";const _=d({__name:"ObcBipolarTransistor",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const i=m(),p=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,B("obc-bipolar-transistor",e,h(i))};return(t,e)=>f((g(),v(p,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcBipolarTransistor.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcBipolarTransistor.vue2.js","sources":["../../src/automation/bipolar-transistor/ObcBipolarTransistor.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/bipolar-transistor/bipolar-transistor.js';\n import {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: BipolarTransistorAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBipolarTransistor',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bipolar-transistor',\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":"oSAiDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,uBACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,yBACAF,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":"ObcBipolarTransistor.vue2.js","sources":["../../src/automation/bipolar-transistor/ObcBipolarTransistor.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/bipolar-transistor/bipolar-transistor.js';\n import {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, 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?: BipolarTransistorAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, 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: 'ObcBipolarTransistor',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bipolar-transistor',\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":"oSAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,uBACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,yBACAF,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"}