import { ElPagination as a } from "element-plus/es";
import { defineComponent as n, useAttrs as s, onMounted as r, createElementBlock as i, openBlock as l, createVNode as p, mergeProps as u, unref as c } from "vue";
const m = { class: "CiCommonListPagination" }, d = {
  name: "CiCommonListPagination",
  inheritAttrs: !1
  // 禁止继承外部传递给组件的属性（例如 class、style 等）
}, y = /* @__PURE__ */ n({
  ...d,
  props: {
    pageSizes: { default: () => [10, 20, 30, 50] },
    background: { type: Boolean, default: !0 },
    layout: { default: "total, sizes, prev, pager, next, jumper" }
  },
  setup(g) {
    const t = s();
    return Object.keys(t).filter((e) => e.startsWith("on")).map((e) => e.slice(2).toLowerCase()), r(() => {
    }), (e, f) => {
      const o = a;
      return l(), i("div", m, [
        p(o, u({
          "page-sizes": e.pageSizes,
          background: e.background,
          layout: e.layout
        }, c(t)), null, 16, ["page-sizes", "background", "layout"])
      ]);
    };
  }
});
export {
  y as default
};
