import "../../../../../../node_modules/element-plus/es/index.mjs";
/* empty css                                                                */
/* empty css                                                                        */
/* empty css                                                                     */
import { createElementBlock, openBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
/* 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: "TableRefresh",
  props: {
    formData: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_switch = ElSwitch;
      const _component_el_form_item = ElFormItem;
      return openBlock(), createElementBlock(Fragment, null, [
        createVNode(_component_el_form_item, { label: "重置排序" }, {
          default: withCtx(() => [
            createVNode(_component_el_switch, {
              modelValue: __props.formData.resetSort,
              "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.formData.resetSort = $event)
            }, null, 8, ["modelValue"]),
            _cache[3] || (_cache[3] = createElementVNode("span", { class: "form-item-tip" }, "刷新后是否重置表格排序", -1))
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "重置筛选" }, {
          default: withCtx(() => [
            createVNode(_component_el_switch, {
              modelValue: __props.formData.resetFilter,
              "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.resetFilter = $event)
            }, null, 8, ["modelValue"]),
            _cache[4] || (_cache[4] = createElementVNode("span", { class: "form-item-tip" }, "刷新后是否重置筛选条件", -1))
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "重置翻页" }, {
          default: withCtx(() => [
            createVNode(_component_el_switch, {
              modelValue: __props.formData.resetPagination,
              "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.resetPagination = $event)
            }, null, 8, ["modelValue"]),
            _cache[5] || (_cache[5] = createElementVNode("span", { class: "form-item-tip" }, "刷新后是否重置页码到第一页", -1))
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
const TableRefresh = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-351852a6"]]);
export {
  TableRefresh as default
};
