import "../../../../../node_modules/element-plus/es/index.mjs";
/* empty css                                                             */
/* empty css                                                                    */
/* empty css                                                                         */
/* empty css                                                                */
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
/* empty css                                                                  */
/* empty css                                                                 */
/* empty css                                                                        */
/* empty css                                                                 */
/* empty css                                                                       */
/* empty css                                                                        */
/* empty css                                                                    */
/* empty css                                                                     */
/* empty css                                                                     */
/* empty css                                                                  */
/* empty css                                                               */
/* empty css                                                                  */
/* empty css                                                                        */
/* empty css                                                                  */
import { getCurrentInstance, computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, Fragment, renderList, createCommentVNode, createTextVNode, createElementVNode } from "vue";
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
import OptionConfig from "../../../components/OptionConfig.vue.mjs";
import components from "../aside/index.mjs";
import EventConfigButton from "../../../components/EventConfigButton.vue.mjs";
import _sfc_main$2 from "../../../components/DataSourceSelect.vue.mjs";
import ConditionConfigButton from "../../../components/ConditionConfigButton.vue2.mjs";
import DefaultValueEditor from "../components/DefaultValueEditor.vue.mjs";
import emitter from "../../utils/eventBus.mjs";
import FieldSetMapping from "../../../components/FieldSetMapping.vue2.mjs";
import OnlyFLowConfigButton from "../../../components/OnlyFLowConfigButton.vue2.mjs";
import _sfc_main$1 from "../../../components/FormulaEditorInput.vue.mjs";
import api from "../../../api/index.mjs";
/* empty css                                                                  */
/* empty css                                                                   */
/* empty css                                                                  */
/* empty css                                                                   */
/* empty css                                                                 */
/* empty css                                                                     */
/* empty css                                                                  */
/* empty css                                                                  */
/* empty css                                                                */
/* empty css                                                                */
/* empty css                                                                      */
import "../../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
/* empty css                                                                 */
/* empty css                                                                        */
/* empty css                                       */
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
/* empty css                                                                 */
/* empty css                                                                   */
import "../../../components/TemplateSelector.vue.mjs";
import "../../table/default.mjs";
/* empty css                                 */
/* empty css                       */
/* empty css                             */
import "../../../store/index.mjs";
/* empty css              */
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
import { ElSelect, ElOption } from "../../../../../node_modules/element-plus/es/components/select/index.mjs";
import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
import { ElCheckbox } from "../../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
import { ElRadioGroup, ElRadioButton } from "../../../../../node_modules/element-plus/es/components/radio/index.mjs";
import { ElInputNumber } from "../../../../../node_modules/element-plus/es/components/input-number/index.mjs";
import { ElSwitch } from "../../../../../node_modules/element-plus/es/components/switch/index.mjs";
const _hoisted_1 = {
  key: 0,
  class: "data-source-fields"
};
const _hoisted_2 = { class: "field-item" };
const _hoisted_3 = { class: "field-item" };
const _hoisted_4 = { class: "field-item" };
const _hoisted_5 = { class: "field-item" };
const _hoisted_6 = { class: "field-item" };
const _hoisted_7 = {
  class: "field-item",
  style: { "flex-direction": "column", "align-items": "start" }
};
const _hoisted_8 = { class: "field-item" };
const _hoisted_9 = {
  key: 1,
  class: "data-source-fields"
};
const _hoisted_10 = { class: "field-item" };
const _hoisted_11 = { class: "field-item" };
const _hoisted_12 = { style: { "display": "flex", "align-items": "center", "gap": "8px" } };
const _hoisted_13 = { class: "data-source-fields" };
const _hoisted_14 = { class: "field-item" };
const _hoisted_15 = { class: "field-item" };
const _hoisted_16 = { class: "field-item" };
const _hoisted_17 = { class: "field-item" };
const _hoisted_18 = { style: { "display": "flex", "align-items": "center", "gap": "20px", "width": "100%" } };
const _hoisted_19 = {
  key: 0,
  style: { "margin-bottom": "12px", "width": "100%" }
};
const _hoisted_20 = {
  key: 1,
  style: { "margin-bottom": "12px", "width": "100%" }
};
const _sfc_main = {
  __name: "widgets",
  setup(__props) {
    const currentInstance = getCurrentInstance();
    const ctx = currentInstance.proxy;
    const currentItem = computed(() => {
      return getCurrentItem();
    });
    const activeName = ref(["common"]);
    const validationRules = {
      idCard: "请输入正确的身份证号",
      creditCode: "请输入正确的统一社会信用代码",
      zipCode: "请输入正确的邮编",
      fax: "请输入正确的传真号码",
      bankCard: "请输入正确的银行卡号",
      email: "请输入正确的邮箱",
      mobile: "请输入正确的手机号",
      phone: "请输入正确的座机号",
      mobilePhone: "请输入正确的手机号或座机号",
      regex: "请输入正确的格式",
      custom: "请输入正确的值"
    };
    const getValidationPlaceholder = () => {
      if (currentItem.value.validationType) {
        return validationRules[currentItem.value.validationType] || "请输入提示信息";
      }
      return "请输入提示信息";
    };
    const handleValidationChange = (value) => {
      if (value != "none") {
        currentItem.value.validationMessage = validationRules[value] || "请输入正确的值";
        if (value === "regex") {
          currentItem.value.validationPattern = "";
        } else if (value === "custom") {
          currentItem.value.validationDataSource = "";
        }
      } else {
        currentItem.value.validationMessage = "";
        currentItem.value.validationPattern = "";
        currentItem.value.validationDataSource = "";
      }
    };
    computed(() => {
      return [
        { id: "source1", name: "数据源1" },
        { id: "source2", name: "数据源2" }
      ];
    });
    const fieldTypes = computed(() => {
      const basicComponents = components.find((c) => c.name === "basic");
      const advancedComponents = components.find((c) => c.name === "advanced");
      return [...basicComponents == null ? void 0 : basicComponents.children, ...advancedComponents == null ? void 0 : advancedComponents.children];
    });
    function handleFieldTypeChange(fieldType) {
      const item = currentItem.value;
      const fieldsData = getEditConfigData().fieldsData;
      const fieldInData = fieldsData == null ? void 0 : fieldsData.find((f) => {
        var _a;
        return ((_a = f.component) == null ? void 0 : _a.id) === item.id;
      });
      if (fieldType === "textarea") {
        fieldInData.h = 2;
      } else {
        fieldInData.h = 1;
      }
      emitter.emit("resizeEvent");
    }
    function handleFormatChange(value) {
      switch (value) {
        case "yuan":
          currentItem.value.suffix = "元";
          break;
        case "wan":
          currentItem.value.suffix = "万元";
          break;
        case "million":
          currentItem.value.suffix = "百万元";
          break;
        case "percentage":
          currentItem.value.suffix = "%";
          break;
        case "permillage":
          currentItem.value.suffix = "‰";
          break;
        case "permillion":
          currentItem.value.suffix = "‱";
          break;
        default:
          currentItem.value.suffix = "";
          break;
      }
    }
    function handleEventConfirm(data) {
      currentItem.value.eventConfig = data;
    }
    function handleLabelLinkEventConfirm(data) {
      currentItem.value.labelLinkEventConfig = data;
    }
    function handleSuffixButtonConfirm(data) {
      currentItem.value.suffixButtonConfig = data;
    }
    function handleOnlyFlowConfirm(data) {
      currentItem.value.callbackEventConfig = data;
    }
    const dialogLoading = ref(false);
    const globalDialogs = ref([]);
    const currDialog = ref({});
    const tableOptions = ref(null);
    const tableFields = computed(() => {
      var _a, _b, _c, _d, _e, _f;
      if (((_a = currDialog.value) == null ? void 0 : _a.tableContent) === "custom") {
        return ((_c = (_b = currDialog.value) == null ? void 0 : _b.customTableConfig) == null ? void 0 : _c.fieldsData) || [];
      } else if (((_d = currDialog.value) == null ? void 0 : _d.tableContent) === "select") {
        return [
          ...((_e = tableOptions.value) == null ? void 0 : _e.fieldsData) || [],
          ...((_f = tableOptions.value) == null ? void 0 : _f.hiddenFields) || []
        ];
      }
      return [];
    });
    const loadGlobalDialogs = async () => {
      dialogLoading.value = true;
      try {
        const response = await api.getAllTemplateDialog(ctx.$http);
        globalDialogs.value = [];
        for (let dialog of response) {
          globalDialogs.value.push({
            id: dialog.id,
            name: dialog.name,
            ...JSON.parse(dialog.config)
          });
        }
      } catch (error) {
        console.error("🚀 ~ 获取全局弹层数据失败:", error);
        globalDialogs.value = [];
      } finally {
        dialogLoading.value = false;
      }
    };
    watch(
      () => currentItem.value.dialogSource,
      async (newSource, oldSource) => {
        var _a, _b;
        if (newSource === "global" && oldSource !== "global") {
          await loadGlobalDialogs();
        }
        if ((_a = currentItem.value) == null ? void 0 : _a.suffixDialogId) {
          handleDialogChange((_b = currentItem.value) == null ? void 0 : _b.suffixDialogId);
        }
      },
      { immediate: true }
    );
    const handleDialogChange = async (dialogId) => {
      if (!dialogId) {
        currDialog.value = {};
        tableOptions.value = null;
        return;
      }
      const selectedDialog = dialogOptions.value.find(
        (dialog) => dialog.id === dialogId
      );
      if (selectedDialog) {
        currDialog.value = { ...selectedDialog };
        console.log("🚀 ~ 选中弹层配置:", currDialog.value);
        if (currDialog.value.contentSource === "table" && currDialog.value.tableContent === "select") {
          const tableId = currDialog.value.subTableId;
          if (tableId) {
            try {
              const response = await api.getById(ctx.$http, tableId, false);
              tableOptions.value = JSON.parse(response.context);
              console.log("🚀 ~ 需要获取表格配置，表格ID:", tableId);
            } catch (error) {
              console.error("🚀 ~ 获取表格配置失败:", error);
            }
          }
        } else {
          tableOptions.value = null;
        }
      }
    };
    const dialogOptions = computed(() => {
      if (currentItem.value.dialogSource === "global") {
        return globalDialogs.value;
      } else {
        return getEditConfigData().dialogs || [];
      }
    });
    const isSysSelect = computed(() => {
      return currentItem.value.fieldType == "userSelect" || currentItem.value.fieldType == "roleSelect" || currentItem.value.fieldType == "orgSelect";
    });
    watch(
      () => {
        var _a;
        return (_a = currentItem.value) == null ? void 0 : _a.suffixDialogId;
      },
      (dialogId) => {
        if (dialogId) {
          handleDialogChange(dialogId);
        }
      }
      // {
      //   immediate: true,
      // }
    );
    return (_ctx, _cache) => {
      const _component_el_option = ElOption;
      const _component_el_select = ElSelect;
      const _component_el_input = ElInput;
      const _component_el_form_item = ElFormItem;
      const _component_el_checkbox = ElCheckbox;
      const _component_el_radio_button = ElRadioButton;
      const _component_el_radio_group = ElRadioGroup;
      const _component_el_input_number = ElInputNumber;
      const _component_el_switch = ElSwitch;
      const _component_ParamsConfig = ParamsConfig;
      const _component_el_form = ElForm;
      const _component_el_collapse_item = ElCollapseItem;
      const _component_el_collapse = ElCollapse;
      return openBlock(), createBlock(_component_el_collapse, {
        class: "setting",
        modelValue: unref(activeName),
        "onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => isRef(activeName) ? activeName.value = $event : null)
      }, {
        default: withCtx(() => [
          createVNode(_component_el_collapse_item, {
            name: "common",
            title: "基本属性"
          }, {
            default: withCtx(() => [
              createVNode(_component_el_select, {
                modelValue: unref(currentItem).fieldType,
                "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).fieldType = $event),
                size: "small",
                class: "field-type-select",
                onChange: handleFieldTypeChange,
                placement: "bottom-end"
              }, {
                default: withCtx(() => [
                  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(fieldTypes), (type) => {
                    return openBlock(), createBlock(_component_el_option, {
                      key: type.fieldType,
                      label: type.label,
                      value: type.fieldType
                    }, null, 8, ["label", "value"]);
                  }), 128))
                ]),
                _: 1
              }, 8, ["modelValue"]),
              (openBlock(), createBlock(_component_el_form, {
                "label-position": "top",
                "label-width": "auto",
                model: unref(currentItem),
                key: unref(currentItem).id
              }, {
                default: withCtx(() => [
                  createVNode(_component_el_form_item, {
                    label: "标题",
                    required: ""
                  }, {
                    default: withCtx(() => [
                      createVNode(_component_el_input, {
                        modelValue: unref(currentItem).label,
                        "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).label = $event)
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  unref(currentItem).fieldType === "cascader" || unref(currentItem).fieldType === "area" || unref(currentItem).fieldType === "industry" || unref(isSysSelect) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
                    createVNode(_component_el_form_item, { label: "真实值字段" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).fieldName,
                          "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(currentItem).fieldName = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "显示字段" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).displayFieldName,
                          "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(currentItem).displayFieldName = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    })
                  ], 64)) : (openBlock(), createBlock(_component_el_form_item, {
                    key: 1,
                    label: "字段名称"
                  }, {
                    default: withCtx(() => [
                      createVNode(_component_el_input, {
                        modelValue: unref(currentItem).fieldName,
                        "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(currentItem).fieldName = $event)
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  })),
                  createVNode(_component_el_form_item, { label: "占位内容" }, {
                    default: withCtx(() => [
                      createVNode(_component_el_input, {
                        modelValue: unref(currentItem).placeholder,
                        "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).placeholder = $event)
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  createVNode(_component_el_form_item, null, {
                    default: withCtx(() => [
                      createVNode(_component_el_checkbox, {
                        modelValue: unref(currentItem).credit,
                        "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).credit = $event),
                        label: "征信"
                      }, null, 8, ["modelValue"]),
                      createVNode(_component_el_checkbox, {
                        modelValue: unref(currentItem).regulation,
                        "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).regulation = $event),
                        label: "监管"
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  createVNode(_component_el_form_item, { label: "标签模式" }, {
                    default: withCtx(() => [
                      createVNode(_component_el_radio_group, {
                        modelValue: unref(currentItem).labelMode,
                        "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(currentItem).labelMode = $event),
                        size: "small"
                      }, {
                        default: withCtx(() => [
                          createVNode(_component_el_radio_button, { value: "default" }, {
                            default: withCtx(() => _cache[56] || (_cache[56] = [
                              createTextVNode("默认")
                            ])),
                            _: 1
                          }),
                          createVNode(_component_el_radio_button, { value: "label" }, {
                            default: withCtx(() => _cache[57] || (_cache[57] = [
                              createTextVNode("标签")
                            ])),
                            _: 1
                          }),
                          createVNode(_component_el_radio_button, { value: "input" }, {
                            default: withCtx(() => _cache[58] || (_cache[58] = [
                              createTextVNode("输入框")
                            ])),
                            _: 1
                          })
                        ]),
                        _: 1
                      }, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  createVNode(_component_el_form_item, { label: "显示模式" }, {
                    default: withCtx(() => [
                      createVNode(_component_el_radio_group, {
                        modelValue: unref(currentItem).displayMode,
                        "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(currentItem).displayMode = $event),
                        size: "small"
                      }, {
                        default: withCtx(() => [
                          createVNode(_component_el_radio_button, { value: "all" }, {
                            default: withCtx(() => _cache[59] || (_cache[59] = [
                              createTextVNode("始终显示")
                            ])),
                            _: 1
                          }),
                          createVNode(_component_el_radio_button, { value: "edit" }, {
                            default: withCtx(() => _cache[60] || (_cache[60] = [
                              createTextVNode("编辑时显示")
                            ])),
                            _: 1
                          }),
                          createVNode(_component_el_radio_button, { value: "query" }, {
                            default: withCtx(() => _cache[61] || (_cache[61] = [
                              createTextVNode("查看时显示")
                            ])),
                            _: 1
                          })
                        ]),
                        _: 1
                      }, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  createVNode(_component_el_form_item, null, {
                    default: withCtx(() => [
                      createVNode(_component_el_checkbox, {
                        modelValue: unref(currentItem).disabled,
                        "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(currentItem).disabled = $event),
                        label: "只读"
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  createVNode(_component_el_form_item, { label: "提示信息" }, {
                    default: withCtx(() => [
                      createVNode(_component_el_input, {
                        modelValue: unref(currentItem).tooltip,
                        "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(currentItem).tooltip = $event),
                        rows: 2,
                        type: "textarea",
                        resize: "none"
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  createVNode(_component_el_form_item, { label: "默认值" }, {
                    default: withCtx(() => [
                      createVNode(DefaultValueEditor, {
                        modelValue: unref(currentItem).defaultValue,
                        "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(currentItem).defaultValue = $event),
                        config: unref(currentItem)
                      }, null, 8, ["modelValue", "config"])
                    ]),
                    _: 1
                  }),
                  unref(currentItem).fieldType === "text" || unref(currentItem).fieldType === "textarea" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
                    createVNode(_component_el_form_item, { label: "最大长度" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input_number, {
                          style: { "width": "100%" },
                          modelValue: unref(currentItem).maxLength,
                          "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(currentItem).maxLength = $event),
                          min: 0,
                          max: 1e4,
                          "controls-position": "right"
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, null, {
                      default: withCtx(() => [
                        createVNode(_component_el_checkbox, {
                          modelValue: unref(currentItem).showWordCount,
                          "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(currentItem).showWordCount = $event),
                          label: "显示字数统计"
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "数据脱敏" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).dataMasking,
                          "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(currentItem).dataMasking = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    })
                  ], 64)) : createCommentVNode("", true),
                  createVNode(_component_el_form_item, { label: "标签超链接" }, {
                    default: withCtx(() => [
                      createVNode(_component_el_switch, {
                        modelValue: unref(currentItem).labelLink,
                        "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).labelLink = $event)
                      }, null, 8, ["modelValue"])
                    ]),
                    _: 1
                  }),
                  unref(currentItem).labelLink ? (openBlock(), createBlock(_component_el_form_item, {
                    key: 3,
                    label: "超链接事件配置"
                  }, {
                    default: withCtx(() => [
                      createVNode(EventConfigButton, {
                        config: unref(currentItem).labelLinkEventConfig,
                        onConfirm: handleLabelLinkEventConfirm
                      }, null, 8, ["config"])
                    ]),
                    _: 1
                  })) : createCommentVNode("", true),
                  unref(currentItem).fieldType == "text" || unref(currentItem).fieldType == "number" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
                    createVNode(_component_el_form_item, null, {
                      label: withCtx(() => _cache[62] || (_cache[62] = [
                        createElementVNode("span", null, "尾部按钮", -1)
                      ])),
                      default: withCtx(() => [
                        createVNode(_component_el_radio_group, {
                          modelValue: unref(currentItem).suffixButton,
                          "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffixButton = $event),
                          size: "small"
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_radio_button, { value: "none" }, {
                              default: withCtx(() => _cache[63] || (_cache[63] = [
                                createTextVNode("无")
                              ])),
                              _: 1
                            }),
                            createVNode(_component_el_radio_button, { value: "dialog" }, {
                              default: withCtx(() => _cache[64] || (_cache[64] = [
                                createTextVNode("弹层选择")
                              ])),
                              _: 1
                            }),
                            createVNode(_component_el_radio_button, { value: "custom" }, {
                              default: withCtx(() => _cache[65] || (_cache[65] = [
                                createTextVNode("自定义")
                              ])),
                              _: 1
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    unref(currentItem).suffixButton == "dialog" ? (openBlock(), createElementBlock("div", _hoisted_1, [
                      createElementVNode("div", _hoisted_2, [
                        _cache[66] || (_cache[66] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).suffixDialogName,
                          "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).suffixDialogName = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      createElementVNode("div", _hoisted_3, [
                        _cache[69] || (_cache[69] = createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
                        createVNode(_component_el_radio_group, {
                          modelValue: unref(currentItem).dialogSource,
                          "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).dialogSource = $event),
                          size: "small"
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_radio_button, { value: "global" }, {
                              default: withCtx(() => _cache[67] || (_cache[67] = [
                                createTextVNode("全局")
                              ])),
                              _: 1
                            }),
                            createVNode(_component_el_radio_button, { value: "custom" }, {
                              default: withCtx(() => _cache[68] || (_cache[68] = [
                                createTextVNode("自定义")
                              ])),
                              _: 1
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      createElementVNode("div", _hoisted_4, [
                        _cache[70] || (_cache[70] = createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
                        createVNode(_component_el_select, {
                          modelValue: unref(currentItem).suffixDialogId,
                          "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).suffixDialogId = $event),
                          placeholder: "请选择弹层",
                          filterable: "",
                          loading: unref(dialogLoading),
                          clearable: "",
                          style: { "width": "100%" }
                        }, {
                          default: withCtx(() => [
                            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(dialogOptions), (dialog) => {
                              return openBlock(), createBlock(_component_el_option, {
                                key: dialog.id,
                                label: dialog.name,
                                value: dialog.id
                              }, null, 8, ["label", "value"]);
                            }), 128))
                          ]),
                          _: 1
                        }, 8, ["modelValue", "loading"])
                      ]),
                      unref(currentItem).dialogSource == "global" && unref(currentItem).suffixDialogId ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
                        createElementVNode("div", _hoisted_5, [
                          _cache[74] || (_cache[74] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
                          createVNode(_component_el_radio_group, {
                            modelValue: unref(currentItem).selectionMode,
                            "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => unref(currentItem).selectionMode = $event),
                            size: "small"
                          }, {
                            default: withCtx(() => [
                              createVNode(_component_el_radio_button, { value: "none" }, {
                                default: withCtx(() => _cache[71] || (_cache[71] = [
                                  createTextVNode("无")
                                ])),
                                _: 1
                              }),
                              createVNode(_component_el_radio_button, { value: "single" }, {
                                default: withCtx(() => _cache[72] || (_cache[72] = [
                                  createTextVNode("单选")
                                ])),
                                _: 1
                              }),
                              createVNode(_component_el_radio_button, { value: "multiple" }, {
                                default: withCtx(() => _cache[73] || (_cache[73] = [
                                  createTextVNode("多选")
                                ])),
                                _: 1
                              })
                            ]),
                            _: 1
                          }, 8, ["modelValue"])
                        ]),
                        unref(currentItem).selectionMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
                          createElementVNode("div", _hoisted_6, [
                            _cache[75] || (_cache[75] = createElementVNode("span", { class: "field-label" }, "反显格式", -1)),
                            createVNode(unref(_sfc_main$1), {
                              title: "反显格式配置",
                              formulaConf: unref(currentItem).displayFormat,
                              "onUpdate:formulaConf": _cache[22] || (_cache[22] = ($event) => unref(currentItem).displayFormat = $event),
                              modelValue: unref(currentItem).displayFormatText,
                              "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => unref(currentItem).displayFormatText = $event),
                              fieldList: unref(tableFields)
                            }, null, 8, ["formulaConf", "modelValue", "fieldList"])
                          ]),
                          createElementVNode("div", _hoisted_7, [
                            _cache[76] || (_cache[76] = createElementVNode("span", {
                              class: "field-label",
                              style: { "width": "100%", "text-align": "left" }
                            }, "选取后表单赋值", -1)),
                            createVNode(FieldSetMapping, {
                              modelValue: unref(currentItem).fieldMapping,
                              "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentItem).fieldMapping = $event),
                              fieldLabel: "赋值表单字段",
                              valueLabel: "列表字段",
                              valueOptions: unref(tableFields),
                              valueSelectMode: "",
                              size: "small"
                            }, null, 8, ["modelValue", "valueOptions"])
                          ])
                        ], 64)) : createCommentVNode("", true),
                        createElementVNode("div", _hoisted_8, [
                          _cache[77] || (_cache[77] = createElementVNode("span", { class: "field-label" }, "回调事件", -1)),
                          createVNode(OnlyFLowConfigButton, {
                            config: unref(currentItem).callbackEventConfig,
                            onConfirm: handleOnlyFlowConfirm
                          }, null, 8, ["config"])
                        ])
                      ], 64)) : createCommentVNode("", true)
                    ])) : unref(currentItem).suffixButton == "custom" ? (openBlock(), createElementBlock("div", _hoisted_9, [
                      createElementVNode("div", _hoisted_10, [
                        _cache[78] || (_cache[78] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).suffixButtonName,
                          "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => unref(currentItem).suffixButtonName = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      createElementVNode("div", _hoisted_11, [
                        _cache[79] || (_cache[79] = createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
                        createVNode(EventConfigButton, {
                          config: unref(currentItem).suffixButtonConfig,
                          onConfirm: handleSuffixButtonConfirm
                        }, null, 8, ["config"])
                      ])
                    ])) : createCommentVNode("", true)
                  ], 64)) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
                    createVNode(_component_el_form_item, { label: "格式" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_select, {
                          modelValue: unref(currentItem).format,
                          "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => unref(currentItem).format = $event),
                          onChange: handleFormatChange
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_option, {
                              label: "数值",
                              value: "number"
                            }),
                            createVNode(_component_el_option, {
                              label: "金额(元)",
                              value: "yuan"
                            }),
                            createVNode(_component_el_option, {
                              label: "金额(万元)",
                              value: "wan"
                            }),
                            createVNode(_component_el_option, {
                              label: "金额(百万元)",
                              value: "million"
                            }),
                            createVNode(_component_el_option, {
                              label: "百分比",
                              value: "percentage"
                            }),
                            createVNode(_component_el_option, {
                              label: "千分比",
                              value: "permillage"
                            }),
                            createVNode(_component_el_option, {
                              label: "万分比",
                              value: "permillion"
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, null, {
                      default: withCtx(() => [
                        createVNode(_component_el_checkbox, {
                          modelValue: unref(currentItem).hasDecimalPlaces,
                          "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
                          label: "保留小数位数"
                        }, null, 8, ["modelValue"]),
                        unref(currentItem).hasDecimalPlaces ? (openBlock(), createBlock(_component_el_input_number, {
                          key: 0,
                          style: { "margin-left": "10px", "width": "80px" },
                          modelValue: unref(currentItem).decimalPlaces,
                          "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => unref(currentItem).decimalPlaces = $event),
                          min: 0,
                          max: 10,
                          "controls-position": "right",
                          size: "small"
                        }, null, 8, ["modelValue"])) : createCommentVNode("", true)
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "数值范围" }, {
                      default: withCtx(() => [
                        createElementVNode("div", _hoisted_12, [
                          createVNode(_component_el_input_number, {
                            style: { "width": "100%" },
                            modelValue: unref(currentItem).minValue,
                            "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => unref(currentItem).minValue = $event),
                            "controls-position": "right",
                            placeholder: "最小值"
                          }, null, 8, ["modelValue"]),
                          _cache[80] || (_cache[80] = createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
                          createVNode(_component_el_input_number, {
                            style: { "width": "100%" },
                            modelValue: unref(currentItem).maxValue,
                            "onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => unref(currentItem).maxValue = $event),
                            "controls-position": "right",
                            max: 99999999999999,
                            placeholder: "最大值"
                          }, null, 8, ["modelValue"])
                        ])
                      ]),
                      _: 1
                    })
                  ], 64)) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "text" || unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
                    createVNode(_component_el_form_item, { label: "前置内容" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).prefix,
                          "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => unref(currentItem).prefix = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "后置内容" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).suffix,
                          "onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => unref(currentItem).suffix = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    })
                  ], 64)) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "select" || unref(currentItem).fieldType === "multipleSelection" || unref(currentItem).fieldType === "radio" || unref(currentItem).fieldType === "checkbox" ? (openBlock(), createBlock(OptionConfig, {
                    key: 7,
                    modelValue: unref(currentItem).optionConfig,
                    "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => unref(currentItem).optionConfig = $event)
                  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "cascader" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
                    createVNode(_component_el_form_item, { label: "数据源" }, {
                      default: withCtx(() => [
                        createVNode(_sfc_main$2, {
                          modelValue: unref(currentItem).optionConfig.dataSourceValue,
                          "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => unref(currentItem).optionConfig.dataSourceValue = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createElementVNode("div", _hoisted_13, [
                      createElementVNode("div", _hoisted_14, [
                        _cache[81] || (_cache[81] = createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).optionConfig.displayField,
                          "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => unref(currentItem).optionConfig.displayField = $event),
                          placeholder: "如：optName"
                        }, null, 8, ["modelValue"])
                      ]),
                      createElementVNode("div", _hoisted_15, [
                        _cache[82] || (_cache[82] = createElementVNode("span", { class: "field-label" }, "值字段", -1)),
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).optionConfig.valueField,
                          "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => unref(currentItem).optionConfig.valueField = $event),
                          placeholder: "如：optCode"
                        }, null, 8, ["modelValue"])
                      ]),
                      createElementVNode("div", _hoisted_16, [
                        _cache[83] || (_cache[83] = createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).optionConfig.idField,
                          "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => unref(currentItem).optionConfig.idField = $event),
                          placeholder: "如：id"
                        }, null, 8, ["modelValue"])
                      ]),
                      createElementVNode("div", _hoisted_17, [
                        _cache[84] || (_cache[84] = createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).optionConfig.pidField,
                          "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => unref(currentItem).optionConfig.pidField = $event),
                          placeholder: "如：pid"
                        }, null, 8, ["modelValue"])
                      ])
                    ])
                  ], 64)) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "cascader" || unref(currentItem).fieldType === "area" || unref(currentItem).fieldType === "industry" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
                    createVNode(_component_el_form_item, { label: "是否多选" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_switch, {
                          modelValue: unref(currentItem).multiple,
                          "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => unref(currentItem).multiple = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "显示完整路径" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_switch, {
                          modelValue: unref(currentItem).showFullPath,
                          "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => unref(currentItem).showFullPath = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "可选择任意一级" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_switch, {
                          modelValue: unref(currentItem).checkStrictly,
                          "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => unref(currentItem).checkStrictly = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "最大显示层级" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input_number, {
                          modelValue: unref(currentItem).maxLevel,
                          "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => unref(currentItem).maxLevel = $event),
                          min: 1,
                          style: { "width": "100%" }
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    })
                  ], 64)) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "select" || unref(currentItem).fieldType === "multipleSelection" ? (openBlock(), createBlock(_component_el_form_item, {
                    key: 10,
                    label: "标签效果"
                  }, {
                    default: withCtx(() => [
                      createVNode(_component_el_select, {
                        modelValue: unref(currentItem).optionStyle,
                        "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => unref(currentItem).optionStyle = $event)
                      }, {
                        default: withCtx(() => [
                          createVNode(_component_el_option, {
                            label: "默认",
                            value: "default"
                          })
                        ]),
                        _: 1
                      }, 8, ["modelValue"])
                    ]),
                    _: 1
                  })) : createCommentVNode("", true),
                  unref(currentItem).fieldType === "date" ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
                    createVNode(_component_el_form_item, { label: "显示格式" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_select, {
                          modelValue: unref(currentItem).dateType,
                          "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => unref(currentItem).dateType = $event)
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_option, {
                              label: "年-月-日",
                              value: "date"
                            }),
                            createVNode(_component_el_option, {
                              label: "年-周",
                              value: "week"
                            }),
                            createVNode(_component_el_option, {
                              label: "年-月",
                              value: "month"
                            }),
                            createVNode(_component_el_option, {
                              label: "年",
                              value: "year"
                            }),
                            createVNode(_component_el_option, {
                              label: "年-月-日 时:分:秒",
                              value: "datetime"
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "数据格式" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_select, {
                          modelValue: unref(currentItem).dateValueType,
                          "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => unref(currentItem).dateValueType = $event)
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_option, {
                              label: "字符型",
                              value: "string"
                            }),
                            createVNode(_component_el_option, {
                              label: "日期型",
                              value: "date"
                            }),
                            createVNode(_component_el_option, {
                              label: "时间戳",
                              value: "timestamp"
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "可选范围" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_select, {
                          modelValue: unref(currentItem).dateRange,
                          "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => unref(currentItem).dateRange = $event),
                          "empty-values": [null, void 0],
                          "value-on-clear": null
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_option, {
                              label: "不限",
                              value: ""
                            }),
                            createVNode(_component_el_option, {
                              label: "今天及以前",
                              value: "beforeToday"
                            }),
                            createVNode(_component_el_option, {
                              label: "今天及以后",
                              value: "afterToday"
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      _: 1
                    })
                  ], 64)) : createCommentVNode("", true),
                  unref(isSysSelect) ? (openBlock(), createElementBlock(Fragment, { key: 12 }, [
                    createVNode(_component_el_form_item, { label: "弹层标题" }, {
                      default: withCtx(() => [
                        createVNode(_component_el_input, {
                          modelValue: unref(currentItem).dialogConfig.dialogTitle,
                          "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => unref(currentItem).dialogConfig.dialogTitle = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, { label: "弹层参数" }, {
                      default: withCtx(() => [
                        createVNode(_component_ParamsConfig, {
                          modelValue: unref(currentItem).dialogConfig.dialogParams,
                          "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => unref(currentItem).dialogConfig.dialogParams = $event)
                        }, null, 8, ["modelValue"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_el_form_item, {
                      label: "选择模式",
                      size: "small"
                    }, {
                      default: withCtx(() => [
                        createVNode(_component_el_radio_group, {
                          modelValue: unref(currentItem).dialogConfig.selectionMode,
                          "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => unref(currentItem).dialogConfig.selectionMode = $event)
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_el_radio_button, { value: "single" }, {
                              default: withCtx(() => _cache[85] || (_cache[85] = [
                                createTextVNode("单选")
                              ])),
                              _: 1
                            }),
                            createVNode(_component_el_radio_button, { value: "multiple" }, {
                              default: withCtx(() => _cache[86] || (_cache[86] = [
                                createTextVNode("多选")
                              ])),
                              _: 1
                            })
                          ]),
                          _: 1
                        }, 8, ["modelValue"])
                      ]),
                      _: 1
                    })
                  ], 64)) : createCommentVNode("", true),
                  !unref(isSysSelect) ? (openBlock(), createBlock(_component_el_form_item, {
                    key: 13,
                    label: "事件配置"
                  }, {
                    default: withCtx(() => [
                      createVNode(EventConfigButton, {
                        config: unref(currentItem).eventConfig,
                        onConfirm: handleEventConfirm
                      }, null, 8, ["config"])
                    ]),
                    _: 1
                  })) : createCommentVNode("", true),
                  createVNode(_component_el_form_item, { label: "是否必填" }, {
                    default: withCtx(() => [
                      createElementVNode("div", _hoisted_18, [
                        createVNode(_component_el_switch, {
                          modelValue: unref(currentItem).required,
                          "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => unref(currentItem).required = $event)
                        }, null, 8, ["modelValue"]),
                        unref(currentItem).required ? (openBlock(), createBlock(_component_el_input, {
                          key: 0,
                          modelValue: unref(currentItem).requiredMessage,
                          "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => unref(currentItem).requiredMessage = $event),
                          placeholder: "请输入提示信息",
                          style: { "flex": "1" }
                        }, null, 8, ["modelValue"])) : createCommentVNode("", true)
                      ])
                    ]),
                    _: 1
                  }),
                  !unref(isSysSelect) ? (openBlock(), createBlock(_component_el_form_item, {
                    key: 14,
                    label: "校验规则"
                  }, {
                    default: withCtx(() => [
                      createVNode(_component_el_select, {
                        modelValue: unref(currentItem).validationType,
                        "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => unref(currentItem).validationType = $event),
                        placeholder: "选择校验规则",
                        onChange: handleValidationChange,
                        style: { "margin-bottom": "12px" }
                      }, {
                        default: withCtx(() => [
                          createVNode(_component_el_option, {
                            label: "无",
                            value: "none"
                          }),
                          createVNode(_component_el_option, {
                            label: "身份证",
                            value: "idCard"
                          }),
                          createVNode(_component_el_option, {
                            label: "统一社会信用代码",
                            value: "creditCode"
                          }),
                          createVNode(_component_el_option, {
                            label: "邮编",
                            value: "zipCode"
                          }),
                          createVNode(_component_el_option, {
                            label: "传真",
                            value: "fax"
                          }),
                          createVNode(_component_el_option, {
                            label: "银行卡号",
                            value: "bankCard"
                          }),
                          createVNode(_component_el_option, {
                            label: "邮箱",
                            value: "email"
                          }),
                          createVNode(_component_el_option, {
                            label: "手机",
                            value: "mobile"
                          }),
                          createVNode(_component_el_option, {
                            label: "座机",
                            value: "phone"
                          }),
                          createVNode(_component_el_option, {
                            label: "手机+座机",
                            value: "mobilePhone"
                          }),
                          createVNode(_component_el_option, {
                            label: "条件表达式",
                            value: "regex"
                          }),
                          createVNode(_component_el_option, {
                            label: "自定义",
                            value: "custom"
                          })
                        ]),
                        _: 1
                      }, 8, ["modelValue"]),
                      unref(currentItem).validationType === "regex" ? (openBlock(), createElementBlock("div", _hoisted_19, [
                        createVNode(ConditionConfigButton, {
                          condition: unref(currentItem).validationPattern,
                          onConfirm: (data) => unref(currentItem).validationPattern = data
                        }, null, 8, ["condition", "onConfirm"])
                      ])) : createCommentVNode("", true),
                      unref(currentItem).validationType === "custom" ? (openBlock(), createElementBlock("div", _hoisted_20, [
                        createVNode(_sfc_main$2, {
                          modelValue: unref(currentItem).validationDataSource,
                          "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => unref(currentItem).validationDataSource = $event)
                        }, null, 8, ["modelValue"])
                      ])) : createCommentVNode("", true),
                      unref(currentItem).validationType !== "none" ? (openBlock(), createBlock(_component_el_input, {
                        key: 2,
                        modelValue: unref(currentItem).validationMessage,
                        "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => unref(currentItem).validationMessage = $event),
                        placeholder: getValidationPlaceholder(),
                        style: { "margin-bottom": "12px" }
                      }, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
                    ]),
                    _: 1
                  })) : createCommentVNode("", true)
                ]),
                _: 1
              }, 8, ["model"]))
            ]),
            _: 1
          })
        ]),
        _: 1
      }, 8, ["modelValue"]);
    };
  }
};
const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6d9f6a6"]]);
export {
  widgets as default
};
