"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../../../node_modules/element-plus/es/index.js");
;/* empty css                                                                */
;/* empty css                                                                        */
;/* empty css                                                                     */
const Vue = require("vue");
;/* empty css                  */
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
const _sfc_main = {
  __name: "TableRefresh",
  props: {
    formData: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_switch = index$1.ElSwitch;
      const _component_el_form_item = index.ElFormItem;
      return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
        Vue.createVNode(_component_el_form_item, { label: "重置排序" }, {
          default: Vue.withCtx(() => [
            Vue.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] = Vue.createElementVNode("span", { class: "form-item-tip" }, "刷新后是否重置表格排序", -1))
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "重置筛选" }, {
          default: Vue.withCtx(() => [
            Vue.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] = Vue.createElementVNode("span", { class: "form-item-tip" }, "刷新后是否重置筛选条件", -1))
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "重置翻页" }, {
          default: Vue.withCtx(() => [
            Vue.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] = Vue.createElementVNode("span", { class: "form-item-tip" }, "刷新后是否重置页码到第一页", -1))
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
const TableRefresh = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-351852a6"]]);
exports.default = TableRefresh;
