@okiss/oms 0.0.41 → 0.0.42

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,9 +1,9 @@
1
1
  var $t = Object.defineProperty;
2
2
  var It = (e, t, l) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
3
3
  var M = (e, t, l) => (It(e, typeof t != "symbol" ? t + "" : t, l), l);
4
- import { defineComponent as q, onBeforeMount as Ke, provide as Ct, resolveComponent as v, openBlock as i, createBlock as f, createVNode as u, computed as j, createTextVNode as g, withCtx as r, TransitionGroup as Tt, createElementBlock as h, Fragment as S, renderList as B, toDisplayString as O, normalizeClass as H, renderSlot as le, mergeProps as G, createCommentVNode as x, toRefs as Ot, ref as L, normalizeStyle as Bt, createElementVNode as b, Transition as At, pushScopeId as We, popScopeId as Ze, resolveDynamicComponent as Qe, normalizeProps as W, guardReactiveProps as Y, unref as k, withDirectives as ie, vModelText as be, resolveDirective as Rt, onMounted as Pt, isRef as Lt, getCurrentInstance as Mt, h as Dt, toRaw as jt, createApp as Nt } from "vue";
5
- import { addNewStyle as Vt, addNewStyleTag as qt, queryParams as Ut, logGroup as Ht, compactObject as Xe, showEleByClassName as pe, waterMarker as Ft, Cache as _e, isExternal as qe, getQueryParam as Gt, createIFrame as Jt, strVarReplace as Q, obj2Param as zt, isObject as X, isString as Ie, effectDataTrans as Kt, isArray as Ye } from "@okiss/utils";
6
- import ye from "mockjs";
4
+ import { defineComponent as q, onBeforeMount as Ke, provide as Ct, resolveComponent as v, openBlock as i, createBlock as f, createVNode as u, computed as j, createTextVNode as g, withCtx as r, TransitionGroup as Tt, createElementBlock as h, Fragment as S, renderList as B, toDisplayString as O, normalizeClass as H, renderSlot as le, mergeProps as G, createCommentVNode as x, toRefs as Ot, ref as L, normalizeStyle as Bt, createElementVNode as b, Transition as At, pushScopeId as We, popScopeId as Ze, resolveDynamicComponent as Qe, normalizeProps as W, guardReactiveProps as Y, unref as k, withDirectives as ie, vModelText as he, resolveDirective as Rt, onMounted as Pt, isRef as Lt, getCurrentInstance as Mt, h as Dt, toRaw as jt, createApp as Nt } from "vue";
5
+ import { addNewStyle as Vt, addNewStyleTag as qt, queryParams as Ut, logGroup as Ht, compactObject as Xe, showEleByClassName as $e, waterMarker as Ft, Cache as be, isExternal as qe, getQueryParam as Gt, createIFrame as Jt, strVarReplace as Q, obj2Param as zt, isObject as X, isString as Ie, effectDataTrans as Kt, isArray as Ye } from "@okiss/utils";
6
+ import _e from "mockjs";
7
7
  import Wt, { cloneDeep as y, merge as A, get as ne, unset as et } from "lodash";
8
8
  import tt from "element-plus/lib/locale/lang/zh-cn";
9
9
  import Ce from "axios";
@@ -12,8 +12,8 @@ import { createStore as Zt, useStore as lt, mapGetters as Te } from "vuex";
12
12
  import Qt, { ElMessage as Xt, ElMessageBox as Yt, ElCard as el, ElRow as tl, ElCol as ll } from "element-plus";
13
13
  import "element-plus/dist/index.css";
14
14
  import "dayjs/locale/zh-cn";
15
- import { useRoute as de, onBeforeRouteLeave as nl, useRouter as ol, createRouter as al, createWebHashHistory as sl, onBeforeRouteUpdate as il } from "vue-router";
16
- import { ElBreadcrumbItem as rl, ElBreadcrumb as cl, ElRow as ae, ElMain as ul, ElAside as pl, ElContainer as dl, ElDivider as nt, ElButton as ue, ElOption as Oe, ElSelect as Be, ElFormItem as ot, ElForm as at, ElCol as me, ElDrawer as st, ElDropdownItem as ml, ElDropdownMenu as fl, ElDropdown as hl, ElMenuItem as bl, ElSubMenu as _l, ElOptionGroup as yl, ElMenu as vl, ElScrollbar as gl, ElBacktop as kl, ElMessage as wl, ElAlert as Ae, ElTree as Sl, ElCard as Re } from "element-plus/es";
15
+ import { useRoute as pe, onBeforeRouteLeave as nl, useRouter as ol, createRouter as al, createWebHashHistory as sl, onBeforeRouteUpdate as il } from "vue-router";
16
+ import { ElBreadcrumbItem as rl, ElBreadcrumb as cl, ElRow as ae, ElMain as ul, ElAside as pl, ElContainer as dl, ElDivider as nt, ElButton as ue, ElOption as Oe, ElSelect as Be, ElFormItem as ot, ElForm as at, ElCol as de, ElDrawer as st, ElDropdownItem as ml, ElDropdownMenu as fl, ElDropdown as hl, ElMenuItem as bl, ElSubMenu as _l, ElOptionGroup as yl, ElMenu as vl, ElScrollbar as gl, ElBacktop as kl, ElMessage as wl, ElAlert as Ae, ElTree as Sl, ElCard as Re } from "element-plus/es";
17
17
  import "element-plus/es/components/base/style/css";
18
18
  import "element-plus/es/components/row/style/css";
19
19
  import "element-plus/es/components/drawer/style/css";
@@ -50,7 +50,7 @@ import "element-plus/es/components/tree/style/css";
50
50
  import Ol from "vue3-markdown-it";
51
51
  import { MD5 as Bl } from "crypto-js";
52
52
  import "element-plus/es/components/message/style/css";
53
- import we from "nprogress";
53
+ import ke from "nprogress";
54
54
  import "nprogress/nprogress.css";
55
55
  String.prototype.format || (String.prototype.format = function() {
56
56
  const e = arguments;
@@ -63,8 +63,9 @@ const Al = /* @__PURE__ */ q({
63
63
  setup(e) {
64
64
  var t, l, n, o;
65
65
  return Ke(() => {
66
+ var s;
66
67
  const a = document.getElementById("preloader");
67
- a !== null && (document.body.removeChild(a), Vt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), qt(`.iconfont {
68
+ a !== null && (document.body.removeChild(a), (s = document.getElementById("preloader")) == null || s.remove(), Vt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), qt(`.iconfont {
68
69
  font-size: 19px;
69
70
  font-style: normal;
70
71
  -webkit-font-smoothing: antialiased;
@@ -750,30 +751,30 @@ const Rl = {
750
751
  pre: "green"
751
752
  },
752
753
  serviceOffLineNotice: "当前页面功能正在维护, 请稍后再试~~~"
753
- }, fe = {
754
+ }, me = {
754
755
  axios: ql,
755
756
  settings: it,
756
757
  plugins: [],
757
758
  mock: !1
758
- }, Se = {};
759
+ }, we = {};
759
760
  function rt(e) {
760
761
  e.forEach((t) => {
761
762
  const l = ct(t);
762
- Se[`${t.method}::${l}`] = t;
763
+ we[`${t.method}::${l}`] = t;
763
764
  });
764
765
  }
765
766
  rt(Vl);
766
767
  function ct(e) {
767
768
  var n;
768
- let t = e.url, l = e.baseURL || ((n = fe.axios) == null ? void 0 : n.baseURL);
769
+ let t = e.url, l = e.baseURL || ((n = me.axios) == null ? void 0 : n.baseURL);
769
770
  return l || (l = ""), typeof t == "string" ? (t = ("/" + l + t).split("/").filter((o) => o).join("/"), t += "(|\\?.*)$", new RegExp(t)) : t;
770
771
  }
771
772
  function Ul() {
772
- Object.keys(Se).forEach((e) => {
773
- const t = Se[e], l = ct(t);
774
- ye.mock(l, t.method, function(n) {
775
- const { url: o, type: a, body: s } = n, c = Ut(o), p = s ? JSON.parse(s) : {}, d = t.response({ query: c, data: p }), m = ye.mock(d);
776
- return Ht(o, { type: a, query: c, data: p, response: m }), ye.mock(m);
773
+ Object.keys(we).forEach((e) => {
774
+ const t = we[e], l = ct(t);
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);
777
778
  });
778
779
  }), console.log("%c ApiMock is stared! ", "background: #606060; color: #fff; padding: 4px 5px; border-radius: 1px;");
779
780
  }
@@ -1809,7 +1810,7 @@ R(Sn);
1809
1810
  R(xn);
1810
1811
  R($n);
1811
1812
  R(En);
1812
- const xe = mt, Tn = {
1813
+ const Se = mt, Tn = {
1813
1814
  options: {
1814
1815
  labelPosition: "top",
1815
1816
  submitButton: !1,
@@ -1908,13 +1909,13 @@ const xe = mt, Tn = {
1908
1909
  }
1909
1910
  ]
1910
1911
  };
1911
- const ve = {
1912
+ const ye = {
1912
1913
  labelPosition: "top",
1913
1914
  submitButton: !1,
1914
1915
  cancelButton: !1
1915
1916
  }, je = [];
1916
- Object.keys(xe).forEach((e) => {
1917
- je.push({ value: e, label: xe[e].name });
1917
+ Object.keys(Se).forEach((e) => {
1918
+ je.push({ value: e, label: Se[e].name });
1918
1919
  });
1919
1920
  const On = {
1920
1921
  options: {
@@ -1981,7 +1982,7 @@ const On = {
1981
1982
  ctrlSchema: {},
1982
1983
  ctrlName: "",
1983
1984
  activeIndex: void 0,
1984
- ctrlMap: xe,
1985
+ ctrlMap: Se,
1985
1986
  activeIndexReg: /(formItems)?\[(\d+)\]/,
1986
1987
  tableStruct: "",
1987
1988
  activeName: "1",
@@ -2027,7 +2028,7 @@ const On = {
2027
2028
  handler(e) {
2028
2029
  const t = this.ctrlMap[e];
2029
2030
  this.ctrlSchema = y({
2030
- options: y(ve),
2031
+ options: y(ye),
2031
2032
  formItems: y(t.builder)
2032
2033
  });
2033
2034
  const l = ne(this.builderSchema, this.activeIndex);
@@ -2052,7 +2053,7 @@ const On = {
2052
2053
  this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [];
2053
2054
  const l = this.ctrlMap[e];
2054
2055
  this.activeCtrl = l, this.builderSchema[t].push(y(l.default)), this.ctrlSchema = y({
2055
- options: y(ve),
2056
+ options: y(ye),
2056
2057
  formItems: y(l.builder)
2057
2058
  }), this.ctrlKey++, this.key++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2058
2059
  },
@@ -2068,7 +2069,7 @@ const On = {
2068
2069
  return;
2069
2070
  }
2070
2071
  this.currentCtrlType = n, this.ctrlOptions = l, this.ctrlSchema = y({
2071
- options: y(ve),
2072
+ options: y(ye),
2072
2073
  formItems: y(o.builder)
2073
2074
  }), this.ctrlKey++;
2074
2075
  }
@@ -2341,7 +2342,7 @@ const Rn = /* @__PURE__ */ $(Bn, [["render", An], ["__scopeId", "data-v-875f0171
2341
2342
  label: "导出按钮"
2342
2343
  }
2343
2344
  ]
2344
- }, ge = {
2345
+ }, ve = {
2345
2346
  labelPosition: "top",
2346
2347
  submitButton: !1,
2347
2348
  cancelButton: !1
@@ -2940,7 +2941,7 @@ const Xn = {
2940
2941
  handler(e) {
2941
2942
  const t = this.ctrlMap[this.activeBrick][e];
2942
2943
  this.ctrlSchema = y({
2943
- options: y(ge),
2944
+ options: y(ve),
2944
2945
  formItems: y(t.builder)
2945
2946
  });
2946
2947
  const l = ne(this.builderSchema, this.activeIndex);
@@ -2987,7 +2988,7 @@ const Xn = {
2987
2988
  return;
2988
2989
  }
2989
2990
  this.activeCtrl = o[e], this.activeBrick = n, this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [], this.builderSchema[t].push(y(o[e].default)), this.ctrlSchema = y({
2990
- options: y(ge),
2991
+ options: y(ve),
2991
2992
  formItems: y(o[e].builder)
2992
2993
  }), this.key++, this.ctrlKey++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
2993
2994
  },
@@ -3007,7 +3008,7 @@ const Xn = {
3007
3008
  return;
3008
3009
  }
3009
3010
  this.ctrlOptions = l, this.currentCtrlType = n, this.ctrlSchema = y({
3010
- options: y(ge),
3011
+ options: y(ve),
3011
3012
  formItems: y(o.builder)
3012
3013
  }), this.ctrlKey++;
3013
3014
  }
@@ -3031,7 +3032,7 @@ const Xn = {
3031
3032
  }
3032
3033
  };
3033
3034
  function Yn(e, t, l, n, o, a) {
3034
- const s = me, c = ue, p = ae, d = v("v-table"), m = nt, _ = ue, T = v("JsonView"), w = v("VButton"), F = Oe, U = Be, C = ot, Z = at, xt = v("v-form"), Et = v("dev-layout");
3035
+ const s = de, c = ue, p = ae, d = v("v-table"), m = nt, _ = ue, T = v("JsonView"), w = v("VButton"), F = Oe, U = Be, C = ot, Z = at, xt = v("v-form"), Et = v("dev-layout");
3035
3036
  return i(), f(Et, null, {
3036
3037
  "left-aside": r(() => [
3037
3038
  u(p, { style: { width: "200px" } }, {
@@ -3107,7 +3108,7 @@ function Yn(e, t, l, n, o, a) {
3107
3108
  default: r(() => [
3108
3109
  u(c, {
3109
3110
  class: "ctrl-btn",
3110
- onClick: (he) => a.pushHeaders(o.ctrlMap.headers[I].type)
3111
+ onClick: (fe) => a.pushHeaders(o.ctrlMap.headers[I].type)
3111
3112
  }, {
3112
3113
  default: r(() => [
3113
3114
  g(O(o.ctrlMap.headers[I].name), 1)
@@ -3135,7 +3136,7 @@ function Yn(e, t, l, n, o, a) {
3135
3136
  default: r(() => [
3136
3137
  u(c, {
3137
3138
  class: "ctrl-btn",
3138
- onClick: (he) => a.pushRowButton(o.ctrlMap.buttons[I].type)
3139
+ onClick: (fe) => a.pushRowButton(o.ctrlMap.buttons[I].type)
3139
3140
  }, {
3140
3141
  default: r(() => [
3141
3142
  g(O(o.ctrlMap.buttons[I].name), 1)
@@ -3163,7 +3164,7 @@ function Yn(e, t, l, n, o, a) {
3163
3164
  default: r(() => [
3164
3165
  u(c, {
3165
3166
  class: "ctrl-btn",
3166
- onClick: (he) => a.pushNormalButton(o.ctrlMap.buttons[I].type)
3167
+ onClick: (fe) => a.pushNormalButton(o.ctrlMap.buttons[I].type)
3167
3168
  }, {
3168
3169
  default: r(() => [
3169
3170
  g(O(o.ctrlMap.buttons[I].name), 1)
@@ -3202,7 +3203,7 @@ function Yn(e, t, l, n, o, a) {
3202
3203
  default: r(() => [
3203
3204
  u(c, {
3204
3205
  class: "ctrl-btn",
3205
- onClick: (he) => a.pushBatchButton(o.ctrlMap.buttons[I].type)
3206
+ onClick: (fe) => a.pushBatchButton(o.ctrlMap.buttons[I].type)
3206
3207
  }, {
3207
3208
  default: r(() => [
3208
3209
  g(O(o.ctrlMap.buttons[I].name), 1)
@@ -3294,7 +3295,7 @@ const eo = /* @__PURE__ */ $(Xn, [["render", Yn], ["__scopeId", "data-v-e5209cb7
3294
3295
  name: "PageEditor",
3295
3296
  components: { FormBuilder: Rn, TableBuilder: eo },
3296
3297
  setup() {
3297
- const e = L(!1), t = L(1), l = "rtl", n = de(), o = j(() => E.state.app.pages[n.path]);
3298
+ const e = L(!1), t = L(1), l = "rtl", n = pe(), o = j(() => E.state.app.pages[n.path]);
3298
3299
  return { show: e, key: t, direction: l, pageSchema: o };
3299
3300
  }
3300
3301
  };
@@ -3366,7 +3367,7 @@ const oo = {
3366
3367
  }
3367
3368
  },
3368
3369
  mounted() {
3369
- pe("el-submenu is-active");
3370
+ $e("el-submenu is-active");
3370
3371
  const e = this.getSetting("navBarNotice");
3371
3372
  e.length > 0 && !this.getSetting("closeNavNotice") && this.showNotice(e) && this.$notify({
3372
3373
  title: "提示",
@@ -3399,11 +3400,11 @@ const oo = {
3399
3400
  },
3400
3401
  showNotice(e) {
3401
3402
  const t = "dismiss:navbar_notice";
3402
- return _e.exist(t) ? _e.get(t) !== e : !0;
3403
+ return be.exist(t) ? be.get(t) !== e : !0;
3403
3404
  },
3404
3405
  closeNotice(e) {
3405
3406
  const t = "dismiss:navbar_notice";
3406
- _e.set(t, e);
3407
+ be.set(t, e);
3407
3408
  },
3408
3409
  gotoMenuEdit() {
3409
3410
  var e, t, l, n;
@@ -3418,7 +3419,7 @@ const oo = {
3418
3419
  style: { padding: "0" }
3419
3420
  }, co = { class: "user-info" }, uo = ["src"], po = { class: "user-name" };
3420
3421
  function mo(e, t, l, n, o, a) {
3421
- const s = v("hamburger"), c = v("breadcrumb"), p = me, d = v("VIcon"), m = v("PageEditor"), _ = v("v-button"), T = ml, w = fl, F = hl, U = st, C = ae;
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;
3422
3423
  return i(), f(C, {
3423
3424
  ref: "header",
3424
3425
  class: "navbar",
@@ -3716,8 +3717,7 @@ function Ao(e, t, l, n, o, a) {
3716
3717
  key: 1,
3717
3718
  ref: "subMenu",
3718
3719
  index: l.to,
3719
- class: H({ "submenu-title-noDropdown": !l.isNest }),
3720
- "popper-append-to-body": ""
3720
+ class: H({ "submenu-title-noDropdown": !l.isNest })
3721
3721
  }, {
3722
3722
  title: r(() => [
3723
3723
  l.item.redirect && l.item.redirect !== "#" ? (i(), f(p, {
@@ -3772,9 +3772,7 @@ const Po = {
3772
3772
  },
3773
3773
  methods: {
3774
3774
  onselected: function(e) {
3775
- this.$router.push(e), this.selected = "", setTimeout(() => {
3776
- pe("is-active");
3777
- }, 100);
3775
+ this.$router.push(e), this.selected = "";
3778
3776
  }
3779
3777
  }
3780
3778
  };
@@ -3820,7 +3818,7 @@ function Lo(e, t, l, n, o, a) {
3820
3818
  _: 1
3821
3819
  }, 8, ["modelValue", "onChange"]);
3822
3820
  }
3823
- const Mo = /* @__PURE__ */ $(Po, [["render", Lo], ["__scopeId", "data-v-33fb5a99"]]);
3821
+ const Mo = /* @__PURE__ */ $(Po, [["render", Lo], ["__scopeId", "data-v-6d6399f4"]]);
3824
3822
  var D = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "list", e[e.form = 2] = "form", e[e.customSchema = 3] = "customSchema", e[e.localComp = 4] = "localComp", e[e.tree = 5] = "tree", e[e.report = 6] = "report", e[e.entity = 7] = "entity", e))(D || {}), P = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(P || {});
3825
3823
  const Do = q({
3826
3824
  components: { SidebarItem: Ro, Logo: So, SearchMenu: Mo },
@@ -3862,7 +3860,7 @@ const Do = q({
3862
3860
  }
3863
3861
  },
3864
3862
  mounted() {
3865
- pe("is-active");
3863
+ $e("is-active");
3866
3864
  },
3867
3865
  methods: {
3868
3866
  filterRoute(e) {
@@ -3914,7 +3912,7 @@ const No = /* @__PURE__ */ $(Do, [["render", jo], ["__scopeId", "data-v-800716bb
3914
3912
  const Vo = { class: "app-main" }, qo = {
3915
3913
  __name: "AppMain",
3916
3914
  setup(e) {
3917
- const t = de(), l = [], n = L(0);
3915
+ const t = pe(), l = [], n = L(0);
3918
3916
  return nl(() => {
3919
3917
  var o;
3920
3918
  (o = t.meta) != null && o.keepAlive && l.indexOf(t.name) && l.push(t.name), n.value++;
@@ -4034,7 +4032,7 @@ function Zo(e) {
4034
4032
  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({
4035
4033
  __name: "login",
4036
4034
  setup(e) {
4037
- const t = ol(), l = de(), n = j(() => E.state.settings.loginTips), o = L(0), a = () => o.value++, s = j(() => c.value.username.length > 0 && c.value.password.length >= 4 && c.value.captcha.length === 4), c = L({
4035
+ 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({
4038
4036
  username: "",
4039
4037
  password: "",
4040
4038
  captcha: "",
@@ -4058,7 +4056,7 @@ const Qo = { id: "login" }, Xo = /* @__PURE__ */ b("h1", { id: "title" }, "登
4058
4056
  placeholder: "用户名",
4059
4057
  class: "input"
4060
4058
  }, null, 512), [
4061
- [be, k(c).username]
4059
+ [he, k(c).username]
4062
4060
  ]),
4063
4061
  ie(b("input", {
4064
4062
  "onUpdate:modelValue": m[1] || (m[1] = (_) => k(c).password = _),
@@ -4066,7 +4064,7 @@ const Qo = { id: "login" }, Xo = /* @__PURE__ */ b("h1", { id: "title" }, "登
4066
4064
  placeholder: "密码",
4067
4065
  class: "input"
4068
4066
  }, null, 512), [
4069
- [be, k(c).password]
4067
+ [he, k(c).password]
4070
4068
  ]),
4071
4069
  b("div", ea, [
4072
4070
  ie(b("input", {
@@ -4075,7 +4073,7 @@ const Qo = { id: "login" }, Xo = /* @__PURE__ */ b("h1", { id: "title" }, "登
4075
4073
  placeholder: "验证码",
4076
4074
  class: "input-captcha"
4077
4075
  }, null, 512), [
4078
- [be, k(c).captcha]
4076
+ [he, k(c).captcha]
4079
4077
  ]),
4080
4078
  b("img", {
4081
4079
  class: "captcha-img",
@@ -4206,17 +4204,15 @@ const da = /* @__PURE__ */ $(sa, [["render", pa], ["__scopeId", "data-v-26068803
4206
4204
  history: sl(),
4207
4205
  routes: ma
4208
4206
  });
4209
- we.configure({ showSpinner: !1 });
4207
+ ke.configure({ showSpinner: !1 });
4210
4208
  function fa(e) {
4211
4209
  e.beforeEach((t, l, n) => {
4212
- we.start(), t.preHash = location.hash.replace("#", ""), n();
4210
+ ke.start(), t.preHash = location.hash.replace("#", ""), n();
4213
4211
  }), e.afterEach((t) => {
4214
4212
  t.matched.length > 0 && E.commit("user/updateState", {
4215
4213
  key: "path",
4216
4214
  value: t.matched[t.matched.length - 1].path.replace("(\\d+)", "")
4217
- }), we.done(), setTimeout(() => {
4218
- pe("is-active");
4219
- }, 100);
4215
+ }), ke.done(), $e("is-active");
4220
4216
  });
4221
4217
  }
4222
4218
  function ha() {
@@ -4266,8 +4262,9 @@ const yt = /* @__PURE__ */ $(ya, [["render", wa]]), Sa = {
4266
4262
  default: ""
4267
4263
  },
4268
4264
  notice: {
4269
- type: String,
4270
- default: ""
4265
+ type: Object,
4266
+ default: () => {
4267
+ }
4271
4268
  }
4272
4269
  },
4273
4270
  data() {
@@ -4386,10 +4383,10 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4386
4383
  _: 1
4387
4384
  }));
4388
4385
  }
4389
- }, Ee = {
4386
+ }, xe = {
4390
4387
  __name: "form",
4391
4388
  setup(e) {
4392
- const t = de(), l = (n, o) => {
4389
+ const t = pe(), l = (n, o) => {
4393
4390
  const a = Object.keys(J.props);
4394
4391
  return Object.keys(n).forEach((s) => {
4395
4392
  if (a.indexOf(s) === -1) {
@@ -4559,7 +4556,7 @@ const Ta = { class: "card-header" }, Oa = /* @__PURE__ */ b("span", null, "列
4559
4556
  style: { color: "#E6A23C" }
4560
4557
  }, Pa = { class: "card-header" };
4561
4558
  function La(e, t, l, n, o, a) {
4562
- const s = ue, c = Sl, p = Re, d = me, m = v("v-form"), _ = ae;
4559
+ const s = ue, c = Sl, p = Re, d = de, m = v("v-form"), _ = ae;
4563
4560
  return i(), f(_, {
4564
4561
  class: "tree-box",
4565
4562
  gutter: 20
@@ -4691,7 +4688,7 @@ const Ge = /* @__PURE__ */ $(Ca, [["render", La]]), Ma = {
4691
4688
  _: 1
4692
4689
  }));
4693
4690
  }
4694
- }, ke = {
4691
+ }, ge = {
4695
4692
  __name: "container",
4696
4693
  setup(e) {
4697
4694
  const t = L(0);
@@ -4894,7 +4891,7 @@ const za = /* @__PURE__ */ $(Ga, [["render", Ja], ["__scopeId", "data-v-a5a65cc1
4894
4891
  });
4895
4892
  };
4896
4893
  return (m, _) => {
4897
- const T = Re, w = me, F = Ae, U = ae;
4894
+ const T = Re, w = de, F = Ae, U = ae;
4898
4895
  return i(), f(U, null, {
4899
4896
  default: r(() => [
4900
4897
  k(s).length > 0 ? (i(), f(w, {
@@ -5063,13 +5060,13 @@ function Ne(e) {
5063
5060
  function kt(e) {
5064
5061
  return Ye(e) ? e : X(e) ? [e] : [];
5065
5062
  }
5066
- let $e = {};
5063
+ let Ee = {};
5067
5064
  const wt = (e) => {
5068
- const t = Qa[e.type] || $e[e.type] || e.type;
5065
+ const t = Qa[e.type] || Ee[e.type] || e.type;
5069
5066
  return Dt(t, e.props, {
5070
5067
  default: () => kt(e.children).map((l) => wt(l))
5071
5068
  });
5072
- }, es = (e) => (Object.keys($e).length === 0 && ($e = Mt().appContext.components), Ne(Object.values(e.schema)).map((l) => wt(l))), ts = {
5069
+ }, es = (e) => (Object.keys(Ee).length === 0 && (Ee = Mt().appContext.components), Ne(Object.values(e.schema)).map((l) => wt(l))), ts = {
5073
5070
  __name: "custom",
5074
5071
  setup(e) {
5075
5072
  const t = L([]), l = (n, o) => (t.value = jt(n), n);
@@ -5088,15 +5085,15 @@ function xi(e) {
5088
5085
  const ls = (e) => {
5089
5086
  const t = (l) => {
5090
5087
  const n = "./views/" + l + ".vue";
5091
- return te && te[n] && te[n].default ? te[n].default : (console.error(`自定义组件不存在 ${e.name} ${e.view}`), ke);
5088
+ return te && te[n] && te[n].default ? te[n].default : (console.error(`自定义组件不存在 ${e.name} ${e.view}`), ge);
5092
5089
  };
5093
5090
  if (e.path === "#")
5094
- return ke;
5091
+ return ge;
5095
5092
  switch (e.page_type) {
5096
5093
  case D.list:
5097
5094
  return gt;
5098
5095
  case D.form:
5099
- return Ee;
5096
+ return xe;
5100
5097
  case D.custom:
5101
5098
  case D.localComp:
5102
5099
  return t(e.view || "");
@@ -5107,7 +5104,7 @@ const ls = (e) => {
5107
5104
  case D.customSchema:
5108
5105
  return ts;
5109
5106
  }
5110
- return ke;
5107
+ return ge;
5111
5108
  };
5112
5109
  function ns(e) {
5113
5110
  let t = e.path;
@@ -5150,7 +5147,7 @@ const St = (e) => {
5150
5147
  }, {
5151
5148
  path: o,
5152
5149
  name: e.name + "新建" + e.id,
5153
- component: Ee,
5150
+ component: xe,
5154
5151
  meta: {
5155
5152
  id: e.id + 99999 + 1,
5156
5153
  title: "新建",
@@ -5163,7 +5160,7 @@ const St = (e) => {
5163
5160
  }, {
5164
5161
  path: a,
5165
5162
  name: e.name + "编辑" + e.id,
5166
- component: Ee,
5163
+ component: xe,
5167
5164
  meta: {
5168
5165
  id: e.id + 99999 + 2,
5169
5166
  title: "编辑",
@@ -5308,7 +5305,7 @@ const us = {
5308
5305
  }
5309
5306
  ];
5310
5307
  function Ve(e = {}) {
5311
- const t = fe.axios || {}, l = A(t, e || {}), n = Ce.create({
5308
+ const t = me.axios || {}, l = A(t, e || {}), n = Ce.create({
5312
5309
  ...l
5313
5310
  // adapter: (c) => cacheAdapter(c, defaultAxios)
5314
5311
  });
@@ -5377,10 +5374,10 @@ const _s = {
5377
5374
  }, Symbol.toStringTag, { value: "Module" }));
5378
5375
  let ce;
5379
5376
  function Ei(e) {
5380
- return e ? Ve(A(fe.axios, e)) : ce;
5377
+ return e ? Ve(A(me.axios, e)) : ce;
5381
5378
  }
5382
5379
  function $i(e) {
5383
- const t = A(fe, e), l = Nt(Al), n = Es(t), o = t.plugins || [];
5380
+ const t = A(me, e), l = Nt(Al), n = Es(t), o = t.plugins || [];
5384
5381
  o.unshift(n), o.forEach((a) => {
5385
5382
  xs(l, a);
5386
5383
  }), t != null && t.mock && Ul(), ce = Ve(t.axios), E.dispatch("setHttp", ce).then(), E.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = ce, l.config.globalProperties.$router = z, window.App = l, window.OmsOptions = t, $l(() => ({
@@ -5434,7 +5431,7 @@ function Es(e) {
5434
5431
  }
5435
5432
  export {
5436
5433
  Jo as BaseSso,
5437
- ke as Container,
5434
+ ge as Container,
5438
5435
  zo as DingTalk,
5439
5436
  ht as Layout,
5440
5437
  P as MenuType,