@oicl/openbridge-webcomponents-vue 2.2.0-next.17 → 2.2.0-next.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve.vue.d.ts +3 -0
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js +1 -1
- package/automation/analog-threeway-valve/ObcAnalogThreewayValve2.vue.js.map +1 -1
- package/automation/analog-valve/ObcAnalogValve.vue.d.ts +3 -0
- package/automation/analog-valve/ObcAnalogValve2.vue.js +1 -1
- package/automation/analog-valve/ObcAnalogValve2.vue.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButton.vue.d.ts +3 -0
- package/automation/automation-button/ObcAbstractAutomationButton2.vue.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButton2.vue.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +3 -0
- 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 -0
- package/automation/automation-button/ObcAbstractAutomationButtonSquared2.vue.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared2.vue.js.map +1 -1
- package/automation/automation-tank/ObcAutomationTank.vue.d.ts +3 -0
- package/automation/automation-tank/ObcAutomationTank2.vue.js +1 -1
- package/automation/automation-tank/ObcAutomationTank2.vue.js.map +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +3 -0
- 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 -0
- 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 -0
- 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 -0
- package/automation/damper/ObcDamper2.vue.js +1 -1
- package/automation/damper/ObcDamper2.vue.js.map +1 -1
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve.vue.d.ts +3 -0
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js +1 -1
- package/automation/digital-threeway-valve/ObcDigitalThreewayValve2.vue.js.map +1 -1
- package/automation/digital-valve/ObcDigitalValve.vue.d.ts +3 -0
- package/automation/digital-valve/ObcDigitalValve2.vue.js +1 -1
- package/automation/digital-valve/ObcDigitalValve2.vue.js.map +1 -1
- package/automation/diodes/ObcDiodes.vue.d.ts +3 -0
- package/automation/diodes/ObcDiodes2.vue.js +1 -1
- package/automation/diodes/ObcDiodes2.vue.js.map +1 -1
- package/automation/direction-valve-shared/ObcDirectionValveBase.vue.d.ts +3 -0
- package/automation/direction-valve-shared/ObcDirectionValveBase2.vue.js +1 -1
- package/automation/direction-valve-shared/ObcDirectionValveBase2.vue.js.map +1 -1
- package/automation/direction-valve-shared/ObcPressureValveBase.vue.d.ts +3 -0
- package/automation/direction-valve-shared/ObcPressureValveBase2.vue.js +1 -1
- package/automation/direction-valve-shared/ObcPressureValveBase2.vue.js.map +1 -1
- package/automation/electricity-battery/ObcElectricityBattery.vue.d.ts +3 -0
- package/automation/electricity-battery/ObcElectricityBattery2.vue.js +1 -1
- package/automation/electricity-battery/ObcElectricityBattery2.vue.js.map +1 -1
- package/automation/fan/ObcFan.vue.d.ts +3 -0
- 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 -0
- 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 -0
- package/automation/ground/ObcGround2.vue.js +1 -1
- package/automation/ground/ObcGround2.vue.js.map +1 -1
- package/automation/heat-exchanger/ObcHeatExchanger.vue.d.ts +3 -0
- package/automation/heat-exchanger/ObcHeatExchanger2.vue.js +1 -1
- package/automation/heat-exchanger/ObcHeatExchanger2.vue.js.map +1 -1
- package/automation/heat-pump/ObcHeatPump.vue.d.ts +3 -0
- package/automation/heat-pump/ObcHeatPump2.vue.js +1 -1
- package/automation/heat-pump/ObcHeatPump2.vue.js.map +1 -1
- package/automation/hydraulic-separator/ObcHydraulicSeparator.vue.d.ts +3 -0
- package/automation/hydraulic-separator/ObcHydraulicSeparator2.vue.js +1 -1
- package/automation/hydraulic-separator/ObcHydraulicSeparator2.vue.js.map +1 -1
- package/automation/logic/ObcLogic.vue.d.ts +3 -0
- 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 -0
- 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 -0
- package/automation/motor/ObcMotor2.vue.js +1 -1
- package/automation/motor/ObcMotor2.vue.js.map +1 -1
- package/automation/non-return-valve/ObcNonReturnValve.vue.d.ts +3 -0
- package/automation/non-return-valve/ObcNonReturnValve2.vue.js +1 -1
- package/automation/non-return-valve/ObcNonReturnValve2.vue.js.map +1 -1
- package/automation/pressure-reduction-valve/ObcPressureReductionValve.vue.d.ts +3 -0
- package/automation/pressure-reduction-valve/ObcPressureReductionValve2.vue.js +1 -1
- package/automation/pressure-reduction-valve/ObcPressureReductionValve2.vue.js.map +1 -1
- package/automation/pressure-sustain-valve/ObcPressureSustainValve.vue.d.ts +3 -0
- package/automation/pressure-sustain-valve/ObcPressureSustainValve2.vue.js +1 -1
- package/automation/pressure-sustain-valve/ObcPressureSustainValve2.vue.js.map +1 -1
- package/automation/pump/ObcPump.vue.d.ts +3 -0
- 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 -0
- 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 -0
- 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 -0
- package/automation/source/ObcSource2.vue.js +1 -1
- package/automation/source/ObcSource2.vue.js.map +1 -1
- package/automation/specialty-tank/ObcAbstractSpecialtyTank.vue.d.ts +3 -0
- package/automation/specialty-tank/ObcAbstractSpecialtyTank2.vue.js +1 -1
- package/automation/specialty-tank/ObcAbstractSpecialtyTank2.vue.js.map +1 -1
- package/automation/switch/ObcSwitch.vue.d.ts +3 -0
- 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 -0
- package/automation/transformer/ObcTransformer2.vue.js +1 -1
- package/automation/transformer/ObcTransformer2.vue.js.map +1 -1
- package/components/alert-menu-item/ObcAlertMenuItem.vue.d.ts +1 -1
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue.d.ts +3 -0
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal2.vue.js +1 -1
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal2.vue.js.map +1 -1
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue.d.ts +3 -0
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical2.vue.js +1 -1
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical2.vue.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcBipolarTransistor2.vue.js","sources":["../../src/automation/bipolar-transistor/ObcBipolarTransistor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\n import {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: BipolarTransistorAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBipolarTransistor',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bipolar-transistor',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcBipolarTransistor2.vue.js","sources":["../../src/automation/bipolar-transistor/ObcBipolarTransistor.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\n import {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n alternativeIcon?: BipolarTransistorAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBipolarTransistor',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bipolar-transistor',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"oSA+DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,uBACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,yBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -8,6 +8,7 @@ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
8
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
11
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
11
12
|
export interface Props {
|
|
12
13
|
alternativeIcon?: CapacitorAlternativeIcon;
|
|
13
14
|
turnedOn?: boolean;
|
|
@@ -38,6 +39,7 @@ export interface Props {
|
|
|
38
39
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
39
40
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
40
41
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
42
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
41
43
|
}
|
|
42
44
|
export type { CapacitorAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';
|
|
43
45
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
@@ -48,6 +50,7 @@ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
48
50
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
49
51
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
50
52
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
53
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
51
54
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
52
55
|
progress: boolean;
|
|
53
56
|
showReadoutStack: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as g}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js";const k=p({__name:"ObcCapacitor",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{},badgeSymbolOverride:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,g("obc-capacitor",e,B(i))};return(t,e)=>f((m(),y(c,null,null,512)),[[d]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcCapacitor2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCapacitor2.vue.js","sources":["../../src/automation/capacitor/ObcCapacitor.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/capacitor/capacitor.js';\n import {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: CapacitorAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCapacitor',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-capacitor',\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":"ObcCapacitor2.vue.js","sources":["../../src/automation/capacitor/ObcCapacitor.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/capacitor/capacitor.js';\n import {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n alternativeIcon?: CapacitorAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCapacitor',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\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-capacitor',\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":"kRA+DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,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,gBACAF,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,6 +8,7 @@ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
8
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
11
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
11
12
|
export interface Props {
|
|
12
13
|
alternativeIcon?: ConverterAlternativeIcon;
|
|
13
14
|
turnedOn?: boolean;
|
|
@@ -38,6 +39,7 @@ export interface Props {
|
|
|
38
39
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
39
40
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
40
41
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
42
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
41
43
|
}
|
|
42
44
|
export type { ConverterAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';
|
|
43
45
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
@@ -48,6 +50,7 @@ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
48
50
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
49
51
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
50
52
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
53
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
51
54
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
52
55
|
progress: boolean;
|
|
53
56
|
showReadoutStack: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as g}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/converter/converter.js";const k=p({__name:"ObcConverter",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{},badgeSymbolOverride:{}},setup(l){const o=l,n=u({}),d={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,g("obc-converter",e,B(i))};return(t,e)=>f((m(),y(c,null,null,512)),[[d]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcConverter2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcConverter2.vue.js","sources":["../../src/automation/converter/ObcConverter.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/converter/converter.js';\n import {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: ConverterAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcConverter',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-converter',\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":"ObcConverter2.vue.js","sources":["../../src/automation/converter/ObcConverter.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/converter/converter.js';\n import {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n alternativeIcon?: ConverterAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcConverter',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\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-converter',\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":"kRA+DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,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,gBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
7
7
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
8
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
9
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
10
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
10
11
|
export interface Props {
|
|
11
12
|
turnedOn?: boolean;
|
|
12
13
|
on?: boolean | undefined;
|
|
@@ -36,6 +37,7 @@ export interface Props {
|
|
|
36
37
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
37
38
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
38
39
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
40
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
39
41
|
}
|
|
40
42
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
41
43
|
export type { AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
@@ -45,6 +47,7 @@ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
45
47
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
46
48
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
47
49
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
50
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
48
51
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
49
52
|
progress: boolean;
|
|
50
53
|
showReadoutStack: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as
|
|
1
|
+
import{defineComponent as c,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as y,h as g}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/damper/damper.js";const k=c({__name:"ObcDamper",props:{turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{},badgeSymbolOverride:{}},setup(d){const o=d,r=u({}),l={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,g("obc-damper",e,B(i))};return(t,e)=>v((m(),y(p,null,null,512)),[[l]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcDamper2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDamper2.vue.js","sources":["../../src/automation/damper/ObcDamper.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/damper/damper.js';\n import {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDamper',\n props: {\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-damper',\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":"ObcDamper2.vue.js","sources":["../../src/automation/damper/ObcDamper.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/damper/damper.js';\n import {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDamper',\n props: {\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\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-damper',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QA4DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,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,6 +8,7 @@ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
8
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
11
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
11
12
|
export interface Props {
|
|
12
13
|
open1?: boolean;
|
|
13
14
|
open2?: boolean;
|
|
@@ -39,6 +40,7 @@ export interface Props {
|
|
|
39
40
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
40
41
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
41
42
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
43
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
42
44
|
}
|
|
43
45
|
export type { ThreewayValveOrientation, ThreewayValveFlow } from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
|
|
44
46
|
export type { DigitalThreewayValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
|
|
@@ -49,6 +51,7 @@ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
49
51
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
50
52
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
51
53
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
54
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
52
55
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
53
56
|
click: (payload: CustomEvent<unknown>) => any;
|
|
54
57
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as v,reactive as f,useSlots as m,withDirectives as y,openBlock as g,createBlock as B,h}from"vue";import{assignSlotNodes as
|
|
1
|
+
import{defineComponent as v,reactive as f,useSlots as m,withDirectives as y,openBlock as g,createBlock as B,h}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js";const _=v({__name:"ObcDigitalThreewayValve",props:{open1:{type:Boolean,default:void 0},open2:{type:Boolean,default:void 0},open3:{type:Boolean,default:void 0},orientation:{},flows:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{},badgeSymbolOverride:{}},emits:["click"],setup(s,{emit:d}){const t=s,n=f({}),i={created(a){for(const e in t)n[e]=a[e]}};let l=!1;const c=d,p=m(),u=()=>{const e={onClick:o=>c("click",o)};for(const o in t){const r=t[o];(r!==void 0||l)&&(e[o]=r??n[o])}return l=!0,h("obc-digital-threeway-valve",e,b(p))};return(a,e)=>y((g(),B(u,null,null,512)),[[i]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcDigitalThreewayValve2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDigitalThreewayValve2.vue.js","sources":["../../src/automation/digital-threeway-valve/ObcDigitalThreewayValve.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/digital-threeway-valve/digital-threeway-valve.js';\n import {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nimport {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n open1?: boolean;\n open2?: boolean;\n open3?: boolean;\n orientation?: ThreewayValveOrientation;\n flows?: ThreewayValveFlow[];\n variant?: DigitalThreewayValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nexport type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDigitalThreewayValve',\n props: {\n open1: { type: Boolean, default: undefined },\n open2: { type: Boolean, default: undefined },\n open3: { type: Boolean, default: undefined },\n orientation: {},\n flows: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n emits: [\"click\"],\n setup(__props: any, { emit: __emit }) {\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 const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\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-digital-threeway-valve',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcDigitalThreewayValve2.vue.js","sources":["../../src/automation/digital-threeway-valve/ObcDigitalThreewayValve.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/digital-threeway-valve/digital-threeway-valve.js';\n import {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nimport {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n open1?: boolean;\n open2?: boolean;\n open3?: boolean;\n orientation?: ThreewayValveOrientation;\n flows?: ThreewayValveFlow[];\n variant?: DigitalThreewayValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';\nexport type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDigitalThreewayValve',\n props: {\n open1: { type: Boolean, default: undefined },\n open2: { type: Boolean, default: undefined },\n open3: { type: Boolean, default: undefined },\n orientation: {},\n flows: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\n },\n emits: [\"click\"],\n setup(__props: any, { emit: __emit }) {\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 const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\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-digital-threeway-valve',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uSAgEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,0BACR,MAAO,CACL,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,YAAa,CAAA,EACb,MAAO,CAAA,EACP,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,MAAO,CAAC,OAAO,EACf,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,QAAUC,GAAgCL,EAAK,QAASK,CAA6B,CAAA,EAKnF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,6BACAK,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -8,6 +8,7 @@ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@o
|
|
|
8
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
11
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
11
12
|
export interface Props {
|
|
12
13
|
open?: boolean;
|
|
13
14
|
vertical?: boolean;
|
|
@@ -40,6 +41,7 @@ export interface Props {
|
|
|
40
41
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
41
42
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
42
43
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
44
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
43
45
|
}
|
|
44
46
|
export type { Direction, AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
45
47
|
export type { ObcValveHandle } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
|
|
@@ -50,6 +52,7 @@ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } fro
|
|
|
50
52
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
51
53
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
52
54
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
55
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
53
56
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
54
57
|
progress: boolean;
|
|
55
58
|
showReadoutStack: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as y,createBlock as g,h as m}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js";const w=p({__name:"ObcDigitalValve",props:{open:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},flowDirection:{},handle:{},invertHandlePosition:{type:Boolean,default:void 0},handleSize:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{}},setup(
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as y,createBlock as g,h as m}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js";const w=p({__name:"ObcDigitalValve",props:{open:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},flowDirection:{},handle:{},invertHandlePosition:{type:Boolean,default:void 0},handleSize:{},variant:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{},badgeSymbolOverride:{}},setup(d){const o=d,l=u({}),s={created(t){for(const e in o)l[e]=t[e]}};let n=!1;const i=v(),c=()=>{const e={};for(const a in o){const r=o[a];(r!==void 0||n)&&(e[a]=r??l[a])}return n=!0,m("obc-digital-valve",e,B(i))};return(t,e)=>f((y(),g(c,null,null,512)),[[s]])}});export{w as default};
|
|
2
2
|
//# sourceMappingURL=ObcDigitalValve2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDigitalValve2.vue.js","sources":["../../src/automation/digital-valve/ObcDigitalValve.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/digital-valve/digital-valve.js';\n import {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';\nimport {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n open?: boolean;\n vertical?: boolean;\n flowDirection?: Direction | undefined;\n handle?: ObcValveHandle;\n invertHandlePosition?: boolean;\n handleSize?: AutomationButtonHandleSize;\n variant?: DigitalValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';\nexport type {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDigitalValve',\n props: {\n open: { type: Boolean, default: undefined },\n vertical: { type: Boolean, default: undefined },\n flowDirection: {},\n handle: {},\n invertHandlePosition: { type: Boolean, default: undefined },\n handleSize: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-digital-valve',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObcDigitalValve2.vue.js","sources":["../../src/automation/digital-valve/ObcDigitalValve.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/digital-valve/digital-valve.js';\n import {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';\nimport {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n open?: boolean;\n vertical?: boolean;\n flowDirection?: Direction | undefined;\n handle?: ObcValveHandle;\n invertHandlePosition?: boolean;\n handleSize?: AutomationButtonHandleSize;\n variant?: DigitalValveVariant;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';\nexport type {AutomationButtonHandleSize, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDigitalValve',\n props: {\n open: { type: Boolean, default: undefined },\n vertical: { type: Boolean, default: undefined },\n flowDirection: {},\n handle: {},\n invertHandlePosition: { type: Boolean, default: undefined },\n handleSize: {},\n variant: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\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-digital-valve',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAiEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,cAAe,CAAA,EACf,OAAQ,CAAA,EACR,qBAAsB,CAAE,KAAM,QAAS,QAAS,MAAA,EAChD,WAAY,CAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,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,oBACAF,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,6 +8,7 @@ import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
8
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
9
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
10
10
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
11
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
11
12
|
export interface Props {
|
|
12
13
|
alternativeIcon?: DiodesAlternativeIcon;
|
|
13
14
|
turnedOn?: boolean;
|
|
@@ -38,6 +39,7 @@ export interface Props {
|
|
|
38
39
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
39
40
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
40
41
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
42
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
41
43
|
}
|
|
42
44
|
export type { DiodesAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';
|
|
43
45
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
@@ -48,6 +50,7 @@ export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
48
50
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
49
51
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
50
52
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
53
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
51
54
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
52
55
|
progress: boolean;
|
|
53
56
|
showReadoutStack: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as u,useSlots as
|
|
1
|
+
import{defineComponent as p,reactive as u,useSlots as v,withDirectives as f,openBlock as m,createBlock as y,h as g}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js";const k=p({__name:"ObcDiodes",props:{alternativeIcon:{},turnedOn:{type:Boolean,default:void 0},on:{type:Boolean,default:void 0},variant:{},orientation:{},showReadoutStack:{type:Boolean,default:void 0},static:{type:Boolean,default:void 0},readoutPosition:{},showStatus:{type:Boolean,default:void 0},showStatusIcon:{type:Boolean,default:void 0},readoutSize:{},tag:{},positioning:{},activated:{type:Boolean,default:void 0},alert:{type:Boolean,default:void 0},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean,default:void 0},showAlertIcon:{type:Boolean,default:void 0},progress:{type:Boolean,default:void 0},progressMode:{},progressValue:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{},badgeLayout:{},badgeSymbolOverride:{}},setup(d){const o=d,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let r=!1;const i=v(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,g("obc-diodes",e,B(i))};return(t,e)=>f((m(),y(c,null,null,512)),[[l]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcDiodes2.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDiodes2.vue.js","sources":["../../src/automation/diodes/ObcDiodes.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/diodes/diodes.js';\n import {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n\n export interface Props {\n alternativeIcon?: DiodesAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined\n }\n\n \n \n export type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDiodes',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-diodes',\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":"ObcDiodes2.vue.js","sources":["../../src/automation/diodes/ObcDiodes.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/diodes/diodes.js';\n import {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nimport {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nimport {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n\n export interface Props {\n alternativeIcon?: DiodesAlternativeIcon;\n turnedOn?: boolean;\n on?: boolean | undefined;\n variant?: SquaredVariant;\n orientation?: AutomationButtonOrientation;\n showReadoutStack?: boolean;\n static?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition | undefined;\n showStatus?: boolean;\n showStatusIcon?: boolean;\n readoutSize?: AutomationButtonReadoutStackSize;\n tag?: string | null;\n positioning?: AutomationButtonPositioning;\n activated?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeLayout?: AutomationButtonBadgeLayout | undefined;\n badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined\n }\n\n \n \n export type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonOrientation, AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\nexport type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';\nexport type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDiodes',\n props: {\n alternativeIcon: {},\n turnedOn: { type: Boolean, default: undefined },\n on: { type: Boolean, default: undefined },\n variant: {},\n orientation: {},\n showReadoutStack: { type: Boolean, default: undefined },\n static: { type: Boolean, default: undefined },\n readoutPosition: {},\n showStatus: { type: Boolean, default: undefined },\n showStatusIcon: { type: Boolean, default: undefined },\n readoutSize: {},\n tag: {},\n positioning: {},\n activated: { type: Boolean, default: undefined },\n alert: { type: Boolean, default: undefined },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean, default: undefined },\n showAlertIcon: { type: Boolean, default: undefined },\n progress: { type: Boolean, default: undefined },\n progressMode: {},\n progressValue: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {},\n badgeLayout: {},\n badgeSymbolOverride: {}\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-diodes',\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":"4QA+DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,GAAI,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9B,QAAS,CAAA,EACT,YAAa,CAAA,EACb,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,OAAQ,CAAE,KAAM,QAAS,QAAS,MAAA,EAClC,gBAAiB,CAAA,EACjB,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAA,EACb,IAAK,CAAA,EACL,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAE,KAAM,QAAS,QAAS,MAAA,EACjC,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,aAAc,CAAA,EACd,cAAe,CAAA,EACf,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,EACZ,YAAa,CAAA,EACb,oBAAqB,CAAA,CAAC,EAExB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@o
|
|
|
7
7
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
8
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
9
|
import { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
10
|
+
import { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
10
11
|
export interface Props {
|
|
11
12
|
flowDirection?: Direction;
|
|
12
13
|
variant?: DirectionValveVariant;
|
|
@@ -34,6 +35,7 @@ export interface Props {
|
|
|
34
35
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
35
36
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
36
37
|
badgeLayout?: AutomationButtonBadgeLayout | undefined;
|
|
38
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
37
39
|
}
|
|
38
40
|
export type { Direction, AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
39
41
|
export type { DirectionValveVariant } from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
|
|
@@ -43,6 +45,7 @@ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } fro
|
|
|
43
45
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
44
46
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
45
47
|
export type { AutomationButtonBadgeLayout } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
|
|
48
|
+
export type { AutomationBadgeSymbolOverride } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
46
49
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
47
50
|
progress: boolean;
|
|
48
51
|
showReadoutStack: boolean;
|