asiaint-lowcode 3.1.105 → 3.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +121 -121
- package/dist/index.d.ts +7 -0
- package/dist/lazy/{Card-hCrEqojS.js → Card-DR1HcgFE.js} +1 -1
- package/dist/lazy/{Cascader-BSJ6XLSx.js → Cascader-C-z0xNzh.js} +1 -1
- package/dist/lazy/{Checkbox-BQRbMPEc.js → Checkbox-D9xIMmTo.js} +2 -2
- package/dist/lazy/{Collapse-BfEHVHG-.js → Collapse-kscm2pAe.js} +1 -1
- package/dist/lazy/{Component-CMhOYnYE.js → Component-B4_ZaJF3.js} +1 -1
- package/dist/lazy/{Component-Cvuu7_yU.js → Component-C1marIH_.js} +1 -1
- package/dist/lazy/{Component-Bym2Zh0e.js → Component-Cl_hI97Q.js} +1 -1
- package/dist/lazy/{Component-Covo-neG.js → Component-CtvAgJpm.js} +1 -1
- package/dist/lazy/{Component-DDA_U5-4.js → Component-DVgYwXEw.js} +1 -1
- package/dist/lazy/{CurdCard-DQRWF2Hm.js → CurdCard-a0gRmRNn.js} +1 -1
- package/dist/lazy/{Custom-wQtdgabt.js → Custom-BqIPs1fj.js} +1 -1
- package/dist/lazy/{DatePicker-CykIEvfO.js → DatePicker-LptYpiJx.js} +1 -1
- package/dist/lazy/{DragList-B8Fr5NYB.js → DragList-CdqC2rk_.js} +1 -1
- package/dist/lazy/{FilterSearch-6TuMZS2A.js → FilterSearch-mwxQ9_nx.js} +1 -1
- package/dist/lazy/{FloatCurd-CVcTrWVi.js → FloatCurd-hB__Iqu6.js} +1 -1
- package/dist/lazy/{FormList-AS6edduN.js → FormList-vHBLmuSW.js} +1 -1
- package/dist/lazy/{Grid-9fUmnF0T.js → Grid-CUqi589_.js} +1 -1
- package/dist/lazy/{InfiniteScroll-pj-P9xrS.js → InfiniteScroll-BOVrR-cA.js} +1 -1
- package/dist/lazy/{Inline-DHRvy0qZ.js → Inline-CU9RHbF2.js} +1 -1
- package/dist/lazy/{JsonEdit-bxDDbC7d.js → JsonEdit-DWi6I5Kg.js} +1 -1
- package/dist/lazy/{LogList-Dc-bsruh.js → LogList-n_mKzswV.js} +1 -1
- package/dist/lazy/{ObjGroup-eWqWdXBL.js → ObjGroup-DV_BDDmQ.js} +1 -1
- package/dist/lazy/{OfferDetails-BWJIIEKI.js → OfferDetails-C5v282wr.js} +1 -1
- package/dist/lazy/Pagination-DG2pBwTO.js +112 -0
- package/dist/lazy/{Progress-tHmKCsSj.js → Progress-CvtjdfSy.js} +1 -1
- package/dist/lazy/{Radio-BG2XEeWA.js → Radio-B_gjn4wz.js} +2 -2
- package/dist/lazy/{SearchSelect-Cg_OIbUm.js → SearchSelect-Dv_XWzcb.js} +2 -2
- package/dist/lazy/{Select-Bz75JaZr.js → Select-BhhdLA1s.js} +2 -2
- package/dist/lazy/{Table-B_zCXJdl.js → Table-BPFdeRmt.js} +1 -1
- package/dist/lazy/{Tabs-XlvP3qOd.js → Tabs-P1Jhtu2O.js} +1 -1
- package/dist/lazy/{TextArea-D9hNO-4s.js → TextArea-CHdth6ZF.js} +1 -1
- package/dist/lazy/{Wrapper-Dz5sqPmy.js → Wrapper-rXxvOlUS.js} +14 -12
- package/dist/lazy/{index-CTlekA8r.js → index-BcVK4YJ4.js} +757 -753
- package/dist/lazy/{useSelect-MSYHrDeP.js → useSelect-B10EzLwT.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Pagination-DOHK_Nna.js +0 -70
package/package.json
CHANGED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as s, readonly as C, onUnmounted as v, resolveComponent as S, openBlock as h, createElementBlock as P, normalizeStyle as N, createVNode as _ } from "vue";
|
|
2
|
-
import { c as B, j as b, _ as j } from "./index-CTlekA8r.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const w = /* @__PURE__ */ y({
|
|
5
|
-
__name: "Pagination",
|
|
6
|
-
props: {
|
|
7
|
-
pageSizes: {},
|
|
8
|
-
defaultPageSize: {},
|
|
9
|
-
paginationLayout: {},
|
|
10
|
-
hiddenPagination: { type: Boolean },
|
|
11
|
-
pagerCount: {},
|
|
12
|
-
style: { type: [Boolean, null, String, Object, Array] },
|
|
13
|
-
sizeChange: {},
|
|
14
|
-
pageChange: {},
|
|
15
|
-
name: {}
|
|
16
|
-
},
|
|
17
|
-
setup(u, { expose: l }) {
|
|
18
|
-
const t = u, { ruleModule: p, pageMethodMap: r } = B(), i = s(0), c = (e) => {
|
|
19
|
-
i.value = e;
|
|
20
|
-
}, a = s({ pageNum: 1, pageSize: t.defaultPageSize || 5 }), m = () => a.value, z = async (e) => {
|
|
21
|
-
if (a.value.pageNum = 1, a.value.pageSize = e, !!t.sizeChange)
|
|
22
|
-
try {
|
|
23
|
-
await p[t.sizeChange](r, a.value);
|
|
24
|
-
} catch (n) {
|
|
25
|
-
console.error(n);
|
|
26
|
-
}
|
|
27
|
-
}, d = async (e) => {
|
|
28
|
-
if (a.value.pageNum = e, !!t.pageChange)
|
|
29
|
-
try {
|
|
30
|
-
await p[t.pageChange](r, a.value);
|
|
31
|
-
} catch (n) {
|
|
32
|
-
console.error(n);
|
|
33
|
-
}
|
|
34
|
-
}, g = C({
|
|
35
|
-
getPagination: m,
|
|
36
|
-
setTotal: c,
|
|
37
|
-
type: "pagination"
|
|
38
|
-
});
|
|
39
|
-
if (t.name) {
|
|
40
|
-
const e = b(t.name, g);
|
|
41
|
-
v(() => {
|
|
42
|
-
e();
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
return l(g), (e, n) => {
|
|
46
|
-
const f = S("el-pagination");
|
|
47
|
-
return h(), P("div", {
|
|
48
|
-
class: "pagination-wrapper",
|
|
49
|
-
style: N(e.style)
|
|
50
|
-
}, [
|
|
51
|
-
_(f, {
|
|
52
|
-
layout: e.paginationLayout || "total,sizes, prev, pager, next,jumper",
|
|
53
|
-
total: i.value,
|
|
54
|
-
"page-sizes": e.pageSizes || [5, 6, 10, 20, 30, 40],
|
|
55
|
-
"default-page-size": e.defaultPageSize,
|
|
56
|
-
"current-page": a.value.pageNum,
|
|
57
|
-
"onUpdate:currentPage": n[0] || (n[0] = (o) => a.value.pageNum = o),
|
|
58
|
-
"page-size": a.value.pageSize,
|
|
59
|
-
"onUpdate:pageSize": n[1] || (n[1] = (o) => a.value.pageSize = o),
|
|
60
|
-
"pager-count": Number(e.pagerCount) || 5,
|
|
61
|
-
onSizeChange: z,
|
|
62
|
-
onCurrentChange: d
|
|
63
|
-
}, null, 8, ["layout", "total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
|
|
64
|
-
], 4);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}), L = /* @__PURE__ */ j(w, [["__scopeId", "data-v-f04853fb"]]);
|
|
68
|
-
export {
|
|
69
|
-
L as default
|
|
70
|
-
};
|