@oicl/openbridge-webcomponents-vue 2.0.0-next.75 → 2.0.0-next.76
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.
- package/automation/analog-valve/ObcAnalogValve.vue.d.ts +2 -3
- package/automation/analog-valve/ObcAnalogValve.vue2.js +1 -1
- package/automation/analog-valve/ObcAnalogValve.vue2.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButton.vue.d.ts +2 -3
- package/automation/automation-button/ObcAbstractAutomationButton.vue2.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButton.vue2.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +3 -3
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue.d.ts +3 -3
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js.map +1 -1
- package/automation/automation-button/ObcAutomationButton.vue.d.ts +3 -2
- package/automation/automation-button/ObcAutomationButton.vue2.js +1 -1
- package/automation/automation-button/ObcAutomationButton.vue2.js.map +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +3 -3
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js.map +1 -1
- package/automation/capacitor/ObcCapacitor.vue.d.ts +3 -3
- package/automation/capacitor/ObcCapacitor.vue2.js +1 -1
- package/automation/capacitor/ObcCapacitor.vue2.js.map +1 -1
- package/automation/converter/ObcConverter.vue.d.ts +3 -3
- package/automation/converter/ObcConverter.vue2.js +1 -1
- package/automation/converter/ObcConverter.vue2.js.map +1 -1
- package/automation/damper/ObcDamper.vue.d.ts +3 -3
- package/automation/damper/ObcDamper.vue2.js +1 -1
- package/automation/damper/ObcDamper.vue2.js.map +1 -1
- package/automation/digital-valve/ObcDigitalValve.vue.d.ts +2 -3
- package/automation/digital-valve/ObcDigitalValve.vue2.js +1 -1
- package/automation/digital-valve/ObcDigitalValve.vue2.js.map +1 -1
- package/automation/diodes/ObcDiodes.vue.d.ts +3 -3
- package/automation/diodes/ObcDiodes.vue2.js +1 -1
- package/automation/diodes/ObcDiodes.vue2.js.map +1 -1
- package/automation/fan/ObcFan.vue.d.ts +3 -3
- package/automation/fan/ObcFan.vue2.js +1 -1
- package/automation/fan/ObcFan.vue2.js.map +1 -1
- package/automation/filter/ObcFilter.vue.d.ts +3 -3
- package/automation/filter/ObcFilter.vue2.js +1 -1
- package/automation/filter/ObcFilter.vue2.js.map +1 -1
- package/automation/ground/ObcGround.vue.d.ts +3 -3
- package/automation/ground/ObcGround.vue2.js +1 -1
- package/automation/ground/ObcGround.vue2.js.map +1 -1
- package/automation/logic/ObcLogic.vue.d.ts +3 -3
- package/automation/logic/ObcLogic.vue2.js +1 -1
- package/automation/logic/ObcLogic.vue2.js.map +1 -1
- package/automation/mosfet/ObcMosfet.vue.d.ts +3 -3
- package/automation/mosfet/ObcMosfet.vue2.js +1 -1
- package/automation/mosfet/ObcMosfet.vue2.js.map +1 -1
- package/automation/motor/ObcMotor.vue.d.ts +3 -3
- package/automation/motor/ObcMotor.vue2.js +1 -1
- package/automation/motor/ObcMotor.vue2.js.map +1 -1
- package/automation/pump/ObcPump.vue.d.ts +3 -3
- package/automation/pump/ObcPump.vue2.js +1 -1
- package/automation/pump/ObcPump.vue2.js.map +1 -1
- package/automation/resistor/ObcResistor.vue.d.ts +3 -3
- package/automation/resistor/ObcResistor.vue2.js +1 -1
- package/automation/resistor/ObcResistor.vue2.js.map +1 -1
- package/automation/router/ObcRouter.vue.d.ts +3 -3
- package/automation/router/ObcRouter.vue2.js +1 -1
- package/automation/router/ObcRouter.vue2.js.map +1 -1
- package/automation/source/ObcSource.vue.d.ts +3 -3
- package/automation/source/ObcSource.vue2.js +1 -1
- package/automation/source/ObcSource.vue2.js.map +1 -1
- package/automation/switch/ObcSwitch.vue.d.ts +3 -3
- package/automation/switch/ObcSwitch.vue2.js +1 -1
- package/automation/switch/ObcSwitch.vue2.js.map +1 -1
- package/automation/transformer/ObcTransformer.vue.d.ts +3 -3
- package/automation/transformer/ObcTransformer.vue2.js +1 -1
- package/automation/transformer/ObcTransformer.vue2.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcLogic.vue2.js","sources":["../../src/automation/logic/ObcLogic.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/logic/logic.js';\n import {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/logic/logic.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcLogic.vue2.js","sources":["../../src/automation/logic/ObcLogic.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/logic/logic.js';\n import {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/logic/logic.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: LogicAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/logic/logic.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcLogic',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n orientation: {},\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 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-logic',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"qQAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,YAAa,CAAA,EACb,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,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,YACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';
|
|
2
2
|
import { MosfetAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
-
import { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
4
|
+
import { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
6
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
7
|
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
alternativeIcon?: MosfetAlternativeIcon;
|
|
12
12
|
on?: boolean;
|
|
13
13
|
variant?: SquaredVariant;
|
|
14
|
+
orientation?: AutomationButtonOrientation;
|
|
14
15
|
showReadoutStack?: boolean;
|
|
15
16
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
16
17
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -26,7 +27,6 @@ export interface Props {
|
|
|
26
27
|
progressMode?: CircularProgressMode;
|
|
27
28
|
progressValue?: number;
|
|
28
29
|
tag?: string | null;
|
|
29
|
-
direction?: AutomationButtonDirection;
|
|
30
30
|
badgeControl?: AutomationButtonBadgeControl;
|
|
31
31
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
32
32
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
@@ -34,7 +34,7 @@ export interface Props {
|
|
|
34
34
|
}
|
|
35
35
|
export type { MosfetAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';
|
|
36
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
37
|
-
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
37
|
+
export type { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
38
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
39
39
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
40
|
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js";const _=d({__name:"ObcMosfet",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:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js";const _=d({__name:"ObcMosfet",props:{alternativeIcon:{},on:{type:Boolean},variant:{},orientation:{},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:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-mosfet",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[c]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcMosfet.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcMosfet.vue2.js","sources":["../../src/automation/mosfet/ObcMosfet.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';\n import {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcMosfet.vue2.js","sources":["../../src/automation/mosfet/ObcMosfet.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';\n import {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: MosfetAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcMosfet',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n orientation: {},\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 badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-mosfet',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uQAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,YAAa,CAAA,EACb,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,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,aACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/motor/motor.js';
|
|
2
|
-
import { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
2
|
+
import { AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
5
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
@@ -15,6 +15,7 @@ export interface Props {
|
|
|
15
15
|
speedMaxDigits?: number;
|
|
16
16
|
labelDirection?: AutomationButtonLabelDirection;
|
|
17
17
|
variant?: MotorizedVariant;
|
|
18
|
+
direction?: AutomationButtonDirection;
|
|
18
19
|
showReadoutStack?: boolean;
|
|
19
20
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
20
21
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -30,13 +31,12 @@ export interface Props {
|
|
|
30
31
|
progressMode?: CircularProgressMode;
|
|
31
32
|
progressValue?: number;
|
|
32
33
|
tag?: string | null;
|
|
33
|
-
direction?: AutomationButtonDirection;
|
|
34
34
|
badgeControl?: AutomationButtonBadgeControl;
|
|
35
35
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
36
36
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
37
37
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
38
38
|
}
|
|
39
|
-
export type { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
39
|
+
export type { AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
40
40
|
export type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
41
41
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
42
42
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/motor/motor.js";const _=d({__name:"ObcMotor",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},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:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/motor/motor.js";const _=d({__name:"ObcMotor",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},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:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,y("obc-motor",e,B(p))};return(t,e)=>g((f(),v(i,null,null,512)),[[c]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcMotor.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcMotor.vue2.js","sources":["../../src/automation/motor/ObcMotor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/motor/motor.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcMotor.vue2.js","sources":["../../src/automation/motor/ObcMotor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/motor/motor.js';\n import {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n vertical?: boolean;\n on?: boolean;\n speedInPercent?: number;\n speed?: number | undefined;\n speedUnit?: string;\n speedMaxDigits?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n direction?: AutomationButtonDirection;\n showReadoutStack?: boolean;\n 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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcMotor',\n props: {\n vertical: { type: Boolean },\n on: { type: Boolean },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\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 badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-motor',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0QAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,SAAU,CAAE,KAAM,OAAA,EAClB,GAAI,CAAE,KAAM,OAAA,EACZ,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,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,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,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/pump/pump.js';
|
|
2
|
-
import { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
2
|
+
import { AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
5
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
@@ -15,6 +15,7 @@ export interface Props {
|
|
|
15
15
|
speedMaxDigits?: number;
|
|
16
16
|
labelDirection?: AutomationButtonLabelDirection;
|
|
17
17
|
variant?: MotorizedVariant;
|
|
18
|
+
direction?: AutomationButtonDirection;
|
|
18
19
|
showReadoutStack?: boolean;
|
|
19
20
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
20
21
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -30,13 +31,12 @@ export interface Props {
|
|
|
30
31
|
progressMode?: CircularProgressMode;
|
|
31
32
|
progressValue?: number;
|
|
32
33
|
tag?: string | null;
|
|
33
|
-
direction?: AutomationButtonDirection;
|
|
34
34
|
badgeControl?: AutomationButtonBadgeControl;
|
|
35
35
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
36
36
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
37
37
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
38
38
|
}
|
|
39
|
-
export type { AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
39
|
+
export type { AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
40
40
|
export type { MotorizedVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
|
|
41
41
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
42
42
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const P=d({__name:"ObcPump",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},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:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as g,openBlock as f,createBlock as v,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const P=d({__name:"ObcPump",props:{vertical:{type:Boolean},on:{type:Boolean},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},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:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),p={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const c=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,y("obc-pump",e,B(c))};return(t,e)=>g((f(),v(i,null,null,512)),[[p]])}});export{P as default};
|
|
2
2
|
//# sourceMappingURL=ObcPump.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcPump.vue2.js","sources":["../../src/automation/pump/ObcPump.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/pump/pump.js';\n import {AutomationButtonLabelDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcPump.vue2.js","sources":["../../src/automation/pump/ObcPump.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/pump/pump.js';\n import {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n vertical?: boolean;\n on?: boolean;\n speedInPercent?: number;\n speed?: number | undefined;\n speedUnit?: string;\n speedMaxDigits?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n direction?: AutomationButtonDirection;\n showReadoutStack?: boolean;\n 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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPump',\n props: {\n vertical: { type: Boolean },\n on: { type: Boolean },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\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 badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pump',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"wQAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,SAAU,CAAE,KAAM,OAAA,EAClB,GAAI,CAAE,KAAM,OAAA,EACZ,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,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,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';
|
|
2
2
|
import { ResistorAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
-
import { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
4
|
+
import { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
6
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
7
|
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
alternativeIcon?: ResistorAlternativeIcon;
|
|
12
12
|
on?: boolean;
|
|
13
13
|
variant?: SquaredVariant;
|
|
14
|
+
orientation?: AutomationButtonOrientation;
|
|
14
15
|
showReadoutStack?: boolean;
|
|
15
16
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
16
17
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -26,7 +27,6 @@ export interface Props {
|
|
|
26
27
|
progressMode?: CircularProgressMode;
|
|
27
28
|
progressValue?: number;
|
|
28
29
|
tag?: string | null;
|
|
29
|
-
direction?: AutomationButtonDirection;
|
|
30
30
|
badgeControl?: AutomationButtonBadgeControl;
|
|
31
31
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
32
32
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
@@ -34,7 +34,7 @@ export interface Props {
|
|
|
34
34
|
}
|
|
35
35
|
export type { ResistorAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';
|
|
36
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
37
|
-
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
37
|
+
export type { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
38
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
39
39
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
40
|
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const _=d({__name:"ObcResistor",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const _=d({__name:"ObcResistor",props:{alternativeIcon:{},on:{type:Boolean},variant:{},orientation:{},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:{},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,h("obc-resistor",e,y(i))};return(t,e)=>f((g(),v(p,null,null,512)),[[c]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcResistor.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcResistor.vue2.js","sources":["../../src/automation/resistor/ObcResistor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\n import {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcResistor.vue2.js","sources":["../../src/automation/resistor/ObcResistor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\n import {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: ResistorAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcResistor',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n orientation: {},\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 badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-resistor',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"2QAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,YAAa,CAAA,EACb,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,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,eACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/router/router.js';
|
|
2
2
|
import { RouterAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
-
import { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
4
|
+
import { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
6
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
7
|
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
alternativeIcon?: RouterAlternativeIcon;
|
|
12
12
|
on?: boolean;
|
|
13
13
|
variant?: SquaredVariant;
|
|
14
|
+
orientation?: AutomationButtonOrientation;
|
|
14
15
|
showReadoutStack?: boolean;
|
|
15
16
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
16
17
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -26,7 +27,6 @@ export interface Props {
|
|
|
26
27
|
progressMode?: CircularProgressMode;
|
|
27
28
|
progressValue?: number;
|
|
28
29
|
tag?: string | null;
|
|
29
|
-
direction?: AutomationButtonDirection;
|
|
30
30
|
badgeControl?: AutomationButtonBadgeControl;
|
|
31
31
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
32
32
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
@@ -34,7 +34,7 @@ export interface Props {
|
|
|
34
34
|
}
|
|
35
35
|
export type { RouterAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';
|
|
36
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
37
|
-
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
37
|
+
export type { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
38
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
39
39
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
40
|
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const _=d({__name:"ObcRouter",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const _=d({__name:"ObcRouter",props:{alternativeIcon:{},on:{type:Boolean},variant:{},orientation:{},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:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,h("obc-router",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[c]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcRouter.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcRouter.vue2.js","sources":["../../src/automation/router/ObcRouter.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\n import {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcRouter.vue2.js","sources":["../../src/automation/router/ObcRouter.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\n import {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: RouterAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRouter',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n orientation: {},\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 badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-router',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uQAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,YAAa,CAAA,EACb,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,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,aACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/source/source.js';
|
|
2
2
|
import { SourceAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
-
import { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
4
|
+
import { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
6
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
7
|
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
alternativeIcon?: SourceAlternativeIcon;
|
|
12
12
|
on?: boolean;
|
|
13
13
|
variant?: SquaredVariant;
|
|
14
|
+
orientation?: AutomationButtonOrientation;
|
|
14
15
|
showReadoutStack?: boolean;
|
|
15
16
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
16
17
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -26,7 +27,6 @@ export interface Props {
|
|
|
26
27
|
progressMode?: CircularProgressMode;
|
|
27
28
|
progressValue?: number;
|
|
28
29
|
tag?: string | null;
|
|
29
|
-
direction?: AutomationButtonDirection;
|
|
30
30
|
badgeControl?: AutomationButtonBadgeControl;
|
|
31
31
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
32
32
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
@@ -34,7 +34,7 @@ export interface Props {
|
|
|
34
34
|
}
|
|
35
35
|
export type { SourceAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';
|
|
36
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
37
|
-
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
37
|
+
export type { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
38
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
39
39
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
40
|
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const S=d({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const S=d({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean},variant:{},orientation:{},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:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,h("obc-source",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcSource.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcSource.vue2.js","sources":["../../src/automation/source/ObcSource.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\n import {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
1
|
+
{"version":3,"file":"ObcSource.vue2.js","sources":["../../src/automation/source/ObcSource.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\n import {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SourceAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\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 badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSource',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n orientation: {},\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 badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-source',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uQAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,YAAa,CAAA,EACb,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,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,aACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';
|
|
2
2
|
import { SwitchAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
|
-
import { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
4
|
+
import { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } 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
6
|
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
7
|
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
alternativeIcon?: SwitchAlternativeIcon;
|
|
12
12
|
on?: boolean;
|
|
13
13
|
variant?: SquaredVariant;
|
|
14
|
+
orientation?: AutomationButtonOrientation;
|
|
14
15
|
showReadoutStack?: boolean;
|
|
15
16
|
readoutPosition?: AutomationButtonReadoutPosition;
|
|
16
17
|
readoutSize?: AutomationButtonReadoutStackSize;
|
|
@@ -26,7 +27,6 @@ export interface Props {
|
|
|
26
27
|
progressMode?: CircularProgressMode;
|
|
27
28
|
progressValue?: number;
|
|
28
29
|
tag?: string | null;
|
|
29
|
-
direction?: AutomationButtonDirection;
|
|
30
30
|
badgeControl?: AutomationButtonBadgeControl;
|
|
31
31
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
32
32
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
@@ -34,7 +34,7 @@ export interface Props {
|
|
|
34
34
|
}
|
|
35
35
|
export type { SwitchAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';
|
|
36
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
37
|
-
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning
|
|
37
|
+
export type { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
38
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
39
39
|
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
40
|
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
@@ -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 y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const w=d({__name:"ObcSwitch",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const w=d({__name:"ObcSwitch",props:{alternativeIcon:{},on:{type:Boolean},variant:{},orientation:{},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:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={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,v("obc-switch",e,y(i))};return(t,e)=>f((g(),h(p,null,null,512)),[[l]])}});export{w as default};
|
|
2
2
|
//# sourceMappingURL=ObcSwitch.vue2.js.map
|