dlzn-ui 2.0.88 → 2.0.90

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 (164) hide show
  1. package/assets/table-Dq4nevWy.css +1 -0
  2. package/chunks/{AssignUser-CBq40k_h.mjs → AssignUser-C1TJqI7T.mjs} +3 -3
  3. package/chunks/{BasicInfo-BvKBHQyo.mjs → BasicInfo-ieKCaGwH.mjs} +1 -1
  4. package/chunks/{ColumnInfo-DfdyRhPB.mjs → ColumnInfo-BhkorfJI.mjs} +2 -2
  5. package/chunks/{Common-DgFtn6uk.mjs → Common-BvSQiKo2.mjs} +1 -1
  6. package/chunks/{Day-D57OuSr1.mjs → Day-CTBFWJIV.mjs} +1 -1
  7. package/chunks/{DictTypeDetail-DCOljFJR.mjs → DictTypeDetail-BgfdUvJ-.mjs} +2 -2
  8. package/chunks/{GenInfo-Cpjb07t9.mjs → GenInfo-hM-odgqv.mjs} +1 -1
  9. package/chunks/{Hour-C2kHsnWx.mjs → Hour-BCoOdrBX.mjs} +1 -1
  10. package/chunks/{Import-BZyaz6ej.mjs → Import-DXsRyeub.mjs} +2 -2
  11. package/chunks/{Index-BLw1K1xl.mjs → Index-C8rKiUnc.mjs} +1 -1
  12. package/chunks/{Index-C_Gf0Jgf.mjs → Index-CrYhNcWE.mjs} +1 -1
  13. package/chunks/{Index-BHTir2BG.mjs → Index-DZAUiAs7.mjs} +1 -1
  14. package/chunks/{Index-qbd9CTh4.mjs → Index-_rLBm48m.mjs} +1 -1
  15. package/chunks/{IndexItem-COlhUIdm.mjs → IndexItem-BERW_4wf.mjs} +1 -1
  16. package/chunks/{Log--6mSFdDa.mjs → Log-BgqKjZhH.mjs} +5 -7
  17. package/chunks/{LoginBg-DBc-wBJI.mjs → LoginBg-DbmOre6P.mjs} +1 -1
  18. package/chunks/{Minute-cq4gHso5.mjs → Minute-Br6DyEnJ.mjs} +1 -1
  19. package/chunks/{Month-RO9Bk7PX.mjs → Month-BSkP_NNE.mjs} +1 -1
  20. package/chunks/{Preview-Gx0BbBT4.mjs → Preview-Dq6tVW4P.mjs} +1 -1
  21. package/chunks/{Second-CKdMmksB.mjs → Second-BaOHtpcm.mjs} +1 -1
  22. package/chunks/{SelectDept-BPAzWxOq.mjs → SelectDept-JdE01RJl.mjs} +1 -1
  23. package/chunks/{SelectMenu-C8m9RvV3.mjs → SelectMenu-CBGt2RrU.mjs} +1 -1
  24. package/chunks/{SelectUser-DGyPbCbP.mjs → SelectUser-CQpx2HzJ.mjs} +2 -2
  25. package/chunks/{UserInfo-CDNoS8Vd.mjs → UserInfo-tWIden6Y.mjs} +1 -1
  26. package/chunks/{app-Cd7qvZaM.mjs → app-dUSiq7Ru.mjs} +1 -1
  27. package/chunks/{custom-page-list-DWqks1x-.mjs → custom-page-list-CUeAAYEa.mjs} +4 -4
  28. package/chunks/{custom-page-table-BsTYXR3M.mjs → custom-page-table-C-gi7OGt.mjs} +2 -2
  29. package/chunks/{job-CUY-MY_i.mjs → job-DnYhSDP4.mjs} +3 -3
  30. package/chunks/{overview-ub_GTqi8.mjs → overview-D_tbwhqT.mjs} +1 -1
  31. package/chunks/{page-list-Cigr4VQZ.mjs → page-list-VSe1LOfK.mjs} +3 -3
  32. package/chunks/page-query-8XmyQiCK.mjs +119 -0
  33. package/chunks/{page-table-B576pyOx.mjs → page-table-BdNBjt_k.mjs} +4 -4
  34. package/chunks/{pagination-D9VeheYA.mjs → pagination-BOb4D8uP.mjs} +1 -1
  35. package/chunks/{provider-BeVE1nWg.mjs → provider-CQbOYjc5.mjs} +237 -237
  36. package/chunks/{table-D1Jknq-w.mjs → table-BEeznK4Y.mjs} +40 -42
  37. package/components/app/index.mjs +1 -1
  38. package/components/app/src/app.mjs +1 -1
  39. package/components/button/index.mjs +1 -1
  40. package/components/button/src/button.mjs +1 -1
  41. package/components/checkbox/src/checkbox.vue.d.ts +2 -2
  42. package/components/checkbox-group/index.mjs +1 -1
  43. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  44. package/components/cron/index.mjs +1 -1
  45. package/components/cron/src/Common.mjs +1 -1
  46. package/components/cron/src/Day.mjs +1 -1
  47. package/components/cron/src/Hour.mjs +1 -1
  48. package/components/cron/src/Minute.mjs +1 -1
  49. package/components/cron/src/Month.mjs +1 -1
  50. package/components/cron/src/Picker.mjs +6 -6
  51. package/components/cron/src/Second.mjs +1 -1
  52. package/components/cron/src/cron.mjs +1 -1
  53. package/components/custom-page-list/index.mjs +1 -1
  54. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  55. package/components/custom-page-table/index.mjs +1 -1
  56. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  57. package/components/date-picker/src/date-picker.vue.d.ts +2 -2
  58. package/components/dialog/index.mjs +1 -1
  59. package/components/dialog/src/dialog.mjs +1 -1
  60. package/components/form/index.mjs +1 -1
  61. package/components/form/src/form.mjs +1 -1
  62. package/components/index.mjs +9 -9
  63. package/components/overview/index.mjs +1 -1
  64. package/components/overview/src/DicLabel/Index.mjs +1 -1
  65. package/components/overview/src/IndexItem.mjs +1 -1
  66. package/components/overview/src/overview.mjs +1 -1
  67. package/components/page-list/index.mjs +1 -1
  68. package/components/page-list/src/page-list.mjs +1 -1
  69. package/components/page-list/src/page-list.vue.d.ts +403 -0
  70. package/components/page-query/index.mjs +1 -1
  71. package/components/page-query/src/page-query.mjs +1 -1
  72. package/components/page-query/src/page-query.vue.d.ts +1 -2
  73. package/components/page-table/index.mjs +1 -1
  74. package/components/page-table/src/page-table.mjs +1 -1
  75. package/components/page-table/src/page-table.vue.d.ts +319 -0
  76. package/components/pagination/index.mjs +1 -1
  77. package/components/pagination/src/pagination.mjs +1 -1
  78. package/components/provider/index.mjs +1 -1
  79. package/components/provider/src/Provider.mjs +1 -1
  80. package/components/radio-group/index.mjs +1 -1
  81. package/components/radio-group/src/radio-group.mjs +1 -1
  82. package/components/select/index.mjs +1 -1
  83. package/components/select/src/select.mjs +1 -1
  84. package/components/select-sys-user/index.mjs +1 -1
  85. package/components/select-sys-user/src/Picker.mjs +2 -2
  86. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  87. package/components/table/index.mjs +1 -1
  88. package/components/table/src/table.d.ts +6 -1
  89. package/components/table/src/table.mjs +1 -1
  90. package/components/tree/index.mjs +1 -1
  91. package/components/tree/src/tree.mjs +1 -1
  92. package/components/tree-select/index.mjs +1 -1
  93. package/components/tree-select/src/tree-select.mjs +1 -1
  94. package/components/upload/index.mjs +1 -1
  95. package/components/upload/src/upload.mjs +1 -1
  96. package/hooks/useDicOptions/index.mjs +1 -1
  97. package/hooks/useMountedPromise/index.d.ts +2 -0
  98. package/hooks/useMountedPromise/index.mjs +14 -0
  99. package/hooks/useSysUser/index.mjs +1 -1
  100. package/layout/Entry.mjs +1 -1
  101. package/layout/Home.mjs +2 -2
  102. package/layout/Home1.mjs +1 -1
  103. package/layout/Login.mjs +2 -2
  104. package/layout/NotFound.mjs +1 -1
  105. package/layout/modules/Aside.mjs +1 -1
  106. package/layout/modules/Breadcrumb.mjs +1 -1
  107. package/layout/modules/Header.mjs +1 -1
  108. package/layout/modules/LoginBg.mjs +1 -1
  109. package/layout/profile/Index.mjs +2 -2
  110. package/layout/profile/ResetPwd.mjs +1 -1
  111. package/layout/profile/UserInfo.mjs +1 -1
  112. package/main.mjs +2 -2
  113. package/package.json +2 -1
  114. package/plugins/autoImport/$alova/index.mjs +1 -1
  115. package/plugins/autoImport/$confirm/index.mjs +1 -1
  116. package/plugins/autoImport/$dialog/index.mjs +1 -1
  117. package/plugins/autoImport/$drawer/index.mjs +1 -1
  118. package/plugins/captcha/captcha.mjs +1 -1
  119. package/plugins/captcha/index.mjs +1 -1
  120. package/plugins/initialize/webUpdateNotify.mjs +19 -21
  121. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  122. package/plugins/tableRenders/cell/Checkbox/Index.vue.d.ts +4 -4
  123. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  124. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  125. package/plugins/tableRenders/cell/index.mjs +3 -3
  126. package/router/index.mjs +1 -1
  127. package/store/modules/common.mjs +1 -1
  128. package/store/modules/login.mjs +1 -1
  129. package/store/modules/recentRouters.mjs +1 -1
  130. package/store/modules/router.mjs +1 -1
  131. package/store/modules/user.mjs +1 -1
  132. package/views/monitor/cache/index.mjs +2 -2
  133. package/views/monitor/cacheList/index.mjs +2 -2
  134. package/views/monitor/job/index.mjs +1 -1
  135. package/views/monitor/logininfor/index.mjs +2 -2
  136. package/views/monitor/online/index.mjs +2 -2
  137. package/views/monitor/operlog/index.mjs +2 -2
  138. package/views/monitor/server/index.mjs +2 -2
  139. package/views/system/config/index.mjs +2 -2
  140. package/views/system/dept/index.mjs +2 -2
  141. package/views/system/dept/utils.mjs +1 -1
  142. package/views/system/dict/index.mjs +3 -3
  143. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  144. package/views/system/menu/index.mjs +2 -2
  145. package/views/system/menu/utils.mjs +1 -1
  146. package/views/system/notice/index.mjs +2 -2
  147. package/views/system/post/index.mjs +2 -2
  148. package/views/system/role/index.mjs +5 -5
  149. package/views/system/role/modules/AssignUser.mjs +1 -1
  150. package/views/system/role/modules/SelectDept.mjs +1 -1
  151. package/views/system/role/modules/SelectMenu.mjs +1 -1
  152. package/views/system/role/modules/SelectUser.mjs +1 -1
  153. package/views/system/user/index.mjs +3 -3
  154. package/views/tool/gen/editTable/index.mjs +27 -27
  155. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  156. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  157. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  158. package/views/tool/gen/index.mjs +4 -4
  159. package/views/tool/gen/modules/Import.mjs +1 -1
  160. package/views/tool/gen/modules/Preview.mjs +1 -1
  161. package/views/tool/job/index.mjs +1 -1
  162. package/views/tool/job/modules/Log.mjs +1 -1
  163. package/assets/table-D9WewhPF.css +0 -1
  164. package/chunks/page-query-BmWKqp80.mjs +0 -121
@@ -49,20 +49,20 @@ import { t as ge } from "./switch-BByqwNgy.mjs";
49
49
  import "../components/textarea/index.mjs";
50
50
  import { t as _e } from "./textarea-C9VbFXpr.mjs";
51
51
  import { passwordReg as ve, passwordRegMessage as ye } from "../constants/regs.mjs";
52
- import { Fragment as be, KeepAlive as xe, Suspense as Se, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as Ce, createSlots as we, createTextVNode as w, createVNode as T, defineAsyncComponent as Te, defineComponent as E, getCurrentInstance as D, guardReactiveProps as O, h as k, inject as Ee, markRaw as De, mergeDefaults as A, mergeProps as j, nextTick as Oe, normalizeClass as ke, normalizeProps as M, onMounted as Ae, openBlock as N, provide as je, reactive as Me, ref as P, renderList as F, renderSlot as Ne, resolveComponent as Pe, resolveDynamicComponent as I, shallowRef as Fe, toDisplayString as L, unref as R, useAttrs as Ie, useSlots as Le, useTemplateRef as Re, watch as z, withCtx as B, withModifiers as ze } from "vue";
53
- import { Breadcrumb as Be, BreadcrumbItem as Ve, Button as He, CheckboxGroup as Ue, ConfigProvider as We, Content as Ge, Dialog as Ke, DialogPlugin as qe, Drawer as Je, DrawerPlugin as Ye, Form as Xe, FormItem as Ze, HeadMenu as Qe, Header as $e, InputAdornment as et, Layout as tt, Menu as nt, MenuItem as rt, RadioGroup as it, Select as at, Tree as ot, TreeSelect as st, Upload as ct } from "tdesign-vue-next";
54
- import { ElConfigProvider as lt } from "element-plus";
55
- import { useElementSize as ut, useElementVisibility as dt, useFavicon as ft, useFocus as pt, useMutationObserver as mt, useResizeObserver as ht } from "@vueuse/core";
56
- import { cloneDeep as gt, isPlainObject as _t } from "lodash-es";
52
+ import { Fragment as be, KeepAlive as xe, Suspense as Se, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as Ce, createSlots as we, createTextVNode as w, createVNode as T, defineAsyncComponent as Te, defineComponent as E, getCurrentInstance as D, guardReactiveProps as O, h as k, inject as Ee, markRaw as De, mergeDefaults as A, mergeProps as j, normalizeClass as Oe, normalizeProps as M, onMounted as ke, openBlock as N, provide as Ae, reactive as je, ref as P, renderList as F, renderSlot as Me, resolveComponent as Ne, resolveDynamicComponent as I, shallowRef as Pe, toDisplayString as L, unref as R, useAttrs as Fe, useSlots as Ie, useTemplateRef as Le, watch as z, withCtx as B, withModifiers as Re } from "vue";
53
+ import { Breadcrumb as ze, BreadcrumbItem as Be, Button as Ve, CheckboxGroup as He, ConfigProvider as Ue, Content as We, Dialog as Ge, DialogPlugin as Ke, Drawer as qe, DrawerPlugin as Je, Form as Ye, FormItem as Xe, HeadMenu as Ze, Header as Qe, InputAdornment as $e, Layout as et, Menu as tt, MenuItem as nt, RadioGroup as rt, Select as it, Tree as at, TreeSelect as ot, Upload as st } from "tdesign-vue-next";
54
+ import { ElConfigProvider as ct } from "element-plus";
55
+ import { useElementSize as lt, useElementVisibility as ut, useFavicon as dt, useFocus as ft, useMutationObserver as pt, useResizeObserver as mt } from "@vueuse/core";
56
+ import { cloneDeep as ht, isPlainObject as gt } from "lodash-es";
57
57
  import { defineStore as V } from "pinia";
58
- import vt from "virtual:dlzn-ui/app-params";
59
- import { NavigationFailureType as yt, createRouter as bt, createWebHistory as xt, isNavigationFailure as St, useRoute as H, useRouter as U } from "vue-router";
60
- import { createAlova as Ct } from "alova";
61
- import wt from "alova/fetch";
62
- import Tt from "alova/vue";
63
- import Et from "path-browserify";
58
+ import _t from "virtual:dlzn-ui/app-params";
59
+ import { NavigationFailureType as vt, createRouter as yt, createWebHistory as bt, isNavigationFailure as xt, useRoute as H, useRouter as U } from "vue-router";
60
+ import { createAlova as St } from "alova";
61
+ import Ct from "alova/fetch";
62
+ import wt from "alova/vue";
63
+ import Tt from "path-browserify";
64
64
  // ../../node_modules/.pnpm/element-plus@2.14.8_vue@3.5.45/node_modules/element-plus/es/locale/lang/zh-cn.mjs
65
- var Dt = {
65
+ var Et = {
66
66
  name: "zh-cn",
67
67
  el: {
68
68
  breadcrumb: { label: "面包屑" },
@@ -243,15 +243,15 @@ var Dt = {
243
243
  defaultLabel: "请输入第 {index} 位 OTP 字符"
244
244
  }
245
245
  }
246
- }, Ot = {
246
+ }, Dt = {
247
247
  autoIcon: !0,
248
248
  autoLoading: !0,
249
249
  autoTheme: !0,
250
250
  loading: void 0
251
- }, kt = {
251
+ }, Ot = {
252
252
  autoLabelWidth: !0,
253
253
  colon: !0,
254
- data: () => Me({}),
254
+ data: () => je({}),
255
255
  disabled: !1,
256
256
  labelAlign: "top",
257
257
  layout: "inline",
@@ -261,7 +261,7 @@ var Dt = {
261
261
  requiredMark: void 0,
262
262
  resetType: "initial",
263
263
  showErrorMessage: !0
264
- }, At = {
264
+ }, kt = {
265
265
  closeBtn: () => k($, {
266
266
  icon: "mdi:close",
267
267
  shape: "circle",
@@ -282,7 +282,7 @@ var Dt = {
282
282
  preventScrollThrough: !0,
283
283
  showOverlay: !0,
284
284
  width: "fit-content"
285
- }, jt = /* @__PURE__ */ E({
285
+ }, At = /* @__PURE__ */ E({
286
286
  inheritAttrs: !1,
287
287
  name: "TDialog",
288
288
  __name: "dialog",
@@ -329,9 +329,9 @@ var Dt = {
329
329
  "onUpdate:visible": { type: Function },
330
330
  visible: { type: Boolean }
331
331
  }, {
332
- ...At,
332
+ ...kt,
333
333
  attach: "body",
334
- closeBtn: () => At.closeBtn,
334
+ closeBtn: () => kt.closeBtn,
335
335
  showInAttachedElement: !1
336
336
  }),
337
337
  setup(e) {
@@ -344,54 +344,54 @@ var Dt = {
344
344
  function i(e) {
345
345
  r.exposed = e ?? {};
346
346
  }
347
- return (e, t) => (N(), x(I(k(R(Ke), j(e.$attrs, {
347
+ return (e, t) => (N(), x(I(k(R(Ge), j(e.$attrs, {
348
348
  ...n.value,
349
349
  ref: i
350
350
  }), e.$slots))));
351
351
  }
352
- }), Mt = /* @__PURE__ */ function(e) {
352
+ }), jt = /* @__PURE__ */ function(e) {
353
353
  return e.alert = "alert", e.closeAll = "closeAll", e.confirm = "confirm", e;
354
- }(Mt || {}), Nt = /* @__PURE__ */ new Set();
355
- function Pt(e, t, n) {
356
- let r = b(() => typeof t.body == "function" ? t.body(k) : t.body), i = P(document.activeElement instanceof HTMLElement ? document.activeElement : null), { isVisible: a, stop: s } = dt(i, {
354
+ }(jt || {}), Mt = /* @__PURE__ */ new Set();
355
+ function Nt(e, t, n) {
356
+ let r = b(() => typeof t.body == "function" ? t.body(k) : t.body), i = P(document.activeElement instanceof HTMLElement ? document.activeElement : null), { isVisible: a, stop: s } = ut(i, {
357
357
  controls: !0,
358
358
  initialValue: !0
359
359
  }), c = {
360
- ...At,
360
+ ...kt,
361
361
  closeWhenCloseAll: !0,
362
362
  ...t ?? {},
363
- body: () => k(Un, {}, { default: () => r.value })
363
+ body: () => k(Hn, {}, { default: () => r.value })
364
364
  }, l, u = {
365
365
  ...c,
366
366
  onClosed: () => {
367
- i.value !== null && a.value && i.value.focus(), s(), c.onClosed?.(), Nt.delete(l);
367
+ i.value !== null && a.value && i.value.focus(), s(), c.onClosed?.(), Mt.delete(l);
368
368
  }
369
369
  };
370
370
  delete u.closeWhenCloseAll;
371
371
  let d = o();
372
- return l = e === void 0 ? qe(u, n ?? d) : qe[e](u, n ?? d), c.closeWhenCloseAll && Nt.add(l), l;
372
+ return l = e === void 0 ? Ke(u, n ?? d) : Ke[e](u, n ?? d), c.closeWhenCloseAll && Mt.add(l), l;
373
373
  }
374
- var Ft = function(...e) {
375
- return Pt(void 0, ...e);
374
+ var Pt = function(...e) {
375
+ return Nt(void 0, ...e);
376
376
  };
377
- Object.values(Mt).forEach((e) => {
378
- Ft[e] = e === "closeAll" ? () => {
379
- Nt.forEach((e) => {
377
+ Object.values(jt).forEach((e) => {
378
+ Pt[e] = e === "closeAll" ? () => {
379
+ Mt.forEach((e) => {
380
380
  e.hide();
381
381
  });
382
- } : (...t) => Pt(e, ...t);
382
+ } : (...t) => Nt(e, ...t);
383
383
  });
384
384
  // ../../packages/dlzn-ui/plugins/autoImport/$confirm/index.ts
385
385
  var W = (e, t) => {
386
386
  let n = { ...typeof e == "string" ? {} : e };
387
387
  return delete n.useReject, delete n.onCancelCallback, delete n.onConfirmCallback, new Promise((r, i) => {
388
- let a = Ft(typeof e == "string" ? {
388
+ let a = Pt(typeof e == "string" ? {
389
389
  body: e,
390
390
  onConfirm: () => {
391
391
  a.hide(), r();
392
392
  },
393
393
  theme: "warning"
394
- } : Me({
394
+ } : je({
395
395
  ...n,
396
396
  onClose: (t) => {
397
397
  let { trigger: n } = t;
@@ -410,7 +410,7 @@ var W = (e, t) => {
410
410
  });
411
411
  };
412
412
  // ../../packages/dlzn-ui/store/modules/common.ts
413
- function It() {
413
+ function Ft() {
414
414
  return VITE_APP_ID === "1" ? X.Get(`yq/oemConfig/getByDomain/${window.location.hostname}`, {
415
415
  meta: { useToken: !1 },
416
416
  transform(e) {
@@ -439,9 +439,9 @@ var G = V("common", () => {
439
439
  e && (document.title = e);
440
440
  }), z(() => n.value.color, (e) => {
441
441
  e && (h().value = e);
442
- }), ft(b(() => n.value.logo || "/favicon.ico"));
442
+ }), dt(b(() => n.value.logo || "/favicon.ico"));
443
443
  function r() {
444
- It().then((e) => {
444
+ Ft().then((e) => {
445
445
  n.value = e;
446
446
  }).catch((e) => {
447
447
  n.value = {
@@ -472,7 +472,7 @@ var G = V("common", () => {
472
472
  e.value = e.value.filter((e) => n.hasRoute(e.name));
473
473
  }
474
474
  function i(t, n) {
475
- let r = gt(n), i = e.value.findIndex((e) => e.name === r.name || Y(e.name).meta.title === Y(r.name).meta.title);
475
+ let r = ht(n), i = e.value.findIndex((e) => e.name === r.name || Y(e.name).meta.title === Y(r.name).meta.title);
476
476
  if (delete r.query._fromLeftTree, i === -1) {
477
477
  let n = e.value.findIndex((e) => e.name === t);
478
478
  n === -1 ? e.value.push(r) : e.value.splice(n + 1, 0, r);
@@ -502,16 +502,16 @@ var G = V("common", () => {
502
502
  };
503
503
  }, { persist: { pick: ["recentRouters"] } });
504
504
  // ../../packages/dlzn-ui/store/modules/router.ts
505
- function Lt() {
505
+ function It() {
506
506
  return X.Get("getRouters", { meta: {
507
507
  useFailMsg: "获取用户路由失败",
508
508
  useLoading: "正在获取用户路由..."
509
509
  } });
510
510
  }
511
- function Rt(e) {
511
+ function Lt(e) {
512
512
  return e.children !== void 0 || e.component !== void 0;
513
513
  }
514
- function zt(e) {
514
+ function Rt(e) {
515
515
  let t = [];
516
516
  return e.forEach((e) => {
517
517
  e.path === "/" ? t.push({
@@ -520,7 +520,7 @@ function zt(e) {
520
520
  }) : t.push(e);
521
521
  }), t;
522
522
  }
523
- function Bt(e) {
523
+ function zt(e) {
524
524
  let t = (e, n) => {
525
525
  let r = [];
526
526
  return e.forEach((e) => {
@@ -544,12 +544,12 @@ function Bt(e) {
544
544
  e !== void 0 && (i.redirect = { name: e.name });
545
545
  }
546
546
  }
547
- e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = Wt(e)), Rt(i) && r.push(i);
547
+ e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = Ut(e)), Lt(i) && r.push(i);
548
548
  }), r;
549
- }, n = fn();
549
+ }, n = dn();
550
550
  return n.children.push(...e), t([n], null);
551
551
  }
552
- function Vt(e) {
552
+ function Bt(e) {
553
553
  let t = (e) => {
554
554
  let n = [...e], r = n.length;
555
555
  for (let e = r - 1; e >= 0; e--) {
@@ -562,36 +562,36 @@ function Vt(e) {
562
562
  };
563
563
  return t(e);
564
564
  }
565
- var Ht = [];
566
- function Ut(e) {
565
+ var Vt = [];
566
+ function Ht(e) {
567
567
  return `./${e.split("___")[0]}.vue`;
568
568
  }
569
- function Wt(e) {
569
+ function Ut(e) {
570
570
  if (typeof e.component == "function" || typeof e.component == "string") {
571
- let t = e.component, n = typeof t == "string" ? v[Ut(t)] : t;
571
+ let t = e.component, n = typeof t == "string" ? v[Ht(t)] : t;
572
572
  if (n === void 0) {
573
- let e = `路由组件${Ut(t)}不存在`;
573
+ let e = `路由组件${Ht(t)}不存在`;
574
574
  return console.error(e), p["./NotFound.vue"];
575
575
  }
576
- return typeof t == "string" && Ht.push(Ut(t)), () => n().then((t) => ({
576
+ return typeof t == "string" && Vt.push(Ht(t)), () => n().then((t) => ({
577
577
  ...t.default,
578
578
  name: e.name
579
579
  }));
580
580
  }
581
581
  return e.component;
582
582
  }
583
- var Gt = V("router", () => {
583
+ var Wt = V("router", () => {
584
584
  let e = P([]), t = U(), n = Q();
585
585
  async function r() {
586
- let r = await Lt();
586
+ let r = await It();
587
587
  VITE_MODE === "development" && n.isAdmin && fetch("/__dev__/save-folder-alias", {
588
588
  body: JSON.stringify(r),
589
589
  headers: { "Content-Type": "application/json" },
590
590
  method: "POST"
591
591
  }).catch((e) => {
592
592
  console.warn("[dev-save-folder-alias] 写入本地 json 失败", e);
593
- }), Ht.length = 0, e.value = De(Vt(Bt(zt(r)))), n.isAdmin && Object.keys(v).forEach((e) => {
594
- if (!Ht.includes(e) && ![
593
+ }), Vt.length = 0, e.value = De(Bt(zt(Rt(r)))), n.isAdmin && Object.keys(v).forEach((e) => {
594
+ if (!Vt.includes(e) && ![
595
595
  "./tool",
596
596
  "./system",
597
597
  "./monitor"
@@ -613,10 +613,10 @@ var Gt = V("router", () => {
613
613
  getRouters: r,
614
614
  routersRaw: e
615
615
  };
616
- }), Kt = { class: "ml-2! flex items-center" }, qt = /*#__PURE__*/ y(/* @__PURE__ */ E({
616
+ }), Gt = { class: "ml-2! flex items-center" }, Kt = /*#__PURE__*/ y(/* @__PURE__ */ E({
617
617
  __name: "Aside",
618
618
  setup(e) {
619
- let t = H(), n = G(), r = b(() => n.appInfo.appName), i = Gt(), a = P([]);
619
+ let t = H(), n = G(), r = b(() => n.appInfo.appName), i = Wt(), a = P([]);
620
620
  z(() => t.name, () => {
621
621
  t.matched.map((e) => e.name).forEach((e) => {
622
622
  a.value.includes(e) || a.value.push(e);
@@ -625,14 +625,14 @@ var Gt = V("router", () => {
625
625
  let o = b(() => {
626
626
  let { hidden: e, parentName: n } = t.meta;
627
627
  return n !== "" && e === !0 ? n : t.name;
628
- }), s = b(() => n.appInfo.logo || vt.asideTopLogoUrl);
629
- return (e, t) => (N(), x(R(nt), {
628
+ }), s = b(() => n.appInfo.logo || _t.asideTopLogoUrl);
629
+ return (e, t) => (N(), x(R(tt), {
630
630
  expanded: a.value,
631
631
  "onUpdate:expanded": t[0] ||= (e) => a.value = e,
632
632
  class: "w-full!",
633
633
  value: o.value
634
634
  }, {
635
- logo: B(() => [Ce("div", Kt, [T(R(ne), {
635
+ logo: B(() => [Ce("div", Gt, [T(R(ne), {
636
636
  class: "logo",
637
637
  src: s.value,
638
638
  style: {
@@ -649,7 +649,7 @@ var Gt = V("router", () => {
649
649
  _: 1
650
650
  }, 8, ["expanded", "value"]));
651
651
  }
652
- }), [["__scopeId", "data-v-36275803"]]), Jt = /* @__PURE__ */ E({
652
+ }), [["__scopeId", "data-v-36275803"]]), qt = /* @__PURE__ */ E({
653
653
  __name: "Breadcrumb",
654
654
  setup(e, { expose: t }) {
655
655
  let n = H(), r = U(), i = K(), a = b(() => {
@@ -665,11 +665,11 @@ var Gt = V("router", () => {
665
665
  function o(e) {
666
666
  r.push(i.recentRouters.find((t) => t.name === e));
667
667
  }
668
- return t({ items: a }), (e, t) => a.value.length > 0 ? (N(), x(R(Be), {
668
+ return t({ items: a }), (e, t) => a.value.length > 0 ? (N(), x(R(ze), {
669
669
  key: 0,
670
670
  class: "absolute top-px z-10 py-1!"
671
671
  }, {
672
- default: B(() => [(N(!0), C(be, null, F(a.value, (e) => (N(), x(R(Ve), {
672
+ default: B(() => [(N(!0), C(be, null, F(a.value, (e) => (N(), x(R(Be), {
673
673
  key: e.name,
674
674
  disabled: e.disabled,
675
675
  onClick: (t) => o(e.name)
@@ -680,77 +680,77 @@ var Gt = V("router", () => {
680
680
  _: 1
681
681
  })) : S("v-if", !0);
682
682
  }
683
- }), Yt = /* @__PURE__ */ new Map();
684
- function Xt(e) {
683
+ }), Jt = /* @__PURE__ */ new Map();
684
+ function Yt(e) {
685
685
  let t = X.Post("system/user/listByIds", { userIds: e }, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
686
686
  ...e,
687
687
  label: e.userName,
688
688
  value: e.userId
689
689
  })));
690
690
  e.forEach((e) => {
691
- Yt.set(e, t.then((t) => t.find((t) => t.value === e)));
691
+ Jt.set(e, t.then((t) => t.find((t) => t.value === e)));
692
692
  });
693
693
  }
694
- var Zt = [];
695
- function Qt(e) {
696
- return Zt.includes(e) || Zt.push(e), new Promise((t) => {
694
+ var Xt = [];
695
+ function Zt(e) {
696
+ return Xt.includes(e) || Xt.push(e), new Promise((t) => {
697
697
  setTimeout(() => {
698
- let n = Zt.filter((e) => !Yt.has(e));
699
- n.length > 0 && Xt(n), Zt.length = 0, Yt.get(e).then((e) => {
698
+ let n = Xt.filter((e) => !Jt.has(e));
699
+ n.length > 0 && Yt(n), Xt.length = 0, Jt.get(e).then((e) => {
700
700
  t(e);
701
701
  });
702
702
  });
703
703
  });
704
704
  }
705
705
  var q = /* @__PURE__ */ new Map();
706
- function $t() {
707
- Zt.length = 0, Yt.clear(), q.clear();
706
+ function Qt() {
707
+ Xt.length = 0, Jt.clear(), q.clear();
708
708
  }
709
- function en(e) {
710
- Yt.delete(e), q.has(e) && Qt(e).then((t) => {
709
+ function $t(e) {
710
+ Jt.delete(e), q.has(e) && Zt(e).then((t) => {
711
711
  q.get(e).value = t;
712
712
  });
713
713
  }
714
- function tn(e) {
714
+ function en(e) {
715
715
  let t;
716
- return q.has(e) ? t = q.get(e) : (t = P(null), q.set(e, t), Qt(e).then((e) => {
716
+ return q.has(e) ? t = q.get(e) : (t = P(null), q.set(e, t), Zt(e).then((e) => {
717
717
  t.value = e;
718
718
  })), t;
719
719
  }
720
720
  // ../../packages/dlzn-ui/store/modules/login.ts
721
- function nn(e) {
721
+ function tn(e) {
722
722
  return X.Post("login", e, { meta: {
723
723
  useLoading: "登录中...",
724
724
  useToken: !1
725
725
  } });
726
726
  }
727
- function rn() {
727
+ function nn() {
728
728
  return X.Post("logout", void 0, { meta: {
729
729
  useLoading: "退出登录中...",
730
730
  useSuccessMsg: !0
731
731
  } });
732
732
  }
733
- var an = V("login", () => {
733
+ var rn = V("login", () => {
734
734
  let e = P(""), t = H(), n = U();
735
735
  async function r(t) {
736
- let n = await nn(t);
736
+ let n = await tn(t);
737
737
  e.value = n.token, await Q().getUserInfo();
738
738
  }
739
739
  function i() {
740
- e.value = "", g().clear(), Gt().clear(), Q().clear(), Sn(), $t(), oe();
740
+ e.value = "", g().clear(), Wt().clear(), Q().clear(), xn(), Qt(), oe();
741
741
  }
742
742
  z(() => t.name, () => {
743
743
  t.name === "Login" && i();
744
744
  });
745
745
  async function a() {
746
- await rn(), await n.push({ name: "Login" }), i();
746
+ await nn(), await n.push({ name: "Login" }), i();
747
747
  }
748
748
  return {
749
749
  login: r,
750
750
  logout: a,
751
751
  token: e
752
752
  };
753
- }, { persist: { pick: ["token"] } }), on = { class: "flex items-center justify-between" }, sn = /*#__PURE__*/ y(/* @__PURE__ */ E({
753
+ }, { persist: { pick: ["token"] } }), an = { class: "flex items-center justify-between" }, on = /*#__PURE__*/ y(/* @__PURE__ */ E({
754
754
  __name: "Header",
755
755
  setup(t) {
756
756
  let n = H(), r = U(), i = Q(), a = G(), o = K();
@@ -762,7 +762,7 @@ var an = V("login", () => {
762
762
  }
763
763
  let l = async (e) => {
764
764
  let { value: t } = e;
765
- t === "profile" ? r.push({ name: "Profile" }) : t === "logout" && (await W("确定要退出登录吗?"), an().logout());
765
+ t === "profile" ? r.push({ name: "Profile" }) : t === "logout" && (await W("确定要退出登录吗?"), rn().logout());
766
766
  }, u = m.isMd;
767
767
  function d(e, t) {
768
768
  let i = [], a = o.recentRouters, s = a.findIndex((e) => e.name === t), l = a.findIndex((e) => e.name === n.name), u = a[s];
@@ -787,8 +787,8 @@ var an = V("login", () => {
787
787
  }), re(e, i);
788
788
  }
789
789
  let f = p["./modules/HeaderOperations.vue"] ? Te(p["./modules/HeaderOperations.vue"]) : void 0;
790
- return (t, r) => (N(), x(R($e), { class: "border-b border-b-(--td-border-level-2-color)" }, {
791
- default: B(() => [T(R(Qe), {
790
+ return (t, r) => (N(), x(R(Qe), { class: "border-b border-b-(--td-border-level-2-color)" }, {
791
+ default: B(() => [T(R(Ze), {
792
792
  "expand-type": "popup",
793
793
  value: R(n).name,
794
794
  onChange: s
@@ -840,18 +840,18 @@ var an = V("login", () => {
840
840
  }))]),
841
841
  _: 1
842
842
  }, 8, ["options"])]),
843
- default: B(() => [(N(!0), C(be, null, F(R(o).recentRouters, (t) => (N(), x(R(rt), {
843
+ default: B(() => [(N(!0), C(be, null, F(R(o).recentRouters, (t) => (N(), x(R(nt), {
844
844
  key: t.name,
845
845
  value: t.name,
846
846
  onContextmenu: (e) => d(e, t.name)
847
847
  }, {
848
- default: B(() => [Ce("div", on, [Ce("span", null, L(R(Y)(t.name).meta.title), 1), R(o).recentRouters.length > 1 ? (N(), x(R($), {
848
+ default: B(() => [Ce("div", an, [Ce("span", null, L(R(Y)(t.name).meta.title), 1), R(o).recentRouters.length > 1 ? (N(), x(R($), {
849
849
  key: 0,
850
850
  class: "ml-1!",
851
851
  shape: "square",
852
852
  size: "small",
853
853
  variant: "text",
854
- onClick: ze((e) => c(t.name), ["stop"])
854
+ onClick: Re((e) => c(t.name), ["stop"])
855
855
  }, {
856
856
  icon: B(() => [T(R(e), {
857
857
  icon: "material-symbols:close",
@@ -866,26 +866,26 @@ var an = V("login", () => {
866
866
  _: 1
867
867
  }));
868
868
  }
869
- }), [["__scopeId", "data-v-6c2c986c"]]), cn = /*#__PURE__*/ y(/* @__PURE__ */ E({
869
+ }), [["__scopeId", "data-v-6c2c986c"]]), sn = /*#__PURE__*/ y(/* @__PURE__ */ E({
870
870
  __name: "Entry",
871
871
  setup(e) {
872
- let t = H(), n = G(), r = K(), i = g(), a = b(() => r.recentRouters.filter((e) => Y(e.name).meta.noCache === !1).map((e) => e.name)), o = Re("breadcrumb"), s = b(() => (o.value?.items.length ?? 0) > 0), c = b(() => m.isMd.value ? { "p-2": !0 } : { "p-3": !0 }), l = m.isMd, u = Re("contentRef"), { height: d } = ut(u);
872
+ let t = H(), n = G(), r = K(), i = g(), a = b(() => r.recentRouters.filter((e) => Y(e.name).meta.noCache === !1).map((e) => e.name)), o = Le("breadcrumb"), s = b(() => (o.value?.items.length ?? 0) > 0), c = b(() => m.isMd.value ? { "p-2": !0 } : { "p-3": !0 }), l = m.isMd, u = Le("contentRef"), { height: d } = lt(u);
873
873
  function f({ size: e }) {
874
874
  n.drawerSize = e;
875
875
  }
876
876
  let p = b(() => t.meta.fullScreen);
877
877
  return (e, t) => {
878
- let r = Pe("RouterView");
878
+ let r = Ne("RouterView");
879
879
  return p.value ? (N(), x(r, { key: 0 }, {
880
880
  default: B(({ Component: e }) => [(N(), x(I(e)))]),
881
881
  _: 1
882
- })) : (N(), x(R(tt), {
882
+ })) : (N(), x(R(et), {
883
883
  key: 1,
884
884
  class: "h-full"
885
885
  }, {
886
886
  default: B(() => [
887
- T(sn),
888
- T(R(Je), {
887
+ T(on),
888
+ T(R(qe), {
889
889
  visible: R(n).drawerOpen,
890
890
  "onUpdate:visible": t[0] ||= (e) => R(n).drawerOpen = e,
891
891
  footer: !1,
@@ -899,7 +899,7 @@ var an = V("login", () => {
899
899
  },
900
900
  onSizeDragEnd: f
901
901
  }, {
902
- default: B(() => [T(qt, { class: "no_drawer_body_padding" })]),
902
+ default: B(() => [T(Kt, { class: "no_drawer_body_padding" })]),
903
903
  _: 1
904
904
  }, 8, [
905
905
  "visible",
@@ -907,14 +907,14 @@ var an = V("login", () => {
907
907
  "show-overlay",
908
908
  "size"
909
909
  ]),
910
- T(R(Ge), {
910
+ T(R(We), {
911
911
  ref_key: "contentRef",
912
912
  ref: u,
913
913
  class: "overflow-hidden"
914
914
  }, {
915
915
  default: B(() => [T(R(ee), {
916
916
  always: "",
917
- "view-class": ke(["relative flex flex-col", {
917
+ "view-class": Oe(["relative flex flex-col", {
918
918
  ...c.value,
919
919
  "pt-8": s.value
920
920
  }]),
@@ -923,7 +923,7 @@ var an = V("login", () => {
923
923
  minHeight: `${Math.max(R(d), 438)}px`
924
924
  }
925
925
  }, {
926
- default: B(() => [T(Jt, { ref: "breadcrumb" }, null, 512), T(r, null, {
926
+ default: B(() => [T(qt, { ref: "breadcrumb" }, null, 512), T(r, null, {
927
927
  default: B(({ Component: e }) => [(N(), x(xe, {
928
928
  exclude: R(i).excludeKPname,
929
929
  include: a.value
@@ -942,8 +942,8 @@ var an = V("login", () => {
942
942
  }));
943
943
  };
944
944
  }
945
- }), [["__scopeId", "data-v-f74cbe56"]]), ln = /* @__PURE__ */ new Set();
946
- function un(e, t) {
945
+ }), [["__scopeId", "data-v-f74cbe56"]]), cn = /* @__PURE__ */ new Set();
946
+ function ln(e, t) {
947
947
  let n = b(() => typeof e.body == "function" ? e.body(k) : e.body), r = {
948
948
  attach: "#app",
949
949
  closeOnEscKeydown: !1,
@@ -954,25 +954,25 @@ function un(e, t) {
954
954
  lazy: !0,
955
955
  sizeDraggable: !0,
956
956
  ...e ?? {},
957
- body: () => k(Un, {}, { default: () => n.value })
957
+ body: () => k(Hn, {}, { default: () => n.value })
958
958
  }, i, a = {
959
959
  ...r,
960
960
  onClose: (e) => {
961
- r.onClose?.(e), ln.delete(i);
961
+ r.onClose?.(e), cn.delete(i);
962
962
  }
963
963
  };
964
- return delete a.closeWhenCloseAll, i = Ye(a, t ?? o()), r.closeWhenCloseAll && ln.add(i), i;
964
+ return delete a.closeWhenCloseAll, i = Je(a, t ?? o()), r.closeWhenCloseAll && cn.add(i), i;
965
965
  }
966
- var dn = function(...e) {
967
- return un(...e);
966
+ var un = function(...e) {
967
+ return ln(...e);
968
968
  };
969
- dn.closeAll = () => {
970
- ln.forEach((e) => {
969
+ un.closeAll = () => {
970
+ cn.forEach((e) => {
971
971
  e.hide?.();
972
972
  });
973
973
  };
974
974
  // ../../packages/dlzn-ui/router/index.ts
975
- function fn() {
975
+ function dn() {
976
976
  return {
977
977
  children: [{
978
978
  children: [{
@@ -1000,15 +1000,15 @@ function fn() {
1000
1000
  name: "Home",
1001
1001
  path: "home"
1002
1002
  }],
1003
- component: cn,
1003
+ component: sn,
1004
1004
  name: "Index",
1005
1005
  path: "/"
1006
1006
  };
1007
1007
  }
1008
- var J = bt({
1009
- history: xt(VITE_BASE_URL),
1008
+ var J = yt({
1009
+ history: bt(VITE_BASE_URL),
1010
1010
  routes: [
1011
- fn(),
1011
+ dn(),
1012
1012
  {
1013
1013
  component: p["./Login.vue"],
1014
1014
  meta: {
@@ -1053,12 +1053,12 @@ var J = bt({
1053
1053
  strict: !0
1054
1054
  });
1055
1055
  J.beforeEach(async (e) => {
1056
- if (e.query._fromLeftTree === "true" && g().add(e.name), !["Login", "Register"].includes(e.name)) return an().token === "" ? { name: "Login" } : Gt().routersRaw.length > 0 ? void 0 : (await Q().getUserInfo(), J.resolve({
1056
+ if (e.query._fromLeftTree === "true" && g().add(e.name), !["Login", "Register"].includes(e.name)) return rn().token === "" ? { name: "Login" } : Wt().routersRaw.length > 0 ? void 0 : (await Q().getUserInfo(), J.resolve({
1057
1057
  path: e.path,
1058
1058
  query: e.query
1059
1059
  }));
1060
1060
  }), J.afterEach((e, t, n) => {
1061
- Ft.closeAll(), dn.closeAll();
1061
+ Pt.closeAll(), un.closeAll();
1062
1062
  let { meta: r, name: i } = e, { fullScreen: a, parentName: o, title: s } = r;
1063
1063
  document.title = s || G().appInfo.appName;
1064
1064
  let c = K();
@@ -1073,23 +1073,23 @@ J.beforeEach(async (e) => {
1073
1073
  query: e.query
1074
1074
  });
1075
1075
  }
1076
- g().remove(i), VITE_MODE === "development" && (St(n, yt.aborted) ? l.info("导航被中断") : St(n, yt.cancelled) ? l.info("导航被取消,因为有一个新的导航") : St(n, yt.duplicated) && l.info("导航被阻止,因为我们已经在目标位置了"));
1076
+ g().remove(i), VITE_MODE === "development" && (xt(n, vt.aborted) ? l.info("导航被中断") : xt(n, vt.cancelled) ? l.info("导航被取消,因为有一个新的导航") : xt(n, vt.duplicated) && l.info("导航被阻止,因为我们已经在目标位置了"));
1077
1077
  });
1078
1078
  function Y(e) {
1079
1079
  if (J.hasRoute(e)) return J.getRoutes().find((t) => t.name === e);
1080
1080
  }
1081
1081
  // ../../packages/dlzn-ui/plugins/autoImport/$alova/index.ts
1082
- var pn = 15e3, mn = "网络错误,请稍后再试";
1083
- function hn(e, t = !0) {
1082
+ var fn = 15e3, pn = "网络错误,请稍后再试";
1083
+ function mn(e, t = !0) {
1084
1084
  let n = {};
1085
1085
  return Object.keys(e).forEach((r) => {
1086
1086
  (!t || (Array.isArray(e[r]) ? e[r].length > 0 : !s(e[r]))) && (n[r] = e[r]);
1087
1087
  }), n;
1088
1088
  }
1089
- function gn(e, t = !0) {
1090
- return new URLSearchParams(hn(e, t)).toString();
1089
+ function hn(e, t = !0) {
1090
+ return new URLSearchParams(mn(e, t)).toString();
1091
1091
  }
1092
- function _n(e) {
1092
+ function gn(e) {
1093
1093
  let { data: t, response: n, useDownload: r } = e;
1094
1094
  if (typeof r == "string") f(t, r);
1095
1095
  else {
@@ -1097,12 +1097,12 @@ function _n(e) {
1097
1097
  e ? f(t, e) : a.error("返回的 response header 没有文件名");
1098
1098
  }
1099
1099
  }
1100
- var X = Ct({
1100
+ var X = St({
1101
1101
  baseURL: VITE_BASE_URL,
1102
1102
  beforeRequest(e) {
1103
1103
  e.config.credentials = e.config.credentials ?? "omit";
1104
1104
  let [t, ...r] = VITE_API_PROXY_PREFIX_ARRAY;
1105
- !e.url.startsWith("http") && !r.some((t) => Et.join("/", e.url).startsWith(Et.join("/", t, "/"))) && (e.url = Et.join(t, e.url)), e.meta = {
1105
+ !e.url.startsWith("http") && !r.some((t) => Tt.join("/", e.url).startsWith(Tt.join("/", t, "/"))) && (e.url = Tt.join(t, e.url)), e.meta = {
1106
1106
  use600Alert: !0,
1107
1107
  useDataResult: !0,
1108
1108
  useDownload: !1,
@@ -1119,10 +1119,10 @@ var X = Ct({
1119
1119
  useToken: !e.url.startsWith("http"),
1120
1120
  ...e.meta ?? {}
1121
1121
  };
1122
- let i = an(), { useEmptyData: a, useEmptyParams: o, useFormData: c, useInPolling: l, useLoading: u, useResponseBlob: d, useToken: f } = e.meta;
1122
+ let i = rn(), { useEmptyData: a, useEmptyParams: o, useFormData: c, useInPolling: l, useLoading: u, useResponseBlob: d, useToken: f } = e.meta;
1123
1123
  l || G().requestActive(), f && (i.token ? e.config.headers.Authorization = i.token : e.abort()), u !== !1 && n.show(u === !0 ? void 0 : u);
1124
1124
  let p = e.config.params;
1125
- if (typeof p != "string" && (e.config.params = gn(p, o)), a && _t(e.data)) {
1125
+ if (typeof p != "string" && (e.config.params = hn(p, o)), a && gt(e.data)) {
1126
1126
  let t = {}, n = e.data;
1127
1127
  Object.keys(n).forEach((e) => {
1128
1128
  s(n[e]) || (t[e] = n[e]);
@@ -1134,10 +1134,10 @@ var X = Ct({
1134
1134
  t.append(n, e.data[n]);
1135
1135
  }), e.data = t;
1136
1136
  }
1137
- e.config.timeout === pn && (c || e.data instanceof FormData || d) && (e.config.timeout = 0);
1137
+ e.config.timeout === fn && (c || e.data instanceof FormData || d) && (e.config.timeout = 0);
1138
1138
  },
1139
1139
  cacheFor: null,
1140
- requestAdapter: wt(),
1140
+ requestAdapter: Ct(),
1141
1141
  responded: {
1142
1142
  onComplete: (e) => {
1143
1143
  e.meta.useLoading !== !1 && n.hide();
@@ -1149,7 +1149,7 @@ var X = Ct({
1149
1149
  if (t.toLowerCase().includes("abort")) return Promise.reject(e);
1150
1150
  if (t.toLowerCase().includes("timeout")) return n && l.error("请求超时"), Promise.reject(e);
1151
1151
  }
1152
- return n && l.error(mn), Promise.reject(e);
1152
+ return n && l.error(pn), Promise.reject(e);
1153
1153
  },
1154
1154
  onSuccess: async (e, t) => {
1155
1155
  if (typeof e == "string") return e;
@@ -1160,7 +1160,7 @@ var X = Ct({
1160
1160
  403: "当前操作没有权限",
1161
1161
  404: "访问资源不存在",
1162
1162
  500: "服务不可用,请稍后再试或联系管理员!"
1163
- }[ee] ?? mn;
1163
+ }[ee] ?? pn;
1164
1164
  l.error(e);
1165
1165
  }
1166
1166
  return Promise.reject(e);
@@ -1172,7 +1172,7 @@ var X = Ct({
1172
1172
  } catch (e) {
1173
1173
  return a.error("返回的 response 不能被blob() 方法所解析"), Promise.reject(e);
1174
1174
  }
1175
- return r !== !1 && _n({
1175
+ return r !== !1 && gn({
1176
1176
  data: t,
1177
1177
  response: e,
1178
1178
  useDownload: r
@@ -1207,12 +1207,12 @@ var X = Ct({
1207
1207
  return Promise.reject(h);
1208
1208
  }
1209
1209
  {
1210
- let i = vt.alovaResCodeSuccessCb?.({
1210
+ let i = _t.alovaResCodeSuccessCb?.({
1211
1211
  code: t,
1212
1212
  data: s,
1213
1213
  msg: u
1214
1214
  });
1215
- return i === void 0 ? (r !== !1 && (typeof r == "string" ? _n({
1215
+ return i === void 0 ? (r !== !1 && (typeof r == "string" ? gn({
1216
1216
  data: s,
1217
1217
  response: e,
1218
1218
  useDownload: r
@@ -1223,10 +1223,10 @@ var X = Ct({
1223
1223
  }
1224
1224
  },
1225
1225
  shareRequest: !1,
1226
- statesHook: Tt,
1227
- timeout: pn
1228
- }), vn = /* @__PURE__ */ new Map();
1229
- function yn(e) {
1226
+ statesHook: wt,
1227
+ timeout: fn
1228
+ }), _n = /* @__PURE__ */ new Map();
1229
+ function vn(e) {
1230
1230
  let t = X.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
1231
1231
  cssClass: e.cssClass,
1232
1232
  dictType: e.dictType,
@@ -1235,41 +1235,41 @@ function yn(e) {
1235
1235
  value: e.dictValue
1236
1236
  })));
1237
1237
  e.forEach((e) => {
1238
- vn.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1238
+ _n.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1239
1239
  });
1240
1240
  }
1241
- var bn = [];
1242
- function xn(e) {
1243
- return bn.includes(e) || bn.push(e), new Promise((t) => {
1241
+ var yn = [];
1242
+ function bn(e) {
1243
+ return yn.includes(e) || yn.push(e), new Promise((t) => {
1244
1244
  setTimeout(() => {
1245
- let n = bn.filter((e) => !vn.has(e));
1246
- n.length > 0 && yn(n), bn.length = 0, vn.get(e).then((e) => {
1245
+ let n = yn.filter((e) => !_n.has(e));
1246
+ n.length > 0 && vn(n), yn.length = 0, _n.get(e).then((e) => {
1247
1247
  t(e);
1248
1248
  });
1249
1249
  });
1250
1250
  });
1251
1251
  }
1252
1252
  var Z = /* @__PURE__ */ new Map();
1253
- function Sn() {
1254
- bn.length = 0, vn.clear(), Z.clear();
1253
+ function xn() {
1254
+ yn.length = 0, _n.clear(), Z.clear();
1255
1255
  }
1256
- function Cn(e, t) {
1257
- let n = wn(e);
1256
+ function Sn(e, t) {
1257
+ let n = Cn(e);
1258
1258
  return t === void 0 ? i(n) : i(n, t);
1259
1259
  }
1260
- function wn(e, t) {
1260
+ function Cn(e, t) {
1261
1261
  let n;
1262
- return Z.has(e) ? n = Z.get(e) : (n = P([]), Z.set(e, n), xn(e).then((e) => {
1262
+ return Z.has(e) ? n = Z.get(e) : (n = P([]), Z.set(e, n), bn(e).then((e) => {
1263
1263
  n.value = e;
1264
1264
  })), b(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
1265
1265
  }
1266
- function Tn(e) {
1267
- vn.delete(e), Z.has(e) && xn(e).then((t) => {
1266
+ function wn(e) {
1267
+ _n.delete(e), Z.has(e) && bn(e).then((t) => {
1268
1268
  Z.get(e).value = t;
1269
1269
  });
1270
1270
  }
1271
1271
  // ../../packages/dlzn-ui/components/checkbox-group/src/checkbox-group.vue
1272
- var En = /* @__PURE__ */ E({
1272
+ var Tn = /* @__PURE__ */ E({
1273
1273
  inheritAttrs: !1,
1274
1274
  name: "TCheckboxGroup",
1275
1275
  __name: "checkbox-group",
@@ -1302,7 +1302,7 @@ var En = /* @__PURE__ */ E({
1302
1302
  }
1303
1303
  let l = b(() => {
1304
1304
  let e;
1305
- return n.dicCode ? (n.options && a.error("TCheckboxGroup: dicCode and options cannot be used together"), e = wn(n.dicCode).value) : e = typeof n.options == "string" ? ae(n.options).value : n.options, n.showCheckAll && (e === void 0 ? a.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1305
+ return n.dicCode ? (n.options && a.error("TCheckboxGroup: dicCode and options cannot be used together"), e = Cn(n.dicCode).value) : e = typeof n.options == "string" ? ae(n.options).value : n.options, n.showCheckAll && (e === void 0 ? a.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1306
1306
  checkAll: !0,
1307
1307
  label: "全选"
1308
1308
  })), e;
@@ -1320,7 +1320,7 @@ var En = /* @__PURE__ */ E({
1320
1320
  e[t] === void 0 && delete e[t];
1321
1321
  }), e;
1322
1322
  });
1323
- return (e, t) => (N(), x(I(k(R(Ue), j(e.$attrs, {
1323
+ return (e, t) => (N(), x(I(k(R(He), j(e.$attrs, {
1324
1324
  ...d.value,
1325
1325
  options: l.value,
1326
1326
  modelValue: u.value,
@@ -1330,7 +1330,7 @@ var En = /* @__PURE__ */ E({
1330
1330
  ref: o
1331
1331
  }), e.$slots))));
1332
1332
  }
1333
- }), Dn = /* @__PURE__ */ E({
1333
+ }), En = /* @__PURE__ */ E({
1334
1334
  inheritAttrs: !1,
1335
1335
  __name: "cron",
1336
1336
  props: /*@__PURE__*/ A({
@@ -1412,7 +1412,7 @@ var En = /* @__PURE__ */ E({
1412
1412
  variant: "text"
1413
1413
  }) }
1414
1414
  };
1415
- }), s = Ie(), c = D();
1415
+ }), s = Fe(), c = D();
1416
1416
  function l(e) {
1417
1417
  c.exposed = e ?? {};
1418
1418
  }
@@ -1425,7 +1425,7 @@ var En = /* @__PURE__ */ E({
1425
1425
  }));
1426
1426
  return (e, t) => (N(), x(R(le), M(O(u.value)), null, 16));
1427
1427
  }
1428
- }), On = /* @__PURE__ */ E({
1428
+ }), Dn = /* @__PURE__ */ E({
1429
1429
  inheritAttrs: !1,
1430
1430
  name: "TRadioGroup",
1431
1431
  __name: "radio-group",
@@ -1459,7 +1459,7 @@ var En = /* @__PURE__ */ E({
1459
1459
  function o(e) {
1460
1460
  i.exposed = e ?? {};
1461
1461
  }
1462
- let l = b(() => n.dicCode ? (n.options && a.error("TRadioGroup: dicCode and options cannot be used together"), wn(n.dicCode).value) : typeof n.options == "string" ? ae(n.options).value : n.options), d = b(() => {
1462
+ let l = b(() => n.dicCode ? (n.options && a.error("TRadioGroup: dicCode and options cannot be used together"), Cn(n.dicCode).value) : typeof n.options == "string" ? ae(n.options).value : n.options), d = b(() => {
1463
1463
  let e = { ...n };
1464
1464
  return delete e.dicCode, Object.keys(e).forEach((t) => {
1465
1465
  e[t] === void 0 && delete e[t];
@@ -1472,7 +1472,7 @@ var En = /* @__PURE__ */ E({
1472
1472
  }
1473
1473
  return n.modelValue;
1474
1474
  });
1475
- return (e, t) => (N(), x(I(k(R(it), j(e.$attrs, {
1475
+ return (e, t) => (N(), x(I(k(R(rt), j(e.$attrs, {
1476
1476
  ...d.value,
1477
1477
  options: l.value,
1478
1478
  modelValue: f.value,
@@ -1483,7 +1483,7 @@ var En = /* @__PURE__ */ E({
1483
1483
  ref: o
1484
1484
  }), e.$slots))));
1485
1485
  }
1486
- }), kn = {
1486
+ }), On = {
1487
1487
  clearable: !0,
1488
1488
  disabled: void 0,
1489
1489
  filterable: void 0,
@@ -1504,7 +1504,7 @@ var En = /* @__PURE__ */ E({
1504
1504
  }),
1505
1505
  showArrow: !0,
1506
1506
  showCheckAll: !1
1507
- }, An = /* @__PURE__ */ E({
1507
+ }, kn = /* @__PURE__ */ E({
1508
1508
  inheritAttrs: !1,
1509
1509
  name: "TSelect",
1510
1510
  __name: "select",
@@ -1568,7 +1568,7 @@ var En = /* @__PURE__ */ E({
1568
1568
  onPopupVisibleChange: { type: Function },
1569
1569
  onRemove: { type: Function },
1570
1570
  onSearch: { type: Function }
1571
- }, kn),
1571
+ }, On),
1572
1572
  setup(e) {
1573
1573
  let t = e, n = D();
1574
1574
  function r(e) {
@@ -1576,7 +1576,7 @@ var En = /* @__PURE__ */ E({
1576
1576
  }
1577
1577
  let i = b(() => {
1578
1578
  let e;
1579
- return t.dicCode === void 0 ? e = typeof t.options == "string" ? ae(t.options).value : t.options : (t.options && a.error("TSelect: dicCode and options cannot be used together"), e = wn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? a.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1579
+ return t.dicCode === void 0 ? e = typeof t.options == "string" ? ae(t.options).value : t.options : (t.options && a.error("TSelect: dicCode and options cannot be used together"), e = Cn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? a.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1580
1580
  checkAll: !0,
1581
1581
  [t.keys?.label ?? "label"]: "全选"
1582
1582
  }) : a.error("TSelect: showCheckAll is supported only for multiple select")), e;
@@ -1601,8 +1601,8 @@ var En = /* @__PURE__ */ E({
1601
1601
  e[t] === void 0 && delete e[t];
1602
1602
  }), e;
1603
1603
  }), d = P(0);
1604
- Ae(() => {
1605
- ht(n.exposed.$el, () => {
1604
+ ke(() => {
1605
+ mt(n.exposed.$el, () => {
1606
1606
  d.value = n.exposed.$el.offsetWidth;
1607
1607
  }, { box: "border-box" });
1608
1608
  });
@@ -1626,13 +1626,13 @@ var En = /* @__PURE__ */ E({
1626
1626
  })
1627
1627
  },
1628
1628
  ref: r
1629
- })), m = et;
1629
+ })), m = $e;
1630
1630
  return (t, n) => e.adornment ? (N(), x(I(k(R(m), t.$attrs, {
1631
1631
  ...e.adornment,
1632
- default: () => k(R(at), p.value, t.$slots)
1633
- })), { key: 0 })) : (N(), x(I(k(R(at), j(t.$attrs, p.value), t.$slots)), { key: 1 }));
1632
+ default: () => k(R(it), p.value, t.$slots)
1633
+ })), { key: 0 })) : (N(), x(I(k(R(it), j(t.$attrs, p.value), t.$slots)), { key: 1 }));
1634
1634
  }
1635
- }), jn = /* @__PURE__ */ E({
1635
+ }), An = /* @__PURE__ */ E({
1636
1636
  inheritAttrs: !1,
1637
1637
  __name: "select-sys-user",
1638
1638
  props: /*@__PURE__*/ A({
@@ -1707,7 +1707,7 @@ var En = /* @__PURE__ */ E({
1707
1707
  variant: "text"
1708
1708
  }) }
1709
1709
  };
1710
- }), s = Ie(), c = D();
1710
+ }), s = Fe(), c = D();
1711
1711
  function l(e) {
1712
1712
  c.exposed = e ?? {};
1713
1713
  }
@@ -1724,11 +1724,11 @@ var En = /* @__PURE__ */ E({
1724
1724
  ref: l
1725
1725
  }));
1726
1726
  return (e, t) => (N(), x(R(me), M(O(u.value)), {
1727
- tag: B(({ value: e }) => [w(L(R(tn)(e).value?.userName), 1)]),
1727
+ tag: B(({ value: e }) => [w(L(R(en)(e).value?.userName), 1)]),
1728
1728
  _: 1
1729
1729
  }, 16));
1730
1730
  }
1731
- }), Mn = {
1731
+ }), jn = {
1732
1732
  checkable: !1,
1733
1733
  disabled: void 0,
1734
1734
  expandOnClickNode: void 0,
@@ -1747,7 +1747,7 @@ var En = /* @__PURE__ */ E({
1747
1747
  line: !0,
1748
1748
  transition: !0,
1749
1749
  valueMode: "all"
1750
- }, Nn = /* @__PURE__ */ E({
1750
+ }, Mn = /* @__PURE__ */ E({
1751
1751
  inheritAttrs: !1,
1752
1752
  name: "TTree",
1753
1753
  __name: "tree",
@@ -1805,9 +1805,9 @@ var En = /* @__PURE__ */ E({
1805
1805
  onLoad: { type: Function },
1806
1806
  onScroll: { type: Function },
1807
1807
  treeStore: {}
1808
- }, Mn),
1808
+ }, jn),
1809
1809
  setup(e, { expose: t }) {
1810
- let n = e, r = Le(), i = b(() => {
1810
+ let n = e, r = Ie(), i = b(() => {
1811
1811
  let e = { ...n };
1812
1812
  return e.expandOnClickNode = e.expandOnClickNode ?? !e.checkable, r.icon && delete e.icon, Object.keys(e).forEach((t) => {
1813
1813
  e[t] === void 0 && delete e[t];
@@ -1816,12 +1816,12 @@ var En = /* @__PURE__ */ E({
1816
1816
  function o(e) {
1817
1817
  a.exposed = e ?? {};
1818
1818
  }
1819
- return t({}), (e, t) => (N(), x(I(k(R(ot), j(e.$attrs, {
1819
+ return t({}), (e, t) => (N(), x(I(k(R(at), j(e.$attrs, {
1820
1820
  ...i.value,
1821
1821
  ref: o
1822
1822
  }), e.$slots))));
1823
1823
  }
1824
- }), Pn = /* @__PURE__ */ E({
1824
+ }), Nn = /* @__PURE__ */ E({
1825
1825
  inheritAttrs: !1,
1826
1826
  name: "TTreeSelect",
1827
1827
  __name: "tree-select",
@@ -1894,10 +1894,10 @@ var En = /* @__PURE__ */ E({
1894
1894
  minCollapsedNum: 2,
1895
1895
  ...e.selectInputProps ?? {}
1896
1896
  }, e.treeProps = {
1897
- ...Mn,
1897
+ ...jn,
1898
1898
  checkable: !!t.multiple,
1899
1899
  expandOnClickNode: !!t.multiple,
1900
- icon: Mn.icon(),
1900
+ icon: jn.icon(),
1901
1901
  ...e.treeProps ?? {}
1902
1902
  }, Object.keys(e).forEach((t) => {
1903
1903
  e[t] === void 0 && delete e[t];
@@ -1907,11 +1907,11 @@ var En = /* @__PURE__ */ E({
1907
1907
  i.exposed = e ?? {};
1908
1908
  }
1909
1909
  let o = P(0);
1910
- return Ae(() => {
1911
- ht(i.exposed.$el, () => {
1910
+ return ke(() => {
1911
+ mt(i.exposed.$el, () => {
1912
1912
  o.value = i.exposed.$el.offsetWidth;
1913
1913
  }, { box: "border-box" });
1914
- }), (e, t) => (N(), x(I(k(R(st), j(e.$attrs, {
1914
+ }), (e, t) => (N(), x(I(k(R(ot), j(e.$attrs, {
1915
1915
  ...r.value,
1916
1916
  data: n.value,
1917
1917
  ref: a,
@@ -1925,10 +1925,10 @@ var En = /* @__PURE__ */ E({
1925
1925
  }
1926
1926
  }), e.$slots))));
1927
1927
  }
1928
- }), Fn = ".xlsx,.xls", In = { class: "flex items-center" }, Ln = {
1928
+ }), Pn = ".xlsx,.xls", Fn = { class: "flex items-center" }, In = {
1929
1929
  key: 1,
1930
1930
  class: "ml-3 text-xs text-(--td-text-color-placeholder)"
1931
- }, Rn = /*#__PURE__*/ y(/* @__PURE__ */ E({
1931
+ }, Ln = /*#__PURE__*/ y(/* @__PURE__ */ E({
1932
1932
  inheritAttrs: !1,
1933
1933
  name: "TUpload",
1934
1934
  __name: "upload",
@@ -1937,7 +1937,7 @@ var En = /* @__PURE__ */ E({
1937
1937
  "onUpdate:modelValue": {},
1938
1938
  requestMethod: {},
1939
1939
  abridgeName: {},
1940
- accept: { default: Fn },
1940
+ accept: { default: Pn },
1941
1941
  allowUploadDuplicateFile: { type: Boolean },
1942
1942
  autoUpload: { type: Boolean },
1943
1943
  beforeAllFilesUpload: {},
@@ -2039,16 +2039,16 @@ var En = /* @__PURE__ */ E({
2039
2039
  function s(e) {
2040
2040
  o.exposed = e ?? {};
2041
2041
  }
2042
- return t({}), (t, o) => (N(), x(I(k(R(ct), j(t.$attrs, {
2042
+ return t({}), (t, o) => (N(), x(I(k(R(st), j(t.$attrs, {
2043
2043
  ...a.value,
2044
2044
  requestMethod: r.value,
2045
2045
  ref: s
2046
2046
  }, { class: a.value.theme }))), null, we({ _: 2 }, [F(Object.keys(t.$slots), (e) => ({
2047
2047
  name: e,
2048
- fn: B((n) => [Ne(t.$slots, e, M(O(n)), void 0, !0)])
2048
+ fn: B((n) => [Me(t.$slots, e, M(O(n)), void 0, !0)])
2049
2049
  })), a.value.theme === "file" && !Object.hasOwn(t.$slots, "trigger") ? {
2050
2050
  name: "trigger",
2051
- fn: B(({ files: t }) => [Ce("div", In, [
2051
+ fn: B(({ files: t }) => [Ce("div", Fn, [
2052
2052
  T(R($), { theme: "primary" }, {
2053
2053
  default: B(() => [w(L(t.length > 0 ? a.value.multiple ? "继续上传" : "重新上传" : "选择文件"), 1)]),
2054
2054
  _: 2
@@ -2057,17 +2057,17 @@ var En = /* @__PURE__ */ E({
2057
2057
  key: 0,
2058
2058
  theme: "primary",
2059
2059
  variant: "outline",
2060
- onClick: ze(i, ["stop"])
2060
+ onClick: Re(i, ["stop"])
2061
2061
  }, {
2062
2062
  default: B(() => [...o[0] ||= [w("下载模板", -1)]]),
2063
2063
  _: 1
2064
2064
  })) : S("v-if", !0),
2065
- n.tips ? (N(), C("span", Ln, L(n.tips), 1)) : S("v-if", !0)
2065
+ n.tips ? (N(), C("span", In, L(n.tips), 1)) : S("v-if", !0)
2066
2066
  ])]),
2067
2067
  key: "0"
2068
2068
  } : void 0]), 1024));
2069
2069
  }
2070
- }), [["__scopeId", "data-v-51889a3b"]]), zn = /*#__PURE__*/ y(/* @__PURE__ */ E({
2070
+ }), [["__scopeId", "data-v-51889a3b"]]), Rn = /*#__PURE__*/ y(/* @__PURE__ */ E({
2071
2071
  inheritAttrs: !1,
2072
2072
  name: "TForm",
2073
2073
  __name: "form",
@@ -2095,9 +2095,9 @@ var En = /* @__PURE__ */ E({
2095
2095
  onReset: { type: Function },
2096
2096
  onSubmit: { type: Function },
2097
2097
  onValidate: { type: Function }
2098
- }, kt),
2098
+ }, Ot),
2099
2099
  setup(e, { expose: t }) {
2100
- let n = e, { customerFormItemComponentInitialValueMap: i = /* @__PURE__ */ new Map(), customerFormItemComponentMap: o = /* @__PURE__ */ new Map() } = vt, c = D(), u = P(null), d = b(() => n.items.map((e) => {
2100
+ let n = e, { customerFormItemComponentInitialValueMap: i = /* @__PURE__ */ new Map(), customerFormItemComponentMap: o = /* @__PURE__ */ new Map() } = _t, c = D(), u = P(null), d = b(() => n.items.map((e) => {
2101
2101
  if (typeof e.__others == "function") {
2102
2102
  let t = {
2103
2103
  ...e,
@@ -2145,23 +2145,23 @@ var En = /* @__PURE__ */ E({
2145
2145
  });
2146
2146
  let p = /* @__PURE__ */ new Map(), m = {
2147
2147
  TCheckbox: r,
2148
- TCheckboxGroup: En,
2148
+ TCheckboxGroup: Tn,
2149
2149
  TColorPicker: se,
2150
- TCron: Dn,
2150
+ TCron: En,
2151
2151
  TDatePicker: ue,
2152
2152
  TInput: le,
2153
2153
  TInputNumber: de,
2154
- TRadioGroup: On,
2154
+ TRadioGroup: Dn,
2155
2155
  TRangeInput: fe,
2156
- TSelect: An,
2157
- TSelectSysUser: jn,
2156
+ TSelect: kn,
2157
+ TSelectSysUser: An,
2158
2158
  TSlider: he,
2159
2159
  TSwitch: ge,
2160
2160
  TTagInput: me,
2161
2161
  TTextarea: _e,
2162
- TTree: Nn,
2163
- TTreeSelect: Pn,
2164
- TUpload: Rn
2162
+ TTree: Mn,
2163
+ TTreeSelect: Nn,
2164
+ TUpload: Ln
2165
2165
  };
2166
2166
  function ee(e) {
2167
2167
  return typeof e == "string" ? o.has(e) ? (p.has(e) || p.set(e, Te(o.get(e))), p.get(e)) : m[e] : le;
@@ -2257,16 +2257,16 @@ var En = /* @__PURE__ */ E({
2257
2257
  let t = e ?? {};
2258
2258
  u.value = t, c.exposed = t;
2259
2259
  }
2260
- let ne = Fe();
2261
- Ae(() => {
2262
- ne.value = c.exposed.$el.getElementsByClassName("t-form__label"), y(), mt(c.exposed.$el, () => {
2260
+ let ne = Pe();
2261
+ ke(() => {
2262
+ ne.value = c.exposed.$el.getElementsByClassName("t-form__label"), y(), pt(c.exposed.$el, () => {
2263
2263
  y();
2264
2264
  }, {
2265
2265
  attributeFilter: ["class"],
2266
2266
  characterData: !0,
2267
2267
  childList: !0,
2268
2268
  subtree: !0
2269
- }), ht(c.exposed.$el, () => {
2269
+ }), mt(c.exposed.$el, () => {
2270
2270
  y();
2271
2271
  });
2272
2272
  });
@@ -2282,12 +2282,12 @@ var En = /* @__PURE__ */ E({
2282
2282
  e.style.minWidth = `${t}px`;
2283
2283
  });
2284
2284
  }
2285
- return je("formData", n.data), je("formExposed", u), je("isFormDisabled", b(() => n.disabled)), je("isFormReadonly", b(() => n.readonly)), t({}), (t, n) => (N(), C(be, null, [S(" eslint-disable vue/no-mutating-props "), (N(), x(I(R(Xe)), j(j(t.$attrs, {
2285
+ return Ae("formData", n.data), Ae("formExposed", u), Ae("isFormDisabled", b(() => n.disabled)), Ae("isFormReadonly", b(() => n.readonly)), t({}), (t, n) => (N(), C(be, null, [S(" eslint-disable vue/no-mutating-props "), (N(), x(I(R(Ye)), j(j(t.$attrs, {
2286
2286
  ..._.value,
2287
2287
  ref: te
2288
2288
  }), { "label-width": "fit-content" }), {
2289
- default: B(() => [(N(!0), C(be, null, F(d.value.filter((e) => e.show !== !1), (n) => (N(), x(R(Ze), j({ key: n.model ?? n.slot }, { ref_for: !0 }, j({ ...g(n) }, { class: { no_label_item: R(s)(n._label) } }), { name: n.model }), {
2290
- default: B(() => [n.slot ? Ne(t.$slots, n.slot, {}, void 0, !0, 0) : (N(), x(I(ee(n.component)), j({
2289
+ default: B(() => [(N(!0), C(be, null, F(d.value.filter((e) => e.show !== !1), (n) => (N(), x(R(Xe), j({ key: n.model ?? n.slot }, { ref_for: !0 }, j({ ...g(n) }, { class: { no_label_item: R(s)(n._label) } }), { name: n.model }), {
2290
+ default: B(() => [n.slot ? Me(t.$slots, n.slot, {}, void 0, !0, 0) : (N(), x(I(ee(n.component)), j({
2291
2291
  key: 1,
2292
2292
  modelValue: e.data[n.model],
2293
2293
  "onUpdate:modelValue": (t) => e.data[n.model] = t
@@ -2297,7 +2297,7 @@ var En = /* @__PURE__ */ E({
2297
2297
  _: 3
2298
2298
  }, 16))], 2112));
2299
2299
  }
2300
- }), [["__scopeId", "data-v-761be9bc"]]), Bn = /* @__PURE__ */ E({
2300
+ }), [["__scopeId", "data-v-761be9bc"]]), zn = /* @__PURE__ */ E({
2301
2301
  __name: "ResetPwd",
2302
2302
  props: { showFooter: {
2303
2303
  type: Boolean,
@@ -2335,7 +2335,7 @@ var En = /* @__PURE__ */ E({
2335
2335
  type: "password"
2336
2336
  },
2337
2337
  ...e.showFooter ? [{ slot: "footer" }] : []
2338
- ], i = Re("form");
2338
+ ], i = Le("form");
2339
2339
  function a() {
2340
2340
  K().close(n.name);
2341
2341
  }
@@ -2350,9 +2350,9 @@ var En = /* @__PURE__ */ E({
2350
2350
  newPassword: e.newPassword,
2351
2351
  oldPassword: e.oldPassword
2352
2352
  }
2353
- }), an().logout();
2353
+ }), rn().logout();
2354
2354
  }
2355
- return t({ handleSubmit: o }), (e, t) => (N(), x(R(zn), {
2355
+ return t({ handleSubmit: o }), (e, t) => (N(), x(R(Rn), {
2356
2356
  ref: "form",
2357
2357
  items: r,
2358
2358
  "label-align": "right",
@@ -2374,35 +2374,35 @@ var En = /* @__PURE__ */ E({
2374
2374
  }
2375
2375
  });
2376
2376
  // ../../packages/dlzn-ui/store/modules/user.ts
2377
- function Vn() {
2377
+ function Bn() {
2378
2378
  return X.Get("getInfo", { meta: {
2379
2379
  useFailMsg: "获取用户信息失败",
2380
2380
  useLoading: "正在获取用户信息..."
2381
2381
  } });
2382
2382
  }
2383
- var Hn = {
2383
+ var Vn = {
2384
2384
  admin: !1,
2385
2385
  dept: { deptName: "" },
2386
2386
  needChangePwd: 0,
2387
2387
  nickName: "",
2388
2388
  userId: "",
2389
2389
  userName: "",
2390
- ...vt.defaultUserInfo ?? {}
2390
+ ..._t.defaultUserInfo ?? {}
2391
2391
  }, Q = V("user", () => {
2392
- let e = P(gt(Hn)), t = P([]), n = P([]);
2392
+ let e = P(ht(Vn)), t = P([]), n = P([]);
2393
2393
  function r() {
2394
- e.value = gt(Hn), t.value = [], n.value = [];
2394
+ e.value = ht(Vn), t.value = [], n.value = [];
2395
2395
  }
2396
2396
  let i = b(() => e.value.admin), a = P("");
2397
2397
  async function o(r = !0) {
2398
- let i = await Vn();
2399
- e.value = i.user, a.value !== e.value.userId && K().clear(), a.value = e.value.userId, t.value = i.permissions, n.value = i.roles, r && await Gt().getRouters();
2398
+ let i = await Bn();
2399
+ e.value = i.user, a.value !== e.value.userId && K().clear(), a.value = e.value.userId, t.value = i.permissions, n.value = i.roles, r && await Wt().getRouters();
2400
2400
  }
2401
2401
  z(() => e.value.needChangePwd, (e) => {
2402
- e === 1 && VITE_FORCE_PWD_CHANGE && Oe(() => {
2402
+ if (e === 1 && VITE_FORCE_PWD_CHANGE) {
2403
2403
  let e = P(null);
2404
2404
  W({
2405
- body: () => k(Bn, {
2405
+ body: () => k(zn, {
2406
2406
  labelAlign: "top",
2407
2407
  ref: e,
2408
2408
  showFooter: !1
@@ -2416,7 +2416,7 @@ var Hn = {
2416
2416
  },
2417
2417
  width: 430
2418
2418
  });
2419
- });
2419
+ }
2420
2420
  }, { immediate: !0 });
2421
2421
  function s(e) {
2422
2422
  if (e === void 0) return !0;
@@ -2474,7 +2474,7 @@ var Hn = {
2474
2474
  Object,
2475
2475
  Array
2476
2476
  ] }
2477
- }, Ot),
2477
+ }, Dt),
2478
2478
  setup(r) {
2479
2479
  let i = r, a = P("");
2480
2480
  function o() {
@@ -2498,7 +2498,7 @@ var Hn = {
2498
2498
  }
2499
2499
  return t;
2500
2500
  }
2501
- let s = P(!1), c = n.isLoading, l = P(null), { focused: u } = pt(l), d, f;
2501
+ let s = P(!1), c = n.isLoading, l = P(null), { focused: u } = ft(l), d, f;
2502
2502
  z(c, (e) => {
2503
2503
  e ? (clearTimeout(f), f = void 0, d = setTimeout(() => {
2504
2504
  s.value = u.value, clearTimeout(d), d = void 0;
@@ -2593,7 +2593,7 @@ var Hn = {
2593
2593
  break;
2594
2594
  }
2595
2595
  if (t !== void 0) return t;
2596
- }), v = Ie(), te = b(() => j(v, {
2596
+ }), v = Fe(), te = b(() => j(v, {
2597
2597
  ...m.value,
2598
2598
  ref: h
2599
2599
  }, { class: "flex-shrink-0" })), ne = b(() => {
@@ -2605,7 +2605,7 @@ var Hn = {
2605
2605
  };
2606
2606
  });
2607
2607
  return (n, i) => R(Q)().checkPermissions(r.permission) ? (N(), C(be, { key: 0 }, [ne.value ? (N(), x(R(t), M(j({ key: 0 }, ne.value)), {
2608
- default: B(() => [(N(), x(I(k(R(He), te.value)), {
2608
+ default: B(() => [(N(), x(I(k(R(Ve), te.value)), {
2609
2609
  onVnodeMounted: g,
2610
2610
  onVnodeUpdated: g
2611
2611
  }, we({ _: 2 }, [r.icon || _.value ? {
@@ -2614,10 +2614,10 @@ var Hn = {
2614
2614
  key: "0"
2615
2615
  } : void 0, F(Object.keys(n.$slots), (e) => ({
2616
2616
  name: e,
2617
- fn: B((t) => [Ne(n.$slots, e, M(O(t)), void 0, !0)])
2617
+ fn: B((t) => [Me(n.$slots, e, M(O(t)), void 0, !0)])
2618
2618
  }))]), 1536))]),
2619
2619
  _: 3
2620
- }, 16)) : (N(), x(I(k(R(He), te.value)), {
2620
+ }, 16)) : (N(), x(I(k(R(Ve), te.value)), {
2621
2621
  key: 1,
2622
2622
  onVnodeMounted: g,
2623
2623
  onVnodeUpdated: g
@@ -2627,10 +2627,10 @@ var Hn = {
2627
2627
  key: "0"
2628
2628
  } : void 0, F(Object.keys(n.$slots), (e) => ({
2629
2629
  name: e,
2630
- fn: B((t) => [Ne(n.$slots, e, M(O(t)), void 0, !0)])
2630
+ fn: B((t) => [Me(n.$slots, e, M(O(t)), void 0, !0)])
2631
2631
  }))]), 1536))], 64)) : S("v-if", !0);
2632
2632
  }
2633
- }), [["__scopeId", "data-v-2ba81aa7"]]), Un = /* @__PURE__ */ E({
2633
+ }), [["__scopeId", "data-v-2ba81aa7"]]), Hn = /* @__PURE__ */ E({
2634
2634
  name: "TProvider",
2635
2635
  __name: "Provider",
2636
2636
  setup(e) {
@@ -2652,18 +2652,18 @@ var Hn = {
2652
2652
  variant: "text"
2653
2653
  })
2654
2654
  } };
2655
- return (e, n) => (N(), x(R(lt), {
2655
+ return (e, n) => (N(), x(R(ct), {
2656
2656
  "empty-values": [""],
2657
- locale: R(Dt),
2657
+ locale: R(Et),
2658
2658
  "value-on-clear": "",
2659
2659
  "z-index": 5500
2660
2660
  }, {
2661
- default: B(() => [T(R(We), { "global-config": t }, {
2662
- default: B(() => [Ne(e.$slots, "default")]),
2661
+ default: B(() => [T(R(Ue), { "global-config": t }, {
2662
+ default: B(() => [Me(e.$slots, "default")]),
2663
2663
  _: 3
2664
2664
  })]),
2665
2665
  _: 3
2666
2666
  }, 8, ["locale"]));
2667
2667
  }
2668
2668
  });
2669
- export { sn as A, G as B, hn as C, J as D, fn as E, Jt as F, kt as G, Ft as H, qt as I, Ot as K, Lt as L, $t as M, en as N, dn as O, tn as P, Gt as R, X as S, Y as T, jt as U, W as V, At as W, En as _, Bn as a, wn as b, Fn as c, Mn as d, jn as f, Dn as g, On as h, Q as i, an as j, cn as k, Pn as l, kn as m, $ as n, zn as o, An as p, Vn as r, Rn as s, Un as t, Nn as u, Sn as v, gn as w, Tn as x, Cn as y, K as z };
2669
+ export { on as A, G as B, mn as C, J as D, dn as E, qt as F, Ot as G, Pt as H, Kt as I, Dt as K, It as L, Qt as M, $t as N, un as O, en as P, Wt as R, X as S, Y as T, At as U, W as V, kt as W, Tn as _, zn as a, Cn as b, Pn as c, jn as d, An as f, En as g, Dn as h, Q as i, rn as j, sn as k, Nn as l, On as m, $ as n, Rn as o, kn as p, Bn as r, Ln as s, Hn as t, Mn as u, xn as v, hn as w, wn as x, Sn as y, K as z };