@okiss/oms 0.0.30 → 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 (108) hide show
  1. package/dist/index.es.js +226 -230
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/App.vue.d.ts +44 -0
  5. package/dist/types/admin.d.ts +6 -7
  6. package/dist/types/components/{PageLoad.d.ts → PageLoad.vue.d.ts} +0 -0
  7. package/dist/types/components/{RightMenu.d.ts → RightMenu.vue.d.ts} +2 -2
  8. package/dist/types/components/VLoading.vue.d.ts +2 -0
  9. package/dist/types/components/{VTree.d.ts → VTree.vue.d.ts} +5 -5
  10. package/dist/types/components/report/{NumberPanel.d.ts → NumberPanel.vue.d.ts} +1 -1
  11. package/dist/types/components/report/index.vue.d.ts +89 -0
  12. package/dist/types/components/report/part.vue.d.ts +2 -0
  13. package/dist/types/default.d.ts +2 -2
  14. package/dist/types/directive/devtool.d.ts +1 -1
  15. package/dist/types/directive/outClick.d.ts +1 -1
  16. package/dist/types/directive/resize.d.ts +1 -1
  17. package/dist/types/directive/rightClick.d.ts +1 -1
  18. package/dist/types/index.d.ts +1 -1
  19. package/dist/types/mock/apis/index.d.ts +1 -1
  20. package/dist/types/mock/apis/user.d.ts +1 -1
  21. package/dist/types/mock/index.d.ts +1 -1
  22. package/dist/types/plugins/element-plus.d.ts +3 -3
  23. package/dist/types/plugins/eventBus.d.ts +1 -1
  24. package/dist/types/render/index.d.ts +1 -1
  25. package/dist/types/router/guard/index.d.ts +1 -1
  26. package/dist/types/router/guard/nprogress.d.ts +2 -2
  27. package/dist/types/router/guard/permission.d.ts +1 -1
  28. package/dist/types/router/guard/remote-routes.d.ts +1 -1
  29. package/dist/types/router/guard/set-page-title.d.ts +1 -1
  30. package/dist/types/router/index.d.ts +1 -1
  31. package/dist/types/router/remote.d.ts +1 -1
  32. package/dist/types/router/types.d.ts +1 -1
  33. package/dist/types/scaffold/404.vue.d.ts +2 -0
  34. package/dist/types/scaffold/container.vue.d.ts +44 -0
  35. package/dist/types/scaffold/custom.vue.d.ts +44 -0
  36. package/dist/types/scaffold/dashboard.vue.d.ts +2 -0
  37. package/dist/types/scaffold/devtool/DevLayout.vue.d.ts +2 -0
  38. package/dist/types/scaffold/devtool/formBuilder/ctrls/select.d.ts +0 -1
  39. package/dist/types/scaffold/devtool/formBuilder/index.vue.d.ts +142 -0
  40. package/dist/types/scaffold/devtool/tableBuilder/btn/index.d.ts +11 -0
  41. package/dist/types/scaffold/devtool/tableBuilder/btn/jump.d.ts +49 -0
  42. package/dist/types/scaffold/devtool/tableBuilder/btn/table.d.ts +50 -0
  43. package/dist/types/scaffold/devtool/tableBuilder/columns/emum.d.ts +35 -0
  44. package/dist/types/scaffold/devtool/tableBuilder/columns/html.d.ts +17 -0
  45. package/dist/types/scaffold/devtool/tableBuilder/columns/icon.d.ts +17 -0
  46. package/dist/types/scaffold/devtool/tableBuilder/columns/image.d.ts +17 -0
  47. package/dist/types/scaffold/devtool/tableBuilder/columns/index.d.ts +21 -0
  48. package/dist/types/scaffold/devtool/tableBuilder/columns/json.d.ts +17 -0
  49. package/dist/types/scaffold/devtool/tableBuilder/columns/link.d.ts +17 -0
  50. package/dist/types/scaffold/devtool/tableBuilder/columns/rich.d.ts +17 -0
  51. package/dist/types/scaffold/devtool/tableBuilder/columns/span.d.ts +17 -0
  52. package/dist/types/scaffold/devtool/tableBuilder/columns/tpl.d.ts +23 -0
  53. package/dist/types/scaffold/devtool/tableBuilder/ctrls/date.d.ts +17 -0
  54. package/dist/types/scaffold/devtool/tableBuilder/ctrls/input.d.ts +38 -0
  55. package/dist/types/scaffold/devtool/tableBuilder/ctrls/select.d.ts +89 -0
  56. package/dist/types/scaffold/devtool/tableBuilder/index.vue.d.ts +572 -0
  57. package/dist/types/scaffold/form.vue.d.ts +44 -0
  58. package/dist/types/scaffold/layout/components/AppMain.vue.d.ts +44 -0
  59. package/dist/types/scaffold/layout/components/Breadcrumb/index.vue.d.ts +9 -0
  60. package/dist/types/scaffold/layout/components/Hamburger/index.vue.d.ts +18 -0
  61. package/dist/types/scaffold/layout/components/Navbar.vue.d.ts +29 -0
  62. package/dist/types/scaffold/layout/components/PageEditor.vue.d.ts +7 -0
  63. package/dist/types/scaffold/layout/components/PageScheam.vue.d.ts +7 -0
  64. package/dist/types/scaffold/layout/components/Sidebar/FixiOSBug.d.ts +10 -0
  65. package/dist/types/scaffold/layout/components/Sidebar/Link.vue.d.ts +37 -0
  66. package/dist/types/scaffold/layout/components/Sidebar/Logo.vue.d.ts +15 -0
  67. package/dist/types/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +82 -0
  68. package/dist/types/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +41 -0
  69. package/dist/types/scaffold/layout/components/Sidebar/index.vue.d.ts +17 -0
  70. package/dist/types/scaffold/layout/components/index.d.ts +3 -0
  71. package/dist/types/scaffold/layout/index.vue.d.ts +44 -0
  72. package/dist/types/scaffold/login.vue.d.ts +44 -0
  73. package/dist/types/scaffold/report.vue.d.ts +44 -0
  74. package/dist/types/scaffold/table.vue.d.ts +44 -0
  75. package/dist/types/scaffold/tree.vue.d.ts +44 -0
  76. package/dist/types/store/index.d.ts +5 -0
  77. package/dist/types/store/modules/app.d.ts +5 -0
  78. package/dist/types/store/modules/builderSchema.d.ts +9 -0
  79. package/dist/types/store/modules/settings.d.ts +5 -0
  80. package/dist/types/store/modules/user.d.ts +5 -0
  81. package/dist/types/store/types.d.ts +43 -0
  82. package/dist/types/types.d.ts +10 -10
  83. package/dist/types/utils/comm.d.ts +1 -0
  84. package/dist/types/utils/container/index.d.ts +3 -0
  85. package/dist/types/utils/index.d.ts +2 -0
  86. package/dist/types/utils/request/cache.d.ts +5 -0
  87. package/dist/types/utils/request/index.d.ts +4 -0
  88. package/dist/types/utils/request/interceptors.d.ts +3 -0
  89. package/dist/types/utils/request/pending.d.ts +15 -0
  90. package/dist/types/utils/request/types.d.ts +14 -0
  91. package/dist/types/utils/sso/index.d.ts +35 -0
  92. package/dist/types/utils/token.d.ts +3 -0
  93. package/package.json +12 -38
  94. package/dist/types/App.d.ts +0 -124
  95. package/dist/types/components/VLoading.d.ts +0 -0
  96. package/dist/types/components/report/part.d.ts +0 -66
  97. package/dist/types/scaffold/404.d.ts +0 -4
  98. package/dist/types/scaffold/container.d.ts +0 -10
  99. package/dist/types/scaffold/custom.d.ts +0 -15
  100. package/dist/types/scaffold/dashboard.d.ts +0 -2
  101. package/dist/types/scaffold/devtool/DevLayout.d.ts +0 -0
  102. package/dist/types/scaffold/devtool/formBuilder/index.d.ts +0 -47
  103. package/dist/types/scaffold/devtool/tableBuilder/index.d.ts +0 -51
  104. package/dist/types/scaffold/form.d.ts +0 -21
  105. package/dist/types/scaffold/login.d.ts +0 -14
  106. package/dist/types/scaffold/report.d.ts +0 -11
  107. package/dist/types/scaffold/table.d.ts +0 -17
  108. 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) {
@@ -1139,12 +1132,15 @@ function sn(e) {
1139
1132
  const an = V({
1140
1133
  name: "Dashboard",
1141
1134
  setup() {
1142
- const e = at(), t = N(() => e.getters.name), l = sn("test");
1143
- return l ? () => c(l, null, null) : () => c("div", {
1135
+ const e = sn("test");
1136
+ if (e)
1137
+ return () => c(e, null, null);
1138
+ const t = lt(), l = N(() => t.getters.name);
1139
+ return () => c("div", {
1144
1140
  class: "dashboard-container"
1145
1141
  }, [c("div", {
1146
1142
  class: "dashboard-text"
1147
- }, [g("Hi "), t.value, g(" \u{1F604}")])]);
1143
+ }, [g("Hi "), l.value, g(" \u{1F604}")])]);
1148
1144
  }
1149
1145
  });
1150
1146
  const x = (e, t) => {
@@ -1152,7 +1148,7 @@ const x = (e, t) => {
1152
1148
  for (const [n, o] of t)
1153
1149
  l[n] = o;
1154
1150
  return l;
1155
- }, rn = /* @__PURE__ */ x(an, [["__scopeId", "data-v-07cd0734"]]);
1151
+ }, rn = /* @__PURE__ */ x(an, [["__scopeId", "data-v-10e6b4b6"]]);
1156
1152
  const un = {
1157
1153
  data() {
1158
1154
  return {
@@ -1185,7 +1181,7 @@ const un = {
1185
1181
  },
1186
1182
  pathCompile(e) {
1187
1183
  const { params: t } = this.$route;
1188
- return Bl.compile(e)(t);
1184
+ return xl.compile(e)(t);
1189
1185
  },
1190
1186
  handleLink(e) {
1191
1187
  const { redirect: t, path: l } = e;
@@ -1201,7 +1197,7 @@ const un = {
1201
1197
  class: "no-redirect"
1202
1198
  }, pn = ["onClick"];
1203
1199
  function dn(e, t, l, n, o, s) {
1204
- const a = Nt, u = Vt;
1200
+ const a = cl, u = pl;
1205
1201
  return i(), m(u, {
1206
1202
  class: "app-breadcrumb",
1207
1203
  separator: "/"
@@ -1209,7 +1205,7 @@ function dn(e, t, l, n, o, s) {
1209
1205
  default: r(() => [
1210
1206
  c(It, { name: "breadcrumb" }, {
1211
1207
  default: r(() => [
1212
- (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, {
1213
1209
  key: p.path
1214
1210
  }, {
1215
1211
  default: r(() => [
@@ -1257,7 +1253,7 @@ function hn(e, t, l, n, o, s) {
1257
1253
  const bn = /* @__PURE__ */ x(fn, [["render", hn]]);
1258
1254
  const _n = {};
1259
1255
  function yn(e, t) {
1260
- const l = se, n = qt, o = Ut, s = Ht;
1256
+ const l = se, n = dl, o = ml, s = fl;
1261
1257
  return i(), m(s, { style: { width: "100%", height: "100%" } }, {
1262
1258
  default: r(() => [
1263
1259
  c(l, { class: "aside" }, {
@@ -1982,9 +1978,9 @@ const be = {
1982
1978
  labelPosition: "top",
1983
1979
  submitButton: !1,
1984
1980
  cancelButton: !1
1985
- }, Me = [];
1981
+ }, Le = [];
1986
1982
  Object.keys(we).forEach((e) => {
1987
- Me.push({ value: e, label: we[e].name });
1983
+ Le.push({ value: e, label: we[e].name });
1988
1984
  });
1989
1985
  const On = {
1990
1986
  options: {
@@ -2007,7 +2003,7 @@ const On = {
2007
2003
  type: "select",
2008
2004
  field: "type",
2009
2005
  label: "\u7C7B\u578B",
2010
- options: y(Me)
2006
+ options: y(Le)
2011
2007
  },
2012
2008
  {
2013
2009
  type: "input",
@@ -2019,7 +2015,7 @@ const On = {
2019
2015
  }
2020
2016
  ]
2021
2017
  }, Dn = {
2022
- components: { DevLayout: dt, VForm: J, VButton: Oe, JsonView: De },
2018
+ components: { DevLayout: dt, VForm: J, VButton: Ae, JsonView: $e },
2023
2019
  props: {
2024
2020
  schema: {
2025
2021
  type: Object,
@@ -2056,7 +2052,7 @@ const On = {
2056
2052
  tableStruct: "",
2057
2053
  activeName: "1",
2058
2054
  currentCtrlType: "input",
2059
- types: y(Me)
2055
+ types: y(Le)
2060
2056
  };
2061
2057
  },
2062
2058
  computed: {
@@ -2126,7 +2122,7 @@ const On = {
2126
2122
  }), this.ctrlKey++, this.key++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2127
2123
  },
2128
2124
  removeOne() {
2129
- 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++;
2130
2126
  },
2131
2127
  clicklabel() {
2132
2128
  const e = this.activeIndex;
@@ -2154,7 +2150,7 @@ const On = {
2154
2150
  }
2155
2151
  };
2156
2152
  function Pn(e, t, l, n, o, s) {
2157
- 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");
2158
2154
  return i(), m(q, null, {
2159
2155
  main: r(() => [
2160
2156
  o.builderSchema.formItems ? (i(), m(a, U({
@@ -2193,7 +2189,7 @@ function Pn(e, t, l, n, o, s) {
2193
2189
  "onUpdate:modelValue": t[0] || (t[0] = (B) => o.currentCtrlType = B)
2194
2190
  }, {
2195
2191
  default: r(() => [
2196
- (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(_, {
2197
2193
  key: W,
2198
2194
  label: B.label,
2199
2195
  value: B.value
@@ -2385,7 +2381,7 @@ const Rn = /* @__PURE__ */ x(Dn, [["render", Pn], ["__scopeId", "data-v-875f0171
2385
2381
  label: "\u5B57\u6BB5key"
2386
2382
  }
2387
2383
  ]
2388
- }, Ge = {
2384
+ }, He = {
2389
2385
  options: {
2390
2386
  labelPosition: "top",
2391
2387
  submitButton: !1,
@@ -2917,7 +2913,7 @@ const Rn = /* @__PURE__ */ x(Dn, [["render", Pn], ["__scopeId", "data-v-875f0171
2917
2913
  table: Yn
2918
2914
  };
2919
2915
  const to = {
2920
- components: { JsonView: De, DevLayout: dt, VTable: ne, VForm: J, VButton: Oe },
2916
+ components: { JsonView: $e, DevLayout: dt, VTable: ne, VForm: J, VButton: Ae },
2921
2917
  props: {
2922
2918
  schema: {
2923
2919
  type: Object,
@@ -2928,11 +2924,11 @@ const to = {
2928
2924
  data() {
2929
2925
  const e = At(this.$props.schema);
2930
2926
  return delete e.listApi, e.list = [{}], {
2931
- baseSchema: Ge,
2927
+ baseSchema: He,
2932
2928
  activeTab: "base",
2933
2929
  builderSchema: Object.assign(
2934
2930
  {},
2935
- Ge,
2931
+ He,
2936
2932
  e
2937
2933
  ),
2938
2934
  baseOptions: {},
@@ -3060,7 +3056,7 @@ const to = {
3060
3056
  }), this.key++, this.ctrlKey++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
3061
3057
  },
3062
3058
  removeOne() {
3063
- 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++;
3064
3060
  },
3065
3061
  clicklabel() {
3066
3062
  const e = this.activeIndex, t = e.match(this.activeIndexReg);
@@ -3099,7 +3095,7 @@ const to = {
3099
3095
  }
3100
3096
  };
3101
3097
  function lo(e, t, l, n, o, s) {
3102
- 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");
3103
3099
  return i(), m(St, null, {
3104
3100
  "left-aside": r(() => [
3105
3101
  c(p, { style: { width: "200px" } }, {
@@ -3168,7 +3164,7 @@ function lo(e, t, l, n, o, s) {
3168
3164
  ]),
3169
3165
  _: 1
3170
3166
  }),
3171
- (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, {
3172
3168
  key: `column-${j}`,
3173
3169
  class: "ctrl"
3174
3170
  }, {
@@ -3196,7 +3192,7 @@ function lo(e, t, l, n, o, s) {
3196
3192
  ]),
3197
3193
  _: 1
3198
3194
  }),
3199
- (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, {
3200
3196
  key: `column-${j}`,
3201
3197
  class: "ctrl"
3202
3198
  }, {
@@ -3224,7 +3220,7 @@ function lo(e, t, l, n, o, s) {
3224
3220
  ]),
3225
3221
  _: 1
3226
3222
  }),
3227
- (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, {
3228
3224
  key: `column-${j}`,
3229
3225
  class: "ctrl"
3230
3226
  }, {
@@ -3263,7 +3259,7 @@ function lo(e, t, l, n, o, s) {
3263
3259
  ]),
3264
3260
  _: 1
3265
3261
  }),
3266
- (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, {
3267
3263
  key: `column-${j}`,
3268
3264
  class: "ctrl"
3269
3265
  }, {
@@ -3335,7 +3331,7 @@ function lo(e, t, l, n, o, s) {
3335
3331
  "onUpdate:modelValue": t[3] || (t[3] = (C) => o.currentCtrlType = C)
3336
3332
  }, {
3337
3333
  default: r(() => [
3338
- (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, {
3339
3335
  key: j,
3340
3336
  label: C.label,
3341
3337
  value: C.value
@@ -3362,13 +3358,13 @@ const no = /* @__PURE__ */ x(to, [["render", lo], ["__scopeId", "data-v-e5209cb7
3362
3358
  name: "PageEditor",
3363
3359
  components: { FormBuilder: Rn, TableBuilder: no },
3364
3360
  setup() {
3365
- 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]);
3366
3362
  return { show: e, key: t, direction: l, pageSchema: o };
3367
3363
  }
3368
3364
  };
3369
3365
  function so(e, t, l, n, o, s) {
3370
- const a = v("VIcon"), u = v("form-builder"), p = v("table-builder"), d = tt;
3371
- 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, [
3372
3368
  c(a, {
3373
3369
  name: "ra-set",
3374
3370
  onClick: t[0] || (t[0] = (f) => n.show = !n.show)
@@ -3377,7 +3373,7 @@ function so(e, t, l, n, o, s) {
3377
3373
  modelValue: n.show,
3378
3374
  "onUpdate:modelValue": t[1] || (t[1] = (f) => n.show = f),
3379
3375
  title: "\u9875\u9762\u8BBE\u8BA1",
3380
- "custom-class": "my-drawer",
3376
+ class: "my-drawer",
3381
3377
  direction: n.direction,
3382
3378
  size: "90%",
3383
3379
  "destroy-on-close": "",
@@ -3402,7 +3398,7 @@ const io = {
3402
3398
  components: {
3403
3399
  Breadcrumb: mn,
3404
3400
  Hamburger: bn,
3405
- VButton: Oe,
3401
+ VButton: Ae,
3406
3402
  PageEditor: ao
3407
3403
  },
3408
3404
  data() {
@@ -3416,7 +3412,7 @@ const io = {
3416
3412
  };
3417
3413
  },
3418
3414
  computed: {
3419
- ...Fe(["sidebar", "avatar", "name", "nickname", "nav"]),
3415
+ ...Ie(["sidebar", "avatar", "name", "nickname", "nav"]),
3420
3416
  hasNewMessage() {
3421
3417
  return this.$store.state.settings.hasNewMessage;
3422
3418
  },
@@ -3434,7 +3430,7 @@ const io = {
3434
3430
  }
3435
3431
  },
3436
3432
  mounted() {
3437
- nt("el-submenu is-active");
3433
+ Xe("el-submenu is-active");
3438
3434
  const e = this.getSetting("navBarNotice");
3439
3435
  e.length > 0 && !this.getSetting("closeNavNotice") && this.showNotice(e) && this.$notify({
3440
3436
  title: "\u63D0\u793A",
@@ -3442,7 +3438,7 @@ const io = {
3442
3438
  dangerouslyUseHTMLString: !0,
3443
3439
  duration: 0,
3444
3440
  onClose: this.closeNavBarNotice
3445
- }), this.setting.envColor[this.user.env] && al({
3441
+ }), this.setting.envColor[this.user.env] && Ut({
3446
3442
  elRef: this.$refs.header.$el,
3447
3443
  waterMark: this.user.env,
3448
3444
  color: "skyblue",
@@ -3486,7 +3482,7 @@ const io = {
3486
3482
  style: { padding: "0" }
3487
3483
  }, mo = { class: "user-info" }, fo = ["src"], ho = { class: "user-name" };
3488
3484
  function bo(e, t, l, n, o, s) {
3489
- 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;
3490
3486
  return i(), m(B, {
3491
3487
  ref: "header",
3492
3488
  class: "navbar",
@@ -3592,7 +3588,7 @@ const yo = {
3592
3588
  return this.$store.state.settings.logo;
3593
3589
  }
3594
3590
  }
3595
- }, 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 = {
3596
3592
  key: 1,
3597
3593
  class: "sidebar-title"
3598
3594
  }, Eo = /* @__PURE__ */ vo(() => /* @__PURE__ */ b("div", null, "\u7CFB\u7EDF", -1)), wo = ["src"], So = { class: "sidebar-title" };
@@ -3650,10 +3646,10 @@ const xo = /* @__PURE__ */ x(yo, [["render", Co], ["__scopeId", "data-v-49084925
3650
3646
  },
3651
3647
  methods: {
3652
3648
  compType(e) {
3653
- return Ve(e) || this.newTab ? "a" : "router-link";
3649
+ return Ne(e) || this.newTab ? "a" : "router-link";
3654
3650
  },
3655
3651
  linkProps(e) {
3656
- return Ve(e) ? {
3652
+ return Ne(e) ? {
3657
3653
  is: "a",
3658
3654
  href: e,
3659
3655
  target: "_blank",
@@ -3671,7 +3667,7 @@ const xo = /* @__PURE__ */ x(yo, [["render", Co], ["__scopeId", "data-v-49084925
3671
3667
  }
3672
3668
  };
3673
3669
  function Io(e, t, l, n, o, s) {
3674
- 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))), {
3675
3671
  default: r(() => [
3676
3672
  te(e.$slots, "default")
3677
3673
  ]),
@@ -3712,7 +3708,7 @@ const Ao = /* @__PURE__ */ x(Bo, [["render", Io]]), $o = {
3712
3708
  setup(e) {
3713
3709
  return (t, l) => {
3714
3710
  const n = v("VIcon");
3715
- return i(), h(E, null, [
3711
+ return i(), h(k, null, [
3716
3712
  c(n, {
3717
3713
  name: e.meta.icon || "ra-all"
3718
3714
  }, null, 8, ["name"]),
@@ -3755,9 +3751,9 @@ const Ao = /* @__PURE__ */ x(Bo, [["render", Io]]), $o = {
3755
3751
  class: "menu-wrapper"
3756
3752
  };
3757
3753
  function Po(e, t, l, n, o, s) {
3758
- 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;
3759
3755
  return l.item.hidden !== !1 ? (i(), h("div", Do, [
3760
- 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 }, [
3761
3757
  l.item.meta ? (i(), m(p, {
3762
3758
  key: 0,
3763
3759
  to: l.to,
@@ -3802,7 +3798,7 @@ function Po(e, t, l, n, o, s) {
3802
3798
  }, null, 8, ["meta"]))
3803
3799
  ]),
3804
3800
  default: r(() => [
3805
- (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, {
3806
3802
  key: _.path,
3807
3803
  "is-nest": !0,
3808
3804
  item: _,
@@ -3828,7 +3824,7 @@ const Lo = {
3828
3824
  };
3829
3825
  },
3830
3826
  computed: {
3831
- ...Fe(["remoteRouter"]),
3827
+ ...Ie(["remoteRouter"]),
3832
3828
  filterRoutes() {
3833
3829
  let e = [];
3834
3830
  return this.remoteRouter.forEach((t) => {
@@ -3843,7 +3839,7 @@ const Lo = {
3843
3839
  }
3844
3840
  };
3845
3841
  function Mo(e, t, l, n, o, s) {
3846
- const a = xe, u = Zt, p = Be;
3842
+ const a = Te, u = gl, p = Fe;
3847
3843
  return i(), m(p, {
3848
3844
  modelValue: o.selected,
3849
3845
  "onUpdate:modelValue": t[0] || (t[0] = (d) => o.selected = d),
@@ -3853,16 +3849,16 @@ function Mo(e, t, l, n, o, s) {
3853
3849
  onChange: s.onselected
3854
3850
  }, {
3855
3851
  default: r(() => [
3856
- (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, {
3857
3853
  key: d.path
3858
3854
  }, [
3859
- d.children !== void 0 ? (i(), h(E, { key: 0 }, [
3855
+ d.children !== void 0 ? (i(), h(k, { key: 0 }, [
3860
3856
  d.meta.menuType !== 0 ? (i(), m(u, {
3861
3857
  key: d.path + "-",
3862
3858
  label: d.meta.title
3863
3859
  }, {
3864
3860
  default: r(() => [
3865
- (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, {
3866
3862
  key: f.path
3867
3863
  }, [
3868
3864
  d.meta.menuType !== 0 ? (i(), m(a, {
@@ -3889,7 +3885,7 @@ var L = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "li
3889
3885
  const No = V({
3890
3886
  components: { SidebarItem: Ro, Logo: xo, SearchMenu: jo },
3891
3887
  computed: {
3892
- ...Fe(["sidebar", "remoteRouter", "customRouter"]),
3888
+ ...Ie(["sidebar", "remoteRouter", "customRouter"]),
3893
3889
  routes() {
3894
3890
  let e = [];
3895
3891
  return this.$router.options.routes.concat(this.customRouter || []).forEach((t) => {
@@ -3926,7 +3922,7 @@ const No = V({
3926
3922
  }
3927
3923
  },
3928
3924
  mounted() {
3929
- nt("is-active");
3925
+ Xe("is-active");
3930
3926
  },
3931
3927
  methods: {
3932
3928
  filterRoute(e) {
@@ -3935,7 +3931,7 @@ const No = V({
3935
3931
  }
3936
3932
  });
3937
3933
  function Vo(e, t, l, n, o, s) {
3938
- 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;
3939
3935
  return i(), h("div", {
3940
3936
  class: G({ "has-logo": e.showLogo })
3941
3937
  }, [
@@ -3957,10 +3953,10 @@ function Vo(e, t, l, n, o, s) {
3957
3953
  mode: "vertical"
3958
3954
  }, {
3959
3955
  default: r(() => [
3960
- (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, {
3961
3957
  key: T + "-module"
3962
3958
  }, [
3963
- (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, {
3964
3960
  key: $.path,
3965
3961
  item: $,
3966
3962
  to: e.$router.resolve($.redirect ? $.redirect : $).fullPath
@@ -3978,15 +3974,15 @@ const qo = /* @__PURE__ */ x(No, [["render", Vo], ["__scopeId", "data-v-800716bb
3978
3974
  const Uo = { class: "app-main" }, Ho = {
3979
3975
  __name: "AppMain",
3980
3976
  setup(e) {
3981
- const t = pe(), l = [], n = P(0);
3982
- return El(() => {
3977
+ const t = ce(), l = [], n = P(0);
3978
+ return sl(() => {
3983
3979
  var o;
3984
3980
  (o = t.meta) != null && o.keepAlive && l.indexOf(t.name) && l.push(t.name), n.value++;
3985
3981
  }), (o, s) => {
3986
- const a = v("router-view"), u = Yt;
3982
+ const a = v("router-view"), u = wl;
3987
3983
  return i(), h("section", Uo, [
3988
3984
  (i(), m(a, {
3989
- key: o.$route.fullPath + k(n)
3985
+ key: o.$route.fullPath + E(n)
3990
3986
  })),
3991
3987
  c(u, { bottom: 50 })
3992
3988
  ]);
@@ -3996,13 +3992,13 @@ const Uo = { class: "app-main" }, Ho = {
3996
3992
  const Jo = { class: "main-container" }, zo = {
3997
3993
  __name: "index",
3998
3994
  setup(e) {
3999
- 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(() => ({
4000
3996
  hideSidebar: !o.value.opened,
4001
3997
  openSidebar: o.value.opened,
4002
3998
  withoutAnimation: o.value.withoutAnimation,
4003
3999
  mobile: s.value === "mobile"
4004
4000
  })), p = () => l.getBoundingClientRect().width - 1 < n;
4005
- Al(window, "resize", () => f());
4001
+ Il(window, "resize", () => f());
4006
4002
  const d = () => {
4007
4003
  t.dispatch("app/closeSideBar", { withoutAnimation: !1 });
4008
4004
  }, f = () => {
@@ -4012,21 +4008,21 @@ const Jo = { class: "main-container" }, zo = {
4012
4008
  }
4013
4009
  };
4014
4010
  return (_, T) => (i(), h("div", {
4015
- class: G([k(u), "app-wrapper"])
4011
+ class: G([E(u), "app-wrapper"])
4016
4012
  }, [
4017
- k(s) === "mobile" && k(o).opened ? (i(), h("div", {
4013
+ E(s) === "mobile" && E(o).opened ? (i(), h("div", {
4018
4014
  key: 0,
4019
4015
  class: "drawer-bg",
4020
4016
  onClick: d
4021
4017
  })) : w("", !0),
4022
- c(k(qo), { class: "sidebar-container" }),
4018
+ c(E(qo), { class: "sidebar-container" }),
4023
4019
  b("div", Jo, [
4024
4020
  b("div", {
4025
- class: G({ "fixed-header": k(a) })
4021
+ class: G({ "fixed-header": E(a) })
4026
4022
  }, [
4027
- c(k(_o))
4023
+ c(E(_o))
4028
4024
  ], 2),
4029
- c(k(Go))
4025
+ c(E(Go))
4030
4026
  ])
4031
4027
  ], 2));
4032
4028
  }
@@ -4056,7 +4052,7 @@ class Wo extends Ko {
4056
4052
  R(this, "style", "");
4057
4053
  }
4058
4054
  flag() {
4059
- const l = il("code");
4055
+ const l = Ht("code");
4060
4056
  if (l)
4061
4057
  return l;
4062
4058
  }
@@ -4066,7 +4062,7 @@ class Wo extends Ko {
4066
4062
  appid: this.appid,
4067
4063
  redirect_uri: encodeURIComponent(this.redirectUri)
4068
4064
  };
4069
- return Z(this.reloadUrl, a) + "&" + ul(s || {});
4065
+ return Z(this.reloadUrl, a) + "&" + Jt(s || {});
4070
4066
  }, n = () => {
4071
4067
  const s = {
4072
4068
  goto: encodeURIComponent(l()),
@@ -4077,7 +4073,7 @@ class Wo extends Ko {
4077
4073
  const { origin: a, data: u } = s;
4078
4074
  a === "https://login.dingtalk.com" && (window.location.href = l({ loginTmpCode: u }));
4079
4075
  };
4080
- 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(
4081
4077
  "message",
4082
4078
  (s) => o(s),
4083
4079
  !1
@@ -4098,12 +4094,12 @@ function Xo(e) {
4098
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({
4099
4095
  __name: "login",
4100
4096
  setup(e) {
4101
- 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({
4102
4098
  username: "",
4103
4099
  password: ""
4104
4100
  }), s = () => {
4105
4101
  if (o.value.username === "" || o.value.password === "") {
4106
- el.error("\u8BF7\u586B\u5199\u7528\u6237\u540D\u548C\u5BC6\u7801");
4102
+ Sl.error("\u8BF7\u586B\u5199\u7528\u6237\u540D\u548C\u5BC6\u7801");
4107
4103
  return;
4108
4104
  }
4109
4105
  S.dispatch("user/login", o.value).then((a) => {
@@ -4115,31 +4111,31 @@ const Yo = { id: "login" }, es = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
4115
4111
  es,
4116
4112
  b("form", ts, [
4117
4113
  ve(b("input", {
4118
- "onUpdate:modelValue": u[0] || (u[0] = (p) => k(o).username = p),
4114
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => E(o).username = p),
4119
4115
  type: "text",
4120
4116
  placeholder: "\u7528\u6237\u540D",
4121
4117
  class: "input"
4122
4118
  }, null, 512), [
4123
- [Ne, k(o).username]
4119
+ [je, E(o).username]
4124
4120
  ]),
4125
4121
  ve(b("input", {
4126
- "onUpdate:modelValue": u[1] || (u[1] = (p) => k(o).password = p),
4122
+ "onUpdate:modelValue": u[1] || (u[1] = (p) => E(o).password = p),
4127
4123
  type: "password",
4128
4124
  placeholder: "\u5BC6\u7801",
4129
4125
  class: "input"
4130
4126
  }, null, 512), [
4131
- [Ne, k(o).password]
4127
+ [je, E(o).password]
4132
4128
  ]),
4133
4129
  b("div", {
4134
4130
  class: "input button",
4135
4131
  onClick: s
4136
4132
  }, "\u767B\u5F55"),
4137
4133
  b("div", ls, [
4138
- b("div", null, I(k(n)), 1)
4134
+ b("div", null, I(E(n)), 1)
4139
4135
  ]),
4140
4136
  b("div", ns, [
4141
4137
  os,
4142
- (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))
4143
4139
  ])
4144
4140
  ])
4145
4141
  ]));
@@ -4147,7 +4143,7 @@ const Yo = { id: "login" }, es = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
4147
4143
  });
4148
4144
  const as = {
4149
4145
  name: "NotFoundPage"
4150
- }, 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", {
4151
4147
  width: "380px",
4152
4148
  height: "500px",
4153
4149
  viewBox: "0 0 837 1045",
@@ -4248,8 +4244,8 @@ const ds = /* @__PURE__ */ x(as, [["render", ps], ["__scopeId", "data-v-26068803
4248
4244
  meta: { menuType: 0 },
4249
4245
  hidden: !0
4250
4246
  }
4251
- ], oe = Sl({
4252
- history: Cl(),
4247
+ ], oe = il({
4248
+ history: rl(),
4253
4249
  routes: ms
4254
4250
  });
4255
4251
  ke.configure({ showSpinner: !1 });
@@ -4337,7 +4333,7 @@ const yt = /* @__PURE__ */ x(ys, [["render", Es]]), ws = V({
4337
4333
  beforeCreate() {
4338
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 };
4339
4335
  this.$http.get(this.$props.schemaApi || l, n).then(({ data: o }) => {
4340
- 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 = {
4341
4337
  title: o.notice
4342
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 });
4343
4339
  });
@@ -4346,7 +4342,7 @@ const yt = /* @__PURE__ */ x(ys, [["render", Es]]), ws = V({
4346
4342
  const Ss = ["innerHTML"];
4347
4343
  function Cs(e, t, l, n, o, s) {
4348
4344
  const a = ge, u = ge, p = yt;
4349
- return i(), h(E, null, [
4345
+ return i(), h(k, null, [
4350
4346
  e.owners.length > 0 ? (i(), m(a, {
4351
4347
  key: 0,
4352
4348
  title: `\u8BE5\u9875\u9762\u529F\u80FD\u5BF9\u5E94\u5F00\u53D1: [ ${e.owners.join(", ")} ] \u6709\u95EE\u9898\u53EF\u76F4\u63A5\u4F01\u5FAE\u53CD\u9988`,
@@ -4358,7 +4354,7 @@ function Cs(e, t, l, n, o, s) {
4358
4354
  key: 1,
4359
4355
  class: "offline-notice",
4360
4356
  innerHTML: e.serviceOffLine === !0 ? e.setting.serviceOffLineNotice : e.serviceOffLine
4361
- }, null, 8, Ss)) : (i(), h(E, { key: 2 }, [
4357
+ }, null, 8, Ss)) : (i(), h(k, { key: 2 }, [
4362
4358
  e.haveNotice ? (i(), m(u, U({ key: 0 }, e.notice, { style: { margin: "0 0 20px 0" } }), null, 16)) : w("", !0),
4363
4359
  e.loading ? (i(), m(p, { key: 1 })) : te(e.$slots, "default", K(U({ key: 2 }, e.schema)), void 0, !0)
4364
4360
  ], 64))
@@ -4382,7 +4378,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4382
4378
  };
4383
4379
  return (l, n) => (i(), m(ae, { "schema-handler": t }, {
4384
4380
  default: r((o) => [
4385
- c(k(ne), K(X(o)), null, 16)
4381
+ c(E(ne), K(X(o)), null, 16)
4386
4382
  ]),
4387
4383
  _: 1
4388
4384
  }));
@@ -4390,7 +4386,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4390
4386
  }, Se = {
4391
4387
  __name: "form",
4392
4388
  setup(e) {
4393
- const t = pe(), l = (n, o) => {
4389
+ const t = ce(), l = (n, o) => {
4394
4390
  const s = Object.keys(J.props);
4395
4391
  return Object.keys(n).forEach((a) => {
4396
4392
  if (s.indexOf(a) === -1) {
@@ -4407,7 +4403,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4407
4403
  };
4408
4404
  return (n, o) => (i(), m(ae, { "schema-handler": l }, {
4409
4405
  default: r((s) => [
4410
- c(k(J), K(X(s)), null, 16)
4406
+ c(E(J), K(X(s)), null, 16)
4411
4407
  ]),
4412
4408
  _: 1
4413
4409
  }));
@@ -4511,7 +4507,7 @@ const ae = /* @__PURE__ */ x(ws, [["render", Cs], ["__scopeId", "data-v-14e96c9f
4511
4507
  append(e, t) {
4512
4508
  var n, o, s;
4513
4509
  this.type = 1;
4514
- 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) };
4515
4511
  console.log(111, l), e.children || (e.children = []), this.formData = l, this.formkey++, e.children.push(l), this.treeData = [...this.treeData];
4516
4512
  },
4517
4513
  canAppend(e, t) {
@@ -4559,7 +4555,7 @@ const Bs = { class: "card-header" }, Is = /* @__PURE__ */ b("span", null, "\u521
4559
4555
  style: { color: "#E6A23C" }
4560
4556
  }, Fs = { class: "card-header" };
4561
4557
  function Os(e, t) {
4562
- 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;
4563
4559
  return i(), m(u, {
4564
4560
  class: "tree-box",
4565
4561
  gutter: 20
@@ -4675,18 +4671,18 @@ function Os(e, t) {
4675
4671
  _: 1
4676
4672
  });
4677
4673
  }
4678
- const Je = /* @__PURE__ */ x(xs, [["render", Os]]), Ds = {
4674
+ const Ge = /* @__PURE__ */ x(xs, [["render", Os]]), Ds = {
4679
4675
  __name: "tree",
4680
4676
  setup(e) {
4681
4677
  const t = (l, n) => {
4682
- const o = Object.keys(Je.props);
4678
+ const o = Object.keys(Ge.props);
4683
4679
  return Object.keys(l).forEach((s) => {
4684
4680
  o.indexOf(s) === -1 && delete l[s];
4685
4681
  }), l;
4686
4682
  };
4687
4683
  return (l, n) => (i(), m(ae, { "schema-handler": t }, {
4688
4684
  default: r((o) => [
4689
- c(Je, K(X(o)), null, 16)
4685
+ c(Ge, K(X(o)), null, 16)
4690
4686
  ]),
4691
4687
  _: 1
4692
4688
  }));
@@ -4695,7 +4691,7 @@ const Je = /* @__PURE__ */ x(xs, [["render", Os]]), Ds = {
4695
4691
  __name: "container",
4696
4692
  setup(e) {
4697
4693
  const t = P(0);
4698
- return xl(() => {
4694
+ return ul(() => {
4699
4695
  t.value++;
4700
4696
  }), (l, n) => {
4701
4697
  const o = v("router-view");
@@ -4735,7 +4731,7 @@ function Rs(e, t, l) {
4735
4731
  if (l.length === 0)
4736
4732
  return {};
4737
4733
  let n = F({}, Ps);
4738
- if (n.title.text = e, $e(t)) {
4734
+ if (n.title.text = e, xe(t)) {
4739
4735
  const o = [], s = Object.keys(l[0]);
4740
4736
  let a = s[0], u = s.filter((d, f) => f > 0), p = t;
4741
4737
  if (t.indexOf(":") > -1) {
@@ -4771,9 +4767,9 @@ const Ls = V({
4771
4767
  }
4772
4768
  }), Ms = { class: "number-panel-title" }, js = { class: "number" }, Ns = { class: "name" };
4773
4769
  function Vs(e, t, l, n, o, s) {
4774
- 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 }, [
4775
4771
  b("div", Ms, [
4776
- (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", {
4777
4773
  key: d,
4778
4774
  class: "title-inner"
4779
4775
  }, [
@@ -4785,9 +4781,9 @@ function Vs(e, t, l, n, o, s) {
4785
4781
  }
4786
4782
  const qs = /* @__PURE__ */ x(Ls, [["render", Vs], ["__scopeId", "data-v-cc0d8293"]]), Us = {
4787
4783
  components: {
4788
- Chart: vl,
4789
- Md: $l,
4790
- Json: De,
4784
+ Chart: ll,
4785
+ Md: Al,
4786
+ Json: $e,
4791
4787
  Table: ne,
4792
4788
  Number: qs,
4793
4789
  Html: ""
@@ -4817,7 +4813,7 @@ const qs = /* @__PURE__ */ x(Ls, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4817
4813
  source: n.data
4818
4814
  };
4819
4815
  if (o === "table") {
4820
- if (!ot(n.data))
4816
+ if (!Ye(n.data))
4821
4817
  return { showPagination: !1 };
4822
4818
  const s = [];
4823
4819
  return n.data[0] && Object.keys(n.data[0]).forEach((a, u) => {
@@ -4835,13 +4831,13 @@ const qs = /* @__PURE__ */ x(Ls, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4835
4831
  }
4836
4832
  };
4837
4833
  function Hs(e, t, l, n, o, s) {
4838
- const a = Ie, u = Ft("resize");
4834
+ const a = Oe, u = Ft("resize");
4839
4835
  return ve((i(), m(a, {
4840
4836
  shadow: "never",
4841
4837
  class: "part"
4842
4838
  }, {
4843
4839
  default: r(() => [
4844
- (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))
4845
4841
  ]),
4846
4842
  _: 1
4847
4843
  })), [
@@ -4865,7 +4861,7 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4865
4861
  Ot(() => {
4866
4862
  });
4867
4863
  const n = P({});
4868
- Ke(() => {
4864
+ ze(() => {
4869
4865
  var f;
4870
4866
  (f = t.filter) == null || f.forEach((_) => {
4871
4867
  _.default !== null && (n.value[_.field] = _.default);
@@ -4894,10 +4890,10 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4894
4890
  });
4895
4891
  };
4896
4892
  return (f, _) => {
4897
- const T = Ie, $ = ce, H = ge, q = se;
4893
+ const T = Oe, $ = pe, H = ge, q = se;
4898
4894
  return i(), m(q, null, {
4899
4895
  default: r(() => [
4900
- k(a).length > 0 ? (i(), m($, {
4896
+ E(a).length > 0 ? (i(), m($, {
4901
4897
  key: 0,
4902
4898
  span: 24
4903
4899
  }, {
@@ -4907,10 +4903,10 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4907
4903
  class: "part-filter"
4908
4904
  }, {
4909
4905
  default: r(() => [
4910
- c(k(J), {
4911
- modelValue: k(n),
4906
+ c(E(J), {
4907
+ modelValue: E(n),
4912
4908
  "onUpdate:modelValue": _[0] || (_[0] = (B) => Dt(n) ? n.value = B : null),
4913
- "form-items": k(a),
4909
+ "form-items": E(a),
4914
4910
  options: o,
4915
4911
  onSubmit: d
4916
4912
  }, null, 8, ["modelValue", "form-items"])
@@ -4924,7 +4920,7 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4924
4920
  default: r(() => [
4925
4921
  c(q, { gutter: 20 }, {
4926
4922
  default: r(() => [
4927
- (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($, {
4928
4924
  key: W,
4929
4925
  span: B.col || 24
4930
4926
  }, {
@@ -4939,7 +4935,7 @@ const Gs = /* @__PURE__ */ x(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4939
4935
  ]),
4940
4936
  _: 2
4941
4937
  }, 1032, ["title"])) : (i(), m(Gs, {
4942
- key: k(s),
4938
+ key: E(s),
4943
4939
  option: B
4944
4940
  }, null, 8, ["option"]))
4945
4941
  ]),
@@ -4968,7 +4964,7 @@ const zs = {
4968
4964
  }
4969
4965
  return "/focusbi_report/view/" + n;
4970
4966
  });
4971
- return (n, o) => (i(), m(ae, { "schema-api": k(l) }, {
4967
+ return (n, o) => (i(), m(ae, { "schema-api": E(l) }, {
4972
4968
  default: r((s) => [
4973
4969
  c(Js, K(X(s)), null, 16)
4974
4970
  ]),
@@ -4977,12 +4973,12 @@ const zs = {
4977
4973
  }
4978
4974
  };
4979
4975
  const Ks = (e) => c("div", null, [e.test]), Ws = {
4980
- card: bl,
4976
+ card: Yt,
4981
4977
  form: J,
4982
4978
  table: ne,
4983
4979
  test: Ks,
4984
- row: _l,
4985
- col: yl
4980
+ row: el,
4981
+ col: tl
4986
4982
  }, Zs = {
4987
4983
  card: {
4988
4984
  type: "card",
@@ -5016,9 +5012,9 @@ function Qs(e) {
5016
5012
  type: l[s],
5017
5013
  children: [o]
5018
5014
  };
5019
- return o.span = n, je([o]);
5015
+ return o.span = n, Me([o]);
5020
5016
  }
5021
- function je(e) {
5017
+ function Me(e) {
5022
5018
  const t = {
5023
5019
  type: "row",
5024
5020
  props: {
@@ -5053,7 +5049,7 @@ function je(e) {
5053
5049
  props: {}
5054
5050
  }, Zs[n.type] || {}, n);
5055
5051
  const s = gt(n.children);
5056
- s.length && (n.children = je(s)), t.children.push({
5052
+ s.length && (n.children = Me(s)), t.children.push({
5057
5053
  type: "col",
5058
5054
  props: o,
5059
5055
  children: [n]
@@ -5061,7 +5057,7 @@ function je(e) {
5061
5057
  }), [t];
5062
5058
  }
5063
5059
  function gt(e) {
5064
- return ot(e) ? e : Q(e) ? [e] : [];
5060
+ return Ye(e) ? e : Q(e) ? [e] : [];
5065
5061
  }
5066
5062
  let Ce = {};
5067
5063
  const kt = (e) => {
@@ -5069,20 +5065,20 @@ const kt = (e) => {
5069
5065
  return Rt(t, e.props, {
5070
5066
  default: () => gt(e.children).map((l) => kt(l))
5071
5067
  });
5072
- }, 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 = {
5073
5069
  __name: "custom",
5074
5070
  setup(e) {
5075
5071
  const t = P([]), l = (n, o) => (t.value = Lt(n), n);
5076
5072
  return (n, o) => (i(), m(ae, { "schema-handler": l }, {
5077
5073
  default: r(() => [
5078
- c(k(Xs), { schema: k(t) }, null, 8, ["schema"])
5074
+ c(E(Xs), { schema: E(t) }, null, 8, ["schema"])
5079
5075
  ]),
5080
5076
  _: 1
5081
5077
  }));
5082
5078
  }
5083
5079
  };
5084
5080
  let ee = {};
5085
- function bi(e) {
5081
+ function hi(e) {
5086
5082
  ee = e;
5087
5083
  }
5088
5084
  const ea = (e) => {
@@ -5251,7 +5247,7 @@ const ia = {
5251
5247
  unmounted(e) {
5252
5248
  document.body.removeEventListener("click", e.clickOutsideEvent);
5253
5249
  }
5254
- }, z = Il(), ra = {
5250
+ }, z = Bl(), ra = {
5255
5251
  mounted: (e, t) => {
5256
5252
  e !== null && (t.value, e.oncontextmenu = (l) => {
5257
5253
  l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && z.emit("right-click", { event: l, data: t.value });
@@ -5261,7 +5257,7 @@ const ia = {
5261
5257
  mounted(e) {
5262
5258
  }
5263
5259
  };
5264
- function ze(e, t) {
5260
+ function Je(e, t) {
5265
5261
  let l = e[`offset${t}`], n = e.offsetParent;
5266
5262
  for (; n; )
5267
5263
  l += n[`offset${t}`], n = n.offsetParent;
@@ -5278,7 +5274,7 @@ const ca = {
5278
5274
  l.classList.add("devtool-hover");
5279
5275
  const n = document.createElement("i");
5280
5276
  n.className = "devtool-item-wrapper", l.onmouseover = () => {
5281
- 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";
5282
5278
  };
5283
5279
  const o = document.createElement("span");
5284
5280
  o.className = "dev-action-edit", o.title = "\u7F16\u8F91";
@@ -5301,15 +5297,15 @@ const ca = {
5301
5297
  devtool: ca
5302
5298
  }, Symbol.toStringTag, { value: "Module" }));
5303
5299
  let re;
5304
- function _i(e) {
5305
- return e ? Le(F(de.axios, e)) : re;
5300
+ function bi(e) {
5301
+ return e ? Re(F(de.axios, e)) : re;
5306
5302
  }
5307
- function yi(e) {
5308
- 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 || [];
5309
5305
  o.unshift(n), o.forEach((s) => {
5310
5306
  _a(l, s);
5311
- }), 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(() => ({
5312
- "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()
5313
5309
  })), oe.isReady().then(() => l.mount("#app"));
5314
5310
  }
5315
5311
  function da(e, t = {}) {
@@ -5348,12 +5344,12 @@ function _a(e, t) {
5348
5344
  function ya(e) {
5349
5345
  var t;
5350
5346
  return {
5351
- components: { VIcon: kl },
5347
+ components: { VIcon: ol },
5352
5348
  directives: pa,
5353
5349
  use: [
5354
5350
  S,
5355
5351
  oe,
5356
- [ml, { locale: Ae, ...(t = e.settings) == null ? void 0 : t.ElementPlus }]
5352
+ [Zt, { locale: tt, ...(t = e.settings) == null ? void 0 : t.ElementPlus }]
5357
5353
  ]
5358
5354
  };
5359
5355
  }
@@ -5363,18 +5359,18 @@ export {
5363
5359
  Wo as DingTalk,
5364
5360
  ht as Layout,
5365
5361
  D as MenuType,
5366
- Ue as Message,
5367
- He as MessageBox,
5362
+ Zl as Message,
5363
+ qe as MessageBox,
5368
5364
  L as PageType,
5369
5365
  Qo as allSso,
5370
- yi as createAdmin,
5366
+ _i as createAdmin,
5371
5367
  z as eventBus,
5372
5368
  sn as getCmp,
5373
5369
  re as http,
5374
- Le as instance,
5375
- bi as regViews,
5376
- hi as setCmp,
5370
+ Re as instance,
5371
+ hi as regViews,
5372
+ fi as setCmp,
5377
5373
  na as transRemoteModules,
5378
- _i as useHttp
5374
+ bi as useHttp
5379
5375
  };
5380
5376
  //# sourceMappingURL=index.es.js.map