dlzn-ui 2.0.94 → 2.0.95
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/provider-Bh_VYGit.css +2 -0
- package/assets/{css-CZQicoxs.css → scrollbar-To1tAaeV.css} +1 -1
- package/chunks/{AssignUser-CouSn8m6.mjs → AssignUser-pMMpNO27.mjs} +14 -14
- package/chunks/{BasicInfo-BCeofxua.mjs → BasicInfo-dMwF0ziF.mjs} +1 -1
- package/chunks/{ColumnInfo-DIMFSHjI.mjs → ColumnInfo-0WJQWMbG.mjs} +2 -2
- package/chunks/{Common-CwFmdwb1.mjs → Common-DE7thNTn.mjs} +7 -8
- package/chunks/{Day-CYRyMdGp.mjs → Day-Dj8dheNY.mjs} +12 -13
- package/chunks/{DictTypeDetail-BuJzsRck.mjs → DictTypeDetail-BIVPm9kz.mjs} +10 -10
- package/chunks/{GenInfo-u2q3GHjT.mjs → GenInfo-CVmGFfUf.mjs} +1 -1
- package/chunks/{Hour-BucXva0o.mjs → Hour-fmUnJG03.mjs} +1 -1
- package/chunks/{Import-Cbpbw1lG.mjs → Import-DWlcNGih.mjs} +2 -2
- package/chunks/{Index-BNL5a-Cp.mjs → Index--FTIsWxL.mjs} +5 -6
- package/chunks/{Index-DiMU3wUU.mjs → Index-BU7G9MXR.mjs} +1 -1
- package/chunks/{Index-BstvYgFa.mjs → Index-BloAp662.mjs} +1 -1
- package/chunks/{Index-C7ffC0FL.mjs → Index-C97pCXnX.mjs} +1 -1
- package/chunks/{Index-DPsmE1uN.mjs → Index-CFtIabpU.mjs} +1 -1
- package/chunks/{Index-B6nf1hBs.mjs → Index-CPJZlyGD.mjs} +1 -1
- package/chunks/{Index-Bk88hnNn.mjs → Index-CSiH5LGc.mjs} +1 -1
- package/chunks/{Index-wzt08-bX.mjs → Index-CiiLzD8p.mjs} +1 -1
- package/chunks/{Index-D2ylEiec.mjs → Index-D3ymPHcw.mjs} +1 -1
- package/chunks/{Index-B9ltACCu.mjs → Index-D447iwxd.mjs} +34 -30
- package/chunks/{Index-7kWmNVUh.mjs → Index-D4ys8Z_X.mjs} +1 -1
- package/chunks/{Index-BrimwFmb.mjs → Index-DGf3QrKq.mjs} +1 -1
- package/chunks/{Index-Bw-ARCfv.mjs → Index-Dp_dwqU5.mjs} +1 -1
- package/chunks/{Index-CzrztdW-.mjs → Index-GJJawnRZ.mjs} +1 -1
- package/chunks/{Index-BZJQOM_U.mjs → Index-nLSG5esH.mjs} +2 -2
- package/chunks/{Index-CvhYPFWQ.mjs → Index-rcLOiKUG.mjs} +1 -1
- package/chunks/{Index-Cl3E8sdW.mjs → Index-vepbJg-2.mjs} +1 -1
- package/chunks/{IndexItem-D9CJRe8H.mjs → IndexItem-D5Ngo4ux.mjs} +3 -3
- package/chunks/{Log-CRCoNWG4.mjs → Log-DiPyKgVW.mjs} +12 -12
- package/chunks/{LoginBg-YJNdM6MW.mjs → LoginBg-DK-FxB2n.mjs} +1 -1
- package/chunks/{Minute-CbXsIR7_.mjs → Minute-D_mesp23.mjs} +1 -1
- package/chunks/{Month-CthyKyhv.mjs → Month-BEnKEFGO.mjs} +1 -1
- package/chunks/{Preview-B98m3MGO.mjs → Preview-DwWeDzEq.mjs} +1 -1
- package/chunks/{Second-CIQ6V9se.mjs → Second-DmBfCWw4.mjs} +1 -1
- package/chunks/{SelectDept-CnWQxS5K.mjs → SelectDept-DqkpUrLX.mjs} +1 -2
- package/chunks/{SelectMenu-CkTKjWBF.mjs → SelectMenu-BG2aO4dr.mjs} +1 -2
- package/chunks/{SelectUser-Ckno6MOD.mjs → SelectUser-UL3WHxqY.mjs} +2 -2
- package/chunks/{UserInfo-CLmJTgYA.mjs → UserInfo-CJ1LUaSs.mjs} +9 -9
- package/chunks/{Wrapper-DTafMJUk.mjs → Wrapper-Dd5a1AeJ.mjs} +1 -1
- package/chunks/{app-Bi5IK4Co.mjs → app-Q4BryaGi.mjs} +1 -1
- package/chunks/{custom-page-list-iJnDKzZY.mjs → custom-page-list-BfwM6BZj.mjs} +4 -4
- package/chunks/{custom-page-table-C1_--vky.mjs → custom-page-table-DiSUr7km.mjs} +2 -2
- package/chunks/{job-LMdrSGj4.mjs → job-CF59695q.mjs} +33 -33
- package/chunks/{overview-TtQSpbKc.mjs → overview-C_YMhM9g.mjs} +1 -1
- package/chunks/{page-list-DM1OJ9i_.mjs → page-list-Da4eL_wk.mjs} +3 -3
- package/chunks/{page-query-Dt2TDeWb.mjs → page-query-jPlr6ld9.mjs} +1 -1
- package/chunks/{page-table-BFRDmAMb.mjs → page-table-BX-Inp9P.mjs} +24 -25
- package/chunks/{pagination-BqB9JLb_.mjs → pagination-BAsYYvcR.mjs} +1 -1
- package/chunks/{provider-CygWvvoI.mjs → provider-ofhdEHHM.mjs} +1296 -574
- package/chunks/{scrollbar-DR0tchN3.mjs → scrollbar-CFNjWbWr.mjs} +1 -2
- package/chunks/{table-KkVV8NF3.mjs → table-CEHUFrgD.mjs} +8 -9
- 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/cron/src/cron.vue.d.ts +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-list/src/custom-page-list.vue.d.ts +3 -3
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/date-picker/src/date-picker.vue.d.ts +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/dialog/src/dialog.vue.d.ts +6 -6
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/form/src/form.vue.d.ts +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/index.mjs +26 -32
- package/components/input/src/input.vue.d.ts +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- package/components/input-number/src/input-number.vue.d.ts +1 -1
- 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/OptionLabel/Index.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.d.ts +62 -62
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-list/src/page-list.vue.d.ts +9 -9
- 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 +4 -4
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +7 -7
- 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/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.mjs +1 -1
- package/components/range-input/src/range-input.vue.d.ts +1 -1
- package/components/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select/src/select.vue.d.ts +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/tab-panel/src/tab-panel.vue.d.ts +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/table/src/table.vue.d.ts +1 -1
- package/components/textarea/src/textarea.vue.d.ts +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +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/useLabel/index.mjs +1 -16
- package/hooks/useList/index.mjs +1 -28
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +8 -9
- package/layout/Home1.mjs +7 -7
- package/layout/Login.mjs +8 -8
- 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 +9 -10
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/Plasma.vue.d.ts +1 -1
- package/main.mjs +3 -3
- package/package.json +2 -1
- 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 +15 -17
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Avatar/Index.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/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +15 -15
- package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/title/index.mjs +2 -2
- 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/utils/gather.mjs +1 -1
- package/utils/index.mjs +7 -8
- package/utils/tool.d.ts +4 -0
- package/utils/tool.mjs +1 -28
- 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 +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +13 -13
- package/views/system/dept/index.mjs +35 -36
- package/views/system/dept/utils.mjs +1 -2
- package/views/system/dict/index.mjs +23 -23
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +40 -41
- package/views/system/menu/utils.mjs +1 -2
- package/views/system/notice/index.mjs +8 -8
- package/views/system/post/index.mjs +8 -8
- package/views/system/role/index.mjs +43 -43
- 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 +49 -49
- 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 +22 -22
- 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/date-picker-CKUanIvh.css +0 -1
- package/assets/input-number-DHmV6oBX.css +0 -2
- package/assets/provider-yh_xhvsD.css +0 -2
- package/assets/scrollbar-CWhno35V.css +0 -1
- package/chunks/date-picker-B2wW7DdC.mjs +0 -376
- package/chunks/input-number-D6xmAwom.mjs +0 -73
- package/chunks/range-input-BIjdk8b6.mjs +0 -109
- package/chunks/utils-CR1bJjmo.mjs +0 -126
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "../components/pagination/index.mjs";
|
|
2
|
-
import "../components/table/index.mjs";
|
|
3
2
|
import { queryStringToObject as e } from "../utils/string.mjs";
|
|
4
|
-
import { t } from "./pagination-
|
|
5
|
-
import
|
|
6
|
-
import { n
|
|
7
|
-
import "./
|
|
3
|
+
import { t } from "./pagination-BAsYYvcR.mjs";
|
|
4
|
+
import "../components/table/index.mjs";
|
|
5
|
+
import { n, t as r } from "./table-CEHUFrgD.mjs";
|
|
6
|
+
import { F as i, I as a, N as o, P as s } from "./provider-ofhdEHHM.mjs";
|
|
8
7
|
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
8
|
import { useWatcher as E } from "alova/client";
|
|
10
9
|
// ../../packages/dlzn-ui/components/page-table/src/page-table.ts
|
|
@@ -14,12 +13,12 @@ var D = {
|
|
|
14
13
|
watchQueryParams: !0
|
|
15
14
|
};
|
|
16
15
|
function O(t) {
|
|
17
|
-
let
|
|
18
|
-
pageNum:
|
|
16
|
+
let n = c(() => typeof t.method == "string" ? (e) => o.Get(t.method, { params: e }) : t.method), r = y(1), l = y(10), u = y(0), { data: d, loading: f, onSuccess: p } = E(() => n.value({
|
|
17
|
+
pageNum: r.value,
|
|
19
18
|
pageSize: l.value,
|
|
20
19
|
...t.queryParams
|
|
21
20
|
}), [
|
|
22
|
-
|
|
21
|
+
r,
|
|
23
22
|
l,
|
|
24
23
|
u
|
|
25
24
|
], {
|
|
@@ -30,22 +29,22 @@ function O(t) {
|
|
|
30
29
|
}
|
|
31
30
|
}), m = y(void 0), h = y(!0), g = y(!1);
|
|
32
31
|
p(({ method: t }) => {
|
|
33
|
-
let { meta:
|
|
34
|
-
t.type === "GET" ? (h.value =
|
|
32
|
+
let { meta: n, params: r } = t.config;
|
|
33
|
+
t.type === "GET" ? (h.value = n?.useEmptyParams ?? !0, m.value = typeof r == "string" ? e(r) : i(r, h.value)) : (g.value = n?.useEmptyData ?? !1, m.value = s(t.data, g.value));
|
|
35
34
|
}), t.initialQuery && u.value++, w(() => t.queryParams, (e, n) => {
|
|
36
|
-
t.watchQueryParams &&
|
|
35
|
+
t.watchQueryParams && a(e ?? {}) !== a(n ?? {}) && u.value++;
|
|
37
36
|
}, { deep: !0 });
|
|
38
37
|
function _(e = !1) {
|
|
39
|
-
e && (
|
|
38
|
+
e && (r.value = 1), u.value++;
|
|
40
39
|
}
|
|
41
40
|
function v() {
|
|
42
|
-
|
|
41
|
+
r.value = 1, l.value = 10, u.value++;
|
|
43
42
|
}
|
|
44
43
|
return {
|
|
45
44
|
data: d,
|
|
46
45
|
finallyQueryParams: m,
|
|
47
46
|
loading: f,
|
|
48
|
-
pageNum:
|
|
47
|
+
pageNum: r,
|
|
49
48
|
pageSize: l,
|
|
50
49
|
query: _,
|
|
51
50
|
reset: v
|
|
@@ -198,48 +197,48 @@ var k = /* @__PURE__ */ f({
|
|
|
198
197
|
onScrollX: { type: Function },
|
|
199
198
|
onScrollY: { type: Function }
|
|
200
199
|
}, {
|
|
201
|
-
...
|
|
200
|
+
...n,
|
|
202
201
|
...D
|
|
203
202
|
}),
|
|
204
203
|
setup(e, { expose: n }) {
|
|
205
|
-
let
|
|
206
|
-
let e = { ...
|
|
204
|
+
let i = e, { data: a, finallyQueryParams: o, loading: s, pageNum: f, pageSize: h, query: y, reset: w } = O(i), E = c(() => {
|
|
205
|
+
let e = { ...i };
|
|
207
206
|
return delete e.method, delete e.queryParams, delete e.watchQueryParams, delete e.initialQuery, e;
|
|
208
207
|
}), D = C("tableRef");
|
|
209
208
|
return n({
|
|
210
|
-
finallyQueryParams:
|
|
209
|
+
finallyQueryParams: o,
|
|
211
210
|
query: y,
|
|
212
211
|
reset: w,
|
|
213
212
|
rowKey: c(() => D.value?.rowKey ?? ""),
|
|
214
213
|
selectedRowKeys: c(() => D.value?.selectedRowKeys ?? []),
|
|
215
214
|
selectedRows: c(() => D.value?.selectedRows ?? [])
|
|
216
|
-
}), (e, n) => (v(), l(S(
|
|
215
|
+
}), (e, n) => (v(), l(S(r), g({
|
|
217
216
|
ref_key: "tableRef",
|
|
218
217
|
ref: D,
|
|
219
|
-
data: S(
|
|
220
|
-
loading: S(
|
|
218
|
+
data: S(a).rows,
|
|
219
|
+
loading: S(s)
|
|
221
220
|
}, E.value), d({
|
|
222
|
-
"table-bottom": T((r) => [S(
|
|
221
|
+
"table-bottom": T((r) => [S(a).total > 0 ? (v(), l(S(t), {
|
|
223
222
|
key: 0,
|
|
224
223
|
modelValue: S(f),
|
|
225
224
|
"onUpdate:modelValue": n[0] ||= (e) => m(f) ? f.value = e : null,
|
|
226
225
|
"page-size": S(h),
|
|
227
226
|
"onUpdate:pageSize": n[1] ||= (e) => m(h) ? h.value = e : null,
|
|
228
|
-
total: Number(S(
|
|
227
|
+
total: Number(S(a).total)
|
|
229
228
|
}, null, 8, [
|
|
230
229
|
"modelValue",
|
|
231
230
|
"page-size",
|
|
232
231
|
"total"
|
|
233
232
|
])) : u("v-if", !0), x(e.$slots, "table-bottom", _(p({
|
|
234
233
|
...r,
|
|
235
|
-
res: S(
|
|
234
|
+
res: S(a)
|
|
236
235
|
})))]),
|
|
237
236
|
_: 2
|
|
238
237
|
}, [b(Object.keys(e.$slots).filter((e) => e !== "table-bottom"), (t) => ({
|
|
239
238
|
name: t,
|
|
240
239
|
fn: T((n) => [x(e.$slots, t, _(p({
|
|
241
240
|
...n,
|
|
242
|
-
res: S(
|
|
241
|
+
res: S(a)
|
|
243
242
|
})))])
|
|
244
243
|
}))]), 1040, ["data", "loading"]));
|
|
245
244
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { rt as e } from "./provider-ofhdEHHM.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";
|