@utogether/udp-core 1.0.1-beta.16 → 1.0.1-beta.17

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 (122) hide show
  1. package/build/plugins.ts +39 -39
  2. package/dist/{403-RBzulrcG.js → 403-C3cfjZIT.js} +1 -1
  3. package/dist/{404-DX-dU_6C.js → 404-Bg3j7QIo.js} +1 -1
  4. package/dist/{500-BCTk0__d.js → 500-CMT7Zyy7.js} +1 -1
  5. package/dist/{AuthorityInfo-BADTOenq.js → AuthorityInfo-B1mvqs4x.js} +1 -1
  6. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DwoW7QWO.js} +1 -1
  7. package/dist/{Company-B-61KrWd.js → Company-qTguidK8.js} +3 -3
  8. package/dist/{CompanyPanel-CawSrEff.js → CompanyPanel-BBC-o-k3.js} +8 -8
  9. package/dist/{Department-CrzJPtvP.js → Department-C3mKZOnK.js} +3 -3
  10. package/dist/{DepartmentPanel-DYuL8H-j.js → DepartmentPanel-CNdpOHBT.js} +3 -3
  11. package/dist/{DesignPanel-DEAv6V68.js → DesignPanel-D9jrRCoG.js} +1 -1
  12. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js → DesignPanel.vue_vue_type_style_index_0_lang-A-Aj1Hl0.js} +2 -2
  13. package/dist/{DictView-BuO-2b-c.js → DictView-CgdVkSiP.js} +1 -1
  14. package/dist/{InvOrganization-CBgKBJAn.js → InvOrganization-RE7s3vBq.js} +1 -1
  15. package/dist/{Org-BaQw2r-o.js → Org-wXDGvTrS.js} +1 -1
  16. package/dist/{Preview-DvCrmKNk.js → Preview-Pvt1__BV.js} +1 -1
  17. package/dist/{ReportDefine-DyhWz0as.js → ReportDefine-xEQsgFyv.js} +1 -1
  18. package/dist/{ReportDesign-DgZ2f2zv.js → ReportDesign-jOSuEFH9.js} +2 -2
  19. package/dist/{ReportQuery-DTZYbCDi.js → ReportQuery-DxEmmGiN.js} +1 -1
  20. package/dist/{ReportQueryFrom-B-vtJegP.js → ReportQueryFrom-CFlxfS5M.js} +1 -1
  21. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-iHpiYz8f.js} +1 -1
  22. package/dist/{ReportTemplate-DA1ZqKGf.js → ReportTemplate-Dtz3aet7.js} +1 -1
  23. package/dist/{Role-mbqoav5t.js → Role-B_NsHIyE.js} +3 -3
  24. package/dist/{RoleAssign-ltEJIEcr.js → RoleAssign-C9wm4zq4.js} +8 -8
  25. package/dist/{RolePanel-u90v9eS0.js → RolePanel-BlHidBR0.js} +1 -1
  26. package/dist/{RolePanel-1g1a-G8D.js → RolePanel-DWM9mfNs.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js → RolePanel.vue_vue_type_script_setup_true_lang-Cn4RRzXm.js} +1 -1
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js → RolePanel.vue_vue_type_script_setup_true_lang-DVQ9aqb1.js} +3 -3
  29. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCm-_i8O.js} +1 -1
  30. package/dist/{Staff-CJ2GgCL3.js → Staff-BfDc61QS.js} +3 -3
  31. package/dist/{StaffInfo-3KkodDCK.js → StaffInfo-BaJFo4mg.js} +1 -1
  32. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js → StaffInfo.vue_vue_type_script_setup_true_lang-Bwj4x1wu.js} +1 -1
  33. package/dist/{StaffPanel-DoXPSoY5.js → StaffPanel-B6I2ZS6A.js} +1 -1
  34. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js → StaffPanel.vue_vue_type_script_setup_true_lang-vbyS4w3V.js} +2 -2
  35. package/dist/{SysUser-BuIZhMPh.js → SysUser-B_r9LYc5.js} +2 -2
  36. package/dist/{SysUserPanel-t1GJcJGM.js → SysUserPanel-C4ajcHPV.js} +1 -1
  37. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js → SysUserPanel.vue_vue_type_script_setup_true_lang-8Q0VvC9B.js} +43 -39
  38. package/dist/{SystemMenu-DuLEL6_l.js → SystemMenu-CyPG23uP.js} +2 -2
  39. package/dist/{UserInfo-WWby4lts.js → UserInfo-BkoGt4ib.js} +1 -1
  40. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js → UserInfo.vue_vue_type_style_index_0_lang-DrzF1YYG.js} +1 -1
  41. package/dist/{childView-B0-EAoAi.js → childView-9vEO8ymO.js} +1 -1
  42. package/dist/{childView-IYY4L8VK.js → childView-Dh0NyiQe.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js → childView.vue_vue_type_style_index_0_lang-BOeoZuAK.js} +2 -2
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-B56v6yK7.js → childView.vue_vue_type_style_index_0_lang-CMOjfXBX.js} +1 -1
  45. package/dist/{code-rule-DDLdi3pP.js → code-rule-C7jI_1gJ.js} +1 -1
  46. package/dist/core.es.js +1 -1
  47. package/dist/{cron-task-p3-AFN1w.js → cron-task-Dg9DJXvv.js} +1 -1
  48. package/dist/{frameView-B_WAZErD.js → frameView-CeR-_hjB.js} +1 -1
  49. package/dist/{index-24fnvUBy.js → index-Bb7gIEvu.js} +611 -569
  50. package/dist/{layoutView-CoEp2afn.js → layoutView-wsLHrEeX.js} +1340 -1337
  51. package/dist/{login-DP0oP70W.js → login-CluzzdqH.js} +2 -2
  52. package/dist/{lov-view-BDoZRK-v.js → lov-view-BvQCvwbW.js} +2 -2
  53. package/dist/{menuInfo-5Xls76qB.js → menuInfo-B8RLelIC.js} +1 -1
  54. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js → menuInfo.vue_vue_type_style_index_0_lang-DvkapEZr.js} +1 -1
  55. package/dist/{pda-app-DxGYn4G7.js → pda-app-D3LNmD9a.js} +2 -2
  56. package/dist/{resource-BnYWe_-Q.js → resource-D8JA_03-.js} +1 -1
  57. package/dist/{su-welcome-B2rNhhDH.js → su-welcome-BjxeEKSo.js} +1 -1
  58. package/dist/{sys-config-Bb4WkxZK.js → sys-config-sbeLk9bP.js} +1 -1
  59. package/dist/udp-core.css +1 -9
  60. package/index.ts +48 -48
  61. package/package.json +1 -1
  62. package/src/App.vue +65 -65
  63. package/src/components/SuCharts/src/UserInfo.vue +78 -78
  64. package/src/components/SuScrollTree/ScrollPanel.vue +170 -175
  65. package/src/components/udp/{grid.vue → grid/index.vue} +27 -24
  66. package/src/components/udp/index.ts +2 -9
  67. package/src/components/udp/utils.ts +60 -107
  68. package/src/layout/components/lay-navbar/index.vue +239 -239
  69. package/src/layout/components/lay-panel/index.vue +150 -150
  70. package/src/layout/components/lay-search/index.vue +25 -25
  71. package/src/layout/components/lay-select-org/index.vue +64 -64
  72. package/src/layout/components/lay-sidebar/horizontal.vue +190 -190
  73. package/src/layout/components/lay-sidebar/mixNav.vue +260 -260
  74. package/src/layout/components/lay-sidebar/sidebar-logo.vue +92 -92
  75. package/src/layout/components/lay-tag/index.vue +20 -48
  76. package/src/layout/hooks/useNav.ts +173 -173
  77. package/src/layout/hooks/useTag.ts +5 -3
  78. package/src/layout/types.ts +3 -2
  79. package/src/main.ts +9 -6
  80. package/src/plugins/i18n/en.ts +302 -302
  81. package/src/plugins/i18n/zh.ts +356 -354
  82. package/src/plugins/vxe-table/index.ts +116 -53
  83. package/src/plugins/vxe-table/render.tsx +956 -956
  84. package/src/router/index.ts +186 -177
  85. package/src/router/modules/remaining.ts +58 -58
  86. package/src/router/utils.ts +393 -377
  87. package/src/store/modules/app.ts +1 -3
  88. package/src/store/modules/multiTags.ts +110 -109
  89. package/src/store/modules/permission.ts +113 -100
  90. package/src/style/button.scss +85 -85
  91. package/src/style/login.css +336 -336
  92. package/src/style/vxetable.scss +13 -3
  93. package/src/views/organization/company/CompanyPanel.vue +259 -259
  94. package/src/views/organization/department/DepartmentPanel.vue +269 -283
  95. package/src/views/system/menu/SystemMenu.vue +183 -183
  96. package/src/views/system/menu/menuInfo.vue +363 -363
  97. package/src/views/system/role/UserInfo.vue +195 -195
  98. package/src/views/system/role-assign/RoleAssign.vue +57 -57
  99. package/src/views/system/role-assign/RolePanel.vue +139 -139
  100. package/src/views/system/sys/sys-config.vue +336 -336
  101. package/src/views/system/sysUser/SysUserPanel.vue +279 -278
  102. package/src/views/uapp/pda/pda-app.vue +208 -208
  103. package/src/views/udev/dict/DictView.vue +118 -118
  104. package/src/views/udev/dict/childView.vue +1 -1
  105. package/src/views/udev/lov/lov-view.vue +91 -91
  106. package/src/views/ulogin/login.vue +323 -323
  107. package/src/views/upms/interface/log-out.vue +101 -101
  108. package/src/views/urpt/design/DesignPanel.vue +507 -507
  109. package/types/global.d.ts +230 -230
  110. package/src/components/udp/count-down.vue +0 -536
  111. package/src/components/udp/flip-down/FlipCard/flip-card.vue +0 -251
  112. package/src/components/udp/flip-down/FlipCard/interfaces.ts +0 -4
  113. package/src/components/udp/flip-down/FlipClock/flip-clock.vue +0 -113
  114. package/src/components/udp/form-upload.vue +0 -482
  115. package/src/components/udp/form.vue +0 -112
  116. package/src/components/udp/lov.vue +0 -388
  117. package/src/components/udp/modal-form.vue +0 -190
  118. package/src/components/udp/modal-grid.vue +0 -298
  119. package/src/components/udp/upload.vue +0 -423
  120. package/src/utils/udp/http/index.ts +0 -294
  121. package/src/utils/udp/http/types.d.ts +0 -49
  122. package/src/utils/udp/useRender.ts +0 -431
@@ -1,18 +1,17 @@
1
- import * as Me from "vue";
2
- import { defineComponent as L, resolveComponent as ee, createBlock as ot, openBlock as nt, withCtx as at, createVNode as Be, toRaw as pe, isProxy as he, defineAsyncComponent as rt, h as P, createApp as st, computed as fe, ref as Y } from "vue";
3
- import { ElConfigProvider as ge } from "element-plus";
4
- import { checkVersion as it } from "version-rocket";
5
- import { useI18n as je, createI18n as lt } from "vue-i18n";
6
- import { http as x, storageLocal as p, cookies as M, buildHierarchyTree as re, dbstorage as Q, isUrl as ze, openLink as ut, NProgress as ct, VxetableRender as dt, useGlobal as Ue, deviceDetection as mt, storageSession as pt } from "@utogether/utils";
7
- import { merge as se, clone as B, debounce as ht, findLastIndexOf as ft, isBoolean as gt, isEqual as ye, findIndexOf as yt, isEmpty as wt, isArray as bt } from "xe-utils";
8
- import { createPinia as Ct, defineStore as z } from "pinia";
9
- import { useTimeoutFn as vt } from "@vueuse/core";
10
- import _e, { VxeUI as ie } from "vxe-table";
11
- import Tt from "v-viewer";
12
- import { Icon as we } from "@iconify/vue";
1
+ import * as je from "vue";
2
+ import { defineComponent as B, resolveComponent as ne, createBlock as at, openBlock as rt, withCtx as st, createVNode as Ue, toRaw as fe, isProxy as ge, defineAsyncComponent as it, h as O, createApp as lt, computed as ye, ref as X } from "vue";
3
+ import { ElConfigProvider as we } from "element-plus";
4
+ import { checkVersion as ut } from "version-rocket";
5
+ import { useI18n as ze, createI18n as ct } from "vue-i18n";
6
+ import { http as P, storageLocal as h, cookies as U, buildHierarchyTree as le, dbstorage as ee, isUrl as _e, openLink as dt, NProgress as mt, VxetableRender as pt, useGlobal as qe, deviceDetection as ht, storageSession as ft } from "@utogether/utils";
7
+ import { merge as ue, clone as z, findLastIndexOf as gt, isBoolean as yt, isEqual as be, findIndexOf as wt, isEmpty as bt, toDateString as v, getWhatDay as R, isArray as Ct } from "xe-utils";
8
+ import { createPinia as vt, defineStore as q } from "pinia";
9
+ import { useTimeoutFn as Tt } from "@vueuse/core";
10
+ import Ve, { VxeUI as k } from "vxe-table";
11
+ import { Icon as Ce } from "@iconify/vue";
13
12
  import Et from "vue-tippy";
14
13
  import St from "element-resize-detector";
15
- var kt = {
14
+ var Dt = {
16
15
  name: "en",
17
16
  el: {
18
17
  breadcrumb: {
@@ -190,7 +189,7 @@ var kt = {
190
189
  indicator: "Carousel switch to index {index}"
191
190
  }
192
191
  }
193
- }, Ft = {
192
+ }, kt = {
194
193
  name: "zh-cn",
195
194
  el: {
196
195
  breadcrumb: {
@@ -368,40 +367,40 @@ var kt = {
368
367
  }
369
368
  }
370
369
  };
371
- const Dt = "menu_zh", xt = "menu_en", It = "authorized-token", Nt = "kCookies_token", Pt = "kSysConfig", qe = "loginer";
372
- let te = {}, He = {};
373
- const Ot = (e, t) => {
374
- te = Object.assign(te, t), e.config.globalProperties.$config = k();
375
- }, k = () => te, Rt = (e = {}) => {
376
- He = e;
377
- }, be = () => He, w = () => k().ResponsiveStorageNameSpace, K = () => ({
378
- post: (e, t, o) => x.post(`${I()}${e}`, t, o),
379
- get: (e, t, o) => x.get(`${I()}${e}`, t, o),
380
- put: (e, t) => x.put(`${I()}${e}`, t),
381
- delete: (e, t) => x.delete(`${I()}${e}`, t)
382
- }), Lt = (e) => {
383
- x.setRouter(e);
384
- }, At = (e) => {
385
- x.setBaseUrl(e);
386
- }, Mt = window.location.origin + "/gateway", I = () => be().VITE_BASE_URL === "origin" ? Mt : be().VITE_BASE_URL, Bt = L({
370
+ const Ft = "menu_zh", xt = "menu_en", It = "authorized-token", Pt = "kCookies_token", Nt = "kSysConfig", He = "loginer";
371
+ let ae = {}, $e = {};
372
+ const Mt = (e, t) => {
373
+ ae = Object.assign(ae, t), e.config.globalProperties.$config = F();
374
+ }, F = () => ae, Ot = (e = {}) => {
375
+ $e = e;
376
+ }, ve = () => $e, b = () => F().ResponsiveStorageNameSpace, Q = () => ({
377
+ post: (e, t, o) => P.post(`${N()}${e}`, t, o),
378
+ get: (e, t, o) => P.get(`${N()}${e}`, t, o),
379
+ put: (e, t) => P.put(`${N()}${e}`, t),
380
+ delete: (e, t) => P.delete(`${N()}${e}`, t)
381
+ }), Rt = (e) => {
382
+ P.setRouter(e);
383
+ }, Lt = (e) => {
384
+ P.setBaseUrl(e);
385
+ }, At = window.location.origin + "/gateway", N = () => ve().VITE_BASE_URL === "origin" ? At : ve().VITE_BASE_URL, Bt = B({
387
386
  name: "app",
388
387
  components: {
389
- [ge.name]: ge
388
+ [we.name]: we
390
389
  },
391
390
  beforeRouteEnter(e, t, o) {
392
- K().get("/upfm/v1/sysConfig", {}).then((n) => {
391
+ Q().get("/upfm/v1/sysConfig", {}).then((n) => {
393
392
  o();
394
393
  });
395
394
  },
396
395
  computed: {
397
396
  currentLocale() {
398
397
  var e, t;
399
- return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? Ft : kt;
398
+ return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? kt : Dt;
400
399
  }
401
400
  },
402
401
  beforeCreate() {
403
- const { t: e } = je(), n = (p.getItem(Pt) || { title: "U-DP" }).title;
404
- it(
402
+ const { t: e } = ze(), n = (h.getItem(Nt) || { title: "U-DP" }).title;
403
+ ut(
405
404
  {
406
405
  pollingTime: 3e5,
407
406
  checkOriginSpecifiedFilesUrl: [`${location.origin}/index.html`],
@@ -421,38 +420,39 @@ const Ot = (e, t) => {
421
420
  o[n] = a;
422
421
  return o;
423
422
  };
424
- function zt(e, t, o, n, a, r) {
425
- const l = ee("router-view"), c = ee("el-config-provider");
426
- return nt(), ot(c, {
423
+ function Ut(e, t, o, n, a, r) {
424
+ const i = ne("router-view"), u = ne("el-config-provider");
425
+ return rt(), at(u, {
427
426
  size: "small",
428
427
  "z-index": 5555,
429
428
  locale: e.currentLocale
430
429
  }, {
431
- default: at(() => [
432
- Be(l)
430
+ default: st(() => [
431
+ Ue(i)
433
432
  ]),
434
433
  _: 1
435
434
  }, 8, ["locale"]);
436
435
  }
437
- const Ut = /* @__PURE__ */ jt(Bt, [["render", zt]]), A = Ct();
436
+ const zt = /* @__PURE__ */ jt(Bt, [["render", Ut]]), j = vt();
438
437
  function _t(e) {
439
- e.use(A);
438
+ e.use(j);
440
439
  }
441
- const U = [
440
+ const V = [
442
441
  {
443
442
  path: "/welcome",
443
+ name: "Welcome",
444
444
  meta: {
445
445
  title: "message.udp.home",
446
446
  icon: "home-filled"
447
447
  }
448
448
  }
449
- ], qn = (e) => {
449
+ ], Hn = (e) => {
450
450
  const t = e.indexOf("windows nt 5.1") > -1 || e.indexOf("windows xp") > -1;
451
451
  if (e.indexOf("windows xp") > -1, t) return "WinXP";
452
452
  if (e.indexOf("windows nt 6.1") > -1 || e.indexOf("windows 7") > -1) return "Win7";
453
453
  if (e.indexOf("windows nt6.2") > -1 || e.indexOf("windows 8") > -1) return "Win8";
454
454
  if (e.indexOf("windows nt 10.0") > -1 || e.indexOf("windows 10") > -1) return "Win10";
455
- }, Hn = (e) => {
455
+ }, $n = (e) => {
456
456
  let t = null;
457
457
  const o = {
458
458
  Chrome: e.indexOf("chrome") > -1 && e.indexOf("safari") > -1,
@@ -481,31 +481,31 @@ const U = [
481
481
  },
482
482
  onBeforeLogout: () => {
483
483
  }
484
- }, $n = () => {
484
+ }, Wn = () => {
485
485
  qt.onLogined();
486
- }, Ht = (e, t) => {
486
+ }, Vt = (e, t) => {
487
487
  const o = [];
488
488
  for (const n of e)
489
489
  n[t] && o.push(n[t]);
490
490
  return Array.from(new Set(o));
491
- }, $e = (e) => {
491
+ }, We = (e) => {
492
492
  const t = e.replace("#", "").match(/../g);
493
493
  for (let o = 0; o < 3; o++) t[o] = parseInt(t[o], 16);
494
494
  return t;
495
- }, Ve = (e, t, o) => {
495
+ }, Ge = (e, t, o) => {
496
496
  const n = [e.toString(16), t.toString(16), o.toString(16)];
497
497
  for (let a = 0; a < 3; a++)
498
498
  n[a].length == 1 && (n[a] = `0${n[a]}`);
499
499
  return `#${n.join("")}`;
500
- }, $t = (e, t) => {
501
- const o = $e(e);
500
+ }, Ht = (e, t) => {
501
+ const o = We(e);
502
502
  for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
503
- return Ve(o[0], o[1], o[2]);
504
- }, Vt = (e, t) => {
505
- const o = $e(e);
503
+ return Ge(o[0], o[1], o[2]);
504
+ }, $t = (e, t) => {
505
+ const o = We(e);
506
506
  for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
507
- return Ve(o[0], o[1], o[2]);
508
- }, Ce = {
507
+ return Ge(o[0], o[1], o[2]);
508
+ }, Te = {
509
509
  zh: {
510
510
  message: {
511
511
  reportCode: "报表编号",
@@ -556,8 +556,8 @@ const U = [
556
556
  }
557
557
  }
558
558
  }, Wt = {
559
- zh: { ...Ce.zh.message },
560
- en: { ...Ce.en.message }
559
+ zh: { ...Te.zh.message },
560
+ en: { ...Te.en.message }
561
561
  }, Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
562
562
  __proto__: null,
563
563
  default: Wt
@@ -611,12 +611,12 @@ const U = [
611
611
  flowDesign: "Flow Design"
612
612
  }
613
613
  }
614
- }, ve = [Kt, Jt], Yt = {
614
+ }, Ee = [Kt, Jt], Yt = {
615
615
  zh: {
616
- ...Object.assign({}, ...ve.map((e) => e.zh.message))
616
+ ...Object.assign({}, ...Ee.map((e) => e.zh.message))
617
617
  },
618
618
  en: {
619
- ...Object.assign({}, ...ve.map((e) => e.en.message))
619
+ ...Object.assign({}, ...Ee.map((e) => e.en.message))
620
620
  }
621
621
  }, Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
622
622
  __proto__: null,
@@ -810,7 +810,8 @@ const U = [
810
810
  upload: "上传",
811
811
  goback: "返回",
812
812
  disabled: "禁用",
813
- enable: "启用"
813
+ enable: "启用",
814
+ bankinfo: "银行账号"
814
815
  },
815
816
  urpt: {
816
817
  templateName: "模版名称",
@@ -1261,41 +1262,41 @@ const U = [
1261
1262
  dictDispose: "dictDispose",
1262
1263
  isSearch: "isSearch",
1263
1264
  isCol: "isCol"
1264
- }, Te = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": Gt, "./module/u-workflow.ts": Qt, "./module/umsg.ts": Xt }), q = {};
1265
- for (const e in Te)
1266
- q[e.replace(/(\.\/module\/|\.ts)/g, "")] = Te[e].default;
1267
- const Ee = Object.keys(q).filter((e) => q[e]).map((e) => q[e]), oo = {
1265
+ }, Se = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": Gt, "./module/u-workflow.ts": Qt, "./module/umsg.ts": Xt }), $ = {};
1266
+ for (const e in Se)
1267
+ $[e.replace(/(\.\/module\/|\.ts)/g, "")] = Se[e].default;
1268
+ const De = Object.keys($).filter((e) => $[e]).map((e) => $[e]), oo = {
1268
1269
  zh: {
1269
- ...p.getItem(Dt),
1270
- message: se(eo, ...Ee.map((e) => e.zh.message))
1270
+ ...h.getItem(Ft),
1271
+ message: ue(eo, ...De.map((e) => e.zh.message))
1271
1272
  },
1272
1273
  en: {
1273
- ...p.getItem(xt),
1274
- message: Object.assign(to, ...Ee.map((e) => e.en.message))
1274
+ ...h.getItem(xt),
1275
+ message: Object.assign(to, ...De.map((e) => e.en.message))
1275
1276
  }
1276
1277
  };
1277
- let R = null;
1278
+ let A = null;
1278
1279
  function no(e, t = { messages: {} }) {
1279
1280
  var o;
1280
- R = lt({
1281
+ A = ct({
1281
1282
  legacy: !1,
1282
- locale: ((o = p.getItem(`${w()}locale`)) == null ? void 0 : o.locale) ?? "zh",
1283
+ locale: ((o = h.getItem(`${b()}locale`)) == null ? void 0 : o.locale) ?? "zh",
1283
1284
  fallbackLocale: "en",
1284
1285
  globalInjection: !0,
1285
- messages: se(oo, t.messages)
1286
- }), ie.setLanguage("zh-CN"), e.use(R);
1286
+ messages: ue(oo, t.messages)
1287
+ }), k.setLanguage("zh-CN"), e.use(A);
1287
1288
  }
1288
- const H = () => R;
1289
- function We(e = "", t = !0) {
1289
+ const W = () => A;
1290
+ function Ke(e = "", t = !0) {
1290
1291
  if (!e)
1291
1292
  return "";
1292
1293
  if (typeof e == "object") {
1293
- const o = R.global.locale;
1294
+ const o = A.global.locale;
1294
1295
  return e[o.value];
1295
1296
  }
1296
- return t ? R.global.t.call(R.global, e) : e;
1297
+ return t ? A.global.t.call(A.global, e) : e;
1297
1298
  }
1298
- const ao = z("udp-system", {
1299
+ const ao = q("udp-system", {
1299
1300
  state: () => ({
1300
1301
  baseURL: "",
1301
1302
  userInfo: {},
@@ -1407,7 +1408,7 @@ const ao = z("udp-system", {
1407
1408
  setDict(e) {
1408
1409
  this.dicts = e, e == null || e.forEach((t) => {
1409
1410
  this.dataDict[t.dictCode] = t;
1410
- }), p.setItem("kLov", this.dataDict);
1411
+ }), h.setItem("kLov", this.dataDict);
1411
1412
  },
1412
1413
  // 系统信息
1413
1414
  setSystemInfo(e) {
@@ -1419,26 +1420,26 @@ const ao = z("udp-system", {
1419
1420
  orgId: e.orgId,
1420
1421
  organizationId: e.organizationId
1421
1422
  };
1422
- M.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some((a) => a.roleCode === "admin" || ["管理员"].includes(a.roleName)), C().setAuthButton(e.dataMenus);
1423
+ U.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some((a) => a.roleCode === "admin" || ["管理员"].includes(a.roleName)), T().setAuthButton(e.dataMenus);
1423
1424
  }
1424
1425
  }
1425
1426
  });
1426
- function $() {
1427
- return ao(A);
1427
+ function G() {
1428
+ return ao(j);
1428
1429
  }
1429
1430
  function ro(e, t) {
1430
- return /* @__PURE__ */ L({
1431
+ return /* @__PURE__ */ B({
1431
1432
  name: e,
1432
1433
  components: {
1433
1434
  asyncComponent: t
1434
1435
  },
1435
1436
  setup() {
1436
- return () => Be(ee("async-component"), null, null);
1437
+ return () => Ue(ne("async-component"), null, null);
1437
1438
  }
1438
1439
  });
1439
1440
  }
1440
- const so = () => x.get(`${I()}/uums/roleMenu`), io = () => x.get(`${I()}/upfm/v1/lov/selectAll`), Se = (e) => x.get(`${I()}/uums/roleMenu/userMenu`, e), lo = () => import("./layoutView-CoEp2afn.js"), uo = () => import("./frameView-B_WAZErD.js");
1441
- function _(e) {
1441
+ const so = () => P.get(`${N()}/uums/roleMenu`), io = () => P.get(`${N()}/upfm/v1/lov/selectAll`), ke = (e) => P.get(`${N()}/uums/roleMenu/userMenu`, e), lo = () => import("./layoutView-wsLHrEeX.js"), uo = () => import("./frameView-CeR-_hjB.js");
1442
+ function H(e) {
1442
1443
  return e.forEach((t) => {
1443
1444
  var o, n;
1444
1445
  ((o = t == null ? void 0 : t.meta) == null ? void 0 : o.rank) === null && (t.meta.rank = void 0), ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) === 0 && t.name !== "home" && t.path !== "/" && console.warn("rank only the home page can be 0");
@@ -1447,40 +1448,38 @@ function _(e) {
1447
1448
  return ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) - ((a = o == null ? void 0 : o.meta) == null ? void 0 : a.rank);
1448
1449
  });
1449
1450
  }
1450
- function Ge(e) {
1451
- const t = B(e, !0).filter(
1452
- (o) => {
1453
- var n;
1454
- return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
1455
- }
1456
- );
1457
- return t.forEach((o) => o.children && (o.children = Ge(o.children))), t;
1451
+ function Je(e) {
1452
+ const t = z(e, !0).filter((o) => {
1453
+ var n;
1454
+ return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
1455
+ });
1456
+ return t.forEach((o) => o.children && (o.children = Je(o.children))), t;
1458
1457
  }
1459
- function Vn(e, t, o = "path") {
1460
- function n(a, r, l) {
1461
- for (let c = 0; c < a.length; c++) {
1462
- const d = a[c];
1463
- if (d[o] === r) return l;
1458
+ function Gn(e, t, o = "path") {
1459
+ function n(a, r, i) {
1460
+ for (let u = 0; u < a.length; u++) {
1461
+ const d = a[u];
1462
+ if (d[o] === r) return i;
1464
1463
  if (!(!d.children || !d.children.length)) {
1465
- if (l.push(d.path), n(d.children, r, l).length) return l;
1466
- l.pop();
1464
+ if (i.push(d.path), n(d.children, r, i).length) return i;
1465
+ i.pop();
1467
1466
  }
1468
1467
  }
1469
1468
  return [];
1470
1469
  }
1471
1470
  return n(t, e, []);
1472
1471
  }
1473
- function Ke(e, t) {
1472
+ function Ye(e, t) {
1474
1473
  let o = t.find((n) => n.path == e);
1475
1474
  if (o)
1476
- return he(o) ? pe(o) : o;
1475
+ return ge(o) ? fe(o) : o;
1477
1476
  for (let n = 0; n < t.length; n++)
1478
- if (t[n].children instanceof Array && t[n].children.length > 0 && (o = Ke(e, t[n].children), o))
1479
- return he(o) ? pe(o) : o;
1477
+ if (t[n].children instanceof Array && t[n].children.length > 0 && (o = Ye(e, t[n].children), o))
1478
+ return ge(o) ? fe(o) : o;
1480
1479
  return null;
1481
1480
  }
1482
1481
  function co() {
1483
- f.hasRoute("pathMatch") || f.addRoute({
1482
+ g.hasRoute("pathMatch") || g.addRoute({
1484
1483
  path: "/:pathMatch(.*)",
1485
1484
  name: "pathMatch",
1486
1485
  redirect: "/error/404"
@@ -1488,27 +1487,27 @@ function co() {
1488
1487
  }
1489
1488
  function mo() {
1490
1489
  var t, o;
1491
- const e = H();
1492
- (t = e.global) == null || t.mergeLocaleMessage("zh", O.zh), (o = e.global) == null || o.mergeLocaleMessage("en", O.en), p.setItem("menu_zh", O.zh), p.setItem("menu_en", O.en);
1490
+ const e = W();
1491
+ (t = e.global) == null || t.mergeLocaleMessage("zh", L.zh), (o = e.global) == null || o.mergeLocaleMessage("en", L.en), h.setItem("menu_zh", L.zh), h.setItem("menu_en", L.en);
1493
1492
  }
1494
- function ke(e) {
1493
+ function Fe(e) {
1495
1494
  if (e != null && e.length) {
1496
1495
  const t = e.findIndex((n) => n.menuCode === "SysHome");
1497
1496
  if (t !== -1) {
1498
1497
  const n = [], a = [];
1499
1498
  e[t].children.forEach((r) => {
1500
1499
  r.menuCategory !== "1" ? n.push(r) : a.push(r);
1501
- }), e[t].children = a, $().setHomeMenus(n);
1500
+ }), e[t].children = a, G().setHomeMenus(n);
1502
1501
  }
1503
- const o = B(Ye(e), !0);
1504
- mo(), J(o).map((n) => {
1505
- const { options: a } = f;
1506
- a.routes[0].children.findIndex((r) => r.path === n.path) === -1 && (f.options.routes[0].children.push(n), _(f.options.routes[0].children), f.hasRoute(n == null ? void 0 : n.name) || f.addRoute(n));
1502
+ const o = z(Ze(e), !0);
1503
+ mo(), Z(o).map((n) => {
1504
+ const { options: a } = g;
1505
+ a.routes[0].children.findIndex((r) => r.path === n.path) === -1 && (g.options.routes[0].children.push(n), H(g.options.routes[0].children), g.hasRoute(n == null ? void 0 : n.name) || g.addRoute(n));
1507
1506
  });
1508
1507
  }
1509
- C().changeSetting(e), F().getMultiTagsCache || F().handleTags("equal", [
1510
- ...U,
1511
- ...C().flatteningRoutes.filter((t) => {
1508
+ T().changeSetting(e), x().getMultiTagsCache || x().handleTags("equal", [
1509
+ ...V,
1510
+ ...T().flatteningRoutes.filter((t) => {
1512
1511
  var o;
1513
1512
  return (o = t == null ? void 0 : t.meta) == null ? void 0 : o.fixedTag;
1514
1513
  })
@@ -1517,26 +1516,26 @@ function ke(e) {
1517
1516
  async function po(e) {
1518
1517
  let t = [];
1519
1518
  const o = `U-${e}-ROUTES`;
1520
- return k().CachingAsyncRoutes && await Q.getItem(o).then((n) => t = n), io().then((n) => $().setDict(n)), await so().then(async (n) => {
1521
- $().setSystemInfo(n), await K().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => $().setInvOrgList((a == null ? void 0 : a.list) || []));
1519
+ return F().CachingAsyncRoutes && await ee.getItem(o).then((n) => t = n), io().then((n) => G().setDict(n)), await so().then(async (n) => {
1520
+ G().setSystemInfo(n), await Q().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => G().setInvOrgList((a == null ? void 0 : a.list) || []));
1522
1521
  }), t != null && t.length ? new Promise((n) => {
1523
- ke(t), Se({ userName: e }).then((a) => {
1524
- Q.setItem(o, a);
1525
- }), n(f);
1522
+ Fe(t), ke({ userName: e }).then((a) => {
1523
+ ee.setItem(o, a);
1524
+ }), n(g);
1526
1525
  }) : new Promise((n) => {
1527
- Se({ userName: e }).then((a) => {
1528
- ke(B(a, !0)), Q.setItem(o, a), n(f);
1526
+ ke({ userName: e }).then((a) => {
1527
+ Fe(z(a, !0)), ee.setItem(o, a), n(g);
1529
1528
  });
1530
1529
  });
1531
1530
  }
1532
- function J(e) {
1531
+ function Z(e) {
1533
1532
  if (e.length === 0) return e;
1534
- let t = re(e);
1533
+ let t = le(e);
1535
1534
  for (let o = 0; o < t.length; o++)
1536
1535
  t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
1537
1536
  return t;
1538
1537
  }
1539
- function Je(e) {
1538
+ function Qe(e) {
1540
1539
  if (e.length === 0) return e;
1541
1540
  const t = [];
1542
1541
  return e.forEach((o) => {
@@ -1553,70 +1552,70 @@ function Je(e) {
1553
1552
  function ho({ name: e }, t) {
1554
1553
  switch (t) {
1555
1554
  case "add":
1556
- C().cacheOperate({ mode: "add", name: e });
1555
+ T().cacheOperate({ mode: "add", name: e });
1557
1556
  break;
1558
1557
  case "delete":
1559
- C().cacheOperate({ mode: "delete", name: e });
1558
+ T().cacheOperate({ mode: "delete", name: e });
1560
1559
  break;
1561
1560
  case "refresh":
1562
- C().cacheOperate({ mode: "refresh", name: e });
1561
+ T().cacheOperate({ mode: "refresh", name: e });
1563
1562
  break;
1564
1563
  default:
1565
- C().cacheOperate({ mode: "delete", name: e }), vt(() => {
1566
- C().cacheOperate({ mode: "add", name: e });
1564
+ T().cacheOperate({ mode: "delete", name: e }), Tt(() => {
1565
+ T().cacheOperate({ mode: "add", name: e });
1567
1566
  }, 100);
1568
1567
  }
1569
1568
  }
1570
- const O = {
1569
+ const L = {
1571
1570
  zh: {},
1572
1571
  en: {}
1573
- }, Ye = (e) => {
1572
+ }, Ze = (e) => {
1574
1573
  var n;
1575
- const t = ko();
1574
+ const t = Fo();
1576
1575
  if (!e || !e.length) return;
1577
1576
  const o = Object.keys(t);
1578
1577
  for (let a = 0; a < e.length; a++) {
1579
1578
  const r = e[a];
1580
1579
  r != null && r.children && r.children.length && !r.redirect && (r.redirect = r.children[0].path);
1581
- const { icon: l, permissionCode: c, extraIcon: d, frameSrc: s } = r;
1582
- if (r.meta = { keepAlive: !0, rank: r.sort, title: `${r.i18nField}` }, Object.assign(r.meta, { icon: l, permissionCode: c, extraIcon: d, frameSrc: s }), O.zh[r.i18nField] = r.menuName || r.menuNameEn, O.en[r.i18nField] = r.menuNameEn || r.menuName, r.name = r.menuCode || r.name, r.path = r.menuPath || r.path, !r.parentId)
1580
+ const { icon: i, permissionCode: u, extraIcon: d, frameSrc: s } = r;
1581
+ if (r.meta = { keepAlive: !0, rank: r.sort, title: `${r.i18nField}` }, Object.assign(r.meta, { icon: i, permissionCode: u, extraIcon: d, frameSrc: s }), L.zh[r.i18nField] = r.menuName || r.menuNameEn, L.en[r.i18nField] = r.menuNameEn || r.menuName, r.name = r.menuCode || r.name, r.path = r.menuPath || r.path, !r.parentId)
1583
1582
  r.component = lo;
1584
1583
  else if ((n = r.meta) != null && n.frameSrc)
1585
1584
  r.component = uo;
1586
1585
  else if (r.menuCategory === "10") {
1587
- const m = o.findIndex((h) => h.includes("lowcode-contain"));
1586
+ const m = o.findIndex((f) => f.includes("lowcode-contain"));
1588
1587
  r.component = ro(
1589
1588
  r.name,
1590
- rt(() => import(
1589
+ it(() => import(
1591
1590
  /* @vite-ignore */
1592
1591
  o[m]
1593
1592
  ))
1594
1593
  ), Object.assign(r.meta, { moduleType: r.moduleType });
1595
1594
  } else if (r.menuCategory !== "5") {
1596
- const m = o.findIndex((h) => h.includes(r.path));
1595
+ const m = o.findIndex((f) => f.includes(r.path));
1597
1596
  r.component = t[o[m]];
1598
1597
  }
1599
- r != null && r.children && r.children.length ? Ye(r.children) : delete r.children;
1598
+ r != null && r.children && r.children.length ? Ze(r.children) : delete r.children;
1600
1599
  }
1601
1600
  return e;
1602
1601
  };
1603
- function Wn(e, t = !0) {
1604
- const o = F().multiTags.findIndex((n) => {
1602
+ function Kn(e, t = !0) {
1603
+ const o = x().multiTags.findIndex((n) => {
1605
1604
  if (e.query) {
1606
1605
  if (e.path === n.path)
1607
1606
  return e.query === n.query;
1608
1607
  } else
1609
1608
  return e.path === n.path;
1610
1609
  });
1611
- if (F().handleTags("splice", "", { startIndex: o, length: 1 }), ho(e.matched, "delete"), t) {
1612
- const n = F().handleTags("slice");
1613
- f.push({
1610
+ if (x().handleTags("splice", "", { startIndex: o, length: 1 }), ho(e.matched, "delete"), t) {
1611
+ const n = x().handleTags("slice");
1612
+ g.push({
1614
1613
  path: n[0].path,
1615
1614
  query: n[0].query
1616
1615
  });
1617
1616
  }
1618
1617
  }
1619
- const fo = z("udp-permission", {
1618
+ const fo = q("udp-permission", {
1620
1619
  state: () => ({
1621
1620
  // 静态路由生成的菜单
1622
1621
  constantMenus: To,
@@ -1638,12 +1637,12 @@ const fo = z("udp-permission", {
1638
1637
  actions: {
1639
1638
  asyncActionRoutes(e = []) {
1640
1639
  if (this.wholeMenus.length > 0) return;
1641
- const t = ft(e, (n) => n.menuCode === "SysHome"), o = B(this.constantMenus, !0);
1640
+ const t = gt(e, (n) => n.menuCode === "SysHome"), o = z(this.constantMenus, !0);
1642
1641
  if (t !== -1) {
1643
1642
  const n = this.constantMenus.find((a) => a.name === "home");
1644
1643
  e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
1645
1644
  }
1646
- this.wholeMenus = Ge(_(this.constantMenus.concat(e))), this.flatteningRoutes = J(this.constantMenus.concat(e)), this.menusTree = B(this.wholeMenus, !0), this.constantMenus = o;
1645
+ this.wholeMenus = Je(H(this.constantMenus.concat(e))), this.flatteningRoutes = Z(this.constantMenus.concat(e)), this.menusTree = z(this.wholeMenus, !0), this.constantMenus = o;
1647
1646
  },
1648
1647
  async changeSetting(e) {
1649
1648
  await this.asyncActionRoutes(e);
@@ -1654,28 +1653,29 @@ const fo = z("udp-permission", {
1654
1653
  setWholeMenus(e) {
1655
1654
  this.wholeMenus = e;
1656
1655
  },
1656
+ /** 监听缓存页面是否存在于标签页,不存在则删除 */
1657
+ clearCache() {
1658
+ let e = this.cachePageList.length;
1659
+ const t = Vt(x().multiTags, "name");
1660
+ for (; e > 0; )
1661
+ t.findIndex((o) => o === this.cachePageList[e - 1]) === -1 && this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[e - 1]), 1), e--;
1662
+ },
1657
1663
  cacheOperate({ mode: e, name: t }) {
1658
1664
  const o = this.cachePageList.findIndex((n) => n === t);
1659
1665
  switch (e) {
1660
1666
  case "refresh":
1661
- this.cachePageList = this.cachePageList.filter((n) => n !== t);
1667
+ this.cachePageList = this.cachePageList.filter((n) => n !== t), this.clearCache();
1662
1668
  break;
1663
1669
  case "add":
1664
1670
  this.cachePageList.push(t);
1665
1671
  break;
1666
1672
  case "delete":
1667
- o !== -1 && this.cachePageList.splice(o, 1);
1673
+ o !== -1 && this.cachePageList.splice(o, 1), this.clearCache();
1668
1674
  break;
1669
1675
  case "reset":
1670
1676
  this.cachePageList = [];
1671
1677
  break;
1672
1678
  }
1673
- ht(() => {
1674
- let n = this.cachePageList.length;
1675
- const a = Ht(F().multiTags, "name");
1676
- for (; n > 0; )
1677
- a.findIndex((r) => r === this.cachePageList[n - 1]) === -1 && this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[n - 1]), 1), n--;
1678
- }, 500)();
1679
1679
  },
1680
1680
  /** 清空缓存页面 */
1681
1681
  clearAllCachePage() {
@@ -1683,19 +1683,19 @@ const fo = z("udp-permission", {
1683
1683
  }
1684
1684
  }
1685
1685
  });
1686
- function C() {
1687
- return fo(A);
1686
+ function T() {
1687
+ return fo(j);
1688
1688
  }
1689
- const Qe = z("udp-multiTags", {
1689
+ const Xe = q("udp-multiTags", {
1690
1690
  state: () => {
1691
1691
  var e, t;
1692
1692
  return {
1693
1693
  // 存储标签页信息(路由信息)
1694
- multiTags: (e = p.getItem(`${w()}configure`)) != null && e.multiTagsCache ? p.getItem(`${w()}tags`) : [...U, ...C().flatteningRoutes.filter((o) => {
1694
+ multiTags: (e = h.getItem(`${b()}configure`)) != null && e.multiTagsCache ? h.getItem(`${b()}tags`) : [...V, ...T().flatteningRoutes.filter((o) => {
1695
1695
  var n;
1696
1696
  return (n = o == null ? void 0 : o.meta) == null ? void 0 : n.fixedTag;
1697
1697
  })],
1698
- multiTagsCache: (t = p.getItem(`${w()}configure`)) == null ? void 0 : t.multiTagsCache
1698
+ multiTagsCache: (t = h.getItem(`${b()}configure`)) == null ? void 0 : t.multiTagsCache
1699
1699
  };
1700
1700
  },
1701
1701
  getters: {
@@ -1705,13 +1705,13 @@ const Qe = z("udp-multiTags", {
1705
1705
  },
1706
1706
  actions: {
1707
1707
  multiTagsCacheChange(e) {
1708
- this.multiTagsCache = e, e ? p.setItem(`${w()}tags`, this.multiTags) : p.removeItem(`${w()}tags`);
1708
+ this.multiTagsCache = e, e ? h.setItem(`${b()}tags`, this.multiTags) : h.removeItem(`${b()}tags`);
1709
1709
  },
1710
1710
  tagsCache(e) {
1711
- this.getMultiTagsCache && p.setItem(`${w()}tags`, e);
1711
+ this.getMultiTagsCache && h.setItem(`${b()}tags`, e);
1712
1712
  },
1713
1713
  handleTags(e, t, o) {
1714
- var n, a, r, l, c, d;
1714
+ var n, a, r, i, u, d;
1715
1715
  switch (e) {
1716
1716
  case "equal":
1717
1717
  this.multiTags = t, this.tagsCache(this.multiTags);
@@ -1719,13 +1719,13 @@ const Qe = z("udp-multiTags", {
1719
1719
  case "push":
1720
1720
  {
1721
1721
  const s = t;
1722
- if ((n = s == null ? void 0 : s.meta) != null && n.hiddenTag || ze(s == null ? void 0 : s.name) || ((r = (a = s == null ? void 0 : s.meta) == null ? void 0 : a.title) == null ? void 0 : r.length) === 0 || gt((l = s == null ? void 0 : s.meta) == null ? void 0 : l.showLink) && !((c = s == null ? void 0 : s.meta) != null && c.showLink)) return;
1723
- const m = s.path, h = this.multiTags.some((u) => u.path === m), E = this.multiTags.some((u) => ye(u == null ? void 0 : u.query, s == null ? void 0 : s.query)), T = this.multiTags.some((u) => ye(u == null ? void 0 : u.params, s == null ? void 0 : s.params));
1724
- if (h && E && T) return;
1725
- const b = ((d = s == null ? void 0 : s.meta) == null ? void 0 : d.dynamicLevel) ?? -1;
1726
- if (b > 0 && this.multiTags.filter((u) => (u == null ? void 0 : u.path) === m).length >= b) {
1727
- const u = this.multiTags.findIndex((i) => (i == null ? void 0 : i.path) === m);
1728
- u !== -1 && this.multiTags.splice(u, 1);
1722
+ if ((n = s == null ? void 0 : s.meta) != null && n.hiddenTag || _e(s == null ? void 0 : s.name) || ((r = (a = s == null ? void 0 : s.meta) == null ? void 0 : a.title) == null ? void 0 : r.length) === 0 || yt((i = s == null ? void 0 : s.meta) == null ? void 0 : i.showLink) && !((u = s == null ? void 0 : s.meta) != null && u.showLink)) return;
1723
+ const m = s.path;
1724
+ if (this.multiTags.some((p) => p.path === m && be(p == null ? void 0 : p.query, s == null ? void 0 : s.query) && be(p == null ? void 0 : p.params, s == null ? void 0 : s.params))) return;
1725
+ const E = ((d = s == null ? void 0 : s.meta) == null ? void 0 : d.dynamicLevel) ?? -1;
1726
+ if (E > 0 && this.multiTags.filter((p) => (p == null ? void 0 : p.path) === m).length >= E) {
1727
+ const p = this.multiTags.findIndex((C) => (C == null ? void 0 : C.path) === m);
1728
+ p !== -1 && this.multiTags.splice(p, 1);
1729
1729
  }
1730
1730
  this.multiTags.push(t), this.tagsCache(this.multiTags);
1731
1731
  }
@@ -1745,10 +1745,10 @@ const Qe = z("udp-multiTags", {
1745
1745
  }
1746
1746
  }
1747
1747
  });
1748
- function F() {
1749
- return Qe(A);
1748
+ function x() {
1749
+ return Xe(j);
1750
1750
  }
1751
- const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1751
+ const go = () => import("./layoutView-wsLHrEeX.js"), yo = {
1752
1752
  path: "/",
1753
1753
  name: "home",
1754
1754
  component: go,
@@ -1762,14 +1762,14 @@ const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1762
1762
  {
1763
1763
  path: "/welcome",
1764
1764
  name: "SuHome",
1765
- component: () => import("./su-welcome-B2rNhhDH.js"),
1765
+ component: () => import("./su-welcome-BjxeEKSo.js"),
1766
1766
  meta: {
1767
1767
  title: "message.udp.home",
1768
1768
  keepAlive: !0
1769
1769
  }
1770
1770
  }
1771
1771
  ]
1772
- }, wo = () => import("./layoutView-CoEp2afn.js"), bo = {
1772
+ }, wo = () => import("./layoutView-wsLHrEeX.js"), bo = {
1773
1773
  path: "/error",
1774
1774
  name: "error",
1775
1775
  component: wo,
@@ -1784,17 +1784,17 @@ const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1784
1784
  {
1785
1785
  path: "/error/403",
1786
1786
  name: "403",
1787
- component: () => import("./403-RBzulrcG.js"),
1787
+ component: () => import("./403-C3cfjZIT.js"),
1788
1788
  meta: {
1789
1789
  title: "message.udp.fourZeroThree"
1790
1790
  }
1791
1791
  }
1792
1792
  ]
1793
- }, Co = () => import("./layoutView-CoEp2afn.js"), j = [
1793
+ }, Co = () => import("./layoutView-wsLHrEeX.js"), _ = [
1794
1794
  {
1795
1795
  path: "/login",
1796
1796
  name: "login",
1797
- component: () => import("./login-DP0oP70W.js"),
1797
+ component: () => import("./login-CluzzdqH.js"),
1798
1798
  meta: {
1799
1799
  title: "message.udp.login",
1800
1800
  showLink: !1
@@ -1803,7 +1803,7 @@ const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1803
1803
  {
1804
1804
  path: "/error/404",
1805
1805
  name: "404",
1806
- component: () => import("./404-DX-dU_6C.js"),
1806
+ component: () => import("./404-Bg3j7QIo.js"),
1807
1807
  meta: {
1808
1808
  title: "message.udp.fourZeroFour",
1809
1809
  showLink: !1
@@ -1812,7 +1812,7 @@ const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1812
1812
  {
1813
1813
  path: "/error/500",
1814
1814
  name: "500",
1815
- component: () => import("./500-BCTk0__d.js"),
1815
+ component: () => import("./500-CMT7Zyy7.js"),
1816
1816
  meta: {
1817
1817
  title: "message.udp.five",
1818
1818
  showLink: !1
@@ -1838,117 +1838,159 @@ const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1838
1838
  ]
1839
1839
  }
1840
1840
  ], vo = /* @__PURE__ */ Object.assign({
1841
- "../views/organization/company/Company.vue": () => import("./Company-B-61KrWd.js"),
1842
- "../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-CawSrEff.js"),
1843
- "../views/organization/department/Department.vue": () => import("./Department-CrzJPtvP.js"),
1844
- "../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-DYuL8H-j.js"),
1845
- "../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-CBgKBJAn.js"),
1846
- "../views/organization/org/Org.vue": () => import("./Org-BaQw2r-o.js"),
1847
- "../views/organization/staff/Staff.vue": () => import("./Staff-CJ2GgCL3.js"),
1848
- "../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-3KkodDCK.js"),
1849
- "../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-DoXPSoY5.js"),
1850
- "../views/system/cron/cron-task.vue": () => import("./cron-task-p3-AFN1w.js"),
1841
+ "../views/organization/company/Company.vue": () => import("./Company-qTguidK8.js"),
1842
+ "../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-BBC-o-k3.js"),
1843
+ "../views/organization/department/Department.vue": () => import("./Department-C3mKZOnK.js"),
1844
+ "../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-CNdpOHBT.js"),
1845
+ "../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-RE7s3vBq.js"),
1846
+ "../views/organization/org/Org.vue": () => import("./Org-wXDGvTrS.js"),
1847
+ "../views/organization/staff/Staff.vue": () => import("./Staff-BfDc61QS.js"),
1848
+ "../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-BaJFo4mg.js"),
1849
+ "../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-B6I2ZS6A.js"),
1850
+ "../views/system/cron/cron-task.vue": () => import("./cron-task-Dg9DJXvv.js"),
1851
1851
  "../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-BeBNiwqc.js"),
1852
- "../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-DuLEL6_l.js"),
1853
- "../views/system/menu/menuInfo.vue": () => import("./menuInfo-5Xls76qB.js"),
1854
- "../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-ltEJIEcr.js"),
1855
- "../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-1g1a-G8D.js"),
1856
- "../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-BADTOenq.js"),
1857
- "../views/system/role/Role.vue": () => import("./Role-mbqoav5t.js"),
1858
- "../views/system/role/RolePanel.vue": () => import("./RolePanel-u90v9eS0.js"),
1859
- "../views/system/role/UserInfo.vue": () => import("./UserInfo-WWby4lts.js"),
1860
- "../views/system/sys/sys-config.vue": () => import("./sys-config-Bb4WkxZK.js"),
1861
- "../views/system/sysUser/SysUser.vue": () => import("./SysUser-BuIZhMPh.js"),
1862
- "../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-t1GJcJGM.js"),
1863
- "../views/uapp/pda/pda-app.vue": () => import("./pda-app-DxGYn4G7.js"),
1864
- "../views/udev/coderule/code-rule.vue": () => import("./code-rule-DDLdi3pP.js"),
1865
- "../views/udev/dict/DictView.vue": () => import("./DictView-BuO-2b-c.js"),
1866
- "../views/udev/dict/childView.vue": () => import("./childView-B0-EAoAi.js"),
1867
- "../views/udev/lov/childView.vue": () => import("./childView-IYY4L8VK.js"),
1868
- "../views/udev/lov/lov-view.vue": () => import("./lov-view-BDoZRK-v.js"),
1852
+ "../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-CyPG23uP.js"),
1853
+ "../views/system/menu/menuInfo.vue": () => import("./menuInfo-B8RLelIC.js"),
1854
+ "../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-C9wm4zq4.js"),
1855
+ "../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-DWM9mfNs.js"),
1856
+ "../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-B1mvqs4x.js"),
1857
+ "../views/system/role/Role.vue": () => import("./Role-B_NsHIyE.js"),
1858
+ "../views/system/role/RolePanel.vue": () => import("./RolePanel-BlHidBR0.js"),
1859
+ "../views/system/role/UserInfo.vue": () => import("./UserInfo-BkoGt4ib.js"),
1860
+ "../views/system/sys/sys-config.vue": () => import("./sys-config-sbeLk9bP.js"),
1861
+ "../views/system/sysUser/SysUser.vue": () => import("./SysUser-B_r9LYc5.js"),
1862
+ "../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-C4ajcHPV.js"),
1863
+ "../views/uapp/pda/pda-app.vue": () => import("./pda-app-D3LNmD9a.js"),
1864
+ "../views/udev/coderule/code-rule.vue": () => import("./code-rule-C7jI_1gJ.js"),
1865
+ "../views/udev/dict/DictView.vue": () => import("./DictView-CgdVkSiP.js"),
1866
+ "../views/udev/dict/childView.vue": () => import("./childView-Dh0NyiQe.js"),
1867
+ "../views/udev/lov/childView.vue": () => import("./childView-9vEO8ymO.js"),
1868
+ "../views/udev/lov/lov-view.vue": () => import("./lov-view-BvQCvwbW.js"),
1869
1869
  "../views/upms/interface/log-in.vue": () => import("./log-in-e7D5Ss1P.js"),
1870
1870
  "../views/upms/interface/log-out.vue": () => import("./log-out-D1b4VRMZ.js"),
1871
1871
  "../views/upms/user/login-log.vue": () => import("./login-log-kqKzKTto.js"),
1872
1872
  "../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-DT-rGICv.js"),
1873
- "../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-DEAv6V68.js"),
1874
- "../views/urpt/design/Preview.vue": () => import("./Preview-DvCrmKNk.js"),
1875
- "../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-DgZ2f2zv.js"),
1876
- "../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-DTZYbCDi.js"),
1877
- "../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-B-vtJegP.js"),
1878
- "../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-DyhWz0as.js"),
1879
- "../views/urpt/static-resource/resource.vue": () => import("./resource-BnYWe_-Q.js"),
1880
- "../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-DA1ZqKGf.js")
1881
- }), Gn = j, le = [yo, bo], Kn = Je(
1882
- J(re(_(le)))
1883
- ), To = _(le).concat(...j), Jn = Object.keys(j).map((e) => j[e].path);
1884
- function Eo() {
1885
- f.getRoutes().forEach((e) => {
1873
+ "../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-D9jrRCoG.js"),
1874
+ "../views/urpt/design/Preview.vue": () => import("./Preview-Pvt1__BV.js"),
1875
+ "../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-jOSuEFH9.js"),
1876
+ "../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-DxEmmGiN.js"),
1877
+ "../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-CFlxfS5M.js"),
1878
+ "../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-xEQsgFyv.js"),
1879
+ "../views/urpt/static-resource/resource.vue": () => import("./resource-D8JA_03-.js"),
1880
+ "../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-Dtz3aet7.js")
1881
+ }), Jn = _, ce = [yo, bo], Yn = Qe(
1882
+ Z(le(H(ce)))
1883
+ ), To = H(ce).concat(..._), Qn = Object.keys(_).map((e) => _[e].path), Eo = /* @__PURE__ */ new Set();
1884
+ function So() {
1885
+ Eo.clear();
1886
+ }
1887
+ function Do() {
1888
+ g.getRoutes().forEach((e) => {
1886
1889
  const { name: t, meta: o } = e;
1887
- t && f.hasRoute(t) && (o != null && o.backstage) && (f.removeRoute(t), f.options.routes = Je(J(re(_(le)))));
1888
- }), C().clearAllCachePage();
1890
+ t && g.hasRoute(t) && (o != null && o.backstage) && (g.removeRoute(t), g.options.routes = Qe(Z(le(H(ce)))));
1891
+ }), T().clearAllCachePage(), So();
1889
1892
  }
1890
- let oe = null, f = null;
1891
- function So(e, t) {
1892
- oe = e, f = t, Object.assign(oe, vo);
1893
+ let re = null, g = null;
1894
+ function ko(e, t) {
1895
+ re = e, g = t, Object.assign(re, vo);
1893
1896
  }
1894
- function ko() {
1895
- return oe;
1897
+ function Fo() {
1898
+ return re;
1896
1899
  }
1897
- const Fo = ["/login"], Yn = (e, t, o) => {
1898
- var l, c, d;
1899
- const n = M.get(qe), a = ze(e == null ? void 0 : e.name);
1900
+ const xo = ["/login"], Zn = (e, t, o) => {
1901
+ var i, u, d;
1902
+ const n = U.get(He), a = _e(e == null ? void 0 : e.name);
1900
1903
  function r() {
1901
- Fo.includes(e.fullPath) ? o(t.fullPath) : o();
1904
+ xo.includes(e.fullPath) ? o(t.fullPath) : o();
1902
1905
  }
1903
1906
  if (t != null && t.name && (t == null ? void 0 : t.name) !== "login") {
1904
- const s = (l = e.matched.find((m) => m.path === e.path || m.name === e.name && e.params)) == null ? void 0 : l.components;
1905
- a ? (ut(e == null ? void 0 : e.name), (c = ct) == null || c.done()) : s != null && s.default || e.name === "redirect" ? r() : o({ path: "/error/404" });
1907
+ const s = (i = e.matched.find((m) => m.path === e.path || m.name === e.name && e.params)) == null ? void 0 : i.components;
1908
+ a ? (dt(e == null ? void 0 : e.name), (u = mt) == null || u.done()) : s != null && s.default || e.name === "redirect" ? r() : o({ path: "/error/404" });
1906
1909
  } else
1907
- C().wholeMenus.length === 0 && po(n).then((s) => {
1910
+ T().wholeMenus.length === 0 && po(n).then((s) => {
1908
1911
  var m;
1909
- if (!F().getMultiTagsCache) {
1910
- const { path: h } = e, T = yt(j, (u) => u.path === h) === -1 ? s.options.routes[0].children : s.options.routes, b = Ke(h, T);
1911
- if (b && ((m = b.meta) != null && m.title)) {
1912
- const { path: u, name: i, meta: y } = b;
1913
- F().handleTags("push", { path: u, name: i, meta: y });
1912
+ if (!x().getMultiTagsCache) {
1913
+ const { path: f } = e, p = wt(_, (c) => c.path === f) === -1 ? s.options.routes[0].children : s.options.routes, C = Ye(f, p);
1914
+ if (C && ((m = C.meta) != null && m.title)) {
1915
+ const { path: c, name: l, meta: w } = C;
1916
+ x().handleTags("push", { path: c, name: l, meta: w });
1914
1917
  }
1915
1918
  }
1916
- wt(e.name) && s.push(e.fullPath);
1919
+ bt(e.name) && s.push(e.fullPath);
1917
1920
  }), t.fullPath === "/" && e.fullPath === "/login" && !((d = e.query) != null && d.tokenExpire) ? (e.path = "/welcome", e.fullPath = "/welcome", e.name = "SuHome") : t.fullPath === "/" && e.path === "/workflow/approve/index" && (e.path = "/welcome", e.fullPath = "/welcome", e.name = "SuHome", e.query = {}), r();
1918
1921
  };
1919
- dt(_e, { serviceApi: K(), i18n: We });
1920
- const Do = {
1922
+ pt(Ve, { serviceApi: Q(), i18n: Ke });
1923
+ Mo();
1924
+ const Io = {
1921
1925
  // 对组件内置的提示语进行国际化翻译
1922
1926
  // @ts-ignore
1923
- i18n: (e, t) => H().global.t(e, t),
1927
+ i18n: (e, t) => W().global.t(e, t),
1924
1928
  // 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
1925
1929
  translate(e) {
1926
- return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? H().global.t.call(H().global.locale, e) : e;
1930
+ return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? W().global.t.call(W().global.locale, e) : e;
1927
1931
  }
1928
1932
  };
1929
- function xo(e = {}) {
1930
- _e.setConfig(se(Do, e)), ie.interceptor.add("event.clearEdit", {
1933
+ function Po(e = {}) {
1934
+ Ve.setConfig(ue(Io, e)), k.interceptor.add("event.clearEdit", {
1931
1935
  tableInterceptorMethod(t) {
1932
1936
  const { $event: o } = t;
1933
1937
  if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
1934
1938
  }
1935
1939
  });
1936
1940
  }
1937
- function Io(e) {
1938
- ie.setTheme(e);
1941
+ function No(e) {
1942
+ k.setTheme(e);
1943
+ }
1944
+ function Mo() {
1945
+ k.commands.add("utTodyay", {
1946
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1947
+ const t = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 00:00:00"), o = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
1948
+ e.setModelValue(t, o);
1949
+ }
1950
+ }), k.commands.add("utYesterDay", {
1951
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1952
+ const t = v(R(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 00:00:00"), o = v(R(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 23:59:59");
1953
+ e.setModelValue(t, o);
1954
+ }
1955
+ }), k.commands.add("utRecentWeek", {
1956
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1957
+ const t = v(R(/* @__PURE__ */ new Date(), -7), "yyyy-MM-dd 00:00:00"), o = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
1958
+ e.setModelValue(t, o);
1959
+ }
1960
+ }), k.commands.add("utRecentMonth", {
1961
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1962
+ const t = v(R(/* @__PURE__ */ new Date(), -30), "yyyy-MM-dd 00:00:00"), o = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
1963
+ e.setModelValue(t, o);
1964
+ }
1965
+ }), k.commands.add("utRecentThreeMonth", {
1966
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1967
+ const t = v(R(/* @__PURE__ */ new Date(), -90), "yyyy-MM-dd 00:00:00"), o = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
1968
+ e.setModelValue(t, o);
1969
+ }
1970
+ }), k.commands.add("utRecentHalfYear", {
1971
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1972
+ const t = v(R(/* @__PURE__ */ new Date(), -180), "yyyy-MM-dd 00:00:00"), o = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
1973
+ e.setModelValue(t, o);
1974
+ }
1975
+ }), k.commands.add("utRecentYear", {
1976
+ dateRangePickerCommandMethod({ $dateRangePicker: e }) {
1977
+ const t = v(R(/* @__PURE__ */ new Date(), -365), "yyyy-MM-dd 00:00:00"), o = v(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
1978
+ e.setModelValue(t, o);
1979
+ }
1980
+ });
1939
1981
  }
1940
- var ue = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Po = Object.getOwnPropertyNames, Oo = Object.prototype.hasOwnProperty, Ro = (e, t, o) => t in e ? ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Lo = (e, t) => {
1941
- for (var o in t) ue(e, o, { get: t[o], enumerable: !0 });
1942
- }, Ao = (e, t, o, n) => {
1943
- if (t && typeof t == "object" || typeof t == "function") for (let a of Po(t)) !Oo.call(e, a) && a !== o && ue(e, a, { get: () => t[a], enumerable: !(n = No(t, a)) || n.enumerable });
1982
+ var de = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, Ro = Object.getOwnPropertyNames, Lo = Object.prototype.hasOwnProperty, Ao = (e, t, o) => t in e ? de(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Bo = (e, t) => {
1983
+ for (var o in t) de(e, o, { get: t[o], enumerable: !0 });
1984
+ }, jo = (e, t, o, n) => {
1985
+ if (t && typeof t == "object" || typeof t == "function") for (let a of Ro(t)) !Lo.call(e, a) && a !== o && de(e, a, { get: () => t[a], enumerable: !(n = Oo(t, a)) || n.enumerable });
1944
1986
  return e;
1945
- }, Mo = (e, t, o) => (Ao(e, t, "default"), o), Fe = (e, t, o) => (Ro(e, typeof t != "symbol" ? t + "" : t, o), o), ce = {};
1946
- Lo(ce, { Vue: () => Me });
1947
- Mo(ce, Me);
1948
- var W = class {
1987
+ }, Uo = (e, t, o) => (jo(e, t, "default"), o), xe = (e, t, o) => (Ao(e, typeof t != "symbol" ? t + "" : t, o), o), me = {};
1988
+ Bo(me, { Vue: () => je });
1989
+ Uo(me, je);
1990
+ var J = class {
1949
1991
  static install(e, t) {
1950
1992
  let { nameSpace: o = this._nameSpace, memory: n } = t;
1951
- return n && this.clearAll(o, n), new W(e, t);
1993
+ return n && this.clearAll(o, n), new J(e, t);
1952
1994
  }
1953
1995
  static clearAll(e, t) {
1954
1996
  Object.keys(t).forEach((o) => {
@@ -1966,25 +2008,25 @@ var W = class {
1966
2008
  if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
1967
2009
  }
1968
2010
  constructor(e, t) {
1969
- let o = W, { version: n = 3, nameSpace: a = o._nameSpace, memory: r } = t, l = (s) => a + s, c = n === 3 ? (0, ce.reactive)(r) : r;
1970
- Object.keys(c).length === 0 && console.warn("key cannot be empty"), Object.keys(c).forEach((s) => {
1971
- let m = c[s];
1972
- o.set(l(s), m), Reflect.defineProperty(c, s, { get: () => o.get(l(s)), set: (h) => o.set(l(s), h), configurable: !0 }), n === 2 && e.util.defineReactive(c, s, c[s]);
2011
+ let o = J, { version: n = 3, nameSpace: a = o._nameSpace, memory: r } = t, i = (s) => a + s, u = n === 3 ? (0, me.reactive)(r) : r;
2012
+ Object.keys(u).length === 0 && console.warn("key cannot be empty"), Object.keys(u).forEach((s) => {
2013
+ let m = u[s];
2014
+ o.set(i(s), m), Reflect.defineProperty(u, s, { get: () => o.get(i(s)), set: (f) => o.set(i(s), f), configurable: !0 }), n === 2 && e.util.defineReactive(u, s, u[s]);
1973
2015
  });
1974
2016
  let d = n === 3 ? e.config.globalProperties : e.prototype;
1975
- Reflect.defineProperty(d, "$storage", { get: () => c });
2017
+ Reflect.defineProperty(d, "$storage", { get: () => u });
1976
2018
  }
1977
- }, N = W;
1978
- Fe(N, "_nameSpace", "rs-"), Fe(N, "_getStaticKey", (e, t) => `${e ?? W._nameSpace}${t}`);
1979
- const Bo = (e, t) => {
1980
- const o = w(), n = Object.assign(
2019
+ }, M = J;
2020
+ xe(M, "_nameSpace", "rs-"), xe(M, "_getStaticKey", (e, t) => `${e ?? J._nameSpace}${t}`);
2021
+ const zo = (e, t) => {
2022
+ const o = b(), n = Object.assign(
1981
2023
  {
1982
2024
  // 国际化 默认中文zh
1983
- locale: N.getData("locale", o) ?? {
2025
+ locale: M.getData("locale", o) ?? {
1984
2026
  locale: t.Locale ?? "zh"
1985
2027
  },
1986
2028
  // layout模式以及主题
1987
- layout: N.getData("layout", o) ?? {
2029
+ layout: M.getData("layout", o) ?? {
1988
2030
  layout: t.Layout ?? "vertical",
1989
2031
  theme: t.Theme ?? "default",
1990
2032
  darkMode: t.DarkMode ?? !1,
@@ -1995,7 +2037,7 @@ const Bo = (e, t) => {
1995
2037
  overallStyle: t.OverallStyle ?? "light"
1996
2038
  // 整体风格(浅色:light、深色:dark、自动:system)
1997
2039
  },
1998
- configure: N.getData("configure", o) ?? {
2040
+ configure: M.getData("configure", o) ?? {
1999
2041
  grey: t.Grey ?? !1,
2000
2042
  weak: t.Weak ?? !1,
2001
2043
  hideTabs: t.HideTabs ?? !1,
@@ -2003,116 +2045,116 @@ const Bo = (e, t) => {
2003
2045
  showModel: t.ShowModel ?? "smart",
2004
2046
  multiTagsCache: t.MultiTagsCache ?? !1
2005
2047
  },
2006
- cnd: N.getData("cnd", o) ?? {}
2048
+ cnd: M.getData("cnd", o) ?? {}
2007
2049
  },
2008
2050
  t.MultiTagsCache ? {
2009
2051
  // 默认显示首页tag
2010
- tags: N.getData("tags", o) ?? U
2052
+ tags: M.getData("tags", o) ?? V
2011
2053
  } : {}
2012
2054
  );
2013
- e.use(N, { nameSpace: o, memory: n });
2014
- }, jo = (e) => {
2055
+ e.use(M, { nameSpace: o, memory: n });
2056
+ }, _o = (e) => {
2015
2057
  var a;
2016
2058
  if (!e) return !0;
2017
- const t = (a = f.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
2059
+ const t = (a = g.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
2018
2060
  if (!t) return !0;
2019
- bt(e) || (e = [e]);
2020
- const o = C().getButtonAuth;
2061
+ Ct(e) || (e = [e]);
2062
+ const o = T().getButtonAuth;
2021
2063
  if (!o) return !0;
2022
2064
  let n = !1;
2023
2065
  return e.forEach((r) => {
2024
2066
  if (!n) {
2025
- const l = `${t}.${r}`;
2026
- n = o.includes(l);
2067
+ const i = `${t}.${r}`;
2068
+ n = o.includes(i);
2027
2069
  }
2028
2070
  }), n;
2029
- }, Ze = Object.freeze(
2071
+ }, et = Object.freeze(
2030
2072
  {
2031
2073
  left: 0,
2032
2074
  top: 0,
2033
2075
  width: 16,
2034
2076
  height: 16
2035
2077
  }
2036
- ), G = Object.freeze({
2078
+ ), Y = Object.freeze({
2037
2079
  rotate: 0,
2038
2080
  vFlip: !1,
2039
2081
  hFlip: !1
2040
- }), de = Object.freeze({
2041
- ...Ze,
2042
- ...G
2043
- }), ne = Object.freeze({
2044
- ...de,
2082
+ }), pe = Object.freeze({
2083
+ ...et,
2084
+ ...Y
2085
+ }), se = Object.freeze({
2086
+ ...pe,
2045
2087
  body: "",
2046
2088
  hidden: !1
2047
2089
  });
2048
- function zo(e, t) {
2090
+ function qo(e, t) {
2049
2091
  const o = {};
2050
2092
  !e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
2051
2093
  const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
2052
2094
  return n && (o.rotate = n), o;
2053
2095
  }
2054
- function De(e, t) {
2055
- const o = zo(e, t);
2056
- for (const n in ne)
2057
- n in G ? n in e && !(n in o) && (o[n] = G[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
2096
+ function Ie(e, t) {
2097
+ const o = qo(e, t);
2098
+ for (const n in se)
2099
+ n in Y ? n in e && !(n in o) && (o[n] = Y[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
2058
2100
  return o;
2059
2101
  }
2060
- function Uo(e, t) {
2102
+ function Vo(e, t) {
2061
2103
  const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
2062
- function r(l) {
2063
- if (o[l])
2064
- return a[l] = [];
2065
- if (!(l in a)) {
2066
- a[l] = null;
2067
- const c = n[l] && n[l].parent, d = c && r(c);
2068
- d && (a[l] = [c].concat(d));
2104
+ function r(i) {
2105
+ if (o[i])
2106
+ return a[i] = [];
2107
+ if (!(i in a)) {
2108
+ a[i] = null;
2109
+ const u = n[i] && n[i].parent, d = u && r(u);
2110
+ d && (a[i] = [u].concat(d));
2069
2111
  }
2070
- return a[l];
2112
+ return a[i];
2071
2113
  }
2072
2114
  return Object.keys(o).concat(Object.keys(n)).forEach(r), a;
2073
2115
  }
2074
- function _o(e, t, o) {
2116
+ function Ho(e, t, o) {
2075
2117
  const n = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
2076
2118
  let r = {};
2077
- function l(c) {
2078
- r = De(
2079
- n[c] || a[c],
2119
+ function i(u) {
2120
+ r = Ie(
2121
+ n[u] || a[u],
2080
2122
  r
2081
2123
  );
2082
2124
  }
2083
- return l(t), o.forEach(l), De(e, r);
2125
+ return i(t), o.forEach(i), Ie(e, r);
2084
2126
  }
2085
- function qo(e, t) {
2127
+ function $o(e, t) {
2086
2128
  const o = [];
2087
2129
  if (typeof e != "object" || typeof e.icons != "object")
2088
2130
  return o;
2089
2131
  e.not_found instanceof Array && e.not_found.forEach((a) => {
2090
2132
  t(a, null), o.push(a);
2091
2133
  });
2092
- const n = Uo(e);
2134
+ const n = Vo(e);
2093
2135
  for (const a in n) {
2094
2136
  const r = n[a];
2095
- r && (t(a, _o(e, a, r)), o.push(a));
2137
+ r && (t(a, Ho(e, a, r)), o.push(a));
2096
2138
  }
2097
2139
  return o;
2098
2140
  }
2099
- const Ho = {
2141
+ const Wo = {
2100
2142
  provider: "",
2101
2143
  aliases: {},
2102
2144
  not_found: {},
2103
- ...Ze
2145
+ ...et
2104
2146
  };
2105
- function Z(e, t) {
2147
+ function te(e, t) {
2106
2148
  for (const o in t)
2107
2149
  if (o in e && typeof e[o] != typeof t[o])
2108
2150
  return !1;
2109
2151
  return !0;
2110
2152
  }
2111
- function $o(e) {
2153
+ function Go(e) {
2112
2154
  if (typeof e != "object" || e === null)
2113
2155
  return null;
2114
2156
  const t = e;
2115
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Z(e, Ho))
2157
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !te(e, Wo))
2116
2158
  return null;
2117
2159
  const o = t.icons;
2118
2160
  for (const a in o) {
@@ -2121,51 +2163,51 @@ function $o(e) {
2121
2163
  // Name cannot be empty
2122
2164
  !a || // Must have body
2123
2165
  typeof r.body != "string" || // Check other props
2124
- !Z(
2166
+ !te(
2125
2167
  r,
2126
- ne
2168
+ se
2127
2169
  )
2128
2170
  )
2129
2171
  return null;
2130
2172
  }
2131
2173
  const n = t.aliases || /* @__PURE__ */ Object.create(null);
2132
2174
  for (const a in n) {
2133
- const r = n[a], l = r.parent;
2175
+ const r = n[a], i = r.parent;
2134
2176
  if (
2135
2177
  // Name cannot be empty
2136
2178
  !a || // Parent must be set and point to existing icon
2137
- typeof l != "string" || !o[l] && !n[l] || // Check other props
2138
- !Z(
2179
+ typeof i != "string" || !o[i] && !n[i] || // Check other props
2180
+ !te(
2139
2181
  r,
2140
- ne
2182
+ se
2141
2183
  )
2142
2184
  )
2143
2185
  return null;
2144
2186
  }
2145
2187
  return t;
2146
2188
  }
2147
- const Xe = Object.freeze({
2189
+ const tt = Object.freeze({
2148
2190
  width: null,
2149
2191
  height: null
2150
- }), et = Object.freeze({
2192
+ }), ot = Object.freeze({
2151
2193
  // Dimensions
2152
- ...Xe,
2194
+ ...tt,
2153
2195
  // Transformations
2154
- ...G
2196
+ ...Y
2155
2197
  });
2156
- function Vo(e, t) {
2198
+ function Ko(e, t) {
2157
2199
  const o = {
2158
2200
  ...e
2159
2201
  };
2160
2202
  for (const n in t) {
2161
2203
  const a = t[n], r = typeof a;
2162
- n in Xe ? (a === null || a && (r === "string" || r === "number")) && (o[n] = a) : r === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : a);
2204
+ n in tt ? (a === null || a && (r === "string" || r === "number")) && (o[n] = a) : r === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : a);
2163
2205
  }
2164
2206
  return o;
2165
2207
  }
2166
- const Wo = /[\s,]+/;
2167
- function Go(e, t) {
2168
- t.split(Wo).forEach((o) => {
2208
+ const Jo = /[\s,]+/;
2209
+ function Yo(e, t) {
2210
+ t.split(Jo).forEach((o) => {
2169
2211
  switch (o.trim()) {
2170
2212
  case "horizontal":
2171
2213
  e.hFlip = !0;
@@ -2176,7 +2218,7 @@ function Go(e, t) {
2176
2218
  }
2177
2219
  });
2178
2220
  }
2179
- function Ko(e, t = 0) {
2221
+ function Qo(e, t = 0) {
2180
2222
  const o = e.replace(/^-?[0-9.]*/, "");
2181
2223
  function n(a) {
2182
2224
  for (; a < 0; )
@@ -2202,61 +2244,61 @@ function Ko(e, t = 0) {
2202
2244
  }
2203
2245
  return t;
2204
2246
  }
2205
- const Jo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Yo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2206
- function xe(e, t, o) {
2247
+ const Zo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Xo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2248
+ function Pe(e, t, o) {
2207
2249
  if (t === 1)
2208
2250
  return e;
2209
2251
  if (o = o || 100, typeof e == "number")
2210
2252
  return Math.ceil(e * t * o) / o;
2211
2253
  if (typeof e != "string")
2212
2254
  return e;
2213
- const n = e.split(Jo);
2255
+ const n = e.split(Zo);
2214
2256
  if (n === null || !n.length)
2215
2257
  return e;
2216
2258
  const a = [];
2217
- let r = n.shift(), l = Yo.test(r);
2259
+ let r = n.shift(), i = Xo.test(r);
2218
2260
  for (; ; ) {
2219
- if (l) {
2220
- const c = parseFloat(r);
2221
- isNaN(c) ? a.push(r) : a.push(Math.ceil(c * t * o) / o);
2261
+ if (i) {
2262
+ const u = parseFloat(r);
2263
+ isNaN(u) ? a.push(r) : a.push(Math.ceil(u * t * o) / o);
2222
2264
  } else
2223
2265
  a.push(r);
2224
2266
  if (r = n.shift(), r === void 0)
2225
2267
  return a.join("");
2226
- l = !l;
2268
+ i = !i;
2227
2269
  }
2228
2270
  }
2229
- function Qo(e, t = "defs") {
2271
+ function en(e, t = "defs") {
2230
2272
  let o = "";
2231
2273
  const n = e.indexOf("<" + t);
2232
2274
  for (; n >= 0; ) {
2233
2275
  const a = e.indexOf(">", n), r = e.indexOf("</" + t);
2234
2276
  if (a === -1 || r === -1)
2235
2277
  break;
2236
- const l = e.indexOf(">", r);
2237
- if (l === -1)
2278
+ const i = e.indexOf(">", r);
2279
+ if (i === -1)
2238
2280
  break;
2239
- o += e.slice(a + 1, r).trim(), e = e.slice(0, n).trim() + e.slice(l + 1);
2281
+ o += e.slice(a + 1, r).trim(), e = e.slice(0, n).trim() + e.slice(i + 1);
2240
2282
  }
2241
2283
  return {
2242
2284
  defs: o,
2243
2285
  content: e
2244
2286
  };
2245
2287
  }
2246
- function Zo(e, t) {
2288
+ function tn(e, t) {
2247
2289
  return e ? "<defs>" + e + "</defs>" + t : t;
2248
2290
  }
2249
- function Xo(e, t, o) {
2250
- const n = Qo(e);
2251
- return Zo(n.defs, t + n.content + o);
2291
+ function on(e, t, o) {
2292
+ const n = en(e);
2293
+ return tn(n.defs, t + n.content + o);
2252
2294
  }
2253
- const en = (e) => e === "unset" || e === "undefined" || e === "none";
2254
- function tn(e, t) {
2295
+ const nn = (e) => e === "unset" || e === "undefined" || e === "none";
2296
+ function an(e, t) {
2255
2297
  const o = {
2256
- ...de,
2298
+ ...pe,
2257
2299
  ...e
2258
2300
  }, n = {
2259
- ...et,
2301
+ ...ot,
2260
2302
  ...t
2261
2303
  }, a = {
2262
2304
  left: o.left,
@@ -2265,129 +2307,129 @@ function tn(e, t) {
2265
2307
  height: o.height
2266
2308
  };
2267
2309
  let r = o.body;
2268
- [o, n].forEach((u) => {
2269
- const i = [], y = u.hFlip, D = u.vFlip;
2270
- let g = u.rotate;
2271
- y ? D ? g += 2 : (i.push(
2310
+ [o, n].forEach((c) => {
2311
+ const l = [], w = c.hFlip, I = c.vFlip;
2312
+ let y = c.rotate;
2313
+ w ? I ? y += 2 : (l.push(
2272
2314
  "translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
2273
- ), i.push("scale(-1 1)"), a.top = a.left = 0) : D && (i.push(
2315
+ ), l.push("scale(-1 1)"), a.top = a.left = 0) : I && (l.push(
2274
2316
  "translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
2275
- ), i.push("scale(1 -1)"), a.top = a.left = 0);
2276
- let S;
2277
- switch (g < 0 && (g -= Math.floor(g / 4) * 4), g = g % 4, g) {
2317
+ ), l.push("scale(1 -1)"), a.top = a.left = 0);
2318
+ let D;
2319
+ switch (y < 0 && (y -= Math.floor(y / 4) * 4), y = y % 4, y) {
2278
2320
  case 1:
2279
- S = a.height / 2 + a.top, i.unshift(
2280
- "rotate(90 " + S.toString() + " " + S.toString() + ")"
2321
+ D = a.height / 2 + a.top, l.unshift(
2322
+ "rotate(90 " + D.toString() + " " + D.toString() + ")"
2281
2323
  );
2282
2324
  break;
2283
2325
  case 2:
2284
- i.unshift(
2326
+ l.unshift(
2285
2327
  "rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
2286
2328
  );
2287
2329
  break;
2288
2330
  case 3:
2289
- S = a.width / 2 + a.left, i.unshift(
2290
- "rotate(-90 " + S.toString() + " " + S.toString() + ")"
2331
+ D = a.width / 2 + a.left, l.unshift(
2332
+ "rotate(-90 " + D.toString() + " " + D.toString() + ")"
2291
2333
  );
2292
2334
  break;
2293
2335
  }
2294
- g % 2 === 1 && (a.left !== a.top && (S = a.left, a.left = a.top, a.top = S), a.width !== a.height && (S = a.width, a.width = a.height, a.height = S)), i.length && (r = Xo(
2336
+ y % 2 === 1 && (a.left !== a.top && (D = a.left, a.left = a.top, a.top = D), a.width !== a.height && (D = a.width, a.width = a.height, a.height = D)), l.length && (r = on(
2295
2337
  r,
2296
- '<g transform="' + i.join(" ") + '">',
2338
+ '<g transform="' + l.join(" ") + '">',
2297
2339
  "</g>"
2298
2340
  ));
2299
2341
  });
2300
- const l = n.width, c = n.height, d = a.width, s = a.height;
2301
- let m, h;
2302
- l === null ? (h = c === null ? "1em" : c === "auto" ? s : c, m = xe(h, d / s)) : (m = l === "auto" ? d : l, h = c === null ? xe(m, s / d) : c === "auto" ? s : c);
2303
- const E = {}, T = (u, i) => {
2304
- en(i) || (E[u] = i.toString());
2342
+ const i = n.width, u = n.height, d = a.width, s = a.height;
2343
+ let m, f;
2344
+ i === null ? (f = u === null ? "1em" : u === "auto" ? s : u, m = Pe(f, d / s)) : (m = i === "auto" ? d : i, f = u === null ? Pe(m, s / d) : u === "auto" ? s : u);
2345
+ const E = {}, p = (c, l) => {
2346
+ nn(l) || (E[c] = l.toString());
2305
2347
  };
2306
- T("width", m), T("height", h);
2307
- const b = [a.left, a.top, d, s];
2308
- return E.viewBox = b.join(" "), {
2348
+ p("width", m), p("height", f);
2349
+ const C = [a.left, a.top, d, s];
2350
+ return E.viewBox = C.join(" "), {
2309
2351
  attributes: E,
2310
- viewBox: b,
2352
+ viewBox: C,
2311
2353
  body: r
2312
2354
  };
2313
2355
  }
2314
- const on = /\sid="(\S+)"/g, nn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2315
- let an = 0;
2316
- function rn(e, t = nn) {
2356
+ const rn = /\sid="(\S+)"/g, sn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2357
+ let ln = 0;
2358
+ function un(e, t = sn) {
2317
2359
  const o = [];
2318
2360
  let n;
2319
- for (; n = on.exec(e); )
2361
+ for (; n = rn.exec(e); )
2320
2362
  o.push(n[1]);
2321
2363
  if (!o.length)
2322
2364
  return e;
2323
2365
  const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
2324
2366
  return o.forEach((r) => {
2325
- const l = typeof t == "function" ? t(r) : t + (an++).toString(), c = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2367
+ const i = typeof t == "function" ? t(r) : t + (ln++).toString(), u = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2326
2368
  e = e.replace(
2327
2369
  // Allowed characters before id: [#;"]
2328
2370
  // Allowed characters after id: [)"], .[a-z]
2329
- new RegExp('([#;"])(' + c + ')([")]|\\.[a-z])', "g"),
2330
- "$1" + l + a + "$3"
2371
+ new RegExp('([#;"])(' + u + ')([")]|\\.[a-z])', "g"),
2372
+ "$1" + i + a + "$3"
2331
2373
  );
2332
2374
  }), e = e.replace(new RegExp(a, "g"), ""), e;
2333
2375
  }
2334
- function sn(e, t) {
2376
+ function cn(e, t) {
2335
2377
  let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
2336
2378
  for (const n in t)
2337
2379
  o += " " + n + '="' + t[n] + '"';
2338
2380
  return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
2339
2381
  }
2340
- function ln(e) {
2382
+ function dn(e) {
2341
2383
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
2342
2384
  }
2343
- function un(e) {
2344
- return "data:image/svg+xml," + ln(e);
2385
+ function mn(e) {
2386
+ return "data:image/svg+xml," + dn(e);
2345
2387
  }
2346
- function cn(e) {
2347
- return 'url("' + un(e) + '")';
2388
+ function pn(e) {
2389
+ return 'url("' + mn(e) + '")';
2348
2390
  }
2349
- const Ie = {
2350
- ...et,
2391
+ const Ne = {
2392
+ ...ot,
2351
2393
  inline: !1
2352
- }, dn = {
2394
+ }, hn = {
2353
2395
  xmlns: "http://www.w3.org/2000/svg",
2354
2396
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
2355
2397
  "aria-hidden": !0,
2356
2398
  role: "img"
2357
- }, mn = {
2399
+ }, fn = {
2358
2400
  display: "inline-block"
2359
- }, ae = {
2401
+ }, ie = {
2360
2402
  backgroundColor: "currentColor"
2361
- }, tt = {
2403
+ }, nt = {
2362
2404
  backgroundColor: "transparent"
2363
- }, Ne = {
2405
+ }, Me = {
2364
2406
  Image: "var(--svg)",
2365
2407
  Repeat: "no-repeat",
2366
2408
  Size: "100% 100%"
2367
- }, Pe = {
2368
- webkitMask: ae,
2369
- mask: ae,
2370
- background: tt
2409
+ }, Oe = {
2410
+ webkitMask: ie,
2411
+ mask: ie,
2412
+ background: nt
2371
2413
  };
2372
- for (const e in Pe) {
2373
- const t = Pe[e];
2374
- for (const o in Ne)
2375
- t[e + o] = Ne[o];
2414
+ for (const e in Oe) {
2415
+ const t = Oe[e];
2416
+ for (const o in Me)
2417
+ t[e + o] = Me[o];
2376
2418
  }
2377
- const V = {};
2419
+ const K = {};
2378
2420
  ["horizontal", "vertical"].forEach((e) => {
2379
2421
  const t = e.slice(0, 1) + "Flip";
2380
- V[e + "-flip"] = t, V[e.slice(0, 1) + "-flip"] = t, V[e + "Flip"] = t;
2422
+ K[e + "-flip"] = t, K[e.slice(0, 1) + "-flip"] = t, K[e + "Flip"] = t;
2381
2423
  });
2382
- function Oe(e) {
2424
+ function Re(e) {
2383
2425
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
2384
2426
  }
2385
- const pn = (e, t) => {
2386
- const o = Vo(Ie, t), n = { ...dn }, a = t.mode || "svg", r = {}, l = t.style, c = typeof l == "object" && !(l instanceof Array) ? l : {};
2387
- for (let u in t) {
2388
- const i = t[u];
2389
- if (i !== void 0)
2390
- switch (u) {
2427
+ const gn = (e, t) => {
2428
+ const o = Ko(Ne, t), n = { ...hn }, a = t.mode || "svg", r = {}, i = t.style, u = typeof i == "object" && !(i instanceof Array) ? i : {};
2429
+ for (let c in t) {
2430
+ const l = t[c];
2431
+ if (l !== void 0)
2432
+ switch (c) {
2391
2433
  // Properties to ignore
2392
2434
  case "icon":
2393
2435
  case "style":
@@ -2399,88 +2441,88 @@ const pn = (e, t) => {
2399
2441
  case "inline":
2400
2442
  case "hFlip":
2401
2443
  case "vFlip":
2402
- o[u] = i === !0 || i === "true" || i === 1;
2444
+ o[c] = l === !0 || l === "true" || l === 1;
2403
2445
  break;
2404
2446
  // Flip as string: 'horizontal,vertical'
2405
2447
  case "flip":
2406
- typeof i == "string" && Go(o, i);
2448
+ typeof l == "string" && Yo(o, l);
2407
2449
  break;
2408
2450
  // Color: override style
2409
2451
  case "color":
2410
- r.color = i;
2452
+ r.color = l;
2411
2453
  break;
2412
2454
  // Rotation as string
2413
2455
  case "rotate":
2414
- typeof i == "string" ? o[u] = Ko(i) : typeof i == "number" && (o[u] = i);
2456
+ typeof l == "string" ? o[c] = Qo(l) : typeof l == "number" && (o[c] = l);
2415
2457
  break;
2416
2458
  // Remove aria-hidden
2417
2459
  case "ariaHidden":
2418
2460
  case "aria-hidden":
2419
- i !== !0 && i !== "true" && delete n["aria-hidden"];
2461
+ l !== !0 && l !== "true" && delete n["aria-hidden"];
2420
2462
  break;
2421
2463
  default: {
2422
- const y = V[u];
2423
- y ? (i === !0 || i === "true" || i === 1) && (o[y] = !0) : Ie[u] === void 0 && (n[u] = i);
2464
+ const w = K[c];
2465
+ w ? (l === !0 || l === "true" || l === 1) && (o[w] = !0) : Ne[c] === void 0 && (n[c] = l);
2424
2466
  }
2425
2467
  }
2426
2468
  }
2427
- const d = tn(e, o), s = d.attributes;
2469
+ const d = an(e, o), s = d.attributes;
2428
2470
  if (o.inline && (r.verticalAlign = "-0.125em"), a === "svg") {
2429
2471
  n.style = {
2430
2472
  ...r,
2431
- ...c
2473
+ ...u
2432
2474
  }, Object.assign(n, s);
2433
- let u = 0, i = t.id;
2434
- return typeof i == "string" && (i = i.replace(/-/g, "_")), n.innerHTML = rn(d.body, i ? () => i + "ID" + u++ : "iconifyVue"), P("svg", n);
2475
+ let c = 0, l = t.id;
2476
+ return typeof l == "string" && (l = l.replace(/-/g, "_")), n.innerHTML = un(d.body, l ? () => l + "ID" + c++ : "iconifyVue"), O("svg", n);
2435
2477
  }
2436
- const { body: m, width: h, height: E } = e, T = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), b = sn(m, {
2478
+ const { body: m, width: f, height: E } = e, p = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), C = cn(m, {
2437
2479
  ...s,
2438
- width: h + "",
2480
+ width: f + "",
2439
2481
  height: E + ""
2440
2482
  });
2441
2483
  return n.style = {
2442
2484
  ...r,
2443
- "--svg": cn(b),
2444
- width: Oe(s.width),
2445
- height: Oe(s.height),
2446
- ...mn,
2447
- ...T ? ae : tt,
2448
- ...c
2449
- }, P("span", n);
2450
- }, me = /* @__PURE__ */ Object.create(null);
2451
- function hn(e, t) {
2452
- me[e] = t;
2485
+ "--svg": pn(C),
2486
+ width: Re(s.width),
2487
+ height: Re(s.height),
2488
+ ...fn,
2489
+ ...p ? ie : nt,
2490
+ ...u
2491
+ }, O("span", n);
2492
+ }, he = /* @__PURE__ */ Object.create(null);
2493
+ function yn(e, t) {
2494
+ he[e] = t;
2453
2495
  }
2454
- function Qn(e, t) {
2496
+ function Xn(e, t) {
2455
2497
  const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
2456
- $o(e) && qo(e, (n, a) => {
2457
- a && (me[o + n] = a);
2498
+ Go(e) && $o(e, (n, a) => {
2499
+ a && (he[o + n] = a);
2458
2500
  });
2459
2501
  }
2460
- const Re = L({
2502
+ const Le = B({
2461
2503
  // Do not inherit other attributes: it is handled by render()
2462
2504
  inheritAttrs: !1,
2463
2505
  // Render icon
2464
2506
  render() {
2465
- const e = this.$attrs, t = e.icon, o = typeof t == "string" ? me[t] : typeof t == "object" ? t : null;
2466
- return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : pn({
2467
- ...de,
2507
+ const e = this.$attrs, t = e.icon, o = typeof t == "string" ? he[t] : typeof t == "object" ? t : null;
2508
+ return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : gn({
2509
+ ...pe,
2468
2510
  ...o
2469
2511
  }, e);
2470
2512
  }
2471
- }), fn = L({
2513
+ }), wn = B({
2472
2514
  name: "IconOffline",
2473
- components: { IconifyIcon: Re },
2515
+ components: { IconifyIcon: Le },
2474
2516
  props: {
2475
2517
  icon: {
2476
2518
  default: null
2477
2519
  }
2478
2520
  },
2479
2521
  render() {
2480
- typeof this.icon == "object" && hn(this.icon, this.icon);
2522
+ typeof this.icon == "object" && yn(this.icon, this.icon);
2481
2523
  const e = this.$attrs;
2482
- return P(
2483
- Re,
2524
+ return O(
2525
+ Le,
2484
2526
  {
2485
2527
  icon: this.icon,
2486
2528
  style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
@@ -2492,9 +2534,9 @@ const Re = L({
2492
2534
  );
2493
2535
  }
2494
2536
  });
2495
- L({
2537
+ B({
2496
2538
  name: "IconifyIconOnline",
2497
- components: { IconifyIcon: we },
2539
+ components: { IconifyIcon: Ce },
2498
2540
  props: {
2499
2541
  icon: {
2500
2542
  type: String,
@@ -2503,8 +2545,8 @@ L({
2503
2545
  },
2504
2546
  render() {
2505
2547
  const e = this.$attrs;
2506
- return P(
2507
- we,
2548
+ return O(
2549
+ Ce,
2508
2550
  {
2509
2551
  icon: `${this.icon}`,
2510
2552
  style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
@@ -2516,7 +2558,7 @@ L({
2516
2558
  );
2517
2559
  }
2518
2560
  });
2519
- const gn = L({
2561
+ const bn = B({
2520
2562
  name: "FontIcon",
2521
2563
  props: {
2522
2564
  icon: {
@@ -2526,14 +2568,14 @@ const gn = L({
2526
2568
  },
2527
2569
  render() {
2528
2570
  const e = this.$attrs;
2529
- return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? P(
2571
+ return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? O(
2530
2572
  "i",
2531
2573
  {
2532
2574
  class: "iconfont",
2533
2575
  ...e
2534
2576
  },
2535
2577
  this.icon
2536
- ) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? P(
2578
+ ) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? O(
2537
2579
  "svg",
2538
2580
  {
2539
2581
  class: "icon-svg",
@@ -2541,28 +2583,28 @@ const gn = L({
2541
2583
  },
2542
2584
  {
2543
2585
  default: () => [
2544
- P("use", {
2586
+ O("use", {
2545
2587
  "xlink:href": `#${this.icon}`
2546
2588
  })
2547
2589
  ]
2548
2590
  }
2549
- ) : P("i", {
2591
+ ) : O("i", {
2550
2592
  class: `iconfont ${this.icon}`,
2551
2593
  ...e
2552
2594
  });
2553
2595
  }
2554
- }), yn = fn, wn = gn, bn = {
2596
+ }), Cn = wn, vn = bn, Tn = {
2555
2597
  mounted(e, t) {
2556
2598
  var n;
2557
2599
  const { value: o } = t;
2558
2600
  if (o) {
2559
- const r = `${(n = f.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
2560
- C().getButtonAuth.includes(r) || e.parentNode.removeChild(e);
2601
+ const r = `${(n = g.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
2602
+ T().getButtonAuth.includes(r) || e.parentNode.removeChild(e);
2561
2603
  } else
2562
2604
  throw new Error(`need roles! Like v-auth="['admin','test']"`);
2563
2605
  }
2564
2606
  };
2565
- function Cn(e) {
2607
+ function En(e) {
2566
2608
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
2567
2609
  var n = e.get(t);
2568
2610
  n ? n.push(o) : e.set(t, [o]);
@@ -2578,38 +2620,38 @@ function Cn(e) {
2578
2620
  });
2579
2621
  } };
2580
2622
  }
2581
- const vn = Cn(), Le = St({
2623
+ const Sn = En(), Ae = St({
2582
2624
  strategy: "scroll"
2583
- }), Tn = {
2625
+ }), Dn = {
2584
2626
  mounted(e, t, o) {
2585
- Le.listenTo(e, (n) => {
2627
+ Ae.listenTo(e, (n) => {
2586
2628
  const a = n.offsetWidth, r = n.offsetHeight;
2587
- t != null && t.instance ? vn.emit("resize", { detail: { width: a, height: r } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: r } }));
2629
+ t != null && t.instance ? Sn.emit("resize", { detail: { width: a, height: r } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: r } }));
2588
2630
  });
2589
2631
  },
2590
2632
  unmounted(e) {
2591
- Le.uninstall(e);
2633
+ Ae.uninstall(e);
2592
2634
  }
2593
- }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2635
+ }, Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2594
2636
  __proto__: null,
2595
- auth: bn,
2596
- resize: Tn
2597
- }, Symbol.toStringTag, { value: "Module" })), v = st(Ut);
2598
- v.use(Et, {
2637
+ auth: Tn,
2638
+ resize: Dn
2639
+ }, Symbol.toStringTag, { value: "Module" })), S = lt(zt);
2640
+ S.use(Et, {
2599
2641
  defaultProps: { animation: "perspective" }
2600
2642
  });
2601
- const En = (e) => {
2602
- e.config.globalProperties.$hasAuthority = jo, e.config.globalProperties.$serviceApi = K(), e.config.globalProperties.$url = I(), window.$i18n = We;
2603
- }, Sn = (e) => {
2604
- Object.keys(Ae).forEach((t) => {
2605
- e.directive(t, Ae[t]);
2643
+ const kn = (e) => {
2644
+ e.config.globalProperties.$hasAuthority = _o, e.config.globalProperties.$serviceApi = Q(), e.config.globalProperties.$url = N(), window.$i18n = Ke;
2645
+ }, Fn = (e) => {
2646
+ Object.keys(Be).forEach((t) => {
2647
+ e.directive(t, Be[t]);
2606
2648
  });
2607
- }, Zn = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: r }) => (So(n, e), v.use(e), Lt(e), Ot(v, t), Rt(a), xo(r), new Promise((l) => {
2608
- no(v, o), v.component("IconifyIconOffline", yn), v.component("FontIcon", wn), v.use(Tt, { defaultOptions: { zIndex: 9999 } }), En(v), At(I()), Sn(v), _t(v), Bo(v, t), l({ app: v, router: e });
2649
+ }, ea = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: r }) => (ko(n, e), S.use(e), Rt(e), Mt(S, t), Ot(a), Po(r), new Promise((i) => {
2650
+ no(S, o), S.component("IconifyIconOffline", Cn), S.component("FontIcon", vn), kn(S), Lt(N()), Fn(S), _t(S), zo(S, t), i({ app: S, router: e });
2609
2651
  }));
2610
- function kn() {
2611
- const { $storage: e, $config: t } = Ue(), o = () => {
2612
- Qe().multiTagsCache && (!e.tags || e.tags.length === 0) && (e.tags = U), e != null && e.locale || (je().locale.value = (t == null ? void 0 : t.Locale) ?? "zh"), e && !(e != null && e.layout) && (e.layout = {
2652
+ function xn() {
2653
+ const { $storage: e, $config: t } = qe(), o = () => {
2654
+ Xe().multiTagsCache && (!e.tags || e.tags.length === 0) && (e.tags = V), e != null && e.locale || (ze().locale.value = (t == null ? void 0 : t.Locale) ?? "zh"), e && !(e != null && e.layout) && (e.layout = {
2613
2655
  layout: (t == null ? void 0 : t.Layout) ?? "vertical",
2614
2656
  theme: (t == null ? void 0 : t.Theme) ?? "default",
2615
2657
  darkMode: (t == null ? void 0 : t.DarkMode) ?? !1,
@@ -2624,25 +2666,25 @@ function kn() {
2624
2666
  showModel: (t == null ? void 0 : t.ShowModel) ?? "smart",
2625
2667
  multiTagsCache: (t == null ? void 0 : t.MultiTagsCache) ?? !1
2626
2668
  });
2627
- }, n = fe(() => e == null ? void 0 : e.layout.layout), a = fe(() => e == null ? void 0 : e.layout);
2669
+ }, n = ye(() => e == null ? void 0 : e.layout.layout), a = ye(() => e == null ? void 0 : e.layout);
2628
2670
  return {
2629
2671
  layout: n,
2630
2672
  layoutTheme: a,
2631
2673
  initStorage: o
2632
2674
  };
2633
2675
  }
2634
- const Fn = z("udp-app", {
2676
+ const In = q("udp-app", {
2635
2677
  state: () => {
2636
2678
  var e, t;
2637
2679
  return {
2638
2680
  sidebar: {
2639
- opened: ((e = p.getItem(`${w()}layout`)) == null ? void 0 : e.sidebarStatus) ?? k().SidebarStatus,
2681
+ opened: ((e = h.getItem(`${b()}layout`)) == null ? void 0 : e.sidebarStatus) ?? F().SidebarStatus,
2640
2682
  withoutAnimation: !1,
2641
2683
  isClickCollapse: !1
2642
2684
  },
2643
2685
  // 这里的layout用于监听容器拖拉后恢复对应的导航模式
2644
- layout: ((t = p.getItem(`${w()}layout`)) == null ? void 0 : t.layout) ?? k().Layout,
2645
- device: mt() ? "mobile" : "desktop"
2686
+ layout: ((t = h.getItem(`${b()}layout`)) == null ? void 0 : t.layout) ?? F().Layout,
2687
+ device: ht() ? "mobile" : "desktop"
2646
2688
  };
2647
2689
  },
2648
2690
  getters: {
@@ -2655,8 +2697,8 @@ const Fn = z("udp-app", {
2655
2697
  },
2656
2698
  actions: {
2657
2699
  TOGGLE_SIDEBAR(e, t) {
2658
- const o = p.getItem(`${w()}layout`);
2659
- o && (e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !0, o.sidebarStatus = !0) : !e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !1, o.sidebarStatus = !1) : !e && !t && (this.sidebar.withoutAnimation = !1, this.sidebar.opened = !this.sidebar.opened, this.sidebar.isClickCollapse = !this.sidebar.opened, o.sidebarStatus = this.sidebar.opened), p.setItem(`${w()}layout`, o));
2700
+ const o = h.getItem(`${b()}layout`);
2701
+ o && (e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !0, o.sidebarStatus = !0) : !e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !1, o.sidebarStatus = !1) : !e && !t && (this.sidebar.withoutAnimation = !1, this.sidebar.opened = !this.sidebar.opened, this.sidebar.isClickCollapse = !this.sidebar.opened, o.sidebarStatus = this.sidebar.opened), h.setItem(`${b()}layout`, o));
2660
2702
  },
2661
2703
  async toggleSideBar(e, t) {
2662
2704
  await this.TOGGLE_SIDEBAR(e, t);
@@ -2669,15 +2711,15 @@ const Fn = z("udp-app", {
2669
2711
  }
2670
2712
  }
2671
2713
  });
2672
- function Dn() {
2673
- return Fn(A);
2714
+ function Pn() {
2715
+ return In(j);
2674
2716
  }
2675
- const xn = z("udp-epTheme", {
2717
+ const Nn = q("udp-epTheme", {
2676
2718
  state: () => {
2677
2719
  var e, t;
2678
2720
  return {
2679
- epThemeColor: ((e = p.getItem(`${w()}-layout`)) == null ? void 0 : e.epThemeColor) ?? k().EpThemeColor,
2680
- epTheme: ((t = p.getItem(`${w()}-layout`)) == null ? void 0 : t.theme) ?? k().Theme
2721
+ epThemeColor: ((e = h.getItem(`${b()}-layout`)) == null ? void 0 : e.epThemeColor) ?? F().EpThemeColor,
2722
+ epTheme: ((t = h.getItem(`${b()}-layout`)) == null ? void 0 : t.theme) ?? F().Theme
2681
2723
  };
2682
2724
  },
2683
2725
  getters: {
@@ -2691,17 +2733,17 @@ const xn = z("udp-epTheme", {
2691
2733
  },
2692
2734
  actions: {
2693
2735
  setEpThemeColor(e) {
2694
- const t = p.getItem(`${w()}layout`);
2695
- this.epTheme = t == null ? void 0 : t.theme, this.epThemeColor = e, t && (t.epThemeColor = e, p.setItem(`${w()}layout`, t));
2736
+ const t = h.getItem(`${b()}layout`);
2737
+ this.epTheme = t == null ? void 0 : t.theme, this.epThemeColor = e, t && (t.epThemeColor = e, h.setItem(`${b()}layout`, t));
2696
2738
  }
2697
2739
  }
2698
2740
  });
2699
- function X() {
2700
- return xn(A);
2741
+ function oe() {
2742
+ return Nn(j);
2701
2743
  }
2702
- function Xn() {
2703
- var T, b;
2704
- const { layoutTheme: e, layout: t } = kn(), o = Y([
2744
+ function ta() {
2745
+ var p, C;
2746
+ const { layoutTheme: e, layout: t } = xn(), o = X([
2705
2747
  /* 道奇蓝(默认) */
2706
2748
  { color: "#1b2a47", themeColor: "default" },
2707
2749
  /* 亮白色 */
@@ -2720,103 +2762,103 @@ function Xn() {
2720
2762
  { color: "#eb2f96", themeColor: "pink" },
2721
2763
  /* 深紫罗兰色 */
2722
2764
  { color: "#722ed1", themeColor: "saucePurple" }
2723
- ]), { $storage: n } = Ue(), a = Y((T = n == null ? void 0 : n.layout) == null ? void 0 : T.darkMode), r = Y((b = n == null ? void 0 : n.layout) == null ? void 0 : b.overallStyle), l = document.documentElement;
2724
- function c(u, i, y) {
2725
- const D = y || document.body;
2726
- let { className: g } = D;
2727
- g = g.replace(i, "").trim(), D.className = u ? `${g} ${i}` : g;
2765
+ ]), { $storage: n } = qe(), a = X((p = n == null ? void 0 : n.layout) == null ? void 0 : p.darkMode), r = X((C = n == null ? void 0 : n.layout) == null ? void 0 : C.overallStyle), i = document.documentElement;
2766
+ function u(c, l, w) {
2767
+ const I = w || document.body;
2768
+ let { className: y } = I;
2769
+ y = y.replace(l, "").trim(), I.className = c ? `${y} ${l}` : y;
2728
2770
  }
2729
- function d(u = k().Theme ?? "default") {
2730
- var i, y;
2731
- if (e.value.theme = u, document.documentElement.setAttribute("data-theme", u), document.documentElement.className = "", document.documentElement.classList.add(`layout-theme-${u}`), n.layout = {
2771
+ function d(c = F().Theme ?? "default") {
2772
+ var l, w;
2773
+ if (e.value.theme = c, document.documentElement.setAttribute("data-theme", c), document.documentElement.className = "", document.documentElement.classList.add(`layout-theme-${c}`), n.layout = {
2732
2774
  layout: t.value,
2733
- theme: u,
2775
+ theme: c,
2734
2776
  darkMode: a.value,
2735
- sidebarStatus: (i = n.layout) == null ? void 0 : i.sidebarStatus,
2736
- epThemeColor: (y = n.layout) == null ? void 0 : y.epThemeColor,
2777
+ sidebarStatus: (l = n.layout) == null ? void 0 : l.sidebarStatus,
2778
+ epThemeColor: (w = n.layout) == null ? void 0 : w.epThemeColor,
2737
2779
  overallStyle: r.value
2738
- }, u === "default" || u === "light")
2739
- m(k().EpThemeColor || "#409EFF");
2780
+ }, c === "default" || c === "light")
2781
+ m(F().EpThemeColor || "#409EFF");
2740
2782
  else {
2741
- const D = o.value.find((g) => g.themeColor === u);
2742
- m(D.color);
2783
+ const I = o.value.find((y) => y.themeColor === c);
2784
+ m(I.color);
2743
2785
  }
2744
2786
  }
2745
- function s(u, i, y) {
2787
+ function s(c, l, w) {
2746
2788
  document.documentElement.style.setProperty(
2747
- `--el-color-primary-${u}-${i}`,
2748
- a.value ? $t(y, i / 10) : Vt(y, i / 10)
2789
+ `--el-color-primary-${c}-${l}`,
2790
+ a.value ? Ht(w, l / 10) : $t(w, l / 10)
2749
2791
  );
2750
2792
  }
2751
- const m = (u) => {
2752
- X().setEpThemeColor(u), document.documentElement.style.setProperty("--el-color-primary", u);
2753
- for (let i = 1; i <= 2; i++)
2754
- s("dark", i, u);
2755
- for (let i = 1; i <= 9; i++)
2756
- s("light", i, u);
2793
+ const m = (c) => {
2794
+ oe().setEpThemeColor(c), document.documentElement.style.setProperty("--el-color-primary", c);
2795
+ for (let l = 1; l <= 2; l++)
2796
+ s("dark", l, c);
2797
+ for (let l = 1; l <= 9; l++)
2798
+ s("light", l, c);
2757
2799
  };
2758
- function h(u) {
2759
- r.value = u, X().epTheme === "light" && a.value ? d("default") : d(X().epTheme), Io(a.value ? "dark" : "light"), a.value ? (document.documentElement.classList.add("dark"), document.documentElement.classList.remove("default")) : (document.documentElement.classList.add("default"), document.documentElement.classList.remove("dark"));
2800
+ function f(c) {
2801
+ r.value = c, oe().epTheme === "light" && a.value ? d("default") : d(oe().epTheme), No(a.value ? "dark" : "light"), a.value ? (document.documentElement.classList.add("dark"), document.documentElement.classList.remove("default")) : (document.documentElement.classList.add("default"), document.documentElement.classList.remove("dark"));
2760
2802
  }
2761
2803
  function E() {
2762
- M.remove(Nt), M.remove(It), M.remove(qe), p.clear(), pt.clear();
2763
- const { Grey: u, Weak: i, MultiTagsCache: y, EpThemeColor: D, Layout: g } = k();
2764
- Dn().setLayout(g), m(D), F().multiTagsCacheChange(y), c(u, "html-grey", document.querySelector("html")), c(i, "html-weakness", document.querySelector("html")), f.push("/login"), F().handleTags("equal", [...U]), Eo();
2804
+ U.remove(Pt), U.remove(It), U.remove(He), h.clear(), ft.clear();
2805
+ const { Grey: c, Weak: l, MultiTagsCache: w, EpThemeColor: I, Layout: y } = F();
2806
+ Pn().setLayout(y), m(I), x().multiTagsCacheChange(w), u(c, "html-grey", document.querySelector("html")), u(l, "html-weakness", document.querySelector("html")), g.push("/login"), x().handleTags("equal", [...V]), Do();
2765
2807
  }
2766
2808
  return {
2767
- body: l,
2809
+ body: i,
2768
2810
  overallStyle: r,
2769
2811
  dataTheme: a,
2770
2812
  layoutTheme: e,
2771
2813
  themeColors: o,
2772
2814
  onReset: E,
2773
- toggleClass: c,
2774
- dataThemeChange: h,
2815
+ toggleClass: u,
2816
+ dataThemeChange: f,
2775
2817
  setEpThemeColor: m,
2776
2818
  setLayoutThemeColor: d
2777
2819
  };
2778
2820
  }
2779
2821
  export {
2780
- kn as A,
2781
- I as B,
2782
- Wn as C,
2822
+ xn as A,
2823
+ N as B,
2824
+ Kn as C,
2783
2825
  io as D,
2784
- Hn as E,
2785
- wn as F,
2786
- qn as G,
2787
- $n as H,
2788
- yn as I,
2789
- Zn as J,
2790
- jo as K,
2826
+ $n as E,
2827
+ vn as F,
2828
+ Hn as G,
2829
+ Wn as H,
2830
+ Cn as I,
2831
+ ea as J,
2832
+ _o as K,
2791
2833
  qt as L,
2792
- Yn as M,
2793
- Kn as N,
2794
- Gn as O,
2834
+ Zn as M,
2835
+ Yn as N,
2836
+ Jn as O,
2795
2837
  jt as _,
2796
- Qn as a,
2797
- hn as b,
2798
- F as c,
2799
- Vn as d,
2800
- Dn as e,
2801
- Ke as f,
2802
- k as g,
2803
- C as h,
2804
- $ as i,
2805
- vn as j,
2806
- Pt as k,
2807
- be as l,
2808
- U as m,
2809
- Nt as n,
2838
+ Xn as a,
2839
+ yn as b,
2840
+ x as c,
2841
+ Gn as d,
2842
+ Pn as e,
2843
+ Ye as f,
2844
+ F as g,
2845
+ T as h,
2846
+ G as i,
2847
+ Sn as j,
2848
+ Nt as k,
2849
+ ve as l,
2850
+ V as m,
2851
+ Pt as n,
2810
2852
  It as o,
2811
- qe as p,
2812
- Eo as q,
2813
- f as r,
2814
- A as s,
2815
- We as t,
2816
- X as u,
2817
- Jn as v,
2818
- K as w,
2819
- w as x,
2853
+ He as p,
2854
+ Do as q,
2855
+ g as r,
2856
+ j as s,
2857
+ Ke as t,
2858
+ oe as u,
2859
+ Qn as v,
2860
+ Q as w,
2861
+ b as x,
2820
2862
  ho as y,
2821
- Xn as z
2863
+ ta as z
2822
2864
  };