import { defineComponent as c, computed as s, openBlock as u, createBlock as a, unref as t, normalizeProps as e, guardReactiveProps as p, withCtx as f, createVNode as l } 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 P } 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 { ElColorPicker as d } from "element-plus";
import { wetProFormItemProps as _ } from "../../pro-form/src/types.mjs";
const E = /* @__PURE__ */ c({
  name: "WetFormColorPicker",
  __name: "color-picker",
  props: {
    ..._,
    formInputProps: {
      type: Object
    }
  },
  setup(m) {
    const r = m, i = s(() => {
      const o = { ...r };
      return delete o.formInputProps, o;
    });
    return (o, I) => (u(), a(t(P), e(p(i.value)), {
      default: f(({ modelValue: n }) => [
        l(t(d), e(p({
          ...n,
          ...r.formInputProps
        })), null, 16)
      ]),
      _: 1
    }, 16));
  }
});
export {
  E as default
};
