rtcpts 0.0.70 → 0.0.71

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
1
  import { defineComponent as F, ref as $, computed as C, resolveComponent as b, createBlock as q, openBlock as M, createElementBlock as T, createCommentVNode as Y, Fragment as K, renderList as ie, normalizeClass as U, createElementVNode as w, renderSlot as R, createVNode as S, inject as at, toDisplayString as V, normalizeStyle as X, createTextVNode as ee, useSlots as fl, useAttrs as pl, getCurrentInstance as fo, watch as H, nextTick as ye, onBeforeUnmount as Cn, Text as ml, cloneVNode as gl, h as qt, Teleport as yl, Transition as Wt, Comment as Ml, withCtx as A, mergeProps as Ae, createSlots as Ge, resolveDirective as Ct, withDirectives as ge, vShow as Ie, Suspense as hl, resolveDynamicComponent as fn, toHandlers as Il, onMounted as st, normalizeProps as Ye, guardReactiveProps as Fe, withModifiers as re, withKeys as po, createApp as vl, onUnmounted as bl, vModelText as Dl, reactive as ot, toRef as xn, isRef as _n } from "vue";
2
2
  import { QIcon as se, copyToClipboard as Al, QBtn as ze, QCardActions as Cl, QCardSection as xe, QCard as _e, QPopupProxy as ke, ClosePopup as Ht, QInnerLoading as Nn, QDialog as mo, QInput as wn, QItemSection as Jt, QItem as Nt, QSpinner as Nl, QSelect as wt, QList as jt, QMenu as jn, QTooltip as wl, QTree as go, QField as Le, QItemLabel as jl, QBtnDropdown as Sl, QCheckbox as yo, QDate as Mo, date as te, QOptionGroup as Tl, QPagination as zl, QTd as kl, QTh as Ll, QTable as $l, useDialogPluginComponent as Kn, setCssVar as yt } from "quasar";
3
3
  import { _ as W } from "./charts-fA1hE3y8.js";
4
- import { i as Wg, a as Hg, b as Jg, c as Gg, d as xg, e as _g } from "./charts-fA1hE3y8.js";
4
+ import { i as Hg, a as Jg, b as Gg, c as xg, d as _g, e as Kg } from "./charts-fA1hE3y8.js";
5
5
  const Ol = F({
6
6
  name: "JCCopy",
7
7
  components: {
@@ -213,7 +213,7 @@ function Wl(e, t, n, o, l, r) {
213
213
  ])) : Y("", !0)
214
214
  ]);
215
215
  }
216
- const cg = /* @__PURE__ */ W(Ul, [["render", Wl]]), St = Symbol("pageActionPermissionId"), Tt = Symbol("pagePermissionId"), Hl = F({
216
+ const dg = /* @__PURE__ */ W(Ul, [["render", Wl]]), St = Symbol("pageActionPermissionId"), Tt = Symbol("pagePermissionId"), Hl = F({
217
217
  name: "JCPermission",
218
218
  props: {
219
219
  /**
@@ -1921,7 +1921,7 @@ function Ga(e, t, n, o, l, r) {
1921
1921
  }, 8, ["code"])
1922
1922
  ]);
1923
1923
  }
1924
- const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-3d1377c9"]]), xa = F({
1924
+ const fg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-3d1377c9"]]), xa = F({
1925
1925
  name: "JCFallback",
1926
1926
  props: {
1927
1927
  /**
@@ -1975,7 +1975,7 @@ function Ka(e, t, n, o, l, r) {
1975
1975
  e.rmDom ? Y("", !0) : (M(), T("span", _a, V(e.defaultContent), 1))
1976
1976
  ], 64));
1977
1977
  }
1978
- const fg = /* @__PURE__ */ W(xa, [["render", Ka]]);
1978
+ const pg = /* @__PURE__ */ W(xa, [["render", Ka]]);
1979
1979
  function Qe(e, t) {
1980
1980
  return (n) => {
1981
1981
  const o = String(n || "").trim();
@@ -3515,7 +3515,7 @@ function Qi(e, t, n, o, l, r) {
3515
3515
  ])
3516
3516
  ]);
3517
3517
  }
3518
- const pg = /* @__PURE__ */ W(Pi, [["render", Qi], ["__scopeId", "data-v-48376fdd"]]), Ui = F({
3518
+ const mg = /* @__PURE__ */ W(Pi, [["render", Qi], ["__scopeId", "data-v-48376fdd"]]), Ui = F({
3519
3519
  name: "JCFormatLookup",
3520
3520
  props: {
3521
3521
  /**
@@ -3579,7 +3579,7 @@ function Zi(e, t, n, o, l, r) {
3579
3579
  e.rmDom ? Y("", !0) : (M(), T("span", Bi, V(e.defaultContent), 1))
3580
3580
  ], 64));
3581
3581
  }
3582
- const mg = /* @__PURE__ */ W(Ui, [["render", Zi]]), Fi = F({
3582
+ const gg = /* @__PURE__ */ W(Ui, [["render", Zi]]), Fi = F({
3583
3583
  name: "JQFormLabel",
3584
3584
  components: {
3585
3585
  QIcon: se,
@@ -3753,7 +3753,7 @@ function tr(e, t, n, o, l, r) {
3753
3753
  }, 8, ["label", "required"])
3754
3754
  ]);
3755
3755
  }
3756
- const gg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
3756
+ const yg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
3757
3757
  name: "JCMoreMenu",
3758
3758
  components: {
3759
3759
  QIcon: se,
@@ -3937,7 +3937,7 @@ function ir(e, t, n, o, l, r) {
3937
3937
  ])) : (M(), T("span", ar, "-"))
3938
3938
  ])) : Y("", !0);
3939
3939
  }
3940
- const yg = /* @__PURE__ */ W(nr, [["render", ir], ["__scopeId", "data-v-51a82f6e"]]), rr = F({
3940
+ const Mg = /* @__PURE__ */ W(nr, [["render", ir], ["__scopeId", "data-v-51a82f6e"]]), rr = F({
3941
3941
  name: "NestedMenuItem",
3942
3942
  components: {
3943
3943
  QItem: Nt,
@@ -4235,7 +4235,7 @@ function pr(e, t, n, o, l, r) {
4235
4235
  _: 1
4236
4236
  }, 8, ["class", "style", "modelValue", "options", "label", "clearable", "popup-content-class", "disable", "readonly", "title"]);
4237
4237
  }
4238
- const Mg = /* @__PURE__ */ W(cr, [["render", pr]]), mr = F({
4238
+ const hg = /* @__PURE__ */ W(cr, [["render", pr]]), mr = F({
4239
4239
  name: "JCTable",
4240
4240
  components: {
4241
4241
  JCCopy: ho,
@@ -4511,7 +4511,7 @@ function Ar(e, t, n, o, l, r) {
4511
4511
  ])) : Y("", !0)
4512
4512
  ]);
4513
4513
  }
4514
- const hg = /* @__PURE__ */ W(mr, [["render", Ar], ["__scopeId", "data-v-4cfe7804"]]), In = $("hide-tooltip"), Cr = {
4514
+ const Ig = /* @__PURE__ */ W(mr, [["render", Ar], ["__scopeId", "data-v-4cfe7804"]]), In = $("hide-tooltip"), Cr = {
4515
4515
  mounted(e, t) {
4516
4516
  const n = t.arg === "lines" ? t.value : 1;
4517
4517
  e.addEventListener("mouseenter", () => {
@@ -4693,7 +4693,7 @@ function kr(e, t, n, o, l, r) {
4693
4693
  R(e.$slots, "default", {}, void 0, !0)
4694
4694
  ]);
4695
4695
  }
4696
- const Ig = /* @__PURE__ */ W(Tr, [["render", kr], ["__scopeId", "data-v-cc043f30"]]), Lr = F({
4696
+ const vg = /* @__PURE__ */ W(Tr, [["render", kr], ["__scopeId", "data-v-cc043f30"]]), Lr = F({
4697
4697
  name: "JCTitleLine",
4698
4698
  props: {
4699
4699
  label: { type: String }
@@ -4720,7 +4720,7 @@ function Er(e, t, n, o, l, r) {
4720
4720
  ])
4721
4721
  ]);
4722
4722
  }
4723
- const vg = /* @__PURE__ */ W(Lr, [["render", Er], ["__scopeId", "data-v-634ec7db"]]), Vr = F({
4723
+ const bg = /* @__PURE__ */ W(Lr, [["render", Er], ["__scopeId", "data-v-634ec7db"]]), Vr = F({
4724
4724
  name: "JCTooltipEllipsis",
4725
4725
  inheritAttrs: !1,
4726
4726
  components: {
@@ -5093,7 +5093,7 @@ function Wr(e, t, n, o, l, r) {
5093
5093
  _: 3
5094
5094
  }, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
5095
5095
  }
5096
- const bg = /* @__PURE__ */ W(Qr, [["render", Wr]]), Hr = F({
5096
+ const Dg = /* @__PURE__ */ W(Qr, [["render", Wr]]), Hr = F({
5097
5097
  name: "JCOrgSelect",
5098
5098
  components: {
5099
5099
  JCTooltipEllipsis: en,
@@ -5320,7 +5320,7 @@ function Kr(e, t, n, o, l, r) {
5320
5320
  _: 3
5321
5321
  }, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
5322
5322
  }
5323
- const Dg = /* @__PURE__ */ W(Hr, [["render", Kr]]), At = [
5323
+ const Ag = /* @__PURE__ */ W(Hr, [["render", Kr]]), At = [
5324
5324
  {
5325
5325
  platform: "EIM",
5326
5326
  path: "/orchestration/",
@@ -5542,7 +5542,7 @@ function ds(e, t, n, o, l, r) {
5542
5542
  }, 1024)
5543
5543
  ]))), 128);
5544
5544
  }
5545
- const Ag = /* @__PURE__ */ W(ss, [["render", ds], ["__scopeId", "data-v-c6725588"]]), rn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", ro = (e) => {
5545
+ const Cg = /* @__PURE__ */ W(ss, [["render", ds], ["__scopeId", "data-v-c6725588"]]), rn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", ro = (e) => {
5546
5546
  localStorage.setItem("APP_SEARCH_HISTORY", e);
5547
5547
  }, fs = F({
5548
5548
  name: "JQAutocomplete",
@@ -5694,7 +5694,7 @@ function Ms(e, t, n, o, l, r) {
5694
5694
  ])
5695
5695
  ]);
5696
5696
  }
5697
- const Cg = /* @__PURE__ */ W(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1"]]), It = {
5697
+ const Ng = /* @__PURE__ */ W(fs, [["render", Ms], ["__scopeId", "data-v-f7d0b6f1"]]), It = {
5698
5698
  LARGE: "large",
5699
5699
  NORMAL: "normal",
5700
5700
  SMALL: "small"
@@ -5941,7 +5941,7 @@ function Is(e, t, n, o, l, r) {
5941
5941
  } : void 0
5942
5942
  ]), 1040, ["class", "dropdown-icon", "label", "disable", "menu-anchor", "menu-self", "menu-offset"])) : Y("", !0);
5943
5943
  }
5944
- const Ng = /* @__PURE__ */ W(hs, [["render", Is], ["__scopeId", "data-v-f3e2841e"]]), vs = F({
5944
+ const wg = /* @__PURE__ */ W(hs, [["render", Is], ["__scopeId", "data-v-f3e2841e"]]), vs = F({
5945
5945
  name: "JQCheckbox",
5946
5946
  components: {
5947
5947
  QField: Le,
@@ -6065,7 +6065,7 @@ function Ds(e, t, n, o, l, r) {
6065
6065
  _: 3
6066
6066
  }, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
6067
6067
  }
6068
- const wg = /* @__PURE__ */ W(vs, [["render", Ds], ["__scopeId", "data-v-ba6df9a1"]]), As = F({
6068
+ const jg = /* @__PURE__ */ W(vs, [["render", Ds], ["__scopeId", "data-v-ba6df9a1"]]), As = F({
6069
6069
  name: "JQConfirm",
6070
6070
  components: {
6071
6071
  QPopupProxy: ke,
@@ -6145,7 +6145,7 @@ function js(e, t, n, o, l, r) {
6145
6145
  }, 512)
6146
6146
  ]);
6147
6147
  }
6148
- const jg = /* @__PURE__ */ W(As, [["render", js], ["__scopeId", "data-v-e5c79a0f"]]), tt = "YYYY-MM-DD HH:mm:ss", un = (e) => {
6148
+ const Sg = /* @__PURE__ */ W(As, [["render", js], ["__scopeId", "data-v-e5c79a0f"]]), tt = "YYYY-MM-DD HH:mm:ss", un = (e) => {
6149
6149
  if (e === null || typeof e > "u" || e === "") return null;
6150
6150
  if (typeof e == "number") return new Date(e);
6151
6151
  if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
@@ -6342,7 +6342,7 @@ function ks(e, t, n, o, l, r) {
6342
6342
  _: 3
6343
6343
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
6344
6344
  }
6345
- const Sg = /* @__PURE__ */ W(Ss, [["render", ks]]), Ls = "rtcpt", Zo = `${Ls}_third_component_state`, so = () => localStorage.getItem(Zo), uo = (e) => {
6345
+ const Tg = /* @__PURE__ */ W(Ss, [["render", ks]]), Ls = "rtcpt", Zo = `${Ls}_third_component_state`, so = () => localStorage.getItem(Zo), uo = (e) => {
6346
6346
  localStorage.setItem(Zo, e);
6347
6347
  }, nt = "YYYY-MM-DD HH:mm:ss", cn = "YYYY/MM/DD", $s = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), Os = (e, t) => {
6348
6348
  const n = t + 1;
@@ -6799,7 +6799,7 @@ function Ks(e, t, n, o, l, r) {
6799
6799
  _: 3
6800
6800
  }, 8, ["class", "model-value", "dense", "disable", "readonly", "label", "outlined", "rules", "title", "onClick"]);
6801
6801
  }
6802
- const Tg = /* @__PURE__ */ W(Es, [["render", Ks]]), Xs = F({
6802
+ const zg = /* @__PURE__ */ W(Es, [["render", Ks]]), Xs = F({
6803
6803
  name: "JQMonthList",
6804
6804
  components: { QBtn: ze },
6805
6805
  props: {
@@ -7333,7 +7333,7 @@ function Du(e, t, n, o, l, r) {
7333
7333
  _: 3
7334
7334
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
7335
7335
  }
7336
- const zg = /* @__PURE__ */ W(vu, [["render", Du]]), Au = (e) => {
7336
+ const kg = /* @__PURE__ */ W(vu, [["render", Du]]), Au = (e) => {
7337
7337
  if (e === null || typeof e > "u") return null;
7338
7338
  if (e instanceof Date) return e;
7339
7339
  if (typeof e == "number") return new Date(e);
@@ -7447,7 +7447,7 @@ function wu(e, t, n, o, l, r) {
7447
7447
  _: 3
7448
7448
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
7449
7449
  }
7450
- const kg = /* @__PURE__ */ W(Cu, [["render", wu]]), Ee = "ngiot__management__frontend__storge__", ju = `${Ee}_username`, Su = () => localStorage.removeItem(ju), Tu = `${Ee}_userinfo`, zu = () => localStorage.removeItem(Tu), ku = `${Ee}cmp_userinfo`, Lu = () => localStorage.removeItem(ku), $u = `${Ee}_currentOrg`, Ou = () => localStorage.removeItem($u), Eu = `${Ee}_pagePermissionID`, Vu = () => localStorage.removeItem(Eu), Pu = `${Ee}_pageActionPermissionID`, Yu = () => localStorage.removeItem(Pu), qu = `${Ee}_token`, Ru = () => localStorage.removeItem(qu), Qu = () => {
7450
+ const Lg = /* @__PURE__ */ W(Cu, [["render", wu]]), Ee = "ngiot__management__frontend__storge__", ju = `${Ee}_username`, Su = () => localStorage.removeItem(ju), Tu = `${Ee}_userinfo`, zu = () => localStorage.removeItem(Tu), ku = `${Ee}cmp_userinfo`, Lu = () => localStorage.removeItem(ku), $u = `${Ee}_currentOrg`, Ou = () => localStorage.removeItem($u), Eu = `${Ee}_pagePermissionID`, Vu = () => localStorage.removeItem(Eu), Pu = `${Ee}_pageActionPermissionID`, Yu = () => localStorage.removeItem(Pu), qu = `${Ee}_token`, Ru = () => localStorage.removeItem(qu), Qu = () => {
7451
7451
  for (let e of At)
7452
7452
  localStorage.removeItem(`${Ee}_${e.platform}_sidebarStatus`);
7453
7453
  }, Uu = () => {
@@ -7896,7 +7896,7 @@ function gc(e, t, n, o, l, r) {
7896
7896
  ], 2))), 128))
7897
7897
  ], 6)) : Y("", !0);
7898
7898
  }
7899
- const Lg = /* @__PURE__ */ W(Gu, [["render", gc], ["__scopeId", "data-v-100bb9c9"]]), yc = F({
7899
+ const $g = /* @__PURE__ */ W(Gu, [["render", gc], ["__scopeId", "data-v-100bb9c9"]]), yc = F({
7900
7900
  name: "JQFile",
7901
7901
  components: {
7902
7902
  QField: Le,
@@ -8148,7 +8148,7 @@ function Ec(e, t, n, o, l, r) {
8148
8148
  ])) : Y("", !0)
8149
8149
  ]);
8150
8150
  }
8151
- const $g = /* @__PURE__ */ W(yc, [["render", Ec]]);
8151
+ const Og = /* @__PURE__ */ W(yc, [["render", Ec]]);
8152
8152
  function Vc(e, t) {
8153
8153
  let n = null;
8154
8154
  return ((...o) => {
@@ -8347,7 +8347,7 @@ function Uc(e, t, n, o, l, r) {
8347
8347
  ])) : Y("", !0)
8348
8348
  ]);
8349
8349
  }
8350
- const Og = /* @__PURE__ */ W(Pc, [["render", Uc], ["__scopeId", "data-v-16499563"]]), Bc = F({
8350
+ const Eg = /* @__PURE__ */ W(Pc, [["render", Uc], ["__scopeId", "data-v-16499563"]]), Bc = F({
8351
8351
  name: "JQNewValue",
8352
8352
  components: {
8353
8353
  QSelect: wt,
@@ -8488,7 +8488,7 @@ function Fc(e, t, n, o, l, r) {
8488
8488
  } : void 0
8489
8489
  ]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
8490
8490
  }
8491
- const Eg = /* @__PURE__ */ W(Bc, [["render", Fc]]), Wc = F({
8491
+ const Vg = /* @__PURE__ */ W(Bc, [["render", Fc]]), Wc = F({
8492
8492
  name: "JQOptionGroup",
8493
8493
  components: {
8494
8494
  QField: Le,
@@ -8613,7 +8613,7 @@ function Hc(e, t, n, o, l, r) {
8613
8613
  _: 1
8614
8614
  }, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
8615
8615
  }
8616
- const Vg = /* @__PURE__ */ W(Wc, [["render", Hc], ["__scopeId", "data-v-f0ca5e31"]]), Jc = F({
8616
+ const Pg = /* @__PURE__ */ W(Wc, [["render", Hc], ["__scopeId", "data-v-f0ca5e31"]]), Jc = F({
8617
8617
  name: "JQPopover",
8618
8618
  components: {
8619
8619
  QPopupProxy: ke,
@@ -8733,7 +8733,7 @@ function xc(e, t, n, o, l, r) {
8733
8733
  }, 8, ["offset"])
8734
8734
  ], 544);
8735
8735
  }
8736
- const Pg = /* @__PURE__ */ W(Jc, [["render", xc], ["__scopeId", "data-v-52c3066c"]]), _c = F({
8736
+ const Yg = /* @__PURE__ */ W(Jc, [["render", xc], ["__scopeId", "data-v-52c3066c"]]), _c = F({
8737
8737
  name: "jQSearchForm",
8738
8738
  components: {
8739
8739
  JQButton: ct
@@ -8820,7 +8820,7 @@ function ld(e, t, n, o, l, r) {
8820
8820
  ], 512)
8821
8821
  ]);
8822
8822
  }
8823
- const Yg = /* @__PURE__ */ W(_c, [["render", ld]]), Jo = 15, ad = [10, 15, 20, 30, 50];
8823
+ const qg = /* @__PURE__ */ W(_c, [["render", ld]]), Jo = 15, ad = [10, 15, 20, 30, 50];
8824
8824
  function id(e) {
8825
8825
  const t = Jo, n = ot({
8826
8826
  page: 1,
@@ -8940,11 +8940,11 @@ const rd = 15, sd = [10, 15, 20, 30, 50], ud = F({
8940
8940
  handleJumpToPage: p
8941
8941
  };
8942
8942
  }
8943
- }), cd = { class: "j-q-pagination" }, dd = { class: "row items-center justify-end" }, fd = {
8943
+ }), cd = { class: "j-q-pagination" }, dd = { class: "row items-center" }, fd = {
8944
8944
  key: 0,
8945
8945
  class: "pagination-total"
8946
- }, pd = { class: "pagination-goto-text" }, md = { class: "pagination-goto-page" };
8947
- function gd(e, t, n, o, l, r) {
8946
+ }, pd = { class: "row items-center pagination-actions" }, md = { class: "pagination-goto-text" }, gd = { class: "pagination-goto-page" };
8947
+ function yd(e, t, n, o, l, r) {
8948
8948
  const a = b("q-inner-loading"), i = b("q-pagination"), s = b("q-select"), c = b("q-input");
8949
8949
  return M(), T("div", cd, [
8950
8950
  S(a, {
@@ -8955,70 +8955,72 @@ function gd(e, t, n, o, l, r) {
8955
8955
  e.mini ? Y("", !0) : (M(), T("div", fd, [
8956
8956
  w("span", null, V(e.t("messages.pagination.total", { total: e.internalInfo.total })), 1)
8957
8957
  ])),
8958
- S(i, {
8959
- modelValue: e.internalInfo.currentPage,
8960
- "onUpdate:modelValue": [
8961
- t[0] || (t[0] = (u) => e.internalInfo.currentPage = u),
8962
- e.handlePageChange
8963
- ],
8964
- input: !1,
8965
- "max-pages": e.maxPages,
8966
- max: e.totalPages,
8967
- "direction-links": "",
8968
- "icon-prev": "app:navigation-arrow-left",
8969
- "icon-next": "app:navigation-arrow-right",
8970
- color: "black",
8971
- "active-color": "white",
8972
- "active-text-color": "black",
8973
- ripple: !1,
8974
- disable: e.loading
8975
- }, null, 8, ["modelValue", "max-pages", "max", "onUpdate:modelValue", "disable"]),
8976
- e.mini ? Y("", !0) : (M(), T(K, { key: 1 }, [
8977
- S(s, {
8978
- class: "pagination-size-select",
8979
- modelValue: e.internalInfo.pageSize,
8958
+ w("div", pd, [
8959
+ S(i, {
8960
+ modelValue: e.internalInfo.currentPage,
8980
8961
  "onUpdate:modelValue": [
8981
- t[1] || (t[1] = (u) => e.internalInfo.pageSize = u),
8982
- e.handlePageSizeChange
8962
+ t[0] || (t[0] = (u) => e.internalInfo.currentPage = u),
8963
+ e.handlePageChange
8983
8964
  ],
8984
- options: e.pageSizeOptions,
8985
- "dropdown-icon": "expand_more",
8986
- dense: "",
8987
- outlined: "",
8988
- "options-dense": "",
8989
- "map-options": "",
8990
- "emit-value": "",
8991
- autocomplete: "false",
8992
- "popup-content-class": "j-q-select-popup select-popup-content height1",
8993
- disable: e.loading
8994
- }, null, 8, ["modelValue", "options", "onUpdate:modelValue", "disable"]),
8995
- w("p", pd, V(e.t("messages.pagination.goto")), 1),
8996
- S(c, {
8997
- autofocus: !1,
8998
- modelValue: e.internalInfo.inputPage,
8999
- "onUpdate:modelValue": t[2] || (t[2] = (u) => e.internalInfo.inputPage = u),
9000
- modelModifiers: { trim: !0 },
9001
- onKeyup: po(e.handleJumpToPage, ["enter"]),
9002
- autocapitalize: "off",
9003
- autocomplete: "off",
9004
- autocorrect: "off",
9005
- dense: "",
9006
- outlined: "",
9007
- placeholder: e.pagePlaceholder,
9008
- class: "pagination-jump-input",
9009
- mask: e.pageMask,
8965
+ input: !1,
8966
+ "max-pages": e.maxPages,
8967
+ max: e.totalPages,
8968
+ "direction-links": "",
8969
+ "icon-prev": "app:navigation-arrow-left",
8970
+ "icon-next": "app:navigation-arrow-right",
8971
+ color: "black",
8972
+ "active-color": "white",
8973
+ "active-text-color": "black",
8974
+ ripple: !1,
9010
8975
  disable: e.loading
9011
- }, null, 8, ["modelValue", "onKeyup", "placeholder", "mask", "disable"]),
9012
- w("p", md, V(e.t("messages.pagination.page")), 1)
9013
- ], 64))
8976
+ }, null, 8, ["modelValue", "max-pages", "max", "onUpdate:modelValue", "disable"]),
8977
+ e.mini ? Y("", !0) : (M(), T(K, { key: 0 }, [
8978
+ S(s, {
8979
+ class: "pagination-size-select",
8980
+ modelValue: e.internalInfo.pageSize,
8981
+ "onUpdate:modelValue": [
8982
+ t[1] || (t[1] = (u) => e.internalInfo.pageSize = u),
8983
+ e.handlePageSizeChange
8984
+ ],
8985
+ options: e.pageSizeOptions,
8986
+ "dropdown-icon": "expand_more",
8987
+ dense: "",
8988
+ outlined: "",
8989
+ "options-dense": "",
8990
+ "map-options": "",
8991
+ "emit-value": "",
8992
+ autocomplete: "false",
8993
+ "popup-content-class": "j-q-select-popup select-popup-content height1",
8994
+ disable: e.loading
8995
+ }, null, 8, ["modelValue", "options", "onUpdate:modelValue", "disable"]),
8996
+ w("p", md, V(e.t("messages.pagination.goto")), 1),
8997
+ S(c, {
8998
+ autofocus: !1,
8999
+ modelValue: e.internalInfo.inputPage,
9000
+ "onUpdate:modelValue": t[2] || (t[2] = (u) => e.internalInfo.inputPage = u),
9001
+ modelModifiers: { trim: !0 },
9002
+ onKeyup: po(e.handleJumpToPage, ["enter"]),
9003
+ autocapitalize: "off",
9004
+ autocomplete: "off",
9005
+ autocorrect: "off",
9006
+ dense: "",
9007
+ outlined: "",
9008
+ placeholder: e.pagePlaceholder,
9009
+ class: "pagination-jump-input",
9010
+ mask: e.pageMask,
9011
+ disable: e.loading
9012
+ }, null, 8, ["modelValue", "onKeyup", "placeholder", "mask", "disable"]),
9013
+ w("p", gd, V(e.t("messages.pagination.page")), 1)
9014
+ ], 64))
9015
+ ])
9014
9016
  ])
9015
9017
  ]);
9016
9018
  }
9017
- const yd = /* @__PURE__ */ W(ud, [["render", gd]]), Md = F({
9019
+ const Md = /* @__PURE__ */ W(ud, [["render", yd]]), hd = F({
9018
9020
  name: "JQTableComponent",
9019
9021
  inheritAttrs: !1,
9020
9022
  components: {
9021
- JQPagination: yd,
9023
+ JQPagination: Md,
9022
9024
  QTable: $l,
9023
9025
  QTh: Ll,
9024
9026
  QTd: kl,
@@ -9291,14 +9293,14 @@ const yd = /* @__PURE__ */ W(ud, [["render", gd]]), Md = F({
9291
9293
  columnConstrained: c
9292
9294
  };
9293
9295
  }
9294
- }), hd = ["onClick"], Id = { class: "j-q-table__empty" }, vd = {
9296
+ }), Id = ["onClick"], vd = { class: "j-q-table__empty" }, bd = {
9295
9297
  key: 0,
9296
9298
  class: "j-q-table__empty-title"
9297
- }, bd = { class: "j-q-table__empty-desc" }, Dd = {
9299
+ }, Dd = { class: "j-q-table__empty-desc" }, Ad = {
9298
9300
  key: 1,
9299
9301
  class: "j-q-table__empty-actions"
9300
9302
  };
9301
- function Ad(e, t, n, o, l, r) {
9303
+ function Cd(e, t, n, o, l, r) {
9302
9304
  const a = b("q-checkbox"), i = b("q-th"), s = b("q-td"), c = b("j-c-tooltip"), u = b("q-inner-loading"), d = b("q-table"), p = b("JQPagination");
9303
9305
  return M(), T("div", {
9304
9306
  class: "j-q-table-container",
@@ -9354,10 +9356,10 @@ function Ad(e, t, n, o, l, r) {
9354
9356
  }, null, 8, ["label"])
9355
9357
  ]),
9356
9358
  "no-data": A(() => [
9357
- w("div", Id, [
9358
- e.emptyTitle ? (M(), T("div", vd, V(e.emptyTitle), 1)) : Y("", !0),
9359
- w("div", bd, V(e.computedEmptyDesc), 1),
9360
- e.hasSlot("empty-actions") ? (M(), T("div", Dd, [
9359
+ w("div", vd, [
9360
+ e.emptyTitle ? (M(), T("div", bd, V(e.emptyTitle), 1)) : Y("", !0),
9361
+ w("div", Dd, V(e.computedEmptyDesc), 1),
9362
+ e.hasSlot("empty-actions") ? (M(), T("div", Ad, [
9361
9363
  R(e.$slots, "empty-actions")
9362
9364
  ])) : Y("", !0)
9363
9365
  ])
@@ -9482,7 +9484,7 @@ function Ad(e, t, n, o, l, r) {
9482
9484
  class: U(["link-type", e.getCellClass(f)]),
9483
9485
  ref: f.whiteSpace ? (h) => e.setEllipsisRef(h, `${f.name}-${g.row[e.rowKey]}`) : void 0,
9484
9486
  onClick: (h) => e.handleColumnClick(f, g.row)
9485
- }, V(e.formatColumnValue(f, g.value)), 11, hd)
9487
+ }, V(e.formatColumnValue(f, g.value)), 11, Id)
9486
9488
  ]),
9487
9489
  _: 2
9488
9490
  }, 1032, ["content", "style", "disabled"])) : (M(), q(c, {
@@ -9520,7 +9522,7 @@ function Ad(e, t, n, o, l, r) {
9520
9522
  R(e.$slots, "append")
9521
9523
  ], 4);
9522
9524
  }
9523
- const qg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
9525
+ const Rg = /* @__PURE__ */ W(hd, [["render", Cd]]), Nd = F({
9524
9526
  name: "dialogConfirmComponent",
9525
9527
  components: {
9526
9528
  QDialog: mo,
@@ -9559,11 +9561,11 @@ const qg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
9559
9561
  }
9560
9562
  };
9561
9563
  }
9562
- }), Nd = { class: "title" }, wd = {
9564
+ }), wd = { class: "title" }, jd = {
9563
9565
  key: 2,
9564
9566
  class: "close"
9565
9567
  };
9566
- function jd(e, t, n, o, l, r) {
9568
+ function Sd(e, t, n, o, l, r) {
9567
9569
  const a = b("q-icon"), i = b("q-card-section"), s = b("j-q-button"), c = b("q-card"), u = b("q-dialog");
9568
9570
  return M(), q(u, {
9569
9571
  ref: "dialogRef",
@@ -9593,8 +9595,8 @@ function jd(e, t, n, o, l, r) {
9593
9595
  class: "q-mr-sm",
9594
9596
  size: "24px"
9595
9597
  })) : Y("", !0),
9596
- w("div", Nd, V(e.title), 1),
9597
- e.showClose ? (M(), T("div", wd, [
9598
+ w("div", wd, V(e.title), 1),
9599
+ e.showClose ? (M(), T("div", jd, [
9598
9600
  S(a, {
9599
9601
  name: "app:dialog-close",
9600
9602
  size: "16px",
@@ -9635,9 +9637,9 @@ function jd(e, t, n, o, l, r) {
9635
9637
  _: 1
9636
9638
  }, 8, ["onHide"]);
9637
9639
  }
9638
- const Sd = /* @__PURE__ */ W(Cd, [["render", jd]]);
9640
+ const Td = /* @__PURE__ */ W(Nd, [["render", Sd]]);
9639
9641
  let vt = null;
9640
- class Td {
9642
+ class zd {
9641
9643
  /**
9642
9644
  * 设置 Quasar 实例(在 rtcptInit 中调用)
9643
9645
  */
@@ -9650,7 +9652,7 @@ class Td {
9650
9652
  async show({ title: t, color: n, content: o, confirmButtonText: l, cancelButtonText: r, showCancelButton: a, isDelete: i, icon: s, showClose: c }) {
9651
9653
  return vt != null && vt.dialog ? new Promise((u) => {
9652
9654
  vt.dialog({
9653
- component: Sd,
9655
+ component: Td,
9654
9656
  cancel: a === void 0 ? !0 : a,
9655
9657
  componentProps: {
9656
9658
  title: t,
@@ -9672,7 +9674,7 @@ class Td {
9672
9674
  }) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
9673
9675
  }
9674
9676
  }
9675
- const zd = new Td();
9677
+ const kd = new zd();
9676
9678
  function Fn(e, t = {}) {
9677
9679
  if (!Array.isArray(e))
9678
9680
  return [];
@@ -9686,7 +9688,7 @@ function Fn(e, t = {}) {
9686
9688
  return Array.isArray(c) && c.length > 0 && (s.children = Fn(c, t)), s;
9687
9689
  });
9688
9690
  }
9689
- function kd(e) {
9691
+ function Ld(e) {
9690
9692
  let { data: t, key: n, idKey: o, rootId: l, isMapOption: r, labelValue: a } = e;
9691
9693
  t = t || [], n = n || "parentId", o = o || "id", r = r !== !1, a = a || { label: "name", value: "id" }, l = l || "1";
9692
9694
  const i = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set();
@@ -9722,11 +9724,11 @@ function kd(e) {
9722
9724
  flatData: JSON.parse(JSON.stringify(d))
9723
9725
  };
9724
9726
  }
9725
- function Ld(e) {
9727
+ function $d(e) {
9726
9728
  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, []);
9727
9729
  return a(t, l);
9728
9730
  }
9729
- function $d(e) {
9731
+ function Od(e) {
9730
9732
  const {
9731
9733
  targetIds: t,
9732
9734
  allData: n,
@@ -9746,7 +9748,7 @@ function $d(e) {
9746
9748
  s(c);
9747
9749
  }), Array.from(i);
9748
9750
  }
9749
- function Od(e) {
9751
+ function Ed(e) {
9750
9752
  const { treeData: t, idList: n, idKey: o = "id", childrenKey: l = "children" } = e, r = /* @__PURE__ */ new Set(), a = (i) => {
9751
9753
  i.forEach((s) => {
9752
9754
  const c = s[l];
@@ -9755,20 +9757,20 @@ function Od(e) {
9755
9757
  };
9756
9758
  return a(t), n.filter((i) => !r.has(i));
9757
9759
  }
9758
- const Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9760
+ const Vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9759
9761
  __proto__: null,
9760
- arrayToTree: Ld,
9761
- buildTree: kd,
9762
- filterLeafIds: Od,
9763
- findParentIds: $d,
9762
+ arrayToTree: $d,
9763
+ buildTree: Ld,
9764
+ filterLeafIds: Ed,
9765
+ findParentIds: Od,
9764
9766
  transformTreeUseLabelAndValue: Fn
9765
- }, Symbol.toStringTag, { value: "Module" })), Vd = (e, t) => {
9767
+ }, Symbol.toStringTag, { value: "Module" })), Pd = (e, t) => {
9766
9768
  const n = window.decodeURI(t), o = new Blob([e]);
9767
9769
  if ("download" in document.createElement("a")) {
9768
9770
  const l = document.createElement("a");
9769
9771
  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);
9770
9772
  }
9771
- }, Pd = (e, t) => {
9773
+ }, Yd = (e, t) => {
9772
9774
  const n = /* @__PURE__ */ new Date(), o = [
9773
9775
  n.getFullYear(),
9774
9776
  String(n.getMonth() + 1).padStart(2, "0"),
@@ -9779,7 +9781,7 @@ const Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9779
9781
  ].join("");
9780
9782
  return `${e}_${o}.${t.toLowerCase()}`;
9781
9783
  };
9782
- function Yd(e) {
9784
+ function qd(e) {
9783
9785
  var t;
9784
9786
  if (e === null || typeof e > "u")
9785
9787
  return "";
@@ -9794,13 +9796,13 @@ function Yd(e) {
9794
9796
  }
9795
9797
  return e;
9796
9798
  }
9797
- function qd(e) {
9799
+ function Rd(e) {
9798
9800
  return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
9799
9801
  }
9800
- function Rd(e, t, n = "TB") {
9802
+ function Qd(e, t, n = "TB") {
9801
9803
  return e = Number(e) || 0, $t({ size: e, unit: t }, { maxUnit: n });
9802
9804
  }
9803
- function Qd(e, t) {
9805
+ function Ud(e, t) {
9804
9806
  if (e === null || typeof e > "u")
9805
9807
  return [];
9806
9808
  let n;
@@ -9816,17 +9818,17 @@ function Qd(e, t) {
9816
9818
  return [];
9817
9819
  return Array.isArray(n) ? n.map((o) => o && typeof o == "object" && o[t] && typeof o[t] == "string" ? o[t] : null).filter((o) => o !== null) : [];
9818
9820
  }
9819
- const Ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9821
+ const Bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9820
9822
  __proto__: null,
9821
- dataCvSize: Rd,
9822
- obj2Arr: Qd,
9823
- val2Str: Yd,
9824
- valSplit: qd
9823
+ dataCvSize: Qd,
9824
+ obj2Arr: Ud,
9825
+ val2Str: qd,
9826
+ valSplit: Rd
9825
9827
  }, Symbol.toStringTag, { value: "Module" }));
9826
- function Bd(e) {
9828
+ function Zd(e) {
9827
9829
  return Array.isArray(e) ? [...new Set(e)] : e;
9828
9830
  }
9829
- function Zd(e, t) {
9831
+ function Fd(e, t) {
9830
9832
  if (!Array.isArray(e)) return e;
9831
9833
  const n = /* @__PURE__ */ new Map();
9832
9834
  return e.filter((o) => {
@@ -9834,7 +9836,7 @@ function Zd(e, t) {
9834
9836
  return n.has(l) ? !1 : (n.set(l, !0), !0);
9835
9837
  });
9836
9838
  }
9837
- function Fd(e, t) {
9839
+ function Wd(e, t) {
9838
9840
  if (!Array.isArray(e)) return e;
9839
9841
  const n = /* @__PURE__ */ new Set();
9840
9842
  return e.filter((o) => {
@@ -9842,7 +9844,7 @@ function Fd(e, t) {
9842
9844
  return n.has(l) ? !1 : (n.add(l), !0);
9843
9845
  });
9844
9846
  }
9845
- function Wd(e, t) {
9847
+ function Hd(e, t) {
9846
9848
  if (!Array.isArray(e)) return e;
9847
9849
  const {
9848
9850
  idKey: n = "id",
@@ -9864,7 +9866,7 @@ function Wd(e, t) {
9864
9866
  }
9865
9867
  }), i;
9866
9868
  }
9867
- function Hd(e, t = "children") {
9869
+ function Jd(e, t = "children") {
9868
9870
  if (!Array.isArray(e)) return e;
9869
9871
  const n = [], o = (l) => {
9870
9872
  l.forEach((r) => {
@@ -9885,7 +9887,7 @@ function Go(e, t, n = "children") {
9885
9887
  }
9886
9888
  return null;
9887
9889
  }
9888
- function Jd(e, t, n = "children") {
9890
+ function Gd(e, t, n = "children") {
9889
9891
  if (!Array.isArray(e)) return;
9890
9892
  const o = (l, r, a) => {
9891
9893
  l.forEach((i) => {
@@ -9894,25 +9896,25 @@ function Jd(e, t, n = "children") {
9894
9896
  };
9895
9897
  o(e, null, 0);
9896
9898
  }
9897
- function Gd(e, t) {
9899
+ function xd(e, t) {
9898
9900
  return Array.isArray(e) ? e.reduce((n, o) => {
9899
9901
  const l = String(o[t]);
9900
9902
  return n[l] || (n[l] = []), n[l].push(o), n;
9901
9903
  }, {}) : {};
9902
9904
  }
9903
- function xd(e, t) {
9905
+ function _d(e, t) {
9904
9906
  return Array.isArray(e) ? e.reduce((n, o) => {
9905
9907
  const l = t(o);
9906
9908
  return n[l] || (n[l] = []), n[l].push(o), n;
9907
9909
  }, {}) : {};
9908
9910
  }
9909
- function _d(e, t, n = "asc") {
9911
+ function Kd(e, t, n = "asc") {
9910
9912
  return Array.isArray(e) ? [...e].sort((o, l) => {
9911
9913
  const r = o[t], a = l[t];
9912
9914
  return r < a ? n === "asc" ? -1 : 1 : r > a ? n === "asc" ? 1 : -1 : 0;
9913
9915
  }) : e;
9914
9916
  }
9915
- function Kd(e, t) {
9917
+ function Xd(e, t) {
9916
9918
  return Array.isArray(e) ? [...e].sort((n, o) => {
9917
9919
  for (const { key: l, order: r = "asc" } of t) {
9918
9920
  const a = n[l], i = o[l];
@@ -9928,10 +9930,10 @@ function xo(e, t) {
9928
9930
  return n + (Number(l) || 0);
9929
9931
  }, 0) : 0;
9930
9932
  }
9931
- function Xd(e, t) {
9933
+ function ef(e, t) {
9932
9934
  return !Array.isArray(e) || e.length === 0 ? 0 : xo(e, t) / e.length;
9933
9935
  }
9934
- function ef(e, t) {
9936
+ function tf(e, t) {
9935
9937
  if (!Array.isArray(e) || e.length === 0) return 0;
9936
9938
  const n = e.map((o) => {
9937
9939
  const l = t ? o[t] : o;
@@ -9939,7 +9941,7 @@ function ef(e, t) {
9939
9941
  });
9940
9942
  return Math.max(...n);
9941
9943
  }
9942
- function tf(e, t) {
9944
+ function nf(e, t) {
9943
9945
  if (!Array.isArray(e) || e.length === 0) return 0;
9944
9946
  const n = e.map((o) => {
9945
9947
  const l = t ? o[t] : o;
@@ -9947,22 +9949,22 @@ function tf(e, t) {
9947
9949
  });
9948
9950
  return Math.min(...n);
9949
9951
  }
9950
- function nf(e, t) {
9952
+ function of(e, t) {
9951
9953
  if (!Array.isArray(e) || t <= 0) return [e];
9952
9954
  const n = [];
9953
9955
  for (let o = 0; o < e.length; o += t)
9954
9956
  n.push(e.slice(o, o + t));
9955
9957
  return n;
9956
9958
  }
9957
- function of(e, t) {
9959
+ function lf(e, t) {
9958
9960
  if (!Array.isArray(e) || !Array.isArray(t)) return [];
9959
9961
  const n = new Set(t);
9960
9962
  return e.filter((o) => n.has(o));
9961
9963
  }
9962
- function lf(e, t) {
9964
+ function af(e, t) {
9963
9965
  return Array.isArray(e) ? Array.isArray(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : e || [] : t || [];
9964
9966
  }
9965
- function af(e, t) {
9967
+ function rf(e, t) {
9966
9968
  if (!Array.isArray(e)) return [];
9967
9969
  if (!Array.isArray(t)) return e;
9968
9970
  const n = new Set(t);
@@ -9977,13 +9979,13 @@ function _o(e) {
9977
9979
  }
9978
9980
  return t;
9979
9981
  }
9980
- function rf(e, t = 1) {
9982
+ function sf(e, t = 1) {
9981
9983
  return !Array.isArray(e) || t <= 0 ? [] : _o(e).slice(0, Math.min(t, e.length));
9982
9984
  }
9983
9985
  function Ko(e, t = 1 / 0) {
9984
9986
  return !Array.isArray(e) || t <= 0 ? e : e.reduce((n, o) => (Array.isArray(o) ? n.push(...Ko(o, t - 1)) : n.push(o), n), []);
9985
9987
  }
9986
- function sf(e, t, n) {
9988
+ function uf(e, t, n) {
9987
9989
  if (!Array.isArray(e))
9988
9990
  return { data: [], page: t, pageSize: n, total: 0, totalPages: 0 };
9989
9991
  const o = e.length, l = Math.ceil(o / n), r = (t - 1) * n, a = r + n;
@@ -9995,43 +9997,43 @@ function sf(e, t, n) {
9995
9997
  totalPages: l
9996
9998
  };
9997
9999
  }
9998
- function uf(e, t, n) {
10000
+ function cf(e, t, n) {
9999
10001
  if (!Array.isArray(e) || t < 0 || t >= e.length || n < 0 || n >= e.length) return e;
10000
10002
  const o = [...e], [l] = o.splice(t, 1);
10001
10003
  return o.splice(n, 0, l), o;
10002
10004
  }
10003
- function cf(e) {
10005
+ function df(e) {
10004
10006
  return Array.isArray(e) ? e.reduce((t, n) => (t[n] = (t[n] || 0) + 1, t), {}) : {};
10005
10007
  }
10006
- const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10008
+ const ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10007
10009
  __proto__: null,
10008
- arrayToTree: Wd,
10009
- average: Xd,
10010
- chunkArray: nf,
10011
- countBy: cf,
10012
- difference: af,
10010
+ arrayToTree: Hd,
10011
+ average: ef,
10012
+ chunkArray: of,
10013
+ countBy: df,
10014
+ difference: rf,
10013
10015
  findNodeInTree: Go,
10014
10016
  flatten: Ko,
10015
- forEachTree: Jd,
10016
- groupBy: Gd,
10017
- groupByFn: xd,
10018
- intersection: of,
10019
- max: ef,
10020
- min: tf,
10021
- move: uf,
10022
- paginate: sf,
10023
- sample: rf,
10017
+ forEachTree: Gd,
10018
+ groupBy: xd,
10019
+ groupByFn: _d,
10020
+ intersection: lf,
10021
+ max: tf,
10022
+ min: nf,
10023
+ move: cf,
10024
+ paginate: uf,
10025
+ sample: sf,
10024
10026
  shuffle: _o,
10025
- sortBy: _d,
10026
- sortByMultiple: Kd,
10027
+ sortBy: Kd,
10028
+ sortByMultiple: Xd,
10027
10029
  sum: xo,
10028
- treeToArray: Hd,
10029
- union: lf,
10030
- uniqueArray: Bd,
10031
- uniqueArrayByKey: Zd,
10032
- uniqueArrayByKeys: Fd
10030
+ treeToArray: Jd,
10031
+ union: af,
10032
+ uniqueArray: Zd,
10033
+ uniqueArrayByKey: Fd,
10034
+ uniqueArrayByKeys: Wd
10033
10035
  }, Symbol.toStringTag, { value: "Module" }));
10034
- async function ff(e) {
10036
+ async function pf(e) {
10035
10037
  if (!e) return !1;
10036
10038
  if (navigator.clipboard && window.isSecureContext)
10037
10039
  try {
@@ -10048,7 +10050,7 @@ async function ff(e) {
10048
10050
  return console.error("复制失败:", t), !1;
10049
10051
  }
10050
10052
  }
10051
- async function pf() {
10053
+ async function mf() {
10052
10054
  if (navigator.clipboard && window.isSecureContext)
10053
10055
  try {
10054
10056
  return await navigator.clipboard.readText();
@@ -10061,18 +10063,18 @@ function Wn(e, t) {
10061
10063
  const n = document.createElement("a");
10062
10064
  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);
10063
10065
  }
10064
- function mf(e, t) {
10066
+ function gf(e, t) {
10065
10067
  const n = JSON.stringify(e, null, 2), o = new Blob([n], { type: "application/json" });
10066
10068
  Wn(o, t);
10067
10069
  }
10068
- function gf(e, t) {
10070
+ function yf(e, t) {
10069
10071
  const n = new Blob([e], { type: "text/plain" });
10070
10072
  Wn(n, t);
10071
10073
  }
10072
10074
  function Hn(e) {
10073
10075
  window.scrollTo(e);
10074
10076
  }
10075
- function yf(e, t) {
10077
+ function Mf(e, t) {
10076
10078
  const n = typeof e == "string" ? document.querySelector(e) : e;
10077
10079
  n && n.scrollIntoView({
10078
10080
  behavior: "smooth",
@@ -10080,13 +10082,13 @@ function yf(e, t) {
10080
10082
  ...t
10081
10083
  });
10082
10084
  }
10083
- function Mf(e = !0) {
10085
+ function hf(e = !0) {
10084
10086
  Hn({
10085
10087
  top: 0,
10086
10088
  behavior: e ? "smooth" : "auto"
10087
10089
  });
10088
10090
  }
10089
- function hf(e = !0) {
10091
+ function If(e = !0) {
10090
10092
  Hn({
10091
10093
  top: document.documentElement.scrollHeight,
10092
10094
  behavior: e ? "smooth" : "auto"
@@ -10098,89 +10100,89 @@ function Xo() {
10098
10100
  y: window.pageYOffset || document.documentElement.scrollTop
10099
10101
  };
10100
10102
  }
10101
- function If(e) {
10103
+ function vf(e) {
10102
10104
  let t = 0;
10103
10105
  for (; e; )
10104
10106
  t += e.offsetTop, e = e.offsetParent;
10105
10107
  return t;
10106
10108
  }
10107
- function vf(e, t = 0) {
10109
+ function bf(e, t = 0) {
10108
10110
  if (!e) return !1;
10109
10111
  const n = e.getBoundingClientRect(), o = window.innerHeight || document.documentElement.clientHeight, l = window.innerWidth || document.documentElement.clientWidth;
10110
10112
  return n.top >= 0 - t && n.left >= 0 - t && n.bottom <= o + t && n.right <= l + t;
10111
10113
  }
10112
- function bf(e) {
10114
+ function Df(e) {
10113
10115
  if (!e) return !1;
10114
10116
  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;
10115
10117
  return l && r;
10116
10118
  }
10117
- function Df(e = document.documentElement) {
10119
+ function Af(e = document.documentElement) {
10118
10120
  document.fullscreenElement ? document.exitFullscreen() : e.requestFullscreen().catch((t) => {
10119
10121
  console.error("进入全屏失败:", t);
10120
10122
  });
10121
10123
  }
10122
- function Af(e = document.documentElement) {
10124
+ function Cf(e = document.documentElement) {
10123
10125
  document.fullscreenElement || e.requestFullscreen().catch((t) => {
10124
10126
  console.error("进入全屏失败:", t);
10125
10127
  });
10126
10128
  }
10127
- function Cf() {
10129
+ function Nf() {
10128
10130
  document.fullscreenElement && document.exitFullscreen();
10129
10131
  }
10130
- function Nf() {
10132
+ function wf() {
10131
10133
  return !!document.fullscreenElement;
10132
10134
  }
10133
- function wf(e, t) {
10135
+ function jf(e, t) {
10134
10136
  e && e.classList.add(t);
10135
10137
  }
10136
- function jf(e, t) {
10138
+ function Sf(e, t) {
10137
10139
  e && e.classList.remove(t);
10138
10140
  }
10139
- function Sf(e, t) {
10141
+ function Tf(e, t) {
10140
10142
  e && e.classList.toggle(t);
10141
10143
  }
10142
- function Tf(e, t) {
10144
+ function zf(e, t) {
10143
10145
  return e ? e.classList.contains(t) : !1;
10144
10146
  }
10145
- function zf(e) {
10147
+ function kf(e) {
10146
10148
  return e ? Array.from(e.classList) : [];
10147
10149
  }
10148
- function kf(e) {
10150
+ function Lf(e) {
10149
10151
  return e ? e.getBoundingClientRect() : null;
10150
10152
  }
10151
- function Lf(e) {
10153
+ function $f(e) {
10152
10154
  return e ? e.offsetWidth : 0;
10153
10155
  }
10154
- function $f(e) {
10156
+ function Of(e) {
10155
10157
  return e ? e.offsetHeight : 0;
10156
10158
  }
10157
- function Of(e, t = document) {
10159
+ function Ef(e, t = document) {
10158
10160
  return t.querySelector(e);
10159
10161
  }
10160
- function Ef(e, t = document) {
10162
+ function Vf(e, t = document) {
10161
10163
  return Array.from(t.querySelectorAll(e));
10162
10164
  }
10163
- function Vf(e, t) {
10165
+ function Pf(e, t) {
10164
10166
  return e ? e.getAttribute(t) : null;
10165
10167
  }
10166
- function Pf(e, t, n) {
10168
+ function Yf(e, t, n) {
10167
10169
  e && e.setAttribute(t, n);
10168
10170
  }
10169
- function Yf(e, t) {
10171
+ function qf(e, t) {
10170
10172
  e && e.removeAttribute(t);
10171
10173
  }
10172
- function qf(e, t) {
10174
+ function Rf(e, t) {
10173
10175
  return e ? e.hasAttribute(t) : !1;
10174
10176
  }
10175
- function Rf(e, t) {
10177
+ function Qf(e, t) {
10176
10178
  return e && window.getComputedStyle(e)[t] || "";
10177
10179
  }
10178
- function Qf(e, t) {
10180
+ function Uf(e, t) {
10179
10181
  e && Object.keys(t).forEach((n) => {
10180
10182
  e.style[n] = t[n];
10181
10183
  });
10182
10184
  }
10183
- function Uf() {
10185
+ function Bf() {
10184
10186
  return {
10185
10187
  width: window.innerWidth || document.documentElement.clientWidth,
10186
10188
  height: window.innerHeight || document.documentElement.clientHeight
@@ -10196,7 +10198,7 @@ function el() {
10196
10198
  document.documentElement.clientHeight
10197
10199
  );
10198
10200
  }
10199
- function Bf() {
10201
+ function Zf() {
10200
10202
  return Math.max(
10201
10203
  document.body.scrollWidth,
10202
10204
  document.documentElement.scrollWidth,
@@ -10206,58 +10208,58 @@ function Bf() {
10206
10208
  document.documentElement.clientWidth
10207
10209
  );
10208
10210
  }
10209
- function Zf(e = 0) {
10211
+ function Ff(e = 0) {
10210
10212
  const { y: t } = Xo(), n = window.innerHeight || document.documentElement.clientHeight, o = el();
10211
10213
  return t + n >= o - e;
10212
10214
  }
10213
- const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10215
+ const Wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10214
10216
  __proto__: null,
10215
- addClass: wf,
10216
- copyToClipboard: ff,
10217
+ addClass: jf,
10218
+ copyToClipboard: pf,
10217
10219
  downloadFile: Wn,
10218
- downloadJSON: mf,
10219
- downloadText: gf,
10220
- enterFullscreen: Af,
10221
- exitFullscreen: Cf,
10222
- getAttribute: Vf,
10223
- getClasses: zf,
10224
- getElementHeight: $f,
10225
- getElementRect: kf,
10226
- getElementWidth: Lf,
10227
- getOffsetTop: If,
10220
+ downloadJSON: gf,
10221
+ downloadText: yf,
10222
+ enterFullscreen: Cf,
10223
+ exitFullscreen: Nf,
10224
+ getAttribute: Pf,
10225
+ getClasses: kf,
10226
+ getElementHeight: Of,
10227
+ getElementRect: Lf,
10228
+ getElementWidth: $f,
10229
+ getOffsetTop: vf,
10228
10230
  getPageHeight: el,
10229
- getPageWidth: Bf,
10231
+ getPageWidth: Zf,
10230
10232
  getScrollPosition: Xo,
10231
- getStyle: Rf,
10232
- getWindowSize: Uf,
10233
- hasAttribute: qf,
10234
- hasClass: Tf,
10235
- isFullscreen: Nf,
10236
- isInViewport: vf,
10237
- isPartiallyVisible: bf,
10238
- isScrolledToBottom: Zf,
10239
- querySelector: Of,
10240
- querySelectorAll: Ef,
10241
- readFromClipboard: pf,
10242
- removeAttribute: Yf,
10243
- removeClass: jf,
10233
+ getStyle: Qf,
10234
+ getWindowSize: Bf,
10235
+ hasAttribute: Rf,
10236
+ hasClass: zf,
10237
+ isFullscreen: wf,
10238
+ isInViewport: bf,
10239
+ isPartiallyVisible: Df,
10240
+ isScrolledToBottom: Ff,
10241
+ querySelector: Ef,
10242
+ querySelectorAll: Vf,
10243
+ readFromClipboard: mf,
10244
+ removeAttribute: qf,
10245
+ removeClass: Sf,
10244
10246
  scrollTo: Hn,
10245
- scrollToBottom: hf,
10246
- scrollToElement: yf,
10247
- scrollToTop: Mf,
10248
- setAttribute: Pf,
10249
- setStyle: Qf,
10250
- toggleClass: Sf,
10251
- toggleFullscreen: Df
10247
+ scrollToBottom: If,
10248
+ scrollToElement: Mf,
10249
+ scrollToTop: hf,
10250
+ setAttribute: Yf,
10251
+ setStyle: Uf,
10252
+ toggleClass: Tf,
10253
+ toggleFullscreen: Af
10252
10254
  }, Symbol.toStringTag, { value: "Module" }));
10253
- function Wf(e, t) {
10255
+ function Hf(e, t) {
10254
10256
  return Math.floor(Math.random() * (t - e + 1)) + e;
10255
10257
  }
10256
- function Hf(e, t, n = 2) {
10258
+ function Jf(e, t, n = 2) {
10257
10259
  const o = Math.random() * (t - e) + e;
10258
10260
  return Number(o.toFixed(n));
10259
10261
  }
10260
- function Jf(e, t, n = 1) {
10262
+ function Gf(e, t, n = 1) {
10261
10263
  const o = [];
10262
10264
  if (n === 0) return o;
10263
10265
  if (n > 0)
@@ -10268,22 +10270,22 @@ function Jf(e, t, n = 1) {
10268
10270
  o.push(l);
10269
10271
  return o;
10270
10272
  }
10271
- function Gf(e, t, n) {
10273
+ function xf(e, t, n) {
10272
10274
  return Math.min(Math.max(e, t), n);
10273
10275
  }
10274
- function xf(e, t) {
10276
+ function _f(e, t) {
10275
10277
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
10276
10278
  return (e * l + t * l) / l;
10277
10279
  }
10278
- function _f(e, t) {
10280
+ function Kf(e, t) {
10279
10281
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
10280
10282
  return (e * l - t * l) / l;
10281
10283
  }
10282
- function Kf(e, t) {
10284
+ function Xf(e, t) {
10283
10285
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, n + o);
10284
10286
  return e * Math.pow(10, n) * t * Math.pow(10, o) / l;
10285
10287
  }
10286
- function Xf(e, t) {
10288
+ function ep(e, t) {
10287
10289
  if (t === 0)
10288
10290
  return console.warn("Division by zero"), 1 / 0;
10289
10291
  const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length;
@@ -10292,28 +10294,28 @@ function Xf(e, t) {
10292
10294
  function Jn(e, t = 0) {
10293
10295
  return Math.round(e * Math.pow(10, t)) / Math.pow(10, t);
10294
10296
  }
10295
- function ep(e, t = 0) {
10297
+ function tp(e, t = 0) {
10296
10298
  return Math.ceil(e * Math.pow(10, t)) / Math.pow(10, t);
10297
10299
  }
10298
- function tp(e, t = 0) {
10300
+ function np(e, t = 0) {
10299
10301
  return Math.floor(e * Math.pow(10, t)) / Math.pow(10, t);
10300
10302
  }
10301
- function np(e, t = 0) {
10303
+ function op(e, t = 0) {
10302
10304
  return Jn(e, t).toFixed(t);
10303
10305
  }
10304
- function op(e, t, n = 2) {
10306
+ function lp(e, t, n = 2) {
10305
10307
  return t === 0 ? 0 : Jn(e / t * 100, n);
10306
10308
  }
10307
- function lp(e) {
10309
+ function ap(e) {
10308
10310
  return e / 100;
10309
10311
  }
10310
- function ap(e) {
10312
+ function ip(e) {
10311
10313
  return e * 100;
10312
10314
  }
10313
- function ip(e, t = 2) {
10315
+ function rp(e, t = 2) {
10314
10316
  return String(e).padStart(t, "0");
10315
10317
  }
10316
- function rp(e) {
10318
+ function sp(e) {
10317
10319
  const t = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九"], n = ["", "十", "百", "千", "万"];
10318
10320
  if (e === 0) return "零";
10319
10321
  if (e < 0 || e > 99999) return String(e);
@@ -10325,7 +10327,7 @@ function rp(e) {
10325
10327
  }
10326
10328
  return e >= 10 && e < 20 && (l = l.replace("一十", "十")), l;
10327
10329
  }
10328
- function sp(e) {
10330
+ function up(e) {
10329
10331
  const t = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], n = ["", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿"], o = ["角", "分"];
10330
10332
  if (e === 0) return "零元整";
10331
10333
  const [l, r = ""] = e.toFixed(2).split(".");
@@ -10343,13 +10345,13 @@ function sp(e) {
10343
10345
  a += "整";
10344
10346
  return a;
10345
10347
  }
10346
- function up(e) {
10348
+ function cp(e) {
10347
10349
  return e % 2 === 0;
10348
10350
  }
10349
- function cp(e) {
10351
+ function dp(e) {
10350
10352
  return e % 2 !== 0;
10351
10353
  }
10352
- function dp(e) {
10354
+ function fp(e) {
10353
10355
  if (e < 2) return !1;
10354
10356
  if (e === 2) return !0;
10355
10357
  if (e % 2 === 0) return !1;
@@ -10357,16 +10359,16 @@ function dp(e) {
10357
10359
  if (e % t === 0) return !1;
10358
10360
  return !0;
10359
10361
  }
10360
- function fp(e, t, n) {
10362
+ function pp(e, t, n) {
10361
10363
  return e >= t && e <= n;
10362
10364
  }
10363
- function pp(e) {
10365
+ function mp(e) {
10364
10366
  return Math.abs(e);
10365
10367
  }
10366
- function mp(e) {
10368
+ function gp(e) {
10367
10369
  return Math.sqrt(e);
10368
10370
  }
10369
- function gp(e, t) {
10371
+ function yp(e, t) {
10370
10372
  return Math.pow(e, t);
10371
10373
  }
10372
10374
  function tl(e) {
@@ -10375,39 +10377,39 @@ function tl(e) {
10375
10377
  function Gn(e, t) {
10376
10378
  return t === 0 ? e : Gn(t, e % t);
10377
10379
  }
10378
- function yp(e, t) {
10380
+ function Mp(e, t) {
10379
10381
  return e * t / Gn(e, t);
10380
10382
  }
10381
- const Mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10383
+ const hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10382
10384
  __proto__: null,
10383
- abs: pp,
10384
- add: xf,
10385
- ceil: ep,
10386
- clamp: Gf,
10387
- decimalToPercent: ap,
10388
- divide: Xf,
10385
+ abs: mp,
10386
+ add: _f,
10387
+ ceil: tp,
10388
+ clamp: xf,
10389
+ decimalToPercent: ip,
10390
+ divide: ep,
10389
10391
  factorial: tl,
10390
- floor: tp,
10392
+ floor: np,
10391
10393
  gcd: Gn,
10392
- inRange: fp,
10393
- isEven: up,
10394
- isOdd: cp,
10395
- isPrime: dp,
10396
- lcm: yp,
10397
- multiply: Kf,
10398
- padZero: ip,
10399
- percentToDecimal: lp,
10400
- percentage: op,
10401
- pow: gp,
10402
- random: Wf,
10403
- randomFloat: Hf,
10404
- range: Jf,
10394
+ inRange: pp,
10395
+ isEven: cp,
10396
+ isOdd: dp,
10397
+ isPrime: fp,
10398
+ lcm: Mp,
10399
+ multiply: Xf,
10400
+ padZero: rp,
10401
+ percentToDecimal: ap,
10402
+ percentage: lp,
10403
+ pow: yp,
10404
+ random: Hf,
10405
+ randomFloat: Jf,
10406
+ range: Gf,
10405
10407
  round: Jn,
10406
- sqrt: mp,
10407
- subtract: _f,
10408
- toChineseMoney: sp,
10409
- toChineseNumber: rp,
10410
- toFixed: np
10408
+ sqrt: gp,
10409
+ subtract: Kf,
10410
+ toChineseMoney: up,
10411
+ toChineseNumber: sp,
10412
+ toFixed: op
10411
10413
  }, Symbol.toStringTag, { value: "Module" }));
10412
10414
  function Ft(e) {
10413
10415
  if (e === null || typeof e != "object") return e;
@@ -10422,7 +10424,7 @@ function Ft(e) {
10422
10424
  Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Ft(e[n]));
10423
10425
  return t;
10424
10426
  }
10425
- function hp(e) {
10427
+ function Ip(e) {
10426
10428
  return e === null || typeof e != "object" ? e : Array.isArray(e) ? [...e] : { ...e };
10427
10429
  }
10428
10430
  function nl(...e) {
@@ -10436,24 +10438,24 @@ function nl(...e) {
10436
10438
  });
10437
10439
  }), t;
10438
10440
  }
10439
- function Ip(...e) {
10441
+ function vp(...e) {
10440
10442
  return Object.assign({}, ...e);
10441
10443
  }
10442
- function vp(e, t) {
10444
+ function bp(e, t) {
10443
10445
  if (!e || typeof e != "object") return {};
10444
10446
  const n = {};
10445
10447
  return t.forEach((o) => {
10446
10448
  o in e && (n[o] = e[o]);
10447
10449
  }), n;
10448
10450
  }
10449
- function bp(e, t) {
10451
+ function Dp(e, t) {
10450
10452
  if (!e || typeof e != "object") return {};
10451
10453
  const n = { ...e };
10452
10454
  return t.forEach((o) => {
10453
10455
  delete n[o];
10454
10456
  }), n;
10455
10457
  }
10456
- function Dp(e, t, n) {
10458
+ function Ap(e, t, n) {
10457
10459
  if (!e || typeof e != "object") return n;
10458
10460
  const o = t.split(".");
10459
10461
  let l = e;
@@ -10473,7 +10475,7 @@ function ol(e, t, n) {
10473
10475
  (!(a in r) || typeof r[a] != "object") && (r[a] = {}), r = r[a];
10474
10476
  r[l] = n;
10475
10477
  }
10476
- function Ap(e, t) {
10478
+ function Cp(e, t) {
10477
10479
  if (!e || typeof e != "object") return !1;
10478
10480
  const n = t.split(".");
10479
10481
  let o = e;
@@ -10484,10 +10486,10 @@ function Ap(e, t) {
10484
10486
  return !1;
10485
10487
  return !0;
10486
10488
  }
10487
- function Cp(e) {
10489
+ function Np(e) {
10488
10490
  return e == null ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
10489
10491
  }
10490
- function Np(e) {
10492
+ function wp(e) {
10491
10493
  if (typeof e != "object" || e === null) return !1;
10492
10494
  const t = Object.getPrototypeOf(e);
10493
10495
  return t === Object.prototype || t === null;
@@ -10525,13 +10527,13 @@ function An(e) {
10525
10527
  t[o] = typeof l == "object" ? An(l) : l;
10526
10528
  }), t;
10527
10529
  }
10528
- function wp(e) {
10530
+ function jp(e) {
10529
10531
  return !e || typeof e != "object" ? "" : Object.keys(e).filter((t) => e[t] !== void 0 && e[t] !== null).map((t) => {
10530
10532
  const n = e[t];
10531
10533
  return Array.isArray(n) ? n.map((o) => `${encodeURIComponent(t)}=${encodeURIComponent(o)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
10532
10534
  }).join("&");
10533
10535
  }
10534
- function jp(e) {
10536
+ function Sp(e) {
10535
10537
  if (!e) return {};
10536
10538
  const t = e.startsWith("?") ? e.slice(1) : e, n = {};
10537
10539
  return t.split("&").forEach((o) => {
@@ -10546,7 +10548,7 @@ function ll(e, t) {
10546
10548
  t(e[o], o) && (n[o] = e[o]);
10547
10549
  }), n;
10548
10550
  }
10549
- function Sp(e, t = !0) {
10551
+ function Tp(e, t = !0) {
10550
10552
  return ll(e, (n) => !(n == null || t && n === ""));
10551
10553
  }
10552
10554
  function al(e, t = "") {
@@ -10557,14 +10559,14 @@ function al(e, t = "") {
10557
10559
  r && typeof r == "object" && !Array.isArray(r) ? Object.assign(n, al(r, l)) : n[l] = r;
10558
10560
  }), n;
10559
10561
  }
10560
- function Tp(e) {
10562
+ function zp(e) {
10561
10563
  if (!e || typeof e != "object") return {};
10562
10564
  const t = {};
10563
10565
  return Object.keys(e).forEach((n) => {
10564
10566
  ol(t, n, e[n]);
10565
10567
  }), t;
10566
10568
  }
10567
- function zp(e) {
10569
+ function kp(e) {
10568
10570
  if (!e || typeof e != "object") return {};
10569
10571
  const t = {};
10570
10572
  return Object.keys(e).forEach((n) => {
@@ -10572,43 +10574,43 @@ function zp(e) {
10572
10574
  t[String(o)] = n;
10573
10575
  }), t;
10574
10576
  }
10575
- function kp(e) {
10577
+ function Lp(e) {
10576
10578
  return !e || typeof e != "object" ? [] : Object.values(e);
10577
10579
  }
10578
- function Lp(e) {
10580
+ function $p(e) {
10579
10581
  return !e || typeof e != "object" ? [] : Object.keys(e);
10580
10582
  }
10581
- function $p(e) {
10583
+ function Op(e) {
10582
10584
  return !e || typeof e != "object" ? [] : Object.entries(e);
10583
10585
  }
10584
- const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10586
+ const Ep = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10585
10587
  __proto__: null,
10586
10588
  deepClone: Ft,
10587
10589
  deepMerge: nl,
10588
- entries: $p,
10590
+ entries: Op,
10589
10591
  filterValues: ll,
10590
10592
  flattenObject: al,
10591
- fromQueryString: jp,
10592
- get: Dp,
10593
- has: Ap,
10594
- invert: zp,
10595
- isEmpty: Cp,
10593
+ fromQueryString: Sp,
10594
+ get: Ap,
10595
+ has: Cp,
10596
+ invert: kp,
10597
+ isEmpty: Np,
10596
10598
  isEqual: bn,
10597
- isPlainObject: Np,
10598
- keys: Lp,
10599
+ isPlainObject: wp,
10600
+ keys: $p,
10599
10601
  keysToCamelCase: Dn,
10600
10602
  keysToUnderlineCase: An,
10601
- omit: bp,
10602
- pick: vp,
10603
- removeEmpty: Sp,
10603
+ omit: Dp,
10604
+ pick: bp,
10605
+ removeEmpty: Tp,
10604
10606
  set: ol,
10605
- shallowClone: hp,
10606
- shallowMerge: Ip,
10607
- toQueryString: wp,
10608
- unflattenObject: Tp,
10609
- values: kp
10607
+ shallowClone: Ip,
10608
+ shallowMerge: vp,
10609
+ toQueryString: jp,
10610
+ unflattenObject: zp,
10611
+ values: Lp
10610
10612
  }, Symbol.toStringTag, { value: "Module" }));
10611
- function Ep(e, t = 300, n = !1) {
10613
+ function Vp(e, t = 300, n = !1) {
10612
10614
  let o = null, l = !1;
10613
10615
  const r = function(...a) {
10614
10616
  o && clearTimeout(o), n && !l ? (e.apply(this, a), l = !0) : o = setTimeout(() => {
@@ -10619,7 +10621,7 @@ function Ep(e, t = 300, n = !1) {
10619
10621
  o && (clearTimeout(o), o = null), l = !1;
10620
10622
  }, r;
10621
10623
  }
10622
- function Vp(e, t = 300, n) {
10624
+ function Pp(e, t = 300, n) {
10623
10625
  const { leading: o = !0, trailing: l = !0 } = n || {};
10624
10626
  let r = null, a = 0, i = null;
10625
10627
  const s = function(...c) {
@@ -10634,7 +10636,7 @@ function Vp(e, t = 300, n) {
10634
10636
  r && (clearTimeout(r), r = null), a = 0, i = null;
10635
10637
  }, s;
10636
10638
  }
10637
- function Pp(e) {
10639
+ function Yp(e) {
10638
10640
  let t = !1, n;
10639
10641
  return function(...o) {
10640
10642
  return t || (t = !0, n = e.apply(this, o)), n;
@@ -10646,7 +10648,7 @@ function il(e) {
10646
10648
  function rl(e) {
10647
10649
  return il(e);
10648
10650
  }
10649
- async function Yp(e, t) {
10651
+ async function qp(e, t) {
10650
10652
  const { times: n = 3, delay: o = 1e3, onRetry: l } = t || {};
10651
10653
  let r;
10652
10654
  for (let a = 0; a < n; a++)
@@ -10657,7 +10659,7 @@ async function Yp(e, t) {
10657
10659
  }
10658
10660
  throw r;
10659
10661
  }
10660
- function qp(e, t) {
10662
+ function Rp(e, t) {
10661
10663
  return Promise.race([
10662
10664
  e,
10663
10665
  new Promise(
@@ -10665,7 +10667,7 @@ function qp(e, t) {
10665
10667
  )
10666
10668
  ]);
10667
10669
  }
10668
- function Rp(e, t) {
10670
+ function Qp(e, t) {
10669
10671
  const n = /* @__PURE__ */ new Map(), o = function(...l) {
10670
10672
  const r = t ? t(...l) : JSON.stringify(l);
10671
10673
  if (n.has(r))
@@ -10675,10 +10677,10 @@ function Rp(e, t) {
10675
10677
  };
10676
10678
  return o.cache = n, o;
10677
10679
  }
10678
- function Qp(e) {
10680
+ function Up(e) {
10679
10681
  e.cache && e.cache.clear();
10680
10682
  }
10681
- function Up(e, t = 100) {
10683
+ function Bp(e, t = 100) {
10682
10684
  let n = [], o = null;
10683
10685
  return function(l) {
10684
10686
  n.push(l), o && clearTimeout(o), o = setTimeout(() => {
@@ -10686,7 +10688,7 @@ function Up(e, t = 100) {
10686
10688
  }, t);
10687
10689
  };
10688
10690
  }
10689
- async function Bp(e, t) {
10691
+ async function Zp(e, t) {
10690
10692
  const n = [], o = [];
10691
10693
  for (const l of e) {
10692
10694
  const r = l().then((a) => {
@@ -10696,7 +10698,7 @@ async function Bp(e, t) {
10696
10698
  }
10697
10699
  return await Promise.all(o), n;
10698
10700
  }
10699
- async function Zp(e) {
10701
+ async function Fp(e) {
10700
10702
  const t = [];
10701
10703
  for (const n of e) {
10702
10704
  const o = await n();
@@ -10704,19 +10706,19 @@ async function Zp(e) {
10704
10706
  }
10705
10707
  return t;
10706
10708
  }
10707
- function Fp(e, t) {
10709
+ function Wp(e, t) {
10708
10710
  return function(...n) {
10709
10711
  const o = performance.now(), l = e.apply(this, n), a = (performance.now() - o).toFixed(2);
10710
10712
  return console.log(`${t || e.name || "Function"}: ${a}ms`), l;
10711
10713
  };
10712
10714
  }
10713
- function Wp(e, t) {
10715
+ function Hp(e, t) {
10714
10716
  return async function(...n) {
10715
10717
  const o = performance.now(), l = await e.apply(this, n), a = (performance.now() - o).toFixed(2);
10716
10718
  return console.log(`${t || e.name || "Function"}: ${a}ms`), l;
10717
10719
  };
10718
10720
  }
10719
- function Hp(e) {
10721
+ function Jp(e) {
10720
10722
  const t = /* @__PURE__ */ new Map();
10721
10723
  return async function(...n) {
10722
10724
  const o = JSON.stringify(n);
@@ -10728,7 +10730,7 @@ function Hp(e) {
10728
10730
  return t.set(o, l), l;
10729
10731
  };
10730
10732
  }
10731
- function Jp(e) {
10733
+ function Gp(e) {
10732
10734
  let t = null;
10733
10735
  const n = function(...o) {
10734
10736
  t === null && (t = requestAnimationFrame(() => {
@@ -10739,70 +10741,70 @@ function Jp(e) {
10739
10741
  t !== null && (cancelAnimationFrame(t), t = null);
10740
10742
  }, n;
10741
10743
  }
10742
- const Gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10744
+ const xp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10743
10745
  __proto__: null,
10744
- batch: Up,
10745
- clearCache: Qp,
10746
- debounce: Ep,
10747
- dedupe: Hp,
10746
+ batch: Bp,
10747
+ clearCache: Up,
10748
+ debounce: Vp,
10749
+ dedupe: Jp,
10748
10750
  delay: il,
10749
- measureTime: Fp,
10750
- measureTimeAsync: Wp,
10751
- memoize: Rp,
10752
- once: Pp,
10753
- promiseLimit: Bp,
10754
- promiseSerial: Zp,
10755
- rafThrottle: Jp,
10756
- retry: Yp,
10751
+ measureTime: Wp,
10752
+ measureTimeAsync: Hp,
10753
+ memoize: Qp,
10754
+ once: Yp,
10755
+ promiseLimit: Zp,
10756
+ promiseSerial: Fp,
10757
+ rafThrottle: Gp,
10758
+ retry: qp,
10757
10759
  sleep: rl,
10758
- throttle: Vp,
10759
- withTimeout: qp
10760
+ throttle: Pp,
10761
+ withTimeout: Rp
10760
10762
  }, Symbol.toStringTag, { value: "Module" }));
10761
- function xp(e) {
10763
+ function _p(e) {
10762
10764
  return !e || e.length !== 11 ? e : e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
10763
10765
  }
10764
- function _p(e) {
10766
+ function Kp(e) {
10765
10767
  if (!e || e.length < 8) return e;
10766
10768
  const t = e.length;
10767
10769
  return e.substring(0, 3) + "*".repeat(t - 7) + e.substring(t - 4);
10768
10770
  }
10769
- function Kp(e) {
10771
+ function Xp(e) {
10770
10772
  return !e || e.length === 0 || e.length === 1 ? e : e.length === 2 ? e[0] + "*" : e.substring(0, e.length - 1) + "*";
10771
10773
  }
10772
- function Xp(e) {
10774
+ function em(e) {
10773
10775
  if (!e || e.length < 8) return e;
10774
10776
  const t = e.length, n = e.substring(0, 4), o = e.substring(t - 4);
10775
10777
  return `${n} **** **** ${o}`;
10776
10778
  }
10777
- function em(e) {
10779
+ function tm(e) {
10778
10780
  if (!e || !e.includes("@")) return e;
10779
10781
  const [t, n] = e.split("@");
10780
10782
  return t.length <= 1 ? e : t[0] + "***@" + n;
10781
10783
  }
10782
- function tm(e, t = 6) {
10784
+ function nm(e, t = 6) {
10783
10785
  return !e || e.length <= t ? e : e.substring(0, t) + "***";
10784
10786
  }
10785
- function nm(e) {
10787
+ function om(e) {
10786
10788
  return e && e.charAt(0).toUpperCase() + e.slice(1);
10787
10789
  }
10788
- function om(e) {
10790
+ function lm(e) {
10789
10791
  return e && e.replace(/\b\w/g, (t) => t.toUpperCase());
10790
10792
  }
10791
- function lm(e) {
10793
+ function am(e) {
10792
10794
  return e && e.replace(/_([a-z])/g, (t, n) => n.toUpperCase());
10793
10795
  }
10794
- function am(e) {
10796
+ function im(e) {
10795
10797
  return e && e.replace(/([A-Z])/g, "_$1").toLowerCase();
10796
10798
  }
10797
- function im(e) {
10799
+ function rm(e) {
10798
10800
  return e && e.replace(/([A-Z])/g, "-$1").toLowerCase();
10799
10801
  }
10800
- function rm(e) {
10802
+ function sm(e) {
10801
10803
  if (e == null || e === "") return "";
10802
10804
  const n = String(e).split(".");
10803
10805
  return n[0] = n[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), n.join(".");
10804
10806
  }
10805
- function sm(e, t) {
10807
+ function um(e, t) {
10806
10808
  const {
10807
10809
  currency: n = "¥",
10808
10810
  decimals: o = 2,
@@ -10814,19 +10816,19 @@ function sm(e, t) {
10814
10816
  let d = s.replace(/\B(?=(\d{3})+(?!\d))/g, l);
10815
10817
  return o > 0 && c && (d += r + c), n + d;
10816
10818
  }
10817
- function um(e, t = 2) {
10819
+ function cm(e, t = 2) {
10818
10820
  if (e === 0) return "0 B";
10819
10821
  if (!e) return "";
10820
10822
  const n = 1024, o = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(e) / Math.log(n));
10821
10823
  return parseFloat((e / Math.pow(n, l)).toFixed(t)) + " " + o[l];
10822
10824
  }
10823
- function cm(e) {
10825
+ function dm(e) {
10824
10826
  return e && e.replace(/\s/g, "").replace(/(\d{4})(?=\d)/g, "$1 ");
10825
10827
  }
10826
- function dm(e) {
10828
+ function fm(e) {
10827
10829
  return e && e.replace(/\s/g, "").replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3");
10828
10830
  }
10829
- function fm(e = 8, t = "alphanumeric") {
10831
+ function pm(e = 8, t = "alphanumeric") {
10830
10832
  const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", o = "0123456789";
10831
10833
  let r = n + o;
10832
10834
  t === "alpha" && (r = n), t === "number" && (r = o);
@@ -10835,17 +10837,17 @@ function fm(e = 8, t = "alphanumeric") {
10835
10837
  a += r.charAt(Math.floor(Math.random() * r.length));
10836
10838
  return a;
10837
10839
  }
10838
- function pm(e) {
10840
+ function mm(e) {
10839
10841
  const t = Date.now(), n = Math.random().toString(36).substring(2, 8);
10840
10842
  return e ? `${e}_${t}_${n}` : `${t}_${n}`;
10841
10843
  }
10842
- function mm(e, t, n = "...") {
10844
+ function gm(e, t, n = "...") {
10843
10845
  return !e || e.length <= t ? e : e.substring(0, t) + n;
10844
10846
  }
10845
- function gm(e) {
10847
+ function ym(e) {
10846
10848
  return e && e.replace(/<[^>]*>/g, "");
10847
10849
  }
10848
- function ym(e) {
10850
+ function Mm(e) {
10849
10851
  if (!e) return e;
10850
10852
  const t = {
10851
10853
  "&": "&amp;",
@@ -10857,7 +10859,7 @@ function ym(e) {
10857
10859
  };
10858
10860
  return e.replace(/[&<>"'/]/g, (n) => t[n]);
10859
10861
  }
10860
- function Mm(e) {
10862
+ function hm(e) {
10861
10863
  if (!e) return e;
10862
10864
  const t = {
10863
10865
  "&amp;": "&",
@@ -10869,50 +10871,50 @@ function Mm(e) {
10869
10871
  };
10870
10872
  return e.replace(/&(amp|lt|gt|quot|#x27|#x2F);/g, (n) => t[n]);
10871
10873
  }
10872
- function hm(e) {
10874
+ function Im(e) {
10873
10875
  return e == null || e.trim() === "";
10874
10876
  }
10875
- function Im(e) {
10877
+ function vm(e) {
10876
10878
  return e && e.split("").reverse().join("");
10877
10879
  }
10878
- function vm(e, t) {
10880
+ function bm(e, t) {
10879
10881
  return !e || t <= 0 ? "" : e.repeat(t);
10880
10882
  }
10881
- function bm(e, t, n = " ") {
10883
+ function Dm(e, t, n = " ") {
10882
10884
  return e || (e = ""), e.padStart(t, n);
10883
10885
  }
10884
- function Dm(e, t, n = " ") {
10886
+ function Am(e, t, n = " ") {
10885
10887
  return e || (e = ""), e.padEnd(t, n);
10886
10888
  }
10887
- const Am = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10889
+ const Cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10888
10890
  __proto__: null,
10889
- addressDesensitize: tm,
10890
- bankCardDesensitize: Xp,
10891
- capitalize: nm,
10892
- capitalizeWords: om,
10893
- emailDesensitize: em,
10894
- escapeHtml: ym,
10895
- formatBankCard: cm,
10896
- formatFileSize: um,
10897
- formatMoney: sm,
10898
- formatNumber: rm,
10899
- formatPhone: dm,
10900
- generateUUID: pm,
10901
- idCardDesensitize: _p,
10902
- isEmpty: hm,
10903
- nameDesensitize: Kp,
10904
- padEnd: Dm,
10905
- padStart: bm,
10906
- phoneDesensitize: xp,
10907
- randomString: fm,
10908
- removeHtmlTags: gm,
10909
- repeat: vm,
10910
- reverse: Im,
10911
- toCamelCase: lm,
10912
- toKebabCase: im,
10913
- toUnderlineCase: am,
10914
- truncate: mm,
10915
- unescapeHtml: Mm
10891
+ addressDesensitize: nm,
10892
+ bankCardDesensitize: em,
10893
+ capitalize: om,
10894
+ capitalizeWords: lm,
10895
+ emailDesensitize: tm,
10896
+ escapeHtml: Mm,
10897
+ formatBankCard: dm,
10898
+ formatFileSize: cm,
10899
+ formatMoney: um,
10900
+ formatNumber: sm,
10901
+ formatPhone: fm,
10902
+ generateUUID: mm,
10903
+ idCardDesensitize: Kp,
10904
+ isEmpty: Im,
10905
+ nameDesensitize: Xp,
10906
+ padEnd: Am,
10907
+ padStart: Dm,
10908
+ phoneDesensitize: _p,
10909
+ randomString: pm,
10910
+ removeHtmlTags: ym,
10911
+ repeat: bm,
10912
+ reverse: vm,
10913
+ toCamelCase: am,
10914
+ toKebabCase: rm,
10915
+ toUnderlineCase: im,
10916
+ truncate: gm,
10917
+ unescapeHtml: hm
10916
10918
  }, Symbol.toStringTag, { value: "Module" }));
10917
10919
  function je(e) {
10918
10920
  const t = e || (typeof window < "u" ? window.location.href : "");
@@ -10932,15 +10934,15 @@ function dt(e) {
10932
10934
  return Array.isArray(n) ? n.map((o) => `${encodeURIComponent(t)}=${encodeURIComponent(o)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
10933
10935
  }).join("&");
10934
10936
  }
10935
- function Cm(e, t) {
10937
+ function Nm(e, t) {
10936
10938
  const o = je(t)[e];
10937
10939
  return o === void 0 ? null : Array.isArray(o) ? o[0] || null : o;
10938
10940
  }
10939
- function Nm(e, t) {
10941
+ function wm(e, t) {
10940
10942
  const o = je(t)[e];
10941
10943
  return o === void 0 ? [] : Array.isArray(o) ? o : [o];
10942
10944
  }
10943
- function wm(e, t = "push") {
10945
+ function jm(e, t = "push") {
10944
10946
  if (typeof window > "u" || !window.history) return;
10945
10947
  const o = { ...je(), ...e };
10946
10948
  Object.keys(o).forEach((a) => {
@@ -10949,7 +10951,7 @@ function wm(e, t = "push") {
10949
10951
  const l = dt(o), r = l ? `${window.location.pathname}?${l}` : window.location.pathname;
10950
10952
  t === "push" ? window.history.pushState(null, "", r) : window.history.replaceState(null, "", r);
10951
10953
  }
10952
- function jm(e, t = "push") {
10954
+ function Sm(e, t = "push") {
10953
10955
  if (typeof window > "u" || !window.history) return;
10954
10956
  const n = je();
10955
10957
  e.forEach((r) => {
@@ -10958,15 +10960,15 @@ function jm(e, t = "push") {
10958
10960
  const o = dt(n), l = o ? `${window.location.pathname}?${o}` : window.location.pathname;
10959
10961
  t === "push" ? window.history.pushState(null, "", l) : window.history.replaceState(null, "", l);
10960
10962
  }
10961
- function Sm(e = "push") {
10963
+ function Tm(e = "push") {
10962
10964
  if (typeof window > "u" || !window.history) return;
10963
10965
  const t = window.location.pathname;
10964
10966
  e === "push" ? window.history.pushState(null, "", t) : window.history.replaceState(null, "", t);
10965
10967
  }
10966
- function Tm(...e) {
10968
+ function zm(...e) {
10967
10969
  return e.length === 0 ? "" : e.map((t, n) => n === 0 ? t.replace(/\/+$/, "") : n === e.length - 1 ? t.replace(/^\/+/, "") : t.replace(/^\/+|\/+$/g, "")).filter(Boolean).join("/");
10968
10970
  }
10969
- function zm(e) {
10971
+ function km(e) {
10970
10972
  if (!e)
10971
10973
  return {
10972
10974
  protocol: "",
@@ -11015,7 +11017,7 @@ function zm(e) {
11015
11017
  };
11016
11018
  }
11017
11019
  }
11018
- function km(e) {
11020
+ function Lm(e) {
11019
11021
  const {
11020
11022
  protocol: t = "https",
11021
11023
  hostname: n = "",
@@ -11030,13 +11032,13 @@ function km(e) {
11030
11032
  const s = dt(r);
11031
11033
  return s && (i += `?${s}`), a && (i += a.startsWith("#") ? a : `#${a}`), i;
11032
11034
  }
11033
- function Lm(e) {
11035
+ function $m(e) {
11034
11036
  return e ? /^(https?:)?\/\//.test(e) : !1;
11035
11037
  }
11036
- function $m(e) {
11038
+ function Om(e) {
11037
11039
  return e ? e.startsWith("/") : !1;
11038
11040
  }
11039
- function Om(e, t) {
11041
+ function Em(e, t) {
11040
11042
  try {
11041
11043
  const n = new URL(e), o = new URL(t);
11042
11044
  return n.origin === o.origin;
@@ -11044,17 +11046,17 @@ function Om(e, t) {
11044
11046
  return !1;
11045
11047
  }
11046
11048
  }
11047
- function Em(e) {
11049
+ function Vm(e) {
11048
11050
  return encodeURIComponent(e);
11049
11051
  }
11050
- function Vm(e) {
11052
+ function Pm(e) {
11051
11053
  try {
11052
11054
  return decodeURIComponent(e);
11053
11055
  } catch {
11054
11056
  return e;
11055
11057
  }
11056
11058
  }
11057
- function Pm(e) {
11059
+ function Ym(e) {
11058
11060
  if (!e) return "";
11059
11061
  try {
11060
11062
  return encodeURI(decodeURI(e));
@@ -11062,7 +11064,7 @@ function Pm(e) {
11062
11064
  return encodeURI(e);
11063
11065
  }
11064
11066
  }
11065
- function Ym(e) {
11067
+ function qm(e) {
11066
11068
  if (!e) return "";
11067
11069
  try {
11068
11070
  return decodeURI(e);
@@ -11070,14 +11072,14 @@ function Ym(e) {
11070
11072
  return e;
11071
11073
  }
11072
11074
  }
11073
- function qm(e, t) {
11075
+ function Rm(e, t) {
11074
11076
  if (!e) return "";
11075
11077
  if (!t || Object.keys(t).length === 0) return e;
11076
11078
  const [n, o] = e.split("#"), [l, r] = n.split("?"), i = { ...r ? je("?" + r) : {}, ...t }, s = dt(i);
11077
11079
  let c = l;
11078
11080
  return s && (c += `?${s}`), o && (c += `#${o}`), c;
11079
11081
  }
11080
- function Rm(e, t) {
11082
+ function Qm(e, t) {
11081
11083
  if (!e) return "";
11082
11084
  if (!t || t.length === 0) return e;
11083
11085
  const [n, o] = e.split("#"), [l, r] = n.split("?");
@@ -11097,61 +11099,61 @@ function sl(e) {
11097
11099
  return "";
11098
11100
  }
11099
11101
  }
11100
- function Qm(e) {
11102
+ function Um(e) {
11101
11103
  const t = sl(e);
11102
11104
  if (!t) return "";
11103
11105
  const n = t.split(".");
11104
11106
  return n.length <= 2 ? t : n.slice(-2).join(".");
11105
11107
  }
11106
- function Um() {
11108
+ function Bm() {
11107
11109
  return typeof window > "u" ? "" : window.location.href;
11108
11110
  }
11109
- function Bm() {
11111
+ function Zm() {
11110
11112
  return typeof window > "u" ? "" : window.location.pathname;
11111
11113
  }
11112
- function Zm() {
11114
+ function Fm() {
11113
11115
  return typeof window > "u" ? {} : je(window.location.search);
11114
11116
  }
11115
- function Fm() {
11117
+ function Wm() {
11116
11118
  return typeof window > "u" ? "" : window.location.hash.replace(/^#/, "");
11117
11119
  }
11118
- const Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11120
+ const Hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11119
11121
  __proto__: null,
11120
- addQueryParams: qm,
11121
- buildUrl: km,
11122
- clearQueryParams: Sm,
11123
- decodeParam: Vm,
11124
- encodeParam: Em,
11125
- getCurrentHash: Fm,
11126
- getCurrentPath: Bm,
11127
- getCurrentQuery: Zm,
11128
- getCurrentUrl: Um,
11122
+ addQueryParams: Rm,
11123
+ buildUrl: Lm,
11124
+ clearQueryParams: Tm,
11125
+ decodeParam: Pm,
11126
+ encodeParam: Vm,
11127
+ getCurrentHash: Wm,
11128
+ getCurrentPath: Zm,
11129
+ getCurrentQuery: Fm,
11130
+ getCurrentUrl: Bm,
11129
11131
  getDomain: sl,
11130
- getQueryParam: Cm,
11131
- getQueryParams: Nm,
11132
- getRootDomain: Qm,
11133
- isAbsolutePath: $m,
11134
- isExternalLink: Lm,
11135
- isSameOrigin: Om,
11136
- joinUrl: Tm,
11132
+ getQueryParam: Nm,
11133
+ getQueryParams: wm,
11134
+ getRootDomain: Um,
11135
+ isAbsolutePath: Om,
11136
+ isExternalLink: $m,
11137
+ isSameOrigin: Em,
11138
+ joinUrl: zm,
11137
11139
  parseQuery: je,
11138
- parseUrl: zm,
11139
- removeQueryParams: jm,
11140
- removeQueryParamsFromUrl: Rm,
11141
- safeDecodeUrl: Ym,
11142
- safeEncodeUrl: Pm,
11140
+ parseUrl: km,
11141
+ removeQueryParams: Sm,
11142
+ removeQueryParamsFromUrl: Qm,
11143
+ safeDecodeUrl: qm,
11144
+ safeEncodeUrl: Ym,
11143
11145
  stringifyQuery: dt,
11144
- updateQueryParams: wm
11145
- }, Symbol.toStringTag, { value: "Module" })), Hm = "#0B5CFF", Jm = "#0B5CFF", Gm = "#323232", xm = "#2da641", _m = "#E93030", Km = "#E93030", Xm = "#f2c037", eg = "#969799", tg = "#ffffff", ng = {
11146
- primary: Hm,
11147
- blue: Jm,
11148
- dark: Gm,
11149
- green: xm,
11150
- red: _m,
11151
- negative: Km,
11152
- yellow: Xm,
11153
- grey: eg,
11154
- white: tg,
11146
+ updateQueryParams: jm
11147
+ }, Symbol.toStringTag, { value: "Module" })), Jm = "#0B5CFF", Gm = "#0B5CFF", xm = "#323232", _m = "#2da641", Km = "#E93030", Xm = "#E93030", eg = "#f2c037", tg = "#969799", ng = "#ffffff", og = {
11148
+ primary: Jm,
11149
+ blue: Gm,
11150
+ dark: xm,
11151
+ green: _m,
11152
+ red: Km,
11153
+ negative: Xm,
11154
+ yellow: eg,
11155
+ grey: tg,
11156
+ white: ng,
11155
11157
  "blue-light": "#f0f4ff",
11156
11158
  "dark-lighter": "#f7f7f7",
11157
11159
  "green-light": "#c0e4c6",
@@ -11163,13 +11165,13 @@ const Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11163
11165
  "grey-lighter": "#f5f6fa",
11164
11166
  "dark-strong": "#131523"
11165
11167
  };
11166
- function Rg(e) {
11168
+ function Qg(e) {
11167
11169
  const { app: t, router: n, store: o, i18n: l, pagePermissionIds: r, pageActionPermissionIds: a, defaultLanguage: i, colors: s, disableBFCache: c } = e;
11168
11170
  c && window.addEventListener("pageshow", (g) => {
11169
11171
  g.persisted && window.location.reload();
11170
- }), ag(t);
11172
+ }), ig(t);
11171
11173
  const u = t.config.globalProperties.$q;
11172
- u ? (ql(u), Zt.setQuasarInstance(u), zd.setQuasarInstance(u), lg(u)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), i ? gn(i).catch((g) => {
11174
+ u ? (ql(u), Zt.setQuasarInstance(u), kd.setQuasarInstance(u), ag(u)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), i ? gn(i).catch((g) => {
11173
11175
  console.error("[rtcpt] Failed to set default language:", g);
11174
11176
  }) : gn("zh-CN").catch((g) => {
11175
11177
  console.error("[rtcpt] Failed to load default locale:", g);
@@ -11182,21 +11184,21 @@ function Rg(e) {
11182
11184
  iconMapFn: d,
11183
11185
  pagePermissionIds: p,
11184
11186
  pageActionPermissionIds: f
11185
- }), p && t.provide(Tt, p), f && t.provide(St, f), s && u && og(s), u && (u.iconMapFn = Bo(u.iconMapFn, d));
11187
+ }), p && t.provide(Tt, p), f && t.provide(St, f), s && u && lg(s), u && (u.iconMapFn = Bo(u.iconMapFn, d));
11186
11188
  }
11187
- function og(e, t) {
11188
- const n = { ...ng, ...e }, o = document.documentElement;
11189
+ function lg(e, t) {
11190
+ const n = { ...og, ...e }, o = document.documentElement;
11189
11191
  Object.entries(n).forEach(([l, r]) => {
11190
11192
  o.style.setProperty(`--j-color-${l}`, r);
11191
11193
  }), n.primary && yt("primary", n.primary), n.negative && yt("negative", n.negative), n.green && yt("positive", n.green), n.yellow && yt("warning", n.yellow), n.dark && yt("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
11192
11194
  }
11193
- function lg(e) {
11195
+ function ag(e) {
11194
11196
  const t = ["notify", "dialog"], n = [];
11195
11197
  t.forEach((o) => {
11196
11198
  e[o] || n.push(o);
11197
11199
  }), 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 } })`);
11198
11200
  }
11199
- function ag(e) {
11201
+ function ig(e) {
11200
11202
  var n;
11201
11203
  const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
11202
11204
  t != null && t["close-popup"] || e.directive("close-popup", Ht);
@@ -11234,93 +11236,93 @@ function ul(e, t, n = (l) => JSON.stringify(l), o = (l) => JSON.parse(l)) {
11234
11236
  return window.addEventListener("storage", i), a;
11235
11237
  }
11236
11238
  const cl = (e) => e.join(","), dl = (e) => e ? e.split(",").filter(Boolean) : [];
11237
- function Qg(e) {
11239
+ function Ug(e) {
11238
11240
  return ul(e, [], cl, dl);
11239
11241
  }
11240
- function Ug(e) {
11242
+ function Bg(e) {
11241
11243
  return ul(e, [], cl, dl);
11242
11244
  }
11243
- const Bg = {
11245
+ const Zg = {
11244
11246
  transformTreeUseLabelAndValue: Fn,
11245
- JQDownloadFile: Vd,
11246
- generateDownloadFileName: Pd,
11247
+ JQDownloadFile: Pd,
11248
+ generateDownloadFileName: Yd,
11247
11249
  ...Ju,
11248
11250
  formRules: Vi,
11249
- array: df,
11250
- dom: Ff,
11251
- formUtils: Ud,
11252
- number: Mp,
11253
- object: Op,
11254
- perf: Gp,
11251
+ array: ff,
11252
+ dom: Wf,
11253
+ formUtils: Bd,
11254
+ number: hp,
11255
+ object: Ep,
11256
+ perf: xp,
11255
11257
  regex: ci,
11256
- string: Am,
11257
- treeUtils: Ed,
11258
- url: Wm
11258
+ string: Cm,
11259
+ treeUtils: Vd,
11260
+ url: Hm
11259
11261
  };
11260
11262
  export {
11261
11263
  Un as DialogProvider,
11262
11264
  ho as JCCopy,
11263
- cg as JCDuoListEditor,
11264
- dg as JCEditableProxy,
11265
- fg as JCFallback,
11266
- pg as JCFoldableList,
11267
- mg as JCFormatLookup,
11268
- gg as JCListEditor,
11269
- yg as JCMoreMenu,
11270
- Mg as JCNestedSelect,
11271
- Dg as JCOrgSelect,
11265
+ dg as JCDuoListEditor,
11266
+ fg as JCEditableProxy,
11267
+ pg as JCFallback,
11268
+ mg as JCFoldableList,
11269
+ gg as JCFormatLookup,
11270
+ yg as JCListEditor,
11271
+ Mg as JCMoreMenu,
11272
+ hg as JCNestedSelect,
11273
+ Ag as JCOrgSelect,
11272
11274
  vo as JCPermission,
11273
- Ag as JCPlatform,
11274
- hg as JCTable,
11275
- Ig as JCTabs,
11276
- vg as JCTitleLine,
11275
+ Cg as JCPlatform,
11276
+ Ig as JCTable,
11277
+ vg as JCTabs,
11278
+ bg as JCTitleLine,
11277
11279
  Oe as JCTooltip,
11278
11280
  en as JCTooltipEllipsis,
11279
11281
  Rr as JCTree,
11280
- bg as JCTreeSelect,
11281
- Wg as JChBar,
11282
- Hg as JChBarLine,
11283
- Jg as JChBubble,
11284
- Gg as JChLine,
11285
- xg as JChPieDoughnut,
11286
- _g as JChRadar,
11287
- Cg as JQAutocomplete,
11282
+ Dg as JCTreeSelect,
11283
+ Hg as JChBar,
11284
+ Jg as JChBarLine,
11285
+ Gg as JChBubble,
11286
+ xg as JChLine,
11287
+ _g as JChPieDoughnut,
11288
+ Kg as JChRadar,
11289
+ Ng as JQAutocomplete,
11288
11290
  ct as JQButton,
11289
- Ng as JQButtonDropdown,
11290
- wg as JQCheckbox,
11291
- jg as JQConfirm,
11292
- zd as JQConfirmDialog,
11293
- Sg as JQDate,
11294
- zg as JQDateMonth,
11295
- kg as JQDateYear,
11296
- Tg as JQDatetime,
11297
- Lg as JQDetailList,
11291
+ wg as JQButtonDropdown,
11292
+ jg as JQCheckbox,
11293
+ Sg as JQConfirm,
11294
+ kd as JQConfirmDialog,
11295
+ Tg as JQDate,
11296
+ kg as JQDateMonth,
11297
+ Lg as JQDateYear,
11298
+ zg as JQDatetime,
11299
+ $g as JQDetailList,
11298
11300
  Di as JQDialog,
11299
- $g as JQFile,
11301
+ Og as JQFile,
11300
11302
  _i as JQFormLabel,
11301
11303
  Xt as JQInput,
11302
- Og as JQInputRecognize,
11304
+ Eg as JQInputRecognize,
11303
11305
  Zt as JQMessage,
11304
- Eg as JQNewValue,
11305
- Vg as JQOptionGroup,
11306
- yd as JQPagination,
11307
- Pg as JQPopover,
11308
- Yg as JQSearchForm,
11306
+ Vg as JQNewValue,
11307
+ Pg as JQOptionGroup,
11308
+ Md as JQPagination,
11309
+ Yg as JQPopover,
11310
+ qg as JQSearchForm,
11309
11311
  Ti as JQSelect,
11310
- qg as JQTable,
11312
+ Rg as JQTable,
11311
11313
  Sr as JQTooltip,
11312
11314
  St as PAGE_ACTION_PERMISSION_KEY,
11313
11315
  Tt as PAGE_PERMISSION_KEY,
11314
11316
  Bo as composeIconMapFn,
11315
- Ud as formUtils,
11317
+ Bd as formUtils,
11316
11318
  Tn as getLocale,
11317
- Bg as jqTool,
11319
+ Zg as jqTool,
11318
11320
  Oi as rtcptIconMapFn,
11319
- Rg as rtcptInit,
11321
+ Qg as rtcptInit,
11320
11322
  gn as setLocale,
11321
11323
  Io as t,
11322
- Ed as treeUtils,
11324
+ Vd as treeUtils,
11323
11325
  ae as useI18n,
11324
- Ug as usePageActionPermissionSync,
11325
- Qg as usePagePermissionSync
11326
+ Bg as usePageActionPermissionSync,
11327
+ Ug as usePagePermissionSync
11326
11328
  };