@oicl/openbridge-webcomponents-vue 2.0.0-next.171 → 2.0.0-next.173
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/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +3 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized2.vue.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized2.vue.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue.d.ts +3 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared2.vue.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared2.vue.js.map +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +3 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor2.vue.js +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor2.vue.js.map +1 -1
- package/automation/capacitor/ObcCapacitor.vue.d.ts +3 -1
- package/automation/capacitor/ObcCapacitor2.vue.js +1 -1
- package/automation/capacitor/ObcCapacitor2.vue.js.map +1 -1
- package/automation/converter/ObcConverter.vue.d.ts +3 -1
- package/automation/converter/ObcConverter2.vue.js +1 -1
- package/automation/converter/ObcConverter2.vue.js.map +1 -1
- package/automation/damper/ObcDamper.vue.d.ts +3 -1
- package/automation/damper/ObcDamper2.vue.js +1 -1
- package/automation/damper/ObcDamper2.vue.js.map +1 -1
- package/automation/diodes/ObcDiodes.vue.d.ts +3 -1
- package/automation/diodes/ObcDiodes2.vue.js +1 -1
- package/automation/diodes/ObcDiodes2.vue.js.map +1 -1
- package/automation/fan/ObcFan.vue.d.ts +3 -1
- package/automation/fan/ObcFan2.vue.js +1 -1
- package/automation/fan/ObcFan2.vue.js.map +1 -1
- package/automation/filter/ObcFilter.vue.d.ts +3 -1
- package/automation/filter/ObcFilter2.vue.js +1 -1
- package/automation/filter/ObcFilter2.vue.js.map +1 -1
- package/automation/ground/ObcGround.vue.d.ts +3 -1
- package/automation/ground/ObcGround2.vue.js +1 -1
- package/automation/ground/ObcGround2.vue.js.map +1 -1
- package/automation/logic/ObcLogic.vue.d.ts +3 -1
- package/automation/logic/ObcLogic2.vue.js +1 -1
- package/automation/logic/ObcLogic2.vue.js.map +1 -1
- package/automation/mosfet/ObcMosfet.vue.d.ts +3 -1
- package/automation/mosfet/ObcMosfet2.vue.js +1 -1
- package/automation/mosfet/ObcMosfet2.vue.js.map +1 -1
- package/automation/motor/ObcMotor.vue.d.ts +3 -1
- package/automation/motor/ObcMotor2.vue.js +1 -1
- package/automation/motor/ObcMotor2.vue.js.map +1 -1
- package/automation/pump/ObcPump.vue.d.ts +3 -1
- package/automation/pump/ObcPump2.vue.js +1 -1
- package/automation/pump/ObcPump2.vue.js.map +1 -1
- package/automation/resistor/ObcResistor.vue.d.ts +3 -1
- package/automation/resistor/ObcResistor2.vue.js +1 -1
- package/automation/resistor/ObcResistor2.vue.js.map +1 -1
- package/automation/router/ObcRouter.vue.d.ts +3 -1
- package/automation/router/ObcRouter2.vue.js +1 -1
- package/automation/router/ObcRouter2.vue.js.map +1 -1
- package/automation/source/ObcSource.vue.d.ts +3 -1
- package/automation/source/ObcSource2.vue.js +1 -1
- package/automation/source/ObcSource2.vue.js.map +1 -1
- package/automation/switch/ObcSwitch.vue.d.ts +3 -1
- package/automation/switch/ObcSwitch2.vue.js +1 -1
- package/automation/switch/ObcSwitch2.vue.js.map +1 -1
- package/automation/transformer/ObcTransformer.vue.d.ts +3 -1
- package/automation/transformer/ObcTransformer2.vue.js +1 -1
- package/automation/transformer/ObcTransformer2.vue.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/filter/filter.js";const S=p({__name:"ObcFilter",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-filter",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/filter/filter.js";const S=p({__name:"ObcFilter",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-filter",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcFilter2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcFilter2.vue.js","sources":["../../src/automation/filter/ObcFilter.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/filter/filter.js';\n import {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/filter/filter.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?: FilterAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/filter/filter.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: 'ObcFilter',\n props: {\n alternativeIcon: {},\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-filter',\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":"
|
|
1
|
+
{"version":3,"file":"ObcFilter2.vue.js","sources":["../../src/automation/filter/ObcFilter.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/filter/filter.js';\n import {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/filter/filter.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?: FilterAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/filter/filter.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: 'ObcFilter',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-filter',\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":"4QAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -9,7 +9,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
export interface Props {
|
|
11
11
|
alternativeIcon?: GroundAlternativeIcon;
|
|
12
|
-
|
|
12
|
+
turnedOn?: boolean;
|
|
13
|
+
on?: boolean | undefined;
|
|
13
14
|
variant?: SquaredVariant;
|
|
14
15
|
orientation?: AutomationButtonOrientation;
|
|
15
16
|
showReadoutStack?: boolean;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
51
|
alert: boolean;
|
|
51
52
|
showAlertCategoryIcon: boolean;
|
|
52
53
|
showAlertIcon: boolean;
|
|
54
|
+
turnedOn: boolean;
|
|
53
55
|
on: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
57
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/ground/ground.js";const S=p({__name:"ObcGround",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/ground/ground.js";const S=p({__name:"ObcGround",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,y("obc-ground",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcGround2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcGround2.vue.js","sources":["../../src/automation/ground/ObcGround.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/ground/ground.js';\n import {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/ground/ground.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?: GroundAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/ground/ground.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: 'ObcGround',\n props: {\n alternativeIcon: {},\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-ground',\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":"
|
|
1
|
+
{"version":3,"file":"ObcGround2.vue.js","sources":["../../src/automation/ground/ObcGround.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/ground/ground.js';\n import {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/ground/ground.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?: GroundAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/ground/ground.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: 'ObcGround',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-ground',\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":"4QAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -9,7 +9,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
export interface Props {
|
|
11
11
|
alternativeIcon?: LogicAlternativeIcon;
|
|
12
|
-
|
|
12
|
+
turnedOn?: boolean;
|
|
13
|
+
on?: boolean | undefined;
|
|
13
14
|
variant?: SquaredVariant;
|
|
14
15
|
orientation?: AutomationButtonOrientation;
|
|
15
16
|
showReadoutStack?: boolean;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
51
|
alert: boolean;
|
|
51
52
|
showAlertCategoryIcon: boolean;
|
|
52
53
|
showAlertIcon: boolean;
|
|
54
|
+
turnedOn: boolean;
|
|
53
55
|
on: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
57
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/logic/logic.js";const S=p({__name:"ObcLogic",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/logic/logic.js";const S=p({__name:"ObcLogic",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,y("obc-logic",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcLogic2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcLogic2.vue.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 showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {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, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcLogic2.vue.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 turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {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 turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-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","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0QAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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"}
|
|
@@ -9,7 +9,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
export interface Props {
|
|
11
11
|
alternativeIcon?: MosfetAlternativeIcon;
|
|
12
|
-
|
|
12
|
+
turnedOn?: boolean;
|
|
13
|
+
on?: boolean | undefined;
|
|
13
14
|
variant?: SquaredVariant;
|
|
14
15
|
orientation?: AutomationButtonOrientation;
|
|
15
16
|
showReadoutStack?: boolean;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
51
|
alert: boolean;
|
|
51
52
|
showAlertCategoryIcon: boolean;
|
|
52
53
|
showAlertIcon: boolean;
|
|
54
|
+
turnedOn: boolean;
|
|
53
55
|
on: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
57
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js";const S=p({__name:"ObcMosfet",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/mosfet/mosfet.js";const S=p({__name:"ObcMosfet",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,y("obc-mosfet",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcMosfet2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcMosfet2.vue.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 showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {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, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-mosfet',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcMosfet2.vue.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 turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {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 turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-mosfet',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -8,7 +8,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
8
8
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
9
|
export interface Props {
|
|
10
10
|
vertical?: boolean;
|
|
11
|
-
|
|
11
|
+
turnedOn?: boolean;
|
|
12
|
+
on?: boolean | undefined;
|
|
12
13
|
speedInPercent?: number;
|
|
13
14
|
speed?: number | undefined;
|
|
14
15
|
speedUnit?: string;
|
|
@@ -54,6 +55,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
54
55
|
alert: boolean;
|
|
55
56
|
showAlertCategoryIcon: boolean;
|
|
56
57
|
showAlertIcon: boolean;
|
|
58
|
+
turnedOn: boolean;
|
|
57
59
|
on: boolean;
|
|
58
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
61
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/motor/motor.js";const S=c({__name:"ObcMotor",props:{vertical:{type:Boolean,default:void 0},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),p=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-motor",e,B(i))};return(t,e)=>v((m(),g(p,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcMotor2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcMotor2.vue.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 showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcMotor',\n props: {\n vertical: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-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":"
|
|
1
|
+
{"version":3,"file":"ObcMotor2.vue.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 turnedOn?: boolean;\n on?: boolean | undefined;\n speedInPercent?: number;\n speed?: number | undefined;\n speedUnit?: string;\n speedMaxDigits?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n direction?: AutomationButtonDirection;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcMotor',\n props: {\n vertical: { type: Boolean, default: undefined },\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-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":"0QA0DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,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"}
|
|
@@ -8,7 +8,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
8
8
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
9
|
export interface Props {
|
|
10
10
|
vertical?: boolean;
|
|
11
|
-
|
|
11
|
+
turnedOn?: boolean;
|
|
12
|
+
on?: boolean | undefined;
|
|
12
13
|
speedInPercent?: number;
|
|
13
14
|
speed?: number | undefined;
|
|
14
15
|
speedUnit?: string;
|
|
@@ -54,6 +55,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
54
55
|
alert: boolean;
|
|
55
56
|
showAlertCategoryIcon: boolean;
|
|
56
57
|
showAlertIcon: boolean;
|
|
58
|
+
turnedOn: boolean;
|
|
57
59
|
on: boolean;
|
|
58
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
61
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const P=c({__name:"ObcPump",props:{vertical:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,
|
|
1
|
+
import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/pump/pump.js";const P=c({__name:"ObcPump",props:{vertical:{type:Boolean,default:void 0},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},speedInPercent:{},speed:{},speedUnit:{},speedMaxDigits:{},labelDirection:{},variant:{},direction:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=f(),p=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,y("obc-pump",e,B(i))};return(t,e)=>v((m(),g(p,null,null,512)),[[d]])}});export{P as default};
|
|
2
2
|
//# sourceMappingURL=ObcPump2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcPump2.vue.js","sources":["../../src/automation/pump/ObcPump.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/pump/pump.js';\n import {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n vertical?: boolean;\n 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 showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPump',\n props: {\n vertical: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pump',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcPump2.vue.js","sources":["../../src/automation/pump/ObcPump.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/pump/pump.js';\n import {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n vertical?: boolean;\n turnedOn?: boolean;\n on?: boolean | undefined;\n speedInPercent?: number;\n speed?: number | undefined;\n speedUnit?: string;\n speedMaxDigits?: number;\n labelDirection?: AutomationButtonLabelDirection;\n variant?: MotorizedVariant;\n direction?: AutomationButtonDirection;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {AutomationButtonLabelDirection, AutomationButtonDirection, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPump',\n props: {\n vertical: { type: Boolean, default: undefined },\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n speedInPercent: {},\n speed: {},\n speedUnit: {},\n speedMaxDigits: {},\n labelDirection: {},\n variant: {},\n direction: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-pump',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"wQA0DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,UACR,MAAO,CACL,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,UAAW,CAAA,EACX,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,WACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -9,7 +9,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
export interface Props {
|
|
11
11
|
alternativeIcon?: ResistorAlternativeIcon;
|
|
12
|
-
|
|
12
|
+
turnedOn?: boolean;
|
|
13
|
+
on?: boolean | undefined;
|
|
13
14
|
variant?: SquaredVariant;
|
|
14
15
|
orientation?: AutomationButtonOrientation;
|
|
15
16
|
showReadoutStack?: boolean;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
51
|
alert: boolean;
|
|
51
52
|
showAlertCategoryIcon: boolean;
|
|
52
53
|
showAlertIcon: boolean;
|
|
54
|
+
turnedOn: boolean;
|
|
53
55
|
on: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
57
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const S=p({__name:"ObcResistor",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-resistor",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js";const S=p({__name:"ObcResistor",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-resistor",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcResistor2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcResistor2.vue.js","sources":["../../src/automation/resistor/ObcResistor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\n import {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: ResistorAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcResistor',\n props: {\n alternativeIcon: {},\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-resistor',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcResistor2.vue.js","sources":["../../src/automation/resistor/ObcResistor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\n import {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: ResistorAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/resistor/resistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcResistor',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-resistor',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"gRAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,eACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -9,7 +9,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
export interface Props {
|
|
11
11
|
alternativeIcon?: RouterAlternativeIcon;
|
|
12
|
-
|
|
12
|
+
turnedOn?: boolean;
|
|
13
|
+
on?: boolean | undefined;
|
|
13
14
|
variant?: SquaredVariant;
|
|
14
15
|
orientation?: AutomationButtonOrientation;
|
|
15
16
|
showReadoutStack?: boolean;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
51
|
alert: boolean;
|
|
51
52
|
showAlertCategoryIcon: boolean;
|
|
52
53
|
showAlertIcon: boolean;
|
|
54
|
+
turnedOn: boolean;
|
|
53
55
|
on: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
57
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const S=p({__name:"ObcRouter",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-router",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/router/router.js";const S=p({__name:"ObcRouter",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-router",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcRouter2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcRouter2.vue.js","sources":["../../src/automation/router/ObcRouter.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\n import {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: RouterAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRouter',\n props: {\n alternativeIcon: {},\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-router',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcRouter2.vue.js","sources":["../../src/automation/router/ObcRouter.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\n import {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: RouterAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n showStatus?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/router/router.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcRouter',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-router',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -9,7 +9,8 @@ import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/buildi
|
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
export interface Props {
|
|
11
11
|
alternativeIcon?: SourceAlternativeIcon;
|
|
12
|
-
|
|
12
|
+
turnedOn?: boolean;
|
|
13
|
+
on?: boolean | undefined;
|
|
13
14
|
variant?: SquaredVariant;
|
|
14
15
|
orientation?: AutomationButtonOrientation;
|
|
15
16
|
showReadoutStack?: boolean;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
51
|
alert: boolean;
|
|
51
52
|
showAlertCategoryIcon: boolean;
|
|
52
53
|
showAlertIcon: boolean;
|
|
54
|
+
turnedOn: boolean;
|
|
53
55
|
on: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
57
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const k=p({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-source",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{k as default};
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as g,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const k=p({__name:"ObcSource",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,r=u({}),d={created(t){for(const e in o)r[e]=t[e]}};let n=!1;const i=f(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||n)&&(e[a]=s??r[a])}return n=!0,y("obc-source",e,B(i))};return(t,e)=>v((m(),g(c,null,null,512)),[[d]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcSource2.vue.js.map
|