@okiss/oms 0.0.31 → 0.0.32

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 (107) hide show
  1. package/dist/index.es.js +220 -227
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/types/App.vue.d.ts +44 -0
  4. package/dist/types/admin.d.ts +6 -7
  5. package/dist/types/components/{PageLoad.d.ts → PageLoad.vue.d.ts} +0 -0
  6. package/dist/types/components/{RightMenu.d.ts → RightMenu.vue.d.ts} +2 -2
  7. package/dist/types/components/VLoading.vue.d.ts +2 -0
  8. package/dist/types/components/{VTree.d.ts → VTree.vue.d.ts} +5 -5
  9. package/dist/types/components/report/{NumberPanel.d.ts → NumberPanel.vue.d.ts} +1 -1
  10. package/dist/types/components/report/index.vue.d.ts +89 -0
  11. package/dist/types/components/report/part.vue.d.ts +2 -0
  12. package/dist/types/default.d.ts +2 -2
  13. package/dist/types/directive/devtool.d.ts +1 -1
  14. package/dist/types/directive/outClick.d.ts +1 -1
  15. package/dist/types/directive/resize.d.ts +1 -1
  16. package/dist/types/directive/rightClick.d.ts +1 -1
  17. package/dist/types/index.d.ts +1 -1
  18. package/dist/types/mock/apis/index.d.ts +1 -1
  19. package/dist/types/mock/apis/user.d.ts +1 -1
  20. package/dist/types/mock/index.d.ts +1 -1
  21. package/dist/types/plugins/element-plus.d.ts +3 -3
  22. package/dist/types/plugins/eventBus.d.ts +1 -1
  23. package/dist/types/render/index.d.ts +1 -1
  24. package/dist/types/router/guard/index.d.ts +1 -1
  25. package/dist/types/router/guard/nprogress.d.ts +2 -2
  26. package/dist/types/router/guard/permission.d.ts +1 -1
  27. package/dist/types/router/guard/remote-routes.d.ts +1 -1
  28. package/dist/types/router/guard/set-page-title.d.ts +1 -1
  29. package/dist/types/router/index.d.ts +1 -1
  30. package/dist/types/router/remote.d.ts +1 -1
  31. package/dist/types/router/types.d.ts +1 -1
  32. package/dist/types/scaffold/404.vue.d.ts +2 -0
  33. package/dist/types/scaffold/container.vue.d.ts +44 -0
  34. package/dist/types/scaffold/custom.vue.d.ts +44 -0
  35. package/dist/types/scaffold/dashboard.vue.d.ts +2 -0
  36. package/dist/types/scaffold/devtool/DevLayout.vue.d.ts +2 -0
  37. package/dist/types/scaffold/devtool/formBuilder/ctrls/select.d.ts +0 -1
  38. package/dist/types/scaffold/devtool/formBuilder/index.vue.d.ts +142 -0
  39. package/dist/types/scaffold/devtool/tableBuilder/btn/index.d.ts +11 -0
  40. package/dist/types/scaffold/devtool/tableBuilder/btn/jump.d.ts +49 -0
  41. package/dist/types/scaffold/devtool/tableBuilder/btn/table.d.ts +50 -0
  42. package/dist/types/scaffold/devtool/tableBuilder/columns/emum.d.ts +35 -0
  43. package/dist/types/scaffold/devtool/tableBuilder/columns/html.d.ts +17 -0
  44. package/dist/types/scaffold/devtool/tableBuilder/columns/icon.d.ts +17 -0
  45. package/dist/types/scaffold/devtool/tableBuilder/columns/image.d.ts +17 -0
  46. package/dist/types/scaffold/devtool/tableBuilder/columns/index.d.ts +21 -0
  47. package/dist/types/scaffold/devtool/tableBuilder/columns/json.d.ts +17 -0
  48. package/dist/types/scaffold/devtool/tableBuilder/columns/link.d.ts +17 -0
  49. package/dist/types/scaffold/devtool/tableBuilder/columns/rich.d.ts +17 -0
  50. package/dist/types/scaffold/devtool/tableBuilder/columns/span.d.ts +17 -0
  51. package/dist/types/scaffold/devtool/tableBuilder/columns/tpl.d.ts +23 -0
  52. package/dist/types/scaffold/devtool/tableBuilder/ctrls/date.d.ts +17 -0
  53. package/dist/types/scaffold/devtool/tableBuilder/ctrls/input.d.ts +38 -0
  54. package/dist/types/scaffold/devtool/tableBuilder/ctrls/select.d.ts +89 -0
  55. package/dist/types/scaffold/devtool/tableBuilder/index.vue.d.ts +572 -0
  56. package/dist/types/scaffold/form.vue.d.ts +44 -0
  57. package/dist/types/scaffold/layout/components/AppMain.vue.d.ts +44 -0
  58. package/dist/types/scaffold/layout/components/Breadcrumb/index.vue.d.ts +9 -0
  59. package/dist/types/scaffold/layout/components/Hamburger/index.vue.d.ts +18 -0
  60. package/dist/types/scaffold/layout/components/Navbar.vue.d.ts +29 -0
  61. package/dist/types/scaffold/layout/components/PageEditor.vue.d.ts +7 -0
  62. package/dist/types/scaffold/layout/components/PageScheam.vue.d.ts +7 -0
  63. package/dist/types/scaffold/layout/components/Sidebar/FixiOSBug.d.ts +10 -0
  64. package/dist/types/scaffold/layout/components/Sidebar/Link.vue.d.ts +37 -0
  65. package/dist/types/scaffold/layout/components/Sidebar/Logo.vue.d.ts +15 -0
  66. package/dist/types/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +82 -0
  67. package/dist/types/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +41 -0
  68. package/dist/types/scaffold/layout/components/Sidebar/index.vue.d.ts +17 -0
  69. package/dist/types/scaffold/layout/components/index.d.ts +3 -0
  70. package/dist/types/scaffold/layout/index.vue.d.ts +44 -0
  71. package/dist/types/scaffold/login.vue.d.ts +44 -0
  72. package/dist/types/scaffold/report.vue.d.ts +44 -0
  73. package/dist/types/scaffold/table.vue.d.ts +44 -0
  74. package/dist/types/scaffold/tree.vue.d.ts +44 -0
  75. package/dist/types/store/index.d.ts +5 -0
  76. package/dist/types/store/modules/app.d.ts +5 -0
  77. package/dist/types/store/modules/builderSchema.d.ts +9 -0
  78. package/dist/types/store/modules/settings.d.ts +5 -0
  79. package/dist/types/store/modules/user.d.ts +5 -0
  80. package/dist/types/store/types.d.ts +43 -0
  81. package/dist/types/types.d.ts +10 -10
  82. package/dist/types/utils/comm.d.ts +1 -0
  83. package/dist/types/utils/container/index.d.ts +3 -0
  84. package/dist/types/utils/index.d.ts +2 -0
  85. package/dist/types/utils/request/cache.d.ts +5 -0
  86. package/dist/types/utils/request/index.d.ts +4 -0
  87. package/dist/types/utils/request/interceptors.d.ts +3 -0
  88. package/dist/types/utils/request/pending.d.ts +15 -0
  89. package/dist/types/utils/request/types.d.ts +14 -0
  90. package/dist/types/utils/sso/index.d.ts +35 -0
  91. package/dist/types/utils/token.d.ts +3 -0
  92. package/package.json +12 -38
  93. package/dist/types/App.d.ts +0 -124
  94. package/dist/types/components/VLoading.d.ts +0 -0
  95. package/dist/types/components/report/part.d.ts +0 -66
  96. package/dist/types/scaffold/404.d.ts +0 -4
  97. package/dist/types/scaffold/container.d.ts +0 -10
  98. package/dist/types/scaffold/custom.d.ts +0 -15
  99. package/dist/types/scaffold/dashboard.d.ts +0 -2
  100. package/dist/types/scaffold/devtool/DevLayout.d.ts +0 -0
  101. package/dist/types/scaffold/devtool/formBuilder/index.d.ts +0 -47
  102. package/dist/types/scaffold/devtool/tableBuilder/index.d.ts +0 -51
  103. package/dist/types/scaffold/form.d.ts +0 -21
  104. package/dist/types/scaffold/login.d.ts +0 -14
  105. package/dist/types/scaffold/report.d.ts +0 -11
  106. package/dist/types/scaffold/table.d.ts +0 -17
  107. package/dist/types/scaffold/tree.d.ts +0 -10
package/dist/index.es.js CHANGED
@@ -1,23 +1,22 @@
1
1
  var Ct = Object.defineProperty;
2
2
  var xt = (e, t, l) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
3
3
  var R = (e, t, l) => (xt(e, typeof t != "symbol" ? t + "" : t, l), l);
4
- import { defineComponent as V, onBeforeMount as Ke, provide as Bt, resolveComponent as v, openBlock as i, createBlock as m, unref as k, withCtx as r, createVNode as c, computed as N, createTextVNode as g, TransitionGroup as It, createElementBlock as h, Fragment as E, renderList as A, toDisplayString as I, normalizeClass as G, renderSlot as te, mergeProps as U, createCommentVNode as w, toRefs as At, ref as P, normalizeStyle as $t, createElementVNode as b, Transition as Tt, pushScopeId as We, popScopeId as Ze, resolveDynamicComponent as Qe, normalizeProps as K, guardReactiveProps as X, withDirectives as ve, vModelText as Ne, resolveDirective as Ft, onMounted as Ot, isRef as Dt, getCurrentInstance as Pt, h as Rt, toRaw as Lt, createApp as Mt } from "vue";
5
- import { ElConfigProvider as jt, ElBreadcrumbItem as Nt, ElBreadcrumb as Vt, ElRow as se, ElMain as qt, ElAside as Ut, ElContainer as Ht, ElDivider as Xe, ElButton as ue, ElOption as xe, ElSelect as Be, ElFormItem as Ye, ElForm as et, ElCol as ce, ElDrawer as tt, ElDropdownItem as Gt, ElDropdownMenu as Jt, ElDropdown as zt, ElMenuItem as Kt, ElSubMenu as Wt, ElOptionGroup as Zt, ElMenu as Qt, ElScrollbar as Xt, ElBacktop as Yt, ElMessage as el, ElAlert as ge, ElTree as tl, ElCard as Ie } from "element-plus/es";
6
- import "element-plus/es/components/config-provider/style/css";
7
- import Ae from "element-plus/lib/locale/lang/zh-cn";
8
- import { addNewStyle as ll, addNewStyleTag as nl, queryParams as ol, logGroup as sl, isString as $e, compactObject as lt, showEleByClassName as nt, waterMarker as al, Cache as fe, isExternal as Ve, getQueryParam as il, createIFrame as rl, strVarReplace as Z, obj2Param as ul, isObject as Q, effectDataTrans as cl, isArray as ot } from "@okiss/utils";
4
+ import { defineComponent as V, onBeforeMount as ze, provide as Bt, resolveComponent as v, openBlock as i, createBlock as m, createVNode as c, computed as N, createTextVNode as g, withCtx as r, TransitionGroup as It, createElementBlock as h, Fragment as k, renderList as A, toDisplayString as I, normalizeClass as G, renderSlot as te, mergeProps as U, createCommentVNode as w, toRefs as At, ref as P, normalizeStyle as $t, createElementVNode as b, Transition as Tt, pushScopeId as Ke, popScopeId as We, resolveDynamicComponent as Ze, normalizeProps as K, guardReactiveProps as X, unref as E, withDirectives as ve, vModelText as je, resolveDirective as Ft, onMounted as Ot, isRef as Dt, getCurrentInstance as Pt, h as Rt, toRaw as Lt, createApp as Mt } from "vue";
5
+ import { addNewStyle as jt, addNewStyleTag as Nt, queryParams as Vt, logGroup as qt, isString as xe, compactObject as Qe, showEleByClassName as Xe, waterMarker as Ut, Cache as fe, isExternal as Ne, getQueryParam as Ht, createIFrame as Gt, strVarReplace as Z, obj2Param as Jt, isObject as Q, effectDataTrans as zt, isArray as Ye } from "@okiss/utils";
9
6
  import he from "mockjs";
10
- import pl, { cloneDeep as y, merge as F, get as le, unset as st } from "lodash";
11
- import Te from "axios";
7
+ import Kt, { cloneDeep as y, merge as F, get as le, unset as et } from "lodash";
8
+ import tt from "element-plus/lib/locale/lang/zh-cn";
9
+ import Be from "axios";
12
10
  import M from "js-cookie";
13
- import { createStore as dl, useStore as at, mapGetters as Fe } from "vuex";
14
- import ml, { ElMessage as fl, ElMessageBox as hl, ElCard as bl, ElRow as _l, ElCol as yl } from "element-plus";
11
+ import { createStore as Wt, useStore as lt, mapGetters as Ie } from "vuex";
12
+ import Zt, { ElMessage as Qt, ElMessageBox as Xt, ElCard as Yt, ElRow as el, ElCol as tl } from "element-plus";
15
13
  import "element-plus/dist/index.css";
16
14
  import "dayjs/locale/zh-cn";
17
- import { VForm as J, VBtn as Oe, JsonView as De, VTable as ne, VChart as vl, setUploadHeaderHandle as gl, VIcon as kl } from "@okiss/vbtf";
15
+ import { VForm as J, VBtn as Ae, JsonView as $e, VTable as ne, VChart as ll, setUploadHeaderHandle as nl, VIcon as ol } from "@okiss/vbtf";
18
16
  import "normalize.css/normalize.css";
19
17
  import "@okiss/vbtf/style.css";
20
- import { useRoute as pe, onBeforeRouteLeave as El, useRouter as wl, createRouter as Sl, createWebHashHistory as Cl, onBeforeRouteUpdate as xl } from "vue-router";
18
+ import { useRoute as ce, onBeforeRouteLeave as sl, useRouter as al, createRouter as il, createWebHashHistory as rl, onBeforeRouteUpdate as ul } from "vue-router";
19
+ import { ElBreadcrumbItem as cl, ElBreadcrumb as pl, ElRow as se, ElMain as dl, ElAside as ml, ElContainer as fl, ElDivider as nt, ElButton as ue, ElOption as Te, ElSelect as Fe, ElFormItem as ot, ElForm as st, ElCol as pe, ElDrawer as at, ElDropdownItem as hl, ElDropdownMenu as bl, ElDropdown as _l, ElMenuItem as yl, ElSubMenu as vl, ElOptionGroup as gl, ElMenu as kl, ElScrollbar as El, ElBacktop as wl, ElMessage as Sl, ElAlert as ge, ElTree as Cl, ElCard as Oe } from "element-plus/es";
21
20
  import "element-plus/es/components/row/style/css";
22
21
  import "element-plus/es/components/drawer/style/css";
23
22
  import "element-plus/es/components/dropdown/style/css";
@@ -26,7 +25,7 @@ import "element-plus/es/components/dropdown-item/style/css";
26
25
  import "element-plus/es/components/col/style/css";
27
26
  import "element-plus/es/components/breadcrumb/style/css";
28
27
  import "element-plus/es/components/breadcrumb-item/style/css";
29
- import * as Bl from "path-to-regexp";
28
+ import * as xl from "path-to-regexp";
30
29
  import "element-plus/es/components/form/style/css";
31
30
  import "element-plus/es/components/form-item/style/css";
32
31
  import "element-plus/es/components/select/style/css";
@@ -36,18 +35,18 @@ import "element-plus/es/components/divider/style/css";
36
35
  import "element-plus/es/components/container/style/css";
37
36
  import "element-plus/es/components/aside/style/css";
38
37
  import "element-plus/es/components/main/style/css";
39
- import Il from "mitt";
38
+ import Bl from "mitt";
40
39
  import "element-plus/es/components/scrollbar/style/css";
41
40
  import "element-plus/es/components/menu/style/css";
42
41
  import "element-plus/es/components/sub-menu/style/css";
43
42
  import "element-plus/es/components/menu-item/style/css";
44
43
  import "element-plus/es/components/option-group/style/css";
45
44
  import "element-plus/es/components/backtop/style/css";
46
- import { useEventListener as Al } from "@vueuse/core";
45
+ import { useEventListener as Il } from "@vueuse/core";
47
46
  import "element-plus/es/components/alert/style/css";
48
47
  import "element-plus/es/components/card/style/css";
49
48
  import "element-plus/es/components/tree/style/css";
50
- import $l from "vue3-markdown-it";
49
+ import Al from "vue3-markdown-it";
51
50
  import "element-plus/es/components/message/style/css";
52
51
  import ke from "nprogress";
53
52
  import "nprogress/nprogress.css";
@@ -57,33 +56,26 @@ String.prototype.format || (String.prototype.format = function() {
57
56
  return typeof e[l] < "u" ? e[l] : t;
58
57
  });
59
58
  });
60
- const Tl = /* @__PURE__ */ V({
59
+ const $l = /* @__PURE__ */ V({
61
60
  __name: "App",
62
61
  setup(e) {
63
- var l, n, o, s;
64
- Ke(() => {
65
- const a = document.getElementById("preloader");
66
- a !== null && (document.body.removeChild(a), ll("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), nl(`.iconfont {
62
+ var t, l, n, o;
63
+ return ze(() => {
64
+ const s = document.getElementById("preloader");
65
+ s !== null && (document.body.removeChild(s), jt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), Nt(`.iconfont {
67
66
  font-size: 19px;
68
67
  font-style: normal;
69
68
  -webkit-font-smoothing: antialiased;
70
69
  font-family: iconfont !important;
71
70
  }`));
72
- });
73
- const t = Ae;
74
- return (n = (l = window == null ? void 0 : window.OmsOptions) == null ? void 0 : l.form) != null && n.vsPath && Bt("vsPath", (s = (o = window == null ? void 0 : window.OmsOptions) == null ? void 0 : o.form) == null ? void 0 : s.vsPath), (a, u) => {
75
- const p = v("router-view"), d = jt;
76
- return i(), m(d, { locale: k(t) }, {
77
- default: r(() => [
78
- c(p)
79
- ]),
80
- _: 1
81
- }, 8, ["locale"]);
71
+ }), (l = (t = window == null ? void 0 : window.OmsOptions) == null ? void 0 : t.form) != null && l.vsPath && Bt("vsPath", (o = (n = window == null ? void 0 : window.OmsOptions) == null ? void 0 : n.form) == null ? void 0 : o.vsPath), (s, a) => {
72
+ const u = v("router-view");
73
+ return i(), m(u);
82
74
  };
83
75
  }
84
76
  });
85
77
  var Y = /* @__PURE__ */ ((e) => (e.GET = "get", e.POST = "post", e.DELETE = "delete", e.FETCH = "fetch", e.OPTION = "option", e.PUT = "put", e))(Y || {});
86
- const Fl = {
78
+ const Tl = {
87
79
  saveApi: "/save",
88
80
  afterSubmit: "",
89
81
  afterReset: "goback",
@@ -415,7 +407,7 @@ const Fl = {
415
407
  info: "\u5728\u901A\u7528\u8868\u5355\u63A7\u4EF6\u65E0\u6CD5\u6EE1\u8DB3\u9700\u6C42\u65F6, \u53EF\u4EE5\u7F16\u5199 `template` \u6A21\u677F\u7EC4\u4EF6"
416
408
  }
417
409
  ]
418
- }, qe = [
410
+ }, Ve = [
419
411
  {
420
412
  type: "jump",
421
413
  text: "\u8DF3\u8F6C",
@@ -470,7 +462,7 @@ const Fl = {
470
462
  type: "success"
471
463
  }
472
464
  }
473
- ], Ol = {
465
+ ], Fl = {
474
466
  exportAble: !0,
475
467
  filter: [
476
468
  {
@@ -536,7 +528,7 @@ const Fl = {
536
528
  label: "\u4FE1\u606F"
537
529
  }
538
530
  ],
539
- batchButton: qe,
531
+ batchButton: Ve,
540
532
  rowButton: [
541
533
  {
542
534
  type: "jump",
@@ -567,7 +559,7 @@ const Fl = {
567
559
  }
568
560
  ],
569
561
  normalButton: [
570
- ...pl.cloneDeep(qe),
562
+ ...Kt.cloneDeep(Ve),
571
563
  {
572
564
  type: "jump",
573
565
  target: "/user/form",
@@ -579,7 +571,7 @@ const Fl = {
579
571
  ],
580
572
  selectedNotice: "\u5F53\u524D\u5171\u52FE\u9009: {selectedCount} \u6761",
581
573
  listApi: "/user/list"
582
- }, Dl = {
574
+ }, Ol = {
583
575
  code: 0,
584
576
  data: {
585
577
  "list|0-100": [
@@ -600,7 +592,7 @@ const Fl = {
600
592
  "page|1-5": 2
601
593
  }
602
594
  }
603
- }, Pl = {
595
+ }, Dl = {
604
596
  afterSubmit: "",
605
597
  afterReset: "goback",
606
598
  formItems: [
@@ -637,7 +629,7 @@ const Fl = {
637
629
  label: "span"
638
630
  }
639
631
  ]
640
- }, Rl = {
632
+ }, Pl = {
641
633
  afterSubmit: "",
642
634
  afterReset: "",
643
635
  formItems: [
@@ -676,7 +668,7 @@ const Fl = {
676
668
  label: "span"
677
669
  }
678
670
  ]
679
- }, Ll = { form: Fl, table: Ol, listMock: Dl, layoutForm: Pl, layoutSection: Rl }, Ml = [
671
+ }, Rl = { form: Tl, table: Fl, listMock: Ol, layoutForm: Dl, layoutSection: Pl }, Ll = [
680
672
  {
681
673
  method: Y.POST,
682
674
  url: "/login",
@@ -720,11 +712,11 @@ const Fl = {
720
712
  {
721
713
  url: "/user/list",
722
714
  method: Y.GET,
723
- response: (e) => Ll.listMock
715
+ response: (e) => Rl.listMock
724
716
  }
725
- ], jl = [
726
- ...Ml
727
- ], Nl = {
717
+ ], Ml = [
718
+ ...Ll
719
+ ], jl = {
728
720
  baseURL: "/api",
729
721
  withCredentials: !0,
730
722
  timeout: 5e3,
@@ -743,7 +735,7 @@ const Fl = {
743
735
  ElementPlus: {
744
736
  size: "default",
745
737
  zIndex: 3e3,
746
- locale: Ae
738
+ locale: tt
747
739
  },
748
740
  nav: [],
749
741
  whiteRoutes: ["/login"],
@@ -755,7 +747,7 @@ const Fl = {
755
747
  },
756
748
  serviceOffLineNotice: "\u5F53\u524D\u9875\u9762\u529F\u80FD\u6B63\u5728\u7EF4\u62A4, \u8BF7\u7A0D\u540E\u518D\u8BD5~~~"
757
749
  }, de = {
758
- axios: Nl,
750
+ axios: jl,
759
751
  settings: it,
760
752
  plugins: [],
761
753
  mock: !1
@@ -766,37 +758,37 @@ function rt(e) {
766
758
  Ee[`${t.method}::${l}`] = t;
767
759
  });
768
760
  }
769
- rt(jl);
761
+ rt(Ml);
770
762
  function ut(e) {
771
763
  var n;
772
764
  let t = e.url, l = e.baseURL || ((n = de.axios) == null ? void 0 : n.baseURL);
773
765
  return l || (l = ""), typeof t == "string" ? (t = ("/" + l + t).split("/").filter((o) => o).join("/"), t += "(|\\?.*)$", new RegExp(t)) : t;
774
766
  }
775
- function Vl() {
767
+ function Nl() {
776
768
  Object.keys(Ee).forEach((e) => {
777
769
  const t = Ee[e], l = ut(t);
778
770
  he.mock(l, t.method, function(n) {
779
- const { url: o, type: s, body: a } = n, u = ol(o), p = a ? JSON.parse(a) : {}, d = t.response({ query: u, data: p }), f = he.mock(d);
780
- return sl(o, { type: s, query: u, data: p, response: f }), he.mock(f);
771
+ const { url: o, type: s, body: a } = n, u = Vt(o), p = a ? JSON.parse(a) : {}, d = t.response({ query: u, data: p }), f = he.mock(d);
772
+ return qt(o, { type: s, query: u, data: p, response: f }), he.mock(f);
781
773
  });
782
774
  }), console.log("%c ApiMock is stared! ", "background: #606060; color: #fff; padding: 4px 5px; border-radius: 1px;");
783
775
  }
784
- const Pe = "oms:token";
785
- function Re() {
786
- return M.get(Pe) || "";
776
+ const De = "oms:token";
777
+ function Pe() {
778
+ return M.get(De) || "";
787
779
  }
788
- function ql(e) {
780
+ function Vl(e) {
789
781
  const t = new Date(new Date().getTime() + (S.state.settings.tokenExpire || 864e5));
790
- return M.set(Pe, e, { expires: t });
782
+ return M.set(De, e, { expires: t });
791
783
  }
792
784
  function ct() {
793
- return M.remove(Pe);
785
+ return M.remove(De);
794
786
  }
795
- const Ul = {
787
+ const ql = {
796
788
  name: "",
797
789
  nickname: "",
798
790
  avatar: "",
799
- token: Re(),
791
+ token: Pe(),
800
792
  customRouter: [],
801
793
  remoteRouter: [],
802
794
  menuRoutes: [],
@@ -805,12 +797,12 @@ const Ul = {
805
797
  roleIds: [],
806
798
  path: "",
807
799
  env: ""
808
- }, Hl = {
800
+ }, Ul = {
809
801
  namespaced: !0,
810
- state: Ul,
802
+ state: ql,
811
803
  mutations: {
812
804
  updateToken(e, t) {
813
- e.token = t, ql(t);
805
+ e.token = t, Vl(t);
814
806
  },
815
807
  removeToken(e) {
816
808
  e.token = "", ct();
@@ -829,7 +821,7 @@ const Ul = {
829
821
  name: "",
830
822
  nickname: "",
831
823
  avatar: "",
832
- token: Re(),
824
+ token: Pe(),
833
825
  customRouter: [],
834
826
  remoteRouter: [],
835
827
  menuRoutes: [],
@@ -895,9 +887,9 @@ const Ul = {
895
887
  });
896
888
  }
897
889
  }
898
- }, Gl = y(it), Jl = {
890
+ }, Hl = y(it), Gl = {
899
891
  namespaced: !0,
900
- state: Gl,
892
+ state: Hl,
901
893
  mutations: {
902
894
  updateSettings(e, t) {
903
895
  e = F(e, t);
@@ -908,7 +900,7 @@ const Ul = {
908
900
  e("updateSettings", l);
909
901
  }
910
902
  }
911
- }, zl = {
903
+ }, Jl = {
912
904
  sidebar: {
913
905
  opened: M.get("sidebarStatus") ? !!M.get("sidebarStatus") : !0,
914
906
  withoutAnimation: !1
@@ -917,9 +909,9 @@ const Ul = {
917
909
  pages: {},
918
910
  currentRouteMeta: {},
919
911
  builderSchema: {}
920
- }, Kl = {
912
+ }, zl = {
921
913
  namespaced: !0,
922
- state: zl,
914
+ state: Jl,
923
915
  mutations: {
924
916
  TOGGLE_SIDEBAR: (e) => {
925
917
  e.sidebar.opened = !e.sidebar.opened, e.sidebar.withoutAnimation = !1, e.sidebar.opened ? M.set("sidebarStatus", "1") : M.set("sidebarStatus", "0");
@@ -960,11 +952,11 @@ const Ul = {
960
952
  e("SET_BUILDER_SCHEMA", t);
961
953
  }
962
954
  }
963
- }, Wl = {
955
+ }, Kl = {
964
956
  currentCellItem: {}
965
- }, Zl = {
957
+ }, Wl = {
966
958
  namespaced: !0,
967
- state: Wl,
959
+ state: Kl,
968
960
  mutations: {
969
961
  SET_CURRENT_CELLITEM: (e, t) => {
970
962
  e.currentCellItem = t;
@@ -975,7 +967,7 @@ const Ul = {
975
967
  e("SET_CURRENT_CELLITEM", t);
976
968
  }
977
969
  }
978
- }, S = dl({
970
+ }, S = Wt({
979
971
  state: void 0,
980
972
  getters: {
981
973
  http: (e) => e.http,
@@ -1002,12 +994,12 @@ const Ul = {
1002
994
  }
1003
995
  },
1004
996
  modules: {
1005
- user: Hl,
1006
- settings: Jl,
1007
- app: Kl,
1008
- builderSchema: Zl
997
+ user: Ul,
998
+ settings: Gl,
999
+ app: zl,
1000
+ builderSchema: Wl
1009
1001
  }
1010
- }), Ue = fl, He = hl, Ql = Te.CancelToken, ie = {
1002
+ }), Zl = Qt, qe = Xt, Ql = Be.CancelToken, ie = {
1011
1003
  taskList: {},
1012
1004
  cacheList: /* @__PURE__ */ new Map(),
1013
1005
  uniqueId(e) {
@@ -1063,6 +1055,14 @@ const Ul = {
1063
1055
  function en() {
1064
1056
  return S.state.user.token;
1065
1057
  }
1058
+ function Ue(e) {
1059
+ Zl({
1060
+ message: e,
1061
+ type: "error",
1062
+ duration: 5 * 1e3,
1063
+ grouping: !0
1064
+ });
1065
+ }
1066
1066
  const tn = {
1067
1067
  onFulfilled: function(e) {
1068
1068
  e.headers = e.headers || {};
@@ -1075,7 +1075,7 @@ const tn = {
1075
1075
  if (!(((n = e.config) == null ? void 0 : n.notHoldApiErr) !== void 0 && ((o = e.config) == null ? void 0 : o.notHoldApiErr) === !0) && e.data.code !== 0) {
1076
1076
  const f = e.data.message || `\u63A5\u53E3\u8BF7\u6C42\u9519\u8BEF ${e.config.method}::${(s = e.config.url) == null ? void 0 : s.split("?")[0]}`;
1077
1077
  if (e.data.code === 401) {
1078
- He.alert("\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\u6216\u672A\u767B\u5F55, \u662F\u5426\u8DF3\u8F6C\u767B\u5F55", "\u64CD\u4F5C\u63D0\u9192", {
1078
+ qe.alert("\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\u6216\u672A\u767B\u5F55, \u662F\u5426\u8DF3\u8F6C\u767B\u5F55", "\u64CD\u4F5C\u63D0\u9192", {
1079
1079
  showClose: !1,
1080
1080
  confirmButtonText: "\u91CD\u65B0\u767B\u5F55",
1081
1081
  showCancelButton: !0,
@@ -1086,29 +1086,22 @@ const tn = {
1086
1086
  });
1087
1087
  return;
1088
1088
  } else
1089
- Ue({
1090
- message: f,
1091
- type: "error",
1092
- duration: 5 * 1e3
1093
- });
1089
+ Ue(f);
1094
1090
  return Promise.reject(f);
1095
1091
  }
1096
1092
  let l = (u = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : u._message_box;
1097
- return l !== void 0 && ($e(l) && (l = {
1093
+ return l !== void 0 && (xe(l) && (l = {
1098
1094
  message: (d = (p = e.data) == null ? void 0 : p.data) == null ? void 0 : d._message_box
1099
- }), He({
1095
+ }), qe({
1100
1096
  title: "\u63D0\u793A",
1101
1097
  type: "success",
1098
+ grouping: !0,
1102
1099
  ...l
1103
1100
  })), e.data;
1104
1101
  },
1105
1102
  onRejected(e) {
1106
1103
  var t;
1107
- return Te.isCancel(e) ? Promise.reject("") : (Ue({
1108
- message: `${e.message} ${e.config.method}::${(t = e.config.url) == null ? void 0 : t.split("?")[0]}`,
1109
- type: "error",
1110
- duration: 5 * 1e3
1111
- }), Promise.reject(e));
1104
+ return Be.isCancel(e) ? Promise.reject("") : (Ue(`${e.message} ${e.config.method}::${(t = e.config.url) == null ? void 0 : t.split("?")[0]}`), Promise.reject(e));
1112
1105
  }
1113
1106
  }, nn = [
1114
1107
  {
@@ -1120,17 +1113,17 @@ const tn = {
1120
1113
  response: ln
1121
1114
  }
1122
1115
  ];
1123
- function Le(e = {}) {
1124
- const t = de.axios || {}, l = F(t, e || {}), n = Te.create({
1116
+ function Re(e = {}) {
1117
+ const t = de.axios || {}, l = F(t, e || {}), n = Be.create({
1125
1118
  ...l
1126
1119
  });
1127
1120
  return nn.forEach((o) => {
1128
1121
  n.interceptors.request.use(o.request.onFulfilled, o.request.onRejected), n.interceptors.response.use(o.response.onFulfilled, o.response.onRejected);
1129
1122
  }), n;
1130
1123
  }
1131
- const on = Le();
1124
+ const on = Re();
1132
1125
  const pt = {};
1133
- function hi(e, t) {
1126
+ function fi(e, t) {
1134
1127
  pt[e] = t;
1135
1128
  }
1136
1129
  function sn(e) {
@@ -1142,7 +1135,7 @@ const an = V({
1142
1135
  const e = sn("test");
1143
1136
  if (e)
1144
1137
  return () => c(e, null, null);
1145
- const t = at(), l = N(() => t.getters.name);
1138
+ const t = lt(), l = N(() => t.getters.name);
1146
1139
  return () => c("div", {
1147
1140
  class: "dashboard-container"
1148
1141
  }, [c("div", {
@@ -1188,7 +1181,7 @@ const un = {
1188
1181
  },
1189
1182
  pathCompile(e) {
1190
1183
  const { params: t } = this.$route;
1191
- return Bl.compile(e)(t);
1184
+ return xl.compile(e)(t);
1192
1185
  },
1193
1186
  handleLink(e) {
1194
1187
  const { redirect: t, path: l } = e;
@@ -1204,7 +1197,7 @@ const un = {
1204
1197
  class: "no-redirect"
1205
1198
  }, pn = ["onClick"];
1206
1199
  function dn(e, t, l, n, o, s) {
1207
- const a = Nt, u = Vt;
1200
+ const a = cl, u = pl;
1208
1201
  return i(), m(u, {
1209
1202
  class: "app-breadcrumb",
1210
1203
  separator: "/"
@@ -1212,7 +1205,7 @@ function dn(e, t, l, n, o, s) {
1212
1205
  default: r(() => [
1213
1206
  c(It, { name: "breadcrumb" }, {
1214
1207
  default: r(() => [
1215
- (i(!0), h(E, null, A(o.levelList, (p, d) => (i(), m(a, {
1208
+ (i(!0), h(k, null, A(o.levelList, (p, d) => (i(), m(a, {
1216
1209
  key: p.path
1217
1210
  }, {
1218
1211
  default: r(() => [
@@ -1260,7 +1253,7 @@ function hn(e, t, l, n, o, s) {
1260
1253
  const bn = /* @__PURE__ */ x(fn, [["render", hn]]);
1261
1254
  const _n = {};
1262
1255
  function yn(e, t) {
1263
- const l = se, n = qt, o = Ut, s = Ht;
1256
+ const l = se, n = dl, o = ml, s = fl;
1264
1257
  return i(), m(s, { style: { width: "100%", height: "100%" } }, {
1265
1258
  default: r(() => [
1266
1259
  c(l, { class: "aside" }, {
@@ -1985,9 +1978,9 @@ const be = {
1985
1978
  labelPosition: "top",
1986
1979
  submitButton: !1,
1987
1980
  cancelButton: !1
1988
- }, Me = [];
1981
+ }, Le = [];
1989
1982
  Object.keys(we).forEach((e) => {
1990
- Me.push({ value: e, label: we[e].name });
1983
+ Le.push({ value: e, label: we[e].name });
1991
1984
  });
1992
1985
  const On = {
1993
1986
  options: {
@@ -2010,7 +2003,7 @@ const On = {
2010
2003
  type: "select",
2011
2004
  field: "type",
2012
2005
  label: "\u7C7B\u578B",
2013
- options: y(Me)
2006
+ options: y(Le)
2014
2007
  },
2015
2008
  {
2016
2009
  type: "input",
@@ -2022,7 +2015,7 @@ const On = {
2022
2015
  }
2023
2016
  ]
2024
2017
  }, Dn = {
2025
- components: { DevLayout: dt, VForm: J, VButton: Oe, JsonView: De },
2018
+ components: { DevLayout: dt, VForm: J, VButton: Ae, JsonView: $e },
2026
2019
  props: {
2027
2020
  schema: {
2028
2021
  type: Object,
@@ -2059,7 +2052,7 @@ const On = {
2059
2052
  tableStruct: "",
2060
2053
  activeName: "1",
2061
2054
  currentCtrlType: "input",
2062
- types: y(Me)
2055
+ types: y(Le)
2063
2056
  };
2064
2057
  },
2065
2058
  computed: {
@@ -2129,7 +2122,7 @@ const On = {
2129
2122
  }), this.ctrlKey++, this.key++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2130
2123
  },
2131
2124
  removeOne() {
2132
- st(this.builderSchema, this.activeIndex), this.builderSchema = y(lt(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
2125
+ et(this.builderSchema, this.activeIndex), this.builderSchema = y(Qe(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
2133
2126
  },
2134
2127
  clicklabel() {
2135
2128
  const e = this.activeIndex;
@@ -2157,7 +2150,7 @@ const On = {
2157
2150
  }
2158
2151
  };
2159
2152
  function Pn(e, t, l, n, o, s) {
2160
- const a = v("v-form"), u = Xe, p = ue, d = v("JsonView"), f = v("VButton"), _ = xe, T = Be, $ = Ye, H = et, q = v("dev-layout");
2153
+ const a = v("v-form"), u = nt, p = ue, d = v("JsonView"), f = v("VButton"), _ = Te, T = Fe, $ = ot, H = st, q = v("dev-layout");
2161
2154
  return i(), m(q, null, {
2162
2155
  main: r(() => [
2163
2156
  o.builderSchema.formItems ? (i(), m(a, U({
@@ -2196,7 +2189,7 @@ function Pn(e, t, l, n, o, s) {
2196
2189
  "onUpdate:modelValue": t[0] || (t[0] = (B) => o.currentCtrlType = B)
2197
2190
  }, {
2198
2191
  default: r(() => [
2199
- (i(!0), h(E, null, A(o.types, (B, W) => (i(), m(_, {
2192
+ (i(!0), h(k, null, A(o.types, (B, W) => (i(), m(_, {
2200
2193
  key: W,
2201
2194
  label: B.label,
2202
2195
  value: B.value
@@ -2388,7 +2381,7 @@ const Rn = /* @__PURE__ */ x(Dn, [["render", Pn], ["__scopeId", "data-v-875f0171
2388
2381
  label: "\u5B57\u6BB5key"
2389
2382
  }
2390
2383
  ]
2391
- }, Ge = {
2384
+ }, He = {
2392
2385
  options: {
2393
2386
  labelPosition: "top",
2394
2387
  submitButton: !1,
@@ -2920,7 +2913,7 @@ const Rn = /* @__PURE__ */ x(Dn, [["render", Pn], ["__scopeId", "data-v-875f0171
2920
2913
  table: Yn
2921
2914
  };
2922
2915
  const to = {
2923
- components: { JsonView: De, DevLayout: dt, VTable: ne, VForm: J, VButton: Oe },
2916
+ components: { JsonView: $e, DevLayout: dt, VTable: ne, VForm: J, VButton: Ae },
2924
2917
  props: {
2925
2918
  schema: {
2926
2919
  type: Object,
@@ -2931,11 +2924,11 @@ const to = {
2931
2924
  data() {
2932
2925
  const e = At(this.$props.schema);
2933
2926
  return delete e.listApi, e.list = [{}], {
2934
- baseSchema: Ge,
2927
+ baseSchema: He,
2935
2928
  activeTab: "base",
2936
2929
  builderSchema: Object.assign(
2937
2930
  {},
2938
- Ge,
2931
+ He,
2939
2932
  e
2940
2933
  ),
2941
2934
  baseOptions: {},
@@ -3063,7 +3056,7 @@ const to = {
3063
3056
  }), this.key++, this.ctrlKey++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
3064
3057
  },
3065
3058
  removeOne() {
3066
- st(this.builderSchema, this.activeIndex), this.builderSchema = y(lt(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
3059
+ et(this.builderSchema, this.activeIndex), this.builderSchema = y(Qe(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
3067
3060
  },
3068
3061
  clicklabel() {
3069
3062
  const e = this.activeIndex, t = e.match(this.activeIndexReg);
@@ -3102,7 +3095,7 @@ const to = {
3102
3095
  }
3103
3096
  };
3104
3097
  function lo(e, t, l, n, o, s) {
3105
- const a = ce, u = ue, p = se, d = v("v-table"), f = Xe, _ = ue, T = v("JsonView"), $ = v("VButton"), H = xe, q = Be, B = Ye, W = et, wt = v("v-form"), St = v("dev-layout");
3098
+ const a = pe, u = ue, p = se, d = v("v-table"), f = nt, _ = ue, T = v("JsonView"), $ = v("VButton"), H = Te, q = Fe, B = ot, W = st, wt = v("v-form"), St = v("dev-layout");
3106
3099
  return i(), m(St, null, {
3107
3100
  "left-aside": r(() => [
3108
3101
  c(p, { style: { width: "200px" } }, {
@@ -3171,7 +3164,7 @@ function lo(e, t, l, n, o, s) {
3171
3164
  ]),
3172
3165
  _: 1
3173
3166
  }),
3174
- (i(!0), h(E, null, A(Object.keys(o.ctrlMap.headers), (C, j) => (i(), m(a, {
3167
+ (i(!0), h(k, null, A(Object.keys(o.ctrlMap.headers), (C, j) => (i(), m(a, {
3175
3168
  key: `column-${j}`,
3176
3169
  class: "ctrl"
3177
3170
  }, {
@@ -3199,7 +3192,7 @@ function lo(e, t, l, n, o, s) {
3199
3192
  ]),
3200
3193
  _: 1
3201
3194
  }),
3202
- (i(!0), h(E, null, A(Object.keys(o.ctrlMap.buttons), (C, j) => (i(), m(a, {
3195
+ (i(!0), h(k, null, A(Object.keys(o.ctrlMap.buttons), (C, j) => (i(), m(a, {
3203
3196
  key: `column-${j}`,
3204
3197
  class: "ctrl"
3205
3198
  }, {
@@ -3227,7 +3220,7 @@ function lo(e, t, l, n, o, s) {
3227
3220
  ]),
3228
3221
  _: 1
3229
3222
  }),
3230
- (i(!0), h(E, null, A(Object.keys(o.ctrlMap.buttons), (C, j) => (i(), m(a, {
3223
+ (i(!0), h(k, null, A(Object.keys(o.ctrlMap.buttons), (C, j) => (i(), m(a, {
3231
3224
  key: `column-${j}`,
3232
3225
  class: "ctrl"
3233
3226
  }, {
@@ -3266,7 +3259,7 @@ function lo(e, t, l, n, o, s) {
3266
3259
  ]),
3267
3260
  _: 1
3268
3261
  }),
3269
- (i(!0), h(E, null, A(Object.keys(o.ctrlMap.buttons), (C, j) => (i(), m(a, {
3262
+ (i(!0), h(k, null, A(Object.keys(o.ctrlMap.buttons), (C, j) => (i(), m(a, {
3270
3263
  key: `column-${j}`,
3271
3264
  class: "ctrl"
3272
3265
  }, {
@@ -3338,7 +3331,7 @@ function lo(e, t, l, n, o, s) {
3338
3331
  "onUpdate:modelValue": t[3] || (t[3] = (C) => o.currentCtrlType = C)
3339
3332
  }, {
3340
3333
  default: r(() => [
3341
- (i(!0), h(E, null, A(s.types, (C, j) => (i(), m(H, {
3334
+ (i(!0), h(k, null, A(s.types, (C, j) => (i(), m(H, {
3342
3335
  key: j,
3343
3336
  label: C.label,
3344
3337
  value: C.value
@@ -3365,13 +3358,13 @@ const no = /* @__PURE__ */ x(to, [["render", lo], ["__scopeId", "data-v-e5209cb7
3365
3358
  name: "PageEditor",
3366
3359
  components: { FormBuilder: Rn, TableBuilder: no },
3367
3360
  setup() {
3368
- const e = P(!1), t = P(1), l = "rtl", n = pe(), o = N(() => S.state.app.pages[n.path]);
3361
+ const e = P(!1), t = P(1), l = "rtl", n = ce(), o = N(() => S.state.app.pages[n.path]);
3369
3362
  return { show: e, key: t, direction: l, pageSchema: o };
3370
3363
  }
3371
3364
  };
3372
3365
  function so(e, t, l, n, o, s) {
3373
- const a = v("VIcon"), u = v("form-builder"), p = v("table-builder"), d = tt;
3374
- return i(), h(E, null, [
3366
+ const a = v("VIcon"), u = v("form-builder"), p = v("table-builder"), d = at;
3367
+ return i(), h(k, null, [
3375
3368
  c(a, {
3376
3369
  name: "ra-set",
3377
3370
  onClick: t[0] || (t[0] = (f) => n.show = !n.show)
@@ -3380,7 +3373,7 @@ function so(e, t, l, n, o, s) {
3380
3373
  modelValue: n.show,
3381
3374
  "onUpdate:modelValue": t[1] || (t[1] = (f) => n.show = f),
3382
3375
  title: "\u9875\u9762\u8BBE\u8BA1",
3383
- "custom-class": "my-drawer",
3376
+ class: "my-drawer",
3384
3377
  direction: n.direction,
3385
3378
  size: "90%",
3386
3379
  "destroy-on-close": "",
@@ -3405,7 +3398,7 @@ const io = {
3405
3398
  components: {
3406
3399
  Breadcrumb: mn,
3407
3400
  Hamburger: bn,
3408
- VButton: Oe,
3401
+ VButton: Ae,
3409
3402
  PageEditor: ao
3410
3403
  },
3411
3404
  data() {
@@ -3419,7 +3412,7 @@ const io = {
3419
3412
  };
3420
3413
  },
3421
3414
  computed: {
3422
- ...Fe(["sidebar", "avatar", "name", "nickname", "nav"]),
3415
+ ...Ie(["sidebar", "avatar", "name", "nickname", "nav"]),
3423
3416
  hasNewMessage() {
3424
3417
  return this.$store.state.settings.hasNewMessage;
3425
3418
  },
@@ -3437,7 +3430,7 @@ const io = {
3437
3430
  }
3438
3431
  },
3439
3432
  mounted() {
3440
- nt("el-submenu is-active");
3433
+ Xe("el-submenu is-active");
3441
3434
  const e = this.getSetting("navBarNotice");
3442
3435
  e.length > 0 && !this.getSetting("closeNavNotice") && this.showNotice(e) && this.$notify({
3443
3436
  title: "\u63D0\u793A",
@@ -3445,7 +3438,7 @@ const io = {
3445
3438
  dangerouslyUseHTMLString: !0,
3446
3439
  duration: 0,
3447
3440
  onClose: this.closeNavBarNotice
3448
- }), this.setting.envColor[this.user.env] && al({
3441
+ }), this.setting.envColor[this.user.env] && Ut({
3449
3442
  elRef: this.$refs.header.$el,
3450
3443
  waterMark: this.user.env,
3451
3444
  color: "skyblue",
@@ -3489,7 +3482,7 @@ const io = {
3489
3482
  style: { padding: "0" }
3490
3483
  }, mo = { class: "user-info" }, fo = ["src"], ho = { class: "user-name" };
3491
3484
  function bo(e, t, l, n, o, s) {
3492
- const a = v("hamburger"), u = v("breadcrumb"), p = ce, d = v("VIcon"), f = v("PageEditor"), _ = v("v-button"), T = Gt, $ = Jt, H = zt, q = tt, B = se;
3485
+ const a = v("hamburger"), u = v("breadcrumb"), p = pe, d = v("VIcon"), f = v("PageEditor"), _ = v("v-button"), T = hl, $ = bl, H = _l, q = at, B = se;
3493
3486
  return i(), m(B, {
3494
3487
  ref: "header",
3495
3488
  class: "navbar",
@@ -3595,7 +3588,7 @@ const yo = {
3595
3588
  return this.$store.state.settings.logo;
3596
3589
  }
3597
3590
  }
3598
- }, vo = (e) => (We("data-v-49084925"), e = e(), Ze(), e), go = ["src"], ko = {
3591
+ }, vo = (e) => (Ke("data-v-49084925"), e = e(), We(), e), go = ["src"], ko = {
3599
3592
  key: 1,
3600
3593
  class: "sidebar-title"
3601
3594
  }, Eo = /* @__PURE__ */ vo(() => /* @__PURE__ */ b("div", null, "\u7CFB\u7EDF", -1)), wo = ["src"], So = { class: "sidebar-title" };
@@ -3653,10 +3646,10 @@ const xo = /* @__PURE__ */ x(yo, [["render", Co], ["__scopeId", "data-v-49084925
3653
3646
  },
3654
3647
  methods: {
3655
3648
  compType(e) {
3656
- return Ve(e) || this.newTab ? "a" : "router-link";
3649
+ return Ne(e) || this.newTab ? "a" : "router-link";
3657
3650
  },
3658
3651
  linkProps(e) {
3659
- return Ve(e) ? {
3652
+ return Ne(e) ? {
3660
3653
  is: "a",
3661
3654
  href: e,
3662
3655
  target: "_blank",
@@ -3674,7 +3667,7 @@ const xo = /* @__PURE__ */ x(yo, [["render", Co], ["__scopeId", "data-v-49084925
3674
3667
  }
3675
3668
  };
3676
3669
  function Io(e, t, l, n, o, s) {
3677
- return i(), m(Qe(s.compType(l.to)), K(X(s.linkProps(l.to))), {
3670
+ return i(), m(Ze(s.compType(l.to)), K(X(s.linkProps(l.to))), {
3678
3671
  default: r(() => [
3679
3672
  te(e.$slots, "default")
3680
3673
  ]),
@@ -3715,7 +3708,7 @@ const Ao = /* @__PURE__ */ x(Bo, [["render", Io]]), $o = {
3715
3708
  setup(e) {
3716
3709
  return (t, l) => {
3717
3710
  const n = v("VIcon");
3718
- return i(), h(E, null, [
3711
+ return i(), h(k, null, [
3719
3712
  c(n, {
3720
3713
  name: e.meta.icon || "ra-all"
3721
3714
  }, null, 8, ["name"]),
@@ -3758,9 +3751,9 @@ const Ao = /* @__PURE__ */ x(Bo, [["render", Io]]), $o = {
3758
3751
  class: "menu-wrapper"
3759
3752
  };
3760
3753
  function Po(e, t, l, n, o, s) {
3761
- const a = v("menu-content"), u = Kt, p = v("app-link"), d = v("sidebar-item", !0), f = Wt;
3754
+ const a = v("menu-content"), u = yl, p = v("app-link"), d = v("sidebar-item", !0), f = vl;
3762
3755
  return l.item.hidden !== !1 ? (i(), h("div", Do, [
3763
- l.item.meta && l.item.meta.menuType === 2 ? (i(), h(E, { key: 0 }, [
3756
+ l.item.meta && l.item.meta.menuType === 2 ? (i(), h(k, { key: 0 }, [
3764
3757
  l.item.meta ? (i(), m(p, {
3765
3758
  key: 0,
3766
3759
  to: l.to,
@@ -3805,7 +3798,7 @@ function Po(e, t, l, n, o, s) {
3805
3798
  }, null, 8, ["meta"]))
3806
3799
  ]),
3807
3800
  default: r(() => [
3808
- (i(!0), h(E, null, A(l.item.children, (_) => (i(), m(d, {
3801
+ (i(!0), h(k, null, A(l.item.children, (_) => (i(), m(d, {
3809
3802
  key: _.path,
3810
3803
  "is-nest": !0,
3811
3804
  item: _,
@@ -3831,7 +3824,7 @@ const Lo = {
3831
3824
  };
3832
3825
  },
3833
3826
  computed: {
3834
- ...Fe(["remoteRouter"]),
3827
+ ...Ie(["remoteRouter"]),
3835
3828
  filterRoutes() {
3836
3829
  let e = [];
3837
3830
  return this.remoteRouter.forEach((t) => {
@@ -3846,7 +3839,7 @@ const Lo = {
3846
3839
  }
3847
3840
  };
3848
3841
  function Mo(e, t, l, n, o, s) {
3849
- const a = xe, u = Zt, p = Be;
3842
+ const a = Te, u = gl, p = Fe;
3850
3843
  return i(), m(p, {
3851
3844
  modelValue: o.selected,
3852
3845
  "onUpdate:modelValue": t[0] || (t[0] = (d) => o.selected = d),
@@ -3856,16 +3849,16 @@ function Mo(e, t, l, n, o, s) {
3856
3849
  onChange: s.onselected
3857
3850
  }, {
3858
3851
  default: r(() => [
3859
- (i(!0), h(E, null, A(s.filterRoutes, (d) => (i(), h(E, {
3852
+ (i(!0), h(k, null, A(s.filterRoutes, (d) => (i(), h(k, {
3860
3853
  key: d.path
3861
3854
  }, [
3862
- d.children !== void 0 ? (i(), h(E, { key: 0 }, [
3855
+ d.children !== void 0 ? (i(), h(k, { key: 0 }, [
3863
3856
  d.meta.menuType !== 0 ? (i(), m(u, {
3864
3857
  key: d.path + "-",
3865
3858
  label: d.meta.title
3866
3859
  }, {
3867
3860
  default: r(() => [
3868
- (i(!0), h(E, null, A(d.children, (f, _) => (i(), h(E, {
3861
+ (i(!0), h(k, null, A(d.children, (f, _) => (i(), h(k, {
3869
3862
  key: f.path
3870
3863
  }, [
3871
3864
  d.meta.menuType !== 0 ? (i(), m(a, {
@@ -3892,7 +3885,7 @@ var L = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "li
3892
3885
  const No = V({
3893
3886
  components: { SidebarItem: Ro, Logo: xo, SearchMenu: jo },
3894
3887
  computed: {
3895
- ...Fe(["sidebar", "remoteRouter", "customRouter"]),
3888
+ ...Ie(["sidebar", "remoteRouter", "customRouter"]),
3896
3889
  routes() {
3897
3890
  let e = [];
3898
3891
  return this.$router.options.routes.concat(this.customRouter || []).forEach((t) => {
@@ -3929,7 +3922,7 @@ const No = V({
3929
3922
  }
3930
3923
  },
3931
3924
  mounted() {
3932
- nt("is-active");
3925
+ Xe("is-active");
3933
3926
  },
3934
3927
  methods: {
3935
3928
  filterRoute(e) {
@@ -3938,7 +3931,7 @@ const No = V({
3938
3931
  }
3939
3932
  });
3940
3933
  function Vo(e, t, l, n, o, s) {
3941
- const a = v("logo"), u = v("search-menu"), p = v("sidebar-item"), d = Qt, f = Xt;
3934
+ const a = v("logo"), u = v("search-menu"), p = v("sidebar-item"), d = kl, f = El;
3942
3935
  return i(), h("div", {
3943
3936
  class: G({ "has-logo": e.showLogo })
3944
3937
  }, [
@@ -3960,10 +3953,10 @@ function Vo(e, t, l, n, o, s) {
3960
3953
  mode: "vertical"
3961
3954
  }, {
3962
3955
  default: r(() => [
3963
- (i(!0), h(E, null, A(e.routes, (_, T) => (i(), h(E, {
3956
+ (i(!0), h(k, null, A(e.routes, (_, T) => (i(), h(k, {
3964
3957
  key: T + "-module"
3965
3958
  }, [
3966
- (i(!0), h(E, null, A(e.filterRoute(_.routes), ($) => (i(), m(p, {
3959
+ (i(!0), h(k, null, A(e.filterRoute(_.routes), ($) => (i(), m(p, {
3967
3960
  key: $.path,
3968
3961
  item: $,
3969
3962
  to: e.$router.resolve($.redirect ? $.redirect : $).fullPath
@@ -3981,15 +3974,15 @@ const qo = /* @__PURE__ */ x(No, [["render", Vo], ["__scopeId", "data-v-800716bb
3981
3974
  const Uo = { class: "app-main" }, Ho = {
3982
3975
  __name: "AppMain",
3983
3976
  setup(e) {
3984
- const t = pe(), l = [], n = P(0);
3985
- return El(() => {
3977
+ const t = ce(), l = [], n = P(0);
3978
+ return sl(() => {
3986
3979
  var o;
3987
3980
  (o = t.meta) != null && o.keepAlive && l.indexOf(t.name) && l.push(t.name), n.value++;
3988
3981
  }), (o, s) => {
3989
- const a = v("router-view"), u = Yt;
3982
+ const a = v("router-view"), u = wl;
3990
3983
  return i(), h("section", Uo, [
3991
3984
  (i(), m(a, {
3992
- key: o.$route.fullPath + k(n)
3985
+ key: o.$route.fullPath + E(n)
3993
3986
  })),
3994
3987
  c(u, { bottom: 50 })
3995
3988
  ]);
@@ -3999,13 +3992,13 @@ const Uo = { class: "app-main" }, Ho = {
3999
3992
  const Jo = { class: "main-container" }, zo = {
4000
3993
  __name: "index",
4001
3994
  setup(e) {
4002
- const t = at(), { body: l } = document, n = 992, o = N(() => t.state.app.sidebar), s = N(() => t.state.app.device), a = N(() => t.state.settings.fixedHeader), u = N(() => ({
3995
+ const t = lt(), { body: l } = document, n = 992, o = N(() => t.state.app.sidebar), s = N(() => t.state.app.device), a = N(() => t.state.settings.fixedHeader), u = N(() => ({
4003
3996
  hideSidebar: !o.value.opened,
4004
3997
  openSidebar: o.value.opened,
4005
3998
  withoutAnimation: o.value.withoutAnimation,
4006
3999
  mobile: s.value === "mobile"
4007
4000
  })), p = () => l.getBoundingClientRect().width - 1 < n;
4008
- Al(window, "resize", () => f());
4001
+ Il(window, "resize", () => f());
4009
4002
  const d = () => {
4010
4003
  t.dispatch("app/closeSideBar", { withoutAnimation: !1 });
4011
4004
  }, f = () => {
@@ -4015,21 +4008,21 @@ const Jo = { class: "main-container" }, zo = {
4015
4008
  }
4016
4009
  };
4017
4010
  return (_, T) => (i(), h("div", {
4018
- class: G([k(u), "app-wrapper"])
4011
+ class: G([E(u), "app-wrapper"])
4019
4012
  }, [
4020
- k(s) === "mobile" && k(o).opened ? (i(), h("div", {
4013
+ E(s) === "mobile" && E(o).opened ? (i(), h("div", {
4021
4014
  key: 0,
4022
4015
  class: "drawer-bg",
4023
4016
  onClick: d
4024
4017
  })) : w("", !0),
4025
- c(k(qo), { class: "sidebar-container" }),
4018
+ c(E(qo), { class: "sidebar-container" }),
4026
4019
  b("div", Jo, [
4027
4020
  b("div", {
4028
- class: G({ "fixed-header": k(a) })
4021
+ class: G({ "fixed-header": E(a) })
4029
4022
  }, [
4030
- c(k(_o))
4023
+ c(E(_o))
4031
4024
  ], 2),
4032
- c(k(Go))
4025
+ c(E(Go))
4033
4026
  ])
4034
4027
  ], 2));
4035
4028
  }
@@ -4059,7 +4052,7 @@ class Wo extends Ko {
4059
4052
  R(this, "style", "");
4060
4053
  }
4061
4054
  flag() {
4062
- const l = il("code");
4055
+ const l = Ht("code");
4063
4056
  if (l)
4064
4057
  return l;
4065
4058
  }
@@ -4069,7 +4062,7 @@ class Wo extends Ko {
4069
4062
  appid: this.appid,
4070
4063
  redirect_uri: encodeURIComponent(this.redirectUri)
4071
4064
  };
4072
- return Z(this.reloadUrl, a) + "&" + ul(s || {});
4065
+ return Z(this.reloadUrl, a) + "&" + Jt(s || {});
4073
4066
  }, n = () => {
4074
4067
  const s = {
4075
4068
  goto: encodeURIComponent(l()),
@@ -4080,7 +4073,7 @@ class Wo extends Ko {
4080
4073
  const { origin: a, data: u } = s;
4081
4074
  a === "https://login.dingtalk.com" && (window.location.href = l({ loginTmpCode: u }));
4082
4075
  };
4083
- this.iframe.src = n(), rl({ elId: this.elId, attrs: this.iframe }), typeof window.addEventListener < "u" ? window.addEventListener(
4076
+ this.iframe.src = n(), Gt({ elId: this.elId, attrs: this.iframe }), typeof window.addEventListener < "u" ? window.addEventListener(
4084
4077
  "message",
4085
4078
  (s) => o(s),
4086
4079
  !1
@@ -4101,12 +4094,12 @@ function Xo(e) {
4101
4094
  const Yo = { id: "login" }, es = /* @__PURE__ */ b("h1", { id: "title" }, "\u767B\u5F55", -1), ts = { id: "form" }, ls = { class: "tips" }, ns = { class: "sso" }, os = /* @__PURE__ */ b("div", { id: "sso-qrcode" }, null, -1), ss = /* @__PURE__ */ V({
4102
4095
  __name: "login",
4103
4096
  setup(e) {
4104
- const t = wl(), l = pe(), n = N(() => S.state.settings.loginTips), o = P({
4097
+ const t = al(), l = ce(), n = N(() => S.state.settings.loginTips), o = P({
4105
4098
  username: "",
4106
4099
  password: ""
4107
4100
  }), s = () => {
4108
4101
  if (o.value.username === "" || o.value.password === "") {
4109
- el.error("\u8BF7\u586B\u5199\u7528\u6237\u540D\u548C\u5BC6\u7801");
4102
+ Sl.error("\u8BF7\u586B\u5199\u7528\u6237\u540D\u548C\u5BC6\u7801");
4110
4103
  return;
4111
4104
  }
4112
4105
  S.dispatch("user/login", o.value).then((a) => {
@@ -4118,31 +4111,31 @@ const Yo = { id: "login" }, es = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
4118
4111
  es,
4119
4112
  b("form", ts, [
4120
4113
  ve(b("input", {
4121
- "onUpdate:modelValue": u[0] || (u[0] = (p) => k(o).username = p),
4114
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => E(o).username = p),
4122
4115
  type: "text",
4123
4116
  placeholder: "\u7528\u6237\u540D",
4124
4117
  class: "input"
4125
4118
  }, null, 512), [
4126
- [Ne, k(o).username]
4119
+ [je, E(o).username]
4127
4120
  ]),
4128
4121
  ve(b("input", {
4129
- "onUpdate:modelValue": u[1] || (u[1] = (p) => k(o).password = p),
4122
+ "onUpdate:modelValue": u[1] || (u[1] = (p) => E(o).password = p),
4130
4123
  type: "password",
4131
4124
  placeholder: "\u5BC6\u7801",
4132
4125
  class: "input"
4133
4126
  }, null, 512), [
4134
- [Ne, k(o).password]
4127
+ [je, E(o).password]
4135
4128
  ]),
4136
4129
  b("div", {
4137
4130
  class: "input button",
4138
4131
  onClick: s
4139
4132
  }, "\u767B\u5F55"),
4140
4133
  b("div", ls, [
4141
- b("div", null, I(k(n)), 1)
4134
+ b("div", null, I(E(n)), 1)
4142
4135
  ]),
4143
4136
  b("div", ns, [
4144
4137
  os,
4145
- (i(!0), h(E, null, A(Object.keys([]), (p) => (i(), h("div", { key: p }, I(p), 1))), 128))
4138
+ (i(!0), h(k, null, A(Object.keys([]), (p) => (i(), h("div", { key: p }, I(p), 1))), 128))
4146
4139
  ])
4147
4140
  ])
4148
4141
  ]));
@@ -4150,7 +4143,7 @@ const Yo = { id: "login" }, es = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
4150
4143
  });
4151
4144
  const as = {
4152
4145
  name: "NotFoundPage"
4153
- }, bt = (e) => (We("data-v-26068803"), e = e(), Ze(), e), is = { class: "not-found" }, rs = /* @__PURE__ */ bt(() => /* @__PURE__ */ b("svg", {
4146
+ }, bt = (e) => (Ke("data-v-26068803"), e = e(), We(), e), is = { class: "not-found" }, rs = /* @__PURE__ */ bt(() => /* @__PURE__ */ b("svg", {
4154
4147
  width: "380px",
4155
4148
  height: "500px",
4156
4149
  viewBox: "0 0 837 1045",
@@ -4251,8 +4244,8 @@ const ds = /* @__PURE__ */ x(as, [["render", ps], ["__scopeId", "data-v-26068803
4251
4244
  meta: { menuType: 0 },
4252
4245
  hidden: !0
4253
4246
  }
4254
- ], oe = Sl({
4255
- history: Cl(),
4247
+ ], oe = il({
4248
+ history: rl(),
4256
4249
  routes: ms
4257
4250
  });
4258
4251
  ke.configure({ showSpinner: !1 });
@@ -4340,7 +4333,7 @@ const yt = /* @__PURE__ */ x(ys, [["render", Es]]), ws = V({
4340
4333
  beforeCreate() {
4341
4334
  const e = this.$route.path.split("/").filter((o) => o), t = e.length > 1 ? e.slice(0, e.length - 1).join("/") : e[0], l = "/schema" + this.$route.meta.path, n = { params: this.$route.params };
4342
4335
  this.$http.get(this.$props.schemaApi || l, n).then(({ data: o }) => {
4343
- this.loading = !1, Q(o) && (o.notice !== void 0 && (this.haveNotice = !0, $e(o.notice) ? this.notice = {
4336
+ this.loading = !1, Q(o) && (o.notice !== void 0 && (this.haveNotice = !0, xe(o.notice) ? this.notice = {
4344
4337
  title: o.notice
4345
4338
  } : Q(o.notice) && (this.notice = o.notice), delete o.notice), this.owners = o.ownerNames || [], this.serviceOffLine = o.serviceOffLine || !1), this.schema = this.$props.schemaHandler(o, t), S.commit("app/SET_PAGE_JSON_SCHEMA", { page: this.$route.path, json: this.schema });
4346
4339
  });
@@ -4349,7 +4342,7 @@ const yt = /* @__PURE__ */ x(ys, [["render", Es]]), ws = V({
4349
4342
  const Ss = ["innerHTML"];
4350
4343
  function Cs(e, t, l, n, o, s) {
4351
4344
  const a = ge, u = ge, p = yt;
4352
- return i(), h(E, null, [
4345
+ return i(), h(k, null, [
4353
4346
  e.owners.length > 0 ? (i(), m(a, {
4354
4347
  key: 0,
4355
4348
  title: `\u8BE5\u9875\u9762\u529F\u80FD\u5BF9\u5E94\u5F00\u53D1: [ ${e.owners.join(", ")} ] \u6709\u95EE\u9898\u53EF\u76F4\u63A5\u4F01\u5FAE\u53CD\u9988`,
@@ -4361,7 +4354,7 @@ function Cs(e, t, l, n, o, s) {
4361
4354
  key: 1,
4362
4355
  class: "offline-notice",
4363
4356
  innerHTML: e.serviceOffLine === !0 ? e.setting.serviceOffLineNotice : e.serviceOffLine
4364
- }, null, 8, Ss)) : (i(), h(E, { key: 2 }, [
4357
+ }, null, 8, Ss)) : (i(), h(k, { key: 2 }, [
4365
4358
  e.haveNotice ? (i(), m(u, U({ key: 0 }, e.notice, { style: { margin: "0 0 20px 0" } }), null, 16)) : w("", !0),
4366
4359
  e.loading ? (i(), m(p, { key: 1 })) : te(e.$slots, "default", K(U({ key: 2 }, e.schema)), void 0, !0)
4367
4360
  ], 64))
@@ -4385,7 +4378,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4385
4378
  };
4386
4379
  return (l, n) => (i(), m(ae, { "schema-handler": t }, {
4387
4380
  default: r((o) => [
4388
- c(k(ne), K(X(o)), null, 16)
4381
+ c(E(ne), K(X(o)), null, 16)
4389
4382
  ]),
4390
4383
  _: 1
4391
4384
  }));
@@ -4393,7 +4386,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4393
4386
  }, Se = {
4394
4387
  __name: "form",
4395
4388
  setup(e) {
4396
- const t = pe(), l = (n, o) => {
4389
+ const t = ce(), l = (n, o) => {
4397
4390
  const s = Object.keys(J.props);
4398
4391
  return Object.keys(n).forEach((a) => {
4399
4392
  if (s.indexOf(a) === -1) {
@@ -4410,7 +4403,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4410
4403
  };
4411
4404
  return (n, o) => (i(), m(ae, { "schema-handler": l }, {
4412
4405
  default: r((s) => [
4413
- c(k(J), K(X(s)), null, 16)
4406
+ c(E(J), K(X(s)), null, 16)
4414
4407
  ]),
4415
4408
  _: 1
4416
4409
  }));
@@ -4514,7 +4507,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4514
4507
  append(e, t) {
4515
4508
  var n, o, s;
4516
4509
  this.type = 1;
4517
- const l = { pid: e.id, [(o = (n = this.$props.props) == null ? void 0 : n.levelKey) != null ? o : "level"]: t.level + 1, ...cl((s = this.$props.props) == null ? void 0 : s.effectData, e) };
4510
+ const l = { pid: e.id, [(o = (n = this.$props.props) == null ? void 0 : n.levelKey) != null ? o : "level"]: t.level + 1, ...zt((s = this.$props.props) == null ? void 0 : s.effectData, e) };
4518
4511
  console.log(111, l), e.children || (e.children = []), this.formData = l, this.formkey++, e.children.push(l), this.treeData = [...this.treeData];
4519
4512
  },
4520
4513
  canAppend(e, t) {
@@ -4562,7 +4555,7 @@ const Bs = { class: "card-header" }, Is = /* @__PURE__ */ b("span", null, "\u521
4562
4555
  style: { color: "#E6A23C" }
4563
4556
  }, Fs = { class: "card-header" };
4564
4557
  function Os(e, t) {
4565
- const l = ue, n = tl, o = Ie, s = ce, a = v("v-form"), u = se;
4558
+ const l = ue, n = Cl, o = Oe, s = pe, a = v("v-form"), u = se;
4566
4559
  return i(), m(u, {
4567
4560
  class: "tree-box",
4568
4561
  gutter: 20
@@ -4678,18 +4671,18 @@ function Os(e, t) {
4678
4671
  _: 1
4679
4672
  });
4680
4673
  }
4681
- const Je = /* @__PURE__ */ x(xs, [["render", Os]]), Ds = {
4674
+ const Ge = /* @__PURE__ */ x(xs, [["render", Os]]), Ds = {
4682
4675
  __name: "tree",
4683
4676
  setup(e) {
4684
4677
  const t = (l, n) => {
4685
- const o = Object.keys(Je.props);
4678
+ const o = Object.keys(Ge.props);
4686
4679
  return Object.keys(l).forEach((s) => {
4687
4680
  o.indexOf(s) === -1 && delete l[s];
4688
4681
  }), l;
4689
4682
  };
4690
4683
  return (l, n) => (i(), m(ae, { "schema-handler": t }, {
4691
4684
  default: r((o) => [
4692
- c(Je, K(X(o)), null, 16)
4685
+ c(Ge, K(X(o)), null, 16)
4693
4686
  ]),
4694
4687
  _: 1
4695
4688
  }));
@@ -4698,7 +4691,7 @@ const Je = /* @__PURE__ */ x(xs, [["render", Os]]), Ds = {
4698
4691
  __name: "container",
4699
4692
  setup(e) {
4700
4693
  const t = P(0);
4701
- return xl(() => {
4694
+ return ul(() => {
4702
4695
  t.value++;
4703
4696
  }), (l, n) => {
4704
4697
  const o = v("router-view");
@@ -4738,7 +4731,7 @@ function Rs(e, t, l) {
4738
4731
  if (l.length === 0)
4739
4732
  return {};
4740
4733
  let n = F({}, Ps);
4741
- if (n.title.text = e, $e(t)) {
4734
+ if (n.title.text = e, xe(t)) {
4742
4735
  const o = [], s = Object.keys(l[0]);
4743
4736
  let a = s[0], u = s.filter((d, f) => f > 0), p = t;
4744
4737
  if (t.indexOf(":") > -1) {
@@ -4774,9 +4767,9 @@ const Ls = V({
4774
4767
  }
4775
4768
  }), Ms = { class: "number-panel-title" }, js = { class: "number" }, Ns = { class: "name" };
4776
4769
  function Vs(e, t, l, n, o, s) {
4777
- return i(!0), h(E, null, A(e.dataList, (a, u) => (i(), h("span", { key: u }, [
4770
+ return i(!0), h(k, null, A(e.dataList, (a, u) => (i(), h("span", { key: u }, [
4778
4771
  b("div", Ms, [
4779
- (i(!0), h(E, null, A(Object.keys(a), (p, d) => (i(), h("div", {
4772
+ (i(!0), h(k, null, A(Object.keys(a), (p, d) => (i(), h("div", {
4780
4773
  key: d,
4781
4774
  class: "title-inner"
4782
4775
  }, [
@@ -4788,9 +4781,9 @@ function Vs(e, t, l, n, o, s) {
4788
4781
  }
4789
4782
  const qs = /* @__PURE__ */ x(Ls, [["render", Vs], ["__scopeId", "data-v-cc0d8293"]]), Us = {
4790
4783
  components: {
4791
- Chart: vl,
4792
- Md: $l,
4793
- Json: De,
4784
+ Chart: ll,
4785
+ Md: Al,
4786
+ Json: $e,
4794
4787
  Table: ne,
4795
4788
  Number: qs,
4796
4789
  Html: ""
@@ -4820,7 +4813,7 @@ const qs = /* @__PURE__ */ x(Ls, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4820
4813
  source: n.data
4821
4814
  };
4822
4815
  if (o === "table") {
4823
- if (!ot(n.data))
4816
+ if (!Ye(n.data))
4824
4817
  return { showPagination: !1 };
4825
4818
  const s = [];
4826
4819
  return n.data[0] && Object.keys(n.data[0]).forEach((a, u) => {
@@ -4838,13 +4831,13 @@ const qs = /* @__PURE__ */ x(Ls, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4838
4831
  }
4839
4832
  };
4840
4833
  function Hs(e, t, l, n, o, s) {
4841
- const a = Ie, u = Ft("resize");
4834
+ const a = Oe, u = Ft("resize");
4842
4835
  return ve((i(), m(a, {
4843
4836
  shadow: "never",
4844
4837
  class: "part"
4845
4838
  }, {
4846
4839
  default: r(() => [
4847
- (i(), m(Qe(n.comptype()), K(X(n.compprops(l.option))), null, 16))
4840
+ (i(), m(Ze(n.comptype()), K(X(n.compprops(l.option))), null, 16))
4848
4841
  ]),
4849
4842
  _: 1
4850
4843
  })), [
@@ -4868,7 +4861,7 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4868
4861
  Ot(() => {
4869
4862
  });
4870
4863
  const n = P({});
4871
- Ke(() => {
4864
+ ze(() => {
4872
4865
  var f;
4873
4866
  (f = t.filter) == null || f.forEach((_) => {
4874
4867
  _.default !== null && (n.value[_.field] = _.default);
@@ -4897,10 +4890,10 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4897
4890
  });
4898
4891
  };
4899
4892
  return (f, _) => {
4900
- const T = Ie, $ = ce, H = ge, q = se;
4893
+ const T = Oe, $ = pe, H = ge, q = se;
4901
4894
  return i(), m(q, null, {
4902
4895
  default: r(() => [
4903
- k(a).length > 0 ? (i(), m($, {
4896
+ E(a).length > 0 ? (i(), m($, {
4904
4897
  key: 0,
4905
4898
  span: 24
4906
4899
  }, {
@@ -4910,10 +4903,10 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4910
4903
  class: "part-filter"
4911
4904
  }, {
4912
4905
  default: r(() => [
4913
- c(k(J), {
4914
- modelValue: k(n),
4906
+ c(E(J), {
4907
+ modelValue: E(n),
4915
4908
  "onUpdate:modelValue": _[0] || (_[0] = (B) => Dt(n) ? n.value = B : null),
4916
- "form-items": k(a),
4909
+ "form-items": E(a),
4917
4910
  options: o,
4918
4911
  onSubmit: d
4919
4912
  }, null, 8, ["modelValue", "form-items"])
@@ -4927,7 +4920,7 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4927
4920
  default: r(() => [
4928
4921
  c(q, { gutter: 20 }, {
4929
4922
  default: r(() => [
4930
- (i(!0), h(E, null, A(k(u), (B, W) => (i(), m($, {
4923
+ (i(!0), h(k, null, A(E(u), (B, W) => (i(), m($, {
4931
4924
  key: W,
4932
4925
  span: B.col || 24
4933
4926
  }, {
@@ -4942,7 +4935,7 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4942
4935
  ]),
4943
4936
  _: 2
4944
4937
  }, 1032, ["title"])) : (i(), m(Gs, {
4945
- key: k(s),
4938
+ key: E(s),
4946
4939
  option: B
4947
4940
  }, null, 8, ["option"]))
4948
4941
  ]),
@@ -4971,7 +4964,7 @@ const zs = {
4971
4964
  }
4972
4965
  return "/focusbi_report/view/" + n;
4973
4966
  });
4974
- return (n, o) => (i(), m(ae, { "schema-api": k(l) }, {
4967
+ return (n, o) => (i(), m(ae, { "schema-api": E(l) }, {
4975
4968
  default: r((s) => [
4976
4969
  c(Js, K(X(s)), null, 16)
4977
4970
  ]),
@@ -4980,12 +4973,12 @@ const zs = {
4980
4973
  }
4981
4974
  };
4982
4975
  const Ks = (e) => c("div", null, [e.test]), Ws = {
4983
- card: bl,
4976
+ card: Yt,
4984
4977
  form: J,
4985
4978
  table: ne,
4986
4979
  test: Ks,
4987
- row: _l,
4988
- col: yl
4980
+ row: el,
4981
+ col: tl
4989
4982
  }, Zs = {
4990
4983
  card: {
4991
4984
  type: "card",
@@ -5019,9 +5012,9 @@ function Qs(e) {
5019
5012
  type: l[s],
5020
5013
  children: [o]
5021
5014
  };
5022
- return o.span = n, je([o]);
5015
+ return o.span = n, Me([o]);
5023
5016
  }
5024
- function je(e) {
5017
+ function Me(e) {
5025
5018
  const t = {
5026
5019
  type: "row",
5027
5020
  props: {
@@ -5056,7 +5049,7 @@ function je(e) {
5056
5049
  props: {}
5057
5050
  }, Zs[n.type] || {}, n);
5058
5051
  const s = gt(n.children);
5059
- s.length && (n.children = je(s)), t.children.push({
5052
+ s.length && (n.children = Me(s)), t.children.push({
5060
5053
  type: "col",
5061
5054
  props: o,
5062
5055
  children: [n]
@@ -5064,7 +5057,7 @@ function je(e) {
5064
5057
  }), [t];
5065
5058
  }
5066
5059
  function gt(e) {
5067
- return ot(e) ? e : Q(e) ? [e] : [];
5060
+ return Ye(e) ? e : Q(e) ? [e] : [];
5068
5061
  }
5069
5062
  let Ce = {};
5070
5063
  const kt = (e) => {
@@ -5072,20 +5065,20 @@ const kt = (e) => {
5072
5065
  return Rt(t, e.props, {
5073
5066
  default: () => gt(e.children).map((l) => kt(l))
5074
5067
  });
5075
- }, Xs = (e) => (Object.keys(Ce).length === 0 && (Ce = Pt().appContext.components), je(Object.values(e.schema)).map((l) => kt(l))), Ys = {
5068
+ }, Xs = (e) => (Object.keys(Ce).length === 0 && (Ce = Pt().appContext.components), Me(Object.values(e.schema)).map((l) => kt(l))), Ys = {
5076
5069
  __name: "custom",
5077
5070
  setup(e) {
5078
5071
  const t = P([]), l = (n, o) => (t.value = Lt(n), n);
5079
5072
  return (n, o) => (i(), m(ae, { "schema-handler": l }, {
5080
5073
  default: r(() => [
5081
- c(k(Xs), { schema: k(t) }, null, 8, ["schema"])
5074
+ c(E(Xs), { schema: E(t) }, null, 8, ["schema"])
5082
5075
  ]),
5083
5076
  _: 1
5084
5077
  }));
5085
5078
  }
5086
5079
  };
5087
5080
  let ee = {};
5088
- function bi(e) {
5081
+ function hi(e) {
5089
5082
  ee = e;
5090
5083
  }
5091
5084
  const ea = (e) => {
@@ -5254,7 +5247,7 @@ const ia = {
5254
5247
  unmounted(e) {
5255
5248
  document.body.removeEventListener("click", e.clickOutsideEvent);
5256
5249
  }
5257
- }, z = Il(), ra = {
5250
+ }, z = Bl(), ra = {
5258
5251
  mounted: (e, t) => {
5259
5252
  e !== null && (t.value, e.oncontextmenu = (l) => {
5260
5253
  l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && z.emit("right-click", { event: l, data: t.value });
@@ -5264,7 +5257,7 @@ const ia = {
5264
5257
  mounted(e) {
5265
5258
  }
5266
5259
  };
5267
- function ze(e, t) {
5260
+ function Je(e, t) {
5268
5261
  let l = e[`offset${t}`], n = e.offsetParent;
5269
5262
  for (; n; )
5270
5263
  l += n[`offset${t}`], n = n.offsetParent;
@@ -5281,7 +5274,7 @@ const ca = {
5281
5274
  l.classList.add("devtool-hover");
5282
5275
  const n = document.createElement("i");
5283
5276
  n.className = "devtool-item-wrapper", l.onmouseover = () => {
5284
- n.style.height = l.offsetHeight + 30 + "px", n.style.width = l.offsetWidth + 30 + "px", n.style.top = ze(l, "Top") - 15 + "px", n.style.left = ze(l, "Left") - 15 + "px";
5277
+ n.style.height = l.offsetHeight + 30 + "px", n.style.width = l.offsetWidth + 30 + "px", n.style.top = Je(l, "Top") - 15 + "px", n.style.left = Je(l, "Left") - 15 + "px";
5285
5278
  };
5286
5279
  const o = document.createElement("span");
5287
5280
  o.className = "dev-action-edit", o.title = "\u7F16\u8F91";
@@ -5304,15 +5297,15 @@ const ca = {
5304
5297
  devtool: ca
5305
5298
  }, Symbol.toStringTag, { value: "Module" }));
5306
5299
  let re;
5307
- function _i(e) {
5308
- return e ? Le(F(de.axios, e)) : re;
5300
+ function bi(e) {
5301
+ return e ? Re(F(de.axios, e)) : re;
5309
5302
  }
5310
- function yi(e) {
5311
- const t = F(de, e), l = Mt(Tl), n = ya(t), o = t.plugins || [];
5303
+ function _i(e) {
5304
+ const t = F(de, e), l = Mt($l), n = ya(t), o = t.plugins || [];
5312
5305
  o.unshift(n), o.forEach((s) => {
5313
5306
  _a(l, s);
5314
- }), t != null && t.mock && Vl(), re = Le(t.axios), S.dispatch("setHttp", re).then(), S.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = re, l.config.globalProperties.$router = oe, window.App = l, window.OmsOptions = t, gl(() => ({
5315
- "X-Token": Re()
5307
+ }), t != null && t.mock && Nl(), re = Re(t.axios), S.dispatch("setHttp", re).then(), S.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = re, l.config.globalProperties.$router = oe, window.App = l, window.OmsOptions = t, nl(() => ({
5308
+ "X-Token": Pe()
5316
5309
  })), oe.isReady().then(() => l.mount("#app"));
5317
5310
  }
5318
5311
  function da(e, t = {}) {
@@ -5351,12 +5344,12 @@ function _a(e, t) {
5351
5344
  function ya(e) {
5352
5345
  var t;
5353
5346
  return {
5354
- components: { VIcon: kl },
5347
+ components: { VIcon: ol },
5355
5348
  directives: pa,
5356
5349
  use: [
5357
5350
  S,
5358
5351
  oe,
5359
- [ml, { locale: Ae, ...(t = e.settings) == null ? void 0 : t.ElementPlus }]
5352
+ [Zt, { locale: tt, ...(t = e.settings) == null ? void 0 : t.ElementPlus }]
5360
5353
  ]
5361
5354
  };
5362
5355
  }
@@ -5366,18 +5359,18 @@ export {
5366
5359
  Wo as DingTalk,
5367
5360
  ht as Layout,
5368
5361
  D as MenuType,
5369
- Ue as Message,
5370
- He as MessageBox,
5362
+ Zl as Message,
5363
+ qe as MessageBox,
5371
5364
  L as PageType,
5372
5365
  Qo as allSso,
5373
- yi as createAdmin,
5366
+ _i as createAdmin,
5374
5367
  z as eventBus,
5375
5368
  sn as getCmp,
5376
5369
  re as http,
5377
- Le as instance,
5378
- bi as regViews,
5379
- hi as setCmp,
5370
+ Re as instance,
5371
+ hi as regViews,
5372
+ fi as setCmp,
5380
5373
  na as transRemoteModules,
5381
- _i as useHttp
5374
+ bi as useHttp
5382
5375
  };
5383
5376
  //# sourceMappingURL=index.es.js.map