dlzn-ui 2.0.43 → 2.0.44

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 (178) hide show
  1. package/assets/css-Ctf0Amkf.css +1 -0
  2. package/chunks/{AssignUser-CI1hv7zm.mjs → AssignUser-ag8Zz6lZ.mjs} +3 -3
  3. package/chunks/{Common-BiNl0t80.mjs → Common-BVhvn8ey.mjs} +2 -2
  4. package/chunks/{Day-iiU2bfSn.mjs → Day-Bsqlho18.mjs} +2 -2
  5. package/chunks/{DictTypeDetail-SpKe9j4h.mjs → DictTypeDetail-CGtRLsz1.mjs} +2 -2
  6. package/chunks/{Hour-CUOdal3S.mjs → Hour-CZxgu-gr.mjs} +1 -1
  7. package/chunks/{Index-bEWcnIHJ.mjs → Index-B0jtPG4z.mjs} +1 -1
  8. package/chunks/{Index-Cu2Ud84o.mjs → Index-B5dltuvs.mjs} +1 -1
  9. package/chunks/{Index-Bvu1c8Oy.mjs → Index-BFyst9Rj.mjs} +1 -1
  10. package/chunks/{Index-B-IRDS1Z.mjs → Index-BPfxS1Ur.mjs} +1 -1
  11. package/chunks/{Index-BwWS0oPl.mjs → Index-BVighfGs.mjs} +5 -3
  12. package/chunks/{Index-BMg2Bxvj.mjs → Index-BZloUL93.mjs} +1 -1
  13. package/chunks/{Index-AH0WCRJO.mjs → Index-CoNNokMv.mjs} +8 -8
  14. package/chunks/{Index-BChP9CTL.mjs → Index-DOMlymIc.mjs} +1 -1
  15. package/chunks/{Index-Bye0GY_j.mjs → Index-DlS664Iz.mjs} +1 -1
  16. package/chunks/{Index-CgJ94bEi.mjs → Index-DvWanFOZ.mjs} +1 -1
  17. package/chunks/{Index-BDidP0_Z.mjs → Index-R7H-nvMs.mjs} +1 -1
  18. package/chunks/{IndexItem-D_ZeRKlH.mjs → IndexItem-sPXuxTUs.mjs} +16 -16
  19. package/chunks/{Log-B72TP2Kr.mjs → Log-Br8Cnim8.mjs} +2 -2
  20. package/chunks/{LoginBg-HtZ8Lyev.mjs → LoginBg-BW263459.mjs} +1 -1
  21. package/chunks/{Minute-BLIvzH46.mjs → Minute-CQuKQcXO.mjs} +1 -1
  22. package/chunks/{Month-DzGi1B-x.mjs → Month-5cx6suVd.mjs} +1 -1
  23. package/chunks/{Second-DwM7HaZz.mjs → Second-DA6oyNKU.mjs} +1 -1
  24. package/chunks/{SelectDept-_EyrHhI9.mjs → SelectDept-CQRWjQ8n.mjs} +2 -2
  25. package/chunks/{SelectMenu-BGTtgamJ.mjs → SelectMenu-BNj0Lni8.mjs} +2 -2
  26. package/chunks/{SelectUser-DLapii8R.mjs → SelectUser-C6hO7rb-.mjs} +2 -2
  27. package/chunks/{UserInfo-CfJFU4J9.mjs → UserInfo-CAUjgfdS.mjs} +1 -1
  28. package/chunks/Wrapper-Boiyneqd.mjs +42 -0
  29. package/chunks/{app-BujKzbGI.mjs → app-BPNk1ofJ.mjs} +1 -1
  30. package/chunks/{custom-page-list-DjIGvqzk.mjs → custom-page-list-BHR3DhVT.mjs} +4 -4
  31. package/chunks/{custom-page-table-wy-8H6kG.mjs → custom-page-table-BxrEvdku.mjs} +2 -2
  32. package/chunks/{date-picker-D15OhWnK.mjs → date-picker-D-MGwALF.mjs} +2 -2
  33. package/chunks/{input-number-q9JM7-Uo.mjs → input-number-7Y1iWPPV.mjs} +12 -12
  34. package/chunks/{overview-CTQGBB2-.mjs → overview-DT-7oasE.mjs} +1 -1
  35. package/chunks/{page-list-DkOcgqMW.mjs → page-list-vyKjJFLU.mjs} +3 -3
  36. package/chunks/{page-query-CHFRZRhi.mjs → page-query-CPBOBzEz.mjs} +1 -1
  37. package/chunks/{page-table-C4tKerQw.mjs → page-table-IaiiKrWo.mjs} +4 -4
  38. package/chunks/{pagination-BxkLAF3U.mjs → pagination-u4S0HaQV.mjs} +1 -1
  39. package/chunks/{provider-DF-mIyi1.mjs → provider-DgBBnNgY.mjs} +499 -507
  40. package/chunks/{range-input-CkZteidJ.mjs → range-input-PIfE-AxB.mjs} +1 -1
  41. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-CoERe4kE.mjs} +1 -1
  42. package/chunks/{table-DfTSS9S4.mjs → table-DMUIy_b9.mjs} +15 -15
  43. package/chunks/utils-ag05P503.mjs +9 -0
  44. package/components/app/index.mjs +1 -1
  45. package/components/app/src/app.mjs +1 -1
  46. package/components/button/index.mjs +1 -1
  47. package/components/button/src/button.mjs +1 -1
  48. package/components/checkbox-group/index.mjs +1 -1
  49. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  50. package/components/cron/index.mjs +1 -1
  51. package/components/cron/src/Common.mjs +1 -1
  52. package/components/cron/src/Day.mjs +1 -1
  53. package/components/cron/src/Hour.mjs +1 -1
  54. package/components/cron/src/Minute.mjs +1 -1
  55. package/components/cron/src/Month.mjs +1 -1
  56. package/components/cron/src/Picker.mjs +6 -6
  57. package/components/cron/src/Second.mjs +1 -1
  58. package/components/cron/src/cron.mjs +1 -1
  59. package/components/custom-page-list/index.mjs +1 -1
  60. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  61. package/components/custom-page-table/index.mjs +1 -1
  62. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  63. package/components/date-picker/index.mjs +1 -1
  64. package/components/date-picker/src/date-picker.mjs +1 -1
  65. package/components/form/index.mjs +1 -1
  66. package/components/form/src/form.mjs +1 -1
  67. package/components/index.mjs +13 -13
  68. package/components/input-number/index.mjs +1 -1
  69. package/components/input-number/src/input-number.mjs +1 -1
  70. package/components/overview/index.mjs +1 -1
  71. package/components/overview/src/DicLabel/Index.mjs +1 -1
  72. package/components/overview/src/IndexItem.mjs +1 -1
  73. package/components/overview/src/overview.mjs +1 -1
  74. package/components/page-list/index.mjs +1 -1
  75. package/components/page-list/src/page-list.d.ts +4 -4
  76. package/components/page-list/src/page-list.mjs +1 -1
  77. package/components/page-query/index.mjs +1 -1
  78. package/components/page-query/src/page-query.mjs +1 -1
  79. package/components/page-table/index.mjs +1 -1
  80. package/components/page-table/src/page-table.mjs +1 -1
  81. package/components/pagination/index.mjs +1 -1
  82. package/components/pagination/src/pagination.mjs +1 -1
  83. package/components/provider/index.mjs +1 -1
  84. package/components/provider/src/Provider.mjs +1 -1
  85. package/components/radio-group/index.mjs +1 -1
  86. package/components/radio-group/src/radio-group.mjs +1 -1
  87. package/components/range-input/index.mjs +1 -1
  88. package/components/range-input/src/range-input.mjs +1 -1
  89. package/components/scrollbar/index.mjs +1 -1
  90. package/components/scrollbar/src/scrollbar.mjs +1 -1
  91. package/components/select/index.mjs +1 -1
  92. package/components/select/src/select.mjs +1 -1
  93. package/components/select-sys-user/index.mjs +1 -1
  94. package/components/select-sys-user/src/Picker.mjs +2 -2
  95. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  96. package/components/table/index.mjs +1 -1
  97. package/components/table/src/table.mjs +1 -1
  98. package/components/tree/index.mjs +1 -1
  99. package/components/tree/src/tree.mjs +1 -1
  100. package/components/tree-select/index.mjs +1 -1
  101. package/components/tree-select/src/tree-select.mjs +1 -1
  102. package/components/upload/index.mjs +1 -1
  103. package/components/upload/src/upload.mjs +1 -1
  104. package/hooks/useDicOptions/index.mjs +1 -1
  105. package/hooks/useLabel/index.d.ts +5 -0
  106. package/hooks/useLabel/index.mjs +17 -0
  107. package/hooks/useList/index.d.ts +1 -1
  108. package/hooks/useList/index.mjs +20 -30
  109. package/hooks/useSysUser/index.mjs +1 -1
  110. package/layout/Entry.mjs +1 -1
  111. package/layout/Home.mjs +2 -2
  112. package/layout/Login.mjs +2 -2
  113. package/layout/NotFound.mjs +1 -1
  114. package/layout/modules/Aside.mjs +1 -1
  115. package/layout/modules/Breadcrumb.mjs +1 -1
  116. package/layout/modules/Header.mjs +1 -1
  117. package/layout/modules/LoginBg.mjs +1 -1
  118. package/layout/profile/Index.mjs +3 -3
  119. package/layout/profile/ResetPwd.mjs +1 -1
  120. package/layout/profile/UserInfo.mjs +1 -1
  121. package/main.mjs +2 -2
  122. package/package.json +1 -1
  123. package/plugins/autoImport/$alova/index.mjs +1 -1
  124. package/plugins/autoImport/$confirm/index.mjs +1 -1
  125. package/plugins/autoImport/$dialog/index.mjs +1 -1
  126. package/plugins/autoImport/$drawer/index.mjs +1 -1
  127. package/plugins/captcha/captcha.mjs +2 -2
  128. package/plugins/captcha/index.mjs +1 -1
  129. package/plugins/directive/index.mjs +7 -7
  130. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  131. package/plugins/tableRenders/Wrapper.mjs +1 -1
  132. package/plugins/tableRenders/Wrapper.vue.d.ts +1 -3
  133. package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
  134. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  135. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  136. package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
  137. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  138. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  139. package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
  140. package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
  141. package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
  142. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  143. package/plugins/tableRenders/cell/index.mjs +11 -11
  144. package/plugins/tableRenders/title/index.mjs +1 -1
  145. package/router/index.mjs +1 -1
  146. package/store/modules/common.mjs +1 -1
  147. package/store/modules/login.mjs +1 -1
  148. package/store/modules/recentRouters.mjs +1 -1
  149. package/store/modules/router.mjs +1 -1
  150. package/store/modules/user.mjs +1 -1
  151. package/utils/dom.d.ts +1 -0
  152. package/utils/dom.mjs +7 -0
  153. package/utils/gather.d.ts +7 -0
  154. package/utils/gather.mjs +2 -0
  155. package/utils/index.d.ts +2 -0
  156. package/utils/index.mjs +7 -5
  157. package/views/monitor/logininfor/index.mjs +2 -2
  158. package/views/monitor/online/index.mjs +2 -2
  159. package/views/monitor/operlog/index.mjs +2 -2
  160. package/views/monitor/server/index.mjs +2 -3
  161. package/views/system/config/index.mjs +2 -2
  162. package/views/system/dept/index.mjs +17 -17
  163. package/views/system/dept/utils.mjs +2 -2
  164. package/views/system/dict/index.mjs +3 -3
  165. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  166. package/views/system/menu/index.mjs +15 -15
  167. package/views/system/notice/index.mjs +2 -2
  168. package/views/system/post/index.mjs +2 -2
  169. package/views/system/role/index.mjs +5 -5
  170. package/views/system/role/modules/AssignUser.mjs +1 -1
  171. package/views/system/role/modules/SelectDept.mjs +1 -1
  172. package/views/system/role/modules/SelectMenu.mjs +1 -1
  173. package/views/system/role/modules/SelectUser.mjs +1 -1
  174. package/views/system/user/index.mjs +23 -23
  175. package/views/tool/job/index.mjs +3 -3
  176. package/views/tool/job/modules/Log.mjs +1 -1
  177. package/assets/css-BPkXehJY.css +0 -1
  178. package/chunks/Wrapper-C6BtJDSa.mjs +0 -47
@@ -16,5 +16,5 @@ export default function useList(key: UseListAllKey): Ref<ListItem[], ListItem[]>
16
16
  export declare function useListLabel(key: UseListKey): ComputedRef<string[]>;
17
17
  export declare function useListLabel(key: UseListKey, value: PettyPrimitive): ComputedRef<string>;
18
18
  export declare function useListLabel(key: UseListKey, value: Array<PettyPrimitive>): ComputedRef<string[]>;
19
- export declare function useListRefresh(key: UseListAllKey): void;
19
+ export declare function useRefreshList(key: UseListAllKey): void;
20
20
  export {};
@@ -1,39 +1,29 @@
1
- import { stringDisplay as e } from "../../utils/string.mjs";
2
- import "../../utils/index.mjs";
3
- import { computed as t, ref as n } from "vue";
4
- import r from "virtual:dlzn-ui/app-params";
1
+ import e from "../useLabel/index.mjs";
2
+ import { ref as t } from "vue";
3
+ import n from "virtual:dlzn-ui/app-params";
5
4
  //#region ../../packages/dlzn-ui/hooks/useList/index.ts
6
- var i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = r.useListPromiseMap ?? {};
7
- function s() {
8
- i.clear(), a.clear();
5
+ var r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = n.useListPromiseMap ?? {};
6
+ function o() {
7
+ r.clear(), i.clear();
9
8
  }
10
- function c(e) {
11
- let t = i.has(e) ? i.get(e) : n([]);
12
- return i.has(e) || i.set(e, t), t.value.length === 0 && (!a.has(e) || a.get(e) === !1) && (a.set(e, !0), o[e]().then((e) => {
13
- t.value = e;
9
+ function s(e) {
10
+ let n = r.has(e) ? r.get(e) : t([]);
11
+ return r.has(e) || r.set(e, n), n.value.length === 0 && (!i.has(e) || i.get(e) === !1) && (i.set(e, !0), a[e]().then((e) => {
12
+ n.value = e;
14
13
  }).finally(() => {
15
- a.set(e, !1);
16
- })), t;
14
+ i.set(e, !1);
15
+ })), n;
17
16
  }
18
- function l(n, r) {
19
- let i = c(n);
20
- return t(() => {
21
- if (r === void 0) return i.value.map((e) => e.label);
22
- if (Array.isArray(r)) return i.value.length === 0 ? [] : r.map((t) => i.value.find((e) => String(e.value) === String(t))?.label ?? e(t));
23
- if (i.value.length === 0) return "";
24
- if (typeof r == "string") {
25
- let e = r.split(",").filter(Boolean);
26
- if (e.length > 0) return e.map((e) => i.value.find((t) => String(t.value) === e)?.label ?? e).join(",");
27
- }
28
- return i.value.find((e) => String(e.value) === String(r))?.label ?? e(r);
29
- });
17
+ function c(t, n) {
18
+ let r = s(t);
19
+ return n === void 0 ? e(r) : e(r, n);
30
20
  }
31
- function u(e) {
32
- i.has(e) && (!a.has(e) || a.get(e) === !1) && (a.set(e, !0), o[e]().then((t) => {
33
- i.get(e).value = t;
21
+ function l(e) {
22
+ r.has(e) && (!i.has(e) || i.get(e) === !1) && (i.set(e, !0), a[e]().then((t) => {
23
+ r.get(e).value = t;
34
24
  }).finally(() => {
35
- a.set(e, !1);
25
+ i.set(e, !1);
36
26
  }));
37
27
  }
38
28
  //#endregion
39
- export { c as default, s as useClearList, l as useListLabel, u as useListRefresh };
29
+ export { s as default, o as useClearList, c as useListLabel, l as useRefreshList };
@@ -1,2 +1,2 @@
1
- import { M as e, N as t, P as n } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { M as e, N as t, P as n } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { n as default, e as useClearSysUser, t as useRefreshSysUser };
package/layout/Entry.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { k as e } from "../chunks/provider-DF-mIyi1.mjs";
1
+ import { k as e } from "../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
package/layout/Home.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { o as e } from "../chunks/provider-DF-mIyi1.mjs";
2
- import { t } from "../chunks/table-DfTSS9S4.mjs";
1
+ import { o as e } from "../chunks/provider-DgBBnNgY.mjs";
2
+ import { t } from "../chunks/table-DMUIy_b9.mjs";
3
3
  import "../components/table/index.mjs";
4
4
  import { createElementBlock as n, createElementVNode as r, createVNode as i, defineComponent as a, openBlock as o, ref as s, unref as c } from "vue";
5
5
  //#endregion
package/layout/Login.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { H as e, j as t, n, o as r } from "../chunks/provider-DF-mIyi1.mjs";
1
+ import { H as e, j as t, n, o as r } from "../chunks/provider-DgBBnNgY.mjs";
2
2
  import { t as i } from "../chunks/icon-COjp1yrx.mjs";
3
3
  import "../components/icon/index.mjs";
4
4
  import a from "../plugins/autoImport/$msg/index.mjs";
5
5
  import { t as o } from "../chunks/gradient-text-BAIl_tKw.mjs";
6
6
  import "../components/gradient-text/index.mjs";
7
7
  import s from "../plugins/captcha/index.mjs";
8
- import { t as c } from "../chunks/LoginBg-HtZ8Lyev.mjs";
8
+ import { t as c } from "../chunks/LoginBg-BW263459.mjs";
9
9
  import { computed as l, createBlock as u, createCommentVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
10
10
  import { useRouter as b } from "vue-router";
11
11
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e } from "../chunks/provider-DF-mIyi1.mjs";
1
+ import { n as e } from "../chunks/provider-DgBBnNgY.mjs";
2
2
  import { createBlock as t, createTextVNode as n, createVNode as r, defineComponent as i, openBlock as a, unref as o, withCtx as s } from "vue";
3
3
  import { Empty as c } from "tdesign-vue-next";
4
4
  import { useRouter as l } from "vue-router";
@@ -1,2 +1,2 @@
1
- import { R as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { R as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { L as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { L as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { A as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { A as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/LoginBg-HtZ8Lyev.mjs";
1
+ import { t as e } from "../../chunks/LoginBg-BW263459.mjs";
2
2
  export { e as default };
@@ -1,11 +1,11 @@
1
- import { S as e, a as t } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { S as e, a as t } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  import { isFalsy as n } from "../../utils/boolean.mjs";
3
- import "../../utils/index.mjs";
3
+ import "../../chunks/utils-ag05P503.mjs";
4
4
  import { t as r } from "../../chunks/card-Domqu1Hz.mjs";
5
5
  import "../../components/card/index.mjs";
6
6
  import { t as i } from "../../chunks/tab-panel-yh4fFZ2r.mjs";
7
7
  import "../../components/tab-panel/index.mjs";
8
- import { t as a } from "../../chunks/UserInfo-CfJFU4J9.mjs";
8
+ import { t as a } from "../../chunks/UserInfo-CAUjgfdS.mjs";
9
9
  import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createVNode as u, defineComponent as d, markRaw as f, openBlock as p, provide as m, ref as h, renderList as g, resolveDynamicComponent as _, unref as v, withCtx as y } from "vue";
10
10
  import { List as b, ListItem as x, ListItemMeta as S, Tabs as C } from "tdesign-vue-next";
11
11
  import { useRequest as w } from "alova/client";
@@ -1,2 +1,2 @@
1
- import { a as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { a as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/UserInfo-CfJFU4J9.mjs";
1
+ import { t as e } from "../../chunks/UserInfo-CAUjgfdS.mjs";
2
2
  export { e as default };
package/main.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { D as e, H as t } from "./chunks/provider-DF-mIyi1.mjs";
2
- import { t as n } from "./chunks/app-BujKzbGI.mjs";
1
+ import { D as e, H as t } from "./chunks/provider-DgBBnNgY.mjs";
2
+ import { t as n } from "./chunks/app-BPNk1ofJ.mjs";
3
3
  import "./components/app/index.mjs";
4
4
  import r from "./plugins/directive/index.mjs";
5
5
  import i from "./store/index.mjs";
package/package.json CHANGED
@@ -108,7 +108,7 @@
108
108
  "> 1%",
109
109
  "not dead"
110
110
  ],
111
- "version": "2.0.43",
111
+ "version": "2.0.44",
112
112
  "scripts": {
113
113
  "dev": "vite --config play/vite.config.ts"
114
114
  }
@@ -1,2 +1,2 @@
1
- import { C as e, S as t, w as n } from "../../../chunks/provider-DF-mIyi1.mjs";
1
+ import { C as e, S as t, w as n } from "../../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
@@ -1,2 +1,2 @@
1
- import { F as e } from "../../../chunks/provider-DF-mIyi1.mjs";
1
+ import { F as e } from "../../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { I as e } from "../../../chunks/provider-DF-mIyi1.mjs";
1
+ import { I as e } from "../../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { O as e } from "../../../chunks/provider-DF-mIyi1.mjs";
1
+ import { O as e } from "../../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,8 +1,8 @@
1
- import { S as e, n as t } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { S as e, n as t } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  import { t as n } from "../../chunks/icon-COjp1yrx.mjs";
3
3
  import "../../components/icon/index.mjs";
4
+ import "../../chunks/utils-ag05P503.mjs";
4
5
  import { aesEncrypt as r } from "../../utils/tool.mjs";
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
7
  import { LoadingDirective as S } from "tdesign-vue-next";
8
8
  import { useDraggable as C, useElementSize as w } from "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { I as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { I as e } from "../../chunks/provider-DgBBnNgY.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) => {
@@ -1,6 +1,6 @@
1
- import e from "../autoImport/$msg/index.mjs";
2
- import { isFalsy as t } from "../../utils/boolean.mjs";
3
- import "../../utils/index.mjs";
1
+ import { isFalsy as e } from "../../utils/boolean.mjs";
2
+ import "../../chunks/utils-ag05P503.mjs";
3
+ import t from "../autoImport/$msg/index.mjs";
4
4
  import { useClipboard as n } from "@vueuse/core";
5
5
  //#region ../../packages/dlzn-ui/plugins/directive/index.ts
6
6
  var r = { install(r) {
@@ -8,15 +8,15 @@ var r = { install(r) {
8
8
  mounted(r, { value: i }) {
9
9
  let a = r;
10
10
  a.__copyText = i ?? a.textContent, a.__copyHandler = (r) => {
11
- if (r.stopPropagation(), t(a.__copyText)) {
12
- e.error("复制失败");
11
+ if (r.stopPropagation(), e(a.__copyText)) {
12
+ t.error("复制失败");
13
13
  return;
14
14
  }
15
15
  let { copy: i } = n({ legacy: !0 });
16
16
  i(a.__copyText).then(() => {
17
- e("复制成功");
17
+ t("复制成功");
18
18
  }).catch(() => {
19
- e.error("复制失败");
19
+ t.error("复制失败");
20
20
  });
21
21
  }, a.addEventListener("click", a.__copyHandler);
22
22
  },
@@ -1,4 +1,4 @@
1
- import { F as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { F as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  import { nextTick as t, ref as n } from "vue";
3
3
  //#region ../../packages/dlzn-ui/plugins/initialize/webUpdateNotify.ts
4
4
  var r = !1;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/Wrapper-C6BtJDSa.mjs";
1
+ import { t as e } from "../../chunks/Wrapper-Boiyneqd.mjs";
2
2
  export { e as default };
@@ -1,8 +1,6 @@
1
- declare var __VLS_7: {}, __VLS_9: {};
1
+ declare var __VLS_7: {};
2
2
  type __VLS_Slots = {} & {
3
3
  default?: (props: typeof __VLS_7) => any;
4
- } & {
5
- default?: (props: typeof __VLS_9) => any;
6
4
  };
7
5
  declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
6
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-BChP9CTL.mjs";
1
+ import { t as e } from "../../../../chunks/Index-DOMlymIc.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-Bvu1c8Oy.mjs";
1
+ import { t as e } from "../../../../chunks/Index-BFyst9Rj.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-B-IRDS1Z.mjs";
1
+ import { t as e } from "../../../../chunks/Index-BPfxS1Ur.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-Bye0GY_j.mjs";
1
+ import { t as e } from "../../../../chunks/Index-DlS664Iz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-BwWS0oPl.mjs";
1
+ import { t as e } from "../../../../chunks/Index-BVighfGs.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-bEWcnIHJ.mjs";
1
+ import { t as e } from "../../../../chunks/Index-B0jtPG4z.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-AH0WCRJO.mjs";
1
+ import { t as e } from "../../../../chunks/Index-CoNNokMv.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-CgJ94bEi.mjs";
1
+ import { t as e } from "../../../../chunks/Index-DvWanFOZ.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-Cu2Ud84o.mjs";
1
+ import { t as e } from "../../../../chunks/Index-B5dltuvs.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-BMg2Bxvj.mjs";
1
+ import { t as e } from "../../../../chunks/Index-BZloUL93.mjs";
2
2
  export { e as default };
@@ -1,24 +1,24 @@
1
1
  import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
2
- import { t } from "../../../chunks/Index-BChP9CTL.mjs";
3
- import { t as n } from "../../../chunks/Index-Bvu1c8Oy.mjs";
2
+ import { t } from "../../../chunks/Index-DOMlymIc.mjs";
3
+ import { t as n } from "../../../chunks/Index-BFyst9Rj.mjs";
4
4
  import { t as r } from "../../../chunks/Index-But4jrnW.mjs";
5
5
  import { t as i } from "../../../chunks/Index-BuqrJDKe.mjs";
6
- import { t as a } from "../../../chunks/Index-B-IRDS1Z.mjs";
7
- import { t as o } from "../../../chunks/Index-Bye0GY_j.mjs";
8
- import { t as s } from "../../../chunks/Index-BwWS0oPl.mjs";
9
- import { t as c } from "../../../chunks/Index-bEWcnIHJ.mjs";
10
- import { t as l } from "../../../chunks/Index-AH0WCRJO.mjs";
11
- import { t as u } from "../../../chunks/Index-CgJ94bEi.mjs";
6
+ import { t as a } from "../../../chunks/Index-BPfxS1Ur.mjs";
7
+ import { t as o } from "../../../chunks/Index-DlS664Iz.mjs";
8
+ import { t as s } from "../../../chunks/Index-BVighfGs.mjs";
9
+ import { t as c } from "../../../chunks/Index-B0jtPG4z.mjs";
10
+ import { t as l } from "../../../chunks/Index-CoNNokMv.mjs";
11
+ import { t as u } from "../../../chunks/Index-DvWanFOZ.mjs";
12
12
  import { t as d } from "../../../chunks/Index-B-O5KGpr.mjs";
13
- import { t as f } from "../../../chunks/Index-Cu2Ud84o.mjs";
13
+ import { t as f } from "../../../chunks/Index-B5dltuvs.mjs";
14
14
  import { t as p } from "../../../chunks/Index-DBQnzqsw.mjs";
15
15
  import { t as m } from "../../../chunks/Index-D6pUjcEN.mjs";
16
- import { t as h } from "../../../chunks/Index-BMg2Bxvj.mjs";
16
+ import { t as h } from "../../../chunks/Index-BZloUL93.mjs";
17
17
  import { t as g } from "../../../chunks/Index-BOv4n_q9.mjs";
18
18
  import { t as _ } from "../../../chunks/Index-vcnN6L-y.mjs";
19
19
  import { t as v } from "../../../chunks/Index-CZnP6jHo.mjs";
20
20
  import { t as y } from "../../../chunks/Index-CT0eb17V.mjs";
21
- import { t as b } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
21
+ import { t as b } from "../../../chunks/Wrapper-Boiyneqd.mjs";
22
22
  //#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
23
23
  var x = /* #__PURE__ */ Object.assign({
24
24
  "./Avatar/Index.vue": t,
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
1
+ import { t as e } from "../../../chunks/Wrapper-Boiyneqd.mjs";
2
2
  import { t } from "../../../chunks/Index-Cesv9ltS.mjs";
3
3
  //#region ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts
4
4
  var n = /* #__PURE__ */ Object.assign({ "./Default/Index.vue": t });
package/router/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { D as e, E as t, T as n } from "../chunks/provider-DF-mIyi1.mjs";
1
+ import { D as e, E as t, T as n } from "../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default, n as getRoute, t as getTopRoute };
@@ -1,2 +1,2 @@
1
- import { H as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { H as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { j as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { j as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { V as e } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { V as e } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { B as e, z as t } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { B as e, z as t } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default, t as getRoutersMethod };
@@ -1,2 +1,2 @@
1
- import { i as e, r as t } from "../../chunks/provider-DF-mIyi1.mjs";
1
+ import { i as e, r as t } from "../../chunks/provider-DgBBnNgY.mjs";
2
2
  export { e as default, t as getUserInfoMethod };
package/utils/dom.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare function getDomRangeWidth(dom: HTMLElement): number;
package/utils/dom.mjs ADDED
@@ -0,0 +1,7 @@
1
+ //#region ../../packages/dlzn-ui/utils/dom.ts
2
+ function e(e) {
3
+ let t = document.createRange();
4
+ return t.selectNodeContents(e), t.getBoundingClientRect().width;
5
+ }
6
+ //#endregion
7
+ export { e as getDomRangeWidth };
@@ -0,0 +1,7 @@
1
+ export interface Gather {
2
+ [key: string]: any;
3
+ label: string;
4
+ value: PettyPrimitive;
5
+ }
6
+ export declare function findLabel(gather: Gather[], value: PettyPrimitive): string;
7
+ export declare function findLabel(gather: Gather[], value: Array<PettyPrimitive>): string[];
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../chunks/utils-ag05P503.mjs";
2
+ export { e as findLabel };
package/utils/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './boolean';
2
+ export * from './dom';
3
+ export * from './gather';
2
4
  export * from './number';
3
5
  export * from './string';
4
6
  export * from './tool';
package/utils/index.mjs CHANGED
@@ -1,6 +1,8 @@
1
1
  import { isFalsy as e, isValidNumberString as t } from "./boolean.mjs";
2
- import { formatNumber as n, formatSecondsToChinese as r } from "./number.mjs";
3
- import { getFilenameFromUrl as i, queryStringToObject as a, stringDisplay as o } from "./string.mjs";
4
- import { aesDecrypt as s, aesEncrypt as c, saveAs as l } from "./tool.mjs";
5
- import { flatArrToTree as u, treeToFlatArr as d } from "./tree.mjs";
6
- export { s as aesDecrypt, c as aesEncrypt, u as flatArrToTree, n as formatNumber, r as formatSecondsToChinese, i as getFilenameFromUrl, e as isFalsy, t as isValidNumberString, a as queryStringToObject, l as saveAs, o as stringDisplay, d as treeToFlatArr };
2
+ import { getDomRangeWidth as n } from "./dom.mjs";
3
+ import { t as r } from "../chunks/utils-ag05P503.mjs";
4
+ import { formatNumber as i, formatSecondsToChinese as a } from "./number.mjs";
5
+ import { getFilenameFromUrl as o, queryStringToObject as s, stringDisplay as c } from "./string.mjs";
6
+ import { aesDecrypt as l, aesEncrypt as u, saveAs as d } from "./tool.mjs";
7
+ import { flatArrToTree as f, treeToFlatArr as p } from "./tree.mjs";
8
+ export { l as aesDecrypt, u as aesEncrypt, r as findLabel, f as flatArrToTree, i as formatNumber, a as formatSecondsToChinese, n as getDomRangeWidth, o as getFilenameFromUrl, e as isFalsy, t as isValidNumberString, s as queryStringToObject, d as saveAs, c as stringDisplay, p as treeToFlatArr };
@@ -1,5 +1,5 @@
1
- import { S as e } from "../../../chunks/provider-DF-mIyi1.mjs";
2
- import { t } from "../../../chunks/page-list-DkOcgqMW.mjs";
1
+ import { S as e } from "../../../chunks/provider-DgBBnNgY.mjs";
2
+ import { t } from "../../../chunks/page-list-vyKjJFLU.mjs";
3
3
  import "../../../components/page-list/index.mjs";
4
4
  import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, reactive as o, ref as s, unref as c, useTemplateRef as l } from "vue";
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
- import { S as e } from "../../../chunks/provider-DF-mIyi1.mjs";
2
- import { t } from "../../../chunks/page-list-DkOcgqMW.mjs";
1
+ import { S as e } from "../../../chunks/provider-DgBBnNgY.mjs";
2
+ import { t } from "../../../chunks/page-list-vyKjJFLU.mjs";
3
3
  import "../../../components/page-list/index.mjs";
4
4
  import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, unref as o, useTemplateRef as s } from "vue";
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
- import { I as e, S as t, o as n } from "../../../chunks/provider-DF-mIyi1.mjs";
2
- import { t as r } from "../../../chunks/page-list-DkOcgqMW.mjs";
1
+ import { I as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.mjs";
2
+ import { t as r } from "../../../chunks/page-list-vyKjJFLU.mjs";
3
3
  import "../../../components/page-list/index.mjs";
4
4
  import { createBlock as i, defineComponent as a, h as o, mergeProps as s, openBlock as c, reactive as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
5
5
  //#endregion
@@ -1,7 +1,7 @@
1
- import { S as e } from "../../../chunks/provider-DF-mIyi1.mjs";
1
+ import { S as e } from "../../../chunks/provider-DgBBnNgY.mjs";
2
2
  import { t } from "../../../chunks/card-Domqu1Hz.mjs";
3
3
  import "../../../components/card/index.mjs";
4
- import { t as n } from "../../../chunks/table-DfTSS9S4.mjs";
4
+ import { t as n } from "../../../chunks/table-DMUIy_b9.mjs";
5
5
  import "../../../components/table/index.mjs";
6
6
  import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
7
7
  import { useRequest as u } from "alova/client";
@@ -54,7 +54,6 @@ var d = { class: "grid grid-cols-3 gap-4" }, f = /* @__PURE__ */ o({
54
54
  title: "已用大小"
55
55
  },
56
56
  {
57
- align: "right",
58
57
  cell: {
59
58
  component: "FormatNumber",
60
59
  config: {
@@ -1,6 +1,6 @@
1
- import { F as e, S as t, o as n } from "../../../chunks/provider-DF-mIyi1.mjs";
1
+ import { F as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.mjs";
2
2
  import r from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-DkOcgqMW.mjs";
3
+ import { t as i } from "../../../chunks/page-list-vyKjJFLU.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  //#endregion