mvframe 1.0.90 → 1.0.92

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 Ol } from "./util.js";
2
2
  import { d as Ml } from "./directive.js";
3
3
  import { s as Qe, p as el, a as $l } from "./store-shared.js";
4
4
  import { createRouter as zl, createWebHistory as El, useRoute as ll, useRouter as al } from "vue-router";
5
- import { computed as k, openBlock as S, createElementBlock as $, mergeProps as le, unref as n, Fragment as ee, renderList as oe, normalizeClass as V, createCommentVNode as U, createTextVNode as ae, toDisplayString as E, renderSlot as J, createElementVNode as u, reactive as W, onUnmounted as ce, watch as ne, markRaw as we, resolveComponent as I, createVNode as N, withCtx as L, createBlock as q, resolveDynamicComponent as tl, nextTick as de, getCurrentInstance as ue, ref as Z, onMounted as te, normalizeStyle as se, defineComponent as ol, cloneVNode as Ie, h as Be, inject as ge, withModifiers as me, defineAsyncComponent as nl, Teleport as Ll, Transition as sl, createSlots as pe, normalizeProps as Te, guardReactiveProps as xe, useSlots as jl, useAttrs as be, withKeys as Pl, createStaticVNode as Nl, isRef as rl, onBeforeMount as Rl } from "vue";
5
+ import { computed as k, openBlock as w, createElementBlock as $, mergeProps as le, unref as n, Fragment as ee, renderList as oe, normalizeClass as V, createCommentVNode as U, createTextVNode as ae, toDisplayString as E, renderSlot as J, createElementVNode as d, reactive as W, onUnmounted as de, watch as ne, markRaw as we, resolveComponent as I, createVNode as N, withCtx as L, createBlock as q, resolveDynamicComponent as tl, nextTick as pe, getCurrentInstance as ue, ref as Z, onMounted as te, normalizeStyle as se, defineComponent as ol, cloneVNode as Ie, h as Be, inject as ge, withModifiers as me, defineAsyncComponent as nl, Teleport as Ll, Transition as sl, createSlots as ce, normalizeProps as Te, guardReactiveProps as xe, useSlots as jl, useAttrs as be, withKeys as Pl, createStaticVNode as Nl, isRef as rl, onBeforeMount as Rl } from "vue";
6
6
  /* empty css */
7
7
  import { deepEqual as Ve, isInView as Dl, loadMvframeTheme as Il, MVFRAME_STORAGE_LANG as Fe, download as Bl, useRemoteSummary as Vl, useOptions as Fl, useLang as Ul } from "./composition.js";
8
8
  import Ue from "vuedraggable";
@@ -4171,8 +4171,8 @@ function lt(e, o) {
4171
4171
  return { message: String(e), duration: l, showClose: !1 };
4172
4172
  }
4173
4173
  function _e(e, o) {
4174
- const l = Ze[e] || Ze.error, { message: a, duration: t, showClose: s } = lt(o, e), c = et();
4175
- if (!c) {
4174
+ const l = Ze[e] || Ze.error, { message: a, duration: t, showClose: s } = lt(o, e), u = et();
4175
+ if (!u) {
4176
4176
  console.error("[mvframe/message]", a);
4177
4177
  return;
4178
4178
  }
@@ -4193,7 +4193,7 @@ function _e(e, o) {
4193
4193
  const T = document.createElement("button");
4194
4194
  T.type = "button", T.className = "mvframeTopToastClose", T.setAttribute("aria-label", "Close"), T.textContent = "×", T.addEventListener("click", g), _.appendChild(T);
4195
4195
  }
4196
- c.appendChild(_), t > 0 && (b = window.setTimeout(g, t));
4196
+ u.appendChild(_), t > 0 && (b = window.setTimeout(g, t));
4197
4197
  }
4198
4198
  function Vs() {
4199
4199
  return {
@@ -4213,11 +4213,11 @@ const ye = (e) => {
4213
4213
  } catch {
4214
4214
  }
4215
4215
  }, at = ({ router: e, useAdmin: o, adminPermission: l, noaccess: a }) => {
4216
- e.beforeEach((t, s, c) => {
4217
- ye(!0), o && t.meta.admin ? l() ? c() : a && a(t, s, c) : c();
4218
- }), e.afterEach((t, s, c) => {
4216
+ e.beforeEach((t, s, u) => {
4217
+ ye(!0), o && t.meta.admin ? l() ? u() : a && a(t, s, u) : u();
4218
+ }), e.afterEach((t, s, u) => {
4219
4219
  var A, b;
4220
- if (c) {
4220
+ if (u) {
4221
4221
  ye(!1);
4222
4222
  return;
4223
4223
  }
@@ -4227,11 +4227,11 @@ const ye = (e) => {
4227
4227
  ye(!1);
4228
4228
  });
4229
4229
  }, tt = (e, { routes: o, guard: l, useAdmin: a = !1, adminPermission: t = () => !0, noaccess: s }) => {
4230
- const c = zl({
4230
+ const u = zl({
4231
4231
  history: El(),
4232
4232
  routes: o
4233
4233
  });
4234
- l && l(c), at({ router: c, useAdmin: a, adminPermission: t, noaccess: s }), e.use(c), globalThis.$router = c;
4234
+ l && l(u), at({ router: u, useAdmin: a, adminPermission: t, noaccess: s }), e.use(u), globalThis.$router = u;
4235
4235
  }, Q = (e, o) => {
4236
4236
  const l = e.__vccOpts || e;
4237
4237
  for (const [a, t] of o)
@@ -4284,7 +4284,7 @@ const ye = (e) => {
4284
4284
  return i === l.modelValue && (i !== void 0 || l.modelValue !== void 0);
4285
4285
  }, s = (b) => {
4286
4286
  l.disabled || (a("update:modelValue", b.value), a("change", b.value));
4287
- }, c = k(() => {
4287
+ }, u = k(() => {
4288
4288
  const b = l.options, i = Array.isArray(b) ? b : [], g = l.valueKey, T = l.labelKey, y = l.iconKey;
4289
4289
  return i.filter((z) => z != null).map((z) => typeof z == "object" && !Array.isArray(z) ? {
4290
4290
  value: z[g],
@@ -4300,17 +4300,17 @@ const ye = (e) => {
4300
4300
  raw: z
4301
4301
  });
4302
4302
  }), _ = k(() => ({ small: "g4", default: "g6", large: "g8" })[l.size] ?? "g6"), A = k(() => l.size === "small" ? "sizeSmall" : l.size === "large" ? "sizeLarge" : "");
4303
- return (b, i) => (S(), $("div", le({
4303
+ return (b, i) => (w(), $("div", le({
4304
4304
  class: ["MvcBtnGroup flexMode", [n(_), n(A), b.$attrs.class]]
4305
4305
  }, b.$attrs, { role: "group" }), [
4306
- (S(!0), $(ee, null, oe(n(c), (g) => (S(), $("button", {
4306
+ (w(!0), $(ee, null, oe(n(u), (g) => (w(), $("button", {
4307
4307
  key: g.value,
4308
4308
  type: "button",
4309
4309
  class: V(["btnItem", { isActive: t(g) }]),
4310
4310
  disabled: l.disabled || g.disabled,
4311
4311
  onClick: (T) => s(g)
4312
4312
  }, [
4313
- g.icon ? (S(), $("i", {
4313
+ g.icon ? (w(), $("i", {
4314
4314
  key: 0,
4315
4315
  class: V([[g.icon, l.iconClass], "noShrink fs16"]),
4316
4316
  "aria-hidden": "true"
@@ -4363,21 +4363,21 @@ const ye = (e) => {
4363
4363
  },
4364
4364
  setup(e) {
4365
4365
  const o = e;
4366
- return (l, a) => (S(), $("div", le({
4366
+ return (l, a) => (w(), $("div", le({
4367
4367
  class: ["MvcCard", { "MvcCard--fillParent": o.fillParent }]
4368
4368
  }, l.$attrs), [
4369
- o.title || l.$slots.header ? (S(), $("div", {
4369
+ o.title || l.$slots.header ? (w(), $("div", {
4370
4370
  key: 0,
4371
4371
  class: V(["header", o.headerClass])
4372
4372
  }, [
4373
- l.$slots.header ? J(l.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (S(), $("span", it, E(o.title), 1)) : U("", !0)
4373
+ l.$slots.header ? J(l.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (w(), $("span", it, E(o.title), 1)) : U("", !0)
4374
4374
  ], 2)) : U("", !0),
4375
- u("div", {
4375
+ d("div", {
4376
4376
  class: V(["body", o.bodyClass])
4377
4377
  }, [
4378
4378
  J(l.$slots, "default", {}, void 0, !0)
4379
4379
  ], 2),
4380
- l.$slots.footer ? (S(), $("div", {
4380
+ l.$slots.footer ? (w(), $("div", {
4381
4381
  key: 1,
4382
4382
  class: V(["footer", o.footerClass])
4383
4383
  }, [
@@ -4424,10 +4424,10 @@ const ye = (e) => {
4424
4424
  cpt: null,
4425
4425
  mounted: !1,
4426
4426
  dragMode: !1
4427
- }), s = o, c = () => {
4427
+ }), s = o, u = () => {
4428
4428
  t.mounted = !0;
4429
4429
  }, _ = () => {
4430
- s("update:current", ""), t.mounted = !1, B.value ? t.drawerInfo = a() : de(() => {
4430
+ s("update:current", ""), t.mounted = !1, B.value ? t.drawerInfo = a() : pe(() => {
4431
4431
  delete t.drawerInfo.cpt;
4432
4432
  });
4433
4433
  }, A = () => {
@@ -4447,7 +4447,7 @@ const ye = (e) => {
4447
4447
  }, y = () => {
4448
4448
  document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", T);
4449
4449
  }, z = k(() => !!t.drawerInfo.title), B = k(() => !l.keepalive);
4450
- return ce(() => {
4450
+ return de(() => {
4451
4451
  y();
4452
4452
  }), ne(
4453
4453
  () => l.current,
@@ -4460,14 +4460,14 @@ const ye = (e) => {
4460
4460
  direction: p.direction || "rtl",
4461
4461
  visible: !0
4462
4462
  };
4463
- x.cpt ? (t.cpt = we(x.cpt), delete x.cpt) : (t.cpt = null, c()), t.drawerInfo = x;
4463
+ x.cpt ? (t.cpt = we(x.cpt), delete x.cpt) : (t.cpt = null, u()), t.drawerInfo = x;
4464
4464
  } else
4465
4465
  A();
4466
4466
  }
4467
4467
  ), (m, p) => {
4468
- const x = I("Loading"), d = I("el-drawer");
4469
- return S(), $("div", pt, [
4470
- N(d, {
4468
+ const x = I("Loading"), c = I("el-drawer");
4469
+ return w(), $("div", pt, [
4470
+ N(c, {
4471
4471
  modelValue: n(t).drawerInfo.visible,
4472
4472
  "onUpdate:modelValue": p[0] || (p[0] = (C) => n(t).drawerInfo.visible = C),
4473
4473
  title: m.$l(n(t).drawerInfo.title),
@@ -4482,16 +4482,16 @@ const ye = (e) => {
4482
4482
  class: V(n(t).dragMode && "notransition noevent noselect")
4483
4483
  }, {
4484
4484
  default: L(() => [
4485
- u("div", bt, [
4486
- u("div", {
4485
+ d("div", bt, [
4486
+ d("div", {
4487
4487
  class: V(["dragHandle", n(t).dragMode && "active"]),
4488
4488
  onMousedown: i
4489
4489
  }, [...p[1] || (p[1] = [
4490
- u("i", { class: "imicon im-handle fs12" }, null, -1)
4490
+ d("i", { class: "imicon im-handle fs12" }, null, -1)
4491
4491
  ])], 34)
4492
4492
  ]),
4493
- n(z) ? U("", !0) : (S(), $("div", ft, [
4494
- u("i", {
4493
+ n(z) ? U("", !0) : (w(), $("div", ft, [
4494
+ d("i", {
4495
4495
  class: "imicon im-close fs20 txt-dark7 hover-txt-primary",
4496
4496
  onClick: A
4497
4497
  })
@@ -4499,10 +4499,10 @@ const ye = (e) => {
4499
4499
  N(x, {
4500
4500
  loading: !n(t).mounted
4501
4501
  }, null, 8, ["loading"]),
4502
- m.$slots.default ? J(m.$slots, "default", { key: 1 }, void 0, !0) : (S(), q(tl(n(t).drawerInfo.cpt), le({ key: 2 }, m.$attrs, {
4502
+ m.$slots.default ? J(m.$slots, "default", { key: 1 }, void 0, !0) : (w(), q(tl(n(t).drawerInfo.cpt), le({ key: 2 }, m.$attrs, {
4503
4503
  params: n(t).drawerInfo.params,
4504
4504
  onClose: A,
4505
- onMounted: c
4505
+ onMounted: u
4506
4506
  }), null, 16, ["params"]))
4507
4507
  ]),
4508
4508
  _: 3
@@ -4577,14 +4577,14 @@ const ye = (e) => {
4577
4577
  },
4578
4578
  emits: ["close", "submit", "cancel", "mounted"],
4579
4579
  setup(e, { expose: o, emit: l }) {
4580
- const a = e, { proxy: t } = ue(), s = Z(), c = l;
4580
+ const a = e, { proxy: t } = ue(), s = Z(), u = l;
4581
4581
  te(() => {
4582
- c("mounted");
4582
+ u("mounted");
4583
4583
  });
4584
4584
  const _ = () => {
4585
- c("close"), c("cancel");
4585
+ u("close"), u("cancel");
4586
4586
  }, A = () => {
4587
- c("submit");
4587
+ u("submit");
4588
4588
  };
4589
4589
  o({
4590
4590
  toClose: _,
@@ -4601,8 +4601,8 @@ const ye = (e) => {
4601
4601
  });
4602
4602
  return (T, y) => {
4603
4603
  const z = I("Loading"), B = I("el-scrollbar"), m = I("el-button");
4604
- return S(), $(ee, null, [
4605
- u("div", {
4604
+ return w(), $(ee, null, [
4605
+ d("div", {
4606
4606
  class: V(["MvcDrawerBody VAfter", n(i)]),
4607
4607
  style: se(n(g))
4608
4608
  }, [
@@ -4610,7 +4610,7 @@ const ye = (e) => {
4610
4610
  loading: a.loading,
4611
4611
  txt: a.loadingTxt
4612
4612
  }, null, 8, ["loading", "txt"]),
4613
- a.noscroll ? J(T.$slots, "default", { key: 0 }, void 0, !0) : (S(), q(B, {
4613
+ a.noscroll ? J(T.$slots, "default", { key: 0 }, void 0, !0) : (w(), q(B, {
4614
4614
  key: 1,
4615
4615
  ref_key: "scrollbar",
4616
4616
  ref: s,
@@ -4622,28 +4622,28 @@ const ye = (e) => {
4622
4622
  _: 3
4623
4623
  }, 512))
4624
4624
  ], 6),
4625
- a.nofooter ? U("", !0) : (S(), $("div", {
4625
+ a.nofooter ? U("", !0) : (w(), $("div", {
4626
4626
  key: 0,
4627
4627
  class: V(["drawerFooter relative flexMode vc hb h64", a.footerClass])
4628
4628
  }, [
4629
- T.$slots.footer ? J(T.$slots, "footer", { key: 0 }, void 0, !0) : (S(), $("div", gt, [
4630
- T.$slots.cancel ? J(T.$slots, "cancel", { key: 0 }, void 0, !0) : a.showCancel ? (S(), q(m, {
4629
+ T.$slots.footer ? J(T.$slots, "footer", { key: 0 }, void 0, !0) : (w(), $("div", gt, [
4630
+ T.$slots.cancel ? J(T.$slots, "cancel", { key: 0 }, void 0, !0) : a.showCancel ? (w(), q(m, {
4631
4631
  key: 1,
4632
4632
  plain: "",
4633
4633
  size: "large",
4634
4634
  onClick: _
4635
4635
  }, {
4636
4636
  icon: L(() => [
4637
- u("i", {
4637
+ d("i", {
4638
4638
  class: V(["imicon", a.cancelIcon])
4639
4639
  }, null, 2)
4640
4640
  ]),
4641
4641
  default: L(() => [
4642
- u("span", _t, E(T.$l(a.cancelTxt)), 1)
4642
+ d("span", _t, E(T.$l(a.cancelTxt)), 1)
4643
4643
  ]),
4644
4644
  _: 1
4645
4645
  })) : U("", !0),
4646
- T.$slots.submit ? J(T.$slots, "submit", { key: 2 }, void 0, !0) : a.showConfirm ? (S(), q(m, {
4646
+ T.$slots.submit ? J(T.$slots, "submit", { key: 2 }, void 0, !0) : a.showConfirm ? (w(), q(m, {
4647
4647
  key: 3,
4648
4648
  type: "primary",
4649
4649
  size: "large",
@@ -4651,12 +4651,12 @@ const ye = (e) => {
4651
4651
  onClick: A
4652
4652
  }, {
4653
4653
  icon: L(() => [
4654
- u("i", {
4654
+ d("i", {
4655
4655
  class: V(["imicon", a.confirmIcon])
4656
4656
  }, null, 2)
4657
4657
  ]),
4658
4658
  default: L(() => [
4659
- u("span", yt, E(T.$l(a.confirmTxt)), 1)
4659
+ d("span", yt, E(T.$l(a.confirmTxt)), 1)
4660
4660
  ]),
4661
4661
  _: 1
4662
4662
  }, 8, ["loading"])) : U("", !0),
@@ -4693,30 +4693,30 @@ const Ct = ol({
4693
4693
  setup(e, o) {
4694
4694
  function l(t) {
4695
4695
  if (!Array.isArray(t)) return [];
4696
- const s = t.filter((b) => b && b.children !== "v-if"), c = s.length !== t.length, _ = s.map((b) => a(b));
4697
- return c || _.some((b, i) => b !== s[i]) ? _ : t;
4696
+ const s = t.filter((b) => b && b.children !== "v-if"), u = s.length !== t.length, _ = s.map((b) => a(b));
4697
+ return u || _.some((b, i) => b !== s[i]) ? _ : t;
4698
4698
  }
4699
4699
  function a(t) {
4700
4700
  var _, A, b, i;
4701
4701
  if (!t) return t;
4702
- const s = t.children, c = window.$getType(s);
4702
+ const s = t.children, u = window.$getType(s);
4703
4703
  if (((_ = t.type) == null ? void 0 : _.name) === "ElFormItem" && ((A = t.props) == null ? void 0 : A.label) != null) {
4704
4704
  const g = ((i = (b = t.props.label).$l) == null ? void 0 : i.call(b)) || t.props.label;
4705
- if (c === "Array") {
4705
+ if (u === "Array") {
4706
4706
  const T = l(s);
4707
4707
  return qe(T, s) ? Ie(t, { label: g }) : Be(t.type, { ...t.props || {}, label: g }, T);
4708
4708
  }
4709
4709
  return Ie(t, { label: g });
4710
4710
  }
4711
- if (c === "Array") {
4711
+ if (u === "Array") {
4712
4712
  const g = l(s);
4713
4713
  return qe(g, s) ? t : Be(t.type, t.props, g);
4714
4714
  }
4715
4715
  return t;
4716
4716
  }
4717
4717
  return () => {
4718
- var c, _;
4719
- const t = (_ = (c = o.slots).default) == null ? void 0 : _.call(c), s = At(t);
4718
+ var u, _;
4719
+ const t = (_ = (u = o.slots).default) == null ? void 0 : _.call(u), s = At(t);
4720
4720
  return l(s);
4721
4721
  };
4722
4722
  }
@@ -4741,7 +4741,7 @@ const Ct = ol({
4741
4741
  setup(e, { expose: o, emit: l }) {
4742
4742
  const a = e, t = W({
4743
4743
  form: {}
4744
- }), { proxy: s } = ue(), c = l, _ = async () => {
4744
+ }), { proxy: s } = ue(), u = l, _ = async () => {
4745
4745
  var i;
4746
4746
  try {
4747
4747
  return (i = s.$refs) != null && i.form ? (await s.$refs.form.validate(), A()) : !1;
@@ -4760,7 +4760,7 @@ const Ct = ol({
4760
4760
  return ne(
4761
4761
  () => t.form,
4762
4762
  (i) => {
4763
- i && !Ve(i, a.modelValue) && c("update:modelValue", i);
4763
+ i && !Ve(i, a.modelValue) && u("update:modelValue", i);
4764
4764
  },
4765
4765
  {
4766
4766
  deep: !0
@@ -4778,7 +4778,7 @@ const Ct = ol({
4778
4778
  validate: _
4779
4779
  }), (i, g) => {
4780
4780
  const T = I("el-form");
4781
- return S(), $("div", kt, [
4781
+ return w(), $("div", kt, [
4782
4782
  N(T, {
4783
4783
  ref: "form",
4784
4784
  model: n(t).form,
@@ -4814,7 +4814,7 @@ const Ct = ol({
4814
4814
  pageScrolled: !1
4815
4815
  });
4816
4816
  let l = null, a = null;
4817
- const t = ge("store"), s = t.tab(), c = t.rmenu(), _ = ll(), A = al(), { proxy: b } = ue();
4817
+ const t = ge("store"), s = t.tab(), u = t.rmenu(), _ = ll(), A = al(), { proxy: b } = ue();
4818
4818
  te(() => {
4819
4819
  i(), y();
4820
4820
  });
@@ -4850,12 +4850,12 @@ const Ct = ol({
4850
4850
  localStorage.setItem("tabsScroll", M);
4851
4851
  }, 100);
4852
4852
  }, m = () => {
4853
- de(() => {
4854
- const f = b.$el.querySelector(`#tab_${w.value}`);
4853
+ pe(() => {
4854
+ const f = b.$el.querySelector(`#tab_${S.value}`);
4855
4855
  Dl(b.$el, f) ? z() : b.$el.scrollLeft = (f == null ? void 0 : f.offsetLeft) - 16;
4856
4856
  });
4857
4857
  }, p = (f, O, M) => {
4858
- c.saveData("type", "tabManager"), c.saveData("options", [
4858
+ u.saveData("type", "tabManager"), u.saveData("options", [
4859
4859
  {
4860
4860
  label: "Close",
4861
4861
  value: "close",
@@ -4892,24 +4892,24 @@ const Ct = ol({
4892
4892
  s.closeOtherTab(O, M);
4893
4893
  }
4894
4894
  }
4895
- ]), c.show({
4895
+ ]), u.show({
4896
4896
  position: {
4897
4897
  x: f.clientX,
4898
4898
  y: f.clientY
4899
4899
  }
4900
4900
  });
4901
4901
  }, x = (f) => {
4902
- const O = f.name === w.value, M = JSON.stringify(f.params ?? {}) === JSON.stringify(_.params ?? {}), j = JSON.stringify(f.query ?? {}) === JSON.stringify(_.query ?? {});
4902
+ const O = f.name === S.value, M = JSON.stringify(f.params ?? {}) === JSON.stringify(_.params ?? {}), j = JSON.stringify(f.query ?? {}) === JSON.stringify(_.query ?? {});
4903
4903
  (!O || !M || !j) && A.push({
4904
4904
  name: f.name,
4905
4905
  params: f.params,
4906
4906
  query: f.query
4907
4907
  });
4908
- }, d = (f) => {
4909
- console.info(f.name, w.value), f.name === w.value ? A.replace({ name: f.name, query: { t: +/* @__PURE__ */ new Date() } }) : x(f);
4908
+ }, c = (f) => {
4909
+ console.info(f.name, S.value), f.name === S.value ? A.replace({ name: f.name, query: { t: +/* @__PURE__ */ new Date() } }) : x(f);
4910
4910
  }, C = (f, O) => {
4911
4911
  s.closeTab(f, O);
4912
- }, v = k(() => s.tabs), w = k(() => _.name), D = k(() => v.value.length);
4912
+ }, v = k(() => s.tabs), S = k(() => _.name), D = k(() => v.value.length);
4913
4913
  return ne(
4914
4914
  () => D.value,
4915
4915
  (f) => {
@@ -4919,40 +4919,40 @@ const Ct = ol({
4919
4919
  immediate: !0
4920
4920
  }
4921
4921
  ), ne(
4922
- () => w.value,
4922
+ () => S.value,
4923
4923
  () => {
4924
- de(() => {
4924
+ pe(() => {
4925
4925
  T();
4926
4926
  });
4927
4927
  }
4928
- ), ce(() => {
4928
+ ), de(() => {
4929
4929
  b.$el.removeEventListener("scroll", B), a == null || a(), a = null;
4930
- }), (f, O) => (S(), $("div", Mt, [
4931
- u("div", $t, [
4932
- (S(!0), $(ee, null, oe(n(v), (M, j) => (S(), $("div", {
4930
+ }), (f, O) => (w(), $("div", Mt, [
4931
+ d("div", $t, [
4932
+ (w(!0), $(ee, null, oe(n(v), (M, j) => (w(), $("div", {
4933
4933
  key: M.name,
4934
4934
  id: `tab_${M.name}`,
4935
4935
  class: V(["tabItem relative flexMode vc g4 noShrink h32 p0-8 fs12 radius4 point noselect", [
4936
- M.name === n(w) && "active",
4936
+ M.name === n(S) && "active",
4937
4937
  n(v).length > 1 && "hoverItem"
4938
4938
  ]]),
4939
4939
  onContextmenu: me((F) => p(F, M, j), ["prevent", "stop"]),
4940
4940
  onClick: (F) => x(M),
4941
- onDblclick: (F) => d(M)
4941
+ onDblclick: (F) => c(M)
4942
4942
  }, [
4943
- M.icon ? (S(), $("i", {
4943
+ M.icon ? (w(), $("i", {
4944
4944
  key: 0,
4945
4945
  class: V(["imicon", M.icon])
4946
4946
  }, null, 2)) : U("", !0),
4947
4947
  ae(" " + E(M.meta.title) + " ", 1),
4948
- u("div", {
4948
+ d("div", {
4949
4949
  class: "abs r flexMode hc vc w20 h20",
4950
4950
  onClick: me((F) => C(M, j), ["stop"])
4951
4951
  }, [...O[0] || (O[0] = [
4952
- u("span", null, "✕", -1)
4952
+ d("span", null, "✕", -1)
4953
4953
  ])], 8, Et)
4954
4954
  ], 42, zt))), 128)),
4955
- O[1] || (O[1] = u("div", { class: "w16 h16 noShrink" }, null, -1))
4955
+ O[1] || (O[1] = d("div", { class: "w16 h16 noShrink" }, null, -1))
4956
4956
  ])
4957
4957
  ]));
4958
4958
  }
@@ -4981,43 +4981,43 @@ const Ct = ol({
4981
4981
  setup(e, { emit: o }) {
4982
4982
  const l = e, a = W({
4983
4983
  collapse: !1
4984
- }), t = ll(), s = al(), c = ge("store"), _ = c.launch();
4984
+ }), t = ll(), s = al(), u = ge("store"), _ = u.launch();
4985
4985
  te(() => {
4986
4986
  b();
4987
4987
  });
4988
4988
  const A = o, b = () => {
4989
- const d = localStorage.getItem("collapse");
4990
- d && (a.collapse = JSON.parse(d)), document.addEventListener("keydown", g);
4991
- }, i = (d) => {
4992
- a.collapse === !0 ? a.collapse = !1 : a.collapse === !1 ? a.collapse = !0 : a.collapse = d, localStorage.setItem("collapse", a.collapse), A("on-collapse-change", a.collapse);
4993
- }, g = (d) => {
4994
- d.shiftKey && (d.metaKey || d.ctrlKey) && (d.keyCode === 37 ? i(!0) : d.keyCode === 39 && i(!1));
4995
- }, T = (d) => {
4989
+ const c = localStorage.getItem("collapse");
4990
+ c && (a.collapse = JSON.parse(c)), document.addEventListener("keydown", g);
4991
+ }, i = (c) => {
4992
+ a.collapse === !0 ? a.collapse = !1 : a.collapse === !1 ? a.collapse = !0 : a.collapse = c, localStorage.setItem("collapse", a.collapse), A("on-collapse-change", a.collapse);
4993
+ }, g = (c) => {
4994
+ c.shiftKey && (c.metaKey || c.ctrlKey) && (c.keyCode === 37 ? i(!0) : c.keyCode === 39 && i(!1));
4995
+ }, T = (c) => {
4996
4996
  var C;
4997
- return (C = d == null ? void 0 : d.children) != null && C.length ? T(d.children[0]) : d;
4998
- }, y = (d) => {
4997
+ return (C = c == null ? void 0 : c.children) != null && C.length ? T(c.children[0]) : c;
4998
+ }, y = (c) => {
4999
4999
  var C;
5000
- return ((C = d == null ? void 0 : d.children) == null ? void 0 : C.some((v) => v.name === t.name || y(v))) ?? !1;
5001
- }, z = (d) => {
5002
- const C = T(d);
5000
+ return ((C = c == null ? void 0 : c.children) == null ? void 0 : C.some((v) => v.name === t.name || y(v))) ?? !1;
5001
+ }, z = (c) => {
5002
+ const C = T(c);
5003
5003
  C != null && C.name && s.push({ name: C.name });
5004
5004
  }, B = () => {
5005
- const d = { ...t.query, _: Date.now() }, C = t.name ? { name: t.name, params: t.params, query: d } : { path: t.path, query: d };
5005
+ const c = { ...t.query, _: Date.now() }, C = t.name ? { name: t.name, params: t.params, query: c } : { path: t.path, query: c };
5006
5006
  s.replace(C).catch(() => {
5007
5007
  });
5008
5008
  }, m = () => {
5009
- var d;
5010
- return ((d = globalThis.$config) == null ? void 0 : d.loginPageName) || "Entry";
5009
+ var c;
5010
+ return ((c = globalThis.$config) == null ? void 0 : c.loginPageName) || "Entry";
5011
5011
  }, p = () => {
5012
- const d = () => {
5013
- var v, w;
5012
+ const c = () => {
5013
+ var v, S;
5014
5014
  try {
5015
- const D = c.tab();
5016
- (v = D.closeAllTab) == null || v.call(D), (w = D.$patch) == null || w.call(D, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
5015
+ const D = u.tab();
5016
+ (v = D.closeAllTab) == null || v.call(D), (S = D.$patch) == null || S.call(D, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
5017
5017
  } catch {
5018
5018
  }
5019
5019
  }, C = () => {
5020
- if (d(), typeof _.clearLogin == "function")
5020
+ if (c(), typeof _.clearLogin == "function")
5021
5021
  _.clearLogin();
5022
5022
  else {
5023
5023
  try {
@@ -5036,72 +5036,72 @@ const Ct = ol({
5036
5036
  C();
5037
5037
  });
5038
5038
  }, x = k(() => a.collapse ? "im-verticalleft" : "im-verticalright");
5039
- return ce(() => {
5039
+ return de(() => {
5040
5040
  document.removeEventListener("keydown", g);
5041
- }), (d, C) => {
5041
+ }), (c, C) => {
5042
5042
  const v = I("el-popconfirm");
5043
- return S(), $("div", {
5043
+ return w(), $("div", {
5044
5044
  class: V(["FrameMenu sticky vh100 noselect noShrink", n(a).collapse && "collapse"])
5045
5045
  }, [
5046
- u("div", Pt, [
5047
- u("div", Nt, [
5048
- J(d.$slots, "logo", {}, void 0, !0)
5046
+ d("div", Pt, [
5047
+ d("div", Nt, [
5048
+ J(c.$slots, "logo", {}, void 0, !0)
5049
5049
  ]),
5050
- u("div", Rt, [
5051
- J(d.$slots, "logomini", {}, void 0, !0)
5050
+ d("div", Rt, [
5051
+ J(c.$slots, "logomini", {}, void 0, !0)
5052
5052
  ]),
5053
- u("div", {
5053
+ d("div", {
5054
5054
  class: "collapseArea hover abs",
5055
- onClick: C[0] || (C[0] = (w) => i(n(a).collapse))
5055
+ onClick: C[0] || (C[0] = (S) => i(n(a).collapse))
5056
5056
  }, [
5057
- u("i", {
5057
+ d("i", {
5058
5058
  class: V(["imicon fs20", n(x)])
5059
5059
  }, null, 2)
5060
5060
  ])
5061
5061
  ]),
5062
- u("div", Dt, [
5063
- (S(!0), $(ee, null, oe(l.routes, (w, D) => {
5062
+ d("div", Dt, [
5063
+ (w(!0), $(ee, null, oe(l.routes, (S, D) => {
5064
5064
  var f, O;
5065
- return S(), $("div", {
5065
+ return w(), $("div", {
5066
5066
  key: D,
5067
5067
  class: "menuItemWrap mb2"
5068
5068
  }, [
5069
- u("div", {
5069
+ d("div", {
5070
5070
  class: V(["menuItem flexMode vc g8 radius4 p0-16", [
5071
- n(t).name === w.name && "active bg-primary",
5071
+ n(t).name === S.name && "active bg-primary",
5072
5072
  n(a).collapse && "hc",
5073
- n(a).collapse && y(w) && "activeChild"
5073
+ n(a).collapse && y(S) && "activeChild"
5074
5074
  ]]),
5075
- onClick: (M) => z(w),
5075
+ onClick: (M) => z(S),
5076
5076
  onDblclick: B
5077
5077
  }, [
5078
- u("div", Bt, [
5079
- w.meta.icon ? (S(), $("i", {
5078
+ d("div", Bt, [
5079
+ S.meta.icon ? (w(), $("i", {
5080
5080
  key: 0,
5081
- class: V([l.iconClass, w.meta.icon])
5082
- }, null, 2)) : (S(), $("span", Vt, E(((f = w.meta.title) == null ? void 0 : f.substr(0, 1)) || "U"), 1))
5081
+ class: V([l.iconClass, S.meta.icon])
5082
+ }, null, 2)) : (w(), $("span", Vt, E(((f = S.meta.title) == null ? void 0 : f.substr(0, 1)) || "U"), 1))
5083
5083
  ]),
5084
- u("div", {
5084
+ d("div", {
5085
5085
  class: V(["itemTitle txt-nowrap fs14", [
5086
- n(t).name === w.name && "active",
5086
+ n(t).name === S.name && "active",
5087
5087
  n(a).collapse && "hide"
5088
5088
  ]])
5089
- }, E(w.meta.title), 3)
5089
+ }, E(S.meta.title), 3)
5090
5090
  ], 42, It),
5091
- (O = w.children) != null && O.length ? (S(), $("div", Ft, [
5092
- (S(!0), $(ee, null, oe(w.children, (M, j) => (S(), $("div", {
5091
+ (O = S.children) != null && O.length ? (w(), $("div", Ft, [
5092
+ (w(!0), $(ee, null, oe(S.children, (M, j) => (w(), $("div", {
5093
5093
  key: j,
5094
5094
  class: V(["childrenItem flexMode vc g8 radius4 h40 p0-16", n(t).name === M.name && "active bg-primary"]),
5095
5095
  onClick: (F) => z(M),
5096
5096
  onDblclick: B
5097
5097
  }, [
5098
- u("div", Gt, [
5099
- M.meta.icon ? (S(), $("i", {
5098
+ d("div", Gt, [
5099
+ M.meta.icon ? (w(), $("i", {
5100
5100
  key: 0,
5101
5101
  class: V([l.iconClass, M.meta.icon])
5102
5102
  }, null, 2)) : U("", !0)
5103
5103
  ]),
5104
- u("div", {
5104
+ d("div", {
5105
5105
  class: V(["itemTitle txt-nowrap fs14", [
5106
5106
  n(t).name === M.name && "active",
5107
5107
  n(a).collapse && "hide"
@@ -5112,16 +5112,16 @@ const Ct = ol({
5112
5112
  ]);
5113
5113
  }), 128))
5114
5114
  ]),
5115
- u("div", Kt, [
5115
+ d("div", Kt, [
5116
5116
  N(v, {
5117
5117
  placement: "top",
5118
- title: d.$l("Log out?"),
5118
+ title: c.$l("Log out?"),
5119
5119
  onConfirm: p
5120
5120
  }, {
5121
5121
  reference: L(() => [
5122
- u("div", Ht, [
5123
- C[1] || (C[1] = u("i", { class: "imicon im-power fs24" }, null, -1)),
5124
- u("span", {
5122
+ d("div", Ht, [
5123
+ C[1] || (C[1] = d("i", { class: "imicon im-power fs24" }, null, -1)),
5124
+ d("span", {
5125
5125
  class: V(["fs14", n(a).collapse && "hide"])
5126
5126
  }, E(n(_).userinfo[l.usernameKey]), 3)
5127
5127
  ])
@@ -5140,9 +5140,9 @@ const Ct = ol({
5140
5140
  setup(e) {
5141
5141
  W({});
5142
5142
  const o = k(() => globalThis.$config);
5143
- return (l, a) => (S(), $("div", Wt, [
5144
- u("span", Zt, E(n(o).copyright), 1),
5145
- u("span", qt, E(n(o).author), 1)
5143
+ return (l, a) => (w(), $("div", Wt, [
5144
+ d("span", Zt, E(n(o).copyright), 1),
5145
+ d("span", qt, E(n(o).author), 1)
5146
5146
  ]));
5147
5147
  }
5148
5148
  }), Qt = /* @__PURE__ */ Q(Xt, [["__scopeId", "data-v-c3ba0162"]]), eo = { class: "FrameTool fixed r t flexMode vc g8 p0-8 w40 h40 noShrink z9" }, lo = /* @__PURE__ */ Object.assign({
@@ -5165,14 +5165,14 @@ const Ct = ol({
5165
5165
  l.current = 0;
5166
5166
  };
5167
5167
  return (t, s) => {
5168
- const c = I("Icon"), _ = I("Drawer");
5169
- return S(), $(ee, null, [
5170
- u("div", eo, [
5171
- u("div", {
5168
+ const u = I("Icon"), _ = I("Drawer");
5169
+ return w(), $(ee, null, [
5170
+ d("div", eo, [
5171
+ d("div", {
5172
5172
  class: "hover w24 h24 flexMode hc vc radius",
5173
5173
  onClick: a
5174
5174
  }, [
5175
- N(c, {
5175
+ N(u, {
5176
5176
  name: "setting",
5177
5177
  size: "24"
5178
5178
  })
@@ -5199,8 +5199,8 @@ const Ct = ol({
5199
5199
  x: 0,
5200
5200
  y: 0,
5201
5201
  ready: !1
5202
- }), s = (d, C, v) => Math.min(Math.max(d, C), v), c = (d) => Number.isFinite(Number(d)), _ = () => {
5203
- const { position: d, el: C } = l;
5202
+ }), s = (c, C, v) => Math.min(Math.max(c, C), v), u = (c) => Number.isFinite(Number(c)), _ = () => {
5203
+ const { position: c, el: C } = l;
5204
5204
  if (C != null && C.getBoundingClientRect) {
5205
5205
  const v = C.getBoundingClientRect();
5206
5206
  return {
@@ -5208,9 +5208,9 @@ const Ct = ol({
5208
5208
  y: v.bottom + 4
5209
5209
  };
5210
5210
  }
5211
- return d && c(d.x) && c(d.y) ? {
5212
- x: Number(d.x),
5213
- y: Number(d.y)
5211
+ return c && u(c.x) && u(c.y) ? {
5212
+ x: Number(c.x),
5213
+ y: Number(c.y)
5214
5214
  } : {
5215
5215
  x: 0,
5216
5216
  y: 0
@@ -5218,27 +5218,27 @@ const Ct = ol({
5218
5218
  }, A = async () => {
5219
5219
  if (t.ready = !1, !p.value)
5220
5220
  return;
5221
- await de();
5222
- const d = a.value;
5223
- if (!d)
5221
+ await pe();
5222
+ const c = a.value;
5223
+ if (!c)
5224
5224
  return;
5225
- const C = _(), v = d.getBoundingClientRect(), w = 8, D = Math.max(w, window.innerWidth - v.width - w), f = Math.max(w, window.innerHeight - v.height - w);
5226
- t.x = s(C.x, w, D), t.y = s(C.y, w, f), t.ready = !0;
5225
+ const C = _(), v = c.getBoundingClientRect(), S = 8, D = Math.max(S, window.innerWidth - v.width - S), f = Math.max(S, window.innerHeight - v.height - S);
5226
+ t.x = s(C.x, S, D), t.y = s(C.y, S, f), t.ready = !0;
5227
5227
  }, b = () => {
5228
5228
  l.visible && l.hide(), t.ready = !1;
5229
- }, i = (d) => {
5229
+ }, i = (c) => {
5230
5230
  var C;
5231
- !p.value || (C = a.value) != null && C.contains(d.target) || b();
5232
- }, g = (d) => {
5231
+ !p.value || (C = a.value) != null && C.contains(c.target) || b();
5232
+ }, g = (c) => {
5233
5233
  var C;
5234
- !p.value || (C = a.value) != null && C.contains(d.target) || b();
5235
- }, T = (d) => {
5236
- d.key === "Escape" && b();
5237
- }, y = (d) => typeof d.disabled == "function" ? d.disabled(d) : !!d.disabled, z = (d, C) => d.value ?? d.label ?? C, B = (d) => {
5234
+ !p.value || (C = a.value) != null && C.contains(c.target) || b();
5235
+ }, T = (c) => {
5236
+ c.key === "Escape" && b();
5237
+ }, y = (c) => typeof c.disabled == "function" ? c.disabled(c) : !!c.disabled, z = (c, C) => c.value ?? c.label ?? C, B = (c) => {
5238
5238
  var C, v;
5239
- if (!y(d))
5239
+ if (!y(c))
5240
5240
  try {
5241
- (C = d.cb) == null || C.call(d, d), (v = d.onClick) == null || v.call(d, d);
5241
+ (C = c.cb) == null || C.call(c, c), (v = c.onClick) == null || v.call(c, c);
5242
5242
  } finally {
5243
5243
  b();
5244
5244
  }
@@ -5249,12 +5249,12 @@ const Ct = ol({
5249
5249
  }));
5250
5250
  return ne(
5251
5251
  () => {
5252
- var d, C;
5252
+ var c, C;
5253
5253
  return [
5254
5254
  l.visible,
5255
5255
  l.el,
5256
5256
  l.options,
5257
- (d = l.position) == null ? void 0 : d.x,
5257
+ (c = l.position) == null ? void 0 : c.x,
5258
5258
  (C = l.position) == null ? void 0 : C.y,
5259
5259
  m.value.length
5260
5260
  ];
@@ -5267,12 +5267,12 @@ const Ct = ol({
5267
5267
  }
5268
5268
  ), te(() => {
5269
5269
  document.addEventListener("pointerdown", i, !0), document.addEventListener("contextmenu", g, !0), document.addEventListener("keydown", T), window.addEventListener("resize", b), window.addEventListener("scroll", b, !0);
5270
- }), ce(() => {
5270
+ }), de(() => {
5271
5271
  document.removeEventListener("pointerdown", i, !0), document.removeEventListener("contextmenu", g, !0), document.removeEventListener("keydown", T), window.removeEventListener("resize", b), window.removeEventListener("scroll", b, !0);
5272
- }), (d, C) => (S(), q(Ll, { to: "body" }, [
5272
+ }), (c, C) => (w(), q(Ll, { to: "body" }, [
5273
5273
  N(sl, { name: "FrameRightMenuFade" }, {
5274
5274
  default: L(() => [
5275
- n(p) ? (S(), $("div", {
5275
+ n(p) ? (w(), $("div", {
5276
5276
  key: 0,
5277
5277
  ref_key: "menuRef",
5278
5278
  ref: a,
@@ -5285,21 +5285,21 @@ const Ct = ol({
5285
5285
  onContextmenu: C[2] || (C[2] = me(() => {
5286
5286
  }, ["prevent", "stop"]))
5287
5287
  }, [
5288
- (S(!0), $(ee, null, oe(n(m), (v, w) => (S(), $(ee, {
5289
- key: z(v, w)
5288
+ (w(!0), $(ee, null, oe(n(m), (v, S) => (w(), $(ee, {
5289
+ key: z(v, S)
5290
5290
  }, [
5291
- v.divider ? (S(), $("div", ao)) : (S(), $("button", {
5291
+ v.divider ? (w(), $("div", ao)) : (w(), $("button", {
5292
5292
  key: 1,
5293
5293
  type: "button",
5294
5294
  class: V(["menuItem", { disabled: y(v) }]),
5295
5295
  disabled: y(v),
5296
5296
  onClick: (D) => B(v)
5297
5297
  }, [
5298
- v.icon ? (S(), $("i", {
5298
+ v.icon ? (w(), $("i", {
5299
5299
  key: 0,
5300
5300
  class: V(["imicon menuIcon", v.icon])
5301
5301
  }, null, 2)) : U("", !0),
5302
- u("span", oo, E(v.label), 1)
5302
+ d("span", oo, E(v.label), 1)
5303
5303
  ], 10, to))
5304
5304
  ], 64))), 128))
5305
5305
  ], 36)) : U("", !0)
@@ -5333,9 +5333,9 @@ const Ct = ol({
5333
5333
  setup(e) {
5334
5334
  const o = e, l = W({}), a = ge("store"), t = a.tab(), s = a.init();
5335
5335
  te(() => {
5336
- c();
5336
+ u();
5337
5337
  });
5338
- const c = () => {
5338
+ const u = () => {
5339
5339
  Il(), _();
5340
5340
  }, _ = () => {
5341
5341
  var g, T, y, z, B, m;
@@ -5352,8 +5352,8 @@ const Ct = ol({
5352
5352
  }));
5353
5353
  return (g, T) => {
5354
5354
  const y = I("Loading"), z = I("router-view");
5355
- return S(), $("div", ro, [
5356
- N(Yt, le(o.menu, { onOnCollapseChange: A }), pe({ _: 2 }, [
5355
+ return w(), $("div", ro, [
5356
+ N(Yt, le(o.menu, { onOnCollapseChange: A }), ce({ _: 2 }, [
5357
5357
  g.$slots.logo ? {
5358
5358
  name: "logo",
5359
5359
  fn: L(() => [
@@ -5369,12 +5369,12 @@ const Ct = ol({
5369
5369
  key: "1"
5370
5370
  } : void 0
5371
5371
  ]), 1040),
5372
- u("div", {
5372
+ d("div", {
5373
5373
  class: "PageArea",
5374
5374
  style: se(n(i))
5375
5375
  }, [
5376
5376
  N(y, { loading: n(b) }, null, 8, ["loading"]),
5377
- n(t).useTab ? (S(), q(jt, { key: 0 })) : U("", !0),
5377
+ n(t).useTab ? (w(), q(jt, { key: 0 })) : U("", !0),
5378
5378
  N(lo),
5379
5379
  N(z, Te(xe(o.page)), null, 16),
5380
5380
  N(Qt)
@@ -5415,12 +5415,12 @@ const Ct = ol({
5415
5415
  height: s
5416
5416
  };
5417
5417
  });
5418
- return (t, s) => (S(), $("svg", {
5418
+ return (t, s) => (w(), $("svg", {
5419
5419
  class: "MvcIcon",
5420
5420
  "aria-hidden": "true",
5421
5421
  style: se(n(a))
5422
5422
  }, [
5423
- u("use", {
5423
+ d("use", {
5424
5424
  "xlink:href": `#${n(l).prefix}-${e.name}`
5425
5425
  }, null, 8, po)
5426
5426
  ], 4));
@@ -5459,7 +5459,7 @@ const Ct = ol({
5459
5459
  ],
5460
5460
  setup(e, { emit: o }) {
5461
5461
  const l = e, a = jl(), t = be(), s = Z(null);
5462
- let c = null;
5462
+ let u = null;
5463
5463
  const _ = W({
5464
5464
  val: "",
5465
5465
  isComposing: !1,
@@ -5471,12 +5471,12 @@ const Ct = ol({
5471
5471
  te(() => {
5472
5472
  var O, M, j;
5473
5473
  const f = (O = s.value) == null ? void 0 : O.$el;
5474
- c = ((M = f == null ? void 0 : f.querySelector) == null ? void 0 : M.call(f, "input")) || ((j = f == null ? void 0 : f.querySelector) == null ? void 0 : j.call(f, "textarea")), c && (c.addEventListener("compositionstart", g), c.addEventListener("compositionend", T));
5474
+ u = ((M = f == null ? void 0 : f.querySelector) == null ? void 0 : M.call(f, "input")) || ((j = f == null ? void 0 : f.querySelector) == null ? void 0 : j.call(f, "textarea")), u && (u.addEventListener("compositionstart", g), u.addEventListener("compositionend", T));
5475
5475
  });
5476
5476
  const g = () => {
5477
5477
  _.isComposing = !0;
5478
5478
  }, T = () => {
5479
- _.isComposing = !1, de(() => m(_.val));
5479
+ _.isComposing = !1, pe(() => m(_.val));
5480
5480
  }, y = (f) => {
5481
5481
  _.isComposing || m(f);
5482
5482
  }, z = (f) => {
@@ -5485,9 +5485,9 @@ const Ct = ol({
5485
5485
  _.focused = !1, A("blur", f);
5486
5486
  }, m = (f) => {
5487
5487
  A("update:modelValue", f), A("input", f);
5488
- }, p = k(() => !!(b.$attrs.maxlength || x.value)), x = k(() => b.$attrs.max), d = k(() => String(_.val ?? "").length > 0), C = k(() => !!t.placeholder), v = k(
5489
- () => l.materialLabel && (_.focused || d.value || C.value)
5490
- ), w = k(() => ({
5488
+ }, p = k(() => !!(b.$attrs.maxlength || x.value)), x = k(() => b.$attrs.max), c = k(() => String(_.val ?? "").length > 0), C = k(() => !!t.placeholder), v = k(
5489
+ () => l.materialLabel && (_.focused || c.value || C.value)
5490
+ ), S = k(() => ({
5491
5491
  [t.class]: !!t.class,
5492
5492
  hasLabel: !!l.label,
5493
5493
  isMaterialLabel: !!(l.label && l.materialLabel),
@@ -5505,15 +5505,15 @@ const Ct = ol({
5505
5505
  String(_.val) !== O && (_.val = O);
5506
5506
  },
5507
5507
  { immediate: !0 }
5508
- ), ce(() => {
5509
- c && (c.removeEventListener("compositionstart", g), c.removeEventListener("compositionend", T), c = null);
5508
+ ), de(() => {
5509
+ u && (u.removeEventListener("compositionstart", g), u.removeEventListener("compositionend", T), u = null);
5510
5510
  }), (f, O) => {
5511
5511
  const M = I("el-input");
5512
- return S(), $("div", {
5513
- class: V(["MvcField MvcFieldInput", n(w)]),
5512
+ return w(), $("div", {
5513
+ class: V(["MvcField MvcFieldInput", n(S)]),
5514
5514
  style: se(n(D))
5515
5515
  }, [
5516
- l.label ? (S(), $("label", mo, E(l.label), 1)) : U("", !0),
5516
+ l.label ? (w(), $("label", mo, E(l.label), 1)) : U("", !0),
5517
5517
  N(M, le({
5518
5518
  ref_key: "inputRef",
5519
5519
  ref: s,
@@ -5526,7 +5526,7 @@ const Ct = ol({
5526
5526
  onInput: y,
5527
5527
  onFocus: z,
5528
5528
  onBlur: B
5529
- }), pe({ _: 2 }, [
5529
+ }), ce({ _: 2 }, [
5530
5530
  oe(n(a), (j, F) => ({
5531
5531
  name: F,
5532
5532
  fn: L((H) => [
@@ -5543,7 +5543,10 @@ const Ct = ol({
5543
5543
  }, Symbol.toStringTag, { value: "Module" })), go = {
5544
5544
  key: 0,
5545
5545
  class: "langPrefix flexMode vc g4 noShrink"
5546
- }, _o = { class: "langTag fs12 txt-tip" }, yo = { class: "flexMode vc g8 vl" }, wo = { class: "langTag fs12 txt-tip noShrink" }, So = { class: "txt-p" }, To = /* @__PURE__ */ Object.assign({
5546
+ }, _o = { class: "langTag fs12 txt-tip" }, yo = { class: "flexMode vc g8 vl" }, wo = {
5547
+ key: 0,
5548
+ class: "langTag fs12 txt-tip noShrink"
5549
+ }, So = { class: "txt-p" }, To = /* @__PURE__ */ Object.assign({
5547
5550
  name: "MvcLang",
5548
5551
  inheritAttrs: !1
5549
5552
  }, {
@@ -5553,6 +5556,10 @@ const Ct = ol({
5553
5556
  teleported: {
5554
5557
  type: Boolean,
5555
5558
  default: !0
5559
+ },
5560
+ useIcon: {
5561
+ type: Boolean,
5562
+ default: !0
5556
5563
  }
5557
5564
  },
5558
5565
  setup(e) {
@@ -5563,13 +5570,13 @@ const Ct = ol({
5563
5570
  lang: "en_us"
5564
5571
  });
5565
5572
  te(() => {
5566
- c();
5573
+ u();
5567
5574
  });
5568
5575
  const s = (b) => {
5569
5576
  var g;
5570
5577
  const i = (typeof localStorage < "u" ? localStorage.getItem(Fe) : null) || ((g = globalThis.$config) == null ? void 0 : g.lang) || "en_us";
5571
5578
  b == null || b === i || (typeof localStorage < "u" && localStorage.setItem(Fe, b), window.location.reload());
5572
- }, c = () => {
5579
+ }, u = () => {
5573
5580
  var g;
5574
5581
  const b = ((g = globalThis.$getLang) == null ? void 0 : g.call(globalThis)) || "en_us", i = _.value.map((T) => T.value);
5575
5582
  t.lang = i.includes(b) ? b : i[0] || "en_us";
@@ -5579,34 +5586,39 @@ const Ct = ol({
5579
5586
  }), A = k(() => _.value.find((b) => b.value === t.lang) ?? null);
5580
5587
  return (b, i) => {
5581
5588
  const g = I("el-option"), T = I("el-select");
5582
- return S(), q(T, le({
5589
+ return w(), q(T, le({
5583
5590
  modelValue: t.lang,
5584
5591
  "onUpdate:modelValue": i[0] || (i[0] = (y) => t.lang = y),
5585
5592
  class: ["MvcLang w140", b.$attrs.class],
5586
5593
  teleported: o.teleported
5587
- }, a.value, { onChange: s }), {
5588
- prefix: L(() => [
5589
- A.value ? (S(), $("div", go, [
5590
- u("span", _o, E(A.value.txt), 1)
5591
- ])) : U("", !0)
5592
- ]),
5594
+ }, a.value, { onChange: s }), ce({
5593
5595
  default: L(() => [
5594
- (S(!0), $(ee, null, oe(_.value, (y) => (S(), q(g, {
5596
+ (w(!0), $(ee, null, oe(_.value, (y) => (w(), q(g, {
5595
5597
  key: y.value,
5596
5598
  label: y.label,
5597
5599
  value: y.value
5598
5600
  }, {
5599
5601
  default: L(() => [
5600
- u("div", yo, [
5601
- u("span", wo, E(y.txt), 1),
5602
- u("span", So, E(y.label), 1)
5602
+ d("div", yo, [
5603
+ o.useIcon ? (w(), $("span", wo, E(y.txt), 1)) : U("", !0),
5604
+ d("span", So, E(y.label), 1)
5603
5605
  ])
5604
5606
  ]),
5605
5607
  _: 2
5606
5608
  }, 1032, ["label", "value"]))), 128))
5607
5609
  ]),
5608
- _: 1
5609
- }, 16, ["modelValue", "class", "teleported"]);
5610
+ _: 2
5611
+ }, [
5612
+ o.useIcon ? {
5613
+ name: "prefix",
5614
+ fn: L(() => [
5615
+ A.value ? (w(), $("div", go, [
5616
+ d("span", _o, E(A.value.txt), 1)
5617
+ ])) : U("", !0)
5618
+ ]),
5619
+ key: "0"
5620
+ } : void 0
5621
+ ]), 1040, ["modelValue", "class", "teleported"]);
5610
5622
  };
5611
5623
  }
5612
5624
  }), Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5671,7 +5683,7 @@ const Ct = ol({
5671
5683
  setup(e, { emit: o }) {
5672
5684
  const l = e, a = o, t = (i) => i.value === l.modelValue, s = (i) => {
5673
5685
  l.loading || l.disabled || i.disabled || (a("update:modelValue", i.value), a("change", i.value, i.raw));
5674
- }, c = (i) => {
5686
+ }, u = (i) => {
5675
5687
  var y;
5676
5688
  const g = i.value, T = ((y = globalThis.$getType) == null ? void 0 : y.call(globalThis, g)) ?? typeof g;
5677
5689
  return T === "Object" || T === "Array" ? JSON.stringify(g) : String(g);
@@ -5700,16 +5712,16 @@ const Ct = ol({
5700
5712
  });
5701
5713
  return (i, g) => {
5702
5714
  const T = I("Loading");
5703
- return S(), $("div", le({
5715
+ return w(), $("div", le({
5704
5716
  class: ["MvcList", [n(A), i.$attrs.class]]
5705
5717
  }, i.$attrs), [
5706
- u("div", Co, [
5707
- u("div", {
5718
+ d("div", Co, [
5719
+ d("div", {
5708
5720
  class: V(["listScroll yscroll", l.listClass]),
5709
5721
  role: "listbox"
5710
5722
  }, [
5711
- (S(!0), $(ee, null, oe(n(_), (y) => (S(), $("div", {
5712
- key: c(y),
5723
+ (w(!0), $(ee, null, oe(n(_), (y) => (w(), $("div", {
5724
+ key: u(y),
5713
5725
  class: V(["listItem", [l.itemClass, { active: t(y), isDisabled: y.disabled }]]),
5714
5726
  role: "option",
5715
5727
  "aria-selected": t(y),
@@ -5770,9 +5782,9 @@ const Ct = ol({
5770
5782
  },
5771
5783
  setup(e) {
5772
5784
  const o = e;
5773
- return (l, a) => (S(), q(sl, { name: "loadingFade" }, {
5785
+ return (l, a) => (w(), q(sl, { name: "loadingFade" }, {
5774
5786
  default: L(() => [
5775
- o.loading ? (S(), $("div", {
5787
+ o.loading ? (w(), $("div", {
5776
5788
  key: 0,
5777
5789
  class: "MvcLoading absFull hp100 flexMode flexV vc hc ztop",
5778
5790
  role: "status",
@@ -5780,12 +5792,12 @@ const Ct = ol({
5780
5792
  "aria-live": "polite",
5781
5793
  style: se({ borderRadius: `${(Number(o.radius) || 0) / 16}rem` })
5782
5794
  }, [
5783
- u("div", $o, [
5784
- u("i", {
5795
+ d("div", $o, [
5796
+ d("i", {
5785
5797
  class: V([o.icon, `fs${o.size}`, "imicon ani-rotate"]),
5786
5798
  "aria-hidden": "true"
5787
5799
  }, null, 2),
5788
- o.showTxt ? (S(), $("span", {
5800
+ o.showTxt ? (w(), $("span", {
5789
5801
  key: 0,
5790
5802
  class: V(["loaderTxt fs14 txt-c", o.txtClass])
5791
5803
  }, E(l.$l(o.txt)), 3)) : U("", !0)
@@ -5843,7 +5855,7 @@ const Ct = ol({
5843
5855
  },
5844
5856
  emits: ["success", "submit"],
5845
5857
  setup(e, { emit: o }) {
5846
- const l = e, { proxy: a } = ue(), t = Z(null), s = Z(!1), c = W({
5858
+ const l = e, { proxy: a } = ue(), t = Z(null), s = Z(!1), u = W({
5847
5859
  method: "password",
5848
5860
  form: {},
5849
5861
  remember: !1
@@ -5852,23 +5864,23 @@ const Ct = ol({
5852
5864
  try {
5853
5865
  const v = localStorage.getItem(Ae);
5854
5866
  if (v) {
5855
- const w = JSON.parse(v);
5856
- w && typeof w == "object" && w.remember && (c.remember = !0, w.username != null && (c.form.username = String(w.username)), w.password != null && (c.form.password = String(w.password)));
5867
+ const S = JSON.parse(v);
5868
+ S && typeof S == "object" && S.remember && (u.remember = !0, S.username != null && (u.form.username = String(S.username)), S.password != null && (u.form.password = String(S.password)));
5857
5869
  }
5858
5870
  } catch {
5859
5871
  }
5860
5872
  });
5861
- const _ = o, A = (v, w = "info") => {
5873
+ const _ = o, A = (v, S = "info") => {
5862
5874
  const D = a == null ? void 0 : a.$message;
5863
- D != null && D[w] && D[w](v);
5875
+ D != null && D[S] && D[S](v);
5864
5876
  }, b = () => {
5865
5877
  try {
5866
- c.remember ? localStorage.setItem(
5878
+ u.remember ? localStorage.setItem(
5867
5879
  Ae,
5868
5880
  JSON.stringify({
5869
5881
  remember: !0,
5870
- username: c.form.username,
5871
- password: c.form.password
5882
+ username: u.form.username,
5883
+ password: u.form.password
5872
5884
  })
5873
5885
  ) : localStorage.removeItem(Ae);
5874
5886
  } catch {
@@ -5882,8 +5894,8 @@ const Ct = ol({
5882
5894
  if (l.loading || s.value) return;
5883
5895
  const v = await ((O = (f = t.value) == null ? void 0 : f.validate) == null ? void 0 : O.call(f));
5884
5896
  if (!v) return;
5885
- const w = String(v.username ?? "").trim();
5886
- if (!w)
5897
+ const S = String(v.username ?? "").trim();
5898
+ if (!S)
5887
5899
  return;
5888
5900
  const D = String(v.password ?? "").trim();
5889
5901
  if (D) {
@@ -5891,7 +5903,7 @@ const Ct = ol({
5891
5903
  try {
5892
5904
  const M = await globalThis.$pm(async () => ({
5893
5905
  method: "password",
5894
- username: w,
5906
+ username: S,
5895
5907
  password: D
5896
5908
  }));
5897
5909
  b(), _("submit", {
@@ -5909,7 +5921,7 @@ const Ct = ol({
5909
5921
  copyright: (v == null ? void 0 : v.copyright) ?? "",
5910
5922
  author: (v == null ? void 0 : v.author) ?? ""
5911
5923
  };
5912
- }), B = k(() => d[c.method] ?? "Login"), m = k(() => ({
5924
+ }), B = k(() => c[u.method] ?? "Login"), m = k(() => ({
5913
5925
  username: {
5914
5926
  ...C.username,
5915
5927
  ...l.formFileds.username || {}
@@ -5939,7 +5951,7 @@ const Ct = ol({
5939
5951
  { value: "dingtalk", label: "DingTalk" },
5940
5952
  { value: "feishu", label: "Lark" },
5941
5953
  { value: "wechat", label: "Wechat" }
5942
- ].filter((v, w) => l.loginMethods.includes(w))), d = {
5954
+ ].filter((v, S) => l.loginMethods.includes(S))), c = {
5943
5955
  dingtalk: "DingTalk",
5944
5956
  feishu: "Lark",
5945
5957
  wechat: "Wechat"
@@ -5961,28 +5973,28 @@ const Ct = ol({
5961
5973
  valueKey: "password"
5962
5974
  }
5963
5975
  };
5964
- return (v, w) => {
5976
+ return (v, S) => {
5965
5977
  const D = I("BtnGroup"), f = I("Input"), O = I("el-form-item"), M = I("el-checkbox"), j = I("el-button"), F = I("Form");
5966
- return S(), $("div", jo, [
5967
- u("div", Po, [
5968
- u("div", No, [
5969
- u("span", Ro, E(v.$l(l.title)), 1)
5978
+ return w(), $("div", jo, [
5979
+ d("div", Po, [
5980
+ d("div", No, [
5981
+ d("span", Ro, E(v.$l(l.title)), 1)
5970
5982
  ]),
5971
5983
  N(D, {
5972
- modelValue: n(c).method,
5973
- "onUpdate:modelValue": w[0] || (w[0] = (H) => n(c).method = H),
5984
+ modelValue: n(u).method,
5985
+ "onUpdate:modelValue": S[0] || (S[0] = (H) => n(u).method = H),
5974
5986
  options: n(x),
5975
5987
  disabled: n(y),
5976
5988
  size: "small",
5977
5989
  class: "mb32"
5978
5990
  }, null, 8, ["modelValue", "options", "disabled"]),
5979
- u("div", Do, [
5980
- n(c).method === "password" ? (S(), q(F, {
5991
+ d("div", Do, [
5992
+ n(u).method === "password" ? (w(), q(F, {
5981
5993
  key: 0,
5982
5994
  ref_key: "pwdFormRef",
5983
5995
  ref: t,
5984
- modelValue: n(c).form,
5985
- "onUpdate:modelValue": w[4] || (w[4] = (H) => n(c).form = H),
5996
+ modelValue: n(u).form,
5997
+ "onUpdate:modelValue": S[4] || (S[4] = (H) => n(u).form = H),
5986
5998
  size: "default",
5987
5999
  rules: n(p)
5988
6000
  }, {
@@ -5990,18 +6002,18 @@ const Ct = ol({
5990
6002
  N(O, { prop: "username" }, {
5991
6003
  default: L(() => [
5992
6004
  N(f, {
5993
- modelValue: n(c).form.username,
5994
- "onUpdate:modelValue": w[1] || (w[1] = (H) => n(c).form.username = H),
6005
+ modelValue: n(u).form.username,
6006
+ "onUpdate:modelValue": S[1] || (S[1] = (H) => n(u).form.username = H),
5995
6007
  class: "wp100",
5996
6008
  size: "large",
5997
6009
  name: "username",
5998
6010
  placeholder: n(m).username.placeholder,
5999
6011
  disabled: n(y)
6000
- }, pe({ _: 2 }, [
6012
+ }, ce({ _: 2 }, [
6001
6013
  n(m).username.showPrefix ? {
6002
6014
  name: "prefix",
6003
6015
  fn: L(() => [
6004
- u("i", {
6016
+ d("i", {
6005
6017
  class: V(n(m).username.icon)
6006
6018
  }, null, 2)
6007
6019
  ]),
@@ -6014,8 +6026,8 @@ const Ct = ol({
6014
6026
  N(O, { prop: "password" }, {
6015
6027
  default: L(() => [
6016
6028
  N(f, {
6017
- modelValue: n(c).form.password,
6018
- "onUpdate:modelValue": w[2] || (w[2] = (H) => n(c).form.password = H),
6029
+ modelValue: n(u).form.password,
6030
+ "onUpdate:modelValue": S[2] || (S[2] = (H) => n(u).form.password = H),
6019
6031
  class: "wp100",
6020
6032
  size: "large",
6021
6033
  type: "password",
@@ -6024,11 +6036,11 @@ const Ct = ol({
6024
6036
  "show-password": "",
6025
6037
  disabled: n(y),
6026
6038
  onKeyup: Pl(T, ["enter"])
6027
- }, pe({ _: 2 }, [
6039
+ }, ce({ _: 2 }, [
6028
6040
  n(m).password.showPrefix ? {
6029
6041
  name: "prefix",
6030
6042
  fn: L(() => [
6031
- u("i", {
6043
+ d("i", {
6032
6044
  class: V(n(m).password.icon)
6033
6045
  }, null, 2)
6034
6046
  ]),
@@ -6041,8 +6053,8 @@ const Ct = ol({
6041
6053
  N(O, null, {
6042
6054
  default: L(() => [
6043
6055
  N(M, {
6044
- modelValue: n(c).remember,
6045
- "onUpdate:modelValue": w[3] || (w[3] = (H) => n(c).remember = H),
6056
+ modelValue: n(u).remember,
6057
+ "onUpdate:modelValue": S[3] || (S[3] = (H) => n(u).remember = H),
6046
6058
  disabled: n(y)
6047
6059
  }, {
6048
6060
  default: L(() => [
@@ -6068,23 +6080,23 @@ const Ct = ol({
6068
6080
  }, 8, ["loading", "disabled"])
6069
6081
  ]),
6070
6082
  _: 1
6071
- }, 8, ["modelValue", "rules"])) : n(c).method === "auth" ? (S(), $("div", Io, [
6072
- w[7] || (w[7] = u("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
6073
- u("button", {
6083
+ }, 8, ["modelValue", "rules"])) : n(u).method === "auth" ? (w(), $("div", Io, [
6084
+ S[7] || (S[7] = d("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
6085
+ d("button", {
6074
6086
  type: "button",
6075
6087
  class: "oauthGoogle wp100 mb36",
6076
6088
  disabled: n(y),
6077
6089
  onClick: i
6078
- }, [...w[5] || (w[5] = [
6090
+ }, [...S[5] || (S[5] = [
6079
6091
  Nl('<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)
6080
6092
  ])], 8, Bo),
6081
- u("button", {
6093
+ d("button", {
6082
6094
  type: "button",
6083
6095
  class: "oauthApple wp100 mb16",
6084
6096
  disabled: n(y),
6085
6097
  onClick: g
6086
- }, [...w[6] || (w[6] = [
6087
- u("svg", {
6098
+ }, [...S[6] || (S[6] = [
6099
+ d("svg", {
6088
6100
  class: "oauthAppleLogo noShrink",
6089
6101
  xmlns: "http://www.w3.org/2000/svg",
6090
6102
  viewBox: "0 0 24 24",
@@ -6092,25 +6104,25 @@ const Ct = ol({
6092
6104
  height: "22",
6093
6105
  "aria-hidden": "true"
6094
6106
  }, [
6095
- u("path", {
6107
+ d("path", {
6096
6108
  fill: "currentColor",
6097
6109
  d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.38c.843-1.012 1.4-2.427 1.245-3.826-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"
6098
6110
  })
6099
6111
  ], -1),
6100
- u("span", { class: "oauthAppleLabel fs14" }, "Sign in with Apple", -1)
6112
+ d("span", { class: "oauthAppleLabel fs14" }, "Sign in with Apple", -1)
6101
6113
  ])], 8, Vo)
6102
- ])) : (S(), $("div", Fo, [
6103
- u("p", Uo, E(n(B)), 1),
6104
- u("div", {
6105
- class: V(["qrBlock w180 h180 radius6", `qr-${n(c).method}`]),
6114
+ ])) : (w(), $("div", Fo, [
6115
+ d("p", Uo, E(n(B)), 1),
6116
+ d("div", {
6117
+ class: V(["qrBlock w180 h180 radius6", `qr-${n(u).method}`]),
6106
6118
  "aria-hidden": "true"
6107
6119
  }, null, 2)
6108
6120
  ]))
6109
6121
  ])
6110
6122
  ]),
6111
- u("div", Go, [
6112
- u("span", null, E(n(z).copyright), 1),
6113
- u("span", null, E(n(z).author), 1)
6123
+ d("div", Go, [
6124
+ d("span", null, E(n(z).copyright), 1),
6125
+ d("span", null, E(n(z).author), 1)
6114
6126
  ])
6115
6127
  ]);
6116
6128
  };
@@ -6145,7 +6157,7 @@ const Ct = ol({
6145
6157
  const l = k(() => ({
6146
6158
  borderInlineStart: `${(Number(o.size) || 4) / 16}rem ${o.type} var(--color-${o.color})`
6147
6159
  }));
6148
- return (a, t) => (S(), $("div", {
6160
+ return (a, t) => (w(), $("div", {
6149
6161
  class: "MvcNote",
6150
6162
  style: se(n(l))
6151
6163
  }, [
@@ -6182,27 +6194,27 @@ const Ct = ol({
6182
6194
  }
6183
6195
  },
6184
6196
  setup(e) {
6185
- const o = e, { proxy: l } = ue(), t = ge("store").tab(), s = k(() => o.title || o.subtitle), c = k(() => t.useTab), _ = k(() => {
6197
+ const o = e, { proxy: l } = ue(), t = ge("store").tab(), s = k(() => o.title || o.subtitle), u = k(() => t.useTab), _ = k(() => {
6186
6198
  let A = "calc(100vh";
6187
6199
  return t.useTab && (A += " - 2.25rem"), o.noheader || (A += " - 4rem"), {
6188
6200
  minHeight: `${A})`
6189
6201
  };
6190
6202
  });
6191
- return (A, b) => (S(), $("div", {
6192
- class: V(["MvcPage", n(c) && "hasTab"])
6203
+ return (A, b) => (w(), $("div", {
6204
+ class: V(["MvcPage", n(u) && "hasTab"])
6193
6205
  }, [
6194
- o.noheader ? U("", !0) : (S(), $("div", qo, [
6195
- u("div", Xo, [
6196
- A.$slots.header ? J(A.$slots, "header", { key: 0 }, void 0, !0) : n(s) ? (S(), $(ee, { key: 1 }, [
6197
- u("h3", Qo, E(o.title), 1),
6198
- u("p", en, E(o.subtitle), 1)
6206
+ o.noheader ? U("", !0) : (w(), $("div", qo, [
6207
+ d("div", Xo, [
6208
+ A.$slots.header ? J(A.$slots, "header", { key: 0 }, void 0, !0) : n(s) ? (w(), $(ee, { key: 1 }, [
6209
+ d("h3", Qo, E(o.title), 1),
6210
+ d("p", en, E(o.subtitle), 1)
6199
6211
  ], 64)) : U("", !0)
6200
6212
  ]),
6201
- u("div", ln, [
6213
+ d("div", ln, [
6202
6214
  A.$slots.right ? J(A.$slots, "right", { key: 0 }, void 0, !0) : U("", !0)
6203
6215
  ])
6204
6216
  ])),
6205
- u("div", {
6217
+ d("div", {
6206
6218
  class: V(["PageBody", o.bodyClass]),
6207
6219
  style: se(n(_))
6208
6220
  }, [
@@ -6269,7 +6281,7 @@ const Ct = ol({
6269
6281
  },
6270
6282
  emits: ["update:modelValue", "change", "focus", "blur"],
6271
6283
  setup(e, { emit: o }) {
6272
- const l = e, a = Z(null), t = Z([]), s = Z(!1), c = Z(!1), _ = Z(!1), A = Z(!1), b = be(), i = o, g = (r) => {
6284
+ const l = e, a = Z(null), t = Z([]), s = Z(!1), u = Z(!1), _ = Z(!1), A = Z(!1), b = be(), i = o, g = (r) => {
6273
6285
  l.multiple ? (t.value = Array.isArray(r) ? [...r] : [], C()) : (i("update:modelValue", r), i("change", r));
6274
6286
  }, T = (r) => {
6275
6287
  if (s.value = r, r && l.multiple) {
@@ -6282,9 +6294,9 @@ const Ct = ol({
6282
6294
  A.value = !1, i("blur", r);
6283
6295
  }, B = () => {
6284
6296
  var R;
6285
- if (!l.filterable || !s.value) return d();
6297
+ if (!l.filterable || !s.value) return c();
6286
6298
  const r = a.value, h = ((R = r == null ? void 0 : r.optionsArray) == null ? void 0 : R.value) ?? (r == null ? void 0 : r.optionsArray) ?? [];
6287
- return Array.isArray(h) ? h.filter((P) => P.visible && !P.isDisabled).map((P) => P.value) : d();
6299
+ return Array.isArray(h) ? h.filter((P) => P.visible && !P.isDisabled).map((P) => P.value) : c();
6288
6300
  }, m = () => {
6289
6301
  const r = b.multipleLimit ?? b["multiple-limit"], h = Number(r);
6290
6302
  return Number.isFinite(h) && h > 0 ? h : 0;
@@ -6306,13 +6318,13 @@ const Ct = ol({
6306
6318
  }, x = () => {
6307
6319
  var r, h;
6308
6320
  l.multiple && (i("update:modelValue", t.value), i("change", t.value), (h = (r = a.value) == null ? void 0 : r.blur) == null || h.call(r));
6309
- }, d = () => {
6321
+ }, c = () => {
6310
6322
  const r = l.valueKey;
6311
6323
  return (l.options || []).map((h) => typeof h == "object" ? h[r] : h);
6312
6324
  }, C = () => {
6313
6325
  const r = B(), h = new Set(t.value ?? []), R = r.filter((G) => h.has(G)).length, P = r.length;
6314
- c.value = P > 0 && R === P, _.value = R > 0 && R < P;
6315
- }, v = k(() => l.multiple && s.value ? t.value : l.modelValue), w = k(() => {
6326
+ u.value = P > 0 && R === P, _.value = R > 0 && R < P;
6327
+ }, v = k(() => l.multiple && s.value ? t.value : l.modelValue), S = k(() => {
6316
6328
  const {
6317
6329
  modelValue: r,
6318
6330
  valueKey: h,
@@ -6343,7 +6355,7 @@ const Ct = ol({
6343
6355
  }), O = k(() => ({
6344
6356
  ...D.value,
6345
6357
  ...f.value,
6346
- ...w.value,
6358
+ ...S.value,
6347
6359
  placeholder: b.placeholder ?? ""
6348
6360
  })), M = k(() => {
6349
6361
  const r = l.multiple && s.value ? t.value : l.modelValue, h = Array.isArray(r) ? r : r ? [r] : [];
@@ -6377,11 +6389,11 @@ const Ct = ol({
6377
6389
  }
6378
6390
  ), (r, h) => {
6379
6391
  const R = I("el-checkbox"), P = I("el-button"), G = I("el-select");
6380
- return S(), $("div", {
6392
+ return w(), $("div", {
6381
6393
  class: V(["MvcField MvcFieldSelect", n(fe)]),
6382
6394
  style: se(n(re))
6383
6395
  }, [
6384
- l.label ? (S(), $("label", nn, E(l.label), 1)) : U("", !0),
6396
+ l.label ? (w(), $("label", nn, E(l.label), 1)) : U("", !0),
6385
6397
  N(G, le({
6386
6398
  ref_key: "selectRef",
6387
6399
  ref: a,
@@ -6393,7 +6405,7 @@ const Ct = ol({
6393
6405
  onVisibleChange: T,
6394
6406
  onFocus: y,
6395
6407
  onBlur: z
6396
- }), pe({
6408
+ }), ce({
6397
6409
  default: L(() => [
6398
6410
  J(r.$slots, "default")
6399
6411
  ]),
@@ -6402,10 +6414,10 @@ const Ct = ol({
6402
6414
  l.filterable && l.multiple ? {
6403
6415
  name: "header",
6404
6416
  fn: L(() => [
6405
- u("div", sn, [
6417
+ d("div", sn, [
6406
6418
  N(R, {
6407
- modelValue: n(c),
6408
- "onUpdate:modelValue": h[0] || (h[0] = (K) => rl(c) ? c.value = K : null),
6419
+ modelValue: n(u),
6420
+ "onUpdate:modelValue": h[0] || (h[0] = (K) => rl(u) ? u.value = K : null),
6409
6421
  indeterminate: n(_),
6410
6422
  class: "h24",
6411
6423
  onChange: p
@@ -6415,7 +6427,7 @@ const Ct = ol({
6415
6427
  ]),
6416
6428
  _: 1
6417
6429
  }, 8, ["modelValue", "indeterminate"]),
6418
- u("span", rn, E(n(M)) + "/" + E(n(j)), 1)
6430
+ d("span", rn, E(n(M)) + "/" + E(n(j)), 1)
6419
6431
  ])
6420
6432
  ]),
6421
6433
  key: "0"
@@ -6423,7 +6435,7 @@ const Ct = ol({
6423
6435
  l.multiple ? {
6424
6436
  name: "footer",
6425
6437
  fn: L(() => [
6426
- u("div", un, [
6438
+ d("div", un, [
6427
6439
  N(P, {
6428
6440
  type: "primary",
6429
6441
  size: "small",
@@ -6501,7 +6513,7 @@ const Ct = ol({
6501
6513
  },
6502
6514
  emits: ["update:modelValue", "change", "focus", "blur"],
6503
6515
  setup(e, { emit: o }) {
6504
- const l = e, a = Z(null), t = Z([]), s = Z(!1), c = Z(!1), _ = Z(!1), A = Z(!1), b = be(), i = o, g = (r) => {
6516
+ const l = e, a = Z(null), t = Z([]), s = Z(!1), u = Z(!1), _ = Z(!1), A = Z(!1), b = be(), i = o, g = (r) => {
6505
6517
  l.multiple ? (t.value = Array.isArray(r) ? [...r] : [], C()) : (i("update:modelValue", r), i("change", r));
6506
6518
  }, T = (r) => {
6507
6519
  if (s.value = r, r && l.multiple) {
@@ -6514,9 +6526,9 @@ const Ct = ol({
6514
6526
  A.value = !1, i("blur", r);
6515
6527
  }, B = () => {
6516
6528
  var P;
6517
- if (!l.filterable || !s.value) return d();
6529
+ if (!l.filterable || !s.value) return c();
6518
6530
  const r = a.value, h = ((P = r == null ? void 0 : r.filteredOptions) == null ? void 0 : P.value) ?? (r == null ? void 0 : r.filteredOptions) ?? [];
6519
- if (!Array.isArray(h)) return d();
6531
+ if (!Array.isArray(h)) return c();
6520
6532
  const R = l.valueKey;
6521
6533
  return h.filter((G) => G.type !== "Group" && !G.disabled).map((G) => typeof G == "object" ? G[R] : G);
6522
6534
  }, m = () => {
@@ -6540,13 +6552,13 @@ const Ct = ol({
6540
6552
  }, x = () => {
6541
6553
  var r, h;
6542
6554
  l.multiple && (i("update:modelValue", t.value), i("change", t.value), (h = (r = a.value) == null ? void 0 : r.blur) == null || h.call(r));
6543
- }, d = () => {
6555
+ }, c = () => {
6544
6556
  const r = l.valueKey;
6545
6557
  return (l.options || []).map((h) => typeof h == "object" ? h[r] : h);
6546
6558
  }, C = () => {
6547
6559
  const r = B(), h = new Set(t.value ?? []), R = r.filter((G) => h.has(G)).length, P = r.length;
6548
- c.value = P > 0 && R === P, _.value = R > 0 && R < P;
6549
- }, v = k(() => l.multiple && s.value ? t.value : l.modelValue), w = k(() => {
6560
+ u.value = P > 0 && R === P, _.value = R > 0 && R < P;
6561
+ }, v = k(() => l.multiple && s.value ? t.value : l.modelValue), S = k(() => {
6550
6562
  const {
6551
6563
  modelValue: r,
6552
6564
  valueKey: h,
@@ -6577,7 +6589,7 @@ const Ct = ol({
6577
6589
  }), O = k(() => ({
6578
6590
  ...D.value,
6579
6591
  ...f.value,
6580
- ...w.value,
6592
+ ...S.value,
6581
6593
  placeholder: b.placeholder ?? ""
6582
6594
  })), M = k(() => {
6583
6595
  const r = l.multiple && s.value ? t.value : l.modelValue, h = Array.isArray(r) ? r : r ? [r] : [];
@@ -6611,11 +6623,11 @@ const Ct = ol({
6611
6623
  }
6612
6624
  ), (r, h) => {
6613
6625
  const R = I("el-checkbox"), P = I("el-button"), G = I("el-select-v2");
6614
- return S(), $("div", {
6626
+ return w(), $("div", {
6615
6627
  class: V(["MvcField MvcFieldSelectV2", n(fe)]),
6616
6628
  style: se(n(re))
6617
6629
  }, [
6618
- l.label ? (S(), $("label", pn, E(l.label), 1)) : U("", !0),
6630
+ l.label ? (w(), $("label", pn, E(l.label), 1)) : U("", !0),
6619
6631
  N(G, le({
6620
6632
  ref_key: "selectRef",
6621
6633
  ref: a,
@@ -6626,14 +6638,14 @@ const Ct = ol({
6626
6638
  onVisibleChange: T,
6627
6639
  onFocus: y,
6628
6640
  onBlur: z
6629
- }), pe({ _: 2 }, [
6641
+ }), ce({ _: 2 }, [
6630
6642
  l.filterable && l.multiple ? {
6631
6643
  name: "header",
6632
6644
  fn: L(() => [
6633
- u("div", bn, [
6645
+ d("div", bn, [
6634
6646
  N(R, {
6635
- modelValue: n(c),
6636
- "onUpdate:modelValue": h[0] || (h[0] = (K) => rl(c) ? c.value = K : null),
6647
+ modelValue: n(u),
6648
+ "onUpdate:modelValue": h[0] || (h[0] = (K) => rl(u) ? u.value = K : null),
6637
6649
  indeterminate: n(_),
6638
6650
  class: "h24",
6639
6651
  onChange: p
@@ -6643,7 +6655,7 @@ const Ct = ol({
6643
6655
  ]),
6644
6656
  _: 1
6645
6657
  }, 8, ["modelValue", "indeterminate"]),
6646
- u("span", fn, E(n(M)) + "/" + E(n(j)), 1)
6658
+ d("span", fn, E(n(M)) + "/" + E(n(j)), 1)
6647
6659
  ])
6648
6660
  ]),
6649
6661
  key: "0"
@@ -6658,7 +6670,7 @@ const Ct = ol({
6658
6670
  l.multiple ? {
6659
6671
  name: "footer",
6660
6672
  fn: L(() => [
6661
- u("div", mn, [
6673
+ d("div", mn, [
6662
6674
  N(P, {
6663
6675
  type: "primary",
6664
6676
  size: "small",
@@ -6733,9 +6745,9 @@ const Ct = ol({
6733
6745
  let T = [...b.normal, ...b.mmp, ...b.asa];
6734
6746
  e.tableName && (T = T.sort((y, z) => y.sort - z.sort), localStorage.setItem(a, JSON.stringify(T)));
6735
6747
  })();
6736
- let c = [];
6748
+ let u = [];
6737
6749
  if (t.forEach((A) => {
6738
- window.$getType(A) !== "String" && A.props.visible && c.push(A);
6750
+ window.$getType(A) !== "String" && A.props.visible && u.push(A);
6739
6751
  }), (_ = e.group) != null && _.label) {
6740
6752
  const A = {
6741
6753
  label: "Group By " + e.group.label,
@@ -6745,15 +6757,15 @@ const Ct = ol({
6745
6757
  visible: !0,
6746
6758
  resizable: !0
6747
6759
  };
6748
- c[0].props.type === "selection" ? c.splice(1, 0, {
6749
- ...c[1],
6760
+ u[0].props.type === "selection" ? u.splice(1, 0, {
6761
+ ...u[1],
6750
6762
  props: A
6751
- }) : c.unshift({
6752
- ...c[0],
6763
+ }) : u.unshift({
6764
+ ...u[0],
6753
6765
  props: A
6754
6766
  });
6755
6767
  }
6756
- return c = c.sort((A, b) => A.props.sort - b.props.sort), () => c;
6768
+ return u = u.sort((A, b) => A.props.sort - b.props.sort), () => u;
6757
6769
  }
6758
6770
  }), _n = { class: "hp100 flexMode" }, yn = { class: "w200 hp100 border-r fs14" }, wn = { class: "flexMode vc h36 p8 bg-gray3 border-b txt-nowrap" }, Sn = { class: "p4" }, Tn = ["onClick"], An = {
6759
6771
  class: "flexMode vs hp100",
@@ -6810,10 +6822,10 @@ const Ct = ol({
6810
6822
  const t = o, s = () => {
6811
6823
  t("mounted");
6812
6824
  const p = JSON.parse(localStorage.getItem(`${l.tableName}_Column`)), x = {};
6813
- p.forEach((d) => {
6814
- d.type && (x[d.type] = !0), d.visible ? d.type === "selection" ? a.selection.push(d) : d.type === "operation" ? a.operation.push(d) : d.label && (d.fixed ? a.fixed.push(d) : a.visible.push(d)) : d.type === "mmp" ? a.columns.mmp.push(d) : d.type === "asa" ? a.columns.asa.push(d) : a.columns.normal.push(d);
6825
+ p.forEach((c) => {
6826
+ c.type && (x[c.type] = !0), c.visible ? c.type === "selection" ? a.selection.push(c) : c.type === "operation" ? a.operation.push(c) : c.label && (c.fixed ? a.fixed.push(c) : a.visible.push(c)) : c.type === "mmp" ? a.columns.mmp.push(c) : c.type === "asa" ? a.columns.asa.push(c) : a.columns.normal.push(c);
6815
6827
  }), a.columnType = x;
6816
- }, c = (p) => {
6828
+ }, u = (p) => {
6817
6829
  a.type = p;
6818
6830
  }, _ = (p, x) => {
6819
6831
  p.visible = !0, a.visible.unshift(p), p.type ? a.columns[p.type].splice(x, 1) : a.columns.normal.splice(x, 1);
@@ -6825,12 +6837,12 @@ const Ct = ol({
6825
6837
  a.visible.splice(x, 1), p.type ? a.columns[p.type].unshift(p) : a.columns.normal.unshift(p);
6826
6838
  }, g = async () => {
6827
6839
  a.loading = !0, window.$pm(() => {
6828
- const { fixed: p, visible: x, columns: d, selection: C, operation: v } = a;
6829
- let w = [];
6830
- Object.keys(d).map((f) => {
6831
- w = w.concat(d[f]);
6832
- }), p.forEach((f) => f.fixed = "left"), w.forEach((f) => f.visible = !1);
6833
- const D = C.concat(p, x, w, v);
6840
+ const { fixed: p, visible: x, columns: c, selection: C, operation: v } = a;
6841
+ let S = [];
6842
+ Object.keys(c).map((f) => {
6843
+ S = S.concat(c[f]);
6844
+ }), p.forEach((f) => f.fixed = "left"), S.forEach((f) => f.visible = !1);
6845
+ const D = C.concat(p, x, S, v);
6834
6846
  D.forEach((f, O) => f.sort = O), localStorage.setItem(`${l.tableName}_Column`, JSON.stringify(D)), a.loading = !1, t("close"), t("init-column");
6835
6847
  });
6836
6848
  }, T = () => {
@@ -6857,8 +6869,8 @@ const Ct = ol({
6857
6869
  }
6858
6870
  ]);
6859
6871
  return (p, x) => {
6860
- const d = I("el-scrollbar"), C = I("DrawerArea");
6861
- return S(), q(C, {
6872
+ const c = I("el-scrollbar"), C = I("DrawerArea");
6873
+ return w(), q(C, {
6862
6874
  loading: n(a).loading,
6863
6875
  noscroll: "",
6864
6876
  "cancel-txt": "Reset",
@@ -6868,39 +6880,39 @@ const Ct = ol({
6868
6880
  onSubmit: g
6869
6881
  }, {
6870
6882
  default: L(() => [
6871
- u("div", _n, [
6872
- u("div", yn, [
6873
- u("div", wn, E(p.$l("Column Type")), 1),
6874
- u("div", Sn, [
6875
- (S(!0), $(ee, null, oe(n(m), (v) => (S(), $("div", {
6883
+ d("div", _n, [
6884
+ d("div", yn, [
6885
+ d("div", wn, E(p.$l("Column Type")), 1),
6886
+ d("div", Sn, [
6887
+ (w(!0), $(ee, null, oe(n(m), (v) => (w(), $("div", {
6876
6888
  key: v.value,
6877
6889
  class: V(["typeItem p8-16 mb4 radius4 txt-nowrap", [n(a).type === v.value && "active", v.hide && "hide"]]),
6878
- onClick: (w) => c(v.value)
6890
+ onClick: (S) => u(v.value)
6879
6891
  }, E(v.label), 11, Tn))), 128))
6880
6892
  ])
6881
6893
  ]),
6882
- u("div", An, [
6883
- u("div", Cn, [
6884
- u("div", kn, [
6885
- u("span", null, E(p.$l("Columns")), 1),
6886
- u("span", xn, E(n(a).columns[n(a).type].length), 1)
6894
+ d("div", An, [
6895
+ d("div", Cn, [
6896
+ d("div", kn, [
6897
+ d("span", null, E(p.$l("Columns")), 1),
6898
+ d("span", xn, E(n(a).columns[n(a).type].length), 1)
6887
6899
  ]),
6888
- N(d, { style: { height: "calc(100% - 36px)" } }, {
6900
+ N(c, { style: { height: "calc(100% - 36px)" } }, {
6889
6901
  default: L(() => [
6890
- u("div", On, [
6891
- n(a).columns[n(a).type].length === 0 ? (S(), $("span", Mn, E(p.$l("No Columns")), 1)) : U("", !0),
6892
- (S(!0), $(ee, null, oe(n(a).columns[n(a).type], (v, w) => (S(), $("div", {
6902
+ d("div", On, [
6903
+ n(a).columns[n(a).type].length === 0 ? (w(), $("span", Mn, E(p.$l("No Columns")), 1)) : U("", !0),
6904
+ (w(!0), $(ee, null, oe(n(a).columns[n(a).type], (v, S) => (w(), $("div", {
6893
6905
  key: v.prop,
6894
6906
  class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4 txt-nowrap"
6895
6907
  }, [
6896
- u("span", null, E(p.$l(v.label)), 1),
6897
- u("div", $n, [
6898
- u("div", {
6908
+ d("span", null, E(p.$l(v.label)), 1),
6909
+ d("div", $n, [
6910
+ d("div", {
6899
6911
  class: "tipbtn left",
6900
6912
  txt: p.$l("Visible"),
6901
- onClick: (D) => _(v, w)
6913
+ onClick: (D) => _(v, S)
6902
6914
  }, [...x[0] || (x[0] = [
6903
- u("i", { class: "imicon im-plus fs16" }, null, -1)
6915
+ d("i", { class: "imicon im-plus fs16" }, null, -1)
6904
6916
  ])], 8, zn)
6905
6917
  ])
6906
6918
  ]))), 128))
@@ -6909,15 +6921,15 @@ const Ct = ol({
6909
6921
  _: 1
6910
6922
  })
6911
6923
  ]),
6912
- u("div", En, [
6913
- u("div", Ln, [
6914
- u("span", null, E(p.$l("Visible Columns")), 1),
6915
- u("span", jn, E(n(a).visible.length), 1)
6924
+ d("div", En, [
6925
+ d("div", Ln, [
6926
+ d("span", null, E(p.$l("Visible Columns")), 1),
6927
+ d("span", jn, E(n(a).visible.length), 1)
6916
6928
  ]),
6917
- u("div", Pn, [
6918
- u("div", Nn, [
6919
- n(a).fixed.length === 0 ? (S(), $("span", Rn, E(p.$l("No Fixed Columns")), 1)) : U("", !0),
6920
- N(d, { height: n(z) }, {
6929
+ d("div", Pn, [
6930
+ d("div", Nn, [
6931
+ n(a).fixed.length === 0 ? (w(), $("span", Rn, E(p.$l("No Fixed Columns")), 1)) : U("", !0),
6932
+ N(c, { height: n(z) }, {
6921
6933
  default: L(() => [
6922
6934
  N(n(Ue), {
6923
6935
  list: n(a).fixed,
@@ -6925,19 +6937,19 @@ const Ct = ol({
6925
6937
  handle: ".im-handle",
6926
6938
  "ghost-class": "ghost"
6927
6939
  }, {
6928
- item: L(({ element: v, index: w }) => [
6929
- u("div", Dn, [
6930
- u("div", In, [
6931
- x[1] || (x[1] = u("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
6932
- u("span", null, E(p.$l(v.label)), 1)
6940
+ item: L(({ element: v, index: S }) => [
6941
+ d("div", Dn, [
6942
+ d("div", In, [
6943
+ x[1] || (x[1] = d("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
6944
+ d("span", null, E(p.$l(v.label)), 1)
6933
6945
  ]),
6934
- u("div", Bn, [
6935
- u("div", {
6946
+ d("div", Bn, [
6947
+ d("div", {
6936
6948
  class: "tipbtn red left",
6937
6949
  txt: p.$l("Unfixed"),
6938
- onClick: (D) => b(v, w)
6950
+ onClick: (D) => b(v, S)
6939
6951
  }, [...x[2] || (x[2] = [
6940
- u("i", { class: "imicon im-download1 fs14" }, null, -1)
6952
+ d("i", { class: "imicon im-download1 fs14" }, null, -1)
6941
6953
  ])], 8, Vn)
6942
6954
  ])
6943
6955
  ])
@@ -6948,12 +6960,12 @@ const Ct = ol({
6948
6960
  _: 1
6949
6961
  }, 8, ["height"])
6950
6962
  ]),
6951
- x[6] || (x[6] = u("div", { class: "p4-0" }, [
6952
- u("div", { class: "border-t" })
6963
+ x[6] || (x[6] = d("div", { class: "p4-0" }, [
6964
+ d("div", { class: "border-t" })
6953
6965
  ], -1)),
6954
- u("div", Fn, [
6955
- n(a).visible.length === 0 ? (S(), $("span", Un, E(p.$l("No Columns")), 1)) : U("", !0),
6956
- N(d, { height: n(B) }, {
6966
+ d("div", Fn, [
6967
+ n(a).visible.length === 0 ? (w(), $("span", Un, E(p.$l("No Columns")), 1)) : U("", !0),
6968
+ N(c, { height: n(B) }, {
6957
6969
  default: L(() => [
6958
6970
  N(n(Ue), {
6959
6971
  list: n(a).visible,
@@ -6962,26 +6974,26 @@ const Ct = ol({
6962
6974
  handle: ".im-handle",
6963
6975
  "ghost-class": "ghost"
6964
6976
  }, {
6965
- item: L(({ element: v, index: w }) => [
6966
- u("div", Gn, [
6967
- u("div", Kn, [
6968
- x[3] || (x[3] = u("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
6969
- u("span", null, E(p.$l(v.label)), 1)
6977
+ item: L(({ element: v, index: S }) => [
6978
+ d("div", Gn, [
6979
+ d("div", Kn, [
6980
+ x[3] || (x[3] = d("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
6981
+ d("span", null, E(p.$l(v.label)), 1)
6970
6982
  ]),
6971
- u("div", Hn, [
6972
- u("div", {
6983
+ d("div", Hn, [
6984
+ d("div", {
6973
6985
  class: "tipbtn left",
6974
6986
  txt: p.$l("Fixed"),
6975
- onClick: (D) => A(v, w)
6987
+ onClick: (D) => A(v, S)
6976
6988
  }, [...x[4] || (x[4] = [
6977
- u("i", { class: "imicon im-download1 fs14 rotateZ180" }, null, -1)
6989
+ d("i", { class: "imicon im-download1 fs14 rotateZ180" }, null, -1)
6978
6990
  ])], 8, Jn),
6979
- u("div", {
6991
+ d("div", {
6980
6992
  class: "tipbtn red left",
6981
6993
  txt: p.$l("Hide"),
6982
- onClick: (D) => i(v, w)
6994
+ onClick: (D) => i(v, S)
6983
6995
  }, [...x[5] || (x[5] = [
6984
- u("i", { class: "imicon im-close fs14" }, null, -1)
6996
+ d("i", { class: "imicon im-close fs14" }, null, -1)
6985
6997
  ])], 8, Yn)
6986
6998
  ])
6987
6999
  ])
@@ -7037,8 +7049,8 @@ const Ct = ol({
7037
7049
  s();
7038
7050
  });
7039
7051
  const t = o, s = () => {
7040
- t("mounted"), c(), _();
7041
- }, c = () => {
7052
+ t("mounted"), u(), _();
7053
+ }, u = () => {
7042
7054
  const m = JSON.parse(localStorage.getItem(`${l.tableName}_Column`)), p = ["selection", "operation"];
7043
7055
  a.columns = m.filter((x) => !p.includes(x.type) && x.label);
7044
7056
  }, _ = () => {
@@ -7061,12 +7073,12 @@ const Ct = ol({
7061
7073
  a.loading = !1;
7062
7074
  }
7063
7075
  }, g = (m) => {
7064
- const p = a.onlySelection ? l.selection : l.list, x = {}, d = [];
7076
+ const p = a.onlySelection ? l.selection : l.list, x = {}, c = [];
7065
7077
  a.columns.filter((O) => O.visible).forEach((O) => {
7066
- d.push(window.$l(O.label)), x[O.prop] = !0;
7078
+ c.push(window.$l(O.label)), x[O.prop] = !0;
7067
7079
  });
7068
- let C = "", v = [], w = m === "download" ? "," : " ";
7069
- (a.useHead || m) && (C = d.join(w) + `
7080
+ let C = "", v = [], S = m === "download" ? "," : " ";
7081
+ (a.useHead || m) && (C = c.join(S) + `
7070
7082
  `);
7071
7083
  let D = [], f;
7072
7084
  return Object.keys(x).forEach((O, M) => {
@@ -7078,9 +7090,9 @@ const Ct = ol({
7078
7090
  }), D.forEach((O, M) => {
7079
7091
  !a.useCountryCode && f === M ? O.forEach((j, F) => {
7080
7092
  let H = j;
7081
- window.$getType(j) === "Array" ? H = j.map((ie) => B[ie.toUpperCase()].label.$l()).join(",") : window.$getType(j) === "String" ? H = j.split(",").map((ie) => B[ie.toUpperCase()].label.$l()).join(",") : H = JSON.stringify(j), v[F] ? v[F] += H + w : v[F] = H + w;
7093
+ window.$getType(j) === "Array" ? H = j.map((ie) => B[ie.toUpperCase()].label.$l()).join(",") : window.$getType(j) === "String" ? H = j.split(",").map((ie) => B[ie.toUpperCase()].label.$l()).join(",") : H = JSON.stringify(j), v[F] ? v[F] += H + S : v[F] = H + S;
7082
7094
  }) : O.forEach((j, F) => {
7083
- v[F] ? v[F] += j + w : v[F] = j + w;
7095
+ v[F] ? v[F] += j + S : v[F] = j + S;
7084
7096
  });
7085
7097
  }), `${C}${v.join(`
7086
7098
  `)}`;
@@ -7090,15 +7102,15 @@ const Ct = ol({
7090
7102
  }), y = k(() => {
7091
7103
  const m = {};
7092
7104
  return a.columns.forEach((p) => {
7093
- const x = p.type ? p.type : "normal", d = {
7105
+ const x = p.type ? p.type : "normal", c = {
7094
7106
  label: z[x],
7095
7107
  type: x,
7096
7108
  visible: 0
7097
7109
  };
7098
- m[x] ? (m[x].children.push(p), p.visible && m[x].visible++) : (d.children = [p], p.visible && d.visible++, m[x] = d);
7110
+ m[x] ? (m[x].children.push(p), p.visible && m[x].visible++) : (c.children = [p], p.visible && c.visible++, m[x] = c);
7099
7111
  }), Object.keys(m).forEach((p) => {
7100
- const x = m[p].visible === m[p].children.length, d = m[p].visible === 0;
7101
- x ? (m[p].checkstatus = !0, m[p].indeterminate = !1) : d ? (m[p].checkstatus = !1, m[p].indeterminate = !1) : (m[p].checkstatus = !1, m[p].indeterminate = !0);
7112
+ const x = m[p].visible === m[p].children.length, c = m[p].visible === 0;
7113
+ x ? (m[p].checkstatus = !0, m[p].indeterminate = !1) : c ? (m[p].checkstatus = !1, m[p].indeterminate = !1) : (m[p].checkstatus = !1, m[p].indeterminate = !0);
7102
7114
  }), m;
7103
7115
  }), z = {
7104
7116
  asa: "Asa Metrics",
@@ -7108,10 +7120,10 @@ const Ct = ol({
7108
7120
  "Check All".$l(), "Cancel All".$l();
7109
7121
  const B = De("asa.countryAll.obj");
7110
7122
  return (m, p) => {
7111
- const x = I("el-checkbox"), d = I("el-button"), C = I("MvcAlert"), v = I("el-switch"), w = I("Input"), D = I("DrawerArea");
7112
- return S(), q(D, le(m.$attrs, { class: "MvcTableColumnDownload" }), {
7123
+ const x = I("el-checkbox"), c = I("el-button"), C = I("MvcAlert"), v = I("el-switch"), S = I("Input"), D = I("DrawerArea");
7124
+ return w(), q(D, le(m.$attrs, { class: "MvcTableColumnDownload" }), {
7113
7125
  cancel: L(() => [
7114
- N(w, {
7126
+ N(S, {
7115
7127
  modelValue: n(a).fileName,
7116
7128
  "onUpdate:modelValue": p[3] || (p[3] = (f) => n(a).fileName = f),
7117
7129
  icon: "catalog",
@@ -7119,12 +7131,12 @@ const Ct = ol({
7119
7131
  class: "w600"
7120
7132
  }, {
7121
7133
  append: L(() => [
7122
- N(d, {
7134
+ N(c, {
7123
7135
  loading: n(a).loading,
7124
7136
  onClick: i
7125
7137
  }, {
7126
7138
  icon: L(() => [...p[5] || (p[5] = [
7127
- u("i", { class: "imicon im-download1" }, null, -1)
7139
+ d("i", { class: "imicon im-download1" }, null, -1)
7128
7140
  ])]),
7129
7141
  default: L(() => [
7130
7142
  ae(" " + E(m.$l("Download")), 1)
@@ -7137,26 +7149,26 @@ const Ct = ol({
7137
7149
  ]),
7138
7150
  submit: L(() => [...p[6] || (p[6] = [])]),
7139
7151
  default: L(() => [
7140
- u("div", qn, [
7152
+ d("div", qn, [
7141
7153
  N(C, null, {
7142
7154
  default: L(() => [
7143
- u("div", Xn, [
7144
- u("span", null, E(m.$l("Total")), 1),
7145
- u("span", null, E(l.list.length), 1)
7155
+ d("div", Xn, [
7156
+ d("span", null, E(m.$l("Total")), 1),
7157
+ d("span", null, E(l.list.length), 1)
7146
7158
  ]),
7147
- l.selection.length ? (S(), $("div", Qn, [
7148
- u("span", null, E(m.$l("Selection")), 1),
7149
- u("span", null, E(l.selection.length), 1),
7159
+ l.selection.length ? (w(), $("div", Qn, [
7160
+ d("span", null, E(m.$l("Selection")), 1),
7161
+ d("span", null, E(l.selection.length), 1),
7150
7162
  N(x, {
7151
7163
  modelValue: n(a).onlySelection,
7152
7164
  "onUpdate:modelValue": p[0] || (p[0] = (f) => n(a).onlySelection = f),
7153
7165
  label: m.$l("Only Selection")
7154
7166
  }, null, 8, ["modelValue", "label"])
7155
7167
  ])) : U("", !0),
7156
- u("div", es, [
7157
- N(d, { onClick: b }, {
7168
+ d("div", es, [
7169
+ N(c, { onClick: b }, {
7158
7170
  icon: L(() => [...p[4] || (p[4] = [
7159
- u("i", { class: "imicon im-copy" }, null, -1)
7171
+ d("i", { class: "imicon im-copy" }, null, -1)
7160
7172
  ])]),
7161
7173
  default: L(() => [
7162
7174
  ae(" " + E(m.$l("Copy to Clipboard")), 1)
@@ -7173,12 +7185,12 @@ const Ct = ol({
7173
7185
  _: 1
7174
7186
  })
7175
7187
  ]),
7176
- u("div", ls, [
7177
- (S(!0), $(ee, null, oe(n(y), (f) => (S(), $("div", {
7188
+ d("div", ls, [
7189
+ (w(!0), $(ee, null, oe(n(y), (f) => (w(), $("div", {
7178
7190
  key: f.type
7179
7191
  }, [
7180
- u("div", as, [
7181
- u("span", ts, E(f.label), 1),
7192
+ d("div", as, [
7193
+ d("span", ts, E(f.label), 1),
7182
7194
  N(x, {
7183
7195
  modelValue: f.checkstatus,
7184
7196
  "onUpdate:modelValue": (O) => f.checkstatus = O,
@@ -7187,7 +7199,7 @@ const Ct = ol({
7187
7199
  onChange: (O) => A(O, f)
7188
7200
  }, null, 8, ["modelValue", "onUpdate:modelValue", "indeterminate", "label", "onChange"])
7189
7201
  ]),
7190
- (S(!0), $(ee, null, oe(f.children, (O, M) => (S(), q(x, {
7202
+ (w(!0), $(ee, null, oe(f.children, (O, M) => (w(), q(x, {
7191
7203
  modelValue: O.visible,
7192
7204
  "onUpdate:modelValue": (j) => O.visible = j,
7193
7205
  key: M,
@@ -7198,9 +7210,9 @@ const Ct = ol({
7198
7210
  default: L(() => {
7199
7211
  var j;
7200
7212
  return [
7201
- u("div", os, [
7202
- u("span", null, E(O.label), 1),
7203
- (j = O.prop) != null && j.includes("country") ? (S(), q(v, {
7213
+ d("div", os, [
7214
+ d("span", null, E(O.label), 1),
7215
+ (j = O.prop) != null && j.includes("country") ? (w(), q(v, {
7204
7216
  key: 0,
7205
7217
  modelValue: n(a).useCountryCode,
7206
7218
  "onUpdate:modelValue": p[2] || (p[2] = (F) => n(a).useCountryCode = F),
@@ -7325,7 +7337,7 @@ const Ct = ol({
7325
7337
  summaryType: "remote",
7326
7338
  nopagination: !1,
7327
7339
  params: {}
7328
- }), c = W({
7340
+ }), u = W({
7329
7341
  tabelKey: 0,
7330
7342
  current: "",
7331
7343
  list: [
@@ -7388,7 +7400,7 @@ const Ct = ol({
7388
7400
  });
7389
7401
  }, x = () => {
7390
7402
  y();
7391
- }, d = (r) => {
7403
+ }, c = (r) => {
7392
7404
  if (t.selection = r, b("selection-change", r), t.shiftKey) {
7393
7405
  const h = r[r.length - 2], R = r[r.length - 1], P = s.list.filter1((X) => X.id === h.id).index || 0, G = s.list.filter1((X) => X.id === R.id).index;
7394
7406
  let K = P, Y = G;
@@ -7399,9 +7411,9 @@ const Ct = ol({
7399
7411
  }, C = () => {
7400
7412
  t.loading || (y({ refresh: !0 }), b("refresh"));
7401
7413
  }, v = () => {
7402
- c.current = 0;
7403
- }, w = () => {
7404
- c.current = 1;
7414
+ u.current = 0;
7415
+ }, S = () => {
7416
+ u.current = 1;
7405
7417
  }, D = () => {
7406
7418
  t.tableKey++;
7407
7419
  }, f = () => {
@@ -7429,54 +7441,54 @@ const Ct = ol({
7429
7441
  } else
7430
7442
  return !1;
7431
7443
  });
7432
- return ce(() => {
7444
+ return de(() => {
7433
7445
  j();
7434
7446
  }), o({
7435
7447
  initTable: T,
7436
7448
  editRow: F
7437
7449
  }), (r, h) => {
7438
7450
  const R = I("el-button"), P = I("Loading"), G = I("el-table"), K = I("el-pagination"), Y = I("Drawer");
7439
- return S(), $("div", ss, [
7440
- a.noheader === !1 ? (S(), $("div", {
7451
+ return w(), $("div", ss, [
7452
+ a.noheader === !1 ? (w(), $("div", {
7441
7453
  key: 0,
7442
7454
  class: V(["flexMode hb g12 p16 bg-white", a.autoHeader ? "minh64" : "h64"])
7443
7455
  }, [
7444
- u("div", {
7456
+ d("div", {
7445
7457
  class: V(["flexMode vc flexGrow maxwp100", a.headerClass])
7446
7458
  }, [
7447
7459
  J(r.$slots, "header", {}, void 0, !0)
7448
7460
  ], 2),
7449
- n(re) ? (S(), $("div", rs, [
7450
- n(re).refresh ? (S(), q(R, {
7461
+ n(re) ? (w(), $("div", rs, [
7462
+ n(re).refresh ? (w(), q(R, {
7451
7463
  key: 0,
7452
7464
  onClick: C
7453
7465
  }, {
7454
7466
  icon: L(() => [...h[2] || (h[2] = [
7455
- u("i", { class: "imicon im-reload" }, null, -1)
7467
+ d("i", { class: "imicon im-reload" }, null, -1)
7456
7468
  ])]),
7457
7469
  default: L(() => [
7458
7470
  ae(" " + E(r.$l("Refresh")), 1)
7459
7471
  ]),
7460
7472
  _: 1
7461
7473
  })) : U("", !0),
7462
- n(re).column ? (S(), q(R, {
7474
+ n(re).column ? (w(), q(R, {
7463
7475
  key: 1,
7464
7476
  onClick: v
7465
7477
  }, {
7466
7478
  icon: L(() => [...h[3] || (h[3] = [
7467
- u("i", { class: "imicon im-layout" }, null, -1)
7479
+ d("i", { class: "imicon im-layout" }, null, -1)
7468
7480
  ])]),
7469
7481
  default: L(() => [
7470
7482
  ae(" " + E(r.$l("Columns")), 1)
7471
7483
  ]),
7472
7484
  _: 1
7473
7485
  })) : U("", !0),
7474
- n(re).download ? (S(), q(R, {
7486
+ n(re).download ? (w(), q(R, {
7475
7487
  key: 2,
7476
- onClick: w
7488
+ onClick: S
7477
7489
  }, {
7478
7490
  icon: L(() => [...h[4] || (h[4] = [
7479
- u("i", { class: "imicon im-download" }, null, -1)
7491
+ d("i", { class: "imicon im-download" }, null, -1)
7480
7492
  ])]),
7481
7493
  default: L(() => [
7482
7494
  ae(" " + E(r.$l("Download")), 1)
@@ -7485,11 +7497,11 @@ const Ct = ol({
7485
7497
  })) : U("", !0)
7486
7498
  ])) : U("", !0)
7487
7499
  ], 2)) : U("", !0),
7488
- u("div", is, [
7500
+ d("div", is, [
7489
7501
  N(P, {
7490
7502
  loading: n(t).loading
7491
7503
  }, null, 8, ["loading"]),
7492
- (S(), q(G, {
7504
+ (w(), q(G, {
7493
7505
  ref_key: "body",
7494
7506
  ref: _,
7495
7507
  key: n(t).tableKey,
@@ -7502,7 +7514,7 @@ const Ct = ol({
7502
7514
  "show-summary": n(ie),
7503
7515
  "summary-method": B,
7504
7516
  class: "MainTable",
7505
- onSelectionChange: d
7517
+ onSelectionChange: c
7506
7518
  }, {
7507
7519
  default: L(() => [
7508
7520
  N(n(gn), le({
@@ -7518,7 +7530,7 @@ const Ct = ol({
7518
7530
  _: 3
7519
7531
  }, 8, ["height", "data", "default-expand-all", "row-key", "show-summary"]))
7520
7532
  ]),
7521
- a.nofooter === !1 ? (S(), $("div", us, [
7533
+ a.nofooter === !1 ? (w(), $("div", us, [
7522
7534
  N(K, {
7523
7535
  "current-page": n(s).page,
7524
7536
  "onUpdate:currentPage": h[0] || (h[0] = (X) => n(s).page = X),
@@ -7534,10 +7546,10 @@ const Ct = ol({
7534
7546
  }, null, 8, ["current-page", "total", "default-page-size", "page-sizes", "layout"])
7535
7547
  ])) : U("", !0),
7536
7548
  N(Y, {
7537
- current: n(c).current,
7538
- "onUpdate:current": h[1] || (h[1] = (X) => n(c).current = X),
7549
+ current: n(u).current,
7550
+ "onUpdate:current": h[1] || (h[1] = (X) => n(u).current = X),
7539
7551
  "table-name": a.tableName,
7540
- drawer: n(c).list,
7552
+ drawer: n(u).list,
7541
7553
  list: n(s).list,
7542
7554
  selection: n(t).selection,
7543
7555
  onInitColumn: D
@@ -7595,7 +7607,7 @@ const Ct = ol({
7595
7607
  },
7596
7608
  emits: ["update:modelValue", "change"],
7597
7609
  setup(e, { emit: o }) {
7598
- const l = e, a = o, t = be(), s = (i) => i == null ? i : ["Object", "Array"].includes(globalThis.$getType(i)) ? i[l.valueKey] : i, c = (i) => {
7610
+ const l = e, a = o, t = be(), s = (i) => i == null ? i : ["Object", "Array"].includes(globalThis.$getType(i)) ? i[l.valueKey] : i, u = (i) => {
7599
7611
  a("update:modelValue", i);
7600
7612
  const g = l.options.find((T) => s(T) === i);
7601
7613
  a("change", i, g);
@@ -7611,7 +7623,7 @@ const Ct = ol({
7611
7623
  });
7612
7624
  return (i, g) => {
7613
7625
  const T = I("BtnGroup");
7614
- return S(), $("div", le({ class: "MvcTabs" }, n(t)), [
7626
+ return w(), $("div", le({ class: "MvcTabs" }, n(t)), [
7615
7627
  N(T, {
7616
7628
  "model-value": l.modelValue,
7617
7629
  options: l.options,
@@ -7620,10 +7632,10 @@ const Ct = ol({
7620
7632
  "icon-key": l.iconKey,
7621
7633
  "icon-class": l.iconClass,
7622
7634
  disabled: l.disabled,
7623
- "onUpdate:modelValue": c
7635
+ "onUpdate:modelValue": u
7624
7636
  }, null, 8, ["model-value", "options", "value-key", "label-key", "icon-key", "icon-class", "disabled"]),
7625
- u("div", bs, [
7626
- n(A) ? (S(), q(tl(n(A)), Te(le({ key: 0 }, n(b))), null, 16)) : U("", !0)
7637
+ d("div", bs, [
7638
+ n(A) ? (w(), q(tl(n(A)), Te(le({ key: 0 }, n(b))), null, 16)) : U("", !0)
7627
7639
  ])
7628
7640
  ], 16);
7629
7641
  };
@@ -7681,7 +7693,7 @@ const Ct = ol({
7681
7693
  setup(e, { emit: o }) {
7682
7694
  const l = e, a = be(), t = Z(null);
7683
7695
  let s = null;
7684
- const c = W({
7696
+ const u = W({
7685
7697
  val: "",
7686
7698
  isComposing: !1,
7687
7699
  focused: !1
@@ -7695,15 +7707,15 @@ const Ct = ol({
7695
7707
  s = (F = M == null ? void 0 : M.querySelector) == null ? void 0 : F.call(M, "textarea"), s && (s.addEventListener("compositionstart", i), s.addEventListener("compositionend", g));
7696
7708
  });
7697
7709
  const i = () => {
7698
- c.isComposing = !0;
7710
+ u.isComposing = !0;
7699
7711
  }, g = () => {
7700
- c.isComposing = !1, de(() => p(c.val));
7712
+ u.isComposing = !1, pe(() => p(u.val));
7701
7713
  }, T = (M) => {
7702
- c.isComposing || p(M);
7714
+ u.isComposing || p(M);
7703
7715
  }, y = (M) => {
7704
- c.focused = !0, _("focus", M);
7716
+ u.focused = !0, _("focus", M);
7705
7717
  }, z = (M) => {
7706
- c.focused = !1, _("blur", M);
7718
+ u.focused = !1, _("blur", M);
7707
7719
  }, B = (M) => {
7708
7720
  const j = String(M ?? "").split(/\r?\n/);
7709
7721
  return l.output === "array" ? j : j.join(",");
@@ -7716,15 +7728,15 @@ const Ct = ol({
7716
7728
  if (!l.height) return A.$attrs["input-style"];
7717
7729
  const M = typeof l.height == "number" ? `${l.height}px` : l.height;
7718
7730
  return { ...A.$attrs["input-style"] && typeof A.$attrs["input-style"] == "object" ? { ...A.$attrs["input-style"] } : {}, height: M, minHeight: M };
7719
- }), d = k(() => !!(A.$attrs.maxlength || C.value)), C = k(() => A.$attrs.max), v = k(() => String(c.val ?? "").length > 0), w = k(() => !!a.placeholder), D = k(
7720
- () => l.materialLabel && (c.focused || v.value || w.value)
7731
+ }), c = k(() => !!(A.$attrs.maxlength || C.value)), C = k(() => A.$attrs.max), v = k(() => String(u.val ?? "").length > 0), S = k(() => !!a.placeholder), D = k(
7732
+ () => l.materialLabel && (u.focused || v.value || S.value)
7721
7733
  ), f = k(() => ({
7722
7734
  [a.class]: !!a.class,
7723
7735
  hasLabel: !!l.label,
7724
7736
  isMaterialLabel: !!(l.label && l.materialLabel),
7725
7737
  isTopLabel: !!(l.label && !l.materialLabel),
7726
7738
  isFloat: D.value,
7727
- isFocused: c.focused,
7739
+ isFocused: u.focused,
7728
7740
  isDisabled: !!a.disabled,
7729
7741
  isTextarea: !0
7730
7742
  })), O = k(
@@ -7734,39 +7746,40 @@ const Ct = ol({
7734
7746
  () => l.modelValue,
7735
7747
  (M) => {
7736
7748
  const j = m(M);
7737
- c.val !== j && (c.val = j);
7749
+ u.val !== j && (u.val = j);
7738
7750
  },
7739
7751
  { immediate: !0 }
7740
- ), ce(() => {
7752
+ ), de(() => {
7741
7753
  s && (s.removeEventListener("compositionstart", i), s.removeEventListener("compositionend", g), s = null);
7742
7754
  }), (M, j) => {
7743
7755
  const F = I("el-input");
7744
- return S(), $("div", {
7756
+ return w(), $("div", {
7745
7757
  class: V(["MvcField MvcFieldTextarea", n(f)]),
7746
7758
  style: se(n(O))
7747
7759
  }, [
7748
- l.label ? (S(), $("label", vs, E(l.label), 1)) : U("", !0),
7760
+ l.label ? (w(), $("label", vs, E(l.label), 1)) : U("", !0),
7749
7761
  N(F, le({
7750
7762
  ref_key: "inputRef",
7751
7763
  ref: t,
7752
7764
  type: "textarea",
7753
- modelValue: n(c).val,
7754
- "onUpdate:modelValue": j[0] || (j[0] = (H) => n(c).val = H),
7765
+ modelValue: n(u).val,
7766
+ "onUpdate:modelValue": j[0] || (j[0] = (H) => n(u).val = H),
7755
7767
  rows: l.rows,
7756
7768
  style: n(b).style,
7757
7769
  "input-style": n(x),
7758
- "show-word-limit": n(d),
7770
+ "show-word-limit": n(c),
7759
7771
  maxlength: n(C),
7772
+ resize: l.resize,
7760
7773
  class: "MvcTextarea"
7761
7774
  }, n(b), {
7762
7775
  onInput: T,
7763
7776
  onFocus: y,
7764
7777
  onBlur: z
7765
- }), null, 16, ["modelValue", "rows", "style", "input-style", "show-word-limit", "maxlength"])
7778
+ }), null, 16, ["modelValue", "rows", "style", "input-style", "show-word-limit", "maxlength", "resize"])
7766
7779
  ], 6);
7767
7780
  };
7768
7781
  }
7769
- }), gs = /* @__PURE__ */ Q(hs, [["__scopeId", "data-v-e6e80c47"]]), _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7782
+ }), gs = /* @__PURE__ */ Q(hs, [["__scopeId", "data-v-90814c5c"]]), _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7770
7783
  __proto__: null,
7771
7784
  default: gs
7772
7785
  }, Symbol.toStringTag, { value: "Module" })), Xe = /* @__PURE__ */ Object.assign({
@@ -7818,7 +7831,7 @@ const As = (e, o = {}) => {
7818
7831
  }, Cs = {
7819
7832
  name: "Matt Avias Frame",
7820
7833
  copyright: "©2026",
7821
- version: "1.0.90",
7834
+ version: "1.0.92",
7822
7835
  author: "Matt Avias",
7823
7836
  date: "2026-02-26",
7824
7837
  /** 默认语言 key,与 `$getLang`、localStorage `lang` 一致;业务在 app.use(mvframe, { config }) 里覆盖 */