dlzn-ui 2.0.90 → 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-C1TJqI7T.mjs → AssignUser-Cba5vAl1.mjs} +14 -14
- package/chunks/{BasicInfo-ieKCaGwH.mjs → BasicInfo-Bvq-HQJ_.mjs} +1 -1
- package/chunks/{ColumnInfo-BhkorfJI.mjs → ColumnInfo-CRLX-mvV.mjs} +2 -2
- package/chunks/{Common-BvSQiKo2.mjs → Common-Bq9qdi2i.mjs} +1 -1
- package/chunks/{Day-CTBFWJIV.mjs → Day-BUVcUtFu.mjs} +1 -1
- package/chunks/{DictTypeDetail-BgfdUvJ-.mjs → DictTypeDetail-BcE2-B5V.mjs} +8 -8
- package/chunks/{GenInfo-hM-odgqv.mjs → GenInfo-DJq_EewR.mjs} +1 -1
- package/chunks/{Hour-BCoOdrBX.mjs → Hour-CwQQPXaR.mjs} +1 -1
- package/chunks/{Import-DXsRyeub.mjs → Import-rJdKqVqG.mjs} +2 -2
- package/chunks/{Index-DZAUiAs7.mjs → Index-C_K9w486.mjs} +1 -1
- package/chunks/{Index-_rLBm48m.mjs → Index-DVPHy-2h.mjs} +1 -1
- package/chunks/{Index-CrYhNcWE.mjs → Index-Wsuv1_GI.mjs} +1 -1
- package/chunks/{Index-C8rKiUnc.mjs → Index-xm96pJY-.mjs} +1 -1
- package/chunks/{IndexItem-BERW_4wf.mjs → IndexItem-mkv5naiz.mjs} +1 -1
- package/chunks/{Log-BgqKjZhH.mjs → Log-i0vc4tLi.mjs} +11 -11
- package/chunks/{LoginBg-DbmOre6P.mjs → LoginBg-BtYLzpau.mjs} +1 -1
- package/chunks/{Minute-Br6DyEnJ.mjs → Minute-DVOyQfoM.mjs} +1 -1
- package/chunks/{Month-BSkP_NNE.mjs → Month-C9EsJdGm.mjs} +1 -1
- package/chunks/{Preview-Dq6tVW4P.mjs → Preview-DT31fnBR.mjs} +1 -1
- package/chunks/{Second-BaOHtpcm.mjs → Second-2dWCZLjn.mjs} +1 -1
- package/chunks/{SelectDept-JdE01RJl.mjs → SelectDept-C_mJ04_S.mjs} +1 -1
- package/chunks/{SelectMenu-CBGt2RrU.mjs → SelectMenu-D_SA_EiZ.mjs} +1 -1
- package/chunks/{SelectUser-CQpx2HzJ.mjs → SelectUser-DLAbDQ8W.mjs} +2 -2
- package/chunks/{UserInfo-tWIden6Y.mjs → UserInfo-Dl2INqhu.mjs} +9 -9
- package/chunks/{app-dUSiq7Ru.mjs → app-MIQr7kNK.mjs} +1 -1
- package/chunks/{custom-page-list-CUeAAYEa.mjs → custom-page-list-DHK_NW0i.mjs} +4 -4
- package/chunks/{custom-page-table-C-gi7OGt.mjs → custom-page-table-1gOvwcJL.mjs} +2 -2
- package/chunks/{job-DnYhSDP4.mjs → job-D6_vm6Ii.mjs} +24 -24
- package/chunks/{overview-D_tbwhqT.mjs → overview-amJc1B-Y.mjs} +1 -1
- package/chunks/{page-list-VSe1LOfK.mjs → page-list-nd2K6s0p.mjs} +3 -3
- package/chunks/{page-query-8XmyQiCK.mjs → page-query-Bp2Wfk95.mjs} +1 -1
- package/chunks/{page-table-BdNBjt_k.mjs → page-table-Bgq2mekF.mjs} +57 -57
- package/chunks/{pagination-BOb4D8uP.mjs → pagination-BlUizDPX.mjs} +3 -3
- package/chunks/{provider-CQbOYjc5.mjs → provider-6bwbdidw.mjs} +245 -245
- package/chunks/{table-BEeznK4Y.mjs → table-C-19SNwB.mjs} +40 -38
- 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-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/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 +21 -19
- 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 +14 -14
- 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-Dq4nevWy.css +0 -1
|
@@ -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 };
|