@okiss/oms 0.0.38 → 0.0.40

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.
package/dist/index.es.js CHANGED
@@ -1,19 +1,19 @@
1
1
  var $t = Object.defineProperty;
2
2
  var It = (e, t, l) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
3
3
  var M = (e, t, l) => (It(e, typeof t != "symbol" ? t + "" : t, l), l);
4
- import { defineComponent as q, onBeforeMount as ze, provide as Ct, resolveComponent as v, openBlock as i, createBlock as m, createVNode as u, computed as V, createTextVNode as g, withCtx as r, TransitionGroup as Tt, createElementBlock as h, Fragment as w, renderList as B, toDisplayString as O, normalizeClass as F, renderSlot as le, mergeProps as G, createCommentVNode as S, toRefs as Ot, ref as L, normalizeStyle as Bt, createElementVNode as b, Transition as At, pushScopeId as Ke, popScopeId as We, resolveDynamicComponent as Ze, normalizeProps as W, guardReactiveProps as Y, unref as x, withDirectives as ve, vModelText as Ne, resolveDirective as Rt, onMounted as Pt, isRef as Lt, getCurrentInstance as Mt, h as Dt, toRaw as jt, createApp as Nt } from "vue";
5
- import { addNewStyle as Vt, addNewStyleTag as qt, queryParams as Ut, logGroup as Ht, compactObject as Qe, showEleByClassName as Xe, waterMarker as Ft, Cache as fe, isExternal as Ve, getQueryParam as Gt, createIFrame as Jt, strVarReplace as Q, obj2Param as zt, isObject as X, isString as Ee, effectDataTrans as Kt, isArray as Ye } from "@okiss/utils";
6
- import he from "mockjs";
4
+ import { defineComponent as q, onBeforeMount as Ke, provide as Ct, resolveComponent as v, openBlock as i, createBlock as f, createVNode as u, computed as j, createTextVNode as g, withCtx as r, TransitionGroup as Tt, createElementBlock as h, Fragment as S, renderList as B, toDisplayString as O, normalizeClass as H, renderSlot as le, mergeProps as G, createCommentVNode as x, toRefs as Ot, ref as L, normalizeStyle as Bt, createElementVNode as b, Transition as At, pushScopeId as We, popScopeId as Ze, resolveDynamicComponent as Qe, normalizeProps as W, guardReactiveProps as Y, unref as k, withDirectives as ie, vModelText as he, resolveDirective as Rt, onMounted as Pt, isRef as Lt, getCurrentInstance as Mt, h as Dt, toRaw as jt, createApp as Nt } from "vue";
5
+ import { addNewStyle as Vt, addNewStyleTag as qt, queryParams as Ut, logGroup as Ht, compactObject as Xe, showEleByClassName as $e, waterMarker as Ft, Cache as be, isExternal as qe, getQueryParam as Gt, createIFrame as Jt, strVarReplace as Q, obj2Param as zt, isObject as X, isString as Ie, effectDataTrans as Kt, isArray as Ye } from "@okiss/utils";
6
+ import _e from "mockjs";
7
7
  import Wt, { cloneDeep as y, merge as A, get as ne, unset as et } from "lodash";
8
8
  import tt from "element-plus/lib/locale/lang/zh-cn";
9
- import $e from "axios";
10
- import j from "js-cookie";
11
- import { createStore as Zt, useStore as lt, mapGetters as Ie } from "vuex";
9
+ import Ce from "axios";
10
+ import N from "js-cookie";
11
+ import { createStore as Zt, useStore as lt, mapGetters as Te } from "vuex";
12
12
  import Qt, { ElMessage as Xt, ElMessageBox as Yt, ElCard as el, ElRow as tl, ElCol as ll } from "element-plus";
13
13
  import "element-plus/dist/index.css";
14
14
  import "dayjs/locale/zh-cn";
15
- import { useRoute as ue, onBeforeRouteLeave as nl, useRouter as ol, createRouter as sl, createWebHashHistory as al, onBeforeRouteUpdate as il } from "vue-router";
16
- import { ElBreadcrumbItem as rl, ElBreadcrumb as cl, ElRow as se, ElMain as ul, ElAside as pl, ElContainer as dl, ElDivider as nt, ElButton as ce, ElOption as Ce, ElSelect as Te, ElFormItem as ot, ElForm as st, ElCol as pe, ElDrawer as at, ElDropdownItem as ml, ElDropdownMenu as fl, ElDropdown as hl, ElMenuItem as bl, ElSubMenu as _l, ElOptionGroup as yl, ElMenu as vl, ElScrollbar as gl, ElBacktop as kl, ElMessage as wl, ElAlert as Oe, ElTree as Sl, ElCard as Be } from "element-plus/es";
15
+ import { useRoute as pe, onBeforeRouteLeave as nl, useRouter as ol, createRouter as al, createWebHashHistory as sl, onBeforeRouteUpdate as il } from "vue-router";
16
+ import { ElBreadcrumbItem as rl, ElBreadcrumb as cl, ElRow as ae, ElMain as ul, ElAside as pl, ElContainer as dl, ElDivider as nt, ElButton as ue, ElOption as Oe, ElSelect as Be, ElFormItem as ot, ElForm as at, ElCol as de, ElDrawer as st, ElDropdownItem as ml, ElDropdownMenu as fl, ElDropdown as hl, ElMenuItem as bl, ElSubMenu as _l, ElOptionGroup as yl, ElMenu as vl, ElScrollbar as gl, ElBacktop as kl, ElMessage as wl, ElAlert as Ae, ElTree as Sl, ElCard as Re } from "element-plus/es";
17
17
  import "element-plus/es/components/base/style/css";
18
18
  import "element-plus/es/components/row/style/css";
19
19
  import "element-plus/es/components/drawer/style/css";
@@ -33,7 +33,7 @@ import "element-plus/es/components/divider/style/css";
33
33
  import "element-plus/es/components/container/style/css";
34
34
  import "element-plus/es/components/aside/style/css";
35
35
  import "element-plus/es/components/main/style/css";
36
- import { VForm as J, VBtn as Ae, JsonView as Re, VTable as oe, VChart as El, setUploadHeaderHandle as $l, VIcon as Il } from "@okiss/vbtf";
36
+ import { VForm as J, VBtn as Pe, JsonView as Le, VTable as oe, VChart as El, setUploadHeaderHandle as $l, VIcon as Il } from "@okiss/vbtf";
37
37
  import "normalize.css/normalize.css";
38
38
  import "@okiss/vbtf/style.css";
39
39
  import Cl from "mitt";
@@ -48,8 +48,9 @@ import "element-plus/es/components/alert/style/css";
48
48
  import "element-plus/es/components/card/style/css";
49
49
  import "element-plus/es/components/tree/style/css";
50
50
  import Ol from "vue3-markdown-it";
51
+ import { MD5 as Bl } from "crypto-js";
51
52
  import "element-plus/es/components/message/style/css";
52
- import ge from "nprogress";
53
+ import ke from "nprogress";
53
54
  import "nprogress/nprogress.css";
54
55
  String.prototype.format || (String.prototype.format = function() {
55
56
  const e = arguments;
@@ -57,26 +58,26 @@ String.prototype.format || (String.prototype.format = function() {
57
58
  return typeof e[l] < "u" ? e[l] : t;
58
59
  });
59
60
  });
60
- const Bl = /* @__PURE__ */ q({
61
+ const Al = /* @__PURE__ */ q({
61
62
  __name: "App",
62
63
  setup(e) {
63
64
  var t, l, n, o;
64
- return ze(() => {
65
- const s = document.getElementById("preloader");
66
- s !== null && (document.body.removeChild(s), Vt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), qt(`.iconfont {
65
+ return Ke(() => {
66
+ const a = document.getElementById("preloader");
67
+ a !== null && (document.body.removeChild(a), Vt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), qt(`.iconfont {
67
68
  font-size: 19px;
68
69
  font-style: normal;
69
70
  -webkit-font-smoothing: antialiased;
70
71
  font-family: iconfont !important;
71
72
  }`));
72
- }), (l = (t = window == null ? void 0 : window.OmsOptions) == null ? void 0 : t.form) != null && l.vsPath && Ct("vsPath", (o = (n = window == null ? void 0 : window.OmsOptions) == null ? void 0 : n.form) == null ? void 0 : o.vsPath), (s, a) => {
73
+ }), (l = (t = window == null ? void 0 : window.OmsOptions) == null ? void 0 : t.form) != null && l.vsPath && Ct("vsPath", (o = (n = window == null ? void 0 : window.OmsOptions) == null ? void 0 : n.form) == null ? void 0 : o.vsPath), (a, s) => {
73
74
  const c = v("router-view");
74
- return i(), m(c);
75
+ return i(), f(c);
75
76
  };
76
77
  }
77
78
  });
78
79
  var ee = /* @__PURE__ */ ((e) => (e.GET = "get", e.POST = "post", e.DELETE = "delete", e.FETCH = "fetch", e.OPTION = "option", e.PUT = "put", e))(ee || {});
79
- const Al = {
80
+ const Rl = {
80
81
  saveApi: "/save",
81
82
  afterSubmit: "",
82
83
  afterReset: "goback",
@@ -410,7 +411,7 @@ const Al = {
410
411
  info: "在通用表单控件无法满足需求时, 可以编写 `template` 模板组件"
411
412
  }
412
413
  ]
413
- }, qe = [
414
+ }, Ue = [
414
415
  {
415
416
  type: "jump",
416
417
  text: "跳转",
@@ -465,7 +466,7 @@ const Al = {
465
466
  type: "success"
466
467
  }
467
468
  }
468
- ], Rl = {
469
+ ], Pl = {
469
470
  exportAble: !0,
470
471
  filter: [
471
472
  {
@@ -531,7 +532,7 @@ const Al = {
531
532
  label: "信息"
532
533
  }
533
534
  ],
534
- batchButton: qe,
535
+ batchButton: Ue,
535
536
  rowButton: [
536
537
  {
537
538
  type: "jump",
@@ -562,7 +563,7 @@ const Al = {
562
563
  }
563
564
  ],
564
565
  normalButton: [
565
- ...Wt.cloneDeep(qe),
566
+ ...Wt.cloneDeep(Ue),
566
567
  {
567
568
  type: "jump",
568
569
  target: "/user/form",
@@ -574,7 +575,7 @@ const Al = {
574
575
  ],
575
576
  selectedNotice: "当前共勾选: {selectedCount} 条",
576
577
  listApi: "/user/list"
577
- }, Pl = {
578
+ }, Ll = {
578
579
  code: 0,
579
580
  data: {
580
581
  "list|0-100": [
@@ -595,7 +596,7 @@ const Al = {
595
596
  "page|1-5": 2
596
597
  }
597
598
  }
598
- }, Ll = {
599
+ }, Ml = {
599
600
  afterSubmit: "",
600
601
  afterReset: "goback",
601
602
  formItems: [
@@ -632,7 +633,7 @@ const Al = {
632
633
  label: "span"
633
634
  }
634
635
  ]
635
- }, Ml = {
636
+ }, Dl = {
636
637
  afterSubmit: "",
637
638
  afterReset: "",
638
639
  formItems: [
@@ -671,7 +672,7 @@ const Al = {
671
672
  label: "span"
672
673
  }
673
674
  ]
674
- }, Dl = { form: Al, table: Rl, listMock: Pl, layoutForm: Ll, layoutSection: Ml }, jl = [
675
+ }, jl = { form: Rl, table: Pl, listMock: Ll, layoutForm: Ml, layoutSection: Dl }, Nl = [
675
676
  {
676
677
  method: ee.POST,
677
678
  url: "/login",
@@ -715,11 +716,11 @@ const Al = {
715
716
  {
716
717
  url: "/user/list",
717
718
  method: ee.GET,
718
- response: (e) => Dl.listMock
719
+ response: (e) => jl.listMock
719
720
  }
720
- ], Nl = [
721
- ...jl
722
- ], Vl = {
721
+ ], Vl = [
722
+ ...Nl
723
+ ], ql = {
723
724
  baseURL: "/api",
724
725
  withCredentials: !0,
725
726
  timeout: 5e3,
@@ -749,49 +750,49 @@ const Al = {
749
750
  pre: "green"
750
751
  },
751
752
  serviceOffLineNotice: "当前页面功能正在维护, 请稍后再试~~~"
752
- }, de = {
753
- axios: Vl,
753
+ }, me = {
754
+ axios: ql,
754
755
  settings: it,
755
756
  plugins: [],
756
757
  mock: !1
757
- }, ke = {};
758
+ }, we = {};
758
759
  function rt(e) {
759
760
  e.forEach((t) => {
760
761
  const l = ct(t);
761
- ke[`${t.method}::${l}`] = t;
762
+ we[`${t.method}::${l}`] = t;
762
763
  });
763
764
  }
764
- rt(Nl);
765
+ rt(Vl);
765
766
  function ct(e) {
766
767
  var n;
767
- let t = e.url, l = e.baseURL || ((n = de.axios) == null ? void 0 : n.baseURL);
768
+ let t = e.url, l = e.baseURL || ((n = me.axios) == null ? void 0 : n.baseURL);
768
769
  return l || (l = ""), typeof t == "string" ? (t = ("/" + l + t).split("/").filter((o) => o).join("/"), t += "(|\\?.*)$", new RegExp(t)) : t;
769
770
  }
770
- function ql() {
771
- Object.keys(ke).forEach((e) => {
772
- const t = ke[e], l = ct(t);
773
- he.mock(l, t.method, function(n) {
774
- const { url: o, type: s, body: a } = n, c = Ut(o), p = a ? JSON.parse(a) : {}, d = t.response({ query: c, data: p }), f = he.mock(d);
775
- return Ht(o, { type: s, query: c, data: p, response: f }), he.mock(f);
771
+ function Ul() {
772
+ Object.keys(we).forEach((e) => {
773
+ const t = we[e], l = ct(t);
774
+ _e.mock(l, t.method, function(n) {
775
+ const { url: o, type: a, body: s } = n, c = Ut(o), p = s ? JSON.parse(s) : {}, d = t.response({ query: c, data: p }), m = _e.mock(d);
776
+ return Ht(o, { type: a, query: c, data: p, response: m }), _e.mock(m);
776
777
  });
777
778
  }), console.log("%c ApiMock is stared! ", "background: #606060; color: #fff; padding: 4px 5px; border-radius: 1px;");
778
779
  }
779
- const Pe = "oms:token";
780
- function Le() {
781
- return j.get(Pe) || "";
780
+ const Me = "oms:token";
781
+ function De() {
782
+ return N.get(Me) || "";
782
783
  }
783
- function Ul(e) {
784
+ function Hl(e) {
784
785
  const t = new Date((/* @__PURE__ */ new Date()).getTime() + (E.state.settings.tokenExpire || 864e5));
785
- return j.set(Pe, e, { expires: t });
786
+ return N.set(Me, e, { expires: t });
786
787
  }
787
788
  function ut() {
788
- return j.remove(Pe);
789
+ return N.remove(Me);
789
790
  }
790
- const Hl = {
791
+ const Fl = {
791
792
  name: "",
792
793
  nickname: "",
793
794
  avatar: "",
794
- token: Le(),
795
+ token: De(),
795
796
  customRouter: [],
796
797
  remoteRouter: [],
797
798
  menuRoutes: [],
@@ -800,12 +801,12 @@ const Hl = {
800
801
  roleIds: [],
801
802
  path: "",
802
803
  env: ""
803
- }, Fl = {
804
+ }, Gl = {
804
805
  namespaced: !0,
805
- state: Hl,
806
+ state: Fl,
806
807
  mutations: {
807
808
  updateToken(e, t) {
808
- e.token = t, Ul(t);
809
+ e.token = t, Hl(t);
809
810
  },
810
811
  removeToken(e) {
811
812
  e.token = "", ut();
@@ -824,7 +825,7 @@ const Hl = {
824
825
  name: "",
825
826
  nickname: "",
826
827
  avatar: "",
827
- token: Le(),
828
+ token: De(),
828
829
  customRouter: [],
829
830
  remoteRouter: [],
830
831
  menuRoutes: [],
@@ -842,17 +843,17 @@ const Hl = {
842
843
  state: t,
843
844
  rootState: l
844
845
  }, n) {
845
- return new Promise((o, s) => {
846
+ return new Promise((o, a) => {
846
847
  l.http ? l.http.request({
847
848
  url: "/user/login",
848
849
  method: "POST",
849
850
  data: n
850
- }).then((a) => {
851
+ }).then((s) => {
851
852
  var c;
852
- e("updateToken", (c = a.data) == null ? void 0 : c.token), o(!0);
853
- }).catch((a) => {
854
- s(a);
855
- }) : s("http client not init");
853
+ e("updateToken", (c = s.data) == null ? void 0 : c.token), o(!0);
854
+ }).catch((s) => {
855
+ a(s);
856
+ }) : a("http client not init");
856
857
  });
857
858
  },
858
859
  logout({ commit: e }) {
@@ -864,9 +865,9 @@ const Hl = {
864
865
  url: "/user/info",
865
866
  method: "GET"
866
867
  }).then((o) => {
867
- var a, c, p, d, f;
868
- const s = ((a = o.data) == null ? void 0 : a.role_ids) || [];
869
- e("updateState", { key: "name", value: (c = o.data) == null ? void 0 : c.name }), e("updateState", { key: "nickname", value: (p = o.data) == null ? void 0 : p.nickname }), e("updateState", { key: "roleIds", value: s }), e("updateState", { key: "env", value: (d = o.data) == null ? void 0 : d.env }), !j.get("username") && j.set("username", (f = o.data) == null ? void 0 : f.name), l(!0);
868
+ var s, c, p, d, m;
869
+ const a = ((s = o.data) == null ? void 0 : s.role_ids) || [];
870
+ e("updateState", { key: "name", value: (c = o.data) == null ? void 0 : c.name }), e("updateState", { key: "nickname", value: (p = o.data) == null ? void 0 : p.nickname }), e("updateState", { key: "roleIds", value: a }), e("updateState", { key: "env", value: (d = o.data) == null ? void 0 : d.env }), !N.get("username") && N.set("username", (m = o.data) == null ? void 0 : m.name), l(!0);
870
871
  }).catch((o) => {
871
872
  n(o);
872
873
  }) : n("http client not init");
@@ -878,21 +879,21 @@ const Hl = {
878
879
  (o = t.http) == null || o.request({
879
880
  url: "/user/routes",
880
881
  method: "get"
881
- }).then((s) => {
882
- if (s.code === 0) {
883
- const a = s.data || [];
884
- l(a);
882
+ }).then((a) => {
883
+ if (a.code === 0) {
884
+ const s = a.data || [];
885
+ l(s);
885
886
  } else
886
887
  n("error");
887
- }).catch((s) => {
888
- console.log(s), n(s);
888
+ }).catch((a) => {
889
+ console.log(a), n(a);
889
890
  });
890
891
  });
891
892
  }
892
893
  }
893
- }, Gl = y(it), Jl = {
894
+ }, Jl = y(it), zl = {
894
895
  namespaced: !0,
895
- state: Gl,
896
+ state: Jl,
896
897
  mutations: {
897
898
  updateSettings(e, t) {
898
899
  e = A(e, t);
@@ -903,24 +904,24 @@ const Hl = {
903
904
  e("updateSettings", l);
904
905
  }
905
906
  }
906
- }, zl = {
907
+ }, Kl = {
907
908
  sidebar: {
908
- opened: j.get("sidebarStatus") ? !!j.get("sidebarStatus") : !0,
909
+ opened: N.get("sidebarStatus") ? !!N.get("sidebarStatus") : !0,
909
910
  withoutAnimation: !1
910
911
  },
911
912
  device: "desktop",
912
913
  pages: {},
913
914
  currentRouteMeta: {},
914
915
  builderSchema: {}
915
- }, Kl = {
916
+ }, Wl = {
916
917
  namespaced: !0,
917
- state: zl,
918
+ state: Kl,
918
919
  mutations: {
919
920
  TOGGLE_SIDEBAR: (e) => {
920
- e.sidebar.opened = !e.sidebar.opened, e.sidebar.withoutAnimation = !1, e.sidebar.opened ? j.set("sidebarStatus", "1") : j.set("sidebarStatus", "0");
921
+ e.sidebar.opened = !e.sidebar.opened, e.sidebar.withoutAnimation = !1, e.sidebar.opened ? N.set("sidebarStatus", "1") : N.set("sidebarStatus", "0");
921
922
  },
922
923
  CLOSE_SIDEBAR: (e, t) => {
923
- j.set("sidebarStatus", "0"), e.sidebar.opened = !1, e.sidebar.withoutAnimation = t;
924
+ N.set("sidebarStatus", "0"), e.sidebar.opened = !1, e.sidebar.withoutAnimation = t;
924
925
  },
925
926
  TOGGLE_DEVICE: (e, t) => {
926
927
  e.device = t;
@@ -955,12 +956,12 @@ const Hl = {
955
956
  e("SET_BUILDER_SCHEMA", t);
956
957
  }
957
958
  }
958
- }, Wl = {
959
+ }, Zl = {
959
960
  currentCellItem: {}
960
961
  // form/sub-form 当前单元格编辑数据
961
- }, Zl = {
962
+ }, Ql = {
962
963
  namespaced: !0,
963
- state: Wl,
964
+ state: Zl,
964
965
  mutations: {
965
966
  SET_CURRENT_CELLITEM: (e, t) => {
966
967
  e.currentCellItem = t;
@@ -998,12 +999,12 @@ const Hl = {
998
999
  }
999
1000
  },
1000
1001
  modules: {
1001
- user: Fl,
1002
- settings: Jl,
1003
- app: Kl,
1004
- builderSchema: Zl
1002
+ user: Gl,
1003
+ settings: zl,
1004
+ app: Wl,
1005
+ builderSchema: Ql
1005
1006
  }
1006
- }), Ql = Xt, Ue = Yt, Xl = $e.CancelToken, ie = {
1007
+ }), Xl = Xt, He = Yt, Yl = Ce.CancelToken, re = {
1007
1008
  taskList: {},
1008
1009
  cacheList: /* @__PURE__ */ new Map(),
1009
1010
  uniqueId(e) {
@@ -1039,36 +1040,36 @@ const Hl = {
1039
1040
  const t = this.uniqueId(e);
1040
1041
  return this.cacheList.delete(t);
1041
1042
  }
1042
- }, Yl = {
1043
+ }, en = {
1043
1044
  onFulfilled: function(e) {
1044
- return e.cacheEnable === !1 || (ie.pending(e) && ie.delTask(e), e.cancelToken = new Xl((t) => {
1045
- ie.addTask(e, t);
1045
+ return e.cacheEnable === !1 || (re.pending(e) && re.delTask(e), e.cancelToken = new Yl((t) => {
1046
+ re.addTask(e, t);
1046
1047
  })), e;
1047
1048
  },
1048
1049
  onRejected(e) {
1049
1050
  return Promise.reject(e);
1050
1051
  }
1051
- }, en = {
1052
+ }, tn = {
1052
1053
  onFulfilled: function(e) {
1053
- return e.config.cacheEnable === !1 || e.config.method === "get" && Object.keys(e.data).length > 0 && ie.addCache(e.config, e.data), e;
1054
+ return e.config.cacheEnable === !1 || e.config.method === "get" && Object.keys(e.data).length > 0 && re.addCache(e.config, e.data), e;
1054
1055
  },
1055
1056
  onRejected(e) {
1056
1057
  return Promise.reject(e);
1057
1058
  }
1058
1059
  }, pt = {};
1059
- function vi(e, t) {
1060
+ function Si(e, t) {
1060
1061
  pt[e] = t;
1061
1062
  }
1062
- function tn(e) {
1063
+ function ln(e) {
1063
1064
  return pt[e];
1064
1065
  }
1065
- const ln = /* @__PURE__ */ q({
1066
+ const nn = /* @__PURE__ */ q({
1066
1067
  name: "Dashboard",
1067
1068
  setup() {
1068
- const e = tn("test");
1069
+ const e = ln("test");
1069
1070
  if (e)
1070
1071
  return () => u(e, null, null);
1071
- const t = lt(), l = V(() => t.getters.name);
1072
+ const t = lt(), l = j(() => t.getters.name);
1072
1073
  return () => u("div", {
1073
1074
  class: "dashboard-container"
1074
1075
  }, [u("div", {
@@ -1081,8 +1082,8 @@ const $ = (e, t) => {
1081
1082
  for (const [n, o] of t)
1082
1083
  l[n] = o;
1083
1084
  return l;
1084
- }, nn = /* @__PURE__ */ $(ln, [["__scopeId", "data-v-10e6b4b6"]]);
1085
- const on = {
1085
+ }, on = /* @__PURE__ */ $(nn, [["__scopeId", "data-v-10e6b4b6"]]);
1086
+ const an = {
1086
1087
  data() {
1087
1088
  return {
1088
1089
  levelList: null
@@ -1128,24 +1129,24 @@ const on = {
1128
1129
  }, sn = {
1129
1130
  key: 0,
1130
1131
  class: "no-redirect"
1131
- }, an = ["onClick"];
1132
- function rn(e, t, l, n, o, s) {
1133
- const a = rl, c = cl;
1134
- return i(), m(c, {
1132
+ }, rn = ["onClick"];
1133
+ function cn(e, t, l, n, o, a) {
1134
+ const s = rl, c = cl;
1135
+ return i(), f(c, {
1135
1136
  class: "app-breadcrumb",
1136
1137
  separator: "/"
1137
1138
  }, {
1138
1139
  default: r(() => [
1139
1140
  u(Tt, { name: "breadcrumb" }, {
1140
1141
  default: r(() => [
1141
- (i(!0), h(w, null, B(o.levelList, (p, d) => (i(), m(a, {
1142
+ (i(!0), h(S, null, B(o.levelList, (p, d) => (i(), f(s, {
1142
1143
  key: p.path
1143
1144
  }, {
1144
1145
  default: r(() => [
1145
1146
  p.path.indexOf("/DIR_") === 0 && p.redirect === void 0 || d === o.levelList.length - 1 ? (i(), h("span", sn, O(p.meta.title), 1)) : (i(), h("a", {
1146
1147
  key: 1,
1147
- onClick: (f) => s.handleLink(p)
1148
- }, O(p.meta.title), 9, an))
1148
+ onClick: (m) => a.handleLink(p)
1149
+ }, O(p.meta.title), 9, rn))
1149
1150
  ]),
1150
1151
  _: 2
1151
1152
  }, 1024))), 128))
@@ -1156,7 +1157,7 @@ function rn(e, t, l, n, o, s) {
1156
1157
  _: 1
1157
1158
  });
1158
1159
  }
1159
- const cn = /* @__PURE__ */ $(on, [["render", rn], ["__scopeId", "data-v-fa74804e"]]), un = {
1160
+ const un = /* @__PURE__ */ $(an, [["render", cn], ["__scopeId", "data-v-fa74804e"]]), pn = {
1160
1161
  name: "Hamburger",
1161
1162
  props: {
1162
1163
  isActive: {
@@ -1171,23 +1172,23 @@ const cn = /* @__PURE__ */ $(on, [["render", rn], ["__scopeId", "data-v-fa74804e
1171
1172
  }
1172
1173
  }
1173
1174
  };
1174
- function pn(e, t, l, n, o, s) {
1175
- const a = v("v-icon");
1175
+ function dn(e, t, l, n, o, a) {
1176
+ const s = v("v-icon");
1176
1177
  return i(), h("div", {
1177
1178
  style: { padding: "0 15px" },
1178
- onClick: t[0] || (t[0] = (...c) => s.toggleClick && s.toggleClick(...c))
1179
+ onClick: t[0] || (t[0] = (...c) => a.toggleClick && a.toggleClick(...c))
1179
1180
  }, [
1180
- u(a, {
1181
- class: F({ "is-active": l.isActive }),
1181
+ u(s, {
1182
+ class: H({ "is-active": l.isActive }),
1182
1183
  name: "ra-leftalignment"
1183
1184
  }, null, 8, ["class"])
1184
1185
  ]);
1185
1186
  }
1186
- const dn = /* @__PURE__ */ $(un, [["render", pn]]);
1187
- const mn = {};
1188
- function fn(e, t) {
1189
- const l = se, n = ul, o = pl, s = dl;
1190
- return i(), m(s, { style: { width: "100%", height: "100%" } }, {
1187
+ const mn = /* @__PURE__ */ $(pn, [["render", dn]]);
1188
+ const fn = {};
1189
+ function hn(e, t) {
1190
+ const l = ae, n = ul, o = pl, a = dl;
1191
+ return i(), f(a, { style: { width: "100%", height: "100%" } }, {
1191
1192
  default: r(() => [
1192
1193
  u(l, { class: "aside" }, {
1193
1194
  default: r(() => [
@@ -1218,7 +1219,7 @@ function fn(e, t) {
1218
1219
  _: 3
1219
1220
  });
1220
1221
  }
1221
- const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b"]]), hn = {
1222
+ const dt = /* @__PURE__ */ $(fn, [["render", hn], ["__scopeId", "data-v-7c3d697b"]]), bn = {
1222
1223
  type: "input",
1223
1224
  name: "文本框",
1224
1225
  default: {
@@ -1286,7 +1287,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1286
1287
  }
1287
1288
  }
1288
1289
  ]
1289
- }, bn = {
1290
+ }, _n = {
1290
1291
  type: "number",
1291
1292
  name: "数字",
1292
1293
  default: {
@@ -1328,7 +1329,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1328
1329
  }
1329
1330
  }
1330
1331
  ]
1331
- }, _n = {
1332
+ }, yn = {
1332
1333
  type: "number-range",
1333
1334
  name: "数字区间",
1334
1335
  default: {
@@ -1369,7 +1370,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1369
1370
  }
1370
1371
  }
1371
1372
  ]
1372
- }, yn = {
1373
+ }, vn = {
1373
1374
  type: "select",
1374
1375
  name: "下拉框",
1375
1376
  default: {
@@ -1475,7 +1476,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1475
1476
  const t = y(e);
1476
1477
  return e.optionType === 0 ? t.props && t.props.selectApi !== void 0 && delete t.props.selectApi : e.optionType === 1 && t.options && delete t.options, delete t.optionType, t;
1477
1478
  }
1478
- }, vn = {
1479
+ }, gn = {
1479
1480
  type: "radio",
1480
1481
  name: "单选框",
1481
1482
  default: {
@@ -1521,7 +1522,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1521
1522
  label: "默认值"
1522
1523
  }
1523
1524
  ]
1524
- }, gn = {
1525
+ }, kn = {
1525
1526
  type: "switch",
1526
1527
  name: "开关",
1527
1528
  default: {
@@ -1577,7 +1578,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1577
1578
  }
1578
1579
  }
1579
1580
  ]
1580
- }, kn = {
1581
+ }, wn = {
1581
1582
  type: "code",
1582
1583
  name: "Code",
1583
1584
  default: {
@@ -1597,7 +1598,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1597
1598
  label: "字段key"
1598
1599
  }
1599
1600
  ]
1600
- }, wn = {
1601
+ }, Sn = {
1601
1602
  type: "json",
1602
1603
  name: "json",
1603
1604
  default: {
@@ -1617,7 +1618,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1617
1618
  label: "字段key"
1618
1619
  }
1619
1620
  ]
1620
- }, Sn = {
1621
+ }, xn = {
1621
1622
  type: "upload",
1622
1623
  name: "上传",
1623
1624
  default: {
@@ -1637,7 +1638,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1637
1638
  label: "字段key"
1638
1639
  }
1639
1640
  ]
1640
- }, xn = {
1641
+ }, En = {
1641
1642
  type: "template",
1642
1643
  name: "自定义组件",
1643
1644
  default: {
@@ -1657,7 +1658,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1657
1658
  label: "字段key"
1658
1659
  }
1659
1660
  ]
1660
- }, En = {
1661
+ }, $n = {
1661
1662
  type: "icon-select",
1662
1663
  name: "图标选择器",
1663
1664
  default: {
@@ -1677,7 +1678,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1677
1678
  label: "字段key"
1678
1679
  }
1679
1680
  ]
1680
- }, $n = {
1681
+ }, In = {
1681
1682
  type: "sub-form",
1682
1683
  name: "子表单",
1683
1684
  default: {
@@ -1745,7 +1746,7 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1745
1746
  }
1746
1747
  }
1747
1748
  ]
1748
- }, In = {
1749
+ }, Cn = {
1749
1750
  type: "checkbox",
1750
1751
  name: "复选框",
1751
1752
  default: {
@@ -1795,20 +1796,20 @@ const dt = /* @__PURE__ */ $(mn, [["render", fn], ["__scopeId", "data-v-7c3d697b
1795
1796
  function R(e) {
1796
1797
  mt[e.type] = e;
1797
1798
  }
1798
- R(hn);
1799
- R(yn);
1800
1799
  R(bn);
1801
- R(_n);
1802
- R(gn);
1803
- R($n);
1804
1800
  R(vn);
1805
- R(In);
1801
+ R(_n);
1802
+ R(yn);
1806
1803
  R(kn);
1804
+ R(In);
1805
+ R(gn);
1806
+ R(Cn);
1807
1807
  R(wn);
1808
1808
  R(Sn);
1809
- R(En);
1810
1809
  R(xn);
1811
- const we = mt, Cn = {
1810
+ R($n);
1811
+ R(En);
1812
+ const Se = mt, Tn = {
1812
1813
  options: {
1813
1814
  labelPosition: "top",
1814
1815
  submitButton: !1,
@@ -1907,15 +1908,15 @@ const we = mt, Cn = {
1907
1908
  }
1908
1909
  ]
1909
1910
  };
1910
- const be = {
1911
+ const ye = {
1911
1912
  labelPosition: "top",
1912
1913
  submitButton: !1,
1913
1914
  cancelButton: !1
1914
- }, Me = [];
1915
- Object.keys(we).forEach((e) => {
1916
- Me.push({ value: e, label: we[e].name });
1915
+ }, je = [];
1916
+ Object.keys(Se).forEach((e) => {
1917
+ je.push({ value: e, label: Se[e].name });
1917
1918
  });
1918
- const Tn = {
1919
+ const On = {
1919
1920
  options: {
1920
1921
  submitButton: !1,
1921
1922
  cancelButton: !1
@@ -1936,7 +1937,7 @@ const Tn = {
1936
1937
  type: "select",
1937
1938
  field: "type",
1938
1939
  label: "类型",
1939
- options: y(Me)
1940
+ options: y(je)
1940
1941
  },
1941
1942
  {
1942
1943
  type: "input",
@@ -1947,8 +1948,8 @@ const Tn = {
1947
1948
  }
1948
1949
  }
1949
1950
  ]
1950
- }, On = {
1951
- components: { DevLayout: dt, VForm: J, VButton: Ae, JsonView: Re },
1951
+ }, Bn = {
1952
+ components: { DevLayout: dt, VForm: J, VButton: Pe, JsonView: Le },
1952
1953
  props: {
1953
1954
  schema: {
1954
1955
  type: Object,
@@ -1959,8 +1960,8 @@ const Tn = {
1959
1960
  data() {
1960
1961
  return {
1961
1962
  sqlOptions: {},
1962
- sqlSchema: Tn,
1963
- baseSchema: Cn,
1963
+ sqlSchema: On,
1964
+ baseSchema: Tn,
1964
1965
  activeTab: "base",
1965
1966
  builderSchema: Object.assign(
1966
1967
  {},
@@ -1980,12 +1981,12 @@ const Tn = {
1980
1981
  ctrlSchema: {},
1981
1982
  ctrlName: "",
1982
1983
  activeIndex: void 0,
1983
- ctrlMap: we,
1984
+ ctrlMap: Se,
1984
1985
  activeIndexReg: /(formItems)?\[(\d+)\]/,
1985
1986
  tableStruct: "",
1986
1987
  activeName: "1",
1987
1988
  currentCtrlType: "input",
1988
- types: y(Me)
1989
+ types: y(je)
1989
1990
  };
1990
1991
  },
1991
1992
  computed: {
@@ -2014,8 +2015,8 @@ const Tn = {
2014
2015
  const l = t ? t.type : "", n = this.ctrlMap[l], o = n.trans ? n.trans(e) : e;
2015
2016
  if (o && Object.keys(o).length > 0) {
2016
2017
  if (o.type = l, this.activeIndex.indexOf("[") > -1) {
2017
- const [s, a, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2018
- this.builderSchema[a][c] = { ...o };
2018
+ const [a, s, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2019
+ this.builderSchema[s][c] = { ...o };
2019
2020
  } else
2020
2021
  this.builderSchema[this.activeIndex] = o;
2021
2022
  this.key++;
@@ -2026,7 +2027,7 @@ const Tn = {
2026
2027
  handler(e) {
2027
2028
  const t = this.ctrlMap[e];
2028
2029
  this.ctrlSchema = y({
2029
- options: y(be),
2030
+ options: y(ye),
2030
2031
  formItems: y(t.builder)
2031
2032
  });
2032
2033
  const l = ne(this.builderSchema, this.activeIndex);
@@ -2051,12 +2052,12 @@ const Tn = {
2051
2052
  this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [];
2052
2053
  const l = this.ctrlMap[e];
2053
2054
  this.activeCtrl = l, this.builderSchema[t].push(y(l.default)), this.ctrlSchema = y({
2054
- options: y(be),
2055
+ options: y(ye),
2055
2056
  formItems: y(l.builder)
2056
2057
  }), this.ctrlKey++, this.key++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2057
2058
  },
2058
2059
  removeOne() {
2059
- et(this.builderSchema, this.activeIndex), this.builderSchema = y(Qe(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
2060
+ et(this.builderSchema, this.activeIndex), this.builderSchema = y(Xe(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
2060
2061
  },
2061
2062
  clicklabel() {
2062
2063
  const e = this.activeIndex;
@@ -2067,7 +2068,7 @@ const Tn = {
2067
2068
  return;
2068
2069
  }
2069
2070
  this.currentCtrlType = n, this.ctrlOptions = l, this.ctrlSchema = y({
2070
- options: y(be),
2071
+ options: y(ye),
2071
2072
  formItems: y(o.builder)
2072
2073
  }), this.ctrlKey++;
2073
2074
  }
@@ -2083,19 +2084,19 @@ const Tn = {
2083
2084
  }
2084
2085
  }
2085
2086
  };
2086
- function Bn(e, t, l, n, o, s) {
2087
- const a = v("v-form"), c = nt, p = ce, d = v("JsonView"), f = v("VButton"), _ = Ce, T = Te, k = ot, H = st, U = v("dev-layout");
2088
- return i(), m(U, null, {
2087
+ function An(e, t, l, n, o, a) {
2088
+ const s = v("v-form"), c = nt, p = ue, d = v("JsonView"), m = v("VButton"), _ = Oe, T = Be, w = ot, F = at, U = v("dev-layout");
2089
+ return i(), f(U, null, {
2089
2090
  main: r(() => [
2090
- o.builderSchema.formItems ? (i(), m(a, G({
2091
+ o.builderSchema.formItems ? (i(), f(s, G({
2091
2092
  ref: "form",
2092
2093
  key: o.key,
2093
2094
  dev: !0
2094
- }, o.builderSchema), null, 16)) : S("", !0),
2095
+ }, o.builderSchema), null, 16)) : x("", !0),
2095
2096
  u(c),
2096
2097
  u(p, {
2097
2098
  type: "primary",
2098
- onClick: s.saveSchema
2099
+ onClick: a.saveSchema
2099
2100
  }, {
2100
2101
  default: r(() => [
2101
2102
  g("保存页面配置")
@@ -2103,27 +2104,27 @@ function Bn(e, t, l, n, o, s) {
2103
2104
  _: 1
2104
2105
  }, 8, ["onClick"]),
2105
2106
  g("    "),
2106
- u(f, {
2107
+ u(m, {
2107
2108
  text: "PageSchema",
2108
2109
  type: "modal"
2109
2110
  }, {
2110
2111
  default: r(() => [
2111
- u(d, { data: s.getSaveSchema }, null, 8, ["data"])
2112
+ u(d, { data: a.getSaveSchema }, null, 8, ["data"])
2112
2113
  ]),
2113
2114
  _: 1
2114
2115
  })
2115
2116
  ]),
2116
2117
  "right-aside": r(() => [
2117
- o.activeIndex ? (i(), m(H, { key: 0 }, {
2118
+ o.activeIndex ? (i(), f(F, { key: 0 }, {
2118
2119
  default: r(() => [
2119
- u(k, { label: "控件类型" }, {
2120
+ u(w, { label: "控件类型" }, {
2120
2121
  default: r(() => [
2121
2122
  u(T, {
2122
2123
  modelValue: o.currentCtrlType,
2123
2124
  "onUpdate:modelValue": t[0] || (t[0] = (C) => o.currentCtrlType = C)
2124
2125
  }, {
2125
2126
  default: r(() => [
2126
- (i(!0), h(w, null, B(o.types, (C, Z) => (i(), m(_, {
2127
+ (i(!0), h(S, null, B(o.types, (C, Z) => (i(), f(_, {
2127
2128
  key: Z,
2128
2129
  label: C.label,
2129
2130
  value: C.value
@@ -2136,8 +2137,8 @@ function Bn(e, t, l, n, o, s) {
2136
2137
  })
2137
2138
  ]),
2138
2139
  _: 1
2139
- })) : S("", !0),
2140
- (i(), m(a, G({
2140
+ })) : x("", !0),
2141
+ (i(), f(s, G({
2141
2142
  key: o.ctrlKey,
2142
2143
  modelValue: o.ctrlOptions,
2143
2144
  "onUpdate:modelValue": t[1] || (t[1] = (C) => o.ctrlOptions = C)
@@ -2146,7 +2147,7 @@ function Bn(e, t, l, n, o, s) {
2146
2147
  _: 1
2147
2148
  });
2148
2149
  }
2149
- const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171"]]), Rn = {
2150
+ const Rn = /* @__PURE__ */ $(Bn, [["render", An], ["__scopeId", "data-v-875f0171"]]), Pn = {
2150
2151
  type: "input",
2151
2152
  name: "文本框",
2152
2153
  default: {
@@ -2194,7 +2195,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2194
2195
  }
2195
2196
  }
2196
2197
  ]
2197
- }, Pn = {
2198
+ }, Ln = {
2198
2199
  type: "select",
2199
2200
  name: "下拉框",
2200
2201
  default: {
@@ -2295,7 +2296,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2295
2296
  const t = y(e);
2296
2297
  return e.optionType === 0 ? t.props && t.props.selectApi !== void 0 && delete t.props.selectApi : e.optionType === 1 && t.options && delete t.options, delete t.optionType, t;
2297
2298
  }
2298
- }, Ln = {
2299
+ }, Mn = {
2299
2300
  type: "date",
2300
2301
  name: "日期",
2301
2302
  default: {
@@ -2315,7 +2316,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2315
2316
  label: "字段key"
2316
2317
  }
2317
2318
  ]
2318
- }, He = {
2319
+ }, Fe = {
2319
2320
  options: {
2320
2321
  labelPosition: "top",
2321
2322
  submitButton: !1,
@@ -2340,11 +2341,11 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2340
2341
  label: "导出按钮"
2341
2342
  }
2342
2343
  ]
2343
- }, _e = {
2344
+ }, ve = {
2344
2345
  labelPosition: "top",
2345
2346
  submitButton: !1,
2346
2347
  cancelButton: !1
2347
- }, Mn = {
2348
+ }, Dn = {
2348
2349
  type: "span",
2349
2350
  name: "文本",
2350
2351
  default: {
@@ -2374,7 +2375,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2374
2375
  label: "排序"
2375
2376
  }
2376
2377
  ]
2377
- }, Dn = {
2378
+ }, jn = {
2378
2379
  type: "enum",
2379
2380
  name: "标签",
2380
2381
  default: {
@@ -2425,7 +2426,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2425
2426
  trans(e) {
2426
2427
  return e.options = e.options || [], e.label || (e.label = "表头"), e;
2427
2428
  }
2428
- }, jn = {
2429
+ }, Nn = {
2429
2430
  type: "html",
2430
2431
  name: "HTML",
2431
2432
  default: {
@@ -2450,7 +2451,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2450
2451
  label: "提示"
2451
2452
  }
2452
2453
  ]
2453
- }, Nn = {
2454
+ }, Vn = {
2454
2455
  type: "icon",
2455
2456
  name: "图标",
2456
2457
  default: {
@@ -2475,7 +2476,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2475
2476
  label: "提示"
2476
2477
  }
2477
2478
  ]
2478
- }, Vn = {
2479
+ }, qn = {
2479
2480
  type: "image",
2480
2481
  name: "图片",
2481
2482
  default: {
@@ -2500,7 +2501,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2500
2501
  label: "提示"
2501
2502
  }
2502
2503
  ]
2503
- }, qn = {
2504
+ }, Un = {
2504
2505
  type: "json",
2505
2506
  name: "JSON",
2506
2507
  default: {
@@ -2525,7 +2526,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2525
2526
  label: "提示"
2526
2527
  }
2527
2528
  ]
2528
- }, Un = {
2529
+ }, Hn = {
2529
2530
  type: "link",
2530
2531
  name: "链接",
2531
2532
  default: {
@@ -2550,7 +2551,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2550
2551
  label: "提示"
2551
2552
  }
2552
2553
  ]
2553
- }, Hn = {
2554
+ }, Fn = {
2554
2555
  type: "rich",
2555
2556
  name: "富文本",
2556
2557
  default: {
@@ -2575,7 +2576,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2575
2576
  label: "提示"
2576
2577
  }
2577
2578
  ]
2578
- }, Fn = {
2579
+ }, Gn = {
2579
2580
  type: "tpl",
2580
2581
  name: "模板",
2581
2582
  default: {
@@ -2606,17 +2607,17 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2606
2607
  info: "例如 <code>姓名: {name} 年龄:{age}</code>"
2607
2608
  }
2608
2609
  ]
2609
- }, Gn = {
2610
- span: Mn,
2611
- enum: Dn,
2612
- html: jn,
2613
- icon: Nn,
2614
- image: Vn,
2615
- json: qn,
2616
- link: Un,
2617
- rich: Hn,
2618
- tpl: Fn
2619
2610
  }, Jn = {
2611
+ span: Dn,
2612
+ enum: jn,
2613
+ html: Nn,
2614
+ icon: Vn,
2615
+ image: qn,
2616
+ json: Un,
2617
+ link: Hn,
2618
+ rich: Fn,
2619
+ tpl: Gn
2620
+ }, zn = {
2620
2621
  type: "jump",
2621
2622
  name: "跳转",
2622
2623
  default: {
@@ -2663,7 +2664,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2663
2664
  }
2664
2665
  }
2665
2666
  ]
2666
- }, zn = {
2667
+ }, Kn = {
2667
2668
  type: "api",
2668
2669
  name: "接口请求",
2669
2670
  default: {
@@ -2732,7 +2733,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2732
2733
  }
2733
2734
  }
2734
2735
  ]
2735
- }, Kn = {
2736
+ }, Wn = {
2736
2737
  type: "form",
2737
2738
  name: "弹框表单",
2738
2739
  default: {
@@ -2786,7 +2787,7 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2786
2787
  label: "保存接口"
2787
2788
  }
2788
2789
  ]
2789
- }, Wn = {
2790
+ }, Zn = {
2790
2791
  type: "table",
2791
2792
  name: "弹框列表",
2792
2793
  default: {
@@ -2840,14 +2841,14 @@ const An = /* @__PURE__ */ $(On, [["render", Bn], ["__scopeId", "data-v-875f0171
2840
2841
  label: "保存接口"
2841
2842
  }
2842
2843
  ]
2843
- }, Zn = {
2844
- jump: Jn,
2845
- api: zn,
2846
- form: Kn,
2847
- table: Wn
2844
+ }, Qn = {
2845
+ jump: zn,
2846
+ api: Kn,
2847
+ form: Wn,
2848
+ table: Zn
2848
2849
  };
2849
- const Qn = {
2850
- components: { JsonView: Re, DevLayout: dt, VTable: oe, VForm: J, VButton: Ae },
2850
+ const Xn = {
2851
+ components: { JsonView: Le, DevLayout: dt, VTable: oe, VForm: J, VButton: Pe },
2851
2852
  props: {
2852
2853
  schema: {
2853
2854
  type: Object,
@@ -2858,11 +2859,11 @@ const Qn = {
2858
2859
  data() {
2859
2860
  const e = Ot(this.$props.schema);
2860
2861
  return delete e.listApi, e.list = [{}], {
2861
- baseSchema: He,
2862
+ baseSchema: Fe,
2862
2863
  activeTab: "base",
2863
2864
  builderSchema: Object.assign(
2864
2865
  {},
2865
- He,
2866
+ Fe,
2866
2867
  e
2867
2868
  ),
2868
2869
  baseOptions: {},
@@ -2875,9 +2876,9 @@ const Qn = {
2875
2876
  ctrlName: "",
2876
2877
  activeIndex: void 0,
2877
2878
  ctrlMap: {
2878
- filter: { input: Rn, select: Pn, date: Ln },
2879
- headers: Gn,
2880
- buttons: Zn
2879
+ filter: { input: Pn, select: Ln, date: Mn },
2880
+ headers: Jn,
2881
+ buttons: Qn
2881
2882
  },
2882
2883
  activeIndexReg: /(filter|headers|normalButton|batchButton|rowButton)?\[(\d+)\]/,
2883
2884
  currentCtrlType: "input"
@@ -2926,8 +2927,8 @@ const Qn = {
2926
2927
  const o = n.trans ? n.trans(e) : e;
2927
2928
  if (o && Object.keys(o).length > 0) {
2928
2929
  if (o.type = l, this.activeIndex.indexOf("[") > -1) {
2929
- const [s, a, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2930
- this.builderSchema[a][c] = { ...o };
2930
+ const [a, s, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2931
+ this.builderSchema[s][c] = { ...o };
2931
2932
  } else
2932
2933
  this.builderSchema[this.activeIndex] = o;
2933
2934
  this.key++;
@@ -2939,7 +2940,7 @@ const Qn = {
2939
2940
  handler(e) {
2940
2941
  const t = this.ctrlMap[this.activeBrick][e];
2941
2942
  this.ctrlSchema = y({
2942
- options: y(_e),
2943
+ options: y(ve),
2943
2944
  formItems: y(t.builder)
2944
2945
  });
2945
2946
  const l = ne(this.builderSchema, this.activeIndex);
@@ -2986,12 +2987,12 @@ const Qn = {
2986
2987
  return;
2987
2988
  }
2988
2989
  this.activeCtrl = o[e], this.activeBrick = n, this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [], this.builderSchema[t].push(y(o[e].default)), this.ctrlSchema = y({
2989
- options: y(_e),
2990
+ options: y(ve),
2990
2991
  formItems: y(o[e].builder)
2991
2992
  }), this.key++, this.ctrlKey++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2992
2993
  },
2993
2994
  removeOne() {
2994
- et(this.builderSchema, this.activeIndex), this.builderSchema = y(Qe(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
2995
+ et(this.builderSchema, this.activeIndex), this.builderSchema = y(Xe(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
2995
2996
  },
2996
2997
  clicklabel() {
2997
2998
  const e = this.activeIndex, t = e.match(this.activeIndexReg);
@@ -3006,7 +3007,7 @@ const Qn = {
3006
3007
  return;
3007
3008
  }
3008
3009
  this.ctrlOptions = l, this.currentCtrlType = n, this.ctrlSchema = y({
3009
- options: y(_e),
3010
+ options: y(ve),
3010
3011
  formItems: y(o.builder)
3011
3012
  }), this.ctrlKey++;
3012
3013
  }
@@ -3023,21 +3024,21 @@ const Qn = {
3023
3024
  normalButton: n,
3024
3025
  batchButton: o
3025
3026
  }
3026
- }).then(({ data: s }) => {
3027
- s && this.$message({ type: "success", message: "保存成功, 请刷新页面查看效果" });
3027
+ }).then(({ data: a }) => {
3028
+ a && this.$message({ type: "success", message: "保存成功, 请刷新页面查看效果" });
3028
3029
  });
3029
3030
  }
3030
3031
  }
3031
3032
  };
3032
- function Xn(e, t, l, n, o, s) {
3033
- const a = pe, c = ce, p = se, d = v("v-table"), f = nt, _ = ce, T = v("JsonView"), k = v("VButton"), H = Ce, U = Te, C = ot, Z = st, xt = v("v-form"), Et = v("dev-layout");
3034
- return i(), m(Et, null, {
3033
+ function Yn(e, t, l, n, o, a) {
3034
+ const s = de, c = ue, p = ae, d = v("v-table"), m = nt, _ = ue, T = v("JsonView"), w = v("VButton"), F = Oe, U = Be, C = ot, Z = at, xt = v("v-form"), Et = v("dev-layout");
3035
+ return i(), f(Et, null, {
3035
3036
  "left-aside": r(() => [
3036
3037
  u(p, { style: { width: "200px" } }, {
3037
3038
  default: r(() => [
3038
3039
  u(p, null, {
3039
3040
  default: r(() => [
3040
- u(a, {
3041
+ u(s, {
3041
3042
  class: "title",
3042
3043
  "data-id": 22222
3043
3044
  }, {
@@ -3046,11 +3047,11 @@ function Xn(e, t, l, n, o, s) {
3046
3047
  ]),
3047
3048
  _: 1
3048
3049
  }),
3049
- u(a, { class: "ctrl" }, {
3050
+ u(s, { class: "ctrl" }, {
3050
3051
  default: r(() => [
3051
3052
  u(c, {
3052
3053
  class: "ctrl-btn",
3053
- onClick: t[0] || (t[0] = (I) => s.pushFilter("input"))
3054
+ onClick: t[0] || (t[0] = (I) => a.pushFilter("input"))
3054
3055
  }, {
3055
3056
  default: r(() => [
3056
3057
  g("文本框")
@@ -3060,11 +3061,11 @@ function Xn(e, t, l, n, o, s) {
3060
3061
  ]),
3061
3062
  _: 1
3062
3063
  }),
3063
- u(a, { class: "ctrl" }, {
3064
+ u(s, { class: "ctrl" }, {
3064
3065
  default: r(() => [
3065
3066
  u(c, {
3066
3067
  class: "ctrl-btn",
3067
- onClick: t[1] || (t[1] = (I) => s.pushFilter("select"))
3068
+ onClick: t[1] || (t[1] = (I) => a.pushFilter("select"))
3068
3069
  }, {
3069
3070
  default: r(() => [
3070
3071
  g("下拉框")
@@ -3074,11 +3075,11 @@ function Xn(e, t, l, n, o, s) {
3074
3075
  ]),
3075
3076
  _: 1
3076
3077
  }),
3077
- u(a, { class: "ctrl" }, {
3078
+ u(s, { class: "ctrl" }, {
3078
3079
  default: r(() => [
3079
3080
  u(c, {
3080
3081
  class: "ctrl-btn",
3081
- onClick: t[2] || (t[2] = (I) => s.pushFilter("date"))
3082
+ onClick: t[2] || (t[2] = (I) => a.pushFilter("date"))
3082
3083
  }, {
3083
3084
  default: r(() => [
3084
3085
  g("日期")
@@ -3093,20 +3094,20 @@ function Xn(e, t, l, n, o, s) {
3093
3094
  }),
3094
3095
  u(p, null, {
3095
3096
  default: r(() => [
3096
- u(a, { class: "title" }, {
3097
+ u(s, { class: "title" }, {
3097
3098
  default: r(() => [
3098
3099
  g("添加列表项")
3099
3100
  ]),
3100
3101
  _: 1
3101
3102
  }),
3102
- (i(!0), h(w, null, B(Object.keys(o.ctrlMap.headers), (I, N) => (i(), m(a, {
3103
- key: `column-${N}`,
3103
+ (i(!0), h(S, null, B(Object.keys(o.ctrlMap.headers), (I, V) => (i(), f(s, {
3104
+ key: `column-${V}`,
3104
3105
  class: "ctrl"
3105
3106
  }, {
3106
3107
  default: r(() => [
3107
3108
  u(c, {
3108
3109
  class: "ctrl-btn",
3109
- onClick: (me) => s.pushHeaders(o.ctrlMap.headers[I].type)
3110
+ onClick: (fe) => a.pushHeaders(o.ctrlMap.headers[I].type)
3110
3111
  }, {
3111
3112
  default: r(() => [
3112
3113
  g(O(o.ctrlMap.headers[I].name), 1)
@@ -3121,20 +3122,20 @@ function Xn(e, t, l, n, o, s) {
3121
3122
  }),
3122
3123
  u(p, null, {
3123
3124
  default: r(() => [
3124
- u(a, { class: "title" }, {
3125
+ u(s, { class: "title" }, {
3125
3126
  default: r(() => [
3126
3127
  g("添加行按钮")
3127
3128
  ]),
3128
3129
  _: 1
3129
3130
  }),
3130
- (i(!0), h(w, null, B(Object.keys(o.ctrlMap.buttons), (I, N) => (i(), m(a, {
3131
- key: `column-${N}`,
3131
+ (i(!0), h(S, null, B(Object.keys(o.ctrlMap.buttons), (I, V) => (i(), f(s, {
3132
+ key: `column-${V}`,
3132
3133
  class: "ctrl"
3133
3134
  }, {
3134
3135
  default: r(() => [
3135
3136
  u(c, {
3136
3137
  class: "ctrl-btn",
3137
- onClick: (me) => s.pushRowButton(o.ctrlMap.buttons[I].type)
3138
+ onClick: (fe) => a.pushRowButton(o.ctrlMap.buttons[I].type)
3138
3139
  }, {
3139
3140
  default: r(() => [
3140
3141
  g(O(o.ctrlMap.buttons[I].name), 1)
@@ -3149,20 +3150,20 @@ function Xn(e, t, l, n, o, s) {
3149
3150
  }),
3150
3151
  u(p, null, {
3151
3152
  default: r(() => [
3152
- u(a, { class: "title" }, {
3153
+ u(s, { class: "title" }, {
3153
3154
  default: r(() => [
3154
3155
  g("添加常规按钮")
3155
3156
  ]),
3156
3157
  _: 1
3157
3158
  }),
3158
- (i(!0), h(w, null, B(Object.keys(o.ctrlMap.buttons), (I, N) => (i(), m(a, {
3159
- key: `column-${N}`,
3159
+ (i(!0), h(S, null, B(Object.keys(o.ctrlMap.buttons), (I, V) => (i(), f(s, {
3160
+ key: `column-${V}`,
3160
3161
  class: "ctrl"
3161
3162
  }, {
3162
3163
  default: r(() => [
3163
3164
  u(c, {
3164
3165
  class: "ctrl-btn",
3165
- onClick: (me) => s.pushNormalButton(o.ctrlMap.buttons[I].type)
3166
+ onClick: (fe) => a.pushNormalButton(o.ctrlMap.buttons[I].type)
3166
3167
  }, {
3167
3168
  default: r(() => [
3168
3169
  g(O(o.ctrlMap.buttons[I].name), 1)
@@ -3172,7 +3173,7 @@ function Xn(e, t, l, n, o, s) {
3172
3173
  ]),
3173
3174
  _: 2
3174
3175
  }, 1024))), 128)),
3175
- u(a, { class: "ctrl" }, {
3176
+ u(s, { class: "ctrl" }, {
3176
3177
  default: r(() => [
3177
3178
  u(c, { class: "ctrl-btn" }, {
3178
3179
  default: r(() => [
@@ -3188,20 +3189,20 @@ function Xn(e, t, l, n, o, s) {
3188
3189
  }),
3189
3190
  u(p, null, {
3190
3191
  default: r(() => [
3191
- u(a, { class: "title" }, {
3192
+ u(s, { class: "title" }, {
3192
3193
  default: r(() => [
3193
3194
  g("添加批量按钮")
3194
3195
  ]),
3195
3196
  _: 1
3196
3197
  }),
3197
- (i(!0), h(w, null, B(Object.keys(o.ctrlMap.buttons), (I, N) => (i(), m(a, {
3198
- key: `column-${N}`,
3198
+ (i(!0), h(S, null, B(Object.keys(o.ctrlMap.buttons), (I, V) => (i(), f(s, {
3199
+ key: `column-${V}`,
3199
3200
  class: "ctrl"
3200
3201
  }, {
3201
3202
  default: r(() => [
3202
3203
  u(c, {
3203
3204
  class: "ctrl-btn",
3204
- onClick: (me) => s.pushBatchButton(o.ctrlMap.buttons[I].type)
3205
+ onClick: (fe) => a.pushBatchButton(o.ctrlMap.buttons[I].type)
3205
3206
  }, {
3206
3207
  default: r(() => [
3207
3208
  g(O(o.ctrlMap.buttons[I].name), 1)
@@ -3211,7 +3212,7 @@ function Xn(e, t, l, n, o, s) {
3211
3212
  ]),
3212
3213
  _: 2
3213
3214
  }, 1024))), 128)),
3214
- u(a, { class: "ctrl" }, {
3215
+ u(s, { class: "ctrl" }, {
3215
3216
  default: r(() => [
3216
3217
  u(c, { class: "ctrl-btn" }, {
3217
3218
  default: r(() => [
@@ -3230,15 +3231,15 @@ function Xn(e, t, l, n, o, s) {
3230
3231
  })
3231
3232
  ]),
3232
3233
  main: r(() => [
3233
- (i(), m(d, G({
3234
+ (i(), f(d, G({
3234
3235
  ref: "table",
3235
3236
  key: o.key,
3236
3237
  dev: !0
3237
3238
  }, o.builderSchema), null, 16)),
3238
- u(f),
3239
+ u(m),
3239
3240
  u(_, {
3240
3241
  type: "primary",
3241
- onClick: s.saveSchema
3242
+ onClick: a.saveSchema
3242
3243
  }, {
3243
3244
  default: r(() => [
3244
3245
  g("保存页面配置")
@@ -3246,18 +3247,18 @@ function Xn(e, t, l, n, o, s) {
3246
3247
  _: 1
3247
3248
  }, 8, ["onClick"]),
3248
3249
  g("    "),
3249
- u(k, {
3250
+ u(w, {
3250
3251
  text: "PageSchema",
3251
3252
  type: "modal"
3252
3253
  }, {
3253
3254
  default: r(() => [
3254
- u(T, { data: s.getSaveSchema }, null, 8, ["data"])
3255
+ u(T, { data: a.getSaveSchema }, null, 8, ["data"])
3255
3256
  ]),
3256
3257
  _: 1
3257
3258
  })
3258
3259
  ]),
3259
3260
  "right-aside": r(() => [
3260
- o.activeIndex ? (i(), m(Z, { key: 0 }, {
3261
+ o.activeIndex ? (i(), f(Z, { key: 0 }, {
3261
3262
  default: r(() => [
3262
3263
  u(C, { label: "控件类型" }, {
3263
3264
  default: r(() => [
@@ -3266,8 +3267,8 @@ function Xn(e, t, l, n, o, s) {
3266
3267
  "onUpdate:modelValue": t[3] || (t[3] = (I) => o.currentCtrlType = I)
3267
3268
  }, {
3268
3269
  default: r(() => [
3269
- (i(!0), h(w, null, B(s.types, (I, N) => (i(), m(H, {
3270
- key: N,
3270
+ (i(!0), h(S, null, B(a.types, (I, V) => (i(), f(F, {
3271
+ key: V,
3271
3272
  label: I.label,
3272
3273
  value: I.value
3273
3274
  }, null, 8, ["label", "value"]))), 128))
@@ -3279,8 +3280,8 @@ function Xn(e, t, l, n, o, s) {
3279
3280
  })
3280
3281
  ]),
3281
3282
  _: 1
3282
- })) : S("", !0),
3283
- (i(), m(xt, G({
3283
+ })) : x("", !0),
3284
+ (i(), f(xt, G({
3284
3285
  key: o.ctrlKey,
3285
3286
  modelValue: o.ctrlOptions,
3286
3287
  "onUpdate:modelValue": t[4] || (t[4] = (I) => o.ctrlOptions = I)
@@ -3289,24 +3290,24 @@ function Xn(e, t, l, n, o, s) {
3289
3290
  _: 1
3290
3291
  });
3291
3292
  }
3292
- const Yn = /* @__PURE__ */ $(Qn, [["render", Xn], ["__scopeId", "data-v-e5209cb7"]]), eo = {
3293
+ const eo = /* @__PURE__ */ $(Xn, [["render", Yn], ["__scopeId", "data-v-e5209cb7"]]), to = {
3293
3294
  name: "PageEditor",
3294
- components: { FormBuilder: An, TableBuilder: Yn },
3295
+ components: { FormBuilder: Rn, TableBuilder: eo },
3295
3296
  setup() {
3296
- const e = L(!1), t = L(1), l = "rtl", n = ue(), o = V(() => E.state.app.pages[n.path]);
3297
+ const e = L(!1), t = L(1), l = "rtl", n = pe(), o = j(() => E.state.app.pages[n.path]);
3297
3298
  return { show: e, key: t, direction: l, pageSchema: o };
3298
3299
  }
3299
3300
  };
3300
- function to(e, t, l, n, o, s) {
3301
- const a = v("VIcon"), c = v("form-builder"), p = v("table-builder"), d = at;
3302
- return i(), h(w, null, [
3303
- u(a, {
3301
+ function lo(e, t, l, n, o, a) {
3302
+ const s = v("VIcon"), c = v("form-builder"), p = v("table-builder"), d = st;
3303
+ return i(), h(S, null, [
3304
+ u(s, {
3304
3305
  name: "ra-set",
3305
- onClick: t[0] || (t[0] = (f) => n.show = !n.show)
3306
+ onClick: t[0] || (t[0] = (m) => n.show = !n.show)
3306
3307
  }),
3307
3308
  u(d, {
3308
3309
  modelValue: n.show,
3309
- "onUpdate:modelValue": t[1] || (t[1] = (f) => n.show = f),
3310
+ "onUpdate:modelValue": t[1] || (t[1] = (m) => n.show = m),
3310
3311
  title: "页面设计",
3311
3312
  class: "my-drawer",
3312
3313
  direction: n.direction,
@@ -3315,26 +3316,26 @@ function to(e, t, l, n, o, s) {
3315
3316
  "append-to-body": ""
3316
3317
  }, {
3317
3318
  default: r(() => [
3318
- n.pageSchema.formItems !== void 0 ? (i(), m(c, {
3319
+ n.pageSchema.formItems !== void 0 ? (i(), f(c, {
3319
3320
  key: 0,
3320
3321
  schema: n.pageSchema
3321
- }, null, 8, ["schema"])) : S("", !0),
3322
- n.pageSchema.headers !== void 0 ? (i(), m(p, {
3322
+ }, null, 8, ["schema"])) : x("", !0),
3323
+ n.pageSchema.headers !== void 0 ? (i(), f(p, {
3323
3324
  key: 1,
3324
3325
  schema: n.pageSchema
3325
- }, null, 8, ["schema"])) : S("", !0)
3326
+ }, null, 8, ["schema"])) : x("", !0)
3326
3327
  ]),
3327
3328
  _: 1
3328
3329
  }, 8, ["modelValue", "direction"])
3329
3330
  ], 64);
3330
3331
  }
3331
- const lo = /* @__PURE__ */ $(eo, [["render", to]]);
3332
- const no = {
3332
+ const no = /* @__PURE__ */ $(to, [["render", lo]]);
3333
+ const oo = {
3333
3334
  components: {
3334
- Breadcrumb: cn,
3335
- Hamburger: dn,
3336
- VButton: Ae,
3337
- PageEditor: lo
3335
+ Breadcrumb: un,
3336
+ Hamburger: mn,
3337
+ VButton: Pe,
3338
+ PageEditor: no
3338
3339
  },
3339
3340
  data() {
3340
3341
  return {
@@ -3347,7 +3348,7 @@ const no = {
3347
3348
  };
3348
3349
  },
3349
3350
  computed: {
3350
- ...Ie(["sidebar", "avatar", "name", "nickname", "nav"]),
3351
+ ...Te(["sidebar", "avatar", "name", "nickname", "nav"]),
3351
3352
  hasNewMessage() {
3352
3353
  return this.$store.state.settings.hasNewMessage;
3353
3354
  },
@@ -3365,7 +3366,7 @@ const no = {
3365
3366
  }
3366
3367
  },
3367
3368
  mounted() {
3368
- Xe("el-submenu is-active");
3369
+ $e("el-submenu is-active");
3369
3370
  const e = this.getSetting("navBarNotice");
3370
3371
  e.length > 0 && !this.getSetting("closeNavNotice") && this.showNotice(e) && this.$notify({
3371
3372
  title: "提示",
@@ -3398,38 +3399,38 @@ const no = {
3398
3399
  },
3399
3400
  showNotice(e) {
3400
3401
  const t = "dismiss:navbar_notice";
3401
- return fe.exist(t) ? fe.get(t) !== e : !0;
3402
+ return be.exist(t) ? be.get(t) !== e : !0;
3402
3403
  },
3403
3404
  closeNotice(e) {
3404
3405
  const t = "dismiss:navbar_notice";
3405
- fe.set(t, e);
3406
+ be.set(t, e);
3406
3407
  },
3407
3408
  gotoMenuEdit() {
3408
3409
  var e, t, l, n;
3409
3410
  (t = (e = this.$route) == null ? void 0 : e.meta) != null && t.pageId && window.open(location.origin + location.pathname + "#/menu/" + ((n = (l = this.$route) == null ? void 0 : l.meta) == null ? void 0 : n.pageId));
3410
3411
  }
3411
3412
  }
3412
- }, oo = { class: "right-content" }, so = { class: "right-item" }, ao = {
3413
+ }, ao = { class: "right-content" }, so = { class: "right-item" }, io = {
3413
3414
  key: 0,
3414
3415
  class: "right-item"
3415
- }, io = {
3416
+ }, ro = {
3416
3417
  class: "right-item-button",
3417
3418
  style: { padding: "0" }
3418
- }, ro = { class: "user-info" }, co = ["src"], uo = { class: "user-name" };
3419
- function po(e, t, l, n, o, s) {
3420
- const a = v("hamburger"), c = v("breadcrumb"), p = pe, d = v("VIcon"), f = v("PageEditor"), _ = v("v-button"), T = ml, k = fl, H = hl, U = at, C = se;
3421
- return i(), m(C, {
3419
+ }, co = { class: "user-info" }, uo = ["src"], po = { class: "user-name" };
3420
+ function mo(e, t, l, n, o, a) {
3421
+ const s = v("hamburger"), c = v("breadcrumb"), p = de, d = v("VIcon"), m = v("PageEditor"), _ = v("v-button"), T = ml, w = fl, F = hl, U = st, C = ae;
3422
+ return i(), f(C, {
3422
3423
  ref: "header",
3423
3424
  class: "navbar",
3424
- style: Bt({ background: s.setting.envColor[s.user.env] })
3425
+ style: Bt({ background: a.setting.envColor[a.user.env] })
3425
3426
  }, {
3426
3427
  default: r(() => [
3427
3428
  u(p, { span: 16 }, {
3428
3429
  default: r(() => [
3429
- u(a, {
3430
+ u(s, {
3430
3431
  "is-active": e.sidebar.opened,
3431
3432
  class: "hamburger-container",
3432
- onToggleClick: s.toggleSideBar
3433
+ onToggleClick: a.toggleSideBar
3433
3434
  }, null, 8, ["is-active", "onToggleClick"]),
3434
3435
  u(c, { class: "breadcrumb-container" })
3435
3436
  ]),
@@ -3437,25 +3438,25 @@ function po(e, t, l, n, o, s) {
3437
3438
  }),
3438
3439
  u(p, { span: 8 }, {
3439
3440
  default: r(() => [
3440
- b("div", oo, [
3441
+ b("div", ao, [
3441
3442
  b("div", so, [
3442
3443
  u(d, {
3443
3444
  name: "ra-code",
3444
- onClick: s.gotoMenuEdit
3445
+ onClick: a.gotoMenuEdit
3445
3446
  }, null, 8, ["onClick"])
3446
3447
  ]),
3447
- s.showPageJsonSchemaIcon ? (i(), h("div", ao, [
3448
- u(f)
3449
- ])) : S("", !0),
3450
- b("div", io, [
3448
+ a.showPageJsonSchemaIcon ? (i(), h("div", io, [
3449
+ u(m)
3450
+ ])) : x("", !0),
3451
+ b("div", ro, [
3451
3452
  u(_, { buttons: e.nav }, null, 8, ["buttons"])
3452
3453
  ]),
3453
- u(H, {
3454
+ u(F, {
3454
3455
  class: "right-item",
3455
3456
  trigger: "click"
3456
3457
  }, {
3457
3458
  dropdown: r(() => [
3458
- u(k, { class: "user-dropdown" }, {
3459
+ u(w, { class: "user-dropdown" }, {
3459
3460
  default: r(() => [
3460
3461
  u(T, {
3461
3462
  icon: "oms-icon-index",
@@ -3469,7 +3470,7 @@ function po(e, t, l, n, o, s) {
3469
3470
  u(T, {
3470
3471
  divided: "",
3471
3472
  icon: "el-icon-switch-button",
3472
- onClick: s.logout
3473
+ onClick: a.logout
3473
3474
  }, {
3474
3475
  default: r(() => [
3475
3476
  g("退出登录")
@@ -3481,14 +3482,14 @@ function po(e, t, l, n, o, s) {
3481
3482
  })
3482
3483
  ]),
3483
3484
  default: r(() => [
3484
- b("div", ro, [
3485
+ b("div", co, [
3485
3486
  b("img", {
3486
3487
  src: e.avatar ? e.avatar : o.defaultAvatar,
3487
3488
  class: "user-avatar",
3488
3489
  alt: "头像"
3489
- }, null, 8, co),
3490
+ }, null, 8, uo),
3490
3491
  g(),
3491
- b("span", uo, O(e.nickname || e.name), 1)
3492
+ b("span", po, O(e.nickname || e.name), 1)
3492
3493
  ])
3493
3494
  ]),
3494
3495
  _: 1
@@ -3497,17 +3498,17 @@ function po(e, t, l, n, o, s) {
3497
3498
  ]),
3498
3499
  _: 1
3499
3500
  }),
3500
- o.showJsonSchema ? (i(), m(U, {
3501
+ o.showJsonSchema ? (i(), f(U, {
3501
3502
  key: 0,
3502
3503
  "with-header": !1,
3503
3504
  size: "50%"
3504
- })) : S("", !0)
3505
+ })) : x("", !0)
3505
3506
  ]),
3506
3507
  _: 1
3507
3508
  }, 8, ["style"]);
3508
3509
  }
3509
- const mo = /* @__PURE__ */ $(no, [["render", po], ["__scopeId", "data-v-9d0fb088"]]);
3510
- const fo = {
3510
+ const fo = /* @__PURE__ */ $(oo, [["render", mo], ["__scopeId", "data-v-9d0fb088"]]);
3511
+ const ho = {
3511
3512
  name: "SidebarLogo",
3512
3513
  props: {
3513
3514
  collapse: {
@@ -3523,43 +3524,43 @@ const fo = {
3523
3524
  return this.$store.state.settings.logo;
3524
3525
  }
3525
3526
  }
3526
- }, ho = (e) => (Ke("data-v-49084925"), e = e(), We(), e), bo = ["src"], _o = {
3527
+ }, bo = (e) => (We("data-v-49084925"), e = e(), Ze(), e), _o = ["src"], yo = {
3527
3528
  key: 1,
3528
3529
  class: "sidebar-title"
3529
- }, yo = /* @__PURE__ */ ho(() => /* @__PURE__ */ b("div", null, "系统", -1)), vo = ["src"], go = { class: "sidebar-title" };
3530
- function ko(e, t, l, n, o, s) {
3531
- const a = v("router-link");
3530
+ }, vo = /* @__PURE__ */ bo(() => /* @__PURE__ */ b("div", null, "系统", -1)), go = ["src"], ko = { class: "sidebar-title" };
3531
+ function wo(e, t, l, n, o, a) {
3532
+ const s = v("router-link");
3532
3533
  return i(), h("div", {
3533
- class: F(["sidebar-logo-container", { collapse: l.collapse }])
3534
+ class: H(["sidebar-logo-container", { collapse: l.collapse }])
3534
3535
  }, [
3535
3536
  u(At, { name: "sidebarLogoFade" }, {
3536
3537
  default: r(() => [
3537
- l.collapse ? (i(), m(a, {
3538
+ l.collapse ? (i(), f(s, {
3538
3539
  key: "collapse",
3539
3540
  class: "sidebar-logo-link",
3540
3541
  to: "/"
3541
3542
  }, {
3542
3543
  default: r(() => [
3543
- s.logo ? (i(), h("img", {
3544
+ a.logo ? (i(), h("img", {
3544
3545
  key: 0,
3545
- src: s.logo,
3546
+ src: a.logo,
3546
3547
  class: "sidebar-logo"
3547
- }, null, 8, bo)) : (i(), h("h1", _o, O(s.title), 1)),
3548
- yo
3548
+ }, null, 8, _o)) : (i(), h("h1", yo, O(a.title), 1)),
3549
+ vo
3549
3550
  ]),
3550
3551
  _: 1
3551
- })) : (i(), m(a, {
3552
+ })) : (i(), f(s, {
3552
3553
  key: "expand",
3553
3554
  class: "sidebar-logo-link",
3554
3555
  to: "/"
3555
3556
  }, {
3556
3557
  default: r(() => [
3557
- s.logo ? (i(), h("img", {
3558
+ a.logo ? (i(), h("img", {
3558
3559
  key: 0,
3559
- src: s.logo,
3560
+ src: a.logo,
3560
3561
  class: "sidebar-logo"
3561
- }, null, 8, vo)) : S("", !0),
3562
- b("h1", go, O(s.title), 1)
3562
+ }, null, 8, go)) : x("", !0),
3563
+ b("h1", ko, O(a.title), 1)
3563
3564
  ]),
3564
3565
  _: 1
3565
3566
  }))
@@ -3568,7 +3569,7 @@ function ko(e, t, l, n, o, s) {
3568
3569
  })
3569
3570
  ], 2);
3570
3571
  }
3571
- const wo = /* @__PURE__ */ $(fo, [["render", ko], ["__scopeId", "data-v-49084925"]]), So = {
3572
+ const So = /* @__PURE__ */ $(ho, [["render", wo], ["__scopeId", "data-v-49084925"]]), xo = {
3572
3573
  props: {
3573
3574
  to: {
3574
3575
  type: String,
@@ -3581,10 +3582,10 @@ const wo = /* @__PURE__ */ $(fo, [["render", ko], ["__scopeId", "data-v-49084925
3581
3582
  },
3582
3583
  methods: {
3583
3584
  compType(e) {
3584
- return Ve(e) || this.newTab ? "a" : "router-link";
3585
+ return qe(e) || this.newTab ? "a" : "router-link";
3585
3586
  },
3586
3587
  linkProps(e) {
3587
- return Ve(e) ? {
3588
+ return qe(e) ? {
3588
3589
  is: "a",
3589
3590
  href: e,
3590
3591
  target: "_blank",
@@ -3601,15 +3602,15 @@ const wo = /* @__PURE__ */ $(fo, [["render", ko], ["__scopeId", "data-v-49084925
3601
3602
  }
3602
3603
  }
3603
3604
  };
3604
- function xo(e, t, l, n, o, s) {
3605
- return i(), m(Ze(s.compType(l.to)), W(Y(s.linkProps(l.to))), {
3605
+ function Eo(e, t, l, n, o, a) {
3606
+ return i(), f(Qe(a.compType(l.to)), W(Y(a.linkProps(l.to))), {
3606
3607
  default: r(() => [
3607
3608
  le(e.$slots, "default")
3608
3609
  ]),
3609
3610
  _: 3
3610
3611
  }, 16);
3611
3612
  }
3612
- const Eo = /* @__PURE__ */ $(So, [["render", xo]]), $o = {
3613
+ const $o = /* @__PURE__ */ $(xo, [["render", Eo]]), Io = {
3613
3614
  computed: {
3614
3615
  // @ts-ignore
3615
3616
  device() {
@@ -3630,7 +3631,7 @@ const Eo = /* @__PURE__ */ $(So, [["render", xo]]), $o = {
3630
3631
  }
3631
3632
  }
3632
3633
  }
3633
- }, Io = { class: "menu-content" }, Co = /* @__PURE__ */ q({
3634
+ }, Co = { class: "menu-content" }, To = /* @__PURE__ */ q({
3634
3635
  __name: "MenuContent",
3635
3636
  props: {
3636
3637
  meta: {
@@ -3644,21 +3645,21 @@ const Eo = /* @__PURE__ */ $(So, [["render", xo]]), $o = {
3644
3645
  setup(e) {
3645
3646
  return (t, l) => {
3646
3647
  const n = v("VIcon");
3647
- return i(), h(w, null, [
3648
+ return i(), h(S, null, [
3648
3649
  u(n, {
3649
3650
  name: e.meta.icon || "ra-all"
3650
3651
  }, null, 8, ["name"]),
3651
- b("span", Io, O(e.meta.title), 1)
3652
+ b("span", Co, O(e.meta.title), 1)
3652
3653
  ], 64);
3653
3654
  };
3654
3655
  }
3655
- }), To = {
3656
+ }), Oo = {
3656
3657
  name: "SidebarItem",
3657
3658
  components: {
3658
- AppLink: Eo,
3659
- MenuContent: Co
3659
+ AppLink: $o,
3660
+ MenuContent: To
3660
3661
  },
3661
- mixins: [$o],
3662
+ mixins: [Io],
3662
3663
  props: {
3663
3664
  // route object
3664
3665
  item: {
@@ -3683,15 +3684,15 @@ const Eo = /* @__PURE__ */ $(So, [["render", xo]]), $o = {
3683
3684
  }
3684
3685
  }
3685
3686
  }
3686
- }, Oo = {
3687
+ }, Bo = {
3687
3688
  key: 0,
3688
3689
  class: "menu-wrapper"
3689
3690
  };
3690
- function Bo(e, t, l, n, o, s) {
3691
- const a = v("menu-content"), c = bl, p = v("app-link"), d = v("sidebar-item", !0), f = _l;
3692
- return l.item.hidden !== !1 ? (i(), h("div", Oo, [
3693
- l.item.meta && l.item.meta.menuType === 2 ? (i(), h(w, { key: 0 }, [
3694
- l.item.meta ? (i(), m(p, {
3691
+ function Ao(e, t, l, n, o, a) {
3692
+ const s = v("menu-content"), c = bl, p = v("app-link"), d = v("sidebar-item", !0), m = _l;
3693
+ return l.item.hidden !== !1 ? (i(), h("div", Bo, [
3694
+ l.item.meta && l.item.meta.menuType === 2 ? (i(), h(S, { key: 0 }, [
3695
+ l.item.meta ? (i(), f(p, {
3695
3696
  key: 0,
3696
3697
  to: l.to,
3697
3698
  "new-tab": l.item.meta.newTab
@@ -3699,10 +3700,10 @@ function Bo(e, t, l, n, o, s) {
3699
3700
  default: r(() => [
3700
3701
  u(c, {
3701
3702
  index: l.to,
3702
- class: F({ "submenu-title-noDropdown": !l.isNest })
3703
+ class: H({ "submenu-title-noDropdown": !l.isNest })
3703
3704
  }, {
3704
3705
  default: r(() => [
3705
- u(a, {
3706
+ u(s, {
3706
3707
  meta: l.item.meta
3707
3708
  }, null, 8, ["meta"])
3708
3709
  ]),
@@ -3710,58 +3711,58 @@ function Bo(e, t, l, n, o, s) {
3710
3711
  }, 8, ["index", "class"])
3711
3712
  ]),
3712
3713
  _: 1
3713
- }, 8, ["to", "new-tab"])) : S("", !0)
3714
- ], 64)) : l.item.meta && l.item.meta.menuType === 1 ? (i(), m(f, {
3714
+ }, 8, ["to", "new-tab"])) : x("", !0)
3715
+ ], 64)) : l.item.meta && l.item.meta.menuType === 1 ? (i(), f(m, {
3715
3716
  key: 1,
3716
3717
  ref: "subMenu",
3717
3718
  index: l.to,
3718
- class: F({ "submenu-title-noDropdown": !l.isNest }),
3719
+ class: H({ "submenu-title-noDropdown": !l.isNest }),
3719
3720
  "popper-append-to-body": ""
3720
3721
  }, {
3721
3722
  title: r(() => [
3722
- l.item.redirect && l.item.redirect !== "#" ? (i(), m(p, {
3723
+ l.item.redirect && l.item.redirect !== "#" ? (i(), f(p, {
3723
3724
  key: 0,
3724
3725
  to: l.to
3725
3726
  }, {
3726
3727
  default: r(() => [
3727
- u(a, {
3728
+ u(s, {
3728
3729
  meta: l.item.meta
3729
3730
  }, null, 8, ["meta"])
3730
3731
  ]),
3731
3732
  _: 1
3732
- }, 8, ["to"])) : (i(), m(a, {
3733
+ }, 8, ["to"])) : (i(), f(s, {
3733
3734
  key: 1,
3734
3735
  meta: l.item.meta
3735
3736
  }, null, 8, ["meta"]))
3736
3737
  ]),
3737
3738
  default: r(() => [
3738
- (i(!0), h(w, null, B(l.item.children, (_) => (i(), m(d, {
3739
+ (i(!0), h(S, null, B(l.item.children, (_) => (i(), f(d, {
3739
3740
  key: _.path,
3740
3741
  "is-nest": !0,
3741
3742
  item: _,
3742
- to: s.getTo(_),
3743
+ to: a.getTo(_),
3743
3744
  class: "nest-menu"
3744
3745
  }, null, 8, ["item", "to"]))), 128))
3745
3746
  ]),
3746
3747
  _: 1
3747
- }, 8, ["index", "class"])) : S("", !0)
3748
- ])) : S("", !0);
3748
+ }, 8, ["index", "class"])) : x("", !0)
3749
+ ])) : x("", !0);
3749
3750
  }
3750
- const Ao = /* @__PURE__ */ $(To, [["render", Bo]]);
3751
+ const Ro = /* @__PURE__ */ $(Oo, [["render", Ao]]);
3751
3752
  function ft(e) {
3752
3753
  return e.filter((t) => {
3753
3754
  var l;
3754
3755
  return ((l = t.meta) == null ? void 0 : l.menuType) === 0 ? !1 : (t.children && (t.children = ft(t.children), t.children.length === 0 && delete t.children), !0);
3755
3756
  });
3756
3757
  }
3757
- const Ro = {
3758
+ const Po = {
3758
3759
  data() {
3759
3760
  return {
3760
3761
  selected: ""
3761
3762
  };
3762
3763
  },
3763
3764
  computed: {
3764
- ...Ie(["remoteRouter"]),
3765
+ ...Te(["remoteRouter"]),
3765
3766
  filterRoutes() {
3766
3767
  let e = [];
3767
3768
  return this.remoteRouter.forEach((t) => {
@@ -3771,43 +3772,45 @@ const Ro = {
3771
3772
  },
3772
3773
  methods: {
3773
3774
  onselected: function(e) {
3774
- this.$router.push(e), this.selected = "";
3775
+ this.$router.push(e), this.selected = "", setTimeout(() => {
3776
+ $e("is-active");
3777
+ }, 100);
3775
3778
  }
3776
3779
  }
3777
3780
  };
3778
- function Po(e, t, l, n, o, s) {
3779
- const a = Ce, c = yl, p = Te;
3780
- return i(), m(p, {
3781
+ function Lo(e, t, l, n, o, a) {
3782
+ const s = Oe, c = yl, p = Be;
3783
+ return i(), f(p, {
3781
3784
  modelValue: o.selected,
3782
3785
  "onUpdate:modelValue": t[0] || (t[0] = (d) => o.selected = d),
3783
3786
  filterable: "",
3784
3787
  placeholder: "搜索菜单...",
3785
3788
  class: "search-menu",
3786
- onChange: s.onselected
3789
+ onChange: a.onselected
3787
3790
  }, {
3788
3791
  default: r(() => [
3789
- (i(!0), h(w, null, B(s.filterRoutes, (d) => (i(), h(w, {
3792
+ (i(!0), h(S, null, B(a.filterRoutes, (d) => (i(), h(S, {
3790
3793
  key: d.path
3791
3794
  }, [
3792
- d.children !== void 0 ? (i(), h(w, { key: 0 }, [
3793
- d.meta.menuType !== 0 ? (i(), m(c, {
3795
+ d.children !== void 0 ? (i(), h(S, { key: 0 }, [
3796
+ d.meta.menuType !== 0 ? (i(), f(c, {
3794
3797
  key: d.path + "-",
3795
3798
  label: d.meta.title
3796
3799
  }, {
3797
3800
  default: r(() => [
3798
- (i(!0), h(w, null, B(d.children, (f, _) => (i(), h(w, {
3799
- key: f.path
3801
+ (i(!0), h(S, null, B(d.children, (m, _) => (i(), h(S, {
3802
+ key: m.path
3800
3803
  }, [
3801
- d.meta.menuType !== 0 ? (i(), m(a, {
3804
+ d.meta.menuType !== 0 ? (i(), f(s, {
3802
3805
  key: 0,
3803
- label: (_ === d.children.length - 1 ? "└─" : "├─") + f.meta.title,
3804
- value: f.path
3805
- }, null, 8, ["label", "value"])) : S("", !0)
3806
+ label: (_ === d.children.length - 1 ? "└─" : "├─") + m.meta.title,
3807
+ value: m.path
3808
+ }, null, 8, ["label", "value"])) : x("", !0)
3806
3809
  ], 64))), 128))
3807
3810
  ]),
3808
3811
  _: 2
3809
- }, 1032, ["label"])) : S("", !0)
3810
- ], 64)) : (i(), m(a, {
3812
+ }, 1032, ["label"])) : x("", !0)
3813
+ ], 64)) : (i(), f(s, {
3811
3814
  key: 1,
3812
3815
  label: "" + d.meta.title,
3813
3816
  value: d.path
@@ -3817,12 +3820,12 @@ function Po(e, t, l, n, o, s) {
3817
3820
  _: 1
3818
3821
  }, 8, ["modelValue", "onChange"]);
3819
3822
  }
3820
- const Lo = /* @__PURE__ */ $(Ro, [["render", Po], ["__scopeId", "data-v-811395be"]]);
3823
+ const Mo = /* @__PURE__ */ $(Po, [["render", Lo], ["__scopeId", "data-v-33fb5a99"]]);
3821
3824
  var D = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "list", e[e.form = 2] = "form", e[e.customSchema = 3] = "customSchema", e[e.localComp = 4] = "localComp", e[e.tree = 5] = "tree", e[e.report = 6] = "report", e[e.entity = 7] = "entity", e))(D || {}), P = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(P || {});
3822
- const Mo = q({
3823
- components: { SidebarItem: Ao, Logo: wo, SearchMenu: Lo },
3825
+ const Do = q({
3826
+ components: { SidebarItem: Ro, Logo: So, SearchMenu: Mo },
3824
3827
  computed: {
3825
- ...Ie(["sidebar", "remoteRouter", "customRouter"]),
3828
+ ...Te(["sidebar", "remoteRouter", "customRouter"]),
3826
3829
  routes() {
3827
3830
  let e = [];
3828
3831
  return this.$router.options.routes.concat(this.customRouter || []).forEach((t) => {
@@ -3859,7 +3862,7 @@ const Mo = q({
3859
3862
  }
3860
3863
  },
3861
3864
  mounted() {
3862
- Xe("is-active");
3865
+ $e("is-active");
3863
3866
  },
3864
3867
  methods: {
3865
3868
  filterRoute(e) {
@@ -3867,18 +3870,18 @@ const Mo = q({
3867
3870
  }
3868
3871
  }
3869
3872
  });
3870
- function Do(e, t, l, n, o, s) {
3871
- const a = v("logo"), c = v("search-menu"), p = v("sidebar-item"), d = vl, f = gl;
3873
+ function jo(e, t, l, n, o, a) {
3874
+ const s = v("logo"), c = v("search-menu"), p = v("sidebar-item"), d = vl, m = gl;
3872
3875
  return i(), h("div", {
3873
- class: F({ "has-logo": e.showLogo })
3876
+ class: H({ "has-logo": e.showLogo })
3874
3877
  }, [
3875
- e.showLogo ? (i(), m(a, {
3878
+ e.showLogo ? (i(), f(s, {
3876
3879
  key: 0,
3877
3880
  collapse: e.isCollapse
3878
- }, null, 8, ["collapse"])) : S("", !0),
3879
- u(f, { "wrap-class": "scrollbar-wrapper" }, {
3881
+ }, null, 8, ["collapse"])) : x("", !0),
3882
+ u(m, { "wrap-class": "scrollbar-wrapper" }, {
3880
3883
  default: r(() => [
3881
- e.isCollapse ? S("", !0) : (i(), m(c, { key: 0 })),
3884
+ e.isCollapse ? x("", !0) : (i(), f(c, { key: 0 })),
3882
3885
  u(d, {
3883
3886
  "default-active": e.activeMenu,
3884
3887
  collapse: e.isCollapse,
@@ -3890,13 +3893,13 @@ function Do(e, t, l, n, o, s) {
3890
3893
  mode: "vertical"
3891
3894
  }, {
3892
3895
  default: r(() => [
3893
- (i(!0), h(w, null, B(e.routes, (_, T) => (i(), h(w, {
3896
+ (i(!0), h(S, null, B(e.routes, (_, T) => (i(), h(S, {
3894
3897
  key: T + "-module"
3895
3898
  }, [
3896
- (i(!0), h(w, null, B(e.filterRoute(_.routes), (k) => (i(), m(p, {
3897
- key: k.path,
3898
- item: k,
3899
- to: e.$router.resolve(k.redirect ? k.redirect : k).fullPath
3899
+ (i(!0), h(S, null, B(e.filterRoute(_.routes), (w) => (i(), f(p, {
3900
+ key: w.path,
3901
+ item: w,
3902
+ to: e.$router.resolve(w.redirect ? w.redirect : w).fullPath
3900
3903
  }, null, 8, ["item", "to"]))), 128))
3901
3904
  ], 64))), 128))
3902
3905
  ]),
@@ -3907,64 +3910,64 @@ function Do(e, t, l, n, o, s) {
3907
3910
  })
3908
3911
  ], 2);
3909
3912
  }
3910
- const jo = /* @__PURE__ */ $(Mo, [["render", Do], ["__scopeId", "data-v-800716bb"]]);
3911
- const No = { class: "app-main" }, Vo = {
3913
+ const No = /* @__PURE__ */ $(Do, [["render", jo], ["__scopeId", "data-v-800716bb"]]);
3914
+ const Vo = { class: "app-main" }, qo = {
3912
3915
  __name: "AppMain",
3913
3916
  setup(e) {
3914
- const t = ue(), l = [], n = L(0);
3917
+ const t = pe(), l = [], n = L(0);
3915
3918
  return nl(() => {
3916
3919
  var o;
3917
3920
  (o = t.meta) != null && o.keepAlive && l.indexOf(t.name) && l.push(t.name), n.value++;
3918
- }), (o, s) => {
3919
- const a = v("router-view"), c = kl;
3920
- return i(), h("section", No, [
3921
- (i(), m(a, {
3922
- key: o.$route.fullPath + x(n)
3921
+ }), (o, a) => {
3922
+ const s = v("router-view"), c = kl;
3923
+ return i(), h("section", Vo, [
3924
+ (i(), f(s, {
3925
+ key: o.$route.fullPath + k(n)
3923
3926
  })),
3924
3927
  u(c, { bottom: 50 })
3925
3928
  ]);
3926
3929
  };
3927
3930
  }
3928
- }, qo = /* @__PURE__ */ $(Vo, [["__scopeId", "data-v-ca0f0d98"]]);
3929
- const Uo = { class: "main-container" }, Ho = 992, Fo = {
3931
+ }, Uo = /* @__PURE__ */ $(qo, [["__scopeId", "data-v-ca0f0d98"]]);
3932
+ const Ho = { class: "main-container" }, Fo = 992, Go = {
3930
3933
  __name: "index",
3931
3934
  setup(e) {
3932
- const t = lt(), { body: l } = document, n = V(() => t.state.app.sidebar), o = V(() => t.state.app.device), s = V(() => t.state.settings.fixedHeader), a = V(() => ({
3935
+ const t = lt(), { body: l } = document, n = j(() => t.state.app.sidebar), o = j(() => t.state.app.device), a = j(() => t.state.settings.fixedHeader), s = j(() => ({
3933
3936
  hideSidebar: !n.value.opened,
3934
3937
  openSidebar: n.value.opened,
3935
3938
  withoutAnimation: n.value.withoutAnimation,
3936
3939
  mobile: o.value === "mobile"
3937
- })), c = () => l.getBoundingClientRect().width - 1 < Ho;
3940
+ })), c = () => l.getBoundingClientRect().width - 1 < Fo;
3938
3941
  Tl(window, "resize", () => d());
3939
3942
  const p = () => {
3940
3943
  t.dispatch("app/closeSideBar", { withoutAnimation: !1 });
3941
3944
  }, d = () => {
3942
3945
  if (!document.hidden) {
3943
- const f = c();
3944
- t.dispatch("app/toggleDevice", f ? "mobile" : "desktop"), f && t.dispatch("app/closeSideBar", { withoutAnimation: !0 });
3946
+ const m = c();
3947
+ t.dispatch("app/toggleDevice", m ? "mobile" : "desktop"), m && t.dispatch("app/closeSideBar", { withoutAnimation: !0 });
3945
3948
  }
3946
3949
  };
3947
- return (f, _) => (i(), h("div", {
3948
- class: F([x(a), "app-wrapper"])
3950
+ return (m, _) => (i(), h("div", {
3951
+ class: H([k(s), "app-wrapper"])
3949
3952
  }, [
3950
- x(o) === "mobile" && x(n).opened ? (i(), h("div", {
3953
+ k(o) === "mobile" && k(n).opened ? (i(), h("div", {
3951
3954
  key: 0,
3952
3955
  class: "drawer-bg",
3953
3956
  onClick: p
3954
- })) : S("", !0),
3955
- u(x(jo), { class: "sidebar-container" }),
3956
- b("div", Uo, [
3957
+ })) : x("", !0),
3958
+ u(k(No), { class: "sidebar-container" }),
3959
+ b("div", Ho, [
3957
3960
  b("div", {
3958
- class: F({ "fixed-header": x(s) })
3961
+ class: H({ "fixed-header": k(a) })
3959
3962
  }, [
3960
- u(x(mo))
3963
+ u(k(fo))
3961
3964
  ], 2),
3962
- u(x(qo))
3965
+ u(k(Uo))
3963
3966
  ])
3964
3967
  ], 2));
3965
3968
  }
3966
- }, ht = /* @__PURE__ */ $(Fo, [["__scopeId", "data-v-957442cd"]]);
3967
- class Go {
3969
+ }, ht = /* @__PURE__ */ $(Go, [["__scopeId", "data-v-957442cd"]]);
3970
+ class Jo {
3968
3971
  constructor() {
3969
3972
  M(this, "type", "qrcode");
3970
3973
  }
@@ -3976,7 +3979,7 @@ class Go {
3976
3979
  showQrCode() {
3977
3980
  }
3978
3981
  }
3979
- class Jo extends Go {
3982
+ class zo extends Jo {
3980
3983
  constructor(l) {
3981
3984
  super();
3982
3985
  M(this, "type", "qrcode");
@@ -3994,93 +3997,111 @@ class Jo extends Go {
3994
3997
  return l;
3995
3998
  }
3996
3999
  showQrCode() {
3997
- const l = (s) => {
3998
- const a = {
4000
+ const l = (a) => {
4001
+ const s = {
3999
4002
  appid: this.appid,
4000
4003
  redirect_uri: encodeURIComponent(this.redirectUri)
4001
4004
  };
4002
- return Q(this.reloadUrl, a) + "&" + zt(s || {});
4005
+ return Q(this.reloadUrl, s) + "&" + zt(a || {});
4003
4006
  }, n = () => {
4004
- const s = {
4007
+ const a = {
4005
4008
  goto: encodeURIComponent(l()),
4006
4009
  style: encodeURIComponent(this.style)
4007
4010
  };
4008
- return Q(this.qrCodeUrl, s);
4009
- }, o = (s) => {
4010
- const { origin: a, data: c } = s;
4011
- a === "https://login.dingtalk.com" && (window.location.href = l({ loginTmpCode: c }));
4011
+ return Q(this.qrCodeUrl, a);
4012
+ }, o = (a) => {
4013
+ const { origin: s, data: c } = a;
4014
+ s === "https://login.dingtalk.com" && (window.location.href = l({ loginTmpCode: c }));
4012
4015
  };
4013
4016
  this.iframe.src = n(), Jt({ elId: this.elId, attrs: this.iframe }), typeof window.addEventListener < "u" ? window.addEventListener(
4014
4017
  "message",
4015
- (s) => o(s),
4018
+ (a) => o(a),
4016
4019
  !1
4017
- ) : typeof window.attachEvent < "u" && window.attachEvent("onmessage", (s) => this.onScanSuccess(s));
4020
+ ) : typeof window.attachEvent < "u" && window.attachEvent("onmessage", (a) => this.onScanSuccess(a));
4018
4021
  }
4019
4022
  }
4020
- const zo = {
4021
- dingtalk: (e) => new Jo(e)
4023
+ const Ko = {
4024
+ dingtalk: (e) => new zo(e)
4022
4025
  };
4023
- function Ko() {
4024
- return A(E.state.settings.sso || {}, zo);
4026
+ function Wo() {
4027
+ return A(E.state.settings.sso || {}, Ko);
4025
4028
  }
4026
- function Wo(e) {
4027
- const t = Ko(), l = E.state.settings.activeSsoKey || "", n = t[l];
4029
+ function Zo(e) {
4030
+ const t = Wo(), l = E.state.settings.activeSsoKey || "", n = t[l];
4028
4031
  if (n !== void 0)
4029
4032
  return n(e);
4030
4033
  }
4031
- const Zo = { id: "login" }, Qo = /* @__PURE__ */ b("h1", { id: "title" }, "登录", -1), Xo = { id: "form" }, Yo = { class: "tips" }, es = { class: "sso" }, ts = /* @__PURE__ */ b("div", { id: "sso-qrcode" }, null, -1), ls = /* @__PURE__ */ q({
4034
+ const Qo = { id: "login" }, Xo = /* @__PURE__ */ b("h1", { id: "title" }, "登录", -1), Yo = { id: "form" }, ea = { class: "captcha" }, ta = ["src"], la = { class: "tips" }, na = { class: "sso" }, oa = /* @__PURE__ */ b("div", { id: "sso-qrcode" }, null, -1), aa = /* @__PURE__ */ q({
4032
4035
  __name: "login",
4033
4036
  setup(e) {
4034
- const t = ol(), l = ue(), n = V(() => E.state.settings.loginTips), o = L({
4037
+ const t = ol(), l = pe(), n = j(() => E.state.settings.loginTips), o = L(0), a = () => o.value++, s = j(() => c.value.username.length > 0 && c.value.password.length >= 4 && c.value.captcha.length === 4), c = L({
4035
4038
  username: "",
4036
- password: ""
4037
- }), s = () => {
4038
- if (o.value.username === "" || o.value.password === "") {
4039
- wl.error("请填写用户名和密码");
4039
+ password: "",
4040
+ captcha: "",
4041
+ sing: ""
4042
+ }), p = () => {
4043
+ if (c.value.username === "" || c.value.password === "" || c.value.captcha === "") {
4044
+ wl.error("用户名, 密码, 验证码是必须的");
4040
4045
  return;
4041
4046
  }
4042
- E.dispatch("user/login", o.value).then((a) => {
4043
- var c;
4044
- t.push({ path: ((c = l.query) == null ? void 0 : c.redirect) || "/" });
4047
+ c.value.sing = Bl(`${c.value.username}${c.value.password}${c.value.captcha}`).toString(), E.dispatch("user/login", c.value).then((d) => {
4048
+ var m;
4049
+ t.push({ path: ((m = l.query) == null ? void 0 : m.redirect) || "/" });
4045
4050
  });
4046
4051
  };
4047
- return L(), (a, c) => (i(), h("div", Zo, [
4048
- Qo,
4049
- b("form", Xo, [
4050
- ve(b("input", {
4051
- "onUpdate:modelValue": c[0] || (c[0] = (p) => x(o).username = p),
4052
+ return L(), (d, m) => (i(), h("div", Qo, [
4053
+ Xo,
4054
+ b("form", Yo, [
4055
+ ie(b("input", {
4056
+ "onUpdate:modelValue": m[0] || (m[0] = (_) => k(c).username = _),
4052
4057
  type: "text",
4053
4058
  placeholder: "用户名",
4054
4059
  class: "input"
4055
4060
  }, null, 512), [
4056
- [Ne, x(o).username]
4061
+ [he, k(c).username]
4057
4062
  ]),
4058
- ve(b("input", {
4059
- "onUpdate:modelValue": c[1] || (c[1] = (p) => x(o).password = p),
4063
+ ie(b("input", {
4064
+ "onUpdate:modelValue": m[1] || (m[1] = (_) => k(c).password = _),
4060
4065
  type: "password",
4061
4066
  placeholder: "密码",
4062
4067
  class: "input"
4063
4068
  }, null, 512), [
4064
- [Ne, x(o).password]
4069
+ [he, k(c).password]
4070
+ ]),
4071
+ b("div", ea, [
4072
+ ie(b("input", {
4073
+ "onUpdate:modelValue": m[2] || (m[2] = (_) => k(c).captcha = _),
4074
+ type: "text",
4075
+ placeholder: "验证码",
4076
+ class: "input-captcha"
4077
+ }, null, 512), [
4078
+ [he, k(c).captcha]
4079
+ ]),
4080
+ b("img", {
4081
+ class: "captcha-img",
4082
+ src: "/xapi/user/captcha?ts=" + k(o),
4083
+ title: "点击刷新",
4084
+ onClick: a
4085
+ }, null, 8, ta)
4065
4086
  ]),
4066
4087
  b("div", {
4067
- class: "input button",
4068
- onClick: s
4069
- }, "登录"),
4070
- b("div", Yo, [
4071
- b("div", null, O(x(n)), 1)
4088
+ class: H({ input: !0, button: !0, "no-ready": !s.value }),
4089
+ onClick: p
4090
+ }, "登录", 2),
4091
+ b("div", la, [
4092
+ b("div", null, O(n.value), 1)
4072
4093
  ]),
4073
- b("div", es, [
4074
- ts,
4075
- (i(!0), h(w, null, B(Object.keys([]), (p) => (i(), h("div", { key: p }, O(p), 1))), 128))
4094
+ b("div", na, [
4095
+ oa,
4096
+ (i(!0), h(S, null, B(Object.keys([]), (_) => (i(), h("div", { key: _ }, O(_), 1))), 128))
4076
4097
  ])
4077
4098
  ])
4078
4099
  ]));
4079
4100
  }
4080
4101
  });
4081
- const ns = {
4102
+ const sa = {
4082
4103
  name: "NotFoundPage"
4083
- }, bt = (e) => (Ke("data-v-26068803"), e = e(), We(), e), os = { class: "not-found" }, ss = /* @__PURE__ */ bt(() => /* @__PURE__ */ b("svg", {
4104
+ }, bt = (e) => (We("data-v-26068803"), e = e(), Ze(), e), ia = { class: "not-found" }, ra = /* @__PURE__ */ bt(() => /* @__PURE__ */ b("svg", {
4084
4105
  width: "380px",
4085
4106
  height: "500px",
4086
4107
  viewBox: "0 0 837 1045",
@@ -4133,7 +4154,7 @@ const ns = {
4133
4154
  "sketch:type": "MSShapeGroup"
4134
4155
  })
4135
4156
  ])
4136
- ], -1)), as = /* @__PURE__ */ bt(() => /* @__PURE__ */ b("div", { class: "message-box" }, [
4157
+ ], -1)), ca = /* @__PURE__ */ bt(() => /* @__PURE__ */ b("div", { class: "message-box" }, [
4137
4158
  /* @__PURE__ */ b("h1", null, "404"),
4138
4159
  /* @__PURE__ */ b("p", null, "Page not found"),
4139
4160
  /* @__PURE__ */ b("div", { class: "buttons-con" }, [
@@ -4144,14 +4165,14 @@ const ns = {
4144
4165
  }, "Go to Home Page")
4145
4166
  ])
4146
4167
  ])
4147
- ], -1)), is = [
4148
- ss,
4149
- as
4168
+ ], -1)), ua = [
4169
+ ra,
4170
+ ca
4150
4171
  ];
4151
- function rs(e, t, l, n, o, s) {
4152
- return i(), h("div", os, is);
4172
+ function pa(e, t, l, n, o, a) {
4173
+ return i(), h("div", ia, ua);
4153
4174
  }
4154
- const cs = /* @__PURE__ */ $(ns, [["render", rs], ["__scopeId", "data-v-26068803"]]), us = [
4175
+ const da = /* @__PURE__ */ $(sa, [["render", pa], ["__scopeId", "data-v-26068803"]]), ma = [
4155
4176
  {
4156
4177
  path: "/",
4157
4178
  component: ht,
@@ -4164,78 +4185,78 @@ const cs = /* @__PURE__ */ $(ns, [["render", rs], ["__scopeId", "data-v-26068803
4164
4185
  {
4165
4186
  path: "dashboard",
4166
4187
  name: "Dashboard",
4167
- component: nn,
4188
+ component: on,
4168
4189
  meta: { title: "Dashboard", icon: "el-icon-help", menuType: 2, keepAlive: !0 }
4169
4190
  }
4170
4191
  ]
4171
4192
  },
4172
4193
  {
4173
4194
  path: "/login",
4174
- component: ls,
4195
+ component: aa,
4175
4196
  meta: { title: "用户登录", menuType: 0 },
4176
4197
  hidden: !0
4177
4198
  },
4178
4199
  {
4179
4200
  path: "/404",
4180
- component: cs,
4201
+ component: da,
4181
4202
  meta: { menuType: 0 },
4182
4203
  hidden: !0
4183
4204
  }
4184
- ], z = sl({
4185
- history: al(),
4186
- routes: us
4205
+ ], z = al({
4206
+ history: sl(),
4207
+ routes: ma
4187
4208
  });
4188
- ge.configure({ showSpinner: !1 });
4189
- function ps(e) {
4209
+ ke.configure({ showSpinner: !1 });
4210
+ function fa(e) {
4190
4211
  e.beforeEach((t, l, n) => {
4191
- ge.start(), t.preHash = location.hash.replace("#", ""), n();
4212
+ ke.start(), t.preHash = location.hash.replace("#", ""), n();
4192
4213
  }), e.afterEach((t) => {
4193
4214
  t.matched.length > 0 && E.commit("user/updateState", {
4194
4215
  key: "path",
4195
4216
  value: t.matched[t.matched.length - 1].path.replace("(\\d+)", "")
4196
- }), ge.done();
4217
+ }), ke.done();
4197
4218
  });
4198
4219
  }
4199
- function ds() {
4220
+ function ha() {
4200
4221
  return E.state.user.isLodeRemoteRoutes;
4201
4222
  }
4202
4223
  function _t() {
4203
4224
  return E.state.settings.whiteRoutes || [];
4204
4225
  }
4205
- function ms() {
4226
+ function ba() {
4206
4227
  return E.state.user.token;
4207
4228
  }
4208
- function fs(e) {
4229
+ function _a(e) {
4209
4230
  e.beforeEach(async (t, l, n) => {
4210
4231
  var p, d;
4211
4232
  if (_t().indexOf(t.path) !== -1) {
4212
4233
  n();
4213
4234
  return;
4214
4235
  }
4215
- if (ms()) {
4236
+ if (ba()) {
4216
4237
  (p = t.query) != null && p.redirect ? n((d = t.query) == null ? void 0 : d.redirect) : n();
4217
4238
  return;
4218
4239
  }
4219
- const s = t.query.redirect || t.path, a = Wo({});
4220
- if (!a) {
4221
- n(`/login?redirect=${s}`);
4240
+ const a = t.query.redirect || t.path, s = Zo({});
4241
+ if (!s) {
4242
+ n(`/login?redirect=${a}`);
4222
4243
  return;
4223
4244
  }
4224
- const c = a.flag();
4245
+ const c = s.flag();
4225
4246
  if (c && await E.dispatch("user/login", { ticket: c })) {
4226
4247
  n();
4227
4248
  return;
4228
4249
  }
4229
- a.jumpToLoginPage(n, `/login?redirect=${s}`);
4250
+ s.jumpToLoginPage(n, `/login?redirect=${a}`);
4230
4251
  });
4231
4252
  }
4232
- const hs = {}, bs = { class: "loading preloader" }, _s = /* @__PURE__ */ b("div", { class: "preloader-inner" }, null, -1), ys = [
4233
- _s
4253
+ const ya = {}, va = { class: "loading preloader" }, ga = /* @__PURE__ */ b("div", { class: "preloader-inner" }, null, -1), ka = [
4254
+ ga
4234
4255
  ];
4235
- function vs(e, t) {
4236
- return i(), h("div", bs, ys);
4256
+ function wa(e, t) {
4257
+ return i(), h("div", va, ka);
4237
4258
  }
4238
- const yt = /* @__PURE__ */ $(hs, [["render", vs]]), gs = {
4259
+ const yt = /* @__PURE__ */ $(ya, [["render", wa]]), Sa = {
4239
4260
  name: "VNotice",
4240
4261
  props: {
4241
4262
  dataApi: {
@@ -4263,16 +4284,16 @@ const yt = /* @__PURE__ */ $(hs, [["render", vs]]), gs = {
4263
4284
  this.title = this.notice.title;
4264
4285
  }
4265
4286
  };
4266
- function ks(e, t, l, n, o, s) {
4267
- const a = Oe;
4287
+ function xa(e, t, l, n, o, a) {
4288
+ const s = Ae;
4268
4289
  return i(), h("div", null, [
4269
- o.hasNotice ? (i(), m(a, {
4290
+ o.hasNotice ? (i(), f(s, {
4270
4291
  key: 0,
4271
4292
  title: o.title
4272
- }, null, 8, ["title"])) : S("", !0)
4293
+ }, null, 8, ["title"])) : x("", !0)
4273
4294
  ]);
4274
4295
  }
4275
- const vt = /* @__PURE__ */ $(gs, [["render", ks]]), ws = q({
4296
+ const vt = /* @__PURE__ */ $(Sa, [["render", xa]]), Ea = q({
4276
4297
  components: { VLoading: yt, VNotice: vt },
4277
4298
  props: {
4278
4299
  schemaHandler: {
@@ -4308,72 +4329,72 @@ const vt = /* @__PURE__ */ $(gs, [["render", ks]]), ws = q({
4308
4329
  beforeCreate() {
4309
4330
  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 };
4310
4331
  this.$http.get(this.$props.schemaApi || l, n).then(({ data: o }) => {
4311
- this.loading = !1, X(o) && (o.notice !== void 0 && (this.haveNotice = !0, Ee(o.notice) ? this.notice = {
4332
+ this.loading = !1, X(o) && (o.notice !== void 0 && (this.haveNotice = !0, Ie(o.notice) ? this.notice = {
4312
4333
  title: o.notice
4313
4334
  } : X(o.notice) && (this.notice = o.notice, this.noticeApi = o.notice.noticeApi), delete o.notice), this.owners = o.ownerNames || [], this.serviceOffLine = o.serviceOffLine || !1), this.schema = this.$props.schemaHandler(o, t), E.commit("app/SET_PAGE_JSON_SCHEMA", { page: this.$route.path, json: this.schema });
4314
4335
  });
4315
4336
  }
4316
4337
  });
4317
- const Ss = ["innerHTML"];
4318
- function xs(e, t, l, n, o, s) {
4319
- const a = Oe, c = vt, p = yt;
4320
- return i(), h(w, null, [
4321
- e.owners.length > 0 ? (i(), m(a, {
4338
+ const $a = ["innerHTML"];
4339
+ function Ia(e, t, l, n, o, a) {
4340
+ const s = Ae, c = vt, p = yt;
4341
+ return i(), h(S, null, [
4342
+ e.owners.length > 0 ? (i(), f(s, {
4322
4343
  key: 0,
4323
4344
  title: `该页面功能对应开发: [ ${e.owners.join(", ")} ] 有问题可直接企微反馈`,
4324
4345
  type: "info",
4325
4346
  style: { margin: "0 0 20px 0" },
4326
4347
  closable: !1
4327
- }, null, 8, ["title"])) : S("", !0),
4348
+ }, null, 8, ["title"])) : x("", !0),
4328
4349
  e.env === "prod" && e.serviceOffLine ? (i(), h("div", {
4329
4350
  key: 1,
4330
4351
  class: "offline-notice",
4331
4352
  innerHTML: e.serviceOffLine === !0 ? e.setting.serviceOffLineNotice : e.serviceOffLine
4332
- }, null, 8, Ss)) : (i(), h(w, { key: 2 }, [
4333
- e.haveNotice ? (i(), m(c, {
4353
+ }, null, 8, $a)) : (i(), h(S, { key: 2 }, [
4354
+ e.haveNotice ? (i(), f(c, {
4334
4355
  key: 0,
4335
4356
  notice: e.notice,
4336
4357
  style: { margin: "0 0 20px 0" },
4337
4358
  "data-api": e.noticeApi
4338
- }, null, 8, ["notice", "data-api"])) : S("", !0),
4339
- e.loading ? (i(), m(p, { key: 1 })) : le(e.$slots, "default", W(G({ key: 2 }, e.schema)), void 0, !0)
4359
+ }, null, 8, ["notice", "data-api"])) : x("", !0),
4360
+ e.loading ? (i(), f(p, { key: 1 })) : le(e.$slots, "default", W(G({ key: 2 }, e.schema)), void 0, !0)
4340
4361
  ], 64))
4341
4362
  ], 64);
4342
4363
  }
4343
- const ae = /* @__PURE__ */ $(ws, [["render", xs], ["__scopeId", "data-v-015774e8"]]), gt = {
4364
+ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8"]]), gt = {
4344
4365
  __name: "table",
4345
4366
  setup(e) {
4346
4367
  const t = (l, n) => {
4347
4368
  if (l.orderBy) {
4348
- const s = {
4369
+ const a = {
4349
4370
  prop: l.orderBy.field,
4350
4371
  order: l.orderBy.mod === "desc" ? "descending" : "ascending"
4351
4372
  };
4352
- l.tableProps = A(l.tableProps, { defaultSort: s });
4373
+ l.tableProps = A(l.tableProps, { defaultSort: a });
4353
4374
  }
4354
4375
  const o = Object.keys(oe.props);
4355
- return Object.keys(l).forEach((s) => {
4356
- o.indexOf(s) === -1 && delete l[s];
4376
+ return Object.keys(l).forEach((a) => {
4377
+ o.indexOf(a) === -1 && delete l[a];
4357
4378
  }), l.listApi === void 0 && (l.listApi = `/${n}/list`), l;
4358
4379
  };
4359
- return (l, n) => (i(), m(ae, { "schema-handler": t }, {
4380
+ return (l, n) => (i(), f(se, { "schema-handler": t }, {
4360
4381
  default: r((o) => [
4361
- u(x(oe), W(Y(o)), null, 16)
4382
+ u(k(oe), W(Y(o)), null, 16)
4362
4383
  ]),
4363
4384
  _: 1
4364
4385
  }));
4365
4386
  }
4366
- }, Se = {
4387
+ }, xe = {
4367
4388
  __name: "form",
4368
4389
  setup(e) {
4369
- const t = ue(), l = (n, o) => {
4370
- const s = Object.keys(J.props);
4371
- return Object.keys(n).forEach((a) => {
4372
- if (s.indexOf(a) === -1) {
4373
- delete n[a];
4390
+ const t = pe(), l = (n, o) => {
4391
+ const a = Object.keys(J.props);
4392
+ return Object.keys(n).forEach((s) => {
4393
+ if (a.indexOf(s) === -1) {
4394
+ delete n[s];
4374
4395
  return;
4375
4396
  }
4376
- /.*Api$/.test(a) && (n[a] = Q(n[a], t.params));
4397
+ /.*Api$/.test(s) && (n[s] = Q(n[s], t.params));
4377
4398
  }), n.saveApi === void 0 && (t.params.id !== void 0 ? (n.saveApi = `/${o}/update/${t.params.id}`, n.getApi || (n.getApi = `/${o}/get/${t.params.id}`)) : (delete n.getApi, n.saveApi = `/${o}/create`)), n = A({
4378
4399
  saveApi: o + "/save",
4379
4400
  afterSubmit: "goback",
@@ -4381,14 +4402,14 @@ const ae = /* @__PURE__ */ $(ws, [["render", xs], ["__scopeId", "data-v-015774e8
4381
4402
  mod: t.params.id ? "edit" : "create"
4382
4403
  }, n), n;
4383
4404
  };
4384
- return (n, o) => (i(), m(ae, { "schema-handler": l }, {
4385
- default: r((s) => [
4386
- u(x(J), W(Y(s)), null, 16)
4405
+ return (n, o) => (i(), f(se, { "schema-handler": l }, {
4406
+ default: r((a) => [
4407
+ u(k(J), W(Y(a)), null, 16)
4387
4408
  ]),
4388
4409
  _: 1
4389
4410
  }));
4390
4411
  }
4391
- }, Es = q({
4412
+ }, Ca = q({
4392
4413
  name: "VTree",
4393
4414
  components: {
4394
4415
  VForm: J
@@ -4525,19 +4546,19 @@ const ae = /* @__PURE__ */ $(ws, [["render", xs], ["__scopeId", "data-v-015774e8
4525
4546
  method: "POST",
4526
4547
  url: Q(this.$props.saveApi, o),
4527
4548
  data: o
4528
- }).then(({ code: s }) => {
4529
- s !== 0 && this.$message.error("操作失败");
4549
+ }).then(({ code: a }) => {
4550
+ a !== 0 && this.$message.error("操作失败");
4530
4551
  });
4531
4552
  }
4532
4553
  }
4533
4554
  });
4534
- const $s = { class: "card-header" }, Is = /* @__PURE__ */ b("span", null, "列表", -1), Cs = { class: "tree-action" }, Ts = { key: 0 }, Os = {
4555
+ const Ta = { class: "card-header" }, Oa = /* @__PURE__ */ b("span", null, "列表", -1), Ba = { class: "tree-action" }, Aa = { key: 0 }, Ra = {
4535
4556
  key: 1,
4536
4557
  style: { color: "#E6A23C" }
4537
- }, Bs = { class: "card-header" };
4538
- function As(e, t, l, n, o, s) {
4539
- const a = ce, c = Sl, p = Be, d = pe, f = v("v-form"), _ = se;
4540
- return i(), m(_, {
4558
+ }, Pa = { class: "card-header" };
4559
+ function La(e, t, l, n, o, a) {
4560
+ const s = ue, c = Sl, p = Re, d = de, m = v("v-form"), _ = ae;
4561
+ return i(), f(_, {
4541
4562
  class: "tree-box",
4542
4563
  gutter: 20
4543
4564
  }, {
@@ -4549,9 +4570,9 @@ function As(e, t, l, n, o, s) {
4549
4570
  default: r(() => [
4550
4571
  u(p, { shadow: "never" }, {
4551
4572
  header: r(() => [
4552
- b("div", $s, [
4553
- Is,
4554
- u(a, {
4573
+ b("div", Ta, [
4574
+ Oa,
4575
+ u(s, {
4555
4576
  type: "text",
4556
4577
  onClick: t[0] || (t[0] = () => e.appendNew())
4557
4578
  }, {
@@ -4563,7 +4584,7 @@ function As(e, t, l, n, o, s) {
4563
4584
  ])
4564
4585
  ]),
4565
4586
  default: r(() => [
4566
- (e.treeData || []).length > 0 ? (i(), m(c, G({
4587
+ (e.treeData || []).length > 0 ? (i(), f(c, G({
4567
4588
  key: 0,
4568
4589
  style: { height: "100vh" },
4569
4590
  data: e.treeData,
@@ -4574,48 +4595,48 @@ function As(e, t, l, n, o, s) {
4574
4595
  "allow-drop": e.allowDrop,
4575
4596
  onNodeDragEnd: e.handleDragEnd
4576
4597
  }), {
4577
- default: r(({ node: T, data: k }) => [
4578
- b("span", Cs, [
4579
- k[e.localTreeProps.props.label] ? (i(), h("span", Ts, O(k[e.localTreeProps.props.label]), 1)) : (i(), h("span", Os, "请在右侧表单中修改 --> ")),
4598
+ default: r(({ node: T, data: w }) => [
4599
+ b("span", Ba, [
4600
+ w[e.localTreeProps.props.label] ? (i(), h("span", Aa, O(w[e.localTreeProps.props.label]), 1)) : (i(), h("span", Ra, "请在右侧表单中修改 --> ")),
4580
4601
  b("span", null, [
4581
- k[e.localTreeProps.props.label] ? (i(), m(a, {
4602
+ w[e.localTreeProps.props.label] ? (i(), f(s, {
4582
4603
  key: 0,
4583
4604
  class: "button",
4584
4605
  type: "text",
4585
- onClick: () => e.onclick(k)
4606
+ onClick: () => e.onclick(w)
4586
4607
  }, {
4587
4608
  default: r(() => [
4588
4609
  g("编辑")
4589
4610
  ]),
4590
4611
  _: 2
4591
- }, 1032, ["onClick"])) : S("", !0),
4592
- e.canAppend(k, T) ? (i(), m(a, {
4612
+ }, 1032, ["onClick"])) : x("", !0),
4613
+ e.canAppend(w, T) ? (i(), f(s, {
4593
4614
  key: 1,
4594
4615
  class: "button",
4595
4616
  type: "text",
4596
- onClick: () => e.append(k, T)
4617
+ onClick: () => e.append(w, T)
4597
4618
  }, {
4598
4619
  default: r(() => [
4599
4620
  g("添加")
4600
4621
  ]),
4601
4622
  _: 2
4602
- }, 1032, ["onClick"])) : S("", !0),
4603
- k.children === void 0 || k.children.length === 0 ? (i(), m(a, {
4623
+ }, 1032, ["onClick"])) : x("", !0),
4624
+ w.children === void 0 || w.children.length === 0 ? (i(), f(s, {
4604
4625
  key: 2,
4605
4626
  class: "button",
4606
4627
  type: "text",
4607
- onClick: () => e.remove(k)
4628
+ onClick: () => e.remove(w)
4608
4629
  }, {
4609
4630
  default: r(() => [
4610
4631
  g("删除")
4611
4632
  ]),
4612
4633
  _: 2
4613
- }, 1032, ["onClick"])) : S("", !0)
4634
+ }, 1032, ["onClick"])) : x("", !0)
4614
4635
  ])
4615
4636
  ])
4616
4637
  ]),
4617
4638
  _: 1
4618
- }, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : S("", !0)
4639
+ }, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : x("", !0)
4619
4640
  ]),
4620
4641
  _: 1
4621
4642
  })
@@ -4627,24 +4648,24 @@ function As(e, t, l, n, o, s) {
4627
4648
  class: "tree-form"
4628
4649
  }, {
4629
4650
  default: r(() => [
4630
- e.type ? (i(), m(p, {
4651
+ e.type ? (i(), f(p, {
4631
4652
  key: 0,
4632
4653
  shadow: "never"
4633
4654
  }, {
4634
4655
  header: r(() => [
4635
- b("div", Bs, [
4656
+ b("div", Pa, [
4636
4657
  b("span", null, O(e.formType), 1)
4637
4658
  ])
4638
4659
  ]),
4639
4660
  default: r(() => [
4640
- (i(), m(f, G({
4661
+ (i(), f(m, G({
4641
4662
  key: e.formkey,
4642
4663
  modelValue: e.formData,
4643
4664
  "onUpdate:modelValue": t[1] || (t[1] = (T) => e.formData = T)
4644
4665
  }, e.formProps, { onSubmit: e.submit }), null, 16, ["modelValue", "onSubmit"]))
4645
4666
  ]),
4646
4667
  _: 1
4647
- })) : S("", !0)
4668
+ })) : x("", !0)
4648
4669
  ]),
4649
4670
  _: 1
4650
4671
  })
@@ -4652,23 +4673,23 @@ function As(e, t, l, n, o, s) {
4652
4673
  _: 1
4653
4674
  });
4654
4675
  }
4655
- const Fe = /* @__PURE__ */ $(Es, [["render", As]]), Rs = {
4676
+ const Ge = /* @__PURE__ */ $(Ca, [["render", La]]), Ma = {
4656
4677
  __name: "tree",
4657
4678
  setup(e) {
4658
4679
  const t = (l, n) => {
4659
- const o = Object.keys(Fe.props);
4660
- return Object.keys(l).forEach((s) => {
4661
- o.indexOf(s) === -1 && delete l[s];
4680
+ const o = Object.keys(Ge.props);
4681
+ return Object.keys(l).forEach((a) => {
4682
+ o.indexOf(a) === -1 && delete l[a];
4662
4683
  }), l;
4663
4684
  };
4664
- return (l, n) => (i(), m(ae, { "schema-handler": t }, {
4685
+ return (l, n) => (i(), f(se, { "schema-handler": t }, {
4665
4686
  default: r((o) => [
4666
- u(Fe, W(Y(o)), null, 16)
4687
+ u(Ge, W(Y(o)), null, 16)
4667
4688
  ]),
4668
4689
  _: 1
4669
4690
  }));
4670
4691
  }
4671
- }, ye = {
4692
+ }, ge = {
4672
4693
  __name: "container",
4673
4694
  setup(e) {
4674
4695
  const t = L(0);
@@ -4676,10 +4697,10 @@ const Fe = /* @__PURE__ */ $(Es, [["render", As]]), Rs = {
4676
4697
  t.value++;
4677
4698
  }), (l, n) => {
4678
4699
  const o = v("router-view");
4679
- return i(), m(o);
4700
+ return i(), f(o);
4680
4701
  };
4681
4702
  }
4682
- }, Ps = {
4703
+ }, Da = {
4683
4704
  title: {
4684
4705
  text: ""
4685
4706
  },
@@ -4708,34 +4729,34 @@ const Fe = /* @__PURE__ */ $(Es, [["render", As]]), Rs = {
4708
4729
  },
4709
4730
  series: []
4710
4731
  };
4711
- function Ls(e, t, l) {
4732
+ function ja(e, t, l) {
4712
4733
  if (l.length === 0)
4713
4734
  return {};
4714
- let n = A({}, Ps);
4715
- if (n.title.text = e, Ee(t)) {
4716
- const o = [], s = Object.keys(l[0]);
4717
- let a = s[0], c = s.filter((d, f) => f > 0), p = t;
4735
+ let n = A({}, Da);
4736
+ if (n.title.text = e, Ie(t)) {
4737
+ const o = [], a = Object.keys(l[0]);
4738
+ let s = a[0], c = a.filter((d, m) => m > 0), p = t;
4718
4739
  if (t.indexOf(":") > -1) {
4719
- const d = t.split(":"), f = d[1].split(",");
4720
- p = d[0], a = f[0], c = f.filter((_, T) => T > 0);
4740
+ const d = t.split(":"), m = d[1].split(",");
4741
+ p = d[0], s = m[0], c = m.filter((_, T) => T > 0);
4721
4742
  }
4722
4743
  c.forEach((d) => {
4723
- const f = [];
4744
+ const m = [];
4724
4745
  l.forEach((_) => {
4725
- f.push(_[d]);
4746
+ m.push(_[d]);
4726
4747
  }), n.series.push({
4727
4748
  name: d,
4728
4749
  type: p,
4729
4750
  smooth: !0,
4730
- data: f
4751
+ data: m
4731
4752
  }), n.legend.data.push(d);
4732
4753
  }), l.forEach((d) => {
4733
- o.push(d[a]);
4754
+ o.push(d[s]);
4734
4755
  }), n.xAxis.data = o;
4735
4756
  }
4736
4757
  return X(t) && (n = A(n, t)), console.log(111, n), n;
4737
4758
  }
4738
- const Ms = q({
4759
+ const Na = q({
4739
4760
  name: "NumberPanel",
4740
4761
  props: {
4741
4762
  dataList: {
@@ -4746,27 +4767,27 @@ const Ms = q({
4746
4767
  data() {
4747
4768
  return {};
4748
4769
  }
4749
- }), Ds = { class: "number-panel-title" }, js = { class: "number" }, Ns = { class: "name" };
4750
- function Vs(e, t, l, n, o, s) {
4751
- return i(!0), h(w, null, B(e.dataList, (a, c) => (i(), h("span", { key: c }, [
4752
- b("div", Ds, [
4753
- (i(!0), h(w, null, B(Object.keys(a), (p, d) => (i(), h("div", {
4770
+ }), Va = { class: "number-panel-title" }, qa = { class: "number" }, Ua = { class: "name" };
4771
+ function Ha(e, t, l, n, o, a) {
4772
+ return i(!0), h(S, null, B(e.dataList, (s, c) => (i(), h("span", { key: c }, [
4773
+ b("div", Va, [
4774
+ (i(!0), h(S, null, B(Object.keys(s), (p, d) => (i(), h("div", {
4754
4775
  key: d,
4755
4776
  class: "title-inner"
4756
4777
  }, [
4757
- b("p", js, O(a[p]), 1),
4758
- b("p", Ns, O(p), 1)
4778
+ b("p", qa, O(s[p]), 1),
4779
+ b("p", Ua, O(p), 1)
4759
4780
  ]))), 128))
4760
4781
  ])
4761
4782
  ]))), 128);
4762
4783
  }
4763
- const qs = /* @__PURE__ */ $(Ms, [["render", Vs], ["__scopeId", "data-v-cc0d8293"]]), Us = {
4784
+ const Fa = /* @__PURE__ */ $(Na, [["render", Ha], ["__scopeId", "data-v-cc0d8293"]]), Ga = {
4764
4785
  components: {
4765
4786
  Chart: El,
4766
4787
  Md: Ol,
4767
- Json: Re,
4788
+ Json: Le,
4768
4789
  Table: oe,
4769
- Number: qs,
4790
+ Number: Fa,
4770
4791
  Html: ""
4771
4792
  },
4772
4793
  props: {
@@ -4787,7 +4808,7 @@ const qs = /* @__PURE__ */ $(Ms, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4787
4808
  };
4788
4809
  if (o === "chart")
4789
4810
  return {
4790
- options: Ls(n.id, n.chart, n.data)
4811
+ options: ja(n.id, n.chart, n.data)
4791
4812
  };
4792
4813
  if (o === "md")
4793
4814
  return {
@@ -4796,11 +4817,11 @@ const qs = /* @__PURE__ */ $(Ms, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4796
4817
  if (o === "table") {
4797
4818
  if (!Ye(n.data))
4798
4819
  return { showPagination: !1 };
4799
- const s = [];
4800
- return n.data[0] && Object.keys(n.data[0]).forEach((a, c) => {
4801
- s.push({ field: a, label: a });
4820
+ const a = [];
4821
+ return n.data[0] && Object.keys(n.data[0]).forEach((s, c) => {
4822
+ a.push({ field: s, label: s });
4802
4823
  }), {
4803
- headers: s,
4824
+ headers: a,
4804
4825
  list: n.data,
4805
4826
  showPagination: !1
4806
4827
  };
@@ -4811,21 +4832,21 @@ const qs = /* @__PURE__ */ $(Ms, [["render", Vs], ["__scopeId", "data-v-cc0d8293
4811
4832
  };
4812
4833
  }
4813
4834
  };
4814
- function Hs(e, t, l, n, o, s) {
4815
- const a = Be, c = Rt("resize");
4816
- return ve((i(), m(a, {
4835
+ function Ja(e, t, l, n, o, a) {
4836
+ const s = Re, c = Rt("resize");
4837
+ return ie((i(), f(s, {
4817
4838
  shadow: "never",
4818
4839
  class: "part"
4819
4840
  }, {
4820
4841
  default: r(() => [
4821
- (i(), m(Ze(n.comptype()), W(Y(n.compprops(l.option))), null, 16))
4842
+ (i(), f(Qe(n.comptype()), W(Y(n.compprops(l.option))), null, 16))
4822
4843
  ]),
4823
4844
  _: 1
4824
4845
  })), [
4825
4846
  [c, !0]
4826
4847
  ]);
4827
4848
  }
4828
- const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1"]]), Gs = /* @__PURE__ */ q({
4849
+ const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1"]]), Ka = /* @__PURE__ */ q({
4829
4850
  __name: "index",
4830
4851
  props: {
4831
4852
  filter: {
@@ -4842,9 +4863,9 @@ const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4842
4863
  Pt(() => {
4843
4864
  });
4844
4865
  const n = L({});
4845
- ze(() => {
4846
- var f;
4847
- (f = t.filter) == null || f.forEach((_) => {
4866
+ Ke(() => {
4867
+ var m;
4868
+ (m = t.filter) == null || m.forEach((_) => {
4848
4869
  _.default !== null && (n.value[_.field] = _.default);
4849
4870
  });
4850
4871
  });
@@ -4858,23 +4879,23 @@ const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4858
4879
  cancelButton: {
4859
4880
  text: "重置"
4860
4881
  }
4861
- }, s = L(1), a = L(t.filter), c = L(t.dataPart), p = V(() => {
4862
- let f = l.params.id;
4863
- if (!f) {
4882
+ }, a = L(1), s = L(t.filter), c = L(t.dataPart), p = j(() => {
4883
+ let m = l.params.id;
4884
+ if (!m) {
4864
4885
  const _ = l.path.split("/");
4865
- f = _[_.length - 1];
4886
+ m = _[_.length - 1];
4866
4887
  }
4867
- return "/focusbi_report/view/" + f;
4868
- }), d = (f) => {
4869
- ua.get(p.value, { params: f }).then(({ data: _ }) => {
4870
- a.value = _.filter, c.value = _.dataPart, s.value++;
4888
+ return "/focusbi_report/view/" + m;
4889
+ }), d = (m) => {
4890
+ ms.get(p.value, { params: m }).then(({ data: _ }) => {
4891
+ s.value = _.filter, c.value = _.dataPart, a.value++;
4871
4892
  });
4872
4893
  };
4873
- return (f, _) => {
4874
- const T = Be, k = pe, H = Oe, U = se;
4875
- return i(), m(U, null, {
4894
+ return (m, _) => {
4895
+ const T = Re, w = de, F = Ae, U = ae;
4896
+ return i(), f(U, null, {
4876
4897
  default: r(() => [
4877
- x(a).length > 0 ? (i(), m(k, {
4898
+ k(s).length > 0 ? (i(), f(w, {
4878
4899
  key: 0,
4879
4900
  span: 24
4880
4901
  }, {
@@ -4884,10 +4905,10 @@ const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4884
4905
  class: "part-filter"
4885
4906
  }, {
4886
4907
  default: r(() => [
4887
- u(x(J), {
4888
- modelValue: x(n),
4908
+ u(k(J), {
4909
+ modelValue: k(n),
4889
4910
  "onUpdate:modelValue": _[0] || (_[0] = (C) => Lt(n) ? n.value = C : null),
4890
- "form-items": x(a),
4911
+ "form-items": k(s),
4891
4912
  options: o,
4892
4913
  onSubmit: d
4893
4914
  }, null, 8, ["modelValue", "form-items"])
@@ -4896,17 +4917,17 @@ const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4896
4917
  })
4897
4918
  ]),
4898
4919
  _: 1
4899
- })) : S("", !0),
4900
- u(k, { span: 24 }, {
4920
+ })) : x("", !0),
4921
+ u(w, { span: 24 }, {
4901
4922
  default: r(() => [
4902
4923
  u(U, { gutter: 20 }, {
4903
4924
  default: r(() => [
4904
- (i(!0), h(w, null, B(x(c), (C, Z) => (i(), m(k, {
4925
+ (i(!0), h(S, null, B(k(c), (C, Z) => (i(), f(w, {
4905
4926
  key: Z,
4906
4927
  span: C.col || 24
4907
4928
  }, {
4908
4929
  default: r(() => [
4909
- C.errMsg ? (i(), m(H, {
4930
+ C.errMsg ? (i(), f(F, {
4910
4931
  key: 1,
4911
4932
  title: C.id + " 片段执行出错",
4912
4933
  type: "error"
@@ -4915,8 +4936,8 @@ const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4915
4936
  g(O(C.errMsg), 1)
4916
4937
  ]),
4917
4938
  _: 2
4918
- }, 1032, ["title"])) : (i(), m(Fs, {
4919
- key: x(s),
4939
+ }, 1032, ["title"])) : (i(), f(za, {
4940
+ key: k(a),
4920
4941
  option: C
4921
4942
  }, null, 8, ["option"]))
4922
4943
  ]),
@@ -4934,10 +4955,10 @@ const Fs = /* @__PURE__ */ $(Us, [["render", Hs], ["__scopeId", "data-v-a5a65cc1
4934
4955
  };
4935
4956
  }
4936
4957
  });
4937
- const Js = {
4958
+ const Wa = {
4938
4959
  __name: "report",
4939
4960
  setup(e) {
4940
- const t = useRoute(), l = V(() => {
4961
+ const t = useRoute(), l = j(() => {
4941
4962
  let n = t.params.id;
4942
4963
  if (!n) {
4943
4964
  const o = t.path.split("/");
@@ -4945,22 +4966,22 @@ const Js = {
4945
4966
  }
4946
4967
  return "/focusbi_report/view/" + n;
4947
4968
  });
4948
- return (n, o) => (i(), m(ae, { "schema-api": x(l) }, {
4949
- default: r((s) => [
4950
- u(Gs, W(Y(s)), null, 16)
4969
+ return (n, o) => (i(), f(se, { "schema-api": k(l) }, {
4970
+ default: r((a) => [
4971
+ u(Ka, W(Y(a)), null, 16)
4951
4972
  ]),
4952
4973
  _: 1
4953
4974
  }, 8, ["schema-api"]));
4954
4975
  }
4955
4976
  };
4956
- const zs = (e) => u("div", null, [e.test]), Ks = {
4977
+ const Za = (e) => u("div", null, [e.test]), Qa = {
4957
4978
  card: el,
4958
4979
  form: J,
4959
4980
  table: oe,
4960
- test: zs,
4981
+ test: Za,
4961
4982
  row: tl,
4962
4983
  col: ll
4963
- }, Ws = {
4984
+ }, Xa = {
4964
4985
  card: {
4965
4986
  type: "card",
4966
4987
  props: {
@@ -4981,21 +5002,21 @@ const zs = (e) => u("div", null, [e.test]), Ks = {
4981
5002
  }
4982
5003
  }
4983
5004
  };
4984
- function Zs(e) {
5005
+ function Ya(e) {
4985
5006
  const t = Object.assign({}, e), l = t.type.split(".").reverse(), n = t.span || 24;
4986
5007
  delete t.span;
4987
5008
  let o = {
4988
5009
  ...t,
4989
5010
  type: l[0]
4990
5011
  };
4991
- for (let s = 1; s < l.length; s++)
5012
+ for (let a = 1; a < l.length; a++)
4992
5013
  o = {
4993
- type: l[s],
5014
+ type: l[a],
4994
5015
  children: [o]
4995
5016
  };
4996
- return o.span = n, De([o]);
5017
+ return o.span = n, Ne([o]);
4997
5018
  }
4998
- function De(e) {
5019
+ function Ne(e) {
4999
5020
  const t = {
5000
5021
  type: "row",
5001
5022
  props: {
@@ -5005,13 +5026,13 @@ function De(e) {
5005
5026
  children: []
5006
5027
  };
5007
5028
  return e.forEach((l) => {
5008
- var a, c;
5029
+ var s, c;
5009
5030
  let n = Object.assign({}, l);
5010
- if (X((a = n.props) == null ? void 0 : a.style)) {
5031
+ if (X((s = n.props) == null ? void 0 : s.style)) {
5011
5032
  let p = "";
5012
5033
  Object.keys((c = n.props) == null ? void 0 : c.style).forEach((d) => {
5013
- var f;
5014
- p += d + ":" + ((f = n.props) == null ? void 0 : f.style[d]) + ";";
5034
+ var m;
5035
+ p += d + ":" + ((m = n.props) == null ? void 0 : m.style[d]) + ";";
5015
5036
  }), n.props.style = p;
5016
5037
  }
5017
5038
  const o = {
@@ -5022,15 +5043,15 @@ function De(e) {
5022
5043
  t.children.push({
5023
5044
  type: "col",
5024
5045
  props: o,
5025
- children: Zs(n)
5046
+ children: Ya(n)
5026
5047
  });
5027
5048
  return;
5028
5049
  }
5029
5050
  n = A({
5030
5051
  props: {}
5031
- }, Ws[n.type] || {}, n);
5032
- const s = kt(n.children);
5033
- s.length && (n.children = De(s)), t.children.push({
5052
+ }, Xa[n.type] || {}, n);
5053
+ const a = kt(n.children);
5054
+ a.length && (n.children = Ne(a)), t.children.push({
5034
5055
  type: "col",
5035
5056
  props: o,
5036
5057
  children: [n]
@@ -5040,64 +5061,64 @@ function De(e) {
5040
5061
  function kt(e) {
5041
5062
  return Ye(e) ? e : X(e) ? [e] : [];
5042
5063
  }
5043
- let xe = {};
5064
+ let Ee = {};
5044
5065
  const wt = (e) => {
5045
- const t = Ks[e.type] || xe[e.type] || e.type;
5066
+ const t = Qa[e.type] || Ee[e.type] || e.type;
5046
5067
  return Dt(t, e.props, {
5047
5068
  default: () => kt(e.children).map((l) => wt(l))
5048
5069
  });
5049
- }, Qs = (e) => (Object.keys(xe).length === 0 && (xe = Mt().appContext.components), De(Object.values(e.schema)).map((l) => wt(l))), Xs = {
5070
+ }, es = (e) => (Object.keys(Ee).length === 0 && (Ee = Mt().appContext.components), Ne(Object.values(e.schema)).map((l) => wt(l))), ts = {
5050
5071
  __name: "custom",
5051
5072
  setup(e) {
5052
5073
  const t = L([]), l = (n, o) => (t.value = jt(n), n);
5053
- return (n, o) => (i(), m(ae, { "schema-handler": l }, {
5074
+ return (n, o) => (i(), f(se, { "schema-handler": l }, {
5054
5075
  default: r(() => [
5055
- u(x(Qs), { schema: x(t) }, null, 8, ["schema"])
5076
+ u(k(es), { schema: k(t) }, null, 8, ["schema"])
5056
5077
  ]),
5057
5078
  _: 1
5058
5079
  }));
5059
5080
  }
5060
5081
  };
5061
5082
  let te = {};
5062
- function gi(e) {
5083
+ function xi(e) {
5063
5084
  te = e;
5064
5085
  }
5065
- const Ys = (e) => {
5086
+ const ls = (e) => {
5066
5087
  const t = (l) => {
5067
5088
  const n = "./views/" + l + ".vue";
5068
- return te && te[n] && te[n].default ? te[n].default : (console.error(`自定义组件不存在 ${e.name} ${e.view}`), ye);
5089
+ return te && te[n] && te[n].default ? te[n].default : (console.error(`自定义组件不存在 ${e.name} ${e.view}`), ge);
5069
5090
  };
5070
5091
  if (e.path === "#")
5071
- return ye;
5092
+ return ge;
5072
5093
  switch (e.page_type) {
5073
5094
  case D.list:
5074
5095
  return gt;
5075
5096
  case D.form:
5076
- return Se;
5097
+ return xe;
5077
5098
  case D.custom:
5078
5099
  case D.localComp:
5079
5100
  return t(e.view || "");
5080
5101
  case D.tree:
5081
- return Rs;
5102
+ return Ma;
5082
5103
  case D.report:
5083
- return Js;
5104
+ return Wa;
5084
5105
  case D.customSchema:
5085
- return Xs;
5106
+ return ts;
5086
5107
  }
5087
- return ye;
5108
+ return ge;
5088
5109
  };
5089
- function ea(e) {
5110
+ function ns(e) {
5090
5111
  let t = e.path;
5091
5112
  return e.type === P.menu && e.page_type === D.entity && (t = "#"), t.indexOf(":id") > -1 && t.indexOf(":id") + 3 === t.length && (t = t.replace(":id", ":id(\\d+)")), t === "#" ? "/" + e.id + "_DIR_" + e.name : t[0] !== "/" ? "/" + t : t;
5092
5113
  }
5093
- function ta(e) {
5114
+ function os(e) {
5094
5115
  return (e.path + e.name).split("/").filter((t) => t).join("_");
5095
5116
  }
5096
5117
  const St = (e) => {
5097
5118
  const t = e.type !== P.page, l = {
5098
- path: ea(e),
5099
- name: e.id + "_" + ta(e) + "_" + e.path.replaceAll("/", "_"),
5100
- component: Ys(e),
5119
+ path: ns(e),
5120
+ name: e.id + "_" + os(e) + "_" + e.path.replaceAll("/", "_"),
5121
+ component: ls(e),
5101
5122
  meta: {
5102
5123
  id: e.id,
5103
5124
  pageId: e.id,
@@ -5111,7 +5132,7 @@ const St = (e) => {
5111
5132
  children: e.children ? e.children.map((n) => St(n)) : []
5112
5133
  };
5113
5134
  if (e.page_type === D.entity) {
5114
- const n = e.path + "/list", o = e.path + "/form", s = e.path + "/:id", a = [{
5135
+ const n = e.path + "/list", o = e.path + "/form", a = e.path + "/:id", s = [{
5115
5136
  path: n,
5116
5137
  name: e.name + "列表" + e.id,
5117
5138
  component: gt,
@@ -5127,7 +5148,7 @@ const St = (e) => {
5127
5148
  }, {
5128
5149
  path: o,
5129
5150
  name: e.name + "新建" + e.id,
5130
- component: Se,
5151
+ component: xe,
5131
5152
  meta: {
5132
5153
  id: e.id + 99999 + 1,
5133
5154
  title: "新建",
@@ -5138,9 +5159,9 @@ const St = (e) => {
5138
5159
  path: e.path
5139
5160
  }
5140
5161
  }, {
5141
- path: s,
5162
+ path: a,
5142
5163
  name: e.name + "编辑" + e.id,
5143
- component: Se,
5164
+ component: xe,
5144
5165
  meta: {
5145
5166
  id: e.id + 99999 + 2,
5146
5167
  title: "编辑",
@@ -5151,7 +5172,7 @@ const St = (e) => {
5151
5172
  path: e.path
5152
5173
  }
5153
5174
  }];
5154
- l.children = [...a, ...l.children];
5175
+ l.children = [...s, ...l.children];
5155
5176
  }
5156
5177
  if (l.children && l.children.length > 0) {
5157
5178
  let n = !0;
@@ -5160,16 +5181,16 @@ const St = (e) => {
5160
5181
  }), l.meta && (l.meta.menuType = t ? P.dir : P.hidden), n) {
5161
5182
  l.meta && (l.meta.menuType = P.menu);
5162
5183
  let o = "/";
5163
- for (let s = 0; s < l.children.length; s++)
5164
- if (l.children[s].path.indexOf("/:") === -1) {
5165
- o = l.children[s].path;
5184
+ for (let a = 0; a < l.children.length; a++)
5185
+ if (l.children[a].path.indexOf("/:") === -1) {
5186
+ o = l.children[a].path;
5166
5187
  break;
5167
5188
  }
5168
5189
  l.redirect = o, l.path = "/" + e.id + "_DIR" + l.redirect.replaceAll("/", "_").toUpperCase();
5169
5190
  }
5170
5191
  }
5171
5192
  return l;
5172
- }, la = (e) => {
5193
+ }, as = (e) => {
5173
5194
  const t = [];
5174
5195
  return e.forEach((l) => {
5175
5196
  const n = {
@@ -5182,71 +5203,71 @@ const St = (e) => {
5182
5203
  }), t.push(n);
5183
5204
  }), t;
5184
5205
  };
5185
- function na(e) {
5206
+ function ss(e) {
5186
5207
  e.beforeEach(async (t, l, n) => {
5187
5208
  if (_t().indexOf(t.path) !== -1) {
5188
5209
  n();
5189
5210
  return;
5190
5211
  }
5191
- if (ds()) {
5212
+ if (ha()) {
5192
5213
  n();
5193
5214
  return;
5194
5215
  }
5195
5216
  await E.dispatch("user/info");
5196
- const o = await E.dispatch("user/loadRemoteRoutes"), s = la(o);
5197
- s.forEach((a) => {
5198
- a.routes.forEach((c) => {
5217
+ const o = await E.dispatch("user/loadRemoteRoutes"), a = as(o);
5218
+ a.forEach((s) => {
5219
+ s.routes.forEach((c) => {
5199
5220
  e.addRoute({
5200
5221
  path: "/",
5201
5222
  component: ht,
5202
5223
  children: [c]
5203
5224
  });
5204
5225
  });
5205
- }), e.addRoute({ name: "404", path: "/:pathMatch(.*)*", redirect: "/404", hidden: !0 }), E.commit("user/updateRemoteRouter", s), await e.replace(t), n();
5226
+ }), e.addRoute({ name: "404", path: "/:pathMatch(.*)*", redirect: "/404", hidden: !0 }), E.commit("user/updateRemoteRouter", a), await e.replace(t), n();
5206
5227
  });
5207
5228
  }
5208
- function oa(e) {
5229
+ function is(e) {
5209
5230
  e.beforeEach(async (t, l, n) => {
5210
5231
  var c;
5211
- const s = [E.state.settings.title || ""], a = t.matched.length;
5212
- for (let p = a; p > a - 3; p--) {
5232
+ const a = [E.state.settings.title || ""], s = t.matched.length;
5233
+ for (let p = s; p > s - 3; p--) {
5213
5234
  const d = t.matched[p - 1];
5214
- (c = d == null ? void 0 : d.meta) != null && c.title && s.push(d.meta.title + "");
5235
+ (c = d == null ? void 0 : d.meta) != null && c.title && a.push(d.meta.title + "");
5215
5236
  }
5216
- s.length > 1 && (document.title = s.reverse().join("-")), n();
5237
+ a.length > 1 && (document.title = a.reverse().join("-")), n();
5217
5238
  }), e.afterEach(async (t, l, n) => {
5218
5239
  Object.keys(t.meta).length > 0 && await E.dispatch("app/setCurrentMeta", t.meta);
5219
5240
  });
5220
5241
  }
5221
- function sa(e) {
5222
- fs(e), ps(e), na(e), oa(e);
5242
+ function rs(e) {
5243
+ _a(e), fa(e), ss(e), is(e);
5223
5244
  }
5224
- sa(z);
5225
- function aa() {
5245
+ rs(z);
5246
+ function cs() {
5226
5247
  return E.state.user.token;
5227
5248
  }
5228
- function Ge(e) {
5229
- Ql({
5249
+ function Je(e) {
5250
+ Xl({
5230
5251
  message: e,
5231
5252
  type: "error",
5232
5253
  duration: 5 * 1e3,
5233
5254
  grouping: !0
5234
5255
  });
5235
5256
  }
5236
- const ia = {
5257
+ const us = {
5237
5258
  onFulfilled: function(e) {
5238
5259
  var l;
5239
5260
  e.headers = e.headers || {};
5240
- const t = aa();
5261
+ const t = cs();
5241
5262
  return t && (e.headers["X-Token"] = t), (l = z.currentRoute.value.meta) != null && l.path && (e.headers["X-Path"] = z.currentRoute.value.meta.path), e;
5242
5263
  }
5243
- }, ra = {
5264
+ }, ps = {
5244
5265
  onFulfilled(e) {
5245
- var n, o, s, a, c, p, d;
5266
+ var n, o, a, s, c, p, d;
5246
5267
  if (!(((n = e.config) == null ? void 0 : n.notHoldApiErr) !== void 0 && ((o = e.config) == null ? void 0 : o.notHoldApiErr) === !0) && e.data.code !== 0) {
5247
- const f = e.data.message || `接口请求错误 ${e.config.method}::${(s = e.config.url) == null ? void 0 : s.split("?")[0]}`;
5268
+ const m = e.data.message || `接口请求错误 ${e.config.method}::${(a = e.config.url) == null ? void 0 : a.split("?")[0]}`;
5248
5269
  if (e.data.code === 401) {
5249
- Ue.alert("登录信息已过期或未登录, 是否跳转登录", "操作提醒", {
5270
+ He.alert("登录信息已过期或未登录, 是否跳转登录", "操作提醒", {
5250
5271
  showClose: !1,
5251
5272
  confirmButtonText: "重新登录",
5252
5273
  showCancelButton: !0,
@@ -5257,13 +5278,13 @@ const ia = {
5257
5278
  });
5258
5279
  return;
5259
5280
  } else
5260
- Ge(f);
5261
- return Promise.reject(f);
5281
+ Je(m);
5282
+ return Promise.reject(m);
5262
5283
  }
5263
- let l = (c = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : c._message_box;
5264
- return l !== void 0 && (Ee(l) && (l = {
5284
+ let l = (c = (s = e.data) == null ? void 0 : s.data) == null ? void 0 : c._message_box;
5285
+ return l !== void 0 && (Ie(l) && (l = {
5265
5286
  message: (d = (p = e.data) == null ? void 0 : p.data) == null ? void 0 : d._message_box
5266
- }), Ue({
5287
+ }), He({
5267
5288
  title: "提示",
5268
5289
  type: "success",
5269
5290
  grouping: !0,
@@ -5272,29 +5293,29 @@ const ia = {
5272
5293
  },
5273
5294
  onRejected(e) {
5274
5295
  var t;
5275
- return $e.isCancel(e) ? Promise.reject("") : (Ge(`${e.message} ${e.config.method}::${(t = e.config.url) == null ? void 0 : t.split("?")[0]}`), Promise.reject(e));
5296
+ return Ce.isCancel(e) ? Promise.reject("") : (Je(`${e.message} ${e.config.method}::${(t = e.config.url) == null ? void 0 : t.split("?")[0]}`), Promise.reject(e));
5276
5297
  }
5277
- }, ca = [
5298
+ }, ds = [
5278
5299
  {
5279
- request: Yl,
5280
- response: en
5300
+ request: en,
5301
+ response: tn
5281
5302
  },
5282
5303
  {
5283
- request: ia,
5284
- response: ra
5304
+ request: us,
5305
+ response: ps
5285
5306
  }
5286
5307
  ];
5287
- function je(e = {}) {
5288
- const t = de.axios || {}, l = A(t, e || {}), n = $e.create({
5308
+ function Ve(e = {}) {
5309
+ const t = me.axios || {}, l = A(t, e || {}), n = Ce.create({
5289
5310
  ...l
5290
5311
  // adapter: (c) => cacheAdapter(c, defaultAxios)
5291
5312
  });
5292
- return ca.forEach((o) => {
5313
+ return ds.forEach((o) => {
5293
5314
  n.interceptors.request.use(o.request.onFulfilled, o.request.onRejected), n.interceptors.response.use(o.response.onFulfilled, o.response.onRejected);
5294
5315
  }), n;
5295
5316
  }
5296
- const ua = je();
5297
- const pa = {
5317
+ const ms = Ve();
5318
+ const fs = {
5298
5319
  beforeMount(e, t) {
5299
5320
  e.clickOutsideEvent = function(l) {
5300
5321
  e === l.target || e.contains(l.target) || t.value(l, e);
@@ -5303,23 +5324,23 @@ const pa = {
5303
5324
  unmounted(e) {
5304
5325
  document.body.removeEventListener("click", e.clickOutsideEvent);
5305
5326
  }
5306
- }, K = Cl(), da = {
5327
+ }, K = Cl(), hs = {
5307
5328
  mounted: (e, t) => {
5308
5329
  e !== null && (t.value, e.oncontextmenu = (l) => {
5309
5330
  l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && K.emit("right-click", { event: l, data: t.value });
5310
5331
  });
5311
5332
  }
5312
- }, ma = {
5333
+ }, bs = {
5313
5334
  mounted(e) {
5314
5335
  }
5315
5336
  };
5316
- function Je(e, t) {
5337
+ function ze(e, t) {
5317
5338
  let l = e[`offset${t}`], n = e.offsetParent;
5318
5339
  for (; n; )
5319
5340
  l += n[`offset${t}`], n = n.offsetParent;
5320
5341
  return l;
5321
5342
  }
5322
- const fa = {
5343
+ const _s = {
5323
5344
  mounted: (e, t) => {
5324
5345
  if (e === null || !t.value.dev)
5325
5346
  return;
@@ -5330,61 +5351,61 @@ const fa = {
5330
5351
  l.classList.add("devtool-hover");
5331
5352
  const n = document.createElement("i");
5332
5353
  n.className = "devtool-item-wrapper", l.onmouseover = () => {
5333
- 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";
5354
+ 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";
5334
5355
  };
5335
5356
  const o = document.createElement("span");
5336
5357
  o.className = "dev-action-edit", o.title = "编辑";
5337
- const s = document.createElement("i");
5338
- s.className = "iconfont ra-editor1", o.appendChild(s), o.onclick = (p) => {
5358
+ const a = document.createElement("i");
5359
+ a.className = "iconfont ra-editor1", o.appendChild(a), o.onclick = (p) => {
5339
5360
  K.emit("dev-action", { event: p, data: { type: "edit", devId: t.value.devId } });
5340
5361
  }, n.appendChild(o);
5341
- const a = document.createElement("span");
5342
- a.className = "dev-action-del", a.title = "删除";
5362
+ const s = document.createElement("span");
5363
+ s.className = "dev-action-del", s.title = "删除";
5343
5364
  const c = document.createElement("i");
5344
- c.className = "iconfont ra-cut", a.appendChild(c), a.onclick = (p) => {
5365
+ c.className = "iconfont ra-cut", s.appendChild(c), s.onclick = (p) => {
5345
5366
  K.emit("dev-action", { event: p, data: { type: "del", devId: t.value.devId } });
5346
- }, n.appendChild(a), l.insertBefore(n, l.firstChild);
5367
+ }, n.appendChild(s), l.insertBefore(n, l.firstChild);
5347
5368
  }
5348
- }, ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5369
+ }, ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5349
5370
  __proto__: null,
5350
- devtool: fa,
5351
- outClick: pa,
5352
- resize: ma,
5353
- rightClick: da
5371
+ devtool: _s,
5372
+ outClick: fs,
5373
+ resize: bs,
5374
+ rightClick: hs
5354
5375
  }, Symbol.toStringTag, { value: "Module" }));
5355
- let re;
5356
- function ki(e) {
5357
- return e ? je(A(de.axios, e)) : re;
5376
+ let ce;
5377
+ function Ei(e) {
5378
+ return e ? Ve(A(me.axios, e)) : ce;
5358
5379
  }
5359
- function wi(e) {
5360
- const t = A(de, e), l = Nt(Bl), n = wa(t), o = t.plugins || [];
5361
- o.unshift(n), o.forEach((s) => {
5362
- ka(l, s);
5363
- }), t != null && t.mock && ql(), re = je(t.axios), E.dispatch("setHttp", re).then(), E.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = re, l.config.globalProperties.$router = z, window.App = l, window.OmsOptions = t, $l(() => ({
5364
- "X-Token": Le()
5380
+ function $i(e) {
5381
+ const t = A(me, e), l = Nt(Al), n = Es(t), o = t.plugins || [];
5382
+ o.unshift(n), o.forEach((a) => {
5383
+ xs(l, a);
5384
+ }), t != null && t.mock && Ul(), ce = Ve(t.axios), E.dispatch("setHttp", ce).then(), E.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = ce, l.config.globalProperties.$router = z, window.App = l, window.OmsOptions = t, $l(() => ({
5385
+ "X-Token": De()
5365
5386
  })), z.isReady().then(() => l.mount("#app"));
5366
5387
  }
5367
- function ba(e, t = {}) {
5388
+ function vs(e, t = {}) {
5368
5389
  Object.keys(t).forEach((l) => {
5369
5390
  e.component(l, t[l]);
5370
5391
  });
5371
5392
  }
5372
- function _a(e = []) {
5393
+ function gs(e = []) {
5373
5394
  e.forEach((t) => {
5374
5395
  z.addRoute(t);
5375
5396
  }), E.commit("user/setCustomRoutes", e);
5376
5397
  }
5377
- function ya(e, t) {
5398
+ function ks(e, t) {
5378
5399
  t.forEach((l) => {
5379
5400
  X(l) && (l = [l]), e.use(...l);
5380
5401
  });
5381
5402
  }
5382
- function va(e, t = {}) {
5403
+ function ws(e, t = {}) {
5383
5404
  Object.keys(t).forEach((l) => {
5384
5405
  e.directive(l, t[l]);
5385
5406
  });
5386
5407
  }
5387
- function ga(e = {}) {
5408
+ function Ss(e = {}) {
5388
5409
  const t = ["app", "settings", "user"];
5389
5410
  Object.keys(e).forEach((l) => {
5390
5411
  if (t.indexOf(l) !== -1) {
@@ -5394,14 +5415,14 @@ function ga(e = {}) {
5394
5415
  E.registerModule(l, e[l]);
5395
5416
  });
5396
5417
  }
5397
- function ka(e, t) {
5398
- ba(e, t.components || {}), _a(t.routes || []), ya(e, t.use || []), va(e, t.directives || {}), ga(t.storeModules || {}), rt(t.mockApis || []);
5418
+ function xs(e, t) {
5419
+ vs(e, t.components || {}), gs(t.routes || []), ks(e, t.use || []), ws(e, t.directives || {}), Ss(t.storeModules || {}), rt(t.mockApis || []);
5399
5420
  }
5400
- function wa(e) {
5421
+ function Es(e) {
5401
5422
  var t;
5402
5423
  return {
5403
5424
  components: { VIcon: Il },
5404
- directives: ha,
5425
+ directives: ys,
5405
5426
  use: [
5406
5427
  E,
5407
5428
  z,
@@ -5410,23 +5431,23 @@ function wa(e) {
5410
5431
  };
5411
5432
  }
5412
5433
  export {
5413
- Go as BaseSso,
5414
- ye as Container,
5415
- Jo as DingTalk,
5434
+ Jo as BaseSso,
5435
+ ge as Container,
5436
+ zo as DingTalk,
5416
5437
  ht as Layout,
5417
5438
  P as MenuType,
5418
- Ql as Message,
5419
- Ue as MessageBox,
5439
+ Xl as Message,
5440
+ He as MessageBox,
5420
5441
  D as PageType,
5421
- Ko as allSso,
5422
- wi as createAdmin,
5442
+ Wo as allSso,
5443
+ $i as createAdmin,
5423
5444
  K as eventBus,
5424
- tn as getCmp,
5425
- re as http,
5426
- je as instance,
5427
- gi as regViews,
5428
- vi as setCmp,
5429
- la as transRemoteModules,
5430
- ki as useHttp
5445
+ ln as getCmp,
5446
+ ce as http,
5447
+ Ve as instance,
5448
+ xi as regViews,
5449
+ Si as setCmp,
5450
+ as as transRemoteModules,
5451
+ Ei as useHttp
5431
5452
  };
5432
5453
  //# sourceMappingURL=index.es.js.map