import "../../../../../../node_modules/element-plus/es/index.mjs";
/* empty css                                                                */
/* empty css                                                                     */
/* empty css                                                                        */
import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
import _sfc_main$1 from "../../../../components/DataSourceSelect.vue.mjs";
/* empty css                    */
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
const _sfc_main = {
  __name: "TableRowDelete",
  props: {
    formData: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_form_item = ElFormItem;
      const _component_el_switch = ElSwitch;
      return openBlock(), createElementBlock(Fragment, null, [
        createVNode(_component_el_form_item, { label: "选择数据源" }, {
          default: withCtx(() => [
            createVNode(_sfc_main$1, {
              modelValue: __props.formData.dataSourceId,
              "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.formData.dataSourceId = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "确认弹窗" }, {
          default: withCtx(() => [
            createVNode(_component_el_switch, {
              modelValue: __props.formData.showConfirmDeleteMessage,
              "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.showConfirmDeleteMessage = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "删除后刷新列表" }, {
          default: withCtx(() => [
            createVNode(_component_el_switch, {
              modelValue: __props.formData.resetTableAfterDelete,
              "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.resetTableAfterDelete = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
const TableRowDelete = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d7cde321"]]);
export {
  TableRowDelete as default
};
