@okiss/oms 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/index.es.js +205 -221
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/App.vue.d.ts +1 -1
  5. package/dist/types/components/PageLoad.vue.d.ts +1 -1
  6. package/dist/types/components/RightMenu.vue.d.ts +3 -3
  7. package/dist/types/components/VLoading.vue.d.ts +1 -1
  8. package/dist/types/components/VTree.vue.d.ts +3 -3
  9. package/dist/types/components/notice/VNotice.vue.d.ts +1 -1
  10. package/dist/types/components/report/NumberPanel.vue.d.ts +1 -1
  11. package/dist/types/components/report/index.vue.d.ts +1 -1
  12. package/dist/types/components/report/part.vue.d.ts +1 -1
  13. package/dist/types/scaffold/404.vue.d.ts +1 -1
  14. package/dist/types/scaffold/EmptyRole.vue.d.ts +1 -1
  15. package/dist/types/scaffold/container.vue.d.ts +1 -1
  16. package/dist/types/scaffold/custom.vue.d.ts +1 -1
  17. package/dist/types/scaffold/dashboard.vue.d.ts +1 -1
  18. package/dist/types/scaffold/devtool/DevLayout.vue.d.ts +16 -5
  19. package/dist/types/scaffold/devtool/base.d.ts +3 -3
  20. package/dist/types/scaffold/devtool/formBuilder/ctrls/checkbox.d.ts +6 -6
  21. package/dist/types/scaffold/devtool/formBuilder/ctrls/code.d.ts +6 -6
  22. package/dist/types/scaffold/devtool/formBuilder/ctrls/icon-select.d.ts +6 -6
  23. package/dist/types/scaffold/devtool/formBuilder/ctrls/input.d.ts +6 -6
  24. package/dist/types/scaffold/devtool/formBuilder/ctrls/json.d.ts +6 -6
  25. package/dist/types/scaffold/devtool/formBuilder/ctrls/number-range.d.ts +6 -6
  26. package/dist/types/scaffold/devtool/formBuilder/ctrls/number.d.ts +6 -6
  27. package/dist/types/scaffold/devtool/formBuilder/ctrls/radio.d.ts +7 -7
  28. package/dist/types/scaffold/devtool/formBuilder/ctrls/select.d.ts +6 -6
  29. package/dist/types/scaffold/devtool/formBuilder/ctrls/sub-form.d.ts +6 -6
  30. package/dist/types/scaffold/devtool/formBuilder/ctrls/switch.d.ts +6 -6
  31. package/dist/types/scaffold/devtool/formBuilder/ctrls/template.d.ts +6 -6
  32. package/dist/types/scaffold/devtool/formBuilder/ctrls/upload.d.ts +6 -6
  33. package/dist/types/scaffold/devtool/formBuilder/form.d.ts +7 -7
  34. package/dist/types/scaffold/devtool/formBuilder/index.vue.d.ts +4 -4
  35. package/dist/types/scaffold/devtool/tableBuilder/btn/api.d.ts +6 -6
  36. package/dist/types/scaffold/devtool/tableBuilder/btn/form.d.ts +6 -6
  37. package/dist/types/scaffold/devtool/tableBuilder/btn/jump.d.ts +6 -6
  38. package/dist/types/scaffold/devtool/tableBuilder/btn/table.d.ts +6 -6
  39. package/dist/types/scaffold/devtool/tableBuilder/columns/emum.d.ts +6 -6
  40. package/dist/types/scaffold/devtool/tableBuilder/columns/html.d.ts +6 -6
  41. package/dist/types/scaffold/devtool/tableBuilder/columns/icon.d.ts +6 -6
  42. package/dist/types/scaffold/devtool/tableBuilder/columns/image.d.ts +6 -6
  43. package/dist/types/scaffold/devtool/tableBuilder/columns/json.d.ts +6 -6
  44. package/dist/types/scaffold/devtool/tableBuilder/columns/link.d.ts +6 -6
  45. package/dist/types/scaffold/devtool/tableBuilder/columns/rich.d.ts +6 -6
  46. package/dist/types/scaffold/devtool/tableBuilder/columns/span.d.ts +6 -6
  47. package/dist/types/scaffold/devtool/tableBuilder/columns/tpl.d.ts +6 -6
  48. package/dist/types/scaffold/devtool/tableBuilder/ctrls/date.d.ts +6 -6
  49. package/dist/types/scaffold/devtool/tableBuilder/ctrls/input.d.ts +6 -6
  50. package/dist/types/scaffold/devtool/tableBuilder/ctrls/select.d.ts +6 -6
  51. package/dist/types/scaffold/devtool/tableBuilder/index.vue.d.ts +1 -1
  52. package/dist/types/scaffold/devtool/tableBuilder/table.d.ts +4 -4
  53. package/dist/types/scaffold/form.vue.d.ts +1 -1
  54. package/dist/types/scaffold/layout/components/AppMain.vue.d.ts +1 -1
  55. package/dist/types/scaffold/layout/components/Breadcrumb/index.vue.d.ts +1 -1
  56. package/dist/types/scaffold/layout/components/Hamburger/index.vue.d.ts +1 -1
  57. package/dist/types/scaffold/layout/components/Navbar.vue.d.ts +3 -3
  58. package/dist/types/scaffold/layout/components/PageEditor.vue.d.ts +1 -1
  59. package/dist/types/scaffold/layout/components/PageScheam.vue.d.ts +1 -1
  60. package/dist/types/scaffold/layout/components/Sidebar/Link.vue.d.ts +2 -2
  61. package/dist/types/scaffold/layout/components/Sidebar/Logo.vue.d.ts +1 -1
  62. package/dist/types/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +1 -1
  63. package/dist/types/scaffold/layout/components/Sidebar/SearchMenuItem.vue.d.ts +3 -1
  64. package/dist/types/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +1 -1
  65. package/dist/types/scaffold/layout/components/Sidebar/index.vue.d.ts +1 -1
  66. package/dist/types/scaffold/layout/index.vue.d.ts +1 -1
  67. package/dist/types/scaffold/login.vue.d.ts +1 -1
  68. package/dist/types/scaffold/report.vue.d.ts +1 -1
  69. package/dist/types/scaffold/table.vue.d.ts +1 -1
  70. package/dist/types/scaffold/tree.vue.d.ts +1 -1
  71. package/package.json +13 -13
package/dist/index.es.js CHANGED
@@ -1,19 +1,19 @@
1
1
  var At = Object.defineProperty;
2
2
  var Pt = (e, t, l) => t in e ? At(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
3
- var R = (e, t, l) => (Pt(e, typeof t != "symbol" ? t + "" : t, l), l);
4
- import { defineComponent as q, onBeforeMount as ze, provide as Rt, resolveComponent as w, openBlock as i, createBlock as f, createVNode as p, computed as M, createTextVNode as S, withCtx as c, TransitionGroup as Lt, createElementBlock as h, Fragment as I, renderList as O, toDisplayString as B, normalizeClass as H, renderSlot as le, mergeProps as F, createCommentVNode as E, toRefs as Mt, ref as D, normalizeStyle as Dt, createElementVNode as b, Transition as jt, pushScopeId as Ke, popScopeId as We, resolveDynamicComponent as Xe, normalizeProps as G, guardReactiveProps as Y, unref as x, withDirectives as re, vModelText as be, onMounted as Ze, onUnmounted as Nt, resolveDirective as Vt, isRef as qt, getCurrentInstance as Ut, h as Ht, toRaw as Ft, createApp as Gt } from "vue";
5
- import { addNewStyle as Jt, addNewStyleTag as zt, queryParams as Kt, logGroup as Wt, compactObject as Qe, showEleByClassName as Ye, waterMarker as Xt, Cache as ce, isExternal as Ve, getQueryParam as et, createIFrame as Zt, strVarReplace as Z, obj2Param as Qt, isObject as Q, isString as Ie, effectDataTrans as Yt, isArray as tt } from "@okiss/utils";
6
- import _e from "mockjs";
3
+ var R = (e, t, l) => Pt(e, typeof t != "symbol" ? t + "" : t, l);
4
+ import { defineComponent as q, onBeforeMount as ze, provide as Rt, resolveComponent as w, openBlock as i, createBlock as f, createVNode as p, computed as M, createTextVNode as S, withCtx as c, TransitionGroup as Lt, createElementBlock as h, Fragment as I, renderList as O, toDisplayString as B, normalizeClass as H, renderSlot as le, mergeProps as F, createCommentVNode as x, toRefs as Mt, ref as D, normalizeStyle as Dt, createElementVNode as b, Transition as jt, pushScopeId as Ke, popScopeId as We, resolveDynamicComponent as Xe, normalizeProps as G, guardReactiveProps as Y, unref as E, withDirectives as ie, vModelText as be, onMounted as Ze, onUnmounted as Nt, resolveDirective as Vt, isRef as qt, getCurrentInstance as Ut, h as Ht, toRaw as Ft, createApp as Gt } from "vue";
5
+ import { addNewStyle as Jt, addNewStyleTag as zt, queryParams as Kt, logGroup as Wt, compactObject as Qe, showEleByClassName as Ye, waterMarker as Xt, Cache as re, isExternal as Ve, getQueryParam as et, createIFrame as Zt, strVarReplace as Z, obj2Param as Qt, isObject as Q, isString as Ie, effectDataTrans as Yt, isArray as tt } from "@okiss/utils";
6
+ import ye from "mockjs";
7
7
  import el, { cloneDeep as v, merge as A, get as ne, unset as lt, isObject as tl } from "lodash";
8
- import nt from "element-plus/lib/locale/lang/zh-cn";
8
+ import nt from "element-plus/es/locale/lang/zh-cn";
9
9
  import $e from "axios";
10
10
  import N from "js-cookie";
11
11
  import { createStore as ll, useStore as ot, mapGetters as Ce } from "vuex";
12
12
  import nl, { ElMessage as ol, ElMessageBox as at, ElCard as al, ElRow as sl, ElCol as il } from "element-plus";
13
13
  import "element-plus/dist/index.css";
14
14
  import "dayjs/locale/zh-cn";
15
- import { useRoute as ae, onBeforeRouteLeave as rl, useRouter as st, createRouter as cl, createWebHashHistory as ul, onBeforeRouteUpdate as pl } from "vue-router";
16
- import { ElBreadcrumbItem as dl, ElBreadcrumb as ml, ElRow as se, ElMain as fl, ElAside as hl, ElContainer as bl, ElDivider as it, ElButton as de, ElOption as Te, ElSelect as Be, ElFormItem as rt, ElForm as ct, ElCol as me, ElDrawer as ut, ElDropdownItem as _l, ElDropdownMenu as yl, ElDropdown as vl, ElMenuItem as gl, ElSubMenu as kl, ElOptionGroup as wl, ElMenu as Sl, ElScrollbar as xl, ElBacktop as El, ElMessage as Il, ElAlert as Oe, ElTree as $l, ElCard as Ae } from "element-plus/es";
15
+ import { useRoute as de, onBeforeRouteLeave as rl, useRouter as st, createRouter as cl, createWebHashHistory as ul, onBeforeRouteUpdate as pl } from "vue-router";
16
+ import { ElBreadcrumbItem as dl, ElBreadcrumb as ml, ElRow as ae, ElMain as fl, ElAside as hl, ElContainer as bl, ElDivider as it, ElButton as pe, ElOption as Te, ElSelect as Be, ElFormItem as rt, ElForm as ct, ElCol as me, ElDrawer as ut, ElDropdownItem as yl, ElDropdownMenu as _l, ElDropdown as vl, ElMenuItem as gl, ElSubMenu as kl, ElOptionGroup as wl, ElMenu as Sl, ElScrollbar as El, ElBacktop as xl, ElMessage as Il, ElAlert as Oe, ElTree as $l, 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";
@@ -773,9 +773,9 @@ function mt(e) {
773
773
  function Jl() {
774
774
  Object.keys(we).forEach((e) => {
775
775
  const t = we[e], l = mt(t);
776
- _e.mock(l, t.method, function(o) {
777
- const { url: n, type: a, body: s } = o, r = Kt(n), d = s ? JSON.parse(s) : {}, u = t.response({ query: r, data: d }), m = _e.mock(u);
778
- return Wt(n, { type: a, query: r, data: d, response: m }), _e.mock(m);
776
+ ye.mock(l, t.method, function(o) {
777
+ const { url: n, type: a, body: s } = o, r = Kt(n), d = s ? JSON.parse(s) : {}, u = t.response({ query: r, data: d }), m = ye.mock(u);
778
+ return Wt(n, { type: a, query: r, data: d, response: m }), ye.mock(m);
779
779
  });
780
780
  });
781
781
  }
@@ -872,10 +872,10 @@ const Kl = {
872
872
  url: "/user/info",
873
873
  method: "GET"
874
874
  }).then((n) => {
875
- var r, d, u, m, _, k;
875
+ var r, d, u, m, y, k;
876
876
  const a = ((r = n.data) == null ? void 0 : r.role_ids) || [];
877
877
  e("updateState", { key: "name", value: (d = n.data) == null ? void 0 : d.name }), e("updateState", { key: "nickname", value: (u = n.data) == null ? void 0 : u.nickname }), e("updateState", { key: "roleIds", value: a }), e("updateState", { key: "env", value: (m = n.data) == null ? void 0 : m.env });
878
- const s = ((_ = n.data) == null ? void 0 : _.website) || {};
878
+ const s = ((y = n.data) == null ? void 0 : y.website) || {};
879
879
  e("settings/updateSettings", s, { root: !0 }), !N.get("username") && N.set("username", (k = n.data) == null ? void 0 : k.name), l(!0);
880
880
  }).catch((n) => {
881
881
  o(n);
@@ -1023,7 +1023,7 @@ const Kl = {
1023
1023
  app: Yl,
1024
1024
  builderSchema: tn
1025
1025
  }
1026
- }), ln = ol, Ue = at, nn = $e.CancelToken, ue = {
1026
+ }), ln = ol, Ue = at, nn = $e.CancelToken, ce = {
1027
1027
  taskList: {},
1028
1028
  cacheList: /* @__PURE__ */ new Map(),
1029
1029
  uniqueId(e) {
@@ -1061,8 +1061,8 @@ const Kl = {
1061
1061
  }
1062
1062
  }, on = {
1063
1063
  onFulfilled: function(e) {
1064
- return e.cacheEnable === !1 || (ue.pending(e) && ue.delTask(e), e.cancelToken = new nn((t) => {
1065
- ue.addTask(e, t);
1064
+ return e.cacheEnable === !1 || (ce.pending(e) && ce.delTask(e), e.cancelToken = new nn((t) => {
1065
+ ce.addTask(e, t);
1066
1066
  })), e;
1067
1067
  },
1068
1068
  onRejected(e) {
@@ -1070,13 +1070,13 @@ const Kl = {
1070
1070
  }
1071
1071
  }, an = {
1072
1072
  onFulfilled: function(e) {
1073
- return e.config.cacheEnable === !1 || e.config.method === "get" && Object.keys(e.data).length > 0 && ue.addCache(e.config, e.data), e;
1073
+ return e.config.cacheEnable === !1 || e.config.method === "get" && Object.keys(e.data).length > 0 && ce.addCache(e.config, e.data), e;
1074
1074
  },
1075
1075
  onRejected(e) {
1076
1076
  return Promise.reject(e);
1077
1077
  }
1078
1078
  }, ht = {};
1079
- function Ei(e, t) {
1079
+ function xi(e, t) {
1080
1080
  ht[e] = t;
1081
1081
  }
1082
1082
  function sn(e) {
@@ -1095,14 +1095,12 @@ const rn = /* @__PURE__ */ q({
1095
1095
  class: "dashboard-text"
1096
1096
  }, [S("Hi "), l.value, S(" 😄")])]);
1097
1097
  }
1098
- });
1099
- const $ = (e, t) => {
1098
+ }), $ = (e, t) => {
1100
1099
  const l = e.__vccOpts || e;
1101
1100
  for (const [o, n] of t)
1102
1101
  l[o] = n;
1103
1102
  return l;
1104
- }, cn = /* @__PURE__ */ $(rn, [["__scopeId", "data-v-3122b6c7"]]);
1105
- const un = {
1103
+ }, cn = /* @__PURE__ */ $(rn, [["__scopeId", "data-v-3122b6c7"]]), un = {
1106
1104
  data() {
1107
1105
  return {
1108
1106
  levelList: null
@@ -1203,10 +1201,9 @@ function bn(e, t, l, o, n, a) {
1203
1201
  }, null, 8, ["class"])
1204
1202
  ]);
1205
1203
  }
1206
- const _n = /* @__PURE__ */ $(hn, [["render", bn]]);
1207
- const yn = {};
1204
+ const yn = /* @__PURE__ */ $(hn, [["render", bn]]), _n = {};
1208
1205
  function vn(e, t) {
1209
- const l = se, o = fl, n = hl, a = bl;
1206
+ const l = ae, o = fl, n = hl, a = bl;
1210
1207
  return i(), f(a, { style: { width: "100%", height: "100%" } }, {
1211
1208
  default: c(() => [
1212
1209
  p(l, { class: "aside" }, {
@@ -1238,7 +1235,7 @@ function vn(e, t) {
1238
1235
  _: 3
1239
1236
  });
1240
1237
  }
1241
- const bt = /* @__PURE__ */ $(yn, [["render", vn], ["__scopeId", "data-v-7c3d697b"]]), gn = {
1238
+ const bt = /* @__PURE__ */ $(_n, [["render", vn], ["__scopeId", "data-v-7c3d697b"]]), gn = {
1242
1239
  type: "input",
1243
1240
  name: "文本框",
1244
1241
  default: {
@@ -1495,7 +1492,7 @@ const bt = /* @__PURE__ */ $(yn, [["render", vn], ["__scopeId", "data-v-7c3d697b
1495
1492
  const t = v(e);
1496
1493
  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;
1497
1494
  }
1498
- }, xn = {
1495
+ }, En = {
1499
1496
  type: "radio",
1500
1497
  name: "单选框",
1501
1498
  default: {
@@ -1541,7 +1538,7 @@ const bt = /* @__PURE__ */ $(yn, [["render", vn], ["__scopeId", "data-v-7c3d697b
1541
1538
  label: "默认值"
1542
1539
  }
1543
1540
  ]
1544
- }, En = {
1541
+ }, xn = {
1545
1542
  type: "switch",
1546
1543
  name: "开关",
1547
1544
  default: {
@@ -1811,24 +1808,24 @@ const bt = /* @__PURE__ */ $(yn, [["render", vn], ["__scopeId", "data-v-7c3d697b
1811
1808
  }
1812
1809
  }
1813
1810
  ]
1814
- }, _t = {};
1811
+ }, yt = {};
1815
1812
  function P(e) {
1816
- _t[e.type] = e;
1813
+ yt[e.type] = e;
1817
1814
  }
1818
1815
  P(gn);
1819
1816
  P(Sn);
1820
1817
  P(kn);
1821
1818
  P(wn);
1822
- P(En);
1823
- P(On);
1824
1819
  P(xn);
1820
+ P(On);
1821
+ P(En);
1825
1822
  P(An);
1826
1823
  P(In);
1827
1824
  P($n);
1828
1825
  P(Cn);
1829
1826
  P(Bn);
1830
1827
  P(Tn);
1831
- const Se = _t, Pn = {
1828
+ const Se = yt, Pn = {
1832
1829
  options: {
1833
1830
  labelPosition: "top",
1834
1831
  submitButton: !1,
@@ -1926,8 +1923,7 @@ const Se = _t, Pn = {
1926
1923
  }
1927
1924
  }
1928
1925
  ]
1929
- };
1930
- const ye = {
1926
+ }, _e = {
1931
1927
  labelPosition: "top",
1932
1928
  submitButton: !1,
1933
1929
  cancelButton: !1
@@ -2046,7 +2042,7 @@ const Rn = {
2046
2042
  handler(e) {
2047
2043
  const t = this.ctrlMap[e];
2048
2044
  this.ctrlSchema = v({
2049
- options: v(ye),
2045
+ options: v(_e),
2050
2046
  formItems: v(t.builder)
2051
2047
  });
2052
2048
  const l = ne(this.builderSchema, this.activeIndex);
@@ -2071,7 +2067,7 @@ const Rn = {
2071
2067
  this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [];
2072
2068
  const l = this.ctrlMap[e];
2073
2069
  this.activeCtrl = l, this.builderSchema[t].push(v(l.default)), this.ctrlSchema = v({
2074
- options: v(ye),
2070
+ options: v(_e),
2075
2071
  formItems: v(l.builder)
2076
2072
  }), this.ctrlKey++, this.key++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2077
2073
  },
@@ -2087,7 +2083,7 @@ const Rn = {
2087
2083
  return;
2088
2084
  }
2089
2085
  this.currentCtrlType = o, this.ctrlOptions = l, this.ctrlSchema = v({
2090
- options: v(ye),
2086
+ options: v(_e),
2091
2087
  formItems: v(n.builder)
2092
2088
  }), this.ctrlKey++;
2093
2089
  }
@@ -2104,14 +2100,14 @@ const Rn = {
2104
2100
  }
2105
2101
  };
2106
2102
  function Mn(e, t, l, o, n, a) {
2107
- const s = w("v-form"), r = it, d = de, u = w("JsonView"), m = w("VButton"), _ = Te, k = Be, y = rt, J = ct, U = w("dev-layout");
2103
+ const s = w("v-form"), r = it, d = pe, u = w("JsonView"), m = w("VButton"), y = Te, k = Be, _ = rt, J = ct, U = w("dev-layout");
2108
2104
  return i(), f(U, null, {
2109
2105
  main: c(() => [
2110
2106
  n.builderSchema.formItems ? (i(), f(s, F({
2111
2107
  ref: "form",
2112
2108
  key: n.key,
2113
2109
  dev: !0
2114
- }, n.builderSchema), null, 16)) : E("", !0),
2110
+ }, n.builderSchema), null, 16)) : x("", !0),
2115
2111
  p(r),
2116
2112
  p(d, {
2117
2113
  type: "primary",
@@ -2136,14 +2132,14 @@ function Mn(e, t, l, o, n, a) {
2136
2132
  "right-aside": c(() => [
2137
2133
  n.activeIndex ? (i(), f(J, { key: 0 }, {
2138
2134
  default: c(() => [
2139
- p(y, { label: "控件类型" }, {
2135
+ p(_, { label: "控件类型" }, {
2140
2136
  default: c(() => [
2141
2137
  p(k, {
2142
2138
  modelValue: n.currentCtrlType,
2143
2139
  "onUpdate:modelValue": t[0] || (t[0] = (T) => n.currentCtrlType = T)
2144
2140
  }, {
2145
2141
  default: c(() => [
2146
- (i(!0), h(I, null, O(n.types, (T, X) => (i(), f(_, {
2142
+ (i(!0), h(I, null, O(n.types, (T, X) => (i(), f(y, {
2147
2143
  key: X,
2148
2144
  label: T.label,
2149
2145
  value: T.value
@@ -2156,7 +2152,7 @@ function Mn(e, t, l, o, n, a) {
2156
2152
  })
2157
2153
  ]),
2158
2154
  _: 1
2159
- })) : E("", !0),
2155
+ })) : x("", !0),
2160
2156
  (i(), f(s, F({
2161
2157
  key: n.ctrlKey,
2162
2158
  modelValue: n.ctrlOptions,
@@ -2865,8 +2861,7 @@ const Dn = /* @__PURE__ */ $(Ln, [["render", Mn], ["__scopeId", "data-v-875f0171
2865
2861
  api: Qn,
2866
2862
  form: Yn,
2867
2863
  table: eo
2868
- };
2869
- const lo = {
2864
+ }, lo = {
2870
2865
  components: { JsonView: Re, DevLayout: bt, VTable: oe, VForm: z, VButton: Pe },
2871
2866
  props: {
2872
2867
  schema: {
@@ -3050,7 +3045,7 @@ const lo = {
3050
3045
  }
3051
3046
  };
3052
3047
  function no(e, t, l, o, n, a) {
3053
- const s = me, r = de, d = se, u = w("v-table"), m = it, _ = de, k = w("JsonView"), y = w("VButton"), J = Te, U = Be, T = rt, X = ct, Bt = w("v-form"), Ot = w("dev-layout");
3048
+ const s = me, r = pe, d = ae, u = w("v-table"), m = it, y = pe, k = w("JsonView"), _ = w("VButton"), J = Te, U = Be, T = rt, X = ct, Bt = w("v-form"), Ot = w("dev-layout");
3054
3049
  return i(), f(Ot, null, {
3055
3050
  "left-aside": c(() => [
3056
3051
  p(d, { style: { width: "200px" } }, {
@@ -3256,7 +3251,7 @@ function no(e, t, l, o, n, a) {
3256
3251
  dev: !0
3257
3252
  }, n.builderSchema), null, 16)),
3258
3253
  p(m),
3259
- p(_, {
3254
+ p(y, {
3260
3255
  type: "primary",
3261
3256
  onClick: a.saveSchema
3262
3257
  }, {
@@ -3266,7 +3261,7 @@ function no(e, t, l, o, n, a) {
3266
3261
  _: 1
3267
3262
  }, 8, ["onClick"]),
3268
3263
  S("    "),
3269
- p(y, {
3264
+ p(_, {
3270
3265
  text: "PageSchema",
3271
3266
  type: "modal"
3272
3267
  }, {
@@ -3299,7 +3294,7 @@ function no(e, t, l, o, n, a) {
3299
3294
  })
3300
3295
  ]),
3301
3296
  _: 1
3302
- })) : E("", !0),
3297
+ })) : x("", !0),
3303
3298
  (i(), f(Bt, F({
3304
3299
  key: n.ctrlKey,
3305
3300
  modelValue: n.ctrlOptions,
@@ -3313,7 +3308,7 @@ const oo = /* @__PURE__ */ $(lo, [["render", no], ["__scopeId", "data-v-e5209cb7
3313
3308
  name: "PageEditor",
3314
3309
  components: { FormBuilder: Dn, TableBuilder: oo },
3315
3310
  setup() {
3316
- const e = D(!1), t = D(1), l = "rtl", o = ae(), n = M(() => g.state.app.pages[o.path]);
3311
+ const e = D(!1), t = D(1), l = "rtl", o = de(), n = M(() => g.state.app.pages[o.path]);
3317
3312
  return { show: e, key: t, direction: l, pageSchema: n };
3318
3313
  }
3319
3314
  };
@@ -3338,21 +3333,20 @@ function so(e, t, l, o, n, a) {
3338
3333
  o.pageSchema.formItems !== void 0 ? (i(), f(r, {
3339
3334
  key: 0,
3340
3335
  schema: o.pageSchema
3341
- }, null, 8, ["schema"])) : E("", !0),
3336
+ }, null, 8, ["schema"])) : x("", !0),
3342
3337
  o.pageSchema.headers !== void 0 ? (i(), f(d, {
3343
3338
  key: 1,
3344
3339
  schema: o.pageSchema
3345
- }, null, 8, ["schema"])) : E("", !0)
3340
+ }, null, 8, ["schema"])) : x("", !0)
3346
3341
  ]),
3347
3342
  _: 1
3348
3343
  }, 8, ["modelValue", "direction"])
3349
3344
  ], 64);
3350
3345
  }
3351
- const io = /* @__PURE__ */ $(ao, [["render", so]]);
3352
- const ro = {
3346
+ const io = /* @__PURE__ */ $(ao, [["render", so]]), ro = {
3353
3347
  components: {
3354
3348
  Breadcrumb: fn,
3355
- Hamburger: _n,
3349
+ Hamburger: yn,
3356
3350
  VButton: Pe,
3357
3351
  PageEditor: io
3358
3352
  },
@@ -3418,11 +3412,10 @@ const ro = {
3418
3412
  },
3419
3413
  showNotice(e) {
3420
3414
  const t = "dismiss:navbar_notice";
3421
- return ce.exist(t) ? ce.get(t) !== e : !0;
3415
+ return re.exist(t) ? re.get(t) !== e : !0;
3422
3416
  },
3423
3417
  closeNotice(e) {
3424
- const t = "dismiss:navbar_notice";
3425
- ce.set(t, e);
3418
+ re.set("dismiss:navbar_notice", e);
3426
3419
  },
3427
3420
  gotoMenuEdit() {
3428
3421
  var e, t, l, o;
@@ -3436,8 +3429,8 @@ const ro = {
3436
3429
  class: "right-item-button",
3437
3430
  style: { padding: "0" }
3438
3431
  }, fo = { class: "user-info" }, ho = ["src"], bo = { class: "user-name" };
3439
- function _o(e, t, l, o, n, a) {
3440
- const s = w("hamburger"), r = w("breadcrumb"), d = me, u = w("VIcon"), m = w("PageEditor"), _ = w("v-button"), k = _l, y = yl, J = vl, U = ut, T = se;
3432
+ function yo(e, t, l, o, n, a) {
3433
+ const s = w("hamburger"), r = w("breadcrumb"), d = me, u = w("VIcon"), m = w("PageEditor"), y = w("v-button"), k = yl, _ = _l, J = vl, U = ut, T = ae;
3441
3434
  return i(), f(T, {
3442
3435
  ref: "header",
3443
3436
  class: "navbar",
@@ -3466,16 +3459,16 @@ function _o(e, t, l, o, n, a) {
3466
3459
  ]),
3467
3460
  a.showPageJsonSchemaIcon ? (i(), h("div", po, [
3468
3461
  p(m)
3469
- ])) : E("", !0),
3462
+ ])) : x("", !0),
3470
3463
  b("div", mo, [
3471
- p(_, { buttons: e.nav }, null, 8, ["buttons"])
3464
+ p(y, { buttons: e.nav }, null, 8, ["buttons"])
3472
3465
  ]),
3473
3466
  p(J, {
3474
3467
  class: "right-item",
3475
3468
  trigger: "click"
3476
3469
  }, {
3477
3470
  dropdown: c(() => [
3478
- p(y, { class: "user-dropdown" }, {
3471
+ p(_, { class: "user-dropdown" }, {
3479
3472
  default: c(() => [
3480
3473
  p(k, {
3481
3474
  icon: "oms-icon-index",
@@ -3521,13 +3514,12 @@ function _o(e, t, l, o, n, a) {
3521
3514
  key: 0,
3522
3515
  "with-header": !1,
3523
3516
  size: "50%"
3524
- })) : E("", !0)
3517
+ })) : x("", !0)
3525
3518
  ]),
3526
3519
  _: 1
3527
3520
  }, 8, ["style"]);
3528
3521
  }
3529
- const yo = /* @__PURE__ */ $(ro, [["render", _o], ["__scopeId", "data-v-99b3c688"]]);
3530
- const vo = {
3522
+ const _o = /* @__PURE__ */ $(ro, [["render", yo], ["__scopeId", "data-v-99b3c688"]]), vo = {
3531
3523
  name: "SidebarLogo",
3532
3524
  props: {
3533
3525
  collapse: {
@@ -3546,7 +3538,7 @@ const vo = {
3546
3538
  }, go = (e) => (Ke("data-v-49084925"), e = e(), We(), e), ko = ["src"], wo = {
3547
3539
  key: 1,
3548
3540
  class: "sidebar-title"
3549
- }, So = /* @__PURE__ */ go(() => /* @__PURE__ */ b("div", null, "系统", -1)), xo = ["src"], Eo = { class: "sidebar-title" };
3541
+ }, So = /* @__PURE__ */ go(() => /* @__PURE__ */ b("div", null, "系统", -1)), Eo = ["src"], xo = { class: "sidebar-title" };
3550
3542
  function Io(e, t, l, o, n, a) {
3551
3543
  const s = w("router-link");
3552
3544
  return i(), h("div", {
@@ -3578,8 +3570,8 @@ function Io(e, t, l, o, n, a) {
3578
3570
  key: 0,
3579
3571
  src: a.logo,
3580
3572
  class: "sidebar-logo"
3581
- }, null, 8, xo)) : E("", !0),
3582
- b("h1", Eo, B(a.title), 1)
3573
+ }, null, 8, Eo)) : x("", !0),
3574
+ b("h1", xo, B(a.title), 1)
3583
3575
  ]),
3584
3576
  _: 1
3585
3577
  }))
@@ -3696,7 +3688,7 @@ const Bo = /* @__PURE__ */ $(Co, [["render", To]]), Oo = {
3696
3688
  },
3697
3689
  methods: {
3698
3690
  itemClick() {
3699
- ce.remove("table_filter:" + this.$props.to);
3691
+ re.remove("table_filter:" + this.$props.to);
3700
3692
  },
3701
3693
  getTo(e) {
3702
3694
  try {
@@ -3734,7 +3726,7 @@ function Mo(e, t, l, o, n, a) {
3734
3726
  }, 8, ["index", "class", "onClick"])
3735
3727
  ]),
3736
3728
  _: 1
3737
- }, 8, ["to", "new-tab"])) : E("", !0)
3729
+ }, 8, ["to", "new-tab"])) : x("", !0)
3738
3730
  ], 64)) : l.item.meta && l.item.meta.menuType === 1 ? (i(), f(m, {
3739
3731
  key: 1,
3740
3732
  ref: "subMenu",
@@ -3758,23 +3750,23 @@ function Mo(e, t, l, o, n, a) {
3758
3750
  }, null, 8, ["meta"]))
3759
3751
  ]),
3760
3752
  default: c(() => [
3761
- (i(!0), h(I, null, O(l.item.children, (_) => (i(), f(u, {
3762
- key: _.path,
3753
+ (i(!0), h(I, null, O(l.item.children, (y) => (i(), f(u, {
3754
+ key: y.path,
3763
3755
  "is-nest": !0,
3764
- item: _,
3765
- to: a.getTo(_),
3756
+ item: y,
3757
+ to: a.getTo(y),
3766
3758
  class: "nest-menu"
3767
3759
  }, null, 8, ["item", "to"]))), 128))
3768
3760
  ]),
3769
3761
  _: 1
3770
- }, 8, ["index", "class"])) : E("", !0)
3771
- ])) : E("", !0);
3762
+ }, 8, ["index", "class"])) : x("", !0)
3763
+ ])) : x("", !0);
3772
3764
  }
3773
3765
  const Do = /* @__PURE__ */ $(Ro, [["render", Mo]]);
3774
- function yt(e) {
3766
+ function _t(e) {
3775
3767
  return e.filter((t) => {
3776
3768
  var l;
3777
- return ((l = t.meta) == null ? void 0 : l.menuType) === 0 ? !1 : (t.children && (t.children = yt(t.children), t.children.length === 0 && delete t.children), !0);
3769
+ return ((l = t.meta) == null ? void 0 : l.menuType) === 0 ? !1 : (t.children && (t.children = _t(t.children), t.children.length === 0 && delete t.children), !0);
3778
3770
  });
3779
3771
  }
3780
3772
  const jo = {
@@ -3789,7 +3781,7 @@ const jo = {
3789
3781
  let e = [];
3790
3782
  return this.remoteRouter.forEach((t) => {
3791
3783
  e = e.concat(v(t.routes));
3792
- }), yt(e);
3784
+ }), _t(e);
3793
3785
  }
3794
3786
  },
3795
3787
  methods: {
@@ -3829,18 +3821,18 @@ function No(e, t, l, o, n, a) {
3829
3821
  label: u.meta.title
3830
3822
  }, {
3831
3823
  default: c(() => [
3832
- (i(!0), h(I, null, O(u.children, (m, _) => (i(), h(I, {
3824
+ (i(!0), h(I, null, O(u.children, (m, y) => (i(), h(I, {
3833
3825
  key: m.path
3834
3826
  }, [
3835
3827
  u.meta.menuType !== 0 ? (i(), f(s, {
3836
3828
  key: 0,
3837
- label: (_ === u.children.length - 1 ? "└─" : "├─") + m.meta.title,
3829
+ label: (y === u.children.length - 1 ? "└─" : "├─") + m.meta.title,
3838
3830
  value: a.getJumpPath(m)
3839
- }, null, 8, ["label", "value"])) : E("", !0)
3831
+ }, null, 8, ["label", "value"])) : x("", !0)
3840
3832
  ], 64))), 128))
3841
3833
  ]),
3842
3834
  _: 2
3843
- }, 1032, ["label"])) : E("", !0)
3835
+ }, 1032, ["label"])) : x("", !0)
3844
3836
  ], 64)) : (i(), f(s, {
3845
3837
  key: 1,
3846
3838
  label: "" + u.meta.title,
@@ -3905,17 +3897,17 @@ const qo = q({
3905
3897
  }
3906
3898
  });
3907
3899
  function Uo(e, t, l, o, n, a) {
3908
- const s = w("logo"), r = w("search-menu"), d = w("sidebar-item"), u = Sl, m = xl;
3900
+ const s = w("logo"), r = w("search-menu"), d = w("sidebar-item"), u = Sl, m = El;
3909
3901
  return i(), h("div", {
3910
3902
  class: H({ "has-logo": e.showLogo })
3911
3903
  }, [
3912
3904
  e.showLogo ? (i(), f(s, {
3913
3905
  key: 0,
3914
3906
  collapse: e.isCollapse
3915
- }, null, 8, ["collapse"])) : E("", !0),
3907
+ }, null, 8, ["collapse"])) : x("", !0),
3916
3908
  p(m, { "wrap-class": "scrollbar-wrapper" }, {
3917
3909
  default: c(() => [
3918
- e.isCollapse ? E("", !0) : (i(), f(r, { key: 0 })),
3910
+ e.isCollapse ? x("", !0) : (i(), f(r, { key: 0 })),
3919
3911
  p(u, {
3920
3912
  "default-active": e.activeMenu,
3921
3913
  collapse: e.isCollapse,
@@ -3927,13 +3919,13 @@ function Uo(e, t, l, o, n, a) {
3927
3919
  mode: "vertical"
3928
3920
  }, {
3929
3921
  default: c(() => [
3930
- (i(!0), h(I, null, O(e.routes, (_, k) => (i(), h(I, {
3922
+ (i(!0), h(I, null, O(e.routes, (y, k) => (i(), h(I, {
3931
3923
  key: k + "-module"
3932
3924
  }, [
3933
- (i(!0), h(I, null, O(e.filterRoute(_.routes), (y) => (i(), f(d, {
3934
- key: y.path,
3935
- item: y,
3936
- to: e.$router.resolve(y.redirect ? y.redirect : y).fullPath
3925
+ (i(!0), h(I, null, O(e.filterRoute(y.routes), (_) => (i(), f(d, {
3926
+ key: _.path,
3927
+ item: _,
3928
+ to: e.$router.resolve(_.redirect ? _.redirect : _).fullPath
3937
3929
  }, null, 8, ["item", "to"]))), 128))
3938
3930
  ], 64))), 128))
3939
3931
  ]),
@@ -3944,26 +3936,24 @@ function Uo(e, t, l, o, n, a) {
3944
3936
  })
3945
3937
  ], 2);
3946
3938
  }
3947
- const Ho = /* @__PURE__ */ $(qo, [["render", Uo], ["__scopeId", "data-v-d252f828"]]);
3948
- const Fo = { class: "app-main" }, Go = {
3939
+ const Ho = /* @__PURE__ */ $(qo, [["render", Uo], ["__scopeId", "data-v-d252f828"]]), Fo = { class: "app-main" }, Go = {
3949
3940
  __name: "AppMain",
3950
3941
  setup(e) {
3951
- const t = ae(), l = [], o = D(0);
3942
+ const t = de(), l = [], o = D(0);
3952
3943
  return rl(() => {
3953
3944
  var n;
3954
3945
  (n = t.meta) != null && n.keepAlive && l.indexOf(t.name) && l.push(t.name), o.value++;
3955
3946
  }), (n, a) => {
3956
- const s = w("router-view"), r = El;
3947
+ const s = w("router-view"), r = xl;
3957
3948
  return i(), h("section", Fo, [
3958
3949
  (i(), f(s, {
3959
- key: n.$route.fullPath + x(o)
3950
+ key: n.$route.fullPath + E(o)
3960
3951
  })),
3961
3952
  p(r, { bottom: 50 })
3962
3953
  ]);
3963
3954
  };
3964
3955
  }
3965
- }, Jo = /* @__PURE__ */ $(Go, [["__scopeId", "data-v-ca0f0d98"]]);
3966
- const zo = { class: "main-container" }, Ko = 992, Wo = {
3956
+ }, Jo = /* @__PURE__ */ $(Go, [["__scopeId", "data-v-ca0f0d98"]]), zo = { class: "main-container" }, Ko = 992, Wo = {
3967
3957
  __name: "index",
3968
3958
  setup(e) {
3969
3959
  const t = ot(), { body: l } = document, o = M(() => t.state.app.sidebar), n = M(() => t.state.app.device), a = M(() => t.state.settings.fixedHeader), s = M(() => ({
@@ -3981,32 +3971,32 @@ const zo = { class: "main-container" }, Ko = 992, Wo = {
3981
3971
  t.dispatch("app/toggleDevice", m ? "mobile" : "desktop"), m && t.dispatch("app/closeSideBar", { withoutAnimation: !0 });
3982
3972
  }
3983
3973
  };
3984
- return (m, _) => (i(), h("div", {
3985
- class: H([x(s), "app-wrapper"])
3974
+ return (m, y) => (i(), h("div", {
3975
+ class: H([E(s), "app-wrapper"])
3986
3976
  }, [
3987
- x(n) === "mobile" && x(o).opened ? (i(), h("div", {
3977
+ E(n) === "mobile" && E(o).opened ? (i(), h("div", {
3988
3978
  key: 0,
3989
3979
  class: "drawer-bg",
3990
3980
  onClick: d
3991
- })) : E("", !0),
3992
- p(x(Ho), { class: "sidebar-container" }),
3981
+ })) : x("", !0),
3982
+ p(E(Ho), { class: "sidebar-container" }),
3993
3983
  b("div", zo, [
3994
3984
  b("div", {
3995
- class: H({ "fixed-header": x(a) })
3985
+ class: H({ "fixed-header": E(a) })
3996
3986
  }, [
3997
- p(x(yo))
3987
+ p(E(_o))
3998
3988
  ], 2),
3999
- p(x(Jo))
3989
+ p(E(Jo))
4000
3990
  ])
4001
3991
  ], 2));
4002
3992
  }
4003
- }, vt = /* @__PURE__ */ $(Wo, [["__scopeId", "data-v-957442cd"]]), Xo = { id: "login" }, Zo = /* @__PURE__ */ b("h1", { id: "title" }, "登录", -1), Qo = { id: "form" }, Yo = {
3993
+ }, vt = /* @__PURE__ */ $(Wo, [["__scopeId", "data-v-4e09424c"]]), Xo = { id: "login" }, Zo = /* @__PURE__ */ b("h1", { id: "title" }, "登录", -1), Qo = { id: "form" }, Yo = {
4004
3994
  key: 0,
4005
3995
  class: "captcha"
4006
3996
  }, ea = ["src"], ta = { class: "tips" }, la = { class: "sso" }, na = /* @__PURE__ */ b("div", { id: "sso-qrcode" }, null, -1), oa = /* @__PURE__ */ q({
4007
3997
  __name: "login",
4008
3998
  setup(e) {
4009
- const t = st(), l = ae(), o = M(() => g.state.settings.loginTips), n = M(() => g.state.settings.captcha), a = M(() => (g.state.app, g.state.app.baseURL)), s = D(0), r = () => s.value++, d = M(() => u.value.username.length > 0 && u.value.password.length >= 4 && (n.value ? u.value.captcha.length === 4 : !0)), u = D({
3999
+ const t = st(), l = de(), o = M(() => g.state.settings.loginTips), n = M(() => g.state.settings.captcha), a = M(() => (g.state.app, g.state.app.baseURL)), s = D(0), r = () => s.value++, d = M(() => u.value.username.length > 0 && u.value.password.length >= 4 && (n.value ? u.value.captcha.length === 4 : !0)), u = D({
4010
4000
  username: "",
4011
4001
  password: "",
4012
4002
  captcha: "",
@@ -4016,48 +4006,48 @@ const zo = { class: "main-container" }, Ko = 992, Wo = {
4016
4006
  Il.error("用户名, 密码, 验证码是必须的");
4017
4007
  return;
4018
4008
  }
4019
- n.value && (u.value.sing = Ll(`${u.value.username}${u.value.password}${u.value.captcha}`).toString()), g.dispatch("user/login", u.value).then((_) => {
4009
+ n.value && (u.value.sing = Ll(`${u.value.username}${u.value.password}${u.value.captcha}`).toString()), g.dispatch("user/login", u.value).then((y) => {
4020
4010
  var k;
4021
4011
  t.push({ path: ((k = l.query) == null ? void 0 : k.redirect) || "/" });
4022
- }).catch((_) => {
4012
+ }).catch((y) => {
4023
4013
  s.value++;
4024
4014
  });
4025
4015
  };
4026
- return (_, k) => (i(), h("div", Xo, [
4016
+ return (y, k) => (i(), h("div", Xo, [
4027
4017
  Zo,
4028
4018
  b("form", Qo, [
4029
- re(b("input", {
4030
- "onUpdate:modelValue": k[0] || (k[0] = (y) => x(u).username = y),
4019
+ ie(b("input", {
4020
+ "onUpdate:modelValue": k[0] || (k[0] = (_) => E(u).username = _),
4031
4021
  type: "text",
4032
4022
  placeholder: "用户名",
4033
4023
  class: "input"
4034
4024
  }, null, 512), [
4035
- [be, x(u).username]
4025
+ [be, E(u).username]
4036
4026
  ]),
4037
- re(b("input", {
4038
- "onUpdate:modelValue": k[1] || (k[1] = (y) => x(u).password = y),
4027
+ ie(b("input", {
4028
+ "onUpdate:modelValue": k[1] || (k[1] = (_) => E(u).password = _),
4039
4029
  type: "password",
4040
4030
  placeholder: "密码",
4041
4031
  class: "input"
4042
4032
  }, null, 512), [
4043
- [be, x(u).password]
4033
+ [be, E(u).password]
4044
4034
  ]),
4045
4035
  n.value ? (i(), h("div", Yo, [
4046
- re(b("input", {
4047
- "onUpdate:modelValue": k[2] || (k[2] = (y) => x(u).captcha = y),
4036
+ ie(b("input", {
4037
+ "onUpdate:modelValue": k[2] || (k[2] = (_) => E(u).captcha = _),
4048
4038
  type: "text",
4049
4039
  placeholder: "验证码",
4050
4040
  class: "input-captcha"
4051
4041
  }, null, 512), [
4052
- [be, x(u).captcha]
4042
+ [be, E(u).captcha]
4053
4043
  ]),
4054
4044
  b("img", {
4055
4045
  class: "captcha-img",
4056
- src: a.value + "/user/captcha?ts=" + x(s),
4046
+ src: a.value + "/user/captcha?ts=" + E(s),
4057
4047
  title: "点击刷新",
4058
4048
  onClick: r
4059
4049
  }, null, 8, ea)
4060
- ])) : E("", !0),
4050
+ ])) : x("", !0),
4061
4051
  b("div", {
4062
4052
  class: H({ input: !0, button: !0, "no-ready": !d.value }),
4063
4053
  onClick: m
@@ -4067,13 +4057,12 @@ const zo = { class: "main-container" }, Ko = 992, Wo = {
4067
4057
  ]),
4068
4058
  b("div", la, [
4069
4059
  na,
4070
- (i(!0), h(I, null, O(Object.keys([]), (y) => (i(), h("div", { key: y }, B(y), 1))), 128))
4060
+ (i(!0), h(I, null, O(Object.keys([]), (_) => (i(), h("div", { key: _ }, B(_), 1))), 128))
4071
4061
  ])
4072
4062
  ])
4073
4063
  ]));
4074
4064
  }
4075
- });
4076
- const aa = {
4065
+ }), aa = {
4077
4066
  name: "NotFoundPage"
4078
4067
  }, gt = (e) => (Ke("data-v-26068803"), e = e(), We(), e), sa = { class: "not-found" }, ia = /* @__PURE__ */ gt(() => /* @__PURE__ */ b("svg", {
4079
4068
  width: "380px",
@@ -4277,11 +4266,11 @@ class $i extends wt {
4277
4266
  }
4278
4267
  }
4279
4268
  const ba = {};
4280
- function _a() {
4269
+ function ya() {
4281
4270
  return A(g.state.settings.sso || {}, ba);
4282
4271
  }
4283
- function ya() {
4284
- const e = _a(), t = g.state.settings.activeSsoKey || "", l = e[t];
4272
+ function _a() {
4273
+ const e = ya(), t = g.state.settings.activeSsoKey || "", l = e[t];
4285
4274
  if (l !== void 0)
4286
4275
  return l();
4287
4276
  }
@@ -4296,7 +4285,7 @@ function va(e) {
4296
4285
  (d = t.query) != null && d.redirect ? o((u = t.query) == null ? void 0 : u.redirect) : o();
4297
4286
  return;
4298
4287
  }
4299
- const a = t.query.redirect || t.path, s = ya();
4288
+ const a = t.query.redirect || t.path, s = _a();
4300
4289
  if (!s) {
4301
4290
  o(`/login?redirect=${a}`);
4302
4291
  return;
@@ -4312,10 +4301,10 @@ function va(e) {
4312
4301
  const ga = {}, ka = { class: "loading preloader" }, wa = /* @__PURE__ */ b("div", { class: "preloader-inner" }, null, -1), Sa = [
4313
4302
  wa
4314
4303
  ];
4315
- function xa(e, t) {
4304
+ function Ea(e, t) {
4316
4305
  return i(), h("div", ka, Sa);
4317
4306
  }
4318
- const St = /* @__PURE__ */ $(ga, [["render", xa]]), Ea = {
4307
+ const St = /* @__PURE__ */ $(ga, [["render", Ea]]), xa = {
4319
4308
  name: "VNotice",
4320
4309
  props: {
4321
4310
  dataApi: {
@@ -4347,11 +4336,11 @@ const St = /* @__PURE__ */ $(ga, [["render", xa]]), Ea = {
4347
4336
  function Ia(e, t, l, o, n, a) {
4348
4337
  const s = Oe;
4349
4338
  return i(), h("div", null, [
4350
- n.hasNotice ? (i(), f(s, G(F({ key: 0 }, n.noticeProps)), null, 16)) : E("", !0)
4339
+ n.hasNotice ? (i(), f(s, G(F({ key: 0 }, n.noticeProps)), null, 16)) : x("", !0)
4351
4340
  ]);
4352
4341
  }
4353
- const xt = /* @__PURE__ */ $(Ea, [["render", Ia]]), $a = q({
4354
- components: { VLoading: St, VNotice: xt },
4342
+ const Et = /* @__PURE__ */ $(xa, [["render", Ia]]), $a = q({
4343
+ components: { VLoading: St, VNotice: Et },
4355
4344
  props: {
4356
4345
  schemaHandler: {
4357
4346
  type: Function,
@@ -4391,10 +4380,9 @@ const xt = /* @__PURE__ */ $(Ea, [["render", Ia]]), $a = q({
4391
4380
  } : Q(n.notice) && (this.notice = n.notice, this.noticeApi = n.notice.noticeApi), delete n.notice), this.owners = n.ownerNames || [], this.serviceOffLine = n.serviceOffLine || !1), this.schema = this.$props.schemaHandler(n, t), g.commit("app/SET_PAGE_JSON_SCHEMA", { page: this.$route.path, json: this.schema });
4392
4381
  });
4393
4382
  }
4394
- });
4395
- const Ca = ["innerHTML"];
4383
+ }), Ca = ["innerHTML"];
4396
4384
  function Ta(e, t, l, o, n, a) {
4397
- const s = Oe, r = xt, d = St;
4385
+ const s = Oe, r = Et, d = St;
4398
4386
  return i(), h(I, null, [
4399
4387
  e.owners.length > 0 ? (i(), f(s, {
4400
4388
  key: 0,
@@ -4402,7 +4390,7 @@ function Ta(e, t, l, o, n, a) {
4402
4390
  type: "info",
4403
4391
  style: { margin: "0 0 20px 0" },
4404
4392
  closable: !1
4405
- }, null, 8, ["title"])) : E("", !0),
4393
+ }, null, 8, ["title"])) : x("", !0),
4406
4394
  e.env === "prod" && e.serviceOffLine ? (i(), h("div", {
4407
4395
  key: 1,
4408
4396
  class: "offline-notice",
@@ -4413,12 +4401,12 @@ function Ta(e, t, l, o, n, a) {
4413
4401
  notice: e.notice,
4414
4402
  style: { margin: "0 0 20px 0" },
4415
4403
  "data-api": e.noticeApi
4416
- }, null, 8, ["notice", "data-api"])) : E("", !0),
4404
+ }, null, 8, ["notice", "data-api"])) : x("", !0),
4417
4405
  e.loading ? (i(), f(d, { key: 1 })) : le(e.$slots, "default", G(F({ key: 2 }, e.schema)), void 0, !0)
4418
4406
  ], 64))
4419
4407
  ], 64);
4420
4408
  }
4421
- const ie = /* @__PURE__ */ $($a, [["render", Ta], ["__scopeId", "data-v-4965a709"]]), Et = {
4409
+ const se = /* @__PURE__ */ $($a, [["render", Ta], ["__scopeId", "data-v-4965a709"]]), xt = {
4422
4410
  __name: "table",
4423
4411
  setup(e) {
4424
4412
  const t = (l, o) => {
@@ -4434,17 +4422,17 @@ const ie = /* @__PURE__ */ $($a, [["render", Ta], ["__scopeId", "data-v-4965a709
4434
4422
  n.indexOf(a) === -1 && delete l[a];
4435
4423
  }), l.listApi === void 0 && (l.listApi = `/${o}/list`), l;
4436
4424
  };
4437
- return (l, o) => (i(), f(ie, { "schema-handler": t }, {
4425
+ return (l, o) => (i(), f(se, { "schema-handler": t }, {
4438
4426
  default: c((n) => [
4439
- p(x(oe), G(Y(n)), null, 16)
4427
+ p(E(oe), G(Y(n)), null, 16)
4440
4428
  ]),
4441
4429
  _: 1
4442
4430
  }));
4443
4431
  }
4444
- }, xe = {
4432
+ }, Ee = {
4445
4433
  __name: "form",
4446
4434
  setup(e) {
4447
- const t = ae(), l = st(), o = (r, d) => {
4435
+ const t = de(), l = st(), o = (r, d) => {
4448
4436
  const u = Object.keys(z.props);
4449
4437
  return Object.keys(r).forEach((m) => {
4450
4438
  if (u.indexOf(m) === -1) {
@@ -4486,9 +4474,9 @@ const ie = /* @__PURE__ */ $($a, [["render", Ta], ["__scopeId", "data-v-4965a709
4486
4474
  var r, d;
4487
4475
  (r = t.query) != null && r.goback ? l.push((d = t.query) == null ? void 0 : d.goback) : history.state.back && history.back();
4488
4476
  }
4489
- return (r, d) => (i(), f(ie, { "schema-handler": o }, {
4477
+ return (r, d) => (i(), f(se, { "schema-handler": o }, {
4490
4478
  default: c((u) => [
4491
- p(x(z), G(Y(u)), null, 16)
4479
+ p(E(z), G(Y(u)), null, 16)
4492
4480
  ]),
4493
4481
  _: 1
4494
4482
  }));
@@ -4635,14 +4623,13 @@ const ie = /* @__PURE__ */ $($a, [["render", Ta], ["__scopeId", "data-v-4965a709
4635
4623
  });
4636
4624
  }
4637
4625
  }
4638
- });
4639
- const Oa = { class: "card-header" }, Aa = /* @__PURE__ */ b("span", null, "列表", -1), Pa = { class: "tree-action" }, Ra = { key: 0 }, La = {
4626
+ }), Oa = { class: "card-header" }, Aa = /* @__PURE__ */ b("span", null, "列表", -1), Pa = { class: "tree-action" }, Ra = { key: 0 }, La = {
4640
4627
  key: 1,
4641
4628
  style: { color: "#E6A23C" }
4642
4629
  }, Ma = { class: "card-header" };
4643
4630
  function Da(e, t, l, o, n, a) {
4644
- const s = de, r = $l, d = Ae, u = me, m = w("v-form"), _ = se;
4645
- return i(), f(_, {
4631
+ const s = pe, r = $l, d = Ae, u = me, m = w("v-form"), y = ae;
4632
+ return i(), f(y, {
4646
4633
  class: "tree-box",
4647
4634
  gutter: 20
4648
4635
  }, {
@@ -4679,48 +4666,48 @@ function Da(e, t, l, o, n, a) {
4679
4666
  "allow-drop": e.allowDrop,
4680
4667
  onNodeDragEnd: e.handleDragEnd
4681
4668
  }), {
4682
- default: c(({ node: k, data: y }) => [
4669
+ default: c(({ node: k, data: _ }) => [
4683
4670
  b("span", Pa, [
4684
- y[e.localTreeProps.props.label] ? (i(), h("span", Ra, B(y[e.localTreeProps.props.label]), 1)) : (i(), h("span", La, "请在右侧表单中修改 --> ")),
4671
+ _[e.localTreeProps.props.label] ? (i(), h("span", Ra, B(_[e.localTreeProps.props.label]), 1)) : (i(), h("span", La, "请在右侧表单中修改 --> ")),
4685
4672
  b("span", null, [
4686
- y[e.localTreeProps.props.label] ? (i(), f(s, {
4673
+ _[e.localTreeProps.props.label] ? (i(), f(s, {
4687
4674
  key: 0,
4688
4675
  class: "button",
4689
4676
  type: "text",
4690
- onClick: () => e.onclick(y)
4677
+ onClick: () => e.onclick(_)
4691
4678
  }, {
4692
4679
  default: c(() => [
4693
4680
  S("编辑")
4694
4681
  ]),
4695
4682
  _: 2
4696
- }, 1032, ["onClick"])) : E("", !0),
4697
- e.canAppend(y, k) ? (i(), f(s, {
4683
+ }, 1032, ["onClick"])) : x("", !0),
4684
+ e.canAppend(_, k) ? (i(), f(s, {
4698
4685
  key: 1,
4699
4686
  class: "button",
4700
4687
  type: "text",
4701
- onClick: () => e.append(y, k)
4688
+ onClick: () => e.append(_, k)
4702
4689
  }, {
4703
4690
  default: c(() => [
4704
4691
  S("添加")
4705
4692
  ]),
4706
4693
  _: 2
4707
- }, 1032, ["onClick"])) : E("", !0),
4708
- y.children === void 0 || y.children.length === 0 ? (i(), f(s, {
4694
+ }, 1032, ["onClick"])) : x("", !0),
4695
+ _.children === void 0 || _.children.length === 0 ? (i(), f(s, {
4709
4696
  key: 2,
4710
4697
  class: "button",
4711
4698
  type: "text",
4712
- onClick: () => e.remove(y)
4699
+ onClick: () => e.remove(_)
4713
4700
  }, {
4714
4701
  default: c(() => [
4715
4702
  S("删除")
4716
4703
  ]),
4717
4704
  _: 2
4718
- }, 1032, ["onClick"])) : E("", !0)
4705
+ }, 1032, ["onClick"])) : x("", !0)
4719
4706
  ])
4720
4707
  ])
4721
4708
  ]),
4722
4709
  _: 1
4723
- }, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : E("", !0)
4710
+ }, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : x("", !0)
4724
4711
  ]),
4725
4712
  _: 1
4726
4713
  })
@@ -4749,7 +4736,7 @@ function Da(e, t, l, o, n, a) {
4749
4736
  }, e.formProps, { onSubmit: e.submit }), null, 16, ["modelValue", "onSubmit"]))
4750
4737
  ]),
4751
4738
  _: 1
4752
- })) : E("", !0)
4739
+ })) : x("", !0)
4753
4740
  ]),
4754
4741
  _: 1
4755
4742
  })
@@ -4766,7 +4753,7 @@ const Fe = /* @__PURE__ */ $(Ba, [["render", Da]]), ja = {
4766
4753
  n.indexOf(a) === -1 && delete l[a];
4767
4754
  }), l;
4768
4755
  };
4769
- return (l, o) => (i(), f(ie, { "schema-handler": t }, {
4756
+ return (l, o) => (i(), f(se, { "schema-handler": t }, {
4770
4757
  default: c((n) => [
4771
4758
  p(Fe, G(Y(n)), null, 16)
4772
4759
  ]),
@@ -4822,12 +4809,12 @@ function Va(e, t, l) {
4822
4809
  let s = a[0], r = a.filter((u, m) => m > 0), d = t;
4823
4810
  if (t.indexOf(":") > -1) {
4824
4811
  const u = t.split(":"), m = u[1].split(",");
4825
- d = u[0], s = m[0], r = m.filter((_, k) => k > 0);
4812
+ d = u[0], s = m[0], r = m.filter((y, k) => k > 0);
4826
4813
  }
4827
4814
  r.forEach((u) => {
4828
4815
  const m = [];
4829
- l.forEach((_) => {
4830
- m.push(_[u]);
4816
+ l.forEach((y) => {
4817
+ m.push(y[u]);
4831
4818
  }), o.series.push({
4832
4819
  name: u,
4833
4820
  type: d,
@@ -4918,7 +4905,7 @@ const Ja = /* @__PURE__ */ $(qa, [["render", Ga], ["__scopeId", "data-v-cc0d8293
4918
4905
  };
4919
4906
  function Ka(e, t, l, o, n, a) {
4920
4907
  const s = Ae, r = Vt("resize");
4921
- return re((i(), f(s, {
4908
+ return ie((i(), f(s, {
4922
4909
  shadow: "never",
4923
4910
  class: "part"
4924
4911
  }, {
@@ -4943,14 +4930,14 @@ const Wa = /* @__PURE__ */ $(za, [["render", Ka], ["__scopeId", "data-v-a5a65cc1
4943
4930
  }
4944
4931
  },
4945
4932
  setup(e) {
4946
- const t = e, l = ae();
4933
+ const t = useRoute();
4947
4934
  Ze(() => {
4948
4935
  });
4949
- const o = D({});
4936
+ const l = e, o = D({});
4950
4937
  ze(() => {
4951
4938
  var m;
4952
- (m = t.filter) == null || m.forEach((_) => {
4953
- _.default !== null && (o.value[_.field] = _.default);
4939
+ (m = l.filter) == null || m.forEach((y) => {
4940
+ y.default !== null && (o.value[y.field] = y.default);
4954
4941
  });
4955
4942
  });
4956
4943
  const n = {
@@ -4963,23 +4950,23 @@ const Wa = /* @__PURE__ */ $(za, [["render", Ka], ["__scopeId", "data-v-a5a65cc1
4963
4950
  cancelButton: {
4964
4951
  text: "重置"
4965
4952
  }
4966
- }, a = D(1), s = D(t.filter), r = D(t.dataPart), d = M(() => {
4967
- let m = l.params.id;
4953
+ }, a = D(1), s = D(l.filter), r = D(l.dataPart), d = M(() => {
4954
+ let m = t.params.id;
4968
4955
  if (!m) {
4969
- const _ = l.path.split("/");
4970
- m = _[_.length - 1];
4956
+ const y = t.path.split("/");
4957
+ m = y[y.length - 1];
4971
4958
  }
4972
4959
  return "/focusbi_report/view/" + m;
4973
4960
  }), u = (m) => {
4974
- Tt.get(d.value, { params: m }).then(({ data: _ }) => {
4975
- s.value = _.filter, r.value = _.dataPart, a.value++;
4961
+ Tt.get(d.value, { params: m }).then(({ data: y }) => {
4962
+ s.value = y.filter, r.value = y.dataPart, a.value++;
4976
4963
  });
4977
4964
  };
4978
- return (m, _) => {
4979
- const k = Ae, y = me, J = Oe, U = se;
4965
+ return (m, y) => {
4966
+ const k = Ae, _ = me, J = Oe, U = ae;
4980
4967
  return i(), f(U, null, {
4981
4968
  default: c(() => [
4982
- x(s).length > 0 ? (i(), f(y, {
4969
+ E(s).length > 0 ? (i(), f(_, {
4983
4970
  key: 0,
4984
4971
  span: 24
4985
4972
  }, {
@@ -4989,10 +4976,10 @@ const Wa = /* @__PURE__ */ $(za, [["render", Ka], ["__scopeId", "data-v-a5a65cc1
4989
4976
  class: "part-filter"
4990
4977
  }, {
4991
4978
  default: c(() => [
4992
- p(x(z), {
4993
- modelValue: x(o),
4994
- "onUpdate:modelValue": _[0] || (_[0] = (T) => qt(o) ? o.value = T : null),
4995
- "form-items": x(s),
4979
+ p(E(z), {
4980
+ modelValue: E(o),
4981
+ "onUpdate:modelValue": y[0] || (y[0] = (T) => qt(o) ? o.value = T : null),
4982
+ "form-items": E(s),
4996
4983
  options: n,
4997
4984
  onSubmit: u
4998
4985
  }, null, 8, ["modelValue", "form-items"])
@@ -5001,12 +4988,12 @@ const Wa = /* @__PURE__ */ $(za, [["render", Ka], ["__scopeId", "data-v-a5a65cc1
5001
4988
  })
5002
4989
  ]),
5003
4990
  _: 1
5004
- })) : E("", !0),
5005
- p(y, { span: 24 }, {
4991
+ })) : x("", !0),
4992
+ p(_, { span: 24 }, {
5006
4993
  default: c(() => [
5007
4994
  p(U, { gutter: 20 }, {
5008
4995
  default: c(() => [
5009
- (i(!0), h(I, null, O(x(r), (T, X) => (i(), f(y, {
4996
+ (i(!0), h(I, null, O(E(r), (T, X) => (i(), f(_, {
5010
4997
  key: X,
5011
4998
  span: T.col || 24
5012
4999
  }, {
@@ -5021,7 +5008,7 @@ const Wa = /* @__PURE__ */ $(za, [["render", Ka], ["__scopeId", "data-v-a5a65cc1
5021
5008
  ]),
5022
5009
  _: 2
5023
5010
  }, 1032, ["title"])) : (i(), f(Wa, {
5024
- key: x(a),
5011
+ key: E(a),
5025
5012
  option: T
5026
5013
  }, null, 8, ["option"]))
5027
5014
  ]),
@@ -5038,8 +5025,7 @@ const Wa = /* @__PURE__ */ $(za, [["render", Ka], ["__scopeId", "data-v-a5a65cc1
5038
5025
  });
5039
5026
  };
5040
5027
  }
5041
- });
5042
- const Za = {
5028
+ }), Za = {
5043
5029
  __name: "report",
5044
5030
  setup(e) {
5045
5031
  const t = useRoute(), l = M(() => {
@@ -5050,15 +5036,14 @@ const Za = {
5050
5036
  }
5051
5037
  return "/focusbi_report/view/" + o;
5052
5038
  });
5053
- return (o, n) => (i(), f(ie, { "schema-api": x(l) }, {
5039
+ return (o, n) => (i(), f(se, { "schema-api": E(l) }, {
5054
5040
  default: c((a) => [
5055
5041
  p(Xa, G(Y(a)), null, 16)
5056
5042
  ]),
5057
5043
  _: 1
5058
5044
  }, 8, ["schema-api"]));
5059
5045
  }
5060
- };
5061
- const Qa = (e) => p("div", null, [e.test]), Ya = {
5046
+ }, Qa = (e) => p("div", null, [e.test]), Ya = {
5062
5047
  card: al,
5063
5048
  form: z,
5064
5049
  table: oe,
@@ -5145,19 +5130,19 @@ function je(e) {
5145
5130
  function It(e) {
5146
5131
  return tt(e) ? e : Q(e) ? [e] : [];
5147
5132
  }
5148
- let Ee = {};
5133
+ let xe = {};
5149
5134
  const $t = (e) => {
5150
- const t = Ya[e.type] || Ee[e.type] || e.type;
5135
+ const t = Ya[e.type] || xe[e.type] || e.type;
5151
5136
  return Ht(t, e.props, {
5152
5137
  default: () => It(e.children).map((l) => $t(l))
5153
5138
  });
5154
- }, ls = (e) => (Object.keys(Ee).length === 0 && (Ee = Ut().appContext.components), je(Object.values(e.schema)).map((l) => $t(l))), ns = {
5139
+ }, ls = (e) => (Object.keys(xe).length === 0 && (xe = Ut().appContext.components), je(Object.values(e.schema)).map((l) => $t(l))), ns = {
5155
5140
  __name: "custom",
5156
5141
  setup(e) {
5157
5142
  const t = D([]), l = (o, n) => (t.value = Ft(o), o);
5158
- return (o, n) => (i(), f(ie, { "schema-handler": l }, {
5143
+ return (o, n) => (i(), f(se, { "schema-handler": l }, {
5159
5144
  default: c(() => [
5160
- p(x(ls), { schema: x(t) }, null, 8, ["schema"])
5145
+ p(E(ls), { schema: E(t) }, null, 8, ["schema"])
5161
5146
  ]),
5162
5147
  _: 1
5163
5148
  }));
@@ -5176,9 +5161,9 @@ const os = (e) => {
5176
5161
  return ge;
5177
5162
  switch (e.page_type) {
5178
5163
  case j.list:
5179
- return Et;
5164
+ return xt;
5180
5165
  case j.form:
5181
- return xe;
5166
+ return Ee;
5182
5167
  case j.custom:
5183
5168
  case j.localComp:
5184
5169
  return t(e.view || "");
@@ -5219,7 +5204,7 @@ const Ct = (e) => {
5219
5204
  const o = e.path + "/list", n = e.path + "/form", a = e.path + "/:id", s = [{
5220
5205
  path: o,
5221
5206
  name: e.name + "列表" + e.id,
5222
- component: Et,
5207
+ component: xt,
5223
5208
  meta: {
5224
5209
  id: e.id + 99999,
5225
5210
  title: "列表",
@@ -5232,7 +5217,7 @@ const Ct = (e) => {
5232
5217
  }, {
5233
5218
  path: n,
5234
5219
  name: e.name + "新建" + e.id,
5235
- component: xe,
5220
+ component: Ee,
5236
5221
  meta: {
5237
5222
  id: e.id + 99999 + 1,
5238
5223
  title: "新建",
@@ -5245,7 +5230,7 @@ const Ct = (e) => {
5245
5230
  }, {
5246
5231
  path: a,
5247
5232
  name: e.name + "编辑" + e.id,
5248
- component: xe,
5233
+ component: Ee,
5249
5234
  meta: {
5250
5235
  id: e.id + 99999 + 2,
5251
5236
  title: "编辑",
@@ -5361,8 +5346,8 @@ const ms = {
5361
5346
  confirmButtonText: "重新登录",
5362
5347
  showCancelButton: !0,
5363
5348
  cancelButtonText: "取消",
5364
- callback: (_) => {
5365
- _ === "confirm" && (ft(), location.href = location.origin + location.pathname + location.hash.replace("#", "#/?redirect="), location.reload()), g.dispatch("user/SetExpired");
5349
+ callback: (y) => {
5350
+ y === "confirm" && (ft(), location.href = location.origin + location.pathname + location.hash.replace("#", "#/?redirect="), location.reload()), g.dispatch("user/SetExpired");
5366
5351
  }
5367
5352
  });
5368
5353
  return;
@@ -5403,8 +5388,7 @@ function Ne(e = {}) {
5403
5388
  o.interceptors.request.use(n.request.onFulfilled, n.request.onRejected), o.interceptors.response.use(n.response.onFulfilled, n.response.onRejected);
5404
5389
  }), o;
5405
5390
  }
5406
- const Tt = Ne();
5407
- const bs = {
5391
+ const Tt = Ne(), bs = {
5408
5392
  beforeMount(e, t) {
5409
5393
  e.clickOutsideEvent = function(l) {
5410
5394
  e === l.target || e.contains(l.target) || t.value(l, e);
@@ -5413,13 +5397,13 @@ const bs = {
5413
5397
  unmounted(e) {
5414
5398
  document.body.removeEventListener("click", e.clickOutsideEvent);
5415
5399
  }
5416
- }, W = Al(), _s = {
5400
+ }, W = Al(), ys = {
5417
5401
  mounted: (e, t) => {
5418
5402
  e !== null && (t.value, e.oncontextmenu = (l) => {
5419
5403
  l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && W.emit("right-click", { event: l, data: t.value });
5420
5404
  });
5421
5405
  }
5422
- }, ys = {
5406
+ }, _s = {
5423
5407
  mounted(e) {
5424
5408
  }
5425
5409
  };
@@ -5459,18 +5443,18 @@ const vs = {
5459
5443
  __proto__: null,
5460
5444
  devtool: vs,
5461
5445
  outClick: bs,
5462
- resize: ys,
5463
- rightClick: _s
5446
+ resize: _s,
5447
+ rightClick: ys
5464
5448
  }, Symbol.toStringTag, { value: "Module" }));
5465
- let pe;
5449
+ let ue;
5466
5450
  function Ti(e) {
5467
- return e ? Ne(A(fe.axios, e)) : pe;
5451
+ return e ? Ne(A(fe.axios, e)) : ue;
5468
5452
  }
5469
5453
  function Bi(e) {
5470
5454
  const t = A(fe, e), l = Gt(Ml), o = $s(t), n = t.plugins || [];
5471
5455
  n.unshift(o), n.forEach((a) => {
5472
5456
  Is(l, a);
5473
- }), t != null && t.mock && Jl(), pe = Ne(t.axios), g.dispatch("setHttp", pe).then(), g.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), g.dispatch("app/setBaseAPI", t == null ? void 0 : t.axios.baseURL).then(), l.config.globalProperties.$http = pe, l.config.globalProperties.$router = K, window.App = l, window.OmsOptions = t, Bl(() => ({
5457
+ }), t != null && t.mock && Jl(), ue = Ne(t.axios), g.dispatch("setHttp", ue).then(), g.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), g.dispatch("app/setBaseAPI", t == null ? void 0 : t.axios.baseURL).then(), l.config.globalProperties.$http = ue, l.config.globalProperties.$router = K, window.App = l, window.OmsOptions = t, Bl(() => ({
5474
5458
  "X-Token": Me()
5475
5459
  })), K.isReady().then(() => l.mount("#app"));
5476
5460
  }
@@ -5489,12 +5473,12 @@ function Ss(e, t) {
5489
5473
  Q(l) && (l = [l]), e.use(...l);
5490
5474
  });
5491
5475
  }
5492
- function xs(e, t = {}) {
5476
+ function Es(e, t = {}) {
5493
5477
  Object.keys(t).forEach((l) => {
5494
5478
  e.directive(l, t[l]);
5495
5479
  });
5496
5480
  }
5497
- function Es(e = {}) {
5481
+ function xs(e = {}) {
5498
5482
  const t = ["app", "settings", "user"];
5499
5483
  Object.keys(e).forEach((l) => {
5500
5484
  if (t.indexOf(l) !== -1) {
@@ -5505,7 +5489,7 @@ function Es(e = {}) {
5505
5489
  });
5506
5490
  }
5507
5491
  function Is(e, t) {
5508
- ks(e, t.components || {}), ws(t.routes || []), Ss(e, t.use || []), xs(e, t.directives || {}), Es(t.storeModules || {}), dt(t.mockApis || []);
5492
+ ks(e, t.components || {}), ws(t.routes || []), Ss(e, t.use || []), Es(e, t.directives || {}), xs(t.storeModules || {}), dt(t.mockApis || []);
5509
5493
  }
5510
5494
  function $s(e) {
5511
5495
  var t;
@@ -5529,14 +5513,14 @@ export {
5529
5513
  ln as Message,
5530
5514
  Ue as MessageBox,
5531
5515
  j as PageType,
5532
- _a as allSso,
5516
+ ya as allSso,
5533
5517
  Bi as createAdmin,
5534
5518
  W as eventBus,
5535
5519
  sn as getCmp,
5536
- pe as http,
5520
+ ue as http,
5537
5521
  Ne as instance,
5538
5522
  Ci as regViews,
5539
- Ei as setCmp,
5523
+ xi as setCmp,
5540
5524
  is as transRemoteModules,
5541
5525
  Ti as useHttp
5542
5526
  };