import { defineComponent as m, useSlots as c, openBlock as B, createBlock as y, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as v, withCtx as t, createVNode as x, renderSlot as s, renderList as F } from "vue";
import { omit as _ } from "lodash-unified";
import { ApForm as d } from "../index.mjs";
const S = /* @__PURE__ */ m({
  name: "ApFormItemRender",
  __name: "item",
  props: {
    htmlFor: {},
    prefixCls: {},
    label: {},
    help: {},
    extra: {},
    labelCol: {},
    wrapperCol: {},
    hasFeedback: { type: Boolean, default: !1 },
    colon: { type: Boolean, default: void 0 },
    labelAlign: {},
    prop: {},
    name: {},
    rules: {},
    autoLink: { type: Boolean, default: !0 },
    required: { type: Boolean, default: void 0 },
    validateFirst: { type: Boolean, default: void 0 },
    validateStatus: {},
    validateTrigger: {},
    messageVariables: {},
    hidden: { type: Boolean },
    noStyle: { type: Boolean },
    tooltip: {},
    span: {},
    order: {},
    offset: {},
    push: {},
    pull: {},
    xs: {},
    sm: {},
    md: {},
    lg: {},
    xl: {},
    xxl: {},
    flex: {},
    bordered: { type: Boolean, default: !1 },
    valuePropName: { default: "value" },
    initialValue: {},
    _signal: {},
    transform: {},
    description: {},
    customFilled: {},
    disabled: { type: Boolean },
    autoFocus: { type: Boolean }
  },
  setup(p) {
    const i = p, u = c();
    return (a, b) => (B(), y(e(d).FormItem, o(l(i)), v({
      default: t(() => [
        x(e(d).ControlRender, null, {
          default: t((r) => [
            s(a.$slots, "default", o(l(r)))
          ]),
          _: 3
        })
      ]),
      _: 2
    }, [
      F(e(_)(u, "default"), (r, n) => ({
        name: n,
        fn: t((f) => [
          s(a.$slots, n, o(l(f || {})))
        ])
      }))
    ]), 1040));
  }
});
export {
  S as default
};
