@okiss/oms 0.0.45 → 0.0.47

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,7 +1,7 @@
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
- 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 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 Ke, popScopeId as We, resolveDynamicComponent as Ze, normalizeProps as W, guardReactiveProps as Y, unref as k, withDirectives as ie, vModelText as he, resolveDirective as Pt, onMounted as Rt, isRef as Lt, getCurrentInstance as Mt, h as Dt, toRaw as jt, createApp as Nt } from "vue";
3
+ var D = (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 p, computed as M, createTextVNode as g, withCtx as r, TransitionGroup as Tt, createElementBlock as h, Fragment as E, renderList as O, toDisplayString as B, normalizeClass as H, renderSlot as le, mergeProps as F, createCommentVNode as $, toRefs as Bt, ref as L, normalizeStyle as Ot, createElementVNode as b, Transition as At, pushScopeId as Ke, popScopeId as We, resolveDynamicComponent as Ze, normalizeProps as G, guardReactiveProps as Y, unref as w, withDirectives as ie, vModelText as he, resolveDirective as Pt, onMounted as Rt, isRef as Lt, getCurrentInstance as Mt, h as Dt, toRaw as jt, createApp as Nt } from "vue";
5
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 be, isExternal as Ve, getQueryParam as Gt, createIFrame as Jt, strVarReplace as Q, obj2Param as zt, isObject as X, isString as $e, effectDataTrans as Kt, isArray as Ye } from "@okiss/utils";
6
6
  import _e from "mockjs";
7
7
  import Wt, { cloneDeep as y, merge as A, get as ne, unset as et } from "lodash";
@@ -12,8 +12,8 @@ import { createStore as Zt, useStore as lt, mapGetters as Ce } 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 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 Te, ElSelect as Oe, 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 Be, ElTree as Sl, ElCard as Ae } from "element-plus/es";
15
+ import { useRoute as ue, 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 pl, ElAside as ul, ElContainer as dl, ElDivider as nt, ElButton as pe, ElOption as Te, 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 Oe, ElTree as Sl, ElCard as Ae } 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 Pe, JsonView as Re, VTable as oe, VChart as El, setUploadHeaderHandle as $l, VIcon as Il } from "@okiss/vbtf";
36
+ import { VForm as z, VBtn as Pe, JsonView as Re, 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";
@@ -47,8 +47,8 @@ import { useEventListener as Tl } from "@vueuse/core";
47
47
  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
- import Ol from "vue3-markdown-it";
51
- import { MD5 as Bl } from "crypto-js";
50
+ import Bl from "vue3-markdown-it";
51
+ import { MD5 as Ol } from "crypto-js";
52
52
  import "element-plus/es/components/message/style/css";
53
53
  import ke from "nprogress";
54
54
  import "nprogress/nprogress.css";
@@ -72,8 +72,8 @@ const Al = /* @__PURE__ */ q({
72
72
  font-family: iconfont !important;
73
73
  }`));
74
74
  }), (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) => {
75
- const c = v("router-view");
76
- return i(), f(c);
75
+ const u = v("router-view");
76
+ return i(), m(u);
77
77
  };
78
78
  }
79
79
  });
@@ -773,8 +773,8 @@ function Ul() {
773
773
  Object.keys(we).forEach((e) => {
774
774
  const t = we[e], l = ct(t);
775
775
  _e.mock(l, t.method, function(n) {
776
- 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);
777
- return Ht(o, { type: a, query: c, data: p, response: m }), _e.mock(m);
776
+ const { url: o, type: a, body: s } = n, u = Ut(o), c = s ? JSON.parse(s) : {}, d = t.response({ query: u, data: c }), f = _e.mock(d);
777
+ return Ht(o, { type: a, query: u, data: c, response: f }), _e.mock(f);
778
778
  });
779
779
  }), console.log("%c ApiMock is stared! ", "background: #606060; color: #fff; padding: 4px 5px; border-radius: 1px;");
780
780
  }
@@ -783,10 +783,10 @@ function Me() {
783
783
  return N.get(Le) || "";
784
784
  }
785
785
  function Hl(e) {
786
- const t = new Date((/* @__PURE__ */ new Date()).getTime() + (E.state.settings.tokenExpire || 864e5));
786
+ const t = new Date((/* @__PURE__ */ new Date()).getTime() + (S.state.settings.tokenExpire || 864e5));
787
787
  return N.set(Le, e, { expires: t });
788
788
  }
789
- function ut() {
789
+ function pt() {
790
790
  return N.remove(Le);
791
791
  }
792
792
  const Fl = {
@@ -810,7 +810,7 @@ const Fl = {
810
810
  e.token = t, Hl(t);
811
811
  },
812
812
  removeToken(e) {
813
- e.token = "", ut();
813
+ e.token = "", pt();
814
814
  },
815
815
  updateRemoteRouter(e, t) {
816
816
  e.remoteRouter = t, e.isLodeRemoteRoutes = !0;
@@ -850,8 +850,8 @@ const Fl = {
850
850
  method: "POST",
851
851
  data: n
852
852
  }).then((s) => {
853
- var c;
854
- e("updateToken", (c = s.data) == null ? void 0 : c.token), o(!0);
853
+ var u;
854
+ e("updateToken", (u = s.data) == null ? void 0 : u.token), o(!0);
855
855
  }).catch((s) => {
856
856
  a(s);
857
857
  }) : a("http client not init");
@@ -866,9 +866,9 @@ const Fl = {
866
866
  url: "/user/info",
867
867
  method: "GET"
868
868
  }).then((o) => {
869
- var s, c, p, d, m;
869
+ var s, u, c, d, f;
870
870
  const a = ((s = o.data) == null ? void 0 : s.role_ids) || [];
871
- 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);
871
+ e("updateState", { key: "name", value: (u = o.data) == null ? void 0 : u.name }), e("updateState", { key: "nickname", value: (c = o.data) == null ? void 0 : c.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", (f = o.data) == null ? void 0 : f.name), l(!0);
872
872
  }).catch((o) => {
873
873
  n(o);
874
874
  }) : n("http client not init");
@@ -913,7 +913,8 @@ const Fl = {
913
913
  device: "desktop",
914
914
  pages: {},
915
915
  currentRouteMeta: {},
916
- builderSchema: {}
916
+ builderSchema: {},
917
+ baseURL: ""
917
918
  }, Wl = {
918
919
  namespaced: !0,
919
920
  state: Kl,
@@ -935,6 +936,9 @@ const Fl = {
935
936
  },
936
937
  SET_BUILDER_SCHEMA: (e, t) => {
937
938
  e.builderSchema = t;
939
+ },
940
+ SET_BASE_API: (e, t) => {
941
+ e.baseURL = t;
938
942
  }
939
943
  },
940
944
  actions: {
@@ -955,6 +959,9 @@ const Fl = {
955
959
  },
956
960
  setBuilderSchema({ commit: e }, t) {
957
961
  e("SET_BUILDER_SCHEMA", t);
962
+ },
963
+ setBaseAPI({ commit: e }, t) {
964
+ e("SET_BASE_API", t);
958
965
  }
959
966
  }
960
967
  }, Zl = {
@@ -973,7 +980,7 @@ const Fl = {
973
980
  e("SET_CURRENT_CELLITEM", t);
974
981
  }
975
982
  }
976
- }, E = Zt({
983
+ }, S = Zt({
977
984
  state: void 0,
978
985
  getters: {
979
986
  http: (e) => e.http,
@@ -1057,33 +1064,33 @@ const Fl = {
1057
1064
  onRejected(e) {
1058
1065
  return Promise.reject(e);
1059
1066
  }
1060
- }, pt = {};
1067
+ }, ut = {};
1061
1068
  function Si(e, t) {
1062
- pt[e] = t;
1069
+ ut[e] = t;
1063
1070
  }
1064
1071
  function ln(e) {
1065
- return pt[e];
1072
+ return ut[e];
1066
1073
  }
1067
1074
  const nn = /* @__PURE__ */ q({
1068
1075
  name: "Dashboard",
1069
1076
  setup() {
1070
- const e = ln("test");
1077
+ const e = ln("dashboard");
1071
1078
  if (e)
1072
- return () => u(e, null, null);
1073
- const t = lt(), l = j(() => t.getters.name);
1074
- return () => u("div", {
1079
+ return () => p(e, null, null);
1080
+ const t = lt(), l = M(() => t.getters.name);
1081
+ return () => p("div", {
1075
1082
  class: "dashboard-container"
1076
- }, [u("div", {
1083
+ }, [p("div", {
1077
1084
  class: "dashboard-text"
1078
1085
  }, [g("Hi "), l.value, g(" 😄")])]);
1079
1086
  }
1080
1087
  });
1081
- const $ = (e, t) => {
1088
+ const I = (e, t) => {
1082
1089
  const l = e.__vccOpts || e;
1083
1090
  for (const [n, o] of t)
1084
1091
  l[n] = o;
1085
1092
  return l;
1086
- }, on = /* @__PURE__ */ $(nn, [["__scopeId", "data-v-10e6b4b6"]]);
1093
+ }, on = /* @__PURE__ */ I(nn, [["__scopeId", "data-v-e9e66e35"]]);
1087
1094
  const an = {
1088
1095
  data() {
1089
1096
  return {
@@ -1132,22 +1139,22 @@ const an = {
1132
1139
  class: "no-redirect"
1133
1140
  }, rn = ["onClick"];
1134
1141
  function cn(e, t, l, n, o, a) {
1135
- const s = rl, c = cl;
1136
- return i(), f(c, {
1142
+ const s = rl, u = cl;
1143
+ return i(), m(u, {
1137
1144
  class: "app-breadcrumb",
1138
1145
  separator: "/"
1139
1146
  }, {
1140
1147
  default: r(() => [
1141
- u(Tt, { name: "breadcrumb" }, {
1148
+ p(Tt, { name: "breadcrumb" }, {
1142
1149
  default: r(() => [
1143
- (i(!0), h(S, null, B(o.levelList, (p, d) => (i(), f(s, {
1144
- key: p.path
1150
+ (i(!0), h(E, null, O(o.levelList, (c, d) => (i(), m(s, {
1151
+ key: c.path
1145
1152
  }, {
1146
1153
  default: r(() => [
1147
- 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", {
1154
+ c.path.indexOf("/DIR_") === 0 && c.redirect === void 0 || d === o.levelList.length - 1 ? (i(), h("span", sn, B(c.meta.title), 1)) : (i(), h("a", {
1148
1155
  key: 1,
1149
- onClick: (m) => a.handleLink(p)
1150
- }, O(p.meta.title), 9, rn))
1156
+ onClick: (f) => a.handleLink(c)
1157
+ }, B(c.meta.title), 9, rn))
1151
1158
  ]),
1152
1159
  _: 2
1153
1160
  }, 1024))), 128))
@@ -1158,7 +1165,7 @@ function cn(e, t, l, n, o, a) {
1158
1165
  _: 1
1159
1166
  });
1160
1167
  }
1161
- const un = /* @__PURE__ */ $(an, [["render", cn], ["__scopeId", "data-v-fa74804e"]]), pn = {
1168
+ const pn = /* @__PURE__ */ I(an, [["render", cn], ["__scopeId", "data-v-fa74804e"]]), un = {
1162
1169
  name: "Hamburger",
1163
1170
  props: {
1164
1171
  isActive: {
@@ -1177,27 +1184,27 @@ function dn(e, t, l, n, o, a) {
1177
1184
  const s = v("v-icon");
1178
1185
  return i(), h("div", {
1179
1186
  style: { padding: "0 15px" },
1180
- onClick: t[0] || (t[0] = (...c) => a.toggleClick && a.toggleClick(...c))
1187
+ onClick: t[0] || (t[0] = (...u) => a.toggleClick && a.toggleClick(...u))
1181
1188
  }, [
1182
- u(s, {
1189
+ p(s, {
1183
1190
  class: H({ "is-active": l.isActive }),
1184
1191
  name: "ra-leftalignment"
1185
1192
  }, null, 8, ["class"])
1186
1193
  ]);
1187
1194
  }
1188
- const mn = /* @__PURE__ */ $(pn, [["render", dn]]);
1195
+ const mn = /* @__PURE__ */ I(un, [["render", dn]]);
1189
1196
  const fn = {};
1190
1197
  function hn(e, t) {
1191
- const l = ae, n = ul, o = pl, a = dl;
1192
- return i(), f(a, { style: { width: "100%", height: "100%" } }, {
1198
+ const l = ae, n = pl, o = ul, a = dl;
1199
+ return i(), m(a, { style: { width: "100%", height: "100%" } }, {
1193
1200
  default: r(() => [
1194
- u(l, { class: "aside" }, {
1201
+ p(l, { class: "aside" }, {
1195
1202
  default: r(() => [
1196
1203
  le(e.$slots, "left-aside", {}, void 0, !0)
1197
1204
  ]),
1198
1205
  _: 3
1199
1206
  }),
1200
- u(n, {
1207
+ p(n, {
1201
1208
  class: "main",
1202
1209
  style: { margin: "0 10px" }
1203
1210
  }, {
@@ -1206,7 +1213,7 @@ function hn(e, t) {
1206
1213
  ]),
1207
1214
  _: 3
1208
1215
  }),
1209
- u(o, {
1216
+ p(o, {
1210
1217
  class: "aside",
1211
1218
  width: "350px",
1212
1219
  style: { padding: "20px" }
@@ -1220,7 +1227,7 @@ function hn(e, t) {
1220
1227
  _: 3
1221
1228
  });
1222
1229
  }
1223
- const dt = /* @__PURE__ */ $(fn, [["render", hn], ["__scopeId", "data-v-7c3d697b"]]), bn = {
1230
+ const dt = /* @__PURE__ */ I(fn, [["render", hn], ["__scopeId", "data-v-7c3d697b"]]), bn = {
1224
1231
  type: "input",
1225
1232
  name: "文本框",
1226
1233
  default: {
@@ -1917,7 +1924,7 @@ const ye = {
1917
1924
  Object.keys(Se).forEach((e) => {
1918
1925
  De.push({ value: e, label: Se[e].name });
1919
1926
  });
1920
- const On = {
1927
+ const Bn = {
1921
1928
  options: {
1922
1929
  submitButton: !1,
1923
1930
  cancelButton: !1
@@ -1949,8 +1956,8 @@ const On = {
1949
1956
  }
1950
1957
  }
1951
1958
  ]
1952
- }, Bn = {
1953
- components: { DevLayout: dt, VForm: J, VButton: Pe, JsonView: Re },
1959
+ }, On = {
1960
+ components: { DevLayout: dt, VForm: z, VButton: Pe, JsonView: Re },
1954
1961
  props: {
1955
1962
  schema: {
1956
1963
  type: Object,
@@ -1961,7 +1968,7 @@ const On = {
1961
1968
  data() {
1962
1969
  return {
1963
1970
  sqlOptions: {},
1964
- sqlSchema: On,
1971
+ sqlSchema: Bn,
1965
1972
  baseSchema: Tn,
1966
1973
  activeTab: "base",
1967
1974
  builderSchema: Object.assign(
@@ -2016,8 +2023,8 @@ const On = {
2016
2023
  const l = t ? t.type : "", n = this.ctrlMap[l], o = n.trans ? n.trans(e) : e;
2017
2024
  if (o && Object.keys(o).length > 0) {
2018
2025
  if (o.type = l, this.activeIndex.indexOf("[") > -1) {
2019
- const [a, s, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2020
- this.builderSchema[s][c] = { ...o };
2026
+ const [a, s, u] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2027
+ this.builderSchema[s][u] = { ...o };
2021
2028
  } else
2022
2029
  this.builderSchema[this.activeIndex] = o;
2023
2030
  this.key++;
@@ -2037,12 +2044,12 @@ const On = {
2037
2044
  }
2038
2045
  },
2039
2046
  beforeCreate() {
2040
- K.on("dev-action", ({ event: e, data: t }) => {
2047
+ W.on("dev-action", ({ event: e, data: t }) => {
2041
2048
  this.onDevAction(t.type, t.devId);
2042
2049
  });
2043
2050
  },
2044
2051
  unmounted() {
2045
- K.off("dev-action");
2052
+ W.off("dev-action");
2046
2053
  },
2047
2054
  methods: {
2048
2055
  onDevAction(e, t) {
@@ -2086,16 +2093,16 @@ const On = {
2086
2093
  }
2087
2094
  };
2088
2095
  function An(e, t, l, n, o, a) {
2089
- const s = v("v-form"), c = nt, p = ue, d = v("JsonView"), m = v("VButton"), _ = Te, T = Oe, w = ot, F = at, U = v("dev-layout");
2090
- return i(), f(U, null, {
2096
+ const s = v("v-form"), u = nt, c = pe, d = v("JsonView"), f = v("VButton"), _ = Te, k = Be, x = ot, J = at, U = v("dev-layout");
2097
+ return i(), m(U, null, {
2091
2098
  main: r(() => [
2092
- o.builderSchema.formItems ? (i(), f(s, G({
2099
+ o.builderSchema.formItems ? (i(), m(s, F({
2093
2100
  ref: "form",
2094
2101
  key: o.key,
2095
2102
  dev: !0
2096
- }, o.builderSchema), null, 16)) : x("", !0),
2097
- u(c),
2098
- u(p, {
2103
+ }, o.builderSchema), null, 16)) : $("", !0),
2104
+ p(u),
2105
+ p(c, {
2099
2106
  type: "primary",
2100
2107
  onClick: a.saveSchema
2101
2108
  }, {
@@ -2105,30 +2112,30 @@ function An(e, t, l, n, o, a) {
2105
2112
  _: 1
2106
2113
  }, 8, ["onClick"]),
2107
2114
  g("    "),
2108
- u(m, {
2115
+ p(f, {
2109
2116
  text: "PageSchema",
2110
2117
  type: "modal"
2111
2118
  }, {
2112
2119
  default: r(() => [
2113
- u(d, { data: a.getSaveSchema }, null, 8, ["data"])
2120
+ p(d, { data: a.getSaveSchema }, null, 8, ["data"])
2114
2121
  ]),
2115
2122
  _: 1
2116
2123
  })
2117
2124
  ]),
2118
2125
  "right-aside": r(() => [
2119
- o.activeIndex ? (i(), f(F, { key: 0 }, {
2126
+ o.activeIndex ? (i(), m(J, { key: 0 }, {
2120
2127
  default: r(() => [
2121
- u(w, { label: "控件类型" }, {
2128
+ p(x, { label: "控件类型" }, {
2122
2129
  default: r(() => [
2123
- u(T, {
2130
+ p(k, {
2124
2131
  modelValue: o.currentCtrlType,
2125
- "onUpdate:modelValue": t[0] || (t[0] = (C) => o.currentCtrlType = C)
2132
+ "onUpdate:modelValue": t[0] || (t[0] = (T) => o.currentCtrlType = T)
2126
2133
  }, {
2127
2134
  default: r(() => [
2128
- (i(!0), h(S, null, B(o.types, (C, Z) => (i(), f(_, {
2135
+ (i(!0), h(E, null, O(o.types, (T, Z) => (i(), m(_, {
2129
2136
  key: Z,
2130
- label: C.label,
2131
- value: C.value
2137
+ label: T.label,
2138
+ value: T.value
2132
2139
  }, null, 8, ["label", "value"]))), 128))
2133
2140
  ]),
2134
2141
  _: 1
@@ -2138,17 +2145,17 @@ function An(e, t, l, n, o, a) {
2138
2145
  })
2139
2146
  ]),
2140
2147
  _: 1
2141
- })) : x("", !0),
2142
- (i(), f(s, G({
2148
+ })) : $("", !0),
2149
+ (i(), m(s, F({
2143
2150
  key: o.ctrlKey,
2144
2151
  modelValue: o.ctrlOptions,
2145
- "onUpdate:modelValue": t[1] || (t[1] = (C) => o.ctrlOptions = C)
2152
+ "onUpdate:modelValue": t[1] || (t[1] = (T) => o.ctrlOptions = T)
2146
2153
  }, o.ctrlSchema), null, 16, ["modelValue"]))
2147
2154
  ]),
2148
2155
  _: 1
2149
2156
  });
2150
2157
  }
2151
- const Pn = /* @__PURE__ */ $(Bn, [["render", An], ["__scopeId", "data-v-875f0171"]]), Rn = {
2158
+ const Pn = /* @__PURE__ */ I(On, [["render", An], ["__scopeId", "data-v-875f0171"]]), Rn = {
2152
2159
  type: "input",
2153
2160
  name: "文本框",
2154
2161
  default: {
@@ -2849,7 +2856,7 @@ const Pn = /* @__PURE__ */ $(Bn, [["render", An], ["__scopeId", "data-v-875f0171
2849
2856
  table: Zn
2850
2857
  };
2851
2858
  const Xn = {
2852
- components: { JsonView: Re, DevLayout: dt, VTable: oe, VForm: J, VButton: Pe },
2859
+ components: { JsonView: Re, DevLayout: dt, VTable: oe, VForm: z, VButton: Pe },
2853
2860
  props: {
2854
2861
  schema: {
2855
2862
  type: Object,
@@ -2858,7 +2865,7 @@ const Xn = {
2858
2865
  }
2859
2866
  },
2860
2867
  data() {
2861
- const e = Ot(this.$props.schema);
2868
+ const e = Bt(this.$props.schema);
2862
2869
  return delete e.listApi, e.list = [{}], {
2863
2870
  baseSchema: He,
2864
2871
  activeTab: "base",
@@ -2928,8 +2935,8 @@ const Xn = {
2928
2935
  const o = n.trans ? n.trans(e) : e;
2929
2936
  if (o && Object.keys(o).length > 0) {
2930
2937
  if (o.type = l, this.activeIndex.indexOf("[") > -1) {
2931
- const [a, s, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2932
- this.builderSchema[s][c] = { ...o };
2938
+ const [a, s, u] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
2939
+ this.builderSchema[s][u] = { ...o };
2933
2940
  } else
2934
2941
  this.builderSchema[this.activeIndex] = o;
2935
2942
  this.key++;
@@ -2952,12 +2959,12 @@ const Xn = {
2952
2959
  }
2953
2960
  },
2954
2961
  beforeCreate() {
2955
- K.on("dev-action", ({ event: e, data: t }) => {
2962
+ W.on("dev-action", ({ event: e, data: t }) => {
2956
2963
  this.onDevAction(t.type, t.devId);
2957
2964
  });
2958
2965
  },
2959
2966
  unmounted() {
2960
- K.off("dev-action");
2967
+ W.off("dev-action");
2961
2968
  },
2962
2969
  methods: {
2963
2970
  updateBuilderSchema() {
@@ -3032,14 +3039,14 @@ const Xn = {
3032
3039
  }
3033
3040
  };
3034
3041
  function Yn(e, t, l, n, o, a) {
3035
- const s = de, c = ue, p = ae, d = v("v-table"), m = nt, _ = ue, T = v("JsonView"), w = v("VButton"), F = Te, U = Oe, C = ot, Z = at, xt = v("v-form"), Et = v("dev-layout");
3036
- return i(), f(Et, null, {
3042
+ const s = de, u = pe, c = ae, d = v("v-table"), f = nt, _ = pe, k = v("JsonView"), x = v("VButton"), J = Te, U = Be, T = ot, Z = at, xt = v("v-form"), Et = v("dev-layout");
3043
+ return i(), m(Et, null, {
3037
3044
  "left-aside": r(() => [
3038
- u(p, { style: { width: "200px" } }, {
3045
+ p(c, { style: { width: "200px" } }, {
3039
3046
  default: r(() => [
3040
- u(p, null, {
3047
+ p(c, null, {
3041
3048
  default: r(() => [
3042
- u(s, {
3049
+ p(s, {
3043
3050
  class: "title",
3044
3051
  "data-id": 22222
3045
3052
  }, {
@@ -3048,11 +3055,11 @@ function Yn(e, t, l, n, o, a) {
3048
3055
  ]),
3049
3056
  _: 1
3050
3057
  }),
3051
- u(s, { class: "ctrl" }, {
3058
+ p(s, { class: "ctrl" }, {
3052
3059
  default: r(() => [
3053
- u(c, {
3060
+ p(u, {
3054
3061
  class: "ctrl-btn",
3055
- onClick: t[0] || (t[0] = (I) => a.pushFilter("input"))
3062
+ onClick: t[0] || (t[0] = (C) => a.pushFilter("input"))
3056
3063
  }, {
3057
3064
  default: r(() => [
3058
3065
  g("文本框")
@@ -3062,11 +3069,11 @@ function Yn(e, t, l, n, o, a) {
3062
3069
  ]),
3063
3070
  _: 1
3064
3071
  }),
3065
- u(s, { class: "ctrl" }, {
3072
+ p(s, { class: "ctrl" }, {
3066
3073
  default: r(() => [
3067
- u(c, {
3074
+ p(u, {
3068
3075
  class: "ctrl-btn",
3069
- onClick: t[1] || (t[1] = (I) => a.pushFilter("select"))
3076
+ onClick: t[1] || (t[1] = (C) => a.pushFilter("select"))
3070
3077
  }, {
3071
3078
  default: r(() => [
3072
3079
  g("下拉框")
@@ -3076,11 +3083,11 @@ function Yn(e, t, l, n, o, a) {
3076
3083
  ]),
3077
3084
  _: 1
3078
3085
  }),
3079
- u(s, { class: "ctrl" }, {
3086
+ p(s, { class: "ctrl" }, {
3080
3087
  default: r(() => [
3081
- u(c, {
3088
+ p(u, {
3082
3089
  class: "ctrl-btn",
3083
- onClick: t[2] || (t[2] = (I) => a.pushFilter("date"))
3090
+ onClick: t[2] || (t[2] = (C) => a.pushFilter("date"))
3084
3091
  }, {
3085
3092
  default: r(() => [
3086
3093
  g("日期")
@@ -3093,25 +3100,25 @@ function Yn(e, t, l, n, o, a) {
3093
3100
  ]),
3094
3101
  _: 1
3095
3102
  }),
3096
- u(p, null, {
3103
+ p(c, null, {
3097
3104
  default: r(() => [
3098
- u(s, { class: "title" }, {
3105
+ p(s, { class: "title" }, {
3099
3106
  default: r(() => [
3100
3107
  g("添加列表项")
3101
3108
  ]),
3102
3109
  _: 1
3103
3110
  }),
3104
- (i(!0), h(S, null, B(Object.keys(o.ctrlMap.headers), (I, V) => (i(), f(s, {
3111
+ (i(!0), h(E, null, O(Object.keys(o.ctrlMap.headers), (C, V) => (i(), m(s, {
3105
3112
  key: `column-${V}`,
3106
3113
  class: "ctrl"
3107
3114
  }, {
3108
3115
  default: r(() => [
3109
- u(c, {
3116
+ p(u, {
3110
3117
  class: "ctrl-btn",
3111
- onClick: (fe) => a.pushHeaders(o.ctrlMap.headers[I].type)
3118
+ onClick: (fe) => a.pushHeaders(o.ctrlMap.headers[C].type)
3112
3119
  }, {
3113
3120
  default: r(() => [
3114
- g(O(o.ctrlMap.headers[I].name), 1)
3121
+ g(B(o.ctrlMap.headers[C].name), 1)
3115
3122
  ]),
3116
3123
  _: 2
3117
3124
  }, 1032, ["onClick"])
@@ -3121,25 +3128,25 @@ function Yn(e, t, l, n, o, a) {
3121
3128
  ]),
3122
3129
  _: 1
3123
3130
  }),
3124
- u(p, null, {
3131
+ p(c, null, {
3125
3132
  default: r(() => [
3126
- u(s, { class: "title" }, {
3133
+ p(s, { class: "title" }, {
3127
3134
  default: r(() => [
3128
3135
  g("添加行按钮")
3129
3136
  ]),
3130
3137
  _: 1
3131
3138
  }),
3132
- (i(!0), h(S, null, B(Object.keys(o.ctrlMap.buttons), (I, V) => (i(), f(s, {
3139
+ (i(!0), h(E, null, O(Object.keys(o.ctrlMap.buttons), (C, V) => (i(), m(s, {
3133
3140
  key: `column-${V}`,
3134
3141
  class: "ctrl"
3135
3142
  }, {
3136
3143
  default: r(() => [
3137
- u(c, {
3144
+ p(u, {
3138
3145
  class: "ctrl-btn",
3139
- onClick: (fe) => a.pushRowButton(o.ctrlMap.buttons[I].type)
3146
+ onClick: (fe) => a.pushRowButton(o.ctrlMap.buttons[C].type)
3140
3147
  }, {
3141
3148
  default: r(() => [
3142
- g(O(o.ctrlMap.buttons[I].name), 1)
3149
+ g(B(o.ctrlMap.buttons[C].name), 1)
3143
3150
  ]),
3144
3151
  _: 2
3145
3152
  }, 1032, ["onClick"])
@@ -3149,34 +3156,34 @@ function Yn(e, t, l, n, o, a) {
3149
3156
  ]),
3150
3157
  _: 1
3151
3158
  }),
3152
- u(p, null, {
3159
+ p(c, null, {
3153
3160
  default: r(() => [
3154
- u(s, { class: "title" }, {
3161
+ p(s, { class: "title" }, {
3155
3162
  default: r(() => [
3156
3163
  g("添加常规按钮")
3157
3164
  ]),
3158
3165
  _: 1
3159
3166
  }),
3160
- (i(!0), h(S, null, B(Object.keys(o.ctrlMap.buttons), (I, V) => (i(), f(s, {
3167
+ (i(!0), h(E, null, O(Object.keys(o.ctrlMap.buttons), (C, V) => (i(), m(s, {
3161
3168
  key: `column-${V}`,
3162
3169
  class: "ctrl"
3163
3170
  }, {
3164
3171
  default: r(() => [
3165
- u(c, {
3172
+ p(u, {
3166
3173
  class: "ctrl-btn",
3167
- onClick: (fe) => a.pushNormalButton(o.ctrlMap.buttons[I].type)
3174
+ onClick: (fe) => a.pushNormalButton(o.ctrlMap.buttons[C].type)
3168
3175
  }, {
3169
3176
  default: r(() => [
3170
- g(O(o.ctrlMap.buttons[I].name), 1)
3177
+ g(B(o.ctrlMap.buttons[C].name), 1)
3171
3178
  ]),
3172
3179
  _: 2
3173
3180
  }, 1032, ["onClick"])
3174
3181
  ]),
3175
3182
  _: 2
3176
3183
  }, 1024))), 128)),
3177
- u(s, { class: "ctrl" }, {
3184
+ p(s, { class: "ctrl" }, {
3178
3185
  default: r(() => [
3179
- u(c, { class: "ctrl-btn" }, {
3186
+ p(u, { class: "ctrl-btn" }, {
3180
3187
  default: r(() => [
3181
3188
  g("按钮组")
3182
3189
  ]),
@@ -3188,34 +3195,34 @@ function Yn(e, t, l, n, o, a) {
3188
3195
  ]),
3189
3196
  _: 1
3190
3197
  }),
3191
- u(p, null, {
3198
+ p(c, null, {
3192
3199
  default: r(() => [
3193
- u(s, { class: "title" }, {
3200
+ p(s, { class: "title" }, {
3194
3201
  default: r(() => [
3195
3202
  g("添加批量按钮")
3196
3203
  ]),
3197
3204
  _: 1
3198
3205
  }),
3199
- (i(!0), h(S, null, B(Object.keys(o.ctrlMap.buttons), (I, V) => (i(), f(s, {
3206
+ (i(!0), h(E, null, O(Object.keys(o.ctrlMap.buttons), (C, V) => (i(), m(s, {
3200
3207
  key: `column-${V}`,
3201
3208
  class: "ctrl"
3202
3209
  }, {
3203
3210
  default: r(() => [
3204
- u(c, {
3211
+ p(u, {
3205
3212
  class: "ctrl-btn",
3206
- onClick: (fe) => a.pushBatchButton(o.ctrlMap.buttons[I].type)
3213
+ onClick: (fe) => a.pushBatchButton(o.ctrlMap.buttons[C].type)
3207
3214
  }, {
3208
3215
  default: r(() => [
3209
- g(O(o.ctrlMap.buttons[I].name), 1)
3216
+ g(B(o.ctrlMap.buttons[C].name), 1)
3210
3217
  ]),
3211
3218
  _: 2
3212
3219
  }, 1032, ["onClick"])
3213
3220
  ]),
3214
3221
  _: 2
3215
3222
  }, 1024))), 128)),
3216
- u(s, { class: "ctrl" }, {
3223
+ p(s, { class: "ctrl" }, {
3217
3224
  default: r(() => [
3218
- u(c, { class: "ctrl-btn" }, {
3225
+ p(u, { class: "ctrl-btn" }, {
3219
3226
  default: r(() => [
3220
3227
  g("按钮组")
3221
3228
  ]),
@@ -3232,13 +3239,13 @@ function Yn(e, t, l, n, o, a) {
3232
3239
  })
3233
3240
  ]),
3234
3241
  main: r(() => [
3235
- (i(), f(d, G({
3242
+ (i(), m(d, F({
3236
3243
  ref: "table",
3237
3244
  key: o.key,
3238
3245
  dev: !0
3239
3246
  }, o.builderSchema), null, 16)),
3240
- u(m),
3241
- u(_, {
3247
+ p(f),
3248
+ p(_, {
3242
3249
  type: "primary",
3243
3250
  onClick: a.saveSchema
3244
3251
  }, {
@@ -3248,30 +3255,30 @@ function Yn(e, t, l, n, o, a) {
3248
3255
  _: 1
3249
3256
  }, 8, ["onClick"]),
3250
3257
  g("    "),
3251
- u(w, {
3258
+ p(x, {
3252
3259
  text: "PageSchema",
3253
3260
  type: "modal"
3254
3261
  }, {
3255
3262
  default: r(() => [
3256
- u(T, { data: a.getSaveSchema }, null, 8, ["data"])
3263
+ p(k, { data: a.getSaveSchema }, null, 8, ["data"])
3257
3264
  ]),
3258
3265
  _: 1
3259
3266
  })
3260
3267
  ]),
3261
3268
  "right-aside": r(() => [
3262
- o.activeIndex ? (i(), f(Z, { key: 0 }, {
3269
+ o.activeIndex ? (i(), m(Z, { key: 0 }, {
3263
3270
  default: r(() => [
3264
- u(C, { label: "控件类型" }, {
3271
+ p(T, { label: "控件类型" }, {
3265
3272
  default: r(() => [
3266
- u(U, {
3273
+ p(U, {
3267
3274
  modelValue: o.currentCtrlType,
3268
- "onUpdate:modelValue": t[3] || (t[3] = (I) => o.currentCtrlType = I)
3275
+ "onUpdate:modelValue": t[3] || (t[3] = (C) => o.currentCtrlType = C)
3269
3276
  }, {
3270
3277
  default: r(() => [
3271
- (i(!0), h(S, null, B(a.types, (I, V) => (i(), f(F, {
3278
+ (i(!0), h(E, null, O(a.types, (C, V) => (i(), m(J, {
3272
3279
  key: V,
3273
- label: I.label,
3274
- value: I.value
3280
+ label: C.label,
3281
+ value: C.value
3275
3282
  }, null, 8, ["label", "value"]))), 128))
3276
3283
  ]),
3277
3284
  _: 1
@@ -3281,34 +3288,34 @@ function Yn(e, t, l, n, o, a) {
3281
3288
  })
3282
3289
  ]),
3283
3290
  _: 1
3284
- })) : x("", !0),
3285
- (i(), f(xt, G({
3291
+ })) : $("", !0),
3292
+ (i(), m(xt, F({
3286
3293
  key: o.ctrlKey,
3287
3294
  modelValue: o.ctrlOptions,
3288
- "onUpdate:modelValue": t[4] || (t[4] = (I) => o.ctrlOptions = I)
3295
+ "onUpdate:modelValue": t[4] || (t[4] = (C) => o.ctrlOptions = C)
3289
3296
  }, o.ctrlSchema), null, 16, ["modelValue"]))
3290
3297
  ]),
3291
3298
  _: 1
3292
3299
  });
3293
3300
  }
3294
- const eo = /* @__PURE__ */ $(Xn, [["render", Yn], ["__scopeId", "data-v-e5209cb7"]]), to = {
3301
+ const eo = /* @__PURE__ */ I(Xn, [["render", Yn], ["__scopeId", "data-v-e5209cb7"]]), to = {
3295
3302
  name: "PageEditor",
3296
3303
  components: { FormBuilder: Pn, TableBuilder: eo },
3297
3304
  setup() {
3298
- const e = L(!1), t = L(1), l = "rtl", n = pe(), o = j(() => E.state.app.pages[n.path]);
3305
+ const e = L(!1), t = L(1), l = "rtl", n = ue(), o = M(() => S.state.app.pages[n.path]);
3299
3306
  return { show: e, key: t, direction: l, pageSchema: o };
3300
3307
  }
3301
3308
  };
3302
3309
  function lo(e, t, l, n, o, a) {
3303
- const s = v("VIcon"), c = v("form-builder"), p = v("table-builder"), d = st;
3304
- return i(), h(S, null, [
3305
- u(s, {
3310
+ const s = v("VIcon"), u = v("form-builder"), c = v("table-builder"), d = st;
3311
+ return i(), h(E, null, [
3312
+ p(s, {
3306
3313
  name: "ra-set",
3307
- onClick: t[0] || (t[0] = (m) => n.show = !n.show)
3314
+ onClick: t[0] || (t[0] = (f) => n.show = !n.show)
3308
3315
  }),
3309
- u(d, {
3316
+ p(d, {
3310
3317
  modelValue: n.show,
3311
- "onUpdate:modelValue": t[1] || (t[1] = (m) => n.show = m),
3318
+ "onUpdate:modelValue": t[1] || (t[1] = (f) => n.show = f),
3312
3319
  title: "页面设计",
3313
3320
  class: "my-drawer",
3314
3321
  direction: n.direction,
@@ -3317,23 +3324,23 @@ function lo(e, t, l, n, o, a) {
3317
3324
  "append-to-body": ""
3318
3325
  }, {
3319
3326
  default: r(() => [
3320
- n.pageSchema.formItems !== void 0 ? (i(), f(c, {
3327
+ n.pageSchema.formItems !== void 0 ? (i(), m(u, {
3321
3328
  key: 0,
3322
3329
  schema: n.pageSchema
3323
- }, null, 8, ["schema"])) : x("", !0),
3324
- n.pageSchema.headers !== void 0 ? (i(), f(p, {
3330
+ }, null, 8, ["schema"])) : $("", !0),
3331
+ n.pageSchema.headers !== void 0 ? (i(), m(c, {
3325
3332
  key: 1,
3326
3333
  schema: n.pageSchema
3327
- }, null, 8, ["schema"])) : x("", !0)
3334
+ }, null, 8, ["schema"])) : $("", !0)
3328
3335
  ]),
3329
3336
  _: 1
3330
3337
  }, 8, ["modelValue", "direction"])
3331
3338
  ], 64);
3332
3339
  }
3333
- const no = /* @__PURE__ */ $(to, [["render", lo]]);
3340
+ const no = /* @__PURE__ */ I(to, [["render", lo]]);
3334
3341
  const oo = {
3335
3342
  components: {
3336
- Breadcrumb: un,
3343
+ Breadcrumb: pn,
3337
3344
  Hamburger: mn,
3338
3345
  VButton: Pe,
3339
3346
  PageEditor: no
@@ -3417,49 +3424,49 @@ const oo = {
3417
3424
  }, ro = {
3418
3425
  class: "right-item-button",
3419
3426
  style: { padding: "0" }
3420
- }, co = { class: "user-info" }, uo = ["src"], po = { class: "user-name" };
3427
+ }, co = { class: "user-info" }, po = ["src"], uo = { class: "user-name" };
3421
3428
  function mo(e, t, l, n, o, a) {
3422
- 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;
3423
- return i(), f(C, {
3429
+ const s = v("hamburger"), u = v("breadcrumb"), c = de, d = v("VIcon"), f = v("PageEditor"), _ = v("v-button"), k = ml, x = fl, J = hl, U = st, T = ae;
3430
+ return i(), m(T, {
3424
3431
  ref: "header",
3425
3432
  class: "navbar",
3426
- style: Bt({ background: a.setting.envColor[a.user.env] })
3433
+ style: Ot({ background: a.setting.envColor[a.user.env] })
3427
3434
  }, {
3428
3435
  default: r(() => [
3429
- u(p, { span: 16 }, {
3436
+ p(c, { span: 16 }, {
3430
3437
  default: r(() => [
3431
- u(s, {
3438
+ p(s, {
3432
3439
  "is-active": e.sidebar.opened,
3433
3440
  class: "hamburger-container",
3434
3441
  onToggleClick: a.toggleSideBar
3435
3442
  }, null, 8, ["is-active", "onToggleClick"]),
3436
- u(c, { class: "breadcrumb-container" })
3443
+ p(u, { class: "breadcrumb-container" })
3437
3444
  ]),
3438
3445
  _: 1
3439
3446
  }),
3440
- u(p, { span: 8 }, {
3447
+ p(c, { span: 8 }, {
3441
3448
  default: r(() => [
3442
3449
  b("div", ao, [
3443
3450
  b("div", so, [
3444
- u(d, {
3451
+ p(d, {
3445
3452
  name: "ra-code",
3446
3453
  onClick: a.gotoMenuEdit
3447
3454
  }, null, 8, ["onClick"])
3448
3455
  ]),
3449
3456
  a.showPageJsonSchemaIcon ? (i(), h("div", io, [
3450
- u(m)
3451
- ])) : x("", !0),
3457
+ p(f)
3458
+ ])) : $("", !0),
3452
3459
  b("div", ro, [
3453
- u(_, { buttons: e.nav }, null, 8, ["buttons"])
3460
+ p(_, { buttons: e.nav }, null, 8, ["buttons"])
3454
3461
  ]),
3455
- u(F, {
3462
+ p(J, {
3456
3463
  class: "right-item",
3457
3464
  trigger: "click"
3458
3465
  }, {
3459
3466
  dropdown: r(() => [
3460
- u(w, { class: "user-dropdown" }, {
3467
+ p(x, { class: "user-dropdown" }, {
3461
3468
  default: r(() => [
3462
- u(T, {
3469
+ p(k, {
3463
3470
  icon: "oms-icon-index",
3464
3471
  onClick: t[0] || (t[0] = (Z) => e.$router.push("/"))
3465
3472
  }, {
@@ -3468,7 +3475,7 @@ function mo(e, t, l, n, o, a) {
3468
3475
  ]),
3469
3476
  _: 1
3470
3477
  }),
3471
- u(T, {
3478
+ p(k, {
3472
3479
  divided: "",
3473
3480
  icon: "el-icon-switch-button",
3474
3481
  onClick: a.logout
@@ -3488,9 +3495,9 @@ function mo(e, t, l, n, o, a) {
3488
3495
  src: e.avatar ? e.avatar : o.defaultAvatar,
3489
3496
  class: "user-avatar",
3490
3497
  alt: "头像"
3491
- }, null, 8, uo),
3498
+ }, null, 8, po),
3492
3499
  g(),
3493
- b("span", po, O(e.nickname || e.name), 1)
3500
+ b("span", uo, B(e.nickname || e.name), 1)
3494
3501
  ])
3495
3502
  ]),
3496
3503
  _: 1
@@ -3499,16 +3506,16 @@ function mo(e, t, l, n, o, a) {
3499
3506
  ]),
3500
3507
  _: 1
3501
3508
  }),
3502
- o.showJsonSchema ? (i(), f(U, {
3509
+ o.showJsonSchema ? (i(), m(U, {
3503
3510
  key: 0,
3504
3511
  "with-header": !1,
3505
3512
  size: "50%"
3506
- })) : x("", !0)
3513
+ })) : $("", !0)
3507
3514
  ]),
3508
3515
  _: 1
3509
3516
  }, 8, ["style"]);
3510
3517
  }
3511
- const fo = /* @__PURE__ */ $(oo, [["render", mo], ["__scopeId", "data-v-9d0fb088"]]);
3518
+ const fo = /* @__PURE__ */ I(oo, [["render", mo], ["__scopeId", "data-v-99b3c688"]]);
3512
3519
  const ho = {
3513
3520
  name: "SidebarLogo",
3514
3521
  props: {
@@ -3534,9 +3541,9 @@ function wo(e, t, l, n, o, a) {
3534
3541
  return i(), h("div", {
3535
3542
  class: H(["sidebar-logo-container", { collapse: l.collapse }])
3536
3543
  }, [
3537
- u(At, { name: "sidebarLogoFade" }, {
3544
+ p(At, { name: "sidebarLogoFade" }, {
3538
3545
  default: r(() => [
3539
- l.collapse ? (i(), f(s, {
3546
+ l.collapse ? (i(), m(s, {
3540
3547
  key: "collapse",
3541
3548
  class: "sidebar-logo-link",
3542
3549
  to: "/"
@@ -3546,11 +3553,11 @@ function wo(e, t, l, n, o, a) {
3546
3553
  key: 0,
3547
3554
  src: a.logo,
3548
3555
  class: "sidebar-logo"
3549
- }, null, 8, _o)) : (i(), h("h1", yo, O(a.title), 1)),
3556
+ }, null, 8, _o)) : (i(), h("h1", yo, B(a.title), 1)),
3550
3557
  vo
3551
3558
  ]),
3552
3559
  _: 1
3553
- })) : (i(), f(s, {
3560
+ })) : (i(), m(s, {
3554
3561
  key: "expand",
3555
3562
  class: "sidebar-logo-link",
3556
3563
  to: "/"
@@ -3560,8 +3567,8 @@ function wo(e, t, l, n, o, a) {
3560
3567
  key: 0,
3561
3568
  src: a.logo,
3562
3569
  class: "sidebar-logo"
3563
- }, null, 8, go)) : x("", !0),
3564
- b("h1", ko, O(a.title), 1)
3570
+ }, null, 8, go)) : $("", !0),
3571
+ b("h1", ko, B(a.title), 1)
3565
3572
  ]),
3566
3573
  _: 1
3567
3574
  }))
@@ -3570,7 +3577,7 @@ function wo(e, t, l, n, o, a) {
3570
3577
  })
3571
3578
  ], 2);
3572
3579
  }
3573
- const So = /* @__PURE__ */ $(ho, [["render", wo], ["__scopeId", "data-v-49084925"]]), xo = {
3580
+ const So = /* @__PURE__ */ I(ho, [["render", wo], ["__scopeId", "data-v-49084925"]]), xo = {
3574
3581
  props: {
3575
3582
  to: {
3576
3583
  type: String,
@@ -3604,14 +3611,14 @@ const So = /* @__PURE__ */ $(ho, [["render", wo], ["__scopeId", "data-v-49084925
3604
3611
  }
3605
3612
  };
3606
3613
  function Eo(e, t, l, n, o, a) {
3607
- return i(), f(Ze(a.compType(l.to)), W(Y(a.linkProps(l.to))), {
3614
+ return i(), m(Ze(a.compType(l.to)), G(Y(a.linkProps(l.to))), {
3608
3615
  default: r(() => [
3609
3616
  le(e.$slots, "default")
3610
3617
  ]),
3611
3618
  _: 3
3612
3619
  }, 16);
3613
3620
  }
3614
- const $o = /* @__PURE__ */ $(xo, [["render", Eo]]), Io = {
3621
+ const $o = /* @__PURE__ */ I(xo, [["render", Eo]]), Io = {
3615
3622
  computed: {
3616
3623
  // @ts-ignore
3617
3624
  device() {
@@ -3646,15 +3653,15 @@ const $o = /* @__PURE__ */ $(xo, [["render", Eo]]), Io = {
3646
3653
  setup(e) {
3647
3654
  return (t, l) => {
3648
3655
  const n = v("VIcon");
3649
- return i(), h(S, null, [
3650
- u(n, {
3656
+ return i(), h(E, null, [
3657
+ p(n, {
3651
3658
  name: e.meta.icon || "ra-all"
3652
3659
  }, null, 8, ["name"]),
3653
- b("span", Co, O(e.meta.title), 1)
3660
+ b("span", Co, B(e.meta.title), 1)
3654
3661
  ], 64);
3655
3662
  };
3656
3663
  }
3657
- }), Oo = {
3664
+ }), Bo = {
3658
3665
  name: "SidebarItem",
3659
3666
  components: {
3660
3667
  AppLink: $o,
@@ -3685,26 +3692,26 @@ const $o = /* @__PURE__ */ $(xo, [["render", Eo]]), Io = {
3685
3692
  }
3686
3693
  }
3687
3694
  }
3688
- }, Bo = {
3695
+ }, Oo = {
3689
3696
  key: 0,
3690
3697
  class: "menu-wrapper"
3691
3698
  };
3692
3699
  function Ao(e, t, l, n, o, a) {
3693
- const s = v("menu-content"), c = bl, p = v("app-link"), d = v("sidebar-item", !0), m = _l;
3694
- return l.item.hidden !== !1 ? (i(), h("div", Bo, [
3695
- l.item.meta && l.item.meta.menuType === 2 ? (i(), h(S, { key: 0 }, [
3696
- l.item.meta ? (i(), f(p, {
3700
+ const s = v("menu-content"), u = bl, c = v("app-link"), d = v("sidebar-item", !0), f = _l;
3701
+ return l.item.hidden !== !1 ? (i(), h("div", Oo, [
3702
+ l.item.meta && l.item.meta.menuType === 2 ? (i(), h(E, { key: 0 }, [
3703
+ l.item.meta ? (i(), m(c, {
3697
3704
  key: 0,
3698
3705
  to: l.to,
3699
3706
  "new-tab": l.item.meta.newTab
3700
3707
  }, {
3701
3708
  default: r(() => [
3702
- u(c, {
3709
+ p(u, {
3703
3710
  index: l.to,
3704
3711
  class: H({ "submenu-title-noDropdown": !l.isNest })
3705
3712
  }, {
3706
3713
  default: r(() => [
3707
- u(s, {
3714
+ p(s, {
3708
3715
  meta: l.item.meta
3709
3716
  }, null, 8, ["meta"])
3710
3717
  ]),
@@ -3712,31 +3719,31 @@ function Ao(e, t, l, n, o, a) {
3712
3719
  }, 8, ["index", "class"])
3713
3720
  ]),
3714
3721
  _: 1
3715
- }, 8, ["to", "new-tab"])) : x("", !0)
3716
- ], 64)) : l.item.meta && l.item.meta.menuType === 1 ? (i(), f(m, {
3722
+ }, 8, ["to", "new-tab"])) : $("", !0)
3723
+ ], 64)) : l.item.meta && l.item.meta.menuType === 1 ? (i(), m(f, {
3717
3724
  key: 1,
3718
3725
  ref: "subMenu",
3719
3726
  index: l.to,
3720
3727
  class: H({ "submenu-title-noDropdown": !l.isNest })
3721
3728
  }, {
3722
3729
  title: r(() => [
3723
- l.item.redirect && l.item.redirect !== "#" ? (i(), f(p, {
3730
+ l.item.redirect && l.item.redirect !== "#" ? (i(), m(c, {
3724
3731
  key: 0,
3725
3732
  to: l.to
3726
3733
  }, {
3727
3734
  default: r(() => [
3728
- u(s, {
3735
+ p(s, {
3729
3736
  meta: l.item.meta
3730
3737
  }, null, 8, ["meta"])
3731
3738
  ]),
3732
3739
  _: 1
3733
- }, 8, ["to"])) : (i(), f(s, {
3740
+ }, 8, ["to"])) : (i(), m(s, {
3734
3741
  key: 1,
3735
3742
  meta: l.item.meta
3736
3743
  }, null, 8, ["meta"]))
3737
3744
  ]),
3738
3745
  default: r(() => [
3739
- (i(!0), h(S, null, B(l.item.children, (_) => (i(), f(d, {
3746
+ (i(!0), h(E, null, O(l.item.children, (_) => (i(), m(d, {
3740
3747
  key: _.path,
3741
3748
  "is-nest": !0,
3742
3749
  item: _,
@@ -3745,10 +3752,10 @@ function Ao(e, t, l, n, o, a) {
3745
3752
  }, null, 8, ["item", "to"]))), 128))
3746
3753
  ]),
3747
3754
  _: 1
3748
- }, 8, ["index", "class"])) : x("", !0)
3749
- ])) : x("", !0);
3755
+ }, 8, ["index", "class"])) : $("", !0)
3756
+ ])) : $("", !0);
3750
3757
  }
3751
- const Po = /* @__PURE__ */ $(Oo, [["render", Ao]]);
3758
+ const Po = /* @__PURE__ */ I(Bo, [["render", Ao]]);
3752
3759
  function ft(e) {
3753
3760
  return e.filter((t) => {
3754
3761
  var l;
@@ -3788,8 +3795,8 @@ const Ro = {
3788
3795
  }
3789
3796
  };
3790
3797
  function Lo(e, t, l, n, o, a) {
3791
- const s = Te, c = yl, p = Oe;
3792
- return i(), f(p, {
3798
+ const s = Te, u = yl, c = Be;
3799
+ return i(), m(c, {
3793
3800
  modelValue: o.selected,
3794
3801
  "onUpdate:modelValue": t[0] || (t[0] = (d) => o.selected = d),
3795
3802
  filterable: "",
@@ -3798,28 +3805,28 @@ function Lo(e, t, l, n, o, a) {
3798
3805
  onChange: a.onselected
3799
3806
  }, {
3800
3807
  default: r(() => [
3801
- (i(!0), h(S, null, B(a.filterRoutes, (d) => (i(), h(S, {
3808
+ (i(!0), h(E, null, O(a.filterRoutes, (d) => (i(), h(E, {
3802
3809
  key: d.path
3803
3810
  }, [
3804
- d.children !== void 0 ? (i(), h(S, { key: 0 }, [
3805
- d.meta.menuType !== 0 ? (i(), f(c, {
3811
+ d.children !== void 0 ? (i(), h(E, { key: 0 }, [
3812
+ d.meta.menuType !== 0 ? (i(), m(u, {
3806
3813
  key: d.path + "-",
3807
3814
  label: d.meta.title
3808
3815
  }, {
3809
3816
  default: r(() => [
3810
- (i(!0), h(S, null, B(d.children, (m, _) => (i(), h(S, {
3811
- key: m.path
3817
+ (i(!0), h(E, null, O(d.children, (f, _) => (i(), h(E, {
3818
+ key: f.path
3812
3819
  }, [
3813
- d.meta.menuType !== 0 ? (i(), f(s, {
3820
+ d.meta.menuType !== 0 ? (i(), m(s, {
3814
3821
  key: 0,
3815
- label: (_ === d.children.length - 1 ? "└─" : "├─") + m.meta.title,
3816
- value: a.getJumpPath(m)
3817
- }, null, 8, ["label", "value"])) : x("", !0)
3822
+ label: (_ === d.children.length - 1 ? "└─" : "├─") + f.meta.title,
3823
+ value: a.getJumpPath(f)
3824
+ }, null, 8, ["label", "value"])) : $("", !0)
3818
3825
  ], 64))), 128))
3819
3826
  ]),
3820
3827
  _: 2
3821
- }, 1032, ["label"])) : x("", !0)
3822
- ], 64)) : (i(), f(s, {
3828
+ }, 1032, ["label"])) : $("", !0)
3829
+ ], 64)) : (i(), m(s, {
3823
3830
  key: 1,
3824
3831
  label: "" + d.meta.title,
3825
3832
  value: a.getJumpPath(d)
@@ -3829,8 +3836,8 @@ function Lo(e, t, l, n, o, a) {
3829
3836
  _: 1
3830
3837
  }, 8, ["modelValue", "onChange"]);
3831
3838
  }
3832
- const Mo = /* @__PURE__ */ $(Ro, [["render", Lo], ["__scopeId", "data-v-7a867c34"]]);
3833
- 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 || {}), R = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(R || {});
3839
+ const Mo = /* @__PURE__ */ I(Ro, [["render", Lo], ["__scopeId", "data-v-7a867c34"]]);
3840
+ var j = /* @__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))(j || {}), R = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(R || {});
3834
3841
  const Do = q({
3835
3842
  components: { SidebarItem: Po, Logo: So, SearchMenu: Mo },
3836
3843
  computed: {
@@ -3883,18 +3890,18 @@ const Do = q({
3883
3890
  }
3884
3891
  });
3885
3892
  function jo(e, t, l, n, o, a) {
3886
- const s = v("logo"), c = v("search-menu"), p = v("sidebar-item"), d = vl, m = gl;
3893
+ const s = v("logo"), u = v("search-menu"), c = v("sidebar-item"), d = vl, f = gl;
3887
3894
  return i(), h("div", {
3888
3895
  class: H({ "has-logo": e.showLogo })
3889
3896
  }, [
3890
- e.showLogo ? (i(), f(s, {
3897
+ e.showLogo ? (i(), m(s, {
3891
3898
  key: 0,
3892
3899
  collapse: e.isCollapse
3893
- }, null, 8, ["collapse"])) : x("", !0),
3894
- u(m, { "wrap-class": "scrollbar-wrapper" }, {
3900
+ }, null, 8, ["collapse"])) : $("", !0),
3901
+ p(f, { "wrap-class": "scrollbar-wrapper" }, {
3895
3902
  default: r(() => [
3896
- e.isCollapse ? x("", !0) : (i(), f(c, { key: 0 })),
3897
- u(d, {
3903
+ e.isCollapse ? $("", !0) : (i(), m(u, { key: 0 })),
3904
+ p(d, {
3898
3905
  "default-active": e.activeMenu,
3899
3906
  collapse: e.isCollapse,
3900
3907
  "background-color": e.variables.menuBg,
@@ -3905,13 +3912,13 @@ function jo(e, t, l, n, o, a) {
3905
3912
  mode: "vertical"
3906
3913
  }, {
3907
3914
  default: r(() => [
3908
- (i(!0), h(S, null, B(e.routes, (_, T) => (i(), h(S, {
3909
- key: T + "-module"
3915
+ (i(!0), h(E, null, O(e.routes, (_, k) => (i(), h(E, {
3916
+ key: k + "-module"
3910
3917
  }, [
3911
- (i(!0), h(S, null, B(e.filterRoute(_.routes), (w) => (i(), f(p, {
3912
- key: w.path,
3913
- item: w,
3914
- to: e.$router.resolve(w.redirect ? w.redirect : w).fullPath
3918
+ (i(!0), h(E, null, O(e.filterRoute(_.routes), (x) => (i(), m(c, {
3919
+ key: x.path,
3920
+ item: x,
3921
+ to: e.$router.resolve(x.redirect ? x.redirect : x).fullPath
3915
3922
  }, null, 8, ["item", "to"]))), 128))
3916
3923
  ], 64))), 128))
3917
3924
  ]),
@@ -3922,66 +3929,66 @@ function jo(e, t, l, n, o, a) {
3922
3929
  })
3923
3930
  ], 2);
3924
3931
  }
3925
- const No = /* @__PURE__ */ $(Do, [["render", jo], ["__scopeId", "data-v-d252f828"]]);
3932
+ const No = /* @__PURE__ */ I(Do, [["render", jo], ["__scopeId", "data-v-d252f828"]]);
3926
3933
  const Vo = { class: "app-main" }, qo = {
3927
3934
  __name: "AppMain",
3928
3935
  setup(e) {
3929
- const t = pe(), l = [], n = L(0);
3936
+ const t = ue(), l = [], n = L(0);
3930
3937
  return nl(() => {
3931
3938
  var o;
3932
3939
  (o = t.meta) != null && o.keepAlive && l.indexOf(t.name) && l.push(t.name), n.value++;
3933
3940
  }), (o, a) => {
3934
- const s = v("router-view"), c = kl;
3941
+ const s = v("router-view"), u = kl;
3935
3942
  return i(), h("section", Vo, [
3936
- (i(), f(s, {
3937
- key: o.$route.fullPath + k(n)
3943
+ (i(), m(s, {
3944
+ key: o.$route.fullPath + w(n)
3938
3945
  })),
3939
- u(c, { bottom: 50 })
3946
+ p(u, { bottom: 50 })
3940
3947
  ]);
3941
3948
  };
3942
3949
  }
3943
- }, Uo = /* @__PURE__ */ $(qo, [["__scopeId", "data-v-ca0f0d98"]]);
3950
+ }, Uo = /* @__PURE__ */ I(qo, [["__scopeId", "data-v-ca0f0d98"]]);
3944
3951
  const Ho = { class: "main-container" }, Fo = 992, Go = {
3945
3952
  __name: "index",
3946
3953
  setup(e) {
3947
- 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(() => ({
3954
+ const t = lt(), { body: l } = document, n = M(() => t.state.app.sidebar), o = M(() => t.state.app.device), a = M(() => t.state.settings.fixedHeader), s = M(() => ({
3948
3955
  hideSidebar: !n.value.opened,
3949
3956
  openSidebar: n.value.opened,
3950
3957
  withoutAnimation: n.value.withoutAnimation,
3951
3958
  mobile: o.value === "mobile"
3952
- })), c = () => l.getBoundingClientRect().width - 1 < Fo;
3959
+ })), u = () => l.getBoundingClientRect().width - 1 < Fo;
3953
3960
  Tl(window, "resize", () => d());
3954
- const p = () => {
3961
+ const c = () => {
3955
3962
  t.dispatch("app/closeSideBar", { withoutAnimation: !1 });
3956
3963
  }, d = () => {
3957
3964
  if (!document.hidden) {
3958
- const m = c();
3959
- t.dispatch("app/toggleDevice", m ? "mobile" : "desktop"), m && t.dispatch("app/closeSideBar", { withoutAnimation: !0 });
3965
+ const f = u();
3966
+ t.dispatch("app/toggleDevice", f ? "mobile" : "desktop"), f && t.dispatch("app/closeSideBar", { withoutAnimation: !0 });
3960
3967
  }
3961
3968
  };
3962
- return (m, _) => (i(), h("div", {
3963
- class: H([k(s), "app-wrapper"])
3969
+ return (f, _) => (i(), h("div", {
3970
+ class: H([w(s), "app-wrapper"])
3964
3971
  }, [
3965
- k(o) === "mobile" && k(n).opened ? (i(), h("div", {
3972
+ w(o) === "mobile" && w(n).opened ? (i(), h("div", {
3966
3973
  key: 0,
3967
3974
  class: "drawer-bg",
3968
- onClick: p
3969
- })) : x("", !0),
3970
- u(k(No), { class: "sidebar-container" }),
3975
+ onClick: c
3976
+ })) : $("", !0),
3977
+ p(w(No), { class: "sidebar-container" }),
3971
3978
  b("div", Ho, [
3972
3979
  b("div", {
3973
- class: H({ "fixed-header": k(a) })
3980
+ class: H({ "fixed-header": w(a) })
3974
3981
  }, [
3975
- u(k(fo))
3982
+ p(w(fo))
3976
3983
  ], 2),
3977
- u(k(Uo))
3984
+ p(w(Uo))
3978
3985
  ])
3979
3986
  ], 2));
3980
3987
  }
3981
- }, ht = /* @__PURE__ */ $(Go, [["__scopeId", "data-v-957442cd"]]);
3988
+ }, ht = /* @__PURE__ */ I(Go, [["__scopeId", "data-v-957442cd"]]);
3982
3989
  class Jo {
3983
3990
  constructor() {
3984
- M(this, "type", "qrcode");
3991
+ D(this, "type", "qrcode");
3985
3992
  }
3986
3993
  flag() {
3987
3994
  }
@@ -3994,14 +4001,14 @@ class Jo {
3994
4001
  class zo extends Jo {
3995
4002
  constructor(l) {
3996
4003
  super();
3997
- M(this, "type", "qrcode");
3998
- M(this, "qrCodeUrl", "https://login.dingtalk.com/login/qrcode.htm?goto={goto}&style={style}");
3999
- M(this, "reloadUrl", "https://oapi.dingtalk.com/connect/oauth2/sns_authorize?response_type=code&scope=snsapi_login&state=&appid={appid}&redirect_uri={redirect_uri}");
4000
- M(this, "elId", "");
4001
- M(this, "appid", "");
4002
- M(this, "iframe", new HTMLIFrameElement());
4003
- M(this, "redirectUri", "");
4004
- M(this, "style", "");
4004
+ D(this, "type", "qrcode");
4005
+ D(this, "qrCodeUrl", "https://login.dingtalk.com/login/qrcode.htm?goto={goto}&style={style}");
4006
+ D(this, "reloadUrl", "https://oapi.dingtalk.com/connect/oauth2/sns_authorize?response_type=code&scope=snsapi_login&state=&appid={appid}&redirect_uri={redirect_uri}");
4007
+ D(this, "elId", "");
4008
+ D(this, "appid", "");
4009
+ D(this, "iframe", new HTMLIFrameElement());
4010
+ D(this, "redirectUri", "");
4011
+ D(this, "style", "");
4005
4012
  }
4006
4013
  flag() {
4007
4014
  const l = Gt("code");
@@ -4022,8 +4029,8 @@ class zo extends Jo {
4022
4029
  };
4023
4030
  return Q(this.qrCodeUrl, a);
4024
4031
  }, o = (a) => {
4025
- const { origin: s, data: c } = a;
4026
- s === "https://login.dingtalk.com" && (window.location.href = l({ loginTmpCode: c }));
4032
+ const { origin: s, data: u } = a;
4033
+ s === "https://login.dingtalk.com" && (window.location.href = l({ loginTmpCode: u }));
4027
4034
  };
4028
4035
  this.iframe.src = n(), Jt({ elId: this.elId, attrs: this.iframe }), typeof window.addEventListener < "u" ? window.addEventListener(
4029
4036
  "message",
@@ -4036,76 +4043,76 @@ const Ko = {
4036
4043
  dingtalk: (e) => new zo(e)
4037
4044
  };
4038
4045
  function Wo() {
4039
- return A(E.state.settings.sso || {}, Ko);
4046
+ return A(S.state.settings.sso || {}, Ko);
4040
4047
  }
4041
4048
  function Zo(e) {
4042
- const t = Wo(), l = E.state.settings.activeSsoKey || "", n = t[l];
4049
+ const t = Wo(), l = S.state.settings.activeSsoKey || "", n = t[l];
4043
4050
  if (n !== void 0)
4044
4051
  return n(e);
4045
4052
  }
4046
4053
  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({
4047
4054
  __name: "login",
4048
4055
  setup(e) {
4049
- 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({
4056
+ const t = ol(), l = ue(), n = M(() => S.state.settings.loginTips), o = M(() => (console.log(S.state.app), S.state.app.baseURL)), a = L(0), s = () => a.value++, u = M(() => c.value.username.length > 0 && c.value.password.length >= 4 && c.value.captcha.length === 4), c = L({
4050
4057
  username: "",
4051
4058
  password: "",
4052
4059
  captcha: "",
4053
4060
  sing: ""
4054
- }), p = () => {
4061
+ }), d = () => {
4055
4062
  if (c.value.username === "" || c.value.password === "" || c.value.captcha === "") {
4056
4063
  wl.error("用户名, 密码, 验证码是必须的");
4057
4064
  return;
4058
4065
  }
4059
- c.value.sing = Bl(`${c.value.username}${c.value.password}${c.value.captcha}`).toString(), E.dispatch("user/login", c.value).then((d) => {
4060
- var m;
4061
- t.push({ path: ((m = l.query) == null ? void 0 : m.redirect) || "/" });
4066
+ c.value.sing = Ol(`${c.value.username}${c.value.password}${c.value.captcha}`).toString(), S.dispatch("user/login", c.value).then((f) => {
4067
+ var _;
4068
+ t.push({ path: ((_ = l.query) == null ? void 0 : _.redirect) || "/" });
4062
4069
  });
4063
4070
  };
4064
- return L(), (d, m) => (i(), h("div", Qo, [
4071
+ return L(), (f, _) => (i(), h("div", Qo, [
4065
4072
  Xo,
4066
4073
  b("form", Yo, [
4067
4074
  ie(b("input", {
4068
- "onUpdate:modelValue": m[0] || (m[0] = (_) => k(c).username = _),
4075
+ "onUpdate:modelValue": _[0] || (_[0] = (k) => w(c).username = k),
4069
4076
  type: "text",
4070
4077
  placeholder: "用户名",
4071
4078
  class: "input"
4072
4079
  }, null, 512), [
4073
- [he, k(c).username]
4080
+ [he, w(c).username]
4074
4081
  ]),
4075
4082
  ie(b("input", {
4076
- "onUpdate:modelValue": m[1] || (m[1] = (_) => k(c).password = _),
4083
+ "onUpdate:modelValue": _[1] || (_[1] = (k) => w(c).password = k),
4077
4084
  type: "password",
4078
4085
  placeholder: "密码",
4079
4086
  class: "input"
4080
4087
  }, null, 512), [
4081
- [he, k(c).password]
4088
+ [he, w(c).password]
4082
4089
  ]),
4083
4090
  b("div", ea, [
4084
4091
  ie(b("input", {
4085
- "onUpdate:modelValue": m[2] || (m[2] = (_) => k(c).captcha = _),
4092
+ "onUpdate:modelValue": _[2] || (_[2] = (k) => w(c).captcha = k),
4086
4093
  type: "text",
4087
4094
  placeholder: "验证码",
4088
4095
  class: "input-captcha"
4089
4096
  }, null, 512), [
4090
- [he, k(c).captcha]
4097
+ [he, w(c).captcha]
4091
4098
  ]),
4092
4099
  b("img", {
4093
4100
  class: "captcha-img",
4094
- src: "/xapi/user/captcha?ts=" + k(o),
4101
+ src: o.value + "/user/captcha?ts=" + w(a),
4095
4102
  title: "点击刷新",
4096
- onClick: a
4103
+ onClick: s
4097
4104
  }, null, 8, ta)
4098
4105
  ]),
4099
4106
  b("div", {
4100
- class: H({ input: !0, button: !0, "no-ready": !s.value }),
4101
- onClick: p
4107
+ class: H({ input: !0, button: !0, "no-ready": !u.value }),
4108
+ onClick: d
4102
4109
  }, "登录", 2),
4103
4110
  b("div", la, [
4104
- b("div", null, O(n.value), 1)
4111
+ b("div", null, B(n.value), 1)
4105
4112
  ]),
4106
4113
  b("div", na, [
4107
4114
  oa,
4108
- (i(!0), h(S, null, B(Object.keys([]), (_) => (i(), h("div", { key: _ }, O(_), 1))), 128))
4115
+ (i(!0), h(E, null, O(Object.keys([]), (k) => (i(), h("div", { key: k }, B(k), 1))), 128))
4109
4116
  ])
4110
4117
  ])
4111
4118
  ]));
@@ -4177,14 +4184,14 @@ const sa = {
4177
4184
  }, "Go to Home Page")
4178
4185
  ])
4179
4186
  ])
4180
- ], -1)), ua = [
4187
+ ], -1)), pa = [
4181
4188
  ra,
4182
4189
  ca
4183
4190
  ];
4184
- function pa(e, t, l, n, o, a) {
4185
- return i(), h("div", ia, ua);
4191
+ function ua(e, t, l, n, o, a) {
4192
+ return i(), h("div", ia, pa);
4186
4193
  }
4187
- const da = /* @__PURE__ */ $(sa, [["render", pa], ["__scopeId", "data-v-26068803"]]), ma = [
4194
+ const da = /* @__PURE__ */ I(sa, [["render", ua], ["__scopeId", "data-v-26068803"]]), ma = [
4188
4195
  {
4189
4196
  path: "/",
4190
4197
  component: ht,
@@ -4214,7 +4221,7 @@ const da = /* @__PURE__ */ $(sa, [["render", pa], ["__scopeId", "data-v-26068803
4214
4221
  meta: { menuType: 0 },
4215
4222
  hidden: !0
4216
4223
  }
4217
- ], z = al({
4224
+ ], K = al({
4218
4225
  history: sl(),
4219
4226
  routes: ma
4220
4227
  });
@@ -4223,30 +4230,30 @@ function fa(e) {
4223
4230
  e.beforeEach((t, l, n) => {
4224
4231
  ke.start(), t.preHash = location.hash.replace("#", ""), n();
4225
4232
  }), e.afterEach((t) => {
4226
- t.matched.length > 0 && E.commit("user/updateState", {
4233
+ t.matched.length > 0 && S.commit("user/updateState", {
4227
4234
  key: "path",
4228
4235
  value: t.matched[t.matched.length - 1].path.replace("(\\d+)", "")
4229
4236
  }), ke.done();
4230
4237
  });
4231
4238
  }
4232
4239
  function ha() {
4233
- return E.state.user.isLodeRemoteRoutes;
4240
+ return S.state.user.isLodeRemoteRoutes;
4234
4241
  }
4235
4242
  function _t() {
4236
- return E.state.settings.whiteRoutes || [];
4243
+ return S.state.settings.whiteRoutes || [];
4237
4244
  }
4238
4245
  function ba() {
4239
- return E.state.user.token;
4246
+ return S.state.user.token;
4240
4247
  }
4241
4248
  function _a(e) {
4242
4249
  e.beforeEach(async (t, l, n) => {
4243
- var p, d;
4250
+ var c, d;
4244
4251
  if (_t().indexOf(t.path) !== -1) {
4245
4252
  n();
4246
4253
  return;
4247
4254
  }
4248
4255
  if (ba()) {
4249
- (p = t.query) != null && p.redirect ? n((d = t.query) == null ? void 0 : d.redirect) : n();
4256
+ (c = t.query) != null && c.redirect ? n((d = t.query) == null ? void 0 : d.redirect) : n();
4250
4257
  return;
4251
4258
  }
4252
4259
  const a = t.query.redirect || t.path, s = Zo({});
@@ -4254,8 +4261,8 @@ function _a(e) {
4254
4261
  n(`/login?redirect=${a}`);
4255
4262
  return;
4256
4263
  }
4257
- const c = s.flag();
4258
- if (c && await E.dispatch("user/login", { ticket: c })) {
4264
+ const u = s.flag();
4265
+ if (u && await S.dispatch("user/login", { ticket: u })) {
4259
4266
  n();
4260
4267
  return;
4261
4268
  }
@@ -4268,7 +4275,7 @@ const ya = {}, va = { class: "loading preloader" }, ga = /* @__PURE__ */ b("div"
4268
4275
  function wa(e, t) {
4269
4276
  return i(), h("div", va, ka);
4270
4277
  }
4271
- const yt = /* @__PURE__ */ $(ya, [["render", wa]]), Sa = {
4278
+ const yt = /* @__PURE__ */ I(ya, [["render", wa]]), Sa = {
4272
4279
  name: "VNotice",
4273
4280
  props: {
4274
4281
  dataApi: {
@@ -4283,30 +4290,27 @@ const yt = /* @__PURE__ */ $(ya, [["render", wa]]), Sa = {
4283
4290
  },
4284
4291
  data() {
4285
4292
  return {
4286
- title: "",
4293
+ noticeProps: {},
4287
4294
  hasNotice: !1
4288
4295
  };
4289
4296
  },
4290
- beforeCreate() {
4291
- if (this.$props.dataApi) {
4297
+ mounted() {
4298
+ if (console.log("dataApi", !!this.$props.dataApi), this.$props.dataApi) {
4292
4299
  this.$http.get(this.$props.dataApi).then(({ data: e }) => {
4293
- this.title = e.title, this.hasNotice = !!e.title;
4300
+ this.noticeProps = e, this.hasNotice = !!e;
4294
4301
  });
4295
4302
  return;
4296
4303
  } else
4297
- this.title = this.notice.title;
4304
+ this.hasNotice = Object.keys(this.$props.notice).length > 0, this.noticeProps = this.$props.notice;
4298
4305
  }
4299
4306
  };
4300
4307
  function xa(e, t, l, n, o, a) {
4301
- const s = Be;
4308
+ const s = Oe;
4302
4309
  return i(), h("div", null, [
4303
- o.hasNotice ? (i(), f(s, {
4304
- key: 0,
4305
- title: o.title
4306
- }, null, 8, ["title"])) : x("", !0)
4310
+ o.hasNotice ? (i(), m(s, G(F({ key: 0 }, o.noticeProps)), null, 16)) : $("", !0)
4307
4311
  ]);
4308
4312
  }
4309
- const vt = /* @__PURE__ */ $(Sa, [["render", xa]]), Ea = q({
4313
+ const vt = /* @__PURE__ */ I(Sa, [["render", xa]]), Ea = q({
4310
4314
  components: { VLoading: yt, VNotice: vt },
4311
4315
  props: {
4312
4316
  schemaHandler: {
@@ -4344,37 +4348,37 @@ const vt = /* @__PURE__ */ $(Sa, [["render", xa]]), Ea = q({
4344
4348
  this.$http.get(this.$props.schemaApi || l, n).then(({ data: o }) => {
4345
4349
  this.loading = !1, X(o) && (o.notice !== void 0 && (this.haveNotice = !0, $e(o.notice) ? this.notice = {
4346
4350
  title: o.notice
4347
- } : 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 });
4351
+ } : 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), S.commit("app/SET_PAGE_JSON_SCHEMA", { page: this.$route.path, json: this.schema });
4348
4352
  });
4349
4353
  }
4350
4354
  });
4351
4355
  const $a = ["innerHTML"];
4352
4356
  function Ia(e, t, l, n, o, a) {
4353
- const s = Be, c = vt, p = yt;
4354
- return i(), h(S, null, [
4355
- e.owners.length > 0 ? (i(), f(s, {
4357
+ const s = Oe, u = vt, c = yt;
4358
+ return i(), h(E, null, [
4359
+ e.owners.length > 0 ? (i(), m(s, {
4356
4360
  key: 0,
4357
4361
  title: `该页面功能对应开发: [ ${e.owners.join(", ")} ] 有问题可直接企微反馈`,
4358
4362
  type: "info",
4359
4363
  style: { margin: "0 0 20px 0" },
4360
4364
  closable: !1
4361
- }, null, 8, ["title"])) : x("", !0),
4365
+ }, null, 8, ["title"])) : $("", !0),
4362
4366
  e.env === "prod" && e.serviceOffLine ? (i(), h("div", {
4363
4367
  key: 1,
4364
4368
  class: "offline-notice",
4365
4369
  innerHTML: e.serviceOffLine === !0 ? e.setting.serviceOffLineNotice : e.serviceOffLine
4366
- }, null, 8, $a)) : (i(), h(S, { key: 2 }, [
4367
- e.haveNotice ? (i(), f(c, {
4370
+ }, null, 8, $a)) : (i(), h(E, { key: 2 }, [
4371
+ e.haveNotice ? (i(), m(u, {
4368
4372
  key: 0,
4369
4373
  notice: e.notice,
4370
4374
  style: { margin: "0 0 20px 0" },
4371
4375
  "data-api": e.noticeApi
4372
- }, null, 8, ["notice", "data-api"])) : x("", !0),
4373
- e.loading ? (i(), f(p, { key: 1 })) : le(e.$slots, "default", W(G({ key: 2 }, e.schema)), void 0, !0)
4376
+ }, null, 8, ["notice", "data-api"])) : $("", !0),
4377
+ e.loading ? (i(), m(c, { key: 1 })) : le(e.$slots, "default", G(F({ key: 2 }, e.schema)), void 0, !0)
4374
4378
  ], 64))
4375
4379
  ], 64);
4376
4380
  }
4377
- const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8"]]), gt = {
4381
+ const se = /* @__PURE__ */ I(Ea, [["render", Ia], ["__scopeId", "data-v-4965a709"]]), gt = {
4378
4382
  __name: "table",
4379
4383
  setup(e) {
4380
4384
  const t = (l, n) => {
@@ -4390,9 +4394,9 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4390
4394
  o.indexOf(a) === -1 && delete l[a];
4391
4395
  }), l.listApi === void 0 && (l.listApi = `/${n}/list`), l;
4392
4396
  };
4393
- return (l, n) => (i(), f(se, { "schema-handler": t }, {
4397
+ return (l, n) => (i(), m(se, { "schema-handler": t }, {
4394
4398
  default: r((o) => [
4395
- u(k(oe), W(Y(o)), null, 16)
4399
+ p(w(oe), G(Y(o)), null, 16)
4396
4400
  ]),
4397
4401
  _: 1
4398
4402
  }));
@@ -4400,8 +4404,8 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4400
4404
  }, xe = {
4401
4405
  __name: "form",
4402
4406
  setup(e) {
4403
- const t = pe(), l = (n, o) => {
4404
- const a = Object.keys(J.props);
4407
+ const t = ue(), l = (n, o) => {
4408
+ const a = Object.keys(z.props);
4405
4409
  return Object.keys(n).forEach((s) => {
4406
4410
  if (a.indexOf(s) === -1) {
4407
4411
  delete n[s];
@@ -4415,9 +4419,9 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4415
4419
  mod: t.params.id ? "edit" : "create"
4416
4420
  }, n), n;
4417
4421
  };
4418
- return (n, o) => (i(), f(se, { "schema-handler": l }, {
4422
+ return (n, o) => (i(), m(se, { "schema-handler": l }, {
4419
4423
  default: r((a) => [
4420
- u(k(J), W(Y(a)), null, 16)
4424
+ p(w(z), G(Y(a)), null, 16)
4421
4425
  ]),
4422
4426
  _: 1
4423
4427
  }));
@@ -4425,7 +4429,7 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4425
4429
  }, Ca = q({
4426
4430
  name: "VTree",
4427
4431
  components: {
4428
- VForm: J
4432
+ VForm: z
4429
4433
  },
4430
4434
  props: {
4431
4435
  treeApi: {
@@ -4565,27 +4569,27 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4565
4569
  }
4566
4570
  }
4567
4571
  });
4568
- const Ta = { class: "card-header" }, Oa = /* @__PURE__ */ b("span", null, "列表", -1), Ba = { class: "tree-action" }, Aa = { key: 0 }, Pa = {
4572
+ const Ta = { class: "card-header" }, Ba = /* @__PURE__ */ b("span", null, "列表", -1), Oa = { class: "tree-action" }, Aa = { key: 0 }, Pa = {
4569
4573
  key: 1,
4570
4574
  style: { color: "#E6A23C" }
4571
4575
  }, Ra = { class: "card-header" };
4572
4576
  function La(e, t, l, n, o, a) {
4573
- const s = ue, c = Sl, p = Ae, d = de, m = v("v-form"), _ = ae;
4574
- return i(), f(_, {
4577
+ const s = pe, u = Sl, c = Ae, d = de, f = v("v-form"), _ = ae;
4578
+ return i(), m(_, {
4575
4579
  class: "tree-box",
4576
4580
  gutter: 20
4577
4581
  }, {
4578
4582
  default: r(() => [
4579
- u(d, {
4583
+ p(d, {
4580
4584
  span: 8,
4581
4585
  class: "tree-tree"
4582
4586
  }, {
4583
4587
  default: r(() => [
4584
- u(p, { shadow: "never" }, {
4588
+ p(c, { shadow: "never" }, {
4585
4589
  header: r(() => [
4586
4590
  b("div", Ta, [
4587
- Oa,
4588
- u(s, {
4591
+ Ba,
4592
+ p(s, {
4589
4593
  type: "text",
4590
4594
  onClick: t[0] || (t[0] = () => e.appendNew())
4591
4595
  }, {
@@ -4597,7 +4601,7 @@ function La(e, t, l, n, o, a) {
4597
4601
  ])
4598
4602
  ]),
4599
4603
  default: r(() => [
4600
- (e.treeData || []).length > 0 ? (i(), f(c, G({
4604
+ (e.treeData || []).length > 0 ? (i(), m(u, F({
4601
4605
  key: 0,
4602
4606
  style: { height: "100vh" },
4603
4607
  data: e.treeData,
@@ -4608,77 +4612,77 @@ function La(e, t, l, n, o, a) {
4608
4612
  "allow-drop": e.allowDrop,
4609
4613
  onNodeDragEnd: e.handleDragEnd
4610
4614
  }), {
4611
- default: r(({ node: T, data: w }) => [
4612
- b("span", Ba, [
4613
- w[e.localTreeProps.props.label] ? (i(), h("span", Aa, O(w[e.localTreeProps.props.label]), 1)) : (i(), h("span", Pa, "请在右侧表单中修改 --> ")),
4615
+ default: r(({ node: k, data: x }) => [
4616
+ b("span", Oa, [
4617
+ x[e.localTreeProps.props.label] ? (i(), h("span", Aa, B(x[e.localTreeProps.props.label]), 1)) : (i(), h("span", Pa, "请在右侧表单中修改 --> ")),
4614
4618
  b("span", null, [
4615
- w[e.localTreeProps.props.label] ? (i(), f(s, {
4619
+ x[e.localTreeProps.props.label] ? (i(), m(s, {
4616
4620
  key: 0,
4617
4621
  class: "button",
4618
4622
  type: "text",
4619
- onClick: () => e.onclick(w)
4623
+ onClick: () => e.onclick(x)
4620
4624
  }, {
4621
4625
  default: r(() => [
4622
4626
  g("编辑")
4623
4627
  ]),
4624
4628
  _: 2
4625
- }, 1032, ["onClick"])) : x("", !0),
4626
- e.canAppend(w, T) ? (i(), f(s, {
4629
+ }, 1032, ["onClick"])) : $("", !0),
4630
+ e.canAppend(x, k) ? (i(), m(s, {
4627
4631
  key: 1,
4628
4632
  class: "button",
4629
4633
  type: "text",
4630
- onClick: () => e.append(w, T)
4634
+ onClick: () => e.append(x, k)
4631
4635
  }, {
4632
4636
  default: r(() => [
4633
4637
  g("添加")
4634
4638
  ]),
4635
4639
  _: 2
4636
- }, 1032, ["onClick"])) : x("", !0),
4637
- w.children === void 0 || w.children.length === 0 ? (i(), f(s, {
4640
+ }, 1032, ["onClick"])) : $("", !0),
4641
+ x.children === void 0 || x.children.length === 0 ? (i(), m(s, {
4638
4642
  key: 2,
4639
4643
  class: "button",
4640
4644
  type: "text",
4641
- onClick: () => e.remove(w)
4645
+ onClick: () => e.remove(x)
4642
4646
  }, {
4643
4647
  default: r(() => [
4644
4648
  g("删除")
4645
4649
  ]),
4646
4650
  _: 2
4647
- }, 1032, ["onClick"])) : x("", !0)
4651
+ }, 1032, ["onClick"])) : $("", !0)
4648
4652
  ])
4649
4653
  ])
4650
4654
  ]),
4651
4655
  _: 1
4652
- }, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : x("", !0)
4656
+ }, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : $("", !0)
4653
4657
  ]),
4654
4658
  _: 1
4655
4659
  })
4656
4660
  ]),
4657
4661
  _: 1
4658
4662
  }),
4659
- u(d, {
4663
+ p(d, {
4660
4664
  span: 16,
4661
4665
  class: "tree-form"
4662
4666
  }, {
4663
4667
  default: r(() => [
4664
- e.type ? (i(), f(p, {
4668
+ e.type ? (i(), m(c, {
4665
4669
  key: 0,
4666
4670
  shadow: "never"
4667
4671
  }, {
4668
4672
  header: r(() => [
4669
4673
  b("div", Ra, [
4670
- b("span", null, O(e.formType), 1)
4674
+ b("span", null, B(e.formType), 1)
4671
4675
  ])
4672
4676
  ]),
4673
4677
  default: r(() => [
4674
- (i(), f(m, G({
4678
+ (i(), m(f, F({
4675
4679
  key: e.formkey,
4676
4680
  modelValue: e.formData,
4677
- "onUpdate:modelValue": t[1] || (t[1] = (T) => e.formData = T)
4681
+ "onUpdate:modelValue": t[1] || (t[1] = (k) => e.formData = k)
4678
4682
  }, e.formProps, { onSubmit: e.submit }), null, 16, ["modelValue", "onSubmit"]))
4679
4683
  ]),
4680
4684
  _: 1
4681
- })) : x("", !0)
4685
+ })) : $("", !0)
4682
4686
  ]),
4683
4687
  _: 1
4684
4688
  })
@@ -4686,7 +4690,7 @@ function La(e, t, l, n, o, a) {
4686
4690
  _: 1
4687
4691
  });
4688
4692
  }
4689
- const Fe = /* @__PURE__ */ $(Ca, [["render", La]]), Ma = {
4693
+ const Fe = /* @__PURE__ */ I(Ca, [["render", La]]), Ma = {
4690
4694
  __name: "tree",
4691
4695
  setup(e) {
4692
4696
  const t = (l, n) => {
@@ -4695,9 +4699,9 @@ const Fe = /* @__PURE__ */ $(Ca, [["render", La]]), Ma = {
4695
4699
  o.indexOf(a) === -1 && delete l[a];
4696
4700
  }), l;
4697
4701
  };
4698
- return (l, n) => (i(), f(se, { "schema-handler": t }, {
4702
+ return (l, n) => (i(), m(se, { "schema-handler": t }, {
4699
4703
  default: r((o) => [
4700
- u(Fe, W(Y(o)), null, 16)
4704
+ p(Fe, G(Y(o)), null, 16)
4701
4705
  ]),
4702
4706
  _: 1
4703
4707
  }));
@@ -4710,7 +4714,7 @@ const Fe = /* @__PURE__ */ $(Ca, [["render", La]]), Ma = {
4710
4714
  t.value++;
4711
4715
  }), (l, n) => {
4712
4716
  const o = v("router-view");
4713
- return i(), f(o);
4717
+ return i(), m(o);
4714
4718
  };
4715
4719
  }
4716
4720
  }, Da = {
@@ -4748,20 +4752,20 @@ function ja(e, t, l) {
4748
4752
  let n = A({}, Da);
4749
4753
  if (n.title.text = e, $e(t)) {
4750
4754
  const o = [], a = Object.keys(l[0]);
4751
- let s = a[0], c = a.filter((d, m) => m > 0), p = t;
4755
+ let s = a[0], u = a.filter((d, f) => f > 0), c = t;
4752
4756
  if (t.indexOf(":") > -1) {
4753
- const d = t.split(":"), m = d[1].split(",");
4754
- p = d[0], s = m[0], c = m.filter((_, T) => T > 0);
4757
+ const d = t.split(":"), f = d[1].split(",");
4758
+ c = d[0], s = f[0], u = f.filter((_, k) => k > 0);
4755
4759
  }
4756
- c.forEach((d) => {
4757
- const m = [];
4760
+ u.forEach((d) => {
4761
+ const f = [];
4758
4762
  l.forEach((_) => {
4759
- m.push(_[d]);
4763
+ f.push(_[d]);
4760
4764
  }), n.series.push({
4761
4765
  name: d,
4762
- type: p,
4766
+ type: c,
4763
4767
  smooth: !0,
4764
- data: m
4768
+ data: f
4765
4769
  }), n.legend.data.push(d);
4766
4770
  }), l.forEach((d) => {
4767
4771
  o.push(d[s]);
@@ -4782,22 +4786,22 @@ const Na = q({
4782
4786
  }
4783
4787
  }), Va = { class: "number-panel-title" }, qa = { class: "number" }, Ua = { class: "name" };
4784
4788
  function Ha(e, t, l, n, o, a) {
4785
- return i(!0), h(S, null, B(e.dataList, (s, c) => (i(), h("span", { key: c }, [
4789
+ return i(!0), h(E, null, O(e.dataList, (s, u) => (i(), h("span", { key: u }, [
4786
4790
  b("div", Va, [
4787
- (i(!0), h(S, null, B(Object.keys(s), (p, d) => (i(), h("div", {
4791
+ (i(!0), h(E, null, O(Object.keys(s), (c, d) => (i(), h("div", {
4788
4792
  key: d,
4789
4793
  class: "title-inner"
4790
4794
  }, [
4791
- b("p", qa, O(s[p]), 1),
4792
- b("p", Ua, O(p), 1)
4795
+ b("p", qa, B(s[c]), 1),
4796
+ b("p", Ua, B(c), 1)
4793
4797
  ]))), 128))
4794
4798
  ])
4795
4799
  ]))), 128);
4796
4800
  }
4797
- const Fa = /* @__PURE__ */ $(Na, [["render", Ha], ["__scopeId", "data-v-cc0d8293"]]), Ga = {
4801
+ const Fa = /* @__PURE__ */ I(Na, [["render", Ha], ["__scopeId", "data-v-cc0d8293"]]), Ga = {
4798
4802
  components: {
4799
4803
  Chart: El,
4800
- Md: Ol,
4804
+ Md: Bl,
4801
4805
  Json: Re,
4802
4806
  Table: oe,
4803
4807
  Number: Fa,
@@ -4831,7 +4835,7 @@ const Fa = /* @__PURE__ */ $(Na, [["render", Ha], ["__scopeId", "data-v-cc0d8293
4831
4835
  if (!Ye(n.data))
4832
4836
  return { showPagination: !1 };
4833
4837
  const a = [];
4834
- return n.data[0] && Object.keys(n.data[0]).forEach((s, c) => {
4838
+ return n.data[0] && Object.keys(n.data[0]).forEach((s, u) => {
4835
4839
  a.push({ field: s, label: s });
4836
4840
  }), {
4837
4841
  headers: a,
@@ -4846,20 +4850,20 @@ const Fa = /* @__PURE__ */ $(Na, [["render", Ha], ["__scopeId", "data-v-cc0d8293
4846
4850
  }
4847
4851
  };
4848
4852
  function Ja(e, t, l, n, o, a) {
4849
- const s = Ae, c = Pt("resize");
4850
- return ie((i(), f(s, {
4853
+ const s = Ae, u = Pt("resize");
4854
+ return ie((i(), m(s, {
4851
4855
  shadow: "never",
4852
4856
  class: "part"
4853
4857
  }, {
4854
4858
  default: r(() => [
4855
- (i(), f(Ze(n.comptype()), W(Y(n.compprops(l.option))), null, 16))
4859
+ (i(), m(Ze(n.comptype()), G(Y(n.compprops(l.option))), null, 16))
4856
4860
  ]),
4857
4861
  _: 1
4858
4862
  })), [
4859
- [c, !0]
4863
+ [u, !0]
4860
4864
  ]);
4861
4865
  }
4862
- const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1"]]), Ka = /* @__PURE__ */ q({
4866
+ const za = /* @__PURE__ */ I(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1"]]), Ka = /* @__PURE__ */ q({
4863
4867
  __name: "index",
4864
4868
  props: {
4865
4869
  filter: {
@@ -4877,8 +4881,8 @@ const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1
4877
4881
  });
4878
4882
  const n = L({});
4879
4883
  ze(() => {
4880
- var m;
4881
- (m = t.filter) == null || m.forEach((_) => {
4884
+ var f;
4885
+ (f = t.filter) == null || f.forEach((_) => {
4882
4886
  _.default !== null && (n.value[_.field] = _.default);
4883
4887
  });
4884
4888
  });
@@ -4892,36 +4896,36 @@ const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1
4892
4896
  cancelButton: {
4893
4897
  text: "重置"
4894
4898
  }
4895
- }, a = L(1), s = L(t.filter), c = L(t.dataPart), p = j(() => {
4896
- let m = l.params.id;
4897
- if (!m) {
4899
+ }, a = L(1), s = L(t.filter), u = L(t.dataPart), c = M(() => {
4900
+ let f = l.params.id;
4901
+ if (!f) {
4898
4902
  const _ = l.path.split("/");
4899
- m = _[_.length - 1];
4903
+ f = _[_.length - 1];
4900
4904
  }
4901
- return "/focusbi_report/view/" + m;
4902
- }), d = (m) => {
4903
- ms.get(p.value, { params: m }).then(({ data: _ }) => {
4904
- s.value = _.filter, c.value = _.dataPart, a.value++;
4905
+ return "/focusbi_report/view/" + f;
4906
+ }), d = (f) => {
4907
+ ms.get(c.value, { params: f }).then(({ data: _ }) => {
4908
+ s.value = _.filter, u.value = _.dataPart, a.value++;
4905
4909
  });
4906
4910
  };
4907
- return (m, _) => {
4908
- const T = Ae, w = de, F = Be, U = ae;
4909
- return i(), f(U, null, {
4911
+ return (f, _) => {
4912
+ const k = Ae, x = de, J = Oe, U = ae;
4913
+ return i(), m(U, null, {
4910
4914
  default: r(() => [
4911
- k(s).length > 0 ? (i(), f(w, {
4915
+ w(s).length > 0 ? (i(), m(x, {
4912
4916
  key: 0,
4913
4917
  span: 24
4914
4918
  }, {
4915
4919
  default: r(() => [
4916
- u(T, {
4920
+ p(k, {
4917
4921
  shadow: "never",
4918
4922
  class: "part-filter"
4919
4923
  }, {
4920
4924
  default: r(() => [
4921
- u(k(J), {
4922
- modelValue: k(n),
4923
- "onUpdate:modelValue": _[0] || (_[0] = (C) => Lt(n) ? n.value = C : null),
4924
- "form-items": k(s),
4925
+ p(w(z), {
4926
+ modelValue: w(n),
4927
+ "onUpdate:modelValue": _[0] || (_[0] = (T) => Lt(n) ? n.value = T : null),
4928
+ "form-items": w(s),
4925
4929
  options: o,
4926
4930
  onSubmit: d
4927
4931
  }, null, 8, ["modelValue", "form-items"])
@@ -4930,28 +4934,28 @@ const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1
4930
4934
  })
4931
4935
  ]),
4932
4936
  _: 1
4933
- })) : x("", !0),
4934
- u(w, { span: 24 }, {
4937
+ })) : $("", !0),
4938
+ p(x, { span: 24 }, {
4935
4939
  default: r(() => [
4936
- u(U, { gutter: 20 }, {
4940
+ p(U, { gutter: 20 }, {
4937
4941
  default: r(() => [
4938
- (i(!0), h(S, null, B(k(c), (C, Z) => (i(), f(w, {
4942
+ (i(!0), h(E, null, O(w(u), (T, Z) => (i(), m(x, {
4939
4943
  key: Z,
4940
- span: C.col || 24
4944
+ span: T.col || 24
4941
4945
  }, {
4942
4946
  default: r(() => [
4943
- C.errMsg ? (i(), f(F, {
4947
+ T.errMsg ? (i(), m(J, {
4944
4948
  key: 1,
4945
- title: C.id + " 片段执行出错",
4949
+ title: T.id + " 片段执行出错",
4946
4950
  type: "error"
4947
4951
  }, {
4948
4952
  default: r(() => [
4949
- g(O(C.errMsg), 1)
4953
+ g(B(T.errMsg), 1)
4950
4954
  ]),
4951
4955
  _: 2
4952
- }, 1032, ["title"])) : (i(), f(za, {
4953
- key: k(a),
4954
- option: C
4956
+ }, 1032, ["title"])) : (i(), m(za, {
4957
+ key: w(a),
4958
+ option: T
4955
4959
  }, null, 8, ["option"]))
4956
4960
  ]),
4957
4961
  _: 2
@@ -4971,7 +4975,7 @@ const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1
4971
4975
  const Wa = {
4972
4976
  __name: "report",
4973
4977
  setup(e) {
4974
- const t = useRoute(), l = j(() => {
4978
+ const t = useRoute(), l = M(() => {
4975
4979
  let n = t.params.id;
4976
4980
  if (!n) {
4977
4981
  const o = t.path.split("/");
@@ -4979,17 +4983,17 @@ const Wa = {
4979
4983
  }
4980
4984
  return "/focusbi_report/view/" + n;
4981
4985
  });
4982
- return (n, o) => (i(), f(se, { "schema-api": k(l) }, {
4986
+ return (n, o) => (i(), m(se, { "schema-api": w(l) }, {
4983
4987
  default: r((a) => [
4984
- u(Ka, W(Y(a)), null, 16)
4988
+ p(Ka, G(Y(a)), null, 16)
4985
4989
  ]),
4986
4990
  _: 1
4987
4991
  }, 8, ["schema-api"]));
4988
4992
  }
4989
4993
  };
4990
- const Za = (e) => u("div", null, [e.test]), Qa = {
4994
+ const Za = (e) => p("div", null, [e.test]), Qa = {
4991
4995
  card: el,
4992
- form: J,
4996
+ form: z,
4993
4997
  table: oe,
4994
4998
  test: Za,
4995
4999
  row: tl,
@@ -5039,14 +5043,14 @@ function je(e) {
5039
5043
  children: []
5040
5044
  };
5041
5045
  return e.forEach((l) => {
5042
- var s, c;
5046
+ var s, u;
5043
5047
  let n = Object.assign({}, l);
5044
5048
  if (X((s = n.props) == null ? void 0 : s.style)) {
5045
- let p = "";
5046
- Object.keys((c = n.props) == null ? void 0 : c.style).forEach((d) => {
5047
- var m;
5048
- p += d + ":" + ((m = n.props) == null ? void 0 : m.style[d]) + ";";
5049
- }), n.props.style = p;
5049
+ let c = "";
5050
+ Object.keys((u = n.props) == null ? void 0 : u.style).forEach((d) => {
5051
+ var f;
5052
+ c += d + ":" + ((f = n.props) == null ? void 0 : f.style[d]) + ";";
5053
+ }), n.props.style = c;
5050
5054
  }
5051
5055
  const o = {
5052
5056
  span: n.span ?? 24,
@@ -5084,9 +5088,9 @@ const wt = (e) => {
5084
5088
  __name: "custom",
5085
5089
  setup(e) {
5086
5090
  const t = L([]), l = (n, o) => (t.value = jt(n), n);
5087
- return (n, o) => (i(), f(se, { "schema-handler": l }, {
5091
+ return (n, o) => (i(), m(se, { "schema-handler": l }, {
5088
5092
  default: r(() => [
5089
- u(k(es), { schema: k(t) }, null, 8, ["schema"])
5093
+ p(w(es), { schema: w(t) }, null, 8, ["schema"])
5090
5094
  ]),
5091
5095
  _: 1
5092
5096
  }));
@@ -5104,25 +5108,25 @@ const ls = (e) => {
5104
5108
  if (e.path === "#")
5105
5109
  return ge;
5106
5110
  switch (e.page_type) {
5107
- case D.list:
5111
+ case j.list:
5108
5112
  return gt;
5109
- case D.form:
5113
+ case j.form:
5110
5114
  return xe;
5111
- case D.custom:
5112
- case D.localComp:
5115
+ case j.custom:
5116
+ case j.localComp:
5113
5117
  return t(e.view || "");
5114
- case D.tree:
5118
+ case j.tree:
5115
5119
  return Ma;
5116
- case D.report:
5120
+ case j.report:
5117
5121
  return Wa;
5118
- case D.customSchema:
5122
+ case j.customSchema:
5119
5123
  return ts;
5120
5124
  }
5121
5125
  return ge;
5122
5126
  };
5123
5127
  function ns(e) {
5124
5128
  let t = e.path;
5125
- return e.type === R.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;
5129
+ return e.type === R.menu && e.page_type === j.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;
5126
5130
  }
5127
5131
  function os(e) {
5128
5132
  return (e.path + e.name).split("/").filter((t) => t).join("_");
@@ -5144,7 +5148,7 @@ const St = (e) => {
5144
5148
  },
5145
5149
  children: e.children ? e.children.map((n) => St(n)) : []
5146
5150
  };
5147
- if (e.page_type === D.entity) {
5151
+ if (e.page_type === j.entity) {
5148
5152
  const n = e.path + "/list", o = e.path + "/form", a = e.path + "/:id", s = [{
5149
5153
  path: n,
5150
5154
  name: e.name + "列表" + e.id,
@@ -5226,38 +5230,38 @@ function ss(e) {
5226
5230
  n();
5227
5231
  return;
5228
5232
  }
5229
- await E.dispatch("user/info");
5230
- const o = await E.dispatch("user/loadRemoteRoutes"), a = as(o);
5233
+ await S.dispatch("user/info");
5234
+ const o = await S.dispatch("user/loadRemoteRoutes"), a = as(o);
5231
5235
  a.forEach((s) => {
5232
- s.routes.forEach((c) => {
5236
+ s.routes.forEach((u) => {
5233
5237
  e.addRoute({
5234
5238
  path: "/",
5235
5239
  component: ht,
5236
- children: [c]
5240
+ children: [u]
5237
5241
  });
5238
5242
  });
5239
- }), e.addRoute({ name: "404", path: "/:pathMatch(.*)*", redirect: "/404", hidden: !0 }), E.commit("user/updateRemoteRouter", a), await e.replace(t), n();
5243
+ }), e.addRoute({ name: "404", path: "/:pathMatch(.*)*", redirect: "/404", hidden: !0 }), S.commit("user/updateRemoteRouter", a), await e.replace(t), n();
5240
5244
  });
5241
5245
  }
5242
5246
  function is(e) {
5243
5247
  e.beforeEach(async (t, l, n) => {
5244
- var c;
5245
- const a = [E.state.settings.title || ""], s = t.matched.length;
5246
- for (let p = s; p > s - 3; p--) {
5247
- const d = t.matched[p - 1];
5248
- (c = d == null ? void 0 : d.meta) != null && c.title && a.push(d.meta.title + "");
5248
+ var u;
5249
+ const a = [S.state.settings.title || ""], s = t.matched.length;
5250
+ for (let c = s; c > s - 3; c--) {
5251
+ const d = t.matched[c - 1];
5252
+ (u = d == null ? void 0 : d.meta) != null && u.title && a.push(d.meta.title + "");
5249
5253
  }
5250
5254
  a.length > 1 && (document.title = a.reverse().join("-")), n();
5251
5255
  }), e.afterEach(async (t, l, n) => {
5252
- Object.keys(t.meta).length > 0 && await E.dispatch("app/setCurrentMeta", t.meta);
5256
+ Object.keys(t.meta).length > 0 && await S.dispatch("app/setCurrentMeta", t.meta);
5253
5257
  });
5254
5258
  }
5255
5259
  function rs(e) {
5256
5260
  _a(e), fa(e), ss(e), is(e);
5257
5261
  }
5258
- rs(z);
5262
+ rs(K);
5259
5263
  function cs() {
5260
- return E.state.user.token;
5264
+ return S.state.user.token;
5261
5265
  }
5262
5266
  function Ge(e) {
5263
5267
  Xl({
@@ -5267,18 +5271,18 @@ function Ge(e) {
5267
5271
  grouping: !0
5268
5272
  });
5269
5273
  }
5270
- const us = {
5274
+ const ps = {
5271
5275
  onFulfilled: function(e) {
5272
5276
  var l;
5273
5277
  e.headers = e.headers || {};
5274
5278
  const t = cs();
5275
- 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;
5279
+ return t && (e.headers["X-Token"] = t), (l = K.currentRoute.value.meta) != null && l.path && (e.headers["X-Path"] = K.currentRoute.value.meta.path), e;
5276
5280
  }
5277
- }, ps = {
5281
+ }, us = {
5278
5282
  onFulfilled(e) {
5279
- var n, o, a, s, c, p, d;
5283
+ var n, o, a, s, u, c, d;
5280
5284
  if (!(((n = e.config) == null ? void 0 : n.notHoldApiErr) !== void 0 && ((o = e.config) == null ? void 0 : o.notHoldApiErr) === !0) && e.data.code !== 0) {
5281
- const m = e.data.message || `接口请求错误 ${e.config.method}::${(a = e.config.url) == null ? void 0 : a.split("?")[0]}`;
5285
+ const f = e.data.message || `接口请求错误 ${e.config.method}::${(a = e.config.url) == null ? void 0 : a.split("?")[0]}`;
5282
5286
  if (e.data.code === 401) {
5283
5287
  Ue.alert("登录信息已过期或未登录, 是否跳转登录", "操作提醒", {
5284
5288
  showClose: !1,
@@ -5286,17 +5290,17 @@ const us = {
5286
5290
  showCancelButton: !0,
5287
5291
  cancelButtonText: "取消",
5288
5292
  callback: (_) => {
5289
- _ === "confirm" && (ut(), location.href = location.origin + location.pathname + location.hash.replace("#", "#/?redirect="), location.reload());
5293
+ _ === "confirm" && (pt(), location.href = location.origin + location.pathname + location.hash.replace("#", "#/?redirect="), location.reload());
5290
5294
  }
5291
5295
  });
5292
5296
  return;
5293
5297
  } else
5294
- Ge(m);
5295
- return Promise.reject(m);
5298
+ Ge(f);
5299
+ return Promise.reject(f);
5296
5300
  }
5297
- let l = (c = (s = e.data) == null ? void 0 : s.data) == null ? void 0 : c._message_box;
5301
+ let l = (u = (s = e.data) == null ? void 0 : s.data) == null ? void 0 : u._message_box;
5298
5302
  return l !== void 0 && ($e(l) && (l = {
5299
- message: (d = (p = e.data) == null ? void 0 : p.data) == null ? void 0 : d._message_box
5303
+ message: (d = (c = e.data) == null ? void 0 : c.data) == null ? void 0 : d._message_box
5300
5304
  }), Ue({
5301
5305
  title: "提示",
5302
5306
  type: "success",
@@ -5314,8 +5318,8 @@ const us = {
5314
5318
  response: tn
5315
5319
  },
5316
5320
  {
5317
- request: us,
5318
- response: ps
5321
+ request: ps,
5322
+ response: us
5319
5323
  }
5320
5324
  ];
5321
5325
  function Ne(e = {}) {
@@ -5337,10 +5341,10 @@ const fs = {
5337
5341
  unmounted(e) {
5338
5342
  document.body.removeEventListener("click", e.clickOutsideEvent);
5339
5343
  }
5340
- }, K = Cl(), hs = {
5344
+ }, W = Cl(), hs = {
5341
5345
  mounted: (e, t) => {
5342
5346
  e !== null && (t.value, e.oncontextmenu = (l) => {
5343
- l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && K.emit("right-click", { event: l, data: t.value });
5347
+ l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && W.emit("right-click", { event: l, data: t.value });
5344
5348
  });
5345
5349
  }
5346
5350
  }, bs = {
@@ -5359,7 +5363,7 @@ const _s = {
5359
5363
  return;
5360
5364
  let l = e;
5361
5365
  if (t.value.parent)
5362
- for (let p = 0; p < t.value.parent; p++)
5366
+ for (let c = 0; c < t.value.parent; c++)
5363
5367
  l.parentElement && (l = l.parentElement);
5364
5368
  l.classList.add("devtool-hover");
5365
5369
  const n = document.createElement("i");
@@ -5369,14 +5373,14 @@ const _s = {
5369
5373
  const o = document.createElement("span");
5370
5374
  o.className = "dev-action-edit", o.title = "编辑";
5371
5375
  const a = document.createElement("i");
5372
- a.className = "iconfont ra-editor1", o.appendChild(a), o.onclick = (p) => {
5373
- K.emit("dev-action", { event: p, data: { type: "edit", devId: t.value.devId } });
5376
+ a.className = "iconfont ra-editor1", o.appendChild(a), o.onclick = (c) => {
5377
+ W.emit("dev-action", { event: c, data: { type: "edit", devId: t.value.devId } });
5374
5378
  }, n.appendChild(o);
5375
5379
  const s = document.createElement("span");
5376
5380
  s.className = "dev-action-del", s.title = "删除";
5377
- const c = document.createElement("i");
5378
- c.className = "iconfont ra-cut", s.appendChild(c), s.onclick = (p) => {
5379
- K.emit("dev-action", { event: p, data: { type: "del", devId: t.value.devId } });
5381
+ const u = document.createElement("i");
5382
+ u.className = "iconfont ra-cut", s.appendChild(u), s.onclick = (c) => {
5383
+ W.emit("dev-action", { event: c, data: { type: "del", devId: t.value.devId } });
5380
5384
  }, n.appendChild(s), l.insertBefore(n, l.firstChild);
5381
5385
  }
5382
5386
  }, ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5394,9 +5398,9 @@ function $i(e) {
5394
5398
  const t = A(me, e), l = Nt(Al), n = Es(t), o = t.plugins || [];
5395
5399
  o.unshift(n), o.forEach((a) => {
5396
5400
  xs(l, a);
5397
- }), t != null && t.mock && Ul(), ce = Ne(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(() => ({
5401
+ }), t != null && t.mock && Ul(), ce = Ne(t.axios), S.dispatch("setHttp", ce).then(), S.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), S.dispatch("app/setBaseAPI", t == null ? void 0 : t.axios.baseURL).then(), l.config.globalProperties.$http = ce, l.config.globalProperties.$router = K, window.App = l, window.OmsOptions = t, $l(() => ({
5398
5402
  "X-Token": Me()
5399
- })), z.isReady().then(() => l.mount("#app"));
5403
+ })), K.isReady().then(() => l.mount("#app"));
5400
5404
  }
5401
5405
  function vs(e, t = {}) {
5402
5406
  Object.keys(t).forEach((l) => {
@@ -5405,8 +5409,8 @@ function vs(e, t = {}) {
5405
5409
  }
5406
5410
  function gs(e = []) {
5407
5411
  e.forEach((t) => {
5408
- z.addRoute(t);
5409
- }), E.commit("user/setCustomRoutes", e);
5412
+ K.addRoute(t);
5413
+ }), S.commit("user/setCustomRoutes", e);
5410
5414
  }
5411
5415
  function ks(e, t) {
5412
5416
  t.forEach((l) => {
@@ -5425,7 +5429,7 @@ function Ss(e = {}) {
5425
5429
  console.warn(`storeModule name [${l}] is use by base, please change it!`);
5426
5430
  return;
5427
5431
  }
5428
- E.registerModule(l, e[l]);
5432
+ S.registerModule(l, e[l]);
5429
5433
  });
5430
5434
  }
5431
5435
  function xs(e, t) {
@@ -5437,8 +5441,8 @@ function Es(e) {
5437
5441
  components: { VIcon: Il },
5438
5442
  directives: ys,
5439
5443
  use: [
5440
- E,
5441
- z,
5444
+ S,
5445
+ K,
5442
5446
  [Qt, { locale: tt, ...(t = e.settings) == null ? void 0 : t.ElementPlus }]
5443
5447
  ]
5444
5448
  };
@@ -5451,10 +5455,10 @@ export {
5451
5455
  R as MenuType,
5452
5456
  Xl as Message,
5453
5457
  Ue as MessageBox,
5454
- D as PageType,
5458
+ j as PageType,
5455
5459
  Wo as allSso,
5456
5460
  $i as createAdmin,
5457
- K as eventBus,
5461
+ W as eventBus,
5458
5462
  ln as getCmp,
5459
5463
  ce as http,
5460
5464
  Ne as instance,