mvframe 1.1.16 → 1.1.18

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 Na } from "./util.js";
2
2
  import { d as Ia } from "./directive.js";
3
3
  import { s as na, p as oa, a as $a } from "./store-shared.js";
4
4
  import { createRouter as Ba, createWebHistory as ja, useRoute as ta, useRouter as ra } from "vue-router";
5
- import { computed as p, openBlock as A, createElementBlock as E, mergeProps as oe, unref as t, Fragment as re, renderList as ce, normalizeClass as H, createCommentVNode as J, 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 V, createVNode as D, withCtx as B, createBlock as le, resolveDynamicComponent as sa, nextTick as me, getCurrentInstance as pe, ref as ee, onMounted as se, normalizeStyle as de, defineComponent as ia, cloneVNode as Ge, h as Ke, inject as Ae, withModifiers as _e, defineAsyncComponent as ca, Teleport as Da, Transition as ua, createSlots as be, normalizeProps as he, guardReactiveProps as ze, useSlots as Pe, useAttrs as fe, withKeys as da, createStaticVNode as Ra, isRef as ma, onBeforeMount as Fa } from "vue";
5
+ import { computed as p, openBlock as A, createElementBlock as k, mergeProps as oe, unref as t, Fragment as re, renderList as ce, normalizeClass as H, createCommentVNode as J, createTextVNode as ie, toDisplayString as $, renderSlot as q, createElementVNode as m, reactive as X, onUnmounted as ve, watch as te, markRaw as Te, resolveComponent as G, createVNode as R, withCtx as j, createBlock as le, resolveDynamicComponent as sa, nextTick as me, getCurrentInstance as pe, ref as ee, onMounted as se, normalizeStyle as de, defineComponent as ia, cloneVNode as Ge, h as Ke, inject as Ae, withModifiers as _e, defineAsyncComponent as ca, Teleport as Da, Transition as ua, createSlots as be, normalizeProps as he, guardReactiveProps as ze, useSlots as Pe, useAttrs as fe, withKeys as da, createStaticVNode as Ra, isRef as ma, onBeforeMount as Fa } from "vue";
6
6
  /* empty css */
7
7
  import { deepEqual as Ue, isInView as Va, loadMvframeTheme as Ga, MVFRAME_STORAGE_LANG as He, download as Ka, useRemoteSummary as Ua, useOptions as Ha, useLang as Ja } from "./composition.js";
8
8
  import Je from "vuedraggable";
@@ -1162,10 +1162,10 @@ const Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1162
1162
  const c = ((F = new Intl.DateTimeFormat("en-US", {
1163
1163
  timeZone: a,
1164
1164
  timeZoneName: "longOffset"
1165
- }).formatToParts(v).find((_) => _.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : F[0]) || "+00:00", [y, w, h, x] = c.match(
1165
+ }).formatToParts(v).find((f) => f.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : F[0]) || "+00:00", [y, S, h, x] = c.match(
1166
1166
  /([+-])(\d{2})(?::?(\d{2}))?/
1167
1167
  );
1168
- return (w === "+" ? -1 : 1) * (parseInt(h) * 60 + parseInt(x || "00"));
1168
+ return (S === "+" ? -1 : 1) * (parseInt(h) * 60 + parseInt(x || "00"));
1169
1169
  }, r = n(o), s = n(e), g = n(l);
1170
1170
  return r < Math.max(s, g);
1171
1171
  }
@@ -9830,8 +9830,8 @@ function we(a, o) {
9830
9830
  }, 200));
9831
9831
  };
9832
9832
  if (r || n === 0) {
9833
- const w = document.createElement("button");
9834
- w.type = "button", w.className = "mvframeTopToastClose", w.setAttribute("aria-label", "Close"), w.textContent = "×", w.addEventListener("click", y), g.appendChild(w);
9833
+ const S = document.createElement("button");
9834
+ S.type = "button", S.className = "mvframeTopToastClose", S.setAttribute("aria-label", "Close"), S.textContent = "×", S.addEventListener("click", y), g.appendChild(S);
9835
9835
  }
9836
9836
  s.appendChild(g), n > 0 && (u = window.setTimeout(y, n));
9837
9837
  }
@@ -9925,10 +9925,10 @@ const Se = (a) => {
9925
9925
  }, r = (u) => {
9926
9926
  e.disabled || (l("update:modelValue", u.value), l("change", u.value));
9927
9927
  }, s = p(() => {
9928
- const u = e.options, c = Array.isArray(u) ? u : [], y = e.valueKey, w = e.labelKey, h = e.iconKey;
9928
+ const u = e.options, c = Array.isArray(u) ? u : [], y = e.valueKey, S = e.labelKey, h = e.iconKey;
9929
9929
  return c.filter((x) => x != null).map((x) => typeof x == "object" && !Array.isArray(x) ? {
9930
9930
  value: x[y],
9931
- label: x[w] ?? "",
9931
+ label: x[S] ?? "",
9932
9932
  icon: x[h] || "",
9933
9933
  disabled: x.disabled,
9934
9934
  raw: x
@@ -9940,22 +9940,22 @@ const Se = (a) => {
9940
9940
  raw: x
9941
9941
  });
9942
9942
  }), g = p(() => ({ small: "g4", default: "g6", large: "g8" })[e.size] ?? "g6"), v = p(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : "");
9943
- return (u, c) => (A(), E("div", oe({
9943
+ return (u, c) => (A(), k("div", oe({
9944
9944
  class: ["MvcBtnGroup flexMode", [t(g), t(v), u.$attrs.class]]
9945
9945
  }, u.$attrs, { role: "group" }), [
9946
- (A(!0), E(re, null, ce(t(s), (y) => (A(), E("button", {
9946
+ (A(!0), k(re, null, ce(t(s), (y) => (A(), k("button", {
9947
9947
  key: y.value,
9948
9948
  type: "button",
9949
9949
  class: H(["btnItem", { isActive: n(y) }]),
9950
9950
  disabled: e.disabled || y.disabled,
9951
- onClick: (w) => r(y)
9951
+ onClick: (S) => r(y)
9952
9952
  }, [
9953
- y.icon ? (A(), E("i", {
9953
+ y.icon ? (A(), k("i", {
9954
9954
  key: 0,
9955
9955
  class: H([[y.icon, e.iconClass], "noShrink fs16"]),
9956
9956
  "aria-hidden": "true"
9957
9957
  }, null, 2)) : J("", !0),
9958
- ie(" " + I(u.$l(y.label)), 1)
9958
+ ie(" " + $(u.$l(y.label)), 1)
9959
9959
  ], 10, pn))), 128))
9960
9960
  ], 16));
9961
9961
  }
@@ -10003,21 +10003,21 @@ const Se = (a) => {
10003
10003
  },
10004
10004
  setup(a) {
10005
10005
  const o = a;
10006
- return (e, l) => (A(), E("div", oe({
10006
+ return (e, l) => (A(), k("div", oe({
10007
10007
  class: ["MvcCard", { "MvcCard--fillParent": o.fillParent }]
10008
10008
  }, e.$attrs), [
10009
- o.title || e.$slots.header ? (A(), E("div", {
10009
+ o.title || e.$slots.header ? (A(), k("div", {
10010
10010
  key: 0,
10011
10011
  class: H(["header", o.headerClass])
10012
10012
  }, [
10013
- e.$slots.header ? q(e.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (A(), E("span", gn, I(o.title), 1)) : J("", !0)
10013
+ e.$slots.header ? q(e.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (A(), k("span", gn, $(o.title), 1)) : J("", !0)
10014
10014
  ], 2)) : J("", !0),
10015
10015
  m("div", {
10016
10016
  class: H(["body", o.bodyClass])
10017
10017
  }, [
10018
10018
  q(e.$slots, "default", {}, void 0, !0)
10019
10019
  ], 2),
10020
- e.$slots.footer ? (A(), E("div", {
10020
+ e.$slots.footer ? (A(), k("div", {
10021
10021
  key: 1,
10022
10022
  class: H(["footer", o.footerClass])
10023
10023
  }, [
@@ -10074,43 +10074,43 @@ const Se = (a) => {
10074
10074
  n.drawerInfo.visible && (r("update:current", ""), n.drawerInfo.visible = !1);
10075
10075
  }, u = () => {
10076
10076
  n.drawerInfo.cpt = n.cpt;
10077
- }, c = (_) => {
10078
- n.dragMode = !0, document.addEventListener("mousemove", y), document.addEventListener("mouseup", w);
10079
- }, y = (_) => {
10080
- var d, T;
10081
- if (_.x > 80) {
10082
- const C = (((T = (d = globalThis.$config) == null ? void 0 : d.options) == null ? void 0 : T.innerWidth) ?? window.innerWidth) - _.x;
10083
- C > 480 && (n.drawerInfo.size = C);
10077
+ }, c = (f) => {
10078
+ n.dragMode = !0, document.addEventListener("mousemove", y), document.addEventListener("mouseup", S);
10079
+ }, y = (f) => {
10080
+ var d, C;
10081
+ if (f.x > 80) {
10082
+ const _ = (((C = (d = globalThis.$config) == null ? void 0 : d.options) == null ? void 0 : C.innerWidth) ?? window.innerWidth) - f.x;
10083
+ _ > 480 && (n.drawerInfo.size = _);
10084
10084
  }
10085
- }, w = () => {
10085
+ }, S = () => {
10086
10086
  n.dragMode = !1, h();
10087
10087
  }, h = () => {
10088
- document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", w);
10088
+ document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", S);
10089
10089
  }, x = p(() => !!n.drawerInfo.title), F = p(() => !e.keepalive);
10090
10090
  return ve(() => {
10091
10091
  h();
10092
10092
  }), te(
10093
10093
  () => e.current,
10094
- (_) => {
10094
+ (f) => {
10095
10095
  if (e.drawer.length)
10096
- if (window.$getType(_) === "Number") {
10097
- const d = e.drawer[_], T = {
10096
+ if (window.$getType(f) === "Number") {
10097
+ const d = e.drawer[f], C = {
10098
10098
  ...d,
10099
10099
  size: d.size || 640,
10100
10100
  direction: d.direction || "rtl",
10101
10101
  visible: !0
10102
10102
  };
10103
- T.cpt ? (n.cpt = Te(T.cpt), delete T.cpt) : (n.cpt = null, s()), n.drawerInfo = T;
10103
+ C.cpt ? (n.cpt = Te(C.cpt), delete C.cpt) : (n.cpt = null, s()), n.drawerInfo = C;
10104
10104
  } else
10105
10105
  v();
10106
10106
  }
10107
- ), (_, d) => {
10108
- const T = V("Loading"), b = V("el-drawer");
10109
- return A(), E("div", wn, [
10110
- D(b, {
10107
+ ), (f, d) => {
10108
+ const C = G("Loading"), z = G("el-drawer");
10109
+ return A(), k("div", wn, [
10110
+ R(z, {
10111
10111
  modelValue: t(n).drawerInfo.visible,
10112
- "onUpdate:modelValue": d[0] || (d[0] = (C) => t(n).drawerInfo.visible = C),
10113
- title: _.$l(t(n).drawerInfo.title),
10112
+ "onUpdate:modelValue": d[0] || (d[0] = (_) => t(n).drawerInfo.visible = _),
10113
+ title: f.$l(t(n).drawerInfo.title),
10114
10114
  "with-header": t(x),
10115
10115
  "append-to-body": "",
10116
10116
  size: t(n).drawerInfo.size,
@@ -10121,7 +10121,7 @@ const Se = (a) => {
10121
10121
  onOpened: u,
10122
10122
  class: H(t(n).dragMode && "notransition noevent noselect")
10123
10123
  }, {
10124
- default: B(() => [
10124
+ default: j(() => [
10125
10125
  m("div", Sn, [
10126
10126
  m("div", {
10127
10127
  class: H(["dragHandle", t(n).dragMode && "active"]),
@@ -10130,16 +10130,16 @@ const Se = (a) => {
10130
10130
  m("i", { class: "imicon im-handle fs12" }, null, -1)
10131
10131
  ])], 34)
10132
10132
  ]),
10133
- t(x) ? J("", !0) : (A(), E("div", Tn, [
10133
+ t(x) ? J("", !0) : (A(), k("div", Tn, [
10134
10134
  m("i", {
10135
10135
  class: "imicon im-close fs20 txt-dark7 hover-txt-primary",
10136
10136
  onClick: v
10137
10137
  })
10138
10138
  ])),
10139
- D(T, {
10139
+ R(C, {
10140
10140
  loading: !t(n).mounted
10141
10141
  }, null, 8, ["loading"]),
10142
- _.$slots.default ? q(_.$slots, "default", { key: 1 }, void 0, !0) : (A(), le(sa(t(n).drawerInfo.cpt), oe({ key: 2 }, _.$attrs, {
10142
+ f.$slots.default ? q(f.$slots, "default", { key: 1 }, void 0, !0) : (A(), le(sa(t(n).drawerInfo.cpt), oe({ key: 2 }, f.$attrs, {
10143
10143
  params: t(n).drawerInfo.params,
10144
10144
  onClose: v,
10145
10145
  onMounted: s
@@ -10228,9 +10228,9 @@ const Se = (a) => {
10228
10228
  };
10229
10229
  o({
10230
10230
  toClose: g,
10231
- scrollTo: (w) => {
10231
+ scrollTo: (S) => {
10232
10232
  var h;
10233
- (h = r.value) == null || h.setScrollTop(w);
10233
+ (h = r.value) == null || h.setScrollTop(S);
10234
10234
  }
10235
10235
  });
10236
10236
  const c = p(() => [l.loading && "noevent", n.$attrs.class]), y = p(() => {
@@ -10239,68 +10239,68 @@ const Se = (a) => {
10239
10239
  height: l.height ? `${3.5 + h + l.height / 16}rem` : `calc(100vh - ${3.5}rem - ${h}rem - ${l.minusHeight / 16}rem)`
10240
10240
  };
10241
10241
  });
10242
- return (w, h) => {
10243
- const x = V("Loading"), F = V("el-scrollbar"), _ = V("el-button");
10244
- return A(), E(re, null, [
10242
+ return (S, h) => {
10243
+ const x = G("Loading"), F = G("el-scrollbar"), f = G("el-button");
10244
+ return A(), k(re, null, [
10245
10245
  m("div", {
10246
10246
  class: H(["MvcDrawerBody VAfter", t(c)]),
10247
10247
  style: de(t(y))
10248
10248
  }, [
10249
- D(x, {
10249
+ R(x, {
10250
10250
  loading: l.loading,
10251
10251
  txt: l.loadingTxt
10252
10252
  }, null, 8, ["loading", "txt"]),
10253
- l.noscroll ? q(w.$slots, "default", { key: 0 }, void 0, !0) : (A(), le(F, {
10253
+ l.noscroll ? q(S.$slots, "default", { key: 0 }, void 0, !0) : (A(), le(F, {
10254
10254
  key: 1,
10255
10255
  ref_key: "scrollbar",
10256
10256
  ref: r,
10257
10257
  class: "wp100"
10258
10258
  }, {
10259
- default: B(() => [
10260
- q(w.$slots, "default", {}, void 0, !0)
10259
+ default: j(() => [
10260
+ q(S.$slots, "default", {}, void 0, !0)
10261
10261
  ]),
10262
10262
  _: 3
10263
10263
  }, 512))
10264
10264
  ], 6),
10265
- l.nofooter ? J("", !0) : (A(), E("div", {
10265
+ l.nofooter ? J("", !0) : (A(), k("div", {
10266
10266
  key: 0,
10267
10267
  class: H(["drawerFooter relative flexMode vc hb h64", l.footerClass])
10268
10268
  }, [
10269
- w.$slots.footer ? q(w.$slots, "footer", { key: 0 }, void 0, !0) : (A(), E("div", En, [
10270
- w.$slots.cancel ? q(w.$slots, "cancel", { key: 0 }, void 0, !0) : l.showCancel ? (A(), le(_, {
10269
+ S.$slots.footer ? q(S.$slots, "footer", { key: 0 }, void 0, !0) : (A(), k("div", En, [
10270
+ S.$slots.cancel ? q(S.$slots, "cancel", { key: 0 }, void 0, !0) : l.showCancel ? (A(), le(f, {
10271
10271
  key: 1,
10272
10272
  plain: "",
10273
10273
  size: "large",
10274
10274
  onClick: g
10275
10275
  }, {
10276
- icon: B(() => [
10276
+ icon: j(() => [
10277
10277
  m("i", {
10278
10278
  class: H(["imicon", l.cancelIcon])
10279
10279
  }, null, 2)
10280
10280
  ]),
10281
- default: B(() => [
10282
- m("span", On, I(w.$l(l.cancelTxt)), 1)
10281
+ default: j(() => [
10282
+ m("span", On, $(S.$l(l.cancelTxt)), 1)
10283
10283
  ]),
10284
10284
  _: 1
10285
10285
  })) : J("", !0),
10286
- w.$slots.submit ? q(w.$slots, "submit", { key: 2 }, void 0, !0) : l.showConfirm ? (A(), le(_, {
10286
+ S.$slots.submit ? q(S.$slots, "submit", { key: 2 }, void 0, !0) : l.showConfirm ? (A(), le(f, {
10287
10287
  key: 3,
10288
10288
  type: "primary",
10289
10289
  size: "large",
10290
10290
  loading: l.loading,
10291
10291
  onClick: v
10292
10292
  }, {
10293
- icon: B(() => [
10293
+ icon: j(() => [
10294
10294
  m("i", {
10295
10295
  class: H(["imicon", l.confirmIcon])
10296
10296
  }, null, 2)
10297
10297
  ]),
10298
- default: B(() => [
10299
- m("span", Pn, I(w.$l(l.confirmTxt)), 1)
10298
+ default: j(() => [
10299
+ m("span", Pn, $(S.$l(l.confirmTxt)), 1)
10300
10300
  ]),
10301
10301
  _: 1
10302
10302
  }, 8, ["loading"])) : J("", !0),
10303
- w.$slots.footerright ? q(w.$slots, "footerright", { key: 4 }, void 0, !0) : J("", !0)
10303
+ S.$slots.footerright ? q(S.$slots, "footerright", { key: 4 }, void 0, !0) : J("", !0)
10304
10304
  ]))
10305
10305
  ], 2))
10306
10306
  ], 64);
@@ -10343,8 +10343,8 @@ const $n = ia({
10343
10343
  if (((g = n.type) == null ? void 0 : g.name) === "ElFormItem" && ((v = n.props) == null ? void 0 : v.label) != null) {
10344
10344
  const y = ((c = (u = n.props.label).$l) == null ? void 0 : c.call(u)) || n.props.label;
10345
10345
  if (s === "Array") {
10346
- const w = e(r);
10347
- return aa(w, r) ? Ge(n, { label: y }) : Ke(n.type, { ...n.props || {}, label: y }, w);
10346
+ const S = e(r);
10347
+ return aa(S, r) ? Ge(n, { label: y }) : Ke(n.type, { ...n.props || {}, label: y }, S);
10348
10348
  }
10349
10349
  return Ge(n, { label: y });
10350
10350
  }
@@ -10391,9 +10391,9 @@ const $n = ia({
10391
10391
  }, v = () => n.form, u = p(() => {
10392
10392
  const c = {};
10393
10393
  for (let y in l.rules)
10394
- c[y] = l.rules[y].map((w) => ({
10395
- ...w,
10396
- ...w.message && { message: window.$l(w.message) }
10394
+ c[y] = l.rules[y].map((S) => ({
10395
+ ...S,
10396
+ ...S.message && { message: window.$l(S.message) }
10397
10397
  }));
10398
10398
  return c;
10399
10399
  });
@@ -10417,9 +10417,9 @@ const $n = ia({
10417
10417
  ), o({
10418
10418
  validate: g
10419
10419
  }), (c, y) => {
10420
- const w = V("el-form");
10421
- return A(), E("div", Bn, [
10422
- D(w, {
10420
+ const S = G("el-form");
10421
+ return A(), k("div", Bn, [
10422
+ R(S, {
10423
10423
  ref: "form",
10424
10424
  model: t(n).form,
10425
10425
  rules: t(u),
@@ -10427,9 +10427,9 @@ const $n = ia({
10427
10427
  "validate-on-rule-change": !1,
10428
10428
  "label-position": "top"
10429
10429
  }, {
10430
- default: B(() => [
10431
- D(t($n), null, {
10432
- default: B(() => [
10430
+ default: j(() => [
10431
+ R(t($n), null, {
10432
+ default: j(() => [
10433
10433
  q(c.$slots, "default")
10434
10434
  ]),
10435
10435
  _: 3
@@ -10460,139 +10460,139 @@ const $n = ia({
10460
10460
  });
10461
10461
  const c = () => {
10462
10462
  u.$el.addEventListener("scroll", F);
10463
- }, y = (S) => {
10464
- let O = S == null ? void 0 : S.parentElement;
10465
- for (; O && O !== document.body; ) {
10466
- const { overflowY: k, overflow: j } = getComputedStyle(O), G = k || j;
10467
- if ((G === "auto" || G === "scroll" || G === "overlay") && O.scrollHeight > O.clientHeight)
10468
- return O;
10469
- O = O.parentElement;
10463
+ }, y = (w) => {
10464
+ let E = w == null ? void 0 : w.parentElement;
10465
+ for (; E && E !== document.body; ) {
10466
+ const { overflowY: O, overflow: I } = getComputedStyle(E), V = O || I;
10467
+ if ((V === "auto" || V === "scroll" || V === "overlay") && E.scrollHeight > E.clientHeight)
10468
+ return E;
10469
+ E = E.parentElement;
10470
10470
  }
10471
10471
  return null;
10472
- }, w = () => {
10473
- const S = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop, O = e ? e.scrollTop : 0;
10474
- o.pageScrolled = S > 0 || O > 0;
10472
+ }, S = () => {
10473
+ const w = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop, E = e ? e.scrollTop : 0;
10474
+ o.pageScrolled = w > 0 || E > 0;
10475
10475
  }, h = () => {
10476
10476
  e = y(u.$el);
10477
- const S = () => {
10478
- w();
10477
+ const w = () => {
10478
+ S();
10479
10479
  };
10480
- window.addEventListener("scroll", S, { passive: !0 }), e && e.addEventListener("scroll", S, { passive: !0 }), w(), l = () => {
10481
- window.removeEventListener("scroll", S), e && e.removeEventListener("scroll", S), e = null;
10480
+ window.addEventListener("scroll", w, { passive: !0 }), e && e.addEventListener("scroll", w, { passive: !0 }), S(), l = () => {
10481
+ window.removeEventListener("scroll", w), e && e.removeEventListener("scroll", w), e = null;
10482
10482
  };
10483
10483
  }, x = () => {
10484
- const S = localStorage.getItem("tabsScroll");
10485
- S && (u.$el.scrollLeft = Number(S));
10486
- }, F = (S) => {
10487
- let O = null;
10488
- O !== null && clearTimeout(O), O = setTimeout(function() {
10489
- const { scrollLeft: k } = S.target;
10490
- localStorage.setItem("tabsScroll", k);
10484
+ const w = localStorage.getItem("tabsScroll");
10485
+ w && (u.$el.scrollLeft = Number(w));
10486
+ }, F = (w) => {
10487
+ let E = null;
10488
+ E !== null && clearTimeout(E), E = setTimeout(function() {
10489
+ const { scrollLeft: O } = w.target;
10490
+ localStorage.setItem("tabsScroll", O);
10491
10491
  }, 100);
10492
- }, _ = () => {
10492
+ }, f = () => {
10493
10493
  me(() => {
10494
- const S = u.$el.querySelector(`#tab_${z.value}`);
10495
- Va(u.$el, S) ? x() : u.$el.scrollLeft = (S == null ? void 0 : S.offsetLeft) - 16;
10494
+ const w = u.$el.querySelector(`#tab_${T.value}`);
10495
+ Va(u.$el, w) ? x() : u.$el.scrollLeft = (w == null ? void 0 : w.offsetLeft) - 16;
10496
10496
  });
10497
- }, d = (S, O, k) => {
10497
+ }, d = (w, E, O) => {
10498
10498
  s.saveData("type", "tabManager"), s.saveData("options", [
10499
10499
  {
10500
10500
  label: "Close",
10501
10501
  value: "close",
10502
10502
  icon: "im-close",
10503
- disabled: f.value.length === 1,
10503
+ disabled: b.value.length === 1,
10504
10504
  cb: () => {
10505
- r.closeTab(O, k);
10505
+ r.closeTab(E, O);
10506
10506
  }
10507
10507
  },
10508
10508
  {
10509
10509
  label: "Close Right",
10510
10510
  value: "closeRight",
10511
10511
  icon: "im-right",
10512
- disabled: k === f.value.length - 1,
10512
+ disabled: O === b.value.length - 1,
10513
10513
  cb: () => {
10514
- r.closeRightTab(O, k);
10514
+ r.closeRightTab(E, O);
10515
10515
  }
10516
10516
  },
10517
10517
  {
10518
10518
  label: "Close Left",
10519
10519
  value: "closeLeft",
10520
10520
  icon: "im-left",
10521
- disabled: k === 0,
10521
+ disabled: O === 0,
10522
10522
  cb: () => {
10523
- r.closeLeftTab(O, k);
10523
+ r.closeLeftTab(E, O);
10524
10524
  }
10525
10525
  },
10526
10526
  {
10527
10527
  label: "Close Other",
10528
10528
  value: "closeOther",
10529
10529
  icon: "im-left",
10530
- disabled: f.value.length === 1,
10530
+ disabled: b.value.length === 1,
10531
10531
  cb: () => {
10532
- r.closeOtherTab(O, k);
10532
+ r.closeOtherTab(E, O);
10533
10533
  }
10534
10534
  }
10535
10535
  ]), s.show({
10536
10536
  position: {
10537
- x: S.clientX,
10538
- y: S.clientY
10537
+ x: w.clientX,
10538
+ y: w.clientY
10539
10539
  }
10540
10540
  });
10541
- }, T = (S) => {
10542
- const O = S.name === z.value, k = JSON.stringify(S.params ?? {}) === JSON.stringify(g.params ?? {}), j = JSON.stringify(S.query ?? {}) === JSON.stringify(g.query ?? {});
10543
- (!O || !k || !j) && v.push({
10544
- name: S.name,
10545
- params: S.params,
10546
- query: S.query
10541
+ }, C = (w) => {
10542
+ const E = w.name === T.value, O = JSON.stringify(w.params ?? {}) === JSON.stringify(g.params ?? {}), I = JSON.stringify(w.query ?? {}) === JSON.stringify(g.query ?? {});
10543
+ (!E || !O || !I) && v.push({
10544
+ name: w.name,
10545
+ params: w.params,
10546
+ query: w.query
10547
10547
  });
10548
- }, b = (S) => {
10549
- console.info(S.name, z.value), S.name === z.value ? v.replace({ name: S.name, query: { t: +/* @__PURE__ */ new Date() } }) : T(S);
10550
- }, C = (S, O) => {
10551
- r.closeTab(S, O);
10552
- }, f = p(() => r.tabs), z = p(() => g.name), R = p(() => f.value.length);
10548
+ }, z = (w) => {
10549
+ console.info(w.name, T.value), w.name === T.value ? v.replace({ name: w.name, query: { t: +/* @__PURE__ */ new Date() } }) : C(w);
10550
+ }, _ = (w, E) => {
10551
+ r.closeTab(w, E);
10552
+ }, b = p(() => r.tabs), T = p(() => g.name), D = p(() => b.value.length);
10553
10553
  return te(
10554
- () => R.value,
10555
- (S) => {
10556
- localStorage.setItem("tabs", JSON.stringify(f.value)), S && _();
10554
+ () => D.value,
10555
+ (w) => {
10556
+ localStorage.setItem("tabs", JSON.stringify(b.value)), w && f();
10557
10557
  },
10558
10558
  {
10559
10559
  immediate: !0
10560
10560
  }
10561
10561
  ), te(
10562
- () => z.value,
10562
+ () => T.value,
10563
10563
  () => {
10564
10564
  me(() => {
10565
- w();
10565
+ S();
10566
10566
  });
10567
10567
  }
10568
10568
  ), ve(() => {
10569
10569
  u.$el.removeEventListener("scroll", F), l == null || l(), l = null;
10570
- }), (S, O) => (A(), E("div", Rn, [
10570
+ }), (w, E) => (A(), k("div", Rn, [
10571
10571
  m("div", Fn, [
10572
- (A(!0), E(re, null, ce(t(f), (k, j) => (A(), E("div", {
10573
- key: k.name,
10574
- id: `tab_${k.name}`,
10572
+ (A(!0), k(re, null, ce(t(b), (O, I) => (A(), k("div", {
10573
+ key: O.name,
10574
+ id: `tab_${O.name}`,
10575
10575
  class: H(["tabItem relative flexMode vc g4 noShrink h32 p0-8 fs12 radius4 point noselect", [
10576
- k.name === t(z) && "active",
10577
- t(f).length > 1 && "hoverItem"
10576
+ O.name === t(T) && "active",
10577
+ t(b).length > 1 && "hoverItem"
10578
10578
  ]]),
10579
- onContextmenu: _e((G) => d(G, k, j), ["prevent", "stop"]),
10580
- onClick: (G) => T(k),
10581
- onDblclick: (G) => b(k)
10579
+ onContextmenu: _e((V) => d(V, O, I), ["prevent", "stop"]),
10580
+ onClick: (V) => C(O),
10581
+ onDblclick: (V) => z(O)
10582
10582
  }, [
10583
- k.icon ? (A(), E("i", {
10583
+ O.icon ? (A(), k("i", {
10584
10584
  key: 0,
10585
- class: H(["imicon", k.icon])
10585
+ class: H(["imicon", O.icon])
10586
10586
  }, null, 2)) : J("", !0),
10587
- ie(" " + I(k.meta.title) + " ", 1),
10587
+ ie(" " + $(O.meta.title) + " ", 1),
10588
10588
  m("div", {
10589
10589
  class: "abs r flexMode hc vc w20 h20",
10590
- onClick: _e((G) => C(k, j), ["stop"])
10591
- }, [...O[0] || (O[0] = [
10590
+ onClick: _e((V) => _(O, I), ["stop"])
10591
+ }, [...E[0] || (E[0] = [
10592
10592
  m("span", null, "✕", -1)
10593
10593
  ])], 8, Gn)
10594
10594
  ], 42, Vn))), 128)),
10595
- O[1] || (O[1] = m("div", { class: "w16 h16 noShrink" }, null, -1))
10595
+ E[1] || (E[1] = m("div", { class: "w16 h16 noShrink" }, null, -1))
10596
10596
  ])
10597
10597
  ]));
10598
10598
  }
@@ -10626,38 +10626,41 @@ const $n = ia({
10626
10626
  u();
10627
10627
  });
10628
10628
  const v = o, u = () => {
10629
- const b = localStorage.getItem("collapse");
10630
- b && (l.collapse = JSON.parse(b)), document.addEventListener("keydown", y);
10631
- }, c = (b) => {
10632
- l.collapse === !0 ? l.collapse = !1 : l.collapse === !1 ? l.collapse = !0 : l.collapse = b, localStorage.setItem("collapse", l.collapse), v("on-collapse-change", l.collapse);
10633
- }, y = (b) => {
10634
- b.shiftKey && (b.metaKey || b.ctrlKey) && (b.keyCode === 37 ? c(!0) : b.keyCode === 39 && c(!1));
10635
- }, w = (b) => {
10636
- var C;
10637
- return (C = b == null ? void 0 : b.children) != null && C.length ? w(b.children[0]) : b;
10638
- }, h = (b) => {
10639
- var C;
10640
- return ((C = b == null ? void 0 : b.children) == null ? void 0 : C.some((f) => f.name === n.name || h(f))) ?? !1;
10641
- }, x = (b) => {
10642
- const C = w(b);
10643
- C != null && C.name && r.push({ name: C.name });
10644
- }, F = () => {
10645
- const b = { ...n.query, _: Date.now() }, C = n.name ? { name: n.name, params: n.params, query: b } : { path: n.path, query: b };
10646
- r.replace(C).catch(() => {
10647
- });
10648
- }, _ = () => {
10629
+ const _ = localStorage.getItem("collapse");
10630
+ _ && (l.collapse = JSON.parse(_)), document.addEventListener("keydown", y);
10631
+ }, c = (_) => {
10632
+ l.collapse === !0 ? l.collapse = !1 : l.collapse === !1 ? l.collapse = !0 : l.collapse = _, localStorage.setItem("collapse", l.collapse), v("on-collapse-change", l.collapse);
10633
+ }, y = (_) => {
10634
+ !(_.metaKey || _.ctrlKey) || S(_) || (_.keyCode === 37 ? (_.preventDefault(), _.stopPropagation(), c(!0)) : _.keyCode === 39 && (_.preventDefault(), _.stopPropagation(), c(!1)));
10635
+ }, S = (_) => {
10636
+ const b = _.target;
10637
+ return b instanceof HTMLElement ? !!b.closest("input, textarea, select, [contenteditable='true'], [contenteditable='']") : !1;
10638
+ }, h = (_) => {
10649
10639
  var b;
10650
- return ((b = globalThis.$config) == null ? void 0 : b.loginPageName) || "Entry";
10640
+ return (b = _ == null ? void 0 : _.children) != null && b.length ? h(_.children[0]) : _;
10641
+ }, x = (_) => {
10642
+ var b;
10643
+ return ((b = _ == null ? void 0 : _.children) == null ? void 0 : b.some((T) => T.name === n.name || x(T))) ?? !1;
10644
+ }, F = (_) => {
10645
+ const b = h(_);
10646
+ b != null && b.name && r.push({ name: b.name });
10647
+ }, f = () => {
10648
+ const _ = { ...n.query, _: Date.now() }, b = n.name ? { name: n.name, params: n.params, query: _ } : { path: n.path, query: _ };
10649
+ r.replace(b).catch(() => {
10650
+ });
10651
10651
  }, d = () => {
10652
- const b = () => {
10653
- var f, z;
10652
+ var _;
10653
+ return ((_ = globalThis.$config) == null ? void 0 : _.loginPageName) || "Entry";
10654
+ }, C = () => {
10655
+ const _ = () => {
10656
+ var T, D;
10654
10657
  try {
10655
- const R = s.tab();
10656
- (f = R.closeAllTab) == null || f.call(R), (z = R.$patch) == null || z.call(R, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
10658
+ const w = s.tab();
10659
+ (T = w.closeAllTab) == null || T.call(w), (D = w.$patch) == null || D.call(w, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
10657
10660
  } catch {
10658
10661
  }
10659
- }, C = () => {
10660
- if (b(), typeof g.clearLogin == "function")
10662
+ }, b = () => {
10663
+ if (_(), typeof g.clearLogin == "function")
10661
10664
  g.clearLogin();
10662
10665
  else {
10663
10666
  try {
@@ -10667,103 +10670,103 @@ const $n = ia({
10667
10670
  g.$patch({ login: !1, userinfo: {}, loggingOut: !1 });
10668
10671
  }
10669
10672
  };
10670
- g.$patch({ loggingOut: !0 }), r.replace({ name: _() }).catch(() => r.replace({ path: "/" })).then(C).catch(() => {
10673
+ g.$patch({ loggingOut: !0 }), r.replace({ name: d() }).catch(() => r.replace({ path: "/" })).then(b).catch(() => {
10671
10674
  g.$patch({ loggingOut: !1 });
10672
10675
  try {
10673
10676
  r.replace({ path: "/" });
10674
10677
  } catch {
10675
10678
  }
10676
- C();
10679
+ b();
10677
10680
  });
10678
- }, T = p(() => l.collapse ? "im-verticalleft" : "im-verticalright");
10681
+ }, z = p(() => l.collapse ? "im-verticalleft" : "im-verticalright");
10679
10682
  return ve(() => {
10680
10683
  document.removeEventListener("keydown", y);
10681
- }), (b, C) => {
10682
- const f = V("el-popconfirm");
10683
- return A(), E("div", {
10684
+ }), (_, b) => {
10685
+ const T = G("el-popconfirm");
10686
+ return A(), k("div", {
10684
10687
  class: H(["FrameMenu sticky vh100 noselect noShrink", t(l).collapse && "collapse"])
10685
10688
  }, [
10686
10689
  m("div", Hn, [
10687
10690
  m("div", Jn, [
10688
- q(b.$slots, "logo", {}, void 0, !0)
10691
+ q(_.$slots, "logo", {}, void 0, !0)
10689
10692
  ]),
10690
10693
  m("div", Zn, [
10691
- q(b.$slots, "logomini", {}, void 0, !0)
10694
+ q(_.$slots, "logomini", {}, void 0, !0)
10692
10695
  ]),
10693
10696
  m("div", {
10694
10697
  class: "collapseArea hover abs",
10695
- onClick: C[0] || (C[0] = (z) => c(t(l).collapse))
10698
+ onClick: b[0] || (b[0] = (D) => c(t(l).collapse))
10696
10699
  }, [
10697
10700
  m("i", {
10698
- class: H(["imicon fs20", t(T)])
10701
+ class: H(["imicon fs20", t(z)])
10699
10702
  }, null, 2)
10700
10703
  ])
10701
10704
  ]),
10702
10705
  m("div", Yn, [
10703
- (A(!0), E(re, null, ce(e.routes, (z, R) => {
10704
- var S, O;
10705
- return A(), E("div", {
10706
- key: R,
10706
+ (A(!0), k(re, null, ce(e.routes, (D, w) => {
10707
+ var E, O;
10708
+ return A(), k("div", {
10709
+ key: w,
10707
10710
  class: "menuItemWrap mb2"
10708
10711
  }, [
10709
10712
  m("div", {
10710
10713
  class: H(["menuItem flexMode vc g8 radius4 p0-16", [
10711
- t(n).name === z.name && "active bg-primary",
10714
+ t(n).name === D.name && "active bg-primary",
10712
10715
  t(l).collapse && "hc",
10713
- t(l).collapse && h(z) && "activeChild"
10716
+ t(l).collapse && x(D) && "activeChild"
10714
10717
  ]]),
10715
- onClick: (k) => x(z),
10716
- onDblclick: F
10718
+ onClick: (I) => F(D),
10719
+ onDblclick: f
10717
10720
  }, [
10718
10721
  m("div", qn, [
10719
- z.meta.icon ? (A(), E("i", {
10722
+ D.meta.icon ? (A(), k("i", {
10720
10723
  key: 0,
10721
- class: H([e.iconClass, z.meta.icon])
10722
- }, null, 2)) : (A(), E("span", Xn, I(((S = z.meta.title) == null ? void 0 : S.substr(0, 1)) || "U"), 1))
10724
+ class: H([e.iconClass, D.meta.icon])
10725
+ }, null, 2)) : (A(), k("span", Xn, $(((E = D.meta.title) == null ? void 0 : E.substr(0, 1)) || "U"), 1))
10723
10726
  ]),
10724
10727
  m("div", {
10725
10728
  class: H(["itemTitle txt-nowrap fs14", [
10726
- t(n).name === z.name && "active",
10729
+ t(n).name === D.name && "active",
10727
10730
  t(l).collapse && "hide"
10728
10731
  ]])
10729
- }, I(z.meta.title), 3)
10732
+ }, $(D.meta.title), 3)
10730
10733
  ], 42, Wn),
10731
- (O = z.children) != null && O.length ? (A(), E("div", Qn, [
10732
- (A(!0), E(re, null, ce(z.children, (k, j) => (A(), E("div", {
10733
- key: j,
10734
- class: H(["childrenItem flexMode vc g8 radius4 h40 p0-16", t(n).name === k.name && "active bg-primary"]),
10735
- onClick: (G) => x(k),
10736
- onDblclick: F
10734
+ (O = D.children) != null && O.length ? (A(), k("div", Qn, [
10735
+ (A(!0), k(re, null, ce(D.children, (I, V) => (A(), k("div", {
10736
+ key: V,
10737
+ class: H(["childrenItem flexMode vc g8 radius4 h40 p0-16", t(n).name === I.name && "active bg-primary"]),
10738
+ onClick: (P) => F(I),
10739
+ onDblclick: f
10737
10740
  }, [
10738
10741
  m("div", ao, [
10739
- k.meta.icon ? (A(), E("i", {
10742
+ I.meta.icon ? (A(), k("i", {
10740
10743
  key: 0,
10741
- class: H([e.iconClass, k.meta.icon])
10744
+ class: H([e.iconClass, I.meta.icon])
10742
10745
  }, null, 2)) : J("", !0)
10743
10746
  ]),
10744
10747
  m("div", {
10745
10748
  class: H(["itemTitle txt-nowrap fs14", [
10746
- t(n).name === k.name && "active",
10749
+ t(n).name === I.name && "active",
10747
10750
  t(l).collapse && "hide"
10748
10751
  ]])
10749
- }, I(k.meta.title), 3)
10752
+ }, $(I.meta.title), 3)
10750
10753
  ], 42, eo))), 128))
10751
10754
  ])) : J("", !0)
10752
10755
  ]);
10753
10756
  }), 128))
10754
10757
  ]),
10755
10758
  m("div", lo, [
10756
- D(f, {
10759
+ R(T, {
10757
10760
  placement: "top",
10758
- title: b.$l("Log out?"),
10759
- onConfirm: d
10761
+ title: _.$l("Log out?"),
10762
+ onConfirm: C
10760
10763
  }, {
10761
- reference: B(() => [
10764
+ reference: j(() => [
10762
10765
  m("div", no, [
10763
- C[1] || (C[1] = m("i", { class: "imicon im-power fs24" }, null, -1)),
10766
+ b[1] || (b[1] = m("i", { class: "imicon im-power fs24" }, null, -1)),
10764
10767
  m("span", {
10765
10768
  class: H(["fs14", t(l).collapse && "hide"])
10766
- }, I(t(g).userinfo[e.usernameKey]), 3)
10769
+ }, $(t(g).userinfo[e.usernameKey]), 3)
10767
10770
  ])
10768
10771
  ]),
10769
10772
  _: 1
@@ -10772,7 +10775,7 @@ const $n = ia({
10772
10775
  ], 2);
10773
10776
  };
10774
10777
  }
10775
- }), to = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-81e9f3a9"]]), ro = { class: "FrameFooter" }, so = { class: "txt-tip" }, io = { class: "txt-primary" }, co = { class: "txt-dark3" }, uo = /* @__PURE__ */ Object.assign({
10778
+ }), to = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-49ba8b1f"]]), ro = { class: "FrameFooter" }, so = { class: "txt-tip" }, io = { class: "txt-primary" }, co = { class: "txt-dark3" }, uo = /* @__PURE__ */ Object.assign({
10776
10779
  name: "FrameFooter",
10777
10780
  inheritAttrs: !1
10778
10781
  }, {
@@ -10780,10 +10783,10 @@ const $n = ia({
10780
10783
  setup(a) {
10781
10784
  X({});
10782
10785
  const o = p(() => globalThis.$config);
10783
- return (e, l) => (A(), E("div", ro, [
10784
- m("span", so, I(t(o).copyright), 1),
10785
- m("span", io, I(t(o).author), 1),
10786
- m("span", co, "Ver" + I(t(o).version), 1)
10786
+ return (e, l) => (A(), k("div", ro, [
10787
+ m("span", so, $(t(o).copyright), 1),
10788
+ m("span", io, $(t(o).author), 1),
10789
+ m("span", co, "Ver" + $(t(o).version), 1)
10787
10790
  ]));
10788
10791
  }
10789
10792
  }), mo = /* @__PURE__ */ ne(uo, [["__scopeId", "data-v-a471ccbf"]]), bo = { class: "FrameTool fixed r t flexMode vc g8 p0-8 w40 h40 noShrink z9" }, vo = /* @__PURE__ */ Object.assign({
@@ -10806,20 +10809,20 @@ const $n = ia({
10806
10809
  e.current = 0;
10807
10810
  };
10808
10811
  return (n, r) => {
10809
- const s = V("Icon"), g = V("Drawer");
10810
- return A(), E(re, null, [
10812
+ const s = G("Icon"), g = G("Drawer");
10813
+ return A(), k(re, null, [
10811
10814
  m("div", bo, [
10812
10815
  m("div", {
10813
10816
  class: "hover w24 h24 flexMode hc vc radius",
10814
10817
  onClick: l
10815
10818
  }, [
10816
- D(s, {
10819
+ R(s, {
10817
10820
  name: "setting",
10818
10821
  size: "24"
10819
10822
  })
10820
10823
  ])
10821
10824
  ]),
10822
- D(g, {
10825
+ R(g, {
10823
10826
  current: t(e).current,
10824
10827
  "onUpdate:current": r[0] || (r[0] = (v) => t(e).current = v),
10825
10828
  drawer: t(e).list
@@ -10840,18 +10843,18 @@ const $n = ia({
10840
10843
  x: 0,
10841
10844
  y: 0,
10842
10845
  ready: !1
10843
- }), r = (b, C, f) => Math.min(Math.max(b, C), f), s = (b) => Number.isFinite(Number(b)), g = () => {
10844
- const { position: b, el: C } = e;
10845
- if (C != null && C.getBoundingClientRect) {
10846
- const f = C.getBoundingClientRect();
10846
+ }), r = (z, _, b) => Math.min(Math.max(z, _), b), s = (z) => Number.isFinite(Number(z)), g = () => {
10847
+ const { position: z, el: _ } = e;
10848
+ if (_ != null && _.getBoundingClientRect) {
10849
+ const b = _.getBoundingClientRect();
10847
10850
  return {
10848
- x: f.left,
10849
- y: f.bottom + 4
10851
+ x: b.left,
10852
+ y: b.bottom + 4
10850
10853
  };
10851
10854
  }
10852
- return b && s(b.x) && s(b.y) ? {
10853
- x: Number(b.x),
10854
- y: Number(b.y)
10855
+ return z && s(z.x) && s(z.y) ? {
10856
+ x: Number(z.x),
10857
+ y: Number(z.y)
10855
10858
  } : {
10856
10859
  x: 0,
10857
10860
  y: 0
@@ -10860,44 +10863,44 @@ const $n = ia({
10860
10863
  if (n.ready = !1, !d.value)
10861
10864
  return;
10862
10865
  await me();
10863
- const b = l.value;
10864
- if (!b)
10866
+ const z = l.value;
10867
+ if (!z)
10865
10868
  return;
10866
- const C = g(), f = b.getBoundingClientRect(), z = 8, R = Math.max(z, window.innerWidth - f.width - z), S = Math.max(z, window.innerHeight - f.height - z);
10867
- n.x = r(C.x, z, R), n.y = r(C.y, z, S), n.ready = !0;
10869
+ const _ = g(), b = z.getBoundingClientRect(), T = 8, D = Math.max(T, window.innerWidth - b.width - T), w = Math.max(T, window.innerHeight - b.height - T);
10870
+ n.x = r(_.x, T, D), n.y = r(_.y, T, w), n.ready = !0;
10868
10871
  }, u = () => {
10869
10872
  e.visible && e.hide(), n.ready = !1;
10870
- }, c = (b) => {
10871
- var C;
10872
- !d.value || (C = l.value) != null && C.contains(b.target) || u();
10873
- }, y = (b) => {
10874
- var C;
10875
- !d.value || (C = l.value) != null && C.contains(b.target) || u();
10876
- }, w = (b) => {
10877
- b.key === "Escape" && u();
10878
- }, h = (b) => typeof b.disabled == "function" ? b.disabled(b) : !!b.disabled, x = (b, C) => b.value ?? b.label ?? C, F = (b) => {
10879
- var C, f;
10880
- if (!h(b))
10873
+ }, c = (z) => {
10874
+ var _;
10875
+ !d.value || (_ = l.value) != null && _.contains(z.target) || u();
10876
+ }, y = (z) => {
10877
+ var _;
10878
+ !d.value || (_ = l.value) != null && _.contains(z.target) || u();
10879
+ }, S = (z) => {
10880
+ z.key === "Escape" && u();
10881
+ }, h = (z) => typeof z.disabled == "function" ? z.disabled(z) : !!z.disabled, x = (z, _) => z.value ?? z.label ?? _, F = (z) => {
10882
+ var _, b;
10883
+ if (!h(z))
10881
10884
  try {
10882
- (C = b.cb) == null || C.call(b, b), (f = b.onClick) == null || f.call(b, b);
10885
+ (_ = z.cb) == null || _.call(z, z), (b = z.onClick) == null || b.call(z, z);
10883
10886
  } finally {
10884
10887
  u();
10885
10888
  }
10886
- }, _ = p(() => Array.isArray(e.options) ? e.options.filter(Boolean) : []), d = p(() => e.visible && _.value.length > 0), T = p(() => ({
10889
+ }, f = p(() => Array.isArray(e.options) ? e.options.filter(Boolean) : []), d = p(() => e.visible && f.value.length > 0), C = p(() => ({
10887
10890
  left: `${n.x}px`,
10888
10891
  top: `${n.y}px`,
10889
10892
  visibility: n.ready ? "visible" : "hidden"
10890
10893
  }));
10891
10894
  return te(
10892
10895
  () => {
10893
- var b, C;
10896
+ var z, _;
10894
10897
  return [
10895
10898
  e.visible,
10896
10899
  e.el,
10897
10900
  e.options,
10898
- (b = e.position) == null ? void 0 : b.x,
10899
- (C = e.position) == null ? void 0 : C.y,
10900
- _.value.length
10901
+ (z = e.position) == null ? void 0 : z.x,
10902
+ (_ = e.position) == null ? void 0 : _.y,
10903
+ f.value.length
10901
10904
  ];
10902
10905
  },
10903
10906
  () => {
@@ -10907,40 +10910,40 @@ const $n = ia({
10907
10910
  flush: "post"
10908
10911
  }
10909
10912
  ), se(() => {
10910
- document.addEventListener("pointerdown", c, !0), document.addEventListener("contextmenu", y, !0), document.addEventListener("keydown", w), window.addEventListener("resize", u), window.addEventListener("scroll", u, !0);
10913
+ document.addEventListener("pointerdown", c, !0), document.addEventListener("contextmenu", y, !0), document.addEventListener("keydown", S), window.addEventListener("resize", u), window.addEventListener("scroll", u, !0);
10911
10914
  }), ve(() => {
10912
- document.removeEventListener("pointerdown", c, !0), document.removeEventListener("contextmenu", y, !0), document.removeEventListener("keydown", w), window.removeEventListener("resize", u), window.removeEventListener("scroll", u, !0);
10913
- }), (b, C) => (A(), le(Da, { to: "body" }, [
10914
- D(ua, { name: "FrameRightMenuFade" }, {
10915
- default: B(() => [
10916
- t(d) ? (A(), E("div", {
10915
+ document.removeEventListener("pointerdown", c, !0), document.removeEventListener("contextmenu", y, !0), document.removeEventListener("keydown", S), window.removeEventListener("resize", u), window.removeEventListener("scroll", u, !0);
10916
+ }), (z, _) => (A(), le(Da, { to: "body" }, [
10917
+ R(ua, { name: "FrameRightMenuFade" }, {
10918
+ default: j(() => [
10919
+ t(d) ? (A(), k("div", {
10917
10920
  key: 0,
10918
10921
  ref_key: "menuRef",
10919
10922
  ref: l,
10920
10923
  class: "FrameRightMenu",
10921
- style: de(t(T)),
10922
- onClick: C[0] || (C[0] = _e(() => {
10924
+ style: de(t(C)),
10925
+ onClick: _[0] || (_[0] = _e(() => {
10923
10926
  }, ["stop"])),
10924
- onPointerdown: C[1] || (C[1] = _e(() => {
10927
+ onPointerdown: _[1] || (_[1] = _e(() => {
10925
10928
  }, ["stop"])),
10926
- onContextmenu: C[2] || (C[2] = _e(() => {
10929
+ onContextmenu: _[2] || (_[2] = _e(() => {
10927
10930
  }, ["prevent", "stop"]))
10928
10931
  }, [
10929
- (A(!0), E(re, null, ce(t(_), (f, z) => (A(), E(re, {
10930
- key: x(f, z)
10932
+ (A(!0), k(re, null, ce(t(f), (b, T) => (A(), k(re, {
10933
+ key: x(b, T)
10931
10934
  }, [
10932
- f.divider ? (A(), E("div", po)) : (A(), E("button", {
10935
+ b.divider ? (A(), k("div", po)) : (A(), k("button", {
10933
10936
  key: 1,
10934
10937
  type: "button",
10935
- class: H(["menuItem", { disabled: h(f) }]),
10936
- disabled: h(f),
10937
- onClick: (R) => F(f)
10938
+ class: H(["menuItem", { disabled: h(b) }]),
10939
+ disabled: h(b),
10940
+ onClick: (D) => F(b)
10938
10941
  }, [
10939
- f.icon ? (A(), E("i", {
10942
+ b.icon ? (A(), k("i", {
10940
10943
  key: 0,
10941
- class: H(["imicon menuIcon", f.icon])
10944
+ class: H(["imicon menuIcon", b.icon])
10942
10945
  }, null, 2)) : J("", !0),
10943
- m("span", ho, I(f.label), 1)
10946
+ m("span", ho, $(b.label), 1)
10944
10947
  ], 10, fo))
10945
10948
  ], 64))), 128))
10946
10949
  ], 36)) : J("", !0)
@@ -10980,32 +10983,32 @@ const $n = ia({
10980
10983
  const y = JSON.parse(localStorage.getItem("menuCollapse"));
10981
10984
  e.collapse = y, Ga(), g();
10982
10985
  }, g = () => {
10983
- var y, w, h, x, F, _;
10984
- if ((w = (y = globalThis.$config) == null ? void 0 : y.iconfont) != null && w.url) {
10986
+ var y, S, h, x, F, f;
10987
+ if ((S = (y = globalThis.$config) == null ? void 0 : y.iconfont) != null && S.url) {
10985
10988
  const d = document.createElement("script");
10986
10989
  if (d.id = "iconfont", d.type = "text/javascript", d.src = (x = (h = globalThis.$config) == null ? void 0 : h.iconfont) == null ? void 0 : x.url, document.getElementById("iconfont"))
10987
10990
  return;
10988
- document.head.appendChild(d), (_ = (F = globalThis.$config) == null ? void 0 : F.iconfont) == null || delete _.url;
10991
+ document.head.appendChild(d), (f = (F = globalThis.$config) == null ? void 0 : F.iconfont) == null || delete f.url;
10989
10992
  }
10990
10993
  }, v = (y) => {
10991
10994
  e.collapse = y, localStorage.setItem("menuCollapse", y);
10992
10995
  }, u = p(() => r.pageLoading), c = p(() => ({
10993
10996
  maxWidth: e.collapse ? "calc(100% - 4rem)" : "calc(100% - 12rem)"
10994
10997
  }));
10995
- return (y, w) => {
10996
- const h = V("Loading"), x = V("router-view");
10997
- return A(), E("div", yo, [
10998
- D(to, oe(o.menu, { onOnCollapseChange: v }), be({ _: 2 }, [
10998
+ return (y, S) => {
10999
+ const h = G("Loading"), x = G("router-view");
11000
+ return A(), k("div", yo, [
11001
+ R(to, oe(o.menu, { onOnCollapseChange: v }), be({ _: 2 }, [
10999
11002
  y.$slots.logo ? {
11000
11003
  name: "logo",
11001
- fn: B(() => [
11004
+ fn: j(() => [
11002
11005
  q(y.$slots, "logo", {}, void 0, !0)
11003
11006
  ]),
11004
11007
  key: "0"
11005
11008
  } : void 0,
11006
11009
  y.$slots.logomini ? {
11007
11010
  name: "logomini",
11008
- fn: B(() => [
11011
+ fn: j(() => [
11009
11012
  q(y.$slots, "logomini", {}, void 0, !0)
11010
11013
  ]),
11011
11014
  key: "1"
@@ -11015,13 +11018,13 @@ const $n = ia({
11015
11018
  class: "PageArea",
11016
11019
  style: de(t(c))
11017
11020
  }, [
11018
- D(h, { loading: t(u) }, null, 8, ["loading"]),
11021
+ R(h, { loading: t(u) }, null, 8, ["loading"]),
11019
11022
  t(n).useTab ? (A(), le(Un, { key: 0 })) : J("", !0),
11020
- D(vo),
11021
- D(x, he(ze(o.page)), null, 16),
11022
- D(mo)
11023
+ R(vo),
11024
+ R(x, he(ze(o.page)), null, 16),
11025
+ R(mo)
11023
11026
  ], 4),
11024
- D(go)
11027
+ R(go)
11025
11028
  ]);
11026
11029
  };
11027
11030
  }
@@ -11057,7 +11060,7 @@ const $n = ia({
11057
11060
  height: r
11058
11061
  };
11059
11062
  });
11060
- return (n, r) => (A(), E("svg", {
11063
+ return (n, r) => (A(), k("svg", {
11061
11064
  class: "MvcIcon",
11062
11065
  "aria-hidden": "true",
11063
11066
  style: de(t(l))
@@ -11116,18 +11119,18 @@ const $n = ia({
11116
11119
  return W;
11117
11120
  });
11118
11121
  se(() => {
11119
- s = w(), s && (s.addEventListener("compositionstart", _), s.addEventListener("compositionend", d)), e.focus && F();
11122
+ s = S(), s && (s.addEventListener("compositionstart", f), s.addEventListener("compositionend", d)), e.focus && F();
11120
11123
  });
11121
- const w = () => {
11122
- var W, $, L;
11124
+ const S = () => {
11125
+ var W, B, L;
11123
11126
  const N = (W = r.value) == null ? void 0 : W.$el;
11124
- return s = (($ = N == null ? void 0 : N.querySelector) == null ? void 0 : $.call(N, "input")) || ((L = N == null ? void 0 : N.querySelector) == null ? void 0 : L.call(N, "textarea")) || s, s;
11127
+ return s = ((B = N == null ? void 0 : N.querySelector) == null ? void 0 : B.call(N, "input")) || ((L = N == null ? void 0 : N.querySelector) == null ? void 0 : L.call(N, "textarea")) || s, s;
11125
11128
  }, h = () => {
11126
11129
  g && (clearTimeout(g), g = null);
11127
11130
  }, x = () => {
11128
- var W, $;
11129
- ($ = (W = r.value) == null ? void 0 : W.focus) == null || $.call(W);
11130
- const N = w();
11131
+ var W, B;
11132
+ (B = (W = r.value) == null ? void 0 : W.focus) == null || B.call(W);
11133
+ const N = S();
11131
11134
  return N ? (N.focus(), document.activeElement === N) : !1;
11132
11135
  }, F = (N = 0) => {
11133
11136
  h(), me(() => {
@@ -11135,28 +11138,28 @@ const $n = ia({
11135
11138
  g = null, F(N + 1);
11136
11139
  }, 30));
11137
11140
  });
11138
- }, _ = () => {
11141
+ }, f = () => {
11139
11142
  v.isComposing = !0;
11140
11143
  }, d = () => {
11141
- v.isComposing = !1, me(() => z(v.val));
11142
- }, T = (N) => {
11143
- v.isComposing || z(N);
11144
- }, b = (N) => {
11145
- v.focused = !0, u("focus", N);
11144
+ v.isComposing = !1, me(() => T(v.val));
11146
11145
  }, C = (N) => {
11146
+ v.isComposing || T(N);
11147
+ }, z = (N) => {
11148
+ v.focused = !0, u("focus", N);
11149
+ }, _ = (N) => {
11147
11150
  v.focused = !1, u("blur", N);
11148
- }, f = (N) => {
11151
+ }, b = (N) => {
11149
11152
  u("enter", v.val, N);
11150
- }, z = (N) => {
11153
+ }, T = (N) => {
11151
11154
  u("update:modelValue", N), u("input", N);
11152
- }, R = p(() => !!(c.$attrs.maxlength || S.value)), S = p(() => c.$attrs.max), O = p(() => String(v.val ?? "").length > 0), k = p(() => !!n.placeholder), j = p(
11153
- () => e.materialLabel && (v.focused || O.value || k.value || l.prefix)
11154
- ), G = p(() => ({
11155
+ }, D = p(() => !!(c.$attrs.maxlength || w.value)), w = p(() => c.$attrs.max), E = p(() => String(v.val ?? "").length > 0), O = p(() => !!n.placeholder), I = p(
11156
+ () => e.materialLabel && (v.focused || E.value || O.value || l.prefix)
11157
+ ), V = p(() => ({
11155
11158
  [n.class]: !!n.class,
11156
11159
  hasLabel: !!e.label,
11157
11160
  isMaterialLabel: !!(e.label && e.materialLabel),
11158
11161
  isTopLabel: !!(e.label && !e.materialLabel),
11159
- isFloat: j.value,
11162
+ isFloat: I.value,
11160
11163
  isFocused: v.focused,
11161
11164
  isDisabled: !!n.disabled
11162
11165
  })), P = p(
@@ -11178,31 +11181,31 @@ const $n = ia({
11178
11181
  },
11179
11182
  { flush: "post" }
11180
11183
  ), ve(() => {
11181
- h(), s && (s.removeEventListener("compositionstart", _), s.removeEventListener("compositionend", d), s = null);
11184
+ h(), s && (s.removeEventListener("compositionstart", f), s.removeEventListener("compositionend", d), s = null);
11182
11185
  }), (N, W) => {
11183
- const $ = V("el-input");
11184
- return A(), E("div", {
11185
- class: H(["MvcField MvcFieldInput", t(G)]),
11186
+ const B = G("el-input");
11187
+ return A(), k("div", {
11188
+ class: H(["MvcField MvcFieldInput", t(V)]),
11186
11189
  style: de(t(P))
11187
11190
  }, [
11188
- e.label ? (A(), E("label", Mo, I(e.label), 1)) : J("", !0),
11189
- D($, oe({
11191
+ e.label ? (A(), k("label", Mo, $(e.label), 1)) : J("", !0),
11192
+ R(B, oe({
11190
11193
  ref_key: "inputRef",
11191
11194
  ref: r,
11192
11195
  modelValue: t(v).val,
11193
11196
  "onUpdate:modelValue": W[0] || (W[0] = (L) => t(v).val = L),
11194
- "show-word-limit": t(R),
11195
- maxlength: t(S),
11197
+ "show-word-limit": t(D),
11198
+ maxlength: t(w),
11196
11199
  class: "MvcInput"
11197
11200
  }, t(y), {
11198
- onInput: T,
11199
- onKeydown: da(f, ["enter"]),
11200
- onFocus: b,
11201
- onBlur: C
11201
+ onInput: C,
11202
+ onKeydown: da(b, ["enter"]),
11203
+ onFocus: z,
11204
+ onBlur: _
11202
11205
  }), be({ _: 2 }, [
11203
11206
  ce(t(l), (L, K) => ({
11204
11207
  name: K,
11205
- fn: B((ae) => [
11208
+ fn: j((ae) => [
11206
11209
  q(N.$slots, K, he(ze(ae || {})))
11207
11210
  ])
11208
11211
  }))
@@ -11269,65 +11272,65 @@ const $n = ia({
11269
11272
  g && (clearTimeout(g), g = null);
11270
11273
  }, y = () => {
11271
11274
  var L, K;
11272
- const $ = (L = r.value) == null ? void 0 : L.$el;
11273
- return s = ((K = $ == null ? void 0 : $.querySelector) == null ? void 0 : K.call($, "input")) || s, s;
11274
- }, w = () => {
11275
+ const B = (L = r.value) == null ? void 0 : L.$el;
11276
+ return s = ((K = B == null ? void 0 : B.querySelector) == null ? void 0 : K.call(B, "input")) || s, s;
11277
+ }, S = () => {
11275
11278
  var L, K;
11276
11279
  (K = (L = r.value) == null ? void 0 : L.focus) == null || K.call(L);
11277
- const $ = y();
11278
- return $ ? ($.focus(), document.activeElement === $) : !1;
11279
- }, h = ($ = 0) => {
11280
+ const B = y();
11281
+ return B ? (B.focus(), document.activeElement === B) : !1;
11282
+ }, h = (B = 0) => {
11280
11283
  c(), me(() => {
11281
- !e.focus || typeof window > "u" || w() || $ >= 5 || (g = setTimeout(() => {
11282
- g = null, h($ + 1);
11284
+ !e.focus || typeof window > "u" || S() || B >= 5 || (g = setTimeout(() => {
11285
+ g = null, h(B + 1);
11283
11286
  }, 30));
11284
11287
  });
11285
- }, x = ($) => {
11286
- v.val = $, u("update:modelValue", $), u("input", $);
11287
- }, F = ($, L) => {
11288
- u("change", $, L);
11289
- }, _ = ($) => {
11290
- v.focused = !0, u("focus", $);
11291
- }, d = ($) => {
11292
- v.focused = !1, u("blur", $);
11293
- }, T = ($) => {
11288
+ }, x = (B) => {
11289
+ v.val = B, u("update:modelValue", B), u("input", B);
11290
+ }, F = (B, L) => {
11291
+ u("change", B, L);
11292
+ }, f = (B) => {
11293
+ v.focused = !0, u("focus", B);
11294
+ }, d = (B) => {
11295
+ v.focused = !1, u("blur", B);
11296
+ }, C = (B) => {
11294
11297
  var L;
11295
- return !!((L = $ == null ? void 0 : $.closest) != null && L.call($, ".el-input-number__increase, .el-input-number__decrease"));
11296
- }, b = ($) => {
11297
- v.controlsHovering = T($.target);
11298
- }, C = () => {
11298
+ return !!((L = B == null ? void 0 : B.closest) != null && L.call(B, ".el-input-number__increase, .el-input-number__decrease"));
11299
+ }, z = (B) => {
11300
+ v.controlsHovering = C(B.target);
11301
+ }, _ = () => {
11299
11302
  v.controlsHovering = !1;
11300
- }, f = p(() => {
11301
- const { modelValue: $, label: L, materialLabel: K, focus: ae, ...i } = e;
11303
+ }, b = p(() => {
11304
+ const { modelValue: B, label: L, materialLabel: K, focus: ae, ...i } = e;
11302
11305
  return i;
11303
- }), z = p(() => {
11304
- const { class: $, ...L } = n;
11306
+ }), T = p(() => {
11307
+ const { class: B, ...L } = n;
11305
11308
  return L;
11306
- }), R = p(() => ({
11307
- ...z.value,
11308
- ...f.value
11309
- })), S = p(() => {
11310
- const $ = v.val;
11311
- return $ != null && String($) !== "";
11312
- }), O = p(() => !!n.placeholder), k = p(
11313
- () => e.materialLabel && (v.focused || S.value || O.value || l.prefix)
11314
- ), j = p(
11309
+ }), D = p(() => ({
11310
+ ...T.value,
11311
+ ...b.value
11312
+ })), w = p(() => {
11313
+ const B = v.val;
11314
+ return B != null && String(B) !== "";
11315
+ }), E = p(() => !!n.placeholder), O = p(
11316
+ () => e.materialLabel && (v.focused || w.value || E.value || l.prefix)
11317
+ ), I = p(
11315
11318
  () => e.controls && e.controlsPosition === "right"
11316
- ), G = p(() => !e.controls), P = p(
11317
- () => e.controls && !j.value
11319
+ ), V = p(() => !e.controls), P = p(
11320
+ () => e.controls && !I.value
11318
11321
  ), N = p(() => ({
11319
11322
  [n.class]: !!n.class,
11320
11323
  hasLabel: !!e.label,
11321
11324
  isMaterialLabel: !!(e.label && e.materialLabel),
11322
11325
  isTopLabel: !!(e.label && !e.materialLabel),
11323
- isFloat: k.value,
11326
+ isFloat: O.value,
11324
11327
  isControlsHovering: v.controlsHovering,
11325
11328
  isFocused: v.focused,
11326
11329
  isDisabled: !!n.disabled,
11327
11330
  isInputNumber: !0,
11328
11331
  isControlsDefault: P.value,
11329
- isControlsRight: j.value,
11330
- isWithoutControls: G.value
11332
+ isControlsRight: I.value,
11333
+ isWithoutControls: V.value
11331
11334
  })), W = p(
11332
11335
  () => e.materialLabel ? {
11333
11336
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
@@ -11335,42 +11338,42 @@ const $n = ia({
11335
11338
  );
11336
11339
  return te(
11337
11340
  () => e.modelValue,
11338
- ($) => {
11339
- Object.is(v.val, $) || (v.val = $);
11341
+ (B) => {
11342
+ Object.is(v.val, B) || (v.val = B);
11340
11343
  },
11341
11344
  { immediate: !0 }
11342
11345
  ), te(
11343
11346
  () => e.focus,
11344
- ($) => {
11345
- $ ? h() : c();
11347
+ (B) => {
11348
+ B ? h() : c();
11346
11349
  },
11347
11350
  { flush: "post" }
11348
11351
  ), ve(() => {
11349
11352
  c(), s = null;
11350
- }), ($, L) => {
11351
- const K = V("el-input-number");
11352
- return A(), E("div", {
11353
+ }), (B, L) => {
11354
+ const K = G("el-input-number");
11355
+ return A(), k("div", {
11353
11356
  class: H(["MvcField MvcFieldInputNumber", t(N)]),
11354
11357
  style: de(t(W))
11355
11358
  }, [
11356
- e.label ? (A(), E("label", Oo, I(e.label), 1)) : J("", !0),
11357
- D(K, oe({
11359
+ e.label ? (A(), k("label", Oo, $(e.label), 1)) : J("", !0),
11360
+ R(K, oe({
11358
11361
  ref_key: "inputNumberRef",
11359
11362
  ref: r,
11360
11363
  "model-value": t(v).val,
11361
11364
  class: "MvcInputNumber"
11362
- }, t(R), {
11365
+ }, t(D), {
11363
11366
  "onUpdate:modelValue": x,
11364
11367
  onChange: F,
11365
- onFocus: _,
11368
+ onFocus: f,
11366
11369
  onBlur: d,
11367
- onMousemove: b,
11368
- onMouseleave: C
11370
+ onMousemove: z,
11371
+ onMouseleave: _
11369
11372
  }), be({ _: 2 }, [
11370
11373
  ce(t(l), (ae, i) => ({
11371
11374
  name: i,
11372
- fn: B((M) => [
11373
- q($.$slots, i, he(ze(M || {})))
11375
+ fn: j((M) => [
11376
+ q(B.$slots, i, he(ze(M || {})))
11374
11377
  ])
11375
11378
  }))
11376
11379
  ]), 1040, ["model-value"])
@@ -11418,30 +11421,30 @@ const $n = ia({
11418
11421
  u == null || u === c || (typeof localStorage < "u" && localStorage.setItem(He, u), window.location.reload());
11419
11422
  }, s = () => {
11420
11423
  var y;
11421
- const u = ((y = globalThis.$getLang) == null ? void 0 : y.call(globalThis)) || "en_us", c = g.value.map((w) => w.value);
11424
+ const u = ((y = globalThis.$getLang) == null ? void 0 : y.call(globalThis)) || "en_us", c = g.value.map((S) => S.value);
11422
11425
  n.lang = c.includes(u) ? u : c[0] || "en_us";
11423
11426
  }, g = p(() => {
11424
11427
  var c;
11425
11428
  return ((c = globalThis.$config) != null && c.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse : ll.filter((y) => y.use !== !1)).filter((y) => y && y.use !== !1 && y.value);
11426
11429
  }), v = p(() => g.value.find((u) => u.value === n.lang) ?? null);
11427
11430
  return (u, c) => {
11428
- const y = V("el-option"), w = V("el-select");
11429
- return A(), le(w, oe({
11431
+ const y = G("el-option"), S = G("el-select");
11432
+ return A(), le(S, oe({
11430
11433
  modelValue: n.lang,
11431
11434
  "onUpdate:modelValue": c[0] || (c[0] = (h) => n.lang = h),
11432
11435
  class: ["MvcLang w140", u.$attrs.class],
11433
11436
  teleported: o.teleported
11434
11437
  }, l.value, { onChange: r }), be({
11435
- default: B(() => [
11436
- (A(!0), E(re, null, ce(g.value, (h) => (A(), le(y, {
11438
+ default: j(() => [
11439
+ (A(!0), k(re, null, ce(g.value, (h) => (A(), le(y, {
11437
11440
  key: h.value,
11438
11441
  label: h.label,
11439
11442
  value: h.value
11440
11443
  }, {
11441
- default: B(() => [
11444
+ default: j(() => [
11442
11445
  m("div", Io, [
11443
- o.useIcon ? (A(), E("span", $o, I(h.txt), 1)) : J("", !0),
11444
- m("span", Bo, I(h.label), 1)
11446
+ o.useIcon ? (A(), k("span", $o, $(h.txt), 1)) : J("", !0),
11447
+ m("span", Bo, $(h.label), 1)
11445
11448
  ])
11446
11449
  ]),
11447
11450
  _: 2
@@ -11451,9 +11454,9 @@ const $n = ia({
11451
11454
  }, [
11452
11455
  o.useIcon ? {
11453
11456
  name: "prefix",
11454
- fn: B(() => [
11455
- v.value ? (A(), E("div", Lo, [
11456
- m("span", No, I(v.value.txt), 1)
11457
+ fn: j(() => [
11458
+ v.value ? (A(), k("div", Lo, [
11459
+ m("span", No, $(v.value.txt), 1)
11457
11460
  ])) : J("", !0)
11458
11461
  ]),
11459
11462
  key: "0"
@@ -11525,12 +11528,12 @@ const $n = ia({
11525
11528
  e.loading || e.disabled || c.disabled || (l("update:modelValue", c.value), l("change", c.value, c.raw));
11526
11529
  }, s = (c) => {
11527
11530
  var h;
11528
- const y = c.value, w = ((h = globalThis.$getType) == null ? void 0 : h.call(globalThis, y)) ?? typeof y;
11529
- return w === "Object" || w === "Array" ? JSON.stringify(y) : String(y);
11531
+ const y = c.value, S = ((h = globalThis.$getType) == null ? void 0 : h.call(globalThis, y)) ?? typeof y;
11532
+ return S === "Object" || S === "Array" ? JSON.stringify(y) : String(y);
11530
11533
  }, g = p(() => {
11531
- const c = e.options, y = Array.isArray(c) ? c : [], w = e.valueKey, h = e.labelKey;
11534
+ const c = e.options, y = Array.isArray(c) ? c : [], S = e.valueKey, h = e.labelKey;
11532
11535
  return y.filter((x) => x != null).map((x) => typeof x == "object" && !Array.isArray(x) ? {
11533
- value: x[w],
11536
+ value: x[S],
11534
11537
  label: x[h] ?? "",
11535
11538
  disabled: !!x.disabled,
11536
11539
  raw: x
@@ -11541,8 +11544,8 @@ const $n = ia({
11541
11544
  raw: x
11542
11545
  });
11543
11546
  }), v = p(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : ""), u = p(() => {
11544
- var y, w;
11545
- const c = (w = (y = e.loadingTxt) == null ? void 0 : y.trim) == null ? void 0 : w.call(y);
11547
+ var y, S;
11548
+ const c = (S = (y = e.loadingTxt) == null ? void 0 : y.trim) == null ? void 0 : S.call(y);
11546
11549
  return {
11547
11550
  icon: e.loadingIcon,
11548
11551
  showTxt: !!c,
@@ -11551,8 +11554,8 @@ const $n = ia({
11551
11554
  };
11552
11555
  });
11553
11556
  return (c, y) => {
11554
- const w = V("Loading");
11555
- return A(), E("div", oe({
11557
+ const S = G("Loading");
11558
+ return A(), k("div", oe({
11556
11559
  class: ["MvcList", [t(v), c.$attrs.class]]
11557
11560
  }, c.$attrs), [
11558
11561
  m("div", Ro, [
@@ -11560,7 +11563,7 @@ const $n = ia({
11560
11563
  class: H(["listScroll yscroll", e.listClass]),
11561
11564
  role: "listbox"
11562
11565
  }, [
11563
- (A(!0), E(re, null, ce(t(g), (h) => (A(), E("div", {
11566
+ (A(!0), k(re, null, ce(t(g), (h) => (A(), k("div", {
11564
11567
  key: s(h),
11565
11568
  class: H(["listItem", [e.itemClass, { active: n(h), isDisabled: h.disabled }]]),
11566
11569
  role: "option",
@@ -11568,11 +11571,11 @@ const $n = ia({
11568
11571
  onClick: (x) => r(h)
11569
11572
  }, [
11570
11573
  q(c.$slots, "item", { option: h }, () => [
11571
- ie(I(c.$l(h.label)), 1)
11574
+ ie($(c.$l(h.label)), 1)
11572
11575
  ], !0)
11573
11576
  ], 10, Fo))), 128))
11574
11577
  ], 2),
11575
- D(w, oe({
11578
+ R(S, oe({
11576
11579
  loading: e.loading
11577
11580
  }, t(u)), null, 16, ["loading"])
11578
11581
  ])
@@ -11627,8 +11630,8 @@ const $n = ia({
11627
11630
  setup(a) {
11628
11631
  const o = a;
11629
11632
  return (e, l) => (A(), le(ua, { name: "loadingFade" }, {
11630
- default: B(() => [
11631
- o.loading ? (A(), E("div", {
11633
+ default: j(() => [
11634
+ o.loading ? (A(), k("div", {
11632
11635
  key: 0,
11633
11636
  class: "MvcLoading absFull hp100 flexMode flexV vc hc",
11634
11637
  role: "status",
@@ -11644,10 +11647,10 @@ const $n = ia({
11644
11647
  class: H([o.icon, `fs${o.size}`, "imicon ani-rotate"]),
11645
11648
  "aria-hidden": "true"
11646
11649
  }, null, 2),
11647
- o.showTxt ? (A(), E("span", {
11650
+ o.showTxt ? (A(), k("span", {
11648
11651
  key: 0,
11649
11652
  class: H(["loaderTxt fs14 txt-c", o.txtClass])
11650
- }, I(e.$l(o.txt)), 3)) : J("", !0)
11653
+ }, $(e.$l(o.txt)), 3)) : J("", !0)
11651
11654
  ])
11652
11655
  ], 4)) : J("", !0)
11653
11656
  ]),
@@ -11709,17 +11712,17 @@ const $n = ia({
11709
11712
  });
11710
11713
  se(() => {
11711
11714
  try {
11712
- const f = localStorage.getItem(ke);
11713
- if (f) {
11714
- const z = JSON.parse(f);
11715
- z && typeof z == "object" && z.remember && (s.remember = !0, z.username != null && (s.form.username = String(z.username)), z.password != null && (s.form.password = String(z.password)));
11715
+ const b = localStorage.getItem(ke);
11716
+ if (b) {
11717
+ const T = JSON.parse(b);
11718
+ T && typeof T == "object" && T.remember && (s.remember = !0, T.username != null && (s.form.username = String(T.username)), T.password != null && (s.form.password = String(T.password)));
11716
11719
  }
11717
11720
  } catch {
11718
11721
  }
11719
11722
  });
11720
- const g = o, v = (f, z = "info") => {
11721
- const R = l == null ? void 0 : l.$message;
11722
- R != null && R[z] && R[z](f);
11723
+ const g = o, v = (b, T = "info") => {
11724
+ const D = l == null ? void 0 : l.$message;
11725
+ D != null && D[T] && D[T](b);
11723
11726
  }, u = () => {
11724
11727
  try {
11725
11728
  s.remember ? localStorage.setItem(
@@ -11736,73 +11739,73 @@ const $n = ia({
11736
11739
  v("Google 登录需按官方物料与 OAuth 配置 token,当前未发起跳转。");
11737
11740
  }, y = () => {
11738
11741
  v("Sign in with Apple 需按 Apple 人机界面指南配置服务,当前未发起跳转。");
11739
- }, w = async () => {
11740
- var S, O;
11742
+ }, S = async () => {
11743
+ var w, E;
11741
11744
  if (e.loading || r.value) return;
11742
- const f = await ((O = (S = n.value) == null ? void 0 : S.validate) == null ? void 0 : O.call(S));
11743
- if (!f) return;
11744
- const z = String(f.username ?? "").trim();
11745
- if (!z)
11745
+ const b = await ((E = (w = n.value) == null ? void 0 : w.validate) == null ? void 0 : E.call(w));
11746
+ if (!b) return;
11747
+ const T = String(b.username ?? "").trim();
11748
+ if (!T)
11746
11749
  return;
11747
- const R = String(f.password ?? "").trim();
11748
- if (R) {
11750
+ const D = String(b.password ?? "").trim();
11751
+ if (D) {
11749
11752
  r.value = !0;
11750
11753
  try {
11751
- const k = await globalThis.$pm(async () => ({
11754
+ const O = await globalThis.$pm(async () => ({
11752
11755
  method: "password",
11753
- username: z,
11754
- password: R
11756
+ username: T,
11757
+ password: D
11755
11758
  }));
11756
11759
  u(), g("submit", {
11757
11760
  method: "password",
11758
- [_.value.username.valueKey]: k.username,
11759
- [_.value.password.valueKey]: k.password
11761
+ [f.value.username.valueKey]: O.username,
11762
+ [f.value.password.valueKey]: O.password
11760
11763
  }), localStorage.removeItem("ctab"), localStorage.removeItem("tabs");
11761
11764
  } finally {
11762
11765
  r.value = !1;
11763
11766
  }
11764
11767
  }
11765
11768
  }, h = p(() => !!e.loading || r.value), x = p(() => {
11766
- const f = globalThis.$config;
11769
+ const b = globalThis.$config;
11767
11770
  return {
11768
- copyright: (f == null ? void 0 : f.copyright) ?? "",
11769
- author: (f == null ? void 0 : f.author) ?? ""
11771
+ copyright: (b == null ? void 0 : b.copyright) ?? "",
11772
+ author: (b == null ? void 0 : b.author) ?? ""
11770
11773
  };
11771
- }), F = p(() => b[s.method] ?? "Login"), _ = p(() => ({
11774
+ }), F = p(() => z[s.method] ?? "Login"), f = p(() => ({
11772
11775
  username: {
11773
- ...C.username,
11776
+ ..._.username,
11774
11777
  ...e.formFileds.username || {}
11775
11778
  },
11776
11779
  password: {
11777
- ...C.password,
11780
+ ..._.password,
11778
11781
  ...e.formFileds.password || {}
11779
11782
  }
11780
11783
  })), d = p(() => ({
11781
11784
  username: [
11782
11785
  {
11783
11786
  required: !0,
11784
- message: _.value.username.message,
11787
+ message: f.value.username.message,
11785
11788
  trigger: "blur"
11786
11789
  }
11787
11790
  ],
11788
11791
  password: [
11789
11792
  {
11790
11793
  required: !0,
11791
- message: _.value.password.message,
11794
+ message: f.value.password.message,
11792
11795
  trigger: "blur"
11793
11796
  }
11794
11797
  ]
11795
- })), T = p(() => [
11798
+ })), C = p(() => [
11796
11799
  { value: "password", label: "Account" },
11797
11800
  { value: "auth", label: "Google/Apple" },
11798
11801
  { value: "dingtalk", label: "DingTalk" },
11799
11802
  { value: "feishu", label: "Lark" },
11800
11803
  { value: "wechat", label: "Wechat" }
11801
- ].filter((f, z) => e.loginMethods.includes(z))), b = {
11804
+ ].filter((b, T) => e.loginMethods.includes(T))), z = {
11802
11805
  dingtalk: "DingTalk",
11803
11806
  feishu: "Lark",
11804
11807
  wechat: "Wechat"
11805
- }, C = {
11808
+ }, _ = {
11806
11809
  username: {
11807
11810
  label: "Account",
11808
11811
  placeholder: "Enter your account",
@@ -11820,48 +11823,48 @@ const $n = ia({
11820
11823
  valueKey: "password"
11821
11824
  }
11822
11825
  };
11823
- return (f, z) => {
11824
- const R = V("BtnGroup"), S = V("Input"), O = V("el-form-item"), k = V("el-checkbox"), j = V("el-button"), G = V("Form");
11825
- return A(), E("div", Yo, [
11826
+ return (b, T) => {
11827
+ const D = G("BtnGroup"), w = G("Input"), E = G("el-form-item"), O = G("el-checkbox"), I = G("el-button"), V = G("Form");
11828
+ return A(), k("div", Yo, [
11826
11829
  m("div", Wo, [
11827
11830
  m("div", qo, [
11828
- m("span", Xo, I(f.$l(e.title)), 1)
11831
+ m("span", Xo, $(b.$l(e.title)), 1)
11829
11832
  ]),
11830
- D(R, {
11833
+ R(D, {
11831
11834
  modelValue: t(s).method,
11832
- "onUpdate:modelValue": z[0] || (z[0] = (P) => t(s).method = P),
11833
- options: t(T),
11835
+ "onUpdate:modelValue": T[0] || (T[0] = (P) => t(s).method = P),
11836
+ options: t(C),
11834
11837
  disabled: t(h),
11835
11838
  size: "small",
11836
11839
  class: "mb32"
11837
11840
  }, null, 8, ["modelValue", "options", "disabled"]),
11838
11841
  m("div", Qo, [
11839
- t(s).method === "password" ? (A(), le(G, {
11842
+ t(s).method === "password" ? (A(), le(V, {
11840
11843
  key: 0,
11841
11844
  ref_key: "pwdFormRef",
11842
11845
  ref: n,
11843
11846
  modelValue: t(s).form,
11844
- "onUpdate:modelValue": z[4] || (z[4] = (P) => t(s).form = P),
11847
+ "onUpdate:modelValue": T[4] || (T[4] = (P) => t(s).form = P),
11845
11848
  size: "default",
11846
11849
  rules: t(d)
11847
11850
  }, {
11848
- default: B(() => [
11849
- D(O, { prop: "username" }, {
11850
- default: B(() => [
11851
- D(S, {
11851
+ default: j(() => [
11852
+ R(E, { prop: "username" }, {
11853
+ default: j(() => [
11854
+ R(w, {
11852
11855
  modelValue: t(s).form.username,
11853
- "onUpdate:modelValue": z[1] || (z[1] = (P) => t(s).form.username = P),
11856
+ "onUpdate:modelValue": T[1] || (T[1] = (P) => t(s).form.username = P),
11854
11857
  class: "wp100",
11855
11858
  size: "large",
11856
11859
  name: "username",
11857
- placeholder: t(_).username.placeholder,
11860
+ placeholder: t(f).username.placeholder,
11858
11861
  disabled: t(h)
11859
11862
  }, be({ _: 2 }, [
11860
- t(_).username.showPrefix ? {
11863
+ t(f).username.showPrefix ? {
11861
11864
  name: "prefix",
11862
- fn: B(() => [
11865
+ fn: j(() => [
11863
11866
  m("i", {
11864
- class: H(t(_).username.icon)
11867
+ class: H(t(f).username.icon)
11865
11868
  }, null, 2)
11866
11869
  ]),
11867
11870
  key: "0"
@@ -11870,25 +11873,25 @@ const $n = ia({
11870
11873
  ]),
11871
11874
  _: 1
11872
11875
  }),
11873
- D(O, { prop: "password" }, {
11874
- default: B(() => [
11875
- D(S, {
11876
+ R(E, { prop: "password" }, {
11877
+ default: j(() => [
11878
+ R(w, {
11876
11879
  modelValue: t(s).form.password,
11877
- "onUpdate:modelValue": z[2] || (z[2] = (P) => t(s).form.password = P),
11880
+ "onUpdate:modelValue": T[2] || (T[2] = (P) => t(s).form.password = P),
11878
11881
  class: "wp100",
11879
11882
  size: "large",
11880
11883
  type: "password",
11881
11884
  name: "password",
11882
- placeholder: t(_).password.placeholder,
11885
+ placeholder: t(f).password.placeholder,
11883
11886
  "show-password": "",
11884
11887
  disabled: t(h),
11885
- onKeyup: da(w, ["enter"])
11888
+ onKeyup: da(S, ["enter"])
11886
11889
  }, be({ _: 2 }, [
11887
- t(_).password.showPrefix ? {
11890
+ t(f).password.showPrefix ? {
11888
11891
  name: "prefix",
11889
- fn: B(() => [
11892
+ fn: j(() => [
11890
11893
  m("i", {
11891
- class: H(t(_).password.icon)
11894
+ class: H(t(f).password.icon)
11892
11895
  }, null, 2)
11893
11896
  ]),
11894
11897
  key: "0"
@@ -11897,44 +11900,44 @@ const $n = ia({
11897
11900
  ]),
11898
11901
  _: 1
11899
11902
  }),
11900
- D(O, null, {
11901
- default: B(() => [
11902
- D(k, {
11903
+ R(E, null, {
11904
+ default: j(() => [
11905
+ R(O, {
11903
11906
  modelValue: t(s).remember,
11904
- "onUpdate:modelValue": z[3] || (z[3] = (P) => t(s).remember = P),
11907
+ "onUpdate:modelValue": T[3] || (T[3] = (P) => t(s).remember = P),
11905
11908
  disabled: t(h)
11906
11909
  }, {
11907
- default: B(() => [
11908
- ie(I(f.$l(e.rememberTxt)), 1)
11910
+ default: j(() => [
11911
+ ie($(b.$l(e.rememberTxt)), 1)
11909
11912
  ]),
11910
11913
  _: 1
11911
11914
  }, 8, ["modelValue", "disabled"])
11912
11915
  ]),
11913
11916
  _: 1
11914
11917
  }),
11915
- D(j, {
11918
+ R(I, {
11916
11919
  type: "primary",
11917
11920
  size: "large",
11918
11921
  class: "wp100",
11919
11922
  loading: t(h),
11920
11923
  disabled: t(h),
11921
- onClick: w
11924
+ onClick: S
11922
11925
  }, {
11923
- default: B(() => [
11924
- ie(I(f.$l(e.submitTxt)), 1)
11926
+ default: j(() => [
11927
+ ie($(b.$l(e.submitTxt)), 1)
11925
11928
  ]),
11926
11929
  _: 1
11927
11930
  }, 8, ["loading", "disabled"])
11928
11931
  ]),
11929
11932
  _: 1
11930
- }, 8, ["modelValue", "rules"])) : t(s).method === "auth" ? (A(), E("div", et, [
11931
- z[7] || (z[7] = m("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
11933
+ }, 8, ["modelValue", "rules"])) : t(s).method === "auth" ? (A(), k("div", et, [
11934
+ T[7] || (T[7] = m("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
11932
11935
  m("button", {
11933
11936
  type: "button",
11934
11937
  class: "oauthGoogle wp100 mb36",
11935
11938
  disabled: t(h),
11936
11939
  onClick: c
11937
- }, [...z[5] || (z[5] = [
11940
+ }, [...T[5] || (T[5] = [
11938
11941
  Ra('<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)
11939
11942
  ])], 8, at),
11940
11943
  m("button", {
@@ -11942,7 +11945,7 @@ const $n = ia({
11942
11945
  class: "oauthApple wp100 mb16",
11943
11946
  disabled: t(h),
11944
11947
  onClick: y
11945
- }, [...z[6] || (z[6] = [
11948
+ }, [...T[6] || (T[6] = [
11946
11949
  m("svg", {
11947
11950
  class: "oauthAppleLogo noShrink",
11948
11951
  xmlns: "http://www.w3.org/2000/svg",
@@ -11958,8 +11961,8 @@ const $n = ia({
11958
11961
  ], -1),
11959
11962
  m("span", { class: "oauthAppleLabel fs14" }, "Sign in with Apple", -1)
11960
11963
  ])], 8, lt)
11961
- ])) : (A(), E("div", nt, [
11962
- m("p", ot, I(t(F)), 1),
11964
+ ])) : (A(), k("div", nt, [
11965
+ m("p", ot, $(t(F)), 1),
11963
11966
  m("div", {
11964
11967
  class: H(["qrBlock w180 h180 radius6", `qr-${t(s).method}`]),
11965
11968
  "aria-hidden": "true"
@@ -11968,8 +11971,8 @@ const $n = ia({
11968
11971
  ])
11969
11972
  ]),
11970
11973
  m("div", tt, [
11971
- m("span", null, I(t(x).copyright), 1),
11972
- m("span", null, I(t(x).author), 1)
11974
+ m("span", null, $(t(x).copyright), 1),
11975
+ m("span", null, $(t(x).author), 1)
11973
11976
  ])
11974
11977
  ]);
11975
11978
  };
@@ -12087,7 +12090,7 @@ const $n = ia({
12087
12090
  }, y = () => {
12088
12091
  const P = c();
12089
12092
  return (P == null ? void 0 : P.input) || (P == null ? void 0 : P.textarea) || null;
12090
- }, w = () => {
12093
+ }, S = () => {
12091
12094
  var W;
12092
12095
  const P = c();
12093
12096
  (W = P == null ? void 0 : P.focus) == null || W.call(P);
@@ -12095,7 +12098,7 @@ const $n = ia({
12095
12098
  return N ? (N.focus(), document.activeElement === N) : !1;
12096
12099
  }, h = (P = 0) => {
12097
12100
  u(), me(() => {
12098
- !e.focus || typeof window > "u" || w() || P >= 5 || (s = setTimeout(() => {
12101
+ !e.focus || typeof window > "u" || S() || P >= 5 || (s = setTimeout(() => {
12099
12102
  s = null, h(P + 1);
12100
12103
  }, 30));
12101
12104
  });
@@ -12103,38 +12106,38 @@ const $n = ia({
12103
12106
  g.val = P, v("update:modelValue", P);
12104
12107
  }, F = (P) => {
12105
12108
  v("input", P);
12106
- }, _ = (P, N) => {
12109
+ }, f = (P, N) => {
12107
12110
  v("search", P, N);
12108
12111
  }, d = (P, N) => {
12109
12112
  v("select", P, N);
12110
- }, T = (P, N) => {
12113
+ }, C = (P, N) => {
12111
12114
  v("whole-remove", P, N);
12112
- }, b = (P) => {
12115
+ }, z = (P) => {
12113
12116
  g.focused = !0, v("focus", P);
12114
- }, C = (P) => {
12117
+ }, _ = (P) => {
12115
12118
  g.focused = !1, v("blur", P);
12116
- }, f = p(() => {
12117
- const { modelValue: P, label: N, materialLabel: W, focus: $, ...L } = e;
12119
+ }, b = p(() => {
12120
+ const { modelValue: P, label: N, materialLabel: W, focus: B, ...L } = e;
12118
12121
  return L;
12119
- }), z = p(() => {
12122
+ }), T = p(() => {
12120
12123
  const { class: P, ...N } = n;
12121
12124
  return N;
12122
- }), R = p(() => ({
12123
- ...z.value,
12124
- ...f.value
12125
- })), S = p(() => String(g.val ?? "").length > 0), O = p(() => !!n.placeholder), k = p(
12126
- () => e.materialLabel && (g.focused || S.value || O.value || l.prefix)
12127
- ), j = p(() => ({
12125
+ }), D = p(() => ({
12126
+ ...T.value,
12127
+ ...b.value
12128
+ })), w = p(() => String(g.val ?? "").length > 0), E = p(() => !!n.placeholder), O = p(
12129
+ () => e.materialLabel && (g.focused || w.value || E.value || l.prefix)
12130
+ ), I = p(() => ({
12128
12131
  [n.class]: !!n.class,
12129
12132
  hasLabel: !!e.label,
12130
12133
  isMaterialLabel: !!(e.label && e.materialLabel),
12131
12134
  isTopLabel: !!(e.label && !e.materialLabel),
12132
- isFloat: k.value,
12135
+ isFloat: O.value,
12133
12136
  isFocused: g.focused,
12134
12137
  isDisabled: !!n.disabled,
12135
12138
  isMention: !0,
12136
- isTextarea: R.value.type === "textarea"
12137
- })), G = p(
12139
+ isTextarea: D.value.type === "textarea"
12140
+ })), V = p(
12138
12141
  () => e.materialLabel ? {
12139
12142
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
12140
12143
  } : void 0
@@ -12155,29 +12158,29 @@ const $n = ia({
12155
12158
  ), ve(() => {
12156
12159
  u();
12157
12160
  }), (P, N) => {
12158
- const W = V("el-mention");
12159
- return A(), E("div", {
12160
- class: H(["MvcField MvcFieldMention", t(j)]),
12161
- style: de(t(G))
12161
+ const W = G("el-mention");
12162
+ return A(), k("div", {
12163
+ class: H(["MvcField MvcFieldMention", t(I)]),
12164
+ style: de(t(V))
12162
12165
  }, [
12163
- e.label ? (A(), E("label", ct, I(e.label), 1)) : J("", !0),
12164
- D(W, oe({
12166
+ e.label ? (A(), k("label", ct, $(e.label), 1)) : J("", !0),
12167
+ R(W, oe({
12165
12168
  ref_key: "mentionRef",
12166
12169
  ref: r,
12167
12170
  "model-value": t(g).val,
12168
12171
  class: "MvcMention"
12169
- }, t(R), {
12172
+ }, t(D), {
12170
12173
  "onUpdate:modelValue": x,
12171
12174
  onInput: F,
12172
- onSearch: _,
12175
+ onSearch: f,
12173
12176
  onSelect: d,
12174
- onWholeRemove: T,
12175
- onFocus: b,
12176
- onBlur: C
12177
+ onWholeRemove: C,
12178
+ onFocus: z,
12179
+ onBlur: _
12177
12180
  }), be({ _: 2 }, [
12178
- ce(t(l), ($, L) => ({
12181
+ ce(t(l), (B, L) => ({
12179
12182
  name: L,
12180
- fn: B((K) => [
12183
+ fn: j((K) => [
12181
12184
  q(P.$slots, L, he(ze(K || {})), void 0, !0)
12182
12185
  ])
12183
12186
  }))
@@ -12215,7 +12218,7 @@ const $n = ia({
12215
12218
  const e = p(() => ({
12216
12219
  borderInlineStart: `${(Number(o.size) || 4) / 16}rem ${o.type} var(--color-${o.color})`
12217
12220
  }));
12218
- return (l, n) => (A(), E("div", {
12221
+ return (l, n) => (A(), k("div", {
12219
12222
  class: "MvcNote",
12220
12223
  style: de(t(e))
12221
12224
  }, [
@@ -12258,14 +12261,14 @@ const $n = ia({
12258
12261
  minHeight: `${v})`
12259
12262
  };
12260
12263
  });
12261
- return (v, u) => (A(), E("div", {
12264
+ return (v, u) => (A(), k("div", {
12262
12265
  class: H(["MvcPage", t(s) && "hasTab"])
12263
12266
  }, [
12264
- o.noheader ? J("", !0) : (A(), E("div", ft, [
12267
+ o.noheader ? J("", !0) : (A(), k("div", ft, [
12265
12268
  m("div", ht, [
12266
- v.$slots.header ? q(v.$slots, "header", { key: 0 }, void 0, !0) : t(r) ? (A(), E(re, { key: 1 }, [
12267
- m("h3", _t, I(o.title), 1),
12268
- m("p", gt, I(o.subtitle), 1)
12269
+ v.$slots.header ? q(v.$slots, "header", { key: 0 }, void 0, !0) : t(r) ? (A(), k(re, { key: 1 }, [
12270
+ m("h3", _t, $(o.title), 1),
12271
+ m("p", gt, $(o.subtitle), 1)
12269
12272
  ], 64)) : J("", !0)
12270
12273
  ]),
12271
12274
  m("div", yt, [
@@ -12343,11 +12346,11 @@ const $n = ia({
12343
12346
  emits: ["update:modelValue", "change", "focus", "blur"],
12344
12347
  setup(a, { emit: o }) {
12345
12348
  const e = a, l = ee(null), n = ee([]), r = ee(!1), s = ee(!1), g = ee(!1), v = ee(!1), u = fe(), c = o, y = (i) => {
12346
- e.multiple ? (n.value = Array.isArray(i) ? [...i] : [], f()) : (c("update:modelValue", i), c("change", i));
12347
- }, w = (i) => {
12349
+ e.multiple ? (n.value = Array.isArray(i) ? [...i] : [], b()) : (c("update:modelValue", i), c("change", i));
12350
+ }, S = (i) => {
12348
12351
  if (r.value = i, i && e.multiple) {
12349
12352
  const M = e.modelValue;
12350
- n.value = Array.isArray(M) ? [...M] : M ? [M] : [], f();
12353
+ n.value = Array.isArray(M) ? [...M] : M ? [M] : [], b();
12351
12354
  }
12352
12355
  }, h = (i) => {
12353
12356
  v.value = !0, c("focus", i);
@@ -12355,25 +12358,25 @@ const $n = ia({
12355
12358
  v.value = !1, c("blur", i);
12356
12359
  }, F = () => {
12357
12360
  var Y;
12358
- if (!e.filterable || !r.value) return C();
12361
+ if (!e.filterable || !r.value) return _();
12359
12362
  const i = l.value, M = ((Y = i == null ? void 0 : i.optionsArray) == null ? void 0 : Y.value) ?? (i == null ? void 0 : i.optionsArray) ?? [];
12360
12363
  return Array.isArray(M) ? M.filter((Z) => {
12361
12364
  var U;
12362
12365
  return Z.visible && !Z.disabled && !((U = Z.states) != null && U.groupDisabled);
12363
- }).map((Z) => Z.value) : C();
12364
- }, _ = () => {
12366
+ }).map((Z) => Z.value) : _();
12367
+ }, f = () => {
12365
12368
  const i = u.multipleLimit ?? u["multiple-limit"], M = Number(i);
12366
12369
  return Number.isFinite(M) && M > 0 ? M : 0;
12367
12370
  }, d = () => {
12368
- const i = F(), M = new Set(n.value ?? []), Y = i.filter((Q) => M.has(Q)), Z = _(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12371
+ const i = F(), M = new Set(n.value ?? []), Y = i.filter((Q) => M.has(Q)), Z = f(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12369
12372
  return {
12370
12373
  selected: Math.min(Y.length, U),
12371
12374
  total: U
12372
12375
  };
12373
- }, T = (i) => {
12376
+ }, C = (i) => {
12374
12377
  const M = F();
12375
12378
  if (i) {
12376
- const Y = _(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), Q = [...Z];
12379
+ const Y = f(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), Q = [...Z];
12377
12380
  for (const ue of M)
12378
12381
  if (!U.has(ue)) {
12379
12382
  if (Y > 0 && Q.length >= Y) break;
@@ -12384,17 +12387,17 @@ const $n = ia({
12384
12387
  const Y = new Set(M);
12385
12388
  n.value = n.value.filter((Z) => !Y.has(Z));
12386
12389
  }
12387
- f();
12388
- }, b = () => {
12390
+ b();
12391
+ }, z = () => {
12389
12392
  var i, M;
12390
12393
  e.multiple && (c("update:modelValue", n.value), c("change", n.value), (M = (i = l.value) == null ? void 0 : i.blur) == null || M.call(i));
12391
- }, C = () => {
12394
+ }, _ = () => {
12392
12395
  const i = e.valueKey;
12393
12396
  return (e.options || []).map((M) => typeof M == "object" ? M[i] : M);
12394
- }, f = () => {
12397
+ }, b = () => {
12395
12398
  const i = d();
12396
12399
  s.value = i.total > 0 && i.selected === i.total, g.value = i.selected > 0 && i.selected < i.total;
12397
- }, z = p(() => e.multiple && r.value ? n.value : e.modelValue), R = p(() => {
12400
+ }, T = p(() => e.multiple && r.value ? n.value : e.modelValue), D = p(() => {
12398
12401
  const {
12399
12402
  modelValue: i,
12400
12403
  valueKey: M,
@@ -12412,29 +12415,29 @@ const $n = ia({
12412
12415
  label: Y
12413
12416
  }
12414
12417
  };
12415
- }), S = p(
12418
+ }), w = p(
12416
12419
  () => e.nowrap ? {
12417
12420
  collapseTags: !0,
12418
12421
  collapseTagsTooltip: !0,
12419
12422
  maxCollapseTags: 1,
12420
12423
  tagTooltip: { popperStyle: { maxWidth: "400px" } }
12421
12424
  } : {}
12422
- ), O = p(() => {
12425
+ ), E = p(() => {
12423
12426
  const { class: i, ...M } = u;
12424
12427
  return M;
12425
- }), k = p(() => ({
12426
- ...S.value,
12427
- ...O.value,
12428
- ...R.value,
12428
+ }), O = p(() => ({
12429
+ ...w.value,
12430
+ ...E.value,
12431
+ ...D.value,
12429
12432
  placeholder: u.placeholder ?? ""
12430
- })), j = p(() => {
12433
+ })), I = p(() => {
12431
12434
  const i = e.multiple && r.value ? n.value : e.modelValue, M = Array.isArray(i) ? i : i ? [i] : [];
12432
- return !e.filterable || !r.value ? Math.min(M.length, G.value) : d().selected;
12433
- }), G = p(() => d().total), P = p(() => e.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && P.value), W = p(() => {
12435
+ return !e.filterable || !r.value ? Math.min(M.length, V.value) : d().selected;
12436
+ }), V = p(() => d().total), P = p(() => e.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && P.value), W = p(() => {
12434
12437
  const i = e.multiple && r.value ? n.value : e.modelValue;
12435
12438
  return Array.isArray(i) ? i.length > 0 : i != null && String(i) !== "";
12436
- }), $ = p(() => !!u.placeholder), L = p(
12437
- () => e.materialLabel && (v.value || r.value || W.value || $.value)
12439
+ }), B = p(() => !!u.placeholder), L = p(
12440
+ () => e.materialLabel && (v.value || r.value || W.value || B.value)
12438
12441
  ), K = p(() => ({
12439
12442
  [u.class]: !!u.class,
12440
12443
  hasLabel: !!e.label,
@@ -12449,57 +12452,57 @@ const $n = ia({
12449
12452
  "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
12450
12453
  } : void 0
12451
12454
  );
12452
- return te(n, () => f(), { deep: !0 }), te(
12455
+ return te(n, () => b(), { deep: !0 }), te(
12453
12456
  () => e.modelValue,
12454
12457
  (i) => {
12455
12458
  if (e.multiple && r.value) {
12456
12459
  const M = Array.isArray(i) ? [...i] : i ? [i] : [];
12457
- JSON.stringify(M) !== JSON.stringify(n.value) && (n.value = M, f());
12460
+ JSON.stringify(M) !== JSON.stringify(n.value) && (n.value = M, b());
12458
12461
  }
12459
12462
  }
12460
12463
  ), (i, M) => {
12461
- const Y = V("el-checkbox"), Z = V("el-button"), U = V("el-select");
12462
- return A(), E("div", {
12464
+ const Y = G("el-checkbox"), Z = G("el-button"), U = G("el-select");
12465
+ return A(), k("div", {
12463
12466
  class: H(["MvcField MvcFieldSelect", t(K)]),
12464
12467
  style: de(t(ae))
12465
12468
  }, [
12466
- e.label ? (A(), E("label", St, I(e.label), 1)) : J("", !0),
12467
- D(U, oe({
12469
+ e.label ? (A(), k("label", St, $(e.label), 1)) : J("", !0),
12470
+ R(U, oe({
12468
12471
  ref_key: "selectRef",
12469
12472
  ref: l,
12470
- "model-value": t(z),
12473
+ "model-value": t(T),
12471
12474
  "tag-effect": "plain",
12472
12475
  class: "MvcSelect"
12473
- }, t(k), {
12476
+ }, t(O), {
12474
12477
  "onUpdate:modelValue": y,
12475
- onVisibleChange: w,
12478
+ onVisibleChange: S,
12476
12479
  onFocus: h,
12477
12480
  onBlur: x
12478
12481
  }), be({
12479
- default: B(() => [
12482
+ default: j(() => [
12480
12483
  q(i.$slots, "default")
12481
12484
  ]),
12482
12485
  _: 2
12483
12486
  }, [
12484
12487
  e.filterable && e.multiple ? {
12485
12488
  name: "header",
12486
- fn: B(() => [
12489
+ fn: j(() => [
12487
12490
  m("div", Tt, [
12488
- D(Y, {
12491
+ R(Y, {
12489
12492
  modelValue: t(s),
12490
12493
  "onUpdate:modelValue": M[0] || (M[0] = (Q) => ma(s) ? s.value = Q : null),
12491
12494
  indeterminate: t(g),
12492
12495
  class: "h24",
12493
- onChange: T
12496
+ onChange: C
12494
12497
  }, {
12495
- default: B(() => [
12496
- ie(I(a.selectAllTxt), 1)
12498
+ default: j(() => [
12499
+ ie($(a.selectAllTxt), 1)
12497
12500
  ]),
12498
12501
  _: 1
12499
12502
  }, 8, ["modelValue", "indeterminate"]),
12500
12503
  m("div", Ct, [
12501
- m("span", Mt, I(t(j)) + "/" + I(t(G)), 1),
12502
- t(N) ? (A(), E("span", kt, I(t(P)), 1)) : J("", !0)
12504
+ m("span", Mt, $(t(I)) + "/" + $(t(V)), 1),
12505
+ t(N) ? (A(), k("span", kt, $(t(P)), 1)) : J("", !0)
12503
12506
  ])
12504
12507
  ])
12505
12508
  ]),
@@ -12507,15 +12510,15 @@ const $n = ia({
12507
12510
  } : void 0,
12508
12511
  e.multiple ? {
12509
12512
  name: "footer",
12510
- fn: B(() => [
12513
+ fn: j(() => [
12511
12514
  m("div", Et, [
12512
- D(Z, {
12515
+ R(Z, {
12513
12516
  type: "primary",
12514
12517
  size: "small",
12515
- onClick: b
12518
+ onClick: z
12516
12519
  }, {
12517
- default: B(() => [
12518
- ie(I(a.confirmTxt), 1)
12520
+ default: j(() => [
12521
+ ie($(a.confirmTxt), 1)
12519
12522
  ]),
12520
12523
  _: 1
12521
12524
  })
@@ -12590,11 +12593,11 @@ const $n = ia({
12590
12593
  emits: ["update:modelValue", "change", "focus", "blur"],
12591
12594
  setup(a, { emit: o }) {
12592
12595
  const e = a, l = ee(null), n = ee([]), r = ee(!1), s = ee(!1), g = ee(!1), v = ee(!1), u = fe(), c = o, y = (i) => {
12593
- e.multiple ? (n.value = Array.isArray(i) ? [...i] : [], f()) : (c("update:modelValue", i), c("change", i));
12594
- }, w = (i) => {
12596
+ e.multiple ? (n.value = Array.isArray(i) ? [...i] : [], b()) : (c("update:modelValue", i), c("change", i));
12597
+ }, S = (i) => {
12595
12598
  if (r.value = i, i && e.multiple) {
12596
12599
  const M = e.modelValue;
12597
- n.value = Array.isArray(M) ? [...M] : M ? [M] : [], f();
12600
+ n.value = Array.isArray(M) ? [...M] : M ? [M] : [], b();
12598
12601
  }
12599
12602
  }, h = (i) => {
12600
12603
  v.value = !0, c("focus", i);
@@ -12602,24 +12605,24 @@ const $n = ia({
12602
12605
  v.value = !1, c("blur", i);
12603
12606
  }, F = () => {
12604
12607
  var Z;
12605
- if (!e.filterable || !r.value) return C();
12608
+ if (!e.filterable || !r.value) return _();
12606
12609
  const i = l.value, M = ((Z = i == null ? void 0 : i.filteredOptions) == null ? void 0 : Z.value) ?? (i == null ? void 0 : i.filteredOptions) ?? [];
12607
- if (!Array.isArray(M)) return C();
12610
+ if (!Array.isArray(M)) return _();
12608
12611
  const Y = e.valueKey;
12609
12612
  return M.filter((U) => U.type !== "Group" && !U.disabled).map((U) => typeof U == "object" ? U[Y] : U);
12610
- }, _ = () => {
12613
+ }, f = () => {
12611
12614
  const i = u.multipleLimit ?? u["multiple-limit"], M = Number(i);
12612
12615
  return Number.isFinite(M) && M > 0 ? M : 0;
12613
12616
  }, d = () => {
12614
- const i = F(), M = new Set(n.value ?? []), Y = i.filter((Q) => M.has(Q)), Z = _(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12617
+ const i = F(), M = new Set(n.value ?? []), Y = i.filter((Q) => M.has(Q)), Z = f(), U = Z > 0 ? Math.min(i.length, Z) : i.length;
12615
12618
  return {
12616
12619
  selected: Math.min(Y.length, U),
12617
12620
  total: U
12618
12621
  };
12619
- }, T = (i) => {
12622
+ }, C = (i) => {
12620
12623
  const M = F();
12621
12624
  if (i) {
12622
- const Y = _(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), Q = [...Z];
12625
+ const Y = f(), Z = Array.isArray(n.value) ? [...n.value] : [], U = new Set(Z), Q = [...Z];
12623
12626
  for (const ue of M)
12624
12627
  if (!U.has(ue)) {
12625
12628
  if (Y > 0 && Q.length >= Y) break;
@@ -12630,17 +12633,17 @@ const $n = ia({
12630
12633
  const Y = new Set(M);
12631
12634
  n.value = n.value.filter((Z) => !Y.has(Z));
12632
12635
  }
12633
- f();
12634
- }, b = () => {
12636
+ b();
12637
+ }, z = () => {
12635
12638
  var i, M;
12636
12639
  e.multiple && (c("update:modelValue", n.value), c("change", n.value), (M = (i = l.value) == null ? void 0 : i.blur) == null || M.call(i));
12637
- }, C = () => {
12640
+ }, _ = () => {
12638
12641
  const i = e.valueKey;
12639
12642
  return (e.options || []).map((M) => typeof M == "object" ? M[i] : M);
12640
- }, f = () => {
12643
+ }, b = () => {
12641
12644
  const i = d();
12642
12645
  s.value = i.total > 0 && i.selected === i.total, g.value = i.selected > 0 && i.selected < i.total;
12643
- }, z = p(() => e.multiple && r.value ? n.value : e.modelValue), R = p(() => {
12646
+ }, T = p(() => e.multiple && r.value ? n.value : e.modelValue), D = p(() => {
12644
12647
  const {
12645
12648
  modelValue: i,
12646
12649
  valueKey: M,
@@ -12658,29 +12661,29 @@ const $n = ia({
12658
12661
  label: Y
12659
12662
  }
12660
12663
  };
12661
- }), S = p(
12664
+ }), w = p(
12662
12665
  () => e.nowrap ? {
12663
12666
  collapseTags: !0,
12664
12667
  collapseTagsTooltip: !0,
12665
12668
  maxCollapseTags: 1,
12666
12669
  tagTooltip: { popperStyle: { maxWidth: "400px" } }
12667
12670
  } : {}
12668
- ), O = p(() => {
12671
+ ), E = p(() => {
12669
12672
  const { class: i, ...M } = u;
12670
12673
  return M;
12671
- }), k = p(() => ({
12672
- ...S.value,
12673
- ...O.value,
12674
- ...R.value,
12674
+ }), O = p(() => ({
12675
+ ...w.value,
12676
+ ...E.value,
12677
+ ...D.value,
12675
12678
  placeholder: u.placeholder ?? ""
12676
- })), j = p(() => {
12679
+ })), I = p(() => {
12677
12680
  const i = e.multiple && r.value ? n.value : e.modelValue, M = Array.isArray(i) ? i : i ? [i] : [];
12678
- return !e.filterable || !r.value ? Math.min(M.length, G.value) : d().selected;
12679
- }), G = p(() => d().total), P = p(() => e.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && P.value), W = p(() => {
12681
+ return !e.filterable || !r.value ? Math.min(M.length, V.value) : d().selected;
12682
+ }), V = p(() => d().total), P = p(() => e.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && P.value), W = p(() => {
12680
12683
  const i = e.multiple && r.value ? n.value : e.modelValue;
12681
12684
  return Array.isArray(i) ? i.length > 0 : i != null && String(i) !== "";
12682
- }), $ = p(() => !!u.placeholder), L = p(
12683
- () => e.materialLabel && (v.value || r.value || W.value || $.value)
12685
+ }), B = p(() => !!u.placeholder), L = p(
12686
+ () => e.materialLabel && (v.value || r.value || W.value || B.value)
12684
12687
  ), K = p(() => ({
12685
12688
  [u.class]: !!u.class,
12686
12689
  hasLabel: !!e.label,
@@ -12693,52 +12696,52 @@ const $n = ia({
12693
12696
  })), ae = p(
12694
12697
  () => e.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
12695
12698
  );
12696
- return te(n, () => f(), { deep: !0 }), te(
12699
+ return te(n, () => b(), { deep: !0 }), te(
12697
12700
  () => e.modelValue,
12698
12701
  (i) => {
12699
12702
  if (e.multiple && r.value) {
12700
12703
  const M = Array.isArray(i) ? [...i] : i ? [i] : [];
12701
- JSON.stringify(M) !== JSON.stringify(n.value) && (n.value = M, f());
12704
+ JSON.stringify(M) !== JSON.stringify(n.value) && (n.value = M, b());
12702
12705
  }
12703
12706
  }
12704
12707
  ), (i, M) => {
12705
- const Y = V("el-checkbox"), Z = V("el-button"), U = V("el-select-v2");
12706
- return A(), E("div", {
12708
+ const Y = G("el-checkbox"), Z = G("el-button"), U = G("el-select-v2");
12709
+ return A(), k("div", {
12707
12710
  class: H(["MvcField MvcFieldSelectV2", t(K)]),
12708
12711
  style: de(t(ae))
12709
12712
  }, [
12710
- e.label ? (A(), E("label", xt, I(e.label), 1)) : J("", !0),
12711
- D(U, oe({
12713
+ e.label ? (A(), k("label", xt, $(e.label), 1)) : J("", !0),
12714
+ R(U, oe({
12712
12715
  ref_key: "selectRef",
12713
12716
  ref: l,
12714
- "model-value": t(z),
12717
+ "model-value": t(T),
12715
12718
  class: "MvcSelectV2",
12716
12719
  "tag-effect": "plain"
12717
- }, t(k), {
12720
+ }, t(O), {
12718
12721
  "onUpdate:modelValue": y,
12719
- onVisibleChange: w,
12722
+ onVisibleChange: S,
12720
12723
  onFocus: h,
12721
12724
  onBlur: x
12722
12725
  }), be({ _: 2 }, [
12723
12726
  e.filterable && e.multiple ? {
12724
12727
  name: "header",
12725
- fn: B(() => [
12728
+ fn: j(() => [
12726
12729
  m("div", Lt, [
12727
- D(Y, {
12730
+ R(Y, {
12728
12731
  modelValue: t(s),
12729
12732
  "onUpdate:modelValue": M[0] || (M[0] = (Q) => ma(s) ? s.value = Q : null),
12730
12733
  indeterminate: t(g),
12731
12734
  class: "h24",
12732
- onChange: T
12735
+ onChange: C
12733
12736
  }, {
12734
- default: B(() => [
12735
- ie(I(a.selectAllTxt), 1)
12737
+ default: j(() => [
12738
+ ie($(a.selectAllTxt), 1)
12736
12739
  ]),
12737
12740
  _: 1
12738
12741
  }, 8, ["modelValue", "indeterminate"]),
12739
12742
  m("div", Nt, [
12740
- m("span", It, I(t(j)) + "/" + I(t(G)), 1),
12741
- t(N) ? (A(), E("span", $t, I(t(P)), 1)) : J("", !0)
12743
+ m("span", It, $(t(I)) + "/" + $(t(V)), 1),
12744
+ t(N) ? (A(), k("span", $t, $(t(P)), 1)) : J("", !0)
12742
12745
  ])
12743
12746
  ])
12744
12747
  ]),
@@ -12746,22 +12749,22 @@ const $n = ia({
12746
12749
  } : void 0,
12747
12750
  i.$slots.default ? {
12748
12751
  name: "default",
12749
- fn: B((Q) => [
12752
+ fn: j((Q) => [
12750
12753
  q(i.$slots, "default", he(ze(Q)))
12751
12754
  ]),
12752
12755
  key: "1"
12753
12756
  } : void 0,
12754
12757
  e.multiple ? {
12755
12758
  name: "footer",
12756
- fn: B(() => [
12759
+ fn: j(() => [
12757
12760
  m("div", Bt, [
12758
- D(Z, {
12761
+ R(Z, {
12759
12762
  type: "primary",
12760
12763
  size: "small",
12761
- onClick: b
12764
+ onClick: z
12762
12765
  }, {
12763
- default: B(() => [
12764
- ie(I(a.confirmTxt), 1)
12766
+ default: j(() => [
12767
+ ie($(a.confirmTxt), 1)
12765
12768
  ]),
12766
12769
  _: 1
12767
12770
  })
@@ -12812,22 +12815,22 @@ const $n = ia({
12812
12815
  }), n.forEach((h, x) => {
12813
12816
  var F;
12814
12817
  if (window.$getType(h.type), ((F = h.type) == null ? void 0 : F.name) === "ElTableColumn") {
12815
- let _ = {
12818
+ let f = {
12816
12819
  ...h.props,
12817
12820
  sort: x,
12818
12821
  nomove: h.props.nomove || h.props.nomove === "" || h.props.type === "selection" || h.props.label === "Operation",
12819
12822
  resizable: !0,
12820
12823
  visible: h.props.visible !== !1
12821
12824
  };
12822
- if (_.labelKey || (_.labelKey = _.label), _.label = window.$l(_.labelKey), a.column && (c != null && c.length) && y.indexOf(h.props.prop) === -1) {
12823
- const { data: d } = c.filter1((T) => T.prop === h.props.prop);
12824
- d && (_.sort = d.sort, _.fixed = d.fixed, _.visible = d.visible);
12825
+ 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) {
12826
+ const { data: d } = c.filter1((C) => C.prop === h.props.prop);
12827
+ d && (f.sort = d.sort, f.fixed = d.fixed, f.visible = d.visible);
12825
12828
  }
12826
- h.props.fixed && u.fixed.push(_), h.props.type === "mmp" ? u.mmp.push(_) : h.props.type === "asa" ? u.asa.push(_) : u.normal.push(_), h.props = _;
12829
+ 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;
12827
12830
  }
12828
12831
  }), e.columnInfo = u;
12829
- let w = [...u.normal, ...u.mmp, ...u.asa];
12830
- a.tableName && (w = w.sort((h, x) => h.sort - x.sort), localStorage.setItem(l, JSON.stringify(w)));
12832
+ let S = [...u.normal, ...u.mmp, ...u.asa];
12833
+ a.tableName && (S = S.sort((h, x) => h.sort - x.sort), localStorage.setItem(l, JSON.stringify(S)));
12831
12834
  })();
12832
12835
  let s = [];
12833
12836
  if (n.forEach((v) => {
@@ -12905,38 +12908,38 @@ const $n = ia({
12905
12908
  });
12906
12909
  const n = o, r = () => {
12907
12910
  n("mounted");
12908
- const d = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), T = {};
12909
- d.forEach((b) => {
12910
- b.type && (T[b.type] = !0), b.visible ? b.type === "selection" ? l.selection.push(b) : b.type === "operation" ? l.operation.push(b) : b.label && (b.fixed ? l.fixed.push(b) : l.visible.push(b)) : b.type === "mmp" ? l.columns.mmp.push(b) : b.type === "asa" ? l.columns.asa.push(b) : l.columns.normal.push(b);
12911
- }), l.columnType = T;
12911
+ const d = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), C = {};
12912
+ d.forEach((z) => {
12913
+ z.type && (C[z.type] = !0), z.visible ? z.type === "selection" ? l.selection.push(z) : z.type === "operation" ? l.operation.push(z) : z.label && (z.fixed ? l.fixed.push(z) : l.visible.push(z)) : z.type === "mmp" ? l.columns.mmp.push(z) : z.type === "asa" ? l.columns.asa.push(z) : l.columns.normal.push(z);
12914
+ }), l.columnType = C;
12912
12915
  }, s = (d) => {
12913
12916
  l.type = d;
12914
- }, g = (d, T) => {
12915
- d.visible = !0, l.visible.unshift(d), d.type ? l.columns[d.type].splice(T, 1) : l.columns.normal.splice(T, 1);
12916
- }, v = (d, T) => {
12917
- l.fixed.unshift(d), l.visible.splice(T, 1);
12918
- }, u = (d, T) => {
12919
- l.visible.unshift(d), l.fixed.splice(T, 1);
12920
- }, c = (d, T) => {
12921
- l.visible.splice(T, 1), d.type ? l.columns[d.type].unshift(d) : l.columns.normal.unshift(d);
12917
+ }, g = (d, C) => {
12918
+ d.visible = !0, l.visible.unshift(d), d.type ? l.columns[d.type].splice(C, 1) : l.columns.normal.splice(C, 1);
12919
+ }, v = (d, C) => {
12920
+ l.fixed.unshift(d), l.visible.splice(C, 1);
12921
+ }, u = (d, C) => {
12922
+ l.visible.unshift(d), l.fixed.splice(C, 1);
12923
+ }, c = (d, C) => {
12924
+ l.visible.splice(C, 1), d.type ? l.columns[d.type].unshift(d) : l.columns.normal.unshift(d);
12922
12925
  }, y = async () => {
12923
12926
  l.loading = !0, window.$pm(() => {
12924
- const { fixed: d, visible: T, columns: b, selection: C, operation: f } = l;
12925
- let z = [];
12926
- Object.keys(b).map((S) => {
12927
- z = z.concat(b[S]);
12928
- }), d.forEach((S) => S.fixed = "left"), z.forEach((S) => S.visible = !1);
12929
- const R = C.concat(d, T, z, f);
12930
- R.forEach((S, O) => S.sort = O), localStorage.setItem(`${e.tableName}_Column`, JSON.stringify(R)), l.loading = !1, n("close"), n("init-column");
12927
+ const { fixed: d, visible: C, columns: z, selection: _, operation: b } = l;
12928
+ let T = [];
12929
+ Object.keys(z).map((w) => {
12930
+ T = T.concat(z[w]);
12931
+ }), d.forEach((w) => w.fixed = "left"), T.forEach((w) => w.visible = !1);
12932
+ const D = _.concat(d, C, T, b);
12933
+ D.forEach((w, E) => w.sort = E), localStorage.setItem(`${e.tableName}_Column`, JSON.stringify(D)), l.loading = !1, n("close"), n("init-column");
12931
12934
  });
12932
- }, w = () => {
12935
+ }, S = () => {
12933
12936
  l.loading = !0, localStorage.removeItem(`${e.tableName}_Column`), window.$pm(() => {
12934
12937
  l.loading = !1, n("close"), n("init-column");
12935
12938
  }, 4);
12936
12939
  }, h = p(() => {
12937
12940
  var d;
12938
12941
  return ((d = globalThis.$config.options) == null ? void 0 : d.drawerHeight) || 540;
12939
- }), x = p(() => (h.value * 0.3).toFixed(0)), F = p(() => (h.value * 0.7 - 10).toFixed(0)), _ = p(() => [
12942
+ }), x = p(() => (h.value * 0.3).toFixed(0)), F = p(() => (h.value * 0.7 - 10).toFixed(0)), f = p(() => [
12940
12943
  {
12941
12944
  label: "Base Info",
12942
12945
  value: "normal"
@@ -12952,50 +12955,50 @@ const $n = ia({
12952
12955
  hide: !l.columnType.mmp
12953
12956
  }
12954
12957
  ]);
12955
- return (d, T) => {
12956
- const b = V("el-scrollbar"), C = V("DrawerArea");
12957
- return A(), le(C, {
12958
+ return (d, C) => {
12959
+ const z = G("el-scrollbar"), _ = G("DrawerArea");
12960
+ return A(), le(_, {
12958
12961
  loading: t(l).loading,
12959
12962
  noscroll: "",
12960
12963
  "cancel-txt": "Reset",
12961
12964
  "cancel-icon": "im-sync",
12962
12965
  class: "MvcTableColumnConfig",
12963
- onCancel: w,
12966
+ onCancel: S,
12964
12967
  onSubmit: y
12965
12968
  }, {
12966
- default: B(() => [
12969
+ default: j(() => [
12967
12970
  m("div", Ft, [
12968
12971
  m("div", Vt, [
12969
- m("div", Gt, I(d.$l("Column Type")), 1),
12972
+ m("div", Gt, $(d.$l("Column Type")), 1),
12970
12973
  m("div", Kt, [
12971
- (A(!0), E(re, null, ce(t(_), (f) => (A(), E("div", {
12972
- key: f.value,
12973
- class: H(["typeItem p8-16 mb4 radius4 txt-nowrap", [t(l).type === f.value && "active", f.hide && "hide"]]),
12974
- onClick: (z) => s(f.value)
12975
- }, I(f.label), 11, Ut))), 128))
12974
+ (A(!0), k(re, null, ce(t(f), (b) => (A(), k("div", {
12975
+ key: b.value,
12976
+ class: H(["typeItem p8-16 mb4 radius4 txt-nowrap", [t(l).type === b.value && "active", b.hide && "hide"]]),
12977
+ onClick: (T) => s(b.value)
12978
+ }, $(b.label), 11, Ut))), 128))
12976
12979
  ])
12977
12980
  ]),
12978
12981
  m("div", Ht, [
12979
12982
  m("div", Jt, [
12980
12983
  m("div", Zt, [
12981
- m("span", null, I(d.$l("Columns")), 1),
12982
- m("span", Yt, I(t(l).columns[t(l).type].length), 1)
12984
+ m("span", null, $(d.$l("Columns")), 1),
12985
+ m("span", Yt, $(t(l).columns[t(l).type].length), 1)
12983
12986
  ]),
12984
- D(b, { style: { height: "calc(100% - 36px)" } }, {
12985
- default: B(() => [
12987
+ R(z, { style: { height: "calc(100% - 36px)" } }, {
12988
+ default: j(() => [
12986
12989
  m("div", Wt, [
12987
- t(l).columns[t(l).type].length === 0 ? (A(), E("span", qt, I(d.$l("No Columns")), 1)) : J("", !0),
12988
- (A(!0), E(re, null, ce(t(l).columns[t(l).type], (f, z) => (A(), E("div", {
12989
- key: f.prop,
12990
+ t(l).columns[t(l).type].length === 0 ? (A(), k("span", qt, $(d.$l("No Columns")), 1)) : J("", !0),
12991
+ (A(!0), k(re, null, ce(t(l).columns[t(l).type], (b, T) => (A(), k("div", {
12992
+ key: b.prop,
12990
12993
  class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4 txt-nowrap"
12991
12994
  }, [
12992
- m("span", null, I(d.$l(f.label)), 1),
12995
+ m("span", null, $(d.$l(b.label)), 1),
12993
12996
  m("div", Xt, [
12994
12997
  m("div", {
12995
12998
  class: "tipbtn left",
12996
12999
  txt: d.$l("Visible"),
12997
- onClick: (R) => g(f, z)
12998
- }, [...T[0] || (T[0] = [
13000
+ onClick: (D) => g(b, T)
13001
+ }, [...C[0] || (C[0] = [
12999
13002
  m("i", { class: "imicon im-plus fs16" }, null, -1)
13000
13003
  ])], 8, Qt)
13001
13004
  ])
@@ -13007,32 +13010,32 @@ const $n = ia({
13007
13010
  ]),
13008
13011
  m("div", er, [
13009
13012
  m("div", ar, [
13010
- m("span", null, I(d.$l("Visible Columns")), 1),
13011
- m("span", lr, I(t(l).visible.length), 1)
13013
+ m("span", null, $(d.$l("Visible Columns")), 1),
13014
+ m("span", lr, $(t(l).visible.length), 1)
13012
13015
  ]),
13013
13016
  m("div", nr, [
13014
13017
  m("div", or, [
13015
- t(l).fixed.length === 0 ? (A(), E("span", tr, I(d.$l("No Fixed Columns")), 1)) : J("", !0),
13016
- D(b, { height: t(x) }, {
13017
- default: B(() => [
13018
- D(t(Je), {
13018
+ t(l).fixed.length === 0 ? (A(), k("span", tr, $(d.$l("No Fixed Columns")), 1)) : J("", !0),
13019
+ R(z, { height: t(x) }, {
13020
+ default: j(() => [
13021
+ R(t(Je), {
13019
13022
  list: t(l).fixed,
13020
- "item-key": (f) => f,
13023
+ "item-key": (b) => b,
13021
13024
  handle: ".im-handle",
13022
13025
  "ghost-class": "ghost"
13023
13026
  }, {
13024
- item: B(({ element: f, index: z }) => [
13027
+ item: j(({ element: b, index: T }) => [
13025
13028
  m("div", rr, [
13026
13029
  m("div", sr, [
13027
- T[1] || (T[1] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
13028
- m("span", null, I(d.$l(f.label)), 1)
13030
+ C[1] || (C[1] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
13031
+ m("span", null, $(d.$l(b.label)), 1)
13029
13032
  ]),
13030
13033
  m("div", ir, [
13031
13034
  m("div", {
13032
13035
  class: "tipbtn red left",
13033
13036
  txt: d.$l("Unfixed"),
13034
- onClick: (R) => u(f, z)
13035
- }, [...T[2] || (T[2] = [
13037
+ onClick: (D) => u(b, T)
13038
+ }, [...C[2] || (C[2] = [
13036
13039
  m("i", { class: "imicon im-download1 fs14" }, null, -1)
13037
13040
  ])], 8, cr)
13038
13041
  ])
@@ -13044,39 +13047,39 @@ const $n = ia({
13044
13047
  _: 1
13045
13048
  }, 8, ["height"])
13046
13049
  ]),
13047
- T[6] || (T[6] = m("div", { class: "p4-0" }, [
13050
+ C[6] || (C[6] = m("div", { class: "p4-0" }, [
13048
13051
  m("div", { class: "border-t" })
13049
13052
  ], -1)),
13050
13053
  m("div", ur, [
13051
- t(l).visible.length === 0 ? (A(), E("span", dr, I(d.$l("No Columns")), 1)) : J("", !0),
13052
- D(b, { height: t(F) }, {
13053
- default: B(() => [
13054
- D(t(Je), {
13054
+ t(l).visible.length === 0 ? (A(), k("span", dr, $(d.$l("No Columns")), 1)) : J("", !0),
13055
+ R(z, { height: t(F) }, {
13056
+ default: j(() => [
13057
+ R(t(Je), {
13055
13058
  list: t(l).visible,
13056
- "item-key": (f) => f,
13059
+ "item-key": (b) => b,
13057
13060
  options: { lockAxis: "y" },
13058
13061
  handle: ".im-handle",
13059
13062
  "ghost-class": "ghost"
13060
13063
  }, {
13061
- item: B(({ element: f, index: z }) => [
13064
+ item: j(({ element: b, index: T }) => [
13062
13065
  m("div", mr, [
13063
13066
  m("div", br, [
13064
- T[3] || (T[3] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
13065
- m("span", null, I(d.$l(f.label)), 1)
13067
+ C[3] || (C[3] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
13068
+ m("span", null, $(d.$l(b.label)), 1)
13066
13069
  ]),
13067
13070
  m("div", vr, [
13068
13071
  m("div", {
13069
13072
  class: "tipbtn left",
13070
13073
  txt: d.$l("Fixed"),
13071
- onClick: (R) => v(f, z)
13072
- }, [...T[4] || (T[4] = [
13074
+ onClick: (D) => v(b, T)
13075
+ }, [...C[4] || (C[4] = [
13073
13076
  m("i", { class: "imicon im-download1 fs14 rotateZ180" }, null, -1)
13074
13077
  ])], 8, pr),
13075
13078
  m("div", {
13076
13079
  class: "tipbtn red left",
13077
13080
  txt: d.$l("Hide"),
13078
- onClick: (R) => c(f, z)
13079
- }, [...T[5] || (T[5] = [
13081
+ onClick: (D) => c(b, T)
13082
+ }, [...C[5] || (C[5] = [
13080
13083
  m("i", { class: "imicon im-close fs14" }, null, -1)
13081
13084
  ])], 8, fr)
13082
13085
  ])
@@ -13135,67 +13138,67 @@ const $n = ia({
13135
13138
  const n = o, r = () => {
13136
13139
  n("mounted"), s(), g();
13137
13140
  }, s = () => {
13138
- const _ = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), d = ["selection", "operation"];
13139
- l.columns = _.filter((T) => !d.includes(T.type) && T.label);
13141
+ const f = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), d = ["selection", "operation"];
13142
+ l.columns = f.filter((C) => !d.includes(C.type) && C.label);
13140
13143
  }, g = () => {
13141
13144
  e.selection.length && (l.onlySelection = !0);
13142
- }, v = (_, d) => {
13143
- _ ? d.children.forEach((T) => {
13144
- T.visible = !0;
13145
- }) : d.children.forEach((T) => {
13146
- T.visible = !1;
13145
+ }, v = (f, d) => {
13146
+ f ? d.children.forEach((C) => {
13147
+ C.visible = !0;
13148
+ }) : d.children.forEach((C) => {
13149
+ C.visible = !1;
13147
13150
  });
13148
13151
  }, u = () => {
13149
13152
  window.$copy(y());
13150
13153
  }, c = async () => {
13151
13154
  l.loading = !0;
13152
13155
  try {
13153
- const _ = y("download");
13154
- let d = l.fileName || w.value;
13155
- d && !d.toLowerCase().endsWith(".csv") && (d = `${d}.csv`), await Ka({ content: _, filename: d, bom: !0 });
13156
+ const f = y("download");
13157
+ let d = l.fileName || S.value;
13158
+ d && !d.toLowerCase().endsWith(".csv") && (d = `${d}.csv`), await Ka({ content: f, filename: d, bom: !0 });
13156
13159
  } finally {
13157
13160
  l.loading = !1;
13158
13161
  }
13159
- }, y = (_) => {
13160
- const d = l.onlySelection ? e.selection : e.list, T = {}, b = [];
13161
- l.columns.filter((O) => O.visible).forEach((O) => {
13162
- b.push(window.$l(O.label)), T[O.prop] = !0;
13162
+ }, y = (f) => {
13163
+ const d = l.onlySelection ? e.selection : e.list, C = {}, z = [];
13164
+ l.columns.filter((E) => E.visible).forEach((E) => {
13165
+ z.push(window.$l(E.label)), C[E.prop] = !0;
13163
13166
  });
13164
- let C = "", f = [], z = _ === "download" ? "," : " ";
13165
- (l.useHead || _) && (C = b.join(z) + `
13167
+ let _ = "", b = [], T = f === "download" ? "," : " ";
13168
+ (l.useHead || f) && (_ = z.join(T) + `
13166
13169
  `);
13167
- let R = [], S;
13168
- return Object.keys(T).forEach((O, k) => {
13169
- O.includes("country") && (S = k);
13170
- const j = [];
13171
- d.forEach((G) => {
13172
- G[O] !== void 0 && j.push(G[O]);
13173
- }), R.push(j);
13174
- }), R.forEach((O, k) => {
13175
- !l.useCountryCode && S === k ? O.forEach((j, G) => {
13176
- let P = j;
13177
- window.$getType(j) === "Array" ? P = j.map((N) => F[N.toUpperCase()].label.$l()).join(",") : window.$getType(j) === "String" ? P = j.split(",").map((N) => F[N.toUpperCase()].label.$l()).join(",") : P = JSON.stringify(j), f[G] ? f[G] += P + z : f[G] = P + z;
13178
- }) : O.forEach((j, G) => {
13179
- f[G] ? f[G] += j + z : f[G] = j + z;
13170
+ let D = [], w;
13171
+ return Object.keys(C).forEach((E, O) => {
13172
+ E.includes("country") && (w = O);
13173
+ const I = [];
13174
+ d.forEach((V) => {
13175
+ V[E] !== void 0 && I.push(V[E]);
13176
+ }), D.push(I);
13177
+ }), D.forEach((E, O) => {
13178
+ !l.useCountryCode && w === O ? E.forEach((I, V) => {
13179
+ let P = I;
13180
+ window.$getType(I) === "Array" ? P = I.map((N) => F[N.toUpperCase()].label.$l()).join(",") : window.$getType(I) === "String" ? P = I.split(",").map((N) => F[N.toUpperCase()].label.$l()).join(",") : P = JSON.stringify(I), b[V] ? b[V] += P + T : b[V] = P + T;
13181
+ }) : E.forEach((I, V) => {
13182
+ b[V] ? b[V] += I + T : b[V] = I + T;
13180
13183
  });
13181
- }), `${C}${f.join(`
13184
+ }), `${_}${b.join(`
13182
13185
  `)}`;
13183
- }, w = p(() => {
13184
- const _ = window.$d().format("YYYYMMDDHHmmss");
13185
- return `${e.tableName}_${_}`;
13186
+ }, S = p(() => {
13187
+ const f = window.$d().format("YYYYMMDDHHmmss");
13188
+ return `${e.tableName}_${f}`;
13186
13189
  }), h = p(() => {
13187
- const _ = {};
13190
+ const f = {};
13188
13191
  return l.columns.forEach((d) => {
13189
- const T = d.type ? d.type : "normal", b = {
13190
- label: x[T],
13191
- type: T,
13192
+ const C = d.type ? d.type : "normal", z = {
13193
+ label: x[C],
13194
+ type: C,
13192
13195
  visible: 0
13193
13196
  };
13194
- _[T] ? (_[T].children.push(d), d.visible && _[T].visible++) : (b.children = [d], d.visible && b.visible++, _[T] = b);
13195
- }), Object.keys(_).forEach((d) => {
13196
- const T = _[d].visible === _[d].children.length, b = _[d].visible === 0;
13197
- T ? (_[d].checkstatus = !0, _[d].indeterminate = !1) : b ? (_[d].checkstatus = !1, _[d].indeterminate = !1) : (_[d].checkstatus = !1, _[d].indeterminate = !0);
13198
- }), _;
13197
+ f[C] ? (f[C].children.push(d), d.visible && f[C].visible++) : (z.children = [d], d.visible && z.visible++, f[C] = z);
13198
+ }), Object.keys(f).forEach((d) => {
13199
+ const C = f[d].visible === f[d].children.length, z = f[d].visible === 0;
13200
+ C ? (f[d].checkstatus = !0, f[d].indeterminate = !1) : z ? (f[d].checkstatus = !1, f[d].indeterminate = !1) : (f[d].checkstatus = !1, f[d].indeterminate = !0);
13201
+ }), f;
13199
13202
  }), x = {
13200
13203
  asa: "Asa Metrics",
13201
13204
  normal: "Base Info",
@@ -13203,27 +13206,27 @@ const $n = ia({
13203
13206
  };
13204
13207
  "Check All".$l(), "Cancel All".$l();
13205
13208
  const F = Ve("asa.countryAll.obj");
13206
- return (_, d) => {
13207
- const T = V("el-checkbox"), b = V("el-button"), C = V("MvcAlert"), f = V("el-switch"), z = V("Input"), R = V("DrawerArea");
13208
- return A(), le(R, oe(_.$attrs, { class: "MvcTableColumnDownload" }), {
13209
- cancel: B(() => [
13210
- D(z, {
13209
+ return (f, d) => {
13210
+ const C = G("el-checkbox"), z = G("el-button"), _ = G("MvcAlert"), b = G("el-switch"), T = G("Input"), D = G("DrawerArea");
13211
+ return A(), le(D, oe(f.$attrs, { class: "MvcTableColumnDownload" }), {
13212
+ cancel: j(() => [
13213
+ R(T, {
13211
13214
  modelValue: t(l).fileName,
13212
- "onUpdate:modelValue": d[3] || (d[3] = (S) => t(l).fileName = S),
13215
+ "onUpdate:modelValue": d[3] || (d[3] = (w) => t(l).fileName = w),
13213
13216
  icon: "catalog",
13214
- placeholder: t(w),
13217
+ placeholder: t(S),
13215
13218
  class: "w600"
13216
13219
  }, {
13217
- append: B(() => [
13218
- D(b, {
13220
+ append: j(() => [
13221
+ R(z, {
13219
13222
  loading: t(l).loading,
13220
13223
  onClick: c
13221
13224
  }, {
13222
- icon: B(() => [...d[5] || (d[5] = [
13225
+ icon: j(() => [...d[5] || (d[5] = [
13223
13226
  m("i", { class: "imicon im-download1" }, null, -1)
13224
13227
  ])]),
13225
- default: B(() => [
13226
- ie(" " + I(_.$l("Download")), 1)
13228
+ default: j(() => [
13229
+ ie(" " + $(f.$l("Download")), 1)
13227
13230
  ]),
13228
13231
  _: 1
13229
13232
  }, 8, ["loading"])
@@ -13231,38 +13234,38 @@ const $n = ia({
13231
13234
  _: 1
13232
13235
  }, 8, ["modelValue", "placeholder"])
13233
13236
  ]),
13234
- submit: B(() => [...d[6] || (d[6] = [])]),
13235
- default: B(() => [
13237
+ submit: j(() => [...d[6] || (d[6] = [])]),
13238
+ default: j(() => [
13236
13239
  m("div", gr, [
13237
- D(C, null, {
13238
- default: B(() => [
13240
+ R(_, null, {
13241
+ default: j(() => [
13239
13242
  m("div", yr, [
13240
- m("span", null, I(_.$l("Total")), 1),
13241
- m("span", null, I(e.list.length), 1)
13243
+ m("span", null, $(f.$l("Total")), 1),
13244
+ m("span", null, $(e.list.length), 1)
13242
13245
  ]),
13243
- e.selection.length ? (A(), E("div", Ar, [
13244
- m("span", null, I(_.$l("Selection")), 1),
13245
- m("span", null, I(e.selection.length), 1),
13246
- D(T, {
13246
+ e.selection.length ? (A(), k("div", Ar, [
13247
+ m("span", null, $(f.$l("Selection")), 1),
13248
+ m("span", null, $(e.selection.length), 1),
13249
+ R(C, {
13247
13250
  modelValue: t(l).onlySelection,
13248
- "onUpdate:modelValue": d[0] || (d[0] = (S) => t(l).onlySelection = S),
13249
- label: _.$l("Only Selection")
13251
+ "onUpdate:modelValue": d[0] || (d[0] = (w) => t(l).onlySelection = w),
13252
+ label: f.$l("Only Selection")
13250
13253
  }, null, 8, ["modelValue", "label"])
13251
13254
  ])) : J("", !0),
13252
13255
  m("div", zr, [
13253
- D(b, { onClick: u }, {
13254
- icon: B(() => [...d[4] || (d[4] = [
13256
+ R(z, { onClick: u }, {
13257
+ icon: j(() => [...d[4] || (d[4] = [
13255
13258
  m("i", { class: "imicon im-copy" }, null, -1)
13256
13259
  ])]),
13257
- default: B(() => [
13258
- ie(" " + I(_.$l("Copy to Clipboard")), 1)
13260
+ default: j(() => [
13261
+ ie(" " + $(f.$l("Copy to Clipboard")), 1)
13259
13262
  ]),
13260
13263
  _: 1
13261
13264
  }),
13262
- D(T, {
13265
+ R(C, {
13263
13266
  modelValue: t(l).useHead,
13264
- "onUpdate:modelValue": d[1] || (d[1] = (S) => t(l).useHead = S),
13265
- label: _.$l("With Table Head")
13267
+ "onUpdate:modelValue": d[1] || (d[1] = (w) => t(l).useHead = w),
13268
+ label: f.$l("With Table Head")
13266
13269
  }, null, 8, ["modelValue", "label"])
13267
13270
  ])
13268
13271
  ]),
@@ -13270,36 +13273,36 @@ const $n = ia({
13270
13273
  })
13271
13274
  ]),
13272
13275
  m("div", wr, [
13273
- (A(!0), E(re, null, ce(t(h), (S) => (A(), E("div", {
13274
- key: S.type
13276
+ (A(!0), k(re, null, ce(t(h), (w) => (A(), k("div", {
13277
+ key: w.type
13275
13278
  }, [
13276
13279
  m("div", Sr, [
13277
- m("span", Tr, I(S.label), 1),
13278
- D(T, {
13279
- modelValue: S.checkstatus,
13280
- "onUpdate:modelValue": (O) => S.checkstatus = O,
13281
- indeterminate: S.indeterminate,
13282
- label: _.$l("Check"),
13283
- onChange: (O) => v(O, S)
13280
+ m("span", Tr, $(w.label), 1),
13281
+ R(C, {
13282
+ modelValue: w.checkstatus,
13283
+ "onUpdate:modelValue": (E) => w.checkstatus = E,
13284
+ indeterminate: w.indeterminate,
13285
+ label: f.$l("Check"),
13286
+ onChange: (E) => v(E, w)
13284
13287
  }, null, 8, ["modelValue", "onUpdate:modelValue", "indeterminate", "label", "onChange"])
13285
13288
  ]),
13286
- (A(!0), E(re, null, ce(S.children, (O, k) => (A(), le(T, {
13287
- modelValue: O.visible,
13288
- "onUpdate:modelValue": (j) => O.visible = j,
13289
- key: k,
13290
- label: O.label,
13291
- value: O.value,
13289
+ (A(!0), k(re, null, ce(w.children, (E, O) => (A(), le(C, {
13290
+ modelValue: E.visible,
13291
+ "onUpdate:modelValue": (I) => E.visible = I,
13292
+ key: O,
13293
+ label: E.label,
13294
+ value: E.value,
13292
13295
  class: "fullCheckbox p8-12 mb4 radius2 hover-txt-primary hover-bg-gray3"
13293
13296
  }, {
13294
- default: B(() => {
13295
- var j;
13297
+ default: j(() => {
13298
+ var I;
13296
13299
  return [
13297
13300
  m("div", Cr, [
13298
- m("span", null, I(O.label), 1),
13299
- (j = O.prop) != null && j.includes("country") ? (A(), le(f, {
13301
+ m("span", null, $(E.label), 1),
13302
+ (I = E.prop) != null && I.includes("country") ? (A(), le(b, {
13300
13303
  key: 0,
13301
13304
  modelValue: t(l).useCountryCode,
13302
- "onUpdate:modelValue": d[2] || (d[2] = (G) => t(l).useCountryCode = G),
13305
+ "onUpdate:modelValue": d[2] || (d[2] = (V) => t(l).useCountryCode = V),
13303
13306
  "inline-prompt": "",
13304
13307
  "active-text": "Use Alpha-2 Code",
13305
13308
  "inactive-text": "Use Country Name",
@@ -13444,8 +13447,8 @@ const $n = ia({
13444
13447
  const u = e, c = () => {
13445
13448
  n.loading = l.defaultLoading, l.pageSize && (r.pageSize = l.pageSize);
13446
13449
  }, y = () => {
13447
- S(), l.defer === !1 && h();
13448
- }, w = (L) => {
13450
+ w(), l.defer === !1 && h();
13451
+ }, S = (L) => {
13449
13452
  h(L);
13450
13453
  }, h = async (L = {}) => {
13451
13454
  var Y, Z;
@@ -13458,7 +13461,7 @@ const $n = ia({
13458
13461
  };
13459
13462
  L.refresh && (K.remote = !0);
13460
13463
  const { list: ae = [], total: i, summary: M } = await l.loadData(K) || {};
13461
- r.list = ae.map((U, Q) => (U.index = Q, 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 && _(), x(M), n.loading = !1;
13464
+ r.list = ae.map((U, Q) => (U.index = Q, 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(), x(M), n.loading = !1;
13462
13465
  }, x = (L) => {
13463
13466
  L ? r.summary = L : r.summary = !1;
13464
13467
  }, F = (L) => {
@@ -13476,15 +13479,15 @@ const $n = ia({
13476
13479
  return Ua(L, r.summary, { resolveMetric: ae });
13477
13480
  }
13478
13481
  return [];
13479
- }, _ = () => {
13482
+ }, f = () => {
13480
13483
  g.value.$refs.scrollBarRef.setScrollTop(0);
13481
13484
  }, d = () => {
13482
13485
  h({
13483
13486
  pageStart: 1
13484
13487
  });
13485
- }, T = () => {
13488
+ }, C = () => {
13486
13489
  h();
13487
- }, b = (L) => {
13490
+ }, z = (L) => {
13488
13491
  if (n.selection = L, u("selection-change", L), n.shiftKey) {
13489
13492
  const K = L[L.length - 2], ae = L[L.length - 1], i = r.list.filter1((U) => U.id === K.id).index || 0, M = r.list.filter1((U) => U.id === ae.id).index;
13490
13493
  let Y = i, Z = M;
@@ -13492,29 +13495,29 @@ const $n = ia({
13492
13495
  for (let U = Y; U <= Z; U++)
13493
13496
  v.$refs.body.toggleRowSelection(r.list[U], !0);
13494
13497
  }
13495
- }, C = () => {
13498
+ }, _ = () => {
13496
13499
  n.loading || (h({ refresh: !0 }), u("refresh"));
13497
- }, f = () => {
13500
+ }, b = () => {
13498
13501
  s.current = 0;
13499
- }, z = () => {
13502
+ }, T = () => {
13500
13503
  s.current = 1;
13501
- }, R = () => {
13504
+ }, D = () => {
13502
13505
  n.tableKey++;
13503
- }, S = () => {
13504
- document.addEventListener("keydown", O), document.addEventListener("keyup", k);
13505
- }, O = (L) => {
13506
+ }, w = () => {
13507
+ document.addEventListener("keydown", E), document.addEventListener("keyup", O);
13508
+ }, E = (L) => {
13506
13509
  L.keyCode === 16 && (n.shiftKey = !0);
13507
- }, k = (L) => {
13510
+ }, O = (L) => {
13508
13511
  L.keyCode === 16 && (n.shiftKey = !1);
13509
- }, j = () => {
13510
- document.removeEventListener("keydown", O), document.removeEventListener("keyup", k);
13511
- }, G = ({ i: L, row: K }) => {
13512
+ }, I = () => {
13513
+ document.removeEventListener("keydown", E), document.removeEventListener("keyup", O);
13514
+ }, V = ({ i: L, row: K }) => {
13512
13515
  r.list[L] = K;
13513
13516
  }, P = p(() => {
13514
13517
  var K;
13515
13518
  let L = l.height || ((K = globalThis.$config.options) == null ? void 0 : K.pageHeight) || 640;
13516
13519
  return l.noheader === !1 && (L -= 64), l.nofooter === !1 && (L -= 56), L -= l.minusHeight, L;
13517
- }), N = p(() => !!r.summary), W = p(() => r.nopagination === !0 ? "total" : "total,->,prev,pager,next,sizes"), $ = p(() => {
13520
+ }), N = p(() => !!r.summary), W = p(() => r.nopagination === !0 ? "total" : "total,->,prev,pager,next,sizes"), B = p(() => {
13518
13521
  if (l.tool) {
13519
13522
  const { column: L = !0, download: K = !0, refresh: ae = !0 } = l.tool;
13520
13523
  return {
@@ -13526,14 +13529,14 @@ const $n = ia({
13526
13529
  return !1;
13527
13530
  });
13528
13531
  return ve(() => {
13529
- j();
13532
+ I();
13530
13533
  }), o({
13531
- initTable: w,
13532
- editRow: G
13534
+ initTable: S,
13535
+ editRow: V
13533
13536
  }), (L, K) => {
13534
- const ae = V("el-button"), i = V("Loading"), M = V("el-table"), Y = V("el-pagination"), Z = V("Drawer");
13535
- return A(), E("div", kr, [
13536
- l.noheader === !1 ? (A(), E("div", {
13537
+ const ae = G("el-button"), i = G("Loading"), M = G("el-table"), Y = G("el-pagination"), Z = G("Drawer");
13538
+ return A(), k("div", kr, [
13539
+ l.noheader === !1 ? (A(), k("div", {
13537
13540
  key: 0,
13538
13541
  class: H(["flexMode hb g12 p16 bg-white", l.autoHeader ? "minh64" : "h64"])
13539
13542
  }, [
@@ -13542,47 +13545,47 @@ const $n = ia({
13542
13545
  }, [
13543
13546
  q(L.$slots, "header", {}, void 0, !0)
13544
13547
  ], 2),
13545
- t($) ? (A(), E("div", Er, [
13546
- t($).refresh ? (A(), le(ae, {
13548
+ t(B) ? (A(), k("div", Er, [
13549
+ t(B).refresh ? (A(), le(ae, {
13547
13550
  key: 0,
13548
- onClick: C
13551
+ onClick: _
13549
13552
  }, {
13550
- icon: B(() => [...K[2] || (K[2] = [
13553
+ icon: j(() => [...K[2] || (K[2] = [
13551
13554
  m("i", { class: "imicon im-reload" }, null, -1)
13552
13555
  ])]),
13553
- default: B(() => [
13554
- ie(" " + I(L.$l("Refresh")), 1)
13556
+ default: j(() => [
13557
+ ie(" " + $(L.$l("Refresh")), 1)
13555
13558
  ]),
13556
13559
  _: 1
13557
13560
  })) : J("", !0),
13558
- t($).column ? (A(), le(ae, {
13561
+ t(B).column ? (A(), le(ae, {
13559
13562
  key: 1,
13560
- onClick: f
13563
+ onClick: b
13561
13564
  }, {
13562
- icon: B(() => [...K[3] || (K[3] = [
13565
+ icon: j(() => [...K[3] || (K[3] = [
13563
13566
  m("i", { class: "imicon im-layout" }, null, -1)
13564
13567
  ])]),
13565
- default: B(() => [
13566
- ie(" " + I(L.$l("Columns")), 1)
13568
+ default: j(() => [
13569
+ ie(" " + $(L.$l("Columns")), 1)
13567
13570
  ]),
13568
13571
  _: 1
13569
13572
  })) : J("", !0),
13570
- t($).download ? (A(), le(ae, {
13573
+ t(B).download ? (A(), le(ae, {
13571
13574
  key: 2,
13572
- onClick: z
13575
+ onClick: T
13573
13576
  }, {
13574
- icon: B(() => [...K[4] || (K[4] = [
13577
+ icon: j(() => [...K[4] || (K[4] = [
13575
13578
  m("i", { class: "imicon im-download" }, null, -1)
13576
13579
  ])]),
13577
- default: B(() => [
13578
- ie(" " + I(L.$l("Download")), 1)
13580
+ default: j(() => [
13581
+ ie(" " + $(L.$l("Download")), 1)
13579
13582
  ]),
13580
13583
  _: 1
13581
13584
  })) : J("", !0)
13582
13585
  ])) : J("", !0)
13583
13586
  ], 2)) : J("", !0),
13584
13587
  m("div", Or, [
13585
- D(i, {
13588
+ R(i, {
13586
13589
  loading: t(n).loading
13587
13590
  }, null, 8, ["loading"]),
13588
13591
  (A(), le(M, {
@@ -13598,14 +13601,14 @@ const $n = ia({
13598
13601
  "show-summary": t(N),
13599
13602
  "summary-method": F,
13600
13603
  class: "MainTable",
13601
- onSelectionChange: b
13604
+ onSelectionChange: z
13602
13605
  }, {
13603
- default: B(() => [
13604
- D(t(Rt), oe({
13606
+ default: j(() => [
13607
+ R(t(Rt), oe({
13605
13608
  "table-name": l.tableName,
13606
- column: t($) ? t($).column : !1
13609
+ column: t(B) ? t(B).column : !1
13607
13610
  }, L.$attrs), {
13608
- default: B(() => [
13611
+ default: j(() => [
13609
13612
  q(L.$slots, "default", {}, void 0, !0)
13610
13613
  ]),
13611
13614
  _: 3
@@ -13614,8 +13617,8 @@ const $n = ia({
13614
13617
  _: 3
13615
13618
  }, 8, ["height", "data", "default-expand-all", "row-key", "show-summary"]))
13616
13619
  ]),
13617
- l.nofooter === !1 ? (A(), E("div", Pr, [
13618
- D(Y, {
13620
+ l.nofooter === !1 ? (A(), k("div", Pr, [
13621
+ R(Y, {
13619
13622
  "current-page": t(r).page,
13620
13623
  "onUpdate:currentPage": K[0] || (K[0] = (U) => t(r).page = U),
13621
13624
  background: "",
@@ -13626,17 +13629,17 @@ const $n = ia({
13626
13629
  layout: t(W),
13627
13630
  class: "wp100",
13628
13631
  onSizeChange: d,
13629
- onCurrentChange: T
13632
+ onCurrentChange: C
13630
13633
  }, null, 8, ["current-page", "total", "default-page-size", "page-sizes", "layout"])
13631
13634
  ])) : J("", !0),
13632
- D(Z, {
13635
+ R(Z, {
13633
13636
  current: t(s).current,
13634
13637
  "onUpdate:current": K[1] || (K[1] = (U) => t(s).current = U),
13635
13638
  "table-name": l.tableName,
13636
13639
  drawer: t(s).list,
13637
13640
  list: t(r).list,
13638
13641
  selection: t(n).selection,
13639
- onInitColumn: R
13642
+ onInitColumn: D
13640
13643
  }, null, 8, ["current", "table-name", "drawer", "list", "selection"])
13641
13644
  ]);
13642
13645
  };
@@ -13693,7 +13696,7 @@ const $n = ia({
13693
13696
  setup(a, { emit: o }) {
13694
13697
  const e = a, l = o, n = fe(), r = (c) => c == null ? c : ["Object", "Array"].includes(globalThis.$getType(c)) ? c[e.valueKey] : c, s = (c) => {
13695
13698
  l("update:modelValue", c);
13696
- const y = e.options.find((w) => r(w) === c);
13699
+ const y = e.options.find((S) => r(S) === c);
13697
13700
  l("change", c, y);
13698
13701
  }, g = p(
13699
13702
  () => e.options.find((c) => r(c) === e.modelValue)
@@ -13706,9 +13709,9 @@ const $n = ia({
13706
13709
  return !c || !["Object", "Array"].includes(globalThis.$getType(c)) ? {} : c[e.panePropsKey] ?? {};
13707
13710
  });
13708
13711
  return (c, y) => {
13709
- const w = V("BtnGroup");
13710
- return A(), E("div", oe({ class: "MvcTabs" }, t(n)), [
13711
- D(w, {
13712
+ const S = G("BtnGroup");
13713
+ return A(), k("div", oe({ class: "MvcTabs" }, t(n)), [
13714
+ R(S, {
13712
13715
  "model-value": e.modelValue,
13713
13716
  options: e.options,
13714
13717
  "value-key": e.valueKey,
@@ -13782,81 +13785,81 @@ const $n = ia({
13782
13785
  isComposing: !1,
13783
13786
  focused: !1
13784
13787
  }), g = o, { proxy: v } = pe(), u = p(() => {
13785
- const { class: k, ...j } = l;
13786
- return j;
13788
+ const { class: O, ...I } = l;
13789
+ return I;
13787
13790
  });
13788
13791
  se(() => {
13789
- var j, G;
13790
- const k = (j = n.value) == null ? void 0 : j.$el;
13791
- r = (G = k == null ? void 0 : k.querySelector) == null ? void 0 : G.call(k, "textarea"), r && (r.addEventListener("compositionstart", c), r.addEventListener("compositionend", y));
13792
+ var I, V;
13793
+ const O = (I = n.value) == null ? void 0 : I.$el;
13794
+ r = (V = O == null ? void 0 : O.querySelector) == null ? void 0 : V.call(O, "textarea"), r && (r.addEventListener("compositionstart", c), r.addEventListener("compositionend", y));
13792
13795
  });
13793
13796
  const c = () => {
13794
13797
  s.isComposing = !0;
13795
13798
  }, y = () => {
13796
13799
  s.isComposing = !1, me(() => d(s.val));
13797
- }, w = (k) => {
13798
- s.isComposing || d(k);
13799
- }, h = (k) => {
13800
- s.focused = !0, g("focus", k);
13801
- }, x = (k) => {
13802
- s.focused = !1, g("blur", k);
13803
- }, F = (k) => {
13804
- const j = String(k ?? "").split(/\r?\n/);
13805
- return e.output === "array" ? j : j.join(",");
13806
- }, _ = (k) => Array.isArray(k) ? k.join(`
13807
- `) : String(k ?? "").replace(/,/g, `
13808
- `), d = (k) => {
13809
- const j = F(k);
13810
- g("update:modelValue", j), g("input", j);
13811
- }, T = p(() => {
13800
+ }, S = (O) => {
13801
+ s.isComposing || d(O);
13802
+ }, h = (O) => {
13803
+ s.focused = !0, g("focus", O);
13804
+ }, x = (O) => {
13805
+ s.focused = !1, g("blur", O);
13806
+ }, F = (O) => {
13807
+ const I = String(O ?? "").split(/\r?\n/);
13808
+ return e.output === "array" ? I : I.join(",");
13809
+ }, f = (O) => Array.isArray(O) ? O.join(`
13810
+ `) : String(O ?? "").replace(/,/g, `
13811
+ `), d = (O) => {
13812
+ const I = F(O);
13813
+ g("update:modelValue", I), g("input", I);
13814
+ }, C = p(() => {
13812
13815
  if (!e.height) return v.$attrs["input-style"];
13813
- const k = typeof e.height == "number" ? `${e.height}px` : e.height;
13814
- return { ...v.$attrs["input-style"] && typeof v.$attrs["input-style"] == "object" ? { ...v.$attrs["input-style"] } : {}, height: k, minHeight: k };
13815
- }), b = p(() => !!(v.$attrs.maxlength || C.value)), C = p(() => v.$attrs.max), f = p(() => String(s.val ?? "").length > 0), z = p(() => !!l.placeholder), R = p(
13816
- () => e.materialLabel && (s.focused || f.value || z.value)
13817
- ), S = p(() => ({
13816
+ const O = typeof e.height == "number" ? `${e.height}px` : e.height;
13817
+ return { ...v.$attrs["input-style"] && typeof v.$attrs["input-style"] == "object" ? { ...v.$attrs["input-style"] } : {}, height: O, minHeight: O };
13818
+ }), z = p(() => !!(v.$attrs.maxlength || _.value)), _ = p(() => v.$attrs.max), b = p(() => String(s.val ?? "").length > 0), T = p(() => !!l.placeholder), D = p(
13819
+ () => e.materialLabel && (s.focused || b.value || T.value)
13820
+ ), w = p(() => ({
13818
13821
  [l.class]: !!l.class,
13819
13822
  hasLabel: !!e.label,
13820
13823
  isMaterialLabel: !!(e.label && e.materialLabel),
13821
13824
  isTopLabel: !!(e.label && !e.materialLabel),
13822
- isFloat: R.value,
13825
+ isFloat: D.value,
13823
13826
  isFocused: s.focused,
13824
13827
  isDisabled: !!l.disabled,
13825
13828
  isTextarea: !0
13826
- })), O = p(
13829
+ })), E = p(
13827
13830
  () => e.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
13828
13831
  );
13829
13832
  return te(
13830
13833
  () => e.modelValue,
13831
- (k) => {
13832
- const j = _(k);
13833
- s.val !== j && (s.val = j);
13834
+ (O) => {
13835
+ const I = f(O);
13836
+ s.val !== I && (s.val = I);
13834
13837
  },
13835
13838
  { immediate: !0 }
13836
13839
  ), ve(() => {
13837
13840
  r && (r.removeEventListener("compositionstart", c), r.removeEventListener("compositionend", y), r = null);
13838
- }), (k, j) => {
13839
- const G = V("el-input");
13840
- return A(), E("div", {
13841
- class: H(["MvcField MvcFieldTextarea", t(S)]),
13842
- style: de(t(O))
13841
+ }), (O, I) => {
13842
+ const V = G("el-input");
13843
+ return A(), k("div", {
13844
+ class: H(["MvcField MvcFieldTextarea", t(w)]),
13845
+ style: de(t(E))
13843
13846
  }, [
13844
- e.label ? (A(), E("label", jr, I(e.label), 1)) : J("", !0),
13845
- D(G, oe({
13847
+ e.label ? (A(), k("label", jr, $(e.label), 1)) : J("", !0),
13848
+ R(V, oe({
13846
13849
  ref_key: "inputRef",
13847
13850
  ref: n,
13848
13851
  type: "textarea",
13849
13852
  modelValue: t(s).val,
13850
- "onUpdate:modelValue": j[0] || (j[0] = (P) => t(s).val = P),
13853
+ "onUpdate:modelValue": I[0] || (I[0] = (P) => t(s).val = P),
13851
13854
  rows: e.rows,
13852
13855
  style: t(u).style,
13853
- "input-style": t(T),
13854
- "show-word-limit": t(b),
13855
- maxlength: t(C),
13856
+ "input-style": t(C),
13857
+ "show-word-limit": t(z),
13858
+ maxlength: t(_),
13856
13859
  resize: e.resize,
13857
13860
  class: "MvcTextarea"
13858
13861
  }, t(u), {
13859
- onInput: w,
13862
+ onInput: S,
13860
13863
  onFocus: h,
13861
13864
  onBlur: x
13862
13865
  }), null, 16, ["modelValue", "rows", "style", "input-style", "show-word-limit", "maxlength", "resize"])
@@ -13917,7 +13920,7 @@ const Hr = (a, o = {}) => {
13917
13920
  }, Jr = {
13918
13921
  name: "Matt Avias Frame",
13919
13922
  copyright: "©2026",
13920
- version: "1.1.16",
13923
+ version: "1.1.18",
13921
13924
  author: "Matt Avias",
13922
13925
  date: "2026-02-26",
13923
13926
  /** 默认语言 key,与 `$getLang`、localStorage `lang` 一致;业务在 app.use(mvframe, { config }) 里覆盖 */