dlzn-ui 2.0.72 → 2.0.73

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 (156) hide show
  1. package/chunks/{AssignUser-Icc4mnAY.mjs → AssignUser-C5DWvec4.mjs} +3 -3
  2. package/chunks/{BasicInfo-DNHWdgCJ.mjs → BasicInfo-Dv4mgfWW.mjs} +1 -1
  3. package/chunks/{ColumnInfo-vSBbIHhx.mjs → ColumnInfo-DVeqpfc2.mjs} +2 -2
  4. package/chunks/{Common-DQLKlSiG.mjs → Common-BSNYpbyN.mjs} +1 -1
  5. package/chunks/{Day-yZ7TrrW_.mjs → Day-jO_dfjUE.mjs} +1 -1
  6. package/chunks/{DictTypeDetail-hJ92kpRv.mjs → DictTypeDetail-g9Ix_IJo.mjs} +2 -2
  7. package/chunks/{GenInfo-CAgK_9FJ.mjs → GenInfo-DWzhyZSz.mjs} +1 -1
  8. package/chunks/{Hour-C_Ps90Ok.mjs → Hour-CUmEuL3W.mjs} +1 -1
  9. package/chunks/{Import-IOwZw3pH.mjs → Import-DGEmqQQZ.mjs} +2 -2
  10. package/chunks/{Index-xwpZWNcp.mjs → Index-BYhuLvTk.mjs} +1 -1
  11. package/chunks/{Index-BBdMCnPa.mjs → Index-CNbyffaU.mjs} +1 -1
  12. package/chunks/{Index-FEtNhxCa.mjs → Index-hES_0fLD.mjs} +1 -1
  13. package/chunks/{Index-CBQpi6-I.mjs → Index-tGC7o9gW.mjs} +1 -1
  14. package/chunks/{IndexItem-_2FAveVP.mjs → IndexItem-BgXCWeGc.mjs} +1 -1
  15. package/chunks/{Log-BwMPvepO.mjs → Log-CEcmXDM1.mjs} +2 -2
  16. package/chunks/{LoginBg-B7G0ir7-.mjs → LoginBg-C7Lp8Nfb.mjs} +1 -1
  17. package/chunks/{Minute-CgA26Liy.mjs → Minute-CWq5WHTh.mjs} +1 -1
  18. package/chunks/{Month-yKfa-KW4.mjs → Month-DF_avVjB.mjs} +1 -1
  19. package/chunks/{Preview-Bk6tSZEB.mjs → Preview-CjnLl4P7.mjs} +1 -1
  20. package/chunks/{Second-D8DdxST-.mjs → Second-D8W75b08.mjs} +1 -1
  21. package/chunks/{SelectDept-BirBBJhi.mjs → SelectDept-cGz_hV4F.mjs} +1 -1
  22. package/chunks/{SelectMenu-hBNfzfq7.mjs → SelectMenu-CEx7XJDP.mjs} +1 -1
  23. package/chunks/{SelectUser-mh_o4T97.mjs → SelectUser-DHhwUFDX.mjs} +2 -2
  24. package/chunks/{UserInfo-DBen4nMh.mjs → UserInfo-BEPs2G08.mjs} +1 -1
  25. package/chunks/{app-DCWfoh5n.mjs → app-BaEAxO-8.mjs} +1 -1
  26. package/chunks/{custom-page-list-C47EsRtk.mjs → custom-page-list-B4j5Z1pH.mjs} +4 -4
  27. package/chunks/{custom-page-table-CfOC45lQ.mjs → custom-page-table-mPIDm_Pp.mjs} +2 -2
  28. package/chunks/{job-Mkfeiebx.mjs → job-D5-Tg9Jm.mjs} +3 -3
  29. package/chunks/{overview-DU3Q-1Lp.mjs → overview-Dho6kJKA.mjs} +1 -1
  30. package/chunks/{page-list-CbKRSue6.mjs → page-list-DECmyMX0.mjs} +3 -3
  31. package/chunks/{page-query-BWfbZlqY.mjs → page-query-87Yc4hJe.mjs} +1 -1
  32. package/chunks/{page-table-DV6_ayPq.mjs → page-table-CjsfVwZX.mjs} +3 -3
  33. package/chunks/{pagination-CCvW9S4c.mjs → pagination-DmFvgnEF.mjs} +1 -1
  34. package/chunks/{provider-B2RK67i3.mjs → provider-DzEm2k6g.mjs} +410 -342
  35. package/chunks/{table-fi-DewHk.mjs → table-iXPyNy4n.mjs} +1 -1
  36. package/components/app/index.mjs +1 -1
  37. package/components/app/src/app.mjs +1 -1
  38. package/components/button/index.mjs +1 -1
  39. package/components/button/src/button.mjs +1 -1
  40. package/components/checkbox-group/index.mjs +1 -1
  41. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  42. package/components/cron/index.mjs +1 -1
  43. package/components/cron/src/Common.mjs +1 -1
  44. package/components/cron/src/Day.mjs +1 -1
  45. package/components/cron/src/Hour.mjs +1 -1
  46. package/components/cron/src/Minute.mjs +1 -1
  47. package/components/cron/src/Month.mjs +1 -1
  48. package/components/cron/src/Picker.mjs +6 -6
  49. package/components/cron/src/Second.mjs +1 -1
  50. package/components/cron/src/cron.mjs +1 -1
  51. package/components/custom-page-list/index.mjs +1 -1
  52. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  53. package/components/custom-page-table/index.mjs +1 -1
  54. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  55. package/components/dialog/index.d.ts +2 -0
  56. package/components/dialog/index.mjs +2 -0
  57. package/components/dialog/src/dialog.d.ts +24 -0
  58. package/components/dialog/src/dialog.mjs +2 -0
  59. package/components/dialog/src/dialog.vue.d.ts +19 -0
  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-query/index.mjs +1 -1
  70. package/components/page-query/src/page-query.mjs +1 -1
  71. package/components/page-table/index.mjs +1 -1
  72. package/components/page-table/src/page-table.mjs +1 -1
  73. package/components/pagination/index.mjs +1 -1
  74. package/components/pagination/src/pagination.mjs +1 -1
  75. package/components/provider/index.mjs +1 -1
  76. package/components/provider/src/Provider.mjs +1 -1
  77. package/components/radio-group/index.mjs +1 -1
  78. package/components/radio-group/src/radio-group.mjs +1 -1
  79. package/components/select/index.mjs +1 -1
  80. package/components/select/src/select.mjs +1 -1
  81. package/components/select-sys-user/index.mjs +1 -1
  82. package/components/select-sys-user/src/Picker.mjs +2 -2
  83. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  84. package/components/table/index.mjs +1 -1
  85. package/components/table/src/table.mjs +1 -1
  86. package/components/tree/index.mjs +1 -1
  87. package/components/tree/src/tree.mjs +1 -1
  88. package/components/tree-select/index.mjs +1 -1
  89. package/components/tree-select/src/tree-select.mjs +1 -1
  90. package/components/upload/index.mjs +1 -1
  91. package/components/upload/src/upload.mjs +1 -1
  92. package/hooks/useDicOptions/index.mjs +1 -1
  93. package/hooks/useSysUser/index.mjs +1 -1
  94. package/layout/Entry.mjs +1 -1
  95. package/layout/Home.mjs +1 -1
  96. package/layout/Home1.mjs +38 -15
  97. package/layout/Login.mjs +2 -2
  98. package/layout/NotFound.mjs +1 -1
  99. package/layout/modules/Aside.mjs +1 -1
  100. package/layout/modules/Breadcrumb.mjs +1 -1
  101. package/layout/modules/Header.mjs +1 -1
  102. package/layout/modules/LoginBg.mjs +1 -1
  103. package/layout/profile/Index.mjs +2 -2
  104. package/layout/profile/ResetPwd.mjs +1 -1
  105. package/layout/profile/UserInfo.mjs +1 -1
  106. package/main.mjs +2 -2
  107. package/package.json +1 -1
  108. package/plugins/autoImport/$alova/index.mjs +1 -1
  109. package/plugins/autoImport/$confirm/index.mjs +1 -1
  110. package/plugins/autoImport/$dialog/index.d.ts +1 -1
  111. package/plugins/autoImport/$dialog/index.mjs +1 -1
  112. package/plugins/autoImport/$drawer/index.mjs +1 -1
  113. package/plugins/captcha/captcha.mjs +1 -1
  114. package/plugins/captcha/index.mjs +1 -1
  115. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  116. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  117. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  118. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  119. package/plugins/tableRenders/cell/index.mjs +3 -3
  120. package/router/index.mjs +1 -1
  121. package/store/modules/common.mjs +1 -1
  122. package/store/modules/login.mjs +1 -1
  123. package/store/modules/recentRouters.mjs +1 -1
  124. package/store/modules/router.mjs +1 -1
  125. package/store/modules/user.mjs +1 -1
  126. package/views/monitor/cache/index.mjs +2 -2
  127. package/views/monitor/cacheList/index.mjs +2 -2
  128. package/views/monitor/job/index.mjs +1 -1
  129. package/views/monitor/logininfor/index.mjs +2 -2
  130. package/views/monitor/online/index.mjs +2 -2
  131. package/views/monitor/operlog/index.mjs +2 -2
  132. package/views/monitor/server/index.mjs +2 -2
  133. package/views/system/config/index.mjs +2 -2
  134. package/views/system/dept/index.mjs +2 -2
  135. package/views/system/dept/utils.mjs +1 -1
  136. package/views/system/dict/index.mjs +3 -3
  137. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  138. package/views/system/menu/index.mjs +2 -2
  139. package/views/system/menu/utils.mjs +1 -1
  140. package/views/system/notice/index.mjs +2 -2
  141. package/views/system/post/index.mjs +2 -2
  142. package/views/system/role/index.mjs +5 -5
  143. package/views/system/role/modules/AssignUser.mjs +1 -1
  144. package/views/system/role/modules/SelectDept.mjs +1 -1
  145. package/views/system/role/modules/SelectMenu.mjs +1 -1
  146. package/views/system/role/modules/SelectUser.mjs +1 -1
  147. package/views/system/user/index.mjs +3 -3
  148. package/views/tool/gen/editTable/index.mjs +4 -4
  149. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  150. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  151. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  152. package/views/tool/gen/index.mjs +4 -4
  153. package/views/tool/gen/modules/Import.mjs +1 -1
  154. package/views/tool/gen/modules/Preview.mjs +1 -1
  155. package/views/tool/job/index.mjs +1 -1
  156. package/views/tool/job/modules/Log.mjs +1 -1
@@ -49,13 +49,13 @@ import { t as _e } from "./switch-DNPmkfa_.mjs";
49
49
  import "../components/switch/index.mjs";
50
50
  import { t as ve } from "./textarea-CYirMH7f.mjs";
51
51
  import "../components/textarea/index.mjs";
52
- import { Fragment as x, KeepAlive as ye, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as be, createSlots as xe, createTextVNode as E, createVNode as D, defineAsyncComponent as Se, defineComponent as O, getCurrentInstance as k, guardReactiveProps as Ce, h as A, inject as we, markRaw as Te, mergeDefaults as j, mergeProps as M, nextTick as N, normalizeClass as Ee, normalizeProps as P, onMounted as De, openBlock as F, provide as Oe, reactive as ke, ref as I, renderList as L, renderSlot as Ae, resolveComponent as je, resolveDynamicComponent as R, shallowRef as Me, toDisplayString as z, unref as B, useAttrs as Ne, useSlots as Pe, useTemplateRef as Fe, watch as V, withCtx as H, withModifiers as Ie } from "vue";
53
- 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, Form as Ke, FormItem as qe, HeadMenu as Je, Header as Ye, InputAdornment as Xe, Layout as Ze, Menu as Qe, MenuItem as $e, RadioGroup as et, Select as tt, Tree as nt, TreeSelect as rt, Upload as it } from "tdesign-vue-next";
52
+ import { Fragment as ye, KeepAlive as be, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as xe, createSlots as Se, createTextVNode as T, createVNode as E, defineAsyncComponent as Ce, defineComponent as D, getCurrentInstance as O, guardReactiveProps as k, h as A, inject as we, markRaw as Te, mergeDefaults as j, mergeProps as M, nextTick as N, normalizeClass as Ee, normalizeProps as P, onMounted as De, openBlock as F, provide as Oe, reactive as ke, ref as I, renderList as L, renderSlot as R, resolveComponent as Ae, resolveDynamicComponent as z, shallowRef as je, toDisplayString as B, unref as V, useAttrs as Me, useSlots as Ne, useTemplateRef as Pe, watch as H, withCtx as U, withModifiers as Fe } from "vue";
53
+ import { Breadcrumb as Ie, BreadcrumbItem as Le, Button as Re, CheckboxGroup as ze, ConfigProvider as Be, Content as Ve, Dialog as He, DialogPlugin as Ue, Drawer as We, DrawerPlugin as Ge, Form as Ke, FormItem as qe, HeadMenu as Je, Header as Ye, InputAdornment as Xe, Layout as Ze, Menu as Qe, MenuItem as $e, RadioGroup as et, Select as tt, Tree as nt, TreeSelect as rt, Upload as it } from "tdesign-vue-next";
54
54
  import { ElConfigProvider as at } from "element-plus";
55
55
  import { useElementSize as ot, useElementVisibility as st, useFavicon as ct, useFocus as lt, useMutationObserver as ut, useResizeObserver as dt } from "@vueuse/core";
56
56
  import { cloneDeep as ft, isPlainObject as pt } from "lodash-es";
57
57
  import { defineStore as mt } from "pinia";
58
- import { NavigationFailureType as ht, createRouter as gt, createWebHistory as _t, isNavigationFailure as vt, useRoute as U, useRouter as yt } from "vue-router";
58
+ import { NavigationFailureType as ht, createRouter as gt, createWebHistory as _t, isNavigationFailure as vt, useRoute as W, useRouter as yt } from "vue-router";
59
59
  import bt from "virtual:dlzn-ui/app-params";
60
60
  import { createAlova as xt } from "alova";
61
61
  import St from "alova/fetch";
@@ -261,58 +261,126 @@ var Tt = {
261
261
  requiredMark: void 0,
262
262
  resetType: "initial",
263
263
  showErrorMessage: !0
264
- }, Ot = /* @__PURE__ */ function(e) {
264
+ }, Ot = {
265
+ closeBtn: () => A($, {
266
+ icon: "mdi:close",
267
+ shape: "circle",
268
+ size: "small",
269
+ theme: "default",
270
+ variant: "base"
271
+ }),
272
+ closeOnEscKeydown: !1,
273
+ closeOnOverlayClick: !1,
274
+ confirmOnEnter: !1,
275
+ destroyOnClose: !0,
276
+ draggable: !0,
277
+ footer: !0,
278
+ header: "提示",
279
+ lazy: !1,
280
+ mode: "modal",
281
+ placement: "center",
282
+ preventScrollThrough: !0,
283
+ showOverlay: !0,
284
+ width: "fit-content"
285
+ }, kt = /* @__PURE__ */ D({
286
+ inheritAttrs: !1,
287
+ name: "TDialog",
288
+ __name: "dialog",
289
+ props: /*@__PURE__*/ j({
290
+ attach: { type: [String, Function] },
291
+ body: {},
292
+ cancelBtn: {},
293
+ closeBtn: { type: [String, Boolean] },
294
+ closeOnEscKeydown: { type: Boolean },
295
+ closeOnOverlayClick: { type: Boolean },
296
+ confirmBtn: {},
297
+ confirmLoading: { type: Boolean },
298
+ confirmOnEnter: { type: Boolean },
299
+ destroyOnClose: { type: Boolean },
300
+ dialogClassName: {},
301
+ dialogStyle: {},
302
+ draggable: { type: Boolean },
303
+ footer: { type: Boolean },
304
+ header: { type: [String, Boolean] },
305
+ lazy: { type: Boolean },
306
+ mode: {},
307
+ placement: {},
308
+ preventScrollThrough: { type: Boolean },
309
+ showInAttachedElement: { type: Boolean },
310
+ showOverlay: { type: Boolean },
311
+ theme: {},
312
+ top: {},
313
+ width: {},
314
+ zIndex: {},
315
+ onBeforeClose: { type: Function },
316
+ onBeforeOpen: { type: Function },
317
+ onCancel: { type: Function },
318
+ onClose: { type: Function },
319
+ onCloseBtnClick: { type: Function },
320
+ onClosed: { type: Function },
321
+ onEscKeydown: { type: Function },
322
+ onOpened: { type: Function },
323
+ onOverlayClick: { type: Function },
324
+ onConfirm: { type: Function },
325
+ "onUpdate:visible": { type: Function },
326
+ visible: { type: Boolean }
327
+ }, {
328
+ ...Ot,
329
+ closeBtn: () => Ot.closeBtn
330
+ }),
331
+ setup(e) {
332
+ let t = e, n = x(() => {
333
+ let e = { ...t };
334
+ return Object.keys(e).forEach((t) => {
335
+ e[t] === void 0 && delete e[t];
336
+ }), e;
337
+ }), r = O();
338
+ function i(e) {
339
+ r.exposed = e ?? {};
340
+ }
341
+ return (e, t) => (F(), S(z(A(V(He), M(e.$attrs, {
342
+ ...n.value,
343
+ ref: i
344
+ }), e.$slots))));
345
+ }
346
+ }), At = /* @__PURE__ */ function(e) {
265
347
  return e.alert = "alert", e.closeAll = "closeAll", e.confirm = "confirm", e;
266
- }(Ot || {}), kt = /* @__PURE__ */ new Set();
267
- function At(e, t, n) {
268
- 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 } = st(a, {
348
+ }(At || {}), jt = /* @__PURE__ */ new Set();
349
+ function Mt(e, t, n) {
350
+ let i = x(() => typeof t.body == "function" ? t.body(A) : t.body), a = I(document.activeElement instanceof HTMLElement ? document.activeElement : null), { isVisible: o, stop: s } = st(a, {
269
351
  controls: !0,
270
352
  initialValue: !0
271
353
  }), c = {
272
- closeBtn: () => A($, {
273
- icon: "mdi:close",
274
- shape: "circle",
275
- size: "small",
276
- theme: "default",
277
- variant: "base"
278
- }),
279
- closeOnEscKeydown: !1,
280
- closeOnOverlayClick: !1,
354
+ ...Ot,
281
355
  closeWhenCloseAll: !0,
282
- destroyOnClose: !0,
283
- draggable: !0,
284
- header: "提示",
285
- mode: "modal",
286
- placement: "center",
287
- width: "fit-content",
288
356
  ...t ?? {},
289
- body: () => A(zn, {}, { default: () => i.value })
357
+ body: () => A(Hn, {}, { default: () => i.value })
290
358
  }, l, u = {
291
359
  ...c,
292
360
  onClosed: () => {
293
- a.value !== null && o.value && a.value.focus(), s(), c.onClosed?.(), kt.delete(l);
361
+ a.value !== null && o.value && a.value.focus(), s(), c.onClosed?.(), jt.delete(l);
294
362
  }
295
363
  };
296
364
  delete u.closeWhenCloseAll;
297
365
  let d = r();
298
- return l = e === void 0 ? Ue(u, n ?? d) : Ue[e](u, n ?? d), c.closeWhenCloseAll && kt.add(l), l;
366
+ return l = e === void 0 ? Ue(u, n ?? d) : Ue[e](u, n ?? d), c.closeWhenCloseAll && jt.add(l), l;
299
367
  }
300
- var jt = function(...e) {
301
- return At(void 0, ...e);
368
+ var Nt = function(...e) {
369
+ return Mt(void 0, ...e);
302
370
  };
303
- Object.values(Ot).forEach((e) => {
304
- jt[e] = e === "closeAll" ? () => {
305
- kt.forEach((e) => {
371
+ Object.values(At).forEach((e) => {
372
+ Nt[e] = e === "closeAll" ? () => {
373
+ jt.forEach((e) => {
306
374
  e.hide();
307
375
  });
308
- } : (...t) => At(e, ...t);
376
+ } : (...t) => Mt(e, ...t);
309
377
  });
310
378
  //#endregion
311
379
  //#region ../../packages/dlzn-ui/plugins/autoImport/$confirm/index.ts
312
- var W = (e, t) => {
380
+ var G = (e, t) => {
313
381
  let n = { ...typeof e == "string" ? {} : e };
314
382
  return delete n.useReject, delete n.onCancelCallback, delete n.onConfirmCallback, new Promise((r, i) => {
315
- let a = jt(typeof e == "string" ? {
383
+ let a = Nt(typeof e == "string" ? {
316
384
  body: e,
317
385
  onConfirm: () => {
318
386
  a.hide(), r();
@@ -338,8 +406,8 @@ var W = (e, t) => {
338
406
  };
339
407
  //#endregion
340
408
  //#region ../../packages/dlzn-ui/store/modules/common.ts
341
- function Mt() {
342
- return VITE_APP_ID === "1" ? Y.Get(`yq/oemConfig/getByDomain/${window.location.hostname}`, {
409
+ function Pt() {
410
+ return VITE_APP_ID === "1" ? X.Get(`yq/oemConfig/getByDomain/${window.location.hostname}`, {
343
411
  meta: { useToken: !1 },
344
412
  transform(e) {
345
413
  if (e === null) throw Error("oemConfig getByDomain return null");
@@ -350,26 +418,26 @@ function Mt() {
350
418
  version: ""
351
419
  };
352
420
  }
353
- }) : Y.Get("common/appInfo", { meta: {
421
+ }) : X.Get("common/appInfo", { meta: {
354
422
  useFailMsg: !1,
355
423
  useSysFailMsg: !1,
356
424
  useToken: !1
357
425
  } });
358
426
  }
359
- var G = mt("common", () => {
427
+ var K = mt("common", () => {
360
428
  let e = I(!0), t = I(250), n = I({
361
429
  appName: "",
362
430
  color: "",
363
431
  logo: "",
364
432
  version: ""
365
433
  });
366
- V(() => n.value.appName, (e) => {
434
+ H(() => n.value.appName, (e) => {
367
435
  e && (document.title = e);
368
- }), V(() => n.value.color, (e) => {
436
+ }), H(() => n.value.color, (e) => {
369
437
  e && (v().value = e);
370
- }), ct(S(() => n.value.logo || "/favicon.ico"));
438
+ }), ct(x(() => n.value.logo || "/favicon.ico"));
371
439
  function r() {
372
- Mt().then((e) => {
440
+ Pt().then((e) => {
373
441
  n.value = e;
374
442
  }).catch((e) => {
375
443
  n.value = {
@@ -394,13 +462,13 @@ var G = mt("common", () => {
394
462
  isRequestSleep: i,
395
463
  requestActive: o
396
464
  };
397
- }, { persist: { pick: ["drawerOpen", "drawerSize"] } }), K = mt("recentRouters", () => {
398
- let e = I([]), t = U(), n = yt();
465
+ }, { persist: { pick: ["drawerOpen", "drawerSize"] } }), q = mt("recentRouters", () => {
466
+ let e = I([]), t = W(), n = yt();
399
467
  function r() {
400
468
  e.value = e.value.filter((e) => n.hasRoute(e.name));
401
469
  }
402
470
  function i(t, n) {
403
- let r = ft(n), i = e.value.findIndex((e) => e.name === r.name || ln(e.name).meta.title === ln(r.name).meta.title);
471
+ let r = ft(n), i = e.value.findIndex((e) => e.name === r.name || dn(e.name).meta.title === dn(r.name).meta.title);
404
472
  if (delete r.query._fromLeftTree, i === -1) {
405
473
  let n = e.value.findIndex((e) => e.name === t);
406
474
  n === -1 ? e.value.push(r) : e.value.splice(n + 1, 0, r);
@@ -431,16 +499,16 @@ var G = mt("common", () => {
431
499
  }, { persist: { pick: ["recentRouters"] } });
432
500
  //#endregion
433
501
  //#region ../../packages/dlzn-ui/store/modules/router.ts
434
- function Nt() {
435
- return Y.Get("getRouters", { meta: {
502
+ function Ft() {
503
+ return X.Get("getRouters", { meta: {
436
504
  useFailMsg: "获取用户路由失败",
437
505
  useLoading: "正在获取用户路由..."
438
506
  } });
439
507
  }
440
- function Pt(e) {
508
+ function It(e) {
441
509
  return e.children !== void 0 || e.component !== void 0;
442
510
  }
443
- function Ft(e) {
511
+ function Lt(e) {
444
512
  let t = [];
445
513
  return e.forEach((e) => {
446
514
  e.path === "/" ? t.push({
@@ -449,7 +517,7 @@ function Ft(e) {
449
517
  }) : t.push(e);
450
518
  }), t;
451
519
  }
452
- function It(e) {
520
+ function Rt(e) {
453
521
  let t = (e, n) => {
454
522
  let r = [];
455
523
  return e.forEach((e) => {
@@ -473,12 +541,12 @@ function It(e) {
473
541
  e !== void 0 && (i.redirect = { name: e.name });
474
542
  }
475
543
  }
476
- e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = Bt(e)), Pt(i) && r.push(i);
544
+ e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = Ht(e)), It(i) && r.push(i);
477
545
  }), r;
478
- }, n = cn();
546
+ }, n = un();
479
547
  return n.children.push(...e), t([n], null);
480
548
  }
481
- function Lt(e) {
549
+ function zt(e) {
482
550
  let t = (e) => {
483
551
  let n = [...e], r = n.length;
484
552
  for (let e = r - 1; e >= 0; e--) {
@@ -491,36 +559,36 @@ function Lt(e) {
491
559
  };
492
560
  return t(e);
493
561
  }
494
- var Rt = [];
495
- function zt(e) {
562
+ var Bt = [];
563
+ function Vt(e) {
496
564
  return `./${e.split("___")[0]}.vue`;
497
565
  }
498
- function Bt(e) {
566
+ function Ht(e) {
499
567
  if (typeof e.component == "function" || typeof e.component == "string") {
500
- let t = e.component, n = typeof t == "string" ? ne[zt(t)] : t;
568
+ let t = e.component, n = typeof t == "string" ? ne[Vt(t)] : t;
501
569
  if (n === void 0) {
502
- let e = `路由组件${zt(t)}不存在`;
570
+ let e = `路由组件${Vt(t)}不存在`;
503
571
  return console.error(e), h["./NotFound.vue"];
504
572
  }
505
- return typeof t == "string" && Rt.push(zt(t)), () => n().then((t) => ({
573
+ return typeof t == "string" && Bt.push(Vt(t)), () => n().then((t) => ({
506
574
  ...t.default,
507
575
  name: e.name
508
576
  }));
509
577
  }
510
578
  return e.component;
511
579
  }
512
- var Vt = mt("router", () => {
580
+ var Ut = mt("router", () => {
513
581
  let e = I([]), t = yt(), r = Q();
514
582
  async function i() {
515
- let i = await Nt();
583
+ let i = await Ft();
516
584
  VITE_MODE === "development" && r.isAdmin && fetch("/__dev__/save-folder-alias", {
517
585
  body: JSON.stringify(i),
518
586
  headers: { "Content-Type": "application/json" },
519
587
  method: "POST"
520
588
  }).catch((e) => {
521
589
  console.warn("[dev-save-folder-alias] 写入本地 json 失败", e);
522
- }), Rt.length = 0, e.value = Te(Lt(It(Ft(i)))), r.isAdmin && Object.keys(ne).forEach((e) => {
523
- if (!Rt.includes(e) && ![
590
+ }), Bt.length = 0, e.value = Te(zt(Rt(Lt(i)))), r.isAdmin && Object.keys(ne).forEach((e) => {
591
+ if (!Bt.includes(e) && ![
524
592
  "./tool",
525
593
  "./system",
526
594
  "./monitor"
@@ -530,7 +598,7 @@ var Vt = mt("router", () => {
530
598
  }
531
599
  }), t.hasRoute("Index") && t.removeRoute("Index"), e.value.forEach((e) => {
532
600
  t.addRoute(e);
533
- }), K().init();
601
+ }), q().init();
534
602
  }
535
603
  function a() {
536
604
  e.value.forEach((e) => {
@@ -542,46 +610,46 @@ var Vt = mt("router", () => {
542
610
  getRouters: i,
543
611
  routersRaw: e
544
612
  };
545
- }), Ht = { class: "ml-2! flex items-center" }, Ut = /*#__PURE__*/ b(/* @__PURE__ */ O({
613
+ }), Wt = { class: "ml-2! flex items-center" }, Gt = /*#__PURE__*/ b(/* @__PURE__ */ D({
546
614
  __name: "Aside",
547
615
  setup(e) {
548
- let t = U(), n = G(), r = S(() => n.appInfo.appName), i = Vt(), a = I([]);
549
- V(() => t.name, () => {
616
+ let t = W(), n = K(), r = x(() => n.appInfo.appName), i = Ut(), a = I([]);
617
+ H(() => t.name, () => {
550
618
  t.matched.map((e) => e.name).forEach((e) => {
551
619
  a.value.includes(e) || a.value.push(e);
552
620
  });
553
621
  }, { immediate: !0 });
554
- let o = S(() => {
622
+ let o = x(() => {
555
623
  let { hidden: e, parentName: n } = t.meta;
556
624
  return n !== "" && e === !0 ? n : t.name;
557
- }), s = S(() => n.appInfo.logo || bt.asideTopLogoUrl);
558
- return (e, t) => (F(), C(B(Qe), {
625
+ }), s = x(() => n.appInfo.logo || bt.asideTopLogoUrl);
626
+ return (e, t) => (F(), S(V(Qe), {
559
627
  expanded: a.value,
560
628
  "onUpdate:expanded": t[0] ||= (e) => a.value = e,
561
629
  class: "w-full!",
562
630
  value: o.value
563
631
  }, {
564
- logo: H(() => [be("div", Ht, [D(B(te), {
632
+ logo: U(() => [xe("div", Wt, [E(V(te), {
565
633
  class: "logo",
566
634
  src: s.value,
567
635
  style: {
568
636
  width: "28px",
569
637
  height: "28px"
570
638
  }
571
- }, null, 8, ["src"]), D(B(ee), {
639
+ }, null, 8, ["src"]), E(V(ee), {
572
640
  "animation-speed": 8,
573
641
  "class-name": "ml-2 text-xl !font-bold",
574
642
  "show-border": !1,
575
643
  text: r.value
576
644
  }, null, 8, ["text"])])]),
577
- default: H(() => [D(re, { model: B(i).routersRaw[0]?.children ?? [] }, null, 8, ["model"])]),
645
+ default: U(() => [E(re, { model: V(i).routersRaw[0]?.children ?? [] }, null, 8, ["model"])]),
578
646
  _: 1
579
647
  }, 8, ["expanded", "value"]));
580
648
  }
581
- }), [["__scopeId", "data-v-36275803"]]), Wt = /* @__PURE__ */ O({
649
+ }), [["__scopeId", "data-v-36275803"]]), Kt = /* @__PURE__ */ D({
582
650
  __name: "Breadcrumb",
583
651
  setup(e, { expose: t }) {
584
- let n = U(), r = yt(), i = K(), a = S(() => {
652
+ let n = W(), r = yt(), i = q(), a = x(() => {
585
653
  let e = n.matched.map((e) => ({
586
654
  name: e.name,
587
655
  title: e.meta.title
@@ -594,96 +662,96 @@ var Vt = mt("router", () => {
594
662
  function o(e) {
595
663
  r.push(i.recentRouters.find((t) => t.name === e));
596
664
  }
597
- return t({ items: a }), (e, t) => a.value.length > 0 ? (F(), C(B(Le), {
665
+ return t({ items: a }), (e, t) => a.value.length > 0 ? (F(), S(V(Ie), {
598
666
  key: 0,
599
667
  class: "absolute top-px z-10 py-1!"
600
668
  }, {
601
- default: H(() => [(F(!0), T(x, null, L(a.value, (e) => (F(), C(B(Re), {
669
+ default: U(() => [(F(!0), w(ye, null, L(a.value, (e) => (F(), S(V(Le), {
602
670
  key: e.name,
603
671
  disabled: e.disabled,
604
672
  onClick: (t) => o(e.name)
605
673
  }, {
606
- default: H(() => [E(z(e.title), 1)]),
674
+ default: U(() => [T(B(e.title), 1)]),
607
675
  _: 2
608
676
  }, 1032, ["disabled", "onClick"]))), 128))]),
609
677
  _: 1
610
- })) : w("v-if", !0);
678
+ })) : C("v-if", !0);
611
679
  }
612
- }), Gt = /* @__PURE__ */ new Map();
613
- function Kt(e) {
614
- let t = Y.Post("system/user/listByIds", { userIds: e }, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
680
+ }), qt = /* @__PURE__ */ new Map();
681
+ function Jt(e) {
682
+ let t = X.Post("system/user/listByIds", { userIds: e }, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
615
683
  ...e,
616
684
  label: e.userName,
617
685
  value: e.userId
618
686
  })));
619
687
  e.forEach((e) => {
620
- Gt.set(e, t.then((t) => t.find((t) => t.value === e)));
688
+ qt.set(e, t.then((t) => t.find((t) => t.value === e)));
621
689
  });
622
690
  }
623
- var qt = [];
624
- function Jt(e) {
625
- return qt.includes(e) || qt.push(e), new Promise((t) => {
691
+ var Yt = [];
692
+ function Xt(e) {
693
+ return Yt.includes(e) || Yt.push(e), new Promise((t) => {
626
694
  setTimeout(() => {
627
- let n = qt.filter((e) => !Gt.has(e));
628
- n.length > 0 && Kt(n), qt.length = 0, Gt.get(e).then((e) => {
695
+ let n = Yt.filter((e) => !qt.has(e));
696
+ n.length > 0 && Jt(n), Yt.length = 0, qt.get(e).then((e) => {
629
697
  t(e);
630
698
  });
631
699
  });
632
700
  });
633
701
  }
634
- var q = /* @__PURE__ */ new Map();
635
- function Yt() {
636
- qt.length = 0, Gt.clear(), q.clear();
702
+ var J = /* @__PURE__ */ new Map();
703
+ function Zt() {
704
+ Yt.length = 0, qt.clear(), J.clear();
637
705
  }
638
- function Xt(e) {
639
- Gt.delete(e), q.has(e) && Jt(e).then((t) => {
640
- q.get(e).value = t;
706
+ function Qt(e) {
707
+ qt.delete(e), J.has(e) && Xt(e).then((t) => {
708
+ J.get(e).value = t;
641
709
  });
642
710
  }
643
- function Zt(e) {
711
+ function $t(e) {
644
712
  let t;
645
- return q.has(e) ? t = q.get(e) : (t = I(null), q.set(e, t), Jt(e).then((e) => {
713
+ return J.has(e) ? t = J.get(e) : (t = I(null), J.set(e, t), Xt(e).then((e) => {
646
714
  t.value = e;
647
715
  })), t;
648
716
  }
649
717
  //#endregion
650
718
  //#region ../../packages/dlzn-ui/store/modules/login.ts
651
- function Qt(e) {
652
- return Y.Post("login", e, { meta: {
719
+ function en(e) {
720
+ return X.Post("login", e, { meta: {
653
721
  useLoading: "登录中...",
654
722
  useToken: !1
655
723
  } });
656
724
  }
657
- function $t() {
658
- return Y.Post("logout", void 0, { meta: {
725
+ function tn() {
726
+ return X.Post("logout", void 0, { meta: {
659
727
  useLoading: "退出登录中...",
660
728
  useSuccessMsg: !0
661
729
  } });
662
730
  }
663
- var en = mt("login", () => {
664
- let e = I(""), t = U(), n = yt();
731
+ var nn = mt("login", () => {
732
+ let e = I(""), t = W(), n = yt();
665
733
  async function r(t) {
666
- let n = await Qt(t);
734
+ let n = await en(t);
667
735
  e.value = n.token, await Q().getUserInfo();
668
736
  }
669
737
  function i() {
670
- e.value = "", y().clear(), Vt().clear(), Q().clear(), vn(), Yt(), se();
738
+ e.value = "", y().clear(), Ut().clear(), Q().clear(), xn(), Zt(), se();
671
739
  }
672
- V(() => t.name, () => {
740
+ H(() => t.name, () => {
673
741
  t.name === "Login" && i();
674
742
  });
675
743
  async function a() {
676
- await $t(), await n.push({ name: "Login" }), i();
744
+ await tn(), await n.push({ name: "Login" }), i();
677
745
  }
678
746
  return {
679
747
  login: r,
680
748
  logout: a,
681
749
  token: e
682
750
  };
683
- }, { persist: { pick: ["token"] } }), tn = { class: "flex items-center justify-between" }, nn = /*#__PURE__*/ b(/* @__PURE__ */ O({
751
+ }, { persist: { pick: ["token"] } }), rn = { class: "flex items-center justify-between" }, an = /*#__PURE__*/ b(/* @__PURE__ */ D({
684
752
  __name: "Header",
685
753
  setup(t) {
686
- let n = U(), r = yt(), i = Q(), a = G(), o = K();
754
+ let n = W(), r = yt(), i = Q(), a = K(), o = q();
687
755
  function s(e) {
688
756
  r.push(o.recentRouters.find((t) => t.name === e));
689
757
  }
@@ -692,7 +760,7 @@ var en = mt("login", () => {
692
760
  }
693
761
  let l = async (e) => {
694
762
  let { value: t } = e;
695
- t === "profile" ? r.push({ name: "Profile" }) : t === "logout" && (await W("确定要退出登录吗?"), en().logout());
763
+ t === "profile" ? r.push({ name: "Profile" }) : t === "logout" && (await G("确定要退出登录吗?"), nn().logout());
696
764
  }, u = _.isMd;
697
765
  function d(e, t) {
698
766
  let i = [], a = o.recentRouters, s = a.findIndex((e) => e.name === t), l = a.findIndex((e) => e.name === n.name), u = a[s];
@@ -716,79 +784,79 @@ var en = mt("login", () => {
716
784
  }
717
785
  }), ae(e, i);
718
786
  }
719
- let f = h["./modules/HeaderOperations.vue"] ? Se(h["./modules/HeaderOperations.vue"]) : void 0;
720
- return (t, r) => (F(), C(B(Ye), { class: "border-b border-b-(--td-border-level-2-color)" }, {
721
- default: H(() => [D(B(Je), {
787
+ let f = h["./modules/HeaderOperations.vue"] ? Ce(h["./modules/HeaderOperations.vue"]) : void 0;
788
+ return (t, r) => (F(), S(V(Ye), { class: "border-b border-b-(--td-border-level-2-color)" }, {
789
+ default: U(() => [E(V(Je), {
722
790
  "expand-type": "popup",
723
- value: B(n).name,
791
+ value: V(n).name,
724
792
  onChange: s
725
793
  }, {
726
- logo: H(() => [D(B($), {
794
+ logo: U(() => [E(V($), {
727
795
  class: "ml-0! shrink-0",
728
796
  shape: "circle",
729
797
  size: "large",
730
798
  variant: "text",
731
- onClick: r[0] ||= (e) => B(a).drawerOpen = !B(a).drawerOpen
799
+ onClick: r[0] ||= (e) => V(a).drawerOpen = !V(a).drawerOpen
732
800
  }, {
733
- default: H(() => [D(B(e), { icon: "lineicons:menu-hamburger-1" })]),
801
+ default: U(() => [E(V(e), { icon: "lineicons:menu-hamburger-1" })]),
734
802
  _: 1
735
803
  })]),
736
- operations: H(() => [B(f) ? (F(), C(B(f), { key: 0 })) : w("v-if", !0), D(B(ie), {
804
+ operations: U(() => [V(f) ? (F(), S(V(f), { key: 0 })) : C("v-if", !0), E(V(ie), {
737
805
  options: [{
738
806
  content: "个人中心",
739
807
  value: "profile",
740
- prefixIcon: () => A(B(e), {
808
+ prefixIcon: () => A(V(e), {
741
809
  icon: "material-symbols:account-circle",
742
810
  size: "16"
743
811
  })
744
812
  }, {
745
813
  content: "退出登录",
746
814
  value: "logout",
747
- prefixIcon: () => A(B(e), {
815
+ prefixIcon: () => A(V(e), {
748
816
  icon: "material-symbols:logout",
749
817
  size: "16"
750
818
  })
751
819
  }],
752
820
  onClick: l
753
821
  }, {
754
- default: H(() => [B(u) ? (F(), C(B($), {
822
+ default: U(() => [V(u) ? (F(), S(V($), {
755
823
  key: 0,
756
824
  icon: "material-symbols:account-circle",
757
825
  shape: "square",
758
826
  variant: "text"
759
- })) : (F(), C(B($), {
827
+ })) : (F(), S(V($), {
760
828
  key: 1,
761
829
  icon: "material-symbols:account-circle",
762
830
  variant: "text"
763
831
  }, {
764
- suffix: H(() => [D(B(e), {
832
+ suffix: U(() => [E(V(e), {
765
833
  icon: "icon-park-outline:down",
766
834
  size: "18"
767
835
  })]),
768
- default: H(() => [E(z(B(i).userInfo.userName) + " ", 1)]),
836
+ default: U(() => [T(B(V(i).userInfo.userName) + " ", 1)]),
769
837
  _: 1
770
838
  }))]),
771
839
  _: 1
772
840
  }, 8, ["options"])]),
773
- default: H(() => [(F(!0), T(x, null, L(B(o).recentRouters, (t) => (F(), C(B($e), {
841
+ default: U(() => [(F(!0), w(ye, null, L(V(o).recentRouters, (t) => (F(), S(V($e), {
774
842
  key: t.name,
775
843
  value: t.name,
776
844
  onContextmenu: (e) => d(e, t.name)
777
845
  }, {
778
- default: H(() => [be("div", tn, [be("span", null, z(B(ln)(t.name).meta.title), 1), B(o).recentRouters.length > 1 ? (F(), C(B($), {
846
+ default: U(() => [xe("div", rn, [xe("span", null, B(V(dn)(t.name).meta.title), 1), V(o).recentRouters.length > 1 ? (F(), S(V($), {
779
847
  key: 0,
780
848
  class: "ml-1!",
781
849
  shape: "square",
782
850
  size: "small",
783
851
  variant: "text",
784
- onClick: Ie((e) => c(t.name), ["stop"])
852
+ onClick: Fe((e) => c(t.name), ["stop"])
785
853
  }, {
786
- icon: H(() => [D(B(e), {
854
+ icon: U(() => [E(V(e), {
787
855
  icon: "material-symbols:close",
788
856
  style: { "font-size": "12px !important" }
789
857
  })]),
790
858
  _: 1
791
- }, 8, ["onClick"])) : w("v-if", !0)])]),
859
+ }, 8, ["onClick"])) : C("v-if", !0)])]),
792
860
  _: 2
793
861
  }, 1032, ["value", "onContextmenu"]))), 128))]),
794
862
  _: 1
@@ -796,40 +864,40 @@ var en = mt("login", () => {
796
864
  _: 1
797
865
  }));
798
866
  }
799
- }), [["__scopeId", "data-v-6c2c986c"]]), rn = /*#__PURE__*/ b(/* @__PURE__ */ O({
867
+ }), [["__scopeId", "data-v-6c2c986c"]]), on = /*#__PURE__*/ b(/* @__PURE__ */ D({
800
868
  __name: "Entry",
801
869
  setup(e) {
802
- let t = U(), n = G(), r = K(), i = y(), a = S(() => r.recentRouters.filter((e) => ln(e.name).meta.noCache === !1).map((e) => e.name)), o = Fe("breadcrumb"), s = S(() => (o.value?.items.length ?? 0) > 0), c = S(() => _.isMd.value ? { "p-2": !0 } : { "p-3": !0 }), l = _.isMd, u = Fe("contentRef"), { height: d } = ot(u);
870
+ let t = W(), n = K(), r = q(), i = y(), a = x(() => r.recentRouters.filter((e) => dn(e.name).meta.noCache === !1).map((e) => e.name)), o = Pe("breadcrumb"), s = x(() => (o.value?.items.length ?? 0) > 0), c = x(() => _.isMd.value ? { "p-2": !0 } : { "p-3": !0 }), l = _.isMd, u = Pe("contentRef"), { height: d } = ot(u);
803
871
  function f({ size: e }) {
804
872
  n.drawerSize = e;
805
873
  }
806
- let p = S(() => t.meta.fullScreen);
874
+ let p = x(() => t.meta.fullScreen);
807
875
  return (e, t) => {
808
- let r = je("RouterView");
809
- return p.value ? (F(), C(r, { key: 0 }, {
810
- default: H(({ Component: e }) => [(F(), C(R(e)))]),
876
+ let r = Ae("RouterView");
877
+ return p.value ? (F(), S(r, { key: 0 }, {
878
+ default: U(({ Component: e }) => [(F(), S(z(e)))]),
811
879
  _: 1
812
- })) : (F(), C(B(Ze), {
880
+ })) : (F(), S(V(Ze), {
813
881
  key: 1,
814
882
  class: "h-full"
815
883
  }, {
816
- default: H(() => [
817
- D(nn),
818
- D(B(We), {
819
- visible: B(n).drawerOpen,
820
- "onUpdate:visible": t[0] ||= (e) => B(n).drawerOpen = e,
884
+ default: U(() => [
885
+ E(an),
886
+ E(V(We), {
887
+ visible: V(n).drawerOpen,
888
+ "onUpdate:visible": t[0] ||= (e) => V(n).drawerOpen = e,
821
889
  footer: !1,
822
- mode: B(l) ? "overlay" : "push",
890
+ mode: V(l) ? "overlay" : "push",
823
891
  placement: "left",
824
- "show-overlay": B(l),
825
- size: B(l) ? "200px" : `${B(n).drawerSize}px`,
892
+ "show-overlay": V(l),
893
+ size: V(l) ? "200px" : `${V(n).drawerSize}px`,
826
894
  "size-draggable": {
827
895
  max: 450,
828
896
  min: 180
829
897
  },
830
898
  onSizeDragEnd: f
831
899
  }, {
832
- default: H(() => [D(Ut, { class: "no_drawer_body_padding" })]),
900
+ default: U(() => [E(Gt, { class: "no_drawer_body_padding" })]),
833
901
  _: 1
834
902
  }, 8, [
835
903
  "visible",
@@ -837,12 +905,12 @@ var en = mt("login", () => {
837
905
  "show-overlay",
838
906
  "size"
839
907
  ]),
840
- D(B(He), {
908
+ E(V(Ve), {
841
909
  ref_key: "contentRef",
842
910
  ref: u,
843
911
  class: "overflow-hidden"
844
912
  }, {
845
- default: H(() => [D(B(g), {
913
+ default: U(() => [E(V(g), {
846
914
  always: "",
847
915
  "view-class": Ee(["relative flex flex-col", {
848
916
  ...c.value,
@@ -850,14 +918,14 @@ var en = mt("login", () => {
850
918
  }]),
851
919
  "view-style": {
852
920
  minWidth: "1200px",
853
- minHeight: `${Math.max(B(d), 438)}px`
921
+ minHeight: `${Math.max(V(d), 438)}px`
854
922
  }
855
923
  }, {
856
- default: H(() => [D(Wt, { ref: "breadcrumb" }, null, 512), D(r, null, {
857
- default: H(({ Component: e }) => [(F(), C(ye, {
858
- exclude: B(i).excludeKPname,
924
+ default: U(() => [E(Kt, { ref: "breadcrumb" }, null, 512), E(r, null, {
925
+ default: U(({ Component: e }) => [(F(), S(be, {
926
+ exclude: V(i).excludeKPname,
859
927
  include: a.value
860
- }, [(F(), C(R(e), { class: "flex-auto" }))], 1032, ["exclude", "include"]))]),
928
+ }, [(F(), S(z(e), { class: "flex-auto" }))], 1032, ["exclude", "include"]))]),
861
929
  _: 1
862
930
  })]),
863
931
  _: 1
@@ -869,9 +937,9 @@ var en = mt("login", () => {
869
937
  }));
870
938
  };
871
939
  }
872
- }), [["__scopeId", "data-v-de5cbc76"]]), an = /* @__PURE__ */ new Set();
873
- function on(e, t) {
874
- let n = S(() => typeof e.body == "function" ? e.body(A) : e.body), i = {
940
+ }), [["__scopeId", "data-v-de5cbc76"]]), sn = /* @__PURE__ */ new Set();
941
+ function cn(e, t) {
942
+ let n = x(() => typeof e.body == "function" ? e.body(A) : e.body), i = {
875
943
  attach: "#app",
876
944
  closeOnEscKeydown: !1,
877
945
  closeOnOverlayClick: !1,
@@ -881,26 +949,26 @@ function on(e, t) {
881
949
  lazy: !0,
882
950
  sizeDraggable: !0,
883
951
  ...e ?? {},
884
- body: () => A(zn, {}, { default: () => n.value })
952
+ body: () => A(Hn, {}, { default: () => n.value })
885
953
  }, a, o = {
886
954
  ...i,
887
955
  onClose: (e) => {
888
- i.onClose?.(e), an.delete(a);
956
+ i.onClose?.(e), sn.delete(a);
889
957
  }
890
958
  };
891
- return delete o.closeWhenCloseAll, a = Ge(o, t ?? r()), i.closeWhenCloseAll && an.add(a), a;
959
+ return delete o.closeWhenCloseAll, a = Ge(o, t ?? r()), i.closeWhenCloseAll && sn.add(a), a;
892
960
  }
893
- var sn = function(...e) {
894
- return on(...e);
961
+ var ln = function(...e) {
962
+ return cn(...e);
895
963
  };
896
- sn.closeAll = () => {
897
- an.forEach((e) => {
964
+ ln.closeAll = () => {
965
+ sn.forEach((e) => {
898
966
  e.hide?.();
899
967
  });
900
968
  };
901
969
  //#endregion
902
970
  //#region ../../packages/dlzn-ui/router/index.ts
903
- function cn() {
971
+ function un() {
904
972
  return {
905
973
  children: [{
906
974
  children: [{
@@ -928,15 +996,15 @@ function cn() {
928
996
  name: "Home",
929
997
  path: "home"
930
998
  }],
931
- component: rn,
999
+ component: on,
932
1000
  name: "Index",
933
1001
  path: "/"
934
1002
  };
935
1003
  }
936
- var J = gt({
1004
+ var Y = gt({
937
1005
  history: _t(VITE_BASE_URL),
938
1006
  routes: [
939
- cn(),
1007
+ un(),
940
1008
  {
941
1009
  component: h["./Login.vue"],
942
1010
  meta: {
@@ -980,16 +1048,16 @@ var J = gt({
980
1048
  sensitive: !0,
981
1049
  strict: !0
982
1050
  });
983
- J.beforeEach(async (e) => {
984
- if (e.query._fromLeftTree === "true" && y().add(e.name), !["Login", "Register"].includes(e.name)) return en().token === "" ? { name: "Login" } : Vt().routersRaw.length > 0 ? void 0 : (await Q().getUserInfo(), J.resolve({
1051
+ Y.beforeEach(async (e) => {
1052
+ if (e.query._fromLeftTree === "true" && y().add(e.name), !["Login", "Register"].includes(e.name)) return nn().token === "" ? { name: "Login" } : Ut().routersRaw.length > 0 ? void 0 : (await Q().getUserInfo(), Y.resolve({
985
1053
  path: e.path,
986
1054
  query: e.query
987
1055
  }));
988
- }), J.afterEach((e, t, n) => {
989
- jt.closeAll(), sn.closeAll();
1056
+ }), Y.afterEach((e, t, n) => {
1057
+ Nt.closeAll(), ln.closeAll();
990
1058
  let { meta: r, name: i } = e, { fullScreen: a, parentName: o, title: s } = r;
991
- document.title = s || G().appInfo.appName;
992
- let c = K();
1059
+ document.title = s || K().appInfo.appName;
1060
+ let c = q();
993
1061
  if (![
994
1062
  "Login",
995
1063
  "NotFound",
@@ -1003,22 +1071,22 @@ J.beforeEach(async (e) => {
1003
1071
  }
1004
1072
  y().remove(i), VITE_MODE === "development" && (vt(n, ht.aborted) ? m.info("导航被中断") : vt(n, ht.cancelled) ? m.info("导航被取消,因为有一个新的导航") : vt(n, ht.duplicated) && m.info("导航被阻止,因为我们已经在目标位置了"));
1005
1073
  });
1006
- function ln(e) {
1007
- if (J.hasRoute(e)) return J.getRoutes().find((t) => t.name === e);
1074
+ function dn(e) {
1075
+ if (Y.hasRoute(e)) return Y.getRoutes().find((t) => t.name === e);
1008
1076
  }
1009
1077
  //#endregion
1010
1078
  //#region ../../packages/dlzn-ui/plugins/autoImport/$alova/index.ts
1011
- var un = 15e3, dn = "网络错误,请稍后再试";
1012
- function fn(e, t = !0) {
1079
+ var fn = 15e3, pn = "网络错误,请稍后再试";
1080
+ function mn(e, t = !0) {
1013
1081
  let n = {};
1014
1082
  return Object.keys(e).forEach((r) => {
1015
1083
  (!t || (Array.isArray(e[r]) ? e[r].length > 0 : !c(e[r]))) && (n[r] = e[r]);
1016
1084
  }), n;
1017
1085
  }
1018
- function pn(e, t = !0) {
1019
- return new URLSearchParams(fn(e, t)).toString();
1086
+ function hn(e, t = !0) {
1087
+ return new URLSearchParams(mn(e, t)).toString();
1020
1088
  }
1021
- function mn(e) {
1089
+ function gn(e) {
1022
1090
  let { data: t, response: r, useDownload: i } = e;
1023
1091
  if (typeof i == "string") f(t, i);
1024
1092
  else {
@@ -1026,7 +1094,7 @@ function mn(e) {
1026
1094
  e ? f(t, e) : n.error("返回的 response header 没有文件名");
1027
1095
  }
1028
1096
  }
1029
- var Y = xt({
1097
+ var X = xt({
1030
1098
  baseURL: VITE_BASE_URL,
1031
1099
  beforeRequest(e) {
1032
1100
  e.config.credentials = e.config.credentials ?? "omit";
@@ -1048,10 +1116,10 @@ var Y = xt({
1048
1116
  useToken: !e.url.startsWith("http"),
1049
1117
  ...e.meta ?? {}
1050
1118
  };
1051
- let r = en(), { useEmptyData: a, useEmptyParams: o, useFormData: s, useInPolling: l, useLoading: u, useResponseBlob: d, useToken: f } = e.meta;
1052
- l || G().requestActive(), f && (r.token ? e.config.headers.Authorization = r.token : e.abort()), u !== !1 && i.show(u === !0 ? void 0 : u);
1119
+ let r = nn(), { useEmptyData: a, useEmptyParams: o, useFormData: s, useInPolling: l, useLoading: u, useResponseBlob: d, useToken: f } = e.meta;
1120
+ l || K().requestActive(), f && (r.token ? e.config.headers.Authorization = r.token : e.abort()), u !== !1 && i.show(u === !0 ? void 0 : u);
1053
1121
  let p = e.config.params;
1054
- if (typeof p != "string" && (e.config.params = pn(p, o)), a && pt(e.data)) {
1122
+ if (typeof p != "string" && (e.config.params = hn(p, o)), a && pt(e.data)) {
1055
1123
  let t = {}, n = e.data;
1056
1124
  Object.keys(n).forEach((e) => {
1057
1125
  c(n[e]) || (t[e] = n[e]);
@@ -1063,7 +1131,7 @@ var Y = xt({
1063
1131
  t.append(n, e.data[n]);
1064
1132
  }), e.data = t;
1065
1133
  }
1066
- e.config.timeout === un && (s || e.data instanceof FormData || d) && (e.config.timeout = 0);
1134
+ e.config.timeout === fn && (s || e.data instanceof FormData || d) && (e.config.timeout = 0);
1067
1135
  },
1068
1136
  cacheFor: null,
1069
1137
  requestAdapter: St(),
@@ -1078,7 +1146,7 @@ var Y = xt({
1078
1146
  if (t.toLowerCase().includes("abort")) return Promise.reject(e);
1079
1147
  if (t.toLowerCase().includes("timeout")) return n && m.error("请求超时"), Promise.reject(e);
1080
1148
  }
1081
- return n && m.error(dn), Promise.reject(e);
1149
+ return n && m.error(pn), Promise.reject(e);
1082
1150
  },
1083
1151
  onSuccess: async (e, t) => {
1084
1152
  if (typeof e == "string") return e;
@@ -1089,7 +1157,7 @@ var Y = xt({
1089
1157
  403: "当前操作没有权限",
1090
1158
  404: "访问资源不存在",
1091
1159
  500: "服务不可用,请稍后再试或联系管理员!"
1092
- }[h] ?? dn;
1160
+ }[h] ?? pn;
1093
1161
  m.error(e);
1094
1162
  }
1095
1163
  return Promise.reject(e);
@@ -1101,7 +1169,7 @@ var Y = xt({
1101
1169
  } catch (e) {
1102
1170
  return n.error("返回的 response 不能被blob() 方法所解析"), Promise.reject(e);
1103
1171
  }
1104
- return i !== !1 && mn({
1172
+ return i !== !1 && gn({
1105
1173
  data: t,
1106
1174
  response: e,
1107
1175
  useDownload: i
@@ -1127,12 +1195,12 @@ var Y = xt({
1127
1195
  if (t >= 400) {
1128
1196
  if (t === 600) {
1129
1197
  if (d(l).then((e) => {
1130
- W({
1198
+ G({
1131
1199
  body: () => A("div", { innerHTML: e }),
1132
1200
  cancelBtn: null
1133
1201
  });
1134
1202
  }), !o) return g;
1135
- } else t === 401 && u ? J.push({ name: "Login" }) : a !== !1 && m.error(a === !0 ? l : a);
1203
+ } else t === 401 && u ? Y.push({ name: "Login" }) : a !== !1 && m.error(a === !0 ? l : a);
1136
1204
  return Promise.reject(g);
1137
1205
  }
1138
1206
  {
@@ -1141,7 +1209,7 @@ var Y = xt({
1141
1209
  data: s,
1142
1210
  msg: l
1143
1211
  });
1144
- return a === void 0 ? (i !== !1 && (typeof i == "string" ? mn({
1212
+ return a === void 0 ? (i !== !1 && (typeof i == "string" ? gn({
1145
1213
  data: s,
1146
1214
  response: e,
1147
1215
  useDownload: i
@@ -1153,10 +1221,10 @@ var Y = xt({
1153
1221
  },
1154
1222
  shareRequest: !1,
1155
1223
  statesHook: Ct,
1156
- timeout: un
1157
- }), X = /* @__PURE__ */ new Map();
1158
- function hn(e) {
1159
- let t = Y.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
1224
+ timeout: fn
1225
+ }), _n = /* @__PURE__ */ new Map();
1226
+ function vn(e) {
1227
+ let t = X.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
1160
1228
  cssClass: e.cssClass,
1161
1229
  dictType: e.dictType,
1162
1230
  label: e.dictLabel,
@@ -1164,42 +1232,42 @@ function hn(e) {
1164
1232
  value: e.dictValue
1165
1233
  })));
1166
1234
  e.forEach((e) => {
1167
- X.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1235
+ _n.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1168
1236
  });
1169
1237
  }
1170
- var gn = [];
1171
- function _n(e) {
1172
- return gn.includes(e) || gn.push(e), new Promise((t) => {
1238
+ var yn = [];
1239
+ function bn(e) {
1240
+ return yn.includes(e) || yn.push(e), new Promise((t) => {
1173
1241
  setTimeout(() => {
1174
- let n = gn.filter((e) => !X.has(e));
1175
- n.length > 0 && hn(n), gn.length = 0, X.get(e).then((e) => {
1242
+ let n = yn.filter((e) => !_n.has(e));
1243
+ n.length > 0 && vn(n), yn.length = 0, _n.get(e).then((e) => {
1176
1244
  t(e);
1177
1245
  });
1178
1246
  });
1179
1247
  });
1180
1248
  }
1181
1249
  var Z = /* @__PURE__ */ new Map();
1182
- function vn() {
1183
- gn.length = 0, X.clear(), Z.clear();
1250
+ function xn() {
1251
+ yn.length = 0, _n.clear(), Z.clear();
1184
1252
  }
1185
- function yn(e, t) {
1186
- let n = bn(e);
1253
+ function Sn(e, t) {
1254
+ let n = Cn(e);
1187
1255
  return t === void 0 ? p(n) : p(n, t);
1188
1256
  }
1189
- function bn(e, t) {
1257
+ function Cn(e, t) {
1190
1258
  let n;
1191
- return Z.has(e) ? n = Z.get(e) : (n = I([]), Z.set(e, n), _n(e).then((e) => {
1259
+ return Z.has(e) ? n = Z.get(e) : (n = I([]), Z.set(e, n), bn(e).then((e) => {
1192
1260
  n.value = e;
1193
- })), S(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
1261
+ })), x(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
1194
1262
  }
1195
- function xn(e) {
1196
- X.delete(e), Z.has(e) && _n(e).then((t) => {
1263
+ function wn(e) {
1264
+ _n.delete(e), Z.has(e) && bn(e).then((t) => {
1197
1265
  Z.get(e).value = t;
1198
1266
  });
1199
1267
  }
1200
1268
  //#endregion
1201
1269
  //#region ../../packages/dlzn-ui/components/checkbox-group/src/checkbox-group.vue
1202
- var Sn = /* @__PURE__ */ O({
1270
+ var Tn = /* @__PURE__ */ D({
1203
1271
  inheritAttrs: !1,
1204
1272
  name: "TCheckboxGroup",
1205
1273
  __name: "checkbox-group",
@@ -1226,17 +1294,17 @@ var Sn = /* @__PURE__ */ O({
1226
1294
  },
1227
1295
  emits: ["update:modelValue"],
1228
1296
  setup(e, { emit: t }) {
1229
- let r = e, i = t, a = k();
1297
+ let r = e, i = t, a = O();
1230
1298
  function o(e) {
1231
1299
  a.exposed = e ?? {};
1232
1300
  }
1233
- let s = S(() => {
1301
+ let s = x(() => {
1234
1302
  let e;
1235
- return r.dicCode ? (r.options && n.error("TCheckboxGroup: dicCode and options cannot be used together"), e = bn(r.dicCode).value) : e = typeof r.options == "string" ? oe(r.options).value : r.options, r.showCheckAll && (e === void 0 ? n.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1303
+ return r.dicCode ? (r.options && n.error("TCheckboxGroup: dicCode and options cannot be used together"), e = Cn(r.dicCode).value) : e = typeof r.options == "string" ? oe(r.options).value : r.options, r.showCheckAll && (e === void 0 ? n.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1236
1304
  checkAll: !0,
1237
1305
  label: "全选"
1238
1306
  })), e;
1239
- }), u = S(() => {
1307
+ }), u = x(() => {
1240
1308
  if (!Array.isArray(r.modelValue)) n.error("TCheckboxGroup: modelValue must be an array");
1241
1309
  else if (s.value !== void 0) {
1242
1310
  let e = s.value.every((e) => typeof (e.value ?? e) == "string"), t = s.value.every((e) => typeof (e.value ?? e) == "number");
@@ -1244,13 +1312,13 @@ var Sn = /* @__PURE__ */ O({
1244
1312
  if (t) return r.modelValue.map((e) => l(e) ? Number(e) : e);
1245
1313
  }
1246
1314
  return r.modelValue;
1247
- }), d = S(() => {
1315
+ }), d = x(() => {
1248
1316
  let e = { ...r };
1249
1317
  return delete e.dicCode, delete e.showCheckAll, Object.keys(e).forEach((t) => {
1250
1318
  e[t] === void 0 && delete e[t];
1251
1319
  }), e;
1252
1320
  });
1253
- return (e, t) => (F(), C(R(A(B(Be), M(e.$attrs, {
1321
+ return (e, t) => (F(), S(z(A(V(ze), M(e.$attrs, {
1254
1322
  ...d.value,
1255
1323
  options: s.value,
1256
1324
  modelValue: u.value,
@@ -1260,7 +1328,7 @@ var Sn = /* @__PURE__ */ O({
1260
1328
  ref: o
1261
1329
  }), e.$slots))));
1262
1330
  }
1263
- }), Cn = /* @__PURE__ */ O({
1331
+ }), En = /* @__PURE__ */ D({
1264
1332
  inheritAttrs: !1,
1265
1333
  __name: "cron",
1266
1334
  props: /*@__PURE__*/ j({
@@ -1311,7 +1379,7 @@ var Sn = /* @__PURE__ */ O({
1311
1379
  }, le),
1312
1380
  emits: ["update:modelValue"],
1313
1381
  setup(e, { emit: t }) {
1314
- let n = e, r = t, i = we("isFormDisabled", S(() => !1)), a = we("isFormReadonly", S(() => !1)), o = S(() => {
1382
+ let n = e, r = t, i = we("isFormDisabled", x(() => !1)), a = we("isFormReadonly", x(() => !1)), o = x(() => {
1315
1383
  let e = n.disabled ?? i.value, t = n.readonly ?? a.value;
1316
1384
  return {
1317
1385
  ...n,
@@ -1319,8 +1387,8 @@ var Sn = /* @__PURE__ */ O({
1319
1387
  default: "cron",
1320
1388
  onClick: () => {
1321
1389
  let i = I(null);
1322
- W({
1323
- body: () => A(Se(() => import("../components/cron/src/Picker.mjs")), {
1390
+ G({
1391
+ body: () => A(Ce(() => import("../components/cron/src/Picker.mjs")), {
1324
1392
  disabled: e,
1325
1393
  modelValue: n.modelValue,
1326
1394
  onVnodeMounted: (e) => {
@@ -1342,20 +1410,20 @@ var Sn = /* @__PURE__ */ O({
1342
1410
  variant: "text"
1343
1411
  }) }
1344
1412
  };
1345
- }), s = Ne(), c = k();
1413
+ }), s = Me(), c = O();
1346
1414
  function l(e) {
1347
1415
  c.exposed = e ?? {};
1348
1416
  }
1349
- let u = S(() => M(s, {
1417
+ let u = x(() => M(s, {
1350
1418
  ...o.value,
1351
1419
  onChange: (...e) => {
1352
1420
  r("update:modelValue", e[0]), n.onChange?.(...e);
1353
1421
  },
1354
1422
  ref: l
1355
1423
  }));
1356
- return (e, t) => (F(), C(B(ue), P(Ce(u.value)), null, 16));
1424
+ return (e, t) => (F(), S(V(ue), P(k(u.value)), null, 16));
1357
1425
  }
1358
- }), wn = /* @__PURE__ */ O({
1426
+ }), Dn = /* @__PURE__ */ D({
1359
1427
  inheritAttrs: !1,
1360
1428
  name: "TRadioGroup",
1361
1429
  __name: "radio-group",
@@ -1385,16 +1453,16 @@ var Sn = /* @__PURE__ */ O({
1385
1453
  },
1386
1454
  emits: ["update:modelValue"],
1387
1455
  setup(e, { emit: t }) {
1388
- let r = e, i = t, a = k();
1456
+ let r = e, i = t, a = O();
1389
1457
  function o(e) {
1390
1458
  a.exposed = e ?? {};
1391
1459
  }
1392
- let s = S(() => r.dicCode ? (r.options && n.error("TRadioGroup: dicCode and options cannot be used together"), bn(r.dicCode).value) : typeof r.options == "string" ? oe(r.options).value : r.options), d = S(() => {
1460
+ let s = x(() => r.dicCode ? (r.options && n.error("TRadioGroup: dicCode and options cannot be used together"), Cn(r.dicCode).value) : typeof r.options == "string" ? oe(r.options).value : r.options), d = x(() => {
1393
1461
  let e = { ...r };
1394
1462
  return delete e.dicCode, Object.keys(e).forEach((t) => {
1395
1463
  e[t] === void 0 && delete e[t];
1396
1464
  }), e;
1397
- }), f = S(() => {
1465
+ }), f = x(() => {
1398
1466
  if (s.value !== void 0 && !c(r.modelValue)) {
1399
1467
  let e = s.value.every((e) => typeof (e.value ?? e) == "string"), t = s.value.every((e) => typeof (e.value ?? e) == "number");
1400
1468
  if (e) return u(r.modelValue);
@@ -1402,18 +1470,18 @@ var Sn = /* @__PURE__ */ O({
1402
1470
  }
1403
1471
  return r.modelValue;
1404
1472
  });
1405
- return (e, t) => (F(), C(R(A(B(et), M(e.$attrs, {
1473
+ return (e, t) => (F(), S(z(A(V(et), M(e.$attrs, {
1406
1474
  ...d.value,
1407
1475
  options: s.value,
1408
1476
  modelValue: f.value,
1409
1477
  onChange: (...e) => {
1410
- let [t, ...n] = e, a = B(c)(t) ? "" : t;
1478
+ let [t, ...n] = e, a = V(c)(t) ? "" : t;
1411
1479
  i("update:modelValue", a), r.onChange?.(a, ...n);
1412
1480
  },
1413
1481
  ref: o
1414
1482
  }), e.$slots))));
1415
1483
  }
1416
- }), Tn = {
1484
+ }), On = {
1417
1485
  clearable: !0,
1418
1486
  disabled: void 0,
1419
1487
  filterable: void 0,
@@ -1434,7 +1502,7 @@ var Sn = /* @__PURE__ */ O({
1434
1502
  }),
1435
1503
  showArrow: !0,
1436
1504
  showCheckAll: !1
1437
- }, En = /* @__PURE__ */ O({
1505
+ }, kn = /* @__PURE__ */ D({
1438
1506
  inheritAttrs: !1,
1439
1507
  name: "TSelect",
1440
1508
  __name: "select",
@@ -1498,19 +1566,19 @@ var Sn = /* @__PURE__ */ O({
1498
1566
  onPopupVisibleChange: { type: Function },
1499
1567
  onRemove: { type: Function },
1500
1568
  onSearch: { type: Function }
1501
- }, Tn),
1569
+ }, On),
1502
1570
  setup(e) {
1503
- let t = e, r = k();
1571
+ let t = e, r = O();
1504
1572
  function i(e) {
1505
1573
  r.exposed = e ?? {};
1506
1574
  }
1507
- let a = S(() => {
1575
+ let a = x(() => {
1508
1576
  let e;
1509
- return t.dicCode === void 0 ? e = typeof t.options == "string" ? oe(t.options).value : t.options : (t.options && n.error("TSelect: dicCode and options cannot be used together"), e = bn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? n.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1577
+ return t.dicCode === void 0 ? e = typeof t.options == "string" ? oe(t.options).value : t.options : (t.options && n.error("TSelect: dicCode and options cannot be used together"), e = Cn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? n.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1510
1578
  checkAll: !0,
1511
1579
  [t.keys?.label ?? "label"]: "全选"
1512
1580
  }) : n.error("TSelect: showCheckAll is supported only for multiple select")), e;
1513
- }), o = S(() => {
1581
+ }), o = x(() => {
1514
1582
  if (a.value !== void 0) {
1515
1583
  let e = a.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");
1516
1584
  if (t.multiple) {
@@ -1522,7 +1590,7 @@ var Sn = /* @__PURE__ */ O({
1522
1590
  else if (i) return l(t.modelValue) ? Number(t.modelValue) : t.modelValue;
1523
1591
  }
1524
1592
  return t.modelValue;
1525
- }), s = S(() => {
1593
+ }), s = x(() => {
1526
1594
  let e = {
1527
1595
  ...t,
1528
1596
  filterable: t.filterable ?? a.value.length > 8
@@ -1536,9 +1604,9 @@ var Sn = /* @__PURE__ */ O({
1536
1604
  d.value = r.exposed.$el.offsetWidth;
1537
1605
  }, { box: "border-box" });
1538
1606
  });
1539
- let f = S(() => {
1607
+ let f = x(() => {
1540
1608
  if (s.value.scroll?.type === "virtual" && a.value.length > (s.value.scroll?.threshold ?? 150)) return "300px";
1541
- }), p = S(() => ({
1609
+ }), p = x(() => ({
1542
1610
  ...s.value,
1543
1611
  modelValue: o.value,
1544
1612
  onChange: (...e) => {
@@ -1557,12 +1625,12 @@ var Sn = /* @__PURE__ */ O({
1557
1625
  },
1558
1626
  ref: i
1559
1627
  })), m = Xe;
1560
- return (t, n) => e.adornment ? (F(), C(R(A(B(m), t.$attrs, {
1628
+ return (t, n) => e.adornment ? (F(), S(z(A(V(m), t.$attrs, {
1561
1629
  ...e.adornment,
1562
- default: () => A(B(tt), p.value, t.$slots)
1563
- })), { key: 0 })) : (F(), C(R(A(B(tt), M(t.$attrs, p.value), t.$slots)), { key: 1 }));
1630
+ default: () => A(V(tt), p.value, t.$slots)
1631
+ })), { key: 0 })) : (F(), S(z(A(V(tt), M(t.$attrs, p.value), t.$slots)), { key: 1 }));
1564
1632
  }
1565
- }), Dn = /* @__PURE__ */ O({
1633
+ }), An = /* @__PURE__ */ D({
1566
1634
  inheritAttrs: !1,
1567
1635
  __name: "select-sys-user",
1568
1636
  props: /*@__PURE__*/ j({
@@ -1607,7 +1675,7 @@ var Sn = /* @__PURE__ */ O({
1607
1675
  }, me),
1608
1676
  emits: ["update:modelValue"],
1609
1677
  setup(e, { emit: t }) {
1610
- let n = e, r = t, i = we("isFormDisabled", S(() => !1)), a = we("isFormReadonly", S(() => !1)), o = S(() => {
1678
+ let n = e, r = t, i = we("isFormDisabled", x(() => !1)), a = we("isFormReadonly", x(() => !1)), o = x(() => {
1611
1679
  let e = n.disabled ?? i.value, t = n.readonly ?? a.value;
1612
1680
  return {
1613
1681
  ...n,
@@ -1615,8 +1683,8 @@ var Sn = /* @__PURE__ */ O({
1615
1683
  default: "选择用户",
1616
1684
  onClick: () => {
1617
1685
  let e = I(null);
1618
- W({
1619
- body: () => A(Se(() => import("../components/select-sys-user/src/Picker.mjs")), {
1686
+ G({
1687
+ body: () => A(Ce(() => import("../components/select-sys-user/src/Picker.mjs")), {
1620
1688
  max: n.max,
1621
1689
  modelValue: n.modelValue,
1622
1690
  onVnodeMounted: (t) => {
@@ -1637,11 +1705,11 @@ var Sn = /* @__PURE__ */ O({
1637
1705
  variant: "text"
1638
1706
  }) }
1639
1707
  };
1640
- }), s = Ne(), c = k();
1708
+ }), s = Me(), c = O();
1641
1709
  function l(e) {
1642
1710
  c.exposed = e ?? {};
1643
1711
  }
1644
- let u = S(() => M(s, {
1712
+ let u = x(() => M(s, {
1645
1713
  ...o.value,
1646
1714
  inputProps: {
1647
1715
  readonly: !0,
@@ -1653,12 +1721,12 @@ var Sn = /* @__PURE__ */ O({
1653
1721
  placeholder: "请选择用户",
1654
1722
  ref: l
1655
1723
  }));
1656
- return (e, t) => (F(), C(B(he), P(Ce(u.value)), {
1657
- tag: H(({ value: e }) => [E(z(B(Zt)(e).value?.userName), 1)]),
1724
+ return (e, t) => (F(), S(V(he), P(k(u.value)), {
1725
+ tag: U(({ value: e }) => [T(B(V($t)(e).value?.userName), 1)]),
1658
1726
  _: 1
1659
1727
  }, 16));
1660
1728
  }
1661
- }), On = {
1729
+ }), jn = {
1662
1730
  checkable: !1,
1663
1731
  disabled: void 0,
1664
1732
  expandOnClickNode: void 0,
@@ -1677,7 +1745,7 @@ var Sn = /* @__PURE__ */ O({
1677
1745
  line: !0,
1678
1746
  transition: !0,
1679
1747
  valueMode: "all"
1680
- }, kn = /* @__PURE__ */ O({
1748
+ }, Mn = /* @__PURE__ */ D({
1681
1749
  inheritAttrs: !1,
1682
1750
  name: "TTree",
1683
1751
  __name: "tree",
@@ -1734,23 +1802,23 @@ var Sn = /* @__PURE__ */ O({
1734
1802
  onLoad: { type: Function },
1735
1803
  onScroll: { type: Function },
1736
1804
  treeStore: {}
1737
- }, On),
1805
+ }, jn),
1738
1806
  setup(e, { expose: t }) {
1739
- let n = e, r = Pe(), i = S(() => {
1807
+ let n = e, r = Ne(), i = x(() => {
1740
1808
  let e = { ...n };
1741
1809
  return e.expandOnClickNode = e.expandOnClickNode ?? !e.checkable, r.icon && delete e.icon, Object.keys(e).forEach((t) => {
1742
1810
  e[t] === void 0 && delete e[t];
1743
1811
  }), e;
1744
- }), a = k();
1812
+ }), a = O();
1745
1813
  function o(e) {
1746
1814
  a.exposed = e ?? {};
1747
1815
  }
1748
- return t({}), (e, t) => (F(), C(R(A(B(nt), M(e.$attrs, {
1816
+ return t({}), (e, t) => (F(), S(z(A(V(nt), M(e.$attrs, {
1749
1817
  ...i.value,
1750
1818
  ref: o
1751
1819
  }), e.$slots))));
1752
1820
  }
1753
- }), An = /* @__PURE__ */ O({
1821
+ }), Nn = /* @__PURE__ */ D({
1754
1822
  inheritAttrs: !1,
1755
1823
  name: "TTreeSelect",
1756
1824
  __name: "tree-select",
@@ -1817,21 +1885,21 @@ var Sn = /* @__PURE__ */ O({
1817
1885
  onSearch: {}
1818
1886
  },
1819
1887
  setup(e) {
1820
- let t = e, n = S(() => typeof t.data == "string" ? oe(t.data).value : t.data), r = S(() => {
1888
+ let t = e, n = x(() => typeof t.data == "string" ? oe(t.data).value : t.data), r = x(() => {
1821
1889
  let e = { ...t };
1822
1890
  return e.selectInputProps = {
1823
1891
  minCollapsedNum: 2,
1824
1892
  ...e.selectInputProps ?? {}
1825
1893
  }, e.treeProps = {
1826
- ...On,
1894
+ ...jn,
1827
1895
  checkable: !!t.multiple,
1828
1896
  expandOnClickNode: !!t.multiple,
1829
- icon: On.icon(),
1897
+ icon: jn.icon(),
1830
1898
  ...e.treeProps ?? {}
1831
1899
  }, Object.keys(e).forEach((t) => {
1832
1900
  e[t] === void 0 && delete e[t];
1833
1901
  }), e;
1834
- }), i = k();
1902
+ }), i = O();
1835
1903
  function a(e) {
1836
1904
  i.exposed = e ?? {};
1837
1905
  }
@@ -1840,7 +1908,7 @@ var Sn = /* @__PURE__ */ O({
1840
1908
  dt(i.exposed.$el, () => {
1841
1909
  o.value = i.exposed.$el.offsetWidth;
1842
1910
  }, { box: "border-box" });
1843
- }), (e, t) => (F(), C(R(A(B(rt), M(e.$attrs, {
1911
+ }), (e, t) => (F(), S(z(A(V(rt), M(e.$attrs, {
1844
1912
  ...r.value,
1845
1913
  data: n.value,
1846
1914
  ref: a,
@@ -1854,10 +1922,10 @@ var Sn = /* @__PURE__ */ O({
1854
1922
  }
1855
1923
  }), e.$slots))));
1856
1924
  }
1857
- }), jn = ".xlsx,.xls", Mn = { class: "flex items-center" }, Nn = {
1925
+ }), Pn = ".xlsx,.xls", Fn = { class: "flex items-center" }, In = {
1858
1926
  key: 1,
1859
1927
  class: "ml-3 text-xs text-(--td-text-color-placeholder)"
1860
- }, Pn = /*#__PURE__*/ b(/* @__PURE__ */ O({
1928
+ }, Ln = /*#__PURE__*/ b(/* @__PURE__ */ D({
1861
1929
  inheritAttrs: !1,
1862
1930
  name: "TUpload",
1863
1931
  __name: "upload",
@@ -1866,7 +1934,7 @@ var Sn = /* @__PURE__ */ O({
1866
1934
  "onUpdate:modelValue": {},
1867
1935
  requestMethod: {},
1868
1936
  abridgeName: {},
1869
- accept: { default: jn },
1937
+ accept: { default: Pn },
1870
1938
  allowUploadDuplicateFile: { type: Boolean },
1871
1939
  autoUpload: { type: Boolean },
1872
1940
  beforeAllFilesUpload: {},
@@ -1926,7 +1994,7 @@ var Sn = /* @__PURE__ */ O({
1926
1994
  onWaitingUploadFilesChange: {}
1927
1995
  },
1928
1996
  setup(e, { expose: t }) {
1929
- let n = e, r = S(() => {
1997
+ let n = e, r = x(() => {
1930
1998
  if (n.requestMethod !== void 0) return (e) => new Promise((t) => {
1931
1999
  typeof n.requestMethod == "function" ? n.requestMethod(e).then((e) => {
1932
2000
  t({
@@ -1939,7 +2007,7 @@ var Sn = /* @__PURE__ */ O({
1939
2007
  response: {},
1940
2008
  status: "fail"
1941
2009
  });
1942
- }) : Y.Post(n.requestMethod.ossUrl ?? "common/uploadOss", {
2010
+ }) : X.Post(n.requestMethod.ossUrl ?? "common/uploadOss", {
1943
2011
  biz: n.requestMethod.biz,
1944
2012
  file: e.raw
1945
2013
  }, { meta: { useFormData: !0 } }).then((e) => {
@@ -1959,44 +2027,44 @@ var Sn = /* @__PURE__ */ O({
1959
2027
  function i() {
1960
2028
  typeof n.downloadTemplate == "string" ? f(n.downloadTemplate) : n.downloadTemplate.send();
1961
2029
  }
1962
- let a = S(() => {
2030
+ let a = x(() => {
1963
2031
  let e = { ...n };
1964
2032
  return ["image", "image-flow"].includes(e.theme) && (e.accept = e.accept === ".xlsx,.xls" ? "image/*" : e.accept), Object.keys(e).forEach((t) => {
1965
2033
  e[t] === void 0 && delete e[t];
1966
2034
  }), delete e.downloadTemplate, e.theme === "file" && delete e.tips, e;
1967
- }), o = k();
2035
+ }), o = O();
1968
2036
  function s(e) {
1969
2037
  o.exposed = e ?? {};
1970
2038
  }
1971
- return t({}), (t, o) => (F(), C(R(A(B(it), M(t.$attrs, {
2039
+ return t({}), (t, o) => (F(), S(z(A(V(it), M(t.$attrs, {
1972
2040
  ...a.value,
1973
2041
  requestMethod: r.value,
1974
2042
  ref: s
1975
- }, { class: a.value.theme }))), null, xe({ _: 2 }, [L(Object.keys(t.$slots), (e) => ({
2043
+ }, { class: a.value.theme }))), null, Se({ _: 2 }, [L(Object.keys(t.$slots), (e) => ({
1976
2044
  name: e,
1977
- fn: H((n) => [Ae(t.$slots, e, P(Ce(n)), void 0, !0)])
2045
+ fn: U((n) => [R(t.$slots, e, P(k(n)), void 0, !0)])
1978
2046
  })), a.value.theme === "file" && !Object.hasOwn(t.$slots, "trigger") ? {
1979
2047
  name: "trigger",
1980
- fn: H(({ files: t }) => [be("div", Mn, [
1981
- D(B($), { theme: "primary" }, {
1982
- default: H(() => [E(z(t.length > 0 ? a.value.multiple ? "继续上传" : "重新上传" : "选择文件"), 1)]),
2048
+ fn: U(({ files: t }) => [xe("div", Fn, [
2049
+ E(V($), { theme: "primary" }, {
2050
+ default: U(() => [T(B(t.length > 0 ? a.value.multiple ? "继续上传" : "重新上传" : "选择文件"), 1)]),
1983
2051
  _: 2
1984
2052
  }, 1024),
1985
- e.downloadTemplate ? (F(), C(B($), {
2053
+ e.downloadTemplate ? (F(), S(V($), {
1986
2054
  key: 0,
1987
2055
  theme: "primary",
1988
2056
  variant: "outline",
1989
- onClick: Ie(i, ["stop"])
2057
+ onClick: Fe(i, ["stop"])
1990
2058
  }, {
1991
- default: H(() => [...o[0] ||= [E("下载模板", -1)]]),
2059
+ default: U(() => [...o[0] ||= [T("下载模板", -1)]]),
1992
2060
  _: 1
1993
- })) : w("v-if", !0),
1994
- n.tips ? (F(), T("span", Nn, z(n.tips), 1)) : w("v-if", !0)
2061
+ })) : C("v-if", !0),
2062
+ n.tips ? (F(), w("span", In, B(n.tips), 1)) : C("v-if", !0)
1995
2063
  ])]),
1996
2064
  key: "0"
1997
2065
  } : void 0]), 1024));
1998
2066
  }
1999
- }), [["__scopeId", "data-v-51889a3b"]]), Fn = /*#__PURE__*/ b(/* @__PURE__ */ O({
2067
+ }), [["__scopeId", "data-v-51889a3b"]]), Rn = /*#__PURE__*/ b(/* @__PURE__ */ D({
2000
2068
  inheritAttrs: !1,
2001
2069
  name: "TForm",
2002
2070
  __name: "form",
@@ -2026,7 +2094,7 @@ var Sn = /* @__PURE__ */ O({
2026
2094
  onValidate: { type: Function }
2027
2095
  }, Dt),
2028
2096
  setup(e, { expose: t }) {
2029
- let r = e, { customerFormItemComponentInitialValueMap: i = /* @__PURE__ */ new Map(), customerFormItemComponentMap: o = /* @__PURE__ */ new Map() } = bt, s = k(), l = I(null), u = S(() => r.items.map((e) => {
2097
+ let r = e, { customerFormItemComponentInitialValueMap: i = /* @__PURE__ */ new Map(), customerFormItemComponentMap: o = /* @__PURE__ */ new Map() } = bt, s = O(), l = I(null), u = x(() => r.items.map((e) => {
2030
2098
  if (typeof e.__others == "function") {
2031
2099
  let t = {
2032
2100
  ...e,
@@ -2066,34 +2134,34 @@ var Sn = /* @__PURE__ */ O({
2066
2134
  }
2067
2135
  });
2068
2136
  }
2069
- V(u, d, {
2137
+ H(u, d, {
2070
2138
  deep: 2,
2071
2139
  immediate: !0
2072
- }), V(() => r.data, () => {
2140
+ }), H(() => r.data, () => {
2073
2141
  n.error("TForm: data is changed");
2074
2142
  });
2075
2143
  let f = /* @__PURE__ */ new Map(), p = {
2076
2144
  TCheckbox: a,
2077
- TCheckboxGroup: Sn,
2145
+ TCheckboxGroup: Tn,
2078
2146
  TColorPicker: ce,
2079
- TCron: Cn,
2147
+ TCron: En,
2080
2148
  TDatePicker: de,
2081
2149
  TInput: ue,
2082
2150
  TInputNumber: fe,
2083
- TRadioGroup: wn,
2151
+ TRadioGroup: Dn,
2084
2152
  TRangeInput: pe,
2085
- TSelect: En,
2086
- TSelectSysUser: Dn,
2153
+ TSelect: kn,
2154
+ TSelectSysUser: An,
2087
2155
  TSlider: ge,
2088
2156
  TSwitch: _e,
2089
2157
  TTagInput: he,
2090
2158
  TTextarea: ve,
2091
- TTree: kn,
2092
- TTreeSelect: An,
2093
- TUpload: Pn
2159
+ TTree: Mn,
2160
+ TTreeSelect: Nn,
2161
+ TUpload: Ln
2094
2162
  };
2095
2163
  function h(e) {
2096
- return typeof e == "string" ? o.has(e) ? (f.has(e) || f.set(e, Se(o.get(e))), f.get(e)) : p[e] : ue;
2164
+ return typeof e == "string" ? o.has(e) ? (f.has(e) || f.set(e, Ce(o.get(e))), f.get(e)) : p[e] : ue;
2097
2165
  }
2098
2166
  function g(e) {
2099
2167
  let t = {};
@@ -2123,7 +2191,7 @@ var Sn = /* @__PURE__ */ O({
2123
2191
  whitespace: !0
2124
2192
  }), t;
2125
2193
  }
2126
- let v = S(() => {
2194
+ let v = x(() => {
2127
2195
  let e = { ...r };
2128
2196
  if (e.rules !== void 0) {
2129
2197
  let t = {};
@@ -2196,7 +2264,7 @@ var Sn = /* @__PURE__ */ O({
2196
2264
  let t = e ?? {};
2197
2265
  l.value = t, s.exposed = t;
2198
2266
  }
2199
- let b = Me();
2267
+ let b = je();
2200
2268
  De(() => {
2201
2269
  b.value = s.exposed.$el.getElementsByClassName("t-form__label"), te(), ut(s.exposed.$el, () => {
2202
2270
  te();
@@ -2221,12 +2289,12 @@ var Sn = /* @__PURE__ */ O({
2221
2289
  e.style.minWidth = `${t}px`;
2222
2290
  });
2223
2291
  }
2224
- return Oe("formData", r.data), Oe("formExposed", l), Oe("isFormDisabled", S(() => r.disabled)), Oe("isFormReadonly", S(() => r.readonly)), t({}), (t, n) => (F(), T(x, null, [w(" eslint-disable vue/no-mutating-props "), (F(), C(R(B(Ke)), M(M(t.$attrs, {
2292
+ return Oe("formData", r.data), Oe("formExposed", l), Oe("isFormDisabled", x(() => r.disabled)), Oe("isFormReadonly", x(() => r.readonly)), t({}), (t, n) => (F(), w(ye, null, [C(" eslint-disable vue/no-mutating-props "), (F(), S(z(V(Ke)), M(M(t.$attrs, {
2225
2293
  ...v.value,
2226
2294
  ref: ee
2227
2295
  }), { "label-width": "fit-content" }), {
2228
- default: H(() => [(F(!0), T(x, null, L(u.value.filter((e) => e.show !== !1), (n) => (F(), C(B(qe), M({ key: n.model ?? n.slot }, { ref_for: !0 }, M({ ..._(n) }, { class: { no_label_item: B(c)(n._label) } }), { name: n.model }), {
2229
- default: H(() => [n.slot ? Ae(t.$slots, n.slot, {}, void 0, !0, 0) : (F(), C(R(h(n.component)), M({
2296
+ default: U(() => [(F(!0), w(ye, null, L(u.value.filter((e) => e.show !== !1), (n) => (F(), S(V(qe), M({ key: n.model ?? n.slot }, { ref_for: !0 }, M({ ..._(n) }, { class: { no_label_item: V(c)(n._label) } }), { name: n.model }), {
2297
+ default: U(() => [n.slot ? R(t.$slots, n.slot, {}, void 0, !0, 0) : (F(), S(z(h(n.component)), M({
2230
2298
  key: 1,
2231
2299
  modelValue: e.data[n.model],
2232
2300
  "onUpdate:modelValue": (t) => e.data[n.model] = t
@@ -2236,14 +2304,14 @@ var Sn = /* @__PURE__ */ O({
2236
2304
  _: 3
2237
2305
  }, 16))], 2112));
2238
2306
  }
2239
- }), [["__scopeId", "data-v-d3f924b4"]]), In = /* @__PURE__ */ O({
2307
+ }), [["__scopeId", "data-v-d3f924b4"]]), zn = /* @__PURE__ */ D({
2240
2308
  __name: "ResetPwd",
2241
2309
  props: { showFooter: {
2242
2310
  type: Boolean,
2243
2311
  default: !0
2244
2312
  } },
2245
2313
  setup(e, { expose: t }) {
2246
- let n = U(), r = [
2314
+ let n = W(), r = [
2247
2315
  {
2248
2316
  _label: "旧密码",
2249
2317
  _required: !0,
@@ -2274,13 +2342,13 @@ var Sn = /* @__PURE__ */ O({
2274
2342
  type: "password"
2275
2343
  },
2276
2344
  ...e.showFooter ? [{ slot: "footer" }] : []
2277
- ], i = Fe("form");
2345
+ ], i = Pe("form");
2278
2346
  function a() {
2279
- K().close(n.name);
2347
+ q().close(n.name);
2280
2348
  }
2281
2349
  async function c() {
2282
2350
  let e = await i.value.validate();
2283
- await Y.Put("system/user/profile/updatePwd", void 0, {
2351
+ await X.Put("system/user/profile/updatePwd", void 0, {
2284
2352
  meta: {
2285
2353
  useLoading: "保存中...",
2286
2354
  useSuccessMsg: !0
@@ -2289,23 +2357,23 @@ var Sn = /* @__PURE__ */ O({
2289
2357
  newPassword: e.newPassword,
2290
2358
  oldPassword: e.oldPassword
2291
2359
  }
2292
- }), en().logout();
2360
+ }), nn().logout();
2293
2361
  }
2294
- return t({ handleSubmit: c }), (e, t) => (F(), C(B(Fn), {
2362
+ return t({ handleSubmit: c }), (e, t) => (F(), S(V(Rn), {
2295
2363
  ref: "form",
2296
2364
  items: r,
2297
2365
  "label-align": "right",
2298
2366
  layout: "vertical"
2299
2367
  }, {
2300
- footer: H(() => [D(B($), { onClick: c }, {
2301
- default: H(() => [...t[0] ||= [E("保存", -1)]]),
2368
+ footer: U(() => [E(V($), { onClick: c }, {
2369
+ default: U(() => [...t[0] ||= [T("保存", -1)]]),
2302
2370
  _: 1
2303
- }), D(B($), {
2371
+ }), E(V($), {
2304
2372
  class: "ml-4!",
2305
2373
  theme: "default",
2306
2374
  onClick: a
2307
2375
  }, {
2308
- default: H(() => [...t[1] ||= [E("关闭", -1)]]),
2376
+ default: U(() => [...t[1] ||= [T("关闭", -1)]]),
2309
2377
  _: 1
2310
2378
  })]),
2311
2379
  _: 1
@@ -2314,13 +2382,13 @@ var Sn = /* @__PURE__ */ O({
2314
2382
  });
2315
2383
  //#endregion
2316
2384
  //#region ../../packages/dlzn-ui/store/modules/user.ts
2317
- function Ln() {
2318
- return Y.Get("getInfo", { meta: {
2385
+ function Bn() {
2386
+ return X.Get("getInfo", { meta: {
2319
2387
  useFailMsg: "获取用户信息失败",
2320
2388
  useLoading: "正在获取用户信息..."
2321
2389
  } });
2322
2390
  }
2323
- var Rn = {
2391
+ var Vn = {
2324
2392
  admin: !1,
2325
2393
  dept: { deptName: "" },
2326
2394
  needChangePwd: 0,
@@ -2328,20 +2396,20 @@ var Rn = {
2328
2396
  userId: "",
2329
2397
  userName: ""
2330
2398
  }, Q = mt("user", () => {
2331
- let e = I(ft(Rn)), t = I([]), n = I([]);
2399
+ let e = I(ft(Vn)), t = I([]), n = I([]);
2332
2400
  function r() {
2333
- e.value = ft(Rn), t.value = [], n.value = [];
2401
+ e.value = ft(Vn), t.value = [], n.value = [];
2334
2402
  }
2335
- let i = S(() => e.value.admin), a = I("");
2403
+ let i = x(() => e.value.admin), a = I("");
2336
2404
  async function o(r = !0) {
2337
- let i = await Ln();
2338
- 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 Vt().getRouters();
2405
+ let i = await Bn();
2406
+ 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 Ut().getRouters();
2339
2407
  }
2340
- V(() => e.value.needChangePwd, (e) => {
2408
+ H(() => e.value.needChangePwd, (e) => {
2341
2409
  e === 1 && VITE_FORCE_PWD_CHANGE && N(() => {
2342
2410
  let e = I(null);
2343
- W({
2344
- body: () => A(In, {
2411
+ G({
2412
+ body: () => A(zn, {
2345
2413
  labelAlign: "top",
2346
2414
  ref: e,
2347
2415
  showFooter: !1
@@ -2372,7 +2440,7 @@ var Rn = {
2372
2440
  roles: n,
2373
2441
  userInfo: e
2374
2442
  };
2375
- }, { persist: { pick: ["lastUserId"] } }), $ = /*#__PURE__*/ b(/* @__PURE__ */ O({
2443
+ }, { persist: { pick: ["lastUserId"] } }), $ = /*#__PURE__*/ b(/* @__PURE__ */ D({
2376
2444
  inheritAttrs: !1,
2377
2445
  name: "TButton",
2378
2446
  __name: "button",
@@ -2438,16 +2506,16 @@ var Rn = {
2438
2506
  return t;
2439
2507
  }
2440
2508
  let s = I(!1), c = i.isLoading, l = I(null), { focused: u } = lt(l), d, f;
2441
- V(c, (e) => {
2509
+ H(c, (e) => {
2442
2510
  e ? (clearTimeout(f), f = void 0, d = setTimeout(() => {
2443
2511
  s.value = u.value, clearTimeout(d), d = void 0;
2444
2512
  }, 150)) : d === void 0 ? f = setTimeout(() => {
2445
2513
  s.value = !1;
2446
2514
  }, 150) : (clearTimeout(d), d = void 0, s.value = !1);
2447
- }, { immediate: !0 }), V(u, (e) => {
2515
+ }, { immediate: !0 }), H(u, (e) => {
2448
2516
  e && c.value && (s.value = !0);
2449
2517
  });
2450
- let p = S(() => r.loading === void 0 ? r.autoLoading ? s.value : !1 : r.loading), m = S(() => {
2518
+ let p = x(() => r.loading === void 0 ? r.autoLoading ? s.value : !1 : r.loading), m = x(() => {
2451
2519
  let e = {
2452
2520
  ...r,
2453
2521
  ...o(),
@@ -2456,7 +2524,7 @@ var Rn = {
2456
2524
  return Object.keys(e).forEach((t) => {
2457
2525
  e[t] === void 0 && delete e[t];
2458
2526
  }), delete e.permission, delete e.popconfirm, delete e.autoIcon, delete e.autoLoading, delete e.autoTheme, delete e.icon, e;
2459
- }), h = k();
2527
+ }), h = O();
2460
2528
  function g(e) {
2461
2529
  let t = e ?? {};
2462
2530
  h.exposed = t, l.value = t.$el;
@@ -2464,7 +2532,7 @@ var Rn = {
2464
2532
  function _() {
2465
2533
  a.value = l.value?.textContent ?? "";
2466
2534
  }
2467
- let v = S(() => {
2535
+ let v = x(() => {
2468
2536
  if (!r.autoIcon || a.value.trim() === "") return;
2469
2537
  let e = {
2470
2538
  "mdi:plus": [
@@ -2529,10 +2597,10 @@ var Rn = {
2529
2597
  break;
2530
2598
  }
2531
2599
  if (t !== void 0) return t;
2532
- }), y = Ne(), ee = S(() => M(y, {
2600
+ }), y = Me(), ee = x(() => M(y, {
2533
2601
  ...m.value,
2534
2602
  ref: g
2535
- }, { class: "flex-shrink-0" })), b = S(() => {
2603
+ }, { class: "flex-shrink-0" })), b = x(() => {
2536
2604
  if (r.popconfirm) return {
2537
2605
  ...r.popconfirm,
2538
2606
  onVisibleChange: (...e) => {
@@ -2540,33 +2608,33 @@ var Rn = {
2540
2608
  }
2541
2609
  };
2542
2610
  });
2543
- return (r, i) => B(Q)().checkPermissions(n.permission) ? (F(), T(x, { key: 0 }, [b.value ? (F(), C(B(t), P(M({ key: 0 }, b.value)), {
2544
- default: H(() => [(F(), C(R(A(B(ze), ee.value)), {
2611
+ return (r, i) => V(Q)().checkPermissions(n.permission) ? (F(), w(ye, { key: 0 }, [b.value ? (F(), S(V(t), P(M({ key: 0 }, b.value)), {
2612
+ default: U(() => [(F(), S(z(A(V(Re), ee.value)), {
2545
2613
  onVnodeMounted: _,
2546
2614
  onVnodeUpdated: _
2547
- }, xe({ _: 2 }, [n.icon || v.value ? {
2615
+ }, Se({ _: 2 }, [n.icon || v.value ? {
2548
2616
  name: "icon",
2549
- fn: H(() => [D(B(e), { icon: n.icon || v.value }, null, 8, ["icon"])]),
2617
+ fn: U(() => [E(V(e), { icon: n.icon || v.value }, null, 8, ["icon"])]),
2550
2618
  key: "0"
2551
2619
  } : void 0, L(Object.keys(r.$slots), (e) => ({
2552
2620
  name: e,
2553
- fn: H((t) => [Ae(r.$slots, e, P(Ce(t)), void 0, !0)])
2621
+ fn: U((t) => [R(r.$slots, e, P(k(t)), void 0, !0)])
2554
2622
  }))]), 1536))]),
2555
2623
  _: 3
2556
- }, 16)) : (F(), C(R(A(B(ze), ee.value)), {
2624
+ }, 16)) : (F(), S(z(A(V(Re), ee.value)), {
2557
2625
  key: 1,
2558
2626
  onVnodeMounted: _,
2559
2627
  onVnodeUpdated: _
2560
- }, xe({ _: 2 }, [n.icon || v.value ? {
2628
+ }, Se({ _: 2 }, [n.icon || v.value ? {
2561
2629
  name: "icon",
2562
- fn: H(() => [D(B(e), { icon: n.icon || v.value }, null, 8, ["icon"])]),
2630
+ fn: U(() => [E(V(e), { icon: n.icon || v.value }, null, 8, ["icon"])]),
2563
2631
  key: "0"
2564
2632
  } : void 0, L(Object.keys(r.$slots), (e) => ({
2565
2633
  name: e,
2566
- fn: H((t) => [Ae(r.$slots, e, P(Ce(t)), void 0, !0)])
2567
- }))]), 1536))], 64)) : w("v-if", !0);
2634
+ fn: U((t) => [R(r.$slots, e, P(k(t)), void 0, !0)])
2635
+ }))]), 1536))], 64)) : C("v-if", !0);
2568
2636
  }
2569
- }), [["__scopeId", "data-v-af27d302"]]), zn = /* @__PURE__ */ O({
2637
+ }), [["__scopeId", "data-v-af27d302"]]), Hn = /* @__PURE__ */ D({
2570
2638
  name: "TProvider",
2571
2639
  __name: "Provider",
2572
2640
  setup(e) {
@@ -2588,14 +2656,14 @@ var Rn = {
2588
2656
  variant: "text"
2589
2657
  })
2590
2658
  } };
2591
- return (e, n) => (F(), C(B(at), {
2659
+ return (e, n) => (F(), S(V(at), {
2592
2660
  "empty-values": [""],
2593
- locale: B(Tt),
2661
+ locale: V(Tt),
2594
2662
  "value-on-clear": "",
2595
2663
  "z-index": 5500
2596
2664
  }, {
2597
- default: H(() => [D(B(Ve), { "global-config": t }, {
2598
- default: H(() => [Ae(e.$slots, "default")]),
2665
+ default: U(() => [E(V(Be), { "global-config": t }, {
2666
+ default: U(() => [R(e.$slots, "default")]),
2599
2667
  _: 3
2600
2668
  })]),
2601
2669
  _: 3
@@ -2603,4 +2671,4 @@ var Rn = {
2603
2671
  }
2604
2672
  });
2605
2673
  //#endregion
2606
- export { nn as A, G as B, fn as C, J as D, cn as E, Wt as F, jt as H, Ut as I, Nt as L, Yt as M, Xt as N, sn as O, Zt as P, Vt as R, Y as S, ln as T, Dt as U, W as V, Et as W, Sn as _, In as a, bn as b, jn as c, On as d, Dn as f, Cn as g, wn as h, Q as i, en as j, rn as k, An as l, Tn as m, $ as n, Fn as o, En as p, Ln as r, Pn as s, zn as t, kn as u, vn as v, pn as w, xn as x, yn as y, K as z };
2674
+ export { an as A, K as B, mn as C, Y as D, un as E, Kt as F, Dt as G, Nt as H, Gt as I, Et as K, Ft as L, Zt as M, Qt as N, ln as O, $t as P, Ut as R, X as S, dn as T, kt as U, G as V, Ot 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, nn as j, on 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, q as z };