@okiss/oms 0.0.41 → 0.0.43

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 ke, 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";
@@ -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,7 +751,7 @@ 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: [],
@@ -765,15 +766,15 @@ function rt(e) {
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
773
  Object.keys(Se).forEach((e) => {
773
774
  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);
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
  }
@@ -1908,7 +1909,7 @@ 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
@@ -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
+ ke("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, {
@@ -3771,10 +3771,8 @@ const Po = {
3771
3771
  }
3772
3772
  },
3773
3773
  methods: {
3774
- onselected: function(e) {
3775
- this.$router.push(e), this.selected = "", setTimeout(() => {
3776
- pe("is-active");
3777
- }, 100);
3774
+ onSelected: function(e) {
3775
+ this.$router.push(e), this.selected = "";
3778
3776
  }
3779
3777
  }
3780
3778
  };
@@ -3786,7 +3784,7 @@ function Lo(e, t, l, n, o, a) {
3786
3784
  filterable: "",
3787
3785
  placeholder: "搜索菜单...",
3788
3786
  class: "search-menu",
3789
- onChange: a.onselected
3787
+ onChange: a.onSelected
3790
3788
  }, {
3791
3789
  default: r(() => [
3792
3790
  (i(!0), h(S, null, B(a.filterRoutes, (d) => (i(), h(S, {
@@ -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-e8e61700"]]);
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 },
@@ -3842,8 +3840,8 @@ const Do = q({
3842
3840
  const e = this.$route.matched;
3843
3841
  for (let t = e.length - 1; t >= 0; t--) {
3844
3842
  const l = e[t];
3845
- if (l.meta.menuType == P.menu)
3846
- return this.$router.resolve(l.redirect ? l.redirect : l).fullPath;
3843
+ if (l.meta.menuType === P.menu)
3844
+ return ke("is-active"), this.$router.resolve(l.redirect ? l.redirect : l).fullPath;
3847
3845
  }
3848
3846
  return "";
3849
3847
  },
@@ -3862,7 +3860,7 @@ const Do = q({
3862
3860
  }
3863
3861
  },
3864
3862
  mounted() {
3865
- pe("is-active");
3863
+ ke("is-active");
3866
3864
  },
3867
3865
  methods: {
3868
3866
  filterRoute(e) {
@@ -3910,11 +3908,11 @@ function jo(e, t, l, n, o, a) {
3910
3908
  })
3911
3909
  ], 2);
3912
3910
  }
3913
- const No = /* @__PURE__ */ $(Do, [["render", jo], ["__scopeId", "data-v-800716bb"]]);
3911
+ const No = /* @__PURE__ */ $(Do, [["render", jo], ["__scopeId", "data-v-2c68f5d3"]]);
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",
@@ -4214,9 +4212,7 @@ function fa(e) {
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
+ }), we.done();
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() {
@@ -4389,7 +4386,7 @@ const se = /* @__PURE__ */ $(Ea, [["render", Ia], ["__scopeId", "data-v-015774e8
4389
4386
  }, Ee = {
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, {
@@ -5088,10 +5085,10 @@ 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;
@@ -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;
@@ -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,