import { defineComponent as i, openBlock as t, createElementBlock as n, createBlock as a, createCommentVNode as o, createVNode as l, unref as c, withCtx as r } from "vue";
import { Card as m } from "@aplus-frontend/antdv";
import "./components/page-header/index.vue.mjs";
import "./components/search-form/index.vue.mjs";
import "./components/table/index.vue.mjs";
import d from "./components/page-header/index.vue2.mjs";
import f from "./components/search-form/index.vue2.mjs";
import s from "./components/table/index.vue2.mjs";
const u = { style: {
  width: "100%"
} }, N = /* @__PURE__ */ i({
  name: "ApSkeletonListPage",
  __name: "list-page",
  props: {
    active: { type: Boolean, default: !0 },
    pageHeader: { type: Boolean, default: void 0 },
    actionButton: { type: Boolean, default: void 0 },
    searchForm: { type: Boolean, default: void 0 },
    list: { type: [Number, Boolean], default: 5 }
  },
  setup(e) {
    return (v, y) => (t(), n("div", u, [
      e.pageHeader !== !1 ? (t(), a(d, {
        key: 0,
        active: e.active
      }, null, 8, ["active"])) : o("", !0),
      e.searchForm !== !1 ? (t(), a(f, {
        key: 1,
        active: e.active
      }, null, 8, ["active"])) : o("", !0),
      l(c(m), {
        variant: "borderless",
        "body-style": { padding: 0 }
      }, {
        default: r(() => [
          e.list !== !1 ? (t(), a(s, {
            key: 0,
            size: e.list,
            active: e.active,
            actions: e.actionButton
          }, null, 8, ["size", "active", "actions"])) : o("", !0)
        ]),
        _: 1
      })
    ]));
  }
});
export {
  N as default
};
