mvframe 1.1.20 → 1.1.21

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/vendor.js CHANGED
@@ -2,7 +2,7 @@ import { u as Ia } from "./util.js";
2
2
  import { d as $a } from "./directive.js";
3
3
  import { s as oa, p as ta, a as Ba } from "./store-shared.js";
4
4
  import { createRouter as ja, createWebHistory as Da, useRoute as ra, useRouter as sa } from "vue-router";
5
- import { computed as p, openBlock as z, createElementBlock as O, mergeProps as oe, unref as t, Fragment as re, renderList as ce, normalizeClass as H, createCommentVNode as K, createTextVNode as ie, toDisplayString as I, renderSlot as q, createElementVNode as m, reactive as X, onUnmounted as ve, watch as te, markRaw as Te, resolveComponent as G, createVNode as D, withCtx as B, createBlock as le, resolveDynamicComponent as ia, nextTick as me, getCurrentInstance as pe, ref as ae, onMounted as se, normalizeStyle as de, defineComponent as ca, cloneVNode as Ge, h as Ke, inject as Ae, withModifiers as _e, defineAsyncComponent as ua, Teleport as Ra, Transition as da, createSlots as be, normalizeProps as he, guardReactiveProps as ze, useSlots as Pe, useAttrs as fe, withKeys as ma, createStaticVNode as Fa, isRef as ba, onBeforeMount as Va } from "vue";
5
+ import { computed as p, openBlock as z, createElementBlock as O, mergeProps as oe, unref as t, Fragment as re, renderList as ce, normalizeClass as H, createCommentVNode as K, createTextVNode as ie, toDisplayString as N, renderSlot as q, createElementVNode as m, reactive as Q, onUnmounted as ve, watch as te, markRaw as Te, resolveComponent as G, createVNode as R, withCtx as $, createBlock as le, resolveDynamicComponent as ia, nextTick as me, getCurrentInstance as pe, ref as ae, onMounted as se, normalizeStyle as de, defineComponent as ca, cloneVNode as Ge, h as Ke, inject as Ae, withModifiers as _e, defineAsyncComponent as ua, Teleport as Ra, Transition as da, createSlots as be, normalizeProps as he, guardReactiveProps as ze, useSlots as Pe, useAttrs as fe, withKeys as ma, createStaticVNode as Fa, isRef as ba, onBeforeMount as Va } from "vue";
6
6
  /* empty css */
7
7
  import { deepEqual as Ue, isInView as Ga, loadMvframeTheme as Ka, MVFRAME_STORAGE_LANG as He, download as Ua, useRemoteSummary as Ha, useOptions as Ja, useLang as Za } from "./composition.js";
8
8
  import Je from "vuedraggable";
@@ -120,8 +120,8 @@ const Wa = {
120
120
  function ll(a) {
121
121
  return String(a || "en_us").toLowerCase().replace(/-/g, "_");
122
122
  }
123
- const ss = Ee;
124
- function is(a) {
123
+ const is = Ee;
124
+ function cs(a) {
125
125
  const o = ll(a);
126
126
  return { ...Ee[o] || Ee.en_us };
127
127
  }
@@ -991,14 +991,6 @@ const dl = Object.freeze({
991
991
  align: "right",
992
992
  visible: !0
993
993
  },
994
- {
995
- label: "Retained Users D0",
996
- value: "retainedUsersD0",
997
- precision: 0,
998
- width: 200,
999
- align: "right",
1000
- visible: !1
1001
- },
1002
994
  {
1003
995
  label: "Retained Users D1",
1004
996
  value: "retainedUsersD1",
@@ -1162,12 +1154,12 @@ const Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1162
1154
  const c = ((V = new Intl.DateTimeFormat("en-US", {
1163
1155
  timeZone: a,
1164
1156
  timeZoneName: "longOffset"
1165
- }).formatToParts(v).find((f) => f.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : V[0]) || "+00:00", [y, T, h, L] = c.match(
1157
+ }).formatToParts(v).find((h) => h.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : V[0]) || "+00:00", [A, T, _, L] = c.match(
1166
1158
  /([+-])(\d{2})(?::?(\d{2}))?/
1167
1159
  );
1168
- return (T === "+" ? -1 : 1) * (parseInt(h) * 60 + parseInt(L || "00"));
1169
- }, r = n(o), s = n(e), _ = n(l);
1170
- return r < Math.max(s, _);
1160
+ return (T === "+" ? -1 : 1) * (parseInt(_) * 60 + parseInt(L || "00"));
1161
+ }, r = n(o), s = n(e), g = n(l);
1162
+ return r < Math.max(s, g);
1171
1163
  }
1172
1164
  }, La = Object.freeze([
1173
1165
  {
@@ -9697,7 +9689,7 @@ function Fe(a, o) {
9697
9689
  }
9698
9690
  return e;
9699
9691
  }
9700
- function cs() {
9692
+ function us() {
9701
9693
  return je();
9702
9694
  }
9703
9695
  function Ve(a) {
@@ -9705,7 +9697,7 @@ function Ve(a) {
9705
9697
  }
9706
9698
  Ve.lang = sn;
9707
9699
  Ve.jump = (a) => Ce(ye(Re(a)));
9708
- function us(a) {
9700
+ function ds(a) {
9709
9701
  !a || typeof a != "object" || Array.isArray(a) || (Be = Fe(je(), a));
9710
9702
  }
9711
9703
  function un(a, o = {}) {
@@ -9821,26 +9813,26 @@ function we(a, o) {
9821
9813
  console.error("[mvframe/message]", l);
9822
9814
  return;
9823
9815
  }
9824
- const _ = document.createElement("div");
9825
- _.className = "mvframeTopToastItem", _.style.setProperty("--mvframe-toast-border", e.border), _.style.setProperty("--mvframe-toast-bg", e.bg), _.style.setProperty("--mvframe-toast-color", e.color), _.setAttribute(
9816
+ const g = document.createElement("div");
9817
+ g.className = "mvframeTopToastItem", g.style.setProperty("--mvframe-toast-border", e.border), g.style.setProperty("--mvframe-toast-bg", e.bg), g.style.setProperty("--mvframe-toast-color", e.color), g.setAttribute(
9826
9818
  "role",
9827
9819
  a === "error" ? "alert" : "status"
9828
9820
  );
9829
9821
  const v = document.createElement("div");
9830
- v.className = "mvframeTopToastText", v.textContent = l, _.appendChild(v);
9822
+ v.className = "mvframeTopToastText", v.textContent = l, g.appendChild(v);
9831
9823
  let u = null, c = null;
9832
- const y = () => {
9833
- u && (clearTimeout(u), u = null), c && (clearTimeout(c), c = null), _.parentNode && (_.classList.add("mvframeTopToastLeave"), c = window.setTimeout(() => {
9834
- _.remove(), c = null;
9824
+ const A = () => {
9825
+ u && (clearTimeout(u), u = null), c && (clearTimeout(c), c = null), g.parentNode && (g.classList.add("mvframeTopToastLeave"), c = window.setTimeout(() => {
9826
+ g.remove(), c = null;
9835
9827
  }, 200));
9836
9828
  };
9837
9829
  if (r || n === 0) {
9838
9830
  const T = document.createElement("button");
9839
- T.type = "button", T.className = "mvframeTopToastClose", T.setAttribute("aria-label", "Close"), T.textContent = "×", T.addEventListener("click", y), _.appendChild(T);
9831
+ T.type = "button", T.className = "mvframeTopToastClose", T.setAttribute("aria-label", "Close"), T.textContent = "×", T.addEventListener("click", A), g.appendChild(T);
9840
9832
  }
9841
- s.appendChild(_), n > 0 && (u = window.setTimeout(y, n));
9833
+ s.appendChild(g), n > 0 && (u = window.setTimeout(A, n));
9842
9834
  }
9843
- function ds() {
9835
+ function ms() {
9844
9836
  return {
9845
9837
  success: (a) => we("success", a),
9846
9838
  warning: (a) => we("warning", a),
@@ -9848,8 +9840,8 @@ function ds() {
9848
9840
  error: (a) => we("error", a)
9849
9841
  };
9850
9842
  }
9851
- var ms = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9852
- function bs(a) {
9843
+ var bs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9844
+ function vs(a) {
9853
9845
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
9854
9846
  }
9855
9847
  const Se = (a) => {
@@ -9866,8 +9858,8 @@ const Se = (a) => {
9866
9858
  Se(!1);
9867
9859
  return;
9868
9860
  }
9869
- const _ = oa.tab(ta);
9870
- document.title = ((v = n.meta) == null ? void 0 : v.title) || ((u = globalThis.$config) == null ? void 0 : u.name), _.saveTab(n), Se(!1);
9861
+ const g = oa.tab(ta);
9862
+ document.title = ((v = n.meta) == null ? void 0 : v.title) || ((u = globalThis.$config) == null ? void 0 : u.name), g.saveTab(n), Se(!1);
9871
9863
  }), a.onError(() => {
9872
9864
  Se(!1);
9873
9865
  });
@@ -9930,11 +9922,11 @@ const Se = (a) => {
9930
9922
  }, r = (u) => {
9931
9923
  e.disabled || (l("update:modelValue", u.value), l("change", u.value));
9932
9924
  }, s = p(() => {
9933
- const u = e.options, c = Array.isArray(u) ? u : [], y = e.valueKey, T = e.labelKey, h = e.iconKey;
9925
+ const u = e.options, c = Array.isArray(u) ? u : [], A = e.valueKey, T = e.labelKey, _ = e.iconKey;
9934
9926
  return c.filter((L) => L != null).map((L) => typeof L == "object" && !Array.isArray(L) ? {
9935
- value: L[y],
9927
+ value: L[A],
9936
9928
  label: L[T] ?? "",
9937
- icon: L[h] || "",
9929
+ icon: L[_] || "",
9938
9930
  disabled: L.disabled,
9939
9931
  raw: L
9940
9932
  } : {
@@ -9944,23 +9936,23 @@ const Se = (a) => {
9944
9936
  disabled: L.disabled,
9945
9937
  raw: L
9946
9938
  });
9947
- }), _ = p(() => ({ small: "g4", default: "g6", large: "g8" })[e.size] ?? "g6"), v = p(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : "");
9939
+ }), g = p(() => ({ small: "g4", default: "g6", large: "g8" })[e.size] ?? "g6"), v = p(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : "");
9948
9940
  return (u, c) => (z(), O("div", oe({
9949
- class: ["MvcBtnGroup flexMode", [t(_), t(v), u.$attrs.class]]
9941
+ class: ["MvcBtnGroup flexMode", [t(g), t(v), u.$attrs.class]]
9950
9942
  }, u.$attrs, { role: "group" }), [
9951
- (z(!0), O(re, null, ce(t(s), (y) => (z(), O("button", {
9952
- key: y.value,
9943
+ (z(!0), O(re, null, ce(t(s), (A) => (z(), O("button", {
9944
+ key: A.value,
9953
9945
  type: "button",
9954
- class: H(["btnItem", { isActive: n(y) }]),
9955
- disabled: e.disabled || y.disabled,
9956
- onClick: (T) => r(y)
9946
+ class: H(["btnItem", { isActive: n(A) }]),
9947
+ disabled: e.disabled || A.disabled,
9948
+ onClick: (T) => r(A)
9957
9949
  }, [
9958
- y.icon ? (z(), O("i", {
9950
+ A.icon ? (z(), O("i", {
9959
9951
  key: 0,
9960
- class: H([[y.icon, e.iconClass], "noShrink fs16"]),
9952
+ class: H([[A.icon, e.iconClass], "noShrink fs16"]),
9961
9953
  "aria-hidden": "true"
9962
9954
  }, null, 2)) : K("", !0),
9963
- ie(" " + I(u.$l(y.label)), 1)
9955
+ ie(" " + N(u.$l(A.label)), 1)
9964
9956
  ], 10, fn))), 128))
9965
9957
  ], 16));
9966
9958
  }
@@ -10015,7 +10007,7 @@ const Se = (a) => {
10015
10007
  key: 0,
10016
10008
  class: H(["header", o.headerClass])
10017
10009
  }, [
10018
- e.$slots.header ? q(e.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (z(), O("span", yn, I(o.title), 1)) : K("", !0)
10010
+ e.$slots.header ? q(e.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (z(), O("span", yn, N(e.$l(o.title)), 1)) : K("", !0)
10019
10011
  ], 2)) : K("", !0),
10020
10012
  m("div", {
10021
10013
  class: H(["body", o.bodyClass])
@@ -10030,7 +10022,7 @@ const Se = (a) => {
10030
10022
  ], 2)) : K("", !0)
10031
10023
  ], 16));
10032
10024
  }
10033
- }), zn = /* @__PURE__ */ ne(An, [["__scopeId", "data-v-3c876311"]]), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10025
+ }), zn = /* @__PURE__ */ ne(An, [["__scopeId", "data-v-bdf05ab5"]]), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10034
10026
  __proto__: null,
10035
10027
  default: zn
10036
10028
  }, Symbol.toStringTag, { value: "Module" })), Sn = { class: "MvcDrawer" }, Tn = { class: "dragArea" }, Cn = {
@@ -10064,14 +10056,14 @@ const Se = (a) => {
10064
10056
  size: 640,
10065
10057
  params: {},
10066
10058
  direction: "rtl"
10067
- }), n = X({
10059
+ }), n = Q({
10068
10060
  drawerInfo: l(),
10069
10061
  cpt: null,
10070
10062
  mounted: !1,
10071
10063
  dragMode: !1
10072
10064
  }), r = o, s = () => {
10073
10065
  n.mounted = !0;
10074
- }, _ = () => {
10066
+ }, g = () => {
10075
10067
  r("update:current", ""), n.mounted = !1, V.value ? n.drawerInfo = l() : me(() => {
10076
10068
  delete n.drawerInfo.cpt;
10077
10069
  });
@@ -10079,27 +10071,27 @@ const Se = (a) => {
10079
10071
  n.drawerInfo.visible && (r("update:current", ""), n.drawerInfo.visible = !1);
10080
10072
  }, u = () => {
10081
10073
  n.drawerInfo.cpt = n.cpt;
10082
- }, c = (f) => {
10083
- n.dragMode = !0, document.addEventListener("mousemove", y), document.addEventListener("mouseup", T);
10084
- }, y = (f) => {
10074
+ }, c = (h) => {
10075
+ n.dragMode = !0, document.addEventListener("mousemove", A), document.addEventListener("mouseup", T);
10076
+ }, A = (h) => {
10085
10077
  var d, k;
10086
- if (f.x > 80) {
10087
- const g = (((k = (d = globalThis.$config) == null ? void 0 : d.options) == null ? void 0 : k.innerWidth) ?? window.innerWidth) - f.x;
10088
- g > 480 && (n.drawerInfo.size = g);
10078
+ if (h.x > 80) {
10079
+ const y = (((k = (d = globalThis.$config) == null ? void 0 : d.options) == null ? void 0 : k.innerWidth) ?? window.innerWidth) - h.x;
10080
+ y > 480 && (n.drawerInfo.size = y);
10089
10081
  }
10090
10082
  }, T = () => {
10091
- n.dragMode = !1, h();
10092
- }, h = () => {
10093
- document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", T);
10083
+ n.dragMode = !1, _();
10084
+ }, _ = () => {
10085
+ document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", T);
10094
10086
  }, L = p(() => !!n.drawerInfo.title), V = p(() => !e.keepalive);
10095
10087
  return ve(() => {
10096
- h();
10088
+ _();
10097
10089
  }), te(
10098
10090
  () => e.current,
10099
- (f) => {
10091
+ (h) => {
10100
10092
  if (e.drawer.length)
10101
- if (window.$getType(f) === "Number") {
10102
- const d = e.drawer[f], k = {
10093
+ if (window.$getType(h) === "Number") {
10094
+ const d = e.drawer[h], k = {
10103
10095
  ...d,
10104
10096
  size: d.size || 640,
10105
10097
  direction: d.direction || "rtl",
@@ -10109,24 +10101,24 @@ const Se = (a) => {
10109
10101
  } else
10110
10102
  v();
10111
10103
  }
10112
- ), (f, d) => {
10104
+ ), (h, d) => {
10113
10105
  const k = G("Loading"), S = G("el-drawer");
10114
10106
  return z(), O("div", Sn, [
10115
- D(S, {
10107
+ R(S, {
10116
10108
  modelValue: t(n).drawerInfo.visible,
10117
- "onUpdate:modelValue": d[0] || (d[0] = (g) => t(n).drawerInfo.visible = g),
10118
- title: f.$l(t(n).drawerInfo.title),
10109
+ "onUpdate:modelValue": d[0] || (d[0] = (y) => t(n).drawerInfo.visible = y),
10110
+ title: h.$l(t(n).drawerInfo.title),
10119
10111
  "with-header": t(L),
10120
10112
  "append-to-body": "",
10121
10113
  size: t(n).drawerInfo.size,
10122
10114
  height: t(n).drawerInfo.height,
10123
10115
  direction: t(n).drawerInfo.direction,
10124
10116
  "destroy-on-close": t(V),
10125
- onClosed: _,
10117
+ onClosed: g,
10126
10118
  onOpened: u,
10127
10119
  class: H(t(n).dragMode && "notransition noevent noselect")
10128
10120
  }, {
10129
- default: B(() => [
10121
+ default: $(() => [
10130
10122
  m("div", Tn, [
10131
10123
  m("div", {
10132
10124
  class: H(["dragHandle", t(n).dragMode && "active"]),
@@ -10141,10 +10133,10 @@ const Se = (a) => {
10141
10133
  onClick: v
10142
10134
  })
10143
10135
  ])),
10144
- D(k, {
10136
+ R(k, {
10145
10137
  loading: !t(n).mounted
10146
10138
  }, null, 8, ["loading"]),
10147
- f.$slots.default ? q(f.$slots, "default", { key: 1 }, void 0, !0) : (z(), le(ia(t(n).drawerInfo.cpt), oe({ key: 2 }, f.$attrs, {
10139
+ h.$slots.default ? q(h.$slots, "default", { key: 1 }, void 0, !0) : (z(), le(ia(t(n).drawerInfo.cpt), oe({ key: 2 }, h.$attrs, {
10148
10140
  params: t(n).drawerInfo.params,
10149
10141
  onClose: v,
10150
10142
  onMounted: s
@@ -10226,32 +10218,32 @@ const Se = (a) => {
10226
10218
  se(() => {
10227
10219
  s("mounted");
10228
10220
  });
10229
- const _ = () => {
10221
+ const g = () => {
10230
10222
  s("close"), s("cancel");
10231
10223
  }, v = () => {
10232
10224
  s("submit");
10233
10225
  };
10234
10226
  o({
10235
- toClose: _,
10227
+ toClose: g,
10236
10228
  scrollTo: (T) => {
10237
- var h;
10238
- (h = r.value) == null || h.setScrollTop(T);
10229
+ var _;
10230
+ (_ = r.value) == null || _.setScrollTop(T);
10239
10231
  }
10240
10232
  });
10241
- const c = p(() => [l.loading && "noevent", n.$attrs.class]), y = p(() => {
10242
- const h = l.nofooter ? 0 : 4;
10233
+ const c = p(() => [l.loading && "noevent", n.$attrs.class]), A = p(() => {
10234
+ const _ = l.nofooter ? 0 : 4;
10243
10235
  return {
10244
- height: l.height ? `${3.5 + h + l.height / 16}rem` : `calc(100vh - ${3.5}rem - ${h}rem - ${l.minusHeight / 16}rem)`
10236
+ height: l.height ? `${3.5 + _ + l.height / 16}rem` : `calc(100vh - ${3.5}rem - ${_}rem - ${l.minusHeight / 16}rem)`
10245
10237
  };
10246
10238
  });
10247
- return (T, h) => {
10248
- const L = G("Loading"), V = G("el-scrollbar"), f = G("el-button");
10239
+ return (T, _) => {
10240
+ const L = G("Loading"), V = G("el-scrollbar"), h = G("el-button");
10249
10241
  return z(), O(re, null, [
10250
10242
  m("div", {
10251
10243
  class: H(["MvcDrawerBody VAfter", t(c)]),
10252
- style: de(t(y))
10244
+ style: de(t(A))
10253
10245
  }, [
10254
- D(L, {
10246
+ R(L, {
10255
10247
  loading: l.loading,
10256
10248
  txt: l.loadingTxt
10257
10249
  }, null, 8, ["loading", "txt"]),
@@ -10261,7 +10253,7 @@ const Se = (a) => {
10261
10253
  ref: r,
10262
10254
  class: "wp100"
10263
10255
  }, {
10264
- default: B(() => [
10256
+ default: $(() => [
10265
10257
  q(T.$slots, "default", {}, void 0, !0)
10266
10258
  ]),
10267
10259
  _: 3
@@ -10272,36 +10264,36 @@ const Se = (a) => {
10272
10264
  class: H(["drawerFooter relative flexMode vc hb h64", l.footerClass])
10273
10265
  }, [
10274
10266
  T.$slots.footer ? q(T.$slots, "footer", { key: 0 }, void 0, !0) : (z(), O("div", On, [
10275
- T.$slots.cancel ? q(T.$slots, "cancel", { key: 0 }, void 0, !0) : l.showCancel ? (z(), le(f, {
10267
+ T.$slots.cancel ? q(T.$slots, "cancel", { key: 0 }, void 0, !0) : l.showCancel ? (z(), le(h, {
10276
10268
  key: 1,
10277
10269
  plain: "",
10278
10270
  size: "large",
10279
- onClick: _
10271
+ onClick: g
10280
10272
  }, {
10281
- icon: B(() => [
10273
+ icon: $(() => [
10282
10274
  m("i", {
10283
10275
  class: H(["imicon", l.cancelIcon])
10284
10276
  }, null, 2)
10285
10277
  ]),
10286
- default: B(() => [
10287
- m("span", Pn, I(T.$l(l.cancelTxt)), 1)
10278
+ default: $(() => [
10279
+ m("span", Pn, N(T.$l(l.cancelTxt)), 1)
10288
10280
  ]),
10289
10281
  _: 1
10290
10282
  })) : K("", !0),
10291
- T.$slots.submit ? q(T.$slots, "submit", { key: 2 }, void 0, !0) : l.showConfirm ? (z(), le(f, {
10283
+ T.$slots.submit ? q(T.$slots, "submit", { key: 2 }, void 0, !0) : l.showConfirm ? (z(), le(h, {
10292
10284
  key: 3,
10293
10285
  type: "primary",
10294
10286
  size: "large",
10295
10287
  loading: l.loading,
10296
10288
  onClick: v
10297
10289
  }, {
10298
- icon: B(() => [
10290
+ icon: $(() => [
10299
10291
  m("i", {
10300
10292
  class: H(["imicon", l.confirmIcon])
10301
10293
  }, null, 2)
10302
10294
  ]),
10303
- default: B(() => [
10304
- m("span", xn, I(T.$l(l.confirmTxt)), 1)
10295
+ default: $(() => [
10296
+ m("span", xn, N(T.$l(l.confirmTxt)), 1)
10305
10297
  ]),
10306
10298
  _: 1
10307
10299
  }, 8, ["loading"])) : K("", !0),
@@ -10338,30 +10330,30 @@ const Bn = ca({
10338
10330
  setup(a, o) {
10339
10331
  function e(n) {
10340
10332
  if (!Array.isArray(n)) return [];
10341
- const r = n.filter((u) => u && u.children !== "v-if"), s = r.length !== n.length, _ = r.map((u) => l(u));
10342
- return s || _.some((u, c) => u !== r[c]) ? _ : n;
10333
+ const r = n.filter((u) => u && u.children !== "v-if"), s = r.length !== n.length, g = r.map((u) => l(u));
10334
+ return s || g.some((u, c) => u !== r[c]) ? g : n;
10343
10335
  }
10344
10336
  function l(n) {
10345
- var _, v, u, c;
10337
+ var g, v, u, c;
10346
10338
  if (!n) return n;
10347
10339
  const r = n.children, s = window.$getType(r);
10348
- if (((_ = n.type) == null ? void 0 : _.name) === "ElFormItem" && ((v = n.props) == null ? void 0 : v.label) != null) {
10349
- const y = ((c = (u = n.props.label).$l) == null ? void 0 : c.call(u)) || n.props.label;
10340
+ if (((g = n.type) == null ? void 0 : g.name) === "ElFormItem" && ((v = n.props) == null ? void 0 : v.label) != null) {
10341
+ const A = ((c = (u = n.props.label).$l) == null ? void 0 : c.call(u)) || n.props.label;
10350
10342
  if (s === "Array") {
10351
10343
  const T = e(r);
10352
- return la(T, r) ? Ge(n, { label: y }) : Ke(n.type, { ...n.props || {}, label: y }, T);
10344
+ return la(T, r) ? Ge(n, { label: A }) : Ke(n.type, { ...n.props || {}, label: A }, T);
10353
10345
  }
10354
- return Ge(n, { label: y });
10346
+ return Ge(n, { label: A });
10355
10347
  }
10356
10348
  if (s === "Array") {
10357
- const y = e(r);
10358
- return la(y, r) ? n : Ke(n.type, n.props, y);
10349
+ const A = e(r);
10350
+ return la(A, r) ? n : Ke(n.type, n.props, A);
10359
10351
  }
10360
10352
  return n;
10361
10353
  }
10362
10354
  return () => {
10363
- var s, _;
10364
- const n = (_ = (s = o.slots).default) == null ? void 0 : _.call(s), r = $n(n);
10355
+ var s, g;
10356
+ const n = (g = (s = o.slots).default) == null ? void 0 : g.call(s), r = $n(n);
10365
10357
  return e(r);
10366
10358
  };
10367
10359
  }
@@ -10384,9 +10376,9 @@ const Bn = ca({
10384
10376
  }
10385
10377
  },
10386
10378
  setup(a, { expose: o, emit: e }) {
10387
- const l = a, n = X({
10379
+ const l = a, n = Q({
10388
10380
  form: {}
10389
- }), { proxy: r } = pe(), s = e, _ = async () => {
10381
+ }), { proxy: r } = pe(), s = e, g = async () => {
10390
10382
  var c;
10391
10383
  try {
10392
10384
  return (c = r.$refs) != null && c.form ? (await r.$refs.form.validate(), v()) : !1;
@@ -10395,8 +10387,8 @@ const Bn = ca({
10395
10387
  }
10396
10388
  }, v = () => n.form, u = p(() => {
10397
10389
  const c = {};
10398
- for (let y in l.rules)
10399
- c[y] = l.rules[y].map((T) => ({
10390
+ for (let A in l.rules)
10391
+ c[A] = l.rules[A].map((T) => ({
10400
10392
  ...T,
10401
10393
  ...T.message && { message: window.$l(T.message) }
10402
10394
  }));
@@ -10420,11 +10412,11 @@ const Bn = ca({
10420
10412
  deep: !0
10421
10413
  }
10422
10414
  ), o({
10423
- validate: _
10424
- }), (c, y) => {
10415
+ validate: g
10416
+ }), (c, A) => {
10425
10417
  const T = G("el-form");
10426
10418
  return z(), O("div", jn, [
10427
- D(T, {
10419
+ R(T, {
10428
10420
  ref: "form",
10429
10421
  model: t(n).form,
10430
10422
  rules: t(u),
@@ -10432,9 +10424,9 @@ const Bn = ca({
10432
10424
  "validate-on-rule-change": !1,
10433
10425
  "label-position": "top"
10434
10426
  }, {
10435
- default: B(() => [
10436
- D(t(Bn), null, {
10437
- default: B(() => [
10427
+ default: $(() => [
10428
+ R(t(Bn), null, {
10429
+ default: $(() => [
10438
10430
  q(c.$slots, "default")
10439
10431
  ]),
10440
10432
  _: 3
@@ -10454,21 +10446,21 @@ const Bn = ca({
10454
10446
  }, {
10455
10447
  __name: "Tab",
10456
10448
  setup(a) {
10457
- const o = X({
10449
+ const o = Q({
10458
10450
  active: 2,
10459
10451
  pageScrolled: !1
10460
10452
  });
10461
10453
  let e = null, l = null;
10462
- const n = Ae("store"), r = n.tab(), s = n.rmenu(), _ = ra(), v = sa(), { proxy: u } = pe();
10454
+ const n = Ae("store"), r = n.tab(), s = n.rmenu(), g = ra(), v = sa(), { proxy: u } = pe();
10463
10455
  se(() => {
10464
- c(), h();
10456
+ c(), _();
10465
10457
  });
10466
10458
  const c = () => {
10467
10459
  u.$el.addEventListener("scroll", V);
10468
- }, y = (w) => {
10460
+ }, A = (w) => {
10469
10461
  let P = w == null ? void 0 : w.parentElement;
10470
10462
  for (; P && P !== document.body; ) {
10471
- const { overflowY: j, overflow: R } = getComputedStyle(P), J = j || R;
10463
+ const { overflowY: B, overflow: F } = getComputedStyle(P), J = B || F;
10472
10464
  if ((J === "auto" || J === "scroll" || J === "overlay") && P.scrollHeight > P.clientHeight)
10473
10465
  return P;
10474
10466
  P = P.parentElement;
@@ -10477,8 +10469,8 @@ const Bn = ca({
10477
10469
  }, T = () => {
10478
10470
  const w = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop, P = e ? e.scrollTop : 0;
10479
10471
  o.pageScrolled = w > 0 || P > 0;
10480
- }, h = () => {
10481
- e = y(u.$el);
10472
+ }, _ = () => {
10473
+ e = A(u.$el);
10482
10474
  const w = () => {
10483
10475
  T();
10484
10476
  };
@@ -10491,15 +10483,15 @@ const Bn = ca({
10491
10483
  }, V = (w) => {
10492
10484
  let P = null;
10493
10485
  P !== null && clearTimeout(P), P = setTimeout(function() {
10494
- const { scrollLeft: j } = w.target;
10495
- localStorage.setItem("tabsScroll", j);
10486
+ const { scrollLeft: B } = w.target;
10487
+ localStorage.setItem("tabsScroll", B);
10496
10488
  }, 100);
10497
- }, f = () => {
10489
+ }, h = () => {
10498
10490
  me(() => {
10499
- const w = u.$el.querySelector(`#tab_${C.value}`);
10491
+ const w = u.$el.querySelector(`#tab_${M.value}`);
10500
10492
  Ga(u.$el, w) ? L() : u.$el.scrollLeft = (w == null ? void 0 : w.offsetLeft) - 16;
10501
10493
  });
10502
- }, d = (w, P, j) => {
10494
+ }, d = (w, P, B) => {
10503
10495
  s.saveData("type", "tabManager"), s.saveData("options", [
10504
10496
  {
10505
10497
  label: "Close",
@@ -10507,25 +10499,25 @@ const Bn = ca({
10507
10499
  icon: "im-close",
10508
10500
  disabled: b.value.length === 1,
10509
10501
  cb: () => {
10510
- r.closeTab(P, j);
10502
+ r.closeTab(P, B);
10511
10503
  }
10512
10504
  },
10513
10505
  {
10514
10506
  label: "Close Right",
10515
10507
  value: "closeRight",
10516
10508
  icon: "im-right",
10517
- disabled: j === b.value.length - 1,
10509
+ disabled: B === b.value.length - 1,
10518
10510
  cb: () => {
10519
- r.closeRightTab(P, j);
10511
+ r.closeRightTab(P, B);
10520
10512
  }
10521
10513
  },
10522
10514
  {
10523
10515
  label: "Close Left",
10524
10516
  value: "closeLeft",
10525
10517
  icon: "im-left",
10526
- disabled: j === 0,
10518
+ disabled: B === 0,
10527
10519
  cb: () => {
10528
- r.closeLeftTab(P, j);
10520
+ r.closeLeftTab(P, B);
10529
10521
  }
10530
10522
  },
10531
10523
  {
@@ -10534,7 +10526,7 @@ const Bn = ca({
10534
10526
  icon: "im-left",
10535
10527
  disabled: b.value.length === 1,
10536
10528
  cb: () => {
10537
- r.closeOtherTab(P, j);
10529
+ r.closeOtherTab(P, B);
10538
10530
  }
10539
10531
  }
10540
10532
  ]), s.show({
@@ -10544,27 +10536,27 @@ const Bn = ca({
10544
10536
  }
10545
10537
  });
10546
10538
  }, k = (w) => {
10547
- const P = w.name === C.value, j = JSON.stringify(w.params ?? {}) === JSON.stringify(_.params ?? {}), R = JSON.stringify(w.query ?? {}) === JSON.stringify(_.query ?? {});
10548
- (!P || !j || !R) && v.push({
10539
+ const P = w.name === M.value, B = JSON.stringify(w.params ?? {}) === JSON.stringify(g.params ?? {}), F = JSON.stringify(w.query ?? {}) === JSON.stringify(g.query ?? {});
10540
+ (!P || !B || !F) && v.push({
10549
10541
  name: w.name,
10550
10542
  params: w.params,
10551
10543
  query: w.query
10552
10544
  });
10553
10545
  }, S = (w) => {
10554
- console.info(w.name, C.value), w.name === C.value ? v.replace({ name: w.name, query: { t: +/* @__PURE__ */ new Date() } }) : k(w);
10555
- }, g = (w, P) => {
10546
+ console.info(w.name, M.value), w.name === M.value ? v.replace({ name: w.name, query: { t: +/* @__PURE__ */ new Date() } }) : k(w);
10547
+ }, y = (w, P) => {
10556
10548
  r.closeTab(w, P);
10557
- }, b = p(() => r.tabs), C = p(() => _.name), $ = p(() => b.value.length);
10549
+ }, b = p(() => r.tabs), M = p(() => g.name), I = p(() => b.value.length);
10558
10550
  return te(
10559
- () => $.value,
10551
+ () => I.value,
10560
10552
  (w) => {
10561
- localStorage.setItem("tabs", JSON.stringify(b.value)), w && f();
10553
+ localStorage.setItem("tabs", JSON.stringify(b.value)), w && h();
10562
10554
  },
10563
10555
  {
10564
10556
  immediate: !0
10565
10557
  }
10566
10558
  ), te(
10567
- () => C.value,
10559
+ () => M.value,
10568
10560
  () => {
10569
10561
  me(() => {
10570
10562
  T();
@@ -10574,25 +10566,25 @@ const Bn = ca({
10574
10566
  u.$el.removeEventListener("scroll", V), l == null || l(), l = null;
10575
10567
  }), (w, P) => (z(), O("div", Fn, [
10576
10568
  m("div", Vn, [
10577
- (z(!0), O(re, null, ce(t(b), (j, R) => (z(), O("div", {
10578
- key: j.name,
10579
- id: `tab_${j.name}`,
10569
+ (z(!0), O(re, null, ce(t(b), (B, F) => (z(), O("div", {
10570
+ key: B.name,
10571
+ id: `tab_${B.name}`,
10580
10572
  class: H(["tabItem relative flexMode vc g4 noShrink h32 p0-8 fs12 radius4 point noselect", [
10581
- j.name === t(C) && "active",
10573
+ B.name === t(M) && "active",
10582
10574
  t(b).length > 1 && "hoverItem"
10583
10575
  ]]),
10584
- onContextmenu: _e((J) => d(J, j, R), ["prevent", "stop"]),
10585
- onClick: (J) => k(j),
10586
- onDblclick: (J) => S(j)
10576
+ onContextmenu: _e((J) => d(J, B, F), ["prevent", "stop"]),
10577
+ onClick: (J) => k(B),
10578
+ onDblclick: (J) => S(B)
10587
10579
  }, [
10588
- j.icon ? (z(), O("i", {
10580
+ B.icon ? (z(), O("i", {
10589
10581
  key: 0,
10590
- class: H(["imicon", j.icon])
10582
+ class: H(["imicon", B.icon])
10591
10583
  }, null, 2)) : K("", !0),
10592
- ie(" " + I(j.meta.title) + " ", 1),
10584
+ ie(" " + N(B.meta.title) + " ", 1),
10593
10585
  m("div", {
10594
10586
  class: "abs r flexMode hc vc w20 h20",
10595
- onClick: _e((J) => g(j, R), ["stop"])
10587
+ onClick: _e((J) => y(B, F), ["stop"])
10596
10588
  }, [...P[0] || (P[0] = [
10597
10589
  m("span", null, "✕", -1)
10598
10590
  ])], 8, Kn)
@@ -10624,59 +10616,59 @@ const Bn = ca({
10624
10616
  }
10625
10617
  },
10626
10618
  setup(a, { emit: o }) {
10627
- const e = a, l = X({
10619
+ const e = a, l = Q({
10628
10620
  collapse: !1
10629
- }), n = ra(), r = sa(), s = Ae("store"), _ = s.launch();
10621
+ }), n = ra(), r = sa(), s = Ae("store"), g = s.launch();
10630
10622
  se(() => {
10631
10623
  u();
10632
10624
  });
10633
10625
  const v = o, u = () => {
10634
- const g = localStorage.getItem("collapse");
10635
- g && (l.collapse = JSON.parse(g)), document.addEventListener("keydown", y);
10636
- }, c = (g) => {
10637
- l.collapse === !0 ? l.collapse = !1 : l.collapse === !1 ? l.collapse = !0 : l.collapse = g, localStorage.setItem("collapse", l.collapse), v("on-collapse-change", l.collapse);
10638
- }, y = (g) => {
10639
- !(g.metaKey || g.ctrlKey) || T(g) || (g.keyCode === 37 ? (g.preventDefault(), g.stopPropagation(), c(!0)) : g.keyCode === 39 && (g.preventDefault(), g.stopPropagation(), c(!1)));
10640
- }, T = (g) => {
10641
- const b = g.target;
10626
+ const y = localStorage.getItem("collapse");
10627
+ y && (l.collapse = JSON.parse(y)), document.addEventListener("keydown", A);
10628
+ }, c = (y) => {
10629
+ l.collapse === !0 ? l.collapse = !1 : l.collapse === !1 ? l.collapse = !0 : l.collapse = y, localStorage.setItem("collapse", l.collapse), v("on-collapse-change", l.collapse);
10630
+ }, A = (y) => {
10631
+ !(y.metaKey || y.ctrlKey) || T(y) || (y.keyCode === 37 ? (y.preventDefault(), y.stopPropagation(), c(!0)) : y.keyCode === 39 && (y.preventDefault(), y.stopPropagation(), c(!1)));
10632
+ }, T = (y) => {
10633
+ const b = y.target;
10642
10634
  return b instanceof HTMLElement ? !!b.closest("input, textarea, select, [contenteditable='true'], [contenteditable='']") : !1;
10643
- }, h = (g) => {
10635
+ }, _ = (y) => {
10644
10636
  var b;
10645
- return (b = g == null ? void 0 : g.children) != null && b.length ? h(g.children[0]) : g;
10646
- }, L = (g) => {
10637
+ return (b = y == null ? void 0 : y.children) != null && b.length ? _(y.children[0]) : y;
10638
+ }, L = (y) => {
10647
10639
  var b;
10648
- return ((b = g == null ? void 0 : g.children) == null ? void 0 : b.some((C) => C.name === n.name || L(C))) ?? !1;
10649
- }, V = (g) => {
10650
- const b = h(g);
10640
+ return ((b = y == null ? void 0 : y.children) == null ? void 0 : b.some((M) => M.name === n.name || L(M))) ?? !1;
10641
+ }, V = (y) => {
10642
+ const b = _(y);
10651
10643
  b != null && b.name && r.push({ name: b.name });
10652
- }, f = () => {
10653
- const g = { ...n.query, _: Date.now() }, b = n.name ? { name: n.name, params: n.params, query: g } : { path: n.path, query: g };
10644
+ }, h = () => {
10645
+ const y = { ...n.query, _: Date.now() }, b = n.name ? { name: n.name, params: n.params, query: y } : { path: n.path, query: y };
10654
10646
  r.replace(b).catch(() => {
10655
10647
  });
10656
10648
  }, d = () => {
10657
- var g;
10658
- return ((g = globalThis.$config) == null ? void 0 : g.loginPageName) || "Entry";
10649
+ var y;
10650
+ return ((y = globalThis.$config) == null ? void 0 : y.loginPageName) || "Entry";
10659
10651
  }, k = () => {
10660
- const g = () => {
10661
- var C, $;
10652
+ const y = () => {
10653
+ var M, I;
10662
10654
  try {
10663
10655
  const w = s.tab();
10664
- (C = w.closeAllTab) == null || C.call(w), ($ = w.$patch) == null || $.call(w, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
10656
+ (M = w.closeAllTab) == null || M.call(w), (I = w.$patch) == null || I.call(w, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
10665
10657
  } catch {
10666
10658
  }
10667
10659
  }, b = () => {
10668
- if (g(), typeof _.clearLogin == "function")
10669
- _.clearLogin();
10660
+ if (y(), typeof g.clearLogin == "function")
10661
+ g.clearLogin();
10670
10662
  else {
10671
10663
  try {
10672
10664
  localStorage.removeItem("login");
10673
10665
  } catch {
10674
10666
  }
10675
- _.$patch({ login: !1, userinfo: {}, loggingOut: !1 });
10667
+ g.$patch({ login: !1, userinfo: {}, loggingOut: !1 });
10676
10668
  }
10677
10669
  };
10678
- _.$patch({ loggingOut: !0 }), r.replace({ name: d() }).catch(() => r.replace({ path: "/" })).then(b).catch(() => {
10679
- _.$patch({ loggingOut: !1 });
10670
+ g.$patch({ loggingOut: !0 }), r.replace({ name: d() }).catch(() => r.replace({ path: "/" })).then(b).catch(() => {
10671
+ g.$patch({ loggingOut: !1 });
10680
10672
  try {
10681
10673
  r.replace({ path: "/" });
10682
10674
  } catch {
@@ -10685,22 +10677,22 @@ const Bn = ca({
10685
10677
  });
10686
10678
  }, S = p(() => l.collapse ? "im-verticalleft" : "im-verticalright");
10687
10679
  return ve(() => {
10688
- document.removeEventListener("keydown", y);
10689
- }), (g, b) => {
10690
- const C = G("el-popconfirm");
10680
+ document.removeEventListener("keydown", A);
10681
+ }), (y, b) => {
10682
+ const M = G("el-popconfirm");
10691
10683
  return z(), O("div", {
10692
10684
  class: H(["FrameMenu sticky vh100 noselect noShrink", t(l).collapse && "collapse"])
10693
10685
  }, [
10694
10686
  m("div", Jn, [
10695
10687
  m("div", Zn, [
10696
- q(g.$slots, "logo", {}, void 0, !0)
10688
+ q(y.$slots, "logo", {}, void 0, !0)
10697
10689
  ]),
10698
10690
  m("div", Yn, [
10699
- q(g.$slots, "logomini", {}, void 0, !0)
10691
+ q(y.$slots, "logomini", {}, void 0, !0)
10700
10692
  ]),
10701
10693
  m("div", {
10702
10694
  class: "collapseArea hover abs",
10703
- onClick: b[0] || (b[0] = ($) => c(t(l).collapse))
10695
+ onClick: b[0] || (b[0] = (I) => c(t(l).collapse))
10704
10696
  }, [
10705
10697
  m("i", {
10706
10698
  class: H(["imicon fs20", t(S)])
@@ -10708,70 +10700,70 @@ const Bn = ca({
10708
10700
  ])
10709
10701
  ]),
10710
10702
  m("div", Wn, [
10711
- (z(!0), O(re, null, ce(e.routes, ($, w) => {
10712
- var P, j;
10703
+ (z(!0), O(re, null, ce(e.routes, (I, w) => {
10704
+ var P, B;
10713
10705
  return z(), O("div", {
10714
10706
  key: w,
10715
10707
  class: "menuItemWrap mb2"
10716
10708
  }, [
10717
10709
  m("div", {
10718
10710
  class: H(["menuItem flexMode vc g8 radius4 p0-16", [
10719
- t(n).name === $.name && "active bg-primary",
10711
+ t(n).name === I.name && "active bg-primary",
10720
10712
  t(l).collapse && "hc",
10721
- t(l).collapse && L($) && "activeChild"
10713
+ t(l).collapse && L(I) && "activeChild"
10722
10714
  ]]),
10723
- onClick: (R) => V($),
10724
- onDblclick: f
10715
+ onClick: (F) => V(I),
10716
+ onDblclick: h
10725
10717
  }, [
10726
10718
  m("div", Xn, [
10727
- $.meta.icon ? (z(), O("i", {
10719
+ I.meta.icon ? (z(), O("i", {
10728
10720
  key: 0,
10729
- class: H([e.iconClass, $.meta.icon])
10730
- }, null, 2)) : (z(), O("span", Qn, I(((P = $.meta.title) == null ? void 0 : P.substr(0, 1)) || "U"), 1))
10721
+ class: H([e.iconClass, I.meta.icon])
10722
+ }, null, 2)) : (z(), O("span", Qn, N(((P = I.meta.title) == null ? void 0 : P.substr(0, 1)) || "U"), 1))
10731
10723
  ]),
10732
10724
  m("div", {
10733
10725
  class: H(["itemTitle txt-nowrap fs14", [
10734
- t(n).name === $.name && "active",
10726
+ t(n).name === I.name && "active",
10735
10727
  t(l).collapse && "hide"
10736
10728
  ]])
10737
- }, I($.meta.title), 3)
10729
+ }, N(I.meta.title), 3)
10738
10730
  ], 42, qn),
10739
- (j = $.children) != null && j.length ? (z(), O("div", eo, [
10740
- (z(!0), O(re, null, ce($.children, (R, J) => (z(), O("div", {
10731
+ (B = I.children) != null && B.length ? (z(), O("div", eo, [
10732
+ (z(!0), O(re, null, ce(I.children, (F, J) => (z(), O("div", {
10741
10733
  key: J,
10742
- class: H(["childrenItem flexMode vc g8 radius4 h40 p0-16", t(n).name === R.name && "active bg-primary"]),
10743
- onClick: (x) => V(R),
10744
- onDblclick: f
10734
+ class: H(["childrenItem flexMode vc g8 radius4 h40 p0-16", t(n).name === F.name && "active bg-primary"]),
10735
+ onClick: (x) => V(F),
10736
+ onDblclick: h
10745
10737
  }, [
10746
10738
  m("div", lo, [
10747
- R.meta.icon ? (z(), O("i", {
10739
+ F.meta.icon ? (z(), O("i", {
10748
10740
  key: 0,
10749
- class: H([e.iconClass, R.meta.icon])
10741
+ class: H([e.iconClass, F.meta.icon])
10750
10742
  }, null, 2)) : K("", !0)
10751
10743
  ]),
10752
10744
  m("div", {
10753
10745
  class: H(["itemTitle txt-nowrap fs14", [
10754
- t(n).name === R.name && "active",
10746
+ t(n).name === F.name && "active",
10755
10747
  t(l).collapse && "hide"
10756
10748
  ]])
10757
- }, I(R.meta.title), 3)
10749
+ }, N(F.meta.title), 3)
10758
10750
  ], 42, ao))), 128))
10759
10751
  ])) : K("", !0)
10760
10752
  ]);
10761
10753
  }), 128))
10762
10754
  ]),
10763
10755
  m("div", no, [
10764
- D(C, {
10756
+ R(M, {
10765
10757
  placement: "top",
10766
- title: g.$l("Log out?"),
10758
+ title: y.$l("Log out?"),
10767
10759
  onConfirm: k
10768
10760
  }, {
10769
- reference: B(() => [
10761
+ reference: $(() => [
10770
10762
  m("div", oo, [
10771
10763
  b[1] || (b[1] = m("i", { class: "imicon im-power fs24" }, null, -1)),
10772
10764
  m("span", {
10773
10765
  class: H(["fs14", t(l).collapse && "hide"])
10774
- }, I(t(_).userinfo[e.usernameKey]), 3)
10766
+ }, N(t(g).userinfo[e.usernameKey]), 3)
10775
10767
  ])
10776
10768
  ]),
10777
10769
  _: 1
@@ -10786,12 +10778,12 @@ const Bn = ca({
10786
10778
  }, {
10787
10779
  __name: "Footer",
10788
10780
  setup(a) {
10789
- X({});
10781
+ Q({});
10790
10782
  const o = p(() => globalThis.$config);
10791
10783
  return (e, l) => (z(), O("div", so, [
10792
- m("span", io, I(t(o).copyright), 1),
10793
- m("span", co, I(t(o).author), 1),
10794
- m("span", uo, "Ver" + I(t(o).version), 1)
10784
+ m("span", io, N(t(o).copyright), 1),
10785
+ m("span", co, N(t(o).author), 1),
10786
+ m("span", uo, "Ver" + N(t(o).version), 1)
10795
10787
  ]));
10796
10788
  }
10797
10789
  }), bo = /* @__PURE__ */ ne(mo, [["__scopeId", "data-v-a471ccbf"]]), vo = { class: "FrameTool fixed r t flexMode vc g8 p0-8 w40 h40 noShrink z9" }, po = /* @__PURE__ */ Object.assign({
@@ -10801,8 +10793,8 @@ const Bn = ca({
10801
10793
  __name: "Tool",
10802
10794
  setup(a) {
10803
10795
  const o = ua(() => import("./Config.js"));
10804
- X({});
10805
- const e = X({
10796
+ Q({});
10797
+ const e = Q({
10806
10798
  current: "",
10807
10799
  list: [
10808
10800
  {
@@ -10814,20 +10806,20 @@ const Bn = ca({
10814
10806
  e.current = 0;
10815
10807
  };
10816
10808
  return (n, r) => {
10817
- const s = G("Icon"), _ = G("Drawer");
10809
+ const s = G("Icon"), g = G("Drawer");
10818
10810
  return z(), O(re, null, [
10819
10811
  m("div", vo, [
10820
10812
  m("div", {
10821
10813
  class: "hover w24 h24 flexMode hc vc radius",
10822
10814
  onClick: l
10823
10815
  }, [
10824
- D(s, {
10816
+ R(s, {
10825
10817
  name: "setting",
10826
10818
  size: "24"
10827
10819
  })
10828
10820
  ])
10829
10821
  ]),
10830
- D(_, {
10822
+ R(g, {
10831
10823
  current: t(e).current,
10832
10824
  "onUpdate:current": r[0] || (r[0] = (v) => t(e).current = v),
10833
10825
  drawer: t(e).list
@@ -10844,14 +10836,14 @@ const Bn = ca({
10844
10836
  }, {
10845
10837
  __name: "RightMenu",
10846
10838
  setup(a) {
10847
- const e = Ae("store").rmenu(), l = ae(null), n = X({
10839
+ const e = Ae("store").rmenu(), l = ae(null), n = Q({
10848
10840
  x: 0,
10849
10841
  y: 0,
10850
10842
  ready: !1
10851
- }), r = (S, g, b) => Math.min(Math.max(S, g), b), s = (S) => Number.isFinite(Number(S)), _ = () => {
10852
- const { position: S, el: g } = e;
10853
- if (g != null && g.getBoundingClientRect) {
10854
- const b = g.getBoundingClientRect();
10843
+ }), r = (S, y, b) => Math.min(Math.max(S, y), b), s = (S) => Number.isFinite(Number(S)), g = () => {
10844
+ const { position: S, el: y } = e;
10845
+ if (y != null && y.getBoundingClientRect) {
10846
+ const b = y.getBoundingClientRect();
10855
10847
  return {
10856
10848
  x: b.left,
10857
10849
  y: b.bottom + 4
@@ -10871,41 +10863,41 @@ const Bn = ca({
10871
10863
  const S = l.value;
10872
10864
  if (!S)
10873
10865
  return;
10874
- const g = _(), b = S.getBoundingClientRect(), C = 8, $ = Math.max(C, window.innerWidth - b.width - C), w = Math.max(C, window.innerHeight - b.height - C);
10875
- n.x = r(g.x, C, $), n.y = r(g.y, C, w), n.ready = !0;
10866
+ const y = g(), b = S.getBoundingClientRect(), M = 8, I = Math.max(M, window.innerWidth - b.width - M), w = Math.max(M, window.innerHeight - b.height - M);
10867
+ n.x = r(y.x, M, I), n.y = r(y.y, M, w), n.ready = !0;
10876
10868
  }, u = () => {
10877
10869
  e.visible && e.hide(), n.ready = !1;
10878
10870
  }, c = (S) => {
10879
- var g;
10880
- !d.value || (g = l.value) != null && g.contains(S.target) || u();
10881
- }, y = (S) => {
10882
- var g;
10883
- !d.value || (g = l.value) != null && g.contains(S.target) || u();
10871
+ var y;
10872
+ !d.value || (y = l.value) != null && y.contains(S.target) || u();
10873
+ }, A = (S) => {
10874
+ var y;
10875
+ !d.value || (y = l.value) != null && y.contains(S.target) || u();
10884
10876
  }, T = (S) => {
10885
10877
  S.key === "Escape" && u();
10886
- }, h = (S) => typeof S.disabled == "function" ? S.disabled(S) : !!S.disabled, L = (S, g) => S.value ?? S.label ?? g, V = (S) => {
10887
- var g, b;
10888
- if (!h(S))
10878
+ }, _ = (S) => typeof S.disabled == "function" ? S.disabled(S) : !!S.disabled, L = (S, y) => S.value ?? S.label ?? y, V = (S) => {
10879
+ var y, b;
10880
+ if (!_(S))
10889
10881
  try {
10890
- (g = S.cb) == null || g.call(S, S), (b = S.onClick) == null || b.call(S, S);
10882
+ (y = S.cb) == null || y.call(S, S), (b = S.onClick) == null || b.call(S, S);
10891
10883
  } finally {
10892
10884
  u();
10893
10885
  }
10894
- }, f = p(() => Array.isArray(e.options) ? e.options.filter(Boolean) : []), d = p(() => e.visible && f.value.length > 0), k = p(() => ({
10886
+ }, h = p(() => Array.isArray(e.options) ? e.options.filter(Boolean) : []), d = p(() => e.visible && h.value.length > 0), k = p(() => ({
10895
10887
  left: `${n.x}px`,
10896
10888
  top: `${n.y}px`,
10897
10889
  visibility: n.ready ? "visible" : "hidden"
10898
10890
  }));
10899
10891
  return te(
10900
10892
  () => {
10901
- var S, g;
10893
+ var S, y;
10902
10894
  return [
10903
10895
  e.visible,
10904
10896
  e.el,
10905
10897
  e.options,
10906
10898
  (S = e.position) == null ? void 0 : S.x,
10907
- (g = e.position) == null ? void 0 : g.y,
10908
- f.value.length
10899
+ (y = e.position) == null ? void 0 : y.y,
10900
+ h.value.length
10909
10901
  ];
10910
10902
  },
10911
10903
  () => {
@@ -10915,40 +10907,40 @@ const Bn = ca({
10915
10907
  flush: "post"
10916
10908
  }
10917
10909
  ), se(() => {
10918
- document.addEventListener("pointerdown", c, !0), document.addEventListener("contextmenu", y, !0), document.addEventListener("keydown", T), window.addEventListener("resize", u), window.addEventListener("scroll", u, !0);
10910
+ document.addEventListener("pointerdown", c, !0), document.addEventListener("contextmenu", A, !0), document.addEventListener("keydown", T), window.addEventListener("resize", u), window.addEventListener("scroll", u, !0);
10919
10911
  }), ve(() => {
10920
- document.removeEventListener("pointerdown", c, !0), document.removeEventListener("contextmenu", y, !0), document.removeEventListener("keydown", T), window.removeEventListener("resize", u), window.removeEventListener("scroll", u, !0);
10921
- }), (S, g) => (z(), le(Ra, { to: "body" }, [
10922
- D(da, { name: "FrameRightMenuFade" }, {
10923
- default: B(() => [
10912
+ document.removeEventListener("pointerdown", c, !0), document.removeEventListener("contextmenu", A, !0), document.removeEventListener("keydown", T), window.removeEventListener("resize", u), window.removeEventListener("scroll", u, !0);
10913
+ }), (S, y) => (z(), le(Ra, { to: "body" }, [
10914
+ R(da, { name: "FrameRightMenuFade" }, {
10915
+ default: $(() => [
10924
10916
  t(d) ? (z(), O("div", {
10925
10917
  key: 0,
10926
10918
  ref_key: "menuRef",
10927
10919
  ref: l,
10928
10920
  class: "FrameRightMenu",
10929
10921
  style: de(t(k)),
10930
- onClick: g[0] || (g[0] = _e(() => {
10922
+ onClick: y[0] || (y[0] = _e(() => {
10931
10923
  }, ["stop"])),
10932
- onPointerdown: g[1] || (g[1] = _e(() => {
10924
+ onPointerdown: y[1] || (y[1] = _e(() => {
10933
10925
  }, ["stop"])),
10934
- onContextmenu: g[2] || (g[2] = _e(() => {
10926
+ onContextmenu: y[2] || (y[2] = _e(() => {
10935
10927
  }, ["prevent", "stop"]))
10936
10928
  }, [
10937
- (z(!0), O(re, null, ce(t(f), (b, C) => (z(), O(re, {
10938
- key: L(b, C)
10929
+ (z(!0), O(re, null, ce(t(h), (b, M) => (z(), O(re, {
10930
+ key: L(b, M)
10939
10931
  }, [
10940
10932
  b.divider ? (z(), O("div", fo)) : (z(), O("button", {
10941
10933
  key: 1,
10942
10934
  type: "button",
10943
- class: H(["menuItem", { disabled: h(b) }]),
10944
- disabled: h(b),
10945
- onClick: ($) => V(b)
10935
+ class: H(["menuItem", { disabled: _(b) }]),
10936
+ disabled: _(b),
10937
+ onClick: (I) => V(b)
10946
10938
  }, [
10947
10939
  b.icon ? (z(), O("i", {
10948
10940
  key: 0,
10949
10941
  class: H(["imicon menuIcon", b.icon])
10950
10942
  }, null, 2)) : K("", !0),
10951
- m("span", _o, I(b.label), 1)
10943
+ m("span", _o, N(b.label), 1)
10952
10944
  ], 10, ho))
10953
10945
  ], 64))), 128))
10954
10946
  ], 36)) : K("", !0)
@@ -10980,41 +10972,41 @@ const Bn = ca({
10980
10972
  }
10981
10973
  },
10982
10974
  setup(a) {
10983
- const o = a, e = X({}), l = Ae("store"), n = l.tab(), r = l.init();
10975
+ const o = a, e = Q({}), l = Ae("store"), n = l.tab(), r = l.init();
10984
10976
  se(() => {
10985
10977
  s();
10986
10978
  });
10987
10979
  const s = () => {
10988
- const y = JSON.parse(localStorage.getItem("menuCollapse"));
10989
- e.collapse = y, Ka(), _();
10990
- }, _ = () => {
10991
- var y, T, h, L, V, f;
10992
- if ((T = (y = globalThis.$config) == null ? void 0 : y.iconfont) != null && T.url) {
10980
+ const A = JSON.parse(localStorage.getItem("menuCollapse"));
10981
+ e.collapse = A, Ka(), g();
10982
+ }, g = () => {
10983
+ var A, T, _, L, V, h;
10984
+ if ((T = (A = globalThis.$config) == null ? void 0 : A.iconfont) != null && T.url) {
10993
10985
  const d = document.createElement("script");
10994
- if (d.id = "iconfont", d.type = "text/javascript", d.src = (L = (h = globalThis.$config) == null ? void 0 : h.iconfont) == null ? void 0 : L.url, document.getElementById("iconfont"))
10986
+ if (d.id = "iconfont", d.type = "text/javascript", d.src = (L = (_ = globalThis.$config) == null ? void 0 : _.iconfont) == null ? void 0 : L.url, document.getElementById("iconfont"))
10995
10987
  return;
10996
- document.head.appendChild(d), (f = (V = globalThis.$config) == null ? void 0 : V.iconfont) == null || delete f.url;
10988
+ document.head.appendChild(d), (h = (V = globalThis.$config) == null ? void 0 : V.iconfont) == null || delete h.url;
10997
10989
  }
10998
- }, v = (y) => {
10999
- e.collapse = y, localStorage.setItem("menuCollapse", y);
10990
+ }, v = (A) => {
10991
+ e.collapse = A, localStorage.setItem("menuCollapse", A);
11000
10992
  }, u = p(() => r.pageLoading), c = p(() => ({
11001
10993
  maxWidth: e.collapse ? "calc(100% - 4rem)" : "calc(100% - 12rem)"
11002
10994
  }));
11003
- return (y, T) => {
11004
- const h = G("Loading"), L = G("router-view");
10995
+ return (A, T) => {
10996
+ const _ = G("Loading"), L = G("router-view");
11005
10997
  return z(), O("div", Ao, [
11006
- D(ro, oe(o.menu, { onOnCollapseChange: v }), be({ _: 2 }, [
11007
- y.$slots.logo ? {
10998
+ R(ro, oe(o.menu, { onOnCollapseChange: v }), be({ _: 2 }, [
10999
+ A.$slots.logo ? {
11008
11000
  name: "logo",
11009
- fn: B(() => [
11010
- q(y.$slots, "logo", {}, void 0, !0)
11001
+ fn: $(() => [
11002
+ q(A.$slots, "logo", {}, void 0, !0)
11011
11003
  ]),
11012
11004
  key: "0"
11013
11005
  } : void 0,
11014
- y.$slots.logomini ? {
11006
+ A.$slots.logomini ? {
11015
11007
  name: "logomini",
11016
- fn: B(() => [
11017
- q(y.$slots, "logomini", {}, void 0, !0)
11008
+ fn: $(() => [
11009
+ q(A.$slots, "logomini", {}, void 0, !0)
11018
11010
  ]),
11019
11011
  key: "1"
11020
11012
  } : void 0
@@ -11023,13 +11015,13 @@ const Bn = ca({
11023
11015
  class: "PageArea",
11024
11016
  style: de(t(c))
11025
11017
  }, [
11026
- D(h, { loading: t(u) }, null, 8, ["loading"]),
11018
+ R(_, { loading: t(u) }, null, 8, ["loading"]),
11027
11019
  t(n).useTab ? (z(), le(Hn, { key: 0 })) : K("", !0),
11028
- D(po),
11029
- D(L, he(ze(o.page)), null, 16),
11030
- D(bo)
11020
+ R(po),
11021
+ R(L, he(ze(o.page)), null, 16),
11022
+ R(bo)
11031
11023
  ], 4),
11032
- D(yo)
11024
+ R(yo)
11033
11025
  ]);
11034
11026
  };
11035
11027
  }
@@ -11051,7 +11043,7 @@ const Bn = ca({
11051
11043
  }
11052
11044
  },
11053
11045
  setup(a) {
11054
- const o = a, e = X({
11046
+ const o = a, e = Q({
11055
11047
  prefix: "imc"
11056
11048
  });
11057
11049
  se(() => {
@@ -11102,6 +11094,10 @@ const Bn = ca({
11102
11094
  focus: {
11103
11095
  type: Boolean,
11104
11096
  default: !1
11097
+ },
11098
+ nobreak: {
11099
+ type: Boolean,
11100
+ default: !1
11105
11101
  }
11106
11102
  },
11107
11103
  emits: [
@@ -11114,117 +11110,118 @@ const Bn = ca({
11114
11110
  ],
11115
11111
  setup(a, { emit: o }) {
11116
11112
  const e = a, l = Pe(), n = fe(), r = ae(null);
11117
- let s = null, _ = null;
11118
- const v = X({
11113
+ let s = null, g = null;
11114
+ const v = Q({
11119
11115
  val: "",
11120
11116
  isComposing: !1,
11121
11117
  focused: !1
11122
- }), u = o, { proxy: c } = pe(), y = p(() => {
11123
- const { class: N, ...W } = n;
11124
- return W;
11118
+ }), u = o, { proxy: c } = pe(), A = p(() => {
11119
+ const { class: D, ...f } = n;
11120
+ return { ...f, placeholder: P.value };
11125
11121
  });
11126
11122
  se(() => {
11127
- s = T(), s && (s.addEventListener("compositionstart", f), s.addEventListener("compositionend", d)), e.focus && V();
11123
+ s = T(), s && (s.addEventListener("compositionstart", h), s.addEventListener("compositionend", d)), e.focus && V();
11128
11124
  });
11129
11125
  const T = () => {
11130
- var W, A, M;
11131
- const N = (W = r.value) == null ? void 0 : W.$el;
11132
- return s = ((A = N == null ? void 0 : N.querySelector) == null ? void 0 : A.call(N, "input")) || ((M = N == null ? void 0 : N.querySelector) == null ? void 0 : M.call(N, "textarea")) || s, s;
11133
- }, h = () => {
11134
- _ && (clearTimeout(_), _ = null);
11126
+ var f, C, j;
11127
+ const D = (f = r.value) == null ? void 0 : f.$el;
11128
+ return s = ((C = D == null ? void 0 : D.querySelector) == null ? void 0 : C.call(D, "input")) || ((j = D == null ? void 0 : D.querySelector) == null ? void 0 : j.call(D, "textarea")) || s, s;
11129
+ }, _ = () => {
11130
+ g && (clearTimeout(g), g = null);
11135
11131
  }, L = () => {
11136
- var W, A;
11137
- (A = (W = r.value) == null ? void 0 : W.focus) == null || A.call(W);
11138
- const N = T();
11139
- return N ? (N.focus(), document.activeElement === N) : !1;
11140
- }, V = (N = 0) => {
11141
- h(), me(() => {
11142
- !e.focus || typeof window > "u" || L() || N >= 5 || (_ = setTimeout(() => {
11143
- _ = null, V(N + 1);
11132
+ var f, C;
11133
+ (C = (f = r.value) == null ? void 0 : f.focus) == null || C.call(f);
11134
+ const D = T();
11135
+ return D ? (D.focus(), document.activeElement === D) : !1;
11136
+ }, V = (D = 0) => {
11137
+ _(), me(() => {
11138
+ !e.focus || typeof window > "u" || L() || D >= 5 || (g = setTimeout(() => {
11139
+ g = null, V(D + 1);
11144
11140
  }, 30));
11145
11141
  });
11146
- }, f = () => {
11142
+ }, h = () => {
11147
11143
  v.isComposing = !0;
11148
11144
  }, d = () => {
11149
- v.isComposing = !1, me(() => C(v.val));
11150
- }, k = (N) => {
11151
- v.isComposing || C(N);
11152
- }, S = (N) => {
11153
- v.focused = !0, u("focus", N);
11154
- }, g = (N) => {
11155
- v.focused = !1, u("blur", N);
11156
- }, b = (N) => {
11157
- u("enter", v.val, N);
11158
- }, C = (N) => {
11159
- u("update:modelValue", N), u("input", N);
11160
- }, $ = p(() => !!(c.$attrs.maxlength || w.value)), w = p(() => c.$attrs.max), P = p(() => String(v.val ?? "").length > 0), j = p(() => !!n.placeholder), R = p(
11161
- () => e.materialLabel && (v.focused || P.value || j.value || l.prefix)
11162
- ), J = p(() => ({
11145
+ v.isComposing = !1, me(() => M(v.val));
11146
+ }, k = (D) => {
11147
+ v.isComposing || M(D);
11148
+ }, S = (D) => {
11149
+ v.focused = !0, u("focus", D);
11150
+ }, y = (D) => {
11151
+ v.focused = !1, u("blur", D);
11152
+ }, b = (D) => {
11153
+ u("enter", v.val, D);
11154
+ }, M = (D) => {
11155
+ u("update:modelValue", D), u("input", D);
11156
+ }, I = p(() => !!(c.$attrs.maxlength || w.value)), w = p(() => c.$attrs.max), P = p(() => n.placeholder ? n.placeholder.$l() : " "), B = p(() => String(v.val ?? "").length > 0), F = p(() => !!n.placeholder), J = p(
11157
+ () => e.materialLabel && (v.focused || B.value || F.value || l.prefix)
11158
+ ), x = p(() => ({
11163
11159
  [n.class]: !!n.class,
11164
11160
  hasLabel: !!e.label,
11165
11161
  isMaterialLabel: !!(e.label && e.materialLabel),
11166
11162
  isTopLabel: !!(e.label && !e.materialLabel),
11167
- isFloat: R.value,
11163
+ isFloat: J.value,
11168
11164
  isFocused: v.focused,
11169
- isDisabled: !!n.disabled
11170
- })), x = p(
11165
+ isDisabled: !!n.disabled,
11166
+ isNoBreak: e.nobreak
11167
+ })), W = p(
11171
11168
  () => e.materialLabel ? {
11172
11169
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
11173
11170
  } : void 0
11174
11171
  );
11175
11172
  return te(
11176
11173
  () => e.modelValue,
11177
- (N) => {
11178
- const W = String(N ?? "");
11179
- String(v.val) !== W && (v.val = W);
11174
+ (D) => {
11175
+ const f = String(D ?? "");
11176
+ String(v.val) !== f && (v.val = f);
11180
11177
  },
11181
11178
  { immediate: !0 }
11182
11179
  ), te(
11183
11180
  () => e.focus,
11184
- (N) => {
11185
- N ? V() : h();
11181
+ (D) => {
11182
+ D ? V() : _();
11186
11183
  },
11187
11184
  { flush: "post" }
11188
11185
  ), ve(() => {
11189
- h(), s && (s.removeEventListener("compositionstart", f), s.removeEventListener("compositionend", d), s = null);
11190
- }), (N, W) => {
11191
- const A = G("el-input");
11186
+ _(), s && (s.removeEventListener("compositionstart", h), s.removeEventListener("compositionend", d), s = null);
11187
+ }), (D, f) => {
11188
+ const C = G("el-input");
11192
11189
  return z(), O("div", {
11193
- class: H(["MvcField MvcFieldInput", t(J)]),
11194
- style: de(t(x))
11190
+ class: H(["MvcField MvcFieldInput", t(x)]),
11191
+ style: de(t(W))
11195
11192
  }, [
11196
- e.label ? (z(), O("label", ko, I(e.label), 1)) : K("", !0),
11197
- D(A, oe({
11193
+ e.label ? (z(), O("label", ko, N(e.label), 1)) : K("", !0),
11194
+ R(C, oe({
11198
11195
  ref_key: "inputRef",
11199
11196
  ref: r,
11200
11197
  modelValue: t(v).val,
11201
- "onUpdate:modelValue": W[0] || (W[0] = (M) => t(v).val = M),
11202
- "show-word-limit": t($),
11198
+ "onUpdate:modelValue": f[0] || (f[0] = (j) => t(v).val = j),
11199
+ "show-word-limit": t(I),
11203
11200
  maxlength: t(w),
11204
11201
  class: "MvcInput"
11205
- }, t(y), {
11202
+ }, t(A), {
11206
11203
  onInput: k,
11207
11204
  onKeydown: ma(b, ["enter"]),
11208
11205
  onFocus: S,
11209
- onBlur: g
11206
+ onBlur: y
11210
11207
  }), be({ _: 2 }, [
11211
- ce(t(l), (M, F) => ({
11212
- name: F,
11213
- fn: B((Q) => [
11214
- q(N.$slots, F, he(ze(Q || {})))
11208
+ ce(t(l), (j, X) => ({
11209
+ name: X,
11210
+ fn: $((i) => [
11211
+ q(D.$slots, X, he(ze(i || {})), void 0, !0)
11215
11212
  ])
11216
11213
  }))
11217
11214
  ]), 1040, ["modelValue", "show-word-limit", "maxlength"])
11218
11215
  ], 6);
11219
11216
  };
11220
11217
  }
11221
- }), Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11218
+ }), Oo = /* @__PURE__ */ ne(Eo, [["__scopeId", "data-v-20ebb61b"]]), Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11222
11219
  __proto__: null,
11223
- default: Eo
11224
- }, Symbol.toStringTag, { value: "Module" })), Po = {
11220
+ default: Oo
11221
+ }, Symbol.toStringTag, { value: "Module" })), xo = {
11225
11222
  key: 0,
11226
11223
  class: "MvcFieldLabel"
11227
- }, xo = /* @__PURE__ */ Object.assign({
11224
+ }, Lo = /* @__PURE__ */ Object.assign({
11228
11225
  name: "MvcInputNumber",
11229
11226
  inheritAttrs: !1
11230
11227
  }, {
@@ -11264,137 +11261,137 @@ const Bn = ca({
11264
11261
  ],
11265
11262
  setup(a, { emit: o }) {
11266
11263
  const e = a, l = Pe(), n = fe(), r = ae(null);
11267
- let s = null, _ = null;
11268
- const v = X({
11264
+ let s = null, g = null;
11265
+ const v = Q({
11269
11266
  val: void 0,
11270
11267
  focused: !1,
11271
11268
  controlsHovering: !1
11272
11269
  }), u = o;
11273
11270
  se(() => {
11274
- e.focus && h();
11271
+ e.focus && _();
11275
11272
  });
11276
11273
  const c = () => {
11277
- _ && (clearTimeout(_), _ = null);
11278
- }, y = () => {
11279
- var M, F;
11280
- const A = (M = r.value) == null ? void 0 : M.$el;
11281
- return s = ((F = A == null ? void 0 : A.querySelector) == null ? void 0 : F.call(A, "input")) || s, s;
11274
+ g && (clearTimeout(g), g = null);
11275
+ }, A = () => {
11276
+ var C, j;
11277
+ const f = (C = r.value) == null ? void 0 : C.$el;
11278
+ return s = ((j = f == null ? void 0 : f.querySelector) == null ? void 0 : j.call(f, "input")) || s, s;
11282
11279
  }, T = () => {
11283
- var M, F;
11284
- (F = (M = r.value) == null ? void 0 : M.focus) == null || F.call(M);
11285
- const A = y();
11286
- return A ? (A.focus(), document.activeElement === A) : !1;
11287
- }, h = (A = 0) => {
11280
+ var C, j;
11281
+ (j = (C = r.value) == null ? void 0 : C.focus) == null || j.call(C);
11282
+ const f = A();
11283
+ return f ? (f.focus(), document.activeElement === f) : !1;
11284
+ }, _ = (f = 0) => {
11288
11285
  c(), me(() => {
11289
- !e.focus || typeof window > "u" || T() || A >= 5 || (_ = setTimeout(() => {
11290
- _ = null, h(A + 1);
11286
+ !e.focus || typeof window > "u" || T() || f >= 5 || (g = setTimeout(() => {
11287
+ g = null, _(f + 1);
11291
11288
  }, 30));
11292
11289
  });
11293
- }, L = (A) => {
11294
- v.val = A, u("update:modelValue", A), u("input", A);
11295
- }, V = (A, M) => {
11296
- u("change", A, M);
11297
- }, f = (A) => {
11298
- v.focused = !0, u("focus", A);
11299
- }, d = (A) => {
11300
- v.focused = !1, u("blur", A);
11301
- }, k = (A) => {
11302
- var M;
11303
- return !!((M = A == null ? void 0 : A.closest) != null && M.call(A, ".el-input-number__increase, .el-input-number__decrease"));
11304
- }, S = (A) => {
11305
- v.controlsHovering = k(A.target);
11306
- }, g = () => {
11290
+ }, L = (f) => {
11291
+ v.val = f, u("update:modelValue", f), u("input", f);
11292
+ }, V = (f, C) => {
11293
+ u("change", f, C);
11294
+ }, h = (f) => {
11295
+ v.focused = !0, u("focus", f);
11296
+ }, d = (f) => {
11297
+ v.focused = !1, u("blur", f);
11298
+ }, k = (f) => {
11299
+ var C;
11300
+ return !!((C = f == null ? void 0 : f.closest) != null && C.call(f, ".el-input-number__increase, .el-input-number__decrease"));
11301
+ }, S = (f) => {
11302
+ v.controlsHovering = k(f.target);
11303
+ }, y = () => {
11307
11304
  v.controlsHovering = !1;
11308
11305
  }, b = p(() => {
11309
- const { modelValue: A, label: M, materialLabel: F, focus: Q, ...i } = e;
11306
+ const { modelValue: f, label: C, materialLabel: j, focus: X, ...i } = e;
11310
11307
  return i;
11311
- }), C = p(() => {
11312
- const { class: A, ...M } = n;
11313
- return M;
11314
- }), $ = p(() => ({
11315
- ...C.value,
11308
+ }), M = p(() => {
11309
+ const { class: f, ...C } = n;
11310
+ return C;
11311
+ }), I = p(() => ({
11312
+ ...M.value,
11316
11313
  ...b.value
11317
11314
  })), w = p(() => {
11318
- const A = v.val;
11319
- return A != null && String(A) !== "";
11320
- }), P = p(() => !!n.placeholder), j = p(
11315
+ const f = v.val;
11316
+ return f != null && String(f) !== "";
11317
+ }), P = p(() => !!n.placeholder), B = p(
11321
11318
  () => e.materialLabel && (v.focused || w.value || P.value || l.prefix)
11322
- ), R = p(
11319
+ ), F = p(
11323
11320
  () => e.controls && e.controlsPosition === "right"
11324
11321
  ), J = p(() => !e.controls), x = p(
11325
- () => e.controls && !R.value
11326
- ), N = p(() => ({
11322
+ () => e.controls && !F.value
11323
+ ), W = p(() => ({
11327
11324
  [n.class]: !!n.class,
11328
11325
  hasLabel: !!e.label,
11329
11326
  isMaterialLabel: !!(e.label && e.materialLabel),
11330
11327
  isTopLabel: !!(e.label && !e.materialLabel),
11331
- isFloat: j.value,
11328
+ isFloat: B.value,
11332
11329
  isControlsHovering: v.controlsHovering,
11333
11330
  isFocused: v.focused,
11334
11331
  isDisabled: !!n.disabled,
11335
11332
  isInputNumber: !0,
11336
11333
  isControlsDefault: x.value,
11337
- isControlsRight: R.value,
11334
+ isControlsRight: F.value,
11338
11335
  isWithoutControls: J.value
11339
- })), W = p(
11336
+ })), D = p(
11340
11337
  () => e.materialLabel ? {
11341
11338
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
11342
11339
  } : void 0
11343
11340
  );
11344
11341
  return te(
11345
11342
  () => e.modelValue,
11346
- (A) => {
11347
- Object.is(v.val, A) || (v.val = A);
11343
+ (f) => {
11344
+ Object.is(v.val, f) || (v.val = f);
11348
11345
  },
11349
11346
  { immediate: !0 }
11350
11347
  ), te(
11351
11348
  () => e.focus,
11352
- (A) => {
11353
- A ? h() : c();
11349
+ (f) => {
11350
+ f ? _() : c();
11354
11351
  },
11355
11352
  { flush: "post" }
11356
11353
  ), ve(() => {
11357
11354
  c(), s = null;
11358
- }), (A, M) => {
11359
- const F = G("el-input-number");
11355
+ }), (f, C) => {
11356
+ const j = G("el-input-number");
11360
11357
  return z(), O("div", {
11361
- class: H(["MvcField MvcFieldInputNumber", t(N)]),
11362
- style: de(t(W))
11358
+ class: H(["MvcField MvcFieldInputNumber", t(W)]),
11359
+ style: de(t(D))
11363
11360
  }, [
11364
- e.label ? (z(), O("label", Po, I(e.label), 1)) : K("", !0),
11365
- D(F, oe({
11361
+ e.label ? (z(), O("label", xo, N(e.label), 1)) : K("", !0),
11362
+ R(j, oe({
11366
11363
  ref_key: "inputNumberRef",
11367
11364
  ref: r,
11368
11365
  "model-value": t(v).val,
11369
11366
  class: "MvcInputNumber"
11370
- }, t($), {
11367
+ }, t(I), {
11371
11368
  "onUpdate:modelValue": L,
11372
11369
  onChange: V,
11373
- onFocus: f,
11370
+ onFocus: h,
11374
11371
  onBlur: d,
11375
11372
  onMousemove: S,
11376
- onMouseleave: g
11373
+ onMouseleave: y
11377
11374
  }), be({ _: 2 }, [
11378
- ce(t(l), (Q, i) => ({
11375
+ ce(t(l), (X, i) => ({
11379
11376
  name: i,
11380
- fn: B((E) => [
11381
- q(A.$slots, i, he(ze(E || {})))
11377
+ fn: $((E) => [
11378
+ q(f.$slots, i, he(ze(E || {})))
11382
11379
  ])
11383
11380
  }))
11384
11381
  ]), 1040, ["model-value"])
11385
11382
  ], 6);
11386
11383
  };
11387
11384
  }
11388
- }), Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11385
+ }), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11389
11386
  __proto__: null,
11390
- default: xo
11391
- }, Symbol.toStringTag, { value: "Module" })), No = {
11387
+ default: Lo
11388
+ }, Symbol.toStringTag, { value: "Module" })), Io = {
11392
11389
  key: 0,
11393
11390
  class: "langPrefix flexMode vc g4 noShrink"
11394
- }, Io = { class: "langTag fs12 txt-tip" }, $o = { class: "flexMode vc g8 vl" }, Bo = {
11391
+ }, $o = { class: "langTag fs12 txt-tip" }, Bo = { class: "flexMode vc g8 vl" }, jo = {
11395
11392
  key: 0,
11396
11393
  class: "langTag fs12 txt-tip noShrink"
11397
- }, jo = { class: "txt-p" }, Do = /* @__PURE__ */ Object.assign({
11394
+ }, Do = { class: "txt-p" }, Ro = /* @__PURE__ */ Object.assign({
11398
11395
  name: "MvcLang",
11399
11396
  inheritAttrs: !1
11400
11397
  }, {
@@ -11414,42 +11411,42 @@ const Bn = ca({
11414
11411
  const o = a, e = fe(), l = p(() => {
11415
11412
  const { class: u, ...c } = e;
11416
11413
  return c;
11417
- }), n = X({
11414
+ }), n = Q({
11418
11415
  lang: "en_us"
11419
11416
  });
11420
11417
  se(() => {
11421
11418
  s();
11422
11419
  });
11423
11420
  const r = (u) => {
11424
- var y;
11425
- const c = (typeof localStorage < "u" ? localStorage.getItem(He) : null) || ((y = globalThis.$config) == null ? void 0 : y.lang) || "en_us";
11421
+ var A;
11422
+ const c = (typeof localStorage < "u" ? localStorage.getItem(He) : null) || ((A = globalThis.$config) == null ? void 0 : A.lang) || "en_us";
11426
11423
  u == null || u === c || (typeof localStorage < "u" && localStorage.setItem(He, u), window.location.reload());
11427
11424
  }, s = () => {
11428
- var y;
11429
- const u = ((y = globalThis.$getLang) == null ? void 0 : y.call(globalThis)) || "en_us", c = _.value.map((T) => T.value);
11425
+ var A;
11426
+ const u = ((A = globalThis.$getLang) == null ? void 0 : A.call(globalThis)) || "en_us", c = g.value.map((T) => T.value);
11430
11427
  n.lang = c.includes(u) ? u : c[0] || "en_us";
11431
- }, _ = p(() => {
11428
+ }, g = p(() => {
11432
11429
  var c;
11433
- return ((c = globalThis.$config) != null && c.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse : nl.filter((y) => y.use !== !1)).filter((y) => y && y.use !== !1 && y.value);
11434
- }), v = p(() => _.value.find((u) => u.value === n.lang) ?? null);
11430
+ return ((c = globalThis.$config) != null && c.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse : nl.filter((A) => A.use !== !1)).filter((A) => A && A.use !== !1 && A.value);
11431
+ }), v = p(() => g.value.find((u) => u.value === n.lang) ?? null);
11435
11432
  return (u, c) => {
11436
- const y = G("el-option"), T = G("el-select");
11433
+ const A = G("el-option"), T = G("el-select");
11437
11434
  return z(), le(T, oe({
11438
11435
  modelValue: n.lang,
11439
- "onUpdate:modelValue": c[0] || (c[0] = (h) => n.lang = h),
11436
+ "onUpdate:modelValue": c[0] || (c[0] = (_) => n.lang = _),
11440
11437
  class: ["MvcLang w140", u.$attrs.class],
11441
11438
  teleported: o.teleported
11442
11439
  }, l.value, { onChange: r }), be({
11443
- default: B(() => [
11444
- (z(!0), O(re, null, ce(_.value, (h) => (z(), le(y, {
11445
- key: h.value,
11446
- label: h.label,
11447
- value: h.value
11440
+ default: $(() => [
11441
+ (z(!0), O(re, null, ce(g.value, (_) => (z(), le(A, {
11442
+ key: _.value,
11443
+ label: _.label,
11444
+ value: _.value
11448
11445
  }, {
11449
- default: B(() => [
11450
- m("div", $o, [
11451
- o.useIcon ? (z(), O("span", Bo, I(h.txt), 1)) : K("", !0),
11452
- m("span", jo, I(h.label), 1)
11446
+ default: $(() => [
11447
+ m("div", Bo, [
11448
+ o.useIcon ? (z(), O("span", jo, N(_.txt), 1)) : K("", !0),
11449
+ m("span", Do, N(_.label), 1)
11453
11450
  ])
11454
11451
  ]),
11455
11452
  _: 2
@@ -11459,9 +11456,9 @@ const Bn = ca({
11459
11456
  }, [
11460
11457
  o.useIcon ? {
11461
11458
  name: "prefix",
11462
- fn: B(() => [
11463
- v.value ? (z(), O("div", No, [
11464
- m("span", Io, I(v.value.txt), 1)
11459
+ fn: $(() => [
11460
+ v.value ? (z(), O("div", Io, [
11461
+ m("span", $o, N(v.value.txt), 1)
11465
11462
  ])) : K("", !0)
11466
11463
  ]),
11467
11464
  key: "0"
@@ -11469,10 +11466,10 @@ const Bn = ca({
11469
11466
  ]), 1040, ["modelValue", "class", "teleported"]);
11470
11467
  };
11471
11468
  }
11472
- }), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11469
+ }), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11473
11470
  __proto__: null,
11474
- default: Do
11475
- }, Symbol.toStringTag, { value: "Module" })), Fo = { class: "listViewport" }, Vo = ["aria-selected", "onClick"], Go = /* @__PURE__ */ Object.assign({
11471
+ default: Ro
11472
+ }, Symbol.toStringTag, { value: "Module" })), Vo = { class: "listViewport" }, Go = ["aria-selected", "onClick"], Ko = /* @__PURE__ */ Object.assign({
11476
11473
  name: "MvcList",
11477
11474
  inheritAttrs: !1
11478
11475
  }, {
@@ -11532,14 +11529,14 @@ const Bn = ca({
11532
11529
  const e = a, l = o, n = (c) => c.value === e.modelValue, r = (c) => {
11533
11530
  e.loading || e.disabled || c.disabled || (l("update:modelValue", c.value), l("change", c.value, c.raw));
11534
11531
  }, s = (c) => {
11535
- var h;
11536
- const y = c.value, T = ((h = globalThis.$getType) == null ? void 0 : h.call(globalThis, y)) ?? typeof y;
11537
- return T === "Object" || T === "Array" ? JSON.stringify(y) : String(y);
11538
- }, _ = p(() => {
11539
- const c = e.options, y = Array.isArray(c) ? c : [], T = e.valueKey, h = e.labelKey;
11540
- return y.filter((L) => L != null).map((L) => typeof L == "object" && !Array.isArray(L) ? {
11532
+ var _;
11533
+ const A = c.value, T = ((_ = globalThis.$getType) == null ? void 0 : _.call(globalThis, A)) ?? typeof A;
11534
+ return T === "Object" || T === "Array" ? JSON.stringify(A) : String(A);
11535
+ }, g = p(() => {
11536
+ const c = e.options, A = Array.isArray(c) ? c : [], T = e.valueKey, _ = e.labelKey;
11537
+ return A.filter((L) => L != null).map((L) => typeof L == "object" && !Array.isArray(L) ? {
11541
11538
  value: L[T],
11542
- label: L[h] ?? "",
11539
+ label: L[_] ?? "",
11543
11540
  disabled: !!L.disabled,
11544
11541
  raw: L
11545
11542
  } : {
@@ -11549,8 +11546,8 @@ const Bn = ca({
11549
11546
  raw: L
11550
11547
  });
11551
11548
  }), v = p(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : ""), u = p(() => {
11552
- var y, T;
11553
- const c = (T = (y = e.loadingTxt) == null ? void 0 : y.trim) == null ? void 0 : T.call(y);
11549
+ var A, T;
11550
+ const c = (T = (A = e.loadingTxt) == null ? void 0 : A.trim) == null ? void 0 : T.call(A);
11554
11551
  return {
11555
11552
  icon: e.loadingIcon,
11556
11553
  showTxt: !!c,
@@ -11558,39 +11555,39 @@ const Bn = ca({
11558
11555
  radius: 8
11559
11556
  };
11560
11557
  });
11561
- return (c, y) => {
11558
+ return (c, A) => {
11562
11559
  const T = G("Loading");
11563
11560
  return z(), O("div", oe({
11564
11561
  class: ["MvcList", [t(v), c.$attrs.class]]
11565
11562
  }, c.$attrs), [
11566
- m("div", Fo, [
11563
+ m("div", Vo, [
11567
11564
  m("div", {
11568
11565
  class: H(["listScroll yscroll", e.listClass]),
11569
11566
  role: "listbox"
11570
11567
  }, [
11571
- (z(!0), O(re, null, ce(t(_), (h) => (z(), O("div", {
11572
- key: s(h),
11573
- class: H(["listItem", [e.itemClass, { active: n(h), isDisabled: h.disabled }]]),
11568
+ (z(!0), O(re, null, ce(t(g), (_) => (z(), O("div", {
11569
+ key: s(_),
11570
+ class: H(["listItem", [e.itemClass, { active: n(_), isDisabled: _.disabled }]]),
11574
11571
  role: "option",
11575
- "aria-selected": n(h),
11576
- onClick: (L) => r(h)
11572
+ "aria-selected": n(_),
11573
+ onClick: (L) => r(_)
11577
11574
  }, [
11578
- q(c.$slots, "item", { option: h }, () => [
11579
- ie(I(c.$l(h.label)), 1)
11575
+ q(c.$slots, "item", { option: _ }, () => [
11576
+ ie(N(c.$l(_.label)), 1)
11580
11577
  ], !0)
11581
- ], 10, Vo))), 128))
11578
+ ], 10, Go))), 128))
11582
11579
  ], 2),
11583
- D(T, oe({
11580
+ R(T, oe({
11584
11581
  loading: e.loading
11585
11582
  }, t(u)), null, 16, ["loading"])
11586
11583
  ])
11587
11584
  ], 16);
11588
11585
  };
11589
11586
  }
11590
- }), Ko = /* @__PURE__ */ ne(Go, [["__scopeId", "data-v-cdd3bad5"]]), Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11587
+ }), Uo = /* @__PURE__ */ ne(Ko, [["__scopeId", "data-v-cdd3bad5"]]), Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11591
11588
  __proto__: null,
11592
- default: Ko
11593
- }, Symbol.toStringTag, { value: "Module" })), Ho = { class: "content flexMode flexV vc g12 relative z1" }, Jo = /* @__PURE__ */ Object.assign({
11589
+ default: Uo
11590
+ }, Symbol.toStringTag, { value: "Module" })), Jo = { class: "content flexMode flexV vc g12 relative z1" }, Zo = /* @__PURE__ */ Object.assign({
11594
11591
  name: "MvcLoading",
11595
11592
  inheritAttrs: !1
11596
11593
  }, {
@@ -11635,7 +11632,7 @@ const Bn = ca({
11635
11632
  setup(a) {
11636
11633
  const o = a;
11637
11634
  return (e, l) => (z(), le(da, { name: "loadingFade" }, {
11638
- default: B(() => [
11635
+ default: $(() => [
11639
11636
  o.loading ? (z(), O("div", {
11640
11637
  key: 0,
11641
11638
  class: "MvcLoading absFull hp100 flexMode flexV vc hc",
@@ -11647,7 +11644,7 @@ const Bn = ca({
11647
11644
  zIndex: o.z
11648
11645
  })
11649
11646
  }, [
11650
- m("div", Ho, [
11647
+ m("div", Jo, [
11651
11648
  m("i", {
11652
11649
  class: H([o.icon, `fs${o.size}`, "imicon ani-rotate"]),
11653
11650
  "aria-hidden": "true"
@@ -11655,23 +11652,23 @@ const Bn = ca({
11655
11652
  o.showTxt ? (z(), O("span", {
11656
11653
  key: 0,
11657
11654
  class: H(["loaderTxt fs14 txt-c", o.txtClass])
11658
- }, I(e.$l(o.txt)), 3)) : K("", !0)
11655
+ }, N(e.$l(o.txt)), 3)) : K("", !0)
11659
11656
  ])
11660
11657
  ], 4)) : K("", !0)
11661
11658
  ]),
11662
11659
  _: 1
11663
11660
  }));
11664
11661
  }
11665
- }), Zo = /* @__PURE__ */ ne(Jo, [["__scopeId", "data-v-305a4676"]]), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11662
+ }), Yo = /* @__PURE__ */ ne(Zo, [["__scopeId", "data-v-305a4676"]]), Wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11666
11663
  __proto__: null,
11667
- default: Zo
11668
- }, Symbol.toStringTag, { value: "Module" })), Wo = { class: "MvcLogin flexMode flexV hc vc wp100 vh100 p24-16" }, qo = { class: "panelWrap wp100 maxw400 p24 radius8 border noShrink" }, Xo = { class: "flexMode vc hb mb16" }, Qo = { class: "pl8 fs20 fw700 txt-h1" }, et = { class: "contentArea minh160" }, at = {
11664
+ default: Yo
11665
+ }, Symbol.toStringTag, { value: "Module" })), qo = { class: "MvcLogin flexMode flexV hc vc wp100 vh100 p24-16" }, Xo = { class: "panelWrap wp100 maxw400 p24 radius8 border noShrink" }, Qo = { class: "flexMode vc hb mb16" }, et = { class: "pl8 fs20 fw700 txt-h1" }, at = { class: "contentArea minh160" }, lt = {
11669
11666
  key: 1,
11670
11667
  class: "oauthAuthPanel flexMode flexV g8 wp100 vl"
11671
- }, lt = ["disabled"], nt = ["disabled"], ot = {
11668
+ }, nt = ["disabled"], ot = ["disabled"], tt = {
11672
11669
  key: 2,
11673
11670
  class: "scanArea flexMode flexV vc g12"
11674
- }, tt = { class: "scanTitle m0 block fs14 txt-h2" }, rt = { class: "footerLine flexMode flexWrap hc g8 mt24 fs12 txt-tip" }, ke = "mvframe_login_remember", st = /* @__PURE__ */ Object.assign({
11671
+ }, rt = { class: "scanTitle m0 block fs14 txt-h2" }, st = { class: "footerLine flexMode flexWrap hc g8 mt24 fs12 txt-tip" }, ke = "mvframe_login_remember", it = /* @__PURE__ */ Object.assign({
11675
11672
  name: "MvcLogin",
11676
11673
  inheritAttrs: !1
11677
11674
  }, {
@@ -11710,7 +11707,7 @@ const Bn = ca({
11710
11707
  },
11711
11708
  emits: ["success", "submit"],
11712
11709
  setup(a, { emit: o }) {
11713
- const e = a, { proxy: l } = pe(), n = ae(null), r = ae(!1), s = X({
11710
+ const e = a, { proxy: l } = pe(), n = ae(null), r = ae(!1), s = Q({
11714
11711
  method: "password",
11715
11712
  form: {},
11716
11713
  remember: !1
@@ -11719,15 +11716,15 @@ const Bn = ca({
11719
11716
  try {
11720
11717
  const b = localStorage.getItem(ke);
11721
11718
  if (b) {
11722
- const C = JSON.parse(b);
11723
- C && typeof C == "object" && C.remember && (s.remember = !0, C.username != null && (s.form.username = String(C.username)), C.password != null && (s.form.password = String(C.password)));
11719
+ const M = JSON.parse(b);
11720
+ M && typeof M == "object" && M.remember && (s.remember = !0, M.username != null && (s.form.username = String(M.username)), M.password != null && (s.form.password = String(M.password)));
11724
11721
  }
11725
11722
  } catch {
11726
11723
  }
11727
11724
  });
11728
- const _ = o, v = (b, C = "info") => {
11729
- const $ = l == null ? void 0 : l.$message;
11730
- $ != null && $[C] && $[C](b);
11725
+ const g = o, v = (b, M = "info") => {
11726
+ const I = l == null ? void 0 : l.$message;
11727
+ I != null && I[M] && I[M](b);
11731
11728
  }, u = () => {
11732
11729
  try {
11733
11730
  s.remember ? localStorage.setItem(
@@ -11742,61 +11739,61 @@ const Bn = ca({
11742
11739
  }
11743
11740
  }, c = () => {
11744
11741
  v("Google 登录需按官方物料与 OAuth 配置 token,当前未发起跳转。");
11745
- }, y = () => {
11742
+ }, A = () => {
11746
11743
  v("Sign in with Apple 需按 Apple 人机界面指南配置服务,当前未发起跳转。");
11747
11744
  }, T = async () => {
11748
11745
  var w, P;
11749
11746
  if (e.loading || r.value) return;
11750
11747
  const b = await ((P = (w = n.value) == null ? void 0 : w.validate) == null ? void 0 : P.call(w));
11751
11748
  if (!b) return;
11752
- const C = String(b.username ?? "").trim();
11753
- if (!C)
11749
+ const M = String(b.username ?? "").trim();
11750
+ if (!M)
11754
11751
  return;
11755
- const $ = String(b.password ?? "").trim();
11756
- if ($) {
11752
+ const I = String(b.password ?? "").trim();
11753
+ if (I) {
11757
11754
  r.value = !0;
11758
11755
  try {
11759
- const j = await globalThis.$pm(async () => ({
11756
+ const B = await globalThis.$pm(async () => ({
11760
11757
  method: "password",
11761
- username: C,
11762
- password: $
11758
+ username: M,
11759
+ password: I
11763
11760
  }));
11764
- u(), _("submit", {
11761
+ u(), g("submit", {
11765
11762
  method: "password",
11766
- [f.value.username.valueKey]: j.username,
11767
- [f.value.password.valueKey]: j.password
11763
+ [h.value.username.valueKey]: B.username,
11764
+ [h.value.password.valueKey]: B.password
11768
11765
  }), localStorage.removeItem("ctab"), localStorage.removeItem("tabs");
11769
11766
  } finally {
11770
11767
  r.value = !1;
11771
11768
  }
11772
11769
  }
11773
- }, h = p(() => !!e.loading || r.value), L = p(() => {
11770
+ }, _ = p(() => !!e.loading || r.value), L = p(() => {
11774
11771
  const b = globalThis.$config;
11775
11772
  return {
11776
11773
  copyright: (b == null ? void 0 : b.copyright) ?? "",
11777
11774
  author: (b == null ? void 0 : b.author) ?? ""
11778
11775
  };
11779
- }), V = p(() => S[s.method] ?? "Login"), f = p(() => ({
11776
+ }), V = p(() => S[s.method] ?? "Login"), h = p(() => ({
11780
11777
  username: {
11781
- ...g.username,
11778
+ ...y.username,
11782
11779
  ...e.formFileds.username || {}
11783
11780
  },
11784
11781
  password: {
11785
- ...g.password,
11782
+ ...y.password,
11786
11783
  ...e.formFileds.password || {}
11787
11784
  }
11788
11785
  })), d = p(() => ({
11789
11786
  username: [
11790
11787
  {
11791
11788
  required: !0,
11792
- message: f.value.username.message,
11789
+ message: h.value.username.message,
11793
11790
  trigger: "blur"
11794
11791
  }
11795
11792
  ],
11796
11793
  password: [
11797
11794
  {
11798
11795
  required: !0,
11799
- message: f.value.password.message,
11796
+ message: h.value.password.message,
11800
11797
  trigger: "blur"
11801
11798
  }
11802
11799
  ]
@@ -11806,11 +11803,11 @@ const Bn = ca({
11806
11803
  { value: "dingtalk", label: "DingTalk" },
11807
11804
  { value: "feishu", label: "Lark" },
11808
11805
  { value: "wechat", label: "Wechat" }
11809
- ].filter((b, C) => e.loginMethods.includes(C))), S = {
11806
+ ].filter((b, M) => e.loginMethods.includes(M))), S = {
11810
11807
  dingtalk: "DingTalk",
11811
11808
  feishu: "Lark",
11812
11809
  wechat: "Wechat"
11813
- }, g = {
11810
+ }, y = {
11814
11811
  username: {
11815
11812
  label: "Account",
11816
11813
  placeholder: "Enter your account",
@@ -11828,48 +11825,48 @@ const Bn = ca({
11828
11825
  valueKey: "password"
11829
11826
  }
11830
11827
  };
11831
- return (b, C) => {
11832
- const $ = G("BtnGroup"), w = G("Input"), P = G("el-form-item"), j = G("el-checkbox"), R = G("el-button"), J = G("Form");
11833
- return z(), O("div", Wo, [
11834
- m("div", qo, [
11835
- m("div", Xo, [
11836
- m("span", Qo, I(b.$l(e.title)), 1)
11828
+ return (b, M) => {
11829
+ const I = G("BtnGroup"), w = G("Input"), P = G("el-form-item"), B = G("el-checkbox"), F = G("el-button"), J = G("Form");
11830
+ return z(), O("div", qo, [
11831
+ m("div", Xo, [
11832
+ m("div", Qo, [
11833
+ m("span", et, N(b.$l(e.title)), 1)
11837
11834
  ]),
11838
- D($, {
11835
+ R(I, {
11839
11836
  modelValue: t(s).method,
11840
- "onUpdate:modelValue": C[0] || (C[0] = (x) => t(s).method = x),
11837
+ "onUpdate:modelValue": M[0] || (M[0] = (x) => t(s).method = x),
11841
11838
  options: t(k),
11842
- disabled: t(h),
11839
+ disabled: t(_),
11843
11840
  size: "small",
11844
11841
  class: "mb32"
11845
11842
  }, null, 8, ["modelValue", "options", "disabled"]),
11846
- m("div", et, [
11843
+ m("div", at, [
11847
11844
  t(s).method === "password" ? (z(), le(J, {
11848
11845
  key: 0,
11849
11846
  ref_key: "pwdFormRef",
11850
11847
  ref: n,
11851
11848
  modelValue: t(s).form,
11852
- "onUpdate:modelValue": C[4] || (C[4] = (x) => t(s).form = x),
11849
+ "onUpdate:modelValue": M[4] || (M[4] = (x) => t(s).form = x),
11853
11850
  size: "default",
11854
11851
  rules: t(d)
11855
11852
  }, {
11856
- default: B(() => [
11857
- D(P, { prop: "username" }, {
11858
- default: B(() => [
11859
- D(w, {
11853
+ default: $(() => [
11854
+ R(P, { prop: "username" }, {
11855
+ default: $(() => [
11856
+ R(w, {
11860
11857
  modelValue: t(s).form.username,
11861
- "onUpdate:modelValue": C[1] || (C[1] = (x) => t(s).form.username = x),
11858
+ "onUpdate:modelValue": M[1] || (M[1] = (x) => t(s).form.username = x),
11862
11859
  class: "wp100",
11863
11860
  size: "large",
11864
11861
  name: "username",
11865
- placeholder: t(f).username.placeholder,
11866
- disabled: t(h)
11862
+ placeholder: t(h).username.placeholder,
11863
+ disabled: t(_)
11867
11864
  }, be({ _: 2 }, [
11868
- t(f).username.showPrefix ? {
11865
+ t(h).username.showPrefix ? {
11869
11866
  name: "prefix",
11870
- fn: B(() => [
11867
+ fn: $(() => [
11871
11868
  m("i", {
11872
- class: H(t(f).username.icon)
11869
+ class: H(t(h).username.icon)
11873
11870
  }, null, 2)
11874
11871
  ]),
11875
11872
  key: "0"
@@ -11878,25 +11875,25 @@ const Bn = ca({
11878
11875
  ]),
11879
11876
  _: 1
11880
11877
  }),
11881
- D(P, { prop: "password" }, {
11882
- default: B(() => [
11883
- D(w, {
11878
+ R(P, { prop: "password" }, {
11879
+ default: $(() => [
11880
+ R(w, {
11884
11881
  modelValue: t(s).form.password,
11885
- "onUpdate:modelValue": C[2] || (C[2] = (x) => t(s).form.password = x),
11882
+ "onUpdate:modelValue": M[2] || (M[2] = (x) => t(s).form.password = x),
11886
11883
  class: "wp100",
11887
11884
  size: "large",
11888
11885
  type: "password",
11889
11886
  name: "password",
11890
- placeholder: t(f).password.placeholder,
11887
+ placeholder: t(h).password.placeholder,
11891
11888
  "show-password": "",
11892
- disabled: t(h),
11889
+ disabled: t(_),
11893
11890
  onKeyup: ma(T, ["enter"])
11894
11891
  }, be({ _: 2 }, [
11895
- t(f).password.showPrefix ? {
11892
+ t(h).password.showPrefix ? {
11896
11893
  name: "prefix",
11897
- fn: B(() => [
11894
+ fn: $(() => [
11898
11895
  m("i", {
11899
- class: H(t(f).password.icon)
11896
+ class: H(t(h).password.icon)
11900
11897
  }, null, 2)
11901
11898
  ]),
11902
11899
  key: "0"
@@ -11905,52 +11902,52 @@ const Bn = ca({
11905
11902
  ]),
11906
11903
  _: 1
11907
11904
  }),
11908
- D(P, null, {
11909
- default: B(() => [
11910
- D(j, {
11905
+ R(P, null, {
11906
+ default: $(() => [
11907
+ R(B, {
11911
11908
  modelValue: t(s).remember,
11912
- "onUpdate:modelValue": C[3] || (C[3] = (x) => t(s).remember = x),
11913
- disabled: t(h)
11909
+ "onUpdate:modelValue": M[3] || (M[3] = (x) => t(s).remember = x),
11910
+ disabled: t(_)
11914
11911
  }, {
11915
- default: B(() => [
11916
- ie(I(b.$l(e.rememberTxt)), 1)
11912
+ default: $(() => [
11913
+ ie(N(b.$l(e.rememberTxt)), 1)
11917
11914
  ]),
11918
11915
  _: 1
11919
11916
  }, 8, ["modelValue", "disabled"])
11920
11917
  ]),
11921
11918
  _: 1
11922
11919
  }),
11923
- D(R, {
11920
+ R(F, {
11924
11921
  type: "primary",
11925
11922
  size: "large",
11926
11923
  class: "wp100",
11927
- loading: t(h),
11928
- disabled: t(h),
11924
+ loading: t(_),
11925
+ disabled: t(_),
11929
11926
  onClick: T
11930
11927
  }, {
11931
- default: B(() => [
11932
- ie(I(b.$l(e.submitTxt)), 1)
11928
+ default: $(() => [
11929
+ ie(N(b.$l(e.submitTxt)), 1)
11933
11930
  ]),
11934
11931
  _: 1
11935
11932
  }, 8, ["loading", "disabled"])
11936
11933
  ]),
11937
11934
  _: 1
11938
- }, 8, ["modelValue", "rules"])) : t(s).method === "auth" ? (z(), O("div", at, [
11939
- C[7] || (C[7] = m("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
11935
+ }, 8, ["modelValue", "rules"])) : t(s).method === "auth" ? (z(), O("div", lt, [
11936
+ M[7] || (M[7] = m("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
11940
11937
  m("button", {
11941
11938
  type: "button",
11942
11939
  class: "oauthGoogle wp100 mb36",
11943
- disabled: t(h),
11940
+ disabled: t(_),
11944
11941
  onClick: c
11945
- }, [...C[5] || (C[5] = [
11942
+ }, [...M[5] || (M[5] = [
11946
11943
  Fa('<svg class="oauthGoogleLogo noShrink" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="18" height="18" aria-hidden="true" data-v-6faa6992><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z" data-v-6faa6992></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z" data-v-6faa6992></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z" data-v-6faa6992></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z" data-v-6faa6992></path></svg><span class="oauthGoogleLabel" data-v-6faa6992>Sign in with Google</span>', 2)
11947
- ])], 8, lt),
11944
+ ])], 8, nt),
11948
11945
  m("button", {
11949
11946
  type: "button",
11950
11947
  class: "oauthApple wp100 mb16",
11951
- disabled: t(h),
11952
- onClick: y
11953
- }, [...C[6] || (C[6] = [
11948
+ disabled: t(_),
11949
+ onClick: A
11950
+ }, [...M[6] || (M[6] = [
11954
11951
  m("svg", {
11955
11952
  class: "oauthAppleLogo noShrink",
11956
11953
  xmlns: "http://www.w3.org/2000/svg",
@@ -11965,9 +11962,9 @@ const Bn = ca({
11965
11962
  })
11966
11963
  ], -1),
11967
11964
  m("span", { class: "oauthAppleLabel fs14" }, "Sign in with Apple", -1)
11968
- ])], 8, nt)
11969
- ])) : (z(), O("div", ot, [
11970
- m("p", tt, I(t(V)), 1),
11965
+ ])], 8, ot)
11966
+ ])) : (z(), O("div", tt, [
11967
+ m("p", rt, N(t(V)), 1),
11971
11968
  m("div", {
11972
11969
  class: H(["qrBlock w180 h180 radius6", `qr-${t(s).method}`]),
11973
11970
  "aria-hidden": "true"
@@ -11975,20 +11972,20 @@ const Bn = ca({
11975
11972
  ]))
11976
11973
  ])
11977
11974
  ]),
11978
- m("div", rt, [
11979
- m("span", null, I(t(L).copyright), 1),
11980
- m("span", null, I(t(L).author), 1)
11975
+ m("div", st, [
11976
+ m("span", null, N(t(L).copyright), 1),
11977
+ m("span", null, N(t(L).author), 1)
11981
11978
  ])
11982
11979
  ]);
11983
11980
  };
11984
11981
  }
11985
- }), it = /* @__PURE__ */ ne(st, [["__scopeId", "data-v-6faa6992"]]), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11982
+ }), ct = /* @__PURE__ */ ne(it, [["__scopeId", "data-v-6faa6992"]]), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11986
11983
  __proto__: null,
11987
- default: it
11988
- }, Symbol.toStringTag, { value: "Module" })), ut = {
11984
+ default: ct
11985
+ }, Symbol.toStringTag, { value: "Module" })), dt = {
11989
11986
  key: 0,
11990
11987
  class: "MvcFieldLabel"
11991
- }, dt = /* @__PURE__ */ Object.assign({
11988
+ }, mt = /* @__PURE__ */ Object.assign({
11992
11989
  name: "MvcMention",
11993
11990
  inheritAttrs: !1
11994
11991
  }, {
@@ -12079,69 +12076,69 @@ const Bn = ca({
12079
12076
  setup(a, { emit: o }) {
12080
12077
  const e = a, l = Pe(), n = fe(), r = ae(null);
12081
12078
  let s = null;
12082
- const _ = X({
12079
+ const g = Q({
12083
12080
  val: "",
12084
12081
  focused: !1
12085
12082
  }), v = o;
12086
12083
  se(() => {
12087
- e.focus && h();
12084
+ e.focus && _();
12088
12085
  });
12089
12086
  const u = () => {
12090
12087
  s && (clearTimeout(s), s = null);
12091
12088
  }, c = () => {
12092
- var N;
12093
- const x = (N = r.value) == null ? void 0 : N.input;
12089
+ var W;
12090
+ const x = (W = r.value) == null ? void 0 : W.input;
12094
12091
  return (x == null ? void 0 : x.value) || x;
12095
- }, y = () => {
12092
+ }, A = () => {
12096
12093
  const x = c();
12097
12094
  return (x == null ? void 0 : x.input) || (x == null ? void 0 : x.textarea) || null;
12098
12095
  }, T = () => {
12099
- var W;
12096
+ var D;
12100
12097
  const x = c();
12101
- (W = x == null ? void 0 : x.focus) == null || W.call(x);
12102
- const N = y();
12103
- return N ? (N.focus(), document.activeElement === N) : !1;
12104
- }, h = (x = 0) => {
12098
+ (D = x == null ? void 0 : x.focus) == null || D.call(x);
12099
+ const W = A();
12100
+ return W ? (W.focus(), document.activeElement === W) : !1;
12101
+ }, _ = (x = 0) => {
12105
12102
  u(), me(() => {
12106
12103
  !e.focus || typeof window > "u" || T() || x >= 5 || (s = setTimeout(() => {
12107
- s = null, h(x + 1);
12104
+ s = null, _(x + 1);
12108
12105
  }, 30));
12109
12106
  });
12110
12107
  }, L = (x) => {
12111
- _.val = x, v("update:modelValue", x);
12108
+ g.val = x, v("update:modelValue", x);
12112
12109
  }, V = (x) => {
12113
12110
  v("input", x);
12114
- }, f = (x, N) => {
12115
- v("search", x, N);
12116
- }, d = (x, N) => {
12117
- v("select", x, N);
12118
- }, k = (x, N) => {
12119
- v("whole-remove", x, N);
12111
+ }, h = (x, W) => {
12112
+ v("search", x, W);
12113
+ }, d = (x, W) => {
12114
+ v("select", x, W);
12115
+ }, k = (x, W) => {
12116
+ v("whole-remove", x, W);
12120
12117
  }, S = (x) => {
12121
- _.focused = !0, v("focus", x);
12122
- }, g = (x) => {
12123
- _.focused = !1, v("blur", x);
12118
+ g.focused = !0, v("focus", x);
12119
+ }, y = (x) => {
12120
+ g.focused = !1, v("blur", x);
12124
12121
  }, b = p(() => {
12125
- const { modelValue: x, label: N, materialLabel: W, focus: A, ...M } = e;
12126
- return M;
12127
- }), C = p(() => {
12128
- const { class: x, ...N } = n;
12129
- return N;
12130
- }), $ = p(() => ({
12131
- ...C.value,
12122
+ const { modelValue: x, label: W, materialLabel: D, focus: f, ...C } = e;
12123
+ return C;
12124
+ }), M = p(() => {
12125
+ const { class: x, ...W } = n;
12126
+ return W;
12127
+ }), I = p(() => ({
12128
+ ...M.value,
12132
12129
  ...b.value
12133
- })), w = p(() => String(_.val ?? "").length > 0), P = p(() => !!n.placeholder), j = p(
12134
- () => e.materialLabel && (_.focused || w.value || P.value || l.prefix)
12135
- ), R = p(() => ({
12130
+ })), w = p(() => String(g.val ?? "").length > 0), P = p(() => !!n.placeholder), B = p(
12131
+ () => e.materialLabel && (g.focused || w.value || P.value || l.prefix)
12132
+ ), F = p(() => ({
12136
12133
  [n.class]: !!n.class,
12137
12134
  hasLabel: !!e.label,
12138
12135
  isMaterialLabel: !!(e.label && e.materialLabel),
12139
12136
  isTopLabel: !!(e.label && !e.materialLabel),
12140
- isFloat: j.value,
12141
- isFocused: _.focused,
12137
+ isFloat: B.value,
12138
+ isFocused: g.focused,
12142
12139
  isDisabled: !!n.disabled,
12143
12140
  isMention: !0,
12144
- isTextarea: $.value.type === "textarea"
12141
+ isTextarea: I.value.type === "textarea"
12145
12142
  })), J = p(
12146
12143
  () => e.materialLabel ? {
12147
12144
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
@@ -12150,53 +12147,53 @@ const Bn = ca({
12150
12147
  return te(
12151
12148
  () => e.modelValue,
12152
12149
  (x) => {
12153
- const N = String(x ?? "");
12154
- String(_.val) !== N && (_.val = N);
12150
+ const W = String(x ?? "");
12151
+ String(g.val) !== W && (g.val = W);
12155
12152
  },
12156
12153
  { immediate: !0 }
12157
12154
  ), te(
12158
12155
  () => e.focus,
12159
12156
  (x) => {
12160
- x ? h() : u();
12157
+ x ? _() : u();
12161
12158
  },
12162
12159
  { flush: "post" }
12163
12160
  ), ve(() => {
12164
12161
  u();
12165
- }), (x, N) => {
12166
- const W = G("el-mention");
12162
+ }), (x, W) => {
12163
+ const D = G("el-mention");
12167
12164
  return z(), O("div", {
12168
- class: H(["MvcField MvcFieldMention", t(R)]),
12165
+ class: H(["MvcField MvcFieldMention", t(F)]),
12169
12166
  style: de(t(J))
12170
12167
  }, [
12171
- e.label ? (z(), O("label", ut, I(e.label), 1)) : K("", !0),
12172
- D(W, oe({
12168
+ e.label ? (z(), O("label", dt, N(e.label), 1)) : K("", !0),
12169
+ R(D, oe({
12173
12170
  ref_key: "mentionRef",
12174
12171
  ref: r,
12175
- "model-value": t(_).val,
12172
+ "model-value": t(g).val,
12176
12173
  class: "MvcMention"
12177
- }, t($), {
12174
+ }, t(I), {
12178
12175
  "onUpdate:modelValue": L,
12179
12176
  onInput: V,
12180
- onSearch: f,
12177
+ onSearch: h,
12181
12178
  onSelect: d,
12182
12179
  onWholeRemove: k,
12183
12180
  onFocus: S,
12184
- onBlur: g
12181
+ onBlur: y
12185
12182
  }), be({ _: 2 }, [
12186
- ce(t(l), (A, M) => ({
12187
- name: M,
12188
- fn: B((F) => [
12189
- q(x.$slots, M, he(ze(F || {})), void 0, !0)
12183
+ ce(t(l), (f, C) => ({
12184
+ name: C,
12185
+ fn: $((j) => [
12186
+ q(x.$slots, C, he(ze(j || {})), void 0, !0)
12190
12187
  ])
12191
12188
  }))
12192
12189
  ]), 1040, ["model-value"])
12193
12190
  ], 6);
12194
12191
  };
12195
12192
  }
12196
- }), mt = /* @__PURE__ */ ne(dt, [["__scopeId", "data-v-a20420a4"]]), bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12193
+ }), bt = /* @__PURE__ */ ne(mt, [["__scopeId", "data-v-a20420a4"]]), vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12197
12194
  __proto__: null,
12198
- default: mt
12199
- }, Symbol.toStringTag, { value: "Module" })), vt = /* @__PURE__ */ Object.assign({
12195
+ default: bt
12196
+ }, Symbol.toStringTag, { value: "Module" })), pt = /* @__PURE__ */ Object.assign({
12200
12197
  name: "MvcNote",
12201
12198
  inheritAttrs: !0
12202
12199
  }, {
@@ -12219,7 +12216,7 @@ const Bn = ca({
12219
12216
  },
12220
12217
  setup(a) {
12221
12218
  const o = a;
12222
- X({});
12219
+ Q({});
12223
12220
  const e = p(() => ({
12224
12221
  borderInlineStart: `${(Number(o.size) || 4) / 16}rem ${o.type} var(--color-${o.color})`
12225
12222
  }));
@@ -12230,13 +12227,13 @@ const Bn = ca({
12230
12227
  q(l.$slots, "default", {}, void 0, !0)
12231
12228
  ], 4));
12232
12229
  }
12233
- }), pt = /* @__PURE__ */ ne(vt, [["__scopeId", "data-v-e3e84cc8"]]), ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12230
+ }), ft = /* @__PURE__ */ ne(pt, [["__scopeId", "data-v-e3e84cc8"]]), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12234
12231
  __proto__: null,
12235
- default: pt
12236
- }, Symbol.toStringTag, { value: "Module" })), ht = {
12232
+ default: ft
12233
+ }, Symbol.toStringTag, { value: "Module" })), _t = {
12237
12234
  key: 0,
12238
12235
  class: "PageHeader"
12239
- }, _t = { class: "PageHeaderLeft" }, gt = { class: "PageHeaderTitle" }, yt = { class: "PageHeaderSubTitle" }, At = { class: "PageHeaderRight" }, zt = /* @__PURE__ */ Object.assign({
12236
+ }, gt = { class: "PageHeaderLeft" }, yt = { class: "PageHeaderTitle" }, At = { class: "PageHeaderSubTitle" }, zt = { class: "PageHeaderRight" }, wt = /* @__PURE__ */ Object.assign({
12240
12237
  name: "MvcPage",
12241
12238
  inheritAttrs: !1
12242
12239
  }, {
@@ -12260,7 +12257,7 @@ const Bn = ca({
12260
12257
  }
12261
12258
  },
12262
12259
  setup(a) {
12263
- const o = a, { proxy: e } = pe(), n = Ae("store").tab(), r = p(() => o.title || o.subtitle), s = p(() => n.useTab), _ = p(() => {
12260
+ const o = a, { proxy: e } = pe(), n = Ae("store").tab(), r = p(() => o.title || o.subtitle), s = p(() => n.useTab), g = p(() => {
12264
12261
  let v = "calc(100vh";
12265
12262
  return n.useTab && (v += " - 2.25rem"), o.noheader || (v += " - 4rem"), {
12266
12263
  minHeight: `${v})`
@@ -12269,35 +12266,35 @@ const Bn = ca({
12269
12266
  return (v, u) => (z(), O("div", {
12270
12267
  class: H(["MvcPage", t(s) && "hasTab"])
12271
12268
  }, [
12272
- o.noheader ? K("", !0) : (z(), O("div", ht, [
12273
- m("div", _t, [
12269
+ o.noheader ? K("", !0) : (z(), O("div", _t, [
12270
+ m("div", gt, [
12274
12271
  v.$slots.header ? q(v.$slots, "header", { key: 0 }, void 0, !0) : t(r) ? (z(), O(re, { key: 1 }, [
12275
- m("h3", gt, I(o.title), 1),
12276
- m("p", yt, I(o.subtitle), 1)
12272
+ m("h3", yt, N(o.title), 1),
12273
+ m("p", At, N(o.subtitle), 1)
12277
12274
  ], 64)) : K("", !0)
12278
12275
  ]),
12279
- m("div", At, [
12276
+ m("div", zt, [
12280
12277
  v.$slots.right ? q(v.$slots, "right", { key: 0 }, void 0, !0) : K("", !0)
12281
12278
  ])
12282
12279
  ])),
12283
12280
  m("div", {
12284
12281
  class: H(["PageBody", o.bodyClass]),
12285
- style: de(t(_))
12282
+ style: de(t(g))
12286
12283
  }, [
12287
12284
  q(v.$slots, "default", {}, void 0, !0)
12288
12285
  ], 6)
12289
12286
  ], 2));
12290
12287
  }
12291
- }), wt = /* @__PURE__ */ ne(zt, [["__scopeId", "data-v-060130ad"]]), St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12288
+ }), St = /* @__PURE__ */ ne(wt, [["__scopeId", "data-v-060130ad"]]), Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12292
12289
  __proto__: null,
12293
- default: wt
12294
- }, Symbol.toStringTag, { value: "Module" })), Tt = {
12290
+ default: St
12291
+ }, Symbol.toStringTag, { value: "Module" })), Ct = {
12295
12292
  key: 0,
12296
12293
  class: "MvcFieldLabel"
12297
- }, Ct = { class: "flexMode hb vc" }, Mt = { class: "flexMode g4 vc" }, kt = { class: "tag" }, Et = {
12294
+ }, Mt = { class: "flexMode hb vc" }, kt = { class: "flexMode g4 vc" }, Et = { class: "tag" }, Ot = {
12298
12295
  key: 0,
12299
12296
  class: "tag"
12300
- }, Ot = { class: "flexMode hr" }, Pt = /* @__PURE__ */ Object.assign({
12297
+ }, Pt = { class: "flexMode hr" }, xt = /* @__PURE__ */ Object.assign({
12301
12298
  name: "MvcSelect",
12302
12299
  inheritAttrs: !1
12303
12300
  }, {
@@ -12350,30 +12347,30 @@ const Bn = ca({
12350
12347
  },
12351
12348
  emits: ["update:modelValue", "change", "focus", "blur"],
12352
12349
  setup(a, { emit: o }) {
12353
- const e = a, l = ae(null), n = ae([]), r = ae(!1), s = ae(!1), _ = ae(!1), v = ae(!1), u = fe(), c = o, y = (i) => {
12350
+ const e = a, l = ae(null), n = ae([]), r = ae(!1), s = ae(!1), g = ae(!1), v = ae(!1), u = fe(), c = o, A = (i) => {
12354
12351
  e.multiple ? (n.value = Array.isArray(i) ? [...i] : [], b()) : (c("update:modelValue", i), c("change", i));
12355
12352
  }, T = (i) => {
12356
12353
  if (r.value = i, i && e.multiple) {
12357
12354
  const E = e.modelValue;
12358
12355
  n.value = Array.isArray(E) ? [...E] : E ? [E] : [], b();
12359
12356
  }
12360
- }, h = (i) => {
12357
+ }, _ = (i) => {
12361
12358
  v.value = !0, c("focus", i);
12362
12359
  }, L = (i) => {
12363
12360
  v.value = !1, c("blur", i);
12364
12361
  }, V = () => {
12365
12362
  var Y;
12366
- if (!e.filterable || !r.value) return g();
12363
+ if (!e.filterable || !r.value) return y();
12367
12364
  const i = l.value, E = ((Y = i == null ? void 0 : i.optionsArray) == null ? void 0 : Y.value) ?? (i == null ? void 0 : i.optionsArray) ?? [];
12368
12365
  return Array.isArray(E) ? E.filter((Z) => {
12369
12366
  var U;
12370
12367
  return Z.visible && !Z.disabled && !((U = Z.states) != null && U.groupDisabled);
12371
- }).map((Z) => Z.value) : g();
12372
- }, f = () => {
12368
+ }).map((Z) => Z.value) : y();
12369
+ }, h = () => {
12373
12370
  const i = u.multipleLimit ?? u["multiple-limit"], E = Number(i);
12374
12371
  return Number.isFinite(E) && E > 0 ? E : 0;
12375
12372
  }, d = () => {
12376
- const i = V(), E = new Set(n.value ?? []), Y = i.filter((ee) => E.has(ee)), Z = f(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12373
+ const i = V(), E = new Set(n.value ?? []), Y = i.filter((ee) => E.has(ee)), Z = h(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12377
12374
  return {
12378
12375
  selected: Math.min(Y.length, U),
12379
12376
  total: U
@@ -12381,7 +12378,7 @@ const Bn = ca({
12381
12378
  }, k = (i) => {
12382
12379
  const E = V();
12383
12380
  if (i) {
12384
- const Y = f(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), ee = [...Z];
12381
+ const Y = h(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), ee = [...Z];
12385
12382
  for (const ue of E)
12386
12383
  if (!U.has(ue)) {
12387
12384
  if (Y > 0 && ee.length >= Y) break;
@@ -12396,13 +12393,13 @@ const Bn = ca({
12396
12393
  }, S = () => {
12397
12394
  var i, E;
12398
12395
  e.multiple && (c("update:modelValue", n.value), c("change", n.value), (E = (i = l.value) == null ? void 0 : i.blur) == null || E.call(i));
12399
- }, g = () => {
12396
+ }, y = () => {
12400
12397
  const i = e.valueKey;
12401
12398
  return (e.options || []).map((E) => typeof E == "object" ? E[i] : E);
12402
12399
  }, b = () => {
12403
12400
  const i = d();
12404
- s.value = i.total > 0 && i.selected === i.total, _.value = i.selected > 0 && i.selected < i.total;
12405
- }, C = p(() => e.multiple && r.value ? n.value : e.modelValue), $ = p(() => {
12401
+ s.value = i.total > 0 && i.selected === i.total, g.value = i.selected > 0 && i.selected < i.total;
12402
+ }, M = p(() => e.multiple && r.value ? n.value : e.modelValue), I = p(() => {
12406
12403
  const {
12407
12404
  modelValue: i,
12408
12405
  valueKey: E,
@@ -12430,29 +12427,29 @@ const Bn = ca({
12430
12427
  ), P = p(() => {
12431
12428
  const { class: i, ...E } = u;
12432
12429
  return E;
12433
- }), j = p(() => ({
12430
+ }), B = p(() => ({
12434
12431
  ...w.value,
12435
12432
  ...P.value,
12436
- ...$.value,
12433
+ ...I.value,
12437
12434
  placeholder: u.placeholder ?? ""
12438
- })), R = p(() => {
12435
+ })), F = p(() => {
12439
12436
  const i = e.multiple && r.value ? n.value : e.modelValue, E = Array.isArray(i) ? i : i ? [i] : [];
12440
12437
  return !e.filterable || !r.value ? Math.min(E.length, J.value) : d().selected;
12441
- }), J = p(() => d().total), x = p(() => e.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && x.value), W = p(() => {
12438
+ }), J = p(() => d().total), x = p(() => e.options.length), W = p(() => (u.multipleLimit || u["multiple-limit"]) && x.value), D = p(() => {
12442
12439
  const i = e.multiple && r.value ? n.value : e.modelValue;
12443
12440
  return Array.isArray(i) ? i.length > 0 : i != null && String(i) !== "";
12444
- }), A = p(() => !!u.placeholder), M = p(
12445
- () => e.materialLabel && (v.value || r.value || W.value || A.value)
12446
- ), F = p(() => ({
12441
+ }), f = p(() => !!u.placeholder), C = p(
12442
+ () => e.materialLabel && (v.value || r.value || D.value || f.value)
12443
+ ), j = p(() => ({
12447
12444
  [u.class]: !!u.class,
12448
12445
  hasLabel: !!e.label,
12449
12446
  isMaterialLabel: !!(e.label && e.materialLabel),
12450
12447
  isTopLabel: !!(e.label && !e.materialLabel),
12451
- isFloat: M.value,
12448
+ isFloat: C.value,
12452
12449
  isFocused: v.value,
12453
12450
  isDisabled: !!u.disabled,
12454
12451
  isSelect: !0
12455
- })), Q = p(
12452
+ })), X = p(
12456
12453
  () => e.materialLabel ? {
12457
12454
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
12458
12455
  } : void 0
@@ -12468,46 +12465,46 @@ const Bn = ca({
12468
12465
  ), (i, E) => {
12469
12466
  const Y = G("el-checkbox"), Z = G("el-button"), U = G("el-select");
12470
12467
  return z(), O("div", {
12471
- class: H(["MvcField MvcFieldSelect", t(F)]),
12472
- style: de(t(Q))
12468
+ class: H(["MvcField MvcFieldSelect", t(j)]),
12469
+ style: de(t(X))
12473
12470
  }, [
12474
- e.label ? (z(), O("label", Tt, I(e.label), 1)) : K("", !0),
12475
- D(U, oe({
12471
+ e.label ? (z(), O("label", Ct, N(e.label), 1)) : K("", !0),
12472
+ R(U, oe({
12476
12473
  ref_key: "selectRef",
12477
12474
  ref: l,
12478
- "model-value": t(C),
12475
+ "model-value": t(M),
12479
12476
  "tag-effect": "plain",
12480
12477
  class: "MvcSelect"
12481
- }, t(j), {
12482
- "onUpdate:modelValue": y,
12478
+ }, t(B), {
12479
+ "onUpdate:modelValue": A,
12483
12480
  onVisibleChange: T,
12484
- onFocus: h,
12481
+ onFocus: _,
12485
12482
  onBlur: L
12486
12483
  }), be({
12487
- default: B(() => [
12484
+ default: $(() => [
12488
12485
  q(i.$slots, "default")
12489
12486
  ]),
12490
12487
  _: 2
12491
12488
  }, [
12492
12489
  e.filterable && e.multiple ? {
12493
12490
  name: "header",
12494
- fn: B(() => [
12495
- m("div", Ct, [
12496
- D(Y, {
12491
+ fn: $(() => [
12492
+ m("div", Mt, [
12493
+ R(Y, {
12497
12494
  modelValue: t(s),
12498
12495
  "onUpdate:modelValue": E[0] || (E[0] = (ee) => ba(s) ? s.value = ee : null),
12499
- indeterminate: t(_),
12496
+ indeterminate: t(g),
12500
12497
  class: "h24",
12501
12498
  onChange: k
12502
12499
  }, {
12503
- default: B(() => [
12504
- ie(I(a.selectAllTxt), 1)
12500
+ default: $(() => [
12501
+ ie(N(a.selectAllTxt), 1)
12505
12502
  ]),
12506
12503
  _: 1
12507
12504
  }, 8, ["modelValue", "indeterminate"]),
12508
- m("div", Mt, [
12509
- m("span", kt, I(t(R)) + "/" + I(t(J)), 1),
12510
- t(N) ? (z(), O("span", Et, I(t(x)), 1)) : K("", !0)
12505
+ m("div", kt, [
12506
+ m("span", Et, N(t(F)) + "/" + N(t(J)), 1),
12507
+ t(W) ? (z(), O("span", Ot, N(t(x)), 1)) : K("", !0)
12511
12508
  ])
12512
12509
  ])
12513
12510
  ]),
@@ -12515,15 +12512,15 @@ const Bn = ca({
12515
12512
  } : void 0,
12516
12513
  e.multiple ? {
12517
12514
  name: "footer",
12518
- fn: B(() => [
12519
- m("div", Ot, [
12520
- D(Z, {
12515
+ fn: $(() => [
12516
+ m("div", Pt, [
12517
+ R(Z, {
12521
12518
  type: "primary",
12522
12519
  size: "small",
12523
12520
  onClick: S
12524
12521
  }, {
12525
- default: B(() => [
12526
- ie(I(a.confirmTxt), 1)
12522
+ default: $(() => [
12523
+ ie(N(a.confirmTxt), 1)
12527
12524
  ]),
12528
12525
  _: 1
12529
12526
  })
@@ -12535,16 +12532,16 @@ const Bn = ca({
12535
12532
  ], 6);
12536
12533
  };
12537
12534
  }
12538
- }), xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12535
+ }), Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12539
12536
  __proto__: null,
12540
- default: Pt
12541
- }, Symbol.toStringTag, { value: "Module" })), Lt = {
12537
+ default: xt
12538
+ }, Symbol.toStringTag, { value: "Module" })), Nt = {
12542
12539
  key: 0,
12543
12540
  class: "MvcFieldLabel"
12544
- }, Nt = { class: "flexMode hb vc" }, It = { class: "flexMode g4 vc" }, $t = { class: "tag" }, Bt = {
12541
+ }, It = { class: "flexMode hb vc" }, $t = { class: "flexMode g4 vc" }, Bt = { class: "tag" }, jt = {
12545
12542
  key: 0,
12546
12543
  class: "tag"
12547
- }, jt = { class: "flexMode hr" }, Dt = /* @__PURE__ */ Object.assign({
12544
+ }, Dt = { class: "flexMode hr" }, Rt = /* @__PURE__ */ Object.assign({
12548
12545
  name: "MvcSelectV2",
12549
12546
  inheritAttrs: !1
12550
12547
  }, {
@@ -12597,29 +12594,29 @@ const Bn = ca({
12597
12594
  },
12598
12595
  emits: ["update:modelValue", "change", "focus", "blur"],
12599
12596
  setup(a, { emit: o }) {
12600
- const e = a, l = ae(null), n = ae([]), r = ae(!1), s = ae(!1), _ = ae(!1), v = ae(!1), u = fe(), c = o, y = (i) => {
12597
+ const e = a, l = ae(null), n = ae([]), r = ae(!1), s = ae(!1), g = ae(!1), v = ae(!1), u = fe(), c = o, A = (i) => {
12601
12598
  e.multiple ? (n.value = Array.isArray(i) ? [...i] : [], b()) : (c("update:modelValue", i), c("change", i));
12602
12599
  }, T = (i) => {
12603
12600
  if (r.value = i, i && e.multiple) {
12604
12601
  const E = e.modelValue;
12605
12602
  n.value = Array.isArray(E) ? [...E] : E ? [E] : [], b();
12606
12603
  }
12607
- }, h = (i) => {
12604
+ }, _ = (i) => {
12608
12605
  v.value = !0, c("focus", i);
12609
12606
  }, L = (i) => {
12610
12607
  v.value = !1, c("blur", i);
12611
12608
  }, V = () => {
12612
12609
  var Z;
12613
- if (!e.filterable || !r.value) return g();
12610
+ if (!e.filterable || !r.value) return y();
12614
12611
  const i = l.value, E = ((Z = i == null ? void 0 : i.filteredOptions) == null ? void 0 : Z.value) ?? (i == null ? void 0 : i.filteredOptions) ?? [];
12615
- if (!Array.isArray(E)) return g();
12612
+ if (!Array.isArray(E)) return y();
12616
12613
  const Y = e.valueKey;
12617
12614
  return E.filter((U) => U.type !== "Group" && !U.disabled).map((U) => typeof U == "object" ? U[Y] : U);
12618
- }, f = () => {
12615
+ }, h = () => {
12619
12616
  const i = u.multipleLimit ?? u["multiple-limit"], E = Number(i);
12620
12617
  return Number.isFinite(E) && E > 0 ? E : 0;
12621
12618
  }, d = () => {
12622
- const i = V(), E = new Set(n.value ?? []), Y = i.filter((ee) => E.has(ee)), Z = f(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12619
+ const i = V(), E = new Set(n.value ?? []), Y = i.filter((ee) => E.has(ee)), Z = h(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12623
12620
  return {
12624
12621
  selected: Math.min(Y.length, U),
12625
12622
  total: U
@@ -12627,7 +12624,7 @@ const Bn = ca({
12627
12624
  }, k = (i) => {
12628
12625
  const E = V();
12629
12626
  if (i) {
12630
- const Y = f(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), ee = [...Z];
12627
+ const Y = h(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), ee = [...Z];
12631
12628
  for (const ue of E)
12632
12629
  if (!U.has(ue)) {
12633
12630
  if (Y > 0 && ee.length >= Y) break;
@@ -12642,13 +12639,13 @@ const Bn = ca({
12642
12639
  }, S = () => {
12643
12640
  var i, E;
12644
12641
  e.multiple && (c("update:modelValue", n.value), c("change", n.value), (E = (i = l.value) == null ? void 0 : i.blur) == null || E.call(i));
12645
- }, g = () => {
12642
+ }, y = () => {
12646
12643
  const i = e.valueKey;
12647
12644
  return (e.options || []).map((E) => typeof E == "object" ? E[i] : E);
12648
12645
  }, b = () => {
12649
12646
  const i = d();
12650
- s.value = i.total > 0 && i.selected === i.total, _.value = i.selected > 0 && i.selected < i.total;
12651
- }, C = p(() => e.multiple && r.value ? n.value : e.modelValue), $ = p(() => {
12647
+ s.value = i.total > 0 && i.selected === i.total, g.value = i.selected > 0 && i.selected < i.total;
12648
+ }, M = p(() => e.multiple && r.value ? n.value : e.modelValue), I = p(() => {
12652
12649
  const {
12653
12650
  modelValue: i,
12654
12651
  valueKey: E,
@@ -12676,29 +12673,29 @@ const Bn = ca({
12676
12673
  ), P = p(() => {
12677
12674
  const { class: i, ...E } = u;
12678
12675
  return E;
12679
- }), j = p(() => ({
12676
+ }), B = p(() => ({
12680
12677
  ...w.value,
12681
12678
  ...P.value,
12682
- ...$.value,
12679
+ ...I.value,
12683
12680
  placeholder: u.placeholder ?? ""
12684
- })), R = p(() => {
12681
+ })), F = p(() => {
12685
12682
  const i = e.multiple && r.value ? n.value : e.modelValue, E = Array.isArray(i) ? i : i ? [i] : [];
12686
12683
  return !e.filterable || !r.value ? Math.min(E.length, J.value) : d().selected;
12687
- }), J = p(() => d().total), x = p(() => e.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && x.value), W = p(() => {
12684
+ }), J = p(() => d().total), x = p(() => e.options.length), W = p(() => (u.multipleLimit || u["multiple-limit"]) && x.value), D = p(() => {
12688
12685
  const i = e.multiple && r.value ? n.value : e.modelValue;
12689
12686
  return Array.isArray(i) ? i.length > 0 : i != null && String(i) !== "";
12690
- }), A = p(() => !!u.placeholder), M = p(
12691
- () => e.materialLabel && (v.value || r.value || W.value || A.value)
12692
- ), F = p(() => ({
12687
+ }), f = p(() => !!u.placeholder), C = p(
12688
+ () => e.materialLabel && (v.value || r.value || D.value || f.value)
12689
+ ), j = p(() => ({
12693
12690
  [u.class]: !!u.class,
12694
12691
  hasLabel: !!e.label,
12695
12692
  isMaterialLabel: !!(e.label && e.materialLabel),
12696
12693
  isTopLabel: !!(e.label && !e.materialLabel),
12697
- isFloat: M.value,
12694
+ isFloat: C.value,
12698
12695
  isFocused: v.value,
12699
12696
  isDisabled: !!u.disabled,
12700
12697
  isSelect: !0
12701
- })), Q = p(
12698
+ })), X = p(
12702
12699
  () => e.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
12703
12700
  );
12704
12701
  return te(n, () => b(), { deep: !0 }), te(
@@ -12712,41 +12709,41 @@ const Bn = ca({
12712
12709
  ), (i, E) => {
12713
12710
  const Y = G("el-checkbox"), Z = G("el-button"), U = G("el-select-v2");
12714
12711
  return z(), O("div", {
12715
- class: H(["MvcField MvcFieldSelectV2", t(F)]),
12716
- style: de(t(Q))
12712
+ class: H(["MvcField MvcFieldSelectV2", t(j)]),
12713
+ style: de(t(X))
12717
12714
  }, [
12718
- e.label ? (z(), O("label", Lt, I(e.label), 1)) : K("", !0),
12719
- D(U, oe({
12715
+ e.label ? (z(), O("label", Nt, N(e.label), 1)) : K("", !0),
12716
+ R(U, oe({
12720
12717
  ref_key: "selectRef",
12721
12718
  ref: l,
12722
- "model-value": t(C),
12719
+ "model-value": t(M),
12723
12720
  class: "MvcSelectV2",
12724
12721
  "tag-effect": "plain"
12725
- }, t(j), {
12726
- "onUpdate:modelValue": y,
12722
+ }, t(B), {
12723
+ "onUpdate:modelValue": A,
12727
12724
  onVisibleChange: T,
12728
- onFocus: h,
12725
+ onFocus: _,
12729
12726
  onBlur: L
12730
12727
  }), be({ _: 2 }, [
12731
12728
  e.filterable && e.multiple ? {
12732
12729
  name: "header",
12733
- fn: B(() => [
12734
- m("div", Nt, [
12735
- D(Y, {
12730
+ fn: $(() => [
12731
+ m("div", It, [
12732
+ R(Y, {
12736
12733
  modelValue: t(s),
12737
12734
  "onUpdate:modelValue": E[0] || (E[0] = (ee) => ba(s) ? s.value = ee : null),
12738
- indeterminate: t(_),
12735
+ indeterminate: t(g),
12739
12736
  class: "h24",
12740
12737
  onChange: k
12741
12738
  }, {
12742
- default: B(() => [
12743
- ie(I(a.selectAllTxt), 1)
12739
+ default: $(() => [
12740
+ ie(N(a.selectAllTxt), 1)
12744
12741
  ]),
12745
12742
  _: 1
12746
12743
  }, 8, ["modelValue", "indeterminate"]),
12747
- m("div", It, [
12748
- m("span", $t, I(t(R)) + "/" + I(t(J)), 1),
12749
- t(N) ? (z(), O("span", Bt, I(t(x)), 1)) : K("", !0)
12744
+ m("div", $t, [
12745
+ m("span", Bt, N(t(F)) + "/" + N(t(J)), 1),
12746
+ t(W) ? (z(), O("span", jt, N(t(x)), 1)) : K("", !0)
12750
12747
  ])
12751
12748
  ])
12752
12749
  ]),
@@ -12754,22 +12751,22 @@ const Bn = ca({
12754
12751
  } : void 0,
12755
12752
  i.$slots.default ? {
12756
12753
  name: "default",
12757
- fn: B((ee) => [
12754
+ fn: $((ee) => [
12758
12755
  q(i.$slots, "default", he(ze(ee)))
12759
12756
  ]),
12760
12757
  key: "1"
12761
12758
  } : void 0,
12762
12759
  e.multiple ? {
12763
12760
  name: "footer",
12764
- fn: B(() => [
12765
- m("div", jt, [
12766
- D(Z, {
12761
+ fn: $(() => [
12762
+ m("div", Dt, [
12763
+ R(Z, {
12767
12764
  type: "primary",
12768
12765
  size: "small",
12769
12766
  onClick: S
12770
12767
  }, {
12771
- default: B(() => [
12772
- ie(I(a.confirmTxt), 1)
12768
+ default: $(() => [
12769
+ ie(N(a.confirmTxt), 1)
12773
12770
  ]),
12774
12771
  _: 1
12775
12772
  })
@@ -12781,10 +12778,10 @@ const Bn = ca({
12781
12778
  ], 6);
12782
12779
  };
12783
12780
  }
12784
- }), Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12781
+ }), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12785
12782
  __proto__: null,
12786
- default: Dt
12787
- }, Symbol.toStringTag, { value: "Module" })), Ft = ca({
12783
+ default: Rt
12784
+ }, Symbol.toStringTag, { value: "Module" })), Vt = ca({
12788
12785
  name: "MvcTableColumnFilter",
12789
12786
  props: {
12790
12787
  tableName: {
@@ -12801,8 +12798,8 @@ const Bn = ca({
12801
12798
  }
12802
12799
  },
12803
12800
  setup: (a, o) => {
12804
- var _;
12805
- const e = X({
12801
+ var g;
12802
+ const e = Q({
12806
12803
  options: [],
12807
12804
  slots: []
12808
12805
  }), l = a.tableName + "_Column";
@@ -12814,33 +12811,33 @@ const Bn = ca({
12814
12811
  asa: [],
12815
12812
  fixed: [],
12816
12813
  columns: []
12817
- }, c = a.tableName ? JSON.parse(localStorage.getItem(l)) : null, y = [void 0];
12818
- v.forEach((h) => {
12819
- window.$getType(h.type) === "Symbol" ? n = n.concat(h.children) : n.push(h);
12820
- }), n.forEach((h, L) => {
12814
+ }, c = a.tableName ? JSON.parse(localStorage.getItem(l)) : null, A = [void 0];
12815
+ v.forEach((_) => {
12816
+ window.$getType(_.type) === "Symbol" ? n = n.concat(_.children) : n.push(_);
12817
+ }), n.forEach((_, L) => {
12821
12818
  var V;
12822
- if (window.$getType(h.type), ((V = h.type) == null ? void 0 : V.name) === "ElTableColumn") {
12823
- let f = {
12824
- ...h.props,
12819
+ if (window.$getType(_.type), ((V = _.type) == null ? void 0 : V.name) === "ElTableColumn") {
12820
+ let h = {
12821
+ ..._.props,
12825
12822
  sort: L,
12826
- nomove: h.props.nomove || h.props.nomove === "" || h.props.type === "selection" || h.props.label === "Operation",
12823
+ nomove: _.props.nomove || _.props.nomove === "" || _.props.type === "selection" || _.props.label === "Operation",
12827
12824
  resizable: !0,
12828
- visible: h.props.visible !== !1
12825
+ visible: _.props.visible !== !1
12829
12826
  };
12830
- if (f.labelKey || (f.labelKey = f.label), f.label = window.$l(f.labelKey), a.column && (c != null && c.length) && y.indexOf(h.props.prop) === -1) {
12831
- const { data: d } = c.filter1((k) => k.prop === h.props.prop);
12832
- d && (f.sort = d.sort, f.fixed = d.fixed, f.visible = d.visible);
12827
+ if (h.labelKey || (h.labelKey = h.label), h.label = window.$l(h.labelKey), a.column && (c != null && c.length) && A.indexOf(_.props.prop) === -1) {
12828
+ const { data: d } = c.filter1((k) => k.prop === _.props.prop);
12829
+ d && (h.sort = d.sort, h.fixed = d.fixed, h.visible = d.visible);
12833
12830
  }
12834
- h.props.fixed && u.fixed.push(f), h.props.type === "mmp" ? u.mmp.push(f) : h.props.type === "asa" ? u.asa.push(f) : u.normal.push(f), h.props = f;
12831
+ _.props.fixed && u.fixed.push(h), _.props.type === "mmp" ? u.mmp.push(h) : _.props.type === "asa" ? u.asa.push(h) : u.normal.push(h), _.props = h;
12835
12832
  }
12836
12833
  }), e.columnInfo = u;
12837
12834
  let T = [...u.normal, ...u.mmp, ...u.asa];
12838
- a.tableName && (T = T.sort((h, L) => h.sort - L.sort), localStorage.setItem(l, JSON.stringify(T)));
12835
+ a.tableName && (T = T.sort((_, L) => _.sort - L.sort), localStorage.setItem(l, JSON.stringify(T)));
12839
12836
  })();
12840
12837
  let s = [];
12841
12838
  if (n.forEach((v) => {
12842
12839
  window.$getType(v) !== "String" && v.props.visible && s.push(v);
12843
- }), (_ = a.group) != null && _.label) {
12840
+ }), (g = a.group) != null && g.label) {
12844
12841
  const v = {
12845
12842
  label: "Group By " + a.group.label,
12846
12843
  // prop: props.group.value,
@@ -12859,28 +12856,28 @@ const Bn = ca({
12859
12856
  }
12860
12857
  return s = s.sort((v, u) => v.props.sort - u.props.sort), () => s;
12861
12858
  }
12862
- }), Vt = { class: "hp100 flexMode" }, Gt = { class: "w200 hp100 border-r fs14" }, Kt = { class: "flexMode vc h36 p8 bg-gray3 border-b txt-nowrap" }, Ut = { class: "p4" }, Ht = ["onClick"], Jt = {
12859
+ }), Gt = { class: "hp100 flexMode" }, Kt = { class: "w200 hp100 border-r fs14" }, Ut = { class: "flexMode vc h36 p8 bg-gray3 border-b txt-nowrap" }, Ht = { class: "p4" }, Jt = ["onClick"], Zt = {
12863
12860
  class: "flexMode vs hp100",
12864
12861
  style: { width: "calc(100% - 200px)" }
12865
- }, Zt = { class: "wp50 border-r fs14" }, Yt = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, Wt = { class: "tagArea blue small" }, qt = { class: "p4" }, Xt = {
12862
+ }, Yt = { class: "wp50 border-r fs14" }, Wt = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, qt = { class: "tagArea blue small" }, Xt = { class: "p4" }, Qt = {
12866
12863
  key: 0,
12867
12864
  class: "absCenter fs12 txt-dark5 txt-nowrap"
12868
- }, Qt = { class: "flexMode vc g8" }, er = ["txt", "onClick"], ar = { class: "wp50 border-r fs14" }, lr = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, nr = { class: "tagArea blue small" }, or = {
12865
+ }, er = { class: "flexMode vc g8" }, ar = ["txt", "onClick"], lr = { class: "wp50 border-r fs14" }, nr = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, or = { class: "tagArea blue small" }, tr = {
12869
12866
  class: "relative p4",
12870
12867
  style: { height: "calc(100% - 36px)" }
12871
- }, tr = {
12868
+ }, rr = {
12872
12869
  class: "relative",
12873
12870
  style: { height: "30%" }
12874
- }, rr = {
12871
+ }, sr = {
12875
12872
  key: 0,
12876
12873
  class: "absCenter fs12 txt-dark5 txt-nowrap"
12877
- }, sr = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, ir = { class: "flexMode vc g8 txt-nowrap" }, cr = { class: "flexMode vc g8" }, ur = ["txt", "onClick"], dr = {
12874
+ }, ir = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, cr = { class: "flexMode vc g8 txt-nowrap" }, ur = { class: "flexMode vc g8" }, dr = ["txt", "onClick"], mr = {
12878
12875
  class: "relative",
12879
12876
  style: { height: "calc(70% - 10px)" }
12880
- }, mr = {
12877
+ }, br = {
12881
12878
  key: 0,
12882
12879
  class: "absCenter fs12 txt-dark5 txt-nowrap"
12883
- }, br = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, vr = { class: "flexMode vc g8 txt-nowrap" }, pr = { class: "flexMode vc" }, fr = ["txt", "onClick"], hr = ["txt", "onClick"], _r = /* @__PURE__ */ Object.assign({
12880
+ }, vr = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, pr = { class: "flexMode vc g8 txt-nowrap" }, fr = { class: "flexMode vc" }, hr = ["txt", "onClick"], _r = ["txt", "onClick"], gr = /* @__PURE__ */ Object.assign({
12884
12881
  name: "MvcTableColumnConfig",
12885
12882
  inheritAttrs: !1
12886
12883
  }, {
@@ -12893,7 +12890,7 @@ const Bn = ca({
12893
12890
  },
12894
12891
  emits: "close",
12895
12892
  setup(a, { emit: o }) {
12896
- const e = a, l = X({
12893
+ const e = a, l = Q({
12897
12894
  loading: !1,
12898
12895
  type: "normal",
12899
12896
  columns: {
@@ -12919,7 +12916,7 @@ const Bn = ca({
12919
12916
  }), l.columnType = k;
12920
12917
  }, s = (d) => {
12921
12918
  l.type = d;
12922
- }, _ = (d, k) => {
12919
+ }, g = (d, k) => {
12923
12920
  d.visible = !0, l.visible.unshift(d), d.type ? l.columns[d.type].splice(k, 1) : l.columns.normal.splice(k, 1);
12924
12921
  }, v = (d, k) => {
12925
12922
  l.fixed.unshift(d), l.visible.splice(k, 1);
@@ -12927,24 +12924,24 @@ const Bn = ca({
12927
12924
  l.visible.unshift(d), l.fixed.splice(k, 1);
12928
12925
  }, c = (d, k) => {
12929
12926
  l.visible.splice(k, 1), d.type ? l.columns[d.type].unshift(d) : l.columns.normal.unshift(d);
12930
- }, y = async () => {
12927
+ }, A = async () => {
12931
12928
  l.loading = !0, window.$pm(() => {
12932
- const { fixed: d, visible: k, columns: S, selection: g, operation: b } = l;
12933
- let C = [];
12929
+ const { fixed: d, visible: k, columns: S, selection: y, operation: b } = l;
12930
+ let M = [];
12934
12931
  Object.keys(S).map((w) => {
12935
- C = C.concat(S[w]);
12936
- }), d.forEach((w) => w.fixed = "left"), C.forEach((w) => w.visible = !1);
12937
- const $ = g.concat(d, k, C, b);
12938
- $.forEach((w, P) => w.sort = P), localStorage.setItem(`${e.tableName}_Column`, JSON.stringify($)), l.loading = !1, n("close"), n("init-column");
12932
+ M = M.concat(S[w]);
12933
+ }), d.forEach((w) => w.fixed = "left"), M.forEach((w) => w.visible = !1);
12934
+ const I = y.concat(d, k, M, b);
12935
+ I.forEach((w, P) => w.sort = P), localStorage.setItem(`${e.tableName}_Column`, JSON.stringify(I)), l.loading = !1, n("close"), n("init-column");
12939
12936
  });
12940
12937
  }, T = () => {
12941
12938
  l.loading = !0, localStorage.removeItem(`${e.tableName}_Column`), window.$pm(() => {
12942
12939
  l.loading = !1, n("close"), n("init-column");
12943
12940
  }, 4);
12944
- }, h = p(() => {
12941
+ }, _ = p(() => {
12945
12942
  var d;
12946
12943
  return ((d = globalThis.$config.options) == null ? void 0 : d.drawerHeight) || 540;
12947
- }), L = p(() => (h.value * 0.3).toFixed(0)), V = p(() => (h.value * 0.7 - 10).toFixed(0)), f = p(() => [
12944
+ }), L = p(() => (_.value * 0.3).toFixed(0)), V = p(() => (_.value * 0.7 - 10).toFixed(0)), h = p(() => [
12948
12945
  {
12949
12946
  label: "Base Info",
12950
12947
  value: "normal"
@@ -12961,51 +12958,51 @@ const Bn = ca({
12961
12958
  }
12962
12959
  ]);
12963
12960
  return (d, k) => {
12964
- const S = G("el-scrollbar"), g = G("DrawerArea");
12965
- return z(), le(g, {
12961
+ const S = G("el-scrollbar"), y = G("DrawerArea");
12962
+ return z(), le(y, {
12966
12963
  loading: t(l).loading,
12967
12964
  noscroll: "",
12968
12965
  "cancel-txt": "Reset",
12969
12966
  "cancel-icon": "im-sync",
12970
12967
  class: "MvcTableColumnConfig",
12971
12968
  onCancel: T,
12972
- onSubmit: y
12969
+ onSubmit: A
12973
12970
  }, {
12974
- default: B(() => [
12975
- m("div", Vt, [
12976
- m("div", Gt, [
12977
- m("div", Kt, I(d.$l("Column Type")), 1),
12978
- m("div", Ut, [
12979
- (z(!0), O(re, null, ce(t(f), (b) => (z(), O("div", {
12971
+ default: $(() => [
12972
+ m("div", Gt, [
12973
+ m("div", Kt, [
12974
+ m("div", Ut, N(d.$l("Column Type")), 1),
12975
+ m("div", Ht, [
12976
+ (z(!0), O(re, null, ce(t(h), (b) => (z(), O("div", {
12980
12977
  key: b.value,
12981
12978
  class: H(["typeItem p8-16 mb4 radius4 txt-nowrap", [t(l).type === b.value && "active", b.hide && "hide"]]),
12982
- onClick: (C) => s(b.value)
12983
- }, I(b.label), 11, Ht))), 128))
12979
+ onClick: (M) => s(b.value)
12980
+ }, N(b.label), 11, Jt))), 128))
12984
12981
  ])
12985
12982
  ]),
12986
- m("div", Jt, [
12987
- m("div", Zt, [
12988
- m("div", Yt, [
12989
- m("span", null, I(d.$l("Columns")), 1),
12990
- m("span", Wt, I(t(l).columns[t(l).type].length), 1)
12983
+ m("div", Zt, [
12984
+ m("div", Yt, [
12985
+ m("div", Wt, [
12986
+ m("span", null, N(d.$l("Columns")), 1),
12987
+ m("span", qt, N(t(l).columns[t(l).type].length), 1)
12991
12988
  ]),
12992
- D(S, { style: { height: "calc(100% - 36px)" } }, {
12993
- default: B(() => [
12994
- m("div", qt, [
12995
- t(l).columns[t(l).type].length === 0 ? (z(), O("span", Xt, I(d.$l("No Columns")), 1)) : K("", !0),
12996
- (z(!0), O(re, null, ce(t(l).columns[t(l).type], (b, C) => (z(), O("div", {
12989
+ R(S, { style: { height: "calc(100% - 36px)" } }, {
12990
+ default: $(() => [
12991
+ m("div", Xt, [
12992
+ t(l).columns[t(l).type].length === 0 ? (z(), O("span", Qt, N(d.$l("No Columns")), 1)) : K("", !0),
12993
+ (z(!0), O(re, null, ce(t(l).columns[t(l).type], (b, M) => (z(), O("div", {
12997
12994
  key: b.prop,
12998
12995
  class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4 txt-nowrap"
12999
12996
  }, [
13000
- m("span", null, I(d.$l(b.label)), 1),
13001
- m("div", Qt, [
12997
+ m("span", null, N(d.$l(b.label)), 1),
12998
+ m("div", er, [
13002
12999
  m("div", {
13003
13000
  class: "tipbtn left",
13004
13001
  txt: d.$l("Visible"),
13005
- onClick: ($) => _(b, C)
13002
+ onClick: (I) => g(b, M)
13006
13003
  }, [...k[0] || (k[0] = [
13007
13004
  m("i", { class: "imicon im-plus fs16" }, null, -1)
13008
- ])], 8, er)
13005
+ ])], 8, ar)
13009
13006
  ])
13010
13007
  ]))), 128))
13011
13008
  ])
@@ -13013,36 +13010,36 @@ const Bn = ca({
13013
13010
  _: 1
13014
13011
  })
13015
13012
  ]),
13016
- m("div", ar, [
13017
- m("div", lr, [
13018
- m("span", null, I(d.$l("Visible Columns")), 1),
13019
- m("span", nr, I(t(l).visible.length), 1)
13013
+ m("div", lr, [
13014
+ m("div", nr, [
13015
+ m("span", null, N(d.$l("Visible Columns")), 1),
13016
+ m("span", or, N(t(l).visible.length), 1)
13020
13017
  ]),
13021
- m("div", or, [
13022
- m("div", tr, [
13023
- t(l).fixed.length === 0 ? (z(), O("span", rr, I(d.$l("No Fixed Columns")), 1)) : K("", !0),
13024
- D(S, { height: t(L) }, {
13025
- default: B(() => [
13026
- D(t(Je), {
13018
+ m("div", tr, [
13019
+ m("div", rr, [
13020
+ t(l).fixed.length === 0 ? (z(), O("span", sr, N(d.$l("No Fixed Columns")), 1)) : K("", !0),
13021
+ R(S, { height: t(L) }, {
13022
+ default: $(() => [
13023
+ R(t(Je), {
13027
13024
  list: t(l).fixed,
13028
13025
  "item-key": (b) => b,
13029
13026
  handle: ".im-handle",
13030
13027
  "ghost-class": "ghost"
13031
13028
  }, {
13032
- item: B(({ element: b, index: C }) => [
13033
- m("div", sr, [
13034
- m("div", ir, [
13029
+ item: $(({ element: b, index: M }) => [
13030
+ m("div", ir, [
13031
+ m("div", cr, [
13035
13032
  k[1] || (k[1] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
13036
- m("span", null, I(d.$l(b.label)), 1)
13033
+ m("span", null, N(d.$l(b.label)), 1)
13037
13034
  ]),
13038
- m("div", cr, [
13035
+ m("div", ur, [
13039
13036
  m("div", {
13040
13037
  class: "tipbtn red left",
13041
13038
  txt: d.$l("Unfixed"),
13042
- onClick: ($) => u(b, C)
13039
+ onClick: (I) => u(b, M)
13043
13040
  }, [...k[2] || (k[2] = [
13044
13041
  m("i", { class: "imicon im-download1 fs14" }, null, -1)
13045
- ])], 8, ur)
13042
+ ])], 8, dr)
13046
13043
  ])
13047
13044
  ])
13048
13045
  ]),
@@ -13055,38 +13052,38 @@ const Bn = ca({
13055
13052
  k[6] || (k[6] = m("div", { class: "p4-0" }, [
13056
13053
  m("div", { class: "border-t" })
13057
13054
  ], -1)),
13058
- m("div", dr, [
13059
- t(l).visible.length === 0 ? (z(), O("span", mr, I(d.$l("No Columns")), 1)) : K("", !0),
13060
- D(S, { height: t(V) }, {
13061
- default: B(() => [
13062
- D(t(Je), {
13055
+ m("div", mr, [
13056
+ t(l).visible.length === 0 ? (z(), O("span", br, N(d.$l("No Columns")), 1)) : K("", !0),
13057
+ R(S, { height: t(V) }, {
13058
+ default: $(() => [
13059
+ R(t(Je), {
13063
13060
  list: t(l).visible,
13064
13061
  "item-key": (b) => b,
13065
13062
  options: { lockAxis: "y" },
13066
13063
  handle: ".im-handle",
13067
13064
  "ghost-class": "ghost"
13068
13065
  }, {
13069
- item: B(({ element: b, index: C }) => [
13070
- m("div", br, [
13071
- m("div", vr, [
13066
+ item: $(({ element: b, index: M }) => [
13067
+ m("div", vr, [
13068
+ m("div", pr, [
13072
13069
  k[3] || (k[3] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
13073
- m("span", null, I(d.$l(b.label)), 1)
13070
+ m("span", null, N(d.$l(b.label)), 1)
13074
13071
  ]),
13075
- m("div", pr, [
13072
+ m("div", fr, [
13076
13073
  m("div", {
13077
13074
  class: "tipbtn left",
13078
13075
  txt: d.$l("Fixed"),
13079
- onClick: ($) => v(b, C)
13076
+ onClick: (I) => v(b, M)
13080
13077
  }, [...k[4] || (k[4] = [
13081
13078
  m("i", { class: "imicon im-download1 fs14 rotateZ180" }, null, -1)
13082
- ])], 8, fr),
13079
+ ])], 8, hr),
13083
13080
  m("div", {
13084
13081
  class: "tipbtn red left",
13085
13082
  txt: d.$l("Hide"),
13086
- onClick: ($) => c(b, C)
13083
+ onClick: (I) => c(b, M)
13087
13084
  }, [...k[5] || (k[5] = [
13088
13085
  m("i", { class: "imicon im-close fs14" }, null, -1)
13089
- ])], 8, hr)
13086
+ ])], 8, _r)
13090
13087
  ])
13091
13088
  ])
13092
13089
  ]),
@@ -13105,10 +13102,10 @@ const Bn = ca({
13105
13102
  }, 8, ["loading"]);
13106
13103
  };
13107
13104
  }
13108
- }), gr = /* @__PURE__ */ ne(_r, [["__scopeId", "data-v-1927ce52"]]), yr = { class: "p16 border-b" }, Ar = { class: "flexMode vc g8" }, zr = {
13105
+ }), yr = /* @__PURE__ */ ne(gr, [["__scopeId", "data-v-1927ce52"]]), Ar = { class: "p16 border-b" }, zr = { class: "flexMode vc g8" }, wr = {
13109
13106
  key: 0,
13110
13107
  class: "flexMode vc g8"
13111
- }, wr = { class: "flexMode g16 hr vc" }, Sr = { class: "TheEnd p16" }, Tr = { class: "sticky flexMode vc hb p4-8 mt16 mb8 fs14 txt-dark9 z9 backdrop border-l4-primary bg-gray3 radius4" }, Cr = { class: "fw700" }, Mr = { class: "flexMode vc g8" }, kr = /* @__PURE__ */ Object.assign({
13108
+ }, Sr = { class: "flexMode g16 hr vc" }, Tr = { class: "TheEnd p16" }, Cr = { class: "sticky flexMode vc hb p4-8 mt16 mb8 fs14 txt-dark9 z9 backdrop border-l4-primary bg-gray3 radius4" }, Mr = { class: "fw700" }, kr = { class: "flexMode vc g8" }, Er = /* @__PURE__ */ Object.assign({
13112
13109
  name: "MvcTableColumnDownload",
13113
13110
  inheritAttrs: !1
13114
13111
  }, {
@@ -13129,7 +13126,7 @@ const Bn = ca({
13129
13126
  },
13130
13127
  emits: ["mounted"],
13131
13128
  setup(a, { emit: o }) {
13132
- const e = a, l = X({
13129
+ const e = a, l = Q({
13133
13130
  loading: !1,
13134
13131
  columns: [],
13135
13132
  checked: [],
@@ -13141,69 +13138,69 @@ const Bn = ca({
13141
13138
  r();
13142
13139
  });
13143
13140
  const n = o, r = () => {
13144
- n("mounted"), s(), _();
13141
+ n("mounted"), s(), g();
13145
13142
  }, s = () => {
13146
- const f = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), d = ["selection", "operation"];
13147
- l.columns = f.filter((k) => !d.includes(k.type) && k.label);
13148
- }, _ = () => {
13143
+ const h = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), d = ["selection", "operation"];
13144
+ l.columns = h.filter((k) => !d.includes(k.type) && k.label);
13145
+ }, g = () => {
13149
13146
  e.selection.length && (l.onlySelection = !0);
13150
- }, v = (f, d) => {
13151
- f ? d.children.forEach((k) => {
13147
+ }, v = (h, d) => {
13148
+ h ? d.children.forEach((k) => {
13152
13149
  k.visible = !0;
13153
13150
  }) : d.children.forEach((k) => {
13154
13151
  k.visible = !1;
13155
13152
  });
13156
13153
  }, u = () => {
13157
- window.$copy(y());
13154
+ window.$copy(A());
13158
13155
  }, c = async () => {
13159
13156
  l.loading = !0;
13160
13157
  try {
13161
- const f = y("download");
13158
+ const h = A("download");
13162
13159
  let d = l.fileName || T.value;
13163
- d && !d.toLowerCase().endsWith(".csv") && (d = `${d}.csv`), await Ua({ content: f, filename: d, bom: !0 });
13160
+ d && !d.toLowerCase().endsWith(".csv") && (d = `${d}.csv`), await Ua({ content: h, filename: d, bom: !0 });
13164
13161
  } finally {
13165
13162
  l.loading = !1;
13166
13163
  }
13167
- }, y = (f) => {
13164
+ }, A = (h) => {
13168
13165
  const d = l.onlySelection ? e.selection : e.list, k = {}, S = [];
13169
13166
  l.columns.filter((P) => P.visible).forEach((P) => {
13170
13167
  S.push(window.$l(P.label)), k[P.prop] = !0;
13171
13168
  });
13172
- let g = "", b = [], C = f === "download" ? "," : " ";
13173
- (l.useHead || f) && (g = S.join(C) + `
13169
+ let y = "", b = [], M = h === "download" ? "," : " ";
13170
+ (l.useHead || h) && (y = S.join(M) + `
13174
13171
  `);
13175
- let $ = [], w;
13176
- return Object.keys(k).forEach((P, j) => {
13177
- P.includes("country") && (w = j);
13178
- const R = [];
13172
+ let I = [], w;
13173
+ return Object.keys(k).forEach((P, B) => {
13174
+ P.includes("country") && (w = B);
13175
+ const F = [];
13179
13176
  d.forEach((J) => {
13180
- J[P] !== void 0 && R.push(J[P]);
13181
- }), $.push(R);
13182
- }), $.forEach((P, j) => {
13183
- !l.useCountryCode && w === j ? P.forEach((R, J) => {
13184
- let x = R;
13185
- window.$getType(R) === "Array" ? x = R.map((N) => V[N.toUpperCase()].label.$l()).join(",") : window.$getType(R) === "String" ? x = R.split(",").map((N) => V[N.toUpperCase()].label.$l()).join(",") : x = JSON.stringify(R), b[J] ? b[J] += x + C : b[J] = x + C;
13186
- }) : P.forEach((R, J) => {
13187
- b[J] ? b[J] += R + C : b[J] = R + C;
13177
+ J[P] !== void 0 && F.push(J[P]);
13178
+ }), I.push(F);
13179
+ }), I.forEach((P, B) => {
13180
+ !l.useCountryCode && w === B ? P.forEach((F, J) => {
13181
+ let x = F;
13182
+ window.$getType(F) === "Array" ? x = F.map((W) => V[W.toUpperCase()].label.$l()).join(",") : window.$getType(F) === "String" ? x = F.split(",").map((W) => V[W.toUpperCase()].label.$l()).join(",") : x = JSON.stringify(F), b[J] ? b[J] += x + M : b[J] = x + M;
13183
+ }) : P.forEach((F, J) => {
13184
+ b[J] ? b[J] += F + M : b[J] = F + M;
13188
13185
  });
13189
- }), `${g}${b.join(`
13186
+ }), `${y}${b.join(`
13190
13187
  `)}`;
13191
13188
  }, T = p(() => {
13192
- const f = window.$d().format("YYYYMMDDHHmmss");
13193
- return `${e.tableName}_${f}`;
13194
- }), h = p(() => {
13195
- const f = {};
13189
+ const h = window.$d().format("YYYYMMDDHHmmss");
13190
+ return `${e.tableName}_${h}`;
13191
+ }), _ = p(() => {
13192
+ const h = {};
13196
13193
  return l.columns.forEach((d) => {
13197
13194
  const k = d.type ? d.type : "normal", S = {
13198
13195
  label: L[k],
13199
13196
  type: k,
13200
13197
  visible: 0
13201
13198
  };
13202
- f[k] ? (f[k].children.push(d), d.visible && f[k].visible++) : (S.children = [d], d.visible && S.visible++, f[k] = S);
13203
- }), Object.keys(f).forEach((d) => {
13204
- const k = f[d].visible === f[d].children.length, S = f[d].visible === 0;
13205
- k ? (f[d].checkstatus = !0, f[d].indeterminate = !1) : S ? (f[d].checkstatus = !1, f[d].indeterminate = !1) : (f[d].checkstatus = !1, f[d].indeterminate = !0);
13206
- }), f;
13199
+ h[k] ? (h[k].children.push(d), d.visible && h[k].visible++) : (S.children = [d], d.visible && S.visible++, h[k] = S);
13200
+ }), Object.keys(h).forEach((d) => {
13201
+ const k = h[d].visible === h[d].children.length, S = h[d].visible === 0;
13202
+ k ? (h[d].checkstatus = !0, h[d].indeterminate = !1) : S ? (h[d].checkstatus = !1, h[d].indeterminate = !1) : (h[d].checkstatus = !1, h[d].indeterminate = !0);
13203
+ }), h;
13207
13204
  }), L = {
13208
13205
  asa: "Asa Metrics",
13209
13206
  normal: "Base Info",
@@ -13211,27 +13208,27 @@ const Bn = ca({
13211
13208
  };
13212
13209
  "Check All".$l(), "Cancel All".$l();
13213
13210
  const V = Ve("asa.countryAll.obj");
13214
- return (f, d) => {
13215
- const k = G("el-checkbox"), S = G("el-button"), g = G("MvcAlert"), b = G("el-switch"), C = G("Input"), $ = G("DrawerArea");
13216
- return z(), le($, oe(f.$attrs, { class: "MvcTableColumnDownload" }), {
13217
- cancel: B(() => [
13218
- D(C, {
13211
+ return (h, d) => {
13212
+ const k = G("el-checkbox"), S = G("el-button"), y = G("MvcAlert"), b = G("el-switch"), M = G("Input"), I = G("DrawerArea");
13213
+ return z(), le(I, oe(h.$attrs, { class: "MvcTableColumnDownload" }), {
13214
+ cancel: $(() => [
13215
+ R(M, {
13219
13216
  modelValue: t(l).fileName,
13220
13217
  "onUpdate:modelValue": d[3] || (d[3] = (w) => t(l).fileName = w),
13221
13218
  icon: "catalog",
13222
13219
  placeholder: t(T),
13223
13220
  class: "w600"
13224
13221
  }, {
13225
- append: B(() => [
13226
- D(S, {
13222
+ append: $(() => [
13223
+ R(S, {
13227
13224
  loading: t(l).loading,
13228
13225
  onClick: c
13229
13226
  }, {
13230
- icon: B(() => [...d[5] || (d[5] = [
13227
+ icon: $(() => [...d[5] || (d[5] = [
13231
13228
  m("i", { class: "imicon im-download1" }, null, -1)
13232
13229
  ])]),
13233
- default: B(() => [
13234
- ie(" " + I(f.$l("Download")), 1)
13230
+ default: $(() => [
13231
+ ie(" " + N(h.$l("Download")), 1)
13235
13232
  ]),
13236
13233
  _: 1
13237
13234
  }, 8, ["loading"])
@@ -13239,72 +13236,72 @@ const Bn = ca({
13239
13236
  _: 1
13240
13237
  }, 8, ["modelValue", "placeholder"])
13241
13238
  ]),
13242
- submit: B(() => [...d[6] || (d[6] = [])]),
13243
- default: B(() => [
13244
- m("div", yr, [
13245
- D(g, null, {
13246
- default: B(() => [
13247
- m("div", Ar, [
13248
- m("span", null, I(f.$l("Total")), 1),
13249
- m("span", null, I(e.list.length), 1)
13239
+ submit: $(() => [...d[6] || (d[6] = [])]),
13240
+ default: $(() => [
13241
+ m("div", Ar, [
13242
+ R(y, null, {
13243
+ default: $(() => [
13244
+ m("div", zr, [
13245
+ m("span", null, N(h.$l("Total")), 1),
13246
+ m("span", null, N(e.list.length), 1)
13250
13247
  ]),
13251
- e.selection.length ? (z(), O("div", zr, [
13252
- m("span", null, I(f.$l("Selection")), 1),
13253
- m("span", null, I(e.selection.length), 1),
13254
- D(k, {
13248
+ e.selection.length ? (z(), O("div", wr, [
13249
+ m("span", null, N(h.$l("Selection")), 1),
13250
+ m("span", null, N(e.selection.length), 1),
13251
+ R(k, {
13255
13252
  modelValue: t(l).onlySelection,
13256
13253
  "onUpdate:modelValue": d[0] || (d[0] = (w) => t(l).onlySelection = w),
13257
- label: f.$l("Only Selection")
13254
+ label: h.$l("Only Selection")
13258
13255
  }, null, 8, ["modelValue", "label"])
13259
13256
  ])) : K("", !0),
13260
- m("div", wr, [
13261
- D(S, { onClick: u }, {
13262
- icon: B(() => [...d[4] || (d[4] = [
13257
+ m("div", Sr, [
13258
+ R(S, { onClick: u }, {
13259
+ icon: $(() => [...d[4] || (d[4] = [
13263
13260
  m("i", { class: "imicon im-copy" }, null, -1)
13264
13261
  ])]),
13265
- default: B(() => [
13266
- ie(" " + I(f.$l("Copy to Clipboard")), 1)
13262
+ default: $(() => [
13263
+ ie(" " + N(h.$l("Copy to Clipboard")), 1)
13267
13264
  ]),
13268
13265
  _: 1
13269
13266
  }),
13270
- D(k, {
13267
+ R(k, {
13271
13268
  modelValue: t(l).useHead,
13272
13269
  "onUpdate:modelValue": d[1] || (d[1] = (w) => t(l).useHead = w),
13273
- label: f.$l("With Table Head")
13270
+ label: h.$l("With Table Head")
13274
13271
  }, null, 8, ["modelValue", "label"])
13275
13272
  ])
13276
13273
  ]),
13277
13274
  _: 1
13278
13275
  })
13279
13276
  ]),
13280
- m("div", Sr, [
13281
- (z(!0), O(re, null, ce(t(h), (w) => (z(), O("div", {
13277
+ m("div", Tr, [
13278
+ (z(!0), O(re, null, ce(t(_), (w) => (z(), O("div", {
13282
13279
  key: w.type
13283
13280
  }, [
13284
- m("div", Tr, [
13285
- m("span", Cr, I(w.label), 1),
13286
- D(k, {
13281
+ m("div", Cr, [
13282
+ m("span", Mr, N(w.label), 1),
13283
+ R(k, {
13287
13284
  modelValue: w.checkstatus,
13288
13285
  "onUpdate:modelValue": (P) => w.checkstatus = P,
13289
13286
  indeterminate: w.indeterminate,
13290
- label: f.$l("Check"),
13287
+ label: h.$l("Check"),
13291
13288
  onChange: (P) => v(P, w)
13292
13289
  }, null, 8, ["modelValue", "onUpdate:modelValue", "indeterminate", "label", "onChange"])
13293
13290
  ]),
13294
- (z(!0), O(re, null, ce(w.children, (P, j) => (z(), le(k, {
13291
+ (z(!0), O(re, null, ce(w.children, (P, B) => (z(), le(k, {
13295
13292
  modelValue: P.visible,
13296
- "onUpdate:modelValue": (R) => P.visible = R,
13297
- key: j,
13293
+ "onUpdate:modelValue": (F) => P.visible = F,
13294
+ key: B,
13298
13295
  label: P.label,
13299
13296
  value: P.value,
13300
13297
  class: "fullCheckbox p8-12 mb4 radius2 hover-txt-primary hover-bg-gray3"
13301
13298
  }, {
13302
- default: B(() => {
13303
- var R;
13299
+ default: $(() => {
13300
+ var F;
13304
13301
  return [
13305
- m("div", Mr, [
13306
- m("span", null, I(P.label), 1),
13307
- (R = P.prop) != null && R.includes("country") ? (z(), le(b, {
13302
+ m("div", kr, [
13303
+ m("span", null, N(P.label), 1),
13304
+ (F = P.prop) != null && F.includes("country") ? (z(), le(b, {
13308
13305
  key: 0,
13309
13306
  modelValue: t(l).useCountryCode,
13310
13307
  "onUpdate:modelValue": d[2] || (d[2] = (J) => t(l).useCountryCode = J),
@@ -13325,13 +13322,13 @@ const Bn = ca({
13325
13322
  }, 16);
13326
13323
  };
13327
13324
  }
13328
- }), Er = { class: "MvcTable" }, Or = {
13325
+ }), Or = { class: "MvcTable" }, Pr = {
13329
13326
  key: 0,
13330
13327
  class: "flexMode vc"
13331
- }, Pr = { class: "tableArea relative radius ctx-auto" }, xr = {
13328
+ }, xr = { class: "tableArea relative radius ctx-auto" }, Lr = {
13332
13329
  key: 1,
13333
13330
  class: "flexMode vc h56 p16 xscroll nobar fadeout"
13334
- }, Lr = /* @__PURE__ */ Object.assign({
13331
+ }, Nr = /* @__PURE__ */ Object.assign({
13335
13332
  name: "MvcTable",
13336
13333
  inheritAttrs: !1
13337
13334
  }, {
@@ -13417,10 +13414,10 @@ const Bn = ca({
13417
13414
  },
13418
13415
  emits: ["selection-change", "refresh"],
13419
13416
  setup(a, { expose: o, emit: e }) {
13420
- const l = a, n = X({
13417
+ const l = a, n = Q({
13421
13418
  loading: !0,
13422
13419
  selection: []
13423
- }), r = X({
13420
+ }), r = Q({
13424
13421
  list: [],
13425
13422
  total: 0,
13426
13423
  page: 1,
@@ -13429,118 +13426,118 @@ const Bn = ca({
13429
13426
  summaryType: "remote",
13430
13427
  nopagination: !1,
13431
13428
  params: {}
13432
- }), s = X({
13429
+ }), s = Q({
13433
13430
  tabelKey: 0,
13434
13431
  current: "",
13435
13432
  list: [
13436
13433
  {
13437
13434
  title: "Table Column Customization",
13438
13435
  size: 1024,
13439
- cpt: Te(gr)
13436
+ cpt: Te(yr)
13440
13437
  },
13441
13438
  {
13442
13439
  title: "Download from Current Table",
13443
- cpt: Te(kr)
13440
+ cpt: Te(Er)
13444
13441
  }
13445
13442
  ]
13446
- }), _ = ae(null), { proxy: v } = pe();
13443
+ }), g = ae(null), { proxy: v } = pe();
13447
13444
  Va(() => {
13448
13445
  c();
13449
13446
  }), se(() => {
13450
- y();
13447
+ A();
13451
13448
  });
13452
13449
  const u = e, c = () => {
13453
13450
  n.loading = l.defaultLoading, l.pageSize && (r.pageSize = l.pageSize);
13454
- }, y = () => {
13455
- w(), l.defer === !1 && h();
13456
- }, T = (M) => {
13457
- h(M);
13458
- }, h = async (M = {}) => {
13451
+ }, A = () => {
13452
+ w(), l.defer === !1 && _();
13453
+ }, T = (C) => {
13454
+ _(C);
13455
+ }, _ = async (C = {}) => {
13459
13456
  var Y, Z;
13460
- if (M.refresh && n.loading)
13457
+ if (C.refresh && n.loading)
13461
13458
  return;
13462
13459
  n.loading = !0;
13463
- const F = {
13464
- pageSize: M.pageSize || r.pageSize,
13465
- pageStart: M.pageStart || r.page
13460
+ const j = {
13461
+ pageSize: C.pageSize || r.pageSize,
13462
+ pageStart: C.pageStart || r.page
13466
13463
  };
13467
- M.refresh && (F.remote = !0);
13468
- const { list: Q = [], total: i, summary: E } = await l.loadData(F) || {};
13469
- r.list = Q.map((U, ee) => (U.index = ee, U)), i === void 0 ? (r.total = r.list.length, r.nopagination = !0) : (r.total = i, r.nopagination = !1), (Z = (Y = globalThis.$config) == null ? void 0 : Y.table) != null && Z.scrollToTop && f(), L(E), n.loading = !1;
13470
- }, L = (M) => {
13471
- M ? r.summary = M : r.summary = !1;
13472
- }, V = (M) => {
13464
+ C.refresh && (j.remote = !0);
13465
+ const { list: X = [], total: i, summary: E } = await l.loadData(j) || {};
13466
+ r.list = X.map((U, ee) => (U.index = ee, U)), i === void 0 ? (r.total = r.list.length, r.nopagination = !0) : (r.total = i, r.nopagination = !1), (Z = (Y = globalThis.$config) == null ? void 0 : Y.table) != null && Z.scrollToTop && h(), L(E), n.loading = !1;
13467
+ }, L = (C) => {
13468
+ C ? r.summary = C : r.summary = !1;
13469
+ }, V = (C) => {
13473
13470
  if (r.summaryType === "locale")
13474
13471
  return [];
13475
13472
  if (r.summaryType === "remote") {
13476
- const F = (i, E) => {
13473
+ const j = (i, E) => {
13477
13474
  if (i != null)
13478
13475
  return typeof i == "function" ? i(E) : i[E];
13479
- }, Q = (i) => {
13476
+ }, X = (i) => {
13480
13477
  var Y, Z;
13481
- const E = F(l.summaryMetric, i);
13482
- return E !== void 0 ? E : F((Z = (Y = globalThis.$config) == null ? void 0 : Y.table) == null ? void 0 : Z.summaryMetric, i);
13478
+ const E = j(l.summaryMetric, i);
13479
+ return E !== void 0 ? E : j((Z = (Y = globalThis.$config) == null ? void 0 : Y.table) == null ? void 0 : Z.summaryMetric, i);
13483
13480
  };
13484
- return Ha(M, r.summary, { resolveMetric: Q });
13481
+ return Ha(C, r.summary, { resolveMetric: X });
13485
13482
  }
13486
13483
  return [];
13487
- }, f = () => {
13488
- _.value.$refs.scrollBarRef.setScrollTop(0);
13484
+ }, h = () => {
13485
+ g.value.$refs.scrollBarRef.setScrollTop(0);
13489
13486
  }, d = () => {
13490
- h({
13487
+ _({
13491
13488
  pageStart: 1
13492
13489
  });
13493
13490
  }, k = () => {
13494
- h();
13495
- }, S = (M) => {
13496
- if (n.selection = M, u("selection-change", M), n.shiftKey) {
13497
- const F = M[M.length - 2], Q = M[M.length - 1], i = r.list.filter1((U) => U.id === F.id).index || 0, E = r.list.filter1((U) => U.id === Q.id).index;
13491
+ _();
13492
+ }, S = (C) => {
13493
+ if (n.selection = C, u("selection-change", C), n.shiftKey) {
13494
+ const j = C[C.length - 2], X = C[C.length - 1], i = r.list.filter1((U) => U.id === j.id).index || 0, E = r.list.filter1((U) => U.id === X.id).index;
13498
13495
  let Y = i, Z = E;
13499
13496
  i > E && (Y = E, Z = i);
13500
13497
  for (let U = Y; U <= Z; U++)
13501
13498
  v.$refs.body.toggleRowSelection(r.list[U], !0);
13502
13499
  }
13503
- }, g = () => {
13504
- n.loading || (h({ refresh: !0 }), u("refresh"));
13500
+ }, y = () => {
13501
+ n.loading || (_({ refresh: !0 }), u("refresh"));
13505
13502
  }, b = () => {
13506
13503
  s.current = 0;
13507
- }, C = () => {
13504
+ }, M = () => {
13508
13505
  s.current = 1;
13509
- }, $ = () => {
13506
+ }, I = () => {
13510
13507
  n.tableKey++;
13511
13508
  }, w = () => {
13512
- document.addEventListener("keydown", P), document.addEventListener("keyup", j);
13513
- }, P = (M) => {
13514
- M.keyCode === 16 && (n.shiftKey = !0);
13515
- }, j = (M) => {
13516
- M.keyCode === 16 && (n.shiftKey = !1);
13517
- }, R = () => {
13518
- document.removeEventListener("keydown", P), document.removeEventListener("keyup", j);
13519
- }, J = ({ i: M, row: F }) => {
13520
- r.list[M] = F;
13509
+ document.addEventListener("keydown", P), document.addEventListener("keyup", B);
13510
+ }, P = (C) => {
13511
+ C.keyCode === 16 && (n.shiftKey = !0);
13512
+ }, B = (C) => {
13513
+ C.keyCode === 16 && (n.shiftKey = !1);
13514
+ }, F = () => {
13515
+ document.removeEventListener("keydown", P), document.removeEventListener("keyup", B);
13516
+ }, J = ({ i: C, row: j }) => {
13517
+ r.list[C] = j;
13521
13518
  }, x = p(() => {
13522
- var F;
13523
- let M = l.height || ((F = globalThis.$config.options) == null ? void 0 : F.pageHeight) || 640;
13524
- return l.noheader === !1 && (M -= 64), l.nofooter === !1 && (M -= 56), M -= l.minusHeight, M;
13525
- }), N = p(() => !!r.summary), W = p(() => r.nopagination === !0 ? "total" : "total,->,prev,pager,next,sizes"), A = p(() => {
13519
+ var j;
13520
+ let C = l.height || ((j = globalThis.$config.options) == null ? void 0 : j.pageHeight) || 640;
13521
+ return l.noheader === !1 && (C -= 64), l.nofooter === !1 && (C -= 56), C -= l.minusHeight, C;
13522
+ }), W = p(() => !!r.summary), D = p(() => r.nopagination === !0 ? "total" : "total,->,prev,pager,next,sizes"), f = p(() => {
13526
13523
  if (l.tool) {
13527
- const { column: M = !0, download: F = !0, refresh: Q = !0 } = l.tool;
13524
+ const { column: C = !0, download: j = !0, refresh: X = !0 } = l.tool;
13528
13525
  return {
13529
- column: M,
13530
- download: F,
13531
- refresh: Q
13526
+ column: C,
13527
+ download: j,
13528
+ refresh: X
13532
13529
  };
13533
13530
  } else
13534
13531
  return !1;
13535
13532
  });
13536
13533
  return ve(() => {
13537
- R();
13534
+ F();
13538
13535
  }), o({
13539
13536
  initTable: T,
13540
13537
  editRow: J
13541
- }), (M, F) => {
13542
- const Q = G("el-button"), i = G("Loading"), E = G("el-table"), Y = G("el-pagination"), Z = G("Drawer");
13543
- return z(), O("div", Er, [
13538
+ }), (C, j) => {
13539
+ const X = G("el-button"), i = G("Loading"), E = G("el-table"), Y = G("el-pagination"), Z = G("Drawer");
13540
+ return z(), O("div", Or, [
13544
13541
  l.noheader === !1 ? (z(), O("div", {
13545
13542
  key: 0,
13546
13543
  class: H(["flexMode hb g12 p16 bg-white", l.autoHeader ? "minh64" : "h64"])
@@ -13548,54 +13545,54 @@ const Bn = ca({
13548
13545
  m("div", {
13549
13546
  class: H(["flexMode vc flexGrow maxwp100", l.headerClass])
13550
13547
  }, [
13551
- q(M.$slots, "header", {}, void 0, !0)
13548
+ q(C.$slots, "header", {}, void 0, !0)
13552
13549
  ], 2),
13553
- t(A) ? (z(), O("div", Or, [
13554
- t(A).refresh ? (z(), le(Q, {
13550
+ t(f) ? (z(), O("div", Pr, [
13551
+ t(f).refresh ? (z(), le(X, {
13555
13552
  key: 0,
13556
- onClick: g
13553
+ onClick: y
13557
13554
  }, {
13558
- icon: B(() => [...F[2] || (F[2] = [
13555
+ icon: $(() => [...j[2] || (j[2] = [
13559
13556
  m("i", { class: "imicon im-reload" }, null, -1)
13560
13557
  ])]),
13561
- default: B(() => [
13562
- ie(" " + I(M.$l("Refresh")), 1)
13558
+ default: $(() => [
13559
+ ie(" " + N(C.$l("Refresh")), 1)
13563
13560
  ]),
13564
13561
  _: 1
13565
13562
  })) : K("", !0),
13566
- t(A).column ? (z(), le(Q, {
13563
+ t(f).column ? (z(), le(X, {
13567
13564
  key: 1,
13568
13565
  onClick: b
13569
13566
  }, {
13570
- icon: B(() => [...F[3] || (F[3] = [
13567
+ icon: $(() => [...j[3] || (j[3] = [
13571
13568
  m("i", { class: "imicon im-layout" }, null, -1)
13572
13569
  ])]),
13573
- default: B(() => [
13574
- ie(" " + I(M.$l("Columns")), 1)
13570
+ default: $(() => [
13571
+ ie(" " + N(C.$l("Columns")), 1)
13575
13572
  ]),
13576
13573
  _: 1
13577
13574
  })) : K("", !0),
13578
- t(A).download ? (z(), le(Q, {
13575
+ t(f).download ? (z(), le(X, {
13579
13576
  key: 2,
13580
- onClick: C
13577
+ onClick: M
13581
13578
  }, {
13582
- icon: B(() => [...F[4] || (F[4] = [
13579
+ icon: $(() => [...j[4] || (j[4] = [
13583
13580
  m("i", { class: "imicon im-download" }, null, -1)
13584
13581
  ])]),
13585
- default: B(() => [
13586
- ie(" " + I(M.$l("Download")), 1)
13582
+ default: $(() => [
13583
+ ie(" " + N(C.$l("Download")), 1)
13587
13584
  ]),
13588
13585
  _: 1
13589
13586
  })) : K("", !0)
13590
13587
  ])) : K("", !0)
13591
13588
  ], 2)) : K("", !0),
13592
- m("div", Pr, [
13593
- D(i, {
13589
+ m("div", xr, [
13590
+ R(i, {
13594
13591
  loading: t(n).loading
13595
13592
  }, null, 8, ["loading"]),
13596
13593
  (z(), le(E, {
13597
13594
  ref_key: "body",
13598
- ref: _,
13595
+ ref: g,
13599
13596
  key: t(n).tableKey,
13600
13597
  height: t(x),
13601
13598
  data: t(r).list,
@@ -13603,18 +13600,18 @@ const Bn = ca({
13603
13600
  "row-key": l.rowKey,
13604
13601
  stripe: "",
13605
13602
  border: "",
13606
- "show-summary": t(N),
13603
+ "show-summary": t(W),
13607
13604
  "summary-method": V,
13608
13605
  class: "MainTable",
13609
13606
  onSelectionChange: S
13610
13607
  }, {
13611
- default: B(() => [
13612
- D(t(Ft), oe({
13608
+ default: $(() => [
13609
+ R(t(Vt), oe({
13613
13610
  "table-name": l.tableName,
13614
- column: t(A) ? t(A).column : !1
13615
- }, M.$attrs), {
13616
- default: B(() => [
13617
- q(M.$slots, "default", {}, void 0, !0)
13611
+ column: t(f) ? t(f).column : !1
13612
+ }, C.$attrs), {
13613
+ default: $(() => [
13614
+ q(C.$slots, "default", {}, void 0, !0)
13618
13615
  ]),
13619
13616
  _: 3
13620
13617
  }, 16, ["table-name", "column"])
@@ -13622,37 +13619,37 @@ const Bn = ca({
13622
13619
  _: 3
13623
13620
  }, 8, ["height", "data", "default-expand-all", "row-key", "show-summary"]))
13624
13621
  ]),
13625
- l.nofooter === !1 ? (z(), O("div", xr, [
13626
- D(Y, {
13622
+ l.nofooter === !1 ? (z(), O("div", Lr, [
13623
+ R(Y, {
13627
13624
  "current-page": t(r).page,
13628
- "onUpdate:currentPage": F[0] || (F[0] = (U) => t(r).page = U),
13625
+ "onUpdate:currentPage": j[0] || (j[0] = (U) => t(r).page = U),
13629
13626
  background: "",
13630
13627
  total: t(r).total,
13631
13628
  "default-page-size": t(r).pageSize,
13632
13629
  "page-sizes": l.pageSizes,
13633
13630
  "pager-count": 5,
13634
- layout: t(W),
13631
+ layout: t(D),
13635
13632
  class: "wp100",
13636
13633
  onSizeChange: d,
13637
13634
  onCurrentChange: k
13638
13635
  }, null, 8, ["current-page", "total", "default-page-size", "page-sizes", "layout"])
13639
13636
  ])) : K("", !0),
13640
- D(Z, {
13637
+ R(Z, {
13641
13638
  current: t(s).current,
13642
- "onUpdate:current": F[1] || (F[1] = (U) => t(s).current = U),
13639
+ "onUpdate:current": j[1] || (j[1] = (U) => t(s).current = U),
13643
13640
  "table-name": l.tableName,
13644
13641
  drawer: t(s).list,
13645
13642
  list: t(r).list,
13646
13643
  selection: t(n).selection,
13647
- onInitColumn: $
13644
+ onInitColumn: I
13648
13645
  }, null, 8, ["current", "table-name", "drawer", "list", "selection"])
13649
13646
  ]);
13650
13647
  };
13651
13648
  }
13652
- }), Nr = /* @__PURE__ */ ne(Lr, [["__scopeId", "data-v-f79bf58d"]]), Ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13649
+ }), Ir = /* @__PURE__ */ ne(Nr, [["__scopeId", "data-v-f79bf58d"]]), $r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13653
13650
  __proto__: null,
13654
- default: Nr
13655
- }, Symbol.toStringTag, { value: "Module" })), $r = { class: "minh480 pt16" }, Br = /* @__PURE__ */ Object.assign({
13651
+ default: Ir
13652
+ }, Symbol.toStringTag, { value: "Module" })), Br = { class: "minh480 pt16" }, jr = /* @__PURE__ */ Object.assign({
13656
13653
  name: "MvcTabs",
13657
13654
  inheritAttrs: !1
13658
13655
  }, {
@@ -13701,22 +13698,22 @@ const Bn = ca({
13701
13698
  setup(a, { emit: o }) {
13702
13699
  const e = a, l = o, n = fe(), r = (c) => c == null ? c : ["Object", "Array"].includes(globalThis.$getType(c)) ? c[e.valueKey] : c, s = (c) => {
13703
13700
  l("update:modelValue", c);
13704
- const y = e.options.find((T) => r(T) === c);
13705
- l("change", c, y);
13706
- }, _ = p(
13701
+ const A = e.options.find((T) => r(T) === c);
13702
+ l("change", c, A);
13703
+ }, g = p(
13707
13704
  () => e.options.find((c) => r(c) === e.modelValue)
13708
13705
  ), v = p(() => {
13709
- const c = _.value;
13706
+ const c = g.value;
13710
13707
  if (!(!c || !["Object", "Array"].includes(globalThis.$getType(c))))
13711
13708
  return c[e.componentKey];
13712
13709
  }), u = p(() => {
13713
- const c = _.value;
13710
+ const c = g.value;
13714
13711
  return !c || !["Object", "Array"].includes(globalThis.$getType(c)) ? {} : c[e.panePropsKey] ?? {};
13715
13712
  });
13716
- return (c, y) => {
13713
+ return (c, A) => {
13717
13714
  const T = G("BtnGroup");
13718
13715
  return z(), O("div", oe({ class: "MvcTabs" }, t(n)), [
13719
- D(T, {
13716
+ R(T, {
13720
13717
  "model-value": e.modelValue,
13721
13718
  options: e.options,
13722
13719
  "value-key": e.valueKey,
@@ -13726,22 +13723,22 @@ const Bn = ca({
13726
13723
  disabled: e.disabled,
13727
13724
  "onUpdate:modelValue": s
13728
13725
  }, null, 8, ["model-value", "options", "value-key", "label-key", "icon-key", "icon-class", "disabled"]),
13729
- m("div", $r, [
13726
+ m("div", Br, [
13730
13727
  t(v) ? (z(), le(ia(t(v)), he(oe({ key: 0 }, t(u))), null, 16)) : K("", !0)
13731
13728
  ])
13732
13729
  ], 16);
13733
13730
  };
13734
13731
  }
13735
- }), jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13732
+ }), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13736
13733
  __proto__: null,
13737
- default: Br
13738
- }, Symbol.toStringTag, { value: "Module" })), Dr = {
13734
+ default: jr
13735
+ }, Symbol.toStringTag, { value: "Module" })), Rr = {
13739
13736
  key: 0,
13740
13737
  class: "MvcFieldLabel"
13741
- }, Rr = {
13738
+ }, Fr = {
13742
13739
  key: 1,
13743
13740
  class: "el-input__count"
13744
- }, Fr = /* @__PURE__ */ Object.assign({
13741
+ }, Vr = /* @__PURE__ */ Object.assign({
13745
13742
  name: "MvcTextarea",
13746
13743
  inheritAttrs: !1
13747
13744
  }, {
@@ -13793,61 +13790,61 @@ const Bn = ca({
13793
13790
  setup(a, { emit: o }) {
13794
13791
  const e = a, l = fe(), n = ae(null);
13795
13792
  let r = null;
13796
- const s = X({
13793
+ const s = Q({
13797
13794
  val: "",
13798
13795
  isComposing: !1,
13799
13796
  focused: !1
13800
- }), _ = o, { proxy: v } = pe(), u = p(() => {
13797
+ }), g = o, { proxy: v } = pe(), u = p(() => {
13801
13798
  const {
13802
- class: A,
13803
- max: M,
13804
- maxlength: F,
13805
- showWordLimit: Q,
13799
+ class: f,
13800
+ max: C,
13801
+ maxlength: j,
13802
+ showWordLimit: X,
13806
13803
  "show-word-limit": i,
13807
13804
  ...E
13808
13805
  } = l;
13809
13806
  return E;
13810
13807
  });
13811
13808
  se(() => {
13812
- var M, F;
13813
- const A = (M = n.value) == null ? void 0 : M.$el;
13814
- r = (F = A == null ? void 0 : A.querySelector) == null ? void 0 : F.call(A, "textarea"), r && (r.addEventListener("compositionstart", c), r.addEventListener("compositionend", y));
13809
+ var C, j;
13810
+ const f = (C = n.value) == null ? void 0 : C.$el;
13811
+ r = (j = f == null ? void 0 : f.querySelector) == null ? void 0 : j.call(f, "textarea"), r && (r.addEventListener("compositionstart", c), r.addEventListener("compositionend", A));
13815
13812
  });
13816
13813
  const c = () => {
13817
13814
  s.isComposing = !0;
13818
- }, y = () => {
13815
+ }, A = () => {
13819
13816
  s.isComposing = !1, me(() => S(s.val));
13820
- }, T = (A) => {
13821
- s.isComposing || S(A);
13822
- }, h = (A) => {
13823
- s.focused = !0, _("focus", A);
13824
- }, L = (A) => {
13825
- s.focused = !1, _("blur", A);
13826
- }, V = (A) => {
13827
- const M = String(A ?? "").split(/\r?\n/);
13828
- return e.output === "array" ? M : M.join(",");
13829
- }, f = (A) => Array.isArray(A) ? A.join(`
13830
- `) : String(A ?? "").replace(/,/g, `
13831
- `), d = (A) => {
13832
- const M = V(A);
13833
- _("update:modelValue", M), _("input", M);
13834
- }, k = (A) => !w.value || !$.value ? A : String(A ?? "").split(/\r?\n/).slice(0, $.value).join(`
13835
- `), S = (A) => {
13836
- const M = k(A);
13837
- M !== A && (s.val = M), d(M);
13838
- }, g = p(() => {
13817
+ }, T = (f) => {
13818
+ s.isComposing || S(f);
13819
+ }, _ = (f) => {
13820
+ s.focused = !0, g("focus", f);
13821
+ }, L = (f) => {
13822
+ s.focused = !1, g("blur", f);
13823
+ }, V = (f) => {
13824
+ const C = String(f ?? "").split(/\r?\n/);
13825
+ return e.output === "array" ? C : C.join(",");
13826
+ }, h = (f) => Array.isArray(f) ? f.join(`
13827
+ `) : String(f ?? "").replace(/,/g, `
13828
+ `), d = (f) => {
13829
+ const C = V(f);
13830
+ g("update:modelValue", C), g("input", C);
13831
+ }, k = (f) => !w.value || !I.value ? f : String(f ?? "").split(/\r?\n/).slice(0, I.value).join(`
13832
+ `), S = (f) => {
13833
+ const C = k(f);
13834
+ C !== f && (s.val = C), d(C);
13835
+ }, y = p(() => {
13839
13836
  if (!e.height) return v.$attrs["input-style"];
13840
- const A = typeof e.height == "number" ? `${e.height}px` : e.height;
13841
- return { ...v.$attrs["input-style"] && typeof v.$attrs["input-style"] == "object" ? { ...v.$attrs["input-style"] } : {}, height: A, minHeight: A };
13842
- }), b = p(() => e.wordLimtType === "word" && !!$.value), C = p(() => e.wordLimtType === "word" ? $.value : void 0), $ = p(() => {
13843
- const A = Number(v.$attrs.max ?? v.$attrs.maxlength);
13844
- return Number.isFinite(A) && A > 0 ? Math.floor(A) : void 0;
13845
- }), w = p(() => e.wordLimtType === "line"), P = p(() => w.value && !!$.value), j = p(() => {
13846
- const A = String(s.val ?? "");
13847
- return A ? A.split(/\r?\n/).length : 0;
13848
- }), R = p(() => String(s.val ?? "").length > 0), J = p(() => !!l.placeholder), x = p(
13849
- () => e.materialLabel && (s.focused || R.value || J.value)
13850
- ), N = p(() => ({
13837
+ const f = typeof e.height == "number" ? `${e.height}px` : e.height;
13838
+ return { ...v.$attrs["input-style"] && typeof v.$attrs["input-style"] == "object" ? { ...v.$attrs["input-style"] } : {}, height: f, minHeight: f };
13839
+ }), b = p(() => e.wordLimtType === "word" && !!I.value), M = p(() => e.wordLimtType === "word" ? I.value : void 0), I = p(() => {
13840
+ const f = Number(v.$attrs.max ?? v.$attrs.maxlength);
13841
+ return Number.isFinite(f) && f > 0 ? Math.floor(f) : void 0;
13842
+ }), w = p(() => e.wordLimtType === "line"), P = p(() => w.value && !!I.value), B = p(() => {
13843
+ const f = String(s.val ?? "");
13844
+ return f ? f.split(/\r?\n/).length : 0;
13845
+ }), F = p(() => String(s.val ?? "").length > 0), J = p(() => !!l.placeholder), x = p(
13846
+ () => e.materialLabel && (s.focused || F.value || J.value)
13847
+ ), W = p(() => ({
13851
13848
  [l.class]: !!l.class,
13852
13849
  hasLabel: !!e.label,
13853
13850
  isMaterialLabel: !!(e.label && e.materialLabel),
@@ -13856,50 +13853,50 @@ const Bn = ca({
13856
13853
  isFocused: s.focused,
13857
13854
  isDisabled: !!l.disabled,
13858
13855
  isTextarea: !0
13859
- })), W = p(
13856
+ })), D = p(
13860
13857
  () => e.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
13861
13858
  );
13862
13859
  return te(
13863
- [() => e.modelValue, $, w],
13864
- ([A]) => {
13865
- const M = k(f(A));
13866
- s.val !== M && (s.val = M);
13860
+ [() => e.modelValue, I, w],
13861
+ ([f]) => {
13862
+ const C = k(h(f));
13863
+ s.val !== C && (s.val = C);
13867
13864
  },
13868
13865
  { immediate: !0 }
13869
13866
  ), ve(() => {
13870
- r && (r.removeEventListener("compositionstart", c), r.removeEventListener("compositionend", y), r = null);
13871
- }), (A, M) => {
13872
- const F = G("el-input");
13867
+ r && (r.removeEventListener("compositionstart", c), r.removeEventListener("compositionend", A), r = null);
13868
+ }), (f, C) => {
13869
+ const j = G("el-input");
13873
13870
  return z(), O("div", {
13874
- class: H(["MvcField MvcFieldTextarea", t(N)]),
13875
- style: de(t(W))
13871
+ class: H(["MvcField MvcFieldTextarea", t(W)]),
13872
+ style: de(t(D))
13876
13873
  }, [
13877
- e.label ? (z(), O("label", Dr, I(e.label), 1)) : K("", !0),
13878
- D(F, oe({
13874
+ e.label ? (z(), O("label", Rr, N(e.label), 1)) : K("", !0),
13875
+ R(j, oe({
13879
13876
  ref_key: "inputRef",
13880
13877
  ref: n,
13881
13878
  type: "textarea",
13882
13879
  modelValue: t(s).val,
13883
- "onUpdate:modelValue": M[0] || (M[0] = (Q) => t(s).val = Q),
13880
+ "onUpdate:modelValue": C[0] || (C[0] = (X) => t(s).val = X),
13884
13881
  rows: e.rows,
13885
13882
  style: t(u).style,
13886
- "input-style": t(g),
13883
+ "input-style": t(y),
13887
13884
  "show-word-limit": t(b),
13888
- maxlength: t(C),
13885
+ maxlength: t(M),
13889
13886
  resize: e.resize,
13890
13887
  class: "MvcTextarea"
13891
13888
  }, t(u), {
13892
13889
  onInput: T,
13893
- onFocus: h,
13890
+ onFocus: _,
13894
13891
  onBlur: L
13895
13892
  }), null, 16, ["modelValue", "rows", "style", "input-style", "show-word-limit", "maxlength", "resize"]),
13896
- t(P) ? (z(), O("span", Rr, I(t(j)) + " / " + I(t($)), 1)) : K("", !0)
13893
+ t(P) ? (z(), O("span", Fr, N(t(B)) + " / " + N(t(I)), 1)) : K("", !0)
13897
13894
  ], 6);
13898
13895
  };
13899
13896
  }
13900
- }), Vr = /* @__PURE__ */ ne(Fr, [["__scopeId", "data-v-467a9b5a"]]), Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13897
+ }), Gr = /* @__PURE__ */ ne(Vr, [["__scopeId", "data-v-467a9b5a"]]), Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13901
13898
  __proto__: null,
13902
- default: Vr
13899
+ default: Gr
13903
13900
  }, Symbol.toStringTag, { value: "Module" })), na = /* @__PURE__ */ Object.assign({
13904
13901
  "../component/BtnGroup/index.vue": gn,
13905
13902
  "../component/Card/index.vue": wn,
@@ -13908,28 +13905,28 @@ const Bn = ca({
13908
13905
  "../component/Form/index.vue": Rn,
13909
13906
  "../component/Frame/index.vue": So,
13910
13907
  "../component/Icon/index.vue": Mo,
13911
- "../component/Input/index.vue": Oo,
13912
- "../component/InputNumber/index.vue": Lo,
13913
- "../component/Lang/index.vue": Ro,
13914
- "../component/List/index.vue": Uo,
13915
- "../component/Loading/index.vue": Yo,
13916
- "../component/Login/index.vue": ct,
13917
- "../component/Mention/index.vue": bt,
13918
- "../component/Note/index.vue": ft,
13919
- "../component/Page/index.vue": St,
13920
- "../component/Select/index.vue": xt,
13921
- "../component/SelectV2/index.vue": Rt,
13922
- "../component/Table/index.vue": Ir,
13923
- "../component/Tabs/index.vue": jr,
13924
- "../component/Textarea/index.vue": Gr
13925
- }), Kr = {
13908
+ "../component/Input/index.vue": Po,
13909
+ "../component/InputNumber/index.vue": No,
13910
+ "../component/Lang/index.vue": Fo,
13911
+ "../component/List/index.vue": Ho,
13912
+ "../component/Loading/index.vue": Wo,
13913
+ "../component/Login/index.vue": ut,
13914
+ "../component/Mention/index.vue": vt,
13915
+ "../component/Note/index.vue": ht,
13916
+ "../component/Page/index.vue": Tt,
13917
+ "../component/Select/index.vue": Lt,
13918
+ "../component/SelectV2/index.vue": Ft,
13919
+ "../component/Table/index.vue": $r,
13920
+ "../component/Tabs/index.vue": Dr,
13921
+ "../component/Textarea/index.vue": Kr
13922
+ }), Ur = {
13926
13923
  VTable: () => import("./vtable.js")
13927
- }, Ur = ["VTable"];
13928
- function Hr(a) {
13924
+ }, Hr = ["VTable"];
13925
+ function Jr(a) {
13929
13926
  return a.match(/\.\.\/component\/(.*)\/index.vue/)[1];
13930
13927
  }
13931
- function Jr(a = {}) {
13932
- const o = a == null ? void 0 : a.async, e = new Set(Ur);
13928
+ function Zr(a = {}) {
13929
+ const o = a == null ? void 0 : a.async, e = new Set(Hr);
13933
13930
  if (Array.isArray(o))
13934
13931
  for (const l of o)
13935
13932
  e.add(l);
@@ -13938,20 +13935,20 @@ function Jr(a = {}) {
13938
13935
  n ? e.add(l) : e.delete(l);
13939
13936
  return e;
13940
13937
  }
13941
- const Zr = (a, o = {}) => {
13942
- const e = Jr(o);
13938
+ const Yr = (a, o = {}) => {
13939
+ const e = Zr(o);
13943
13940
  for (let l in na) {
13944
- let n = Hr(l);
13941
+ let n = Jr(l);
13945
13942
  a.component(n, na[l].default);
13946
13943
  }
13947
13944
  for (const l of e) {
13948
- const n = Kr[l];
13945
+ const n = Ur[l];
13949
13946
  n && a.component(l, ua(n));
13950
13947
  }
13951
- }, Yr = {
13948
+ }, Wr = {
13952
13949
  name: "Matt Avias Frame",
13953
13950
  copyright: "©2026",
13954
- version: "1.1.20",
13951
+ version: "1.1.21",
13955
13952
  author: "Matt Avias",
13956
13953
  date: "2026-02-26",
13957
13954
  /** 默认语言 key,与 `$getLang`、localStorage `lang` 一致;业务在 app.use(mvframe, { config }) 里覆盖 */
@@ -13974,36 +13971,36 @@ const Zr = (a, o = {}) => {
13974
13971
  loginPageName: "Entry",
13975
13972
  // Login为保留名称
13976
13973
  firstPageName: "Overview_Home"
13977
- }, Wr = {
13974
+ }, qr = {
13978
13975
  url: "//at.alicdn.com/t/c/font_4830641_s8ulvguq839.js",
13979
13976
  prefix: "ant"
13980
- }, qr = (a, o = {}) => {
13977
+ }, Xr = (a, o = {}) => {
13981
13978
  globalThis.$config = {
13982
- ...Yr,
13983
- iconfont: Wr,
13979
+ ...Wr,
13980
+ iconfont: qr,
13984
13981
  ...o
13985
13982
  };
13986
- }, vs = (a, o = {}) => {
13987
- a.use(qr, o.config).use(un, o.maps).use(Ja, o).use(Zr, o.components).use(Ia).use(Ya, o.notify).use($a).use(Ba, o.pinia).use(pn, o.vueRouter).use(Za, o.lang);
13983
+ }, ps = (a, o = {}) => {
13984
+ a.use(Xr, o.config).use(un, o.maps).use(Ja, o).use(Yr, o.components).use(Ia).use(Ya, o.notify).use($a).use(Ba, o.pinia).use(pn, o.vueRouter).use(Za, o.lang);
13988
13985
  };
13989
13986
  export {
13990
13987
  kn as D,
13991
13988
  nl as M,
13992
13989
  ne as _,
13993
- cs as a,
13990
+ us as a,
13994
13991
  sn as b,
13995
13992
  Fe as c,
13996
- bs as d,
13997
- ds as e,
13998
- ms as f,
13999
- is as g,
13993
+ vs as d,
13994
+ ms as e,
13995
+ bs as f,
13996
+ cs as g,
14000
13997
  un as h,
14001
13998
  ye as i,
14002
- ss as j,
14003
- vs as k,
13999
+ is as j,
14000
+ ps as k,
14004
14001
  ge as m,
14005
14002
  ll as n,
14006
- us as p,
14003
+ ds as p,
14007
14004
  we as s,
14008
14005
  Ve as u
14009
14006
  };