dlzn-ui 2.0.89 → 2.0.91
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/assets/pagination-BpKuirTF.css +1 -0
- package/assets/table-CVArV2Pt.css +1 -0
- package/chunks/{AssignUser-vDx4D82G.mjs → AssignUser-Cba5vAl1.mjs} +14 -14
- package/chunks/{BasicInfo-BvKBHQyo.mjs → BasicInfo-Bvq-HQJ_.mjs} +1 -1
- package/chunks/{ColumnInfo-BYddY4ID.mjs → ColumnInfo-CRLX-mvV.mjs} +2 -2
- package/chunks/{Common-DgFtn6uk.mjs → Common-Bq9qdi2i.mjs} +1 -1
- package/chunks/{Day-D57OuSr1.mjs → Day-BUVcUtFu.mjs} +1 -1
- package/chunks/{DictTypeDetail-Bgcoi5BX.mjs → DictTypeDetail-BcE2-B5V.mjs} +8 -8
- package/chunks/{GenInfo-Cpjb07t9.mjs → GenInfo-DJq_EewR.mjs} +1 -1
- package/chunks/{Hour-C2kHsnWx.mjs → Hour-CwQQPXaR.mjs} +1 -1
- package/chunks/{Import-CUwSBuu3.mjs → Import-rJdKqVqG.mjs} +2 -2
- package/chunks/{Index-BHTir2BG.mjs → Index-C_K9w486.mjs} +1 -1
- package/chunks/{Index-qbd9CTh4.mjs → Index-DVPHy-2h.mjs} +1 -1
- package/chunks/{Index-C_Gf0Jgf.mjs → Index-Wsuv1_GI.mjs} +1 -1
- package/chunks/{Index-BLw1K1xl.mjs → Index-xm96pJY-.mjs} +1 -1
- package/chunks/{IndexItem-COlhUIdm.mjs → IndexItem-mkv5naiz.mjs} +1 -1
- package/chunks/{Log-uPhl0QJF.mjs → Log-i0vc4tLi.mjs} +14 -16
- package/chunks/{LoginBg-DBc-wBJI.mjs → LoginBg-BtYLzpau.mjs} +1 -1
- package/chunks/{Minute-cq4gHso5.mjs → Minute-DVOyQfoM.mjs} +1 -1
- package/chunks/{Month-RO9Bk7PX.mjs → Month-C9EsJdGm.mjs} +1 -1
- package/chunks/{Preview-Gx0BbBT4.mjs → Preview-DT31fnBR.mjs} +1 -1
- package/chunks/{Second-CKdMmksB.mjs → Second-2dWCZLjn.mjs} +1 -1
- package/chunks/{SelectDept-BPAzWxOq.mjs → SelectDept-C_mJ04_S.mjs} +1 -1
- package/chunks/{SelectMenu-C8m9RvV3.mjs → SelectMenu-D_SA_EiZ.mjs} +1 -1
- package/chunks/{SelectUser-sanLPSrz.mjs → SelectUser-DLAbDQ8W.mjs} +2 -2
- package/chunks/{UserInfo-CDNoS8Vd.mjs → UserInfo-Dl2INqhu.mjs} +9 -9
- package/chunks/{app-Cd7qvZaM.mjs → app-MIQr7kNK.mjs} +1 -1
- package/chunks/{custom-page-list-BZCbj6h1.mjs → custom-page-list-DHK_NW0i.mjs} +4 -4
- package/chunks/{custom-page-table-Cm72ycKd.mjs → custom-page-table-1gOvwcJL.mjs} +2 -2
- package/chunks/{job-dsXPTFKb.mjs → job-D6_vm6Ii.mjs} +24 -24
- package/chunks/{overview-ub_GTqi8.mjs → overview-amJc1B-Y.mjs} +1 -1
- package/chunks/{page-list-CX7BUCM4.mjs → page-list-nd2K6s0p.mjs} +3 -3
- package/chunks/page-query-Bp2Wfk95.mjs +119 -0
- package/chunks/{page-table-B4zES_VU.mjs → page-table-Bgq2mekF.mjs} +57 -57
- package/chunks/{pagination-D9VeheYA.mjs → pagination-BlUizDPX.mjs} +3 -3
- package/chunks/{provider-BeVE1nWg.mjs → provider-6bwbdidw.mjs} +76 -76
- package/chunks/{table-DTNEiuNZ.mjs → table-C-19SNwB.mjs} +12 -12
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +10 -10
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-query/src/page-query.vue.d.ts +1 -2
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.d.ts +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useMountedPromise/index.d.ts +2 -0
- package/hooks/useMountedPromise/index.mjs +14 -0
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +5 -5
- package/layout/Home1.mjs +2 -2
- package/layout/Login.mjs +3 -3
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +3 -3
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.d.ts +1 -0
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +3 -3
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +10 -10
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +11 -11
- package/views/system/dept/index.mjs +15 -15
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +15 -15
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +19 -19
- package/views/system/menu/utils.mjs +1 -1
- package/views/system/notice/index.mjs +6 -6
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +31 -31
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +41 -41
- package/views/tool/gen/editTable/index.mjs +30 -30
- package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
- package/views/tool/gen/index.mjs +11 -11
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/pagination-B9tRH6dt.css +0 -1
- package/assets/table-D9WewhPF.css +0 -1
- package/chunks/page-query-BmWKqp80.mjs +0 -121
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { K as e, n as t, o as n } from "./provider-6bwbdidw.mjs";
|
|
2
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, mergeDefaults as d, mergeProps as f, normalizeProps as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useTemplateRef as b, watch as x, withCtx as S } from "vue";
|
|
3
|
+
import { useResizeObserver as C } from "@vueuse/core";
|
|
4
|
+
import { cloneDeep as w, groupBy as T } from "lodash-es";
|
|
5
|
+
// ../../packages/dlzn-ui/components/page-query/src/page-query.vue
|
|
6
|
+
var E = /* @__PURE__ */ l({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "page-query",
|
|
9
|
+
props: /*@__PURE__*/ d({
|
|
10
|
+
autoLabelWidth: { type: Boolean },
|
|
11
|
+
data: {},
|
|
12
|
+
items: {},
|
|
13
|
+
labelAlign: {},
|
|
14
|
+
msgErrorWhenValidate: { type: Boolean },
|
|
15
|
+
colon: { type: Boolean },
|
|
16
|
+
disabled: { type: Boolean },
|
|
17
|
+
errorMessage: {},
|
|
18
|
+
id: {},
|
|
19
|
+
layout: {},
|
|
20
|
+
preventSubmitDefault: { type: Boolean },
|
|
21
|
+
readonly: { type: Boolean },
|
|
22
|
+
requiredMark: { type: Boolean },
|
|
23
|
+
requiredMarkPosition: {},
|
|
24
|
+
resetType: {},
|
|
25
|
+
rules: {},
|
|
26
|
+
scrollToFirstError: {},
|
|
27
|
+
showErrorMessage: { type: Boolean },
|
|
28
|
+
statusIcon: { type: Boolean },
|
|
29
|
+
submitWithWarningMessage: { type: Boolean },
|
|
30
|
+
onReset: { type: Function },
|
|
31
|
+
onSubmit: { type: Function },
|
|
32
|
+
onValidate: { type: Function }
|
|
33
|
+
}, e),
|
|
34
|
+
emits: ["query", "reset"],
|
|
35
|
+
setup(e, { expose: l, emit: d }) {
|
|
36
|
+
let E = e, D = d, O = h(w(E.data));
|
|
37
|
+
x(() => E.data, (e) => {
|
|
38
|
+
Object.assign(O.value, w(e));
|
|
39
|
+
}, { deep: !0 });
|
|
40
|
+
let k = r(() => [...E.items, { slot: "_btn" }]), A = r(() => {
|
|
41
|
+
let e = { ...E };
|
|
42
|
+
return delete e.items, delete e.data, e;
|
|
43
|
+
}), j = b("formRef"), M = h(!1), N = h(!1), P = null;
|
|
44
|
+
C(j, (e) => {
|
|
45
|
+
P = e[0]?.target ?? null, F();
|
|
46
|
+
});
|
|
47
|
+
function F() {
|
|
48
|
+
if (P === null) return;
|
|
49
|
+
let e = [...P.querySelectorAll(".t-form__item")];
|
|
50
|
+
e.forEach((t) => {
|
|
51
|
+
t.style.display = getComputedStyle(e[0]).display;
|
|
52
|
+
});
|
|
53
|
+
let t = T(e, (e) => e.offsetTop), n = Object.keys(t).map(Number).sort((e, t) => e - t);
|
|
54
|
+
N.value = n.length > 3 || n.length === 3 && n.at(-1) - n.at(-2) === n.at(1) - n.at(0), M.value || (n.slice(2, -1).forEach((e) => {
|
|
55
|
+
t[e].forEach((e) => {
|
|
56
|
+
e.style.display = "none";
|
|
57
|
+
});
|
|
58
|
+
}), n.length > 2 && N.value && (t[n[1]].at(-1).style.display = "none"));
|
|
59
|
+
}
|
|
60
|
+
x([M, () => k.value.length], F);
|
|
61
|
+
function I() {
|
|
62
|
+
D("query", O.value, !1);
|
|
63
|
+
}
|
|
64
|
+
function L() {
|
|
65
|
+
D("query", O.value, !0);
|
|
66
|
+
}
|
|
67
|
+
function R() {
|
|
68
|
+
z(), D("reset", O.value);
|
|
69
|
+
}
|
|
70
|
+
function z() {
|
|
71
|
+
Object.keys(O.value).forEach((e) => {
|
|
72
|
+
Object.hasOwn(E.data, e) ? O.value[e] = E.data[e] : Array.isArray(O.value[e]) ? O.value[e] = [] : O.value[e] = "";
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return l({
|
|
76
|
+
formData: O,
|
|
77
|
+
query: I,
|
|
78
|
+
reset: R,
|
|
79
|
+
resetFormData: z
|
|
80
|
+
}), (e, r) => (m(), i(y(n), f({
|
|
81
|
+
ref_key: "formRef",
|
|
82
|
+
ref: j,
|
|
83
|
+
data: O.value,
|
|
84
|
+
items: k.value
|
|
85
|
+
}, f(e.$attrs, A.value, { class: "relative" })), o({
|
|
86
|
+
_btn: S(() => [
|
|
87
|
+
c(y(t), {
|
|
88
|
+
class: "shrink",
|
|
89
|
+
onClick: L
|
|
90
|
+
}, {
|
|
91
|
+
default: S(() => [...r[1] ||= [s("查询", -1)]]),
|
|
92
|
+
_: 1
|
|
93
|
+
}),
|
|
94
|
+
c(y(t), {
|
|
95
|
+
class: "shrink",
|
|
96
|
+
theme: "default",
|
|
97
|
+
onClick: R
|
|
98
|
+
}, {
|
|
99
|
+
default: S(() => [...r[2] ||= [s("重置", -1)]]),
|
|
100
|
+
_: 1
|
|
101
|
+
}),
|
|
102
|
+
N.value ? (m(), i(y(t), {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: "shrink",
|
|
105
|
+
variant: "outline",
|
|
106
|
+
onClick: r[0] ||= (e) => M.value = !M.value
|
|
107
|
+
}, {
|
|
108
|
+
default: S(() => [s(v(M.value ? "收起" : "展开"), 1)]),
|
|
109
|
+
_: 1
|
|
110
|
+
})) : a("v-if", !0)
|
|
111
|
+
]),
|
|
112
|
+
_: 2
|
|
113
|
+
}, [g(Object.keys(e.$slots), (t) => ({
|
|
114
|
+
name: t,
|
|
115
|
+
fn: S((n) => [_(e.$slots, t, p(u(n)))])
|
|
116
|
+
}))]), 1040, ["data", "items"]));
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
export { E as t };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import "../components/pagination/index.mjs";
|
|
2
2
|
import "../components/table/index.mjs";
|
|
3
3
|
import { queryStringToObject as e } from "../utils/string.mjs";
|
|
4
|
-
import { t } from "./pagination-
|
|
5
|
-
import { C as n, S as r,
|
|
6
|
-
import { n as
|
|
4
|
+
import { t } from "./pagination-BlUizDPX.mjs";
|
|
5
|
+
import { C as n, S as r, T as i, w as a } from "./provider-6bwbdidw.mjs";
|
|
6
|
+
import { n as o, t as s } from "./table-C-19SNwB.mjs";
|
|
7
7
|
import "./utils-SvnLuaWm.mjs";
|
|
8
|
-
import { computed as
|
|
9
|
-
import { useWatcher as
|
|
8
|
+
import { computed as c, createBlock as l, createCommentVNode as u, createSlots as d, defineComponent as f, guardReactiveProps as p, isRef as m, mergeDefaults as h, mergeProps as g, normalizeProps as _, openBlock as v, ref as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, watch as w, withCtx as T } from "vue";
|
|
9
|
+
import { useWatcher as E } from "alova/client";
|
|
10
10
|
// ../../packages/dlzn-ui/components/page-table/src/page-table.ts
|
|
11
|
-
var
|
|
11
|
+
var D = {
|
|
12
12
|
initialQuery: !0,
|
|
13
13
|
queryParams: () => ({}),
|
|
14
14
|
watchQueryParams: !0
|
|
15
15
|
};
|
|
16
|
-
function
|
|
17
|
-
let
|
|
18
|
-
pageNum:
|
|
19
|
-
pageSize:
|
|
16
|
+
function O(t) {
|
|
17
|
+
let o = c(() => typeof t.method == "string" ? (e) => r.Get(t.method, { params: e }) : t.method), s = y(1), l = y(10), u = y(0), { data: d, loading: f, onSuccess: p } = E(() => o.value({
|
|
18
|
+
pageNum: s.value,
|
|
19
|
+
pageSize: l.value,
|
|
20
20
|
...t.queryParams
|
|
21
21
|
}), [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
s,
|
|
23
|
+
l,
|
|
24
|
+
u
|
|
25
25
|
], {
|
|
26
26
|
debounce: 100,
|
|
27
27
|
initialData: {
|
|
28
28
|
rows: [],
|
|
29
29
|
total: 0
|
|
30
30
|
}
|
|
31
|
-
}),
|
|
32
|
-
|
|
31
|
+
}), m = y(void 0), h = y(!0), g = y(!1);
|
|
32
|
+
p(({ method: t }) => {
|
|
33
33
|
let { meta: r, params: i } = t.config;
|
|
34
|
-
|
|
35
|
-
}), t.initialQuery &&
|
|
36
|
-
t.watchQueryParams && i(e ?? {}
|
|
34
|
+
t.type === "GET" ? (h.value = r?.useEmptyParams ?? !0, m.value = typeof i == "string" ? e(i) : a(i, h.value)) : (g.value = r?.useEmptyData ?? !1, m.value = n(t.data, g.value));
|
|
35
|
+
}), t.initialQuery && u.value++, w(() => t.queryParams, (e, n) => {
|
|
36
|
+
t.watchQueryParams && i(e ?? {}) !== i(n ?? {}) && u.value++;
|
|
37
37
|
}, { deep: !0 });
|
|
38
|
-
function
|
|
39
|
-
e && (
|
|
38
|
+
function _(e = !1) {
|
|
39
|
+
e && (s.value = 1), u.value++;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
|
|
41
|
+
function v() {
|
|
42
|
+
s.value = 1, l.value = 10, u.value++;
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
|
-
data:
|
|
46
|
-
finallyQueryParams:
|
|
47
|
-
loading:
|
|
48
|
-
pageNum:
|
|
49
|
-
pageSize:
|
|
50
|
-
query:
|
|
51
|
-
reset:
|
|
45
|
+
data: d,
|
|
46
|
+
finallyQueryParams: m,
|
|
47
|
+
loading: f,
|
|
48
|
+
pageNum: s,
|
|
49
|
+
pageSize: l,
|
|
50
|
+
query: _,
|
|
51
|
+
reset: v
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
// ../../packages/dlzn-ui/components/page-table/src/page-table.vue
|
|
55
|
-
var
|
|
55
|
+
var k = /* @__PURE__ */ f({
|
|
56
56
|
__name: "page-table",
|
|
57
|
-
props: /*@__PURE__*/
|
|
57
|
+
props: /*@__PURE__*/ h({
|
|
58
58
|
class: { type: [
|
|
59
59
|
Boolean,
|
|
60
60
|
null,
|
|
@@ -198,50 +198,50 @@ var O = /* @__PURE__ */ d({
|
|
|
198
198
|
onScrollX: { type: Function },
|
|
199
199
|
onScrollY: { type: Function }
|
|
200
200
|
}, {
|
|
201
|
-
...
|
|
202
|
-
...
|
|
201
|
+
...o,
|
|
202
|
+
...D
|
|
203
203
|
}),
|
|
204
204
|
setup(e, { expose: n }) {
|
|
205
|
-
let r = e, { data: i, finallyQueryParams: a, loading:
|
|
205
|
+
let r = e, { data: i, finallyQueryParams: a, loading: o, pageNum: f, pageSize: h, query: y, reset: w } = O(r), E = c(() => {
|
|
206
206
|
let e = { ...r };
|
|
207
207
|
return delete e.method, delete e.queryParams, delete e.watchQueryParams, delete e.initialQuery, e;
|
|
208
|
-
}),
|
|
208
|
+
}), D = C("tableRef");
|
|
209
209
|
return n({
|
|
210
210
|
finallyQueryParams: a,
|
|
211
|
-
query:
|
|
212
|
-
reset:
|
|
213
|
-
rowKey:
|
|
214
|
-
selectedRowKeys:
|
|
215
|
-
selectedRows:
|
|
216
|
-
}), (e, n) => (
|
|
211
|
+
query: y,
|
|
212
|
+
reset: w,
|
|
213
|
+
rowKey: c(() => D.value?.rowKey ?? ""),
|
|
214
|
+
selectedRowKeys: c(() => D.value?.selectedRowKeys ?? []),
|
|
215
|
+
selectedRows: c(() => D.value?.selectedRows ?? [])
|
|
216
|
+
}), (e, n) => (v(), l(S(s), g({
|
|
217
217
|
ref_key: "tableRef",
|
|
218
|
-
ref:
|
|
219
|
-
data:
|
|
220
|
-
loading:
|
|
221
|
-
}, E.value),
|
|
222
|
-
"table-bottom":
|
|
218
|
+
ref: D,
|
|
219
|
+
data: S(i).rows,
|
|
220
|
+
loading: S(o)
|
|
221
|
+
}, E.value), d({
|
|
222
|
+
"table-bottom": T((r) => [S(i).total > 0 ? (v(), l(S(t), {
|
|
223
223
|
key: 0,
|
|
224
|
-
modelValue:
|
|
225
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
226
|
-
"page-size":
|
|
227
|
-
"onUpdate:pageSize": n[1] ||= (e) =>
|
|
228
|
-
total: Number(
|
|
224
|
+
modelValue: S(f),
|
|
225
|
+
"onUpdate:modelValue": n[0] ||= (e) => m(f) ? f.value = e : null,
|
|
226
|
+
"page-size": S(h),
|
|
227
|
+
"onUpdate:pageSize": n[1] ||= (e) => m(h) ? h.value = e : null,
|
|
228
|
+
total: Number(S(i).total)
|
|
229
229
|
}, null, 8, [
|
|
230
230
|
"modelValue",
|
|
231
231
|
"page-size",
|
|
232
232
|
"total"
|
|
233
|
-
])) :
|
|
233
|
+
])) : u("v-if", !0), x(e.$slots, "table-bottom", _(p({
|
|
234
234
|
...r,
|
|
235
|
-
res:
|
|
235
|
+
res: S(i)
|
|
236
236
|
})))]),
|
|
237
237
|
_: 2
|
|
238
|
-
}, [
|
|
238
|
+
}, [b(Object.keys(e.$slots).filter((e) => e !== "table-bottom"), (t) => ({
|
|
239
239
|
name: t,
|
|
240
|
-
fn:
|
|
240
|
+
fn: T((n) => [x(e.$slots, t, _(p({
|
|
241
241
|
...n,
|
|
242
|
-
res:
|
|
242
|
+
res: S(i)
|
|
243
243
|
})))])
|
|
244
244
|
}))]), 1040, ["data", "loading"]));
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
-
export {
|
|
247
|
+
export { D as n, O as r, k as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e } from "./provider-6bwbdidw.mjs";
|
|
2
2
|
import { t } from "./plugin-vue_export-helper-Djzt4Yr7.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
4
4
|
import { Pagination as d } from "tdesign-vue-next";
|
|
5
|
-
import '../assets/pagination-
|
|
5
|
+
import '../assets/pagination-BpKuirTF.css';// ../../packages/dlzn-ui/components/pagination/src/pagination.vue
|
|
6
6
|
var f = /*#__PURE__*/ t(/* @__PURE__ */ i({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
name: "TPagination",
|
|
@@ -68,5 +68,5 @@ var f = /*#__PURE__*/ t(/* @__PURE__ */ i({
|
|
|
68
68
|
}
|
|
69
69
|
}), t.$slots))));
|
|
70
70
|
}
|
|
71
|
-
}), [["__scopeId", "data-v-
|
|
71
|
+
}), [["__scopeId", "data-v-0477c96b"]]);
|
|
72
72
|
export { f as t };
|