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.
Files changed (187) hide show
  1. package/assets/$loading-D_Zs2VgL.css +1 -0
  2. package/assets/LoginBg-XqWOv7dJ.css +1 -0
  3. package/assets/main-CxSb5Gqw.css +2 -0
  4. package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
  5. package/chunks/$loading-Df3COGfW.mjs +241 -0
  6. package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
  7. package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
  8. package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
  9. package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
  10. package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
  11. package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
  12. package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
  13. package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
  14. package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
  15. package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
  16. package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
  17. package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
  18. package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
  19. package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
  20. package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
  21. package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
  22. package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
  23. package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
  24. package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
  25. package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
  26. package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
  27. package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
  28. package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
  29. package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
  30. package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
  31. package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
  32. package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
  33. package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
  34. package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
  35. package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
  36. package/chunks/auto-animate-FPySn19g.mjs +341 -0
  37. package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
  38. package/chunks/css-Cw_qlmlv.mjs +521 -0
  39. package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
  40. package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
  41. package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
  42. package/chunks/icon-jnCbW4iu.mjs +1013 -0
  43. package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
  44. package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
  45. package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
  46. package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
  47. package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
  48. package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
  49. package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
  50. package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
  51. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
  52. package/chunks/store-C46_JI7q.mjs +112 -0
  53. package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
  54. package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
  55. package/components/app/index.mjs +1 -1
  56. package/components/app/src/app.mjs +1 -1
  57. package/components/button/index.mjs +1 -1
  58. package/components/button/src/button.mjs +1 -1
  59. package/components/checkbox-group/index.mjs +1 -1
  60. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  61. package/components/cron/index.mjs +1 -1
  62. package/components/cron/src/Common.mjs +1 -1
  63. package/components/cron/src/Day.mjs +1 -1
  64. package/components/cron/src/Hour.mjs +1 -1
  65. package/components/cron/src/Minute.mjs +1 -1
  66. package/components/cron/src/Month.mjs +1 -1
  67. package/components/cron/src/Picker.mjs +6206 -103
  68. package/components/cron/src/Second.mjs +1 -1
  69. package/components/cron/src/cron.mjs +1 -1
  70. package/components/custom-page-list/index.mjs +1 -1
  71. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  72. package/components/custom-page-table/index.mjs +1 -1
  73. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  74. package/components/date-picker/index.mjs +1 -1
  75. package/components/date-picker/src/date-picker.mjs +1 -1
  76. package/components/form/index.mjs +1 -1
  77. package/components/form/src/form.mjs +1 -1
  78. package/components/icon/index.mjs +1 -1
  79. package/components/icon/src/icon.mjs +1 -1
  80. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  81. package/components/index.mjs +19 -19
  82. package/components/overview/index.mjs +1 -1
  83. package/components/overview/src/DicLabel/Index.mjs +1 -1
  84. package/components/overview/src/IndexItem.mjs +1 -1
  85. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  86. package/components/overview/src/overview.mjs +1 -1
  87. package/components/page-list/index.mjs +1 -1
  88. package/components/page-list/src/page-list.d.ts +3 -3
  89. package/components/page-list/src/page-list.mjs +1 -1
  90. package/components/page-query/index.mjs +1 -1
  91. package/components/page-query/src/page-query.mjs +1 -1
  92. package/components/page-table/index.mjs +1 -1
  93. package/components/page-table/src/page-table.mjs +1 -1
  94. package/components/page-table/src/page-table.vue.d.ts +1 -1
  95. package/components/pagination/index.mjs +1 -1
  96. package/components/pagination/src/pagination.mjs +1 -1
  97. package/components/provider/index.mjs +1 -1
  98. package/components/provider/src/Provider.mjs +1 -1
  99. package/components/radio-group/index.mjs +1 -1
  100. package/components/radio-group/src/radio-group.mjs +1 -1
  101. package/components/scrollbar/index.mjs +1 -1
  102. package/components/scrollbar/src/scrollbar.mjs +1 -1
  103. package/components/select/index.mjs +2 -2
  104. package/components/select/src/select.mjs +1 -1
  105. package/components/select-sys-user/index.mjs +1 -1
  106. package/components/select-sys-user/src/Picker.mjs +2 -2
  107. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  108. package/components/table/index.mjs +1 -1
  109. package/components/table/src/table.mjs +1 -1
  110. package/components/table/src/table.vue.d.ts +1 -1
  111. package/components/tag/index.mjs +1 -1
  112. package/components/tag/src/tag.mjs +1 -1
  113. package/components/tree/index.mjs +2 -2
  114. package/components/tree/src/tree.mjs +1 -1
  115. package/components/tree-select/index.mjs +1 -1
  116. package/components/tree-select/src/tree-select.mjs +1 -1
  117. package/components/upload/index.mjs +2 -2
  118. package/components/upload/src/upload.mjs +1 -1
  119. package/hooks/useAnimateAuto/index.mjs +6 -6
  120. package/hooks/useContextMenu/menu/index.mjs +1 -1
  121. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  122. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  123. package/hooks/useDicOptions/index.mjs +2 -2
  124. package/hooks/useSysUser/index.mjs +2 -2
  125. package/index.d.ts +3 -0
  126. package/layout/Entry.mjs +1 -1
  127. package/layout/Login.mjs +6 -6
  128. package/layout/NotFound.mjs +1 -1
  129. package/layout/modules/Aside.mjs +1 -1
  130. package/layout/modules/Breadcrumb.mjs +1 -1
  131. package/layout/modules/Header.mjs +1 -1
  132. package/layout/modules/LoginBg.mjs +1 -1
  133. package/layout/modules/MenuNode.mjs +1 -1
  134. package/layout/profile/Index.mjs +4 -4
  135. package/layout/profile/ResetPwd.mjs +1 -1
  136. package/layout/profile/UserInfo.mjs +1 -1
  137. package/layout/vueBits/LightRays.mjs +47 -47
  138. package/layout/vueBits/Plasma.mjs +29 -29
  139. package/layout/vueBits/Prism.mjs +51 -51
  140. package/main.d.ts +2 -0
  141. package/main.mjs +41 -0
  142. package/package.json +17 -11
  143. package/plugins/autoImport/$alova/index.mjs +2 -2
  144. package/plugins/autoImport/$confirm/index.mjs +1 -1
  145. package/plugins/autoImport/$dialog/index.mjs +1 -1
  146. package/plugins/autoImport/$drawer/index.mjs +1 -1
  147. package/plugins/autoImport/$loading/index.mjs +2 -38
  148. package/plugins/captcha/captcha.mjs +13 -13
  149. package/plugins/captcha/index.mjs +1 -1
  150. package/plugins/echarts/index.mjs +705 -25
  151. package/plugins/initialize/index.mjs +1 -1
  152. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  153. package/plugins/tableRenders/Wrapper.mjs +1 -1
  154. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  158. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  159. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  160. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  161. package/plugins/tableRenders/cell/index.mjs +7 -7
  162. package/plugins/tableRenders/title/index.mjs +1 -1
  163. package/router/index.mjs +1 -1
  164. package/store/index.mjs +2 -7
  165. package/store/modules/common.mjs +1 -1
  166. package/store/modules/login.mjs +1 -1
  167. package/store/modules/recentRouters.mjs +1 -1
  168. package/store/modules/router.mjs +1 -1
  169. package/store/modules/user.mjs +2 -2
  170. package/utils/tool.mjs +16 -15
  171. package/views/system/dept/index.mjs +10 -10
  172. package/views/system/dept/utils.mjs +1 -1
  173. package/views/system/dict/index.mjs +18 -18
  174. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  175. package/views/system/menu/index.mjs +11 -11
  176. package/views/system/post/index.mjs +6 -6
  177. package/views/system/role/index.mjs +42 -42
  178. package/views/system/role/modules/AssignUser.mjs +1 -1
  179. package/views/system/role/modules/SelectDept.mjs +1 -1
  180. package/views/system/role/modules/SelectMenu.mjs +1 -1
  181. package/views/system/role/modules/SelectUser.mjs +1 -1
  182. package/views/system/user/index.mjs +49 -49
  183. package/views/tool/job/index.mjs +31 -31
  184. package/views/tool/job/modules/Log.mjs +1 -1
  185. package/assets/LoginBg-BTrRjkK7.css +0 -1
  186. package/chunks/date-picker-DtbDIFUH.mjs +0 -378
  187. package/chunks/icon-COjp1yrx.mjs +0 -21
@@ -0,0 +1,521 @@
1
+ import { n as e, r as t } from "./rolldown-runtime-D_tDV3RV.mjs";
2
+ import { Fragment as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, inject as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onActivated as g, onBeforeUnmount as _, onMounted as v, onUpdated as y, openBlock as b, provide as x, reactive as S, ref as C, renderSlot as ee, resolveDynamicComponent as w, toRef as T, unref as E, vShow as D, warn as O, watch as k, withCtx as te, withDirectives as A, withModifiers as j } from "vue";
3
+ import { isClient as M, useEventListener as N, useResizeObserver as P } from "@vueuse/core";
4
+ import '../assets/css-BPkXehJY.css';//#region ../../node_modules/.pnpm/element-plus@2.14.5_vue@3.5.41/node_modules/element-plus/es/utils/browser.mjs
5
+ var F = () => M && /firefox/i.test(window.navigator.userAgent), I = () => M && /android/i.test(window.navigator.userAgent);
6
+ process.env.NODE_ENV === "production" || Object.freeze({}), process.env.NODE_ENV === "production" || Object.freeze([]);
7
+ var L = () => {}, R = Object.prototype.hasOwnProperty, z = (e, t) => R.call(e, t), B = Array.isArray, ne = (e) => ie(e) === "[object Date]", re = (e) => typeof e == "function", V = (e) => typeof e == "string", H = (e) => typeof e == "object" && !!e, U = Object.prototype.toString, ie = (e) => U.call(e), ae = (e) => {
8
+ let t = /* @__PURE__ */ Object.create(null);
9
+ return ((n) => t[n] || (t[n] = e(n)));
10
+ }, oe = /-\w/g, W = ae((e) => e.replace(oe, (e) => e.slice(1).toUpperCase())), G = /* @__PURE__ */ e({});
11
+ import * as se from "lodash-es";
12
+ t(G, se);
13
+ //#endregion
14
+ //#region ../../node_modules/.pnpm/element-plus@2.14.5_vue@3.5.41/node_modules/element-plus/es/utils/types.mjs
15
+ var ce = (e) => e === void 0, le = (e) => typeof e == "boolean", K = (e) => typeof e == "number", ue = (e) => !e && e !== 0 || B(e) && e.length === 0 || H(e) && !Object.keys(e).length, de = (e) => typeof Element > "u" ? !1 : e instanceof Element, fe = (e) => V(e) ? !Number.isNaN(Number(e)) : !1, pe = (e) => typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot, me = (e) => typeof Element > "u" ? !1 : e instanceof Element, he = (e) => {
16
+ if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null) return !0;
17
+ if (e.tabIndex < 0 || e.hasAttribute("disabled") || e.getAttribute("aria-disabled") === "true") return !1;
18
+ switch (e.nodeName) {
19
+ case "A": return !!e.href && e.rel !== "ignore";
20
+ case "INPUT": return e.type !== "hidden" && e.type !== "file";
21
+ case "BUTTON":
22
+ case "SELECT":
23
+ case "TEXTAREA": return !0;
24
+ default: return !1;
25
+ }
26
+ }, ge = (e, t) => {
27
+ if (!e || !e.focus) return;
28
+ let n = !1;
29
+ me(e) && !he(e) && !e.getAttribute("tabindex") && (e.setAttribute("tabindex", "-1"), n = !0), e.focus(t), me(e) && n && e.removeAttribute("tabindex");
30
+ }, _e = "__epPropKey", q = (e) => e, ve = (e) => H(e) && !!e.__epPropKey, ye = (e, t) => {
31
+ if (!H(e) || ve(e)) return e;
32
+ let { values: n, required: r, default: i, type: a, validator: o } = e, s = {
33
+ type: a,
34
+ required: !!r,
35
+ validator: n || o ? (r) => {
36
+ let a = !1, s = [];
37
+ if (n && (s = Array.from(n), z(e, "default") && s.push(i), a ||= s.includes(r)), o && (a ||= o(r)), !a && s.length > 0) {
38
+ let e = [...new Set(s)].map((e) => JSON.stringify(e)).join(", ");
39
+ O(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${e}], got value ${JSON.stringify(r)}.`);
40
+ }
41
+ return a;
42
+ } : void 0,
43
+ [_e]: !0
44
+ };
45
+ return z(e, "default") && (s.default = i), s;
46
+ }, J = (e) => (0, G.fromPairs)(Object.entries(e).map(([e, t]) => [e, ye(t, e)])), be = class extends Error {
47
+ constructor(e) {
48
+ super(e), this.name = "ElementPlusError";
49
+ }
50
+ };
51
+ function xe(e, t) {
52
+ throw new be(`[${e}] ${t}`);
53
+ }
54
+ function Y(e, t) {
55
+ {
56
+ let n = V(e) ? new be(`[${e}] ${t}`) : e;
57
+ console.warn(n);
58
+ }
59
+ }
60
+ //#endregion
61
+ //#region ../../node_modules/.pnpm/element-plus@2.14.5_vue@3.5.41/node_modules/element-plus/es/utils/dom/style.mjs
62
+ var Se = "utils/dom/style", Ce = (e, t) => {
63
+ if (!e || !t) return !1;
64
+ if (t.includes(" ")) throw Error("className should not contain space.");
65
+ return e.classList.contains(t);
66
+ }, we = (e, t) => {
67
+ if (!M || !e || !t || pe(e)) return "";
68
+ let n = W(t);
69
+ n === "float" && (n = "cssFloat");
70
+ try {
71
+ let t = e.style[n];
72
+ if (t) return t;
73
+ let r = document.defaultView?.getComputedStyle(e, "");
74
+ return r ? r[n] : "";
75
+ } catch {
76
+ return e.style[n];
77
+ }
78
+ };
79
+ function X(e, t = "px") {
80
+ if (!e && e !== 0) return "";
81
+ if (K(e) || fe(e)) return `${e}${t}`;
82
+ if (V(e)) return e;
83
+ Y(Se, "binding value must be a string or number");
84
+ }
85
+ //#endregion
86
+ //#region ../../node_modules/.pnpm/element-plus@2.14.5_vue@3.5.41/node_modules/element-plus/es/hooks/use-namespace/index.mjs
87
+ var Te = "is-", Z = (e, t, n, r, i) => {
88
+ let a = `${e}-${t}`;
89
+ return n && (a += `-${n}`), r && (a += `__${r}`), i && (a += `--${i}`), a;
90
+ }, Ee = Symbol("namespaceContextKey"), De = (e) => {
91
+ let t = e || (d() ? f(Ee, C("el")) : C("el"));
92
+ return i(() => E(t) || "el");
93
+ }, Q = (e, t) => {
94
+ let n = De(t);
95
+ return {
96
+ namespace: n,
97
+ b: (t = "") => Z(n.value, e, t, "", ""),
98
+ e: (t) => t ? Z(n.value, e, "", t, "") : "",
99
+ m: (t) => t ? Z(n.value, e, "", "", t) : "",
100
+ be: (t, r) => t && r ? Z(n.value, e, t, r, "") : "",
101
+ em: (t, r) => t && r ? Z(n.value, e, "", t, r) : "",
102
+ bm: (t, r) => t && r ? Z(n.value, e, t, "", r) : "",
103
+ bem: (t, r, i) => t && r && i ? Z(n.value, e, t, r, i) : "",
104
+ is: (e, ...t) => {
105
+ let n = t.length >= 1 ? t[0] : !0;
106
+ return e && n ? `${Te}${e}` : "";
107
+ },
108
+ cssVar: (e) => {
109
+ let t = {};
110
+ for (let r in e) e[r] && (t[`--${n.value}-${r}`] = e[r]);
111
+ return t;
112
+ },
113
+ cssVarName: (e) => `--${n.value}-${e}`,
114
+ cssVarBlock: (t) => {
115
+ let r = {};
116
+ for (let i in t) t[i] && (r[`--${n.value}-${e}-${i}`] = t[i]);
117
+ return r;
118
+ },
119
+ cssVarBlockName: (t) => `--${n.value}-${e}-${t}`
120
+ };
121
+ }, Oe = J({
122
+ ariaLabel: String,
123
+ ariaOrientation: {
124
+ type: String,
125
+ values: [
126
+ "horizontal",
127
+ "vertical",
128
+ "undefined"
129
+ ]
130
+ },
131
+ ariaControls: String
132
+ }), ke = (e) => (0, G.pick)(Oe, e), Ae = (e) => {
133
+ let t = e.props, n = B(t) ? (0, G.fromPairs)(t.map((e) => [e, {}])) : t;
134
+ e.setPropsDefaults = (t) => {
135
+ if (n) {
136
+ for (let [e, r] of Object.entries(t)) {
137
+ let t = n[e];
138
+ if (z(n, e)) {
139
+ if ((0, G.isPlainObject)(t)) {
140
+ n[e] = {
141
+ ...t,
142
+ default: r
143
+ };
144
+ continue;
145
+ }
146
+ n[e] = {
147
+ type: t,
148
+ default: r
149
+ };
150
+ }
151
+ }
152
+ e.props = n;
153
+ }
154
+ };
155
+ }, je = (e, t) => {
156
+ if (e.install = (n) => {
157
+ for (let r of [e, ...Object.values(t ?? {})]) n.component(r.name, r);
158
+ }, t) for (let [n, r] of Object.entries(t)) e[n] = r;
159
+ return Ae(e), e;
160
+ }, Me = (e) => (e.install = L, Ae(e), e), Ne = J({
161
+ distance: {
162
+ type: Number,
163
+ default: 0
164
+ },
165
+ height: {
166
+ type: [String, Number],
167
+ default: ""
168
+ },
169
+ maxHeight: {
170
+ type: [String, Number],
171
+ default: ""
172
+ },
173
+ native: Boolean,
174
+ wrapStyle: {
175
+ type: q([
176
+ String,
177
+ Object,
178
+ Array,
179
+ Boolean
180
+ ]),
181
+ default: ""
182
+ },
183
+ wrapClass: {
184
+ type: q([
185
+ String,
186
+ Array,
187
+ Object,
188
+ Boolean
189
+ ]),
190
+ default: ""
191
+ },
192
+ viewClass: {
193
+ type: q([
194
+ String,
195
+ Array,
196
+ Object,
197
+ Boolean
198
+ ]),
199
+ default: ""
200
+ },
201
+ viewStyle: {
202
+ type: q([
203
+ String,
204
+ Object,
205
+ Array,
206
+ Boolean
207
+ ]),
208
+ default: ""
209
+ },
210
+ noresize: Boolean,
211
+ tag: {
212
+ type: String,
213
+ default: "div"
214
+ },
215
+ always: Boolean,
216
+ minSize: {
217
+ type: Number,
218
+ default: 20
219
+ },
220
+ tabindex: {
221
+ type: [String, Number],
222
+ default: void 0
223
+ },
224
+ id: String,
225
+ role: String,
226
+ ...ke(["ariaLabel", "ariaOrientation"])
227
+ }), Pe = {
228
+ "end-reached": (e) => [
229
+ "left",
230
+ "right",
231
+ "top",
232
+ "bottom"
233
+ ].includes(e),
234
+ scroll: ({ scrollTop: e, scrollLeft: t }) => [e, t].every(K)
235
+ }, Fe = {
236
+ vertical: {
237
+ offset: "offsetHeight",
238
+ scroll: "scrollTop",
239
+ scrollSize: "scrollHeight",
240
+ size: "height",
241
+ key: "vertical",
242
+ axis: "Y",
243
+ client: "clientY",
244
+ direction: "top"
245
+ },
246
+ horizontal: {
247
+ offset: "offsetWidth",
248
+ scroll: "scrollLeft",
249
+ scrollSize: "scrollWidth",
250
+ size: "width",
251
+ key: "horizontal",
252
+ axis: "X",
253
+ client: "clientX",
254
+ direction: "left"
255
+ }
256
+ }, Ie = ({ move: e, size: t, bar: n }) => ({
257
+ [n.size]: t,
258
+ transform: `translate${n.axis}(${e}%)`
259
+ }), Le = J({
260
+ vertical: Boolean,
261
+ size: String,
262
+ move: Number,
263
+ ratio: {
264
+ type: Number,
265
+ required: !0
266
+ },
267
+ always: Boolean
268
+ }), $ = Symbol("scrollbarContextKey");
269
+ //#endregion
270
+ //#region ../../node_modules/.pnpm/element-plus@2.14.5_vue@3.5.41/node_modules/element-plus/es/utils/numbers.mjs
271
+ function Re(e, t, n = .03) {
272
+ return e - t > n;
273
+ }
274
+ //#endregion
275
+ //#region ../../node_modules/.pnpm/element-plus@2.14.5_vue@3.5.41/node_modules/element-plus/es/components/scrollbar/src/bar.mjs
276
+ var ze = J({
277
+ always: {
278
+ type: Boolean,
279
+ default: !0
280
+ },
281
+ minSize: {
282
+ type: Number,
283
+ required: !0
284
+ }
285
+ }), Be = "Thumb", Ve = /* @__PURE__ */ u({
286
+ __name: "thumb",
287
+ props: Le,
288
+ setup(e) {
289
+ let t = e, n = f($), o = Q("scrollbar");
290
+ n || xe(Be, "can not inject scrollbar context");
291
+ let s = C(), l = C(), u = C({}), d = C(!1), p = !1, g = !1, v = 0, y = 0, x = M ? document.onselectstart : null, S = i(() => Fe[t.vertical ? "vertical" : "horizontal"]), ee = i(() => Ie({
292
+ size: t.size,
293
+ move: t.move,
294
+ bar: S.value
295
+ })), w = i(() => s.value[S.value.offset] ** 2 / n.wrapElement[S.value.scrollSize] / t.ratio / l.value[S.value.offset]), O = (e) => {
296
+ if (e.stopPropagation(), e.ctrlKey || [1, 2].includes(e.button)) return;
297
+ window.getSelection()?.removeAllRanges(), P(e);
298
+ let t = e.currentTarget;
299
+ t && (u.value[S.value.axis] = t[S.value.offset] - (e[S.value.client] - t.getBoundingClientRect()[S.value.direction]));
300
+ }, k = (e) => {
301
+ if (!l.value || !s.value || !n.wrapElement) return;
302
+ let t = (Math.abs(e.target.getBoundingClientRect()[S.value.direction] - e[S.value.client]) - l.value[S.value.offset] / 2) * 100 * w.value / s.value[S.value.offset];
303
+ n.wrapElement[S.value.scroll] = t * n.wrapElement[S.value.scrollSize] / 100;
304
+ }, P = (e) => {
305
+ e.stopImmediatePropagation(), p = !0, v = n.wrapElement.scrollHeight, y = n.wrapElement.scrollWidth, document.addEventListener("mousemove", F), document.addEventListener("mouseup", I), x = document.onselectstart, document.onselectstart = () => !1;
306
+ }, F = (e) => {
307
+ if (!s.value || !l.value || p === !1) return;
308
+ let t = u.value[S.value.axis];
309
+ if (!t) return;
310
+ let r = ((s.value.getBoundingClientRect()[S.value.direction] - e[S.value.client]) * -1 - (l.value[S.value.offset] - t)) * 100 * w.value / s.value[S.value.offset];
311
+ S.value.scroll === "scrollLeft" ? n.wrapElement[S.value.scroll] = r * y / 100 : n.wrapElement[S.value.scroll] = r * v / 100;
312
+ }, I = () => {
313
+ p = !1, u.value[S.value.axis] = 0, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", I), z(), g && (d.value = !1);
314
+ }, L = () => {
315
+ g = !1, d.value = !!t.size;
316
+ }, R = () => {
317
+ g = !0, d.value = p;
318
+ };
319
+ _(() => {
320
+ z(), document.removeEventListener("mouseup", I);
321
+ });
322
+ let z = () => {
323
+ document.onselectstart !== x && (document.onselectstart = x);
324
+ };
325
+ return N(T(n, "scrollbarElement"), "mousemove", L), N(T(n, "scrollbarElement"), "mouseleave", R), (t, n) => (b(), a(r, {
326
+ name: E(o).b("fade"),
327
+ persisted: ""
328
+ }, {
329
+ default: te(() => [A(c("div", {
330
+ ref_key: "instance",
331
+ ref: s,
332
+ class: m([E(o).e("bar"), E(o).is(S.value.key)]),
333
+ onMousedown: k,
334
+ onClick: n[0] ||= j(() => {}, ["stop"])
335
+ }, [c("div", {
336
+ ref_key: "thumb",
337
+ ref: l,
338
+ class: m(E(o).e("thumb")),
339
+ style: h(ee.value),
340
+ onMousedown: O
341
+ }, null, 38)], 34), [[D, e.always || d.value]])]),
342
+ _: 1
343
+ }, 8, ["name"]));
344
+ }
345
+ }), He = /* @__PURE__ */ u({
346
+ __name: "bar",
347
+ props: ze,
348
+ setup(e, { expose: t }) {
349
+ let r = e, i = f($), a = C(0), o = C(0), c = C(""), u = C(""), d = C(1), p = C(1);
350
+ return t({
351
+ handleScroll: (e) => {
352
+ if (e) {
353
+ let t = e.offsetHeight - 4, n = e.offsetWidth - 4;
354
+ o.value = e.scrollTop * 100 / t * d.value, a.value = e.scrollLeft * 100 / n * p.value;
355
+ }
356
+ },
357
+ update: () => {
358
+ let e = i?.wrapElement;
359
+ if (!e) return;
360
+ let t = e.offsetHeight - 4, n = e.offsetWidth - 4, a = t ** 2 / e.scrollHeight, o = n ** 2 / e.scrollWidth, s = Math.max(a, r.minSize), l = Math.max(o, r.minSize);
361
+ d.value = a / (t - a) / (s / (t - s)), p.value = o / (n - o) / (l / (n - l)), u.value = s + 4 < t ? `${s}px` : "", c.value = l + 4 < n ? `${l}px` : "";
362
+ }
363
+ }), (t, r) => (b(), s(n, null, [l(Ve, {
364
+ move: a.value,
365
+ ratio: p.value,
366
+ size: c.value,
367
+ always: e.always
368
+ }, null, 8, [
369
+ "move",
370
+ "ratio",
371
+ "size",
372
+ "always"
373
+ ]), l(Ve, {
374
+ move: o.value,
375
+ ratio: d.value,
376
+ size: u.value,
377
+ vertical: "",
378
+ always: e.always
379
+ }, null, 8, [
380
+ "move",
381
+ "ratio",
382
+ "size",
383
+ "always"
384
+ ])], 64));
385
+ }
386
+ }), Ue = ["tabindex"], We = "ElScrollbar", Ge = je(/* @__PURE__ */ u({
387
+ name: We,
388
+ __name: "scrollbar",
389
+ props: Ne,
390
+ emits: Pe,
391
+ setup(e, { expose: t, emit: n }) {
392
+ let r = e, l = n, u = Q("scrollbar"), d, f, _, T = 0, D = 0, O = 0, A = "", j = {
393
+ bottom: !1,
394
+ top: !1,
395
+ right: !1,
396
+ left: !1
397
+ }, M = C(), F = C(), I = C(), L = C(), R = i(() => {
398
+ let e = {}, t = X(r.height), n = X(r.maxHeight);
399
+ return t && (e.height = t), n && (e.maxHeight = n), [r.wrapStyle, e];
400
+ }), z = i(() => [
401
+ r.wrapClass,
402
+ u.e("wrap"),
403
+ { [u.em("wrap", "hidden-default")]: !r.native }
404
+ ]), B = i(() => [u.e("view"), r.viewClass]), ne = (e) => j[e] ?? !1, re = {
405
+ top: "bottom",
406
+ bottom: "top",
407
+ left: "right",
408
+ right: "left"
409
+ }, V = (e) => {
410
+ let t = re[A];
411
+ if (!t) return;
412
+ let n = e[A], r = e[t];
413
+ n && !j[A] && (j[A] = !0), !r && j[t] && (j[t] = !1);
414
+ }, U = () => {
415
+ if (F.value) {
416
+ L.value?.handleScroll(F.value);
417
+ let e = D, t = O;
418
+ D = F.value.scrollTop, O = F.value.scrollLeft;
419
+ let n = {
420
+ bottom: !Re(F.value.scrollHeight - r.distance, F.value.clientHeight + D),
421
+ top: D <= r.distance && e !== 0,
422
+ right: !Re(F.value.scrollWidth - r.distance, F.value.clientWidth + O) && t !== O,
423
+ left: O <= r.distance && t !== 0
424
+ };
425
+ if (l("scroll", {
426
+ scrollTop: D,
427
+ scrollLeft: O
428
+ }), e !== D && (A = D > e ? "bottom" : "top"), t !== O && (A = O > t ? "right" : "left"), r.distance > 0) {
429
+ if (ne(A)) return;
430
+ V(n);
431
+ }
432
+ n[A] && l("end-reached", A);
433
+ }
434
+ };
435
+ function ie(e, t) {
436
+ H(e) ? F.value.scrollTo(e) : K(e) && K(t) && F.value.scrollTo(e, t);
437
+ }
438
+ let ae = (e) => {
439
+ if (!K(e)) {
440
+ Y(We, "value must be a number");
441
+ return;
442
+ }
443
+ F.value.scrollTop = e;
444
+ }, oe = (e) => {
445
+ if (!K(e)) {
446
+ Y(We, "value must be a number");
447
+ return;
448
+ }
449
+ F.value.scrollLeft = e;
450
+ }, W = () => {
451
+ L.value?.update(), j[A] = !1, F.value && L.value?.handleScroll(F.value);
452
+ }, G = () => {
453
+ T ||= requestAnimationFrame(() => {
454
+ T = 0, F.value && (L.value?.update(), L.value?.handleScroll(F.value));
455
+ });
456
+ };
457
+ return k(() => r.noresize, (e) => {
458
+ e ? (d?.(), f?.(), _?.()) : ({stop: d} = P(I, W), {stop: f} = P(F, W), _ = N("resize", W));
459
+ }, { immediate: !0 }), k(() => [r.maxHeight, r.height], () => {
460
+ r.native || p(() => {
461
+ W();
462
+ });
463
+ }), x($, S({
464
+ scrollbarElement: M,
465
+ wrapElement: F
466
+ })), g(() => {
467
+ F.value && (F.value.scrollTop = D, F.value.scrollLeft = O);
468
+ }), v(() => {
469
+ r.native || p(() => {
470
+ W();
471
+ });
472
+ }), y(() => W()), t({
473
+ wrapRef: F,
474
+ update: W,
475
+ scrollTo: ie,
476
+ setScrollTop: ae,
477
+ setScrollLeft: oe,
478
+ handleScroll: U
479
+ }), (t, n) => (b(), s("div", {
480
+ ref_key: "scrollbarRef",
481
+ ref: M,
482
+ class: m(E(u).b())
483
+ }, [c("div", {
484
+ ref_key: "wrapRef",
485
+ ref: F,
486
+ class: m(z.value),
487
+ style: h(R.value),
488
+ tabindex: e.tabindex,
489
+ onScroll: U,
490
+ onTransitionend: G,
491
+ onAnimationend: G
492
+ }, [(b(), a(w(e.tag), {
493
+ id: e.id,
494
+ ref_key: "resizeRef",
495
+ ref: I,
496
+ class: m(B.value),
497
+ style: h(e.viewStyle),
498
+ role: e.role,
499
+ "aria-label": e.ariaLabel,
500
+ "aria-orientation": e.ariaOrientation
501
+ }, {
502
+ default: te(() => [ee(t.$slots, "default")]),
503
+ _: 3
504
+ }, 8, [
505
+ "id",
506
+ "class",
507
+ "style",
508
+ "role",
509
+ "aria-label",
510
+ "aria-orientation"
511
+ ]))], 46, Ue), e.native ? o("v-if", !0) : (b(), a(He, {
512
+ key: 0,
513
+ ref_key: "barRef",
514
+ ref: L,
515
+ always: e.always,
516
+ "min-size": e.minSize
517
+ }, null, 8, ["always", "min-size"]))], 2));
518
+ }
519
+ }));
520
+ //#endregion
521
+ export { M as A, L as C, H as D, re as E, V as O, G as S, ne as T, le as _, Ee as a, K as b, X as c, Y as d, ye as f, he as g, ge as h, ke as i, F as j, I as k, we as l, q as m, je as n, De as o, J as p, Me as r, Q as s, Ge as t, Ce as u, de as v, B as w, ce as x, ue as y };
@@ -1,11 +1,11 @@
1
- import { t as e } from "./button-Dk3CiB69.mjs";
1
+ import { n as e } from "./provider-DQIMA4mE.mjs";
2
2
  import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
3
  import { t as n } from "./card-BfHb58zl.mjs";
4
4
  import "../components/card/index.mjs";
5
- import { t as r } from "./custom-page-table-5f8lI6CQ.mjs";
5
+ import { t as r } from "./custom-page-table-CYLFzT4F.mjs";
6
6
  import "../components/custom-page-table/index.mjs";
7
- import { n as i, r as a } from "./page-list-C3nqGnnX.mjs";
8
- import { t as o } from "./page-query-C6oSW1je.mjs";
7
+ import { n as i, r as a } from "./page-list-BnGVTcad.mjs";
8
+ import { t as o } from "./page-query-QCT-mat_.mjs";
9
9
  import "../components/page-query/index.mjs";
10
10
  import "../components/page-list/index.mjs";
11
11
  import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createVNode as p, defineComponent as m, guardReactiveProps as h, mergeDefaults as g, mergeProps as _, normalizeProps as v, openBlock as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, withCtx as w } from "vue";
@@ -1,5 +1,5 @@
1
- import { n as e, r as t } from "./page-table-3DTiPP9H.mjs";
2
- import { t as n } from "./pagination-C6-VAj4W.mjs";
1
+ import { n as e, r as t } from "./page-table-DMOjg44G.mjs";
2
+ import { t as n } from "./pagination-BNAZYVJk.mjs";
3
3
  import "../components/pagination/index.mjs";
4
4
  import "../components/page-table/index.mjs";
5
5
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, defineComponent as s, guardReactiveProps as c, isRef as l, mergeDefaults as u, normalizeProps as d, openBlock as f, renderSlot as p, unref as m } from "vue";