import { defineComponent as n, computed as c, openBlock as s, createBlock as u, unref as t, normalizeProps as e, guardReactiveProps as p, withCtx as a, createVNode as f } from "vue";
import "../../confirm-button/index.mjs";
import "../../count-down-button/index.mjs";
import "../../ellipsis/index.mjs";
import "../../rich-text-editor/index.mjs";
import "../index.mjs";
import { WetProFormItem as l } from "../../pro-form/index.mjs";
import "../../pro-table/index.mjs";
import "../../pro-descriptions/index.mjs";
import "../../layout/index.mjs";
import "../../page/index.mjs";
import "../../guide/index.mjs";
import { ElSwitch as P } from "element-plus";
import { wetProFormItemProps as d } from "../../pro-form/src/types.mjs";
const y = /* @__PURE__ */ n({
  name: "WetFormSwitch",
  __name: "switch",
  props: {
    ...d,
    formInputProps: {
      type: Object
    }
  },
  setup(m) {
    const r = m;
    return c(() => {
      const o = { ...r };
      return delete o.formInputProps, o;
    }), (o, _) => (s(), u(t(l), e(p(r)), {
      default: a(({ modelValue: i }) => [
        f(t(P), e(p({
          ...i,
          ...r.formInputProps
        })), null, 16)
      ]),
      _: 1
    }, 16));
  }
});
export {
  y as default
};
