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

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 (71) hide show
  1. package/dist/{403-DpJevH-h.js → 403-RBzulrcG.js} +1 -1
  2. package/dist/{404-BpqJK3YD.js → 404-DX-dU_6C.js} +1 -1
  3. package/dist/{500-DyvRbMD_.js → 500-BCTk0__d.js} +1 -1
  4. package/dist/{AuthorityInfo-Cyu4XHXx.js → AuthorityInfo-BADTOenq.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BxmnEEFq.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js} +3 -3
  6. package/dist/{Company-BLygcYrI.js → Company-B-61KrWd.js} +3 -3
  7. package/dist/{CompanyPanel-D5Tgw6LF.js → CompanyPanel-CawSrEff.js} +10 -10
  8. package/dist/{Department-qI9OninZ.js → Department-CrzJPtvP.js} +3 -3
  9. package/dist/{DepartmentPanel-P-P8fPZQ.js → DepartmentPanel-DYuL8H-j.js} +23 -23
  10. package/dist/{DesignPanel-BxjD0AZi.js → DesignPanel-DEAv6V68.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DN_OKxCu.js → DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js} +6 -6
  12. package/dist/{DictView-PWL_Vf0T.js → DictView-BuO-2b-c.js} +15 -16
  13. package/dist/{InvOrganization-JXBXyn3G.js → InvOrganization-CBgKBJAn.js} +1 -1
  14. package/dist/{Org-DcTJn6YQ.js → Org-BaQw2r-o.js} +3 -3
  15. package/dist/{Preview-IKvbHI8a.js → Preview-DvCrmKNk.js} +1 -1
  16. package/dist/{ReportDefine-_G7ts7Ch.js → ReportDefine-DyhWz0as.js} +1 -1
  17. package/dist/{ReportDesign-7h5oFklh.js → ReportDesign-DgZ2f2zv.js} +9 -9
  18. package/dist/{ReportQuery-dj0BQUyi.js → ReportQuery-DTZYbCDi.js} +1 -1
  19. package/dist/{ReportQueryFrom-6WaZPg9i.js → ReportQueryFrom-B-vtJegP.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-ChhcBPqa.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js} +1 -1
  21. package/dist/{ReportTemplate-DIvJ3RrB.js → ReportTemplate-DA1ZqKGf.js} +11 -11
  22. package/dist/{Role-ia_3qAZU.js → Role-mbqoav5t.js} +3 -3
  23. package/dist/{RoleAssign-D0zVl4y3.js → RoleAssign-ltEJIEcr.js} +3 -3
  24. package/dist/{RolePanel-CQxOiAzj.js → RolePanel-1g1a-G8D.js} +1 -1
  25. package/dist/{RolePanel-BiGGmP2w.js → RolePanel-u90v9eS0.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BYDLRS_x.js → RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Dwv5LFbf.js → RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js} +9 -9
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-gPP4duO8.js → ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js} +8 -8
  29. package/dist/{Staff-Bf_oUqF6.js → Staff-CJ2GgCL3.js} +3 -3
  30. package/dist/{StaffInfo-D5aisjx2.js → StaffInfo-3KkodDCK.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-6PX7Bx6A.js → StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js} +7 -7
  32. package/dist/{StaffPanel--zKzd4rt.js → StaffPanel-DoXPSoY5.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BWZSIFpq.js → StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js} +2 -2
  34. package/dist/{SysUser-BelbESLR.js → SysUser-BuIZhMPh.js} +2 -2
  35. package/dist/{SysUserPanel-BixKqQcA.js → SysUserPanel-t1GJcJGM.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BhaWZEfo.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js} +6 -6
  37. package/dist/{SystemMenu-D40tzcSj.js → SystemMenu-DuLEL6_l.js} +10 -10
  38. package/dist/{UserInfo-DTyk071j.js → UserInfo-WWby4lts.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-p9MByikC.js → UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js} +10 -10
  40. package/dist/{childView-so5qSxr0.js → childView-B0-EAoAi.js} +1 -1
  41. package/dist/{childView-xL3iE1yN.js → childView-IYY4L8VK.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-DK1ei5uM.js → childView.vue_vue_type_style_index_0_lang-B56v6yK7.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CKcXpSqa.js → childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js} +6 -6
  44. package/dist/{code-rule-DC35y76w.js → code-rule-DDLdi3pP.js} +6 -6
  45. package/dist/core.es.js +17 -12
  46. package/dist/{cron-task-BhjQ4S68.js → cron-task-p3-AFN1w.js} +11 -11
  47. package/dist/{frameView-G_zhG9pf.js → frameView-B_WAZErD.js} +1 -1
  48. package/dist/{index-C6ehxLLO.js → index-24fnvUBy.js} +741 -540
  49. package/dist/{layoutView-CO2U8qCQ.js → layoutView-CoEp2afn.js} +25 -27
  50. package/dist/login-DP0oP70W.js +249 -0
  51. package/dist/{lov-view-Cr929NMD.js → lov-view-BDoZRK-v.js} +5 -5
  52. package/dist/{menuInfo-BWuROp7u.js → menuInfo-5Xls76qB.js} +1 -1
  53. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-9nouHUjO.js → menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js} +7 -7
  54. package/dist/{pda-app-CQP1sMAI.js → pda-app-DxGYn4G7.js} +18 -18
  55. package/dist/{resource-BDQLrMpK.js → resource-BnYWe_-Q.js} +7 -7
  56. package/dist/{su-welcome-CZysrZQ1.js → su-welcome-B2rNhhDH.js} +88 -88
  57. package/dist/{sys-config-BiGNMYSA.js → sys-config-Bb4WkxZK.js} +6 -6
  58. package/dist/udp-core.css +2 -2
  59. package/dist/utogether-MlnyYtNS.js +4 -0
  60. package/index.ts +12 -4
  61. package/package.json +1 -1
  62. package/src/layout/hooks/useTag.ts +221 -233
  63. package/src/main.ts +114 -113
  64. package/src/style/login.css +336 -336
  65. package/src/style/vxetable.scss +13 -0
  66. package/src/utils/index.ts +3 -1
  67. package/src/views/udev/dict/DictView.vue +2 -2
  68. package/src/views/ulogin/login.vue +323 -323
  69. package/types/global.d.ts +230 -236
  70. package/dist/login-DzyK2soP.js +0 -278
  71. package/dist/utogether-BRirriOz.js +0 -182
@@ -1,18 +1,18 @@
1
- import * as Ae from "vue";
2
- import { defineComponent as A, resolveComponent as J, createBlock as We, openBlock as Ge, withCtx as Ye, createVNode as Re, toRaw as ce, isProxy as de, defineAsyncComponent as Qe, h as k, createApp as Ze } from "vue";
3
- import { ElConfigProvider as me } from "element-plus";
4
- import { checkVersion as Xe } from "version-rocket";
5
- import { useI18n as et, createI18n as tt } from "vue-i18n";
6
- import { http as v, storageLocal as g, cookies as Oe, buildHierarchyTree as Z, dbstorage as V, isUrl as Le, openLink as ot, NProgress as nt, VxetableRender as at } from "@utogether/utils";
7
- import { merge as X, clone as R, debounce as rt, findLastIndexOf as st, isBoolean as it, isEqual as pe, findIndexOf as ut, isEmpty as lt, isArray as ct } from "xe-utils";
8
- import { createPinia as dt, defineStore as ee } from "pinia";
9
- import { useTimeoutFn as mt } from "@vueuse/core";
10
- import Me, { VxeUI as te } from "vxe-table";
11
- import pt from "v-viewer";
12
- import { Icon as he } from "@iconify/vue";
13
- import ht from "vue-tippy";
14
- import gt from "element-resize-detector";
15
- var ft = {
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";
13
+ import Et from "vue-tippy";
14
+ import St from "element-resize-detector";
15
+ var kt = {
16
16
  name: "en",
17
17
  el: {
18
18
  breadcrumb: {
@@ -190,7 +190,7 @@ var ft = {
190
190
  indicator: "Carousel switch to index {index}"
191
191
  }
192
192
  }
193
- }, yt = {
193
+ }, Ft = {
194
194
  name: "zh-cn",
195
195
  el: {
196
196
  breadcrumb: {
@@ -368,40 +368,40 @@ var ft = {
368
368
  }
369
369
  }
370
370
  };
371
- const wt = "menu_zh", bt = "menu_en", Dn = "authorized-token", kn = "kCookies_token", vt = "kSysConfig", Ct = "loginer";
372
- let W = {}, Be = {};
373
- const Et = (e, t) => {
374
- W = Object.assign(W, t), e.config.globalProperties.$config = oe();
375
- }, oe = () => W, Tt = (e = {}) => {
376
- Be = e;
377
- }, ge = () => Be, F = () => oe().ResponsiveStorageNameSpace, $ = () => ({
378
- post: (e, t, o) => v.post(`${C()}${e}`, t, o),
379
- get: (e, t, o) => v.get(`${C()}${e}`, t, o),
380
- put: (e, t) => v.put(`${C()}${e}`, t),
381
- delete: (e, t) => v.delete(`${C()}${e}`, t)
382
- }), St = (e) => {
383
- v.setRouter(e);
384
- }, Ft = (e) => {
385
- v.setBaseUrl(e);
386
- }, Dt = window.location.origin + "/gateway", C = () => ge().VITE_BASE_URL === "origin" ? Dt : ge().VITE_BASE_URL, kt = A({
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({
387
387
  name: "app",
388
388
  components: {
389
- [me.name]: me
389
+ [ge.name]: ge
390
390
  },
391
391
  beforeRouteEnter(e, t, o) {
392
- $().get("/upfm/v1/sysConfig", {}).then((n) => {
392
+ K().get("/upfm/v1/sysConfig", {}).then((n) => {
393
393
  o();
394
394
  });
395
395
  },
396
396
  computed: {
397
397
  currentLocale() {
398
398
  var e, t;
399
- return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? yt : ft;
399
+ return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? Ft : kt;
400
400
  }
401
401
  },
402
402
  beforeCreate() {
403
- const { t: e } = et(), n = (g.getItem(vt) || { title: "U-DP" }).title;
404
- Xe(
403
+ const { t: e } = je(), n = (p.getItem(Pt) || { title: "U-DP" }).title;
404
+ it(
405
405
  {
406
406
  pollingTime: 3e5,
407
407
  checkOriginSpecifiedFilesUrl: [`${location.origin}/index.html`],
@@ -415,30 +415,30 @@ const Et = (e, t) => {
415
415
  }
416
416
  );
417
417
  }
418
- }), xt = (e, t) => {
418
+ }), jt = (e, t) => {
419
419
  const o = e.__vccOpts || e;
420
420
  for (const [n, a] of t)
421
421
  o[n] = a;
422
422
  return o;
423
423
  };
424
- function It(e, t, o, n, a, r) {
425
- const i = J("router-view"), u = J("el-config-provider");
426
- return Ge(), We(u, {
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, {
427
427
  size: "small",
428
428
  "z-index": 5555,
429
429
  locale: e.currentLocale
430
430
  }, {
431
- default: Ye(() => [
432
- Re(i)
431
+ default: at(() => [
432
+ Be(l)
433
433
  ]),
434
434
  _: 1
435
435
  }, 8, ["locale"]);
436
436
  }
437
- const Nt = /* @__PURE__ */ xt(kt, [["render", It]]), q = dt();
438
- function Pt(e) {
439
- e.use(q);
437
+ const Ut = /* @__PURE__ */ jt(Bt, [["render", zt]]), A = Ct();
438
+ function _t(e) {
439
+ e.use(A);
440
440
  }
441
- const ne = [
441
+ const U = [
442
442
  {
443
443
  path: "/welcome",
444
444
  meta: {
@@ -446,29 +446,66 @@ const ne = [
446
446
  icon: "home-filled"
447
447
  }
448
448
  }
449
- ], At = (e, t) => {
449
+ ], qn = (e) => {
450
+ const t = e.indexOf("windows nt 5.1") > -1 || e.indexOf("windows xp") > -1;
451
+ if (e.indexOf("windows xp") > -1, t) return "WinXP";
452
+ if (e.indexOf("windows nt 6.1") > -1 || e.indexOf("windows 7") > -1) return "Win7";
453
+ if (e.indexOf("windows nt6.2") > -1 || e.indexOf("windows 8") > -1) return "Win8";
454
+ if (e.indexOf("windows nt 10.0") > -1 || e.indexOf("windows 10") > -1) return "Win10";
455
+ }, Hn = (e) => {
456
+ let t = null;
457
+ const o = {
458
+ Chrome: e.indexOf("chrome") > -1 && e.indexOf("safari") > -1,
459
+ // Chrome浏览器
460
+ Firefox: e.indexOf("firefox") > -1,
461
+ // 火狐浏览器
462
+ Opera: e.indexOf("opera") > -1,
463
+ // Opera浏览器
464
+ Safari: e.indexOf("safari") > -1 && e.indexOf("chrome") == -1,
465
+ // safari浏览器
466
+ Edge: e.indexOf("edg") > -1,
467
+ // Edge浏览器
468
+ MetaSr: e.indexOf("metaSr") > -1,
469
+ // 搜狗浏览器
470
+ QQBrowser: /qqbrowser/.test(e),
471
+ // qq浏览器
472
+ WeixinBrowser: /MicroMessenger/i.test(e)
473
+ // 微信浏览器
474
+ };
475
+ let n = "";
476
+ for (const a in o)
477
+ o[a] && (n = e.match(/chrome\/([\d.]+)/)[1], t = a);
478
+ return { browser: t, browserVersion: n };
479
+ }, qt = {
480
+ onLogined: () => {
481
+ },
482
+ onBeforeLogout: () => {
483
+ }
484
+ }, $n = () => {
485
+ qt.onLogined();
486
+ }, Ht = (e, t) => {
450
487
  const o = [];
451
488
  for (const n of e)
452
489
  n[t] && o.push(n[t]);
453
490
  return Array.from(new Set(o));
454
- }, ze = (e) => {
491
+ }, $e = (e) => {
455
492
  const t = e.replace("#", "").match(/../g);
456
493
  for (let o = 0; o < 3; o++) t[o] = parseInt(t[o], 16);
457
494
  return t;
458
- }, je = (e, t, o) => {
495
+ }, Ve = (e, t, o) => {
459
496
  const n = [e.toString(16), t.toString(16), o.toString(16)];
460
497
  for (let a = 0; a < 3; a++)
461
498
  n[a].length == 1 && (n[a] = `0${n[a]}`);
462
499
  return `#${n.join("")}`;
463
- }, xn = (e, t) => {
464
- const o = ze(e);
500
+ }, $t = (e, t) => {
501
+ const o = $e(e);
465
502
  for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
466
- return je(o[0], o[1], o[2]);
467
- }, In = (e, t) => {
468
- const o = ze(e);
503
+ return Ve(o[0], o[1], o[2]);
504
+ }, Vt = (e, t) => {
505
+ const o = $e(e);
469
506
  for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
470
- return je(o[0], o[1], o[2]);
471
- }, fe = {
507
+ return Ve(o[0], o[1], o[2]);
508
+ }, Ce = {
472
509
  zh: {
473
510
  message: {
474
511
  reportCode: "报表编号",
@@ -518,13 +555,13 @@ const ne = [
518
555
  isRequired: "Required"
519
556
  }
520
557
  }
521
- }, Rt = {
522
- zh: { ...fe.zh.message },
523
- en: { ...fe.en.message }
524
- }, Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
558
+ }, Wt = {
559
+ zh: { ...Ce.zh.message },
560
+ en: { ...Ce.en.message }
561
+ }, Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
525
562
  __proto__: null,
526
- default: Rt
527
- }, Symbol.toStringTag, { value: "Module" })), Lt = {
563
+ default: Wt
564
+ }, Symbol.toStringTag, { value: "Module" })), Kt = {
528
565
  zh: {
529
566
  message: {
530
567
  taskName: "任务名称",
@@ -553,7 +590,7 @@ const ne = [
553
590
  actuatorAddress: "Actuator Adress"
554
591
  }
555
592
  }
556
- }, Mt = {
593
+ }, Jt = {
557
594
  zh: {
558
595
  message: {
559
596
  flowId: "流程标识",
@@ -574,17 +611,17 @@ const ne = [
574
611
  flowDesign: "Flow Design"
575
612
  }
576
613
  }
577
- }, ye = [Lt, Mt], Bt = {
614
+ }, ve = [Kt, Jt], Yt = {
578
615
  zh: {
579
- ...Object.assign({}, ...ye.map((e) => e.zh.message))
616
+ ...Object.assign({}, ...ve.map((e) => e.zh.message))
580
617
  },
581
618
  en: {
582
- ...Object.assign({}, ...ye.map((e) => e.en.message))
619
+ ...Object.assign({}, ...ve.map((e) => e.en.message))
583
620
  }
584
- }, zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
621
+ }, Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
585
622
  __proto__: null,
586
- default: Bt
587
- }, Symbol.toStringTag, { value: "Module" })), jt = {
623
+ default: Yt
624
+ }, Symbol.toStringTag, { value: "Module" })), Zt = {
588
625
  zh: {
589
626
  message: {
590
627
  msgtemplateCode: "模板代码",
@@ -604,10 +641,10 @@ const ne = [
604
641
  xx: "xxx"
605
642
  }
606
643
  }
607
- }, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
644
+ }, Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
608
645
  __proto__: null,
609
- default: jt
610
- }, Symbol.toStringTag, { value: "Module" })), _t = {
646
+ default: Zt
647
+ }, Symbol.toStringTag, { value: "Module" })), eo = {
611
648
  udp: {
612
649
  dark: "深色",
613
650
  light: "浅色",
@@ -942,7 +979,7 @@ const ne = [
942
979
  lovColConfig: "值集列配置",
943
980
  sequenceInfo: "{name}单据序列配置"
944
981
  }
945
- }, $t = {
982
+ }, to = {
946
983
  udp: {
947
984
  dark: "深色",
948
985
  light: "浅色",
@@ -1224,41 +1261,41 @@ const ne = [
1224
1261
  dictDispose: "dictDispose",
1225
1262
  isSearch: "isSearch",
1226
1263
  isCol: "isCol"
1227
- }, we = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": Ot, "./module/u-workflow.ts": zt, "./module/umsg.ts": Ut }), M = {};
1228
- for (const e in we)
1229
- M[e.replace(/(\.\/module\/|\.ts)/g, "")] = we[e].default;
1230
- const be = Object.keys(M).filter((e) => M[e]).map((e) => M[e]), qt = {
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 = {
1231
1268
  zh: {
1232
- ...g.getItem(wt),
1233
- message: X(_t, ...be.map((e) => e.zh.message))
1269
+ ...p.getItem(Dt),
1270
+ message: se(eo, ...Ee.map((e) => e.zh.message))
1234
1271
  },
1235
1272
  en: {
1236
- ...g.getItem(bt),
1237
- message: Object.assign($t, ...be.map((e) => e.en.message))
1273
+ ...p.getItem(xt),
1274
+ message: Object.assign(to, ...Ee.map((e) => e.en.message))
1238
1275
  }
1239
1276
  };
1240
- let P = null;
1241
- function Ht(e, t = { messages: {} }) {
1277
+ let R = null;
1278
+ function no(e, t = { messages: {} }) {
1242
1279
  var o;
1243
- P = tt({
1280
+ R = lt({
1244
1281
  legacy: !1,
1245
- locale: ((o = g.getItem(`${F()}locale`)) == null ? void 0 : o.locale) ?? "zh",
1282
+ locale: ((o = p.getItem(`${w()}locale`)) == null ? void 0 : o.locale) ?? "zh",
1246
1283
  fallbackLocale: "en",
1247
1284
  globalInjection: !0,
1248
- messages: X(qt, t.messages)
1249
- }), te.setLanguage("zh-CN"), e.use(P);
1285
+ messages: se(oo, t.messages)
1286
+ }), ie.setLanguage("zh-CN"), e.use(R);
1250
1287
  }
1251
- const B = () => P;
1252
- function Vt(e = "", t = !0) {
1288
+ const H = () => R;
1289
+ function We(e = "", t = !0) {
1253
1290
  if (!e)
1254
1291
  return "";
1255
1292
  if (typeof e == "object") {
1256
- const o = P.global.locale;
1293
+ const o = R.global.locale;
1257
1294
  return e[o.value];
1258
1295
  }
1259
- return t ? P.global.t.call(P.global, e) : e;
1296
+ return t ? R.global.t.call(R.global, e) : e;
1260
1297
  }
1261
- const Kt = ee("udp-system", {
1298
+ const ao = z("udp-system", {
1262
1299
  state: () => ({
1263
1300
  baseURL: "",
1264
1301
  userInfo: {},
@@ -1370,7 +1407,7 @@ const Kt = ee("udp-system", {
1370
1407
  setDict(e) {
1371
1408
  this.dicts = e, e == null || e.forEach((t) => {
1372
1409
  this.dataDict[t.dictCode] = t;
1373
- }), g.setItem("kLov", this.dataDict);
1410
+ }), p.setItem("kLov", this.dataDict);
1374
1411
  },
1375
1412
  // 系统信息
1376
1413
  setSystemInfo(e) {
@@ -1382,26 +1419,26 @@ const Kt = ee("udp-system", {
1382
1419
  orgId: e.orgId,
1383
1420
  organizationId: e.organizationId
1384
1421
  };
1385
- Oe.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some((a) => a.roleCode === "admin" || ["管理员"].includes(a.roleName)), f().setAuthButton(e.dataMenus);
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);
1386
1423
  }
1387
1424
  }
1388
1425
  });
1389
- function z() {
1390
- return Kt(q);
1426
+ function $() {
1427
+ return ao(A);
1391
1428
  }
1392
- function Jt(e, t) {
1393
- return /* @__PURE__ */ A({
1429
+ function ro(e, t) {
1430
+ return /* @__PURE__ */ L({
1394
1431
  name: e,
1395
1432
  components: {
1396
1433
  asyncComponent: t
1397
1434
  },
1398
1435
  setup() {
1399
- return () => Re(J("async-component"), null, null);
1436
+ return () => Be(ee("async-component"), null, null);
1400
1437
  }
1401
1438
  });
1402
1439
  }
1403
- const Wt = () => v.get(`${C()}/uums/roleMenu`), Gt = () => v.get(`${C()}/upfm/v1/lov/selectAll`), ve = (e) => v.get(`${C()}/uums/roleMenu/userMenu`, e), Yt = () => import("./layoutView-CO2U8qCQ.js"), Qt = () => import("./frameView-G_zhG9pf.js");
1404
- function L(e) {
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) {
1405
1442
  return e.forEach((t) => {
1406
1443
  var o, n;
1407
1444
  ((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");
@@ -1410,96 +1447,96 @@ function L(e) {
1410
1447
  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);
1411
1448
  });
1412
1449
  }
1413
- function Ue(e) {
1414
- const t = R(e, !0).filter(
1450
+ function Ge(e) {
1451
+ const t = B(e, !0).filter(
1415
1452
  (o) => {
1416
1453
  var n;
1417
1454
  return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
1418
1455
  }
1419
1456
  );
1420
- return t.forEach((o) => o.children && (o.children = Ue(o.children))), t;
1457
+ return t.forEach((o) => o.children && (o.children = Ge(o.children))), t;
1421
1458
  }
1422
- function Nn(e, t, o = "path") {
1423
- function n(a, r, i) {
1424
- for (let u = 0; u < a.length; u++) {
1425
- const d = a[u];
1426
- if (d[o] === r) return i;
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;
1427
1464
  if (!(!d.children || !d.children.length)) {
1428
- if (i.push(d.path), n(d.children, r, i).length) return i;
1429
- i.pop();
1465
+ if (l.push(d.path), n(d.children, r, l).length) return l;
1466
+ l.pop();
1430
1467
  }
1431
1468
  }
1432
1469
  return [];
1433
1470
  }
1434
1471
  return n(t, e, []);
1435
1472
  }
1436
- function _e(e, t) {
1473
+ function Ke(e, t) {
1437
1474
  let o = t.find((n) => n.path == e);
1438
1475
  if (o)
1439
- return de(o) ? ce(o) : o;
1476
+ return he(o) ? pe(o) : o;
1440
1477
  for (let n = 0; n < t.length; n++)
1441
- if (t[n].children instanceof Array && t[n].children.length > 0 && (o = _e(e, t[n].children), o))
1442
- return de(o) ? ce(o) : o;
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;
1443
1480
  return null;
1444
1481
  }
1445
- function Zt() {
1446
- h.hasRoute("pathMatch") || h.addRoute({
1482
+ function co() {
1483
+ f.hasRoute("pathMatch") || f.addRoute({
1447
1484
  path: "/:pathMatch(.*)",
1448
1485
  name: "pathMatch",
1449
1486
  redirect: "/error/404"
1450
1487
  });
1451
1488
  }
1452
- function Xt() {
1489
+ function mo() {
1453
1490
  var t, o;
1454
- const e = B();
1455
- (t = e.global) == null || t.mergeLocaleMessage("zh", N.zh), (o = e.global) == null || o.mergeLocaleMessage("en", N.en), g.setItem("menu_zh", N.zh), g.setItem("menu_en", N.en);
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);
1456
1493
  }
1457
- function Ce(e) {
1494
+ function ke(e) {
1458
1495
  if (e != null && e.length) {
1459
1496
  const t = e.findIndex((n) => n.menuCode === "SysHome");
1460
1497
  if (t !== -1) {
1461
1498
  const n = [], a = [];
1462
1499
  e[t].children.forEach((r) => {
1463
1500
  r.menuCategory !== "1" ? n.push(r) : a.push(r);
1464
- }), e[t].children = a, z().setHomeMenus(n);
1501
+ }), e[t].children = a, $().setHomeMenus(n);
1465
1502
  }
1466
- const o = R(qe(e), !0);
1467
- Xt(), H(o).map((n) => {
1468
- const { options: a } = h;
1469
- a.routes[0].children.findIndex((r) => r.path === n.path) === -1 && (h.options.routes[0].children.push(n), L(h.options.routes[0].children), h.hasRoute(n == null ? void 0 : n.name) || h.addRoute(n));
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));
1470
1507
  });
1471
1508
  }
1472
- f().changeSetting(e), x().getMultiTagsCache || x().handleTags("equal", [
1473
- ...ne,
1474
- ...f().flatteningRoutes.filter((t) => {
1509
+ C().changeSetting(e), F().getMultiTagsCache || F().handleTags("equal", [
1510
+ ...U,
1511
+ ...C().flatteningRoutes.filter((t) => {
1475
1512
  var o;
1476
1513
  return (o = t == null ? void 0 : t.meta) == null ? void 0 : o.fixedTag;
1477
1514
  })
1478
- ]), Zt();
1515
+ ]), co();
1479
1516
  }
1480
- async function eo(e) {
1517
+ async function po(e) {
1481
1518
  let t = [];
1482
1519
  const o = `U-${e}-ROUTES`;
1483
- return oe().CachingAsyncRoutes && await V.getItem(o).then((n) => t = n), Gt().then((n) => z().setDict(n)), await Wt().then(async (n) => {
1484
- z().setSystemInfo(n), await $().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => z().setInvOrgList((a == null ? void 0 : a.list) || []));
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) || []));
1485
1522
  }), t != null && t.length ? new Promise((n) => {
1486
- Ce(t), ve({ userName: e }).then((a) => {
1487
- V.setItem(o, a);
1488
- }), n(h);
1523
+ ke(t), Se({ userName: e }).then((a) => {
1524
+ Q.setItem(o, a);
1525
+ }), n(f);
1489
1526
  }) : new Promise((n) => {
1490
- ve({ userName: e }).then((a) => {
1491
- Ce(R(a, !0)), V.setItem(o, a), n(h);
1527
+ Se({ userName: e }).then((a) => {
1528
+ ke(B(a, !0)), Q.setItem(o, a), n(f);
1492
1529
  });
1493
1530
  });
1494
1531
  }
1495
- function H(e) {
1532
+ function J(e) {
1496
1533
  if (e.length === 0) return e;
1497
- let t = Z(e);
1534
+ let t = re(e);
1498
1535
  for (let o = 0; o < t.length; o++)
1499
1536
  t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
1500
1537
  return t;
1501
1538
  }
1502
- function $e(e) {
1539
+ function Je(e) {
1503
1540
  if (e.length === 0) return e;
1504
1541
  const t = [];
1505
1542
  return e.forEach((o) => {
@@ -1513,76 +1550,76 @@ function $e(e) {
1513
1550
  }) : t[0].children.push({ ...o });
1514
1551
  }), t;
1515
1552
  }
1516
- function to({ name: e }, t) {
1553
+ function ho({ name: e }, t) {
1517
1554
  switch (t) {
1518
1555
  case "add":
1519
- f().cacheOperate({ mode: "add", name: e });
1556
+ C().cacheOperate({ mode: "add", name: e });
1520
1557
  break;
1521
1558
  case "delete":
1522
- f().cacheOperate({ mode: "delete", name: e });
1559
+ C().cacheOperate({ mode: "delete", name: e });
1523
1560
  break;
1524
1561
  case "refresh":
1525
- f().cacheOperate({ mode: "refresh", name: e });
1562
+ C().cacheOperate({ mode: "refresh", name: e });
1526
1563
  break;
1527
1564
  default:
1528
- f().cacheOperate({ mode: "delete", name: e }), mt(() => {
1529
- f().cacheOperate({ mode: "add", name: e });
1565
+ C().cacheOperate({ mode: "delete", name: e }), vt(() => {
1566
+ C().cacheOperate({ mode: "add", name: e });
1530
1567
  }, 100);
1531
1568
  }
1532
1569
  }
1533
- const N = {
1570
+ const O = {
1534
1571
  zh: {},
1535
1572
  en: {}
1536
- }, qe = (e) => {
1573
+ }, Ye = (e) => {
1537
1574
  var n;
1538
- const t = po();
1575
+ const t = ko();
1539
1576
  if (!e || !e.length) return;
1540
1577
  const o = Object.keys(t);
1541
1578
  for (let a = 0; a < e.length; a++) {
1542
1579
  const r = e[a];
1543
1580
  r != null && r.children && r.children.length && !r.redirect && (r.redirect = r.children[0].path);
1544
- const { icon: i, permissionCode: u, extraIcon: d, frameSrc: s } = r;
1545
- if (r.meta = { keepAlive: !0, rank: r.sort, title: `${r.i18nField}` }, Object.assign(r.meta, { icon: i, permissionCode: u, extraIcon: d, frameSrc: s }), N.zh[r.i18nField] = r.menuName || r.menuNameEn, N.en[r.i18nField] = r.menuNameEn || r.menuName, r.name = r.menuCode || r.name, r.path = r.menuPath || r.path, !r.parentId)
1546
- r.component = Yt;
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)
1583
+ r.component = lo;
1547
1584
  else if ((n = r.meta) != null && n.frameSrc)
1548
- r.component = Qt;
1585
+ r.component = uo;
1549
1586
  else if (r.menuCategory === "10") {
1550
- const m = o.findIndex((p) => p.includes("lowcode-contain"));
1551
- r.component = Jt(
1587
+ const m = o.findIndex((h) => h.includes("lowcode-contain"));
1588
+ r.component = ro(
1552
1589
  r.name,
1553
- Qe(() => import(
1590
+ rt(() => import(
1554
1591
  /* @vite-ignore */
1555
1592
  o[m]
1556
1593
  ))
1557
1594
  ), Object.assign(r.meta, { moduleType: r.moduleType });
1558
1595
  } else if (r.menuCategory !== "5") {
1559
- const m = o.findIndex((p) => p.includes(r.path));
1596
+ const m = o.findIndex((h) => h.includes(r.path));
1560
1597
  r.component = t[o[m]];
1561
1598
  }
1562
- r != null && r.children && r.children.length ? qe(r.children) : delete r.children;
1599
+ r != null && r.children && r.children.length ? Ye(r.children) : delete r.children;
1563
1600
  }
1564
1601
  return e;
1565
1602
  };
1566
- function Pn(e, t = !0) {
1567
- const o = x().multiTags.findIndex((n) => {
1603
+ function Wn(e, t = !0) {
1604
+ const o = F().multiTags.findIndex((n) => {
1568
1605
  if (e.query) {
1569
1606
  if (e.path === n.path)
1570
1607
  return e.query === n.query;
1571
1608
  } else
1572
1609
  return e.path === n.path;
1573
1610
  });
1574
- if (x().handleTags("splice", "", { startIndex: o, length: 1 }), to(e.matched, "delete"), t) {
1575
- const n = x().handleTags("slice");
1576
- h.push({
1611
+ if (F().handleTags("splice", "", { startIndex: o, length: 1 }), ho(e.matched, "delete"), t) {
1612
+ const n = F().handleTags("slice");
1613
+ f.push({
1577
1614
  path: n[0].path,
1578
1615
  query: n[0].query
1579
1616
  });
1580
1617
  }
1581
1618
  }
1582
- const oo = ee("udp-permission", {
1619
+ const fo = z("udp-permission", {
1583
1620
  state: () => ({
1584
1621
  // 静态路由生成的菜单
1585
- constantMenus: co,
1622
+ constantMenus: To,
1586
1623
  // 整体路由生成的菜单(静态、动态)
1587
1624
  wholeMenus: [],
1588
1625
  // 深拷贝一个菜单树,与导航菜单不冲突
@@ -1601,12 +1638,12 @@ const oo = ee("udp-permission", {
1601
1638
  actions: {
1602
1639
  asyncActionRoutes(e = []) {
1603
1640
  if (this.wholeMenus.length > 0) return;
1604
- const t = st(e, (n) => n.menuCode === "SysHome"), o = R(this.constantMenus, !0);
1641
+ const t = ft(e, (n) => n.menuCode === "SysHome"), o = B(this.constantMenus, !0);
1605
1642
  if (t !== -1) {
1606
1643
  const n = this.constantMenus.find((a) => a.name === "home");
1607
1644
  e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
1608
1645
  }
1609
- this.wholeMenus = Ue(L(this.constantMenus.concat(e))), this.flatteningRoutes = H(this.constantMenus.concat(e)), this.menusTree = R(this.wholeMenus, !0), this.constantMenus = o;
1646
+ this.wholeMenus = Ge(_(this.constantMenus.concat(e))), this.flatteningRoutes = J(this.constantMenus.concat(e)), this.menusTree = B(this.wholeMenus, !0), this.constantMenus = o;
1610
1647
  },
1611
1648
  async changeSetting(e) {
1612
1649
  await this.asyncActionRoutes(e);
@@ -1633,9 +1670,9 @@ const oo = ee("udp-permission", {
1633
1670
  this.cachePageList = [];
1634
1671
  break;
1635
1672
  }
1636
- rt(() => {
1673
+ ht(() => {
1637
1674
  let n = this.cachePageList.length;
1638
- const a = At(x().multiTags, "name");
1675
+ const a = Ht(F().multiTags, "name");
1639
1676
  for (; n > 0; )
1640
1677
  a.findIndex((r) => r === this.cachePageList[n - 1]) === -1 && this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[n - 1]), 1), n--;
1641
1678
  }, 500)();
@@ -1646,19 +1683,19 @@ const oo = ee("udp-permission", {
1646
1683
  }
1647
1684
  }
1648
1685
  });
1649
- function f() {
1650
- return oo(q);
1686
+ function C() {
1687
+ return fo(A);
1651
1688
  }
1652
- const no = ee("udp-multiTags", {
1689
+ const Qe = z("udp-multiTags", {
1653
1690
  state: () => {
1654
1691
  var e, t;
1655
1692
  return {
1656
1693
  // 存储标签页信息(路由信息)
1657
- multiTags: (e = g.getItem(`${F()}configure`)) != null && e.multiTagsCache ? g.getItem(`${F()}tags`) : [...ne, ...f().flatteningRoutes.filter((o) => {
1694
+ multiTags: (e = p.getItem(`${w()}configure`)) != null && e.multiTagsCache ? p.getItem(`${w()}tags`) : [...U, ...C().flatteningRoutes.filter((o) => {
1658
1695
  var n;
1659
1696
  return (n = o == null ? void 0 : o.meta) == null ? void 0 : n.fixedTag;
1660
1697
  })],
1661
- multiTagsCache: (t = g.getItem(`${F()}configure`)) == null ? void 0 : t.multiTagsCache
1698
+ multiTagsCache: (t = p.getItem(`${w()}configure`)) == null ? void 0 : t.multiTagsCache
1662
1699
  };
1663
1700
  },
1664
1701
  getters: {
@@ -1668,13 +1705,13 @@ const no = ee("udp-multiTags", {
1668
1705
  },
1669
1706
  actions: {
1670
1707
  multiTagsCacheChange(e) {
1671
- this.multiTagsCache = e, e ? g.setItem(`${F()}tags`, this.multiTags) : g.removeItem(`${F()}tags`);
1708
+ this.multiTagsCache = e, e ? p.setItem(`${w()}tags`, this.multiTags) : p.removeItem(`${w()}tags`);
1672
1709
  },
1673
1710
  tagsCache(e) {
1674
- this.getMultiTagsCache && g.setItem(`${F()}tags`, e);
1711
+ this.getMultiTagsCache && p.setItem(`${w()}tags`, e);
1675
1712
  },
1676
1713
  handleTags(e, t, o) {
1677
- var n, a, r, i, u, d;
1714
+ var n, a, r, l, c, d;
1678
1715
  switch (e) {
1679
1716
  case "equal":
1680
1717
  this.multiTags = t, this.tagsCache(this.multiTags);
@@ -1682,13 +1719,13 @@ const no = ee("udp-multiTags", {
1682
1719
  case "push":
1683
1720
  {
1684
1721
  const s = t;
1685
- if ((n = s == null ? void 0 : s.meta) != null && n.hiddenTag || Le(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 || it((i = s == null ? void 0 : s.meta) == null ? void 0 : i.showLink) && !((u = s == null ? void 0 : s.meta) != null && u.showLink)) return;
1686
- const m = s.path, p = this.multiTags.some((c) => c.path === m), E = this.multiTags.some((c) => pe(c == null ? void 0 : c.query, s == null ? void 0 : s.query)), T = this.multiTags.some((c) => pe(c == null ? void 0 : c.params, s == null ? void 0 : s.params));
1687
- if (p && E && T) return;
1688
- const w = ((d = s == null ? void 0 : s.meta) == null ? void 0 : d.dynamicLevel) ?? -1;
1689
- if (w > 0 && this.multiTags.filter((c) => (c == null ? void 0 : c.path) === m).length >= w) {
1690
- const c = this.multiTags.findIndex((l) => (l == null ? void 0 : l.path) === m);
1691
- c !== -1 && this.multiTags.splice(c, 1);
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);
1692
1729
  }
1693
1730
  this.multiTags.push(t), this.tagsCache(this.multiTags);
1694
1731
  }
@@ -1708,13 +1745,13 @@ const no = ee("udp-multiTags", {
1708
1745
  }
1709
1746
  }
1710
1747
  });
1711
- function x() {
1712
- return no(q);
1748
+ function F() {
1749
+ return Qe(A);
1713
1750
  }
1714
- const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1751
+ const go = () => import("./layoutView-CoEp2afn.js"), yo = {
1715
1752
  path: "/",
1716
1753
  name: "home",
1717
- component: ao,
1754
+ component: go,
1718
1755
  redirect: "/welcome",
1719
1756
  meta: {
1720
1757
  icon: "home-filled",
@@ -1725,17 +1762,17 @@ const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1725
1762
  {
1726
1763
  path: "/welcome",
1727
1764
  name: "SuHome",
1728
- component: () => import("./su-welcome-CZysrZQ1.js"),
1765
+ component: () => import("./su-welcome-B2rNhhDH.js"),
1729
1766
  meta: {
1730
1767
  title: "message.udp.home",
1731
1768
  keepAlive: !0
1732
1769
  }
1733
1770
  }
1734
1771
  ]
1735
- }, so = () => import("./layoutView-CO2U8qCQ.js"), io = {
1772
+ }, wo = () => import("./layoutView-CoEp2afn.js"), bo = {
1736
1773
  path: "/error",
1737
1774
  name: "error",
1738
- component: so,
1775
+ component: wo,
1739
1776
  redirect: "/error/403",
1740
1777
  meta: {
1741
1778
  showLink: !1,
@@ -1747,17 +1784,17 @@ const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1747
1784
  {
1748
1785
  path: "/error/403",
1749
1786
  name: "403",
1750
- component: () => import("./403-DpJevH-h.js"),
1787
+ component: () => import("./403-RBzulrcG.js"),
1751
1788
  meta: {
1752
1789
  title: "message.udp.fourZeroThree"
1753
1790
  }
1754
1791
  }
1755
1792
  ]
1756
- }, uo = () => import("./layoutView-CO2U8qCQ.js"), O = [
1793
+ }, Co = () => import("./layoutView-CoEp2afn.js"), j = [
1757
1794
  {
1758
1795
  path: "/login",
1759
1796
  name: "login",
1760
- component: () => import("./login-DzyK2soP.js"),
1797
+ component: () => import("./login-DP0oP70W.js"),
1761
1798
  meta: {
1762
1799
  title: "message.udp.login",
1763
1800
  showLink: !1
@@ -1766,7 +1803,7 @@ const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1766
1803
  {
1767
1804
  path: "/error/404",
1768
1805
  name: "404",
1769
- component: () => import("./404-BpqJK3YD.js"),
1806
+ component: () => import("./404-DX-dU_6C.js"),
1770
1807
  meta: {
1771
1808
  title: "message.udp.fourZeroFour",
1772
1809
  showLink: !1
@@ -1775,7 +1812,7 @@ const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1775
1812
  {
1776
1813
  path: "/error/500",
1777
1814
  name: "500",
1778
- component: () => import("./500-DyvRbMD_.js"),
1815
+ component: () => import("./500-BCTk0__d.js"),
1779
1816
  meta: {
1780
1817
  title: "message.udp.five",
1781
1818
  showLink: !1
@@ -1784,7 +1821,7 @@ const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1784
1821
  {
1785
1822
  path: "/redirect",
1786
1823
  name: "redirect",
1787
- component: uo,
1824
+ component: Co,
1788
1825
  meta: {
1789
1826
  icon: "home-filled",
1790
1827
  title: "message.udp.home",
@@ -1800,118 +1837,118 @@ const ao = () => import("./layoutView-CO2U8qCQ.js"), ro = {
1800
1837
  }
1801
1838
  ]
1802
1839
  }
1803
- ], lo = /* @__PURE__ */ Object.assign({
1804
- "../views/organization/company/Company.vue": () => import("./Company-BLygcYrI.js"),
1805
- "../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-D5Tgw6LF.js"),
1806
- "../views/organization/department/Department.vue": () => import("./Department-qI9OninZ.js"),
1807
- "../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-P-P8fPZQ.js"),
1808
- "../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-JXBXyn3G.js"),
1809
- "../views/organization/org/Org.vue": () => import("./Org-DcTJn6YQ.js"),
1810
- "../views/organization/staff/Staff.vue": () => import("./Staff-Bf_oUqF6.js"),
1811
- "../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-D5aisjx2.js"),
1812
- "../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel--zKzd4rt.js"),
1813
- "../views/system/cron/cron-task.vue": () => import("./cron-task-BhjQ4S68.js"),
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"),
1814
1851
  "../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-BeBNiwqc.js"),
1815
- "../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-D40tzcSj.js"),
1816
- "../views/system/menu/menuInfo.vue": () => import("./menuInfo-BWuROp7u.js"),
1817
- "../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-D0zVl4y3.js"),
1818
- "../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-BiGGmP2w.js"),
1819
- "../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-Cyu4XHXx.js"),
1820
- "../views/system/role/Role.vue": () => import("./Role-ia_3qAZU.js"),
1821
- "../views/system/role/RolePanel.vue": () => import("./RolePanel-CQxOiAzj.js"),
1822
- "../views/system/role/UserInfo.vue": () => import("./UserInfo-DTyk071j.js"),
1823
- "../views/system/sys/sys-config.vue": () => import("./sys-config-BiGNMYSA.js"),
1824
- "../views/system/sysUser/SysUser.vue": () => import("./SysUser-BelbESLR.js"),
1825
- "../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-BixKqQcA.js"),
1826
- "../views/uapp/pda/pda-app.vue": () => import("./pda-app-CQP1sMAI.js"),
1827
- "../views/udev/coderule/code-rule.vue": () => import("./code-rule-DC35y76w.js"),
1828
- "../views/udev/dict/DictView.vue": () => import("./DictView-PWL_Vf0T.js"),
1829
- "../views/udev/dict/childView.vue": () => import("./childView-so5qSxr0.js"),
1830
- "../views/udev/lov/childView.vue": () => import("./childView-xL3iE1yN.js"),
1831
- "../views/udev/lov/lov-view.vue": () => import("./lov-view-Cr929NMD.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"),
1832
1869
  "../views/upms/interface/log-in.vue": () => import("./log-in-e7D5Ss1P.js"),
1833
1870
  "../views/upms/interface/log-out.vue": () => import("./log-out-D1b4VRMZ.js"),
1834
1871
  "../views/upms/user/login-log.vue": () => import("./login-log-kqKzKTto.js"),
1835
1872
  "../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-DT-rGICv.js"),
1836
- "../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-BxjD0AZi.js"),
1837
- "../views/urpt/design/Preview.vue": () => import("./Preview-IKvbHI8a.js"),
1838
- "../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-7h5oFklh.js"),
1839
- "../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-dj0BQUyi.js"),
1840
- "../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-6WaZPg9i.js"),
1841
- "../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-_G7ts7Ch.js"),
1842
- "../views/urpt/static-resource/resource.vue": () => import("./resource-BDQLrMpK.js"),
1843
- "../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-DIvJ3RrB.js")
1844
- }), An = O, ae = [ro, io], Rn = $e(
1845
- H(Z(L(ae)))
1846
- ), co = L(ae).concat(...O), On = Object.keys(O).map((e) => O[e].path);
1847
- function Ln() {
1848
- h.getRoutes().forEach((e) => {
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) => {
1849
1886
  const { name: t, meta: o } = e;
1850
- t && h.hasRoute(t) && (o != null && o.backstage) && (h.removeRoute(t), h.options.routes = $e(H(Z(L(ae)))));
1851
- }), f().clearAllCachePage();
1887
+ t && f.hasRoute(t) && (o != null && o.backstage) && (f.removeRoute(t), f.options.routes = Je(J(re(_(le)))));
1888
+ }), C().clearAllCachePage();
1852
1889
  }
1853
- let G = null, h = null;
1854
- function mo(e, t) {
1855
- G = e, h = t, Object.assign(G, lo);
1890
+ let oe = null, f = null;
1891
+ function So(e, t) {
1892
+ oe = e, f = t, Object.assign(oe, vo);
1856
1893
  }
1857
- function po() {
1858
- return G;
1894
+ function ko() {
1895
+ return oe;
1859
1896
  }
1860
- const ho = ["/login"], Mn = (e, t, o) => {
1861
- var i, u, d;
1862
- const n = Oe.get(Ct), a = Le(e == null ? void 0 : e.name);
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);
1863
1900
  function r() {
1864
- ho.includes(e.fullPath) ? o(t.fullPath) : o();
1901
+ Fo.includes(e.fullPath) ? o(t.fullPath) : o();
1865
1902
  }
1866
1903
  if (t != null && t.name && (t == null ? void 0 : t.name) !== "login") {
1867
- const s = (i = e.matched.find((m) => m.path === e.path || m.name === e.name && e.params)) == null ? void 0 : i.components;
1868
- a ? (ot(e == null ? void 0 : e.name), (u = nt) == null || u.done()) : s != null && s.default || e.name === "redirect" ? r() : o({ path: "/error/404" });
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" });
1869
1906
  } else
1870
- f().wholeMenus.length === 0 && eo(n).then((s) => {
1907
+ C().wholeMenus.length === 0 && po(n).then((s) => {
1871
1908
  var m;
1872
- if (!x().getMultiTagsCache) {
1873
- const { path: p } = e, T = ut(O, (c) => c.path === p) === -1 ? s.options.routes[0].children : s.options.routes, w = _e(p, T);
1874
- if (w && ((m = w.meta) != null && m.title)) {
1875
- const { path: c, name: l, meta: I } = w;
1876
- x().handleTags("push", { path: c, name: l, meta: I });
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 });
1877
1914
  }
1878
1915
  }
1879
- lt(e.name) && s.push(e.fullPath);
1916
+ wt(e.name) && s.push(e.fullPath);
1880
1917
  }), 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();
1881
1918
  };
1882
- at(Me, { serviceApi: $(), i18n: Vt });
1883
- const go = {
1919
+ dt(_e, { serviceApi: K(), i18n: We });
1920
+ const Do = {
1884
1921
  // 对组件内置的提示语进行国际化翻译
1885
1922
  // @ts-ignore
1886
- i18n: (e, t) => B().global.t(e, t),
1923
+ i18n: (e, t) => H().global.t(e, t),
1887
1924
  // 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
1888
1925
  translate(e) {
1889
- return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? B().global.t.call(B().global.locale, e) : e;
1926
+ return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? H().global.t.call(H().global.locale, e) : e;
1890
1927
  }
1891
1928
  };
1892
- function fo(e = {}) {
1893
- Me.setConfig(X(go, e)), te.interceptor.add("event.clearEdit", {
1929
+ function xo(e = {}) {
1930
+ _e.setConfig(se(Do, e)), ie.interceptor.add("event.clearEdit", {
1894
1931
  tableInterceptorMethod(t) {
1895
1932
  const { $event: o } = t;
1896
1933
  if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
1897
1934
  }
1898
1935
  });
1899
1936
  }
1900
- function Bn(e) {
1901
- te.setTheme(e);
1937
+ function Io(e) {
1938
+ ie.setTheme(e);
1902
1939
  }
1903
- var re = Object.defineProperty, yo = Object.getOwnPropertyDescriptor, wo = Object.getOwnPropertyNames, bo = Object.prototype.hasOwnProperty, vo = (e, t, o) => t in e ? re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Co = (e, t) => {
1904
- for (var o in t) re(e, o, { get: t[o], enumerable: !0 });
1905
- }, Eo = (e, t, o, n) => {
1906
- if (t && typeof t == "object" || typeof t == "function") for (let a of wo(t)) !bo.call(e, a) && a !== o && re(e, a, { get: () => t[a], enumerable: !(n = yo(t, a)) || n.enumerable });
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 });
1907
1944
  return e;
1908
- }, To = (e, t, o) => (Eo(e, t, "default"), o), Ee = (e, t, o) => (vo(e, typeof t != "symbol" ? t + "" : t, o), o), se = {};
1909
- Co(se, { Vue: () => Ae });
1910
- To(se, Ae);
1911
- var U = class {
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 {
1912
1949
  static install(e, t) {
1913
1950
  let { nameSpace: o = this._nameSpace, memory: n } = t;
1914
- return n && this.clearAll(o, n), new U(e, t);
1951
+ return n && this.clearAll(o, n), new W(e, t);
1915
1952
  }
1916
1953
  static clearAll(e, t) {
1917
1954
  Object.keys(t).forEach((o) => {
@@ -1929,25 +1966,25 @@ var U = class {
1929
1966
  if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
1930
1967
  }
1931
1968
  constructor(e, t) {
1932
- let o = U, { version: n = 3, nameSpace: a = o._nameSpace, memory: r } = t, i = (s) => a + s, u = n === 3 ? (0, se.reactive)(r) : r;
1933
- Object.keys(u).length === 0 && console.warn("key cannot be empty"), Object.keys(u).forEach((s) => {
1934
- let m = u[s];
1935
- o.set(i(s), m), Reflect.defineProperty(u, s, { get: () => o.get(i(s)), set: (p) => o.set(i(s), p), configurable: !0 }), n === 2 && e.util.defineReactive(u, s, u[s]);
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]);
1936
1973
  });
1937
1974
  let d = n === 3 ? e.config.globalProperties : e.prototype;
1938
- Reflect.defineProperty(d, "$storage", { get: () => u });
1975
+ Reflect.defineProperty(d, "$storage", { get: () => c });
1939
1976
  }
1940
- }, D = U;
1941
- Ee(D, "_nameSpace", "rs-"), Ee(D, "_getStaticKey", (e, t) => `${e ?? U._nameSpace}${t}`);
1942
- const So = (e, t) => {
1943
- const o = F(), n = Object.assign(
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(
1944
1981
  {
1945
1982
  // 国际化 默认中文zh
1946
- locale: D.getData("locale", o) ?? {
1983
+ locale: N.getData("locale", o) ?? {
1947
1984
  locale: t.Locale ?? "zh"
1948
1985
  },
1949
1986
  // layout模式以及主题
1950
- layout: D.getData("layout", o) ?? {
1987
+ layout: N.getData("layout", o) ?? {
1951
1988
  layout: t.Layout ?? "vertical",
1952
1989
  theme: t.Theme ?? "default",
1953
1990
  darkMode: t.DarkMode ?? !1,
@@ -1958,7 +1995,7 @@ const So = (e, t) => {
1958
1995
  overallStyle: t.OverallStyle ?? "light"
1959
1996
  // 整体风格(浅色:light、深色:dark、自动:system)
1960
1997
  },
1961
- configure: D.getData("configure", o) ?? {
1998
+ configure: N.getData("configure", o) ?? {
1962
1999
  grey: t.Grey ?? !1,
1963
2000
  weak: t.Weak ?? !1,
1964
2001
  hideTabs: t.HideTabs ?? !1,
@@ -1966,116 +2003,116 @@ const So = (e, t) => {
1966
2003
  showModel: t.ShowModel ?? "smart",
1967
2004
  multiTagsCache: t.MultiTagsCache ?? !1
1968
2005
  },
1969
- cnd: D.getData("cnd", o) ?? {}
2006
+ cnd: N.getData("cnd", o) ?? {}
1970
2007
  },
1971
2008
  t.MultiTagsCache ? {
1972
2009
  // 默认显示首页tag
1973
- tags: D.getData("tags", o) ?? ne
2010
+ tags: N.getData("tags", o) ?? U
1974
2011
  } : {}
1975
2012
  );
1976
- e.use(D, { nameSpace: o, memory: n });
1977
- }, Fo = (e) => {
2013
+ e.use(N, { nameSpace: o, memory: n });
2014
+ }, jo = (e) => {
1978
2015
  var a;
1979
2016
  if (!e) return !0;
1980
- const t = (a = h.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
2017
+ const t = (a = f.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
1981
2018
  if (!t) return !0;
1982
- ct(e) || (e = [e]);
1983
- const o = f().getButtonAuth;
2019
+ bt(e) || (e = [e]);
2020
+ const o = C().getButtonAuth;
1984
2021
  if (!o) return !0;
1985
2022
  let n = !1;
1986
2023
  return e.forEach((r) => {
1987
2024
  if (!n) {
1988
- const i = `${t}.${r}`;
1989
- n = o.includes(i);
2025
+ const l = `${t}.${r}`;
2026
+ n = o.includes(l);
1990
2027
  }
1991
2028
  }), n;
1992
- }, He = Object.freeze(
2029
+ }, Ze = Object.freeze(
1993
2030
  {
1994
2031
  left: 0,
1995
2032
  top: 0,
1996
2033
  width: 16,
1997
2034
  height: 16
1998
2035
  }
1999
- ), _ = Object.freeze({
2036
+ ), G = Object.freeze({
2000
2037
  rotate: 0,
2001
2038
  vFlip: !1,
2002
2039
  hFlip: !1
2003
- }), ie = Object.freeze({
2004
- ...He,
2005
- ..._
2006
- }), Y = Object.freeze({
2007
- ...ie,
2040
+ }), de = Object.freeze({
2041
+ ...Ze,
2042
+ ...G
2043
+ }), ne = Object.freeze({
2044
+ ...de,
2008
2045
  body: "",
2009
2046
  hidden: !1
2010
2047
  });
2011
- function Do(e, t) {
2048
+ function zo(e, t) {
2012
2049
  const o = {};
2013
2050
  !e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
2014
2051
  const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
2015
2052
  return n && (o.rotate = n), o;
2016
2053
  }
2017
- function Te(e, t) {
2018
- const o = Do(e, t);
2019
- for (const n in Y)
2020
- n in _ ? n in e && !(n in o) && (o[n] = _[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
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]);
2021
2058
  return o;
2022
2059
  }
2023
- function ko(e, t) {
2060
+ function Uo(e, t) {
2024
2061
  const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
2025
- function r(i) {
2026
- if (o[i])
2027
- return a[i] = [];
2028
- if (!(i in a)) {
2029
- a[i] = null;
2030
- const u = n[i] && n[i].parent, d = u && r(u);
2031
- d && (a[i] = [u].concat(d));
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));
2032
2069
  }
2033
- return a[i];
2070
+ return a[l];
2034
2071
  }
2035
2072
  return Object.keys(o).concat(Object.keys(n)).forEach(r), a;
2036
2073
  }
2037
- function xo(e, t, o) {
2074
+ function _o(e, t, o) {
2038
2075
  const n = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
2039
2076
  let r = {};
2040
- function i(u) {
2041
- r = Te(
2042
- n[u] || a[u],
2077
+ function l(c) {
2078
+ r = De(
2079
+ n[c] || a[c],
2043
2080
  r
2044
2081
  );
2045
2082
  }
2046
- return i(t), o.forEach(i), Te(e, r);
2083
+ return l(t), o.forEach(l), De(e, r);
2047
2084
  }
2048
- function Io(e, t) {
2085
+ function qo(e, t) {
2049
2086
  const o = [];
2050
2087
  if (typeof e != "object" || typeof e.icons != "object")
2051
2088
  return o;
2052
2089
  e.not_found instanceof Array && e.not_found.forEach((a) => {
2053
2090
  t(a, null), o.push(a);
2054
2091
  });
2055
- const n = ko(e);
2092
+ const n = Uo(e);
2056
2093
  for (const a in n) {
2057
2094
  const r = n[a];
2058
- r && (t(a, xo(e, a, r)), o.push(a));
2095
+ r && (t(a, _o(e, a, r)), o.push(a));
2059
2096
  }
2060
2097
  return o;
2061
2098
  }
2062
- const No = {
2099
+ const Ho = {
2063
2100
  provider: "",
2064
2101
  aliases: {},
2065
2102
  not_found: {},
2066
- ...He
2103
+ ...Ze
2067
2104
  };
2068
- function K(e, t) {
2105
+ function Z(e, t) {
2069
2106
  for (const o in t)
2070
2107
  if (o in e && typeof e[o] != typeof t[o])
2071
2108
  return !1;
2072
2109
  return !0;
2073
2110
  }
2074
- function Po(e) {
2111
+ function $o(e) {
2075
2112
  if (typeof e != "object" || e === null)
2076
2113
  return null;
2077
2114
  const t = e;
2078
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !K(e, No))
2115
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Z(e, Ho))
2079
2116
  return null;
2080
2117
  const o = t.icons;
2081
2118
  for (const a in o) {
@@ -2084,51 +2121,51 @@ function Po(e) {
2084
2121
  // Name cannot be empty
2085
2122
  !a || // Must have body
2086
2123
  typeof r.body != "string" || // Check other props
2087
- !K(
2124
+ !Z(
2088
2125
  r,
2089
- Y
2126
+ ne
2090
2127
  )
2091
2128
  )
2092
2129
  return null;
2093
2130
  }
2094
2131
  const n = t.aliases || /* @__PURE__ */ Object.create(null);
2095
2132
  for (const a in n) {
2096
- const r = n[a], i = r.parent;
2133
+ const r = n[a], l = r.parent;
2097
2134
  if (
2098
2135
  // Name cannot be empty
2099
2136
  !a || // Parent must be set and point to existing icon
2100
- typeof i != "string" || !o[i] && !n[i] || // Check other props
2101
- !K(
2137
+ typeof l != "string" || !o[l] && !n[l] || // Check other props
2138
+ !Z(
2102
2139
  r,
2103
- Y
2140
+ ne
2104
2141
  )
2105
2142
  )
2106
2143
  return null;
2107
2144
  }
2108
2145
  return t;
2109
2146
  }
2110
- const Ve = Object.freeze({
2147
+ const Xe = Object.freeze({
2111
2148
  width: null,
2112
2149
  height: null
2113
- }), Ke = Object.freeze({
2150
+ }), et = Object.freeze({
2114
2151
  // Dimensions
2115
- ...Ve,
2152
+ ...Xe,
2116
2153
  // Transformations
2117
- ..._
2154
+ ...G
2118
2155
  });
2119
- function Ao(e, t) {
2156
+ function Vo(e, t) {
2120
2157
  const o = {
2121
2158
  ...e
2122
2159
  };
2123
2160
  for (const n in t) {
2124
2161
  const a = t[n], r = typeof a;
2125
- n in Ve ? (a === null || a && (r === "string" || r === "number")) && (o[n] = a) : r === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : 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);
2126
2163
  }
2127
2164
  return o;
2128
2165
  }
2129
- const Ro = /[\s,]+/;
2130
- function Oo(e, t) {
2131
- t.split(Ro).forEach((o) => {
2166
+ const Wo = /[\s,]+/;
2167
+ function Go(e, t) {
2168
+ t.split(Wo).forEach((o) => {
2132
2169
  switch (o.trim()) {
2133
2170
  case "horizontal":
2134
2171
  e.hFlip = !0;
@@ -2139,7 +2176,7 @@ function Oo(e, t) {
2139
2176
  }
2140
2177
  });
2141
2178
  }
2142
- function Lo(e, t = 0) {
2179
+ function Ko(e, t = 0) {
2143
2180
  const o = e.replace(/^-?[0-9.]*/, "");
2144
2181
  function n(a) {
2145
2182
  for (; a < 0; )
@@ -2165,61 +2202,61 @@ function Lo(e, t = 0) {
2165
2202
  }
2166
2203
  return t;
2167
2204
  }
2168
- const Mo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Bo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2169
- function Se(e, t, o) {
2205
+ const Jo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Yo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2206
+ function xe(e, t, o) {
2170
2207
  if (t === 1)
2171
2208
  return e;
2172
2209
  if (o = o || 100, typeof e == "number")
2173
2210
  return Math.ceil(e * t * o) / o;
2174
2211
  if (typeof e != "string")
2175
2212
  return e;
2176
- const n = e.split(Mo);
2213
+ const n = e.split(Jo);
2177
2214
  if (n === null || !n.length)
2178
2215
  return e;
2179
2216
  const a = [];
2180
- let r = n.shift(), i = Bo.test(r);
2217
+ let r = n.shift(), l = Yo.test(r);
2181
2218
  for (; ; ) {
2182
- if (i) {
2183
- const u = parseFloat(r);
2184
- isNaN(u) ? a.push(r) : a.push(Math.ceil(u * t * o) / o);
2219
+ if (l) {
2220
+ const c = parseFloat(r);
2221
+ isNaN(c) ? a.push(r) : a.push(Math.ceil(c * t * o) / o);
2185
2222
  } else
2186
2223
  a.push(r);
2187
2224
  if (r = n.shift(), r === void 0)
2188
2225
  return a.join("");
2189
- i = !i;
2226
+ l = !l;
2190
2227
  }
2191
2228
  }
2192
- function zo(e, t = "defs") {
2229
+ function Qo(e, t = "defs") {
2193
2230
  let o = "";
2194
2231
  const n = e.indexOf("<" + t);
2195
2232
  for (; n >= 0; ) {
2196
2233
  const a = e.indexOf(">", n), r = e.indexOf("</" + t);
2197
2234
  if (a === -1 || r === -1)
2198
2235
  break;
2199
- const i = e.indexOf(">", r);
2200
- if (i === -1)
2236
+ const l = e.indexOf(">", r);
2237
+ if (l === -1)
2201
2238
  break;
2202
- o += e.slice(a + 1, r).trim(), e = e.slice(0, n).trim() + e.slice(i + 1);
2239
+ o += e.slice(a + 1, r).trim(), e = e.slice(0, n).trim() + e.slice(l + 1);
2203
2240
  }
2204
2241
  return {
2205
2242
  defs: o,
2206
2243
  content: e
2207
2244
  };
2208
2245
  }
2209
- function jo(e, t) {
2246
+ function Zo(e, t) {
2210
2247
  return e ? "<defs>" + e + "</defs>" + t : t;
2211
2248
  }
2212
- function Uo(e, t, o) {
2213
- const n = zo(e);
2214
- return jo(n.defs, t + n.content + o);
2249
+ function Xo(e, t, o) {
2250
+ const n = Qo(e);
2251
+ return Zo(n.defs, t + n.content + o);
2215
2252
  }
2216
- const _o = (e) => e === "unset" || e === "undefined" || e === "none";
2217
- function $o(e, t) {
2253
+ const en = (e) => e === "unset" || e === "undefined" || e === "none";
2254
+ function tn(e, t) {
2218
2255
  const o = {
2219
- ...ie,
2256
+ ...de,
2220
2257
  ...e
2221
2258
  }, n = {
2222
- ...Ke,
2259
+ ...et,
2223
2260
  ...t
2224
2261
  }, a = {
2225
2262
  left: o.left,
@@ -2228,129 +2265,129 @@ function $o(e, t) {
2228
2265
  height: o.height
2229
2266
  };
2230
2267
  let r = o.body;
2231
- [o, n].forEach((c) => {
2232
- const l = [], I = c.hFlip, le = c.vFlip;
2233
- let S = c.rotate;
2234
- I ? le ? S += 2 : (l.push(
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(
2235
2272
  "translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
2236
- ), l.push("scale(-1 1)"), a.top = a.left = 0) : le && (l.push(
2273
+ ), i.push("scale(-1 1)"), a.top = a.left = 0) : D && (i.push(
2237
2274
  "translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
2238
- ), l.push("scale(1 -1)"), a.top = a.left = 0);
2239
- let b;
2240
- switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
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) {
2241
2278
  case 1:
2242
- b = a.height / 2 + a.top, l.unshift(
2243
- "rotate(90 " + b.toString() + " " + b.toString() + ")"
2279
+ S = a.height / 2 + a.top, i.unshift(
2280
+ "rotate(90 " + S.toString() + " " + S.toString() + ")"
2244
2281
  );
2245
2282
  break;
2246
2283
  case 2:
2247
- l.unshift(
2284
+ i.unshift(
2248
2285
  "rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
2249
2286
  );
2250
2287
  break;
2251
2288
  case 3:
2252
- b = a.width / 2 + a.left, l.unshift(
2253
- "rotate(-90 " + b.toString() + " " + b.toString() + ")"
2289
+ S = a.width / 2 + a.left, i.unshift(
2290
+ "rotate(-90 " + S.toString() + " " + S.toString() + ")"
2254
2291
  );
2255
2292
  break;
2256
2293
  }
2257
- S % 2 === 1 && (a.left !== a.top && (b = a.left, a.left = a.top, a.top = b), a.width !== a.height && (b = a.width, a.width = a.height, a.height = b)), l.length && (r = Uo(
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(
2258
2295
  r,
2259
- '<g transform="' + l.join(" ") + '">',
2296
+ '<g transform="' + i.join(" ") + '">',
2260
2297
  "</g>"
2261
2298
  ));
2262
2299
  });
2263
- const i = n.width, u = n.height, d = a.width, s = a.height;
2264
- let m, p;
2265
- i === null ? (p = u === null ? "1em" : u === "auto" ? s : u, m = Se(p, d / s)) : (m = i === "auto" ? d : i, p = u === null ? Se(m, s / d) : u === "auto" ? s : u);
2266
- const E = {}, T = (c, l) => {
2267
- _o(l) || (E[c] = l.toString());
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());
2268
2305
  };
2269
- T("width", m), T("height", p);
2270
- const w = [a.left, a.top, d, s];
2271
- return E.viewBox = w.join(" "), {
2306
+ T("width", m), T("height", h);
2307
+ const b = [a.left, a.top, d, s];
2308
+ return E.viewBox = b.join(" "), {
2272
2309
  attributes: E,
2273
- viewBox: w,
2310
+ viewBox: b,
2274
2311
  body: r
2275
2312
  };
2276
2313
  }
2277
- const qo = /\sid="(\S+)"/g, Ho = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2278
- let Vo = 0;
2279
- function Ko(e, t = Ho) {
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) {
2280
2317
  const o = [];
2281
2318
  let n;
2282
- for (; n = qo.exec(e); )
2319
+ for (; n = on.exec(e); )
2283
2320
  o.push(n[1]);
2284
2321
  if (!o.length)
2285
2322
  return e;
2286
2323
  const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
2287
2324
  return o.forEach((r) => {
2288
- const i = typeof t == "function" ? t(r) : t + (Vo++).toString(), u = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2325
+ const l = typeof t == "function" ? t(r) : t + (an++).toString(), c = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2289
2326
  e = e.replace(
2290
2327
  // Allowed characters before id: [#;"]
2291
2328
  // Allowed characters after id: [)"], .[a-z]
2292
- new RegExp('([#;"])(' + u + ')([")]|\\.[a-z])', "g"),
2293
- "$1" + i + a + "$3"
2329
+ new RegExp('([#;"])(' + c + ')([")]|\\.[a-z])', "g"),
2330
+ "$1" + l + a + "$3"
2294
2331
  );
2295
2332
  }), e = e.replace(new RegExp(a, "g"), ""), e;
2296
2333
  }
2297
- function Jo(e, t) {
2334
+ function sn(e, t) {
2298
2335
  let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
2299
2336
  for (const n in t)
2300
2337
  o += " " + n + '="' + t[n] + '"';
2301
2338
  return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
2302
2339
  }
2303
- function Wo(e) {
2340
+ function ln(e) {
2304
2341
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
2305
2342
  }
2306
- function Go(e) {
2307
- return "data:image/svg+xml," + Wo(e);
2343
+ function un(e) {
2344
+ return "data:image/svg+xml," + ln(e);
2308
2345
  }
2309
- function Yo(e) {
2310
- return 'url("' + Go(e) + '")';
2346
+ function cn(e) {
2347
+ return 'url("' + un(e) + '")';
2311
2348
  }
2312
- const Fe = {
2313
- ...Ke,
2349
+ const Ie = {
2350
+ ...et,
2314
2351
  inline: !1
2315
- }, Qo = {
2352
+ }, dn = {
2316
2353
  xmlns: "http://www.w3.org/2000/svg",
2317
2354
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
2318
2355
  "aria-hidden": !0,
2319
2356
  role: "img"
2320
- }, Zo = {
2357
+ }, mn = {
2321
2358
  display: "inline-block"
2322
- }, Q = {
2359
+ }, ae = {
2323
2360
  backgroundColor: "currentColor"
2324
- }, Je = {
2361
+ }, tt = {
2325
2362
  backgroundColor: "transparent"
2326
- }, De = {
2363
+ }, Ne = {
2327
2364
  Image: "var(--svg)",
2328
2365
  Repeat: "no-repeat",
2329
2366
  Size: "100% 100%"
2330
- }, ke = {
2331
- webkitMask: Q,
2332
- mask: Q,
2333
- background: Je
2367
+ }, Pe = {
2368
+ webkitMask: ae,
2369
+ mask: ae,
2370
+ background: tt
2334
2371
  };
2335
- for (const e in ke) {
2336
- const t = ke[e];
2337
- for (const o in De)
2338
- t[e + o] = De[o];
2372
+ for (const e in Pe) {
2373
+ const t = Pe[e];
2374
+ for (const o in Ne)
2375
+ t[e + o] = Ne[o];
2339
2376
  }
2340
- const j = {};
2377
+ const V = {};
2341
2378
  ["horizontal", "vertical"].forEach((e) => {
2342
2379
  const t = e.slice(0, 1) + "Flip";
2343
- j[e + "-flip"] = t, j[e.slice(0, 1) + "-flip"] = t, j[e + "Flip"] = t;
2380
+ V[e + "-flip"] = t, V[e.slice(0, 1) + "-flip"] = t, V[e + "Flip"] = t;
2344
2381
  });
2345
- function xe(e) {
2382
+ function Oe(e) {
2346
2383
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
2347
2384
  }
2348
- const Xo = (e, t) => {
2349
- const o = Ao(Fe, t), n = { ...Qo }, a = t.mode || "svg", r = {}, i = t.style, u = typeof i == "object" && !(i instanceof Array) ? i : {};
2350
- for (let c in t) {
2351
- const l = t[c];
2352
- if (l !== void 0)
2353
- switch (c) {
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) {
2354
2391
  // Properties to ignore
2355
2392
  case "icon":
2356
2393
  case "style":
@@ -2362,88 +2399,88 @@ const Xo = (e, t) => {
2362
2399
  case "inline":
2363
2400
  case "hFlip":
2364
2401
  case "vFlip":
2365
- o[c] = l === !0 || l === "true" || l === 1;
2402
+ o[u] = i === !0 || i === "true" || i === 1;
2366
2403
  break;
2367
2404
  // Flip as string: 'horizontal,vertical'
2368
2405
  case "flip":
2369
- typeof l == "string" && Oo(o, l);
2406
+ typeof i == "string" && Go(o, i);
2370
2407
  break;
2371
2408
  // Color: override style
2372
2409
  case "color":
2373
- r.color = l;
2410
+ r.color = i;
2374
2411
  break;
2375
2412
  // Rotation as string
2376
2413
  case "rotate":
2377
- typeof l == "string" ? o[c] = Lo(l) : typeof l == "number" && (o[c] = l);
2414
+ typeof i == "string" ? o[u] = Ko(i) : typeof i == "number" && (o[u] = i);
2378
2415
  break;
2379
2416
  // Remove aria-hidden
2380
2417
  case "ariaHidden":
2381
2418
  case "aria-hidden":
2382
- l !== !0 && l !== "true" && delete n["aria-hidden"];
2419
+ i !== !0 && i !== "true" && delete n["aria-hidden"];
2383
2420
  break;
2384
2421
  default: {
2385
- const I = j[c];
2386
- I ? (l === !0 || l === "true" || l === 1) && (o[I] = !0) : Fe[c] === void 0 && (n[c] = l);
2422
+ const y = V[u];
2423
+ y ? (i === !0 || i === "true" || i === 1) && (o[y] = !0) : Ie[u] === void 0 && (n[u] = i);
2387
2424
  }
2388
2425
  }
2389
2426
  }
2390
- const d = $o(e, o), s = d.attributes;
2427
+ const d = tn(e, o), s = d.attributes;
2391
2428
  if (o.inline && (r.verticalAlign = "-0.125em"), a === "svg") {
2392
2429
  n.style = {
2393
2430
  ...r,
2394
- ...u
2431
+ ...c
2395
2432
  }, Object.assign(n, s);
2396
- let c = 0, l = t.id;
2397
- return typeof l == "string" && (l = l.replace(/-/g, "_")), n.innerHTML = Ko(d.body, l ? () => l + "ID" + c++ : "iconifyVue"), k("svg", n);
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);
2398
2435
  }
2399
- const { body: m, width: p, height: E } = e, T = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), w = Jo(m, {
2436
+ const { body: m, width: h, height: E } = e, T = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), b = sn(m, {
2400
2437
  ...s,
2401
- width: p + "",
2438
+ width: h + "",
2402
2439
  height: E + ""
2403
2440
  });
2404
2441
  return n.style = {
2405
2442
  ...r,
2406
- "--svg": Yo(w),
2407
- width: xe(s.width),
2408
- height: xe(s.height),
2409
- ...Zo,
2410
- ...T ? Q : Je,
2411
- ...u
2412
- }, k("span", n);
2413
- }, ue = /* @__PURE__ */ Object.create(null);
2414
- function en(e, t) {
2415
- ue[e] = t;
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;
2416
2453
  }
2417
- function zn(e, t) {
2454
+ function Qn(e, t) {
2418
2455
  const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
2419
- Po(e) && Io(e, (n, a) => {
2420
- a && (ue[o + n] = a);
2456
+ $o(e) && qo(e, (n, a) => {
2457
+ a && (me[o + n] = a);
2421
2458
  });
2422
2459
  }
2423
- const Ie = A({
2460
+ const Re = L({
2424
2461
  // Do not inherit other attributes: it is handled by render()
2425
2462
  inheritAttrs: !1,
2426
2463
  // Render icon
2427
2464
  render() {
2428
- const e = this.$attrs, t = e.icon, o = typeof t == "string" ? ue[t] : typeof t == "object" ? t : null;
2429
- return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : Xo({
2430
- ...ie,
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,
2431
2468
  ...o
2432
2469
  }, e);
2433
2470
  }
2434
- }), tn = A({
2471
+ }), fn = L({
2435
2472
  name: "IconOffline",
2436
- components: { IconifyIcon: Ie },
2473
+ components: { IconifyIcon: Re },
2437
2474
  props: {
2438
2475
  icon: {
2439
2476
  default: null
2440
2477
  }
2441
2478
  },
2442
2479
  render() {
2443
- typeof this.icon == "object" && en(this.icon, this.icon);
2480
+ typeof this.icon == "object" && hn(this.icon, this.icon);
2444
2481
  const e = this.$attrs;
2445
- return k(
2446
- Ie,
2482
+ return P(
2483
+ Re,
2447
2484
  {
2448
2485
  icon: this.icon,
2449
2486
  style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
@@ -2455,9 +2492,9 @@ const Ie = A({
2455
2492
  );
2456
2493
  }
2457
2494
  });
2458
- A({
2495
+ L({
2459
2496
  name: "IconifyIconOnline",
2460
- components: { IconifyIcon: he },
2497
+ components: { IconifyIcon: we },
2461
2498
  props: {
2462
2499
  icon: {
2463
2500
  type: String,
@@ -2466,8 +2503,8 @@ A({
2466
2503
  },
2467
2504
  render() {
2468
2505
  const e = this.$attrs;
2469
- return k(
2470
- he,
2506
+ return P(
2507
+ we,
2471
2508
  {
2472
2509
  icon: `${this.icon}`,
2473
2510
  style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
@@ -2479,7 +2516,7 @@ A({
2479
2516
  );
2480
2517
  }
2481
2518
  });
2482
- const on = A({
2519
+ const gn = L({
2483
2520
  name: "FontIcon",
2484
2521
  props: {
2485
2522
  icon: {
@@ -2489,14 +2526,14 @@ const on = A({
2489
2526
  },
2490
2527
  render() {
2491
2528
  const e = this.$attrs;
2492
- return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? k(
2529
+ return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? P(
2493
2530
  "i",
2494
2531
  {
2495
2532
  class: "iconfont",
2496
2533
  ...e
2497
2534
  },
2498
2535
  this.icon
2499
- ) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? k(
2536
+ ) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? P(
2500
2537
  "svg",
2501
2538
  {
2502
2539
  class: "icon-svg",
@@ -2504,28 +2541,28 @@ const on = A({
2504
2541
  },
2505
2542
  {
2506
2543
  default: () => [
2507
- k("use", {
2544
+ P("use", {
2508
2545
  "xlink:href": `#${this.icon}`
2509
2546
  })
2510
2547
  ]
2511
2548
  }
2512
- ) : k("i", {
2549
+ ) : P("i", {
2513
2550
  class: `iconfont ${this.icon}`,
2514
2551
  ...e
2515
2552
  });
2516
2553
  }
2517
- }), nn = tn, an = on, rn = {
2554
+ }), yn = fn, wn = gn, bn = {
2518
2555
  mounted(e, t) {
2519
2556
  var n;
2520
2557
  const { value: o } = t;
2521
2558
  if (o) {
2522
- const r = `${(n = h.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
2523
- f().getButtonAuth.includes(r) || e.parentNode.removeChild(e);
2559
+ const r = `${(n = f.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
2560
+ C().getButtonAuth.includes(r) || e.parentNode.removeChild(e);
2524
2561
  } else
2525
2562
  throw new Error(`need roles! Like v-auth="['admin','test']"`);
2526
2563
  }
2527
2564
  };
2528
- function sn(e) {
2565
+ function Cn(e) {
2529
2566
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
2530
2567
  var n = e.get(t);
2531
2568
  n ? n.push(o) : e.set(t, [o]);
@@ -2541,81 +2578,245 @@ function sn(e) {
2541
2578
  });
2542
2579
  } };
2543
2580
  }
2544
- const un = sn(), Ne = gt({
2581
+ const vn = Cn(), Le = St({
2545
2582
  strategy: "scroll"
2546
- }), ln = {
2583
+ }), Tn = {
2547
2584
  mounted(e, t, o) {
2548
- Ne.listenTo(e, (n) => {
2585
+ Le.listenTo(e, (n) => {
2549
2586
  const a = n.offsetWidth, r = n.offsetHeight;
2550
- t != null && t.instance ? un.emit("resize", { detail: { width: a, height: r } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: r } }));
2587
+ t != null && t.instance ? vn.emit("resize", { detail: { width: a, height: r } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: r } }));
2551
2588
  });
2552
2589
  },
2553
2590
  unmounted(e) {
2554
- Ne.uninstall(e);
2591
+ Le.uninstall(e);
2555
2592
  }
2556
- }, Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2593
+ }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2557
2594
  __proto__: null,
2558
- auth: rn,
2559
- resize: ln
2560
- }, Symbol.toStringTag, { value: "Module" })), y = Ze(Nt);
2561
- y.use(ht, {
2595
+ auth: bn,
2596
+ resize: Tn
2597
+ }, Symbol.toStringTag, { value: "Module" })), v = st(Ut);
2598
+ v.use(Et, {
2562
2599
  defaultProps: { animation: "perspective" }
2563
2600
  });
2564
- const cn = (e) => {
2565
- e.config.globalProperties.$hasAuthority = Fo, e.config.globalProperties.$serviceApi = $(), e.config.globalProperties.$url = C();
2566
- }, dn = (e) => {
2567
- Object.keys(Pe).forEach((t) => {
2568
- e.directive(t, Pe[t]);
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]);
2569
2606
  });
2570
- }, jn = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: r }) => (mo(n, e), y.use(e), St(e), Et(y, t), Tt(a), fo(r), new Promise((i) => {
2571
- Ht(y, o), y.component("IconifyIconOffline", nn), y.component("FontIcon", an), y.use(pt, { defaultOptions: { zIndex: 9999 } }), cn(y), Ft(C()), dn(y), Pt(y), So(y, t), i({ app: y, router: e });
2572
- })), mn = {
2573
- onLogined: () => {
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 });
2609
+ }));
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 = {
2613
+ layout: (t == null ? void 0 : t.Layout) ?? "vertical",
2614
+ theme: (t == null ? void 0 : t.Theme) ?? "default",
2615
+ darkMode: (t == null ? void 0 : t.DarkMode) ?? !1,
2616
+ sidebarStatus: (t == null ? void 0 : t.SidebarStatus) ?? !0,
2617
+ epThemeColor: (t == null ? void 0 : t.EpThemeColor) ?? "#409EFF",
2618
+ overallStyle: (t == null ? void 0 : t.OverallStyle) ?? "light"
2619
+ }), e && !(e != null && e.configure) && (e.configure = {
2620
+ grey: (t == null ? void 0 : t.Grey) ?? !1,
2621
+ weak: (t == null ? void 0 : t.Weak) ?? !1,
2622
+ hideTabs: (t == null ? void 0 : t.HideTabs) ?? !1,
2623
+ showLogo: (t == null ? void 0 : t.ShowLogo) ?? !0,
2624
+ showModel: (t == null ? void 0 : t.ShowModel) ?? "smart",
2625
+ multiTagsCache: (t == null ? void 0 : t.MultiTagsCache) ?? !1
2626
+ });
2627
+ }, n = fe(() => e == null ? void 0 : e.layout.layout), a = fe(() => e == null ? void 0 : e.layout);
2628
+ return {
2629
+ layout: n,
2630
+ layoutTheme: a,
2631
+ initStorage: o
2632
+ };
2633
+ }
2634
+ const Fn = z("udp-app", {
2635
+ state: () => {
2636
+ var e, t;
2637
+ return {
2638
+ sidebar: {
2639
+ opened: ((e = p.getItem(`${w()}layout`)) == null ? void 0 : e.sidebarStatus) ?? k().SidebarStatus,
2640
+ withoutAnimation: !1,
2641
+ isClickCollapse: !1
2642
+ },
2643
+ // 这里的layout用于监听容器拖拉后恢复对应的导航模式
2644
+ layout: ((t = p.getItem(`${w()}layout`)) == null ? void 0 : t.layout) ?? k().Layout,
2645
+ device: mt() ? "mobile" : "desktop"
2646
+ };
2574
2647
  },
2575
- onBeforeLogout: () => {
2648
+ getters: {
2649
+ getSidebarStatus() {
2650
+ return this.sidebar.opened;
2651
+ },
2652
+ getDevice() {
2653
+ return this.device;
2654
+ }
2655
+ },
2656
+ actions: {
2657
+ 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));
2660
+ },
2661
+ async toggleSideBar(e, t) {
2662
+ await this.TOGGLE_SIDEBAR(e, t);
2663
+ },
2664
+ toggleDevice(e) {
2665
+ this.device = e;
2666
+ },
2667
+ setLayout(e) {
2668
+ this.layout = e;
2669
+ }
2576
2670
  }
2577
- }, Un = () => {
2578
- mn.onLogined();
2579
- };
2671
+ });
2672
+ function Dn() {
2673
+ return Fn(A);
2674
+ }
2675
+ const xn = z("udp-epTheme", {
2676
+ state: () => {
2677
+ var e, t;
2678
+ 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
2681
+ };
2682
+ },
2683
+ getters: {
2684
+ getEpThemeColor() {
2685
+ return this.epThemeColor;
2686
+ },
2687
+ // 用于mix导航模式下hamburger-svg的fill属性
2688
+ fill() {
2689
+ return this.epTheme === "light" ? "#409eff" : this.epTheme === "yellow" ? "#d25f00" : "#fff";
2690
+ }
2691
+ },
2692
+ actions: {
2693
+ 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));
2696
+ }
2697
+ }
2698
+ });
2699
+ function X() {
2700
+ return xn(A);
2701
+ }
2702
+ function Xn() {
2703
+ var T, b;
2704
+ const { layoutTheme: e, layout: t } = kn(), o = Y([
2705
+ /* 道奇蓝(默认) */
2706
+ { color: "#1b2a47", themeColor: "default" },
2707
+ /* 亮白色 */
2708
+ { color: "#ffffff", themeColor: "light" },
2709
+ /* 猩红色 */
2710
+ { color: "#f5222d", themeColor: "dusk" },
2711
+ /* 橙红色 */
2712
+ { color: "#fa541c", themeColor: "volcano" },
2713
+ /* 金色 */
2714
+ { color: "#fadb14", themeColor: "yellow" },
2715
+ /* 绿宝石 */
2716
+ { color: "#13c2c2", themeColor: "mingQing" },
2717
+ /* 酸橙绿 */
2718
+ { color: "#52c41a", themeColor: "auroraGreen" },
2719
+ /* 深粉色 */
2720
+ { color: "#eb2f96", themeColor: "pink" },
2721
+ /* 深紫罗兰色 */
2722
+ { 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;
2728
+ }
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 = {
2732
+ layout: t.value,
2733
+ theme: u,
2734
+ darkMode: a.value,
2735
+ sidebarStatus: (i = n.layout) == null ? void 0 : i.sidebarStatus,
2736
+ epThemeColor: (y = n.layout) == null ? void 0 : y.epThemeColor,
2737
+ overallStyle: r.value
2738
+ }, u === "default" || u === "light")
2739
+ m(k().EpThemeColor || "#409EFF");
2740
+ else {
2741
+ const D = o.value.find((g) => g.themeColor === u);
2742
+ m(D.color);
2743
+ }
2744
+ }
2745
+ function s(u, i, y) {
2746
+ document.documentElement.style.setProperty(
2747
+ `--el-color-primary-${u}-${i}`,
2748
+ a.value ? $t(y, i / 10) : Vt(y, i / 10)
2749
+ );
2750
+ }
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);
2757
+ };
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"));
2760
+ }
2761
+ 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();
2765
+ }
2766
+ return {
2767
+ body: l,
2768
+ overallStyle: r,
2769
+ dataTheme: a,
2770
+ layoutTheme: e,
2771
+ themeColors: o,
2772
+ onReset: E,
2773
+ toggleClass: c,
2774
+ dataThemeChange: h,
2775
+ setEpThemeColor: m,
2776
+ setLayoutThemeColor: d
2777
+ };
2778
+ }
2580
2779
  export {
2581
- xn as A,
2582
- In as B,
2583
- Pn as C,
2584
- Gt as D,
2585
- Un as E,
2586
- an as F,
2587
- jn as G,
2588
- Fo as H,
2589
- nn as I,
2590
- mn as J,
2591
- Mn as K,
2592
- Rn as L,
2593
- An as M,
2594
- xt as _,
2595
- zn as a,
2596
- en as b,
2597
- Nn as c,
2598
- f as d,
2599
- z as e,
2600
- _e as f,
2601
- oe as g,
2602
- un as h,
2603
- ge as i,
2604
- ne as j,
2605
- vt as k,
2606
- kn as l,
2607
- Dn as m,
2608
- Ct as n,
2609
- Ln as o,
2610
- On as p,
2611
- $ as q,
2612
- h as r,
2613
- q as s,
2614
- Vt as t,
2615
- x as u,
2616
- F as v,
2617
- to as w,
2618
- C as x,
2619
- no as y,
2620
- Bn as z
2780
+ kn as A,
2781
+ I as B,
2782
+ Wn as C,
2783
+ 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,
2791
+ qt as L,
2792
+ Yn as M,
2793
+ Kn as N,
2794
+ Gn as O,
2795
+ 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,
2810
+ 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,
2820
+ ho as y,
2821
+ Xn as z
2621
2822
  };