import { defineComponent as u, useSlots as m, shallowRef as c, openBlock as x, createBlock as y, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as B, withCtx as i, createVNode as v, mergeProps as b, renderList as _, renderSlot as g } from "vue";
import { omit as h } from "lodash-unified";
import "../../../ap-field/index.mjs";
import "../../item/index.vue2.mjs";
import F from "../../item/index.vue.mjs";
import k from "../../../ap-field/radio/index.vue.mjs";
const A = /* @__PURE__ */ u({
  name: "ApFormItemRadio",
  __name: "index",
  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: {},
    valuePropName: {},
    initialValue: {},
    _signal: {},
    transform: {},
    description: {},
    customFilled: {},
    disabled: { type: Boolean, default: void 0 },
    autoFocus: { type: Boolean },
    field: { default: () => ({}) }
  },
  setup(e, { expose: s }) {
    const d = e, n = m(), o = c();
    return s({
      request: () => o.value?.request()
    }), (p, C) => (x(), y(F, a(t(r(h)(d, ["field"]))), B({
      default: i(() => [
        v(r(k), b({
          ref_key: "radioRef",
          ref: o,
          disabled: e.disabled
        }, e.field), null, 16, ["disabled"])
      ]),
      _: 2
    }, [
      _(n, (R, l) => ({
        name: l,
        fn: i((f) => [
          g(p.$slots, l, a(t(f || {})))
        ])
      }))
    ]), 1040));
  }
});
export {
  A as default
};
