dlzn-ui 2.0.6 → 2.0.8
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/$loading-D_Zs2VgL.css +1 -0
- package/assets/LoginBg-XqWOv7dJ.css +1 -0
- package/assets/main-CxSb5Gqw.css +2 -0
- package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
- package/chunks/$loading-Df3COGfW.mjs +241 -0
- package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
- package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
- package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
- package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
- package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
- package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
- package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
- package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
- package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
- package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
- package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
- package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
- package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
- package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
- package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
- package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
- package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
- package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
- package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
- package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
- package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
- package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
- package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
- package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
- package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
- package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
- package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
- package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
- package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
- package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
- package/chunks/auto-animate-FPySn19g.mjs +341 -0
- package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
- package/chunks/css-Cw_qlmlv.mjs +521 -0
- package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
- package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
- package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
- package/chunks/icon-jnCbW4iu.mjs +1013 -0
- package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
- package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
- package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
- package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
- package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
- package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
- package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
- package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
- package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
- package/chunks/store-C46_JI7q.mjs +112 -0
- package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
- package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
- 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 +6206 -103
- 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/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/icon/index.mjs +1 -1
- package/components/icon/src/icon.mjs +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/index.mjs +19 -19
- 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 +3 -3
- 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.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +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/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +2 -2
- 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/table/src/table.vue.d.ts +1 -1
- package/components/tag/index.mjs +1 -1
- package/components/tag/src/tag.mjs +1 -1
- package/components/tree/index.mjs +2 -2
- 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 +2 -2
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useAnimateAuto/index.mjs +6 -6
- package/hooks/useContextMenu/menu/index.mjs +1 -1
- package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
- package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +2 -2
- package/hooks/useSysUser/index.mjs +2 -2
- package/index.d.ts +3 -0
- package/layout/Entry.mjs +1 -1
- package/layout/Login.mjs +6 -6
- 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/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +4 -4
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/LightRays.mjs +47 -47
- package/layout/vueBits/Plasma.mjs +29 -29
- package/layout/vueBits/Prism.mjs +51 -51
- package/main.d.ts +2 -0
- package/main.mjs +41 -0
- package/package.json +17 -11
- package/plugins/autoImport/$alova/index.mjs +2 -2
- 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/autoImport/$loading/index.mjs +2 -38
- package/plugins/captcha/captcha.mjs +13 -13
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/echarts/index.mjs +705 -25
- package/plugins/initialize/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.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/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/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/Tags/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +7 -7
- package/plugins/tableRenders/title/index.mjs +1 -1
- package/router/index.mjs +1 -1
- package/store/index.mjs +2 -7
- 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 +2 -2
- package/utils/tool.mjs +16 -15
- package/views/system/dept/index.mjs +10 -10
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +18 -18
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +11 -11
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +42 -42
- 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/job/index.mjs +31 -31
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/LoginBg-BTrRjkK7.css +0 -1
- package/chunks/date-picker-DtbDIFUH.mjs +0 -378
- package/chunks/icon-COjp1yrx.mjs +0 -21
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as e } from "../../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks
|
|
2
|
-
|
|
3
|
-
import { LoadingPlugin as n, Message as r } from "tdesign-vue-next";
|
|
4
|
-
import { BProgress as i } from "@bprogress/core";
|
|
5
|
-
import "@bprogress/core/css";
|
|
6
|
-
//#region ../../packages/dlzn-ui/plugins/autoImport/$loading/index.ts
|
|
7
|
-
i.configure({ showSpinner: !1 });
|
|
8
|
-
var a = new class {
|
|
9
|
-
isLoading = t(!1);
|
|
10
|
-
loadingCount = 0;
|
|
11
|
-
loadingInstance = null;
|
|
12
|
-
loadingText = t(void 0);
|
|
13
|
-
changeView() {
|
|
14
|
-
if (this.loadingCount > 0) this.isLoading.value = !0, this.loadingInstance === null && (this.loadingInstance = n({
|
|
15
|
-
fullscreen: !0,
|
|
16
|
-
indicator: !1,
|
|
17
|
-
text: (e) => this.loadingText.value === void 0 ? null : e(r, {
|
|
18
|
-
content: this.loadingText.value,
|
|
19
|
-
duration: 0,
|
|
20
|
-
theme: "loading"
|
|
21
|
-
})
|
|
22
|
-
}, e()), i.isStarted() || i.start());
|
|
23
|
-
else {
|
|
24
|
-
if (this.isLoading.value = !1, this.loadingCount < 0) throw Error("loadingCount 不能小于 0");
|
|
25
|
-
this.loadingInstance.hide(), this.loadingInstance = null, this.loadingText.value = void 0, i.done();
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
hide() {
|
|
29
|
-
setTimeout(() => {
|
|
30
|
-
this.loadingCount--, this.changeView();
|
|
31
|
-
}, 80);
|
|
32
|
-
}
|
|
33
|
-
show(e) {
|
|
34
|
-
this.loadingCount++, e !== void 0 && (this.loadingText.value = e), this.changeView();
|
|
35
|
-
}
|
|
36
|
-
}();
|
|
37
|
-
//#endregion
|
|
38
|
-
export { a as default };
|
|
1
|
+
import { t as e } from "../../../chunks/$loading-Df3COGfW.mjs";
|
|
2
|
+
export { e as default };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as n } from "../../chunks/icon-
|
|
1
|
+
import { S as e, n as t } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
|
+
import { t as n } from "../../chunks/icon-jnCbW4iu.mjs";
|
|
3
3
|
import "../../components/icon/index.mjs";
|
|
4
4
|
import { aesEncrypt as r } from "../../utils/tool.mjs";
|
|
5
5
|
import "../../utils/index.mjs";
|
|
6
6
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, vShow as y, withCtx as b, withDirectives as x } from "vue";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { LoadingDirective as S } from "tdesign-vue-next";
|
|
8
|
+
import { useDraggable as C, useElementSize as w } from "@vueuse/core";
|
|
9
9
|
import { useRequest as T } from "alova/client";
|
|
10
10
|
//#region ../../packages/dlzn-ui/plugins/captcha/captcha.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
12
12
|
__name: "captcha",
|
|
13
13
|
emits: ["success"],
|
|
14
14
|
setup(u, { emit: k }) {
|
|
15
|
-
let A = k, j =
|
|
15
|
+
let A = k, j = S, M = {
|
|
16
16
|
barHeight: 40,
|
|
17
17
|
imgHeight: O,
|
|
18
18
|
imgWidth: 310
|
|
@@ -32,14 +32,14 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
32
32
|
bgColor: "#d9534f",
|
|
33
33
|
color: "#fff",
|
|
34
34
|
icon: "icon-close"
|
|
35
|
-
}), B = h(0), V = h(""), H = h(""), U = v("dragBlock"), { width: W } =
|
|
35
|
+
}), B = h(0), V = h(""), H = h(""), U = v("dragBlock"), { width: W } = w(L, void 0, { box: "border-box" }), { x: G } = C(U, {
|
|
36
36
|
axis: "x",
|
|
37
37
|
containerElement: L,
|
|
38
|
-
onEnd: async ({ x:
|
|
38
|
+
onEnd: async ({ x: t }) => {
|
|
39
39
|
let n = Date.now();
|
|
40
|
-
(await
|
|
40
|
+
(await e.Post("captcha/check", {
|
|
41
41
|
pointJson: await r(JSON.stringify({
|
|
42
|
-
x:
|
|
42
|
+
x: t,
|
|
43
43
|
y: 5
|
|
44
44
|
}), H.value),
|
|
45
45
|
token: V.value
|
|
@@ -48,7 +48,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
48
48
|
useToken: !1
|
|
49
49
|
} })).repCode === "0000" ? (R.value = "success", I.value = `${((n - B.value) / 1e3).toFixed(2)}s验证成功`, setTimeout(async () => {
|
|
50
50
|
A("success", await r(`${V.value}---${JSON.stringify({
|
|
51
|
-
x:
|
|
51
|
+
x: t,
|
|
52
52
|
y: 5
|
|
53
53
|
})}`, H.value));
|
|
54
54
|
}, 500)) : (R.value = "fail", I.value = "验证失败", setTimeout(() => {
|
|
@@ -61,7 +61,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
61
61
|
},
|
|
62
62
|
preventDefault: !0,
|
|
63
63
|
stopPropagation: !0
|
|
64
|
-
}), K = i(() => Math.min(G.value, W.value - M.barHeight)), { loading: q, send: J } = T(
|
|
64
|
+
}), K = i(() => Math.min(G.value, W.value - M.barHeight)), { loading: q, send: J } = T(e.Post("captcha/get", {}, { meta: {
|
|
65
65
|
useLoading: !1,
|
|
66
66
|
useToken: !1
|
|
67
67
|
} }), { immediate: !1 });
|
|
@@ -75,7 +75,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
75
75
|
function X() {
|
|
76
76
|
I.value = "", G.value = 0, R.value = "default", H.value = "", Y();
|
|
77
77
|
}
|
|
78
|
-
return (
|
|
78
|
+
return (e, r) => x((m(), s("div", {
|
|
79
79
|
class: "relative overflow-hidden",
|
|
80
80
|
style: f({ width: `${M.imgWidth}px` }),
|
|
81
81
|
onSelectstart: () => !1
|
|
@@ -87,7 +87,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
87
87
|
class: "block h-full w-full",
|
|
88
88
|
src: P.value ? `data:image/png;base64,${P.value}` : _(N)
|
|
89
89
|
}, null, 8, E),
|
|
90
|
-
l(_(
|
|
90
|
+
l(_(t), {
|
|
91
91
|
class: "absolute! top-0 right-0",
|
|
92
92
|
shape: "square",
|
|
93
93
|
variant: "text",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as e } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
import { defineAsyncComponent as t, h as n } from "vue";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/captcha/index.ts
|
|
4
4
|
var r = () => new Promise((r) => {
|