UNPKG

@aplus-frontend/ui

Version:

51 lines (50 loc) 1.64 kB
import { defineComponent as i, createElementBlock as r, openBlock as t, createBlock as a, createCommentVNode as o, createVNode as n, unref as l, withCtx as s } 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 p from "./components/page-header/index.vue2.mjs"; import c from "./components/search-form/index.vue2.mjs"; import d from "./components/table/index.vue2.mjs"; const f = { 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(u) { return (e, v) => (t(), r("div", f, [ e.pageHeader !== !1 ? (t(), a(p, { key: 0, active: e.active }, null, 8, ["active"])) : o("", !0), e.searchForm !== !1 ? (t(), a(c, { key: 1, active: e.active }, null, 8, ["active"])) : o("", !0), n(l(m), { variant: "borderless", "body-style": { padding: 0 } }, { default: s(() => [ e.list !== !1 ? (t(), a(d, { key: 0, size: e.list, active: e.active, actions: e.actionButton }, null, 8, ["size", "active", "actions"])) : o("", !0) ]), _: 1 }) ])); } }); export { N as default };