rtcpts 0.0.62 → 0.0.64

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/rtcpt.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as Z, ref as k, computed as N, resolveComponent as C, createBlock as E, openBlock as M, createElementBlock as z, createCommentVNode as P, Fragment as _, renderList as ae, normalizeClass as q, createElementVNode as w, renderSlot as R, createVNode as S, inject as lt, toDisplayString as $, normalizeStyle as X, createTextVNode as K, useSlots as fl, useAttrs as pl, getCurrentInstance as ro, watch as W, nextTick as Me, onBeforeUnmount as so, Text as gl, cloneVNode as ml, h as Ot, Teleport as yl, Transition as Qt, Comment as Ml, withCtx as D, mergeProps as we, createSlots as Ge, resolveDirective as Ct, withDirectives as de, vShow as Ae, Suspense as hl, resolveDynamicComponent as rn, toHandlers as Il, onMounted as rt, normalizeProps as Ye, guardReactiveProps as Fe, withModifiers as ie, withKeys as In, createApp as Al, onUnmounted as vl, vModelText as Cl, reactive as We, isRef as Hn } from "vue";
2
- import { QIcon as re, copyToClipboard as Dl, QBtn as Te, QCardActions as bl, QCardSection as _e, QCard as Ke, QPopupProxy as ze, ClosePopup as qt, QInnerLoading as uo, QDialog as co, QInput as Bt, QItemSection as Ut, QItem as Dt, QSpinner as Nl, QSelect as st, QList as bt, QMenu as An, QTooltip as wl, QTree as fo, QField as Le, QItemLabel as jl, QBtnDropdown as Sl, QCheckbox as Tl, QDate as po, date as ee, QOptionGroup as zl, QPagination as go, QTd as Ll, QTh as kl, QTable as Ol, useDialogPluginComponent as Jn, setCssVar as gt } from "quasar";
1
+ import { defineComponent as Z, ref as k, computed as N, resolveComponent as C, createBlock as E, openBlock as M, createElementBlock as z, createCommentVNode as P, Fragment as _, renderList as ae, normalizeClass as q, createElementVNode as w, renderSlot as R, createVNode as S, inject as lt, toDisplayString as $, normalizeStyle as X, createTextVNode as K, useSlots as fl, useAttrs as pl, getCurrentInstance as ro, watch as W, nextTick as Me, onBeforeUnmount as so, Text as gl, cloneVNode as ml, h as Ot, Teleport as yl, Transition as Qt, Comment as Ml, withCtx as D, mergeProps as we, createSlots as Ge, resolveDirective as vt, withDirectives as de, vShow as Ae, Suspense as hl, resolveDynamicComponent as rn, toHandlers as Il, onMounted as Ct, normalizeProps as Ye, guardReactiveProps as Fe, withModifiers as ie, withKeys as In, createApp as Al, onUnmounted as vl, vModelText as Cl, reactive as We, isRef as Hn } from "vue";
2
+ import { QIcon as re, copyToClipboard as Dl, QBtn as Te, QCardActions as bl, QCardSection as _e, QCard as Ke, QPopupProxy as ze, ClosePopup as qt, QInnerLoading as uo, QDialog as co, QInput as Bt, QItemSection as Ut, QItem as Dt, QSpinner as Nl, QSelect as rt, QList as bt, QMenu as An, QTooltip as wl, QTree as fo, QField as Le, QItemLabel as jl, QBtnDropdown as Sl, QCheckbox as Tl, QDate as po, date as ee, QOptionGroup as zl, QPagination as go, QTd as Ll, QTh as kl, QTable as Ol, useDialogPluginComponent as Jn, setCssVar as pt } from "quasar";
3
3
  import { _ as F } from "./charts-fA1hE3y8.js";
4
- import { i as xm, a as Gm, b as _m, c as Km, d as Xm, e as ey } from "./charts-fA1hE3y8.js";
4
+ import { i as Jm, a as xm, b as Gm, c as _m, d as Km, e as Xm } from "./charts-fA1hE3y8.js";
5
5
  const $l = Z({
6
6
  name: "JCCopy",
7
7
  components: {
@@ -213,7 +213,7 @@ function Wl(e, t, n, o, l, r) {
213
213
  ])) : P("", !0)
214
214
  ]);
215
215
  }
216
- const fm = /* @__PURE__ */ F(Bl, [["render", Wl]]), Nt = Symbol("pageActionPermissionId"), wt = Symbol("pagePermissionId"), Hl = Z({
216
+ const dm = /* @__PURE__ */ F(Bl, [["render", Wl]]), Nt = Symbol("pageActionPermissionId"), wt = Symbol("pagePermissionId"), Hl = Z({
217
217
  name: "JCPermission",
218
218
  props: {
219
219
  /**
@@ -438,7 +438,7 @@ async function la(e, t) {
438
438
  elementContext: d = "floating",
439
439
  altBoundary: f = !1,
440
440
  padding: g = 0
441
- } = jt(t, e), I = Io(g), p = i[f ? d === "floating" ? "reference" : "floating" : d], v = Et(await r.getClippingRect({
441
+ } = jt(t, e), h = Io(g), p = i[f ? d === "floating" ? "reference" : "floating" : d], v = Et(await r.getClippingRect({
442
442
  element: (n = await (r.isElement == null ? void 0 : r.isElement(p))) == null || n ? p : p.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
443
443
  boundary: c,
444
444
  rootBoundary: u,
@@ -461,10 +461,10 @@ async function la(e, t) {
461
461
  strategy: s
462
462
  }) : j);
463
463
  return {
464
- top: (v.top - A.top + I.top) / b.y,
465
- bottom: (A.bottom - v.bottom + I.bottom) / b.y,
466
- left: (v.left - A.left + I.left) / b.x,
467
- right: (A.right - v.right + I.right) / b.x
464
+ top: (v.top - A.top + h.top) / b.y,
465
+ bottom: (A.bottom - v.bottom + h.bottom) / b.y,
466
+ left: (v.left - A.left + h.left) / b.x,
467
+ right: (A.right - v.right + h.right) / b.x
468
468
  };
469
469
  }
470
470
  const aa = 50, ia = async (e, t, n) => {
@@ -485,9 +485,9 @@ const aa = 50, ia = async (e, t, n) => {
485
485
  x: u,
486
486
  y: d
487
487
  } = _n(c, o, s), f = o, g = 0;
488
- const I = {};
489
- for (let h = 0; h < r.length; h++) {
490
- const p = r[h];
488
+ const h = {};
489
+ for (let I = 0; I < r.length; I++) {
490
+ const p = r[I];
491
491
  if (!p)
492
492
  continue;
493
493
  const {
@@ -504,7 +504,7 @@ const aa = 50, ia = async (e, t, n) => {
504
504
  initialPlacement: o,
505
505
  placement: f,
506
506
  strategy: l,
507
- middlewareData: I,
507
+ middlewareData: h,
508
508
  rects: c,
509
509
  platform: i,
510
510
  elements: {
@@ -512,8 +512,8 @@ const aa = 50, ia = async (e, t, n) => {
512
512
  floating: t
513
513
  }
514
514
  });
515
- u = T ?? u, d = b ?? d, I[v] = {
516
- ...I[v],
515
+ u = T ?? u, d = b ?? d, h[v] = {
516
+ ...h[v],
517
517
  ...A
518
518
  }, m && g < aa && (g++, typeof m == "object" && (m.placement && (f = m.placement), m.rects && (c = m.rects === !0 ? await a.getElementRects({
519
519
  reference: e,
@@ -522,14 +522,14 @@ const aa = 50, ia = async (e, t, n) => {
522
522
  }) : m.rects), {
523
523
  x: u,
524
524
  y: d
525
- } = _n(c, f, s)), h = -1);
525
+ } = _n(c, f, s)), I = -1);
526
526
  }
527
527
  return {
528
528
  x: u,
529
529
  y: d,
530
530
  placement: f,
531
531
  strategy: l,
532
- middlewareData: I
532
+ middlewareData: h
533
533
  };
534
534
  }, ra = (e) => ({
535
535
  name: "arrow",
@@ -552,10 +552,10 @@ const aa = 50, ia = async (e, t, n) => {
552
552
  const d = Io(u), f = {
553
553
  x: n,
554
554
  y: o
555
- }, g = bn(l), I = Dn(g), h = await a.getDimensions(c), p = g === "y", v = p ? "top" : "left", j = p ? "bottom" : "right", T = p ? "clientHeight" : "clientWidth", b = r.reference[I] + r.reference[g] - f[g] - r.floating[I], A = f[g] - r.reference[g], m = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
555
+ }, g = bn(l), h = Dn(g), I = await a.getDimensions(c), p = g === "y", v = p ? "top" : "left", j = p ? "bottom" : "right", T = p ? "clientHeight" : "clientWidth", b = r.reference[h] + r.reference[g] - f[g] - r.floating[h], A = f[g] - r.reference[g], m = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
556
556
  let y = m ? m[T] : 0;
557
- (!y || !await (a.isElement == null ? void 0 : a.isElement(m))) && (y = i.floating[T] || r.floating[I]);
558
- const L = b / 2 - A / 2, O = y / 2 - h[I] / 2 - 1, B = at(d[v], O), H = at(d[j], O), oe = B, fe = y - h[I] - H, te = y / 2 - h[I] / 2 + L, se = dn(oe, te, fe), pe = !s.arrow && St(l) != null && te !== se && r.reference[I] / 2 - (te < oe ? B : H) - h[I] / 2 < 0, ge = pe ? te < oe ? te - oe : te - fe : 0;
557
+ (!y || !await (a.isElement == null ? void 0 : a.isElement(m))) && (y = i.floating[T] || r.floating[h]);
558
+ const L = b / 2 - A / 2, O = y / 2 - I[h] / 2 - 1, B = at(d[v], O), H = at(d[j], O), oe = B, fe = y - I[h] - H, te = y / 2 - I[h] / 2 + L, se = dn(oe, te, fe), pe = !s.arrow && St(l) != null && te !== se && r.reference[h] / 2 - (te < oe ? B : H) - I[h] / 2 < 0, ge = pe ? te < oe ? te - oe : te - fe : 0;
559
559
  return {
560
560
  [g]: f[g] + ge,
561
561
  data: {
@@ -586,14 +586,14 @@ const aa = 50, ia = async (e, t, n) => {
586
586
  crossAxis: d = !0,
587
587
  fallbackPlacements: f,
588
588
  fallbackStrategy: g = "bestFit",
589
- fallbackAxisSideDirection: I = "none",
590
- flipAlignment: h = !0,
589
+ fallbackAxisSideDirection: h = "none",
590
+ flipAlignment: I = !0,
591
591
  ...p
592
592
  } = jt(e, t);
593
593
  if ((n = r.arrow) != null && n.alignmentOffset)
594
594
  return {};
595
- const v = Je(l), j = Re(i), T = Je(i) === i, b = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), A = f || (T || !h ? [Vt(i)] : Kl(i)), m = I !== "none";
596
- !f && m && A.push(...na(i, h, I, b));
595
+ const v = Je(l), j = Re(i), T = Je(i) === i, b = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), A = f || (T || !I ? [Vt(i)] : Kl(i)), m = h !== "none";
596
+ !f && m && A.push(...na(i, I, h, b));
597
597
  const y = [i, ...A], L = await s.detectOverflow(t, p), O = [];
598
598
  let B = ((o = r.flip) == null ? void 0 : o.overflows) || [];
599
599
  if (u && O.push(L[v]), d) {
@@ -659,7 +659,7 @@ async function ca(e, t) {
659
659
  let {
660
660
  mainAxis: f,
661
661
  crossAxis: g,
662
- alignmentAxis: I
662
+ alignmentAxis: h
663
663
  } = typeof d == "number" ? {
664
664
  mainAxis: d,
665
665
  crossAxis: 0,
@@ -669,7 +669,7 @@ async function ca(e, t) {
669
669
  crossAxis: d.crossAxis || 0,
670
670
  alignmentAxis: d.alignmentAxis
671
671
  };
672
- return i && typeof I == "number" && (g = i === "end" ? I * -1 : I), s ? {
672
+ return i && typeof h == "number" && (g = i === "end" ? h * -1 : h), s ? {
673
673
  x: g * u,
674
674
  y: f * c
675
675
  } : {
@@ -729,19 +729,19 @@ const da = function(e) {
729
729
  x: n,
730
730
  y: o
731
731
  }, d = await r.detectOverflow(t, c), f = Re(Je(l)), g = ho(f);
732
- let I = u[g], h = u[f];
732
+ let h = u[g], I = u[f];
733
733
  if (a) {
734
- const v = g === "y" ? "top" : "left", j = g === "y" ? "bottom" : "right", T = I + d[v], b = I - d[j];
735
- I = dn(T, I, b);
734
+ const v = g === "y" ? "top" : "left", j = g === "y" ? "bottom" : "right", T = h + d[v], b = h - d[j];
735
+ h = dn(T, h, b);
736
736
  }
737
737
  if (i) {
738
- const v = f === "y" ? "top" : "left", j = f === "y" ? "bottom" : "right", T = h + d[v], b = h - d[j];
739
- h = dn(T, h, b);
738
+ const v = f === "y" ? "top" : "left", j = f === "y" ? "bottom" : "right", T = I + d[v], b = I - d[j];
739
+ I = dn(T, I, b);
740
740
  }
741
741
  const p = s.fn({
742
742
  ...t,
743
- [g]: I,
744
- [f]: h
743
+ [g]: h,
744
+ [f]: I
745
745
  });
746
746
  return {
747
747
  ...p,
@@ -760,7 +760,7 @@ const da = function(e) {
760
760
  function Zt() {
761
761
  return typeof window < "u";
762
762
  }
763
- function ut(e) {
763
+ function st(e) {
764
764
  return Ao(e) ? (e.nodeName || "").toLowerCase() : "#document";
765
765
  }
766
766
  function he(e) {
@@ -793,7 +793,7 @@ function Tt(e) {
793
793
  return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && l !== "inline" && l !== "contents";
794
794
  }
795
795
  function pa(e) {
796
- return /^(table|td|th)$/.test(ut(e));
796
+ return /^(table|td|th)$/.test(st(e));
797
797
  }
798
798
  function Ft(e) {
799
799
  try {
@@ -828,7 +828,7 @@ function wn() {
828
828
  return _t == null && (_t = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), _t;
829
829
  }
830
830
  function it(e) {
831
- return /^(html|body|#document)$/.test(ut(e));
831
+ return /^(html|body|#document)$/.test(st(e));
832
832
  }
833
833
  function De(e) {
834
834
  return he(e).getComputedStyle(e);
@@ -843,7 +843,7 @@ function Wt(e) {
843
843
  };
844
844
  }
845
845
  function Qe(e) {
846
- if (ut(e) === "html")
846
+ if (st(e) === "html")
847
847
  return e;
848
848
  const t = (
849
849
  // Step into the shadow DOM of the parent of a slotted node.
@@ -858,15 +858,15 @@ function vo(e) {
858
858
  const t = Qe(e);
859
859
  return it(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ke(t) && Tt(t) ? t : vo(t);
860
860
  }
861
- function At(e, t, n) {
861
+ function It(e, t, n) {
862
862
  var o;
863
863
  t === void 0 && (t = []), n === void 0 && (n = !0);
864
864
  const l = vo(e), r = l === ((o = e.ownerDocument) == null ? void 0 : o.body), a = he(l);
865
865
  if (r) {
866
866
  const i = pn(a);
867
- return t.concat(a, a.visualViewport || [], Tt(l) ? l : [], i && n ? At(i) : []);
867
+ return t.concat(a, a.visualViewport || [], Tt(l) ? l : [], i && n ? It(i) : []);
868
868
  } else
869
- return t.concat(l, At(l, [], n));
869
+ return t.concat(l, It(l, [], n));
870
870
  }
871
871
  function pn(e) {
872
872
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
@@ -919,10 +919,10 @@ function xe(e, t, n, o) {
919
919
  let s = (l.left + i.x) / a.x, c = (l.top + i.y) / a.y, u = l.width / a.x, d = l.height / a.y;
920
920
  if (r) {
921
921
  const f = he(r), g = o && Ce(o) ? he(o) : o;
922
- let I = f, h = pn(I);
923
- for (; h && o && g !== I; ) {
924
- const p = ot(h), v = h.getBoundingClientRect(), j = De(h), T = v.left + (h.clientLeft + parseFloat(j.paddingLeft)) * p.x, b = v.top + (h.clientTop + parseFloat(j.paddingTop)) * p.y;
925
- s *= p.x, c *= p.y, u *= p.x, d *= p.y, s += T, c += b, I = he(h), h = pn(I);
922
+ let h = f, I = pn(h);
923
+ for (; I && o && g !== h; ) {
924
+ const p = ot(I), v = I.getBoundingClientRect(), j = De(I), T = v.left + (I.clientLeft + parseFloat(j.paddingLeft)) * p.x, b = v.top + (I.clientTop + parseFloat(j.paddingTop)) * p.y;
925
+ s *= p.x, c *= p.y, u *= p.x, d *= p.y, s += T, c += b, h = he(I), I = pn(h);
926
926
  }
927
927
  }
928
928
  return Et({
@@ -958,7 +958,7 @@ function Ia(e) {
958
958
  scrollTop: 0
959
959
  }, c = Ne(1);
960
960
  const u = Ne(0), d = ke(o);
961
- if ((d || !d && !r) && ((ut(o) !== "body" || Tt(a)) && (s = Wt(o)), d)) {
961
+ if ((d || !d && !r) && ((st(o) !== "body" || Tt(a)) && (s = Wt(o)), d)) {
962
962
  const g = xe(o);
963
963
  c = ot(o), u.x = g.x + o.clientLeft, u.y = g.y + o.clientTop;
964
964
  }
@@ -995,8 +995,8 @@ function Ca(e, t) {
995
995
  }
996
996
  const c = Ht(o);
997
997
  if (c <= 0) {
998
- const u = o.ownerDocument, d = u.body, f = getComputedStyle(d), g = u.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, I = Math.abs(o.clientWidth - d.clientWidth - g);
999
- I <= Xn && (r -= I);
998
+ const u = o.ownerDocument, d = u.body, f = getComputedStyle(d), g = u.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, h = Math.abs(o.clientWidth - d.clientWidth - g);
999
+ h <= Xn && (r -= h);
1000
1000
  } else c <= Xn && (r += c);
1001
1001
  return {
1002
1002
  width: r,
@@ -1041,7 +1041,7 @@ function ba(e, t) {
1041
1041
  const n = t.get(e);
1042
1042
  if (n)
1043
1043
  return n;
1044
- let o = At(e, [], !1).filter((i) => Ce(i) && ut(i) !== "body"), l = null;
1044
+ let o = It(e, [], !1).filter((i) => Ce(i) && st(i) !== "body"), l = null;
1045
1045
  const r = De(e).position === "fixed";
1046
1046
  let a = r ? Qe(e) : e;
1047
1047
  for (; Ce(a) && !it(a); ) {
@@ -1091,7 +1091,7 @@ function ja(e, t, n) {
1091
1091
  s.x = Ht(l);
1092
1092
  }
1093
1093
  if (o || !o && !r)
1094
- if ((ut(t) !== "body" || Tt(l)) && (i = Wt(t)), o) {
1094
+ if ((st(t) !== "body" || Tt(l)) && (i = Wt(t)), o) {
1095
1095
  const g = xe(t, !0, r, t);
1096
1096
  s.x = g.x + t.clientLeft, s.y = g.y + t.clientTop;
1097
1097
  } else l && c();
@@ -1180,8 +1180,8 @@ function La(e, t) {
1180
1180
  } = c;
1181
1181
  if (i || t(), !f || !g)
1182
1182
  return;
1183
- const I = Lt(d), h = Lt(l.clientWidth - (u + f)), p = Lt(l.clientHeight - (d + g)), v = Lt(u), T = {
1184
- rootMargin: -I + "px " + -h + "px " + -p + "px " + -v + "px",
1183
+ const h = Lt(d), I = Lt(l.clientWidth - (u + f)), p = Lt(l.clientHeight - (d + g)), v = Lt(u), T = {
1184
+ rootMargin: -h + "px " + -I + "px " + -p + "px " + -v + "px",
1185
1185
  threshold: He(0, at(1, s)) || 1
1186
1186
  };
1187
1187
  let b = !0;
@@ -1217,7 +1217,7 @@ function ka(e, t, n, o) {
1217
1217
  elementResize: a = typeof ResizeObserver == "function",
1218
1218
  layoutShift: i = typeof IntersectionObserver == "function",
1219
1219
  animationFrame: s = !1
1220
- } = o, c = jn(e), u = l || r ? [...c ? At(c) : [], ...t ? At(t) : []] : [];
1220
+ } = o, c = jn(e), u = l || r ? [...c ? It(c) : [], ...t ? It(t) : []] : [];
1221
1221
  u.forEach((v) => {
1222
1222
  l && v.addEventListener("scroll", n, {
1223
1223
  passive: !0
@@ -1232,17 +1232,17 @@ function ka(e, t, n, o) {
1232
1232
  (T = g) == null || T.observe(t);
1233
1233
  })), n();
1234
1234
  }), c && !s && g.observe(c), t && g.observe(t));
1235
- let I, h = s ? xe(e) : null;
1235
+ let h, I = s ? xe(e) : null;
1236
1236
  s && p();
1237
1237
  function p() {
1238
1238
  const v = xe(e);
1239
- h && !jo(h, v) && n(), h = v, I = requestAnimationFrame(p);
1239
+ I && !jo(I, v) && n(), I = v, h = requestAnimationFrame(p);
1240
1240
  }
1241
1241
  return n(), () => {
1242
1242
  var v;
1243
1243
  u.forEach((j) => {
1244
1244
  l && j.removeEventListener("scroll", n), r && j.removeEventListener("resize", n);
1245
- }), d == null || d(), (v = g) == null || v.disconnect(), g = null, s && cancelAnimationFrame(I);
1245
+ }), d == null || d(), (v = g) == null || v.disconnect(), g = null, s && cancelAnimationFrame(h);
1246
1246
  };
1247
1247
  }
1248
1248
  const Oa = da, $a = fa, Va = sa, Ea = ra, Pa = (e, t, n) => {
@@ -1370,21 +1370,21 @@ const Oe = Z({
1370
1370
  }, u = () => {
1371
1371
  var V;
1372
1372
  return (V = s.value) == null ? void 0 : V.arrowRef;
1373
- }, d = k(!1), f = k(e.placement), g = k({ top: "0px", left: "0px" }), I = k({});
1374
- let h = null, p = null, v = null, j = null;
1373
+ }, d = k(!1), f = k(e.placement), g = k({ top: "0px", left: "0px" }), h = k({});
1374
+ let I = null, p = null, v = null, j = null;
1375
1375
  const T = (V) => {
1376
1376
  if (V == null) {
1377
1377
  i.value = void 0;
1378
1378
  return;
1379
1379
  }
1380
- if (typeof HTMLElement < "u" && V instanceof HTMLElement) {
1380
+ if (typeof Element < "u" && V instanceof Element) {
1381
1381
  i.value = V;
1382
1382
  return;
1383
1383
  }
1384
1384
  const G = V.$el;
1385
- i.value = typeof HTMLElement < "u" && G instanceof HTMLElement ? G : void 0;
1385
+ i.value = typeof Element < "u" && G instanceof Element ? G : void 0;
1386
1386
  }, b = N(() => e.modelValue !== void 0), A = N(() => !e.disabled && (b.value ? e.modelValue === !0 : d.value)), m = () => {
1387
- h && (clearTimeout(h), h = null);
1387
+ I && (clearTimeout(I), I = null);
1388
1388
  }, y = () => {
1389
1389
  p && (clearTimeout(p), p = null);
1390
1390
  }, L = () => {
@@ -1412,7 +1412,7 @@ const Oe = Z({
1412
1412
  top: `${Ie}px`,
1413
1413
  left: `${le}px`
1414
1414
  }, !G) {
1415
- I.value = {};
1415
+ h.value = {};
1416
1416
  return;
1417
1417
  }
1418
1418
  const { x: Fn, y: Wn } = ul.arrow ?? {}, cl = Ee.split("-")[0], dl = {
@@ -1421,7 +1421,7 @@ const Oe = Z({
1421
1421
  bottom: "top",
1422
1422
  left: "right"
1423
1423
  }[cl];
1424
- I.value = {
1424
+ h.value = {
1425
1425
  left: Fn != null ? `${Fn}px` : "",
1426
1426
  top: Wn != null ? `${Wn}px` : "",
1427
1427
  right: "",
@@ -1443,8 +1443,8 @@ const Oe = Z({
1443
1443
  const le = V;
1444
1444
  return le.dirs = [...le.dirs ?? [], ...G], J.dirs = null, le;
1445
1445
  }, ue = () => {
1446
- e.disabled || (y(), m(), e.openDelay > 0 ? h = setTimeout(() => {
1447
- h = null, O(!0);
1446
+ e.disabled || (y(), m(), e.openDelay > 0 ? I = setTimeout(() => {
1447
+ I = null, O(!0);
1448
1448
  }, e.openDelay) : O(!0));
1449
1449
  }, ce = () => {
1450
1450
  m(), y(), e.closeDelay > 0 ? p = setTimeout(() => {
@@ -1452,7 +1452,7 @@ const Oe = Z({
1452
1452
  }, e.closeDelay) : O(!1);
1453
1453
  }, Ve = () => {
1454
1454
  e.trigger === "hover" && ue();
1455
- }, ft = () => {
1455
+ }, dt = () => {
1456
1456
  e.trigger === "hover" && ce();
1457
1457
  };
1458
1458
  let be = null;
@@ -1469,7 +1469,7 @@ const Oe = Z({
1469
1469
  e.trigger === "hover" && e.showOnFocus && ce();
1470
1470
  }, Be = (V) => {
1471
1471
  V.key === "Escape" && A.value && e.trigger !== "manual" && (V.stopPropagation(), B());
1472
- }, pt = () => {
1472
+ }, ft = () => {
1473
1473
  e.trigger === "hover" && p && y();
1474
1474
  }, Zn = () => {
1475
1475
  e.trigger === "hover" && ce();
@@ -1526,7 +1526,7 @@ const Oe = Z({
1526
1526
  ref: T,
1527
1527
  ...A.value ? { "aria-describedby": pe(l["aria-describedby"]) } : {},
1528
1528
  onMouseenter: Ve,
1529
- onMouseleave: ft,
1529
+ onMouseleave: dt,
1530
1530
  onClick: Y,
1531
1531
  onFocus: U,
1532
1532
  onBlur: me,
@@ -1548,9 +1548,9 @@ const Oe = Z({
1548
1548
  maxWidth: e.maxWidth,
1549
1549
  showArrow: e.showArrow,
1550
1550
  popperStyle: g.value,
1551
- arrowStyle: I.value,
1551
+ arrowStyle: h.value,
1552
1552
  content: e.content,
1553
- onPopperEnter: pt,
1553
+ onPopperEnter: ft,
1554
1554
  onPopperLeave: Zn
1555
1555
  },
1556
1556
  { content: o.content ?? void 0 }
@@ -1561,7 +1561,7 @@ const Oe = Z({
1561
1561
  return [ge(le), Ie];
1562
1562
  };
1563
1563
  }
1564
- }), mt = {
1564
+ }), gt = {
1565
1565
  LARGE: "large",
1566
1566
  NORMAL: "normal",
1567
1567
  SMALL: "small"
@@ -1583,8 +1583,8 @@ const Oe = Z({
1583
1583
  */
1584
1584
  size: {
1585
1585
  type: String,
1586
- default: mt.LARGE,
1587
- validator: (e) => Object.values(mt).includes(e)
1586
+ default: gt.LARGE,
1587
+ validator: (e) => Object.values(gt).includes(e)
1588
1588
  },
1589
1589
  /**
1590
1590
  * 按钮类型
@@ -1647,9 +1647,9 @@ const Oe = Z({
1647
1647
  setup(e, { emit: t, expose: n, slots: o }) {
1648
1648
  const l = k(null), r = N(() => e.tips != null ? String(e.tips) : ""), a = N(() => ({ "j-q-button-label": (o.icon || e.icon) && (o.default || e.label) })), i = N(() => e.type === Ze.PRIMARY || e.type === Ze.SECONDARY ? {
1649
1649
  [`j-q-button--${{
1650
- [mt.LARGE]: "lg",
1651
- [mt.NORMAL]: "md",
1652
- [mt.SMALL]: "sm"
1650
+ [gt.LARGE]: "lg",
1651
+ [gt.NORMAL]: "md",
1652
+ [gt.SMALL]: "sm"
1653
1653
  }[e.size]}`]: !0,
1654
1654
  "j-q-button": !0,
1655
1655
  "j-q-button--primary": e.type === Ze.PRIMARY,
@@ -1672,6 +1672,10 @@ const Oe = Z({
1672
1672
  t("click", f);
1673
1673
  };
1674
1674
  return n({
1675
+ get $el() {
1676
+ var f;
1677
+ return (f = l.value) == null ? void 0 : f.$el;
1678
+ },
1675
1679
  click: () => {
1676
1680
  var f, g;
1677
1681
  (g = (f = l.value) == null ? void 0 : f.$el) == null || g.click();
@@ -1742,7 +1746,7 @@ function Fa(e, t, n, o, l, r) {
1742
1746
  _: 3
1743
1747
  }, 8, ["content", "disabled", "placement", "effect", "trigger", "show-arrow", "open-delay", "close-delay", "max-width", "offset", "model-value"]);
1744
1748
  }
1745
- const ct = /* @__PURE__ */ F(Ua, [["render", Fa], ["__scopeId", "data-v-d98d96a1"]]), Wa = Z({
1749
+ const ut = /* @__PURE__ */ F(Ua, [["render", Fa], ["__scopeId", "data-v-c23e93b7"]]), Wa = Z({
1746
1750
  name: "JCEditableProxy",
1747
1751
  components: {
1748
1752
  JCPermission: Mo,
@@ -1751,7 +1755,7 @@ const ct = /* @__PURE__ */ F(Ua, [["render", Fa], ["__scopeId", "data-v-d98d96a1
1751
1755
  QCard: Ke,
1752
1756
  QCardSection: _e,
1753
1757
  QCardActions: bl,
1754
- JQButton: ct
1758
+ JQButton: ut
1755
1759
  },
1756
1760
  inheritAttrs: !1,
1757
1761
  props: {
@@ -1804,12 +1808,12 @@ const ct = /* @__PURE__ */ F(Ua, [["render", Fa], ["__scopeId", "data-v-d98d96a1
1804
1808
  const s = () => {
1805
1809
  l.value = e.modelValue ?? "";
1806
1810
  }, c = async () => {
1807
- var I;
1811
+ var h;
1808
1812
  let g = !0;
1809
1813
  if (r.value && typeof r.value.validate == "function" && (g = r.value.validate()), !!g) {
1810
1814
  if (l.value !== e.modelValue) {
1811
1815
  a.value = !0;
1812
- const h = (p = {}) => {
1816
+ const I = (p = {}) => {
1813
1817
  var b, A, m;
1814
1818
  const { success: v = !0, close: j = v, resetValue: T = !v } = p;
1815
1819
  if (a.value = !1, v) {
@@ -1818,16 +1822,16 @@ const ct = /* @__PURE__ */ F(Ua, [["render", Fa], ["__scopeId", "data-v-d98d96a1
1818
1822
  }
1819
1823
  T && (l.value = e.modelValue ?? "", (A = (b = r.value) == null ? void 0 : b.resetValidation) == null || A.call(b)), j && ((m = o.value) == null || m.hide());
1820
1824
  };
1821
- t("confirm", l.value, h);
1825
+ t("confirm", l.value, I);
1822
1826
  return;
1823
1827
  }
1824
- (I = o.value) == null || I.hide();
1828
+ (h = o.value) == null || h.hide();
1825
1829
  }
1826
1830
  }, u = k(!1), d = (g) => {
1827
- const I = r.value === null;
1828
- r.value = g, I && e.autoDetect && g && Me(() => {
1831
+ const h = r.value === null;
1832
+ r.value = g, h && e.autoDetect && g && Me(() => {
1829
1833
  var v, j;
1830
- const h = g, p = ((v = h.$props) == null ? void 0 : v.rules) || ((j = h.$attrs) == null ? void 0 : j.rules) || h.rules;
1834
+ const I = g, p = ((v = I.$props) == null ? void 0 : v.rules) || ((j = I.$attrs) == null ? void 0 : j.rules) || I.rules;
1831
1835
  u.value = Array.isArray(p) && p.length > 0;
1832
1836
  });
1833
1837
  }, f = () => {
@@ -1917,7 +1921,7 @@ function xa(e, t, n, o, l, r) {
1917
1921
  }, 8, ["code"])
1918
1922
  ]);
1919
1923
  }
1920
- const pm = /* @__PURE__ */ F(Wa, [["render", xa], ["__scopeId", "data-v-3d1377c9"]]), Ga = Z({
1924
+ const fm = /* @__PURE__ */ F(Wa, [["render", xa], ["__scopeId", "data-v-3d1377c9"]]), Ga = Z({
1921
1925
  name: "JCFallback",
1922
1926
  props: {
1923
1927
  /**
@@ -1971,7 +1975,7 @@ function Ka(e, t, n, o, l, r) {
1971
1975
  e.rmDom ? P("", !0) : (M(), z("span", _a, $(e.defaultContent), 1))
1972
1976
  ], 64));
1973
1977
  }
1974
- const gm = /* @__PURE__ */ F(Ga, [["render", Ka]]);
1978
+ const pm = /* @__PURE__ */ F(Ga, [["render", Ka]]);
1975
1979
  function qe(e, t) {
1976
1980
  return (n) => {
1977
1981
  const o = String(n || "").trim();
@@ -2376,7 +2380,7 @@ const pi = {
2376
2380
  progress: !0,
2377
2381
  iconSize: "20px"
2378
2382
  };
2379
- let yt = null;
2383
+ let mt = null;
2380
2384
  class gi {
2381
2385
  constructor() {
2382
2386
  }
@@ -2384,7 +2388,7 @@ class gi {
2384
2388
  * 设置 Quasar 实例(在 rtcptInit 中调用)
2385
2389
  */
2386
2390
  setQuasarInstance(t) {
2387
- yt = t;
2391
+ mt = t;
2388
2392
  }
2389
2393
  show({ type: t, content: n, position: o, isNotify: l }) {
2390
2394
  const r = {
@@ -2410,7 +2414,7 @@ class gi {
2410
2414
  classes: `q-message-style q-message-style--${t}`
2411
2415
  });
2412
2416
  try {
2413
- yt != null && yt.notify ? yt.notify(s) : (console.error("[JQMessage] Quasar Notify plugin not available. Make sure rtcptInit has been called."), alert(s.message));
2417
+ mt != null && mt.notify ? mt.notify(s) : (console.error("[JQMessage] Quasar Notify plugin not available. Make sure rtcptInit has been called."), alert(s.message));
2414
2418
  } catch (c) {
2415
2419
  console.log(c), alert(s.message);
2416
2420
  }
@@ -2444,7 +2448,7 @@ const yi = Z({
2444
2448
  QCardSection: _e,
2445
2449
  QInnerLoading: uo,
2446
2450
  QIcon: re,
2447
- JQButton: ct
2451
+ JQButton: ut
2448
2452
  },
2449
2453
  directives: {
2450
2454
  ClosePopup: qt
@@ -2493,10 +2497,10 @@ const yi = Z({
2493
2497
  beforeFile: f
2494
2498
  }
2495
2499
  };
2496
- }), I = N(() => e.maxWidth && e.position === "standard" ? {
2500
+ }), h = N(() => e.maxWidth && e.position === "standard" ? {
2497
2501
  "max-width": typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`,
2498
2502
  width: typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`
2499
- } : {}), h = N(() => l.value), p = (O) => {
2503
+ } : {}), I = N(() => l.value), p = (O) => {
2500
2504
  c.value = O;
2501
2505
  }, v = (O) => {
2502
2506
  u.value = O;
@@ -2518,14 +2522,14 @@ const yi = Z({
2518
2522
  e.dialogId && Vn.destroy(e.dialogId);
2519
2523
  };
2520
2524
  return n({ open: b, close: A, setLoading: m, setConfirmVisible: y, changeCancelText: p, changeConfirmText: v, rules: d }), {
2521
- persistent: h,
2525
+ persistent: I,
2522
2526
  dynamicCompRef: r,
2523
2527
  cancelText: c,
2524
2528
  confirmText: u,
2525
2529
  visible: o,
2526
2530
  getDataLoading: l,
2527
2531
  computedComponentBind: g,
2528
- computedDialogWidth: I,
2532
+ computedDialogWidth: h,
2529
2533
  open: b,
2530
2534
  close: A,
2531
2535
  destroy: L,
@@ -2539,7 +2543,7 @@ const yi = Z({
2539
2543
  }
2540
2544
  }), Mi = { class: "loading-mask" }, hi = { class: "dialog-title" }, Ii = { class: "dialog-close-wrapper" }, Ai = { class: "async-component-loading-mask" };
2541
2545
  function vi(e, t, n, o, l, r) {
2542
- const a = C("q-inner-loading"), i = C("q-icon"), s = C("q-card-section"), c = C("j-q-button"), u = C("q-card"), d = C("q-dialog"), f = Ct("close-popup");
2546
+ const a = C("q-inner-loading"), i = C("q-icon"), s = C("q-card-section"), c = C("j-q-button"), u = C("q-card"), d = C("q-dialog"), f = vt("close-popup");
2543
2547
  return M(), E(d, {
2544
2548
  class: q(["j-q-dialog", { "right-panel": e.position === "right" }, e.dialogClass]),
2545
2549
  modelValue: e.visible,
@@ -2686,16 +2690,16 @@ const Ci = /* @__PURE__ */ F(yi, [["render", vi], ["__scopeId", "data-v-ae72c3eb
2686
2690
  slots: Object,
2687
2691
  setup(e, { emit: t, slots: n, expose: o }) {
2688
2692
  const { t: l } = ne(), r = k(e.modelValue ?? ""), a = k(null), i = k(e.customType !== "secret" && e.customType !== "password"), s = N(() => {
2689
- const I = String(e.modelValue ?? "");
2693
+ const h = String(e.modelValue ?? "");
2690
2694
  if (e.customType === "secret" && !i.value) {
2691
- if (I.length === 0)
2695
+ if (h.length === 0)
2692
2696
  return "";
2693
- if (I.length <= 6)
2697
+ if (h.length <= 6)
2694
2698
  return "***";
2695
- const h = I.substring(0, 3), p = I.substring(I.length - 3);
2696
- return `${h}***${p}`;
2699
+ const I = h.substring(0, 3), p = h.substring(h.length - 3);
2700
+ return `${I}***${p}`;
2697
2701
  }
2698
- return I;
2702
+ return h;
2699
2703
  }), c = N(() => e.customType === "secret" ? s.value : r.value), u = N(() => ({
2700
2704
  "input-password": e.customType === "password" && !i.value,
2701
2705
  "j-q-input--table": e.label,
@@ -2705,55 +2709,55 @@ const Ci = /* @__PURE__ */ F(yi, [["render", vi], ["__scopeId", "data-v-ae72c3eb
2705
2709
  }));
2706
2710
  W(
2707
2711
  () => e.modelValue,
2708
- (I) => {
2709
- I !== r.value && (r.value = I);
2712
+ (h) => {
2713
+ h !== r.value && (r.value = h);
2710
2714
  },
2711
2715
  { immediate: !0 }
2712
2716
  );
2713
2717
  const d = N(() => {
2714
- const I = e.maxlength;
2715
- if (I == null || I === "")
2718
+ const h = e.maxlength;
2719
+ if (h == null || h === "")
2716
2720
  return NaN;
2717
- const h = Number(I);
2718
- return Number.isFinite(h) && h >= 0 ? h : NaN;
2721
+ const I = Number(h);
2722
+ return Number.isFinite(I) && I >= 0 ? I : NaN;
2719
2723
  });
2720
2724
  W(
2721
2725
  () => r.value,
2722
- (I, h) => {
2726
+ (h, I) => {
2723
2727
  const p = d.value;
2724
- let v = I;
2728
+ let v = h;
2725
2729
  if (!Number.isNaN(p)) {
2726
- let j = String(I ?? "");
2730
+ let j = String(h ?? "");
2727
2731
  e.type !== "textarea" && !e.preserveLeadingSpace && (j = j.trimStart()), j.length > p && (j = j.slice(0, p)), v = j;
2728
2732
  }
2729
- if (v !== I) {
2733
+ if (v !== h) {
2730
2734
  if (e.inputLimitFn && !e.inputLimitFn(v)) {
2731
- r.value = h;
2735
+ r.value = I;
2732
2736
  return;
2733
2737
  }
2734
2738
  r.value = v;
2735
2739
  return;
2736
2740
  }
2737
- if (I !== h && e.inputLimitFn && !e.inputLimitFn(v)) {
2738
- r.value = h;
2741
+ if (h !== I && e.inputLimitFn && !e.inputLimitFn(v)) {
2742
+ r.value = I;
2739
2743
  return;
2740
2744
  }
2741
2745
  t("update:modelValue", v);
2742
2746
  }
2743
2747
  );
2744
- const f = (I) => {
2745
- t("change", I);
2748
+ const f = (h) => {
2749
+ t("change", h);
2746
2750
  }, g = () => {
2747
2751
  i.value = !i.value;
2748
2752
  };
2749
2753
  return o({
2750
2754
  validate: () => {
2751
- var I;
2752
- return ((I = a.value) == null ? void 0 : I.validate()) ?? !1;
2755
+ var h;
2756
+ return ((h = a.value) == null ? void 0 : h.validate()) ?? !1;
2753
2757
  },
2754
2758
  resetValidation: () => {
2755
- var I;
2756
- return (I = a.value) == null ? void 0 : I.resetValidation();
2759
+ var h;
2760
+ return (h = a.value) == null ? void 0 : h.resetValidation();
2757
2761
  },
2758
2762
  toggleVisibility: g
2759
2763
  }), {
@@ -2803,11 +2807,11 @@ function bi(e, t, n, o, l, r) {
2803
2807
  name: "append",
2804
2808
  fn: D(() => [
2805
2809
  R(e.$slots, "append", {
2806
- toggleVisibility: e.toggleVisibility,
2807
2810
  customType: e.customType,
2808
- rawValue: e.modelValue,
2809
2811
  displayValue: e.computedDisplayValue,
2810
- isContentVisible: e.isContentVisible
2812
+ isContentVisible: e.isContentVisible,
2813
+ rawValue: e.modelValue,
2814
+ toggleVisibility: e.toggleVisibility
2811
2815
  })
2812
2816
  ]),
2813
2817
  key: "1"
@@ -2824,7 +2828,7 @@ function bi(e, t, n, o, l, r) {
2824
2828
  const Jt = /* @__PURE__ */ F(Di, [["render", bi]]), Ni = Z({
2825
2829
  name: "JQSelect",
2826
2830
  components: {
2827
- QSelect: st,
2831
+ QSelect: rt,
2828
2832
  QSpinner: Nl,
2829
2833
  QItem: Dt,
2830
2834
  QItemSection: Ut,
@@ -2877,7 +2881,7 @@ const Jt = /* @__PURE__ */ F(Di, [["render", bi]]), Ni = Z({
2877
2881
  }, c = k(e.options), u = k(""), d = k(void 0), f = N(() => !!e.optionValue), g = N(() => d.value ? d.value : u.value ? e.options.filter((A) => {
2878
2882
  const m = (A == null ? void 0 : A[e.optionLabel]) ?? JSON.stringify(A);
2879
2883
  return String(m).toLowerCase().includes(u.value.toLowerCase());
2880
- }) : e.options), I = N(() => {
2884
+ }) : e.options), h = N(() => {
2881
2885
  const A = e.options, m = A.length;
2882
2886
  let y = i.value;
2883
2887
  if (e.valueDisplayFn)
@@ -2897,7 +2901,7 @@ const Jt = /* @__PURE__ */ F(Di, [["render", bi]]), Ni = Z({
2897
2901
  return !L && m === 0 ? "" : (L == null ? void 0 : L[e.optionLabel]) ?? y;
2898
2902
  }
2899
2903
  return (y == null ? void 0 : y[e.optionLabel]) ?? y;
2900
- }), h = (A) => {
2904
+ }), I = (A) => {
2901
2905
  const m = i.value;
2902
2906
  if (!Array.isArray(m)) return "";
2903
2907
  const y = m[A], L = e.options.find((O) => (O == null ? void 0 : O[e.optionValue]) === y);
@@ -2940,9 +2944,9 @@ const Jt = /* @__PURE__ */ F(Di, [["render", bi]]), Ni = Z({
2940
2944
  }
2941
2945
  });
2942
2946
  }, b = N(() => e.filterable && a.value ? !1 : e.filterable ?? e.useInput);
2943
- return W([i, I], () => {
2947
+ return W([i, h], () => {
2944
2948
  e.filterable && T();
2945
- }), rt(() => {
2949
+ }), Ct(() => {
2946
2950
  e.filterable && T();
2947
2951
  }), W(
2948
2952
  i,
@@ -2965,9 +2969,9 @@ const Jt = /* @__PURE__ */ F(Di, [["render", bi]]), Ni = Z({
2965
2969
  qSelectRef: l,
2966
2970
  innerValue: i,
2967
2971
  computedEmitValue: f,
2968
- computedDisplayValue: I,
2972
+ computedDisplayValue: h,
2969
2973
  computedUseInput: b,
2970
- getSelectedItemLabelByIndex: h,
2974
+ getSelectedItemLabelByIndex: I,
2971
2975
  getSelectedItemOptionByIndex: p,
2972
2976
  filter: v,
2973
2977
  computedPopupContentClass: j,
@@ -3371,13 +3375,13 @@ const Vn = {
3371
3375
  });
3372
3376
  const g = (j = s == null ? void 0 : s._context) == null ? void 0 : j.directives;
3373
3377
  g != null && g["close-popup"] || s.directive("close-popup", qt);
3374
- const I = Cn(), h = Vi[I];
3375
- if (h)
3378
+ const h = Cn(), I = Vi[h];
3379
+ if (I)
3376
3380
  try {
3377
- const T = await h();
3381
+ const T = await I();
3378
3382
  s.config.globalProperties.$q.lang.set(T.default);
3379
3383
  } catch (T) {
3380
- console.error(`[rtcpt] Failed to load Quasar locale for ${I}:`, T);
3384
+ console.error(`[rtcpt] Failed to load Quasar locale for ${h}:`, T);
3381
3385
  }
3382
3386
  if (ye.iconMapFn) {
3383
3387
  const T = s.config.globalProperties.$q;
@@ -3434,8 +3438,8 @@ const Vn = {
3434
3438
  const i = 5, { t: s } = ne(), c = () => {
3435
3439
  if (n.value) {
3436
3440
  r && r.disconnect();
3437
- const h = n.value.scrollHeight;
3438
- h > 0 ? (o.value = h, a = 0) : n.value.children.length > 0 && a < i && (a++, setTimeout(() => {
3441
+ const I = n.value.scrollHeight;
3442
+ I > 0 ? (o.value = I, a = 0) : n.value.children.length > 0 && a < i && (a++, setTimeout(() => {
3439
3443
  c();
3440
3444
  }, 100)), r && n.value && r.observe(n.value, {
3441
3445
  childList: !0,
@@ -3447,19 +3451,19 @@ const Vn = {
3447
3451
  overflow: "hidden"
3448
3452
  } : {}), f = () => {
3449
3453
  var p;
3450
- const h = (p = t.default) == null ? void 0 : p.call(t);
3451
- h && Vn.register({
3454
+ const I = (p = t.default) == null ? void 0 : p.call(t);
3455
+ I && Vn.register({
3452
3456
  title: e.dialogTitle || s("action.viewAll"),
3453
3457
  maxWidth: e.dialogMaxWidth,
3454
3458
  minHeight: "auto",
3455
3459
  showHeader: !0,
3456
3460
  showFooter: !1,
3457
- content: () => Ot("div", { class: "jc-foldable-list-dialog-content" }, h)
3461
+ content: () => Ot("div", { class: "jc-foldable-list-dialog-content" }, I)
3458
3462
  });
3459
3463
  }, g = () => {
3460
3464
  e.viewInDialog ? f() : l.value = !l.value;
3461
3465
  };
3462
- return rt(() => {
3466
+ return Ct(() => {
3463
3467
  Me(() => {
3464
3468
  c(), n.value && (r = new MutationObserver(() => {
3465
3469
  Me(c);
@@ -3511,7 +3515,7 @@ function qi(e, t, n, o, l, r) {
3511
3515
  ])
3512
3516
  ]);
3513
3517
  }
3514
- const mm = /* @__PURE__ */ F(Pi, [["render", qi], ["__scopeId", "data-v-48376fdd"]]), Bi = Z({
3518
+ const gm = /* @__PURE__ */ F(Pi, [["render", qi], ["__scopeId", "data-v-48376fdd"]]), Bi = Z({
3515
3519
  name: "JCFormatLookup",
3516
3520
  props: {
3517
3521
  /**
@@ -3575,7 +3579,7 @@ function Zi(e, t, n, o, l, r) {
3575
3579
  e.rmDom ? P("", !0) : (M(), z("span", Ui, $(e.defaultContent), 1))
3576
3580
  ], 64));
3577
3581
  }
3578
- const ym = /* @__PURE__ */ F(Bi, [["render", Zi]]), Fi = Z({
3582
+ const mm = /* @__PURE__ */ F(Bi, [["render", Zi]]), Fi = Z({
3579
3583
  name: "JQFormLabel",
3580
3584
  components: {
3581
3585
  QIcon: re,
@@ -3749,7 +3753,7 @@ function tr(e, t, n, o, l, r) {
3749
3753
  }, 8, ["label", "required"])
3750
3754
  ]);
3751
3755
  }
3752
- const Mm = /* @__PURE__ */ F(Ki, [["render", tr]]), nr = Z({
3756
+ const ym = /* @__PURE__ */ F(Ki, [["render", tr]]), nr = Z({
3753
3757
  name: "JCMoreMenu",
3754
3758
  components: {
3755
3759
  QIcon: re,
@@ -3820,10 +3824,10 @@ const Mm = /* @__PURE__ */ F(Ki, [["render", tr]]), nr = Z({
3820
3824
  action: (e) => !0
3821
3825
  },
3822
3826
  setup(e, { emit: t, slots: n }) {
3823
- const { t: o } = ne(), l = N(() => e.translate ?? o), r = lt(Nt, k([])), a = lt(wt, k([])), i = (y, L, O) => typeof y == "function" ? !!y(L) : typeof y == "boolean" ? y : O, s = (y) => i(y.visible, e.item, !0), c = (y) => i(y.disabled, e.item, !1), u = (y) => y ? a.value.includes(y) || r.value.includes(y) : !0, d = (y) => s(y) ? u(y.permissionCode) : !1, f = N(() => e.actions.some((y) => d(y))), g = N(() => typeof e.fit == "boolean" ? e.fit : e.size === "md"), I = N(() => {
3827
+ const { t: o } = ne(), l = N(() => e.translate ?? o), r = lt(Nt, k([])), a = lt(wt, k([])), i = (y, L, O) => typeof y == "function" ? !!y(L) : typeof y == "boolean" ? y : O, s = (y) => i(y.visible, e.item, !0), c = (y) => i(y.disabled, e.item, !1), u = (y) => y ? a.value.includes(y) || r.value.includes(y) : !0, d = (y) => s(y) ? u(y.permissionCode) : !1, f = N(() => e.actions.some((y) => d(y))), g = N(() => typeof e.fit == "boolean" ? e.fit : e.size === "md"), h = N(() => {
3824
3828
  if (e.size === "lg")
3825
3829
  return e.offset ?? [5, 10];
3826
- }), h = N(() => {
3830
+ }), I = N(() => {
3827
3831
  if (e.size === "lg")
3828
3832
  return e.anchor ?? "bottom left";
3829
3833
  }), p = N(() => {
@@ -3840,8 +3844,8 @@ const Mm = /* @__PURE__ */ F(Ki, [["render", tr]]), nr = Z({
3840
3844
  size: N(() => e.size),
3841
3845
  showEmptyPlaceholder: N(() => e.showEmptyPlaceholder),
3842
3846
  computedFit: g,
3843
- computedOffset: I,
3844
- computedAnchor: h,
3847
+ computedOffset: h,
3848
+ computedAnchor: I,
3845
3849
  computedSelf: p,
3846
3850
  computedListStyle: v,
3847
3851
  computedMenuClass: j,
@@ -3859,7 +3863,7 @@ const Mm = /* @__PURE__ */ F(Ki, [["render", tr]]), nr = Z({
3859
3863
  class: "jc-more-menu__icon"
3860
3864
  }, ar = { key: 1 };
3861
3865
  function ir(e, t, n, o, l, r) {
3862
- const a = C("q-icon"), i = C("q-item-section"), s = C("q-item"), c = C("j-c-permission"), u = C("q-list"), d = C("q-menu"), f = Ct("close-popup");
3866
+ const a = C("q-icon"), i = C("q-item-section"), s = C("q-item"), c = C("j-c-permission"), u = C("q-list"), d = C("q-menu"), f = vt("close-popup");
3863
3867
  return e.hasVisibleActions || e.showEmptyPlaceholder ? (M(), z("div", or, [
3864
3868
  e.hasVisibleActions ? (M(), z("div", lr, [
3865
3869
  R(e.$slots, "trigger", {}, () => [
@@ -3882,8 +3886,8 @@ function ir(e, t, n, o, l, r) {
3882
3886
  style: X(e.computedListStyle)
3883
3887
  }, {
3884
3888
  default: D(() => [
3885
- (M(!0), z(_, null, ae(e.actions, (g, I) => (M(), E(c, {
3886
- key: g.key ?? I,
3889
+ (M(!0), z(_, null, ae(e.actions, (g, h) => (M(), E(c, {
3890
+ key: g.key ?? h,
3887
3891
  "rm-dom": g.rmDom ?? !0,
3888
3892
  code: g.permissionCode ?? null,
3889
3893
  "default-content": g.defaultContent ?? "-"
@@ -3893,7 +3897,7 @@ function ir(e, t, n, o, l, r) {
3893
3897
  key: 0,
3894
3898
  clickable: g.clickable ?? !0,
3895
3899
  disable: e.isActionDisabled(g),
3896
- onClick: (h) => e.handleActionClick(g)
3900
+ onClick: (I) => e.handleActionClick(g)
3897
3901
  }, {
3898
3902
  default: D(() => [
3899
3903
  e.hasMenuIconSlot(g) ? (M(), E(i, {
@@ -3933,7 +3937,7 @@ function ir(e, t, n, o, l, r) {
3933
3937
  ])) : (M(), z("span", ar, "-"))
3934
3938
  ])) : P("", !0);
3935
3939
  }
3936
- const hm = /* @__PURE__ */ F(nr, [["render", ir], ["__scopeId", "data-v-51a82f6e"]]), rr = Z({
3940
+ const Mm = /* @__PURE__ */ F(nr, [["render", ir], ["__scopeId", "data-v-51a82f6e"]]), rr = Z({
3937
3941
  name: "NestedMenuItem",
3938
3942
  components: {
3939
3943
  QItem: Dt,
@@ -3981,7 +3985,7 @@ const hm = /* @__PURE__ */ F(nr, [["render", ir], ["__scopeId", "data-v-51a82f6e
3981
3985
  }
3982
3986
  });
3983
3987
  function sr(e, t, n, o, l, r) {
3984
- const a = C("q-item-section"), i = C("q-icon"), s = C("nested-menu-item", !0), c = C("q-list"), u = C("q-menu"), d = C("q-item"), f = Ct("close-popup");
3988
+ const a = C("q-item-section"), i = C("q-icon"), s = C("nested-menu-item", !0), c = C("q-list"), u = C("q-menu"), d = C("q-item"), f = vt("close-popup");
3985
3989
  return de((M(), E(d, {
3986
3990
  clickable: "",
3987
3991
  onClick: e.handleClick,
@@ -4041,7 +4045,7 @@ const ur = /* @__PURE__ */ F(rr, [["render", sr]]), cr = Z({
4041
4045
  name: "JCNestedSelect",
4042
4046
  components: {
4043
4047
  NestedMenuItem: ur,
4044
- QSelect: st,
4048
+ QSelect: rt,
4045
4049
  QMenu: An,
4046
4050
  QList: bt
4047
4051
  },
@@ -4229,7 +4233,7 @@ function pr(e, t, n, o, l, r) {
4229
4233
  _: 1
4230
4234
  }, 8, ["class", "style", "modelValue", "options", "label", "clearable", "popup-content-class", "disable", "readonly", "title"]);
4231
4235
  }
4232
- const Im = /* @__PURE__ */ F(cr, [["render", pr]]), gr = Z({
4236
+ const hm = /* @__PURE__ */ F(cr, [["render", pr]]), gr = Z({
4233
4237
  name: "JCTable",
4234
4238
  components: {
4235
4239
  JCCopy: mo,
@@ -4312,7 +4316,7 @@ const Im = /* @__PURE__ */ F(cr, [["render", pr]]), gr = Z({
4312
4316
  L.left = O;
4313
4317
  }
4314
4318
  if (m.pinRight || y === e.columns.length - 1 && e.lastColumnPinned) {
4315
- const O = I();
4319
+ const O = h();
4316
4320
  L.right = O;
4317
4321
  }
4318
4322
  return L;
@@ -4323,11 +4327,11 @@ const Im = /* @__PURE__ */ F(cr, [["render", pr]]), gr = Z({
4323
4327
  L.left = O;
4324
4328
  }
4325
4329
  if (m.pinRight || y === e.columns.length - 1 && e.lastColumnPinned) {
4326
- const O = I();
4330
+ const O = h();
4327
4331
  L.right = O;
4328
4332
  }
4329
4333
  return L;
4330
- }, g = (m) => "0px", I = (m) => "0px", h = (m) => {
4334
+ }, g = (m) => "0px", h = (m) => "0px", I = (m) => {
4331
4335
  const y = [];
4332
4336
  return m.wrapCount && (Math.min(Math.max(1, m.wrapCount), 3) === 1 ? y.push("j-c-table__cell-content--ellipsis-1") : y.push("j-c-table__cell-content--ellipsis-multi")), m.class && y.push(m.class), y;
4333
4337
  }, p = (m) => {
@@ -4382,7 +4386,7 @@ const Im = /* @__PURE__ */ F(cr, [["render", pr]]), gr = Z({
4382
4386
  n.value.clear(), o.value.clear(), b();
4383
4387
  },
4384
4388
  { deep: !0 }
4385
- ), rt(() => {
4389
+ ), Ct(() => {
4386
4390
  b();
4387
4391
  }), {
4388
4392
  tableContainerRef: t,
@@ -4394,7 +4398,7 @@ const Im = /* @__PURE__ */ F(cr, [["render", pr]]), gr = Z({
4394
4398
  handleCellClick: c,
4395
4399
  getHeaderCellStyle: d,
4396
4400
  getBodyCellStyle: f,
4397
- getCellContentClass: h,
4401
+ getCellContentClass: I,
4398
4402
  getCellContentStyle: p,
4399
4403
  setCellRef: v,
4400
4404
  shouldShowTooltip: T,
@@ -4505,7 +4509,7 @@ function Dr(e, t, n, o, l, r) {
4505
4509
  ])) : P("", !0)
4506
4510
  ]);
4507
4511
  }
4508
- const Am = /* @__PURE__ */ F(gr, [["render", Dr], ["__scopeId", "data-v-4cfe7804"]]), gn = k("hide-tooltip"), br = {
4512
+ const Im = /* @__PURE__ */ F(gr, [["render", Dr], ["__scopeId", "data-v-4cfe7804"]]), gn = k("hide-tooltip"), br = {
4509
4513
  mounted(e, t) {
4510
4514
  const n = t.arg === "lines" ? t.value : 1;
4511
4515
  e.addEventListener("mouseenter", () => {
@@ -4552,7 +4556,7 @@ const wr = Z({
4552
4556
  }
4553
4557
  });
4554
4558
  function jr(e, t, n, o, l, r) {
4555
- const a = C("q-tooltip"), i = Ct("j-q-tooltip");
4559
+ const a = C("q-tooltip"), i = vt("j-q-tooltip");
4556
4560
  return de((M(), z("div", {
4557
4561
  class: q(["block", e.ellipsisClass]),
4558
4562
  style: X(e.computedStyle)
@@ -4687,7 +4691,7 @@ function Lr(e, t, n, o, l, r) {
4687
4691
  R(e.$slots, "default", {}, void 0, !0)
4688
4692
  ]);
4689
4693
  }
4690
- const vm = /* @__PURE__ */ F(Tr, [["render", Lr], ["__scopeId", "data-v-cc043f30"]]), kr = Z({
4694
+ const Am = /* @__PURE__ */ F(Tr, [["render", Lr], ["__scopeId", "data-v-cc043f30"]]), kr = Z({
4691
4695
  name: "JCTitleLine",
4692
4696
  props: {
4693
4697
  label: { type: String }
@@ -4714,7 +4718,7 @@ function Vr(e, t, n, o, l, r) {
4714
4718
  ])
4715
4719
  ]);
4716
4720
  }
4717
- const Cm = /* @__PURE__ */ F(kr, [["render", Vr], ["__scopeId", "data-v-634ec7db"]]), Er = Z({
4721
+ const vm = /* @__PURE__ */ F(kr, [["render", Vr], ["__scopeId", "data-v-634ec7db"]]), Er = Z({
4718
4722
  name: "JCTooltipEllipsis",
4719
4723
  inheritAttrs: !1,
4720
4724
  components: {
@@ -4951,7 +4955,7 @@ const Qr = /* @__PURE__ */ F(Yr, [["render", Rr]]), qr = Z({
4951
4955
  if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options || []);
4952
4956
  const T = f();
4953
4957
  return T == null ? void 0 : T.map((A) => A[e.optionLabel]).toString();
4954
- }), I = N(() => e.options || []), h = N(() => a.value ? i.value : I.value), p = (T) => {
4958
+ }), h = N(() => e.options || []), I = N(() => a.value ? i.value : h.value), p = (T) => {
4955
4959
  if (i.value = [], !T) return;
4956
4960
  let b;
4957
4961
  try {
@@ -4971,7 +4975,7 @@ const Qr = /* @__PURE__ */ F(Yr, [["render", Rr]]), qr = Z({
4971
4975
  }
4972
4976
  return B ? (e.leafOnly && b.test(O) && ((fe = m.children) != null && fe.length) && (L.children = JSON.parse(JSON.stringify(m.children))), y.push(L), !0) : !1;
4973
4977
  };
4974
- I.value.forEach((m) => A(m, i.value));
4978
+ h.value.forEach((m) => A(m, i.value));
4975
4979
  }, v = () => {
4976
4980
  t("update:modelValue", []);
4977
4981
  }, j = () => {
@@ -4987,7 +4991,7 @@ const Qr = /* @__PURE__ */ F(Yr, [["render", Rr]]), qr = Z({
4987
4991
  computedValueDisplay: g,
4988
4992
  popupVisible: d,
4989
4993
  inputValue: a,
4990
- computedTreeOptions: h,
4994
+ computedTreeOptions: I,
4991
4995
  onUpdateInputValue: p,
4992
4996
  handleClear: v,
4993
4997
  getFullValue: f
@@ -5087,7 +5091,7 @@ function Wr(e, t, n, o, l, r) {
5087
5091
  _: 3
5088
5092
  }, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
5089
5093
  }
5090
- const Dm = /* @__PURE__ */ F(qr, [["render", Wr]]), Hr = Z({
5094
+ const Cm = /* @__PURE__ */ F(qr, [["render", Wr]]), Hr = Z({
5091
5095
  name: "JCOrgSelect",
5092
5096
  components: {
5093
5097
  JCTooltipEllipsis: xt,
@@ -5156,7 +5160,7 @@ const Dm = /* @__PURE__ */ F(qr, [["render", Wr]]), Hr = Z({
5156
5160
  var A;
5157
5161
  (A = l.value) == null || A.focus();
5158
5162
  });
5159
- }, I = () => {
5163
+ }, h = () => {
5160
5164
  var L;
5161
5165
  if (!((L = u.value) != null && L.length)) return;
5162
5166
  const A = [], m = (O) => {
@@ -5164,11 +5168,11 @@ const Dm = /* @__PURE__ */ F(qr, [["render", Wr]]), Hr = Z({
5164
5168
  (B = O.children) != null && B.length && O.children.forEach(m), (H = u.value) != null && H.includes(O[e.optionValue]) && A.push(O);
5165
5169
  };
5166
5170
  return (e.options || []).forEach(m), A;
5167
- }, h = N(() => {
5171
+ }, I = N(() => {
5168
5172
  var m;
5169
5173
  if (!((m = u.value) != null && m.length)) return;
5170
5174
  if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options);
5171
- const A = I();
5175
+ const A = h();
5172
5176
  return A == null ? void 0 : A.map((y) => y[e.optionLabel]).toString();
5173
5177
  }), p = N(() => e.options), v = N(() => i.value ? s.value : p.value), j = (A) => {
5174
5178
  if (s.value = [], !A) return;
@@ -5197,13 +5201,13 @@ const Dm = /* @__PURE__ */ F(qr, [["render", Wr]]), Hr = Z({
5197
5201
  A.preventDefault(), T();
5198
5202
  };
5199
5203
  return n({
5200
- getFullValue: I
5204
+ getFullValue: h
5201
5205
  }), {
5202
5206
  t: r,
5203
5207
  treeRef: o,
5204
5208
  filterInputRef: l,
5205
5209
  computedValue: u,
5206
- computedValueDisplay: h,
5210
+ computedValueDisplay: I,
5207
5211
  treeSelected: d,
5208
5212
  popupVisible: f,
5209
5213
  inputValue: i,
@@ -5211,7 +5215,7 @@ const Dm = /* @__PURE__ */ F(qr, [["render", Wr]]), Hr = Z({
5211
5215
  onPopupShow: g,
5212
5216
  handleClear: T,
5213
5217
  handleClearClick: b,
5214
- getFullValue: I
5218
+ getFullValue: h
5215
5219
  };
5216
5220
  }
5217
5221
  }), Jr = ["placeholder"], xr = {
@@ -5314,7 +5318,7 @@ function Kr(e, t, n, o, l, r) {
5314
5318
  _: 3
5315
5319
  }, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
5316
5320
  }
5317
- const bm = /* @__PURE__ */ F(Hr, [["render", Kr]]), vt = [
5321
+ const Dm = /* @__PURE__ */ F(Hr, [["render", Kr]]), At = [
5318
5322
  {
5319
5323
  platform: "EIM",
5320
5324
  path: "/orchestration/",
@@ -5465,10 +5469,10 @@ const ns = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24
5465
5469
  setup(e) {
5466
5470
  const { t, locale: n } = ne(), o = (i) => i.platform === e.platformName, l = (i) => rs[i.icon] || "", r = (i) => {
5467
5471
  window.location.href = i.path;
5468
- }, a = N(() => vt.filter((i) => ((e == null ? void 0 : e.userRoleList) ?? []).some((s) => s.platform === i.platform)));
5472
+ }, a = N(() => At.filter((i) => ((e == null ? void 0 : e.userRoleList) ?? []).some((s) => s.platform === i.platform)));
5469
5473
  return {
5470
5474
  handleClickPlatform: r,
5471
- platformList: vt,
5475
+ platformList: At,
5472
5476
  t,
5473
5477
  locale: n,
5474
5478
  isActive: o,
@@ -5513,7 +5517,7 @@ function ds(e, t, n, o, l, r) {
5513
5517
  }, 1024)
5514
5518
  ]))), 128);
5515
5519
  }
5516
- const Nm = /* @__PURE__ */ F(ss, [["render", ds], ["__scopeId", "data-v-c6725588"]]), tn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", oo = (e) => {
5520
+ const bm = /* @__PURE__ */ F(ss, [["render", ds], ["__scopeId", "data-v-c6725588"]]), tn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", oo = (e) => {
5517
5521
  localStorage.setItem("APP_SEARCH_HISTORY", e);
5518
5522
  }, fs = Z({
5519
5523
  name: "JQAutocomplete",
@@ -5538,33 +5542,33 @@ const Nm = /* @__PURE__ */ F(ss, [["render", ds], ["__scopeId", "data-v-c6725588
5538
5542
  uniqueKey: `search_history_${e.searchKey}`,
5539
5543
  visible: !1
5540
5544
  }), r = N(() => e.deletable ? 25 : 15), a = N(() => `search_history_${e.searchKey}`);
5541
- rt(() => {
5545
+ Ct(() => {
5542
5546
  i();
5543
5547
  }), W(
5544
5548
  () => e.modelValue,
5545
- (h) => {
5546
- l.filterList = l.list.filter((p) => p.value.includes(h));
5549
+ (I) => {
5550
+ l.filterList = l.list.filter((p) => p.value.includes(I));
5547
5551
  }
5548
5552
  );
5549
5553
  const i = () => {
5550
5554
  try {
5551
- const h = tn(), p = JSON.parse(h);
5555
+ const I = tn(), p = JSON.parse(I);
5552
5556
  l.list = p[a.value] || [];
5553
- } catch (h) {
5554
- console.error("Failed to load search history:", h), l.list = [];
5557
+ } catch (I) {
5558
+ console.error("Failed to load search history:", I), l.list = [];
5555
5559
  }
5556
5560
  }, s = () => {
5557
5561
  i();
5558
- const h = e.modelValue;
5559
- h ? l.filterList = l.list.filter((p) => p.value.includes(h)) : l.filterList = l.list, l.visible = !0;
5562
+ const I = e.modelValue;
5563
+ I ? l.filterList = l.list.filter((p) => p.value.includes(I)) : l.filterList = l.list, l.visible = !0;
5560
5564
  }, c = () => {
5561
5565
  l.visible = !1;
5562
5566
  }, u = () => {
5563
5567
  l.filterList = l.list, o.value.blur();
5564
- }, d = (h) => {
5565
- const p = l.list.findIndex((T) => T.id === h.id);
5568
+ }, d = (I) => {
5569
+ const p = l.list.findIndex((T) => T.id === I.id);
5566
5570
  p > -1 && l.list.splice(p, 1);
5567
- const v = l.filterList.findIndex((T) => T.id === h.id);
5571
+ const v = l.filterList.findIndex((T) => T.id === I.id);
5568
5572
  v > -1 && l.filterList.splice(v, 1);
5569
5573
  let j;
5570
5574
  try {
@@ -5573,13 +5577,13 @@ const Nm = /* @__PURE__ */ F(ss, [["render", ds], ["__scopeId", "data-v-c6725588
5573
5577
  j = {};
5574
5578
  }
5575
5579
  j[a.value] = l.list, oo(JSON.stringify(j));
5576
- }, f = (h) => {
5577
- const p = String(h ?? "").trim();
5580
+ }, f = (I) => {
5581
+ const p = String(I ?? "").trim();
5578
5582
  t("update:model-value", p), l.filterList = l.list.filter((v) => v.value.includes(p));
5579
- }, g = (h) => {
5580
- t("update:model-value", h.value), l.visible = !1;
5581
- }, I = (h) => {
5582
- const p = (h ?? "").trim();
5583
+ }, g = (I) => {
5584
+ t("update:model-value", I.value), l.visible = !1;
5585
+ }, h = (I) => {
5586
+ const p = (I ?? "").trim();
5583
5587
  if (!p || l.list.find((j) => j.value === p)) return;
5584
5588
  l.list.length >= e.maxLength && l.list.pop(), l.list.unshift({ id: +/* @__PURE__ */ new Date(), value: p });
5585
5589
  let v;
@@ -5590,7 +5594,7 @@ const Nm = /* @__PURE__ */ F(ss, [["render", ds], ["__scopeId", "data-v-c6725588
5590
5594
  }
5591
5595
  v[a.value] = l.list, oo(JSON.stringify(v));
5592
5596
  };
5593
- return n({ saveHistory: I }), {
5597
+ return n({ saveHistory: h }), {
5594
5598
  historyParams: l,
5595
5599
  inputRef: o,
5596
5600
  onBlur: c,
@@ -5599,7 +5603,7 @@ const Nm = /* @__PURE__ */ F(ss, [["render", ds], ["__scopeId", "data-v-c6725588
5599
5603
  onFocus: s,
5600
5604
  onSelectItem: g,
5601
5605
  onUpdateValue: f,
5602
- saveHistory: I,
5606
+ saveHistory: h,
5603
5607
  tooltipOffset: r,
5604
5608
  uniqueKey: a
5605
5609
  };
@@ -5665,7 +5669,7 @@ function Ms(e, t, n, o, l, r) {
5665
5669
  ])
5666
5670
  ]);
5667
5671
  }
5668
- const wm = /* @__PURE__ */ F(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1"]]), Mt = {
5672
+ const Nm = /* @__PURE__ */ F(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1"]]), yt = {
5669
5673
  LARGE: "large",
5670
5674
  NORMAL: "normal",
5671
5675
  SMALL: "small"
@@ -5714,8 +5718,8 @@ const wm = /* @__PURE__ */ F(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1
5714
5718
  */
5715
5719
  size: {
5716
5720
  type: String,
5717
- default: Mt.LARGE,
5718
- validator: (e) => Object.values(Mt).includes(e)
5721
+ default: yt.LARGE,
5722
+ validator: (e) => Object.values(yt).includes(e)
5719
5723
  },
5720
5724
  /**
5721
5725
  * 按钮类型
@@ -5787,9 +5791,9 @@ const wm = /* @__PURE__ */ F(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1
5787
5791
  const o = k(null), l = lt(wt, k([])), r = lt(Nt, k([])), a = N(() => e.items.filter((d) => d.code ? l.value.includes(d.code) || r.value.includes(d.code) : !0)), i = N(() => e.dropdownIcon || e.type === nn.SECONDARY ? "app:dropdown-btn" : "app:dropdown-btn-white"), s = N(() => ({
5788
5792
  "j-q-button-dropdown": !0,
5789
5793
  [`j-q-button-dropdown--${{
5790
- [Mt.LARGE]: "lg",
5791
- [Mt.NORMAL]: "md",
5792
- [Mt.SMALL]: "sm"
5794
+ [yt.LARGE]: "lg",
5795
+ [yt.NORMAL]: "md",
5796
+ [yt.SMALL]: "sm"
5793
5797
  }[e.size]}`]: !0,
5794
5798
  [`j-q-button-dropdown--${e.type}`]: !0,
5795
5799
  "j-q-button-dropdown--hide-arrow": e.hideDropdownArrow
@@ -5823,7 +5827,7 @@ const wm = /* @__PURE__ */ F(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1
5823
5827
  }
5824
5828
  }), Is = { class: "j-q-button-dropdown-list" };
5825
5829
  function As(e, t, n, o, l, r) {
5826
- const a = C("q-icon"), i = C("q-item-section"), s = C("q-item-label"), c = C("q-item"), u = C("q-list"), d = C("q-btn-dropdown"), f = Ct("close-popup");
5830
+ const a = C("q-icon"), i = C("q-item-section"), s = C("q-item-label"), c = C("q-item"), u = C("q-list"), d = C("q-btn-dropdown"), f = vt("close-popup");
5827
5831
  return e.filteredItems.length > 0 || e.$slots.default ? (M(), E(d, we({
5828
5832
  key: 0,
5829
5833
  ref: "qBtnDropdownRef",
@@ -5846,11 +5850,11 @@ function As(e, t, n, o, l, r) {
5846
5850
  R(e.$slots, "default", {}, () => [
5847
5851
  S(u, null, {
5848
5852
  default: D(() => [
5849
- (M(!0), z(_, null, ae(e.filteredItems, (g, I) => de((M(), E(c, {
5850
- key: I,
5853
+ (M(!0), z(_, null, ae(e.filteredItems, (g, h) => de((M(), E(c, {
5854
+ key: h,
5851
5855
  clickable: "",
5852
5856
  disable: g.disabled,
5853
- onClick: (h) => e.handleItemClick(g)
5857
+ onClick: (I) => e.handleItemClick(g)
5854
5858
  }, {
5855
5859
  default: D(() => [
5856
5860
  g.icon ? (M(), E(i, {
@@ -5897,7 +5901,7 @@ function As(e, t, n, o, l, r) {
5897
5901
  } : void 0
5898
5902
  ]), 1040, ["class", "dropdown-icon", "label", "disable", "menu-anchor", "menu-self", "menu-offset"])) : P("", !0);
5899
5903
  }
5900
- const jm = /* @__PURE__ */ F(hs, [["render", As], ["__scopeId", "data-v-16a9113b"]]), vs = Z({
5904
+ const wm = /* @__PURE__ */ F(hs, [["render", As], ["__scopeId", "data-v-16a9113b"]]), vs = Z({
5901
5905
  name: "JQCheckbox",
5902
5906
  components: {
5903
5907
  QField: Le,
@@ -6021,13 +6025,13 @@ function Ds(e, t, n, o, l, r) {
6021
6025
  _: 3
6022
6026
  }, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
6023
6027
  }
6024
- const Sm = /* @__PURE__ */ F(vs, [["render", Ds], ["__scopeId", "data-v-ba6df9a1"]]), bs = Z({
6028
+ const jm = /* @__PURE__ */ F(vs, [["render", Ds], ["__scopeId", "data-v-ba6df9a1"]]), bs = Z({
6025
6029
  name: "JQConfirm",
6026
6030
  components: {
6027
6031
  QPopupProxy: ze,
6028
6032
  QCard: Ke,
6029
6033
  QCardSection: _e,
6030
- JQButton: ct
6034
+ JQButton: ut
6031
6035
  },
6032
6036
  props: {
6033
6037
  title: {
@@ -6101,7 +6105,7 @@ function Ss(e, t, n, o, l, r) {
6101
6105
  }, 512)
6102
6106
  ]);
6103
6107
  }
6104
- const Tm = /* @__PURE__ */ F(bs, [["render", Ss], ["__scopeId", "data-v-e5c79a0f"]]), tt = "YYYY-MM-DD HH:mm:ss", on = (e) => {
6108
+ const Sm = /* @__PURE__ */ F(bs, [["render", Ss], ["__scopeId", "data-v-e5c79a0f"]]), tt = "YYYY-MM-DD HH:mm:ss", on = (e) => {
6105
6109
  if (e === null || typeof e > "u" || e === "") return null;
6106
6110
  if (typeof e == "number") return new Date(e);
6107
6111
  if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
@@ -6204,7 +6208,7 @@ const Tm = /* @__PURE__ */ F(bs, [["render", Ss], ["__scopeId", "data-v-e5c79a0f
6204
6208
  t("hide", p);
6205
6209
  }, g = () => {
6206
6210
  i.value = null, r.value.blur();
6207
- }, I = () => {
6211
+ }, h = () => {
6208
6212
  g();
6209
6213
  };
6210
6214
  return n({ closePopup: () => {
@@ -6213,7 +6217,7 @@ const Tm = /* @__PURE__ */ F(bs, [["render", Ss], ["__scopeId", "data-v-e5c79a0f
6213
6217
  t: a,
6214
6218
  fieldRef: r,
6215
6219
  handleClear: g,
6216
- handleClearClick: I,
6220
+ handleClearClick: h,
6217
6221
  computedValue: i,
6218
6222
  computedValueDisplay: s,
6219
6223
  popupVisible: l,
@@ -6297,7 +6301,7 @@ function ks(e, t, n, o, l, r) {
6297
6301
  _: 3
6298
6302
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
6299
6303
  }
6300
- const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_third_component_state`, lo = () => localStorage.getItem(qo), ao = (e) => {
6304
+ const Tm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_third_component_state`, lo = () => localStorage.getItem(qo), ao = (e) => {
6301
6305
  localStorage.setItem(qo, e);
6302
6306
  }, nt = "YYYY-MM-DD HH:mm:ss", ln = "YYYY/MM/DD", $s = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), Vs = (e, t) => {
6303
6307
  const n = t + 1;
@@ -6323,7 +6327,7 @@ const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_th
6323
6327
  QField: Le,
6324
6328
  QPopupProxy: ze,
6325
6329
  QDate: po,
6326
- QSelect: st,
6330
+ QSelect: rt,
6327
6331
  QIcon: re,
6328
6332
  QBtn: Te
6329
6333
  },
@@ -6349,25 +6353,25 @@ const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_th
6349
6353
  h: parseInt(e.endhhmmss[0], 10) || 0,
6350
6354
  m: parseInt(e.endhhmmss[1], 10) || 0,
6351
6355
  s: parseInt(e.endhhmmss[2], 10) || 0
6352
- }), I = k(!1);
6353
- let h = null;
6354
- rt(() => {
6356
+ }), h = k(!1);
6357
+ let I = null;
6358
+ Ct(() => {
6355
6359
  if (e.showTooltip)
6356
6360
  try {
6357
6361
  const Q = lo();
6358
6362
  if (Q) {
6359
6363
  const x = JSON.parse(Q);
6360
- I.value = x.datetimeTooltipVisible !== !1;
6364
+ h.value = x.datetimeTooltipVisible !== !1;
6361
6365
  } else
6362
- I.value = !0;
6366
+ h.value = !0;
6363
6367
  } catch {
6364
- I.value = !0;
6368
+ h.value = !0;
6365
6369
  }
6366
6370
  else
6367
- I.value = !1;
6371
+ h.value = !1;
6368
6372
  });
6369
6373
  const p = () => {
6370
- I.value = !1, h && (clearTimeout(h), h = null);
6374
+ h.value = !1, I && (clearTimeout(I), I = null);
6371
6375
  try {
6372
6376
  const Q = lo();
6373
6377
  let x = Q ? JSON.parse(Q) : {};
@@ -6451,7 +6455,7 @@ const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_th
6451
6455
  let le = parseInt(G, 10);
6452
6456
  isNaN(le) && (le = 0), Q[x] = $s(le, V), B(J);
6453
6457
  }
6454
- }), oe = H(T, "h", 23, "from"), fe = H(T, "m", 59, "from"), te = H(T, "s", 59, "from"), se = H(b, "h", 23, "to"), pe = H(b, "m", 59, "to"), ge = H(b, "s", 59, "to"), ue = H(y, "h", 23, "single"), ce = H(y, "m", 59, "single"), Ve = H(y, "s", 59, "single"), ft = () => r.value = !1, be = () => {
6458
+ }), oe = H(T, "h", 23, "from"), fe = H(T, "m", 59, "from"), te = H(T, "s", 59, "from"), se = H(b, "h", 23, "to"), pe = H(b, "m", 59, "to"), ge = H(b, "s", 59, "to"), ue = H(y, "h", 23, "single"), ce = H(y, "m", 59, "single"), Ve = H(y, "s", 59, "single"), dt = () => r.value = !1, be = () => {
6455
6459
  var Q;
6456
6460
  i.value = !0, e.range ? (v.value = { from: null, to: null }, Object.assign(T, { h: 0, m: 0, s: 0 }), Object.assign(b, g()), j.value = { from: "", to: "" }) : (A.value = null, Object.assign(y, { h: 0, m: 0, s: 0 }), m.value = ""), L.value = null, (Q = a.value) == null || Q.blur(), r.value = !1, setTimeout(() => i.value = !1, 0);
6457
6461
  }, Y = () => {
@@ -6475,10 +6479,10 @@ const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_th
6475
6479
  }
6476
6480
  return "";
6477
6481
  }), Be = () => {
6478
- e.disable || e.readonly || (O(), r.value = !0, I.value && (h && clearTimeout(h), h = setTimeout(() => {
6482
+ e.disable || e.readonly || (O(), r.value = !0, h.value && (I && clearTimeout(I), I = setTimeout(() => {
6479
6483
  p();
6480
6484
  }, 2e3)));
6481
- }, pt = (Q) => {
6485
+ }, ft = (Q) => {
6482
6486
  t("hide", Q);
6483
6487
  };
6484
6488
  return n({ closePopup: () => {
@@ -6490,7 +6494,7 @@ const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_th
6490
6494
  handleClear: be,
6491
6495
  handleClearClick: Y,
6492
6496
  handleFieldClick: Be,
6493
- handleConfirm: ft,
6497
+ handleConfirm: dt,
6494
6498
  handleTimeWheel: U,
6495
6499
  computedValue: L,
6496
6500
  computedValueDisplay: me,
@@ -6511,9 +6515,9 @@ const zm = /* @__PURE__ */ F(Ts, [["render", ks]]), Os = "rtcpt", qo = `${Os}_th
6511
6515
  fromTimeParts: T,
6512
6516
  toTimeParts: b,
6513
6517
  singleTimeParts: y,
6514
- onHidePopup: pt,
6518
+ onHidePopup: ft,
6515
6519
  slots: o,
6516
- showScrollTooltip: I,
6520
+ showScrollTooltip: h,
6517
6521
  closeTooltip: p
6518
6522
  };
6519
6523
  }
@@ -6753,7 +6757,7 @@ function Xs(e, t, n, o, l, r) {
6753
6757
  _: 3
6754
6758
  }, 8, ["class", "model-value", "dense", "disable", "readonly", "label", "outlined", "rules", "title", "onClick"]);
6755
6759
  }
6756
- const Lm = /* @__PURE__ */ F(Es, [["render", Xs]]), eu = Z({
6760
+ const zm = /* @__PURE__ */ F(Es, [["render", Xs]]), eu = Z({
6757
6761
  name: "JQMonthList",
6758
6762
  components: { QBtn: Te },
6759
6763
  props: {
@@ -6796,11 +6800,11 @@ const Lm = /* @__PURE__ */ F(Es, [["render", Xs]]), eu = Z({
6796
6800
  }, g = (b) => {
6797
6801
  const { YYYY: A, MI: m } = b;
6798
6802
  t("pick", new Date(A, m).getTime());
6799
- }, I = (b) => {
6803
+ }, h = (b) => {
6800
6804
  if (!e.modelValue || !e.range) return !1;
6801
6805
  const A = new Date(e.modelValue.from), { YYYY: m, MI: y } = b;
6802
6806
  return A.getFullYear() === m && A.getMonth() === y;
6803
- }, h = (b) => {
6807
+ }, I = (b) => {
6804
6808
  if (!e.modelValue || !e.range) return !1;
6805
6809
  const { from: A, to: m } = e.modelValue, { YYYY: y, MI: L } = b, O = new Date(y, L).getTime();
6806
6810
  return new Date(A).getTime() < O && O < new Date(m).getTime();
@@ -6819,13 +6823,13 @@ const Lm = /* @__PURE__ */ F(Es, [["render", Xs]]), eu = Z({
6819
6823
  isItemRanging: d,
6820
6824
  isItemDisabled: f,
6821
6825
  pickItem: g,
6822
- isItemActiveFrom: I,
6823
- isItemActiveIn: h,
6826
+ isItemActiveFrom: h,
6827
+ isItemActiveIn: I,
6824
6828
  isItemActiveTo: p,
6825
6829
  isCurrentMonth: (b) => b.YYYY === v.getFullYear() && b.MI === v.getMonth(),
6826
6830
  isItemActive: (b) => {
6827
6831
  if (!e.modelValue) return !1;
6828
- if (e.range) return I(b) || p(b);
6832
+ if (e.range) return h(b) || p(b);
6829
6833
  const A = new Date(e.modelValue), { YYYY: m, MI: y } = b;
6830
6834
  return A.getFullYear() === m && A.getMonth() === y;
6831
6835
  }
@@ -7075,14 +7079,14 @@ const Bo = /* @__PURE__ */ F(du, [["render", gu]]), mu = Z({
7075
7079
  }
7076
7080
  r.value = new Date(p).getFullYear() || n.getFullYear();
7077
7081
  })();
7078
- const g = N(() => a.value ? `options-container-${a.value}` : "options-container"), I = k(void 0);
7082
+ const g = N(() => a.value ? `options-container-${a.value}` : "options-container"), h = k(void 0);
7079
7083
  return {
7080
7084
  computedValue: l,
7081
7085
  year: r,
7082
7086
  yearDate: s,
7083
7087
  yearPopupVisible: i,
7084
7088
  computedOptionsContainerName: g,
7085
- rangeStartValue: I,
7089
+ rangeStartValue: h,
7086
7090
  setYear: c,
7087
7091
  handleYearUpdate: u,
7088
7092
  openYearPopup: d,
@@ -7090,11 +7094,11 @@ const Bo = /* @__PURE__ */ F(du, [["render", gu]]), mu = Z({
7090
7094
  pick: (p) => {
7091
7095
  let v = p;
7092
7096
  if (e.range) {
7093
- if (!I.value) {
7094
- I.value = p;
7097
+ if (!h.value) {
7098
+ h.value = p;
7095
7099
  return;
7096
7100
  }
7097
- v = { from: Math.min(I.value, p), to: Math.max(I.value, p) }, I.value = void 0;
7101
+ v = { from: Math.min(h.value, p), to: Math.max(h.value, p) }, h.value = void 0;
7098
7102
  }
7099
7103
  l.value = v;
7100
7104
  }
@@ -7212,8 +7216,8 @@ const Au = /* @__PURE__ */ F(mu, [["render", Iu]]), vu = Z({
7212
7216
  if (!r.value) return r.value;
7213
7217
  try {
7214
7218
  if (e.range) {
7215
- const { from: d, to: f } = r.value, g = i.value.format(new Date(d)), I = i.value.format(new Date(f));
7216
- return `${g} - ${I}`;
7219
+ const { from: d, to: f } = r.value, g = i.value.format(new Date(d)), h = i.value.format(new Date(f));
7220
+ return `${g} - ${h}`;
7217
7221
  }
7218
7222
  return i.value.format(new Date(r.value));
7219
7223
  } catch {
@@ -7286,7 +7290,7 @@ function Du(e, t, n, o, l, r) {
7286
7290
  _: 3
7287
7291
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
7288
7292
  }
7289
- const km = /* @__PURE__ */ F(vu, [["render", Du]]), bu = (e) => {
7293
+ const Lm = /* @__PURE__ */ F(vu, [["render", Du]]), bu = (e) => {
7290
7294
  if (e === null || typeof e > "u") return null;
7291
7295
  if (e instanceof Date) return e;
7292
7296
  if (typeof e == "number") return new Date(e);
@@ -7399,11 +7403,11 @@ function ju(e, t, n, o, l, r) {
7399
7403
  _: 3
7400
7404
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
7401
7405
  }
7402
- const Om = /* @__PURE__ */ F(Nu, [["render", ju]]), $e = "ngiot__management__frontend__storge__", Su = `${$e}_username`, Tu = () => localStorage.removeItem(Su), zu = `${$e}_userinfo`, Lu = () => localStorage.removeItem(zu), ku = `${$e}cmp_userinfo`, Ou = () => localStorage.removeItem(ku), $u = `${$e}_currentOrg`, Vu = () => localStorage.removeItem($u), Eu = `${$e}_pagePermissionID`, Pu = () => localStorage.removeItem(Eu), Yu = `${$e}_pageActionPermissionID`, Ru = () => localStorage.removeItem(Yu), Qu = `${$e}_token`, qu = () => localStorage.removeItem(Qu), Bu = () => {
7403
- for (let e of vt)
7406
+ const km = /* @__PURE__ */ F(Nu, [["render", ju]]), $e = "ngiot__management__frontend__storge__", Su = `${$e}_username`, Tu = () => localStorage.removeItem(Su), zu = `${$e}_userinfo`, Lu = () => localStorage.removeItem(zu), ku = `${$e}cmp_userinfo`, Ou = () => localStorage.removeItem(ku), $u = `${$e}_currentOrg`, Vu = () => localStorage.removeItem($u), Eu = `${$e}_pagePermissionID`, Pu = () => localStorage.removeItem(Eu), Yu = `${$e}_pageActionPermissionID`, Ru = () => localStorage.removeItem(Yu), Qu = `${$e}_token`, qu = () => localStorage.removeItem(Qu), Bu = () => {
7407
+ for (let e of At)
7404
7408
  localStorage.removeItem(`${$e}_${e.platform}_sidebarStatus`);
7405
7409
  }, Uu = () => {
7406
- for (let e of vt)
7410
+ for (let e of At)
7407
7411
  localStorage.removeItem(`${$e}_${e.platform}_tagsView`);
7408
7412
  }, Zu = () => {
7409
7413
  Bu(), Uu(), Tu(), Lu(), Ou(), Vu(), Pu(), Ru(), qu();
@@ -7441,7 +7445,7 @@ function Zo(e) {
7441
7445
  }
7442
7446
  return e;
7443
7447
  }
7444
- function It(e, t = "YYYY-MM-DD HH:mm:ss") {
7448
+ function ht(e, t = "YYYY-MM-DD HH:mm:ss") {
7445
7449
  const n = Zo(e);
7446
7450
  return mn(n ? ee.formatDate(n, t) : e);
7447
7451
  }
@@ -7504,12 +7508,12 @@ const xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7504
7508
  defaultDateFormat: Fu,
7505
7509
  defaultFill: mn,
7506
7510
  defaultFormat: Pn,
7507
- formatDate: It,
7511
+ formatDate: ht,
7508
7512
  formatSize: Uo,
7509
7513
  getNavLogo: ts,
7510
7514
  getTitle: es,
7511
7515
  getUpperSize: zt,
7512
- platformList: vt,
7516
+ platformList: At,
7513
7517
  resetVariables: Zu,
7514
7518
  setTitleAndLogo: Xr
7515
7519
  }, Symbol.toStringTag, { value: "Module" })), Gu = Z({
@@ -7544,70 +7548,70 @@ const xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7544
7548
  },
7545
7549
  slots: Object,
7546
7550
  setup(e, { slots: t }) {
7547
- const { t: n } = ne(), o = (h) => h.visible === void 0 || h.visible === null ? !0 : typeof h.visible == "boolean" ? h.visible : typeof h.visible == "function" ? h.visible(e.data) : !0, l = N(() => e.items.filter((h) => o(h))), r = N(() => e.layout === "horizontal-left" ? {
7551
+ const { t: n } = ne(), o = (I) => I.visible === void 0 || I.visible === null ? !0 : typeof I.visible == "boolean" ? I.visible : typeof I.visible == "function" ? I.visible(e.data) : !0, l = N(() => e.items.filter((I) => o(I))), r = N(() => e.layout === "horizontal-left" ? {
7548
7552
  "--label-width": e.labelWidth
7549
- } : {}), a = N(() => e.items.filter((h) => Reflect.has(t, `item-value-${h.name}`))), i = (h, p) => {
7550
- const { options: v, findByKey: j, displayKey: T = "label" } = h;
7553
+ } : {}), a = N(() => e.items.filter((I) => Reflect.has(t, `item-value-${I.name}`))), i = (I, p) => {
7554
+ const { options: v, findByKey: j, displayKey: T = "label" } = I;
7551
7555
  if (!v || !j)
7552
7556
  return p;
7553
7557
  const b = v.find((A) => String(A[j]) === String(p));
7554
7558
  return b ? b[T] : p;
7555
- }, s = (h) => {
7556
- let p = e.data[h.name];
7559
+ }, s = (I) => {
7560
+ let p = e.data[I.name];
7557
7561
  if (p == null || p === "")
7558
7562
  return "-";
7559
- if (h.options && h.findByKey && (p = i(h, p)), h.format && typeof h.format == "function" && (p = h.format(p, e.data)), h.date) {
7560
- if (h.date === !0 && typeof h.date == "boolean")
7561
- return It(p);
7562
- if (typeof h.date == "string")
7563
- return It(p, h.date);
7563
+ if (I.options && I.findByKey && (p = i(I, p)), I.format && typeof I.format == "function" && (p = I.format(p, e.data)), I.date) {
7564
+ if (I.date === !0 && typeof I.date == "boolean")
7565
+ return ht(p);
7566
+ if (typeof I.date == "string")
7567
+ return ht(p, I.date);
7564
7568
  }
7565
7569
  return String(p);
7566
- }, c = (h) => {
7567
- let p = e.data[h.name];
7568
- const { options: v, findByKey: j } = h;
7570
+ }, c = (I) => {
7571
+ let p = e.data[I.name];
7572
+ const { options: v, findByKey: j } = I;
7569
7573
  if (!v || !j)
7570
7574
  return "";
7571
7575
  const T = v.find((b) => String(b[j]) === String(p));
7572
7576
  return T ? T.class : "";
7573
- }, u = (h) => h.onClick ? h.clickable === void 0 || h.clickable === null ? !0 : typeof h.clickable == "boolean" ? h.clickable : typeof h.clickable == "function" ? h.clickable(e.data) : !1 : !1;
7577
+ }, u = (I) => I.onClick ? I.clickable === void 0 || I.clickable === null ? !0 : typeof I.clickable == "boolean" ? I.clickable : typeof I.clickable == "function" ? I.clickable(e.data) : !1 : !1;
7574
7578
  return {
7575
7579
  t: n,
7576
7580
  visibleItems: l,
7577
7581
  getOptionClass: c,
7578
7582
  computedSlotItems: a,
7579
7583
  getDefaultValue: s,
7580
- getCopyValue: (h) => {
7581
- let p = e.data[h.name];
7584
+ getCopyValue: (I) => {
7585
+ let p = e.data[I.name];
7582
7586
  if (p == null || p === "")
7583
7587
  return "";
7584
- if (h.options && h.findByKey && (p = i(h, p)), h.format && typeof h.format == "function" && (p = h.format(p, e.data), typeof p == "string" && p.includes("<"))) {
7588
+ if (I.options && I.findByKey && (p = i(I, p)), I.format && typeof I.format == "function" && (p = I.format(p, e.data), typeof p == "string" && p.includes("<"))) {
7585
7589
  const v = document.createElement("div");
7586
7590
  v.innerHTML = p, p = v.textContent || v.innerText || "";
7587
7591
  }
7588
- if (h.date) {
7589
- if (h.date === !0 && typeof h.date == "boolean")
7590
- return It(p);
7591
- if (typeof h.date == "string")
7592
- return It(p, h.date);
7592
+ if (I.date) {
7593
+ if (I.date === !0 && typeof I.date == "boolean")
7594
+ return ht(p);
7595
+ if (typeof I.date == "string")
7596
+ return ht(p, I.date);
7593
7597
  }
7594
7598
  return String(p);
7595
7599
  },
7596
7600
  slots: t,
7597
7601
  containerStyle: r,
7598
7602
  isClickable: u,
7599
- handleClick: (h) => {
7600
- if (!u(h) || !h.onClick) return;
7601
- const p = s(h);
7602
- h.onClick(p);
7603
+ handleClick: (I) => {
7604
+ if (!u(I) || !I.onClick) return;
7605
+ const p = s(I);
7606
+ I.onClick(p);
7603
7607
  },
7604
- getHtmlStyle: (h) => ({
7605
- "-webkit-line-clamp": h.whiteSpace || 1
7608
+ getHtmlStyle: (I) => ({
7609
+ "-webkit-line-clamp": I.whiteSpace || 1
7606
7610
  }),
7607
- handleDetailClick: (h) => {
7608
- if (!h.onDetailClick) return;
7609
- const p = s(h);
7610
- h.onDetailClick(p, e.data);
7611
+ handleDetailClick: (I) => {
7612
+ if (!I.onDetailClick) return;
7613
+ const p = s(I);
7614
+ I.onDetailClick(p, e.data);
7611
7615
  }
7612
7616
  };
7613
7617
  }
@@ -7848,13 +7852,13 @@ function yc(e, t, n, o, l, r) {
7848
7852
  ], 2))), 128))
7849
7853
  ], 6)) : P("", !0);
7850
7854
  }
7851
- const $m = /* @__PURE__ */ F(Gu, [["render", yc], ["__scopeId", "data-v-100bb9c9"]]), Mc = Z({
7855
+ const Om = /* @__PURE__ */ F(Gu, [["render", yc], ["__scopeId", "data-v-100bb9c9"]]), Mc = Z({
7852
7856
  name: "JQFile",
7853
7857
  components: {
7854
7858
  QField: Le,
7855
7859
  QIcon: re,
7856
7860
  QBtn: Te,
7857
- JQButton: ct,
7861
+ JQButton: ut,
7858
7862
  JCTooltipEllipsis: xt
7859
7863
  },
7860
7864
  props: {
@@ -7897,12 +7901,12 @@ const $m = /* @__PURE__ */ F(Gu, [["render", yc], ["__scopeId", "data-v-100bb9c9
7897
7901
  }, g = (y) => {
7898
7902
  const L = y.target, O = u(L.files);
7899
7903
  O.length && d(O), L.value = "";
7900
- }, I = (y) => {
7904
+ }, h = (y) => {
7901
7905
  var O;
7902
7906
  i.value = !1;
7903
7907
  const L = u((O = y.dataTransfer) == null ? void 0 : O.files);
7904
7908
  L.length && d(L);
7905
- }, h = () => {
7909
+ }, I = () => {
7906
7910
  i.value = !0;
7907
7911
  }, p = () => {
7908
7912
  i.value = !0;
@@ -7934,10 +7938,10 @@ const $m = /* @__PURE__ */ F(Gu, [["render", yc], ["__scopeId", "data-v-100bb9c9
7934
7938
  inputFile: g,
7935
7939
  repickFile: T,
7936
7940
  handleTemplateDownload: b,
7937
- dragenter: h,
7941
+ dragenter: I,
7938
7942
  dragover: p,
7939
7943
  dragleave: v,
7940
- dropFile: I,
7944
+ dropFile: h,
7941
7945
  getFileSizeDisplay: j,
7942
7946
  deleteFile: A,
7943
7947
  hasSlotHint: m
@@ -8100,7 +8104,7 @@ function Ec(e, t, n, o, l, r) {
8100
8104
  ])) : P("", !0)
8101
8105
  ]);
8102
8106
  }
8103
- const Vm = /* @__PURE__ */ F(Mc, [["render", Ec]]);
8107
+ const $m = /* @__PURE__ */ F(Mc, [["render", Ec]]);
8104
8108
  function Pc(e, t) {
8105
8109
  let n = null;
8106
8110
  return ((...o) => {
@@ -8238,9 +8242,9 @@ const Yc = Z({
8238
8242
  );
8239
8243
  const g = (p) => {
8240
8244
  t("change", p, a.value);
8241
- }, I = N(() => e.inputRules.some((p) => p("") !== !0)), h = N(() => {
8245
+ }, h = N(() => e.inputRules.some((p) => p("") !== !0)), I = N(() => {
8242
8246
  const p = [];
8243
- e.inputRules.length > 0 && p.push(...e.inputRules), I.value && p.push((j) => j && j.trim() && a.value.length === 0 ? o("messages.inputRecognize.noValidItems") : !0);
8247
+ e.inputRules.length > 0 && p.push(...e.inputRules), h.value && p.push((j) => j && j.trim() && a.value.length === 0 ? o("messages.inputRecognize.noValidItems") : !0);
8244
8248
  const v = e.max;
8245
8249
  return v !== void 0 && p.push((j) => {
8246
8250
  const T = i(j);
@@ -8264,7 +8268,7 @@ const Yc = Z({
8264
8268
  inputRef: l,
8265
8269
  inputValue: r,
8266
8270
  recognizedItems: a,
8267
- computedInputRules: h,
8271
+ computedInputRules: I,
8268
8272
  handleChange: g
8269
8273
  };
8270
8274
  }
@@ -8299,10 +8303,10 @@ function Uc(e, t, n, o, l, r) {
8299
8303
  ])) : P("", !0)
8300
8304
  ]);
8301
8305
  }
8302
- const Em = /* @__PURE__ */ F(Yc, [["render", Uc], ["__scopeId", "data-v-16499563"]]), Zc = Z({
8306
+ const Vm = /* @__PURE__ */ F(Yc, [["render", Uc], ["__scopeId", "data-v-16499563"]]), Zc = Z({
8303
8307
  name: "JQNewValue",
8304
8308
  components: {
8305
- QSelect: st,
8309
+ QSelect: rt,
8306
8310
  QIcon: re
8307
8311
  },
8308
8312
  props: {
@@ -8323,12 +8327,12 @@ const Em = /* @__PURE__ */ F(Yc, [["render", Uc], ["__scopeId", "data-v-16499563
8323
8327
  "update:modelValue": (e) => !0
8324
8328
  },
8325
8329
  setup(e, { emit: t, expose: n, slots: o }) {
8326
- const l = k(e.modelValue ?? []), r = k(null), { t: a } = ne(), i = k(""), s = N(() => Object.keys(o)), c = (I, h) => {
8327
- h(() => {
8330
+ const l = k(e.modelValue ?? []), r = k(null), { t: a } = ne(), i = k(""), s = N(() => Object.keys(o)), c = (h, I) => {
8331
+ I(() => {
8328
8332
  });
8329
- }, u = (I, h) => {
8333
+ }, u = (h, I) => {
8330
8334
  var v, j, T;
8331
- const p = I.trim();
8335
+ const p = h.trim();
8332
8336
  if (i.value = "", p.length > 0) {
8333
8337
  if (e.maxlength > 0 && l.value && l.value.length >= e.maxlength) {
8334
8338
  i.value = a("messages.formRules.maxLengthExceeded", { max: e.maxlength }), (v = r.value) == null || v.focus();
@@ -8340,37 +8344,37 @@ const Em = /* @__PURE__ */ F(Yc, [["render", Uc], ["__scopeId", "data-v-16499563
8340
8344
  }
8341
8345
  let b = !0;
8342
8346
  const { name: A, args: m } = di(e.addRulesName);
8343
- e.addRulesName && (b = fi(A, p, m, a)), b === !0 && h(p, "add"), b !== !0 && (i.value = b, (T = r.value) == null || T.focus());
8347
+ e.addRulesName && (b = fi(A, p, m, a)), b === !0 && I(p, "add"), b !== !0 && (i.value = b, (T = r.value) == null || T.focus());
8344
8348
  }
8345
8349
  };
8346
8350
  W(
8347
8351
  () => e.modelValue,
8348
- (I) => {
8349
- I !== l.value && (l.value = I);
8352
+ (h) => {
8353
+ h !== l.value && (l.value = h);
8350
8354
  },
8351
8355
  { immediate: !0 }
8352
8356
  ), W(
8353
8357
  () => l.value,
8354
- (I) => {
8355
- var h;
8356
- t("update:modelValue", I), i.value = "", e.rules && e.rules.length > 0 && ((h = r.value) == null || h.validate());
8358
+ (h) => {
8359
+ var I;
8360
+ t("update:modelValue", h), i.value = "", e.rules && e.rules.length > 0 && ((I = r.value) == null || I.validate());
8357
8361
  }
8358
8362
  );
8359
- const d = (I) => {
8360
- l.value = I, t("update:modelValue", I);
8361
- }, f = (I) => {
8362
- t("change", I);
8363
+ const d = (h) => {
8364
+ l.value = h, t("update:modelValue", h);
8365
+ }, f = (h) => {
8366
+ t("change", h);
8363
8367
  }, g = () => {
8364
8368
  i.value = "";
8365
8369
  };
8366
8370
  return n({
8367
8371
  validate: () => {
8368
- var I;
8369
- return ((I = r.value) == null ? void 0 : I.validate()) ?? !1;
8372
+ var h;
8373
+ return ((h = r.value) == null ? void 0 : h.validate()) ?? !1;
8370
8374
  },
8371
8375
  resetValidation: () => {
8372
- var I;
8373
- return (I = r.value) == null ? void 0 : I.resetValidation();
8376
+ var h;
8377
+ return (h = r.value) == null ? void 0 : h.resetValidation();
8374
8378
  }
8375
8379
  }), {
8376
8380
  t: a,
@@ -8440,7 +8444,7 @@ function Wc(e, t, n, o, l, r) {
8440
8444
  } : void 0
8441
8445
  ]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
8442
8446
  }
8443
- const Pm = /* @__PURE__ */ F(Zc, [["render", Wc]]), Hc = Z({
8447
+ const Em = /* @__PURE__ */ F(Zc, [["render", Wc]]), Hc = Z({
8444
8448
  name: "JQOptionGroup",
8445
8449
  components: {
8446
8450
  QField: Le,
@@ -8565,7 +8569,7 @@ function Jc(e, t, n, o, l, r) {
8565
8569
  _: 1
8566
8570
  }, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
8567
8571
  }
8568
- const Ym = /* @__PURE__ */ F(Hc, [["render", Jc], ["__scopeId", "data-v-f0ca5e31"]]), xc = Z({
8572
+ const Pm = /* @__PURE__ */ F(Hc, [["render", Jc], ["__scopeId", "data-v-f0ca5e31"]]), xc = Z({
8569
8573
  name: "JQPopover",
8570
8574
  components: {
8571
8575
  QPopupProxy: ze,
@@ -8585,44 +8589,82 @@ const Ym = /* @__PURE__ */ F(Hc, [["render", Jc], ["__scopeId", "data-v-f0ca5e31
8585
8589
  type: String,
8586
8590
  default: "click",
8587
8591
  validator: (e) => ["click", "hover"].includes(e)
8592
+ },
8593
+ showDelay: {
8594
+ type: Number,
8595
+ default: 0
8596
+ },
8597
+ hideDelay: {
8598
+ type: Number,
8599
+ default: 0
8600
+ },
8601
+ offset: {
8602
+ type: Array,
8603
+ default: () => [12, 12]
8588
8604
  }
8589
8605
  },
8590
8606
  slots: Object,
8591
- setup(e) {
8592
- const t = k(null), n = k(null), o = N(() => {
8593
- let i = e.width;
8594
- return typeof i == "number" && (i = `${i}px`), {
8595
- minWidth: i
8607
+ setup(e, { expose: t }) {
8608
+ const n = k(), o = k();
8609
+ let l = null, r = null;
8610
+ const a = N(() => {
8611
+ let h = e.width;
8612
+ return typeof h == "number" && (h = `${h}px`), {
8613
+ minWidth: h
8596
8614
  };
8597
- }), l = () => {
8598
- e.trigger === "click" && t.value && t.value.toggle();
8599
- }, r = () => {
8600
- e.trigger === "hover" && t.value && t.value.show();
8601
- }, a = () => {
8602
- e.trigger === "hover" && t.value && t.value.hide();
8615
+ }), i = () => {
8616
+ l && (clearTimeout(l), l = null), r && (clearTimeout(r), r = null);
8617
+ }, s = () => {
8618
+ var h;
8619
+ e.trigger === "click" && ((h = n.value) == null || h.toggle());
8620
+ }, c = () => {
8621
+ var h;
8622
+ e.trigger === "hover" && (r && (clearTimeout(r), r = null), e.showDelay > 0 ? l = setTimeout(() => {
8623
+ var I;
8624
+ return (I = n.value) == null ? void 0 : I.show();
8625
+ }, e.showDelay) : (h = n.value) == null || h.show());
8626
+ }, u = () => {
8627
+ var h;
8628
+ e.trigger === "hover" && (l && (clearTimeout(l), l = null), e.hideDelay > 0 ? r = setTimeout(() => {
8629
+ var I;
8630
+ return (I = n.value) == null ? void 0 : I.hide();
8631
+ }, e.hideDelay) : (h = n.value) == null || h.hide());
8603
8632
  };
8604
- return rt(() => {
8605
- var s;
8606
- const i = ((s = n.value) == null ? void 0 : s.$el) || document.querySelector(".inline-block");
8607
- i && (e.trigger === "click" ? i.addEventListener("click", l) : e.trigger === "hover" && (i.addEventListener("mouseenter", r), i.addEventListener("mouseleave", a)));
8608
- }), so(() => {
8609
- var s;
8610
- const i = ((s = n.value) == null ? void 0 : s.$el) || document.querySelector(".inline-block");
8611
- i && (e.trigger === "click" ? i.removeEventListener("click", l) : e.trigger === "hover" && (i.removeEventListener("mouseenter", r), i.removeEventListener("mouseleave", a)));
8633
+ return t({ show: () => {
8634
+ var h;
8635
+ return (h = n.value) == null ? void 0 : h.show();
8636
+ }, hide: () => {
8637
+ var h;
8638
+ return (h = n.value) == null ? void 0 : h.hide();
8639
+ }, toggle: () => {
8640
+ var h;
8641
+ return (h = n.value) == null ? void 0 : h.toggle();
8642
+ } }), so(() => {
8643
+ i();
8612
8644
  }), {
8613
- popupRef: t,
8614
- rootRef: n,
8615
- popoverStyle: o
8645
+ popupRef: n,
8646
+ rootRef: o,
8647
+ popoverStyle: a,
8648
+ onTriggerClick: s,
8649
+ onTriggerMouseEnter: c,
8650
+ onTriggerMouseLeave: u
8616
8651
  };
8617
8652
  }
8618
- }), Gc = { class: "inline-block" }, _c = { class: "text-body2 text-grey" };
8619
- function Kc(e, t, n, o, l, r) {
8653
+ }), Gc = { class: "text-body2 text-grey" };
8654
+ function _c(e, t, n, o, l, r) {
8620
8655
  const a = C("q-card-section"), i = C("q-card"), s = C("q-popup-proxy");
8621
- return M(), z("div", Gc, [
8656
+ return M(), z("div", {
8657
+ ref: "rootRef",
8658
+ class: "j-q-popover-root",
8659
+ onClick: t[0] || (t[0] = (...c) => e.onTriggerClick && e.onTriggerClick(...c)),
8660
+ onMouseenter: t[1] || (t[1] = (...c) => e.onTriggerMouseEnter && e.onTriggerMouseEnter(...c)),
8661
+ onMouseleave: t[2] || (t[2] = (...c) => e.onTriggerMouseLeave && e.onTriggerMouseLeave(...c))
8662
+ }, [
8622
8663
  R(e.$slots, "default", {}, void 0, !0),
8623
8664
  S(s, {
8624
8665
  ref: "popupRef",
8625
- offset: [12, 12]
8666
+ offset: e.offset,
8667
+ "no-parent-event": ""
8626
8668
  }, {
8627
8669
  default: D(() => [
8628
8670
  S(i, {
@@ -8634,7 +8676,7 @@ function Kc(e, t, n, o, l, r) {
8634
8676
  S(a, { class: "q-pa-sm" }, {
8635
8677
  default: D(() => [
8636
8678
  R(e.$slots, "content", {}, () => [
8637
- w("span", _c, $(e.title), 1)
8679
+ w("span", Gc, $(e.title), 1)
8638
8680
  ], !0)
8639
8681
  ]),
8640
8682
  _: 3
@@ -8644,13 +8686,13 @@ function Kc(e, t, n, o, l, r) {
8644
8686
  }, 8, ["style"])
8645
8687
  ]),
8646
8688
  _: 3
8647
- }, 512)
8648
- ]);
8689
+ }, 8, ["offset"])
8690
+ ], 544);
8649
8691
  }
8650
- const Rm = /* @__PURE__ */ F(xc, [["render", Kc], ["__scopeId", "data-v-8de7d551"]]), Xc = Z({
8692
+ const Ym = /* @__PURE__ */ F(xc, [["render", _c], ["__scopeId", "data-v-52c3066c"]]), Kc = Z({
8651
8693
  name: "jQSearchForm",
8652
8694
  components: {
8653
- JQButton: ct
8695
+ JQButton: ut
8654
8696
  },
8655
8697
  props: {
8656
8698
  modelValue: { type: Object, required: !0 },
@@ -8687,22 +8729,22 @@ const Rm = /* @__PURE__ */ F(xc, [["render", Kc], ["__scopeId", "data-v-8de7d551
8687
8729
  handleClickReset: i
8688
8730
  };
8689
8731
  }
8690
- }), ed = {
8732
+ }), Xc = {
8691
8733
  ref: "searchFormRef",
8692
8734
  class: "j-q-search-bar"
8693
- }, td = { class: "search-bar-container" }, nd = { class: "search--bar-items-wrapper" }, od = { class: "search--bar-items" }, ld = {
8735
+ }, ed = { class: "search-bar-container" }, td = { class: "search--bar-items-wrapper" }, nd = { class: "search--bar-items" }, od = {
8694
8736
  key: 0,
8695
8737
  class: "default-operation-buttons"
8696
- }, ad = { class: "search-bar-extra-operation" };
8697
- function id(e, t, n, o, l, r) {
8738
+ }, ld = { class: "search-bar-extra-operation" };
8739
+ function ad(e, t, n, o, l, r) {
8698
8740
  const a = C("j-q-button");
8699
8741
  return M(), z("div", null, [
8700
- w("div", ed, [
8701
- w("div", td, [
8702
- w("div", nd, [
8703
- w("div", od, [
8742
+ w("div", Xc, [
8743
+ w("div", ed, [
8744
+ w("div", td, [
8745
+ w("div", nd, [
8704
8746
  R(e.$slots, "default"),
8705
- e.operationVisible ? (M(), z("div", ld, [
8747
+ e.operationVisible ? (M(), z("div", od, [
8706
8748
  S(a, {
8707
8749
  loading: e.queryLoading,
8708
8750
  onClick: e.handleClickQuery
@@ -8725,7 +8767,7 @@ function id(e, t, n, o, l, r) {
8725
8767
  _: 1
8726
8768
  }, 8, ["loading", "onClick"])) : P("", !0)
8727
8769
  ])) : P("", !0),
8728
- w("div", ad, [
8770
+ w("div", ld, [
8729
8771
  R(e.$slots, "extra-operation")
8730
8772
  ])
8731
8773
  ])
@@ -8734,8 +8776,8 @@ function id(e, t, n, o, l, r) {
8734
8776
  ], 512)
8735
8777
  ]);
8736
8778
  }
8737
- const Qm = /* @__PURE__ */ F(Xc, [["render", id]]), Yn = 15, Fo = [10, 15, 20, 30, 50];
8738
- function rd(e) {
8779
+ const Rm = /* @__PURE__ */ F(Kc, [["render", ad]]), Yn = 15, Fo = [10, 15, 20, 30, 50];
8780
+ function id(e) {
8739
8781
  const t = Yn, n = We({
8740
8782
  page: 1,
8741
8783
  rowsPerPage: t,
@@ -8749,10 +8791,10 @@ function rd(e) {
8749
8791
  n.rowsNumber = s ?? 0;
8750
8792
  } };
8751
8793
  }
8752
- const sd = Z({
8794
+ const rd = Z({
8753
8795
  name: "MyPaginationComponent",
8754
8796
  components: {
8755
- QSelect: st,
8797
+ QSelect: rt,
8756
8798
  QPagination: go,
8757
8799
  QInput: Bt
8758
8800
  },
@@ -8824,12 +8866,12 @@ const sd = Z({
8824
8866
  selectChange: c
8825
8867
  };
8826
8868
  }
8827
- }), ud = { class: "row items-center justify-end" }, cd = { style: { "margin-top": "4px" } }, dd = { style: { "margin-top": "4px", "margin-right": "24px" } }, fd = { style: { "margin-left": "24px" } };
8828
- function pd(e, t, n, o, l, r) {
8869
+ }), sd = { class: "row items-center justify-end" }, ud = { style: { "margin-top": "4px" } }, cd = { style: { "margin-top": "4px", "margin-right": "24px" } }, dd = { style: { "margin-left": "24px" } };
8870
+ function fd(e, t, n, o, l, r) {
8829
8871
  const a = C("q-select"), i = C("q-pagination"), s = C("q-input");
8830
8872
  return M(), z("div", null, [
8831
- w("div", ud, [
8832
- w("div", cd, [
8873
+ w("div", sd, [
8874
+ w("div", ud, [
8833
8875
  w("span", null, $(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
8834
8876
  ]),
8835
8877
  S(a, {
@@ -8848,7 +8890,7 @@ function pd(e, t, n, o, l, r) {
8848
8890
  autocomplete: "false",
8849
8891
  "popup-content-class": "j-q-select-popup select-popup-content height1"
8850
8892
  }, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
8851
- w("div", dd, [
8893
+ w("div", cd, [
8852
8894
  w("span", null, $(e.t("messages.pagination.pieces_page")), 1)
8853
8895
  ]),
8854
8896
  S(i, {
@@ -8863,12 +8905,12 @@ function pd(e, t, n, o, l, r) {
8863
8905
  "direction-links": "",
8864
8906
  "icon-prev": "app:navigation-arrow-left",
8865
8907
  "icon-next": "app:navigation-arrow-right",
8866
- color: "grey",
8867
- "active-color": "primary",
8868
- "active-text-color": "white",
8908
+ color: "black",
8909
+ "active-color": "white",
8910
+ "active-text-color": "black",
8869
8911
  ripple: !1
8870
8912
  }, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
8871
- w("p", fd, $(e.t("messages.pagination.goto")), 1),
8913
+ w("p", dd, $(e.t("messages.pagination.goto")), 1),
8872
8914
  S(s, {
8873
8915
  autofocus: !1,
8874
8916
  modelValue: e.internalInfo.currentPage,
@@ -8887,10 +8929,10 @@ function pd(e, t, n, o, l, r) {
8887
8929
  ])
8888
8930
  ]);
8889
8931
  }
8890
- const gd = /* @__PURE__ */ F(sd, [["render", pd]]), md = Z({
8932
+ const pd = /* @__PURE__ */ F(rd, [["render", fd]]), gd = Z({
8891
8933
  name: "JQTableComponent",
8892
8934
  components: {
8893
- Pagination: gd,
8935
+ Pagination: pd,
8894
8936
  QTable: Ol,
8895
8937
  QTh: kl,
8896
8938
  QTd: Ll,
@@ -8932,16 +8974,16 @@ const gd = /* @__PURE__ */ F(sd, [["render", pd]]), md = Z({
8932
8974
  }), g = N(() => {
8933
8975
  var Y;
8934
8976
  return ((Y = e.columns) == null ? void 0 : Y.filter(({ name: U, onClick: me }) => Reflect.has(o, `body-cell-${U}`) && !me)) || [];
8935
- }), I = N(() => {
8977
+ }), h = N(() => {
8936
8978
  var Y;
8937
8979
  return ((Y = e.columns) == null ? void 0 : Y.filter(({ onClick: U }) => U)) || [];
8938
- }), h = N(() => {
8980
+ }), I = N(() => {
8939
8981
  var Y;
8940
8982
  return ((Y = e.columns) == null ? void 0 : Y.filter(({ whiteSpace: U, onClick: me, name: Be }) => U && !me && !Reflect.has(o, `body-cell-${Be}`))) || [];
8941
8983
  }), p = N(() => {
8942
8984
  var Y;
8943
- return ((Y = e.columns) == null ? void 0 : Y.filter(({ limitWidth: U, whiteSpace: me, onClick: Be, name: pt }) => U && !me && !Be && !Reflect.has(o, `body-cell-${pt}`))) || [];
8944
- }), { paginationInfo: v, getPaginationParam: j, getNum: T, setNum: b, setTotal: A, setSize: m } = rd(), y = N(() => ({
8985
+ return ((Y = e.columns) == null ? void 0 : Y.filter(({ limitWidth: U, whiteSpace: me, onClick: Be, name: ft }) => U && !me && !Be && !Reflect.has(o, `body-cell-${ft}`))) || [];
8986
+ }), { paginationInfo: v, getPaginationParam: j, getNum: T, setNum: b, setTotal: A, setSize: m } = id(), y = N(() => ({
8945
8987
  rowsPerPage: 0
8946
8988
  })), L = () => {
8947
8989
  t("changeNum", v), e.autoScrollOnChangePage && H();
@@ -8998,7 +9040,7 @@ const gd = /* @__PURE__ */ F(sd, [["render", pd]]), md = Z({
8998
9040
  }
8999
9041
  const me = U.scrollWidth > U.clientWidth || U.scrollHeight > U.clientHeight;
9000
9042
  s.value.set(Y, me);
9001
- }, ft = (Y) => s.value.get(Y) || !1, be = () => {
9043
+ }, dt = (Y) => s.value.get(Y) || !1, be = () => {
9002
9044
  Me(() => {
9003
9045
  i.value.forEach((Y, U) => {
9004
9046
  Ve(U);
@@ -9035,8 +9077,8 @@ const gd = /* @__PURE__ */ F(sd, [["render", pd]]), md = Z({
9035
9077
  computedTableHeaderClass: d,
9036
9078
  computedSlotHeaderCellColumns: f,
9037
9079
  computedSlotBodyCellColumns: g,
9038
- computedClickableColumns: I,
9039
- computedWhiteSpaceColumns: h,
9080
+ computedClickableColumns: h,
9081
+ computedWhiteSpaceColumns: I,
9040
9082
  computedLimitWidthColumns: p,
9041
9083
  paginationInfo: v,
9042
9084
  getPaginationParam: j,
@@ -9055,11 +9097,11 @@ const gd = /* @__PURE__ */ F(sd, [["render", pd]]), md = Z({
9055
9097
  getCellClass: ue,
9056
9098
  getCellLimitWidthStyle: ge,
9057
9099
  setEllipsisRef: ce,
9058
- shouldShowTooltip: ft
9100
+ shouldShowTooltip: dt
9059
9101
  };
9060
9102
  }
9061
- }), yd = ["onClick"];
9062
- function Md(e, t, n, o, l, r) {
9103
+ }), md = ["onClick"];
9104
+ function yd(e, t, n, o, l, r) {
9063
9105
  const a = C("q-th"), i = C("q-td"), s = C("j-c-tooltip"), c = C("q-inner-loading"), u = C("q-table"), d = C("Pagination");
9064
9106
  return M(), z("div", {
9065
9107
  class: "j-q-table-container",
@@ -9186,7 +9228,7 @@ function Md(e, t, n, o, l, r) {
9186
9228
  default: D(() => [
9187
9229
  w("div", {
9188
9230
  class: q(e.getCellClass(f)),
9189
- ref: (I) => e.setEllipsisRef(I, `${f.name}-${g.row[e.rowKey]}`)
9231
+ ref: (h) => e.setEllipsisRef(h, `${f.name}-${g.row[e.rowKey]}`)
9190
9232
  }, $(e.formatColumnValue(f, g.value)), 3)
9191
9233
  ]),
9192
9234
  _: 2
@@ -9214,9 +9256,9 @@ function Md(e, t, n, o, l, r) {
9214
9256
  default: D(() => [
9215
9257
  w("div", {
9216
9258
  class: q(["link-type", e.getCellClass(f)]),
9217
- ref: f.whiteSpace ? (I) => e.setEllipsisRef(I, `${f.name}-${g.row[e.rowKey]}`) : void 0,
9218
- onClick: (I) => e.handleColumnClick(f, g.row)
9219
- }, $(e.formatColumnValue(f, g.value)), 11, yd)
9259
+ ref: f.whiteSpace ? (h) => e.setEllipsisRef(h, `${f.name}-${g.row[e.rowKey]}`) : void 0,
9260
+ onClick: (h) => e.handleColumnClick(f, g.row)
9261
+ }, $(e.formatColumnValue(f, g.value)), 11, md)
9220
9262
  ]),
9221
9263
  _: 2
9222
9264
  }, 1032, ["content", "style", "disabled"])) : (M(), E(s, {
@@ -9229,7 +9271,7 @@ function Md(e, t, n, o, l, r) {
9229
9271
  default: D(() => [
9230
9272
  w("div", {
9231
9273
  class: q(e.getCellClass(f)),
9232
- ref: f.whiteSpace ? (I) => e.setEllipsisRef(I, `${f.name}-${g.row[e.rowKey]}`) : void 0
9274
+ ref: f.whiteSpace ? (h) => e.setEllipsisRef(h, `${f.name}-${g.row[e.rowKey]}`) : void 0
9233
9275
  }, $(e.formatColumnValue(f, g.value)), 3)
9234
9276
  ]),
9235
9277
  _: 2
@@ -9249,14 +9291,14 @@ function Md(e, t, n, o, l, r) {
9249
9291
  R(e.$slots, "append")
9250
9292
  ], 4);
9251
9293
  }
9252
- const qm = /* @__PURE__ */ F(md, [["render", Md]]), hd = Z({
9294
+ const Qm = /* @__PURE__ */ F(gd, [["render", yd]]), Md = Z({
9253
9295
  name: "dialogConfirmComponent",
9254
9296
  components: {
9255
9297
  QDialog: co,
9256
9298
  QCard: Ke,
9257
9299
  QCardSection: _e,
9258
9300
  QIcon: re,
9259
- JQButton: ct
9301
+ JQButton: ut
9260
9302
  },
9261
9303
  emits: [...Jn.emits],
9262
9304
  props: {
@@ -9288,11 +9330,11 @@ const qm = /* @__PURE__ */ F(md, [["render", Md]]), hd = Z({
9288
9330
  }
9289
9331
  };
9290
9332
  }
9291
- }), Id = { class: "title" }, Ad = {
9333
+ }), hd = { class: "title" }, Id = {
9292
9334
  key: 2,
9293
9335
  class: "close"
9294
9336
  };
9295
- function vd(e, t, n, o, l, r) {
9337
+ function Ad(e, t, n, o, l, r) {
9296
9338
  const a = C("q-icon"), i = C("q-card-section"), s = C("j-q-button"), c = C("q-card"), u = C("q-dialog");
9297
9339
  return M(), E(u, {
9298
9340
  ref: "dialogRef",
@@ -9322,8 +9364,8 @@ function vd(e, t, n, o, l, r) {
9322
9364
  class: "q-mr-sm",
9323
9365
  size: "24px"
9324
9366
  })) : P("", !0),
9325
- w("div", Id, $(e.title), 1),
9326
- e.showClose ? (M(), z("div", Ad, [
9367
+ w("div", hd, $(e.title), 1),
9368
+ e.showClose ? (M(), z("div", Id, [
9327
9369
  S(a, {
9328
9370
  name: "app:dialog-close",
9329
9371
  size: "16px",
@@ -9364,22 +9406,22 @@ function vd(e, t, n, o, l, r) {
9364
9406
  _: 1
9365
9407
  }, 8, ["onHide"]);
9366
9408
  }
9367
- const Cd = /* @__PURE__ */ F(hd, [["render", vd]]);
9368
- let ht = null;
9369
- class Dd {
9409
+ const vd = /* @__PURE__ */ F(Md, [["render", Ad]]);
9410
+ let Mt = null;
9411
+ class Cd {
9370
9412
  /**
9371
9413
  * 设置 Quasar 实例(在 rtcptInit 中调用)
9372
9414
  */
9373
9415
  setQuasarInstance(t) {
9374
- ht = t;
9416
+ Mt = t;
9375
9417
  }
9376
9418
  /**
9377
9419
  * 弹出自定义确认对话框,返回一个 Promise,resolve(true) 表示确定,resolve(false) 表示取消/关闭。
9378
9420
  */
9379
9421
  async show({ title: t, color: n, content: o, confirmButtonText: l, cancelButtonText: r, showCancelButton: a, isDelete: i, icon: s, showClose: c }) {
9380
- return ht != null && ht.dialog ? new Promise((u) => {
9381
- ht.dialog({
9382
- component: Cd,
9422
+ return Mt != null && Mt.dialog ? new Promise((u) => {
9423
+ Mt.dialog({
9424
+ component: vd,
9383
9425
  cancel: a === void 0 ? !0 : a,
9384
9426
  componentProps: {
9385
9427
  title: t,
@@ -9401,10 +9443,10 @@ class Dd {
9401
9443
  }) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
9402
9444
  }
9403
9445
  }
9404
- const bd = new Dd(), Nd = 15, wd = [10, 15, 20, 30, 50], jd = Z({
9446
+ const Dd = new Cd(), bd = 15, Nd = [10, 15, 20, 30, 50], wd = Z({
9405
9447
  name: "JQPagination",
9406
9448
  components: {
9407
- QSelect: st,
9449
+ QSelect: rt,
9408
9450
  QPagination: go,
9409
9451
  QInput: Bt
9410
9452
  },
@@ -9417,7 +9459,7 @@ const bd = new Dd(), Nd = 15, wd = [10, 15, 20, 30, 50], jd = Z({
9417
9459
  // 每页显示数量
9418
9460
  pageSize: {
9419
9461
  type: Number,
9420
- default: Nd
9462
+ default: bd
9421
9463
  },
9422
9464
  // 总条数
9423
9465
  total: {
@@ -9427,7 +9469,7 @@ const bd = new Dd(), Nd = 15, wd = [10, 15, 20, 30, 50], jd = Z({
9427
9469
  // 每页显示数量选项
9428
9470
  pageSizeOptions: {
9429
9471
  type: Array,
9430
- default: () => wd
9472
+ default: () => Nd
9431
9473
  }
9432
9474
  },
9433
9475
  emits: ["update:currentPage", "update:pageSize", "change"],
@@ -9488,12 +9530,12 @@ const bd = new Dd(), Nd = 15, wd = [10, 15, 20, 30, 50], jd = Z({
9488
9530
  }
9489
9531
  };
9490
9532
  }
9491
- }), Sd = { class: "j-q-pagination" }, Td = { class: "row items-center justify-end" }, zd = { class: "pagination-total" }, Ld = { class: "pagination-suffix" }, kd = { class: "pagination-goto-text" };
9492
- function Od(e, t, n, o, l, r) {
9533
+ }), jd = { class: "j-q-pagination" }, Sd = { class: "row items-center justify-end" }, Td = { class: "pagination-total" }, zd = { class: "pagination-suffix" }, Ld = { class: "pagination-goto-text" };
9534
+ function kd(e, t, n, o, l, r) {
9493
9535
  const a = C("q-select"), i = C("q-pagination"), s = C("q-input");
9494
- return M(), z("div", Sd, [
9495
- w("div", Td, [
9496
- w("div", zd, [
9536
+ return M(), z("div", jd, [
9537
+ w("div", Sd, [
9538
+ w("div", Td, [
9497
9539
  w("span", null, $(e.t("messages.pagination.total", { total: e.internalInfo.total })), 1)
9498
9540
  ]),
9499
9541
  S(a, {
@@ -9511,7 +9553,7 @@ function Od(e, t, n, o, l, r) {
9511
9553
  autocomplete: "false",
9512
9554
  "popup-content-class": "j-q-select-popup select-popup-content height1"
9513
9555
  }, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
9514
- w("div", Ld, [
9556
+ w("div", zd, [
9515
9557
  w("span", null, $(e.t("messages.pagination.pieces_page")), 1)
9516
9558
  ]),
9517
9559
  S(i, {
@@ -9526,12 +9568,12 @@ function Od(e, t, n, o, l, r) {
9526
9568
  "direction-links": "",
9527
9569
  "icon-prev": "app:navigation-arrow-left",
9528
9570
  "icon-next": "app:navigation-arrow-right",
9529
- color: "grey",
9530
- "active-color": "primary",
9531
- "active-text-color": "white",
9571
+ color: "black",
9572
+ "active-color": "white",
9573
+ "active-text-color": "black",
9532
9574
  ripple: !1
9533
9575
  }, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
9534
- w("p", kd, $(e.t("messages.pagination.goto")), 1),
9576
+ w("p", Ld, $(e.t("messages.pagination.goto")), 1),
9535
9577
  S(s, {
9536
9578
  autofocus: !1,
9537
9579
  modelValue: e.internalInfo.inputPage,
@@ -9550,7 +9592,7 @@ function Od(e, t, n, o, l, r) {
9550
9592
  ])
9551
9593
  ]);
9552
9594
  }
9553
- const Bm = /* @__PURE__ */ F(jd, [["render", Od]]);
9595
+ const qm = /* @__PURE__ */ F(wd, [["render", kd]]);
9554
9596
  function Rn(e, t = {}) {
9555
9597
  if (!Array.isArray(e))
9556
9598
  return [];
@@ -9564,7 +9606,7 @@ function Rn(e, t = {}) {
9564
9606
  return Array.isArray(c) && c.length > 0 && (s.children = Rn(c, t)), s;
9565
9607
  });
9566
9608
  }
9567
- function $d(e) {
9609
+ function Od(e) {
9568
9610
  let { data: t, key: n, idKey: o, rootId: l, isMapOption: r, labelValue: a } = e;
9569
9611
  t = t || [], n = n || "parentId", o = o || "id", r = r !== !1, a = a || { label: "name", value: "id" }, l = l || "1";
9570
9612
  const i = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set();
@@ -9600,11 +9642,11 @@ function $d(e) {
9600
9642
  flatData: JSON.parse(JSON.stringify(d))
9601
9643
  };
9602
9644
  }
9603
- function Vd(e) {
9645
+ function $d(e) {
9604
9646
  const { data: t, parentKey: n = "parentId", idKey: o = "id", rootId: l, childrenKey: r = "children" } = e, a = (i, s) => i.reduce((c, u) => u[n] === s ? (u[r] = a(i, u[o]), c.concat(u)) : c, []);
9605
9647
  return a(t, l);
9606
9648
  }
9607
- function Ed(e) {
9649
+ function Vd(e) {
9608
9650
  const {
9609
9651
  targetIds: t,
9610
9652
  allData: n,
@@ -9624,7 +9666,7 @@ function Ed(e) {
9624
9666
  s(c);
9625
9667
  }), Array.from(i);
9626
9668
  }
9627
- function Pd(e) {
9669
+ function Ed(e) {
9628
9670
  const { treeData: t, idList: n, idKey: o = "id", childrenKey: l = "children" } = e, r = /* @__PURE__ */ new Set(), a = (i) => {
9629
9671
  i.forEach((s) => {
9630
9672
  const c = s[l];
@@ -9633,20 +9675,20 @@ function Pd(e) {
9633
9675
  };
9634
9676
  return a(t), n.filter((i) => !r.has(i));
9635
9677
  }
9636
- const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9678
+ const Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9637
9679
  __proto__: null,
9638
- arrayToTree: Vd,
9639
- buildTree: $d,
9640
- filterLeafIds: Pd,
9641
- findParentIds: Ed,
9680
+ arrayToTree: $d,
9681
+ buildTree: Od,
9682
+ filterLeafIds: Ed,
9683
+ findParentIds: Vd,
9642
9684
  transformTreeUseLabelAndValue: Rn
9643
- }, Symbol.toStringTag, { value: "Module" })), Rd = (e, t) => {
9685
+ }, Symbol.toStringTag, { value: "Module" })), Yd = (e, t) => {
9644
9686
  const n = window.decodeURI(t), o = new Blob([e]);
9645
9687
  if ("download" in document.createElement("a")) {
9646
9688
  const l = document.createElement("a");
9647
9689
  l.download = n, l.style.display = "none", l.href = window.URL.createObjectURL(o), document.body.appendChild(l), l.click(), window.URL.revokeObjectURL(l.href), document.body.removeChild(l);
9648
9690
  }
9649
- }, Qd = (e, t) => {
9691
+ }, Rd = (e, t) => {
9650
9692
  const n = /* @__PURE__ */ new Date(), o = [
9651
9693
  n.getFullYear(),
9652
9694
  String(n.getMonth() + 1).padStart(2, "0"),
@@ -9657,7 +9699,7 @@ const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9657
9699
  ].join("");
9658
9700
  return `${e}_${o}.${t.toLowerCase()}`;
9659
9701
  };
9660
- function qd(e) {
9702
+ function Qd(e) {
9661
9703
  var t;
9662
9704
  if (e === null || typeof e > "u")
9663
9705
  return "";
@@ -9672,13 +9714,13 @@ function qd(e) {
9672
9714
  }
9673
9715
  return e;
9674
9716
  }
9675
- function Bd(e) {
9717
+ function qd(e) {
9676
9718
  return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
9677
9719
  }
9678
- function Ud(e, t, n = "TB") {
9720
+ function Bd(e, t, n = "TB") {
9679
9721
  return e = Number(e) || 0, zt({ size: e, unit: t }, { maxUnit: n });
9680
9722
  }
9681
- function Zd(e, t) {
9723
+ function Ud(e, t) {
9682
9724
  if (e === null || typeof e > "u")
9683
9725
  return [];
9684
9726
  let n;
@@ -9694,17 +9736,17 @@ function Zd(e, t) {
9694
9736
  return [];
9695
9737
  return Array.isArray(n) ? n.map((o) => o && typeof o == "object" && o[t] && typeof o[t] == "string" ? o[t] : null).filter((o) => o !== null) : [];
9696
9738
  }
9697
- const Fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9739
+ const Zd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9698
9740
  __proto__: null,
9699
- dataCvSize: Ud,
9700
- obj2Arr: Zd,
9701
- val2Str: qd,
9702
- valSplit: Bd
9741
+ dataCvSize: Bd,
9742
+ obj2Arr: Ud,
9743
+ val2Str: Qd,
9744
+ valSplit: qd
9703
9745
  }, Symbol.toStringTag, { value: "Module" }));
9704
- function Wd(e) {
9746
+ function Fd(e) {
9705
9747
  return Array.isArray(e) ? [...new Set(e)] : e;
9706
9748
  }
9707
- function Hd(e, t) {
9749
+ function Wd(e, t) {
9708
9750
  if (!Array.isArray(e)) return e;
9709
9751
  const n = /* @__PURE__ */ new Map();
9710
9752
  return e.filter((o) => {
@@ -9712,7 +9754,7 @@ function Hd(e, t) {
9712
9754
  return n.has(l) ? !1 : (n.set(l, !0), !0);
9713
9755
  });
9714
9756
  }
9715
- function Jd(e, t) {
9757
+ function Hd(e, t) {
9716
9758
  if (!Array.isArray(e)) return e;
9717
9759
  const n = /* @__PURE__ */ new Set();
9718
9760
  return e.filter((o) => {
@@ -9720,7 +9762,7 @@ function Jd(e, t) {
9720
9762
  return n.has(l) ? !1 : (n.add(l), !0);
9721
9763
  });
9722
9764
  }
9723
- function xd(e, t) {
9765
+ function Jd(e, t) {
9724
9766
  if (!Array.isArray(e)) return e;
9725
9767
  const {
9726
9768
  idKey: n = "id",
@@ -9742,7 +9784,7 @@ function xd(e, t) {
9742
9784
  }
9743
9785
  }), i;
9744
9786
  }
9745
- function Gd(e, t = "children") {
9787
+ function xd(e, t = "children") {
9746
9788
  if (!Array.isArray(e)) return e;
9747
9789
  const n = [], o = (l) => {
9748
9790
  l.forEach((r) => {
@@ -9763,7 +9805,7 @@ function Wo(e, t, n = "children") {
9763
9805
  }
9764
9806
  return null;
9765
9807
  }
9766
- function _d(e, t, n = "children") {
9808
+ function Gd(e, t, n = "children") {
9767
9809
  if (!Array.isArray(e)) return;
9768
9810
  const o = (l, r, a) => {
9769
9811
  l.forEach((i) => {
@@ -9772,25 +9814,25 @@ function _d(e, t, n = "children") {
9772
9814
  };
9773
9815
  o(e, null, 0);
9774
9816
  }
9775
- function Kd(e, t) {
9817
+ function _d(e, t) {
9776
9818
  return Array.isArray(e) ? e.reduce((n, o) => {
9777
9819
  const l = String(o[t]);
9778
9820
  return n[l] || (n[l] = []), n[l].push(o), n;
9779
9821
  }, {}) : {};
9780
9822
  }
9781
- function Xd(e, t) {
9823
+ function Kd(e, t) {
9782
9824
  return Array.isArray(e) ? e.reduce((n, o) => {
9783
9825
  const l = t(o);
9784
9826
  return n[l] || (n[l] = []), n[l].push(o), n;
9785
9827
  }, {}) : {};
9786
9828
  }
9787
- function ef(e, t, n = "asc") {
9829
+ function Xd(e, t, n = "asc") {
9788
9830
  return Array.isArray(e) ? [...e].sort((o, l) => {
9789
9831
  const r = o[t], a = l[t];
9790
9832
  return r < a ? n === "asc" ? -1 : 1 : r > a ? n === "asc" ? 1 : -1 : 0;
9791
9833
  }) : e;
9792
9834
  }
9793
- function tf(e, t) {
9835
+ function ef(e, t) {
9794
9836
  return Array.isArray(e) ? [...e].sort((n, o) => {
9795
9837
  for (const { key: l, order: r = "asc" } of t) {
9796
9838
  const a = n[l], i = o[l];
@@ -9806,10 +9848,10 @@ function Ho(e, t) {
9806
9848
  return n + (Number(l) || 0);
9807
9849
  }, 0) : 0;
9808
9850
  }
9809
- function nf(e, t) {
9851
+ function tf(e, t) {
9810
9852
  return !Array.isArray(e) || e.length === 0 ? 0 : Ho(e, t) / e.length;
9811
9853
  }
9812
- function of(e, t) {
9854
+ function nf(e, t) {
9813
9855
  if (!Array.isArray(e) || e.length === 0) return 0;
9814
9856
  const n = e.map((o) => {
9815
9857
  const l = t ? o[t] : o;
@@ -9817,7 +9859,7 @@ function of(e, t) {
9817
9859
  });
9818
9860
  return Math.max(...n);
9819
9861
  }
9820
- function lf(e, t) {
9862
+ function of(e, t) {
9821
9863
  if (!Array.isArray(e) || e.length === 0) return 0;
9822
9864
  const n = e.map((o) => {
9823
9865
  const l = t ? o[t] : o;
@@ -9825,22 +9867,22 @@ function lf(e, t) {
9825
9867
  });
9826
9868
  return Math.min(...n);
9827
9869
  }
9828
- function af(e, t) {
9870
+ function lf(e, t) {
9829
9871
  if (!Array.isArray(e) || t <= 0) return [e];
9830
9872
  const n = [];
9831
9873
  for (let o = 0; o < e.length; o += t)
9832
9874
  n.push(e.slice(o, o + t));
9833
9875
  return n;
9834
9876
  }
9835
- function rf(e, t) {
9877
+ function af(e, t) {
9836
9878
  if (!Array.isArray(e) || !Array.isArray(t)) return [];
9837
9879
  const n = new Set(t);
9838
9880
  return e.filter((o) => n.has(o));
9839
9881
  }
9840
- function sf(e, t) {
9882
+ function rf(e, t) {
9841
9883
  return Array.isArray(e) ? Array.isArray(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : e || [] : t || [];
9842
9884
  }
9843
- function uf(e, t) {
9885
+ function sf(e, t) {
9844
9886
  if (!Array.isArray(e)) return [];
9845
9887
  if (!Array.isArray(t)) return e;
9846
9888
  const n = new Set(t);
@@ -9855,13 +9897,13 @@ function Jo(e) {
9855
9897
  }
9856
9898
  return t;
9857
9899
  }
9858
- function cf(e, t = 1) {
9900
+ function uf(e, t = 1) {
9859
9901
  return !Array.isArray(e) || t <= 0 ? [] : Jo(e).slice(0, Math.min(t, e.length));
9860
9902
  }
9861
9903
  function xo(e, t = 1 / 0) {
9862
9904
  return !Array.isArray(e) || t <= 0 ? e : e.reduce((n, o) => (Array.isArray(o) ? n.push(...xo(o, t - 1)) : n.push(o), n), []);
9863
9905
  }
9864
- function df(e, t, n) {
9906
+ function cf(e, t, n) {
9865
9907
  if (!Array.isArray(e))
9866
9908
  return { data: [], page: t, pageSize: n, total: 0, totalPages: 0 };
9867
9909
  const o = e.length, l = Math.ceil(o / n), r = (t - 1) * n, a = r + n;
@@ -9873,43 +9915,43 @@ function df(e, t, n) {
9873
9915
  totalPages: l
9874
9916
  };
9875
9917
  }
9876
- function ff(e, t, n) {
9918
+ function df(e, t, n) {
9877
9919
  if (!Array.isArray(e) || t < 0 || t >= e.length || n < 0 || n >= e.length) return e;
9878
9920
  const o = [...e], [l] = o.splice(t, 1);
9879
9921
  return o.splice(n, 0, l), o;
9880
9922
  }
9881
- function pf(e) {
9923
+ function ff(e) {
9882
9924
  return Array.isArray(e) ? e.reduce((t, n) => (t[n] = (t[n] || 0) + 1, t), {}) : {};
9883
9925
  }
9884
- const gf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9926
+ const pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9885
9927
  __proto__: null,
9886
- arrayToTree: xd,
9887
- average: nf,
9888
- chunkArray: af,
9889
- countBy: pf,
9890
- difference: uf,
9928
+ arrayToTree: Jd,
9929
+ average: tf,
9930
+ chunkArray: lf,
9931
+ countBy: ff,
9932
+ difference: sf,
9891
9933
  findNodeInTree: Wo,
9892
9934
  flatten: xo,
9893
- forEachTree: _d,
9894
- groupBy: Kd,
9895
- groupByFn: Xd,
9896
- intersection: rf,
9897
- max: of,
9898
- min: lf,
9899
- move: ff,
9900
- paginate: df,
9901
- sample: cf,
9935
+ forEachTree: Gd,
9936
+ groupBy: _d,
9937
+ groupByFn: Kd,
9938
+ intersection: af,
9939
+ max: nf,
9940
+ min: of,
9941
+ move: df,
9942
+ paginate: cf,
9943
+ sample: uf,
9902
9944
  shuffle: Jo,
9903
- sortBy: ef,
9904
- sortByMultiple: tf,
9945
+ sortBy: Xd,
9946
+ sortByMultiple: ef,
9905
9947
  sum: Ho,
9906
- treeToArray: Gd,
9907
- union: sf,
9908
- uniqueArray: Wd,
9909
- uniqueArrayByKey: Hd,
9910
- uniqueArrayByKeys: Jd
9948
+ treeToArray: xd,
9949
+ union: rf,
9950
+ uniqueArray: Fd,
9951
+ uniqueArrayByKey: Wd,
9952
+ uniqueArrayByKeys: Hd
9911
9953
  }, Symbol.toStringTag, { value: "Module" }));
9912
- async function mf(e) {
9954
+ async function gf(e) {
9913
9955
  if (!e) return !1;
9914
9956
  if (navigator.clipboard && window.isSecureContext)
9915
9957
  try {
@@ -9926,7 +9968,7 @@ async function mf(e) {
9926
9968
  return console.error("复制失败:", t), !1;
9927
9969
  }
9928
9970
  }
9929
- async function yf() {
9971
+ async function mf() {
9930
9972
  if (navigator.clipboard && window.isSecureContext)
9931
9973
  try {
9932
9974
  return await navigator.clipboard.readText();
@@ -9939,18 +9981,18 @@ function Qn(e, t) {
9939
9981
  const n = document.createElement("a");
9940
9982
  typeof e == "string" ? n.href = e : n.href = URL.createObjectURL(e), n.download = t, n.style.display = "none", document.body.appendChild(n), n.click(), document.body.removeChild(n), typeof e != "string" && setTimeout(() => URL.revokeObjectURL(n.href), 100);
9941
9983
  }
9942
- function Mf(e, t) {
9984
+ function yf(e, t) {
9943
9985
  const n = JSON.stringify(e, null, 2), o = new Blob([n], { type: "application/json" });
9944
9986
  Qn(o, t);
9945
9987
  }
9946
- function hf(e, t) {
9988
+ function Mf(e, t) {
9947
9989
  const n = new Blob([e], { type: "text/plain" });
9948
9990
  Qn(n, t);
9949
9991
  }
9950
9992
  function qn(e) {
9951
9993
  window.scrollTo(e);
9952
9994
  }
9953
- function If(e, t) {
9995
+ function hf(e, t) {
9954
9996
  const n = typeof e == "string" ? document.querySelector(e) : e;
9955
9997
  n && n.scrollIntoView({
9956
9998
  behavior: "smooth",
@@ -9958,13 +10000,13 @@ function If(e, t) {
9958
10000
  ...t
9959
10001
  });
9960
10002
  }
9961
- function Af(e = !0) {
10003
+ function If(e = !0) {
9962
10004
  qn({
9963
10005
  top: 0,
9964
10006
  behavior: e ? "smooth" : "auto"
9965
10007
  });
9966
10008
  }
9967
- function vf(e = !0) {
10009
+ function Af(e = !0) {
9968
10010
  qn({
9969
10011
  top: document.documentElement.scrollHeight,
9970
10012
  behavior: e ? "smooth" : "auto"
@@ -9976,89 +10018,89 @@ function Go() {
9976
10018
  y: window.pageYOffset || document.documentElement.scrollTop
9977
10019
  };
9978
10020
  }
9979
- function Cf(e) {
10021
+ function vf(e) {
9980
10022
  let t = 0;
9981
10023
  for (; e; )
9982
10024
  t += e.offsetTop, e = e.offsetParent;
9983
10025
  return t;
9984
10026
  }
9985
- function Df(e, t = 0) {
10027
+ function Cf(e, t = 0) {
9986
10028
  if (!e) return !1;
9987
10029
  const n = e.getBoundingClientRect(), o = window.innerHeight || document.documentElement.clientHeight, l = window.innerWidth || document.documentElement.clientWidth;
9988
10030
  return n.top >= 0 - t && n.left >= 0 - t && n.bottom <= o + t && n.right <= l + t;
9989
10031
  }
9990
- function bf(e) {
10032
+ function Df(e) {
9991
10033
  if (!e) return !1;
9992
10034
  const t = e.getBoundingClientRect(), n = window.innerHeight || document.documentElement.clientHeight, o = window.innerWidth || document.documentElement.clientWidth, l = t.top <= n && t.top + t.height >= 0, r = t.left <= o && t.left + t.width >= 0;
9993
10035
  return l && r;
9994
10036
  }
9995
- function Nf(e = document.documentElement) {
10037
+ function bf(e = document.documentElement) {
9996
10038
  document.fullscreenElement ? document.exitFullscreen() : e.requestFullscreen().catch((t) => {
9997
10039
  console.error("进入全屏失败:", t);
9998
10040
  });
9999
10041
  }
10000
- function wf(e = document.documentElement) {
10042
+ function Nf(e = document.documentElement) {
10001
10043
  document.fullscreenElement || e.requestFullscreen().catch((t) => {
10002
10044
  console.error("进入全屏失败:", t);
10003
10045
  });
10004
10046
  }
10005
- function jf() {
10047
+ function wf() {
10006
10048
  document.fullscreenElement && document.exitFullscreen();
10007
10049
  }
10008
- function Sf() {
10050
+ function jf() {
10009
10051
  return !!document.fullscreenElement;
10010
10052
  }
10011
- function Tf(e, t) {
10053
+ function Sf(e, t) {
10012
10054
  e && e.classList.add(t);
10013
10055
  }
10014
- function zf(e, t) {
10056
+ function Tf(e, t) {
10015
10057
  e && e.classList.remove(t);
10016
10058
  }
10017
- function Lf(e, t) {
10059
+ function zf(e, t) {
10018
10060
  e && e.classList.toggle(t);
10019
10061
  }
10020
- function kf(e, t) {
10062
+ function Lf(e, t) {
10021
10063
  return e ? e.classList.contains(t) : !1;
10022
10064
  }
10023
- function Of(e) {
10065
+ function kf(e) {
10024
10066
  return e ? Array.from(e.classList) : [];
10025
10067
  }
10026
- function $f(e) {
10068
+ function Of(e) {
10027
10069
  return e ? e.getBoundingClientRect() : null;
10028
10070
  }
10029
- function Vf(e) {
10071
+ function $f(e) {
10030
10072
  return e ? e.offsetWidth : 0;
10031
10073
  }
10032
- function Ef(e) {
10074
+ function Vf(e) {
10033
10075
  return e ? e.offsetHeight : 0;
10034
10076
  }
10035
- function Pf(e, t = document) {
10077
+ function Ef(e, t = document) {
10036
10078
  return t.querySelector(e);
10037
10079
  }
10038
- function Yf(e, t = document) {
10080
+ function Pf(e, t = document) {
10039
10081
  return Array.from(t.querySelectorAll(e));
10040
10082
  }
10041
- function Rf(e, t) {
10083
+ function Yf(e, t) {
10042
10084
  return e ? e.getAttribute(t) : null;
10043
10085
  }
10044
- function Qf(e, t, n) {
10086
+ function Rf(e, t, n) {
10045
10087
  e && e.setAttribute(t, n);
10046
10088
  }
10047
- function qf(e, t) {
10089
+ function Qf(e, t) {
10048
10090
  e && e.removeAttribute(t);
10049
10091
  }
10050
- function Bf(e, t) {
10092
+ function qf(e, t) {
10051
10093
  return e ? e.hasAttribute(t) : !1;
10052
10094
  }
10053
- function Uf(e, t) {
10095
+ function Bf(e, t) {
10054
10096
  return e && window.getComputedStyle(e)[t] || "";
10055
10097
  }
10056
- function Zf(e, t) {
10098
+ function Uf(e, t) {
10057
10099
  e && Object.keys(t).forEach((n) => {
10058
10100
  e.style[n] = t[n];
10059
10101
  });
10060
10102
  }
10061
- function Ff() {
10103
+ function Zf() {
10062
10104
  return {
10063
10105
  width: window.innerWidth || document.documentElement.clientWidth,
10064
10106
  height: window.innerHeight || document.documentElement.clientHeight
@@ -10074,7 +10116,7 @@ function _o() {
10074
10116
  document.documentElement.clientHeight
10075
10117
  );
10076
10118
  }
10077
- function Wf() {
10119
+ function Ff() {
10078
10120
  return Math.max(
10079
10121
  document.body.scrollWidth,
10080
10122
  document.documentElement.scrollWidth,
@@ -10084,58 +10126,58 @@ function Wf() {
10084
10126
  document.documentElement.clientWidth
10085
10127
  );
10086
10128
  }
10087
- function Hf(e = 0) {
10129
+ function Wf(e = 0) {
10088
10130
  const { y: t } = Go(), n = window.innerHeight || document.documentElement.clientHeight, o = _o();
10089
10131
  return t + n >= o - e;
10090
10132
  }
10091
- const Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10133
+ const Hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10092
10134
  __proto__: null,
10093
- addClass: Tf,
10094
- copyToClipboard: mf,
10135
+ addClass: Sf,
10136
+ copyToClipboard: gf,
10095
10137
  downloadFile: Qn,
10096
- downloadJSON: Mf,
10097
- downloadText: hf,
10098
- enterFullscreen: wf,
10099
- exitFullscreen: jf,
10100
- getAttribute: Rf,
10101
- getClasses: Of,
10102
- getElementHeight: Ef,
10103
- getElementRect: $f,
10104
- getElementWidth: Vf,
10105
- getOffsetTop: Cf,
10138
+ downloadJSON: yf,
10139
+ downloadText: Mf,
10140
+ enterFullscreen: Nf,
10141
+ exitFullscreen: wf,
10142
+ getAttribute: Yf,
10143
+ getClasses: kf,
10144
+ getElementHeight: Vf,
10145
+ getElementRect: Of,
10146
+ getElementWidth: $f,
10147
+ getOffsetTop: vf,
10106
10148
  getPageHeight: _o,
10107
- getPageWidth: Wf,
10149
+ getPageWidth: Ff,
10108
10150
  getScrollPosition: Go,
10109
- getStyle: Uf,
10110
- getWindowSize: Ff,
10111
- hasAttribute: Bf,
10112
- hasClass: kf,
10113
- isFullscreen: Sf,
10114
- isInViewport: Df,
10115
- isPartiallyVisible: bf,
10116
- isScrolledToBottom: Hf,
10117
- querySelector: Pf,
10118
- querySelectorAll: Yf,
10119
- readFromClipboard: yf,
10120
- removeAttribute: qf,
10121
- removeClass: zf,
10151
+ getStyle: Bf,
10152
+ getWindowSize: Zf,
10153
+ hasAttribute: qf,
10154
+ hasClass: Lf,
10155
+ isFullscreen: jf,
10156
+ isInViewport: Cf,
10157
+ isPartiallyVisible: Df,
10158
+ isScrolledToBottom: Wf,
10159
+ querySelector: Ef,
10160
+ querySelectorAll: Pf,
10161
+ readFromClipboard: mf,
10162
+ removeAttribute: Qf,
10163
+ removeClass: Tf,
10122
10164
  scrollTo: qn,
10123
- scrollToBottom: vf,
10124
- scrollToElement: If,
10125
- scrollToTop: Af,
10126
- setAttribute: Qf,
10127
- setStyle: Zf,
10128
- toggleClass: Lf,
10129
- toggleFullscreen: Nf
10165
+ scrollToBottom: Af,
10166
+ scrollToElement: hf,
10167
+ scrollToTop: If,
10168
+ setAttribute: Rf,
10169
+ setStyle: Uf,
10170
+ toggleClass: zf,
10171
+ toggleFullscreen: bf
10130
10172
  }, Symbol.toStringTag, { value: "Module" }));
10131
- function xf(e, t) {
10173
+ function Jf(e, t) {
10132
10174
  return Math.floor(Math.random() * (t - e + 1)) + e;
10133
10175
  }
10134
- function Gf(e, t, n = 2) {
10176
+ function xf(e, t, n = 2) {
10135
10177
  const o = Math.random() * (t - e) + e;
10136
10178
  return Number(o.toFixed(n));
10137
10179
  }
10138
- function _f(e, t, n = 1) {
10180
+ function Gf(e, t, n = 1) {
10139
10181
  const o = [];
10140
10182
  if (n === 0) return o;
10141
10183
  if (n > 0)
@@ -10146,22 +10188,22 @@ function _f(e, t, n = 1) {
10146
10188
  o.push(l);
10147
10189
  return o;
10148
10190
  }
10149
- function Kf(e, t, n) {
10191
+ function _f(e, t, n) {
10150
10192
  return Math.min(Math.max(e, t), n);
10151
10193
  }
10152
- function Xf(e, t) {
10194
+ function Kf(e, t) {
10153
10195
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
10154
10196
  return (e * l + t * l) / l;
10155
10197
  }
10156
- function ep(e, t) {
10198
+ function Xf(e, t) {
10157
10199
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
10158
10200
  return (e * l - t * l) / l;
10159
10201
  }
10160
- function tp(e, t) {
10202
+ function ep(e, t) {
10161
10203
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, n + o);
10162
10204
  return e * Math.pow(10, n) * t * Math.pow(10, o) / l;
10163
10205
  }
10164
- function np(e, t) {
10206
+ function tp(e, t) {
10165
10207
  if (t === 0)
10166
10208
  return console.warn("Division by zero"), 1 / 0;
10167
10209
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length;
@@ -10170,28 +10212,28 @@ function np(e, t) {
10170
10212
  function Bn(e, t = 0) {
10171
10213
  return Math.round(e * Math.pow(10, t)) / Math.pow(10, t);
10172
10214
  }
10173
- function op(e, t = 0) {
10215
+ function np(e, t = 0) {
10174
10216
  return Math.ceil(e * Math.pow(10, t)) / Math.pow(10, t);
10175
10217
  }
10176
- function lp(e, t = 0) {
10218
+ function op(e, t = 0) {
10177
10219
  return Math.floor(e * Math.pow(10, t)) / Math.pow(10, t);
10178
10220
  }
10179
- function ap(e, t = 0) {
10221
+ function lp(e, t = 0) {
10180
10222
  return Bn(e, t).toFixed(t);
10181
10223
  }
10182
- function ip(e, t, n = 2) {
10224
+ function ap(e, t, n = 2) {
10183
10225
  return t === 0 ? 0 : Bn(e / t * 100, n);
10184
10226
  }
10185
- function rp(e) {
10227
+ function ip(e) {
10186
10228
  return e / 100;
10187
10229
  }
10188
- function sp(e) {
10230
+ function rp(e) {
10189
10231
  return e * 100;
10190
10232
  }
10191
- function up(e, t = 2) {
10233
+ function sp(e, t = 2) {
10192
10234
  return String(e).padStart(t, "0");
10193
10235
  }
10194
- function cp(e) {
10236
+ function up(e) {
10195
10237
  const t = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九"], n = ["", "十", "百", "千", "万"];
10196
10238
  if (e === 0) return "零";
10197
10239
  if (e < 0 || e > 99999) return String(e);
@@ -10203,7 +10245,7 @@ function cp(e) {
10203
10245
  }
10204
10246
  return e >= 10 && e < 20 && (l = l.replace("一十", "十")), l;
10205
10247
  }
10206
- function dp(e) {
10248
+ function cp(e) {
10207
10249
  const t = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], n = ["", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿"], o = ["角", "分"];
10208
10250
  if (e === 0) return "零元整";
10209
10251
  const [l, r = ""] = e.toFixed(2).split(".");
@@ -10221,13 +10263,13 @@ function dp(e) {
10221
10263
  a += "整";
10222
10264
  return a;
10223
10265
  }
10224
- function fp(e) {
10266
+ function dp(e) {
10225
10267
  return e % 2 === 0;
10226
10268
  }
10227
- function pp(e) {
10269
+ function fp(e) {
10228
10270
  return e % 2 !== 0;
10229
10271
  }
10230
- function gp(e) {
10272
+ function pp(e) {
10231
10273
  if (e < 2) return !1;
10232
10274
  if (e === 2) return !0;
10233
10275
  if (e % 2 === 0) return !1;
@@ -10235,16 +10277,16 @@ function gp(e) {
10235
10277
  if (e % t === 0) return !1;
10236
10278
  return !0;
10237
10279
  }
10238
- function mp(e, t, n) {
10280
+ function gp(e, t, n) {
10239
10281
  return e >= t && e <= n;
10240
10282
  }
10241
- function yp(e) {
10283
+ function mp(e) {
10242
10284
  return Math.abs(e);
10243
10285
  }
10244
- function Mp(e) {
10286
+ function yp(e) {
10245
10287
  return Math.sqrt(e);
10246
10288
  }
10247
- function hp(e, t) {
10289
+ function Mp(e, t) {
10248
10290
  return Math.pow(e, t);
10249
10291
  }
10250
10292
  function Ko(e) {
@@ -10253,39 +10295,39 @@ function Ko(e) {
10253
10295
  function Un(e, t) {
10254
10296
  return t === 0 ? e : Un(t, e % t);
10255
10297
  }
10256
- function Ip(e, t) {
10298
+ function hp(e, t) {
10257
10299
  return e * t / Un(e, t);
10258
10300
  }
10259
- const Ap = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10301
+ const Ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10260
10302
  __proto__: null,
10261
- abs: yp,
10262
- add: Xf,
10263
- ceil: op,
10264
- clamp: Kf,
10265
- decimalToPercent: sp,
10266
- divide: np,
10303
+ abs: mp,
10304
+ add: Kf,
10305
+ ceil: np,
10306
+ clamp: _f,
10307
+ decimalToPercent: rp,
10308
+ divide: tp,
10267
10309
  factorial: Ko,
10268
- floor: lp,
10310
+ floor: op,
10269
10311
  gcd: Un,
10270
- inRange: mp,
10271
- isEven: fp,
10272
- isOdd: pp,
10273
- isPrime: gp,
10274
- lcm: Ip,
10275
- multiply: tp,
10276
- padZero: up,
10277
- percentToDecimal: rp,
10278
- percentage: ip,
10279
- pow: hp,
10280
- random: xf,
10281
- randomFloat: Gf,
10282
- range: _f,
10312
+ inRange: gp,
10313
+ isEven: dp,
10314
+ isOdd: fp,
10315
+ isPrime: pp,
10316
+ lcm: hp,
10317
+ multiply: ep,
10318
+ padZero: sp,
10319
+ percentToDecimal: ip,
10320
+ percentage: ap,
10321
+ pow: Mp,
10322
+ random: Jf,
10323
+ randomFloat: xf,
10324
+ range: Gf,
10283
10325
  round: Bn,
10284
- sqrt: Mp,
10285
- subtract: ep,
10286
- toChineseMoney: dp,
10287
- toChineseNumber: cp,
10288
- toFixed: ap
10326
+ sqrt: yp,
10327
+ subtract: Xf,
10328
+ toChineseMoney: cp,
10329
+ toChineseNumber: up,
10330
+ toFixed: lp
10289
10331
  }, Symbol.toStringTag, { value: "Module" }));
10290
10332
  function Rt(e) {
10291
10333
  if (e === null || typeof e != "object") return e;
@@ -10300,7 +10342,7 @@ function Rt(e) {
10300
10342
  Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Rt(e[n]));
10301
10343
  return t;
10302
10344
  }
10303
- function vp(e) {
10345
+ function Ap(e) {
10304
10346
  return e === null || typeof e != "object" ? e : Array.isArray(e) ? [...e] : { ...e };
10305
10347
  }
10306
10348
  function Xo(...e) {
@@ -10314,24 +10356,24 @@ function Xo(...e) {
10314
10356
  });
10315
10357
  }), t;
10316
10358
  }
10317
- function Cp(...e) {
10359
+ function vp(...e) {
10318
10360
  return Object.assign({}, ...e);
10319
10361
  }
10320
- function Dp(e, t) {
10362
+ function Cp(e, t) {
10321
10363
  if (!e || typeof e != "object") return {};
10322
10364
  const n = {};
10323
10365
  return t.forEach((o) => {
10324
10366
  o in e && (n[o] = e[o]);
10325
10367
  }), n;
10326
10368
  }
10327
- function bp(e, t) {
10369
+ function Dp(e, t) {
10328
10370
  if (!e || typeof e != "object") return {};
10329
10371
  const n = { ...e };
10330
10372
  return t.forEach((o) => {
10331
10373
  delete n[o];
10332
10374
  }), n;
10333
10375
  }
10334
- function Np(e, t, n) {
10376
+ function bp(e, t, n) {
10335
10377
  if (!e || typeof e != "object") return n;
10336
10378
  const o = t.split(".");
10337
10379
  let l = e;
@@ -10351,7 +10393,7 @@ function el(e, t, n) {
10351
10393
  (!(a in r) || typeof r[a] != "object") && (r[a] = {}), r = r[a];
10352
10394
  r[l] = n;
10353
10395
  }
10354
- function wp(e, t) {
10396
+ function Np(e, t) {
10355
10397
  if (!e || typeof e != "object") return !1;
10356
10398
  const n = t.split(".");
10357
10399
  let o = e;
@@ -10362,10 +10404,10 @@ function wp(e, t) {
10362
10404
  return !1;
10363
10405
  return !0;
10364
10406
  }
10365
- function jp(e) {
10407
+ function wp(e) {
10366
10408
  return e == null ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
10367
10409
  }
10368
- function Sp(e) {
10410
+ function jp(e) {
10369
10411
  if (typeof e != "object" || e === null) return !1;
10370
10412
  const t = Object.getPrototypeOf(e);
10371
10413
  return t === Object.prototype || t === null;
@@ -10403,13 +10445,13 @@ function hn(e) {
10403
10445
  t[o] = typeof l == "object" ? hn(l) : l;
10404
10446
  }), t;
10405
10447
  }
10406
- function Tp(e) {
10448
+ function Sp(e) {
10407
10449
  return !e || typeof e != "object" ? "" : Object.keys(e).filter((t) => e[t] !== void 0 && e[t] !== null).map((t) => {
10408
10450
  const n = e[t];
10409
10451
  return Array.isArray(n) ? n.map((o) => `${encodeURIComponent(t)}=${encodeURIComponent(o)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
10410
10452
  }).join("&");
10411
10453
  }
10412
- function zp(e) {
10454
+ function Tp(e) {
10413
10455
  if (!e) return {};
10414
10456
  const t = e.startsWith("?") ? e.slice(1) : e, n = {};
10415
10457
  return t.split("&").forEach((o) => {
@@ -10424,7 +10466,7 @@ function tl(e, t) {
10424
10466
  t(e[o], o) && (n[o] = e[o]);
10425
10467
  }), n;
10426
10468
  }
10427
- function Lp(e, t = !0) {
10469
+ function zp(e, t = !0) {
10428
10470
  return tl(e, (n) => !(n == null || t && n === ""));
10429
10471
  }
10430
10472
  function nl(e, t = "") {
@@ -10435,14 +10477,14 @@ function nl(e, t = "") {
10435
10477
  r && typeof r == "object" && !Array.isArray(r) ? Object.assign(n, nl(r, l)) : n[l] = r;
10436
10478
  }), n;
10437
10479
  }
10438
- function kp(e) {
10480
+ function Lp(e) {
10439
10481
  if (!e || typeof e != "object") return {};
10440
10482
  const t = {};
10441
10483
  return Object.keys(e).forEach((n) => {
10442
10484
  el(t, n, e[n]);
10443
10485
  }), t;
10444
10486
  }
10445
- function Op(e) {
10487
+ function kp(e) {
10446
10488
  if (!e || typeof e != "object") return {};
10447
10489
  const t = {};
10448
10490
  return Object.keys(e).forEach((n) => {
@@ -10450,43 +10492,43 @@ function Op(e) {
10450
10492
  t[String(o)] = n;
10451
10493
  }), t;
10452
10494
  }
10453
- function $p(e) {
10495
+ function Op(e) {
10454
10496
  return !e || typeof e != "object" ? [] : Object.values(e);
10455
10497
  }
10456
- function Vp(e) {
10498
+ function $p(e) {
10457
10499
  return !e || typeof e != "object" ? [] : Object.keys(e);
10458
10500
  }
10459
- function Ep(e) {
10501
+ function Vp(e) {
10460
10502
  return !e || typeof e != "object" ? [] : Object.entries(e);
10461
10503
  }
10462
- const Pp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10504
+ const Ep = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10463
10505
  __proto__: null,
10464
10506
  deepClone: Rt,
10465
10507
  deepMerge: Xo,
10466
- entries: Ep,
10508
+ entries: Vp,
10467
10509
  filterValues: tl,
10468
10510
  flattenObject: nl,
10469
- fromQueryString: zp,
10470
- get: Np,
10471
- has: wp,
10472
- invert: Op,
10473
- isEmpty: jp,
10511
+ fromQueryString: Tp,
10512
+ get: bp,
10513
+ has: Np,
10514
+ invert: kp,
10515
+ isEmpty: wp,
10474
10516
  isEqual: yn,
10475
- isPlainObject: Sp,
10476
- keys: Vp,
10517
+ isPlainObject: jp,
10518
+ keys: $p,
10477
10519
  keysToCamelCase: Mn,
10478
10520
  keysToUnderlineCase: hn,
10479
- omit: bp,
10480
- pick: Dp,
10481
- removeEmpty: Lp,
10521
+ omit: Dp,
10522
+ pick: Cp,
10523
+ removeEmpty: zp,
10482
10524
  set: el,
10483
- shallowClone: vp,
10484
- shallowMerge: Cp,
10485
- toQueryString: Tp,
10486
- unflattenObject: kp,
10487
- values: $p
10525
+ shallowClone: Ap,
10526
+ shallowMerge: vp,
10527
+ toQueryString: Sp,
10528
+ unflattenObject: Lp,
10529
+ values: Op
10488
10530
  }, Symbol.toStringTag, { value: "Module" }));
10489
- function Yp(e, t = 300, n = !1) {
10531
+ function Pp(e, t = 300, n = !1) {
10490
10532
  let o = null, l = !1;
10491
10533
  const r = function(...a) {
10492
10534
  o && clearTimeout(o), n && !l ? (e.apply(this, a), l = !0) : o = setTimeout(() => {
@@ -10497,7 +10539,7 @@ function Yp(e, t = 300, n = !1) {
10497
10539
  o && (clearTimeout(o), o = null), l = !1;
10498
10540
  }, r;
10499
10541
  }
10500
- function Rp(e, t = 300, n) {
10542
+ function Yp(e, t = 300, n) {
10501
10543
  const { leading: o = !0, trailing: l = !0 } = n || {};
10502
10544
  let r = null, a = 0, i = null;
10503
10545
  const s = function(...c) {
@@ -10512,7 +10554,7 @@ function Rp(e, t = 300, n) {
10512
10554
  r && (clearTimeout(r), r = null), a = 0, i = null;
10513
10555
  }, s;
10514
10556
  }
10515
- function Qp(e) {
10557
+ function Rp(e) {
10516
10558
  let t = !1, n;
10517
10559
  return function(...o) {
10518
10560
  return t || (t = !0, n = e.apply(this, o)), n;
@@ -10524,7 +10566,7 @@ function ol(e) {
10524
10566
  function ll(e) {
10525
10567
  return ol(e);
10526
10568
  }
10527
- async function qp(e, t) {
10569
+ async function Qp(e, t) {
10528
10570
  const { times: n = 3, delay: o = 1e3, onRetry: l } = t || {};
10529
10571
  let r;
10530
10572
  for (let a = 0; a < n; a++)
@@ -10535,7 +10577,7 @@ async function qp(e, t) {
10535
10577
  }
10536
10578
  throw r;
10537
10579
  }
10538
- function Bp(e, t) {
10580
+ function qp(e, t) {
10539
10581
  return Promise.race([
10540
10582
  e,
10541
10583
  new Promise(
@@ -10543,7 +10585,7 @@ function Bp(e, t) {
10543
10585
  )
10544
10586
  ]);
10545
10587
  }
10546
- function Up(e, t) {
10588
+ function Bp(e, t) {
10547
10589
  const n = /* @__PURE__ */ new Map(), o = function(...l) {
10548
10590
  const r = t ? t(...l) : JSON.stringify(l);
10549
10591
  if (n.has(r))
@@ -10553,10 +10595,10 @@ function Up(e, t) {
10553
10595
  };
10554
10596
  return o.cache = n, o;
10555
10597
  }
10556
- function Zp(e) {
10598
+ function Up(e) {
10557
10599
  e.cache && e.cache.clear();
10558
10600
  }
10559
- function Fp(e, t = 100) {
10601
+ function Zp(e, t = 100) {
10560
10602
  let n = [], o = null;
10561
10603
  return function(l) {
10562
10604
  n.push(l), o && clearTimeout(o), o = setTimeout(() => {
@@ -10564,7 +10606,7 @@ function Fp(e, t = 100) {
10564
10606
  }, t);
10565
10607
  };
10566
10608
  }
10567
- async function Wp(e, t) {
10609
+ async function Fp(e, t) {
10568
10610
  const n = [], o = [];
10569
10611
  for (const l of e) {
10570
10612
  const r = l().then((a) => {
@@ -10574,7 +10616,7 @@ async function Wp(e, t) {
10574
10616
  }
10575
10617
  return await Promise.all(o), n;
10576
10618
  }
10577
- async function Hp(e) {
10619
+ async function Wp(e) {
10578
10620
  const t = [];
10579
10621
  for (const n of e) {
10580
10622
  const o = await n();
@@ -10582,19 +10624,19 @@ async function Hp(e) {
10582
10624
  }
10583
10625
  return t;
10584
10626
  }
10585
- function Jp(e, t) {
10627
+ function Hp(e, t) {
10586
10628
  return function(...n) {
10587
10629
  const o = performance.now(), l = e.apply(this, n), a = (performance.now() - o).toFixed(2);
10588
10630
  return console.log(`${t || e.name || "Function"}: ${a}ms`), l;
10589
10631
  };
10590
10632
  }
10591
- function xp(e, t) {
10633
+ function Jp(e, t) {
10592
10634
  return async function(...n) {
10593
10635
  const o = performance.now(), l = await e.apply(this, n), a = (performance.now() - o).toFixed(2);
10594
10636
  return console.log(`${t || e.name || "Function"}: ${a}ms`), l;
10595
10637
  };
10596
10638
  }
10597
- function Gp(e) {
10639
+ function xp(e) {
10598
10640
  const t = /* @__PURE__ */ new Map();
10599
10641
  return async function(...n) {
10600
10642
  const o = JSON.stringify(n);
@@ -10606,7 +10648,7 @@ function Gp(e) {
10606
10648
  return t.set(o, l), l;
10607
10649
  };
10608
10650
  }
10609
- function _p(e) {
10651
+ function Gp(e) {
10610
10652
  let t = null;
10611
10653
  const n = function(...o) {
10612
10654
  t === null && (t = requestAnimationFrame(() => {
@@ -10617,70 +10659,70 @@ function _p(e) {
10617
10659
  t !== null && (cancelAnimationFrame(t), t = null);
10618
10660
  }, n;
10619
10661
  }
10620
- const Kp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10662
+ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10621
10663
  __proto__: null,
10622
- batch: Fp,
10623
- clearCache: Zp,
10624
- debounce: Yp,
10625
- dedupe: Gp,
10664
+ batch: Zp,
10665
+ clearCache: Up,
10666
+ debounce: Pp,
10667
+ dedupe: xp,
10626
10668
  delay: ol,
10627
- measureTime: Jp,
10628
- measureTimeAsync: xp,
10629
- memoize: Up,
10630
- once: Qp,
10631
- promiseLimit: Wp,
10632
- promiseSerial: Hp,
10633
- rafThrottle: _p,
10634
- retry: qp,
10669
+ measureTime: Hp,
10670
+ measureTimeAsync: Jp,
10671
+ memoize: Bp,
10672
+ once: Rp,
10673
+ promiseLimit: Fp,
10674
+ promiseSerial: Wp,
10675
+ rafThrottle: Gp,
10676
+ retry: Qp,
10635
10677
  sleep: ll,
10636
- throttle: Rp,
10637
- withTimeout: Bp
10678
+ throttle: Yp,
10679
+ withTimeout: qp
10638
10680
  }, Symbol.toStringTag, { value: "Module" }));
10639
- function Xp(e) {
10681
+ function Kp(e) {
10640
10682
  return !e || e.length !== 11 ? e : e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
10641
10683
  }
10642
- function eg(e) {
10684
+ function Xp(e) {
10643
10685
  if (!e || e.length < 8) return e;
10644
10686
  const t = e.length;
10645
10687
  return e.substring(0, 3) + "*".repeat(t - 7) + e.substring(t - 4);
10646
10688
  }
10647
- function tg(e) {
10689
+ function eg(e) {
10648
10690
  return !e || e.length === 0 || e.length === 1 ? e : e.length === 2 ? e[0] + "*" : e.substring(0, e.length - 1) + "*";
10649
10691
  }
10650
- function ng(e) {
10692
+ function tg(e) {
10651
10693
  if (!e || e.length < 8) return e;
10652
10694
  const t = e.length, n = e.substring(0, 4), o = e.substring(t - 4);
10653
10695
  return `${n} **** **** ${o}`;
10654
10696
  }
10655
- function og(e) {
10697
+ function ng(e) {
10656
10698
  if (!e || !e.includes("@")) return e;
10657
10699
  const [t, n] = e.split("@");
10658
10700
  return t.length <= 1 ? e : t[0] + "***@" + n;
10659
10701
  }
10660
- function lg(e, t = 6) {
10702
+ function og(e, t = 6) {
10661
10703
  return !e || e.length <= t ? e : e.substring(0, t) + "***";
10662
10704
  }
10663
- function ag(e) {
10705
+ function lg(e) {
10664
10706
  return e && e.charAt(0).toUpperCase() + e.slice(1);
10665
10707
  }
10666
- function ig(e) {
10708
+ function ag(e) {
10667
10709
  return e && e.replace(/\b\w/g, (t) => t.toUpperCase());
10668
10710
  }
10669
- function rg(e) {
10711
+ function ig(e) {
10670
10712
  return e && e.replace(/_([a-z])/g, (t, n) => n.toUpperCase());
10671
10713
  }
10672
- function sg(e) {
10714
+ function rg(e) {
10673
10715
  return e && e.replace(/([A-Z])/g, "_$1").toLowerCase();
10674
10716
  }
10675
- function ug(e) {
10717
+ function sg(e) {
10676
10718
  return e && e.replace(/([A-Z])/g, "-$1").toLowerCase();
10677
10719
  }
10678
- function cg(e) {
10720
+ function ug(e) {
10679
10721
  if (e == null || e === "") return "";
10680
10722
  const n = String(e).split(".");
10681
10723
  return n[0] = n[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), n.join(".");
10682
10724
  }
10683
- function dg(e, t) {
10725
+ function cg(e, t) {
10684
10726
  const {
10685
10727
  currency: n = "¥",
10686
10728
  decimals: o = 2,
@@ -10692,19 +10734,19 @@ function dg(e, t) {
10692
10734
  let d = s.replace(/\B(?=(\d{3})+(?!\d))/g, l);
10693
10735
  return o > 0 && c && (d += r + c), n + d;
10694
10736
  }
10695
- function fg(e, t = 2) {
10737
+ function dg(e, t = 2) {
10696
10738
  if (e === 0) return "0 B";
10697
10739
  if (!e) return "";
10698
10740
  const n = 1024, o = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(e) / Math.log(n));
10699
10741
  return parseFloat((e / Math.pow(n, l)).toFixed(t)) + " " + o[l];
10700
10742
  }
10701
- function pg(e) {
10743
+ function fg(e) {
10702
10744
  return e && e.replace(/\s/g, "").replace(/(\d{4})(?=\d)/g, "$1 ");
10703
10745
  }
10704
- function gg(e) {
10746
+ function pg(e) {
10705
10747
  return e && e.replace(/\s/g, "").replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3");
10706
10748
  }
10707
- function mg(e = 8, t = "alphanumeric") {
10749
+ function gg(e = 8, t = "alphanumeric") {
10708
10750
  const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", o = "0123456789";
10709
10751
  let r = n + o;
10710
10752
  t === "alpha" && (r = n), t === "number" && (r = o);
@@ -10713,17 +10755,17 @@ function mg(e = 8, t = "alphanumeric") {
10713
10755
  a += r.charAt(Math.floor(Math.random() * r.length));
10714
10756
  return a;
10715
10757
  }
10716
- function yg(e) {
10758
+ function mg(e) {
10717
10759
  const t = Date.now(), n = Math.random().toString(36).substring(2, 8);
10718
10760
  return e ? `${e}_${t}_${n}` : `${t}_${n}`;
10719
10761
  }
10720
- function Mg(e, t, n = "...") {
10762
+ function yg(e, t, n = "...") {
10721
10763
  return !e || e.length <= t ? e : e.substring(0, t) + n;
10722
10764
  }
10723
- function hg(e) {
10765
+ function Mg(e) {
10724
10766
  return e && e.replace(/<[^>]*>/g, "");
10725
10767
  }
10726
- function Ig(e) {
10768
+ function hg(e) {
10727
10769
  if (!e) return e;
10728
10770
  const t = {
10729
10771
  "&": "&amp;",
@@ -10735,7 +10777,7 @@ function Ig(e) {
10735
10777
  };
10736
10778
  return e.replace(/[&<>"'/]/g, (n) => t[n]);
10737
10779
  }
10738
- function Ag(e) {
10780
+ function Ig(e) {
10739
10781
  if (!e) return e;
10740
10782
  const t = {
10741
10783
  "&amp;": "&",
@@ -10747,50 +10789,50 @@ function Ag(e) {
10747
10789
  };
10748
10790
  return e.replace(/&(amp|lt|gt|quot|#x27|#x2F);/g, (n) => t[n]);
10749
10791
  }
10750
- function vg(e) {
10792
+ function Ag(e) {
10751
10793
  return e == null || e.trim() === "";
10752
10794
  }
10753
- function Cg(e) {
10795
+ function vg(e) {
10754
10796
  return e && e.split("").reverse().join("");
10755
10797
  }
10756
- function Dg(e, t) {
10798
+ function Cg(e, t) {
10757
10799
  return !e || t <= 0 ? "" : e.repeat(t);
10758
10800
  }
10759
- function bg(e, t, n = " ") {
10801
+ function Dg(e, t, n = " ") {
10760
10802
  return e || (e = ""), e.padStart(t, n);
10761
10803
  }
10762
- function Ng(e, t, n = " ") {
10804
+ function bg(e, t, n = " ") {
10763
10805
  return e || (e = ""), e.padEnd(t, n);
10764
10806
  }
10765
- const wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10807
+ const Ng = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10766
10808
  __proto__: null,
10767
- addressDesensitize: lg,
10768
- bankCardDesensitize: ng,
10769
- capitalize: ag,
10770
- capitalizeWords: ig,
10771
- emailDesensitize: og,
10772
- escapeHtml: Ig,
10773
- formatBankCard: pg,
10774
- formatFileSize: fg,
10775
- formatMoney: dg,
10776
- formatNumber: cg,
10777
- formatPhone: gg,
10778
- generateUUID: yg,
10779
- idCardDesensitize: eg,
10780
- isEmpty: vg,
10781
- nameDesensitize: tg,
10782
- padEnd: Ng,
10783
- padStart: bg,
10784
- phoneDesensitize: Xp,
10785
- randomString: mg,
10786
- removeHtmlTags: hg,
10787
- repeat: Dg,
10788
- reverse: Cg,
10789
- toCamelCase: rg,
10790
- toKebabCase: ug,
10791
- toUnderlineCase: sg,
10792
- truncate: Mg,
10793
- unescapeHtml: Ag
10809
+ addressDesensitize: og,
10810
+ bankCardDesensitize: tg,
10811
+ capitalize: lg,
10812
+ capitalizeWords: ag,
10813
+ emailDesensitize: ng,
10814
+ escapeHtml: hg,
10815
+ formatBankCard: fg,
10816
+ formatFileSize: dg,
10817
+ formatMoney: cg,
10818
+ formatNumber: ug,
10819
+ formatPhone: pg,
10820
+ generateUUID: mg,
10821
+ idCardDesensitize: Xp,
10822
+ isEmpty: Ag,
10823
+ nameDesensitize: eg,
10824
+ padEnd: bg,
10825
+ padStart: Dg,
10826
+ phoneDesensitize: Kp,
10827
+ randomString: gg,
10828
+ removeHtmlTags: Mg,
10829
+ repeat: Cg,
10830
+ reverse: vg,
10831
+ toCamelCase: ig,
10832
+ toKebabCase: sg,
10833
+ toUnderlineCase: rg,
10834
+ truncate: yg,
10835
+ unescapeHtml: Ig
10794
10836
  }, Symbol.toStringTag, { value: "Module" }));
10795
10837
  function je(e) {
10796
10838
  const t = e || (typeof window < "u" ? window.location.href : "");
@@ -10804,47 +10846,47 @@ function je(e) {
10804
10846
  r && (r in o ? Array.isArray(o[r]) ? o[r].push(a) : o[r] = [o[r], a] : o[r] = a);
10805
10847
  }), o;
10806
10848
  }
10807
- function dt(e) {
10849
+ function ct(e) {
10808
10850
  return !e || typeof e != "object" ? "" : Object.keys(e).filter((t) => e[t] !== void 0 && e[t] !== null).map((t) => {
10809
10851
  const n = e[t];
10810
10852
  return Array.isArray(n) ? n.map((o) => `${encodeURIComponent(t)}=${encodeURIComponent(o)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
10811
10853
  }).join("&");
10812
10854
  }
10813
- function jg(e, t) {
10855
+ function wg(e, t) {
10814
10856
  const o = je(t)[e];
10815
10857
  return o === void 0 ? null : Array.isArray(o) ? o[0] || null : o;
10816
10858
  }
10817
- function Sg(e, t) {
10859
+ function jg(e, t) {
10818
10860
  const o = je(t)[e];
10819
10861
  return o === void 0 ? [] : Array.isArray(o) ? o : [o];
10820
10862
  }
10821
- function Tg(e, t = "push") {
10863
+ function Sg(e, t = "push") {
10822
10864
  if (typeof window > "u" || !window.history) return;
10823
10865
  const o = { ...je(), ...e };
10824
10866
  Object.keys(o).forEach((a) => {
10825
10867
  (o[a] === null || o[a] === void 0) && delete o[a];
10826
10868
  });
10827
- const l = dt(o), r = l ? `${window.location.pathname}?${l}` : window.location.pathname;
10869
+ const l = ct(o), r = l ? `${window.location.pathname}?${l}` : window.location.pathname;
10828
10870
  t === "push" ? window.history.pushState(null, "", r) : window.history.replaceState(null, "", r);
10829
10871
  }
10830
- function zg(e, t = "push") {
10872
+ function Tg(e, t = "push") {
10831
10873
  if (typeof window > "u" || !window.history) return;
10832
10874
  const n = je();
10833
10875
  e.forEach((r) => {
10834
10876
  delete n[r];
10835
10877
  });
10836
- const o = dt(n), l = o ? `${window.location.pathname}?${o}` : window.location.pathname;
10878
+ const o = ct(n), l = o ? `${window.location.pathname}?${o}` : window.location.pathname;
10837
10879
  t === "push" ? window.history.pushState(null, "", l) : window.history.replaceState(null, "", l);
10838
10880
  }
10839
- function Lg(e = "push") {
10881
+ function zg(e = "push") {
10840
10882
  if (typeof window > "u" || !window.history) return;
10841
10883
  const t = window.location.pathname;
10842
10884
  e === "push" ? window.history.pushState(null, "", t) : window.history.replaceState(null, "", t);
10843
10885
  }
10844
- function kg(...e) {
10886
+ function Lg(...e) {
10845
10887
  return e.length === 0 ? "" : e.map((t, n) => n === 0 ? t.replace(/\/+$/, "") : n === e.length - 1 ? t.replace(/^\/+/, "") : t.replace(/^\/+|\/+$/g, "")).filter(Boolean).join("/");
10846
10888
  }
10847
- function Og(e) {
10889
+ function kg(e) {
10848
10890
  if (!e)
10849
10891
  return {
10850
10892
  protocol: "",
@@ -10893,7 +10935,7 @@ function Og(e) {
10893
10935
  };
10894
10936
  }
10895
10937
  }
10896
- function $g(e) {
10938
+ function Og(e) {
10897
10939
  const {
10898
10940
  protocol: t = "https",
10899
10941
  hostname: n = "",
@@ -10905,16 +10947,16 @@ function $g(e) {
10905
10947
  if (!n) return l;
10906
10948
  let i = `${t}://${n}`;
10907
10949
  o && (i += `:${o}`), l && (i += l.startsWith("/") ? l : `/${l}`);
10908
- const s = dt(r);
10950
+ const s = ct(r);
10909
10951
  return s && (i += `?${s}`), a && (i += a.startsWith("#") ? a : `#${a}`), i;
10910
10952
  }
10911
- function Vg(e) {
10953
+ function $g(e) {
10912
10954
  return e ? /^(https?:)?\/\//.test(e) : !1;
10913
10955
  }
10914
- function Eg(e) {
10956
+ function Vg(e) {
10915
10957
  return e ? e.startsWith("/") : !1;
10916
10958
  }
10917
- function Pg(e, t) {
10959
+ function Eg(e, t) {
10918
10960
  try {
10919
10961
  const n = new URL(e), o = new URL(t);
10920
10962
  return n.origin === o.origin;
@@ -10922,17 +10964,17 @@ function Pg(e, t) {
10922
10964
  return !1;
10923
10965
  }
10924
10966
  }
10925
- function Yg(e) {
10967
+ function Pg(e) {
10926
10968
  return encodeURIComponent(e);
10927
10969
  }
10928
- function Rg(e) {
10970
+ function Yg(e) {
10929
10971
  try {
10930
10972
  return decodeURIComponent(e);
10931
10973
  } catch {
10932
10974
  return e;
10933
10975
  }
10934
10976
  }
10935
- function Qg(e) {
10977
+ function Rg(e) {
10936
10978
  if (!e) return "";
10937
10979
  try {
10938
10980
  return encodeURI(decodeURI(e));
@@ -10940,7 +10982,7 @@ function Qg(e) {
10940
10982
  return encodeURI(e);
10941
10983
  }
10942
10984
  }
10943
- function qg(e) {
10985
+ function Qg(e) {
10944
10986
  if (!e) return "";
10945
10987
  try {
10946
10988
  return decodeURI(e);
@@ -10948,14 +10990,14 @@ function qg(e) {
10948
10990
  return e;
10949
10991
  }
10950
10992
  }
10951
- function Bg(e, t) {
10993
+ function qg(e, t) {
10952
10994
  if (!e) return "";
10953
10995
  if (!t || Object.keys(t).length === 0) return e;
10954
- const [n, o] = e.split("#"), [l, r] = n.split("?"), i = { ...r ? je("?" + r) : {}, ...t }, s = dt(i);
10996
+ const [n, o] = e.split("#"), [l, r] = n.split("?"), i = { ...r ? je("?" + r) : {}, ...t }, s = ct(i);
10955
10997
  let c = l;
10956
10998
  return s && (c += `?${s}`), o && (c += `#${o}`), c;
10957
10999
  }
10958
- function Ug(e, t) {
11000
+ function Bg(e, t) {
10959
11001
  if (!e) return "";
10960
11002
  if (!t || t.length === 0) return e;
10961
11003
  const [n, o] = e.split("#"), [l, r] = n.split("?");
@@ -10964,7 +11006,7 @@ function Ug(e, t) {
10964
11006
  t.forEach((c) => {
10965
11007
  delete a[c];
10966
11008
  });
10967
- const i = dt(a);
11009
+ const i = ct(a);
10968
11010
  let s = l;
10969
11011
  return i && (s += `?${i}`), o && (s += `#${o}`), s;
10970
11012
  }
@@ -10975,61 +11017,61 @@ function al(e) {
10975
11017
  return "";
10976
11018
  }
10977
11019
  }
10978
- function Zg(e) {
11020
+ function Ug(e) {
10979
11021
  const t = al(e);
10980
11022
  if (!t) return "";
10981
11023
  const n = t.split(".");
10982
11024
  return n.length <= 2 ? t : n.slice(-2).join(".");
10983
11025
  }
10984
- function Fg() {
11026
+ function Zg() {
10985
11027
  return typeof window > "u" ? "" : window.location.href;
10986
11028
  }
10987
- function Wg() {
11029
+ function Fg() {
10988
11030
  return typeof window > "u" ? "" : window.location.pathname;
10989
11031
  }
10990
- function Hg() {
11032
+ function Wg() {
10991
11033
  return typeof window > "u" ? {} : je(window.location.search);
10992
11034
  }
10993
- function Jg() {
11035
+ function Hg() {
10994
11036
  return typeof window > "u" ? "" : window.location.hash.replace(/^#/, "");
10995
11037
  }
10996
- const xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11038
+ const Jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10997
11039
  __proto__: null,
10998
- addQueryParams: Bg,
10999
- buildUrl: $g,
11000
- clearQueryParams: Lg,
11001
- decodeParam: Rg,
11002
- encodeParam: Yg,
11003
- getCurrentHash: Jg,
11004
- getCurrentPath: Wg,
11005
- getCurrentQuery: Hg,
11006
- getCurrentUrl: Fg,
11040
+ addQueryParams: qg,
11041
+ buildUrl: Og,
11042
+ clearQueryParams: zg,
11043
+ decodeParam: Yg,
11044
+ encodeParam: Pg,
11045
+ getCurrentHash: Hg,
11046
+ getCurrentPath: Fg,
11047
+ getCurrentQuery: Wg,
11048
+ getCurrentUrl: Zg,
11007
11049
  getDomain: al,
11008
- getQueryParam: jg,
11009
- getQueryParams: Sg,
11010
- getRootDomain: Zg,
11011
- isAbsolutePath: Eg,
11012
- isExternalLink: Vg,
11013
- isSameOrigin: Pg,
11014
- joinUrl: kg,
11050
+ getQueryParam: wg,
11051
+ getQueryParams: jg,
11052
+ getRootDomain: Ug,
11053
+ isAbsolutePath: Vg,
11054
+ isExternalLink: $g,
11055
+ isSameOrigin: Eg,
11056
+ joinUrl: Lg,
11015
11057
  parseQuery: je,
11016
- parseUrl: Og,
11017
- removeQueryParams: zg,
11018
- removeQueryParamsFromUrl: Ug,
11019
- safeDecodeUrl: qg,
11020
- safeEncodeUrl: Qg,
11021
- stringifyQuery: dt,
11022
- updateQueryParams: Tg
11023
- }, Symbol.toStringTag, { value: "Module" })), Gg = "#0B5CFF", _g = "#0B5CFF", Kg = "#323232", Xg = "#2da641", em = "#E93030", tm = "#E93030", nm = "#f2c037", om = "#969799", lm = "#ffffff", am = {
11024
- primary: Gg,
11025
- blue: _g,
11026
- dark: Kg,
11027
- green: Xg,
11028
- red: em,
11029
- negative: tm,
11030
- yellow: nm,
11031
- grey: om,
11032
- white: lm,
11058
+ parseUrl: kg,
11059
+ removeQueryParams: Tg,
11060
+ removeQueryParamsFromUrl: Bg,
11061
+ safeDecodeUrl: Qg,
11062
+ safeEncodeUrl: Rg,
11063
+ stringifyQuery: ct,
11064
+ updateQueryParams: Sg
11065
+ }, Symbol.toStringTag, { value: "Module" })), xg = "#0B5CFF", Gg = "#0B5CFF", _g = "#323232", Kg = "#2da641", Xg = "#E93030", em = "#E93030", tm = "#f2c037", nm = "#969799", om = "#ffffff", lm = {
11066
+ primary: xg,
11067
+ blue: Gg,
11068
+ dark: _g,
11069
+ green: Kg,
11070
+ red: Xg,
11071
+ negative: em,
11072
+ yellow: tm,
11073
+ grey: nm,
11074
+ white: om,
11033
11075
  "blue-light": "#f0f4ff",
11034
11076
  "dark-lighter": "#f7f7f7",
11035
11077
  "green-light": "#c0e4c6",
@@ -11041,16 +11083,16 @@ const xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11041
11083
  "grey-lighter": "#f5f6fa",
11042
11084
  "dark-strong": "#131523"
11043
11085
  };
11044
- function Um(e) {
11086
+ function Bm(e) {
11045
11087
  const { app: t, router: n, store: o, i18n: l, pagePermissionIds: r, pageActionPermissionIds: a, defaultLanguage: i, colors: s, disableBFCache: c } = e;
11046
- c && window.addEventListener("pageshow", (I) => {
11047
- I.persisted && window.location.reload();
11048
- }), sm(t);
11088
+ c && window.addEventListener("pageshow", (h) => {
11089
+ h.persisted && window.location.reload();
11090
+ }), rm(t);
11049
11091
  const u = t.config.globalProperties.$q;
11050
- u ? (Rl(u), Yt.setQuasarInstance(u), bd.setQuasarInstance(u), rm(u)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), i ? cn(i).catch((I) => {
11051
- console.error("[rtcpt] Failed to set default language:", I);
11052
- }) : cn("zh-CN").catch((I) => {
11053
- console.error("[rtcpt] Failed to load default locale:", I);
11092
+ u ? (Rl(u), Yt.setQuasarInstance(u), Dd.setQuasarInstance(u), im(u)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), i ? cn(i).catch((h) => {
11093
+ console.error("[rtcpt] Failed to set default language:", h);
11094
+ }) : cn("zh-CN").catch((h) => {
11095
+ console.error("[rtcpt] Failed to load default locale:", h);
11054
11096
  });
11055
11097
  const d = $i, f = r ? Hn(r) ? r : k(r) : void 0, g = a ? Hn(a) ? a : k(a) : void 0;
11056
11098
  Vn.configure({
@@ -11060,21 +11102,21 @@ function Um(e) {
11060
11102
  iconMapFn: d,
11061
11103
  pagePermissionIds: f,
11062
11104
  pageActionPermissionIds: g
11063
- }), f && t.provide(wt, f), g && t.provide(Nt, g), s && u && im(s), u && (u.iconMapFn = Qo(u.iconMapFn, d));
11105
+ }), f && t.provide(wt, f), g && t.provide(Nt, g), s && u && am(s), u && (u.iconMapFn = Qo(u.iconMapFn, d));
11064
11106
  }
11065
- function im(e, t) {
11066
- const n = { ...am, ...e }, o = document.documentElement;
11107
+ function am(e, t) {
11108
+ const n = { ...lm, ...e }, o = document.documentElement;
11067
11109
  Object.entries(n).forEach(([l, r]) => {
11068
11110
  o.style.setProperty(`--j-color-${l}`, r);
11069
- }), n.primary && gt("primary", n.primary), n.negative && gt("negative", n.negative), n.green && gt("positive", n.green), n.yellow && gt("warning", n.yellow), n.dark && gt("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
11111
+ }), n.primary && pt("primary", n.primary), n.negative && pt("negative", n.negative), n.green && pt("positive", n.green), n.yellow && pt("warning", n.yellow), n.dark && pt("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
11070
11112
  }
11071
- function rm(e) {
11113
+ function im(e) {
11072
11114
  const t = ["notify", "dialog"], n = [];
11073
11115
  t.forEach((o) => {
11074
11116
  e[o] || n.push(o);
11075
11117
  }), n.length > 0 && console.warn(`[rtcpt] Missing required Quasar plugins: ${n.join(", ")}. Please register them in your main app with app.use(Quasar, { plugins: { Notify, Dialog } })`);
11076
11118
  }
11077
- function sm(e) {
11119
+ function rm(e) {
11078
11120
  var n;
11079
11121
  const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
11080
11122
  t != null && t["close-popup"] || e.directive("close-popup", qt);
@@ -11112,93 +11154,93 @@ function il(e, t, n = (l) => JSON.stringify(l), o = (l) => JSON.parse(l)) {
11112
11154
  return window.addEventListener("storage", i), a;
11113
11155
  }
11114
11156
  const rl = (e) => e.join(","), sl = (e) => e ? e.split(",").filter(Boolean) : [];
11115
- function Zm(e) {
11157
+ function Um(e) {
11116
11158
  return il(e, [], rl, sl);
11117
11159
  }
11118
- function Fm(e) {
11160
+ function Zm(e) {
11119
11161
  return il(e, [], rl, sl);
11120
11162
  }
11121
- const Wm = {
11163
+ const Fm = {
11122
11164
  transformTreeUseLabelAndValue: Rn,
11123
- JQDownloadFile: Rd,
11124
- generateDownloadFileName: Qd,
11165
+ JQDownloadFile: Yd,
11166
+ generateDownloadFileName: Rd,
11125
11167
  ...xu,
11126
11168
  formRules: Ei,
11127
- array: gf,
11128
- dom: Jf,
11129
- formUtils: Fd,
11130
- number: Ap,
11131
- object: Pp,
11132
- perf: Kp,
11169
+ array: pf,
11170
+ dom: Hf,
11171
+ formUtils: Zd,
11172
+ number: Ip,
11173
+ object: Ep,
11174
+ perf: _p,
11133
11175
  regex: ci,
11134
- string: wg,
11135
- treeUtils: Yd,
11136
- url: xg
11176
+ string: Ng,
11177
+ treeUtils: Pd,
11178
+ url: Jg
11137
11179
  };
11138
11180
  export {
11139
11181
  Vn as DialogProvider,
11140
11182
  mo as JCCopy,
11141
- fm as JCDuoListEditor,
11142
- pm as JCEditableProxy,
11143
- gm as JCFallback,
11144
- mm as JCFoldableList,
11145
- ym as JCFormatLookup,
11146
- Mm as JCListEditor,
11147
- hm as JCMoreMenu,
11148
- Im as JCNestedSelect,
11149
- bm as JCOrgSelect,
11183
+ dm as JCDuoListEditor,
11184
+ fm as JCEditableProxy,
11185
+ pm as JCFallback,
11186
+ gm as JCFoldableList,
11187
+ mm as JCFormatLookup,
11188
+ ym as JCListEditor,
11189
+ Mm as JCMoreMenu,
11190
+ hm as JCNestedSelect,
11191
+ Dm as JCOrgSelect,
11150
11192
  Mo as JCPermission,
11151
- Nm as JCPlatform,
11152
- Am as JCTable,
11153
- vm as JCTabs,
11154
- Cm as JCTitleLine,
11193
+ bm as JCPlatform,
11194
+ Im as JCTable,
11195
+ Am as JCTabs,
11196
+ vm as JCTitleLine,
11155
11197
  Oe as JCTooltip,
11156
11198
  xt as JCTooltipEllipsis,
11157
11199
  Qr as JCTree,
11158
- Dm as JCTreeSelect,
11159
- xm as JChBar,
11160
- Gm as JChBarLine,
11161
- _m as JChBubble,
11162
- Km as JChLine,
11163
- Xm as JChPieDoughnut,
11164
- ey as JChRadar,
11165
- wm as JQAutocomplete,
11166
- ct as JQButton,
11167
- jm as JQButtonDropdown,
11168
- Sm as JQCheckbox,
11169
- Tm as JQConfirm,
11170
- bd as JQConfirmDialog,
11171
- zm as JQDate,
11172
- km as JQDateMonth,
11173
- Om as JQDateYear,
11174
- Lm as JQDatetime,
11175
- $m as JQDetailList,
11200
+ Cm as JCTreeSelect,
11201
+ Jm as JChBar,
11202
+ xm as JChBarLine,
11203
+ Gm as JChBubble,
11204
+ _m as JChLine,
11205
+ Km as JChPieDoughnut,
11206
+ Xm as JChRadar,
11207
+ Nm as JQAutocomplete,
11208
+ ut as JQButton,
11209
+ wm as JQButtonDropdown,
11210
+ jm as JQCheckbox,
11211
+ Sm as JQConfirm,
11212
+ Dd as JQConfirmDialog,
11213
+ Tm as JQDate,
11214
+ Lm as JQDateMonth,
11215
+ km as JQDateYear,
11216
+ zm as JQDatetime,
11217
+ Om as JQDetailList,
11176
11218
  Ci as JQDialog,
11177
- Vm as JQFile,
11219
+ $m as JQFile,
11178
11220
  _i as JQFormLabel,
11179
11221
  Jt as JQInput,
11180
- Em as JQInputRecognize,
11222
+ Vm as JQInputRecognize,
11181
11223
  Yt as JQMessage,
11182
- Pm as JQNewValue,
11183
- Ym as JQOptionGroup,
11184
- Bm as JQPagination,
11185
- Rm as JQPopover,
11186
- Qm as JQSearchForm,
11224
+ Em as JQNewValue,
11225
+ Pm as JQOptionGroup,
11226
+ qm as JQPagination,
11227
+ Ym as JQPopover,
11228
+ Rm as JQSearchForm,
11187
11229
  Ti as JQSelect,
11188
- qm as JQTable,
11230
+ Qm as JQTable,
11189
11231
  Sr as JQTooltip,
11190
11232
  Nt as PAGE_ACTION_PERMISSION_KEY,
11191
11233
  wt as PAGE_PERMISSION_KEY,
11192
11234
  Qo as composeIconMapFn,
11193
- Fd as formUtils,
11235
+ Zd as formUtils,
11194
11236
  Cn as getLocale,
11195
- Wm as jqTool,
11237
+ Fm as jqTool,
11196
11238
  $i as rtcptIconMapFn,
11197
- Um as rtcptInit,
11239
+ Bm as rtcptInit,
11198
11240
  cn as setLocale,
11199
11241
  yo as t,
11200
- Yd as treeUtils,
11242
+ Pd as treeUtils,
11201
11243
  ne as useI18n,
11202
- Fm as usePageActionPermissionSync,
11203
- Zm as usePagePermissionSync
11244
+ Zm as usePageActionPermissionSync,
11245
+ Um as usePagePermissionSync
11204
11246
  };