rtcpts 0.0.26 → 0.0.27

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 B, ref as v, computed as j, resolveComponent as C, createBlock as P, openBlock as m, createElementBlock as z, createCommentVNode as Q, Fragment as K, renderList as X, normalizeClass as q, createElementVNode as A, renderSlot as Y, createVNode as b, inject as Le, toDisplayString as $, watch as Z, nextTick as se, onMounted as Ne, onBeforeUnmount as Et, Teleport as Xt, Transition as Ke, withCtx as N, normalizeStyle as F, createTextVNode as G, mergeProps as ge, createSlots as ke, getCurrentInstance as en, resolveDirective as xe, withDirectives as ie, vShow as ce, Suspense as tn, resolveDynamicComponent as dt, toHandlers as nn, normalizeProps as Me, guardReactiveProps as Ae, withModifiers as ee, withKeys as ft, createApp as ln, onUnmounted as on, h as an, reactive as Ce, isRef as wt } from "vue";
2
2
  import { QIcon as te, copyToClipboard as sn, QBtn as fe, QCardActions as rn, QCardSection as je, QCard as he, QPopupProxy as ye, ClosePopup as yt, QInnerLoading as Vt, QDialog as Yt, QInput as Re, QItemSection as It, QItem as Dt, QSpinner as un, QSelect as _e, QList as Pt, QMenu as dn, QTooltip as cn, QTree as gn, QField as be, QItemLabel as pn, QBtnDropdown as mn, QDate as Qt, date as J, QOptionGroup as Mn, QPagination as qt, QTd as fn, QTh as yn, QTable as In, useDialogPluginComponent as Tt, setCssVar as Ee } from "quasar";
3
3
  import { _ as U } from "./charts-D_0khFg_.js";
4
- import { i as hr, a as br, b as zr, c as vr, d as wr, e as Tr } from "./charts-D_0khFg_.js";
4
+ import { i as br, a as zr, b as vr, c as wr, d as Tr, e as Sr } from "./charts-D_0khFg_.js";
5
5
  const Dn = B({
6
6
  name: "JCCopy",
7
7
  components: {
@@ -213,7 +213,7 @@ function Ln(e, t, i, n, r, u) {
213
213
  ])) : Q("", !0)
214
214
  ]);
215
215
  }
216
- const Ws = /* @__PURE__ */ U(vn, [["render", Ln]]), Be = Symbol("pageActionPermissionId"), Ue = Symbol("pagePermissionId"), kn = B({
216
+ const Fs = /* @__PURE__ */ U(vn, [["render", Ln]]), Be = Symbol("pageActionPermissionId"), Ue = Symbol("pagePermissionId"), kn = B({
217
217
  name: "JCPermission",
218
218
  props: {
219
219
  /**
@@ -830,7 +830,7 @@ function Zn(e, t, i, n, r, u) {
830
830
  }, 8, ["code"])
831
831
  ]);
832
832
  }
833
- const Fs = /* @__PURE__ */ U(Rn, [["render", Zn], ["__scopeId", "data-v-1da777ad"]]), Wn = B({
833
+ const Js = /* @__PURE__ */ U(Rn, [["render", Zn], ["__scopeId", "data-v-1da777ad"]]), Wn = B({
834
834
  name: "JCFallback",
835
835
  props: {
836
836
  /**
@@ -884,7 +884,7 @@ function Jn(e, t, i, n, r, u) {
884
884
  e.rmDom ? Q("", !0) : (m(), z("span", Fn, $(e.defaultContent), 1))
885
885
  ], 64));
886
886
  }
887
- const Js = /* @__PURE__ */ U(Wn, [["render", Jn]]);
887
+ const Hs = /* @__PURE__ */ U(Wn, [["render", Jn]]);
888
888
  function Hn(e) {
889
889
  if (!e)
890
890
  return { name: "", args: [] };
@@ -2153,7 +2153,7 @@ function Nl(e, t, i, n, r, u) {
2153
2153
  ])
2154
2154
  ]);
2155
2155
  }
2156
- const Hs = /* @__PURE__ */ U(Il, [["render", Nl], ["__scopeId", "data-v-48376fdd"]]), jl = B({
2156
+ const Gs = /* @__PURE__ */ U(Il, [["render", Nl], ["__scopeId", "data-v-48376fdd"]]), jl = B({
2157
2157
  name: "JCFormatLookup",
2158
2158
  props: {
2159
2159
  /**
@@ -2217,7 +2217,7 @@ function bl(e, t, i, n, r, u) {
2217
2217
  e.rmDom ? Q("", !0) : (m(), z("span", hl, $(e.defaultContent), 1))
2218
2218
  ], 64));
2219
2219
  }
2220
- const Gs = /* @__PURE__ */ U(jl, [["render", bl]]), zl = B({
2220
+ const Ks = /* @__PURE__ */ U(jl, [["render", bl]]), zl = B({
2221
2221
  name: "JQFormLabel",
2222
2222
  components: {
2223
2223
  QIcon: te,
@@ -2391,7 +2391,7 @@ function Vl(e, t, i, n, r, u) {
2391
2391
  }, 8, ["label", "required"])
2392
2392
  ]);
2393
2393
  }
2394
- const Ks = /* @__PURE__ */ U(Ol, [["render", Vl]]), Yl = B({
2394
+ const xs = /* @__PURE__ */ U(Ol, [["render", Vl]]), Yl = B({
2395
2395
  name: "JCMoreMenu",
2396
2396
  components: {
2397
2397
  QIcon: te,
@@ -2575,7 +2575,7 @@ function Rl(e, t, i, n, r, u) {
2575
2575
  ])) : (m(), z("span", ql, "-"))
2576
2576
  ])) : Q("", !0);
2577
2577
  }
2578
- const xs = /* @__PURE__ */ U(Yl, [["render", Rl], ["__scopeId", "data-v-51a82f6e"]]), Bl = B({
2578
+ const _s = /* @__PURE__ */ U(Yl, [["render", Rl], ["__scopeId", "data-v-51a82f6e"]]), Bl = B({
2579
2579
  name: "JCTable",
2580
2580
  components: {
2581
2581
  JCCopy: Rt,
@@ -2851,7 +2851,7 @@ function xl(e, t, i, n, r, u) {
2851
2851
  ])) : Q("", !0)
2852
2852
  ]);
2853
2853
  }
2854
- const _s = /* @__PURE__ */ U(Bl, [["render", xl], ["__scopeId", "data-v-df5a59ac"]]), mt = v("hide-tooltip"), _l = {
2854
+ const Xs = /* @__PURE__ */ U(Bl, [["render", xl], ["__scopeId", "data-v-df5a59ac"]]), mt = v("hide-tooltip"), _l = {
2855
2855
  mounted(e, t) {
2856
2856
  const i = t.arg === "lines" ? t.value : 1;
2857
2857
  e.addEventListener("mouseenter", () => {
@@ -3033,7 +3033,7 @@ function ao(e, t, i, n, r, u) {
3033
3033
  Y(e.$slots, "default", {}, void 0, !0)
3034
3034
  ]);
3035
3035
  }
3036
- const Xs = /* @__PURE__ */ U(lo, [["render", ao], ["__scopeId", "data-v-cc043f30"]]), io = B({
3036
+ const er = /* @__PURE__ */ U(lo, [["render", ao], ["__scopeId", "data-v-cc043f30"]]), io = B({
3037
3037
  name: "JCTitleLine",
3038
3038
  props: {
3039
3039
  label: { type: String }
@@ -3060,7 +3060,7 @@ function uo(e, t, i, n, r, u) {
3060
3060
  ])
3061
3061
  ]);
3062
3062
  }
3063
- const er = /* @__PURE__ */ U(io, [["render", uo], ["__scopeId", "data-v-634ec7db"]]), co = B({
3063
+ const tr = /* @__PURE__ */ U(io, [["render", uo], ["__scopeId", "data-v-634ec7db"]]), co = B({
3064
3064
  name: "JCTooltipEllipsis",
3065
3065
  inheritAttrs: !1,
3066
3066
  components: {
@@ -3440,7 +3440,7 @@ function ho(e, t, i, n, r, u) {
3440
3440
  _: 3
3441
3441
  }, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
3442
3442
  }
3443
- const tr = /* @__PURE__ */ U(Do, [["render", ho]]), at = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", Lt = (e) => {
3443
+ const nr = /* @__PURE__ */ U(Do, [["render", ho]]), at = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", Lt = (e) => {
3444
3444
  localStorage.setItem("APP_SEARCH_HISTORY", e);
3445
3445
  }, bo = B({
3446
3446
  name: "JQAutocomplete",
@@ -3590,7 +3590,7 @@ function So(e, t, i, n, r, u) {
3590
3590
  ])
3591
3591
  ]);
3592
3592
  }
3593
- const nr = /* @__PURE__ */ U(bo, [["render", So], ["__scopeId", "data-v-7198b59a"]]), Pe = {
3593
+ const lr = /* @__PURE__ */ U(bo, [["render", So], ["__scopeId", "data-v-7198b59a"]]), Pe = {
3594
3594
  LARGE: "large",
3595
3595
  NORMAL: "normal",
3596
3596
  SMALL: "small"
@@ -3805,7 +3805,7 @@ function Oo(e, t, i, n, r, u) {
3805
3805
  } : void 0
3806
3806
  ]), 1040, ["class", "dropdown-icon", "label", "disable", "menu-anchor", "menu-self", "menu-offset"])) : Q("", !0);
3807
3807
  }
3808
- const lr = /* @__PURE__ */ U(Lo, [["render", Oo], ["__scopeId", "data-v-0a082cf7"]]), $o = B({
3808
+ const or = /* @__PURE__ */ U(Lo, [["render", Oo], ["__scopeId", "data-v-0a082cf7"]]), $o = B({
3809
3809
  name: "JQConfirm",
3810
3810
  components: {
3811
3811
  QPopupProxy: ye,
@@ -3885,7 +3885,7 @@ function Po(e, t, i, n, r, u) {
3885
3885
  }, 512)
3886
3886
  ]);
3887
3887
  }
3888
- const or = /* @__PURE__ */ U($o, [["render", Po], ["__scopeId", "data-v-e5c79a0f"]]), Te = "YYYY-MM-DD HH:mm:ss", st = (e) => {
3888
+ const ar = /* @__PURE__ */ U($o, [["render", Po], ["__scopeId", "data-v-e5c79a0f"]]), Te = "YYYY-MM-DD HH:mm:ss", st = (e) => {
3889
3889
  if (e === null || typeof e > "u" || e === "") return null;
3890
3890
  if (typeof e == "number") return new Date(e);
3891
3891
  if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
@@ -4070,7 +4070,7 @@ function Bo(e, t, i, n, r, u) {
4070
4070
  _: 3
4071
4071
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
4072
4072
  }
4073
- const ar = /* @__PURE__ */ U(Qo, [["render", Bo]]), Uo = "rtcpt", Wt = `${Uo}_third_component_state`, kt = () => localStorage.getItem(Wt), Ot = (e) => {
4073
+ const ir = /* @__PURE__ */ U(Qo, [["render", Bo]]), Uo = "rtcpt", Wt = `${Uo}_third_component_state`, kt = () => localStorage.getItem(Wt), Ot = (e) => {
4074
4074
  localStorage.setItem(Wt, e);
4075
4075
  }, Se = "YYYY-MM-DD HH:mm:ss", rt = "YYYY/MM/DD", Zo = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), Wo = (e, t) => {
4076
4076
  const i = t + 1;
@@ -4503,7 +4503,7 @@ function ua(e, t, i, n, r, u) {
4503
4503
  _: 3
4504
4504
  }, 8, ["class", "model-value", "dense", "disable", "label", "outlined", "rules", "title", "onClick"]);
4505
4505
  }
4506
- const ir = /* @__PURE__ */ U(Fo, [["render", ua]]), da = B({
4506
+ const sr = /* @__PURE__ */ U(Fo, [["render", ua]]), da = B({
4507
4507
  name: "JQMonthList",
4508
4508
  components: { QBtn: fe },
4509
4509
  props: {
@@ -5031,7 +5031,7 @@ function Oa(e, t, i, n, r, u) {
5031
5031
  _: 3
5032
5032
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
5033
5033
  }
5034
- const sr = /* @__PURE__ */ U(La, [["render", Oa]]), $a = (e) => {
5034
+ const rr = /* @__PURE__ */ U(La, [["render", Oa]]), $a = (e) => {
5035
5035
  if (e === null || typeof e > "u") return null;
5036
5036
  if (e instanceof Date) return e;
5037
5037
  if (typeof e == "number") return new Date(e);
@@ -5144,7 +5144,7 @@ function Ya(e, t, i, n, r, u) {
5144
5144
  _: 3
5145
5145
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
5146
5146
  }
5147
- const rr = /* @__PURE__ */ U(Ea, [["render", Ya]]);
5147
+ const ur = /* @__PURE__ */ U(Ea, [["render", Ya]]);
5148
5148
  function Mt(e) {
5149
5149
  return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "-";
5150
5150
  }
@@ -5223,8 +5223,19 @@ function qa(e = "-", t) {
5223
5223
  return `${u.toFixed(l)} ${o}`;
5224
5224
  }, e);
5225
5225
  }
5226
- const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5226
+ function Ra(e, t, i, n) {
5227
+ const r = ["B", "KB", "MB", "GB", "TB"], u = (n == null ? void 0 : n.digits) ?? 2, o = (n == null ? void 0 : n.showUnit) ?? !0, l = typeof e == "string" ? Number(e) : e;
5228
+ if (!Number.isFinite(l))
5229
+ return e;
5230
+ const s = r.indexOf(t), d = r.indexOf(i);
5231
+ if (s === -1 || d === -1)
5232
+ return e;
5233
+ const a = s - d, g = (l * Math.pow(1024, a)).toFixed(u);
5234
+ return o ? `${g} ${i}` : Number(g);
5235
+ }
5236
+ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5227
5237
  __proto__: null,
5238
+ convertDataUnit: Ra,
5228
5239
  defaultAutoDataFormat: qa,
5229
5240
  defaultDataFormat: Qa,
5230
5241
  defaultDateFormat: Pa,
@@ -5233,7 +5244,7 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5233
5244
  formatDate: qe,
5234
5245
  formatSize: Jt,
5235
5246
  getUpperSize: Ze
5236
- }, Symbol.toStringTag, { value: "Module" })), Ba = B({
5247
+ }, Symbol.toStringTag, { value: "Module" })), Ua = B({
5237
5248
  name: "JQDetailList",
5238
5249
  components: {
5239
5250
  JCTooltipEllipsis: po,
@@ -5332,17 +5343,17 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5332
5343
  }
5333
5344
  };
5334
5345
  }
5335
- }), Ua = { class: "q-mb-xs text-grey text-caption row items-center" }, Za = ["onClick"], Wa = ["innerHTML"], Fa = {
5346
+ }), Za = { class: "q-mb-xs text-grey text-caption row items-center" }, Wa = ["onClick"], Fa = ["innerHTML"], Ja = {
5336
5347
  key: 0,
5337
5348
  class: "detail-value-suffix q-ml-xs"
5338
- }, Ja = ["onClick"], Ha = { class: "item item-between" }, Ga = { class: "label row items-center" }, Ka = { class: "value-wrapper row items-center no-wrap" }, xa = ["onClick"], _a = ["innerHTML"], Xa = {
5349
+ }, Ha = ["onClick"], Ga = { class: "item item-between" }, Ka = { class: "label row items-center" }, xa = { class: "value-wrapper row items-center no-wrap" }, _a = ["onClick"], Xa = ["innerHTML"], ei = {
5339
5350
  key: 0,
5340
5351
  class: "value-suffix q-ml-xs"
5341
- }, ei = ["onClick"], ti = { class: "item item-left" }, ni = { class: "label row items-center" }, li = { class: "value-wrapper row items-center no-wrap" }, oi = ["onClick"], ai = ["innerHTML"], ii = {
5352
+ }, ti = ["onClick"], ni = { class: "item item-left" }, li = { class: "label row items-center" }, oi = { class: "value-wrapper row items-center no-wrap" }, ai = ["onClick"], ii = ["innerHTML"], si = {
5342
5353
  key: 0,
5343
5354
  class: "value-suffix q-ml-xs"
5344
- }, si = ["onClick"];
5345
- function ri(e, t, i, n, r, u) {
5355
+ }, ri = ["onClick"];
5356
+ function ui(e, t, i, n, r, u) {
5346
5357
  const o = C("q-icon"), l = C("j-c-tooltip"), s = C("j-c-tooltip-ellipsis"), d = C("j-c-copy");
5347
5358
  return e.layout === "vertical" ? (m(), z("div", {
5348
5359
  key: 0,
@@ -5352,7 +5363,7 @@ function ri(e, t, i, n, r, u) {
5352
5363
  key: a.name,
5353
5364
  class: q([[`col-${a.span || 6}`], "detail-item-container"])
5354
5365
  }, [
5355
- A("div", Ua, [
5366
+ A("div", Za, [
5356
5367
  G($(a.label) + " ", 1),
5357
5368
  a.tip ? (m(), P(l, {
5358
5369
  key: 0,
@@ -5387,7 +5398,7 @@ function ri(e, t, i, n, r, u) {
5387
5398
  innerHTML: e.getDefaultValue(a),
5388
5399
  class: q([e.getOptionClass(a), "html-content"]),
5389
5400
  style: F(e.getHtmlStyle(a))
5390
- }, null, 14, Wa)) : a.detail ? (m(), z("span", {
5401
+ }, null, 14, Fa)) : a.detail ? (m(), z("span", {
5391
5402
  key: 2,
5392
5403
  class: q(e.getOptionClass(a))
5393
5404
  }, $(e.getDefaultValue(a)), 3)) : (m(), P(s, {
@@ -5396,8 +5407,8 @@ function ri(e, t, i, n, r, u) {
5396
5407
  lines: a.whiteSpace || 1,
5397
5408
  class: q(e.getOptionClass(a))
5398
5409
  }, null, 8, ["content", "lines", "class"]))
5399
- ], 10, Za),
5400
- a.copy || a.detail || e.slots[`item-suffix-${a.name}`] ? (m(), z("div", Fa, [
5410
+ ], 10, Wa),
5411
+ a.copy || a.detail || e.slots[`item-suffix-${a.name}`] ? (m(), z("div", Ja, [
5401
5412
  e.slots[`item-suffix-${a.name}`] ? Y(e.$slots, `item-suffix-${a.name}`, {
5402
5413
  key: 0,
5403
5414
  value: e.data[a.name],
@@ -5413,7 +5424,7 @@ function ri(e, t, i, n, r, u) {
5413
5424
  key: 1,
5414
5425
  class: "link-type q-ml-xs",
5415
5426
  onClick: (c) => e.handleDetailClick(a)
5416
- }, $(e.t("action.detail")), 9, Ja)) : Q("", !0)
5427
+ }, $(e.t("action.detail")), 9, Ha)) : Q("", !0)
5417
5428
  ], 64))
5418
5429
  ])) : Q("", !0)
5419
5430
  ], 2)
@@ -5426,8 +5437,8 @@ function ri(e, t, i, n, r, u) {
5426
5437
  key: a.name,
5427
5438
  class: q([`col-${a.span || 6}`])
5428
5439
  }, [
5429
- A("div", Ha, [
5430
- A("div", Ga, [
5440
+ A("div", Ga, [
5441
+ A("div", Ka, [
5431
5442
  G($(a.label) + " ", 1),
5432
5443
  a.tip ? (m(), P(l, {
5433
5444
  key: 0,
@@ -5444,7 +5455,7 @@ function ri(e, t, i, n, r, u) {
5444
5455
  _: 1
5445
5456
  }, 8, ["content"])) : Q("", !0)
5446
5457
  ]),
5447
- A("div", Ka, [
5458
+ A("div", xa, [
5448
5459
  A("div", {
5449
5460
  class: q(["value", { clickable: e.isClickable(a), "text-ellipsis": a.detail }]),
5450
5461
  onClick: (c) => e.handleClick(a)
@@ -5460,7 +5471,7 @@ function ri(e, t, i, n, r, u) {
5460
5471
  innerHTML: e.getDefaultValue(a),
5461
5472
  class: q([e.getOptionClass(a), "html-content"]),
5462
5473
  style: F(e.getHtmlStyle(a))
5463
- }, null, 14, _a)) : a.detail ? (m(), z("span", {
5474
+ }, null, 14, Xa)) : a.detail ? (m(), z("span", {
5464
5475
  key: 2,
5465
5476
  class: q(e.getOptionClass(a))
5466
5477
  }, $(e.getDefaultValue(a)), 3)) : (m(), P(s, {
@@ -5469,8 +5480,8 @@ function ri(e, t, i, n, r, u) {
5469
5480
  lines: a.whiteSpace || 1,
5470
5481
  class: q(e.getOptionClass(a))
5471
5482
  }, null, 8, ["content", "lines", "class"]))
5472
- ], 10, xa),
5473
- a.copy || a.detail || e.slots[`item-suffix-${a.name}`] ? (m(), z("div", Xa, [
5483
+ ], 10, _a),
5484
+ a.copy || a.detail || e.slots[`item-suffix-${a.name}`] ? (m(), z("div", ei, [
5474
5485
  e.slots[`item-suffix-${a.name}`] ? Y(e.$slots, `item-suffix-${a.name}`, {
5475
5486
  key: 0,
5476
5487
  value: e.data[a.name],
@@ -5486,7 +5497,7 @@ function ri(e, t, i, n, r, u) {
5486
5497
  key: 1,
5487
5498
  class: "link-type q-ml-xs",
5488
5499
  onClick: (c) => e.handleDetailClick(a)
5489
- }, $(e.t("action.detail")), 9, ei)) : Q("", !0)
5500
+ }, $(e.t("action.detail")), 9, ti)) : Q("", !0)
5490
5501
  ], 64))
5491
5502
  ])) : Q("", !0)
5492
5503
  ])
@@ -5501,8 +5512,8 @@ function ri(e, t, i, n, r, u) {
5501
5512
  key: a.name,
5502
5513
  class: q([`col-${a.span || 6}`])
5503
5514
  }, [
5504
- A("div", ti, [
5505
- A("div", ni, [
5515
+ A("div", ni, [
5516
+ A("div", li, [
5506
5517
  G($(a.label) + " ", 1),
5507
5518
  a.tip ? (m(), P(l, {
5508
5519
  key: 0,
@@ -5519,7 +5530,7 @@ function ri(e, t, i, n, r, u) {
5519
5530
  _: 1
5520
5531
  }, 8, ["content"])) : Q("", !0)
5521
5532
  ]),
5522
- A("div", li, [
5533
+ A("div", oi, [
5523
5534
  A("div", {
5524
5535
  class: q(["value", { clickable: e.isClickable(a), "text-ellipsis": a.detail }]),
5525
5536
  onClick: (c) => e.handleClick(a)
@@ -5535,7 +5546,7 @@ function ri(e, t, i, n, r, u) {
5535
5546
  innerHTML: e.getDefaultValue(a),
5536
5547
  class: q([e.getOptionClass(a), "html-content"]),
5537
5548
  style: F(e.getHtmlStyle(a))
5538
- }, null, 14, ai)) : a.detail ? (m(), z("span", {
5549
+ }, null, 14, ii)) : a.detail ? (m(), z("span", {
5539
5550
  key: 2,
5540
5551
  class: q(e.getOptionClass(a))
5541
5552
  }, $(e.getDefaultValue(a)), 3)) : (m(), P(s, {
@@ -5544,8 +5555,8 @@ function ri(e, t, i, n, r, u) {
5544
5555
  lines: a.whiteSpace || 1,
5545
5556
  class: q(e.getOptionClass(a))
5546
5557
  }, null, 8, ["content", "lines", "class"]))
5547
- ], 10, oi),
5548
- a.copy || a.detail || e.slots[`item-suffix-${a.name}`] ? (m(), z("div", ii, [
5558
+ ], 10, ai),
5559
+ a.copy || a.detail || e.slots[`item-suffix-${a.name}`] ? (m(), z("div", si, [
5549
5560
  e.slots[`item-suffix-${a.name}`] ? Y(e.$slots, `item-suffix-${a.name}`, {
5550
5561
  key: 0,
5551
5562
  value: e.data[a.name],
@@ -5561,7 +5572,7 @@ function ri(e, t, i, n, r, u) {
5561
5572
  key: 1,
5562
5573
  class: "link-type q-ml-xs",
5563
5574
  onClick: (c) => e.handleDetailClick(a)
5564
- }, $(e.t("action.detail")), 9, si)) : Q("", !0)
5575
+ }, $(e.t("action.detail")), 9, ri)) : Q("", !0)
5565
5576
  ], 64))
5566
5577
  ])) : Q("", !0)
5567
5578
  ])
@@ -5569,7 +5580,7 @@ function ri(e, t, i, n, r, u) {
5569
5580
  ], 2))), 128))
5570
5581
  ], 6)) : Q("", !0);
5571
5582
  }
5572
- const ur = /* @__PURE__ */ U(Ba, [["render", ri], ["__scopeId", "data-v-100bb9c9"]]), ui = B({
5583
+ const dr = /* @__PURE__ */ U(Ua, [["render", ui], ["__scopeId", "data-v-100bb9c9"]]), di = B({
5573
5584
  name: "JQFile",
5574
5585
  components: {
5575
5586
  QField: be,
@@ -5651,16 +5662,16 @@ const ur = /* @__PURE__ */ U(Ba, [["render", ri], ["__scopeId", "data-v-100bb9c9
5651
5662
  hasSlotHint: L
5652
5663
  };
5653
5664
  }
5654
- }), di = { class: "j-q-file" }, ci = { class: "fs-14 q-mt-sm" }, gi = { class: "text-grey fs-12 q-mt-xs" }, pi = { class: "file-filers" }, mi = { class: "filer-content" }, Mi = ["title"], fi = {
5665
+ }), ci = { class: "j-q-file" }, gi = { class: "fs-14 q-mt-sm" }, pi = { class: "text-grey fs-12 q-mt-xs" }, mi = { class: "file-filers" }, Mi = { class: "filer-content" }, fi = ["title"], yi = {
5655
5666
  key: 0,
5656
5667
  class: "filer-size"
5657
- }, yi = ["accept", "multiple"], Ii = {
5668
+ }, Ii = ["accept", "multiple"], Di = {
5658
5669
  key: 0,
5659
5670
  class: "file-hint"
5660
5671
  };
5661
- function Di(e, t, i, n, r, u) {
5672
+ function Ai(e, t, i, n, r, u) {
5662
5673
  const o = C("q-icon"), l = C("q-btn"), s = C("q-field");
5663
- return m(), z("div", di, [
5674
+ return m(), z("div", ci, [
5664
5675
  b(s, {
5665
5676
  modelValue: e.computedValue,
5666
5677
  "onUpdate:modelValue": t[6] || (t[6] = (d) => e.computedValue = d),
@@ -5685,24 +5696,24 @@ function Di(e, t, i, n, r, u) {
5685
5696
  name: "app:upload",
5686
5697
  size: "32px"
5687
5698
  }),
5688
- A("p", ci, $(e.t("messages.jQFile.click_or_drag_file")), 1),
5689
- A("p", gi, $(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + $(e.t("messages.jQFile.max_file_size", {
5699
+ A("p", gi, $(e.t("messages.jQFile.click_or_drag_file")), 1),
5700
+ A("p", pi, $(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + $(e.t("messages.jQFile.max_file_size", {
5690
5701
  size: e.maxFileSize
5691
5702
  })), 1)
5692
5703
  ], 34), [
5693
5704
  [ce, e.computedValue.length !== Number(e.maxlength)]
5694
5705
  ]),
5695
- ie(A("ul", pi, [
5706
+ ie(A("ul", mi, [
5696
5707
  (m(!0), z(K, null, X(e.computedValue, (d, a) => (m(), z("li", {
5697
5708
  key: a,
5698
5709
  class: "filer-item"
5699
5710
  }, [
5700
- A("div", mi, [
5711
+ A("div", Mi, [
5701
5712
  A("div", {
5702
5713
  class: "filer-name text-black",
5703
5714
  title: d.name
5704
- }, $(d.name), 9, Mi),
5705
- d.size ? (m(), z("div", fi, $(e.getFileSizeDisplay(d)), 1)) : Q("", !0)
5715
+ }, $(d.name), 9, fi),
5716
+ d.size ? (m(), z("div", yi, $(e.getFileSizeDisplay(d)), 1)) : Q("", !0)
5706
5717
  ]),
5707
5718
  b(l, {
5708
5719
  class: "filer-remove",
@@ -5725,19 +5736,19 @@ function Di(e, t, i, n, r, u) {
5725
5736
  multiple: !e.computedMaxlength || 1 < e.computedMaxlength - e.computedValue.length,
5726
5737
  type: "file",
5727
5738
  onChange: t[5] || (t[5] = (...d) => e.inputFile && e.inputFile(...d))
5728
- }, null, 40, yi), [
5739
+ }, null, 40, Ii), [
5729
5740
  [ce, !1]
5730
5741
  ])
5731
5742
  ]),
5732
5743
  _: 1
5733
5744
  }, 8, ["modelValue", "disable", "rules"]),
5734
- e.hasSlotHint ? (m(), z("div", Ii, [
5745
+ e.hasSlotHint ? (m(), z("div", Di, [
5735
5746
  Y(e.$slots, "hint")
5736
5747
  ])) : Q("", !0)
5737
5748
  ]);
5738
5749
  }
5739
- const dr = /* @__PURE__ */ U(ui, [["render", Di]]);
5740
- function Ai(e, t) {
5750
+ const cr = /* @__PURE__ */ U(di, [["render", Ai]]);
5751
+ function Ci(e, t) {
5741
5752
  let i = null;
5742
5753
  return ((...n) => {
5743
5754
  i && clearTimeout(i), i = setTimeout(() => {
@@ -5745,7 +5756,7 @@ function Ai(e, t) {
5745
5756
  }, t);
5746
5757
  });
5747
5758
  }
5748
- const Ci = B({
5759
+ const Ni = B({
5749
5760
  name: "JQInputRecognize",
5750
5761
  components: {
5751
5762
  JQInput: Xe
@@ -5862,7 +5873,7 @@ const Ci = B({
5862
5873
  p !== u.value && (u.value = p);
5863
5874
  }
5864
5875
  );
5865
- const g = Ai((p) => {
5876
+ const g = Ci((p) => {
5866
5877
  t("update:recognizedItems", p);
5867
5878
  }, 300);
5868
5879
  Z(
@@ -5904,13 +5915,13 @@ const Ci = B({
5904
5915
  handleChange: I
5905
5916
  };
5906
5917
  }
5907
- }), Ni = { class: "j-q-input-recognize" }, ji = {
5918
+ }), ji = { class: "j-q-input-recognize" }, hi = {
5908
5919
  key: 0,
5909
5920
  class: "recognized-section"
5910
- }, hi = { class: "recognized-label" }, bi = { class: "recognized-items" };
5911
- function zi(e, t, i, n, r, u) {
5921
+ }, bi = { class: "recognized-label" }, zi = { class: "recognized-items" };
5922
+ function vi(e, t, i, n, r, u) {
5912
5923
  const o = C("j-q-input");
5913
- return m(), z("div", Ni, [
5924
+ return m(), z("div", ji, [
5914
5925
  b(o, {
5915
5926
  ref: "inputRef",
5916
5927
  modelValue: e.inputValue,
@@ -5924,9 +5935,9 @@ function zi(e, t, i, n, r, u) {
5924
5935
  maxlength: e.maxlength,
5925
5936
  onChange: e.handleChange
5926
5937
  }, null, 8, ["modelValue", "rules", "dense", "outlined", "disable", "readonly", "maxlength", "onChange"]),
5927
- e.recognizedItems.length > 0 ? (m(), z("div", ji, [
5928
- A("div", hi, $(e.t("messages.inputRecognize.recognized")), 1),
5929
- A("div", bi, [
5938
+ e.recognizedItems.length > 0 ? (m(), z("div", hi, [
5939
+ A("div", bi, $(e.t("messages.inputRecognize.recognized")), 1),
5940
+ A("div", zi, [
5930
5941
  (m(!0), z(K, null, X(e.recognizedItems, (l, s) => (m(), z("span", {
5931
5942
  key: s,
5932
5943
  class: "my-label black"
@@ -5935,7 +5946,7 @@ function zi(e, t, i, n, r, u) {
5935
5946
  ])) : Q("", !0)
5936
5947
  ]);
5937
5948
  }
5938
- const cr = /* @__PURE__ */ U(Ci, [["render", zi], ["__scopeId", "data-v-191b0923"]]), vi = B({
5949
+ const gr = /* @__PURE__ */ U(Ni, [["render", vi], ["__scopeId", "data-v-191b0923"]]), wi = B({
5939
5950
  name: "JQNewValue",
5940
5951
  components: {
5941
5952
  QSelect: _e,
@@ -6021,8 +6032,8 @@ const cr = /* @__PURE__ */ U(Ci, [["render", zi], ["__scopeId", "data-v-191b0923
6021
6032
  slotNames: s
6022
6033
  };
6023
6034
  }
6024
- }), wi = { class: "select-selected-item" };
6025
- function Ti(e, t, i, n, r, u) {
6035
+ }), Ti = { class: "select-selected-item" };
6036
+ function Si(e, t, i, n, r, u) {
6026
6037
  const o = C("q-icon"), l = C("q-select");
6027
6038
  return m(), P(l, {
6028
6039
  class: "j-q-select-new-value",
@@ -6062,7 +6073,7 @@ function Ti(e, t, i, n, r, u) {
6062
6073
  e.useChips ? {
6063
6074
  name: "selected-item",
6064
6075
  fn: N((s) => [
6065
- A("span", wi, [
6076
+ A("span", Ti, [
6066
6077
  A("span", null, $(s.opt), 1),
6067
6078
  b(o, {
6068
6079
  name: "close",
@@ -6076,7 +6087,7 @@ function Ti(e, t, i, n, r, u) {
6076
6087
  } : void 0
6077
6088
  ]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
6078
6089
  }
6079
- const gr = /* @__PURE__ */ U(vi, [["render", Ti]]), Si = B({
6090
+ const pr = /* @__PURE__ */ U(wi, [["render", Si]]), Li = B({
6080
6091
  name: "JQOptionGroup",
6081
6092
  components: {
6082
6093
  QField: be,
@@ -6148,7 +6159,7 @@ const gr = /* @__PURE__ */ U(vi, [["render", Ti]]), Si = B({
6148
6159
  };
6149
6160
  }
6150
6161
  });
6151
- function Li(e, t, i, n, r, u) {
6162
+ function ki(e, t, i, n, r, u) {
6152
6163
  var a;
6153
6164
  const o = C("q-icon"), l = C("j-c-tooltip"), s = C("q-option-group"), d = C("q-field");
6154
6165
  return m(), P(d, {
@@ -6201,7 +6212,7 @@ function Li(e, t, i, n, r, u) {
6201
6212
  _: 1
6202
6213
  }, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
6203
6214
  }
6204
- const pr = /* @__PURE__ */ U(Si, [["render", Li], ["__scopeId", "data-v-f0ca5e31"]]), ki = B({
6215
+ const mr = /* @__PURE__ */ U(Li, [["render", ki], ["__scopeId", "data-v-f0ca5e31"]]), Oi = B({
6205
6216
  name: "JQPopover",
6206
6217
  components: {
6207
6218
  QPopupProxy: ye,
@@ -6251,10 +6262,10 @@ const pr = /* @__PURE__ */ U(Si, [["render", Li], ["__scopeId", "data-v-f0ca5e31
6251
6262
  popoverStyle: n
6252
6263
  };
6253
6264
  }
6254
- }), Oi = { class: "inline-block" }, $i = { class: "text-body2 text-grey" };
6255
- function Ei(e, t, i, n, r, u) {
6265
+ }), $i = { class: "inline-block" }, Ei = { class: "text-body2 text-grey" };
6266
+ function Vi(e, t, i, n, r, u) {
6256
6267
  const o = C("q-card-section"), l = C("q-card"), s = C("q-popup-proxy");
6257
- return m(), z("div", Oi, [
6268
+ return m(), z("div", $i, [
6258
6269
  Y(e.$slots, "default", {}, void 0, !0),
6259
6270
  b(s, {
6260
6271
  ref: "popupRef",
@@ -6270,7 +6281,7 @@ function Ei(e, t, i, n, r, u) {
6270
6281
  b(o, { class: "q-pa-sm" }, {
6271
6282
  default: N(() => [
6272
6283
  Y(e.$slots, "content", {}, () => [
6273
- A("span", $i, $(e.title), 1)
6284
+ A("span", Ei, $(e.title), 1)
6274
6285
  ], !0)
6275
6286
  ]),
6276
6287
  _: 3
@@ -6283,7 +6294,7 @@ function Ei(e, t, i, n, r, u) {
6283
6294
  }, 512)
6284
6295
  ]);
6285
6296
  }
6286
- const mr = /* @__PURE__ */ U(ki, [["render", Ei], ["__scopeId", "data-v-8de7d551"]]), Vi = B({
6297
+ const Mr = /* @__PURE__ */ U(Oi, [["render", Vi], ["__scopeId", "data-v-8de7d551"]]), Yi = B({
6287
6298
  name: "jQSearchForm",
6288
6299
  components: {
6289
6300
  JQButton: Oe
@@ -6323,22 +6334,22 @@ const mr = /* @__PURE__ */ U(ki, [["render", Ei], ["__scopeId", "data-v-8de7d551
6323
6334
  handleClickReset: l
6324
6335
  };
6325
6336
  }
6326
- }), Yi = {
6337
+ }), Pi = {
6327
6338
  ref: "searchFormRef",
6328
6339
  class: "j-q-search-bar"
6329
- }, Pi = { class: "search-bar-container" }, Qi = { class: "search--bar-items-wrapper" }, qi = { class: "search--bar-items" }, Ri = {
6340
+ }, Qi = { class: "search-bar-container" }, qi = { class: "search--bar-items-wrapper" }, Ri = { class: "search--bar-items" }, Bi = {
6330
6341
  key: 0,
6331
6342
  class: "default-operation-buttons"
6332
- }, Bi = { class: "search-bar-extra-operation" };
6333
- function Ui(e, t, i, n, r, u) {
6343
+ }, Ui = { class: "search-bar-extra-operation" };
6344
+ function Zi(e, t, i, n, r, u) {
6334
6345
  const o = C("j-q-button");
6335
6346
  return m(), z("div", null, [
6336
- A("div", Yi, [
6337
- A("div", Pi, [
6338
- A("div", Qi, [
6339
- A("div", qi, [
6347
+ A("div", Pi, [
6348
+ A("div", Qi, [
6349
+ A("div", qi, [
6350
+ A("div", Ri, [
6340
6351
  Y(e.$slots, "default"),
6341
- e.operationVisible ? (m(), z("div", Ri, [
6352
+ e.operationVisible ? (m(), z("div", Bi, [
6342
6353
  b(o, {
6343
6354
  loading: e.queryLoading,
6344
6355
  onClick: e.handleClickQuery
@@ -6362,7 +6373,7 @@ function Ui(e, t, i, n, r, u) {
6362
6373
  }, 8, ["loading", "onClick"])) : Q("", !0)
6363
6374
  ])) : Q("", !0)
6364
6375
  ]),
6365
- A("div", Bi, [
6376
+ A("div", Ui, [
6366
6377
  Y(e.$slots, "extra-operation")
6367
6378
  ])
6368
6379
  ])
@@ -6370,8 +6381,8 @@ function Ui(e, t, i, n, r, u) {
6370
6381
  ], 512)
6371
6382
  ]);
6372
6383
  }
6373
- const Mr = /* @__PURE__ */ U(Vi, [["render", Ui]]), bt = 15, Gt = [10, 15, 20, 30, 50];
6374
- function Zi(e) {
6384
+ const fr = /* @__PURE__ */ U(Yi, [["render", Zi]]), bt = 15, Gt = [10, 15, 20, 30, 50];
6385
+ function Wi(e) {
6375
6386
  const t = bt, i = Ce({
6376
6387
  page: 1,
6377
6388
  rowsPerPage: t,
@@ -6385,7 +6396,7 @@ function Zi(e) {
6385
6396
  i.rowsNumber = s ?? 0;
6386
6397
  } };
6387
6398
  }
6388
- const Wi = B({
6399
+ const Fi = B({
6389
6400
  name: "MyPaginationComponent",
6390
6401
  components: {
6391
6402
  QSelect: _e,
@@ -6460,12 +6471,12 @@ const Wi = B({
6460
6471
  selectChange: d
6461
6472
  };
6462
6473
  }
6463
- }), Fi = { class: "row items-center justify-end" }, Ji = { style: { "margin-top": "4px" } }, Hi = { style: { "margin-top": "4px", "margin-right": "24px" } }, Gi = { style: { "margin-left": "24px" } };
6464
- function Ki(e, t, i, n, r, u) {
6474
+ }), Ji = { class: "row items-center justify-end" }, Hi = { style: { "margin-top": "4px" } }, Gi = { style: { "margin-top": "4px", "margin-right": "24px" } }, Ki = { style: { "margin-left": "24px" } };
6475
+ function xi(e, t, i, n, r, u) {
6465
6476
  const o = C("q-select"), l = C("q-pagination"), s = C("q-input");
6466
6477
  return m(), z("div", null, [
6467
- A("div", Fi, [
6468
- A("div", Ji, [
6478
+ A("div", Ji, [
6479
+ A("div", Hi, [
6469
6480
  A("span", null, $(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
6470
6481
  ]),
6471
6482
  b(o, {
@@ -6484,7 +6495,7 @@ function Ki(e, t, i, n, r, u) {
6484
6495
  autocomplete: "false",
6485
6496
  "popup-content-class": "j-q-select-popup select-popup-content height1"
6486
6497
  }, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
6487
- A("div", Hi, [
6498
+ A("div", Gi, [
6488
6499
  A("span", null, $(e.t("messages.pagination.pieces_page")), 1)
6489
6500
  ]),
6490
6501
  b(l, {
@@ -6504,7 +6515,7 @@ function Ki(e, t, i, n, r, u) {
6504
6515
  "active-text-color": "white",
6505
6516
  ripple: !1
6506
6517
  }, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
6507
- A("p", Gi, $(e.t("messages.pagination.goto")), 1),
6518
+ A("p", Ki, $(e.t("messages.pagination.goto")), 1),
6508
6519
  b(s, {
6509
6520
  autofocus: !1,
6510
6521
  modelValue: e.internalInfo.currentPage,
@@ -6523,10 +6534,10 @@ function Ki(e, t, i, n, r, u) {
6523
6534
  ])
6524
6535
  ]);
6525
6536
  }
6526
- const xi = /* @__PURE__ */ U(Wi, [["render", Ki]]), _i = B({
6537
+ const _i = /* @__PURE__ */ U(Fi, [["render", xi]]), Xi = B({
6527
6538
  name: "JQTableComponent",
6528
6539
  components: {
6529
- Pagination: xi,
6540
+ Pagination: _i,
6530
6541
  QTable: In,
6531
6542
  QTh: yn,
6532
6543
  QTd: fn,
@@ -6577,7 +6588,7 @@ const xi = /* @__PURE__ */ U(Wi, [["render", Ki]]), _i = B({
6577
6588
  }), y = j(() => {
6578
6589
  var V;
6579
6590
  return ((V = e.columns) == null ? void 0 : V.filter(({ limitWidth: w, whiteSpace: R, onClick: H, name: oe }) => w && !R && !H && !Reflect.has(n, `body-cell-${oe}`))) || [];
6580
- }), { paginationInfo: O, getPaginationParam: k, getNum: h, setNum: L, setTotal: D, setSize: f } = Zi(), M = j(() => ({
6591
+ }), { paginationInfo: O, getPaginationParam: k, getNum: h, setNum: L, setTotal: D, setSize: f } = Wi(), M = j(() => ({
6581
6592
  rowsPerPage: 0
6582
6593
  })), T = () => {
6583
6594
  t("changeNum", O), e.autoScrollOnChangePage && _();
@@ -6688,8 +6699,8 @@ const xi = /* @__PURE__ */ U(Wi, [["render", Ki]]), _i = B({
6688
6699
  shouldShowTooltip: lt
6689
6700
  };
6690
6701
  }
6691
- }), Xi = ["onClick"];
6692
- function es(e, t, i, n, r, u) {
6702
+ }), es = ["onClick"];
6703
+ function ts(e, t, i, n, r, u) {
6693
6704
  const o = C("q-th"), l = C("q-td"), s = C("j-c-tooltip"), d = C("q-inner-loading"), a = C("q-table"), c = C("Pagination");
6694
6705
  return m(), z("div", {
6695
6706
  class: "j-q-table-container",
@@ -6846,7 +6857,7 @@ function es(e, t, i, n, r, u) {
6846
6857
  class: q(["link-type", e.getCellClass(g)]),
6847
6858
  ref: g.whiteSpace ? (S) => e.setEllipsisRef(S, `${g.name}-${I.row[e.rowKey]}`) : void 0,
6848
6859
  onClick: (S) => e.handleColumnClick(g, I.row)
6849
- }, $(e.formatColumnValue(g, I.value)), 11, Xi)
6860
+ }, $(e.formatColumnValue(g, I.value)), 11, es)
6850
6861
  ]),
6851
6862
  _: 2
6852
6863
  }, 1032, ["content", "style", "disabled"])) : (m(), P(s, {
@@ -6879,7 +6890,7 @@ function es(e, t, i, n, r, u) {
6879
6890
  Y(e.$slots, "append")
6880
6891
  ], 4);
6881
6892
  }
6882
- const fr = /* @__PURE__ */ U(_i, [["render", es]]), ts = B({
6893
+ const yr = /* @__PURE__ */ U(Xi, [["render", ts]]), ns = B({
6883
6894
  name: "dialogConfirmComponent",
6884
6895
  components: {
6885
6896
  QDialog: Yt,
@@ -6918,11 +6929,11 @@ const fr = /* @__PURE__ */ U(_i, [["render", es]]), ts = B({
6918
6929
  }
6919
6930
  };
6920
6931
  }
6921
- }), ns = { class: "title" }, ls = {
6932
+ }), ls = { class: "title" }, os = {
6922
6933
  key: 2,
6923
6934
  class: "close"
6924
6935
  };
6925
- function os(e, t, i, n, r, u) {
6936
+ function as(e, t, i, n, r, u) {
6926
6937
  const o = C("q-icon"), l = C("q-card-section"), s = C("j-q-button"), d = C("q-card"), a = C("q-dialog");
6927
6938
  return m(), P(a, {
6928
6939
  ref: "dialogRef",
@@ -6952,8 +6963,8 @@ function os(e, t, i, n, r, u) {
6952
6963
  class: "q-mr-sm",
6953
6964
  size: "24px"
6954
6965
  })) : Q("", !0),
6955
- A("div", ns, $(e.title), 1),
6956
- e.showClose ? (m(), z("div", ls, [
6966
+ A("div", ls, $(e.title), 1),
6967
+ e.showClose ? (m(), z("div", os, [
6957
6968
  b(o, {
6958
6969
  name: "close",
6959
6970
  size: "16px",
@@ -6992,9 +7003,9 @@ function os(e, t, i, n, r, u) {
6992
7003
  _: 1
6993
7004
  }, 8, ["onHide"]);
6994
7005
  }
6995
- const as = /* @__PURE__ */ U(ts, [["render", os]]);
7006
+ const is = /* @__PURE__ */ U(ns, [["render", as]]);
6996
7007
  let Qe = null;
6997
- class is {
7008
+ class ss {
6998
7009
  /**
6999
7010
  * 设置 Quasar 实例(在 rtcptInit 中调用)
7000
7011
  */
@@ -7007,7 +7018,7 @@ class is {
7007
7018
  async show({ title: t, color: i, content: n, confirmButtonText: r, cancelButtonText: u, showCancelButton: o, isDelete: l, icon: s, showClose: d }) {
7008
7019
  return Qe != null && Qe.dialog ? new Promise((a) => {
7009
7020
  Qe.dialog({
7010
- component: as,
7021
+ component: is,
7011
7022
  cancel: o === void 0 ? !0 : o,
7012
7023
  componentProps: {
7013
7024
  title: t,
@@ -7029,7 +7040,7 @@ class is {
7029
7040
  }) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
7030
7041
  }
7031
7042
  }
7032
- const ss = new is(), rs = 15, us = [10, 15, 20, 30, 50], ds = B({
7043
+ const rs = new ss(), us = 15, ds = [10, 15, 20, 30, 50], cs = B({
7033
7044
  name: "JQPagination",
7034
7045
  components: {
7035
7046
  QSelect: _e,
@@ -7045,7 +7056,7 @@ const ss = new is(), rs = 15, us = [10, 15, 20, 30, 50], ds = B({
7045
7056
  // 每页显示数量
7046
7057
  pageSize: {
7047
7058
  type: Number,
7048
- default: rs
7059
+ default: us
7049
7060
  },
7050
7061
  // 总条数
7051
7062
  total: {
@@ -7055,7 +7066,7 @@ const ss = new is(), rs = 15, us = [10, 15, 20, 30, 50], ds = B({
7055
7066
  // 每页显示数量选项
7056
7067
  pageSizeOptions: {
7057
7068
  type: Array,
7058
- default: () => us
7069
+ default: () => ds
7059
7070
  }
7060
7071
  },
7061
7072
  emits: ["update:currentPage", "update:pageSize", "change"],
@@ -7116,12 +7127,12 @@ const ss = new is(), rs = 15, us = [10, 15, 20, 30, 50], ds = B({
7116
7127
  }
7117
7128
  };
7118
7129
  }
7119
- }), cs = { class: "j-q-pagination" }, gs = { class: "row items-center justify-end" }, ps = { class: "pagination-total" }, ms = { class: "pagination-suffix" }, Ms = { class: "pagination-goto-text" };
7120
- function fs(e, t, i, n, r, u) {
7130
+ }), gs = { class: "j-q-pagination" }, ps = { class: "row items-center justify-end" }, ms = { class: "pagination-total" }, Ms = { class: "pagination-suffix" }, fs = { class: "pagination-goto-text" };
7131
+ function ys(e, t, i, n, r, u) {
7121
7132
  const o = C("q-select"), l = C("q-pagination"), s = C("q-input");
7122
- return m(), z("div", cs, [
7123
- A("div", gs, [
7124
- A("div", ps, [
7133
+ return m(), z("div", gs, [
7134
+ A("div", ps, [
7135
+ A("div", ms, [
7125
7136
  A("span", null, $(e.t("messages.pagination.total", { total: e.internalInfo.total })), 1)
7126
7137
  ]),
7127
7138
  b(o, {
@@ -7139,7 +7150,7 @@ function fs(e, t, i, n, r, u) {
7139
7150
  autocomplete: "false",
7140
7151
  "popup-content-class": "j-q-select-popup select-popup-content height1"
7141
7152
  }, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
7142
- A("div", ms, [
7153
+ A("div", Ms, [
7143
7154
  A("span", null, $(e.t("messages.pagination.pieces_page")), 1)
7144
7155
  ]),
7145
7156
  b(l, {
@@ -7159,7 +7170,7 @@ function fs(e, t, i, n, r, u) {
7159
7170
  "active-text-color": "white",
7160
7171
  ripple: !1
7161
7172
  }, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
7162
- A("p", Ms, $(e.t("messages.pagination.goto")), 1),
7173
+ A("p", fs, $(e.t("messages.pagination.goto")), 1),
7163
7174
  b(s, {
7164
7175
  autofocus: !1,
7165
7176
  modelValue: e.internalInfo.inputPage,
@@ -7178,7 +7189,7 @@ function fs(e, t, i, n, r, u) {
7178
7189
  ])
7179
7190
  ]);
7180
7191
  }
7181
- const yr = /* @__PURE__ */ U(ds, [["render", fs]]);
7192
+ const Ir = /* @__PURE__ */ U(cs, [["render", ys]]);
7182
7193
  function zt(e, t = {}) {
7183
7194
  if (!Array.isArray(e))
7184
7195
  return [];
@@ -7192,7 +7203,7 @@ function zt(e, t = {}) {
7192
7203
  return Array.isArray(d) && d.length > 0 && (s.children = zt(d, t)), s;
7193
7204
  });
7194
7205
  }
7195
- function ys(e) {
7206
+ function Is(e) {
7196
7207
  let { data: t, key: i, idKey: n, rootId: r, isMapOption: u, labelValue: o } = e;
7197
7208
  t = t || [], i = i || "parentId", n = n || "id", u = u !== !1, o = o || { label: "name", value: "id" }, r = r || "1";
7198
7209
  const l = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set();
@@ -7228,11 +7239,11 @@ function ys(e) {
7228
7239
  flatData: JSON.parse(JSON.stringify(c))
7229
7240
  };
7230
7241
  }
7231
- function Is(e) {
7242
+ function Ds(e) {
7232
7243
  const { data: t, parentKey: i = "parentId", idKey: n = "id", rootId: r, childrenKey: u = "children" } = e, o = (l, s) => l.reduce((d, a) => a[i] === s ? (a[u] = o(l, a[n]), d.concat(a)) : d, []);
7233
7244
  return o(t, r);
7234
7245
  }
7235
- function Ds(e) {
7246
+ function As(e) {
7236
7247
  const {
7237
7248
  targetIds: t,
7238
7249
  allData: i,
@@ -7252,7 +7263,7 @@ function Ds(e) {
7252
7263
  s(d);
7253
7264
  }), Array.from(l);
7254
7265
  }
7255
- function As(e) {
7266
+ function Cs(e) {
7256
7267
  const { treeData: t, idList: i, idKey: n = "id", childrenKey: r = "children" } = e, u = /* @__PURE__ */ new Set(), o = (l) => {
7257
7268
  l.forEach((s) => {
7258
7269
  const d = s[r];
@@ -7261,20 +7272,20 @@ function As(e) {
7261
7272
  };
7262
7273
  return o(t), i.filter((l) => !u.has(l));
7263
7274
  }
7264
- const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7275
+ const Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7265
7276
  __proto__: null,
7266
- arrayToTree: Is,
7267
- buildTree: ys,
7268
- filterLeafIds: As,
7269
- findParentIds: Ds,
7277
+ arrayToTree: Ds,
7278
+ buildTree: Is,
7279
+ filterLeafIds: Cs,
7280
+ findParentIds: As,
7270
7281
  transformTreeUseLabelAndValue: zt
7271
- }, Symbol.toStringTag, { value: "Module" })), Ns = (e, t) => {
7282
+ }, Symbol.toStringTag, { value: "Module" })), js = (e, t) => {
7272
7283
  const i = window.decodeURI(t), n = new Blob([e]);
7273
7284
  if ("download" in document.createElement("a")) {
7274
7285
  const r = document.createElement("a");
7275
7286
  r.download = i, r.style.display = "none", r.href = window.URL.createObjectURL(n), document.body.appendChild(r), r.click(), window.URL.revokeObjectURL(r.href), document.body.removeChild(r);
7276
7287
  }
7277
- }, js = (e, t) => {
7288
+ }, hs = (e, t) => {
7278
7289
  const i = /* @__PURE__ */ new Date(), n = [
7279
7290
  i.getFullYear(),
7280
7291
  String(i.getMonth() + 1).padStart(2, "0"),
@@ -7285,7 +7296,7 @@ const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7285
7296
  ].join("");
7286
7297
  return `${e}_${n}.${t.toLowerCase()}`;
7287
7298
  };
7288
- function hs(e) {
7299
+ function bs(e) {
7289
7300
  var t;
7290
7301
  if (e === null || typeof e > "u")
7291
7302
  return "";
@@ -7300,13 +7311,13 @@ function hs(e) {
7300
7311
  }
7301
7312
  return e;
7302
7313
  }
7303
- function bs(e) {
7314
+ function zs(e) {
7304
7315
  return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
7305
7316
  }
7306
- function zs(e, t, i = "TB") {
7317
+ function vs(e, t, i = "TB") {
7307
7318
  return e = Number(e) || 0, Ze({ size: e, unit: t }, { maxUnit: i });
7308
7319
  }
7309
- function vs(e, t) {
7320
+ function ws(e, t) {
7310
7321
  if (e === null || typeof e > "u")
7311
7322
  return [];
7312
7323
  let i;
@@ -7322,22 +7333,22 @@ function vs(e, t) {
7322
7333
  return [];
7323
7334
  return Array.isArray(i) ? i.map((n) => n && typeof n == "object" && n[t] && typeof n[t] == "string" ? n[t] : null).filter((n) => n !== null) : [];
7324
7335
  }
7325
- const ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7336
+ const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7326
7337
  __proto__: null,
7327
- dataCvSize: zs,
7328
- obj2Arr: vs,
7329
- val2Str: hs,
7330
- valSplit: bs
7331
- }, Symbol.toStringTag, { value: "Module" })), Ts = "#0B5CFF", Ss = "#0B5CFF", Ls = "#323232", ks = "#2da641", Os = "#E93030", $s = "#E93030", Es = "#f2c037", Vs = "#969799", Ys = "#ffffff", Ps = {
7332
- primary: Ts,
7333
- blue: Ss,
7334
- dark: Ls,
7335
- green: ks,
7336
- red: Os,
7337
- negative: $s,
7338
- yellow: Es,
7339
- grey: Vs,
7340
- white: Ys,
7338
+ dataCvSize: vs,
7339
+ obj2Arr: ws,
7340
+ val2Str: bs,
7341
+ valSplit: zs
7342
+ }, Symbol.toStringTag, { value: "Module" })), Ss = "#0B5CFF", Ls = "#0B5CFF", ks = "#323232", Os = "#2da641", $s = "#E93030", Es = "#E93030", Vs = "#f2c037", Ys = "#969799", Ps = "#ffffff", Qs = {
7343
+ primary: Ss,
7344
+ blue: Ls,
7345
+ dark: ks,
7346
+ green: Os,
7347
+ red: $s,
7348
+ negative: Es,
7349
+ yellow: Vs,
7350
+ grey: Ys,
7351
+ white: Ps,
7341
7352
  "blue-light": "#f0f4ff",
7342
7353
  "dark-lighter": "#f7f7f7",
7343
7354
  "green-light": "#c0e4c6",
@@ -7349,13 +7360,13 @@ const ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7349
7360
  "grey-lighter": "#f5f6fa",
7350
7361
  "dark-strong": "#131523"
7351
7362
  };
7352
- function Ir(e) {
7363
+ function Dr(e) {
7353
7364
  const { app: t, router: i, store: n, i18n: r, pagePermissionIds: u, pageActionPermissionIds: o, defaultLanguage: l, colors: s, disableBFCache: d } = e;
7354
7365
  d && window.addEventListener("pageshow", (S) => {
7355
7366
  S.persisted && window.location.reload();
7356
- }), Rs(t);
7367
+ }), Bs(t);
7357
7368
  const a = t.config.globalProperties.$q;
7358
- a ? (hn(a), Ge.setQuasarInstance(a), ss.setQuasarInstance(a), qs(a)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), l ? pt(l).catch((S) => {
7369
+ a ? (hn(a), Ge.setQuasarInstance(a), rs.setQuasarInstance(a), Rs(a)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), l ? pt(l).catch((S) => {
7359
7370
  console.error("[rtcpt] Failed to set default language:", S);
7360
7371
  }) : pt("zh-CN").catch((S) => {
7361
7372
  console.error("[rtcpt] Failed to load default locale:", S);
@@ -7368,21 +7379,21 @@ function Ir(e) {
7368
7379
  iconMapFn: c,
7369
7380
  pagePermissionIds: g,
7370
7381
  pageActionPermissionIds: I
7371
- }), g && (console.log("[rtcpt] Permission IDs provided:", g.value), t.provide(Ue, g)), I && (console.log("[rtcpt] Action Permission IDs provided:", I.value), t.provide(Be, I)), s && a && Qs(s), console.log("[rtcpt] Initialization started..."), a && (a.iconMapFn = Zt(a.iconMapFn, c)), console.log("[rtcpt] Initialization completed successfully.");
7382
+ }), g && (console.log("[rtcpt] Permission IDs provided:", g.value), t.provide(Ue, g)), I && (console.log("[rtcpt] Action Permission IDs provided:", I.value), t.provide(Be, I)), s && a && qs(s), console.log("[rtcpt] Initialization started..."), a && (a.iconMapFn = Zt(a.iconMapFn, c)), console.log("[rtcpt] Initialization completed successfully.");
7372
7383
  }
7373
- function Qs(e, t) {
7374
- const i = { ...Ps, ...e }, n = document.documentElement;
7384
+ function qs(e, t) {
7385
+ const i = { ...Qs, ...e }, n = document.documentElement;
7375
7386
  Object.entries(i).forEach(([r, u]) => {
7376
7387
  n.style.setProperty(`--j-color-${r}`, u);
7377
7388
  }), i.primary && Ee("primary", i.primary), i.negative && Ee("negative", i.negative), i.green && Ee("positive", i.green), i.yellow && Ee("warning", i.yellow), i.dark && Ee("dark", i.dark), console.log("[rtcpt] Custom colors applied:", e);
7378
7389
  }
7379
- function qs(e) {
7390
+ function Rs(e) {
7380
7391
  const t = ["notify", "dialog"], i = [];
7381
7392
  t.forEach((n) => {
7382
7393
  e[n] || i.push(n);
7383
7394
  }), i.length > 0 && console.warn(`[rtcpt] Missing required Quasar plugins: ${i.join(", ")}. Please register them in your main app with app.use(Quasar, { plugins: { Notify, Dialog } })`);
7384
7395
  }
7385
- function Rs(e) {
7396
+ function Bs(e) {
7386
7397
  var i;
7387
7398
  const t = (i = e == null ? void 0 : e._context) == null ? void 0 : i.directives;
7388
7399
  t != null && t["close-popup"] || e.directive("close-popup", yt);
@@ -7429,81 +7440,81 @@ function Kt(e, t, i = (r) => JSON.stringify(r), n = (r) => JSON.parse(r)) {
7429
7440
  return window.addEventListener("storage", l), o;
7430
7441
  }
7431
7442
  const xt = (e) => e.join(","), _t = (e) => e ? e.split(",").filter(Boolean) : [];
7432
- function Dr(e) {
7443
+ function Ar(e) {
7433
7444
  return Kt(e, [], xt, _t);
7434
7445
  }
7435
- function Ar(e) {
7446
+ function Cr(e) {
7436
7447
  return Kt(e, [], xt, _t);
7437
7448
  }
7438
- const Cr = {
7449
+ const Nr = {
7439
7450
  transformTreeUseLabelAndValue: zt,
7440
- JQDownloadFile: Ns,
7441
- generateDownloadFileName: js,
7442
- ...Ra,
7451
+ JQDownloadFile: js,
7452
+ generateDownloadFileName: hs,
7453
+ ...Ba,
7443
7454
  formRules: yl,
7444
- formUtils: ws,
7445
- treeUtils: Cs
7455
+ formUtils: Ts,
7456
+ treeUtils: Ns
7446
7457
  };
7447
7458
  export {
7448
7459
  jt as DialogProvider,
7449
7460
  Rt as JCCopy,
7450
- Ws as JCDuoListEditor,
7451
- Fs as JCEditableProxy,
7452
- Js as JCFallback,
7453
- Hs as JCFoldableList,
7454
- Gs as JCFormatLookup,
7455
- Ks as JCListEditor,
7456
- xs as JCMoreMenu,
7461
+ Fs as JCDuoListEditor,
7462
+ Js as JCEditableProxy,
7463
+ Hs as JCFallback,
7464
+ Gs as JCFoldableList,
7465
+ Ks as JCFormatLookup,
7466
+ xs as JCListEditor,
7467
+ _s as JCMoreMenu,
7457
7468
  Ut as JCPermission,
7458
- _s as JCTable,
7459
- Xs as JCTabs,
7460
- er as JCTitleLine,
7469
+ Xs as JCTable,
7470
+ er as JCTabs,
7471
+ tr as JCTitleLine,
7461
7472
  me as JCTooltip,
7462
7473
  po as JCTooltipEllipsis,
7463
7474
  Io as JCTree,
7464
- tr as JCTreeSelect,
7465
- hr as JChBar,
7466
- br as JChBarLine,
7467
- zr as JChBubble,
7468
- vr as JChLine,
7469
- wr as JChPieDoughnut,
7470
- Tr as JChRadar,
7471
- nr as JQAutocomplete,
7475
+ nr as JCTreeSelect,
7476
+ br as JChBar,
7477
+ zr as JChBarLine,
7478
+ vr as JChBubble,
7479
+ wr as JChLine,
7480
+ Tr as JChPieDoughnut,
7481
+ Sr as JChRadar,
7482
+ lr as JQAutocomplete,
7472
7483
  Oe as JQButton,
7473
- lr as JQButtonDropdown,
7474
- or as JQConfirm,
7475
- ss as JQConfirmDialog,
7476
- ar as JQDate,
7477
- sr as JQDateMonth,
7478
- rr as JQDateYear,
7479
- ir as JQDatetime,
7480
- ur as JQDetailList,
7484
+ or as JQButtonDropdown,
7485
+ ar as JQConfirm,
7486
+ rs as JQConfirmDialog,
7487
+ ir as JQDate,
7488
+ rr as JQDateMonth,
7489
+ ur as JQDateYear,
7490
+ sr as JQDatetime,
7491
+ dr as JQDetailList,
7481
7492
  ol as JQDialog,
7482
- dr as JQFile,
7493
+ cr as JQFile,
7483
7494
  kl as JQFormLabel,
7484
7495
  Xe as JQInput,
7485
- cr as JQInputRecognize,
7496
+ gr as JQInputRecognize,
7486
7497
  Ge as JQMessage,
7487
- gr as JQNewValue,
7488
- pr as JQOptionGroup,
7489
- yr as JQPagination,
7490
- mr as JQPopover,
7491
- Mr as JQSearchForm,
7498
+ pr as JQNewValue,
7499
+ mr as JQOptionGroup,
7500
+ Ir as JQPagination,
7501
+ Mr as JQPopover,
7502
+ fr as JQSearchForm,
7492
7503
  dl as JQSelect,
7493
- fr as JQTable,
7504
+ yr as JQTable,
7494
7505
  no as JQTooltip,
7495
7506
  Be as PAGE_ACTION_PERMISSION_KEY,
7496
7507
  Ue as PAGE_PERMISSION_KEY,
7497
7508
  Zt as composeIconMapFn,
7498
- ws as formUtils,
7509
+ Ts as formUtils,
7499
7510
  Ct as getLocale,
7500
- Cr as jqTool,
7511
+ Nr as jqTool,
7501
7512
  Ml as rtcptIconMapFn,
7502
- Ir as rtcptInit,
7513
+ Dr as rtcptInit,
7503
7514
  pt as setLocale,
7504
7515
  Bt as t,
7505
- Cs as treeUtils,
7516
+ Ns as treeUtils,
7506
7517
  x as useI18n,
7507
- Ar as usePageActionPermissionSync,
7508
- Dr as usePagePermissionSync
7518
+ Cr as usePageActionPermissionSync,
7519
+ Ar as usePagePermissionSync
7509
7520
  };