dlzn-ui 2.0.3 → 2.0.5

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 (174) hide show
  1. package/assets/button-Be7wyDo4.css +2 -0
  2. package/assets/{css-BHZbqP6m.css → css-BPkXehJY.css} +1 -1
  3. package/chunks/{Common-C-Megu65.mjs → Common-B5NscAh_.mjs} +2 -1
  4. package/chunks/{Day-rSsylmAZ.mjs → Day-Ci8nR_Ll.mjs} +2 -1
  5. package/chunks/DictTypeDetail-B_aSmp0m.mjs +188 -0
  6. package/chunks/{Hour-SINJ0DXv.mjs → Hour-C1yYXl7B.mjs} +1 -1
  7. package/chunks/{Index-CIfBvBlA.mjs → Index--rlVexBg.mjs} +1 -0
  8. package/chunks/{Index-BExLxGm4.mjs → Index-BChP9CTL.mjs} +1 -0
  9. package/chunks/{Index-DVQ2tnnV.mjs → Index-Bb9OwRGB.mjs} +3 -2
  10. package/chunks/{Index-CoDY85gh.mjs → Index-Bi44jQm2.mjs} +2 -1
  11. package/chunks/{Index-D0K4Ai1m.mjs → Index-Bu5a_B5n.mjs} +2 -1
  12. package/chunks/{Index-SSYGey9h.mjs → Index-BwWS0oPl.mjs} +1 -0
  13. package/chunks/{Index-IHnODKpr.mjs → Index-BxpYRhO7.mjs} +1 -0
  14. package/chunks/{Index-rd9a-AvJ.mjs → Index-Bye0GY_j.mjs} +1 -0
  15. package/chunks/{Index-ChitVvtF.mjs → Index-CHfwy4gI.mjs} +1 -1
  16. package/chunks/{Index-BbkM7HWR.mjs → Index-CS1bfxu7.mjs} +2 -1
  17. package/chunks/{Index-BXWCzgiM.mjs → Index-CwksT4hO.mjs} +1 -0
  18. package/chunks/{Index-BZ26MYFd.mjs → Index-DC0L_zaY.mjs} +1 -0
  19. package/chunks/{Index-BStfaqzV.mjs → Index-De48YIRG.mjs} +2 -1
  20. package/chunks/{Index-tJvyTOBT.mjs → Index-DiOdyjva.mjs} +2 -0
  21. package/chunks/{Index-D6BPa3kK.mjs → Index-UHMQ6ORy.mjs} +3 -1
  22. package/chunks/{Index-DPyouFXl.mjs → Index-Z81MxcDh.mjs} +3 -2
  23. package/chunks/{Index-CFqKMPsW.mjs → Index-bEWcnIHJ.mjs} +2 -0
  24. package/chunks/{Index-KbZFUlC6.mjs → Index-eWToVefC.mjs} +2 -0
  25. package/chunks/{IndexItem-BgAx4bmH.mjs → IndexItem-BWoJrz24.mjs} +3 -2
  26. package/chunks/{LoginBg-BPY-OcAF.mjs → LoginBg-B1auGWuJ.mjs} +2 -0
  27. package/chunks/{MenuNode-B8rjEp8n.mjs → MenuNode-ByutDAqI.mjs} +1 -0
  28. package/chunks/{MenuNode-DUrmFCgV.mjs → MenuNode-Dp1kCBvH.mjs} +2 -1
  29. package/chunks/{Minute-Ctvu6IHj.mjs → Minute-CA5DlXsq.mjs} +1 -1
  30. package/chunks/{Month-DPXdwjBM.mjs → Month-D-4ld14M.mjs} +1 -1
  31. package/chunks/{Second-Be8KaVxT.mjs → Second-RPGoCkey.mjs} +1 -1
  32. package/chunks/{UserInfo-B_BCGGsD.mjs → UserInfo-CrBlooGu.mjs} +10 -10
  33. package/chunks/app-DiNoDaOD.mjs +37 -0
  34. package/chunks/{button-fyBeTUHZ.mjs → button-BcpR95gj.mjs} +633 -376
  35. package/chunks/{custom-page-list-BxCouuRc.mjs → custom-page-list-DF3Qw4y7.mjs} +8 -4
  36. package/chunks/{custom-page-table-DcGMaOjC.mjs → custom-page-table-CH09hGDM.mjs} +4 -2
  37. package/chunks/{date-picker-CrH7Sg7y.mjs → date-picker-DtbDIFUH.mjs} +3 -2
  38. package/chunks/{input-number-D55mzch-.mjs → input-number-B4oTaRne.mjs} +1 -0
  39. package/chunks/{menu-ByFEkFXJ.mjs → menu-CjNx3wKR.mjs} +1 -1
  40. package/chunks/{overview-u-SinW-r.mjs → overview-BQQnpz4N.mjs} +1 -1
  41. package/chunks/{page-list-Bf99s8cJ.mjs → page-list-BjjvOqb5.mjs} +6 -3
  42. package/chunks/{page-query-jRa7JYz1.mjs → page-query-BCNFOYTD.mjs} +1 -1
  43. package/chunks/{page-table-BDZ8sxyI.mjs → page-table-VeEt8uuI.mjs} +6 -3
  44. package/chunks/{pagination-BRfWjsw-.mjs → pagination-BuhM6NW1.mjs} +1 -1
  45. package/chunks/{range-input-8ddDrOBB.mjs → range-input-CKFoK49E.mjs} +1 -0
  46. package/chunks/{scrollbar-Fk5p7kiM.mjs → scrollbar-CI1mysNQ.mjs} +2 -2
  47. package/chunks/{table-IplasFts.mjs → table-B3z8z5O8.mjs} +3 -1
  48. package/chunks/{tag-B-ovDWQi.mjs → tag-CfeJWJii.mjs} +1 -0
  49. package/components/app/index.d.ts +1 -0
  50. package/components/app/index.mjs +2 -0
  51. package/components/app/src/app.mjs +2 -0
  52. package/components/app/src/app.vue.d.ts +3 -0
  53. package/components/button/index.mjs +1 -1
  54. package/components/button/src/button.mjs +1 -1
  55. package/components/checkbox-group/index.mjs +1 -1
  56. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  57. package/components/cron/index.mjs +1 -1
  58. package/components/cron/src/Common.mjs +1 -1
  59. package/components/cron/src/Day.mjs +1 -1
  60. package/components/cron/src/Hour.mjs +1 -1
  61. package/components/cron/src/Minute.mjs +1 -1
  62. package/components/cron/src/Month.mjs +1 -1
  63. package/components/cron/src/Picker.mjs +10 -6
  64. package/components/cron/src/Second.mjs +1 -1
  65. package/components/cron/src/cron.mjs +1 -1
  66. package/components/custom-page-list/index.mjs +1 -1
  67. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  68. package/components/custom-page-table/index.mjs +1 -1
  69. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  70. package/components/date-picker/index.mjs +1 -1
  71. package/components/date-picker/src/date-picker.mjs +1 -1
  72. package/components/form/index.mjs +1 -1
  73. package/components/form/src/form.mjs +1 -1
  74. package/components/index.mjs +46 -21
  75. package/components/input-number/index.mjs +1 -1
  76. package/components/input-number/src/input-number.mjs +1 -1
  77. package/components/overview/index.mjs +1 -1
  78. package/components/overview/src/DicLabel/Index.mjs +1 -1
  79. package/components/overview/src/IndexItem.mjs +1 -1
  80. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  81. package/components/overview/src/overview.mjs +1 -1
  82. package/components/page-list/index.mjs +1 -1
  83. package/components/page-list/src/page-list.mjs +1 -1
  84. package/components/page-query/index.mjs +1 -1
  85. package/components/page-query/src/page-query.mjs +1 -1
  86. package/components/page-table/index.mjs +1 -1
  87. package/components/page-table/src/page-table.mjs +1 -1
  88. package/components/pagination/index.mjs +1 -1
  89. package/components/pagination/src/pagination.mjs +1 -1
  90. package/components/provider/index.mjs +1 -1
  91. package/components/provider/src/Provider.mjs +1 -1
  92. package/components/radio-group/index.mjs +1 -1
  93. package/components/radio-group/src/radio-group.mjs +1 -1
  94. package/components/range-input/index.mjs +1 -1
  95. package/components/range-input/src/range-input.mjs +1 -1
  96. package/components/scrollbar/index.mjs +1 -1
  97. package/components/scrollbar/src/scrollbar.mjs +1 -1
  98. package/components/select/index.mjs +1 -1
  99. package/components/select/src/select.mjs +1 -1
  100. package/components/select-sys-user/index.mjs +1 -1
  101. package/components/select-sys-user/src/Picker.mjs +3 -2
  102. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  103. package/components/table/index.mjs +1 -1
  104. package/components/table/src/table.mjs +1 -1
  105. package/components/tag/index.mjs +1 -1
  106. package/components/tag/src/tag.mjs +1 -1
  107. package/components/tree/index.mjs +1 -1
  108. package/components/tree/src/tree.mjs +1 -1
  109. package/components/tree-select/index.mjs +1 -1
  110. package/components/tree-select/src/tree-select.mjs +1 -1
  111. package/components/upload/index.mjs +1 -1
  112. package/components/upload/src/upload.mjs +1 -1
  113. package/hooks/useContextMenu/menu/index.mjs +1 -1
  114. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  115. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  116. package/hooks/useDicOptions/index.mjs +1 -1
  117. package/hooks/useList/index.mjs +1 -0
  118. package/hooks/useSysUser/index.mjs +2 -2
  119. package/index.d.ts +1 -1
  120. package/layout/Index.mjs +1 -1
  121. package/layout/Login.mjs +8 -6
  122. package/layout/NotFound.mjs +1 -1
  123. package/layout/index2.mjs +1 -1
  124. package/layout/modules/Aside.mjs +1 -1
  125. package/layout/modules/Breadcrumb.mjs +1 -1
  126. package/layout/modules/Header.mjs +1 -1
  127. package/layout/modules/LoginBg.mjs +1 -1
  128. package/layout/modules/MenuNode.mjs +1 -1
  129. package/layout/profile/Index.mjs +5 -2
  130. package/layout/profile/ResetPwd.mjs +1 -1
  131. package/layout/profile/UserInfo.mjs +1 -1
  132. package/package.json +1 -4
  133. package/plugins/autoImport/$alova/index.mjs +1 -1
  134. package/plugins/autoImport/$confirm/index.mjs +1 -1
  135. package/plugins/autoImport/$dialog/index.mjs +1 -1
  136. package/plugins/autoImport/$drawer/index.mjs +2 -36
  137. package/plugins/captcha/captcha.mjs +3 -1
  138. package/plugins/captcha/index.mjs +1 -1
  139. package/plugins/directive/index.mjs +1 -0
  140. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  141. package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
  142. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  143. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  144. package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
  145. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  146. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  147. package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
  148. package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
  149. package/plugins/tableRenders/cell/Input/Index.mjs +1 -1
  150. package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
  151. package/plugins/tableRenders/cell/Link/Index.mjs +1 -1
  152. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  153. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  154. package/plugins/tableRenders/cell/Switch/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/index.mjs +16 -16
  158. package/router/index.mjs +1 -1
  159. package/store/modules/common.mjs +1 -1
  160. package/store/modules/login.mjs +1 -1
  161. package/store/modules/recentRouters.mjs +1 -1
  162. package/store/modules/router.mjs +2 -2
  163. package/store/modules/user.mjs +1 -1
  164. package/views/index.d.ts +4 -0
  165. package/views/index.mjs +7 -0
  166. package/views/system/dict/index.mjs +195 -0
  167. package/views/system/dict/index.vue.d.ts +3 -0
  168. package/views/system/dict/modules/DictTypeDetail.mjs +2 -0
  169. package/views/system/dict/modules/DictTypeDetail.vue.d.ts +6 -0
  170. package/assets/Provider-x1XGuNl0.css +0 -1
  171. package/assets/button-BIfMFDiF.css +0 -2
  172. package/assets/css-GF-yQkxY.css +0 -1
  173. package/chunks/Provider-C7LUXsAA.mjs +0 -221
  174. package/chunks/css-egLCmONV.mjs +0 -1
@@ -1,51 +1,67 @@
1
1
  import { t as e } from "./icon-COjp1yrx.mjs";
2
+ import "../components/icon/index.mjs";
2
3
  import { t } from "./popconfirm-DxWa7vWm.mjs";
4
+ import "../components/popconfirm/index.mjs";
3
5
  import { n, t as r } from "./useAppContext-D47amIp5.mjs";
4
6
  import i from "../plugins/autoImport/$loading/index.mjs";
5
7
  import { t as a } from "./checkbox-CLlUEbkk.mjs";
8
+ import "../components/checkbox/index.mjs";
6
9
  import o from "../plugins/autoImport/$msg/index.mjs";
7
10
  import s from "../layout/index2.mjs";
8
- import { t as c } from "./scrollbar-Fk5p7kiM.mjs";
11
+ import '../assets/css-BPkXehJY.css';import '../assets/button-Be7wyDo4.css';/* empty css */
12
+ import { t as c } from "./scrollbar-CI1mysNQ.mjs";
13
+ import "../components/scrollbar/index.mjs";
9
14
  import l from "../hooks/useMQ/index.mjs";
10
15
  import u from "../store/modules/excludeKPname.mjs";
11
16
  import { t as d } from "./gradient-text-B6JwSk-u.mjs";
12
17
  import { t as f } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
18
+ import "../components/gradient-text/index.mjs";
13
19
  import { t as p } from "./image-BEsiUWeF.mjs";
14
- import { t as m } from "./MenuNode-DUrmFCgV.mjs";
15
- import h from "../hooks/useContextMenu/index.mjs";
16
- import { t as ee } from "./Provider-C7LUXsAA.mjs";
20
+ import "../components/image/index.mjs";
21
+ import m from "../views/index.mjs";
22
+ import { t as h } from "./MenuNode-Dp1kCBvH.mjs";
23
+ import ee from "../hooks/useContextMenu/index.mjs";
17
24
  import { passwordReg as te, passwordRegMessage as g } from "../constants/others.mjs";
18
25
  import { isFalsy as _, isValidNumberString as v } from "../utils/boolean.mjs";
19
26
  import { stringDisplay as y } from "../utils/string.mjs";
20
27
  import { saveAs as b } from "../utils/tool.mjs";
28
+ import "../utils/index.mjs";
21
29
  import x, { useClearList as ne } from "../hooks/useList/index.mjs";
22
- import re from "../plugins/autoImport/$drawer/index.mjs";
23
- import { n as ie, t as ae } from "./input-B8jjJrK5.mjs";
24
- import { t as oe } from "./date-picker-CrH7Sg7y.mjs";
25
- import { t as se } from "./input-number-D55mzch-.mjs";
26
- import { t as ce } from "./range-input-8ddDrOBB.mjs";
27
- import { n as le, t as ue } from "./tag-input-iNXrRXk2.mjs";
28
- import { t as de } from "./slider-C63Gzbld.mjs";
29
- import { t as fe } from "./switch-CqV3-avv.mjs";
30
- import { t as pe } from "./textarea-xkwOhNut.mjs";
31
- import { Fragment as S, KeepAlive as me, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as he, createSlots as ge, createTextVNode as D, createVNode as O, defineAsyncComponent as _e, defineComponent as k, getCurrentInstance as A, guardReactiveProps as ve, h as j, inject as ye, markRaw as be, mergeDefaults as M, mergeProps as N, nextTick as P, normalizeClass as xe, normalizeProps as F, onMounted as Se, openBlock as I, provide as Ce, reactive as we, ref as L, renderList as R, renderSlot as Te, resolveComponent as Ee, resolveDynamicComponent as z, shallowRef as De, toDisplayString as B, unref as V, useAttrs as Oe, useSlots as ke, useTemplateRef as Ae, watch as H, withCtx as U, withModifiers as je } from "vue";
30
+ import { n as re, t as ie } from "./input-B8jjJrK5.mjs";
31
+ import "../components/input/index.mjs";
32
+ import { t as ae } from "./date-picker-DtbDIFUH.mjs";
33
+ import "../components/date-picker/index.mjs";
34
+ import { t as oe } from "./input-number-B4oTaRne.mjs";
35
+ import "../components/input-number/index.mjs";
36
+ import { t as se } from "./range-input-CKFoK49E.mjs";
37
+ import "../components/range-input/index.mjs";
38
+ import { n as ce, t as le } from "./tag-input-iNXrRXk2.mjs";
39
+ import "../components/tag-input/index.mjs";
40
+ import { t as ue } from "./slider-C63Gzbld.mjs";
41
+ import "../components/slider/index.mjs";
42
+ import { t as de } from "./switch-CqV3-avv.mjs";
43
+ import "../components/switch/index.mjs";
44
+ import { t as fe } from "./textarea-xkwOhNut.mjs";
45
+ import "../components/textarea/index.mjs";
46
+ import { Fragment as pe, KeepAlive as me, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as he, createSlots as ge, createTextVNode as E, createVNode as D, defineAsyncComponent as _e, defineComponent as O, getCurrentInstance as k, guardReactiveProps as ve, h as A, inject as ye, markRaw as be, mergeDefaults as j, mergeProps as M, nextTick as N, normalizeClass as xe, normalizeProps as P, onMounted as Se, openBlock as F, provide as Ce, reactive as we, ref as I, renderList as L, renderSlot as Te, resolveComponent as Ee, resolveDynamicComponent as R, shallowRef as De, toDisplayString as z, unref as B, useAttrs as Oe, useSlots as ke, useTemplateRef as Ae, watch as V, withCtx as H, withModifiers as je } from "vue";
32
47
  import { useElementSize as Me, useElementVisibility as Ne, useFocus as Pe, useMutationObserver as Fe, useResizeObserver as Ie } from "@vueuse/core";
33
- import { Breadcrumb as Le, BreadcrumbItem as Re, Button as ze, CheckboxGroup as Be, Content as Ve, DialogPlugin as He, Drawer as Ue, Dropdown as We, Form as Ge, FormItem as Ke, HeadMenu as qe, Header as Je, InputAdornment as Ye, Layout as Xe, Menu as Ze, MenuItem as Qe, RadioGroup as $e, Select as et, Tree as tt, TreeSelect as nt, Upload as rt } from "tdesign-vue-next";
34
- import { cloneDeep as it, isPlainObject as at } from "lodash-es";
35
- import { defineStore as W } from "pinia";
36
- import { createRouter as ot, createWebHistory as st, useRoute as G, useRouter as ct } from "vue-router";
37
- import lt from "virtual:dlzn-ui/app-params";
38
- import { createAlova as ut } from "alova";
39
- import dt from "alova/fetch";
40
- import ft from "alova/vue";
41
- import pt from "path-browserify";
42
- import '../assets/button-BIfMFDiF.css';//#region ../../packages/dlzn-ui/components/button/src/button.ts
43
- var mt = {
48
+ import { Breadcrumb as Le, BreadcrumbItem as Re, Button as ze, CheckboxGroup as Be, ConfigProvider as Ve, Content as He, DialogPlugin as Ue, Drawer as We, DrawerPlugin as Ge, Dropdown as Ke, Form as qe, FormItem as Je, HeadMenu as Ye, Header as Xe, InputAdornment as Ze, Layout as Qe, Menu as $e, MenuItem as et, RadioGroup as tt, Select as nt, Tree as rt, TreeSelect as it, Upload as at } from "tdesign-vue-next";
49
+ import { cloneDeep as ot, isPlainObject as st } from "lodash-es";
50
+ import { defineStore as ct } from "pinia";
51
+ import { createRouter as lt, createWebHistory as ut, useRoute as U, useRouter as dt } from "vue-router";
52
+ import ft from "virtual:dlzn-ui/app-params";
53
+ import { createAlova as pt } from "alova";
54
+ import mt from "alova/fetch";
55
+ import ht from "alova/vue";
56
+ import gt from "path-browserify";
57
+ import { ElConfigProvider as _t } from "element-plus";
58
+ //#region ../../packages/dlzn-ui/components/button/src/button.ts
59
+ var vt = {
44
60
  autoIcon: !0,
45
61
  autoLoading: !0,
46
62
  autoTheme: !0,
47
63
  loading: void 0
48
- }, ht = {
64
+ }, yt = {
49
65
  autoLabelWidth: !0,
50
66
  colon: !0,
51
67
  data: () => we({}),
@@ -61,30 +77,30 @@ var mt = {
61
77
  };
62
78
  //#endregion
63
79
  //#region ../../packages/dlzn-ui/store/modules/common.ts
64
- function gt() {
65
- return X.Get("common/appInfo", { meta: {
80
+ function bt() {
81
+ return Y.Get("common/appInfo", { meta: {
66
82
  useFailMsg: !1,
67
83
  useLoading: !1,
68
84
  useSysFailMsg: !1,
69
85
  useToken: !1
70
86
  } });
71
87
  }
72
- var K = W("common", () => {
73
- let e = L(!0), t = L(250), n = L({
88
+ var W = ct("common", () => {
89
+ let e = I(!0), t = I(250), n = I({
74
90
  appName: VITE_APP_NAME,
75
91
  version: ""
76
92
  });
77
- H(() => n.value.appName, (e) => {
93
+ V(() => n.value.appName, (e) => {
78
94
  e && (document.title = e);
79
95
  });
80
96
  function r() {
81
- gt().then((e) => {
97
+ bt().then((e) => {
82
98
  n.value = e;
83
99
  }).catch((e) => {
84
100
  console.log(`${VITE_APP_NAME} 获取应用信息失败`, e);
85
101
  });
86
102
  }
87
- let i = L(!0), a = null;
103
+ let i = I(!0), a = null;
88
104
  function o() {
89
105
  a !== null && (clearTimeout(a), a = null), i.value = !1, a = setTimeout(() => {
90
106
  i.value = !0;
@@ -98,13 +114,13 @@ var K = W("common", () => {
98
114
  isRequestSleep: i,
99
115
  requestActive: o
100
116
  };
101
- }, { persist: { pick: ["drawerOpen", "drawerSize"] } }), q = W("recentRouters", () => {
102
- let e = L([]), t = G(), n = ct();
117
+ }, { persist: { pick: ["drawerOpen", "drawerSize"] } }), G = ct("recentRouters", () => {
118
+ let e = I([]), t = U(), n = dt();
103
119
  function r() {
104
120
  e.value = e.value.filter((e) => n.hasRoute(e.name));
105
121
  }
106
122
  function i(t, n) {
107
- let r = it(n), i = e.value.findIndex((e) => e.name === r.name || Yt(e.name).meta.title === Yt(r.name).meta.title);
123
+ let r = ot(n), i = e.value.findIndex((e) => e.name === r.name || J(e.name).meta.title === J(r.name).meta.title);
108
124
  if (delete r.query._fromLeftTree, i === -1) {
109
125
  let n = e.value.findIndex((e) => e.name === t);
110
126
  n === -1 ? e.value.push(r) : e.value.splice(n + 1, 0, r);
@@ -135,16 +151,16 @@ var K = W("common", () => {
135
151
  }, { persist: { pick: ["recentRouters"] } });
136
152
  //#endregion
137
153
  //#region ../../packages/dlzn-ui/store/modules/router.ts
138
- function _t() {
139
- return X.Get("getRouters", { meta: {
154
+ function xt() {
155
+ return Y.Get("getRouters", { meta: {
140
156
  useFailMsg: "获取用户路由失败",
141
157
  useLoading: "正在获取用户路由..."
142
158
  } });
143
159
  }
144
- function vt(e) {
160
+ function St(e) {
145
161
  return e.children !== void 0 || e.component !== void 0;
146
162
  }
147
- function yt(e) {
163
+ function Ct(e) {
148
164
  let t = [];
149
165
  return e.forEach((e) => {
150
166
  e.path === "/" ? t.push({
@@ -153,7 +169,7 @@ function yt(e) {
153
169
  }) : t.push(e);
154
170
  }), t;
155
171
  }
156
- function bt(e) {
172
+ function wt(e) {
157
173
  let t = (e, n) => {
158
174
  let r = [];
159
175
  return e.forEach((e) => {
@@ -177,12 +193,12 @@ function bt(e) {
177
193
  e !== void 0 && (i.redirect = { name: e.name });
178
194
  }
179
195
  }
180
- e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = Tt(e)), vt(i) && r.push(i);
196
+ e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = Ot(e)), St(i) && r.push(i);
181
197
  }), r;
182
- }, n = Jt();
198
+ }, n = nn();
183
199
  return n.children.push(...e), t([n], null);
184
200
  }
185
- function xt(e) {
201
+ function Tt(e) {
186
202
  let t = (e) => {
187
203
  let n = [...e], r = n.length;
188
204
  for (let e = r - 1; e >= 0; e--) {
@@ -195,36 +211,36 @@ function xt(e) {
195
211
  };
196
212
  return t(e);
197
213
  }
198
- var St = lt.viewsEntryLazyImport, Ct = [];
199
- function wt(e) {
200
- return `/src/views/${e.split("___")[0]}.vue`;
214
+ var Et = [];
215
+ function Dt(e) {
216
+ return `./${e.split("___")[0]}.vue`;
201
217
  }
202
- function Tt(e) {
218
+ function Ot(e) {
203
219
  if (typeof e.component == "function" || typeof e.component == "string") {
204
- let t = e.component, n = typeof t == "string" ? St[wt(t)] : t;
220
+ let t = e.component, n = typeof t == "string" ? m[Dt(t)] : t;
205
221
  if (n === void 0) {
206
- let e = `路由组件${wt(t)}不存在`;
222
+ let e = `路由组件${Dt(t)}不存在`;
207
223
  return console.error(e), s["./NotFound.vue"];
208
224
  }
209
- return typeof t == "string" && Ct.push(wt(t)), () => n().then((t) => ({
225
+ return typeof t == "string" && Et.push(Dt(t)), () => n().then((t) => ({
210
226
  ...t.default,
211
227
  name: e.name
212
228
  }));
213
229
  }
214
230
  return e.component;
215
231
  }
216
- var Et = W("router", () => {
217
- let e = L([]), t = ct(), n = Q();
232
+ var kt = ct("router", () => {
233
+ let e = I([]), t = dt(), n = Q();
218
234
  async function r() {
219
- let r = await _t();
220
- Ct.length = 0, e.value = be(xt(bt(yt(r)))), n.isAdmin && Object.keys(St).forEach((e) => {
221
- if (!Ct.includes(e)) {
235
+ let r = await xt();
236
+ Et.length = 0, e.value = be(Tt(wt(Ct(r)))), n.isAdmin && Object.keys(m).forEach((e) => {
237
+ if (!Et.includes(e)) {
222
238
  let t = `${e} 页面对应的路由不存在`;
223
239
  console.error(t);
224
240
  }
225
241
  }), t.hasRoute("Index") && t.removeRoute("Index"), e.value.forEach((e) => {
226
242
  t.addRoute(e);
227
- }), q().init();
243
+ }), G().init();
228
244
  }
229
245
  function i() {
230
246
  e.value.forEach((e) => {
@@ -236,50 +252,50 @@ var Et = W("router", () => {
236
252
  getRouters: r,
237
253
  routersRaw: e
238
254
  };
239
- }), Dt = { class: "ml-2! flex items-center" }, Ot = /*#__PURE__*/ f(/* @__PURE__ */ k({
255
+ }), At = { class: "ml-2! flex items-center" }, jt = /*#__PURE__*/ f(/* @__PURE__ */ O({
240
256
  __name: "Aside",
241
257
  setup(e) {
242
- let t = G(), n = K(), r = C(() => n.appInfo.appName), i = Object.values(import.meta.glob("img/side_logo.*", {
258
+ let t = U(), n = W(), r = S(() => n.appInfo.appName), i = Object.values(import.meta.glob("img/side_logo.*", {
243
259
  eager: !0,
244
260
  import: "default",
245
261
  query: "?url"
246
- }))[0], a = Et(), o = L([]);
247
- H(() => t.name, () => {
262
+ }))[0], a = kt(), o = I([]);
263
+ V(() => t.name, () => {
248
264
  t.matched.map((e) => e.name).forEach((e) => {
249
265
  o.value.includes(e) || o.value.push(e);
250
266
  });
251
267
  }, { immediate: !0 });
252
- let s = C(() => {
268
+ let s = S(() => {
253
269
  let { hidden: e, parentName: n } = t.meta;
254
270
  return n !== "" && e === !0 ? n : t.name;
255
271
  });
256
- return (e, t) => (I(), w(V(Ze), {
272
+ return (e, t) => (F(), C(B($e), {
257
273
  expanded: o.value,
258
274
  "onUpdate:expanded": t[0] ||= (e) => o.value = e,
259
275
  class: "w-full!",
260
276
  value: s.value
261
277
  }, {
262
- logo: U(() => [he("div", Dt, [O(V(p), {
278
+ logo: H(() => [he("div", At, [D(B(p), {
263
279
  class: "logo",
264
- src: V(i),
280
+ src: B(i),
265
281
  style: {
266
282
  width: "28px",
267
283
  height: "28px"
268
284
  }
269
- }, null, 8, ["src"]), O(V(d), {
285
+ }, null, 8, ["src"]), D(B(d), {
270
286
  "animation-speed": 8,
271
287
  "class-name": "ml-2 text-xl !font-bold",
272
288
  "show-border": !1,
273
289
  text: r.value
274
290
  }, null, 8, ["text"])])]),
275
- default: U(() => [O(m, { model: V(a).routersRaw[0]?.children ?? [] }, null, 8, ["model"])]),
291
+ default: H(() => [D(h, { model: B(a).routersRaw[0]?.children ?? [] }, null, 8, ["model"])]),
276
292
  _: 1
277
293
  }, 8, ["expanded", "value"]));
278
294
  }
279
- }), [["__scopeId", "data-v-2740d135"]]), kt = /* @__PURE__ */ k({
295
+ }), [["__scopeId", "data-v-8784a0a1"]]), Mt = /* @__PURE__ */ O({
280
296
  __name: "Breadcrumb",
281
297
  setup(e, { expose: t }) {
282
- let n = G(), r = ct(), i = q(), a = C(() => {
298
+ let n = U(), r = dt(), i = G(), a = S(() => {
283
299
  let e = n.matched.map((e) => ({
284
300
  name: e.name,
285
301
  title: e.meta.title
@@ -292,30 +308,243 @@ var Et = W("router", () => {
292
308
  function o(e) {
293
309
  r.push(i.recentRouters.find((t) => t.name === e));
294
310
  }
295
- return t({ items: a }), (e, t) => a.value.length > 0 ? (I(), w(V(Le), {
311
+ return t({ items: a }), (e, t) => a.value.length > 0 ? (F(), C(B(Le), {
296
312
  key: 0,
297
313
  class: "absolute top-px z-10 py-1!"
298
314
  }, {
299
- default: U(() => [(I(!0), E(S, null, R(a.value, (e) => (I(), w(V(Re), {
315
+ default: H(() => [(F(!0), T(pe, null, L(a.value, (e) => (F(), C(B(Re), {
300
316
  key: e.name,
301
317
  disabled: e.disabled,
302
318
  onClick: (t) => o(e.name)
303
319
  }, {
304
- default: U(() => [D(B(e.title), 1)]),
320
+ default: H(() => [E(z(e.title), 1)]),
305
321
  _: 2
306
322
  }, 1032, ["disabled", "onClick"]))), 128))]),
307
323
  _: 1
308
- })) : T("v-if", !0);
324
+ })) : w("v-if", !0);
325
+ }
326
+ }), Nt = {
327
+ name: "zh-cn",
328
+ el: {
329
+ breadcrumb: { label: "面包屑" },
330
+ colorpicker: {
331
+ confirm: "确定",
332
+ clear: "清空",
333
+ defaultLabel: "颜色选择器",
334
+ description: "当前颜色 {color},按 Enter 键选择新颜色",
335
+ alphaLabel: "选择透明度的值",
336
+ alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
337
+ hueLabel: "选择色相值",
338
+ hueDescription: "色相 {hue}, 当前颜色 {color}",
339
+ svLabel: "选择饱和度与明度的值",
340
+ svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
341
+ predefineDescription: "选择 {value} 作为颜色"
342
+ },
343
+ datepicker: {
344
+ now: "此刻",
345
+ today: "今天",
346
+ cancel: "取消",
347
+ clear: "清空",
348
+ confirm: "确定",
349
+ dateTablePrompt: "使用方向键与 Enter 键可选择日期",
350
+ monthTablePrompt: "使用方向键与 Enter 键可选择月份",
351
+ quarterTablePrompt: "使用方向键与 Enter 键可选择季度",
352
+ yearTablePrompt: "使用方向键与 Enter 键可选择年份",
353
+ selectedDate: "已选日期",
354
+ selectDate: "选择日期",
355
+ selectTime: "选择时间",
356
+ startDate: "开始日期",
357
+ startTime: "开始时间",
358
+ endDate: "结束日期",
359
+ endTime: "结束时间",
360
+ prevYear: "前一年",
361
+ nextYear: "后一年",
362
+ prevMonth: "上个月",
363
+ nextMonth: "下个月",
364
+ year: "年",
365
+ month1: "1 月",
366
+ month2: "2 月",
367
+ month3: "3 月",
368
+ month4: "4 月",
369
+ month5: "5 月",
370
+ month6: "6 月",
371
+ month7: "7 月",
372
+ month8: "8 月",
373
+ month9: "9 月",
374
+ month10: "10 月",
375
+ month11: "11 月",
376
+ month12: "12 月",
377
+ weeks: {
378
+ sun: "日",
379
+ mon: "一",
380
+ tue: "二",
381
+ wed: "三",
382
+ thu: "四",
383
+ fri: "五",
384
+ sat: "六"
385
+ },
386
+ weeksFull: {
387
+ sun: "星期日",
388
+ mon: "星期一",
389
+ tue: "星期二",
390
+ wed: "星期三",
391
+ thu: "星期四",
392
+ fri: "星期五",
393
+ sat: "星期六"
394
+ },
395
+ months: {
396
+ jan: "一月",
397
+ feb: "二月",
398
+ mar: "三月",
399
+ apr: "四月",
400
+ may: "五月",
401
+ jun: "六月",
402
+ jul: "七月",
403
+ aug: "八月",
404
+ sep: "九月",
405
+ oct: "十月",
406
+ nov: "十一月",
407
+ dec: "十二月"
408
+ }
409
+ },
410
+ input: { characters: "{count} / {max} 个字符" },
411
+ inputNumber: {
412
+ decrease: "减少数值",
413
+ increase: "增加数值"
414
+ },
415
+ select: {
416
+ loading: "加载中",
417
+ noMatch: "无匹配数据",
418
+ noData: "无数据",
419
+ placeholder: "请选择"
420
+ },
421
+ mention: { loading: "加载中" },
422
+ dropdown: { toggleDropdown: "切换下拉选项" },
423
+ cascader: {
424
+ noMatch: "无匹配数据",
425
+ loading: "加载中",
426
+ placeholder: "请选择",
427
+ noData: "暂无数据"
428
+ },
429
+ pagination: {
430
+ goto: "前往",
431
+ pagesize: "条/页",
432
+ total: "共 {total} 条",
433
+ pageClassifier: "页",
434
+ page: "页",
435
+ prev: "上一页",
436
+ next: "下一页",
437
+ currentPage: "第 {pager} 页",
438
+ prevPages: "向前 {pager} 页",
439
+ nextPages: "向后 {pager} 页",
440
+ deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
441
+ },
442
+ dialog: { close: "关闭此对话框" },
443
+ drawer: { close: "关闭此对话框" },
444
+ messagebox: {
445
+ title: "提示",
446
+ confirm: "确定",
447
+ cancel: "取消",
448
+ error: "输入的数据不合法!",
449
+ close: "关闭此对话框"
450
+ },
451
+ upload: {
452
+ deleteTip: "按 Delete 键可删除",
453
+ delete: "删除",
454
+ preview: "查看图片",
455
+ continue: "继续上传"
456
+ },
457
+ slider: {
458
+ defaultLabel: "滑块介于 {min} 至 {max}",
459
+ defaultRangeStartLabel: "选择起始值",
460
+ defaultRangeEndLabel: "选择结束值"
461
+ },
462
+ table: {
463
+ emptyText: "暂无数据",
464
+ confirmFilter: "筛选",
465
+ resetFilter: "重置",
466
+ clearFilter: "全部",
467
+ sumText: "合计",
468
+ selectAllLabel: "选择所有行",
469
+ selectRowLabel: "选择当前行",
470
+ expandRowLabel: "展开当前行",
471
+ collapseRowLabel: "收起当前行",
472
+ sortLabel: "按 {column} 排序",
473
+ filterLabel: "按 {column} 过滤"
474
+ },
475
+ tag: { close: "关闭此标签" },
476
+ tour: {
477
+ next: "下一步",
478
+ previous: "上一步",
479
+ finish: "结束导览",
480
+ close: "关闭此对话框"
481
+ },
482
+ tree: { emptyText: "暂无数据" },
483
+ transfer: {
484
+ noMatch: "无匹配数据",
485
+ noData: "无数据",
486
+ titles: ["列表 1", "列表 2"],
487
+ filterPlaceholder: "请输入搜索内容",
488
+ noCheckedFormat: "共 {total} 项",
489
+ hasCheckedFormat: "已选 {checked}/{total} 项"
490
+ },
491
+ image: { error: "加载失败" },
492
+ pageHeader: { title: "返回" },
493
+ popconfirm: {
494
+ confirmButtonText: "确定",
495
+ cancelButtonText: "取消"
496
+ },
497
+ carousel: {
498
+ leftArrow: "上一张幻灯片",
499
+ rightArrow: "下一张幻灯片",
500
+ indicator: "幻灯片切换至索引 {index}"
501
+ },
502
+ inputOTP: {
503
+ groupLabel: "一次性密码输入框",
504
+ defaultLabel: "请输入第 {index} 位 OTP 字符"
505
+ }
309
506
  }
310
- }), At = /* @__PURE__ */ function(e) {
507
+ }, Pt = /* @__PURE__ */ O({
508
+ name: "TProvider",
509
+ __name: "Provider",
510
+ setup(t) {
511
+ let n = { table: {
512
+ expandIcon: (t) => t($, {
513
+ shape: "circle",
514
+ variant: "text"
515
+ }, { icon: () => t(e, { icon: "ph:caret-right-bold" }) }),
516
+ sortIcon: (t) => t($, {
517
+ shape: "circle",
518
+ size: "small",
519
+ variant: "text"
520
+ }, { icon: () => t(e, { icon: "heroicons-solid:sort-descending" }) }),
521
+ treeExpandAndFoldIcon: (t, { type: n }) => t($, {
522
+ shape: "circle",
523
+ variant: "text"
524
+ }, { icon: () => t(e, { icon: `ph:caret-${n === "expand" ? "right" : "down"}-bold` }) })
525
+ } };
526
+ return (e, t) => (F(), C(B(_t), {
527
+ "empty-values": [""],
528
+ locale: B(Nt),
529
+ "value-on-clear": "",
530
+ "z-index": 5500
531
+ }, {
532
+ default: H(() => [D(B(Ve), { "global-config": n }, {
533
+ default: H(() => [Te(e.$slots, "default")]),
534
+ _: 3
535
+ })]),
536
+ _: 3
537
+ }, 8, ["locale"]));
538
+ }
539
+ }), Ft = /* @__PURE__ */ function(e) {
311
540
  return e.alert = "alert", e.closeAll = "closeAll", e.confirm = "confirm", e;
312
- }(At || {}), jt = /* @__PURE__ */ new Set();
313
- function Mt(e, t, n) {
314
- let i = C(() => typeof t.body == "function" ? t.body(j) : t.body), a = L(document.activeElement instanceof HTMLElement ? document.activeElement : null), { isVisible: o, stop: s } = Ne(a, {
541
+ }(Ft || {}), It = /* @__PURE__ */ new Set();
542
+ function Lt(e, t, n) {
543
+ let i = S(() => typeof t.body == "function" ? t.body(A) : t.body), a = I(document.activeElement instanceof HTMLElement ? document.activeElement : null), { isVisible: o, stop: s } = Ne(a, {
315
544
  controls: !0,
316
545
  initialValue: !0
317
546
  }), c = {
318
- closeBtn: () => j($, {
547
+ closeBtn: () => A($, {
319
548
  icon: "mdi:close",
320
549
  shape: "circle",
321
550
  size: "small",
@@ -332,33 +561,33 @@ function Mt(e, t, n) {
332
561
  placement: "center",
333
562
  width: "fit-content",
334
563
  ...t ?? {},
335
- body: () => j(ee, {}, { default: () => i.value })
564
+ body: () => A(Pt, {}, { default: () => i.value })
336
565
  }, l, u = {
337
566
  ...c,
338
567
  onClosed: () => {
339
- a.value !== null && o.value && a.value.focus(), s(), c.onClosed?.(), jt.delete(l);
568
+ a.value !== null && o.value && a.value.focus(), s(), c.onClosed?.(), It.delete(l);
340
569
  }
341
570
  };
342
571
  delete u.closeWhenCloseAll;
343
572
  let d = r();
344
- return l = e === void 0 ? He(u, n ?? d) : He[e](u, n ?? d), c.closeWhenCloseAll && jt.add(l), l;
573
+ return l = e === void 0 ? Ue(u, n ?? d) : Ue[e](u, n ?? d), c.closeWhenCloseAll && It.add(l), l;
345
574
  }
346
- var Nt = function(...e) {
347
- return Mt(void 0, ...e);
575
+ var Rt = function(...e) {
576
+ return Lt(void 0, ...e);
348
577
  };
349
- Object.values(At).forEach((e) => {
350
- Nt[e] = e === "closeAll" ? () => {
351
- jt.forEach((e) => {
578
+ Object.values(Ft).forEach((e) => {
579
+ Rt[e] = e === "closeAll" ? () => {
580
+ It.forEach((e) => {
352
581
  e.hide();
353
582
  });
354
- } : (...t) => Mt(e, ...t);
583
+ } : (...t) => Lt(e, ...t);
355
584
  });
356
585
  //#endregion
357
586
  //#region ../../packages/dlzn-ui/plugins/autoImport/$confirm/index.ts
358
- var Pt = (e, t) => {
587
+ var zt = (e, t) => {
359
588
  let n = { ...typeof e == "string" ? {} : e };
360
589
  return delete n.useReject, delete n.onCancelCallback, delete n.onConfirmCallback, new Promise((r, i) => {
361
- let a = Nt(typeof e == "string" ? {
590
+ let a = Rt(typeof e == "string" ? {
362
591
  body: e,
363
592
  onConfirm: () => {
364
593
  a.hide(), r();
@@ -381,81 +610,81 @@ var Pt = (e, t) => {
381
610
  }
382
611
  }), t);
383
612
  });
384
- }, Ft = /* @__PURE__ */ new Map();
385
- function It(e) {
386
- let t = X.Post("system/user/listByIds", { userIds: e }, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
613
+ }, Bt = /* @__PURE__ */ new Map();
614
+ function Vt(e) {
615
+ let t = Y.Post("system/user/listByIds", { userIds: e }, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
387
616
  ...e,
388
617
  label: e.userName,
389
618
  value: e.userId
390
619
  })));
391
620
  e.forEach((e) => {
392
- Ft.set(e, t.then((t) => t.find((t) => t.value === e)));
621
+ Bt.set(e, t.then((t) => t.find((t) => t.value === e)));
393
622
  });
394
623
  }
395
- var Lt = [];
396
- function Rt(e) {
397
- return Lt.includes(e) || Lt.push(e), new Promise((t) => {
624
+ var Ht = [];
625
+ function Ut(e) {
626
+ return Ht.includes(e) || Ht.push(e), new Promise((t) => {
398
627
  setTimeout(() => {
399
- let n = Lt.filter((e) => !Ft.has(e));
400
- n.length > 0 && It(n), Lt.length = 0, Ft.get(e).then((e) => {
628
+ let n = Ht.filter((e) => !Bt.has(e));
629
+ n.length > 0 && Vt(n), Ht.length = 0, Bt.get(e).then((e) => {
401
630
  t(e);
402
631
  });
403
632
  });
404
633
  });
405
634
  }
406
- var J = /* @__PURE__ */ new Map();
407
- function zt() {
408
- Lt.length = 0, Ft.clear(), J.clear();
635
+ var K = /* @__PURE__ */ new Map();
636
+ function Wt() {
637
+ Ht.length = 0, Bt.clear(), K.clear();
409
638
  }
410
- function Bt(e) {
411
- Ft.delete(e), J.has(e) && Rt(e).then((t) => {
412
- J.get(e).value = t;
639
+ function Gt(e) {
640
+ Bt.delete(e), K.has(e) && Ut(e).then((t) => {
641
+ K.get(e).value = t;
413
642
  });
414
643
  }
415
- function Vt(e) {
644
+ function Kt(e) {
416
645
  let t;
417
- return J.has(e) ? t = J.get(e) : (t = L(null), J.set(e, t), Rt(e).then((e) => {
646
+ return K.has(e) ? t = K.get(e) : (t = I(null), K.set(e, t), Ut(e).then((e) => {
418
647
  t.value = e;
419
648
  })), t;
420
649
  }
421
650
  //#endregion
422
651
  //#region ../../packages/dlzn-ui/store/modules/login.ts
423
- function Ht(e) {
424
- return X.Post("login", e, { meta: {
652
+ function qt(e) {
653
+ return Y.Post("login", e, { meta: {
425
654
  useLoading: "登录中...",
426
655
  useToken: !1
427
656
  } });
428
657
  }
429
- function Ut() {
430
- return X.Post("logout", void 0, { meta: {
658
+ function Jt() {
659
+ return Y.Post("logout", void 0, { meta: {
431
660
  useLoading: "退出登录中...",
432
661
  useSuccessMsg: !0
433
662
  } });
434
663
  }
435
- var Wt = W("login", () => {
436
- let e = L(""), t = G(), n = ct();
664
+ var Yt = ct("login", () => {
665
+ let e = I(""), t = U(), n = dt();
437
666
  async function r(t) {
438
- let n = await Ht(t);
667
+ let n = await qt(t);
439
668
  e.value = n.token, await Q().getUserInfo();
440
669
  }
441
670
  function i() {
442
- e.value = "", u().clear(), Et().clear(), Q().clear(), an(), zt(), ne();
671
+ e.value = "", u().clear(), kt().clear(), Q().clear(), fn(), Wt(), ne();
443
672
  }
444
- H(() => t.name, () => {
673
+ V(() => t.name, () => {
445
674
  t.name === "Login" && i();
446
675
  });
447
676
  async function a() {
448
- await Ut(), await n.push({ name: "Login" }), i();
677
+ await Jt(), await n.push({ name: "Login" }), i();
449
678
  }
450
679
  return {
451
680
  login: r,
452
681
  logout: a,
453
682
  token: e
454
683
  };
455
- }, { persist: { pick: ["token"] } }), Gt = { class: "flex items-center justify-between" }, Kt = /*#__PURE__*/ f(/* @__PURE__ */ k({
684
+ }, { persist: { pick: ["token"] } }), Xt = { class: "flex items-center justify-between" }, Zt = /*#__PURE__*/ f(/* @__PURE__ */ O({
456
685
  __name: "Header",
457
686
  setup(t) {
458
- let n = G(), r = ct(), i = Q(), a = K(), o = q();
687
+ let n = U(), r = dt(), i = Q(), a = W(), o = G();
459
688
  function s(e) {
460
689
  r.push(o.recentRouters.find((t) => t.name === e));
461
690
  }
@@ -464,7 +693,7 @@ var Wt = W("login", () => {
464
693
  }
465
694
  let u = async (e) => {
466
695
  let { value: t } = e;
467
- t === "profile" ? r.push({ name: "Profile" }) : t === "logout" && (await Pt("确定要退出登录吗?"), Wt().logout());
696
+ t === "profile" ? r.push({ name: "Profile" }) : t === "logout" && (await zt("确定要退出登录吗?"), Yt().logout());
468
697
  }, d = l.isMd;
469
698
  function f(e, t) {
470
699
  let i = [], a = o.recentRouters, s = a.findIndex((e) => e.name === t), l = a.findIndex((e) => e.name === n.name), u = a[s];
@@ -486,25 +715,25 @@ var Wt = W("login", () => {
486
715
  onClick: () => {
487
716
  l > s && r.push(u), o.recentRouters = o.recentRouters.slice(0, s + 1);
488
717
  }
489
- }), h(e, i);
718
+ }), ee(e, i);
490
719
  }
491
- return (t, r) => (I(), w(V(Je), { class: "border-b border-b-(--td-border-level-2-color)" }, {
492
- default: U(() => [O(V(qe), {
720
+ return (t, r) => (F(), C(B(Xe), { class: "border-b border-b-(--td-border-level-2-color)" }, {
721
+ default: H(() => [D(B(Ye), {
493
722
  "expand-type": "popup",
494
- value: V(n).name,
723
+ value: B(n).name,
495
724
  onChange: s
496
725
  }, {
497
- logo: U(() => [O(V($), {
726
+ logo: H(() => [D(B($), {
498
727
  class: "ml-0! shrink-0",
499
728
  shape: "circle",
500
729
  size: "large",
501
730
  variant: "text",
502
- onClick: r[0] ||= (e) => V(a).drawerOpen = !V(a).drawerOpen
731
+ onClick: r[0] ||= (e) => B(a).drawerOpen = !B(a).drawerOpen
503
732
  }, {
504
- default: U(() => [O(V(e), { icon: "lineicons:menu-hamburger-1" })]),
733
+ default: H(() => [D(B(e), { icon: "lineicons:menu-hamburger-1" })]),
505
734
  _: 1
506
735
  })]),
507
- operations: U(() => [O(V(We), {
736
+ operations: H(() => [D(B(Ke), {
508
737
  options: [{
509
738
  content: "个人中心",
510
739
  value: "profile"
@@ -516,36 +745,36 @@ var Wt = W("login", () => {
516
745
  trigger: "click",
517
746
  onClick: u
518
747
  }, {
519
- default: U(() => [V(d) ? (I(), w(V($), {
748
+ default: H(() => [B(d) ? (F(), C(B($), {
520
749
  key: 0,
521
750
  shape: "square",
522
751
  variant: "text"
523
752
  }, {
524
- icon: U(() => [O(V(e), { icon: "material-symbols:account-circle" })]),
753
+ icon: H(() => [D(B(e), { icon: "material-symbols:account-circle" })]),
525
754
  _: 1
526
- })) : (I(), w(V($), {
755
+ })) : (F(), C(B($), {
527
756
  key: 1,
528
757
  variant: "text"
529
758
  }, {
530
- icon: U(() => [O(V(e), {
759
+ icon: H(() => [D(B(e), {
531
760
  class: "mr-2!",
532
761
  icon: "material-symbols:account-circle"
533
762
  })]),
534
- suffix: U(() => [O(V(e), {
763
+ suffix: H(() => [D(B(e), {
535
764
  icon: "icon-park-outline:down",
536
765
  size: "18"
537
766
  })]),
538
- default: U(() => [D(" " + B(V(i).userInfo.userName) + " ", 1)]),
767
+ default: H(() => [E(" " + z(B(i).userInfo.userName) + " ", 1)]),
539
768
  _: 1
540
769
  }))]),
541
770
  _: 1
542
771
  })]),
543
- default: U(() => [(I(!0), E(S, null, R(V(o).recentRouters, (t) => (I(), w(V(Qe), {
772
+ default: H(() => [(F(!0), T(pe, null, L(B(o).recentRouters, (t) => (F(), C(B(et), {
544
773
  key: t.name,
545
774
  value: t.name,
546
775
  onContextmenu: (e) => f(e, t.name)
547
776
  }, {
548
- default: U(() => [he("div", Gt, [he("span", null, B(V(Yt)(t.name).meta.title), 1), V(o).recentRouters.length > 1 ? (I(), w(V($), {
777
+ default: H(() => [he("div", Xt, [he("span", null, z(B(J)(t.name).meta.title), 1), B(o).recentRouters.length > 1 ? (F(), C(B($), {
549
778
  key: 0,
550
779
  class: "ml-1!",
551
780
  shape: "square",
@@ -553,12 +782,12 @@ var Wt = W("login", () => {
553
782
  variant: "text",
554
783
  onClick: je((e) => c(t.name), ["stop"])
555
784
  }, {
556
- icon: U(() => [O(V(e), {
785
+ icon: H(() => [D(B(e), {
557
786
  icon: "material-symbols:close",
558
787
  style: { "font-size": "12px !important" }
559
788
  })]),
560
789
  _: 1
561
- }, 8, ["onClick"])) : T("v-if", !0)])]),
790
+ }, 8, ["onClick"])) : w("v-if", !0)])]),
562
791
  _: 2
563
792
  }, 1032, ["value", "onContextmenu"]))), 128))]),
564
793
  _: 1
@@ -566,40 +795,40 @@ var Wt = W("login", () => {
566
795
  _: 1
567
796
  }));
568
797
  }
569
- }), [["__scopeId", "data-v-cdf58b1a"]]), qt = /*#__PURE__*/ f(/* @__PURE__ */ k({
798
+ }), [["__scopeId", "data-v-cdf58b1a"]]), Qt = /*#__PURE__*/ f(/* @__PURE__ */ O({
570
799
  __name: "Index",
571
800
  setup(e) {
572
- let t = G(), n = K(), r = q(), i = u(), a = C(() => r.recentRouters.filter((e) => Yt(e.name).meta.noCache === !1).map((e) => e.name)), o = Ae("breadcrumb"), s = C(() => (o.value?.items.length ?? 0) > 0), d = C(() => l.isMd.value ? { "p-2": !0 } : { "p-3": !0 }), f = l.isMd, p = Ae("contentRef"), { height: m } = Me(p);
801
+ let t = U(), n = W(), r = G(), i = u(), a = S(() => r.recentRouters.filter((e) => J(e.name).meta.noCache === !1).map((e) => e.name)), o = Ae("breadcrumb"), s = S(() => (o.value?.items.length ?? 0) > 0), d = S(() => l.isMd.value ? { "p-2": !0 } : { "p-3": !0 }), f = l.isMd, p = Ae("contentRef"), { height: m } = Me(p);
573
802
  function h({ size: e }) {
574
803
  n.drawerSize = e;
575
804
  }
576
- let ee = C(() => t.meta.fullScreen);
805
+ let ee = S(() => t.meta.fullScreen);
577
806
  return (e, t) => {
578
807
  let r = Ee("RouterView");
579
- return ee.value ? (I(), w(r, { key: 0 }, {
580
- default: U(({ Component: e }) => [(I(), w(z(e)))]),
808
+ return ee.value ? (F(), C(r, { key: 0 }, {
809
+ default: H(({ Component: e }) => [(F(), C(R(e)))]),
581
810
  _: 1
582
- })) : (I(), w(V(Xe), {
811
+ })) : (F(), C(B(Qe), {
583
812
  key: 1,
584
813
  class: "h-full"
585
814
  }, {
586
- default: U(() => [
587
- O(Kt),
588
- O(V(Ue), {
589
- visible: V(n).drawerOpen,
590
- "onUpdate:visible": t[0] ||= (e) => V(n).drawerOpen = e,
815
+ default: H(() => [
816
+ D(Zt),
817
+ D(B(We), {
818
+ visible: B(n).drawerOpen,
819
+ "onUpdate:visible": t[0] ||= (e) => B(n).drawerOpen = e,
591
820
  footer: !1,
592
- mode: V(f) ? "overlay" : "push",
821
+ mode: B(f) ? "overlay" : "push",
593
822
  placement: "left",
594
- "show-overlay": V(f),
595
- size: V(f) ? "200px" : `${V(n).drawerSize}px`,
823
+ "show-overlay": B(f),
824
+ size: B(f) ? "200px" : `${B(n).drawerSize}px`,
596
825
  "size-draggable": {
597
826
  max: 450,
598
827
  min: 180
599
828
  },
600
829
  onSizeDragEnd: h
601
830
  }, {
602
- default: U(() => [O(Ot, { class: "no_drawer_body_padding" })]),
831
+ default: H(() => [D(jt, { class: "no_drawer_body_padding" })]),
603
832
  _: 1
604
833
  }, 8, [
605
834
  "visible",
@@ -607,12 +836,12 @@ var Wt = W("login", () => {
607
836
  "show-overlay",
608
837
  "size"
609
838
  ]),
610
- O(V(Ve), {
839
+ D(B(He), {
611
840
  ref_key: "contentRef",
612
841
  ref: p,
613
842
  class: "overflow-hidden"
614
843
  }, {
615
- default: U(() => [O(V(c), {
844
+ default: H(() => [D(B(c), {
616
845
  always: "",
617
846
  "view-class": xe(["relative flex flex-col", {
618
847
  ...d.value,
@@ -620,14 +849,14 @@ var Wt = W("login", () => {
620
849
  }]),
621
850
  "view-style": {
622
851
  minWidth: "1200px",
623
- minHeight: `${Math.max(V(m), 438)}px`
852
+ minHeight: `${Math.max(B(m), 438)}px`
624
853
  }
625
854
  }, {
626
- default: U(() => [O(kt, { ref: "breadcrumb" }, null, 512), O(r, null, {
627
- default: U(({ Component: e }) => [(I(), w(me, {
628
- exclude: V(i).excludeKPname,
855
+ default: H(() => [D(Mt, { ref: "breadcrumb" }, null, 512), D(r, null, {
856
+ default: H(({ Component: e }) => [(F(), C(me, {
857
+ exclude: B(i).excludeKPname,
629
858
  include: a.value
630
- }, [(I(), w(z(e), { class: "flex-auto" }))], 1032, ["exclude", "include"]))]),
859
+ }, [(F(), C(R(e), { class: "flex-auto" }))], 1032, ["exclude", "include"]))]),
631
860
  _: 1
632
861
  })]),
633
862
  _: 1
@@ -639,10 +868,38 @@ var Wt = W("login", () => {
639
868
  }));
640
869
  };
641
870
  }
642
- }), [["__scopeId", "data-v-0f5b5eef"]]);
871
+ }), [["__scopeId", "data-v-0f5b5eef"]]), $t = /* @__PURE__ */ new Set();
872
+ function en(e, t) {
873
+ let n = S(() => typeof e.body == "function" ? e.body(A) : e.body), i = {
874
+ attach: "#app",
875
+ closeOnEscKeydown: !1,
876
+ closeOnOverlayClick: !1,
877
+ closeWhenCloseAll: !0,
878
+ destroyOnClose: !0,
879
+ header: !1,
880
+ lazy: !0,
881
+ sizeDraggable: !0,
882
+ ...e ?? {},
883
+ body: () => A(Pt, {}, { default: () => n.value })
884
+ }, a, o = {
885
+ ...i,
886
+ onClose: (e) => {
887
+ i.onClose?.(e), $t.delete(a);
888
+ }
889
+ };
890
+ return delete o.closeWhenCloseAll, a = Ge(o, t ?? r()), i.closeWhenCloseAll && $t.add(a), a;
891
+ }
892
+ var tn = function(...e) {
893
+ return en(...e);
894
+ };
895
+ tn.closeAll = () => {
896
+ $t.forEach((e) => {
897
+ e.hide?.();
898
+ });
899
+ };
643
900
  //#endregion
644
901
  //#region ../../packages/dlzn-ui/router/index.ts
645
- function Jt() {
902
+ function nn() {
646
903
  return {
647
904
  children: [{
648
905
  children: [{
@@ -670,15 +927,15 @@ function Jt() {
670
927
  name: "Home",
671
928
  path: "home"
672
929
  }],
673
- component: qt,
930
+ component: Qt,
674
931
  name: "Index",
675
932
  path: "/"
676
933
  };
677
934
  }
678
- var Y = ot({
679
- history: st(VITE_BASE_URL),
935
+ var q = lt({
936
+ history: ut(VITE_BASE_URL),
680
937
  routes: [
681
- Jt(),
938
+ nn(),
682
939
  {
683
940
  component: s["./Login.vue"],
684
941
  meta: {
@@ -709,16 +966,16 @@ var Y = ot({
709
966
  sensitive: !0,
710
967
  strict: !0
711
968
  });
712
- Y.beforeEach(async (e) => {
713
- if (e.query._fromLeftTree === "true" && u().add(e.name), e.name !== "Login") return Wt().token === "" ? { name: "Login" } : Et().routersRaw.length > 0 ? void 0 : (await Q().getUserInfo(), Y.resolve({
969
+ q.beforeEach(async (e) => {
970
+ if (e.query._fromLeftTree === "true" && u().add(e.name), e.name !== "Login") return Yt().token === "" ? { name: "Login" } : kt().routersRaw.length > 0 ? void 0 : (await Q().getUserInfo(), q.resolve({
714
971
  path: e.path,
715
972
  query: e.query
716
973
  }));
717
- }), Y.afterEach((e, t, n) => {
718
- Nt.closeAll(), re.closeAll();
974
+ }), q.afterEach((e, t, n) => {
975
+ Rt.closeAll(), tn.closeAll();
719
976
  let { meta: r, name: i } = e, { fullScreen: a, parentName: o, title: s } = r;
720
- document.title = s || K().appInfo.appName;
721
- let c = q();
977
+ document.title = s || W().appInfo.appName;
978
+ let c = G();
722
979
  if (!["Login", "NotFound"].includes(i) && !a) {
723
980
  let n = o === t.name || e.query._fromLeftTree !== "true" ? t.name : void 0;
724
981
  c.add(n, {
@@ -728,27 +985,27 @@ Y.beforeEach(async (e) => {
728
985
  }
729
986
  u().remove(i);
730
987
  });
731
- function Yt(e) {
732
- if (Y.hasRoute(e)) return Y.getRoutes().find((t) => t.name === e);
988
+ function J(e) {
989
+ if (q.hasRoute(e)) return q.getRoutes().find((t) => t.name === e);
733
990
  }
734
991
  //#endregion
735
992
  //#region ../../packages/dlzn-ui/plugins/autoImport/$alova/index.ts
736
- var Xt = 15e3, Zt = "网络错误,请稍后再试";
737
- function Qt(e, t = !0) {
993
+ var rn = 15e3, an = "网络错误,请稍后再试";
994
+ function on(e, t = !0) {
738
995
  let n = {};
739
996
  return Object.keys(e).forEach((r) => {
740
997
  (!t || (Array.isArray(e[r]) ? e[r].length > 0 : !_(e[r]))) && (n[r] = e[r]);
741
998
  }), n;
742
999
  }
743
- function $t(e, t = !0) {
744
- return new URLSearchParams(Qt(e, t)).toString();
1000
+ function sn(e, t = !0) {
1001
+ return new URLSearchParams(on(e, t)).toString();
745
1002
  }
746
- var X = ut({
1003
+ var Y = pt({
747
1004
  baseURL: VITE_BASE_URL,
748
1005
  beforeRequest(e) {
749
1006
  e.config.credentials = e.config.credentials ?? "omit";
750
1007
  let [t, ...n] = VITE_API_PREFIX_ARRAY;
751
- !e.url.startsWith("http") && !n.some((t) => pt.join("/", e.url).startsWith(pt.join("/", t, "/"))) && (e.url = pt.join(t, e.url)), e.meta = {
1008
+ !e.url.startsWith("http") && !n.some((t) => gt.join("/", e.url).startsWith(gt.join("/", t, "/"))) && (e.url = gt.join(t, e.url)), e.meta = {
752
1009
  use600Alert: !0,
753
1010
  useDataResult: !0,
754
1011
  useDownload: !1,
@@ -765,10 +1022,10 @@ var X = ut({
765
1022
  useToken: !0,
766
1023
  ...e.meta ?? {}
767
1024
  };
768
- let r = Wt(), { useEmptyData: a, useEmptyParams: o, useFormData: s, useInPolling: c, useLoading: l, useResponseBlob: u, useToken: d } = e.meta;
769
- c || K().requestActive(), d && (r.token ? e.config.headers.Authorization = r.token : e.abort()), l !== !1 && i.show(l === !0 ? void 0 : l);
1025
+ let r = Yt(), { useEmptyData: a, useEmptyParams: o, useFormData: s, useInPolling: c, useLoading: l, useResponseBlob: u, useToken: d } = e.meta;
1026
+ c || W().requestActive(), d && (r.token ? e.config.headers.Authorization = r.token : e.abort()), l !== !1 && i.show(l === !0 ? void 0 : l);
770
1027
  let f = e.config.params;
771
- if (typeof f != "string" && (e.config.params = $t(f, o)), a && at(e.data)) {
1028
+ if (typeof f != "string" && (e.config.params = sn(f, o)), a && st(e.data)) {
772
1029
  let t = {}, n = e.data;
773
1030
  Object.keys(n).forEach((e) => {
774
1031
  _(n[e]) || (t[e] = n[e]);
@@ -780,10 +1037,10 @@ var X = ut({
780
1037
  t.append(n, e.data[n]);
781
1038
  }), e.data = t;
782
1039
  }
783
- e.config.timeout === Xt && (s || e.data instanceof FormData || u) && (e.config.timeout = 0);
1040
+ e.config.timeout === rn && (s || e.data instanceof FormData || u) && (e.config.timeout = 0);
784
1041
  },
785
1042
  cacheFor: null,
786
- requestAdapter: dt(),
1043
+ requestAdapter: mt(),
787
1044
  responded: {
788
1045
  onComplete: (e) => {
789
1046
  e.meta.useLoading !== !1 && i.hide();
@@ -795,7 +1052,7 @@ var X = ut({
795
1052
  if (t.toLowerCase().includes("abort")) return Promise.reject(e);
796
1053
  if (t.toLowerCase().includes("timeout")) return n && o.error("请求超时"), Promise.reject(e);
797
1054
  }
798
- return n && o.error(Zt), Promise.reject(e);
1055
+ return n && o.error(an), Promise.reject(e);
799
1056
  },
800
1057
  onSuccess: async (e, t) => {
801
1058
  if (typeof e == "string") return e;
@@ -806,7 +1063,7 @@ var X = ut({
806
1063
  403: "当前操作没有权限",
807
1064
  404: "访问资源不存在",
808
1065
  500: "服务不可用,请稍后再试或联系管理员!"
809
- }[m] ?? Zt;
1066
+ }[m] ?? an;
810
1067
  o.error(e);
811
1068
  }
812
1069
  return Promise.reject(e);
@@ -847,11 +1104,11 @@ var X = ut({
847
1104
  if (e >= 400) {
848
1105
  if (e === 600) {
849
1106
  if (!s) return h;
850
- } else e === 401 && d ? Y.push({ name: "Login" }) : a !== !1 && o.error(a === !0 ? n : a);
1107
+ } else e === 401 && d ? q.push({ name: "Login" }) : a !== !1 && o.error(a === !0 ? n : a);
851
1108
  return Promise.reject(h);
852
1109
  }
853
1110
  {
854
- let i = lt.alovaResCodeSuccessCb?.({
1111
+ let i = ft.alovaResCodeSuccessCb?.({
855
1112
  code: e,
856
1113
  data: t,
857
1114
  msg: n
@@ -863,11 +1120,11 @@ var X = ut({
863
1120
  }
864
1121
  },
865
1122
  shareRequest: !1,
866
- statesHook: ft,
867
- timeout: Xt
868
- }), en = /* @__PURE__ */ new Map();
869
- function tn(e) {
870
- let t = X.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
1123
+ statesHook: ht,
1124
+ timeout: rn
1125
+ }), cn = /* @__PURE__ */ new Map();
1126
+ function ln(e) {
1127
+ let t = Y.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
871
1128
  cssClass: e.cssClass,
872
1129
  dictType: e.dictType,
873
1130
  label: e.dictLabel,
@@ -875,27 +1132,27 @@ function tn(e) {
875
1132
  value: e.dictValue
876
1133
  })));
877
1134
  e.forEach((e) => {
878
- en.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1135
+ cn.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
879
1136
  });
880
1137
  }
881
- var nn = [];
882
- function rn(e) {
883
- return nn.includes(e) || nn.push(e), new Promise((t) => {
1138
+ var un = [];
1139
+ function dn(e) {
1140
+ return un.includes(e) || un.push(e), new Promise((t) => {
884
1141
  setTimeout(() => {
885
- let n = nn.filter((e) => !en.has(e));
886
- n.length > 0 && tn(n), nn.length = 0, en.get(e).then((e) => {
1142
+ let n = un.filter((e) => !cn.has(e));
1143
+ n.length > 0 && ln(n), un.length = 0, cn.get(e).then((e) => {
887
1144
  t(e);
888
1145
  });
889
1146
  });
890
1147
  });
891
1148
  }
892
- var Z = /* @__PURE__ */ new Map();
893
- function an() {
894
- nn.length = 0, en.clear(), Z.clear();
1149
+ var X = /* @__PURE__ */ new Map();
1150
+ function fn() {
1151
+ un.length = 0, cn.clear(), X.clear();
895
1152
  }
896
- function on(e, t) {
897
- let n = sn(e);
898
- return C(() => {
1153
+ function pn(e, t) {
1154
+ let n = Z(e);
1155
+ return S(() => {
899
1156
  if (t === void 0) return n.value.map((e) => e.label);
900
1157
  if (Array.isArray(t)) return n.value.length === 0 ? [] : t.map((e) => n.value.find((t) => String(t.value) === String(e))?.label ?? y(e));
901
1158
  if (n.value.length === 0) return "";
@@ -906,20 +1163,20 @@ function on(e, t) {
906
1163
  return n.value.find((e) => String(e.value) === String(t))?.label ?? y(t);
907
1164
  });
908
1165
  }
909
- function sn(e, t) {
1166
+ function Z(e, t) {
910
1167
  let n;
911
- return Z.has(e) ? n = Z.get(e) : (n = L([]), Z.set(e, n), rn(e).then((e) => {
1168
+ return X.has(e) ? n = X.get(e) : (n = I([]), X.set(e, n), dn(e).then((e) => {
912
1169
  n.value = e;
913
- })), C(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
1170
+ })), S(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
914
1171
  }
915
- function cn(e) {
916
- en.delete(e), Z.has(e) && rn(e).then((t) => {
917
- Z.get(e).value = t;
1172
+ function mn(e) {
1173
+ cn.delete(e), X.has(e) && dn(e).then((t) => {
1174
+ X.get(e).value = t;
918
1175
  });
919
1176
  }
920
1177
  //#endregion
921
1178
  //#region ../../packages/dlzn-ui/components/checkbox-group/src/checkbox-group.vue
922
- var ln = /* @__PURE__ */ k({
1179
+ var hn = /* @__PURE__ */ O({
923
1180
  inheritAttrs: !1,
924
1181
  name: "TCheckboxGroup",
925
1182
  __name: "checkbox-group",
@@ -946,17 +1203,17 @@ var ln = /* @__PURE__ */ k({
946
1203
  },
947
1204
  emits: ["update:modelValue"],
948
1205
  setup(e, { emit: t }) {
949
- let r = e, i = t, a = Be, o = A();
1206
+ let r = e, i = t, a = Be, o = k();
950
1207
  function s(e) {
951
1208
  o.exposed = e ?? {};
952
1209
  }
953
- let c = C(() => {
1210
+ let c = S(() => {
954
1211
  let e;
955
- return r.dicCode ? (r.options && n.error("TCheckboxGroup: dicCode and options cannot be used together"), e = sn(r.dicCode).value) : e = typeof r.options == "string" ? x(r.options).value : r.options, r.showCheckAll && (e === void 0 ? n.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1212
+ return r.dicCode ? (r.options && n.error("TCheckboxGroup: dicCode and options cannot be used together"), e = Z(r.dicCode).value) : e = typeof r.options == "string" ? x(r.options).value : r.options, r.showCheckAll && (e === void 0 ? n.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
956
1213
  checkAll: !0,
957
1214
  label: "全选"
958
1215
  })), e;
959
- }), l = C(() => {
1216
+ }), l = S(() => {
960
1217
  if (!Array.isArray(r.modelValue)) n.error("TCheckboxGroup: modelValue must be an array");
961
1218
  else if (c.value !== void 0) {
962
1219
  let e = c.value.every((e) => typeof (e.value ?? e) == "string"), t = c.value.every((e) => typeof (e.value ?? e) == "number");
@@ -964,13 +1221,13 @@ var ln = /* @__PURE__ */ k({
964
1221
  if (t) return r.modelValue.map((e) => v(e) ? Number(e) : e);
965
1222
  }
966
1223
  return r.modelValue;
967
- }), u = C(() => {
1224
+ }), u = S(() => {
968
1225
  let e = { ...r };
969
1226
  return delete e.dicCode, delete e.showCheckAll, Object.keys(e).forEach((t) => {
970
1227
  e[t] === void 0 && delete e[t];
971
1228
  }), e;
972
1229
  });
973
- return (e, t) => (I(), w(z(j(V(a), N(e.$attrs, {
1230
+ return (e, t) => (F(), C(R(A(B(a), M(e.$attrs, {
974
1231
  ...u.value,
975
1232
  options: c.value,
976
1233
  modelValue: l.value,
@@ -980,10 +1237,10 @@ var ln = /* @__PURE__ */ k({
980
1237
  ref: s
981
1238
  }), e.$slots))));
982
1239
  }
983
- }), un = /* @__PURE__ */ k({
1240
+ }), gn = /* @__PURE__ */ O({
984
1241
  inheritAttrs: !1,
985
1242
  __name: "cron",
986
- props: /*@__PURE__*/ M({
1243
+ props: /*@__PURE__*/ j({
987
1244
  modelValue: {},
988
1245
  adornment: {},
989
1246
  align: {},
@@ -1028,19 +1285,19 @@ var ln = /* @__PURE__ */ k({
1028
1285
  onPaste: { type: Function },
1029
1286
  onValidate: { type: Function },
1030
1287
  onWheel: { type: Function }
1031
- }, ie),
1288
+ }, re),
1032
1289
  emits: ["update:modelValue"],
1033
1290
  setup(e, { emit: t }) {
1034
- let n = e, r = t, i = ye("isFormDisabled", C(() => !1)), a = ye("isFormReadonly", C(() => !1)), o = C(() => {
1291
+ let n = e, r = t, i = ye("isFormDisabled", S(() => !1)), a = ye("isFormReadonly", S(() => !1)), o = S(() => {
1035
1292
  let e = n.disabled ?? i.value, t = n.readonly ?? a.value;
1036
1293
  return {
1037
1294
  ...n,
1038
- adornment: { append: () => j($, {
1295
+ adornment: { append: () => A($, {
1039
1296
  default: "cron",
1040
1297
  onClick: () => {
1041
- let i = L(null);
1042
- Pt({
1043
- body: () => j(_e(() => import("../components/cron/src/Picker.mjs")), {
1298
+ let i = I(null);
1299
+ zt({
1300
+ body: () => A(_e(() => import("../components/cron/src/Picker.mjs")), {
1044
1301
  disabled: e,
1045
1302
  modelValue: n.modelValue,
1046
1303
  onVnodeMounted: (e) => {
@@ -1062,20 +1319,20 @@ var ln = /* @__PURE__ */ k({
1062
1319
  variant: "text"
1063
1320
  }) }
1064
1321
  };
1065
- }), s = Oe(), c = A();
1322
+ }), s = Oe(), c = k();
1066
1323
  function l(e) {
1067
1324
  c.exposed = e ?? {};
1068
1325
  }
1069
- let u = C(() => N(s, {
1326
+ let u = S(() => M(s, {
1070
1327
  ...o.value,
1071
1328
  onChange: (...e) => {
1072
1329
  r("update:modelValue", e[0]), n.onChange?.(...e);
1073
1330
  },
1074
1331
  ref: l
1075
1332
  }));
1076
- return (e, t) => (I(), w(V(ae), F(ve(u.value)), null, 16));
1333
+ return (e, t) => (F(), C(B(ie), P(ve(u.value)), null, 16));
1077
1334
  }
1078
- }), dn = /* @__PURE__ */ k({
1335
+ }), _n = /* @__PURE__ */ O({
1079
1336
  inheritAttrs: !1,
1080
1337
  name: "TRadioGroup",
1081
1338
  __name: "radio-group",
@@ -1105,16 +1362,16 @@ var ln = /* @__PURE__ */ k({
1105
1362
  },
1106
1363
  emits: ["update:modelValue"],
1107
1364
  setup(e, { emit: t }) {
1108
- let r = e, i = t, a = $e, o = A();
1365
+ let r = e, i = t, a = tt, o = k();
1109
1366
  function s(e) {
1110
1367
  o.exposed = e ?? {};
1111
1368
  }
1112
- let c = C(() => r.dicCode ? (r.options && n.error("TRadioGroup: dicCode and options cannot be used together"), sn(r.dicCode).value) : typeof r.options == "string" ? x(r.options).value : r.options), l = C(() => {
1369
+ let c = S(() => r.dicCode ? (r.options && n.error("TRadioGroup: dicCode and options cannot be used together"), Z(r.dicCode).value) : typeof r.options == "string" ? x(r.options).value : r.options), l = S(() => {
1113
1370
  let e = { ...r };
1114
1371
  return delete e.dicCode, Object.keys(e).forEach((t) => {
1115
1372
  e[t] === void 0 && delete e[t];
1116
1373
  }), e;
1117
- }), u = C(() => {
1374
+ }), u = S(() => {
1118
1375
  if (c.value !== void 0 && !_(r.modelValue)) {
1119
1376
  let e = c.value.every((e) => typeof (e.value ?? e) == "string"), t = c.value.every((e) => typeof (e.value ?? e) == "number");
1120
1377
  if (e) return y(r.modelValue);
@@ -1122,18 +1379,18 @@ var ln = /* @__PURE__ */ k({
1122
1379
  }
1123
1380
  return r.modelValue;
1124
1381
  });
1125
- return (e, t) => (I(), w(z(j(V(a), N(e.$attrs, {
1382
+ return (e, t) => (F(), C(R(A(B(a), M(e.$attrs, {
1126
1383
  ...l.value,
1127
1384
  options: c.value,
1128
1385
  modelValue: u.value,
1129
1386
  onChange: (...e) => {
1130
- let [t, ...n] = e, a = V(_)(t) ? "" : t;
1387
+ let [t, ...n] = e, a = B(_)(t) ? "" : t;
1131
1388
  i("update:modelValue", a), r.onChange?.(a, ...n);
1132
1389
  },
1133
1390
  ref: s
1134
1391
  }), e.$slots))));
1135
1392
  }
1136
- }), fn = {
1393
+ }), vn = {
1137
1394
  clearable: !0,
1138
1395
  disabled: void 0,
1139
1396
  filterable: void 0,
@@ -1154,11 +1411,11 @@ var ln = /* @__PURE__ */ k({
1154
1411
  }),
1155
1412
  showArrow: !0,
1156
1413
  showCheckAll: !1
1157
- }, pn = /* @__PURE__ */ k({
1414
+ }, yn = /* @__PURE__ */ O({
1158
1415
  inheritAttrs: !1,
1159
1416
  name: "TSelect",
1160
1417
  __name: "select",
1161
- props: /*@__PURE__*/ M({
1418
+ props: /*@__PURE__*/ j({
1162
1419
  adornment: {},
1163
1420
  dicCode: {},
1164
1421
  modelValue: {},
@@ -1218,19 +1475,19 @@ var ln = /* @__PURE__ */ k({
1218
1475
  onPopupVisibleChange: { type: Function },
1219
1476
  onRemove: { type: Function },
1220
1477
  onSearch: { type: Function }
1221
- }, fn),
1478
+ }, vn),
1222
1479
  setup(e) {
1223
- let t = e, r = et, i = A();
1480
+ let t = e, r = nt, i = k();
1224
1481
  function a(e) {
1225
1482
  i.exposed = e ?? {};
1226
1483
  }
1227
- let o = C(() => {
1484
+ let o = S(() => {
1228
1485
  let e;
1229
- return t.dicCode === void 0 ? e = typeof t.options == "string" ? x(t.options).value : t.options : (t.options && n.error("TSelect: dicCode and options cannot be used together"), e = sn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? n.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1486
+ return t.dicCode === void 0 ? e = typeof t.options == "string" ? x(t.options).value : t.options : (t.options && n.error("TSelect: dicCode and options cannot be used together"), e = Z(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? n.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1230
1487
  checkAll: !0,
1231
1488
  [t.keys?.label ?? "label"]: "全选"
1232
1489
  }) : n.error("TSelect: showCheckAll is supported only for multiple select")), e;
1233
- }), s = C(() => {
1490
+ }), s = S(() => {
1234
1491
  if (o.value !== void 0) {
1235
1492
  let e = o.value.flatMap((e) => e.children ?? [e]), n = t.keys?.value ?? "value", r = e.every((e) => typeof e[n] == "string"), i = e.every((e) => typeof e[n] == "number");
1236
1493
  if (t.multiple) {
@@ -1242,7 +1499,7 @@ var ln = /* @__PURE__ */ k({
1242
1499
  else if (i) return v(t.modelValue) ? Number(t.modelValue) : t.modelValue;
1243
1500
  }
1244
1501
  return t.modelValue;
1245
- }), c = C(() => {
1502
+ }), c = S(() => {
1246
1503
  let e = {
1247
1504
  ...t,
1248
1505
  filterable: t.filterable ?? o.value.length > 8
@@ -1250,15 +1507,15 @@ var ln = /* @__PURE__ */ k({
1250
1507
  return delete e.dicCode, delete e.showCheckAll, delete e.adornment, Object.keys(e).forEach((t) => {
1251
1508
  e[t] === void 0 && delete e[t];
1252
1509
  }), e;
1253
- }), l = L(0);
1510
+ }), l = I(0);
1254
1511
  Se(() => {
1255
1512
  Ie(i.exposed.$el, () => {
1256
1513
  l.value = i.exposed.$el.offsetWidth;
1257
1514
  }, { box: "border-box" });
1258
1515
  });
1259
- let u = C(() => {
1516
+ let u = S(() => {
1260
1517
  if (c.value.scroll?.type === "virtual" && o.value.length > (c.value.scroll?.threshold ?? 150)) return "300px";
1261
- }), d = C(() => ({
1518
+ }), d = S(() => ({
1262
1519
  ...c.value,
1263
1520
  modelValue: s.value,
1264
1521
  onChange: (...e) => {
@@ -1276,16 +1533,16 @@ var ln = /* @__PURE__ */ k({
1276
1533
  })
1277
1534
  },
1278
1535
  ref: a
1279
- })), f = Ye;
1280
- return (t, n) => e.adornment ? (I(), w(z(j(V(f), t.$attrs, {
1536
+ })), f = Ze;
1537
+ return (t, n) => e.adornment ? (F(), C(R(A(B(f), t.$attrs, {
1281
1538
  ...e.adornment,
1282
- default: () => j(V(r), d.value, t.$slots)
1283
- })), { key: 0 })) : (I(), w(z(j(V(r), N(t.$attrs, d.value), t.$slots)), { key: 1 }));
1539
+ default: () => A(B(r), d.value, t.$slots)
1540
+ })), { key: 0 })) : (F(), C(R(A(B(r), M(t.$attrs, d.value), t.$slots)), { key: 1 }));
1284
1541
  }
1285
- }), mn = /* @__PURE__ */ k({
1542
+ }), bn = /* @__PURE__ */ O({
1286
1543
  inheritAttrs: !1,
1287
1544
  __name: "select-sys-user",
1288
- props: /*@__PURE__*/ M({
1545
+ props: /*@__PURE__*/ j({
1289
1546
  modelValue: {},
1290
1547
  adornment: {},
1291
1548
  autoWidth: { type: Boolean },
@@ -1324,19 +1581,19 @@ var ln = /* @__PURE__ */ k({
1324
1581
  onMouseleave: { type: Function },
1325
1582
  onPaste: { type: Function },
1326
1583
  onRemove: { type: Function }
1327
- }, le),
1584
+ }, ce),
1328
1585
  emits: ["update:modelValue"],
1329
1586
  setup(e, { emit: t }) {
1330
- let n = e, r = t, i = ye("isFormDisabled", C(() => !1)), a = ye("isFormReadonly", C(() => !1)), o = C(() => {
1587
+ let n = e, r = t, i = ye("isFormDisabled", S(() => !1)), a = ye("isFormReadonly", S(() => !1)), o = S(() => {
1331
1588
  let e = n.disabled ?? i.value, t = n.readonly ?? a.value;
1332
1589
  return {
1333
1590
  ...n,
1334
- adornment: e || t ? void 0 : { append: () => j($, {
1591
+ adornment: e || t ? void 0 : { append: () => A($, {
1335
1592
  default: "选择用户",
1336
1593
  onClick: () => {
1337
- let e = L(null);
1338
- Pt({
1339
- body: () => j(_e(() => import("../components/select-sys-user/src/Picker.mjs")), {
1594
+ let e = I(null);
1595
+ zt({
1596
+ body: () => A(_e(() => import("../components/select-sys-user/src/Picker.mjs")), {
1340
1597
  max: n.max,
1341
1598
  modelValue: n.modelValue,
1342
1599
  onVnodeMounted: (t) => {
@@ -1357,11 +1614,11 @@ var ln = /* @__PURE__ */ k({
1357
1614
  variant: "text"
1358
1615
  }) }
1359
1616
  };
1360
- }), s = Oe(), c = A();
1617
+ }), s = Oe(), c = k();
1361
1618
  function l(e) {
1362
1619
  c.exposed = e ?? {};
1363
1620
  }
1364
- let u = C(() => N(s, {
1621
+ let u = S(() => M(s, {
1365
1622
  ...o.value,
1366
1623
  inputProps: {
1367
1624
  readonly: !0,
@@ -1373,34 +1630,34 @@ var ln = /* @__PURE__ */ k({
1373
1630
  placeholder: "请选择用户",
1374
1631
  ref: l
1375
1632
  }));
1376
- return (e, t) => (I(), w(V(ue), F(ve(u.value)), {
1377
- tag: U(({ value: e }) => [D(B(V(Vt)(e).value?.userName), 1)]),
1633
+ return (e, t) => (F(), C(B(le), P(ve(u.value)), {
1634
+ tag: H(({ value: e }) => [E(z(B(Kt)(e).value?.userName), 1)]),
1378
1635
  _: 1
1379
1636
  }, 16));
1380
1637
  }
1381
- }), hn = {
1638
+ }), xn = {
1382
1639
  checkable: !1,
1383
1640
  disabled: void 0,
1384
1641
  expandOnClickNode: void 0,
1385
1642
  hover: !0,
1386
1643
  icon: () => (t, n) => {
1387
1644
  let r = "";
1388
- return n.getChildren && n.getChildren(!1) && (n.expanded ? (r = "cuida:caret-down-outline", n.loading && (r = "line-md:loading-twotone-loop")) : r = "cuida:caret-right-outline"), r === "" ? null : j($, {
1645
+ return n.getChildren && n.getChildren(!1) && (n.expanded ? (r = "cuida:caret-down-outline", n.loading && (r = "line-md:loading-twotone-loop")) : r = "cuida:caret-right-outline"), r === "" ? null : A($, {
1389
1646
  shape: "circle",
1390
1647
  size: "small",
1391
1648
  variant: "outline"
1392
- }, { icon: () => j(e, { icon: r }) });
1649
+ }, { icon: () => A(e, { icon: r }) });
1393
1650
  },
1394
1651
  label: !0,
1395
1652
  lazy: !0,
1396
1653
  line: !0,
1397
1654
  transition: !0,
1398
1655
  valueMode: "all"
1399
- }, gn = /* @__PURE__ */ k({
1656
+ }, Sn = /* @__PURE__ */ O({
1400
1657
  inheritAttrs: !1,
1401
1658
  name: "TTree",
1402
1659
  __name: "tree",
1403
- props: /*@__PURE__*/ M({
1660
+ props: /*@__PURE__*/ j({
1404
1661
  "onUpdate:actived": { type: Function },
1405
1662
  "onUpdate:expanded": { type: Function },
1406
1663
  "onUpdate:modelValue": { type: Function },
@@ -1453,23 +1710,23 @@ var ln = /* @__PURE__ */ k({
1453
1710
  onLoad: { type: Function },
1454
1711
  onScroll: { type: Function },
1455
1712
  treeStore: {}
1456
- }, hn),
1713
+ }, xn),
1457
1714
  setup(e, { expose: t }) {
1458
- let n = e, r = ke(), i = C(() => {
1715
+ let n = e, r = ke(), i = S(() => {
1459
1716
  let e = { ...n };
1460
1717
  return e.expandOnClickNode = e.expandOnClickNode ?? !e.checkable, r.icon && delete e.icon, Object.keys(e).forEach((t) => {
1461
1718
  e[t] === void 0 && delete e[t];
1462
1719
  }), e;
1463
- }), a = tt, o = A();
1720
+ }), a = rt, o = k();
1464
1721
  function s(e) {
1465
1722
  o.exposed = e ?? {};
1466
1723
  }
1467
- return t({}), (e, t) => (I(), w(z(j(V(a), N(e.$attrs, {
1724
+ return t({}), (e, t) => (F(), C(R(A(B(a), M(e.$attrs, {
1468
1725
  ...i.value,
1469
1726
  ref: s
1470
1727
  }), e.$slots))));
1471
1728
  }
1472
- }), _n = /* @__PURE__ */ k({
1729
+ }), Cn = /* @__PURE__ */ O({
1473
1730
  inheritAttrs: !1,
1474
1731
  name: "TTreeSelect",
1475
1732
  __name: "tree-select",
@@ -1536,30 +1793,30 @@ var ln = /* @__PURE__ */ k({
1536
1793
  onSearch: {}
1537
1794
  },
1538
1795
  setup(e) {
1539
- let t = e, n = C(() => typeof t.data == "string" ? x(t.data).value : t.data), r = C(() => {
1796
+ let t = e, n = S(() => typeof t.data == "string" ? x(t.data).value : t.data), r = S(() => {
1540
1797
  let e = { ...t };
1541
1798
  return e.selectInputProps = {
1542
1799
  minCollapsedNum: 2,
1543
1800
  ...e.selectInputProps ?? {}
1544
1801
  }, e.treeProps = {
1545
- ...hn,
1802
+ ...xn,
1546
1803
  checkable: !!t.multiple,
1547
1804
  expandOnClickNode: !!t.multiple,
1548
- icon: hn.icon(),
1805
+ icon: xn.icon(),
1549
1806
  ...e.treeProps ?? {}
1550
1807
  }, Object.keys(e).forEach((t) => {
1551
1808
  e[t] === void 0 && delete e[t];
1552
1809
  }), e;
1553
- }), i = nt, a = A();
1810
+ }), i = it, a = k();
1554
1811
  function o(e) {
1555
1812
  a.exposed = e ?? {};
1556
1813
  }
1557
- let s = L(0);
1814
+ let s = I(0);
1558
1815
  return Se(() => {
1559
1816
  Ie(a.exposed.$el, () => {
1560
1817
  s.value = a.exposed.$el.offsetWidth;
1561
1818
  }, { box: "border-box" });
1562
- }), (e, t) => (I(), w(z(j(V(i), N(e.$attrs, {
1819
+ }), (e, t) => (F(), C(R(A(B(i), M(e.$attrs, {
1563
1820
  ...r.value,
1564
1821
  data: n.value,
1565
1822
  ref: o,
@@ -1573,10 +1830,10 @@ var ln = /* @__PURE__ */ k({
1573
1830
  }
1574
1831
  }), e.$slots))));
1575
1832
  }
1576
- }), vn = ".xlsx,.xls", yn = { class: "flex items-center" }, bn = {
1833
+ }), wn = ".xlsx,.xls", Tn = { class: "flex items-center" }, En = {
1577
1834
  key: 1,
1578
1835
  class: "ml-3 text-xs text-(--td-text-color-placeholder)"
1579
- }, xn = /*#__PURE__*/ f(/* @__PURE__ */ k({
1836
+ }, Dn = /*#__PURE__*/ f(/* @__PURE__ */ O({
1580
1837
  inheritAttrs: !1,
1581
1838
  name: "TUpload",
1582
1839
  __name: "upload",
@@ -1585,7 +1842,7 @@ var ln = /* @__PURE__ */ k({
1585
1842
  "onUpdate:modelValue": {},
1586
1843
  requestMethod: {},
1587
1844
  abridgeName: {},
1588
- accept: { default: vn },
1845
+ accept: { default: wn },
1589
1846
  allowUploadDuplicateFile: { type: Boolean },
1590
1847
  autoUpload: { type: Boolean },
1591
1848
  beforeAllFilesUpload: {},
@@ -1645,7 +1902,7 @@ var ln = /* @__PURE__ */ k({
1645
1902
  onWaitingUploadFilesChange: {}
1646
1903
  },
1647
1904
  setup(e, { expose: t }) {
1648
- let n = e, r = C(() => {
1905
+ let n = e, r = S(() => {
1649
1906
  if (n.requestMethod !== void 0) return (e) => new Promise((t) => {
1650
1907
  typeof n.requestMethod == "function" ? n.requestMethod(e).then((e) => {
1651
1908
  t({
@@ -1658,7 +1915,7 @@ var ln = /* @__PURE__ */ k({
1658
1915
  response: {},
1659
1916
  status: "fail"
1660
1917
  });
1661
- }) : X.Post(n.requestMethod.ossUrl ?? "common/uploadOss", {
1918
+ }) : Y.Post(n.requestMethod.ossUrl ?? "common/uploadOss", {
1662
1919
  biz: n.requestMethod.biz,
1663
1920
  file: e.raw
1664
1921
  }, { meta: { useFormData: !0 } }).then((e) => {
@@ -1678,48 +1935,48 @@ var ln = /* @__PURE__ */ k({
1678
1935
  function i() {
1679
1936
  typeof n.downloadTemplate == "string" ? b(n.downloadTemplate) : n.downloadTemplate.send();
1680
1937
  }
1681
- let a = C(() => {
1938
+ let a = S(() => {
1682
1939
  let e = { ...n };
1683
1940
  return ["image", "image-flow"].includes(e.theme) && (e.accept = e.accept === ".xlsx,.xls" ? "image/*" : e.accept), Object.keys(e).forEach((t) => {
1684
1941
  e[t] === void 0 && delete e[t];
1685
1942
  }), delete e.downloadTemplate, e.theme === "file" && delete e.tips, e;
1686
- }), o = rt, s = A();
1943
+ }), o = at, s = k();
1687
1944
  function c(e) {
1688
1945
  s.exposed = e ?? {};
1689
1946
  }
1690
- return t({}), (t, s) => (I(), w(z(j(V(o), N(t.$attrs, {
1947
+ return t({}), (t, s) => (F(), C(R(A(B(o), M(t.$attrs, {
1691
1948
  ...a.value,
1692
1949
  requestMethod: r.value,
1693
1950
  ref: c
1694
- }, { class: a.value.theme }))), null, ge({ _: 2 }, [R(Object.keys(t.$slots), (e) => ({
1951
+ }, { class: a.value.theme }))), null, ge({ _: 2 }, [L(Object.keys(t.$slots), (e) => ({
1695
1952
  name: e,
1696
- fn: U((n) => [Te(t.$slots, e, F(ve(n)), void 0, !0)])
1953
+ fn: H((n) => [Te(t.$slots, e, P(ve(n)), void 0, !0)])
1697
1954
  })), a.value.theme === "file" && !Object.hasOwn(t.$slots, "trigger") ? {
1698
1955
  name: "trigger",
1699
- fn: U(({ files: t }) => [he("div", yn, [
1700
- O(V($), { theme: "primary" }, {
1701
- default: U(() => [D(B(t.length > 0 ? a.value.multiple ? "继续上传" : "重新上传" : "选择文件"), 1)]),
1956
+ fn: H(({ files: t }) => [he("div", Tn, [
1957
+ D(B($), { theme: "primary" }, {
1958
+ default: H(() => [E(z(t.length > 0 ? a.value.multiple ? "继续上传" : "重新上传" : "选择文件"), 1)]),
1702
1959
  _: 2
1703
1960
  }, 1024),
1704
- e.downloadTemplate ? (I(), w(V($), {
1961
+ e.downloadTemplate ? (F(), C(B($), {
1705
1962
  key: 0,
1706
1963
  theme: "primary",
1707
1964
  variant: "outline",
1708
1965
  onClick: je(i, ["stop"])
1709
1966
  }, {
1710
- default: U(() => [...s[0] ||= [D("下载模板", -1)]]),
1967
+ default: H(() => [...s[0] ||= [E("下载模板", -1)]]),
1711
1968
  _: 1
1712
- })) : T("v-if", !0),
1713
- n.tips ? (I(), E("span", bn, B(n.tips), 1)) : T("v-if", !0)
1969
+ })) : w("v-if", !0),
1970
+ n.tips ? (F(), T("span", En, z(n.tips), 1)) : w("v-if", !0)
1714
1971
  ])]),
1715
1972
  key: "0"
1716
1973
  } : void 0]), 1024));
1717
1974
  }
1718
- }), [["__scopeId", "data-v-730cff70"]]), Sn = /*#__PURE__*/ f(/* @__PURE__ */ k({
1975
+ }), [["__scopeId", "data-v-730cff70"]]), On = /*#__PURE__*/ f(/* @__PURE__ */ O({
1719
1976
  inheritAttrs: !1,
1720
1977
  name: "TForm",
1721
1978
  __name: "form",
1722
- props: /*@__PURE__*/ M({
1979
+ props: /*@__PURE__*/ j({
1723
1980
  autoLabelWidth: { type: Boolean },
1724
1981
  data: {},
1725
1982
  items: {},
@@ -1743,9 +2000,9 @@ var ln = /* @__PURE__ */ k({
1743
2000
  onReset: { type: Function },
1744
2001
  onSubmit: { type: Function },
1745
2002
  onValidate: { type: Function }
1746
- }, ht),
2003
+ }, yt),
1747
2004
  setup(e, { expose: t }) {
1748
- let r = e, { customerFormItemComponentInitialValueMap: i = /* @__PURE__ */ new Map(), customerFormItemComponentMap: s = /* @__PURE__ */ new Map() } = lt, c = A(), l = L(null), u = C(() => r.items.map((e) => {
2005
+ let r = e, { customerFormItemComponentInitialValueMap: i = /* @__PURE__ */ new Map(), customerFormItemComponentMap: s = /* @__PURE__ */ new Map() } = ft, c = k(), l = I(null), u = S(() => r.items.map((e) => {
1749
2006
  if (typeof e.__others == "function") {
1750
2007
  let t = {
1751
2008
  ...e,
@@ -1785,33 +2042,33 @@ var ln = /* @__PURE__ */ k({
1785
2042
  }
1786
2043
  });
1787
2044
  }
1788
- H(u, d, {
2045
+ V(u, d, {
1789
2046
  deep: 2,
1790
2047
  immediate: !0
1791
- }), H(() => r.data, () => {
2048
+ }), V(() => r.data, () => {
1792
2049
  n.error("TForm: data is changed");
1793
2050
  });
1794
2051
  let f = /* @__PURE__ */ new Map(), p = {
1795
2052
  TCheckbox: a,
1796
- TCheckboxGroup: ln,
1797
- TCron: un,
1798
- TDatePicker: oe,
1799
- TInput: ae,
1800
- TInputNumber: se,
1801
- TRadioGroup: dn,
1802
- TRangeInput: ce,
1803
- TSelect: pn,
1804
- TSelectSysUser: mn,
1805
- TSlider: de,
1806
- TSwitch: fe,
1807
- TTagInput: ue,
1808
- TTextarea: pe,
1809
- TTree: gn,
1810
- TTreeSelect: _n,
1811
- TUpload: xn
2053
+ TCheckboxGroup: hn,
2054
+ TCron: gn,
2055
+ TDatePicker: ae,
2056
+ TInput: ie,
2057
+ TInputNumber: oe,
2058
+ TRadioGroup: _n,
2059
+ TRangeInput: se,
2060
+ TSelect: yn,
2061
+ TSelectSysUser: bn,
2062
+ TSlider: ue,
2063
+ TSwitch: de,
2064
+ TTagInput: le,
2065
+ TTextarea: fe,
2066
+ TTree: Sn,
2067
+ TTreeSelect: Cn,
2068
+ TUpload: Dn
1812
2069
  };
1813
2070
  function m(e) {
1814
- return typeof e == "string" ? s.has(e) ? (f.has(e) || f.set(e, _e(s.get(e))), f.get(e)) : p[e] : ae;
2071
+ return typeof e == "string" ? s.has(e) ? (f.has(e) || f.set(e, _e(s.get(e))), f.get(e)) : p[e] : ie;
1815
2072
  }
1816
2073
  function h(e) {
1817
2074
  let t = {};
@@ -1841,7 +2098,7 @@ var ln = /* @__PURE__ */ k({
1841
2098
  whitespace: !0
1842
2099
  }), t;
1843
2100
  }
1844
- let te = C(() => {
2101
+ let te = S(() => {
1845
2102
  let e = { ...r };
1846
2103
  if (e.rules !== void 0) {
1847
2104
  let t = {};
@@ -1859,7 +2116,7 @@ var ln = /* @__PURE__ */ k({
1859
2116
  return delete e.items, delete e.msgErrorWhenValidate, delete e.autoLabelWidth, Object.keys(e).forEach((t) => {
1860
2117
  e[t] === void 0 && delete e[t];
1861
2118
  }), e;
1862
- }), g = Ge, v = () => {
2119
+ }), g = qe, v = () => {
1863
2120
  let e = { ...r.data };
1864
2121
  return u.value.forEach((t) => {
1865
2122
  t.show === !1 && delete e[t.model];
@@ -1891,11 +2148,11 @@ var ln = /* @__PURE__ */ k({
1891
2148
  if (!t.clearValidate._alreadyReplace) {
1892
2149
  let e = t.clearValidate;
1893
2150
  t.clearValidate = (...t) => {
1894
- P(() => {
1895
- P(() => {
1896
- P(() => {
1897
- P(() => {
1898
- P(() => {
2151
+ N(() => {
2152
+ N(() => {
2153
+ N(() => {
2154
+ N(() => {
2155
+ N(() => {
1899
2156
  e(...t);
1900
2157
  });
1901
2158
  });
@@ -1939,12 +2196,12 @@ var ln = /* @__PURE__ */ k({
1939
2196
  e.style.minWidth = `${t}px`;
1940
2197
  });
1941
2198
  }
1942
- return Ce("formData", r.data), Ce("formExposed", l), Ce("isFormDisabled", C(() => r.disabled)), Ce("isFormReadonly", C(() => r.readonly)), t({}), (t, n) => (I(), E(S, null, [T(" eslint-disable vue/no-mutating-props "), (I(), w(z(V(g)), N(N(t.$attrs, {
2199
+ return Ce("formData", r.data), Ce("formExposed", l), Ce("isFormDisabled", S(() => r.disabled)), Ce("isFormReadonly", S(() => r.readonly)), t({}), (t, n) => (F(), T(pe, null, [w(" eslint-disable vue/no-mutating-props "), (F(), C(R(B(g)), M(M(t.$attrs, {
1943
2200
  ...te.value,
1944
2201
  ref: y
1945
2202
  }), { "label-width": "fit-content" }), {
1946
- default: U(() => [(I(!0), E(S, null, R(u.value.filter((e) => e.show !== !1), (n) => (I(), w(V(Ke), N({ key: n.model ?? n.slot }, { ref_for: !0 }, N({ ...ee(n) }, { class: { no_label_item: V(_)(n._label) } }), { name: n.model }), {
1947
- default: U(() => [n.slot ? Te(t.$slots, n.slot, {}, void 0, !0, 0) : (I(), w(z(m(n.component)), N({
2203
+ default: H(() => [(F(!0), T(pe, null, L(u.value.filter((e) => e.show !== !1), (n) => (F(), C(B(Je), M({ key: n.model ?? n.slot }, { ref_for: !0 }, M({ ...ee(n) }, { class: { no_label_item: B(_)(n._label) } }), { name: n.model }), {
2204
+ default: H(() => [n.slot ? Te(t.$slots, n.slot, {}, void 0, !0, 0) : (F(), C(R(m(n.component)), M({
1948
2205
  key: 1,
1949
2206
  modelValue: e.data[n.model],
1950
2207
  "onUpdate:modelValue": (t) => e.data[n.model] = t
@@ -1954,14 +2211,14 @@ var ln = /* @__PURE__ */ k({
1954
2211
  _: 3
1955
2212
  }, 16))], 2112));
1956
2213
  }
1957
- }), [["__scopeId", "data-v-b3c2c148"]]), Cn = /* @__PURE__ */ k({
2214
+ }), [["__scopeId", "data-v-b3c2c148"]]), kn = /* @__PURE__ */ O({
1958
2215
  __name: "ResetPwd",
1959
2216
  props: { showFooter: {
1960
2217
  type: Boolean,
1961
2218
  default: !0
1962
2219
  } },
1963
2220
  setup(e, { expose: t }) {
1964
- let n = G(), r = [
2221
+ let n = U(), r = [
1965
2222
  {
1966
2223
  _label: "旧密码",
1967
2224
  _required: !0,
@@ -1994,11 +2251,11 @@ var ln = /* @__PURE__ */ k({
1994
2251
  ...e.showFooter ? [{ slot: "footer" }] : []
1995
2252
  ], i = Ae("form");
1996
2253
  function a() {
1997
- q().close(n.name);
2254
+ G().close(n.name);
1998
2255
  }
1999
2256
  async function o() {
2000
2257
  let e = await i.value.validate();
2001
- await X.Put("system/user/profile/updatePwd", void 0, {
2258
+ await Y.Put("system/user/profile/updatePwd", void 0, {
2002
2259
  meta: {
2003
2260
  useLoading: "保存中...",
2004
2261
  useSuccessMsg: !0
@@ -2007,23 +2264,23 @@ var ln = /* @__PURE__ */ k({
2007
2264
  newPassword: e.newPassword,
2008
2265
  oldPassword: e.oldPassword
2009
2266
  }
2010
- }), Wt().logout();
2267
+ }), Yt().logout();
2011
2268
  }
2012
- return t({ handleSubmit: o }), (e, t) => (I(), w(V(Sn), {
2269
+ return t({ handleSubmit: o }), (e, t) => (F(), C(B(On), {
2013
2270
  ref: "form",
2014
2271
  items: r,
2015
2272
  "label-align": "right",
2016
2273
  layout: "vertical"
2017
2274
  }, {
2018
- footer: U(() => [O(V($), { onClick: o }, {
2019
- default: U(() => [...t[0] ||= [D("保存", -1)]]),
2275
+ footer: H(() => [D(B($), { onClick: o }, {
2276
+ default: H(() => [...t[0] ||= [E("保存", -1)]]),
2020
2277
  _: 1
2021
- }), O(V($), {
2278
+ }), D(B($), {
2022
2279
  class: "ml-4!",
2023
2280
  theme: "default",
2024
2281
  onClick: a
2025
2282
  }, {
2026
- default: U(() => [...t[1] ||= [D("关闭", -1)]]),
2283
+ default: H(() => [...t[1] ||= [E("关闭", -1)]]),
2027
2284
  _: 1
2028
2285
  })]),
2029
2286
  _: 1
@@ -2032,34 +2289,34 @@ var ln = /* @__PURE__ */ k({
2032
2289
  });
2033
2290
  //#endregion
2034
2291
  //#region ../../packages/dlzn-ui/store/modules/user.ts
2035
- function wn() {
2036
- return X.Get("getInfo", { meta: {
2292
+ function An() {
2293
+ return Y.Get("getInfo", { meta: {
2037
2294
  useFailMsg: "获取用户信息失败",
2038
2295
  useLoading: "正在获取用户信息..."
2039
2296
  } });
2040
2297
  }
2041
- var Tn = {
2298
+ var jn = {
2042
2299
  admin: !1,
2043
2300
  dept: { deptName: "" },
2044
2301
  needChangePwd: 0,
2045
2302
  nickName: "",
2046
2303
  userId: "",
2047
2304
  userName: ""
2048
- }, Q = W("user", () => {
2049
- let e = L(it(Tn)), t = L([]), n = L([]);
2305
+ }, Q = ct("user", () => {
2306
+ let e = I(ot(jn)), t = I([]), n = I([]);
2050
2307
  function r() {
2051
- e.value = it(Tn), t.value = [], n.value = [];
2308
+ e.value = ot(jn), t.value = [], n.value = [];
2052
2309
  }
2053
- let i = C(() => e.value.admin), a = L("");
2310
+ let i = S(() => e.value.admin), a = I("");
2054
2311
  async function o(r = !0) {
2055
- let i = await wn();
2056
- e.value = i.user, a.value !== e.value.userId && q().clear(), a.value = e.value.userId, t.value = i.permissions, n.value = i.roles, r && await Et().getRouters();
2312
+ let i = await An();
2313
+ e.value = i.user, a.value !== e.value.userId && G().clear(), a.value = e.value.userId, t.value = i.permissions, n.value = i.roles, r && await kt().getRouters();
2057
2314
  }
2058
- H(() => e.value.needChangePwd, (e) => {
2059
- e === 1 && VITE_FORCE_PWD_CHANGE && P(() => {
2060
- let e = L(null);
2061
- Pt({
2062
- body: () => j(Cn, {
2315
+ V(() => e.value.needChangePwd, (e) => {
2316
+ e === 1 && VITE_FORCE_PWD_CHANGE && N(() => {
2317
+ let e = I(null);
2318
+ zt({
2319
+ body: () => A(kn, {
2063
2320
  labelAlign: "top",
2064
2321
  ref: e,
2065
2322
  showFooter: !1
@@ -2090,11 +2347,11 @@ var Tn = {
2090
2347
  roles: n,
2091
2348
  userInfo: e
2092
2349
  };
2093
- }, { persist: { pick: ["lastUserId"] } }), $ = /*#__PURE__*/ f(/* @__PURE__ */ k({
2350
+ }, { persist: { pick: ["lastUserId"] } }), $ = /*#__PURE__*/ f(/* @__PURE__ */ O({
2094
2351
  inheritAttrs: !1,
2095
2352
  name: "TButton",
2096
2353
  __name: "button",
2097
- props: /*@__PURE__*/ M({
2354
+ props: /*@__PURE__*/ j({
2098
2355
  autoIcon: { type: Boolean },
2099
2356
  autoLoading: { type: Boolean },
2100
2357
  autoTheme: { type: Boolean },
@@ -2131,9 +2388,9 @@ var Tn = {
2131
2388
  Object,
2132
2389
  Array
2133
2390
  ] }
2134
- }, mt),
2391
+ }, vt),
2135
2392
  setup(n) {
2136
- let r = n, a = L("");
2393
+ let r = n, a = I("");
2137
2394
  function o() {
2138
2395
  if (!r.autoTheme || a.value.trim() === "") return {};
2139
2396
  let e = /* @__PURE__ */ new Map([
@@ -2155,17 +2412,17 @@ var Tn = {
2155
2412
  }
2156
2413
  return t;
2157
2414
  }
2158
- let s = L(!1), c = i.isLoading, l = L(null), { focused: u } = Pe(l), d, f;
2159
- H(c, (e) => {
2415
+ let s = I(!1), c = i.isLoading, l = I(null), { focused: u } = Pe(l), d, f;
2416
+ V(c, (e) => {
2160
2417
  e ? (clearTimeout(f), f = void 0, d = setTimeout(() => {
2161
2418
  s.value = u.value, clearTimeout(d), d = void 0;
2162
2419
  }, 150)) : d === void 0 ? f = setTimeout(() => {
2163
2420
  s.value = !1;
2164
2421
  }, 150) : (clearTimeout(d), d = void 0, s.value = !1);
2165
- }, { immediate: !0 }), H(u, (e) => {
2422
+ }, { immediate: !0 }), V(u, (e) => {
2166
2423
  e && c.value && (s.value = !0);
2167
2424
  });
2168
- let p = C(() => r.loading === void 0 ? r.autoLoading ? s.value : !1 : r.loading), m = C(() => {
2425
+ let p = S(() => r.loading === void 0 ? r.autoLoading ? s.value : !1 : r.loading), m = S(() => {
2169
2426
  let e = {
2170
2427
  ...r,
2171
2428
  ...o(),
@@ -2174,7 +2431,7 @@ var Tn = {
2174
2431
  return Object.keys(e).forEach((t) => {
2175
2432
  e[t] === void 0 && delete e[t];
2176
2433
  }), delete e.permission, delete e.popconfirm, delete e.autoIcon, delete e.autoLoading, delete e.autoTheme, delete e.icon, e;
2177
- }), h = ze, ee = A();
2434
+ }), h = ze, ee = k();
2178
2435
  function te(e) {
2179
2436
  let t = e ?? {};
2180
2437
  ee.exposed = t, l.value = t.$el;
@@ -2182,7 +2439,7 @@ var Tn = {
2182
2439
  function g() {
2183
2440
  a.value = l.value?.textContent ?? "";
2184
2441
  }
2185
- let _ = C(() => {
2442
+ let _ = S(() => {
2186
2443
  if (!r.autoIcon || a.value.trim() === "") return;
2187
2444
  let e = {
2188
2445
  "mdi:plus": [
@@ -2238,10 +2495,10 @@ var Tn = {
2238
2495
  break;
2239
2496
  }
2240
2497
  if (t !== void 0) return t;
2241
- }), v = Oe(), y = C(() => N(v, {
2498
+ }), v = Oe(), y = S(() => M(v, {
2242
2499
  ...m.value,
2243
2500
  ref: te
2244
- }, { class: "flex-shrink-0" })), b = C(() => {
2501
+ }, { class: "flex-shrink-0" })), b = S(() => {
2245
2502
  if (r.popconfirm) return {
2246
2503
  ...r.popconfirm,
2247
2504
  onVisibleChange: (...e) => {
@@ -2249,32 +2506,32 @@ var Tn = {
2249
2506
  }
2250
2507
  };
2251
2508
  });
2252
- return (r, i) => V(Q)().checkPermissions(n.permission) ? (I(), E(S, { key: 0 }, [b.value ? (I(), w(V(t), F(N({ key: 0 }, b.value)), {
2253
- default: U(() => [(I(), w(z(j(V(h), y.value)), {
2509
+ return (r, i) => B(Q)().checkPermissions(n.permission) ? (F(), T(pe, { key: 0 }, [b.value ? (F(), C(B(t), P(M({ key: 0 }, b.value)), {
2510
+ default: H(() => [(F(), C(R(A(B(h), y.value)), {
2254
2511
  onVnodeMounted: g,
2255
2512
  onVnodeUpdated: g
2256
2513
  }, ge({ _: 2 }, [n.icon || _.value ? {
2257
2514
  name: "icon",
2258
- fn: U(() => [O(V(e), { icon: n.icon || _.value }, null, 8, ["icon"])]),
2515
+ fn: H(() => [D(B(e), { icon: n.icon || _.value }, null, 8, ["icon"])]),
2259
2516
  key: "0"
2260
- } : void 0, R(Object.keys(r.$slots), (e) => ({
2517
+ } : void 0, L(Object.keys(r.$slots), (e) => ({
2261
2518
  name: e,
2262
- fn: U((t) => [Te(r.$slots, e, F(ve(t)), void 0, !0)])
2519
+ fn: H((t) => [Te(r.$slots, e, P(ve(t)), void 0, !0)])
2263
2520
  }))]), 1536))]),
2264
2521
  _: 3
2265
- }, 16)) : (I(), w(z(j(V(h), y.value)), {
2522
+ }, 16)) : (F(), C(R(A(B(h), y.value)), {
2266
2523
  key: 1,
2267
2524
  onVnodeMounted: g,
2268
2525
  onVnodeUpdated: g
2269
2526
  }, ge({ _: 2 }, [n.icon || _.value ? {
2270
2527
  name: "icon",
2271
- fn: U(() => [O(V(e), { icon: n.icon || _.value }, null, 8, ["icon"])]),
2528
+ fn: H(() => [D(B(e), { icon: n.icon || _.value }, null, 8, ["icon"])]),
2272
2529
  key: "0"
2273
- } : void 0, R(Object.keys(r.$slots), (e) => ({
2530
+ } : void 0, L(Object.keys(r.$slots), (e) => ({
2274
2531
  name: e,
2275
- fn: U((t) => [Te(r.$slots, e, F(ve(t)), void 0, !0)])
2276
- }))]), 1536))], 64)) : T("v-if", !0);
2532
+ fn: H((t) => [Te(r.$slots, e, P(ve(t)), void 0, !0)])
2533
+ }))]), 1536))], 64)) : w("v-if", !0);
2277
2534
  }
2278
2535
  }), [["__scopeId", "data-v-41e01020"]]);
2279
2536
  //#endregion
2280
- export { zt as A, K as B, $t as C, qt as D, Y as E, kt as F, mt as H, Ot as I, _t as L, Vt as M, Pt as N, Kt as O, Nt as P, Et as R, Qt as S, Jt as T, ht as V, an as _, Sn as a, cn as b, _n as c, mn as d, pn as f, ln as g, un as h, Cn as i, Bt as j, Wt as k, gn as l, dn as m, wn as n, xn as o, fn as p, Q as r, vn as s, $ as t, hn as u, on as v, Yt as w, X as x, sn as y, q as z };
2537
+ export { Yt as A, kt as B, sn as C, tn as D, q as E, Rt as F, W as H, Pt as I, Mt as L, Gt as M, Kt as N, Qt as O, zt as P, jt as R, on as S, nn as T, yt as U, G as V, vt as W, fn as _, On as a, mn as b, Cn as c, bn as d, yn as f, hn as g, gn as h, kn as i, Wt as j, Zt as k, Sn as l, _n as m, An as n, Dn as o, vn as p, Q as r, wn as s, $ as t, xn as u, pn as v, J as w, Y as x, Z as y, xt as z };