import { defineComponent as i, resolveComponent as f, openBlock as m, createBlock as v, withCtx as u, createVNode as t } from "vue";
import { aG as c } from "./index-D9_Q0ZzG.js";
const x = /* @__PURE__ */ i({
  __name: "Input-删除",
  props: {
    configData: {
      type: Object,
      default: {}
    }
  },
  setup(e) {
    return c(), (g, a) => {
      const o = f("a-input"), n = f("a-form-item"), d = f("a-textarea"), r = f("a-form");
      return m(), v(r, {
        layout: "vertical",
        model: e.configData,
        autocomplete: "off"
      }, {
        default: u(() => [
          t(n, { label: "标题" }, {
            default: u(() => [
              t(o, {
                value: e.configData.name,
                "onUpdate:value": a[0] || (a[0] = (l) => e.configData.name = l)
              }, null, 8, ["value"])
            ]),
            _: 1
          }),
          t(n, {
            label: "数据绑定",
            rules: [{ required: !0 }]
          }, {
            default: u(() => [
              t(o, {
                value: e.configData.model,
                "onUpdate:value": a[1] || (a[1] = (l) => e.configData.model = l)
              }, null, 8, ["value"])
            ]),
            _: 1
          }),
          t(n, {
            label: "key",
            rules: [{ required: !0 }]
          }, {
            default: u(() => [
              t(o, {
                value: e.configData.key,
                "onUpdate:value": a[2] || (a[2] = (l) => e.configData.key = l)
              }, null, 8, ["value"])
            ]),
            _: 1
          }),
          t(n, {
            label: "默认值",
            rules: [{ required: !0 }]
          }, {
            default: u(() => [
              t(o, {
                value: e.configData.defaultValue,
                "onUpdate:value": a[3] || (a[3] = (l) => e.configData.defaultValue = l)
              }, null, 8, ["value"])
            ]),
            _: 1
          }),
          t(n, {
            label: "扩展",
            rules: [{ required: !0 }]
          }, {
            default: u(() => [
              t(d, {
                value: e.configData.extended,
                "onUpdate:value": a[4] || (a[4] = (l) => e.configData.extended = l),
                placeholder: "",
                rows: 5
              }, null, 8, ["value"])
            ]),
            _: 1
          })
        ]),
        _: 1
      }, 8, ["model"]);
    };
  }
});
export {
  x as default
};
