"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../confirm-button/index.js");require("../../count-down-button/index.js");require("../../ellipsis/index.js");require("../../rich-text-editor/index.js");require("../index.js");const i=require("../../pro-form/index.js");require("../../pro-table/index.js");require("../../pro-descriptions/index.js");require("../../layout/index.js");require("../../page/index.js");require("../../guide/index.js");const n=require("element-plus"),s=require("../../pro-form/src/types.js"),c=e.defineComponent({name:"WetFormSwitch",__name:"switch",props:{...s.wetProFormItemProps,formInputProps:{type:Object}},setup(o){const r=o;return e.computed(()=>{const t={...r};return delete t.formInputProps,t}),(t,p)=>(e.openBlock(),e.createBlock(e.unref(i.WetProFormItem),e.normalizeProps(e.guardReactiveProps(r)),{default:e.withCtx(({modelValue:u})=>[e.createVNode(e.unref(n.ElSwitch),e.normalizeProps(e.guardReactiveProps({...u,...r.formInputProps})),null,16)]),_:1},16))}});exports.default=c;
