rtcpts 0.0.3 → 0.0.5

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,5 +1,5 @@
1
- import { defineComponent as U, ref as h, computed as N, resolveComponent as A, createBlock as V, openBlock as m, createElementBlock as b, createCommentVNode as Y, Fragment as ee, renderList as ne, normalizeClass as Q, createElementVNode as y, renderSlot as E, createVNode as C, inject as ut, toDisplayString as T, watch as G, withCtx as I, normalizeStyle as H, getCurrentInstance as Et, resolveDirective as et, withDirectives as oe, vShow as ie, createTextVNode as W, Suspense as $t, resolveDynamicComponent as dt, mergeProps as Te, toHandlers as Yt, createApp as Vt, nextTick as de, onMounted as he, onUnmounted as Qt, h as Pt, createSlots as we, withModifiers as _, reactive as De, Transition as qt, normalizeProps as ue, guardReactiveProps as ge, onBeforeUnmount as Ut, withKeys as Bt, isRef as ct } from "vue";
2
- import { QIcon as le, copyToClipboard as Zt, QBtn as re, QCardActions as Rt, QCardSection as ve, QCard as Se, QPopupProxy as Ae, ClosePopup as yt, QInnerLoading as It, QDialog as Dt, QInput as Qe, QTooltip as Le, QItemSection as At, QItem as Nt, QList as Wt, QMenu as xt, QTree as Gt, QField as ke, QDate as Ct, date as R, QSelect as tt, QOptionGroup as Ht, QSpinner as Ft, QPagination as Jt, QTd as Kt, QTh as Xt, QTable as _t, useDialogPluginComponent as Mt, setCssVar as Ce } from "quasar";
1
+ import { defineComponent as U, ref as h, computed as C, resolveComponent as N, createBlock as Y, openBlock as m, createElementBlock as T, createCommentVNode as $, Fragment as ee, renderList as ne, normalizeClass as V, createElementVNode as y, renderSlot as O, createVNode as z, inject as Ve, toDisplayString as w, watch as G, withCtx as I, normalizeStyle as H, getCurrentInstance as Et, resolveDirective as tt, withDirectives as oe, vShow as ie, createTextVNode as W, Suspense as $t, resolveDynamicComponent as Mt, mergeProps as Te, toHandlers as Yt, createApp as Vt, nextTick as de, onMounted as he, onUnmounted as Qt, h as Pt, createSlots as we, withModifiers as _, reactive as De, Transition as qt, normalizeProps as ue, guardReactiveProps as ge, onBeforeUnmount as Ut, withKeys as Bt, isRef as gt } from "vue";
2
+ import { QIcon as le, copyToClipboard as Zt, QBtn as re, QCardActions as Rt, QCardSection as ve, QCard as Se, QPopupProxy as Ae, ClosePopup as Dt, QInnerLoading as At, QDialog as Nt, QInput as Pe, QTooltip as Le, QItemSection as Ct, QItem as jt, QList as Wt, QMenu as xt, QTree as Gt, QField as ke, QDate as zt, date as R, QSelect as nt, QOptionGroup as Ht, QSpinner as Ft, QPagination as Jt, QTd as Kt, QTh as Xt, QTable as _t, useDialogPluginComponent as mt, setCssVar as Ce } from "quasar";
3
3
  import { _ as B } from "./charts-DFQ978tO.js";
4
4
  import { i as Ls, a as ks, b as Os, c as Es, d as $s, e as Ys } from "./charts-DFQ978tO.js";
5
5
  const en = U({
@@ -20,7 +20,7 @@ const en = U({
20
20
  setup(e) {
21
21
  const t = h(!1);
22
22
  let n = null;
23
- const l = N(() => t.value ? "check" : "app:rt-copy"), r = N(() => t.value ? "grey" : void 0);
23
+ const l = C(() => t.value ? "check" : "app:rt-copy"), r = C(() => t.value ? "grey" : void 0);
24
24
  return {
25
25
  copied: t,
26
26
  iconName: l,
@@ -38,9 +38,9 @@ const en = U({
38
38
  };
39
39
  }
40
40
  });
41
- function tn(e, t, n, l, r, a) {
42
- const i = A("q-icon");
43
- return m(), V(i, {
41
+ function tn(e, t, n, l, r, s) {
42
+ const i = N("q-icon");
43
+ return m(), Y(i, {
44
44
  name: e.iconName,
45
45
  size: "16px",
46
46
  color: e.iconColor,
@@ -78,7 +78,7 @@ const nn = /* @__PURE__ */ B(en, [["render", tn]]), ln = U({
78
78
  emits: ["update:modelValue"],
79
79
  slots: Object,
80
80
  setup(e, { emit: t }) {
81
- const n = N({
81
+ const n = C({
82
82
  get: () => e.modelValue,
83
83
  set: (o) => {
84
84
  t("update:modelValue", o);
@@ -86,19 +86,19 @@ const nn = /* @__PURE__ */ B(en, [["render", tn]]), ln = U({
86
86
  });
87
87
  return {
88
88
  innerValue: n,
89
- getKey: (o, s) => o.id || o.key || s,
90
- updateItem: (o, s) => {
89
+ getKey: (o, a) => o.id || o.key || a,
90
+ updateItem: (o, a) => {
91
91
  const c = [...n.value];
92
- typeof s == "object" && !Array.isArray(s) && typeof c[o] == "object" && !Array.isArray(c[o]) ? c[o] = { ...c[o], ...s } : c[o] = s, n.value = c;
92
+ typeof a == "object" && !Array.isArray(a) && typeof c[o] == "object" && !Array.isArray(c[o]) ? c[o] = { ...c[o], ...a } : c[o] = a, n.value = c;
93
93
  },
94
94
  addItem: (o) => {
95
- const s = [...n.value];
96
- s.splice(o, 0, JSON.parse(JSON.stringify(e.defaultNewItem))), n.value = s;
95
+ const a = [...n.value];
96
+ a.splice(o, 0, JSON.parse(JSON.stringify(e.defaultNewItem))), n.value = a;
97
97
  },
98
98
  removeItem: (o) => {
99
99
  if (n.value.length <= e.minItems) return;
100
- const s = [...n.value];
101
- s.splice(o, 1), n.value = s;
100
+ const a = [...n.value];
101
+ a.splice(o, 1), n.value = a;
102
102
  }
103
103
  };
104
104
  }
@@ -109,19 +109,19 @@ const nn = /* @__PURE__ */ B(en, [["render", tn]]), ln = U({
109
109
  key: 0,
110
110
  class: "list-footer-actions"
111
111
  };
112
- function rn(e, t, n, l, r, a) {
113
- const i = A("q-btn");
114
- return m(), b("div", null, [
115
- (m(!0), b(ee, null, ne(e.innerValue, (o, s) => (m(), b("div", {
116
- key: e.getKey(o, s),
117
- class: Q(["q-mb-md list-item-row relative-position", { "compact-item": e.actionMode === "compact" }])
112
+ function rn(e, t, n, l, r, s) {
113
+ const i = N("q-btn");
114
+ return m(), T("div", null, [
115
+ (m(!0), T(ee, null, ne(e.innerValue, (o, a) => (m(), T("div", {
116
+ key: e.getKey(o, a),
117
+ class: V(["q-mb-md list-item-row relative-position", { "compact-item": e.actionMode === "compact" }])
118
118
  }, [
119
119
  y("div", on, [
120
- E(e.$slots, "item-content", {
120
+ O(e.$slots, "item-content", {
121
121
  item: o,
122
- index: s,
122
+ index: a,
123
123
  updateItem: e.updateItem,
124
- isLast: s === e.innerValue.length - 1,
124
+ isLast: a === e.innerValue.length - 1,
125
125
  addItem: e.addItem,
126
126
  removeItem: e.removeItem,
127
127
  canAdd: e.innerValue.length < e.maxItems,
@@ -129,25 +129,25 @@ function rn(e, t, n, l, r, a) {
129
129
  mode: e.actionMode
130
130
  }, void 0, !0)
131
131
  ]),
132
- e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (m(), b("div", an, [
133
- C(i, {
132
+ e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (m(), T("div", an, [
133
+ z(i, {
134
134
  icon: "close",
135
135
  flat: "",
136
136
  round: "",
137
137
  dense: "",
138
138
  color: "grey",
139
139
  size: "sm",
140
- onClick: (c) => e.removeItem(s)
140
+ onClick: (c) => e.removeItem(a)
141
141
  }, null, 8, ["onClick"])
142
- ])) : Y("", !0)
142
+ ])) : $("", !0)
143
143
  ], 2))), 128)),
144
- e.actionMode === "compact" ? (m(), b("div", sn, [
145
- E(e.$slots, "list-footer-actions", {
144
+ e.actionMode === "compact" ? (m(), T("div", sn, [
145
+ O(e.$slots, "list-footer-actions", {
146
146
  addItem: e.addItem,
147
147
  canAdd: e.innerValue.length < e.maxItems && e.showAddButton,
148
148
  nextIndex: e.innerValue.length
149
149
  }, () => [
150
- e.innerValue.length < e.maxItems && e.showAddButton ? (m(), V(i, {
150
+ e.innerValue.length < e.maxItems && e.showAddButton ? (m(), Y(i, {
151
151
  key: 0,
152
152
  label: "添加新项",
153
153
  icon: "add",
@@ -155,12 +155,12 @@ function rn(e, t, n, l, r, a) {
155
155
  dense: "",
156
156
  color: "primary",
157
157
  onClick: t[0] || (t[0] = (o) => e.addItem(e.innerValue.length))
158
- })) : Y("", !0)
158
+ })) : $("", !0)
159
159
  ], !0)
160
- ])) : Y("", !0)
160
+ ])) : $("", !0)
161
161
  ]);
162
162
  }
163
- const os = /* @__PURE__ */ B(ln, [["render", rn], ["__scopeId", "data-v-22406c09"]]), jt = Symbol("pageActionPermissionId"), zt = Symbol("pagePermissionId"), un = U({
163
+ const os = /* @__PURE__ */ B(ln, [["render", rn], ["__scopeId", "data-v-22406c09"]]), lt = Symbol("pageActionPermissionId"), ot = Symbol("pagePermissionId"), un = U({
164
164
  name: "JCPermission",
165
165
  props: {
166
166
  /**
@@ -202,31 +202,31 @@ const os = /* @__PURE__ */ B(ln, [["render", rn], ["__scopeId", "data-v-22406c09
202
202
  },
203
203
  slots: Object,
204
204
  setup(e) {
205
- const t = ut(jt, h([])), n = ut(zt, h([])), l = N(() => e.pagePermissionId && e.pagePermissionId.length > 0 ? e.pagePermissionId : n.value || []), r = N(() => e.pageActionPermissionId && e.pageActionPermissionId.length > 0 ? e.pageActionPermissionId : t.value || []), a = N(() => {
205
+ const t = Ve(lt, h([])), n = Ve(ot, h([])), l = C(() => e.pagePermissionId && e.pagePermissionId.length > 0 ? e.pagePermissionId : n.value || []), r = C(() => e.pageActionPermissionId && e.pageActionPermissionId.length > 0 ? e.pageActionPermissionId : t.value || []), s = C(() => {
206
206
  const o = e.code;
207
207
  return o ? l.value.includes(o) || r.value.includes(o) : !0;
208
- }), i = N(() => !!(a.value || !e.rmDom));
208
+ }), i = C(() => !!(s.value || !e.rmDom));
209
209
  return {
210
- hasPermission: a,
210
+ hasPermission: s,
211
211
  canRender: i
212
212
  };
213
213
  }
214
214
  }), dn = { key: 0 };
215
- function cn(e, t, n, l, r, a) {
216
- return e.hasPermission ? E(e.$slots, "default", { key: 0 }) : (m(), b(ee, { key: 1 }, [
217
- e.rmDom ? Y("", !0) : (m(), b("span", dn, T(e.defaultContent), 1))
215
+ function cn(e, t, n, l, r, s) {
216
+ return e.hasPermission ? O(e.$slots, "default", { key: 0 }) : (m(), T(ee, { key: 1 }, [
217
+ e.rmDom ? $("", !0) : (m(), T("span", dn, w(e.defaultContent), 1))
218
218
  ], 64));
219
219
  }
220
220
  const bt = /* @__PURE__ */ B(un, [["render", cn]]), Mn = async (e) => (await {
221
221
  "zh-CN": () => import("./index-EGZV35Ev.js"),
222
222
  "en-US": () => import("./index-CHKEi8Wc.js")
223
- }[e]()).default, We = {}, gn = async (e) => (We[e] || (We[e] = await Mn(e)), We[e]), mn = {
223
+ }[e]()).default, xe = {}, gn = async (e) => (xe[e] || (xe[e] = await Mn(e)), xe[e]), mn = {
224
224
  "zh-CN": () => import("./zh-CN-BoRskSmh.js"),
225
225
  "en-US": () => import("./en-US-Di49EX5C.js")
226
- }, nt = h("zh-CN"), Fe = h(null);
227
- let Je = null;
226
+ }, at = h("zh-CN"), Je = h(null);
227
+ let Ke = null;
228
228
  function pn(e) {
229
- Je = e;
229
+ Ke = e;
230
230
  }
231
231
  function fn(e, t) {
232
232
  const n = t.split(".");
@@ -242,33 +242,33 @@ function yn(e, t) {
242
242
  return t ? e.replace(/\{(\w+)\}/g, (n, l) => t[l] !== void 0 ? String(t[l]) : n) : e;
243
243
  }
244
244
  function Tt(e, t) {
245
- if (!Fe.value)
245
+ if (!Je.value)
246
246
  return console.warn("[rtcpt] i18n messages not loaded yet, please call setLocale first"), e;
247
- const n = fn(Fe.value, e);
247
+ const n = fn(Je.value, e);
248
248
  return yn(n, t);
249
249
  }
250
- async function Ke(e) {
251
- nt.value = e;
250
+ async function Xe(e) {
251
+ at.value = e;
252
252
  try {
253
- Fe.value = await gn(e);
253
+ Je.value = await gn(e);
254
254
  } catch (n) {
255
255
  console.error(`[rtcpt] Failed to load locale messages for ${e}:`, n);
256
256
  }
257
257
  const t = mn[e];
258
- t && Je && t().then((n) => {
259
- Je.lang.set(n.default);
258
+ t && Ke && t().then((n) => {
259
+ Ke.lang.set(n.default);
260
260
  }).catch((n) => {
261
261
  console.error(`[rtcpt] Failed to load Quasar locale for ${e}:`, n);
262
262
  });
263
263
  }
264
264
  function ht() {
265
- return nt.value;
265
+ return at.value;
266
266
  }
267
267
  function K() {
268
268
  return {
269
269
  t: Tt,
270
- locale: nt,
271
- setLocale: Ke,
270
+ locale: at,
271
+ setLocale: Xe,
272
272
  getLocale: ht
273
273
  };
274
274
  }
@@ -313,7 +313,7 @@ const In = U({
313
313
  emits: ["update:modelValue", "saved", "confirm"],
314
314
  slots: Object,
315
315
  setup(e, { emit: t }) {
316
- const { t: n } = K(), l = h(null), r = h(e.modelValue), a = h(null), i = h(!1), o = (M) => {
316
+ const { t: n } = K(), l = h(null), r = h(e.modelValue), s = h(null), i = h(!1), o = (M) => {
317
317
  r.value = M;
318
318
  };
319
319
  G(
@@ -323,22 +323,22 @@ const In = U({
323
323
  },
324
324
  { immediate: !0 }
325
325
  );
326
- const s = () => {
326
+ const a = () => {
327
327
  r.value = e.modelValue ?? "";
328
328
  }, c = async () => {
329
329
  var d;
330
330
  let M = !0;
331
- if (a.value && typeof a.value.validate == "function" && (M = a.value.validate()), !!M) {
331
+ if (s.value && typeof s.value.validate == "function" && (M = s.value.validate()), !!M) {
332
332
  if (r.value !== e.modelValue) {
333
333
  i.value = !0;
334
- const p = (D = {}) => {
335
- var $, j, w;
336
- const { success: S = !0, close: v = S, resetValue: q = !S } = D;
337
- if (i.value = !1, S) {
334
+ const p = (A = {}) => {
335
+ var E, j, D;
336
+ const { success: v = !0, close: Q = v, resetValue: q = !v } = A;
337
+ if (i.value = !1, v) {
338
338
  g();
339
339
  return;
340
340
  }
341
- q && (r.value = e.modelValue ?? "", (j = ($ = a.value) == null ? void 0 : $.resetValidation) == null || j.call($)), v && ((w = l.value) == null || w.hide());
341
+ q && (r.value = e.modelValue ?? "", (j = (E = s.value) == null ? void 0 : E.resetValidation) == null || j.call(E)), Q && ((D = l.value) == null || D.hide());
342
342
  };
343
343
  t("confirm", r.value, p);
344
344
  return;
@@ -346,7 +346,7 @@ const In = U({
346
346
  (d = l.value) == null || d.hide();
347
347
  }
348
348
  }, u = (M) => {
349
- a.value = M;
349
+ s.value = M;
350
350
  }, g = () => {
351
351
  var M;
352
352
  t("update:modelValue", r.value), t("saved", r.value), (M = l.value) == null || M.hide();
@@ -357,34 +357,34 @@ const In = U({
357
357
  popupRef: l,
358
358
  tempValue: r,
359
359
  updateTempValue: o,
360
- handleProxyShow: s,
360
+ handleProxyShow: a,
361
361
  handleSave: c,
362
- editorRef: a,
362
+ editorRef: s,
363
363
  setEditorRef: u
364
364
  };
365
365
  }
366
366
  }), Dn = { class: "row items-end no-wrap jc-editable-proxy" }, An = { class: "q-pr-sm display-value" };
367
- function Nn(e, t, n, l, r, a) {
368
- const i = A("q-card-section"), o = A("q-btn"), s = A("q-card-actions"), c = A("q-card"), u = A("q-popup-proxy"), g = A("q-icon"), M = A("j-c-permission");
369
- return m(), b("div", Dn, [
367
+ function Nn(e, t, n, l, r, s) {
368
+ const i = N("q-card-section"), o = N("q-btn"), a = N("q-card-actions"), c = N("q-card"), u = N("q-popup-proxy"), g = N("q-icon"), M = N("j-c-permission");
369
+ return m(), T("div", Dn, [
370
370
  y("div", An, [
371
- E(e.$slots, "display", {}, () => [
372
- y("span", null, T(e.modelValue), 1)
371
+ O(e.$slots, "display", {}, () => [
372
+ y("span", null, w(e.modelValue), 1)
373
373
  ], !0)
374
374
  ]),
375
- C(M, {
375
+ z(M, {
376
376
  code: e.code,
377
377
  "rm-dom": !0
378
378
  }, {
379
379
  default: I(() => [
380
- C(g, {
380
+ z(g, {
381
381
  name: "app:edit",
382
382
  class: "cursor-pointer",
383
383
  size: e.iconSize,
384
384
  style: H(e.iconStyle)
385
385
  }, {
386
386
  default: I(() => [
387
- C(u, {
387
+ z(u, {
388
388
  ref: "popupRef",
389
389
  "transition-show": "jump-down",
390
390
  "transition-hide": "jump-up",
@@ -392,13 +392,13 @@ function Nn(e, t, n, l, r, a) {
392
392
  onShow: e.handleProxyShow
393
393
  }, {
394
394
  default: I(() => [
395
- C(c, {
395
+ z(c, {
396
396
  style: H({ width: e.popupWidth })
397
397
  }, {
398
398
  default: I(() => [
399
- C(i, { class: "q-pt-md q-px-md q-pb-none" }, {
399
+ z(i, { class: "q-pt-md q-px-md q-pb-none" }, {
400
400
  default: I(() => [
401
- E(e.$slots, "editor", {
401
+ O(e.$slots, "editor", {
402
402
  tempValue: e.tempValue,
403
403
  updateTempValue: e.updateTempValue,
404
404
  setEditorRef: e.setEditorRef
@@ -406,12 +406,12 @@ function Nn(e, t, n, l, r, a) {
406
406
  ]),
407
407
  _: 3
408
408
  }),
409
- C(s, {
409
+ z(a, {
410
410
  align: "right",
411
- class: Q(["q-pb-md q-px-md", { "q-pt-none": e.required, "q-pt-md": !e.required }])
411
+ class: V(["q-pb-md q-px-md", { "q-pt-none": e.required, "q-pt-md": !e.required }])
412
412
  }, {
413
413
  default: I(() => [
414
- C(o, {
414
+ z(o, {
415
415
  dense: "",
416
416
  label: e.t("action.confirm"),
417
417
  color: "primary",
@@ -477,16 +477,16 @@ const as = /* @__PURE__ */ B(In, [["render", Nn], ["__scopeId", "data-v-ab93db6b
477
477
  slots: Object,
478
478
  setup(e) {
479
479
  return {
480
- hasValue: N(() => {
480
+ hasValue: C(() => {
481
481
  const n = e.value;
482
482
  return e.zeroIsValid && (n === 0 || n === "0") || e.falseIsValid && n === !1 ? !0 : !!n;
483
483
  })
484
484
  };
485
485
  }
486
486
  }), jn = { key: 0 };
487
- function zn(e, t, n, l, r, a) {
488
- return e.hasValue ? E(e.$slots, "default", { key: 0 }) : (m(), b(ee, { key: 1 }, [
489
- e.rmDom ? Y("", !0) : (m(), b("span", jn, T(e.defaultContent), 1))
487
+ function zn(e, t, n, l, r, s) {
488
+ return e.hasValue ? O(e.$slots, "default", { key: 0 }) : (m(), T(ee, { key: 1 }, [
489
+ e.rmDom ? $("", !0) : (m(), T("span", jn, w(e.defaultContent), 1))
490
490
  ], 64));
491
491
  }
492
492
  const ss = /* @__PURE__ */ B(Cn, [["render", zn]]);
@@ -500,13 +500,13 @@ function bn(e) {
500
500
  if (t[2]) {
501
501
  const r = t[2].trim();
502
502
  if (r.startsWith("[")) {
503
- const a = r.indexOf("]");
504
- if (a !== -1) {
505
- const o = r.substring(1, a).split(",").map((c) => c.trim().replace(/^['"](.*)['"]$/, "$1")).filter((c) => c.length > 0);
503
+ const s = r.indexOf("]");
504
+ if (s !== -1) {
505
+ const o = r.substring(1, s).split(",").map((c) => c.trim().replace(/^['"](.*)['"]$/, "$1")).filter((c) => c.length > 0);
506
506
  l.push(o);
507
- const s = r.substring(a + 1).trim();
508
- if (s.startsWith(",")) {
509
- const c = s.substring(1).split(",").map((u) => {
507
+ const a = r.substring(s + 1).trim();
508
+ if (a.startsWith(",")) {
509
+ const c = a.substring(1).split(",").map((u) => {
510
510
  const g = u.trim();
511
511
  if (g === "true") return !0;
512
512
  if (g === "false") return !1;
@@ -517,8 +517,8 @@ function bn(e) {
517
517
  }
518
518
  }
519
519
  } else
520
- l = r.split(",").map((a) => {
521
- const i = a.trim();
520
+ l = r.split(",").map((s) => {
521
+ const i = s.trim();
522
522
  if (i === "true") return !0;
523
523
  if (i === "false") return !1;
524
524
  const o = Number(i);
@@ -530,27 +530,27 @@ function bn(e) {
530
530
  return { name: e, args: [] };
531
531
  }
532
532
  function Tn(e, t, n = [], l) {
533
- const a = lt(l)[e];
534
- if (!a)
533
+ const s = st(l)[e];
534
+ if (!s)
535
535
  return console.warn(`Rule '${e}' not found in formRules.`), !0;
536
536
  let i = [];
537
- if (Array.isArray(a))
538
- i = a;
539
- else if (typeof a == "function") {
540
- const o = a(...n);
537
+ if (Array.isArray(s))
538
+ i = s;
539
+ else if (typeof s == "function") {
540
+ const o = s(...n);
541
541
  if (Array.isArray(o))
542
542
  i = o;
543
543
  else
544
544
  return console.error(`[JQSelectNewValue] Rule '${e}' function did not return an array of validation functions.`), !0;
545
545
  }
546
546
  for (const o of i) {
547
- const s = o(t);
548
- if (s !== !0)
549
- return s;
547
+ const a = o(t);
548
+ if (a !== !0)
549
+ return a;
550
550
  }
551
551
  return !0;
552
552
  }
553
- function lt(e) {
553
+ function st(e) {
554
554
  return {
555
555
  required: [
556
556
  (t) => {
@@ -569,8 +569,8 @@ function lt(e) {
569
569
  percentageRules(t = ["left", "right"]) {
570
570
  const n = t.includes("left"), l = t.includes("right"), r = /^(100(?:\.0{1,2})?|\d{1,2}(?:\.\d{1,2})?)$/;
571
571
  return [
572
- (a) => {
573
- const i = String(a).trim();
572
+ (s) => {
573
+ const i = String(s).trim();
574
574
  if (!r.test(i))
575
575
  return e("messages.formRules.percentageInvalid");
576
576
  const o = parseFloat(i);
@@ -600,21 +600,21 @@ function lt(e) {
600
600
  ipPort: "1.1.1.1:8080",
601
601
  path: "/test/example"
602
602
  }, i = [(o) => {
603
- const s = String(o || "").trim();
604
- if (!s) return !0;
603
+ const a = String(o || "").trim();
604
+ if (!a) return !0;
605
605
  let c = "";
606
606
  return t.some((g) => {
607
607
  switch (g) {
608
608
  case "url":
609
- return c = r.url, l.url.test(s);
609
+ return c = r.url, l.url.test(a);
610
610
  case "domain":
611
- return c = r.domain, l.domain.test(s);
611
+ return c = r.domain, l.domain.test(a);
612
612
  case "ip":
613
- return s.includes(":") ? !1 : (c = r.ip, l.ip.test(s));
613
+ return a.includes(":") ? !1 : (c = r.ip, l.ip.test(a));
614
614
  case "ip-port":
615
- return c = r.ipPort, l.ipPort.test(s);
615
+ return c = r.ipPort, l.ipPort.test(a);
616
616
  case "path":
617
- return c = r.path, l.path.test(s);
617
+ return c = r.path, l.path.test(a);
618
618
  default:
619
619
  return !1;
620
620
  }
@@ -623,8 +623,8 @@ function lt(e) {
623
623
  });
624
624
  }];
625
625
  return n && i.unshift((o) => {
626
- const s = Array.isArray(o) && o.length === 0, c = o == null || o === "";
627
- return !s && !c || e("messages.formRules.required");
626
+ const a = Array.isArray(o) && o.length === 0, c = o == null || o === "";
627
+ return !a && !c || e("messages.formRules.required");
628
628
  }), i;
629
629
  },
630
630
  email: [
@@ -637,8 +637,8 @@ function lt(e) {
637
637
  return [
638
638
  (l) => {
639
639
  l = Number(l);
640
- const r = Number.isInteger(l), a = l >= t && l <= n;
641
- return r && a || e("messages.formRules.rangeInt", { min: t, max: n });
640
+ const r = Number.isInteger(l), s = l >= t && l <= n;
641
+ return r && s || e("messages.formRules.rangeInt", { min: t, max: n });
642
642
  }
643
643
  ];
644
644
  },
@@ -675,7 +675,7 @@ class wn {
675
675
  je = t;
676
676
  }
677
677
  show({ type: t, content: n, position: l, isNotify: r }) {
678
- const a = Object.assign(hn, {
678
+ const s = Object.assign(hn, {
679
679
  message: n,
680
680
  position: l ?? "top",
681
681
  multiLine: r ?? !1,
@@ -691,26 +691,26 @@ class wn {
691
691
  classes: `q-message-style q-message-style--${t}`
692
692
  });
693
693
  try {
694
- je != null && je.notify ? je.notify(a) : (console.error("[JQMessage] Quasar Notify plugin not available. Make sure rtcptInit has been called."), alert(a.message));
694
+ je != null && je.notify ? je.notify(s) : (console.error("[JQMessage] Quasar Notify plugin not available. Make sure rtcptInit has been called."), alert(s.message));
695
695
  } catch (i) {
696
- console.log(i), alert(a.message);
696
+ console.log(i), alert(s.message);
697
697
  }
698
698
  }
699
699
  }
700
- const Ve = new wn();
700
+ const Qe = new wn();
701
701
  function vn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
702
- const n = e[0], { size: l, accept: r } = t, { t: a } = K();
702
+ const n = e[0], { size: l, accept: r } = t, { t: s } = K();
703
703
  if (l < n.size / Math.pow(1024, l)) {
704
- Ve.show({
705
- content: a("messages.jQFile.maxFileSizeIs", { max: l }),
704
+ Qe.show({
705
+ content: s("messages.jQFile.maxFileSizeIs", { max: l }),
706
706
  type: "error"
707
707
  });
708
708
  return;
709
709
  }
710
710
  let i = n.name.substring(n.name.lastIndexOf(".")).toLowerCase();
711
711
  if (i = i.replace(".", ""), r.indexOf(i) === -1) {
712
- Ve.show({
713
- content: a("messages.jQFile.unsupportFileFormat"),
712
+ Qe.show({
713
+ content: s("messages.jQFile.unsupportFileFormat"),
714
714
  type: "error"
715
715
  });
716
716
  return;
@@ -720,14 +720,14 @@ function vn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
720
720
  const Sn = U({
721
721
  name: "jQDialog",
722
722
  components: {
723
- QDialog: Dt,
723
+ QDialog: Nt,
724
724
  QCard: Se,
725
725
  QCardSection: ve,
726
- QInnerLoading: It,
726
+ QInnerLoading: At,
727
727
  QBtn: re
728
728
  },
729
729
  directives: {
730
- ClosePopup: yt
730
+ ClosePopup: Dt
731
731
  },
732
732
  props: {
733
733
  allowFocusOutside: { type: Boolean, default: !0 },
@@ -751,47 +751,47 @@ const Sn = U({
751
751
  mounted() {
752
752
  },
753
753
  setup(e, { emit: t, expose: n }) {
754
- const l = h(!1), r = h(!1), a = h(null), i = h(e.showConfirm), o = Et(), { t: s } = K();
755
- let c = h(s("action.cancel")), u = h(s("action.confirm"));
756
- const g = lt(s), M = vn, d = N(() => ({
754
+ const l = h(!1), r = h(!1), s = h(null), i = h(e.showConfirm), o = Et(), { t: a } = K();
755
+ let c = h(a("action.cancel")), u = h(a("action.confirm"));
756
+ const g = st(a), M = vn, d = C(() => ({
757
757
  ...e.componentBind,
758
758
  dialogInstance: {
759
759
  open: j,
760
- close: w,
761
- setLoading: O,
762
- changeCancelText: S,
763
- changeConfirmText: v,
764
- setConfirmVisible: k,
760
+ close: D,
761
+ setLoading: k,
762
+ changeCancelText: v,
763
+ changeConfirmText: Q,
764
+ setConfirmVisible: S,
765
765
  rules: g,
766
766
  beforeFile: M
767
767
  }
768
- })), p = N(() => e.maxWidth && e.position === "standard" ? {
768
+ })), p = C(() => e.maxWidth && e.position === "standard" ? {
769
769
  "max-width": typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`,
770
770
  width: typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`
771
- } : {}), D = N(() => r.value), S = (P) => {
771
+ } : {}), A = C(() => r.value), v = (P) => {
772
772
  c.value = P;
773
- }, v = (P) => {
773
+ }, Q = (P) => {
774
774
  u.value = P;
775
775
  }, q = () => {
776
776
  var P, J, te;
777
- ((P = o == null ? void 0 : o.refs) == null ? void 0 : P.dynamicCompRef).handleClickCancel && ((J = o == null ? void 0 : o.refs) == null ? void 0 : J.dynamicCompRef).handleClickCancel(), ((te = o == null ? void 0 : o.refs) == null ? void 0 : te.dynamicCompRef).handleClickCancel || w();
778
- }, $ = () => {
777
+ ((P = o == null ? void 0 : o.refs) == null ? void 0 : P.dynamicCompRef).handleClickCancel && ((J = o == null ? void 0 : o.refs) == null ? void 0 : J.dynamicCompRef).handleClickCancel(), ((te = o == null ? void 0 : o.refs) == null ? void 0 : te.dynamicCompRef).handleClickCancel || D();
778
+ }, E = () => {
779
779
  var P, J;
780
780
  ((P = o == null ? void 0 : o.refs) == null ? void 0 : P.dynamicCompRef).handleClickConfirm && ((J = o == null ? void 0 : o.refs) == null ? void 0 : J.dynamicCompRef).handleClickConfirm();
781
781
  }, j = () => {
782
782
  l.value = !0;
783
- }, w = () => {
783
+ }, D = () => {
784
784
  l.value = !1;
785
- }, O = (P) => {
786
- r.value = P;
787
785
  }, k = (P) => {
786
+ r.value = P;
787
+ }, S = (P) => {
788
788
  i.value = P;
789
789
  }, Z = () => {
790
- e.dialogId && ot.destroy(e.dialogId);
790
+ e.dialogId && it.destroy(e.dialogId);
791
791
  };
792
- return n({ open: j, close: w, setLoading: O, setConfirmVisible: k, changeCancelText: S, changeConfirmText: v, rules: g }), {
793
- persistent: D,
794
- dynamicCompRef: a,
792
+ return n({ open: j, close: D, setLoading: k, setConfirmVisible: S, changeCancelText: v, changeConfirmText: Q, rules: g }), {
793
+ persistent: A,
794
+ dynamicCompRef: s,
795
795
  cancelText: c,
796
796
  confirmText: u,
797
797
  visible: l,
@@ -799,21 +799,21 @@ const Sn = U({
799
799
  computedComponentBind: d,
800
800
  computedDialogWidth: p,
801
801
  open: j,
802
- close: w,
802
+ close: D,
803
803
  destroy: Z,
804
804
  handleClickCancel: q,
805
- handleClickConfirm: $,
805
+ handleClickConfirm: E,
806
806
  confirmBtnVisible: i,
807
- setConfirmVisible: k,
807
+ setConfirmVisible: S,
808
808
  rules: g,
809
- t: s
809
+ t: a
810
810
  };
811
811
  }
812
812
  }), Ln = { class: "loading-mask" }, kn = { class: "dialog-title" }, On = { class: "async-component-loading-mask" };
813
- function En(e, t, n, l, r, a) {
814
- const i = A("q-inner-loading"), o = A("q-btn"), s = A("q-card-section"), c = A("q-card"), u = A("q-dialog"), g = et("close-popup");
815
- return m(), V(u, {
816
- class: Q(["j-q-dialog", { "right-panel": e.position === "right" }]),
813
+ function En(e, t, n, l, r, s) {
814
+ const i = N("q-inner-loading"), o = N("q-btn"), a = N("q-card-section"), c = N("q-card"), u = N("q-dialog"), g = tt("close-popup");
815
+ return m(), Y(u, {
816
+ class: V(["j-q-dialog", { "right-panel": e.position === "right" }]),
817
817
  modelValue: e.visible,
818
818
  "onUpdate:modelValue": t[0] || (t[0] = (M) => e.visible = M),
819
819
  "allow-focus-outside": e.allowFocusOutside,
@@ -827,13 +827,13 @@ function En(e, t, n, l, r, a) {
827
827
  "transition-hide": e.position === "right" ? "slide-right" : "jump-up"
828
828
  }, {
829
829
  default: I(() => [
830
- C(c, {
830
+ z(c, {
831
831
  class: "dialog-main",
832
832
  style: H(e.computedDialogWidth)
833
833
  }, {
834
834
  default: I(() => [
835
835
  oe(y("div", Ln, [
836
- C(i, {
836
+ z(i, {
837
837
  showing: e.getDataLoading,
838
838
  label: e.t("messages.loading"),
839
839
  color: "primary",
@@ -843,17 +843,17 @@ function En(e, t, n, l, r, a) {
843
843
  ], 512), [
844
844
  [ie, e.getDataLoading]
845
845
  ]),
846
- e.showHeader ? (m(), V(s, {
846
+ e.showHeader ? (m(), Y(a, {
847
847
  key: 0,
848
848
  class: "dialog-header q-pa-none"
849
849
  }, {
850
850
  default: I(() => [
851
851
  y("div", kn, [
852
- E(e.$slots, "title", {}, () => [
853
- W(T(e.title), 1)
852
+ O(e.$slots, "title", {}, () => [
853
+ W(w(e.title), 1)
854
854
  ], !0)
855
855
  ]),
856
- oe(C(o, {
856
+ oe(z(o, {
857
857
  class: "dialog-close",
858
858
  icon: "close",
859
859
  dense: "",
@@ -864,33 +864,33 @@ function En(e, t, n, l, r, a) {
864
864
  ])
865
865
  ]),
866
866
  _: 3
867
- })) : Y("", !0),
868
- (m(), V($t, null, {
867
+ })) : $("", !0),
868
+ (m(), Y($t, null, {
869
869
  default: I(() => [
870
870
  y("div", null, [
871
- C(s, {
871
+ z(a, {
872
872
  class: "dialog-body",
873
873
  style: H({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
874
874
  }, {
875
875
  default: I(() => [
876
- e.component ? (m(), V(dt(e.component), Te({ key: 0 }, e.computedComponentBind, Yt(e.componentOn), { ref: "dynamicCompRef" }), null, 16)) : e.content ? (m(), V(dt(e.content), { key: 1 })) : Y("", !0),
877
- E(e.$slots, "default", {}, void 0, !0)
876
+ e.component ? (m(), Y(Mt(e.component), Te({ key: 0 }, e.computedComponentBind, Yt(e.componentOn), { ref: "dynamicCompRef" }), null, 16)) : e.content ? (m(), Y(Mt(e.content), { key: 1 })) : $("", !0),
877
+ O(e.$slots, "default", {}, void 0, !0)
878
878
  ]),
879
879
  _: 3
880
880
  }, 8, ["style"]),
881
- e.showFooter ? (m(), V(s, {
881
+ e.showFooter ? (m(), Y(a, {
882
882
  key: 0,
883
883
  class: "q-pa-none dialog-footer"
884
884
  }, {
885
885
  default: I(() => [
886
- C(o, {
886
+ z(o, {
887
887
  label: e.cancelText,
888
888
  unelevated: "",
889
889
  "no-caps": "",
890
890
  onClick: e.handleClickCancel,
891
891
  outline: ""
892
892
  }, null, 8, ["label", "onClick"]),
893
- e.confirmBtnVisible ? (m(), V(o, {
893
+ e.confirmBtnVisible ? (m(), Y(o, {
894
894
  key: 0,
895
895
  label: e.confirmText,
896
896
  color: "primary",
@@ -898,17 +898,17 @@ function En(e, t, n, l, r, a) {
898
898
  unelevated: "",
899
899
  "no-caps": "",
900
900
  onClick: e.handleClickConfirm
901
- }, null, 8, ["label", "onClick"])) : Y("", !0)
901
+ }, null, 8, ["label", "onClick"])) : $("", !0)
902
902
  ]),
903
903
  _: 1
904
- })) : Y("", !0)
904
+ })) : $("", !0)
905
905
  ])
906
906
  ]),
907
907
  fallback: I(() => [
908
- C(s, null, {
908
+ z(a, null, {
909
909
  default: I(() => [
910
910
  y("div", On, [
911
- C(i, {
911
+ z(i, {
912
912
  showing: !0,
913
913
  label: e.t("action.loading"),
914
914
  color: "primary",
@@ -929,12 +929,12 @@ function En(e, t, n, l, r, a) {
929
929
  _: 3
930
930
  }, 8, ["class", "modelValue", "allow-focus-outside", "no-backdrop-dismiss", "no-esc-dismiss", "position", "onHide", "persistent", "full-height", "transition-show", "transition-hide"]);
931
931
  }
932
- const $n = /* @__PURE__ */ B(Sn, [["render", En], ["__scopeId", "data-v-c4f8c6ec"]]), xe = /* @__PURE__ */ new Map();
932
+ const $n = /* @__PURE__ */ B(Sn, [["render", En], ["__scopeId", "data-v-c4f8c6ec"]]), Ge = /* @__PURE__ */ new Map();
933
933
  function Yn(e) {
934
- return lt(e || Tt);
934
+ return st(e || Tt);
935
935
  }
936
936
  let ae = {};
937
- const ot = {
937
+ const it = {
938
938
  /**
939
939
  * 配置 DialogProvider 选项
940
940
  */
@@ -944,25 +944,25 @@ const ot = {
944
944
  async register(e) {
945
945
  const t = Math.random().toString(36).slice(2), n = Vt($n, { ...e, dialogId: t });
946
946
  ae.router && n.use(ae.router), ae.store && n.use(ae.store), ae.i18n && n.use(ae.i18n), ae.plugins && ae.plugins.forEach((c) => n.use(c));
947
- const { Quasar: l, Notify: r, Dialog: a, Loading: i } = await import("quasar");
947
+ const { Quasar: l, Notify: r, Dialog: s, Loading: i } = await import("quasar");
948
948
  n.use(l, {
949
949
  plugins: {
950
950
  Notify: r,
951
- Dialog: a,
951
+ Dialog: s,
952
952
  Loading: i
953
953
  },
954
954
  animations: "all"
955
955
  }), ae.iconMapFn && (n.config.globalProperties.$q.iconMapFn = ae.iconMapFn);
956
956
  const o = document.createElement("div");
957
957
  document.body.appendChild(o);
958
- const s = n.mount(o);
959
- return xe.set(t, { app: n, appInstance: s }), de(() => {
960
- s.open();
961
- }).then((c) => c), s;
958
+ const a = n.mount(o);
959
+ return Ge.set(t, { app: n, appInstance: a }), de(() => {
960
+ a.open();
961
+ }).then((c) => c), a;
962
962
  },
963
963
  destroy(e) {
964
- const t = xe.get(e);
965
- t && (t.app.unmount(), document.body.removeChild(t.app._container), xe.delete(e));
964
+ const t = Ge.get(e);
965
+ t && (t.app.unmount(), document.body.removeChild(t.app._container), Ge.delete(e));
966
966
  }
967
967
  }, Vn = U({
968
968
  name: "JCFoldableList",
@@ -990,48 +990,48 @@ const ot = {
990
990
  },
991
991
  setup(e, { slots: t }) {
992
992
  const n = h(null), l = h(0), r = h(e.defaultCollapsed);
993
- let a = null, i = 0;
994
- const o = 5, { t: s } = K(), c = () => {
993
+ let s = null, i = 0;
994
+ const o = 5, { t: a } = K(), c = () => {
995
995
  if (n.value) {
996
- a && a.disconnect();
997
- const D = n.value.scrollHeight;
998
- D > 0 ? (l.value = D, i = 0) : n.value.children.length > 0 && i < o && (i++, setTimeout(() => {
996
+ s && s.disconnect();
997
+ const A = n.value.scrollHeight;
998
+ A > 0 ? (l.value = A, i = 0) : n.value.children.length > 0 && i < o && (i++, setTimeout(() => {
999
999
  c();
1000
- }, 100)), a && n.value && a.observe(n.value, {
1000
+ }, 100)), s && n.value && s.observe(n.value, {
1001
1001
  childList: !0,
1002
1002
  subtree: !0
1003
1003
  });
1004
1004
  }
1005
- }, u = N(() => l.value > e.maxHeight), g = N(() => r.value && u.value ? {
1005
+ }, u = C(() => l.value > e.maxHeight), g = C(() => r.value && u.value ? {
1006
1006
  maxHeight: `${e.maxHeight}px`,
1007
1007
  overflow: "hidden"
1008
1008
  } : {}), M = () => {
1009
- var S;
1010
- const D = (S = t.default) == null ? void 0 : S.call(t);
1011
- D && ot.register({
1012
- title: e.dialogTitle || s("action.viewAll"),
1009
+ var v;
1010
+ const A = (v = t.default) == null ? void 0 : v.call(t);
1011
+ A && it.register({
1012
+ title: e.dialogTitle || a("action.viewAll"),
1013
1013
  maxWidth: e.dialogMaxWidth,
1014
1014
  minHeight: "auto",
1015
1015
  showHeader: !0,
1016
1016
  showFooter: !1,
1017
- content: () => Pt("div", { class: "jc-foldable-list-dialog-content" }, D)
1017
+ content: () => Pt("div", { class: "jc-foldable-list-dialog-content" }, A)
1018
1018
  });
1019
1019
  }, d = () => {
1020
1020
  e.viewInDialog ? M() : r.value = !r.value;
1021
1021
  };
1022
1022
  return he(() => {
1023
1023
  de(() => {
1024
- c(), n.value && (a = new MutationObserver(() => {
1024
+ c(), n.value && (s = new MutationObserver(() => {
1025
1025
  de(c);
1026
- }), a.observe(n.value, {
1026
+ }), s.observe(n.value, {
1027
1027
  childList: !0,
1028
1028
  subtree: !0
1029
1029
  }));
1030
1030
  });
1031
1031
  }), Qt(() => {
1032
- a && (a.disconnect(), a = null);
1032
+ s && (s.disconnect(), s = null);
1033
1033
  }), {
1034
- t: s,
1034
+ t: a,
1035
1035
  contentWrapperRef: n,
1036
1036
  isCollapsed: r,
1037
1037
  needsToggle: u,
@@ -1046,28 +1046,28 @@ const ot = {
1046
1046
  key: 0,
1047
1047
  class: "jc-toggle-overlay"
1048
1048
  };
1049
- function Un(e, t, n, l, r, a) {
1050
- return m(), b("div", Qn, [
1049
+ function Un(e, t, n, l, r, s) {
1050
+ return m(), T("div", Qn, [
1051
1051
  y("div", Pn, [
1052
1052
  y("div", {
1053
1053
  ref: "contentWrapperRef",
1054
1054
  style: H(e.currentStyle),
1055
- class: Q([{ "jc-content-transition": e.needsToggle }, "jc-content-wrapper"])
1055
+ class: V([{ "jc-content-transition": e.needsToggle }, "jc-content-wrapper"])
1056
1056
  }, [
1057
- E(e.$slots, "default", {}, void 0, !0)
1057
+ O(e.$slots, "default", {}, void 0, !0)
1058
1058
  ], 6),
1059
- e.needsToggle ? (m(), b("div", qn, [
1059
+ e.needsToggle ? (m(), T("div", qn, [
1060
1060
  y("span", {
1061
1061
  class: "link-type",
1062
1062
  onClick: t[0] || (t[0] = (...i) => e.toggleList && e.toggleList(...i))
1063
1063
  }, [
1064
- e.viewInDialog ? (m(), b(ee, { key: 0 }, [
1065
- W(T(e.t("action.viewAll")), 1)
1066
- ], 64)) : (m(), b(ee, { key: 1 }, [
1067
- W(T(e.isCollapsed ? e.t("action.expandAll") : e.t("action.collapseAll")), 1)
1064
+ e.viewInDialog ? (m(), T(ee, { key: 0 }, [
1065
+ W(w(e.t("action.viewAll")), 1)
1066
+ ], 64)) : (m(), T(ee, { key: 1 }, [
1067
+ W(w(e.isCollapsed ? e.t("action.expandAll") : e.t("action.collapseAll")), 1)
1068
1068
  ], 64))
1069
1069
  ])
1070
- ])) : Y("", !0)
1070
+ ])) : $("", !0)
1071
1071
  ])
1072
1072
  ]);
1073
1073
  }
@@ -1114,31 +1114,31 @@ const is = /* @__PURE__ */ B(Vn, [["render", Un], ["__scopeId", "data-v-48376fdd
1114
1114
  },
1115
1115
  slots: Object,
1116
1116
  setup(e) {
1117
- const t = N(() => {
1118
- const r = e.value, a = e.options, i = e.matchKeys;
1119
- if (!(r === null || !a || a.length === 0))
1120
- return a.find((o) => i.some((s) => o[s] !== void 0 && o[s] === r));
1121
- }), n = N(() => !!t.value), l = N(() => t.value ? t.value.label : e.defaultContent);
1117
+ const t = C(() => {
1118
+ const r = e.value, s = e.options, i = e.matchKeys;
1119
+ if (!(r === null || !s || s.length === 0))
1120
+ return s.find((o) => i.some((a) => o[a] !== void 0 && o[a] === r));
1121
+ }), n = C(() => !!t.value), l = C(() => t.value ? t.value.label : e.defaultContent);
1122
1122
  return {
1123
1123
  hasMatch: n,
1124
1124
  displayLabel: l
1125
1125
  };
1126
1126
  }
1127
1127
  }), Zn = { key: 0 };
1128
- function Rn(e, t, n, l, r, a) {
1129
- return e.hasMatch ? E(e.$slots, "default", {
1128
+ function Rn(e, t, n, l, r, s) {
1129
+ return e.hasMatch ? O(e.$slots, "default", {
1130
1130
  key: 0,
1131
1131
  label: e.displayLabel
1132
1132
  }, () => [
1133
- y("span", null, T(e.displayLabel), 1)
1134
- ]) : (m(), b(ee, { key: 1 }, [
1135
- e.rmDom ? Y("", !0) : (m(), b("span", Zn, T(e.defaultContent), 1))
1133
+ y("span", null, w(e.displayLabel), 1)
1134
+ ]) : (m(), T(ee, { key: 1 }, [
1135
+ e.rmDom ? $("", !0) : (m(), T("span", Zn, w(e.defaultContent), 1))
1136
1136
  ], 64));
1137
1137
  }
1138
1138
  const rs = /* @__PURE__ */ B(Bn, [["render", Rn]]), Wn = U({
1139
1139
  name: "JQInput",
1140
1140
  components: {
1141
- QInput: Qe
1141
+ QInput: Pe
1142
1142
  },
1143
1143
  props: {
1144
1144
  modelValue: { type: [String, Number] },
@@ -1165,18 +1165,18 @@ const rs = /* @__PURE__ */ B(Bn, [["render", Rn]]), Wn = U({
1165
1165
  },
1166
1166
  slots: Object,
1167
1167
  setup(e, { emit: t, slots: n, expose: l }) {
1168
- const { t: r } = K(), a = h(e.modelValue ?? ""), i = h(null), o = h(e.customType !== "secret" && e.customType !== "password"), s = N(() => {
1168
+ const { t: r } = K(), s = h(e.modelValue ?? ""), i = h(null), o = h(e.customType !== "secret" && e.customType !== "password"), a = C(() => {
1169
1169
  const d = String(e.modelValue ?? "");
1170
1170
  if (e.customType === "secret" && !o.value) {
1171
1171
  if (d.length === 0)
1172
1172
  return "";
1173
1173
  if (d.length <= 6)
1174
1174
  return "***";
1175
- const p = d.substring(0, 3), D = d.substring(d.length - 3);
1176
- return `${p}***${D}`;
1175
+ const p = d.substring(0, 3), A = d.substring(d.length - 3);
1176
+ return `${p}***${A}`;
1177
1177
  }
1178
1178
  return d;
1179
- }), c = N(() => e.customType === "secret" ? s.value : a.value), u = N(() => ({
1179
+ }), c = C(() => e.customType === "secret" ? a.value : s.value), u = C(() => ({
1180
1180
  "input-password": e.customType === "password" && !o.value,
1181
1181
  "j-q-input--table": e.label,
1182
1182
  "j-q-input--form": !e.label && e.type !== "textarea" && !e.smInput,
@@ -1186,14 +1186,14 @@ const rs = /* @__PURE__ */ B(Bn, [["render", Rn]]), Wn = U({
1186
1186
  G(
1187
1187
  () => e.modelValue,
1188
1188
  (d) => {
1189
- d !== a.value && (a.value = d);
1189
+ d !== s.value && (s.value = d);
1190
1190
  },
1191
1191
  { immediate: !0 }
1192
1192
  ), G(
1193
- () => a.value,
1193
+ () => s.value,
1194
1194
  (d, p) => {
1195
1195
  if (d !== p && e.inputLimitFn && !e.inputLimitFn(d)) {
1196
- a.value = p;
1196
+ s.value = p;
1197
1197
  return;
1198
1198
  }
1199
1199
  t("update:modelValue", d);
@@ -1216,9 +1216,9 @@ const rs = /* @__PURE__ */ B(Bn, [["render", Rn]]), Wn = U({
1216
1216
  toggleVisibility: M
1217
1217
  }), {
1218
1218
  t: r,
1219
- innerModel: a,
1219
+ innerModel: s,
1220
1220
  computedInputValue: c,
1221
- computedDisplayValue: s,
1221
+ computedDisplayValue: a,
1222
1222
  computedClass: u,
1223
1223
  change: g,
1224
1224
  qInputRef: i,
@@ -1227,10 +1227,10 @@ const rs = /* @__PURE__ */ B(Bn, [["render", Rn]]), Wn = U({
1227
1227
  };
1228
1228
  }
1229
1229
  });
1230
- function xn(e, t, n, l, r, a) {
1231
- const i = A("q-input");
1232
- return m(), V(i, {
1233
- class: Q(["j-q-input", e.computedClass]),
1230
+ function xn(e, t, n, l, r, s) {
1231
+ const i = N("q-input");
1232
+ return m(), Y(i, {
1233
+ class: V(["j-q-input", e.computedClass]),
1234
1234
  "model-value": e.computedInputValue,
1235
1235
  "onUpdate:modelValue": t[0] || (t[0] = (o) => e.innerModel = o),
1236
1236
  borderless: e.borderless,
@@ -1254,14 +1254,14 @@ function xn(e, t, n, l, r, a) {
1254
1254
  e.$slots.prepend ? {
1255
1255
  name: "prepend",
1256
1256
  fn: I(() => [
1257
- E(e.$slots, "prepend")
1257
+ O(e.$slots, "prepend")
1258
1258
  ]),
1259
1259
  key: "0"
1260
1260
  } : void 0,
1261
1261
  e.$slots.append ? {
1262
1262
  name: "append",
1263
1263
  fn: I(() => [
1264
- E(e.$slots, "append", {
1264
+ O(e.$slots, "append", {
1265
1265
  toggleVisibility: e.toggleVisibility,
1266
1266
  customType: e.customType,
1267
1267
  rawValue: e.modelValue,
@@ -1274,7 +1274,7 @@ function xn(e, t, n, l, r, a) {
1274
1274
  e.$slots.after ? {
1275
1275
  name: "after",
1276
1276
  fn: I(() => [
1277
- E(e.$slots, "after")
1277
+ O(e.$slots, "after")
1278
1278
  ]),
1279
1279
  key: "2"
1280
1280
  } : void 0
@@ -1297,61 +1297,61 @@ const wt = /* @__PURE__ */ B(Wn, [["render", xn]]), Gn = U({
1297
1297
  },
1298
1298
  slots: Object,
1299
1299
  setup(e, { slots: t }) {
1300
- const n = N(() => {
1300
+ const n = C(() => {
1301
1301
  const r = !!e.label || !!t.label;
1302
1302
  return e.horizontal ? !0 : r;
1303
1303
  });
1304
1304
  return {
1305
- directionClass: N(() => e.vertical ? "form-label--vertical" : e.horizontal ? "form-label--horizontal" : "form-label--vertical"),
1305
+ directionClass: C(() => e.vertical ? "form-label--vertical" : e.horizontal ? "form-label--horizontal" : "form-label--vertical"),
1306
1306
  showLabel: n,
1307
1307
  slots: t
1308
1308
  };
1309
1309
  }
1310
1310
  }), Hn = { class: "row items-center" }, Fn = { class: "form-content" }, Jn = { class: "form-value__inner" }, Kn = { class: "form-item-detail-wrapper" };
1311
- function Xn(e, t, n, l, r, a) {
1312
- const i = A("q-tooltip"), o = A("q-icon");
1313
- return m(), b("div", {
1314
- class: Q(["j-q-form-label", [e.directionClass, { required: e.required }]])
1311
+ function Xn(e, t, n, l, r, s) {
1312
+ const i = N("q-tooltip"), o = N("q-icon");
1313
+ return m(), T("div", {
1314
+ class: V(["j-q-form-label", [e.directionClass, { required: e.required }]])
1315
1315
  }, [
1316
- e.showLabel ? (m(), b("div", {
1316
+ e.showLabel ? (m(), T("div", {
1317
1317
  key: 0,
1318
- class: Q(["form-label", [e.labelClass, { required: e.required }]])
1318
+ class: V(["form-label", [e.labelClass, { required: e.required }]])
1319
1319
  }, [
1320
1320
  y("div", Hn, [
1321
- W(T(e.label) + " ", 1),
1322
- e.tip ? (m(), V(o, {
1321
+ W(w(e.label) + " ", 1),
1322
+ e.tip ? (m(), Y(o, {
1323
1323
  key: 0,
1324
1324
  name: "app:question",
1325
1325
  size: "14px",
1326
1326
  class: "q-ml-xs"
1327
1327
  }, {
1328
1328
  default: I(() => [
1329
- C(i, {
1329
+ z(i, {
1330
1330
  anchor: "top middle",
1331
1331
  self: "bottom middle",
1332
1332
  offset: [10, 10]
1333
1333
  }, {
1334
1334
  default: I(() => [
1335
- W(T(e.tip), 1)
1335
+ W(w(e.tip), 1)
1336
1336
  ]),
1337
1337
  _: 1
1338
1338
  })
1339
1339
  ]),
1340
1340
  _: 1
1341
- })) : Y("", !0)
1341
+ })) : $("", !0)
1342
1342
  ]),
1343
- E(e.$slots, "label-hint")
1344
- ], 2)) : Y("", !0),
1343
+ O(e.$slots, "label-hint")
1344
+ ], 2)) : $("", !0),
1345
1345
  y("div", Fn, [
1346
1346
  y("div", {
1347
- class: Q(["form-value", e.valueClass])
1347
+ class: V(["form-value", e.valueClass])
1348
1348
  }, [
1349
1349
  y("div", Jn, [
1350
- E(e.$slots, "default")
1350
+ O(e.$slots, "default")
1351
1351
  ])
1352
1352
  ], 2),
1353
1353
  y("div", Kn, [
1354
- E(e.$slots, "form-item-detail")
1354
+ O(e.$slots, "form-item-detail")
1355
1355
  ])
1356
1356
  ])
1357
1357
  ], 2);
@@ -1380,47 +1380,47 @@ const _n = /* @__PURE__ */ B(Gn, [["render", Xn]]), el = U({
1380
1380
  emits: ["update:modelValue"],
1381
1381
  slots: Object,
1382
1382
  setup(e, { emit: t }) {
1383
- const { t: n } = K(), l = N({
1383
+ const { t: n } = K(), l = C({
1384
1384
  get: () => e.modelValue,
1385
- set: (s) => {
1386
- t("update:modelValue", s);
1385
+ set: (a) => {
1386
+ t("update:modelValue", a);
1387
1387
  }
1388
1388
  });
1389
1389
  return {
1390
- computedPlaceholder: N(() => e.placeholder || n("messages.pleaseEnter")),
1390
+ computedPlaceholder: C(() => e.placeholder || n("messages.pleaseEnter")),
1391
1391
  innerValue: l,
1392
- updateItem: (s, c) => {
1392
+ updateItem: (a, c) => {
1393
1393
  const u = String(c ?? "");
1394
- if (l.value[s] !== u) {
1394
+ if (l.value[a] !== u) {
1395
1395
  const g = [...l.value];
1396
- g[s] = u, l.value = g;
1396
+ g[a] = u, l.value = g;
1397
1397
  }
1398
1398
  },
1399
- addItem: (s) => {
1399
+ addItem: (a) => {
1400
1400
  const c = [...l.value];
1401
- c.splice(s, 0, e.defaultNewValue), l.value = c;
1401
+ c.splice(a, 0, e.defaultNewValue), l.value = c;
1402
1402
  },
1403
- removeItem: (s) => {
1403
+ removeItem: (a) => {
1404
1404
  const c = [...l.value];
1405
- c.splice(s, 1), l.value = c;
1405
+ c.splice(a, 1), l.value = c;
1406
1406
  }
1407
1407
  };
1408
1408
  }
1409
1409
  }), tl = { class: "col-6" }, nl = { style: { "margin-top": "4px" } };
1410
- function ll(e, t, n, l, r, a) {
1411
- const i = A("j-q-input"), o = A("q-btn"), s = A("j-q-form-label");
1412
- return m(), b("div", null, [
1413
- C(s, {
1410
+ function ll(e, t, n, l, r, s) {
1411
+ const i = N("j-q-input"), o = N("q-btn"), a = N("j-q-form-label");
1412
+ return m(), T("div", null, [
1413
+ z(a, {
1414
1414
  label: e.label,
1415
1415
  required: e.required
1416
1416
  }, {
1417
1417
  default: I(() => [
1418
- (m(!0), b(ee, null, ne(e.innerValue, (c, u) => (m(), b("div", {
1418
+ (m(!0), T(ee, null, ne(e.innerValue, (c, u) => (m(), T("div", {
1419
1419
  key: u,
1420
1420
  class: "row q-col-gutter-sm"
1421
1421
  }, [
1422
1422
  y("div", tl, [
1423
- C(i, {
1423
+ z(i, {
1424
1424
  "model-value": c,
1425
1425
  "onUpdate:modelValue": (g) => e.updateItem(u, g),
1426
1426
  rules: e.rules,
@@ -1428,13 +1428,13 @@ function ll(e, t, n, l, r, a) {
1428
1428
  placeholder: e.computedPlaceholder
1429
1429
  }, {
1430
1430
  after: I(() => [
1431
- E(e.$slots, "after")
1431
+ O(e.$slots, "after")
1432
1432
  ]),
1433
1433
  _: 3
1434
1434
  }, 8, ["model-value", "onUpdate:modelValue", "rules", "readonly", "placeholder"])
1435
1435
  ]),
1436
1436
  y("div", nl, [
1437
- e.innerValue.length > 1 ? (m(), V(o, {
1437
+ e.innerValue.length > 1 ? (m(), Y(o, {
1438
1438
  key: 0,
1439
1439
  icon: "remove_circle_outline",
1440
1440
  flat: "",
@@ -1442,8 +1442,8 @@ function ll(e, t, n, l, r, a) {
1442
1442
  dense: "",
1443
1443
  color: "grey",
1444
1444
  onClick: (g) => e.removeItem(u)
1445
- }, null, 8, ["onClick"])) : Y("", !0),
1446
- e.innerValue.length - 1 === u && e.innerValue.length < e.maxItems ? (m(), V(o, {
1445
+ }, null, 8, ["onClick"])) : $("", !0),
1446
+ e.innerValue.length - 1 === u && e.innerValue.length < e.maxItems ? (m(), Y(o, {
1447
1447
  key: 1,
1448
1448
  icon: "add_circle_outline",
1449
1449
  flat: "",
@@ -1452,7 +1452,7 @@ function ll(e, t, n, l, r, a) {
1452
1452
  color: "grey",
1453
1453
  onClick: (g) => e.addItem(u + 1),
1454
1454
  type: e.inputType
1455
- }, null, 8, ["onClick", "type"])) : Y("", !0)
1455
+ }, null, 8, ["onClick", "type"])) : $("", !0)
1456
1456
  ])
1457
1457
  ]))), 128))
1458
1458
  ]),
@@ -1466,8 +1466,8 @@ const us = /* @__PURE__ */ B(el, [["render", ll]]), ol = U({
1466
1466
  QIcon: le,
1467
1467
  QMenu: xt,
1468
1468
  QList: Wt,
1469
- QItem: Nt,
1470
- QItemSection: At,
1469
+ QItem: jt,
1470
+ QItemSection: Ct,
1471
1471
  JCPermission: bt
1472
1472
  },
1473
1473
  props: {
@@ -1527,50 +1527,51 @@ const us = /* @__PURE__ */ B(el, [["render", ll]]), ol = U({
1527
1527
  action: (e) => !0
1528
1528
  },
1529
1529
  setup(e, { emit: t }) {
1530
- const { t: n } = K(), l = N(() => e.translate ?? n), r = (v, q, $) => typeof v == "function" ? !!v(q) : typeof v == "boolean" ? v : $, a = (v) => r(v.visible, e.item, !0), i = (v) => r(v.disabled, e.item, !1), o = N(() => e.actions.some((v) => a(v))), s = N(() => typeof e.fit == "boolean" ? e.fit : e.preset === "option"), c = N(() => {
1530
+ const { t: n } = K(), l = C(() => e.translate ?? n), r = Ve(lt, h([])), s = Ve(ot, h([])), i = (D, k, S) => typeof D == "function" ? !!D(k) : typeof D == "boolean" ? D : S, o = (D) => i(D.visible, e.item, !0), a = (D) => i(D.disabled, e.item, !1), c = (D) => D ? s.value.includes(D) || r.value.includes(D) : !0, u = (D) => o(D) ? c(D.permissionCode) : !1, g = C(() => e.actions.some((D) => u(D))), M = C(() => typeof e.fit == "boolean" ? e.fit : e.preset === "option"), d = C(() => {
1531
1531
  if (e.preset === "action")
1532
1532
  return e.offset ?? [5, 10];
1533
- }), u = N(() => {
1533
+ }), p = C(() => {
1534
1534
  if (e.preset === "action")
1535
1535
  return e.anchor ?? "bottom left";
1536
- }), g = N(() => {
1536
+ }), A = C(() => {
1537
1537
  if (e.preset === "action")
1538
1538
  return e.self ?? "top start";
1539
- }), M = N(() => e.preset !== "action" ? void 0 : { minWidth: e.listMinWidth ?? "80px" }), d = N(() => e.menuClass ?? void 0), p = N(() => e.preset === "option" ? { "styling-menu-option": "" } : e.preset === "action" ? { "styling-menu-action": "" } : {}), D = (v) => typeof v.label == "function" ? v.label({ item: e.item, action: v }) : typeof v.label == "string" && v.label ? v.label : v.i18nKey ? l.value(v.i18nKey) : "", S = async (v) => {
1540
- t("action", { action: v, item: e.item }), v.onClick && await v.onClick(e.item);
1539
+ }), v = C(() => e.preset !== "action" ? void 0 : { minWidth: e.listMinWidth ?? "80px" }), Q = C(() => e.menuClass ?? void 0), q = C(() => e.preset === "option" ? { "styling-menu-option": "" } : e.preset === "action" ? { "styling-menu-action": "" } : {}), E = (D) => typeof D.label == "function" ? D.label({ item: e.item, action: D }) : typeof D.label == "string" && D.label ? D.label : D.i18nKey ? l.value(D.i18nKey) : "", j = async (D) => {
1540
+ t("action", { action: D, item: e.item }), D.onClick && await D.onClick(e.item);
1541
1541
  };
1542
1542
  return {
1543
- hasVisibleActions: o,
1544
- isActionVisible: a,
1545
- isActionDisabled: i,
1546
- preset: N(() => e.preset),
1547
- computedFit: s,
1548
- computedOffset: c,
1549
- computedAnchor: u,
1550
- computedSelf: g,
1551
- computedListStyle: M,
1552
- computedMenuClass: d,
1553
- computedMenuAttrs: p,
1554
- getActionLabel: D,
1555
- handleActionClick: S
1543
+ hasVisibleActions: g,
1544
+ isActionVisible: o,
1545
+ isActionDisabled: a,
1546
+ shouldShowAction: u,
1547
+ preset: C(() => e.preset),
1548
+ computedFit: M,
1549
+ computedOffset: d,
1550
+ computedAnchor: p,
1551
+ computedSelf: A,
1552
+ computedListStyle: v,
1553
+ computedMenuClass: Q,
1554
+ computedMenuAttrs: q,
1555
+ getActionLabel: E,
1556
+ handleActionClick: j
1556
1557
  };
1557
1558
  }
1558
1559
  }), al = {
1559
1560
  key: 0,
1560
1561
  class: "jc-more-menu"
1561
1562
  }, sl = { class: "jc-more-menu__icon" };
1562
- function il(e, t, n, l, r, a) {
1563
- const i = A("q-icon"), o = A("q-item-section"), s = A("q-item"), c = A("j-c-permission"), u = A("q-list"), g = A("q-menu"), M = et("close-popup");
1564
- return e.hasVisibleActions ? (m(), b("div", al, [
1563
+ function il(e, t, n, l, r, s) {
1564
+ const i = N("q-icon"), o = N("q-item-section"), a = N("q-item"), c = N("j-c-permission"), u = N("q-list"), g = N("q-menu"), M = tt("close-popup");
1565
+ return e.hasVisibleActions ? (m(), T("div", al, [
1565
1566
  y("div", sl, [
1566
- E(e.$slots, "trigger", {}, () => [
1567
- C(i, {
1567
+ O(e.$slots, "trigger", {}, () => [
1568
+ z(i, {
1568
1569
  class: "cursor-pointer",
1569
1570
  name: "more_vert",
1570
1571
  size: e.triggerSize
1571
1572
  }, null, 8, ["size"])
1572
1573
  ], !0),
1573
- C(g, Te({
1574
+ z(g, Te({
1574
1575
  fit: e.computedFit,
1575
1576
  class: e.computedMenuClass,
1576
1577
  offset: e.computedOffset,
@@ -1578,28 +1579,28 @@ function il(e, t, n, l, r, a) {
1578
1579
  self: e.computedSelf
1579
1580
  }, e.computedMenuAttrs), {
1580
1581
  default: I(() => [
1581
- C(u, {
1582
+ z(u, {
1582
1583
  dense: e.dense,
1583
1584
  style: H(e.computedListStyle)
1584
1585
  }, {
1585
1586
  default: I(() => [
1586
- (m(!0), b(ee, null, ne(e.actions, (d, p) => (m(), V(c, {
1587
+ (m(!0), T(ee, null, ne(e.actions, (d, p) => (m(), Y(c, {
1587
1588
  key: d.key ?? p,
1588
1589
  "rm-dom": d.rmDom ?? !0,
1589
1590
  code: d.permissionCode ?? null,
1590
1591
  "default-content": d.defaultContent ?? "--"
1591
1592
  }, {
1592
1593
  default: I(() => [
1593
- e.isActionVisible(d) ? oe((m(), V(s, {
1594
+ e.shouldShowAction(d) ? oe((m(), Y(a, {
1594
1595
  key: 0,
1595
1596
  clickable: d.clickable ?? !0,
1596
1597
  disable: e.isActionDisabled(d),
1597
- onClick: (D) => e.handleActionClick(d)
1598
+ onClick: (A) => e.handleActionClick(d)
1598
1599
  }, {
1599
1600
  default: I(() => [
1600
- C(o, null, {
1601
+ z(o, null, {
1601
1602
  default: I(() => [
1602
- W(T(e.getActionLabel(d)), 1)
1603
+ W(w(e.getActionLabel(d)), 1)
1603
1604
  ]),
1604
1605
  _: 2
1605
1606
  }, 1024)
@@ -1607,7 +1608,7 @@ function il(e, t, n, l, r, a) {
1607
1608
  _: 2
1608
1609
  }, 1032, ["clickable", "disable", "onClick"])), [
1609
1610
  [M, d.closePopup ?? !0]
1610
- ]) : Y("", !0)
1611
+ ]) : $("", !0)
1611
1612
  ]),
1612
1613
  _: 2
1613
1614
  }, 1032, ["rm-dom", "code", "default-content"]))), 128))
@@ -1618,13 +1619,13 @@ function il(e, t, n, l, r, a) {
1618
1619
  _: 1
1619
1620
  }, 16, ["fit", "class", "offset", "anchor", "self"])
1620
1621
  ])
1621
- ])) : Y("", !0);
1622
+ ])) : $("", !0);
1622
1623
  }
1623
- const ds = /* @__PURE__ */ B(ol, [["render", il], ["__scopeId", "data-v-1361f9fa"]]), Xe = h("hide-tooltip"), rl = {
1624
+ const ds = /* @__PURE__ */ B(ol, [["render", il], ["__scopeId", "data-v-97961741"]]), _e = h("hide-tooltip"), rl = {
1624
1625
  mounted(e, t) {
1625
1626
  const n = t.arg === "lines" ? t.value : 1;
1626
1627
  e.addEventListener("mouseenter", () => {
1627
- ul(e, n) ? Xe.value = "" : Xe.value = "hide-tooltip";
1628
+ ul(e, n) ? _e.value = "" : _e.value = "hide-tooltip";
1628
1629
  });
1629
1630
  }
1630
1631
  };
@@ -1655,7 +1656,7 @@ const dl = U({
1655
1656
  "j-q-tooltip": rl
1656
1657
  },
1657
1658
  setup(e) {
1658
- const t = N(() => Xe.value), n = N(() => e.lines === 1 ? "ellipsis" : "ellipsis-multi"), l = N(() => {
1659
+ const t = C(() => _e.value), n = C(() => e.lines === 1 ? "ellipsis" : "ellipsis-multi"), l = C(() => {
1659
1660
  const r = e.contentStyle;
1660
1661
  return e.lines > 1 ? `${r}; -webkit-line-clamp: ${e.lines};` : r;
1661
1662
  });
@@ -1666,21 +1667,21 @@ const dl = U({
1666
1667
  };
1667
1668
  }
1668
1669
  });
1669
- function cl(e, t, n, l, r, a) {
1670
- const i = A("q-tooltip"), o = et("j-q-tooltip");
1671
- return oe((m(), b("div", {
1672
- class: Q(["block", e.ellipsisClass]),
1670
+ function cl(e, t, n, l, r, s) {
1671
+ const i = N("q-tooltip"), o = tt("j-q-tooltip");
1672
+ return oe((m(), T("div", {
1673
+ class: V(["block", e.ellipsisClass]),
1673
1674
  style: H(e.computedStyle)
1674
1675
  }, [
1675
- W(T(e.content) + " ", 1),
1676
- C(i, {
1677
- class: Q([e.toolTipClass, "j-q-tooltip-content"]),
1676
+ W(w(e.content) + " ", 1),
1677
+ z(i, {
1678
+ class: V([e.toolTipClass, "j-q-tooltip-content"]),
1678
1679
  anchor: "top middle",
1679
1680
  self: "bottom middle",
1680
1681
  "max-width": "300px"
1681
1682
  }, {
1682
1683
  default: I(() => [
1683
- W(T(e.content), 1)
1684
+ W(w(e.content), 1)
1684
1685
  ]),
1685
1686
  _: 1
1686
1687
  }, 8, ["class"])
@@ -1688,10 +1689,10 @@ function cl(e, t, n, l, r, a) {
1688
1689
  [o, e.lines, "lines"]
1689
1690
  ]);
1690
1691
  }
1691
- const at = /* @__PURE__ */ B(dl, [["render", cl]]), Ml = U({
1692
+ const rt = /* @__PURE__ */ B(dl, [["render", cl]]), Ml = U({
1692
1693
  name: "JCTabs",
1693
1694
  components: {
1694
- JQTooltip: at
1695
+ JQTooltip: rt
1695
1696
  },
1696
1697
  props: {
1697
1698
  // 绑定当前选中的值 (v-model)
@@ -1742,7 +1743,7 @@ const at = /* @__PURE__ */ B(dl, [["render", cl]]), Ml = U({
1742
1743
  const n = (i) => {
1743
1744
  if (e.disable || e.modelValue === i)
1744
1745
  return;
1745
- const o = e.options.find((s) => s.value === i);
1746
+ const o = e.options.find((a) => a.value === i);
1746
1747
  o != null && o.disable || (t("update:modelValue", i), t("change", i));
1747
1748
  }, l = (i, o) => i.value === null || i.value === void 0 ? String(o) : String(i.value), r = (i) => {
1748
1749
  if (!(i == null || i === ""))
@@ -1752,17 +1753,17 @@ const at = /* @__PURE__ */ B(dl, [["render", cl]]), Ml = U({
1752
1753
  handleClickTab: n,
1753
1754
  slotKey: l,
1754
1755
  getItemLabelStyle: (i) => {
1755
- const o = r(i.maxWidth ?? e.itemMaxWidth), s = "display:inline-block; vertical-align:middle;";
1756
- return o ? `${s} max-width:${o};` : `${s}`;
1756
+ const o = r(i.maxWidth ?? e.itemMaxWidth), a = "display:inline-block; vertical-align:middle;";
1757
+ return o ? `${a} max-width:${o};` : `${a}`;
1757
1758
  }
1758
1759
  };
1759
1760
  }
1760
1761
  }), gl = ["onClick"];
1761
- function ml(e, t, n, l, r, a) {
1762
- const i = A("JQTooltip");
1763
- return m(), b("div", null, [
1762
+ function ml(e, t, n, l, r, s) {
1763
+ const i = N("JQTooltip");
1764
+ return m(), T("div", null, [
1764
1765
  y("ul", {
1765
- class: Q(["j-c-tabs", {
1766
+ class: V(["j-c-tabs", {
1766
1767
  "j-c-tabs--disabled": e.disable,
1767
1768
  "j-c-tabs--flat": e.variant === "flat",
1768
1769
  "j-c-tabs--line": e.variant === "line",
@@ -1770,27 +1771,27 @@ function ml(e, t, n, l, r, a) {
1770
1771
  "j-c-tabs--expand": e.expand
1771
1772
  }])
1772
1773
  }, [
1773
- (m(!0), b(ee, null, ne(e.options, (o, s) => (m(), b("li", {
1774
- key: s,
1775
- class: Q({
1774
+ (m(!0), T(ee, null, ne(e.options, (o, a) => (m(), T("li", {
1775
+ key: a,
1776
+ class: V({
1776
1777
  active: e.modelValue === o.value,
1777
1778
  "is-disabled": e.disable || o.disable
1778
1779
  }),
1779
1780
  onClick: (c) => e.handleClickTab(o.value)
1780
1781
  }, [
1781
- E(e.$slots, `item-${e.slotKey(o, s)}`, {
1782
+ O(e.$slots, `item-${e.slotKey(o, a)}`, {
1782
1783
  item: o,
1783
- index: s,
1784
+ index: a,
1784
1785
  active: e.modelValue === o.value,
1785
1786
  labelStyle: e.getItemLabelStyle(o)
1786
1787
  }, () => [
1787
- E(e.$slots, "item", {
1788
+ O(e.$slots, "item", {
1788
1789
  item: o,
1789
- index: s,
1790
+ index: a,
1790
1791
  active: e.modelValue === o.value,
1791
1792
  labelStyle: e.getItemLabelStyle(o)
1792
1793
  }, () => [
1793
- C(i, {
1794
+ z(i, {
1794
1795
  content: o.label,
1795
1796
  lines: 1,
1796
1797
  "content-style": e.getItemLabelStyle(o)
@@ -1799,7 +1800,7 @@ function ml(e, t, n, l, r, a) {
1799
1800
  ], !0)
1800
1801
  ], 10, gl))), 128))
1801
1802
  ], 2),
1802
- E(e.$slots, "default", {}, void 0, !0)
1803
+ O(e.$slots, "default", {}, void 0, !0)
1803
1804
  ]);
1804
1805
  }
1805
1806
  const cs = /* @__PURE__ */ B(Ml, [["render", ml], ["__scopeId", "data-v-cc043f30"]]), pl = U({
@@ -1817,14 +1818,14 @@ const cs = /* @__PURE__ */ B(Ml, [["render", ml], ["__scopeId", "data-v-cc043f30
1817
1818
  key: 0,
1818
1819
  class: "title-line__extra"
1819
1820
  };
1820
- function Il(e, t, n, l, r, a) {
1821
- return m(), b("div", null, [
1821
+ function Il(e, t, n, l, r, s) {
1822
+ return m(), T("div", null, [
1822
1823
  y("div", fl, [
1823
1824
  y("span", null, [
1824
- W(T(e.label) + " ", 1),
1825
- e.hasSlot("default") ? (m(), b("span", yl, [
1826
- E(e.$slots, "default", {}, void 0, !0)
1827
- ])) : Y("", !0)
1825
+ W(w(e.label) + " ", 1),
1826
+ e.hasSlot("default") ? (m(), T("span", yl, [
1827
+ O(e.$slots, "default", {}, void 0, !0)
1828
+ ])) : $("", !0)
1828
1829
  ])
1829
1830
  ])
1830
1831
  ]);
@@ -1832,7 +1833,7 @@ function Il(e, t, n, l, r, a) {
1832
1833
  const Ms = /* @__PURE__ */ B(pl, [["render", Il], ["__scopeId", "data-v-634ec7db"]]), Dl = U({
1833
1834
  name: "jCTree",
1834
1835
  components: {
1835
- JQTooltip: at,
1836
+ JQTooltip: rt,
1836
1837
  QTree: Gt
1837
1838
  },
1838
1839
  props: {
@@ -1847,23 +1848,23 @@ const Ms = /* @__PURE__ */ B(pl, [["render", Il], ["__scopeId", "data-v-634ec7db
1847
1848
  },
1848
1849
  emits: ["update:modelValue"],
1849
1850
  setup(e, { emit: t, expose: n }) {
1850
- const l = h(null), { t: r } = K(), a = h(e.modelValue ?? []), i = N(() => e.tickStrategy === "strict" && !e.multiple), o = N({
1851
+ const l = h(null), { t: r } = K(), s = h(e.modelValue ?? []), i = C(() => e.tickStrategy === "strict" && !e.multiple), o = C({
1851
1852
  get() {
1852
- return e.modelValue ?? a.value;
1853
+ return e.modelValue ?? s.value;
1853
1854
  },
1854
- set(s) {
1855
- let c = s;
1855
+ set(a) {
1856
+ let c = a;
1856
1857
  if (i.value) {
1857
- const u = Array.isArray(s) ? s : [], g = u.length > 0 ? u[u.length - 1] : void 0;
1858
+ const u = Array.isArray(a) ? a : [], g = u.length > 0 ? u[u.length - 1] : void 0;
1858
1859
  c = g ? [g] : [];
1859
1860
  }
1860
- a.value = c, t("update:modelValue", c);
1861
+ s.value = c, t("update:modelValue", c);
1861
1862
  }
1862
1863
  });
1863
1864
  return G(
1864
1865
  () => e.modelValue,
1865
- (s) => {
1866
- a.value = s ?? [];
1866
+ (a) => {
1867
+ s.value = a ?? [];
1867
1868
  }
1868
1869
  ), n({
1869
1870
  qTreeRef: l
@@ -1874,12 +1875,12 @@ const Ms = /* @__PURE__ */ B(pl, [["render", Il], ["__scopeId", "data-v-634ec7db
1874
1875
  };
1875
1876
  }
1876
1877
  }), Al = { class: "q-tree-label-wrapper" }, Nl = { class: "q-tree-label-truncate" };
1877
- function Cl(e, t, n, l, r, a) {
1878
- const i = A("j-q-tooltip"), o = A("q-tree");
1879
- return m(), V(o, {
1878
+ function Cl(e, t, n, l, r, s) {
1879
+ const i = N("j-q-tooltip"), o = N("q-tree");
1880
+ return m(), Y(o, {
1880
1881
  ref: "main",
1881
1882
  ticked: e.computedValue,
1882
- "onUpdate:ticked": t[0] || (t[0] = (s) => e.computedValue = s),
1883
+ "onUpdate:ticked": t[0] || (t[0] = (a) => e.computedValue = a),
1883
1884
  "default-expand-all": "",
1884
1885
  "label-key": e.optionLabel,
1885
1886
  "node-key": e.optionValue,
@@ -1887,14 +1888,14 @@ function Cl(e, t, n, l, r, a) {
1887
1888
  "tick-strategy": e.tickStrategy,
1888
1889
  "no-nodes-label": e.t("messages.noData")
1889
1890
  }, {
1890
- "default-header": I((s) => [
1891
+ "default-header": I((a) => [
1891
1892
  y("div", Al, [
1892
- C(i, {
1893
- content: s.node[e.optionLabel],
1893
+ z(i, {
1894
+ content: a.node[e.optionLabel],
1894
1895
  style: { "max-width": "320px" }
1895
1896
  }, {
1896
1897
  default: I(() => [
1897
- y("div", Nl, T(s.node[e.optionLabel]), 1)
1898
+ y("div", Nl, w(a.node[e.optionLabel]), 1)
1898
1899
  ]),
1899
1900
  _: 2
1900
1901
  }, 1032, ["content"])
@@ -1935,69 +1936,69 @@ const jl = /* @__PURE__ */ B(Dl, [["render", Cl]]), zl = U({
1935
1936
  },
1936
1937
  slots: Object,
1937
1938
  setup(e, { emit: t, expose: n }) {
1938
- const l = h(null), { t: r } = K(), a = h(!1), i = h(""), o = h([]), s = h(e.modelValue ?? []), c = N(() => e.tickStrategy === "strict" && !e.multiple), u = N({
1939
+ const l = h(null), { t: r } = K(), s = h(!1), i = h(""), o = h([]), a = h(e.modelValue ?? []), c = C(() => e.tickStrategy === "strict" && !e.multiple), u = C({
1939
1940
  get() {
1940
- return e.modelValue || s.value;
1941
+ return e.modelValue || a.value;
1941
1942
  },
1942
- set($) {
1943
- let j = $;
1944
- s.value = j, t("update:modelValue", j), c.value && j != null && j.length && (a.value = !1);
1943
+ set(E) {
1944
+ let j = E;
1945
+ a.value = j, t("update:modelValue", j), c.value && j != null && j.length && (s.value = !1);
1945
1946
  }
1946
- }), g = N({
1947
+ }), g = C({
1947
1948
  get() {
1948
- return e.disable || e.readonly ? !1 : a.value;
1949
+ return e.disable || e.readonly ? !1 : s.value;
1949
1950
  },
1950
- set($) {
1951
- a.value = $;
1951
+ set(E) {
1952
+ s.value = E;
1952
1953
  }
1953
1954
  });
1954
1955
  G(
1955
1956
  () => e.modelValue,
1956
- ($) => {
1957
- s.value = $ ?? [];
1957
+ (E) => {
1958
+ a.value = E ?? [];
1958
1959
  }
1959
- ), G(a, ($) => {
1960
- $ || (i.value = "");
1960
+ ), G(s, (E) => {
1961
+ E || (i.value = "");
1961
1962
  });
1962
1963
  const M = () => {
1963
- var O;
1964
- if (!((O = u.value) != null && O.length)) return;
1965
- const $ = [], j = (k) => {
1964
+ var k;
1965
+ if (!((k = u.value) != null && k.length)) return;
1966
+ const E = [], j = (S) => {
1966
1967
  var Z, P;
1967
- (Z = k.children) != null && Z.length && k.children.forEach(j), (P = u.value) != null && P.includes(k[e.optionValue]) && $.push(k);
1968
+ (Z = S.children) != null && Z.length && S.children.forEach(j), (P = u.value) != null && P.includes(S[e.optionValue]) && E.push(S);
1968
1969
  };
1969
- return (e.options || []).forEach(j), $;
1970
- }, d = N(() => {
1970
+ return (e.options || []).forEach(j), E;
1971
+ }, d = C(() => {
1971
1972
  var j;
1972
1973
  if (!((j = u.value) != null && j.length)) return;
1973
1974
  if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options || []);
1974
- const $ = M();
1975
- return $ == null ? void 0 : $.map((w) => w[e.optionLabel]).toString();
1976
- }), p = N(() => e.options || []), D = N(() => i.value ? o.value : p.value), S = ($) => {
1977
- if (o.value = [], !$) return;
1975
+ const E = M();
1976
+ return E == null ? void 0 : E.map((D) => D[e.optionLabel]).toString();
1977
+ }), p = C(() => e.options || []), A = C(() => i.value ? o.value : p.value), v = (E) => {
1978
+ if (o.value = [], !E) return;
1978
1979
  let j;
1979
1980
  try {
1980
- j = new RegExp($.toString(), "i");
1981
+ j = new RegExp(E.toString(), "i");
1981
1982
  } catch {
1982
1983
  return;
1983
1984
  }
1984
- const w = (O, k) => {
1985
+ const D = (k, S) => {
1985
1986
  var te, me;
1986
- const Z = { ...O }, P = ((te = O[e.optionLabel]) == null ? void 0 : te.toString()) || "";
1987
+ const Z = { ...k }, P = ((te = k[e.optionLabel]) == null ? void 0 : te.toString()) || "";
1987
1988
  let J = !1;
1988
- if (j.test(P) && (J = !0), (me = O.children) != null && me.length) {
1989
+ if (j.test(P) && (J = !0), (me = k.children) != null && me.length) {
1989
1990
  const ce = [];
1990
- O.children.forEach((Ne) => {
1991
- w(Ne, ce) && (J = !0);
1991
+ k.children.forEach((Ne) => {
1992
+ D(Ne, ce) && (J = !0);
1992
1993
  }), ce.length > 0 ? Z.children = ce : delete Z.children;
1993
1994
  }
1994
- return J ? (k.push(Z), !0) : !1;
1995
+ return J ? (S.push(Z), !0) : !1;
1995
1996
  };
1996
- p.value.forEach((O) => w(O, o.value));
1997
- }, v = () => {
1997
+ p.value.forEach((k) => D(k, o.value));
1998
+ }, Q = () => {
1998
1999
  t("update:modelValue", []);
1999
2000
  }, q = () => {
2000
- v();
2001
+ Q();
2001
2002
  };
2002
2003
  return n({
2003
2004
  getFullValue: M
@@ -2009,9 +2010,9 @@ const jl = /* @__PURE__ */ B(Dl, [["render", Cl]]), zl = U({
2009
2010
  computedValueDisplay: d,
2010
2011
  popupVisible: g,
2011
2012
  inputValue: i,
2012
- computedTreeOptions: D,
2013
- onUpdateInputValue: S,
2014
- handleClear: v,
2013
+ computedTreeOptions: A,
2014
+ onUpdateInputValue: v,
2015
+ handleClear: Q,
2015
2016
  getFullValue: M
2016
2017
  };
2017
2018
  }
@@ -2019,10 +2020,10 @@ const jl = /* @__PURE__ */ B(Dl, [["render", Cl]]), zl = U({
2019
2020
  key: 0,
2020
2021
  class: "j-c-tree-select-popup__header"
2021
2022
  }, wl = { class: "j-c-tree-select-popup__main" };
2022
- function vl(e, t, n, l, r, a) {
2023
- const i = A("q-icon"), o = A("j-q-input"), s = A("j-c-tree"), c = A("q-popup-proxy"), u = A("q-field");
2024
- return m(), V(u, {
2025
- class: Q(["j-c-tree-select", {
2023
+ function vl(e, t, n, l, r, s) {
2024
+ const i = N("q-icon"), o = N("j-q-input"), a = N("j-c-tree"), c = N("q-popup-proxy"), u = N("q-field");
2025
+ return m(), Y(u, {
2026
+ class: V(["j-c-tree-select", {
2026
2027
  "j-c-tree-select--table": e.label,
2027
2028
  "j-c-tree-select--form": !e.label
2028
2029
  }]),
@@ -2039,21 +2040,21 @@ function vl(e, t, n, l, r, a) {
2039
2040
  }, {
2040
2041
  control: I(() => [
2041
2042
  y("div", bl, [
2042
- E(e.$slots, "value-display", {}, () => [
2043
- W(T(e.computedValueDisplay), 1)
2043
+ O(e.$slots, "value-display", {}, () => [
2044
+ W(w(e.computedValueDisplay), 1)
2044
2045
  ])
2045
2046
  ])
2046
2047
  ]),
2047
2048
  append: I(() => {
2048
2049
  var g;
2049
2050
  return [
2050
- e.clearable && !e.readonly && !e.disable && ((g = e.computedValue) != null && g.length) ? (m(), V(i, {
2051
+ e.clearable && !e.readonly && !e.disable && ((g = e.computedValue) != null && g.length) ? (m(), Y(i, {
2051
2052
  key: 0,
2052
2053
  name: e.clearIcon,
2053
2054
  class: "cursor-pointer q-field__focusable-action",
2054
2055
  onMousedown: _(e.handleClearClick, ["stop"])
2055
- }, null, 8, ["name", "onMousedown"])) : Y("", !0),
2056
- e.readonly || e.disable ? Y("", !0) : (m(), V(i, {
2056
+ }, null, 8, ["name", "onMousedown"])) : $("", !0),
2057
+ e.readonly || e.disable ? $("", !0) : (m(), Y(i, {
2057
2058
  key: 1,
2058
2059
  name: e.dropdownIcon,
2059
2060
  size: e.label ? "18px" : "20px",
@@ -2062,18 +2063,18 @@ function vl(e, t, n, l, r, a) {
2062
2063
  ];
2063
2064
  }),
2064
2065
  default: I(() => [
2065
- oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
2066
+ oe(y("div", { class: "float-placeholder" }, w(e.t("messages.pleaseSelect")), 513), [
2066
2067
  [ie, !e.label && (e.computedValue === null || e.computedValue === void 0 || Array.isArray(e.computedValue) && e.computedValue.length === 0)]
2067
2068
  ]),
2068
- C(c, {
2069
+ z(c, {
2069
2070
  modelValue: e.popupVisible,
2070
2071
  "onUpdate:modelValue": t[2] || (t[2] = (g) => e.popupVisible = g),
2071
2072
  style: { "border-top-left-radius": "4px", "border-top-right-radius": "4px" }
2072
2073
  }, {
2073
2074
  default: I(() => [
2074
2075
  y("div", Tl, [
2075
- e.filterable ? (m(), b("div", hl, [
2076
- C(o, {
2076
+ e.filterable ? (m(), T("div", hl, [
2077
+ z(o, {
2077
2078
  modelValue: e.inputValue,
2078
2079
  "onUpdate:modelValue": [
2079
2080
  t[0] || (t[0] = (g) => e.inputValue = g),
@@ -2085,9 +2086,9 @@ function vl(e, t, n, l, r, a) {
2085
2086
  class: "text-to-input",
2086
2087
  "sm-input": ""
2087
2088
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "readonly", "disable"])
2088
- ])) : Y("", !0),
2089
+ ])) : $("", !0),
2089
2090
  y("div", wl, [
2090
- C(s, {
2091
+ z(a, {
2091
2092
  ref: "treeRef",
2092
2093
  modelValue: e.computedValue,
2093
2094
  "onUpdate:modelValue": t[1] || (t[1] = (g) => e.computedValue = g),
@@ -2108,12 +2109,12 @@ function vl(e, t, n, l, r, a) {
2108
2109
  _: 3
2109
2110
  }, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
2110
2111
  }
2111
- const gs = /* @__PURE__ */ B(zl, [["render", vl]]), Sl = { username: "current_user" }, gt = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", Ll = (e) => {
2112
+ const gs = /* @__PURE__ */ B(zl, [["render", vl]]), Sl = { username: "current_user" }, pt = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", Ll = (e) => {
2112
2113
  localStorage.setItem("APP_SEARCH_HISTORY", e);
2113
2114
  }, kl = U({
2114
2115
  name: "JQAutocomplete",
2115
2116
  components: {
2116
- QInput: Qe
2117
+ QInput: Pe
2117
2118
  },
2118
2119
  emits: ["update:model-value"],
2119
2120
  props: {
@@ -2123,7 +2124,7 @@ const gs = /* @__PURE__ */ B(zl, [["render", vl]]), Sl = { username: "current_us
2123
2124
  label: { type: String, default: "" }
2124
2125
  },
2125
2126
  setup(e, { emit: t, expose: n }) {
2126
- const l = N(() => `search_history__${Sl.username}__${e.searchKey}`), r = h(null), a = De({
2127
+ const l = C(() => `search_history__${Sl.username}__${e.searchKey}`), r = h(null), s = De({
2127
2128
  maxLength: 5,
2128
2129
  width: {
2129
2130
  eid: "250px"
@@ -2138,45 +2139,45 @@ const gs = /* @__PURE__ */ B(zl, [["render", vl]]), Sl = { username: "current_us
2138
2139
  }), G(
2139
2140
  () => e.modelValue,
2140
2141
  (d) => {
2141
- a.filterList = a.list.filter((p) => p.value.includes(d));
2142
+ s.filterList = s.list.filter((p) => p.value.includes(d));
2142
2143
  }
2143
2144
  );
2144
2145
  const i = () => {
2145
2146
  try {
2146
- const d = gt(), p = JSON.parse(d);
2147
- a.list = p[l.value] || [];
2147
+ const d = pt(), p = JSON.parse(d);
2148
+ s.list = p[l.value] || [];
2148
2149
  } catch (d) {
2149
- console.error("Failed to load search history:", d), a.list = [];
2150
+ console.error("Failed to load search history:", d), s.list = [];
2150
2151
  }
2151
2152
  }, o = () => {
2152
2153
  i();
2153
2154
  const d = e.modelValue;
2154
- d ? a.filterList = a.list.filter((p) => p.value.includes(d)) : a.filterList = a.list, a.visible = !0;
2155
- }, s = () => {
2156
- a.visible = !1;
2155
+ d ? s.filterList = s.list.filter((p) => p.value.includes(d)) : s.filterList = s.list, s.visible = !0;
2156
+ }, a = () => {
2157
+ s.visible = !1;
2157
2158
  }, c = () => {
2158
- a.filterList = a.list, r.value.blur();
2159
+ s.filterList = s.list, r.value.blur();
2159
2160
  }, u = (d) => {
2160
2161
  const p = String(d ?? "");
2161
- t("update:model-value", p), a.filterList = a.list.filter((D) => D.value.includes(p));
2162
+ t("update:model-value", p), s.filterList = s.list.filter((A) => A.value.includes(p));
2162
2163
  }, g = (d) => {
2163
- t("update:model-value", d.value), a.visible = !1;
2164
+ t("update:model-value", d.value), s.visible = !1;
2164
2165
  }, M = (d) => {
2165
- if (!d || a.list.find((D) => D.value === d)) return;
2166
- a.list.length >= a.maxLength && a.list.pop(), a.list.unshift({ id: +/* @__PURE__ */ new Date(), value: d });
2166
+ if (!d || s.list.find((A) => A.value === d)) return;
2167
+ s.list.length >= s.maxLength && s.list.pop(), s.list.unshift({ id: +/* @__PURE__ */ new Date(), value: d });
2167
2168
  let p;
2168
2169
  try {
2169
- p = JSON.parse(gt());
2170
+ p = JSON.parse(pt());
2170
2171
  } catch {
2171
2172
  p = {};
2172
2173
  }
2173
- p[l.value] = a.list, Ll(JSON.stringify(p));
2174
+ p[l.value] = s.list, Ll(JSON.stringify(p));
2174
2175
  };
2175
2176
  return n({ saveHistory: M }), {
2176
2177
  inputRef: r,
2177
- historyParams: a,
2178
+ historyParams: s,
2178
2179
  onFocus: o,
2179
- onBlur: s,
2180
+ onBlur: a,
2180
2181
  onClear: c,
2181
2182
  onUpdateValue: u,
2182
2183
  onSelectItem: g,
@@ -2185,13 +2186,13 @@ const gs = /* @__PURE__ */ B(zl, [["render", vl]]), Sl = { username: "current_us
2185
2186
  };
2186
2187
  }
2187
2188
  }), Ol = { class: "j-q-autocomplete-list-container" }, El = ["onMousedown"], $l = { class: "value" };
2188
- function Yl(e, t, n, l, r, a) {
2189
- const i = A("q-input");
2190
- return m(), b("div", {
2189
+ function Yl(e, t, n, l, r, s) {
2190
+ const i = N("q-input");
2191
+ return m(), T("div", {
2191
2192
  class: "j-q-autocomplete",
2192
2193
  style: H(`width: ${e.historyParams.width[e.searchId] || "auto"}`)
2193
2194
  }, [
2194
- C(i, Te({
2195
+ z(i, Te({
2195
2196
  class: {
2196
2197
  "j-q-input--table": e.label,
2197
2198
  "j-q-input--form": !e.label
@@ -2216,11 +2217,11 @@ function Yl(e, t, n, l, r, a) {
2216
2217
  }), null, 16, ["class", "label", "model-value", "onUpdate:modelValue", "onFocus", "onBlur", "onClear"]),
2217
2218
  oe(y("div", Ol, [
2218
2219
  y("ul", null, [
2219
- (m(!0), b(ee, null, ne(e.historyParams.filterList, (o) => (m(), b("li", {
2220
+ (m(!0), T(ee, null, ne(e.historyParams.filterList, (o) => (m(), T("li", {
2220
2221
  key: o.id,
2221
- onMousedown: (s) => e.onSelectItem(o)
2222
+ onMousedown: (a) => e.onSelectItem(o)
2222
2223
  }, [
2223
- y("span", $l, T(o.value), 1)
2224
+ y("span", $l, w(o.value), 1)
2224
2225
  ], 40, El))), 128))
2225
2226
  ])
2226
2227
  ], 512), [
@@ -2252,7 +2253,7 @@ const ms = /* @__PURE__ */ B(kl, [["render", Yl], ["__scopeId", "data-v-cd4f47bd
2252
2253
  emits: ["confirm"],
2253
2254
  slots: Object,
2254
2255
  setup(e, { emit: t }) {
2255
- const { t: n } = K(), l = h(null), r = N(() => e.confirmText || n("action.confirm")), a = N(() => e.cancelText || n("action.cancel"));
2256
+ const { t: n } = K(), l = h(null), r = C(() => e.confirmText || n("action.confirm")), s = C(() => e.cancelText || n("action.cancel"));
2256
2257
  return {
2257
2258
  popupRef: l,
2258
2259
  handleCancel: () => {
@@ -2262,24 +2263,24 @@ const ms = /* @__PURE__ */ B(kl, [["render", Yl], ["__scopeId", "data-v-cd4f47bd
2262
2263
  l.value.hide(), t("confirm");
2263
2264
  },
2264
2265
  computedConfirmText: r,
2265
- computedCancelText: a
2266
+ computedCancelText: s
2266
2267
  };
2267
2268
  }
2268
2269
  }), Ql = { class: "inline-block" }, Pl = { class: "title" }, ql = { class: "j-q-confirm-actions" };
2269
- function Ul(e, t, n, l, r, a) {
2270
- const i = A("q-card-section"), o = A("q-card"), s = A("q-popup-proxy");
2271
- return m(), b("div", Ql, [
2272
- E(e.$slots, "default", {}, void 0, !0),
2273
- C(s, { ref: "popupRef" }, {
2270
+ function Ul(e, t, n, l, r, s) {
2271
+ const i = N("q-card-section"), o = N("q-card"), a = N("q-popup-proxy");
2272
+ return m(), T("div", Ql, [
2273
+ O(e.$slots, "default", {}, void 0, !0),
2274
+ z(a, { ref: "popupRef" }, {
2274
2275
  default: I(() => [
2275
- C(o, {
2276
+ z(o, {
2276
2277
  class: "j-q-confirm",
2277
2278
  flat: ""
2278
2279
  }, {
2279
2280
  default: I(() => [
2280
- C(i, { class: "row items-center q-pa-none" }, {
2281
+ z(i, { class: "row items-center q-pa-none" }, {
2281
2282
  default: I(() => [
2282
- y("span", Pl, T(e.title), 1)
2283
+ y("span", Pl, w(e.title), 1)
2283
2284
  ]),
2284
2285
  _: 1
2285
2286
  }),
@@ -2287,11 +2288,11 @@ function Ul(e, t, n, l, r, a) {
2287
2288
  y("div", {
2288
2289
  class: "j-q-confirm-btn j-q-confirm-btn--cancel",
2289
2290
  onClick: t[0] || (t[0] = (...c) => e.handleCancel && e.handleCancel(...c))
2290
- }, T(e.computedCancelText), 1),
2291
+ }, w(e.computedCancelText), 1),
2291
2292
  y("div", {
2292
2293
  class: "j-q-confirm-btn j-q-confirm-btn--confirm",
2293
2294
  onClick: t[1] || (t[1] = (...c) => e.handleConfirm && e.handleConfirm(...c))
2294
- }, T(e.computedConfirmText), 1)
2295
+ }, w(e.computedConfirmText), 1)
2295
2296
  ])
2296
2297
  ]),
2297
2298
  _: 1
@@ -2301,7 +2302,7 @@ function Ul(e, t, n, l, r, a) {
2301
2302
  }, 512)
2302
2303
  ]);
2303
2304
  }
2304
- const ps = /* @__PURE__ */ B(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02"]]), ye = "YYYY-MM-DD HH:mm:ss", Ge = (e) => {
2305
+ const ps = /* @__PURE__ */ B(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02"]]), ye = "YYYY-MM-DD HH:mm:ss", He = (e) => {
2305
2306
  if (e === null || typeof e > "u" || e === "") return null;
2306
2307
  if (typeof e == "number") return new Date(e);
2307
2308
  if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
@@ -2313,7 +2314,7 @@ const ps = /* @__PURE__ */ B(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02
2313
2314
  components: {
2314
2315
  QField: ke,
2315
2316
  QPopupProxy: Ae,
2316
- QDate: Ct,
2317
+ QDate: zt,
2317
2318
  QIcon: le
2318
2319
  },
2319
2320
  props: {
@@ -2340,71 +2341,71 @@ const ps = /* @__PURE__ */ B(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02
2340
2341
  },
2341
2342
  slots: Object,
2342
2343
  setup(e, { emit: t, expose: n, slots: l }) {
2343
- const r = h(!1), a = h(null), { t: i } = K(), o = N({
2344
+ const r = h(!1), s = h(null), { t: i } = K(), o = C({
2344
2345
  get() {
2345
- const D = e.modelValue;
2346
- if (D == null || D === "")
2346
+ const A = e.modelValue;
2347
+ if (A == null || A === "")
2347
2348
  return null;
2348
2349
  if (e.range) {
2349
- if (typeof D == "object" && D !== null) {
2350
- const v = D.from, q = D.to, $ = Ge(v), j = Ge(q);
2351
- if ($ || j)
2350
+ if (typeof A == "object" && A !== null) {
2351
+ const Q = A.from, q = A.to, E = He(Q), j = He(q);
2352
+ if (E || j)
2352
2353
  return {
2353
- from: $ ? R.formatDate($, e.mask) : "",
2354
+ from: E ? R.formatDate(E, e.mask) : "",
2354
2355
  to: j ? R.formatDate(j, e.mask) : ""
2355
2356
  };
2356
2357
  }
2357
2358
  return null;
2358
2359
  }
2359
- const S = Ge(D);
2360
- return S ? R.formatDate(S, e.mask) : D;
2360
+ const v = He(A);
2361
+ return v ? R.formatDate(v, e.mask) : A;
2361
2362
  },
2362
- set(D) {
2363
- if (D) {
2364
- if (e.range && typeof D == "object" && D !== null) {
2365
- const S = D;
2366
- if (S.from && S.to) {
2367
- const v = R.extractDate(S.from, e.mask || "YYYY-MM-DD"), q = R.extractDate(S.to, e.mask || "YYYY-MM-DD");
2368
- R.formatDate(R.startOfDate(v, "day"), ye), R.formatDate(R.endOfDate(q, "day"), ye);
2363
+ set(A) {
2364
+ if (A) {
2365
+ if (e.range && typeof A == "object" && A !== null) {
2366
+ const v = A;
2367
+ if (v.from && v.to) {
2368
+ const Q = R.extractDate(v.from, e.mask || "YYYY-MM-DD"), q = R.extractDate(v.to, e.mask || "YYYY-MM-DD");
2369
+ R.formatDate(R.startOfDate(Q, "day"), ye), R.formatDate(R.endOfDate(q, "day"), ye);
2369
2370
  }
2370
- } else if (!e.range && typeof D == "string") {
2371
- const S = R.extractDate(D, e.mask || "YYYY-MM-DD");
2372
- R.formatDate(R.startOfDate(S, "day"), ye);
2373
- } else if (e.range && typeof D == "string") {
2374
- const S = R.extractDate(D, e.mask || "YYYY-MM-DD");
2375
- R.formatDate(R.startOfDate(S, "day"), ye), R.formatDate(R.endOfDate(S, "day"), ye);
2371
+ } else if (!e.range && typeof A == "string") {
2372
+ const v = R.extractDate(A, e.mask || "YYYY-MM-DD");
2373
+ R.formatDate(R.startOfDate(v, "day"), ye);
2374
+ } else if (e.range && typeof A == "string") {
2375
+ const v = R.extractDate(A, e.mask || "YYYY-MM-DD");
2376
+ R.formatDate(R.startOfDate(v, "day"), ye), R.formatDate(R.endOfDate(v, "day"), ye);
2376
2377
  }
2377
2378
  }
2378
- t("update:modelValue", D), D && (e.range || (r.value = !1));
2379
+ t("update:modelValue", A), A && (e.range || (r.value = !1));
2379
2380
  }
2380
- }), s = N(() => {
2381
+ }), a = C(() => {
2381
2382
  if (e.valueDisplayFn)
2382
2383
  return String(e.valueDisplayFn(e.modelValue) ?? "");
2383
- const D = o.value;
2384
- if (!D) return "";
2385
- if (e.range && typeof D == "object") {
2386
- const { from: S, to: v } = D;
2387
- return !S || !v ? "" : S && v ? `${S} - ${v}` : "";
2384
+ const A = o.value;
2385
+ if (!A) return "";
2386
+ if (e.range && typeof A == "object") {
2387
+ const { from: v, to: Q } = A;
2388
+ return !v || !Q ? "" : v && Q ? `${v} - ${Q}` : "";
2388
2389
  }
2389
- return String(D);
2390
- }), c = N(() => !!l["popup-prepend"]), u = (D) => {
2391
- t("rangeStart", D);
2392
- }, g = (D) => {
2393
- t("rangeEnd", D);
2394
- }, M = (D) => {
2395
- t("hide", D);
2390
+ return String(A);
2391
+ }), c = C(() => !!l["popup-prepend"]), u = (A) => {
2392
+ t("rangeStart", A);
2393
+ }, g = (A) => {
2394
+ t("rangeEnd", A);
2395
+ }, M = (A) => {
2396
+ t("hide", A);
2396
2397
  }, d = () => {
2397
- o.value = null, a.value.blur();
2398
+ o.value = null, s.value.blur();
2398
2399
  }, p = () => {
2399
2400
  d();
2400
2401
  };
2401
2402
  return n({ popupVisible: r }), {
2402
2403
  t: i,
2403
- fieldRef: a,
2404
+ fieldRef: s,
2404
2405
  handleClear: d,
2405
2406
  handleClearClick: p,
2406
2407
  computedValue: o,
2407
- computedValueDisplay: s,
2408
+ computedValueDisplay: a,
2408
2409
  popupVisible: r,
2409
2410
  hasPopupPrepend: c,
2410
2411
  onHidePopup: M,
@@ -2417,11 +2418,11 @@ const ps = /* @__PURE__ */ B(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02
2417
2418
  key: 0,
2418
2419
  class: "date-popup-prepend"
2419
2420
  };
2420
- function Wl(e, t, n, l, r, a) {
2421
- const i = A("q-date"), o = A("q-popup-proxy"), s = A("q-icon"), c = A("q-field");
2422
- return m(), V(c, {
2421
+ function Wl(e, t, n, l, r, s) {
2422
+ const i = N("q-date"), o = N("q-popup-proxy"), a = N("q-icon"), c = N("q-field");
2423
+ return m(), Y(c, {
2423
2424
  ref: "fieldRef",
2424
- class: Q(["j-q-date", {
2425
+ class: V(["j-q-date", {
2425
2426
  "j-q-date--table": e.label,
2426
2427
  "j-q-date--form": !e.label
2427
2428
  }]),
@@ -2439,23 +2440,23 @@ function Wl(e, t, n, l, r, a) {
2439
2440
  onClear: e.handleClear
2440
2441
  }, {
2441
2442
  control: I(() => [
2442
- y("div", Zl, T(e.computedValueDisplay), 1)
2443
+ y("div", Zl, w(e.computedValueDisplay), 1)
2443
2444
  ]),
2444
2445
  append: I(() => [
2445
- e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), V(s, {
2446
+ e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), Y(a, {
2446
2447
  key: 0,
2447
2448
  name: "app:clear",
2448
2449
  class: "cursor-pointer q-field__focusable-action",
2449
2450
  onClick: _(e.handleClearClick, ["stop", "prevent"]),
2450
2451
  size: "16px",
2451
2452
  color: "grey"
2452
- }, null, 8, ["onClick"])) : Y("", !0)
2453
+ }, null, 8, ["onClick"])) : $("", !0)
2453
2454
  ]),
2454
2455
  default: I(() => [
2455
- oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
2456
+ oe(y("div", { class: "float-placeholder" }, w(e.t("messages.pleaseSelect")), 513), [
2456
2457
  [ie, !e.computedValueDisplay && !e.label]
2457
2458
  ]),
2458
- C(o, {
2459
+ z(o, {
2459
2460
  modelValue: e.popupVisible,
2460
2461
  "onUpdate:modelValue": t[1] || (t[1] = (u) => e.popupVisible = u),
2461
2462
  onHide: e.onHidePopup
@@ -2465,10 +2466,10 @@ function Wl(e, t, n, l, r, a) {
2465
2466
  class: "date-popup__inner",
2466
2467
  style: H(e.popupInnerStyle)
2467
2468
  }, [
2468
- e.slots["popup-prepend"] ? (m(), b("div", Rl, [
2469
- E(e.$slots, "popup-prepend")
2470
- ])) : Y("", !0),
2471
- C(i, {
2469
+ e.slots["popup-prepend"] ? (m(), T("div", Rl, [
2470
+ O(e.$slots, "popup-prepend")
2471
+ ])) : $("", !0),
2472
+ z(i, {
2472
2473
  modelValue: e.computedValue,
2473
2474
  "onUpdate:modelValue": t[0] || (t[0] = (u) => e.computedValue = u),
2474
2475
  minimal: "",
@@ -2486,9 +2487,9 @@ function Wl(e, t, n, l, r, a) {
2486
2487
  _: 3
2487
2488
  }, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
2488
2489
  }
2489
- const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_third_component_state`, mt = () => localStorage.getItem(vt), pt = (e) => {
2490
+ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_third_component_state`, ft = () => localStorage.getItem(vt), yt = (e) => {
2490
2491
  localStorage.setItem(vt, e);
2491
- }, Ie = "YYYY-MM-DD HH:mm:ss", He = "YYYY/MM/DD", Gl = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), Hl = (e, t) => {
2492
+ }, Ie = "YYYY-MM-DD HH:mm:ss", Fe = "YYYY/MM/DD", Gl = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), Hl = (e, t) => {
2492
2493
  const n = t + 1;
2493
2494
  let l = e % n;
2494
2495
  return l < 0 ? l + n : l;
@@ -2511,8 +2512,8 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2511
2512
  components: {
2512
2513
  QField: ke,
2513
2514
  QPopupProxy: Ae,
2514
- QDate: Ct,
2515
- QInput: Qe,
2515
+ QDate: zt,
2516
+ QInput: Pe,
2516
2517
  QBtn: re,
2517
2518
  QIcon: le
2518
2519
  },
@@ -2534,7 +2535,7 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2534
2535
  emits: ["hide", "update:modelValue"],
2535
2536
  slots: Object,
2536
2537
  setup(e, { emit: t, expose: n, slots: l }) {
2537
- const { t: r } = K(), a = h(!1), i = h(null), o = h(!1), s = h(!1), c = () => ({
2538
+ const { t: r } = K(), s = h(!1), i = h(null), o = h(!1), a = h(!1), c = () => ({
2538
2539
  h: parseInt(e.endhhmmss[0], 10) || 0,
2539
2540
  m: parseInt(e.endhhmmss[1], 10) || 0,
2540
2541
  s: parseInt(e.endhhmmss[2], 10) || 0
@@ -2543,7 +2544,7 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2543
2544
  he(() => {
2544
2545
  if (e.showTooltip)
2545
2546
  try {
2546
- const L = mt();
2547
+ const L = ft();
2547
2548
  if (L) {
2548
2549
  const f = JSON.parse(L);
2549
2550
  u.value = f.datetimeTooltipVisible !== !1;
@@ -2558,100 +2559,100 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2558
2559
  const M = () => {
2559
2560
  u.value = !1, g && (clearTimeout(g), g = null);
2560
2561
  try {
2561
- const L = mt();
2562
+ const L = ft();
2562
2563
  let f = L ? JSON.parse(L) : {};
2563
- f.datetimeTooltipVisible = !1, pt(JSON.stringify(f));
2564
+ f.datetimeTooltipVisible = !1, yt(JSON.stringify(f));
2564
2565
  } catch {
2565
- pt(JSON.stringify({ datetimeTooltipVisible: !1 }));
2566
+ yt(JSON.stringify({ datetimeTooltipVisible: !1 }));
2566
2567
  }
2567
- }, d = h({ from: null, to: null }), p = h(""), D = De(fe(null)), S = De(fe(null)), v = h(null), q = h(""), $ = De(fe(null)), j = N({
2568
+ }, d = h({ from: null, to: null }), p = h(""), A = De(fe(null)), v = De(fe(null)), Q = h(null), q = h(""), E = De(fe(null)), j = C({
2568
2569
  get: () => typeof e.modelValue == "string" && e.modelValue === "" ? null : e.modelValue,
2569
2570
  set: (L) => t("update:modelValue", L)
2570
- }), w = () => {
2571
+ }), D = () => {
2571
2572
  if (o.value) return;
2572
- s.value = !0;
2573
+ a.value = !0;
2573
2574
  const L = j.value;
2574
2575
  if (e.range) {
2575
- const f = L || { from: null, to: null }, z = se(f.from);
2576
- Object.assign(D, fe(f.from));
2577
- const x = z ? R.formatDate(z, He) : "", F = se(f.to), X = fe(f.to);
2578
- X.h === 0 && X.m === 0 && X.s === 0 && F ? Object.assign(S, c()) : Object.assign(S, X);
2579
- const pe = F ? R.formatDate(F, He) : "";
2576
+ const f = L || { from: null, to: null }, b = se(f.from);
2577
+ Object.assign(A, fe(f.from));
2578
+ const x = b ? R.formatDate(b, Fe) : "", F = se(f.to), X = fe(f.to);
2579
+ X.h === 0 && X.m === 0 && X.s === 0 && F ? Object.assign(v, c()) : Object.assign(v, X);
2580
+ const pe = F ? R.formatDate(F, Fe) : "";
2580
2581
  d.value = {
2581
- from: z ? R.formatDate(z, Ie) : null,
2582
- to: F ? Me(pe, S) : null
2582
+ from: b ? R.formatDate(b, Ie) : null,
2583
+ to: F ? Me(pe, v) : null
2583
2584
  }, p.value = x && pe ? { from: x, to: pe } : "";
2584
2585
  } else {
2585
2586
  const f = se(L);
2586
- Object.assign($, fe(L)), v.value = f ? R.formatDate(f, Ie) : null, q.value = f ? R.formatDate(f, He) : "";
2587
+ Object.assign(E, fe(L)), Q.value = f ? R.formatDate(f, Ie) : null, q.value = f ? R.formatDate(f, Fe) : "";
2587
2588
  }
2588
2589
  de(() => {
2589
- s.value = !1;
2590
+ a.value = !1;
2590
2591
  });
2591
2592
  };
2592
- G(() => e.modelValue, w, { immediate: !0 }), G(
2593
+ G(() => e.modelValue, D, { immediate: !0 }), G(
2593
2594
  p,
2594
2595
  (L, f) => {
2595
- if (e.range && !s.value)
2596
+ if (e.range && !a.value)
2596
2597
  if (typeof L == "object" && L !== null) {
2597
- const z = L.from, x = L.to;
2598
- if (f && typeof f == "object" && f !== null ? (z !== f.from && Object.assign(D, { h: 0, m: 0, s: 0 }), x !== f.to && Object.assign(S, c())) : (Object.assign(D, { h: 0, m: 0, s: 0 }), Object.assign(S, c())), z && x) {
2599
- const F = Me(z, D), X = Me(x, S);
2598
+ const b = L.from, x = L.to;
2599
+ if (f && typeof f == "object" && f !== null ? (b !== f.from && Object.assign(A, { h: 0, m: 0, s: 0 }), x !== f.to && Object.assign(v, c())) : (Object.assign(A, { h: 0, m: 0, s: 0 }), Object.assign(v, c())), b && x) {
2600
+ const F = Me(b, A), X = Me(x, v);
2600
2601
  if (d.value.from = F, d.value.to = X, F && X) {
2601
- const pe = se(F), rt = se(X);
2602
- pe && rt && pe.getTime() > rt.getTime() ? j.value = { from: X, to: F } : j.value = { from: F, to: X };
2602
+ const pe = se(F), ct = se(X);
2603
+ pe && ct && pe.getTime() > ct.getTime() ? j.value = { from: X, to: F } : j.value = { from: F, to: X };
2603
2604
  }
2604
2605
  }
2605
- } else typeof L == "string" && f && typeof f == "object" && (Object.assign(D, { h: 0, m: 0, s: 0 }), d.value.from = Me(L, D));
2606
+ } else typeof L == "string" && f && typeof f == "object" && (Object.assign(A, { h: 0, m: 0, s: 0 }), d.value.from = Me(L, A));
2606
2607
  },
2607
2608
  { deep: !0 }
2608
2609
  ), G(q, (L, f) => {
2609
- e.range || o.value || s.value || (L !== f && Object.assign($, { h: 0, m: 0, s: 0 }), v.value = Me(L, $));
2610
+ e.range || o.value || a.value || (L !== f && Object.assign(E, { h: 0, m: 0, s: 0 }), Q.value = Me(L, E));
2610
2611
  });
2611
- const O = (L) => {
2612
+ const k = (L) => {
2612
2613
  if (L === "single")
2613
- v.value = Me(q.value, $);
2614
+ Q.value = Me(q.value, E);
2614
2615
  else {
2615
- const f = L === "from" ? D : S;
2616
- let z = "";
2617
- typeof p.value == "object" && p.value !== null ? z = L === "from" ? p.value.from : p.value.to : L === "from" && typeof p.value == "string" && (z = p.value), z && (d.value[L] = Me(z, f));
2616
+ const f = L === "from" ? A : v;
2617
+ let b = "";
2618
+ typeof p.value == "object" && p.value !== null ? b = L === "from" ? p.value.from : p.value.to : L === "from" && typeof p.value == "string" && (b = p.value), b && (d.value[L] = Me(b, f));
2618
2619
  }
2619
2620
  };
2620
2621
  G(
2621
2622
  d,
2622
2623
  (L) => {
2623
- if (!(!e.range || s.value) && L.from && L.to) {
2624
- const f = se(L.from), z = se(L.to);
2625
- f && z && f.getTime() > z.getTime() ? j.value = { from: L.to, to: L.from } : j.value = L;
2624
+ if (!(!e.range || a.value) && L.from && L.to) {
2625
+ const f = se(L.from), b = se(L.to);
2626
+ f && b && f.getTime() > b.getTime() ? j.value = { from: L.to, to: L.from } : j.value = L;
2626
2627
  }
2627
2628
  },
2628
2629
  { deep: !0 }
2629
- ), G(v, (L) => {
2630
- e.range || s.value || (j.value = L);
2630
+ ), G(Q, (L) => {
2631
+ e.range || a.value || (j.value = L);
2631
2632
  });
2632
- const k = (L, f, z, x) => N({
2633
+ const S = (L, f, b, x) => C({
2633
2634
  get: () => String(L[f]).padStart(2, "0"),
2634
2635
  set: (F) => {
2635
2636
  let X = parseInt(F, 10);
2636
- isNaN(X) && (X = 0), L[f] = Gl(X, z), O(x);
2637
+ isNaN(X) && (X = 0), L[f] = Gl(X, b), k(x);
2637
2638
  }
2638
- }), Z = k(D, "h", 23, "from"), P = k(D, "m", 59, "from"), J = k(D, "s", 59, "from"), te = k(S, "h", 23, "to"), me = k(S, "m", 59, "to"), ce = k(S, "s", 59, "to"), Ne = k($, "h", 23, "single"), Ee = k($, "m", 59, "single"), Pe = k($, "s", 59, "single"), qe = () => a.value = !1, $e = () => {
2639
+ }), Z = S(A, "h", 23, "from"), P = S(A, "m", 59, "from"), J = S(A, "s", 59, "from"), te = S(v, "h", 23, "to"), me = S(v, "m", 59, "to"), ce = S(v, "s", 59, "to"), Ne = S(E, "h", 23, "single"), Ee = S(E, "m", 59, "single"), qe = S(E, "s", 59, "single"), Ue = () => s.value = !1, $e = () => {
2639
2640
  var L;
2640
- o.value = !0, e.range ? (d.value = { from: null, to: null }, Object.assign(D, { h: 0, m: 0, s: 0 }), Object.assign(S, c()), p.value = { from: "", to: "" }) : (v.value = null, Object.assign($, { h: 0, m: 0, s: 0 }), q.value = ""), j.value = null, (L = i.value) == null || L.blur(), a.value = !1, setTimeout(() => o.value = !1, 0);
2641
- }, Ue = () => {
2641
+ o.value = !0, e.range ? (d.value = { from: null, to: null }, Object.assign(A, { h: 0, m: 0, s: 0 }), Object.assign(v, c()), p.value = { from: "", to: "" }) : (Q.value = null, Object.assign(E, { h: 0, m: 0, s: 0 }), q.value = ""), j.value = null, (L = i.value) == null || L.blur(), s.value = !1, setTimeout(() => o.value = !1, 0);
2642
+ }, Be = () => {
2642
2643
  $e();
2643
- }, Be = (L, f, z, x, F) => {
2644
+ }, Ze = (L, f, b, x, F) => {
2644
2645
  L.preventDefault();
2645
2646
  const X = L.deltaY > 0 ? -1 : 1;
2646
- f[z] = Hl(f[z] + X, x), O(F);
2647
- }, Ze = N(() => {
2647
+ f[b] = Hl(f[b] + X, x), k(F);
2648
+ }, Re = C(() => {
2648
2649
  if (e.valueDisplayFn) return String(e.valueDisplayFn(e.modelValue) ?? "");
2649
2650
  if (e.range) {
2650
2651
  const L = e.modelValue;
2651
2652
  if (!L) return "";
2652
- const { from: f, to: z } = L;
2653
- if (!f || !z) return "";
2654
- const x = se(f), F = se(z);
2653
+ const { from: f, to: b } = L;
2654
+ if (!f || !b) return "";
2655
+ const x = se(f), F = se(b);
2655
2656
  if (x && F) return `${R.formatDate(x, Ie)} - ${R.formatDate(F, Ie)}`;
2656
2657
  } else {
2657
2658
  const L = se(e.modelValue);
@@ -2659,23 +2660,23 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2659
2660
  }
2660
2661
  return "";
2661
2662
  }), Ye = () => {
2662
- e.disable || e.readonly || (w(), a.value = !0, u.value && (g && clearTimeout(g), g = setTimeout(() => {
2663
+ e.disable || e.readonly || (D(), s.value = !0, u.value && (g && clearTimeout(g), g = setTimeout(() => {
2663
2664
  M();
2664
2665
  }, 2e3)));
2665
- }, Re = (L) => {
2666
+ }, We = (L) => {
2666
2667
  t("hide", L);
2667
2668
  };
2668
- return n({ popupVisible: a }), {
2669
+ return n({ popupVisible: s }), {
2669
2670
  t: r,
2670
2671
  fieldRef: i,
2671
- popupVisible: a,
2672
+ popupVisible: s,
2672
2673
  handleClear: $e,
2673
- handleClearClick: Ue,
2674
+ handleClearClick: Be,
2674
2675
  handleFieldClick: Ye,
2675
- handleConfirm: qe,
2676
- handleTimeWheel: Be,
2676
+ handleConfirm: Ue,
2677
+ handleTimeWheel: Ze,
2677
2678
  computedValue: j,
2678
- computedValueDisplay: Ze,
2679
+ computedValueDisplay: Re,
2679
2680
  currentRangeDate: p,
2680
2681
  currentSingleDate: q,
2681
2682
  fromH: Z,
@@ -2686,11 +2687,11 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2686
2687
  toS: ce,
2687
2688
  singleH: Ne,
2688
2689
  singleM: Ee,
2689
- singleS: Pe,
2690
- fromTimeParts: D,
2691
- toTimeParts: S,
2692
- singleTimeParts: $,
2693
- onHidePopup: Re,
2690
+ singleS: qe,
2691
+ fromTimeParts: A,
2692
+ toTimeParts: v,
2693
+ singleTimeParts: E,
2694
+ onHidePopup: We,
2694
2695
  slots: l,
2695
2696
  showScrollTooltip: u,
2696
2697
  closeTooltip: M
@@ -2703,11 +2704,11 @@ const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_th
2703
2704
  key: 0,
2704
2705
  class: "datetime-scroll-tooltip"
2705
2706
  }, no = { class: "tooltip-content" }, lo = { class: "row column q-mb-sm q-mt-auto" }, oo = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, ao = { class: "row q-gutter-x-xs items-center" }, so = { class: "row column q-mb-md" }, io = { class: "fs-12 text-grey h-30 row items-center" }, ro = { class: "row q-gutter-x-xs items-center" }, uo = { class: "row column q-mb-sm q-mt-auto" }, co = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, Mo = { class: "row q-gutter-x-xs items-center" };
2706
- function go(e, t, n, l, r, a) {
2707
- const i = A("q-date"), o = A("q-icon"), s = A("q-input"), c = A("q-btn"), u = A("q-popup-proxy"), g = A("q-field");
2708
- return m(), V(g, {
2707
+ function go(e, t, n, l, r, s) {
2708
+ const i = N("q-date"), o = N("q-icon"), a = N("q-input"), c = N("q-btn"), u = N("q-popup-proxy"), g = N("q-field");
2709
+ return m(), Y(g, {
2709
2710
  ref: "fieldRef",
2710
- class: Q(["j-q-datetime j-q-datetime-range", {
2711
+ class: V(["j-q-datetime j-q-datetime-range", {
2711
2712
  "j-q-datetime--table": e.label,
2712
2713
  "j-q-datetime--form": !e.label
2713
2714
  }]),
@@ -2724,34 +2725,34 @@ function go(e, t, n, l, r, a) {
2724
2725
  onClick: e.handleFieldClick
2725
2726
  }, {
2726
2727
  control: I(() => [
2727
- y("div", Jl, T(e.computedValueDisplay), 1)
2728
+ y("div", Jl, w(e.computedValueDisplay), 1)
2728
2729
  ]),
2729
2730
  append: I(() => [
2730
- e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), V(o, {
2731
+ e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), Y(o, {
2731
2732
  key: 0,
2732
2733
  name: "app:clear",
2733
2734
  class: "cursor-pointer q-field__focusable-action q-mr-xs",
2734
2735
  onClick: _(e.handleClearClick, ["stop", "prevent"]),
2735
2736
  size: "16px",
2736
2737
  color: "grey"
2737
- }, null, 8, ["onClick"])) : Y("", !0)
2738
+ }, null, 8, ["onClick"])) : $("", !0)
2738
2739
  ]),
2739
2740
  default: I(() => [
2740
- oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
2741
+ oe(y("div", { class: "float-placeholder" }, w(e.t("messages.pleaseSelect")), 513), [
2741
2742
  [ie, !e.computedValueDisplay && !e.label]
2742
2743
  ]),
2743
- C(u, {
2744
+ z(u, {
2744
2745
  modelValue: e.popupVisible,
2745
2746
  "onUpdate:modelValue": t[19] || (t[19] = (M) => e.popupVisible = M),
2746
2747
  onHide: e.onHidePopup
2747
2748
  }, {
2748
2749
  default: I(() => [
2749
2750
  y("div", Kl, [
2750
- e.slots["popup-prepend"] ? (m(), b("div", Xl, [
2751
- E(e.$slots, "popup-prepend")
2752
- ])) : Y("", !0),
2751
+ e.slots["popup-prepend"] ? (m(), T("div", Xl, [
2752
+ O(e.$slots, "popup-prepend")
2753
+ ])) : $("", !0),
2753
2754
  y("div", _l, [
2754
- C(i, {
2755
+ z(i, {
2755
2756
  "model-value": e.range ? e.currentRangeDate : e.currentSingleDate,
2756
2757
  "onUpdate:modelValue": t[0] || (t[0] = (M) => e.range ? e.currentRangeDate = M : e.currentSingleDate = M),
2757
2758
  minimal: "",
@@ -2759,12 +2760,12 @@ function go(e, t, n, l, r, a) {
2759
2760
  range: e.range
2760
2761
  }, null, 8, ["model-value", "options", "range"]),
2761
2762
  y("div", eo, [
2762
- C(qt, { name: "tooltip-fade" }, {
2763
+ z(qt, { name: "tooltip-fade" }, {
2763
2764
  default: I(() => [
2764
- e.showScrollTooltip ? (m(), b("div", to, [
2765
+ e.showScrollTooltip ? (m(), T("div", to, [
2765
2766
  y("div", no, [
2766
- W(T(e.t("messages.date.scrollTooltip")) + " ", 1),
2767
- C(o, {
2767
+ W(w(e.t("messages.date.scrollTooltip")) + " ", 1),
2768
+ z(o, {
2768
2769
  name: "close",
2769
2770
  size: "14px",
2770
2771
  class: "tooltip-close",
@@ -2772,15 +2773,15 @@ function go(e, t, n, l, r, a) {
2772
2773
  }, null, 8, ["onClick"])
2773
2774
  ]),
2774
2775
  t[20] || (t[20] = y("div", { class: "tooltip-arrow" }, null, -1))
2775
- ])) : Y("", !0)
2776
+ ])) : $("", !0)
2776
2777
  ]),
2777
2778
  _: 1
2778
2779
  }),
2779
- e.range ? (m(), b(ee, { key: 0 }, [
2780
+ e.range ? (m(), T(ee, { key: 0 }, [
2780
2781
  y("div", lo, [
2781
- y("div", oo, T(e.t("messages.date.start")), 1),
2782
+ y("div", oo, w(e.t("messages.date.start")), 1),
2782
2783
  y("div", ao, [
2783
- C(s, {
2784
+ z(a, {
2784
2785
  key: "fromH",
2785
2786
  modelValue: e.fromH,
2786
2787
  "onUpdate:modelValue": t[1] || (t[1] = (M) => e.fromH = M),
@@ -2792,7 +2793,7 @@ function go(e, t, n, l, r, a) {
2792
2793
  onWheel: t[2] || (t[2] = _((M) => e.handleTimeWheel(M, e.fromTimeParts, "h", 23, "from"), ["prevent"]))
2793
2794
  }, null, 8, ["modelValue", "label"]),
2794
2795
  t[21] || (t[21] = y("div", { class: "text-caption" }, ":", -1)),
2795
- C(s, {
2796
+ z(a, {
2796
2797
  key: "fromM",
2797
2798
  modelValue: e.fromM,
2798
2799
  "onUpdate:modelValue": t[3] || (t[3] = (M) => e.fromM = M),
@@ -2804,7 +2805,7 @@ function go(e, t, n, l, r, a) {
2804
2805
  onWheel: t[4] || (t[4] = _((M) => e.handleTimeWheel(M, e.fromTimeParts, "m", 59, "from"), ["prevent"]))
2805
2806
  }, null, 8, ["modelValue", "label"]),
2806
2807
  t[22] || (t[22] = y("div", { class: "text-caption" }, ":", -1)),
2807
- C(s, {
2808
+ z(a, {
2808
2809
  key: "fromS",
2809
2810
  modelValue: e.fromS,
2810
2811
  "onUpdate:modelValue": t[5] || (t[5] = (M) => e.fromS = M),
@@ -2818,9 +2819,9 @@ function go(e, t, n, l, r, a) {
2818
2819
  ])
2819
2820
  ]),
2820
2821
  y("div", so, [
2821
- y("div", io, T(e.t("messages.date.end")), 1),
2822
+ y("div", io, w(e.t("messages.date.end")), 1),
2822
2823
  y("div", ro, [
2823
- C(s, {
2824
+ z(a, {
2824
2825
  key: "toH",
2825
2826
  modelValue: e.toH,
2826
2827
  "onUpdate:modelValue": t[7] || (t[7] = (M) => e.toH = M),
@@ -2832,7 +2833,7 @@ function go(e, t, n, l, r, a) {
2832
2833
  onWheel: t[8] || (t[8] = _((M) => e.handleTimeWheel(M, e.toTimeParts, "h", 23, "to"), ["prevent"]))
2833
2834
  }, null, 8, ["modelValue", "label"]),
2834
2835
  t[23] || (t[23] = y("div", { class: "text-caption" }, ":", -1)),
2835
- C(s, {
2836
+ z(a, {
2836
2837
  key: "toM",
2837
2838
  modelValue: e.toM,
2838
2839
  "onUpdate:modelValue": t[9] || (t[9] = (M) => e.toM = M),
@@ -2844,7 +2845,7 @@ function go(e, t, n, l, r, a) {
2844
2845
  onWheel: t[10] || (t[10] = _((M) => e.handleTimeWheel(M, e.toTimeParts, "m", 59, "to"), ["prevent"]))
2845
2846
  }, null, 8, ["modelValue", "label"]),
2846
2847
  t[24] || (t[24] = y("div", { class: "text-caption" }, ":", -1)),
2847
- C(s, {
2848
+ z(a, {
2848
2849
  key: "toS",
2849
2850
  modelValue: e.toS,
2850
2851
  "onUpdate:modelValue": t[11] || (t[11] = (M) => e.toS = M),
@@ -2857,11 +2858,11 @@ function go(e, t, n, l, r, a) {
2857
2858
  }, null, 8, ["modelValue", "label"])
2858
2859
  ])
2859
2860
  ])
2860
- ], 64)) : (m(), b(ee, { key: 1 }, [
2861
+ ], 64)) : (m(), T(ee, { key: 1 }, [
2861
2862
  y("div", uo, [
2862
- y("div", co, T(e.t("messages.date.hour")) + "/" + T(e.t("messages.date.minute")) + "/" + T(e.t("messages.date.second")), 1),
2863
+ y("div", co, w(e.t("messages.date.hour")) + "/" + w(e.t("messages.date.minute")) + "/" + w(e.t("messages.date.second")), 1),
2863
2864
  y("div", Mo, [
2864
- C(s, {
2865
+ z(a, {
2865
2866
  key: "singleH",
2866
2867
  modelValue: e.singleH,
2867
2868
  "onUpdate:modelValue": t[13] || (t[13] = (M) => e.singleH = M),
@@ -2873,7 +2874,7 @@ function go(e, t, n, l, r, a) {
2873
2874
  onWheel: t[14] || (t[14] = _((M) => e.handleTimeWheel(M, e.singleTimeParts, "h", 23, "single"), ["prevent"]))
2874
2875
  }, null, 8, ["modelValue", "label"]),
2875
2876
  t[25] || (t[25] = y("div", { class: "text-caption" }, ":", -1)),
2876
- C(s, {
2877
+ z(a, {
2877
2878
  key: "singleM",
2878
2879
  modelValue: e.singleM,
2879
2880
  "onUpdate:modelValue": t[15] || (t[15] = (M) => e.singleM = M),
@@ -2885,7 +2886,7 @@ function go(e, t, n, l, r, a) {
2885
2886
  onWheel: t[16] || (t[16] = _((M) => e.handleTimeWheel(M, e.singleTimeParts, "m", 59, "single"), ["prevent"]))
2886
2887
  }, null, 8, ["modelValue", "label"]),
2887
2888
  t[26] || (t[26] = y("div", { class: "text-caption" }, ":", -1)),
2888
- C(s, {
2889
+ z(a, {
2889
2890
  key: "singleS",
2890
2891
  modelValue: e.singleS,
2891
2892
  "onUpdate:modelValue": t[17] || (t[17] = (M) => e.singleS = M),
@@ -2903,7 +2904,7 @@ function go(e, t, n, l, r, a) {
2903
2904
  y("div", { class: "row q-gutter-x-xs items-center" })
2904
2905
  ], -1))
2905
2906
  ], 64)),
2906
- C(c, {
2907
+ z(c, {
2907
2908
  label: e.t("messages.date.confirm"),
2908
2909
  onClick: e.handleConfirm,
2909
2910
  unelevated: "",
@@ -2922,20 +2923,20 @@ function go(e, t, n, l, r, a) {
2922
2923
  }, 8, ["class", "model-value", "dense", "disable", "label", "outlined", "rules", "title", "onClick"]);
2923
2924
  }
2924
2925
  const ys = /* @__PURE__ */ B(Fl, [["render", go]]);
2925
- function _e(e) {
2926
+ function et(e) {
2926
2927
  return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "--";
2927
2928
  }
2928
2929
  function St(e) {
2929
- const { size: t, unit: n = "B", maxUnit: l, numberFormatOptions: r } = e, { size: a, unit: i } = Oe({ size: t, unit: n }, { maxUnit: l });
2930
- return `${a.toLocaleString(void 0, r)} ${i}`;
2930
+ const { size: t, unit: n = "B", maxUnit: l, numberFormatOptions: r } = e, { size: s, unit: i } = Oe({ size: t, unit: n }, { maxUnit: l });
2931
+ return `${s.toLocaleString(void 0, r)} ${i}`;
2931
2932
  }
2932
2933
  function Oe(e, t) {
2933
- const n = ["B", "KB", "MB", "GB", "TB"], { size: l, unit: r = "B" } = e, a = n.indexOf(r);
2934
- if (a === -1 || a === n.length - 1) return { size: l, unit: r };
2934
+ const n = ["B", "KB", "MB", "GB", "TB"], { size: l, unit: r = "B" } = e, s = n.indexOf(r);
2935
+ if (s === -1 || s === n.length - 1) return { size: l, unit: r };
2935
2936
  const i = (t == null ? void 0 : t.maxUnit) || "TB", o = n.indexOf(i);
2936
- return a === o ? { size: l, unit: r } : l < 1024 ? { size: l, unit: r } : Oe({ size: l / 1024, unit: n[a + 1] }, t);
2937
+ return s === o ? { size: l, unit: r } : l < 1024 ? { size: l, unit: r } : Oe({ size: l / 1024, unit: n[s + 1] }, t);
2937
2938
  }
2938
- function st(e, t = "--") {
2939
+ function ut(e, t = "--") {
2939
2940
  return (n, l) => n === 0 || n === "0" ? e ? e(n, l) : n : n ? e ? e(n, l) : n.toString() : t;
2940
2941
  }
2941
2942
  function Lt(e) {
@@ -2957,7 +2958,7 @@ function Lt(e) {
2957
2958
  }
2958
2959
  function be(e, t = "YYYY-MM-DD HH:mm:ss") {
2959
2960
  const n = Lt(e);
2960
- return _e(n ? R.formatDate(n, t) : e);
2961
+ return et(n ? R.formatDate(n, t) : e);
2961
2962
  }
2962
2963
  function mo(e = "YYYY-MM-DD HH:mm:ss", t = "--") {
2963
2964
  return (n, l) => {
@@ -2967,15 +2968,15 @@ function mo(e = "YYYY-MM-DD HH:mm:ss", t = "--") {
2967
2968
  if (!n || n === "Invalid Date")
2968
2969
  return t;
2969
2970
  try {
2970
- const a = R.formatDate(r, e);
2971
- return !a || a === "Invalid Date" ? t : a;
2972
- } catch (a) {
2973
- return console.error("Date formatting failed:", a), t;
2971
+ const s = R.formatDate(r, e);
2972
+ return !s || s === "Invalid Date" ? t : s;
2973
+ } catch (s) {
2974
+ return console.error("Date formatting failed:", s), t;
2974
2975
  }
2975
2976
  };
2976
2977
  }
2977
2978
  function po(e = "--", t) {
2978
- return st((l) => {
2979
+ return ut((l) => {
2979
2980
  const r = typeof l == "string" ? Number(l) : l;
2980
2981
  return Number.isFinite(r) ? St({
2981
2982
  size: r,
@@ -2988,16 +2989,16 @@ function po(e = "--", t) {
2988
2989
  }, e);
2989
2990
  }
2990
2991
  function fo(e = "--", t) {
2991
- return st((l) => {
2992
+ return ut((l) => {
2992
2993
  const r = ["B", "KB", "MB", "GB", "TB"];
2993
- let a = typeof l == "string" ? Number(l) : l, i = (t == null ? void 0 : t.unit) || "B";
2994
+ let s = typeof l == "string" ? Number(l) : l, i = (t == null ? void 0 : t.unit) || "B";
2994
2995
  const o = (t == null ? void 0 : t.digits) ?? 2;
2995
- if (a === 0)
2996
- return `${a.toFixed(o)} ${i}`;
2997
- let s = r.indexOf(i);
2998
- for (s === -1 && (s = 0, i = "B"); s < r.length - 1 && a % 1024 === 0; )
2999
- a = a / 1024, s++, i = r[s];
3000
- return `${a.toFixed(o)} ${i}`;
2996
+ if (s === 0)
2997
+ return `${s.toFixed(o)} ${i}`;
2998
+ let a = r.indexOf(i);
2999
+ for (a === -1 && (a = 0, i = "B"); a < r.length - 1 && s % 1024 === 0; )
3000
+ s = s / 1024, a++, i = r[a];
3001
+ return `${s.toFixed(o)} ${i}`;
3001
3002
  }, e);
3002
3003
  }
3003
3004
  const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3005,15 +3006,15 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3005
3006
  defaultAutoDataFormat: fo,
3006
3007
  defaultDataFormat: po,
3007
3008
  defaultDateFormat: mo,
3008
- defaultFill: _e,
3009
- defaultFormat: st,
3009
+ defaultFill: et,
3010
+ defaultFormat: ut,
3010
3011
  formatDate: be,
3011
3012
  formatSize: St,
3012
3013
  getUpperSize: Oe
3013
3014
  }, Symbol.toStringTag, { value: "Module" })), Io = U({
3014
3015
  name: "JQDetailList",
3015
3016
  components: {
3016
- JQTooltip: at,
3017
+ JQTooltip: rt,
3017
3018
  JCCopy: nn,
3018
3019
  QIcon: le,
3019
3020
  QTooltip: Le
@@ -3042,14 +3043,14 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3042
3043
  },
3043
3044
  slots: Object,
3044
3045
  setup(e, { slots: t }) {
3045
- const n = (d) => d.visible === void 0 || d.visible === null ? !0 : typeof d.visible == "boolean" ? d.visible : typeof d.visible == "function" ? d.visible(e.data) : !0, l = N(() => e.items.filter((d) => n(d))), r = N(() => e.layout === "horizontal-left" ? {
3046
+ const n = (d) => d.visible === void 0 || d.visible === null ? !0 : typeof d.visible == "boolean" ? d.visible : typeof d.visible == "function" ? d.visible(e.data) : !0, l = C(() => e.items.filter((d) => n(d))), r = C(() => e.layout === "horizontal-left" ? {
3046
3047
  "--label-width": e.labelWidth
3047
- } : {}), a = N(() => e.items.filter((d) => Reflect.has(t, `item-value-${d.name}`))), i = (d, p) => {
3048
- const { options: D, findByKey: S, displayKey: v = "label" } = d;
3049
- if (!D || !S)
3048
+ } : {}), s = C(() => e.items.filter((d) => Reflect.has(t, `item-value-${d.name}`))), i = (d, p) => {
3049
+ const { options: A, findByKey: v, displayKey: Q = "label" } = d;
3050
+ if (!A || !v)
3050
3051
  return p;
3051
- const q = D.find(($) => String($[S]) === String(p));
3052
- return q ? q[v] : p;
3052
+ const q = A.find((E) => String(E[v]) === String(p));
3053
+ return q ? q[Q] : p;
3053
3054
  }, o = (d) => {
3054
3055
  let p = e.data[d.name];
3055
3056
  if (p == null || p === "")
@@ -3061,26 +3062,26 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3061
3062
  return be(p, d.date);
3062
3063
  }
3063
3064
  return String(p);
3064
- }, s = (d) => {
3065
+ }, a = (d) => {
3065
3066
  let p = e.data[d.name];
3066
- const { options: D, findByKey: S } = d;
3067
- if (!D || !S)
3067
+ const { options: A, findByKey: v } = d;
3068
+ if (!A || !v)
3068
3069
  return "";
3069
- const v = D.find((q) => String(q[S]) === String(p));
3070
- return v ? v.class : "";
3070
+ const Q = A.find((q) => String(q[v]) === String(p));
3071
+ return Q ? Q.class : "";
3071
3072
  }, c = (d) => d.onClick ? d.clickable === void 0 || d.clickable === null ? !0 : typeof d.clickable == "boolean" ? d.clickable : typeof d.clickable == "function" ? d.clickable(e.data) : !1 : !1;
3072
3073
  return {
3073
3074
  visibleItems: l,
3074
- getOptionClass: s,
3075
- computedSlotItems: a,
3075
+ getOptionClass: a,
3076
+ computedSlotItems: s,
3076
3077
  getDefaultValue: o,
3077
3078
  getCopyValue: (d) => {
3078
3079
  let p = e.data[d.name];
3079
3080
  if (p == null || p === "")
3080
3081
  return "";
3081
3082
  if (d.options && d.findByKey && (p = i(d, p)), d.format && typeof d.format == "function" && (p = d.format(p, e.data), typeof p == "string" && p.includes("<"))) {
3082
- const D = document.createElement("div");
3083
- D.innerHTML = p, p = D.textContent || D.innerText || "";
3083
+ const A = document.createElement("div");
3084
+ A.innerHTML = p, p = A.textContent || A.innerText || "";
3084
3085
  }
3085
3086
  if (d.date) {
3086
3087
  if (d.date === !0 && typeof d.date == "boolean")
@@ -3113,26 +3114,26 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3113
3114
  key: 0,
3114
3115
  class: "value-suffix q-ml-xs"
3115
3116
  };
3116
- function $o(e, t, n, l, r, a) {
3117
- const i = A("q-tooltip"), o = A("q-icon"), s = A("j-q-tooltip"), c = A("j-c-copy");
3118
- return e.layout === "vertical" ? (m(), b("div", {
3117
+ function $o(e, t, n, l, r, s) {
3118
+ const i = N("q-tooltip"), o = N("q-icon"), a = N("j-q-tooltip"), c = N("j-c-copy");
3119
+ return e.layout === "vertical" ? (m(), T("div", {
3119
3120
  key: 0,
3120
- class: Q(["row", e.gutter])
3121
+ class: V(["row", e.gutter])
3121
3122
  }, [
3122
- (m(!0), b(ee, null, ne(e.visibleItems, (u) => (m(), b("div", {
3123
+ (m(!0), T(ee, null, ne(e.visibleItems, (u) => (m(), T("div", {
3123
3124
  key: u.name,
3124
- class: Q([[`col-${u.span || 6}`], "detail-item-container"])
3125
+ class: V([[`col-${u.span || 6}`], "detail-item-container"])
3125
3126
  }, [
3126
3127
  y("div", Do, [
3127
- W(T(u.label) + " ", 1),
3128
- u.tip ? (m(), V(o, {
3128
+ W(w(u.label) + " ", 1),
3129
+ u.tip ? (m(), Y(o, {
3129
3130
  key: 0,
3130
3131
  name: "app:question",
3131
3132
  size: "14px",
3132
3133
  class: "q-ml-xs tip-icon"
3133
3134
  }, {
3134
3135
  default: I(() => [
3135
- C(i, {
3136
+ z(i, {
3136
3137
  class: "j-q-tooltip-content",
3137
3138
  anchor: "top middle",
3138
3139
  self: "bottom middle",
@@ -3140,199 +3141,199 @@ function $o(e, t, n, l, r, a) {
3140
3141
  "max-width": "300px"
3141
3142
  }, {
3142
3143
  default: I(() => [
3143
- W(T(u.tip), 1)
3144
+ W(w(u.tip), 1)
3144
3145
  ]),
3145
3146
  _: 2
3146
3147
  }, 1024)
3147
3148
  ]),
3148
3149
  _: 2
3149
- }, 1024)) : Y("", !0)
3150
+ }, 1024)) : $("", !0)
3150
3151
  ]),
3151
3152
  y("div", {
3152
- class: Q(["detail-value-wrapper row items-center no-wrap", `text-${u.align || "left"}`])
3153
+ class: V(["detail-value-wrapper row items-center no-wrap", `text-${u.align || "left"}`])
3153
3154
  }, [
3154
3155
  y("div", {
3155
- class: Q(["detail-value text-body2", { clickable: e.isClickable(u) }]),
3156
+ class: V(["detail-value text-body2", { clickable: e.isClickable(u) }]),
3156
3157
  onClick: (g) => e.handleClick(u)
3157
3158
  }, [
3158
- e.slots[`item-value-${u.name}`] ? E(e.$slots, `item-value-${u.name}`, {
3159
+ e.slots[`item-value-${u.name}`] ? O(e.$slots, `item-value-${u.name}`, {
3159
3160
  key: 0,
3160
3161
  value: e.data[u.name],
3161
3162
  item: u,
3162
3163
  data: e.data,
3163
3164
  fieldName: u.name
3164
- }, void 0, !0) : u.html ? (m(), b("div", {
3165
+ }, void 0, !0) : u.html ? (m(), T("div", {
3165
3166
  key: 1,
3166
3167
  innerHTML: e.getDefaultValue(u),
3167
- class: Q([e.getOptionClass(u), "html-content"]),
3168
+ class: V([e.getOptionClass(u), "html-content"]),
3168
3169
  style: H(e.getHtmlStyle(u))
3169
- }, null, 14, No)) : (m(), V(s, {
3170
+ }, null, 14, No)) : (m(), Y(a, {
3170
3171
  key: 2,
3171
3172
  content: e.getDefaultValue(u),
3172
3173
  lines: u.whiteSpace || 1,
3173
- class: Q(e.getOptionClass(u))
3174
+ class: V(e.getOptionClass(u))
3174
3175
  }, null, 8, ["content", "lines", "class"]))
3175
3176
  ], 10, Ao),
3176
- u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Co, [
3177
- e.slots[`item-suffix-${u.name}`] ? E(e.$slots, `item-suffix-${u.name}`, {
3177
+ u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), T("div", Co, [
3178
+ e.slots[`item-suffix-${u.name}`] ? O(e.$slots, `item-suffix-${u.name}`, {
3178
3179
  key: 0,
3179
3180
  value: e.data[u.name],
3180
3181
  item: u,
3181
3182
  data: e.data,
3182
3183
  fieldName: u.name
3183
- }, void 0, !0) : u.copy ? (m(), V(c, {
3184
+ }, void 0, !0) : u.copy ? (m(), Y(c, {
3184
3185
  key: 1,
3185
3186
  text: e.getCopyValue(u)
3186
- }, null, 8, ["text"])) : Y("", !0)
3187
- ])) : Y("", !0)
3187
+ }, null, 8, ["text"])) : $("", !0)
3188
+ ])) : $("", !0)
3188
3189
  ], 2)
3189
3190
  ], 2))), 128))
3190
- ], 2)) : e.layout === "horizontal-between" ? (m(), b("div", {
3191
+ ], 2)) : e.layout === "horizontal-between" ? (m(), T("div", {
3191
3192
  key: 1,
3192
- class: Q(["row horizontal-between-container", e.gutter])
3193
+ class: V(["row horizontal-between-container", e.gutter])
3193
3194
  }, [
3194
- (m(!0), b(ee, null, ne(e.visibleItems, (u) => (m(), b("div", {
3195
+ (m(!0), T(ee, null, ne(e.visibleItems, (u) => (m(), T("div", {
3195
3196
  key: u.name,
3196
- class: Q([`col-${u.span || 6}`])
3197
+ class: V([`col-${u.span || 6}`])
3197
3198
  }, [
3198
3199
  y("div", jo, [
3199
3200
  y("div", zo, [
3200
- W(T(u.label) + " ", 1),
3201
- u.tip ? (m(), V(o, {
3201
+ W(w(u.label) + " ", 1),
3202
+ u.tip ? (m(), Y(o, {
3202
3203
  key: 0,
3203
3204
  name: "app:question",
3204
3205
  size: "14px",
3205
3206
  class: "q-ml-xs tip-icon"
3206
3207
  }, {
3207
3208
  default: I(() => [
3208
- C(i, {
3209
+ z(i, {
3209
3210
  anchor: "top middle",
3210
3211
  self: "bottom middle",
3211
3212
  offset: [10, 10],
3212
3213
  "max-width": "300px"
3213
3214
  }, {
3214
3215
  default: I(() => [
3215
- W(T(u.tip), 1)
3216
+ W(w(u.tip), 1)
3216
3217
  ]),
3217
3218
  _: 2
3218
3219
  }, 1024)
3219
3220
  ]),
3220
3221
  _: 2
3221
- }, 1024)) : Y("", !0)
3222
+ }, 1024)) : $("", !0)
3222
3223
  ]),
3223
3224
  y("div", bo, [
3224
3225
  y("div", {
3225
- class: Q(["value", { clickable: e.isClickable(u) }]),
3226
+ class: V(["value", { clickable: e.isClickable(u) }]),
3226
3227
  onClick: (g) => e.handleClick(u)
3227
3228
  }, [
3228
- e.slots[`item-value-${u.name}`] ? E(e.$slots, `item-value-${u.name}`, {
3229
+ e.slots[`item-value-${u.name}`] ? O(e.$slots, `item-value-${u.name}`, {
3229
3230
  key: 0,
3230
3231
  value: e.data[u.name],
3231
3232
  item: u,
3232
3233
  data: e.data,
3233
3234
  fieldName: u.name
3234
- }, void 0, !0) : u.html ? (m(), b("div", {
3235
+ }, void 0, !0) : u.html ? (m(), T("div", {
3235
3236
  key: 1,
3236
3237
  innerHTML: e.getDefaultValue(u),
3237
- class: Q([e.getOptionClass(u), "html-content"]),
3238
+ class: V([e.getOptionClass(u), "html-content"]),
3238
3239
  style: H(e.getHtmlStyle(u))
3239
- }, null, 14, ho)) : (m(), V(s, {
3240
+ }, null, 14, ho)) : (m(), Y(a, {
3240
3241
  key: 2,
3241
3242
  content: e.getDefaultValue(u),
3242
3243
  lines: u.whiteSpace || 1,
3243
- class: Q(e.getOptionClass(u))
3244
+ class: V(e.getOptionClass(u))
3244
3245
  }, null, 8, ["content", "lines", "class"]))
3245
3246
  ], 10, To),
3246
- u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", wo, [
3247
- e.slots[`item-suffix-${u.name}`] ? E(e.$slots, `item-suffix-${u.name}`, {
3247
+ u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), T("div", wo, [
3248
+ e.slots[`item-suffix-${u.name}`] ? O(e.$slots, `item-suffix-${u.name}`, {
3248
3249
  key: 0,
3249
3250
  value: e.data[u.name],
3250
3251
  item: u,
3251
3252
  data: e.data,
3252
3253
  fieldName: u.name
3253
- }, void 0, !0) : u.copy ? (m(), V(c, {
3254
+ }, void 0, !0) : u.copy ? (m(), Y(c, {
3254
3255
  key: 1,
3255
3256
  text: e.getCopyValue(u)
3256
- }, null, 8, ["text"])) : Y("", !0)
3257
- ])) : Y("", !0)
3257
+ }, null, 8, ["text"])) : $("", !0)
3258
+ ])) : $("", !0)
3258
3259
  ])
3259
3260
  ])
3260
3261
  ], 2))), 128))
3261
- ], 2)) : e.layout === "horizontal-left" ? (m(), b("div", {
3262
+ ], 2)) : e.layout === "horizontal-left" ? (m(), T("div", {
3262
3263
  key: 2,
3263
- class: Q(["row horizontal-left-container", e.gutter]),
3264
+ class: V(["row horizontal-left-container", e.gutter]),
3264
3265
  style: H(e.containerStyle)
3265
3266
  }, [
3266
- (m(!0), b(ee, null, ne(e.visibleItems, (u) => (m(), b("div", {
3267
+ (m(!0), T(ee, null, ne(e.visibleItems, (u) => (m(), T("div", {
3267
3268
  key: u.name,
3268
- class: Q([`col-${u.span || 6}`])
3269
+ class: V([`col-${u.span || 6}`])
3269
3270
  }, [
3270
3271
  y("div", vo, [
3271
3272
  y("div", So, [
3272
- W(T(u.label) + " ", 1),
3273
- u.tip ? (m(), V(o, {
3273
+ W(w(u.label) + " ", 1),
3274
+ u.tip ? (m(), Y(o, {
3274
3275
  key: 0,
3275
3276
  name: "app:question",
3276
3277
  size: "14px",
3277
3278
  class: "q-ml-xs tip-icon"
3278
3279
  }, {
3279
3280
  default: I(() => [
3280
- C(i, {
3281
+ z(i, {
3281
3282
  anchor: "top middle",
3282
3283
  self: "bottom middle",
3283
3284
  offset: [10, 10],
3284
3285
  "max-width": "300px"
3285
3286
  }, {
3286
3287
  default: I(() => [
3287
- W(T(u.tip), 1)
3288
+ W(w(u.tip), 1)
3288
3289
  ]),
3289
3290
  _: 2
3290
3291
  }, 1024)
3291
3292
  ]),
3292
3293
  _: 2
3293
- }, 1024)) : Y("", !0)
3294
+ }, 1024)) : $("", !0)
3294
3295
  ]),
3295
3296
  y("div", Lo, [
3296
3297
  y("div", {
3297
- class: Q(["value", { clickable: e.isClickable(u) }]),
3298
+ class: V(["value", { clickable: e.isClickable(u) }]),
3298
3299
  onClick: (g) => e.handleClick(u)
3299
3300
  }, [
3300
- e.slots[`item-value-${u.name}`] ? E(e.$slots, `item-value-${u.name}`, {
3301
+ e.slots[`item-value-${u.name}`] ? O(e.$slots, `item-value-${u.name}`, {
3301
3302
  key: 0,
3302
3303
  value: e.data[u.name],
3303
3304
  item: u,
3304
3305
  data: e.data,
3305
3306
  fieldName: u.name
3306
- }, void 0, !0) : u.html ? (m(), b("div", {
3307
+ }, void 0, !0) : u.html ? (m(), T("div", {
3307
3308
  key: 1,
3308
3309
  innerHTML: e.getDefaultValue(u),
3309
- class: Q([e.getOptionClass(u), "html-content"]),
3310
+ class: V([e.getOptionClass(u), "html-content"]),
3310
3311
  style: H(e.getHtmlStyle(u))
3311
- }, null, 14, Oo)) : (m(), V(s, {
3312
+ }, null, 14, Oo)) : (m(), Y(a, {
3312
3313
  key: 2,
3313
3314
  content: e.getDefaultValue(u),
3314
3315
  lines: u.whiteSpace || 1,
3315
- class: Q(e.getOptionClass(u))
3316
+ class: V(e.getOptionClass(u))
3316
3317
  }, null, 8, ["content", "lines", "class"]))
3317
3318
  ], 10, ko),
3318
- u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Eo, [
3319
- e.slots[`item-suffix-${u.name}`] ? E(e.$slots, `item-suffix-${u.name}`, {
3319
+ u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), T("div", Eo, [
3320
+ e.slots[`item-suffix-${u.name}`] ? O(e.$slots, `item-suffix-${u.name}`, {
3320
3321
  key: 0,
3321
3322
  value: e.data[u.name],
3322
3323
  item: u,
3323
3324
  data: e.data,
3324
3325
  fieldName: u.name
3325
- }, void 0, !0) : u.copy ? (m(), V(c, {
3326
+ }, void 0, !0) : u.copy ? (m(), Y(c, {
3326
3327
  key: 1,
3327
3328
  text: e.getCopyValue(u)
3328
- }, null, 8, ["text"])) : Y("", !0)
3329
- ])) : Y("", !0)
3329
+ }, null, 8, ["text"])) : $("", !0)
3330
+ ])) : $("", !0)
3330
3331
  ])
3331
3332
  ])
3332
3333
  ], 2))), 128))
3333
- ], 6)) : Y("", !0);
3334
+ ], 6)) : $("", !0);
3334
3335
  }
3335
- const Is = /* @__PURE__ */ B(Io, [["render", $o], ["__scopeId", "data-v-f9923d28"]]), Yo = U({
3336
+ const Is = /* @__PURE__ */ B(Io, [["render", $o], ["__scopeId", "data-v-dd8b449a"]]), Yo = U({
3336
3337
  name: "JQFile",
3337
3338
  components: {
3338
3339
  QField: ke,
@@ -3353,64 +3354,64 @@ const Is = /* @__PURE__ */ B(Io, [["render", $o], ["__scopeId", "data-v-f9923d28
3353
3354
  },
3354
3355
  slots: Object,
3355
3356
  setup(e, { emit: t, slots: n }) {
3356
- const { t: l } = K(), r = h(null), a = h(e.modelValue ?? []), i = N({
3357
+ const { t: l } = K(), r = h(null), s = h(e.modelValue ?? []), i = C({
3357
3358
  get() {
3358
- return e.modelValue ?? a.value ?? [];
3359
+ return e.modelValue ?? s.value ?? [];
3359
3360
  },
3360
- set(w) {
3361
- t("update:modelValue", w), a.value = w;
3361
+ set(D) {
3362
+ t("update:modelValue", D), s.value = D;
3362
3363
  }
3363
- }), o = h(!1), s = N(() => Number(e.maxlength) || 0), c = N(() => s.value > 0 && s.value <= i.value.length), u = (w) => w != null && w.length ? Array.from(w) : [], g = async (w) => {
3364
- const O = i.value.length, k = s.value - O;
3365
- let Z = [...w];
3366
- if (s.value > 0 && k <= 0) {
3367
- Ve.show({ type: "error", content: l("messages.jQFile.maxlength", { count: s.value }) });
3364
+ }), o = h(!1), a = C(() => Number(e.maxlength) || 0), c = C(() => a.value > 0 && a.value <= i.value.length), u = (D) => D != null && D.length ? Array.from(D) : [], g = async (D) => {
3365
+ const k = i.value.length, S = a.value - k;
3366
+ let Z = [...D];
3367
+ if (a.value > 0 && S <= 0) {
3368
+ Qe.show({ type: "error", content: l("messages.jQFile.maxlength", { count: a.value }) });
3368
3369
  return;
3369
3370
  }
3370
- if (s.value > 0 && Z.length > k && (Z = Z.slice(0, k)), e.beforeHandle) {
3371
+ if (a.value > 0 && Z.length > S && (Z = Z.slice(0, S)), e.beforeHandle) {
3371
3372
  const P = await e.beforeHandle(Z);
3372
3373
  P && (i.value = [...i.value, ...P]);
3373
3374
  } else
3374
3375
  i.value = [...i.value, ...Z];
3375
3376
  }, M = () => {
3376
- var w;
3377
- (w = r.value) == null || w.click();
3378
- }, d = (w) => {
3379
- const O = w.target, k = u(O.files);
3380
- k.length && g(k), O.value = "";
3381
- }, p = (w) => {
3382
- var k;
3377
+ var D;
3378
+ (D = r.value) == null || D.click();
3379
+ }, d = (D) => {
3380
+ const k = D.target, S = u(k.files);
3381
+ S.length && g(S), k.value = "";
3382
+ }, p = (D) => {
3383
+ var S;
3383
3384
  o.value = !1;
3384
- const O = u((k = w.dataTransfer) == null ? void 0 : k.files);
3385
- O.length && g(O);
3386
- }, D = () => {
3387
- o.value = !0;
3388
- }, S = () => {
3385
+ const k = u((S = D.dataTransfer) == null ? void 0 : S.files);
3386
+ k.length && g(k);
3387
+ }, A = () => {
3389
3388
  o.value = !0;
3390
3389
  }, v = () => {
3390
+ o.value = !0;
3391
+ }, Q = () => {
3391
3392
  o.value = !1;
3392
- }, q = (w) => {
3393
- const { size: O, unit: k } = Oe({ size: w.size });
3394
- return `${O.toLocaleString()} ${k}`;
3395
- }, $ = (w, O) => {
3396
- const k = [...i.value];
3397
- k.splice(O, 1), i.value = k;
3398
- }, j = N(() => Reflect.has(n, "hint"));
3393
+ }, q = (D) => {
3394
+ const { size: k, unit: S } = Oe({ size: D.size });
3395
+ return `${k.toLocaleString()} ${S}`;
3396
+ }, E = (D, k) => {
3397
+ const S = [...i.value];
3398
+ S.splice(k, 1), i.value = S;
3399
+ }, j = C(() => Reflect.has(n, "hint"));
3399
3400
  return {
3400
3401
  t: l,
3401
3402
  fileInputRef: r,
3402
3403
  computedValue: i,
3403
- computedMaxlength: s,
3404
+ computedMaxlength: a,
3404
3405
  isDragging: o,
3405
3406
  isMaxlength: c,
3406
3407
  browseFile: M,
3407
3408
  inputFile: d,
3408
- dragenter: D,
3409
- dragover: S,
3410
- dragleave: v,
3409
+ dragenter: A,
3410
+ dragover: v,
3411
+ dragleave: Q,
3411
3412
  dropFile: p,
3412
3413
  getFileSizeDisplay: q,
3413
- deleteFile: $,
3414
+ deleteFile: E,
3414
3415
  hasSlotHint: j
3415
3416
  };
3416
3417
  }
@@ -3421,10 +3422,10 @@ const Is = /* @__PURE__ */ B(Io, [["render", $o], ["__scopeId", "data-v-f9923d28
3421
3422
  key: 0,
3422
3423
  class: "file-hint"
3423
3424
  };
3424
- function xo(e, t, n, l, r, a) {
3425
- const i = A("q-icon"), o = A("q-btn"), s = A("q-field");
3426
- return m(), b("div", Vo, [
3427
- C(s, {
3425
+ function xo(e, t, n, l, r, s) {
3426
+ const i = N("q-icon"), o = N("q-btn"), a = N("q-field");
3427
+ return m(), T("div", Vo, [
3428
+ z(a, {
3428
3429
  modelValue: e.computedValue,
3429
3430
  "onUpdate:modelValue": t[6] || (t[6] = (c) => e.computedValue = c),
3430
3431
  borderless: "",
@@ -3436,27 +3437,27 @@ function xo(e, t, n, l, r, a) {
3436
3437
  }, {
3437
3438
  prepend: I(() => [
3438
3439
  oe(y("div", {
3439
- class: Q(["file-action", { "file-action--dragging": e.isDragging }]),
3440
+ class: V(["file-action", { "file-action--dragging": e.isDragging }]),
3440
3441
  onDragenter: t[0] || (t[0] = _((...c) => e.dragenter && e.dragenter(...c), ["prevent"])),
3441
3442
  onDragover: t[1] || (t[1] = _((...c) => e.dragover && e.dragover(...c), ["prevent"])),
3442
3443
  onDragleave: t[2] || (t[2] = _((...c) => e.dragleave && e.dragleave(...c), ["prevent"])),
3443
3444
  onDrop: t[3] || (t[3] = _((...c) => e.dropFile && e.dropFile(...c), ["prevent"])),
3444
3445
  onClick: t[4] || (t[4] = (...c) => e.browseFile && e.browseFile(...c))
3445
3446
  }, [
3446
- C(i, {
3447
+ z(i, {
3447
3448
  class: "action-icon",
3448
3449
  name: "app:upload",
3449
3450
  size: "32px"
3450
3451
  }),
3451
- y("p", Qo, T(e.t("messages.jQFile.click_or_drag_file")), 1),
3452
- y("p", Po, T(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + T(e.t("messages.jQFile.max_file_size", {
3452
+ y("p", Qo, w(e.t("messages.jQFile.click_or_drag_file")), 1),
3453
+ y("p", Po, w(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + w(e.t("messages.jQFile.max_file_size", {
3453
3454
  size: e.maxFileSize
3454
3455
  })), 1)
3455
3456
  ], 34), [
3456
3457
  [ie, e.computedValue.length !== Number(e.maxlength)]
3457
3458
  ]),
3458
3459
  oe(y("ul", qo, [
3459
- (m(!0), b(ee, null, ne(e.computedValue, (c, u) => (m(), b("li", {
3460
+ (m(!0), T(ee, null, ne(e.computedValue, (c, u) => (m(), T("li", {
3460
3461
  key: u,
3461
3462
  class: "filer-item"
3462
3463
  }, [
@@ -3464,10 +3465,10 @@ function xo(e, t, n, l, r, a) {
3464
3465
  y("div", {
3465
3466
  class: "filer-name text-black",
3466
3467
  title: c.name
3467
- }, T(c.name), 9, Bo),
3468
- c.size ? (m(), b("div", Zo, T(e.getFileSizeDisplay(c)), 1)) : Y("", !0)
3468
+ }, w(c.name), 9, Bo),
3469
+ c.size ? (m(), T("div", Zo, w(e.getFileSizeDisplay(c)), 1)) : $("", !0)
3469
3470
  ]),
3470
- C(o, {
3471
+ z(o, {
3471
3472
  class: "filer-remove",
3472
3473
  dense: "",
3473
3474
  flat: "",
@@ -3494,15 +3495,15 @@ function xo(e, t, n, l, r, a) {
3494
3495
  ]),
3495
3496
  _: 1
3496
3497
  }, 8, ["modelValue", "disable", "rules"]),
3497
- e.hasSlotHint ? (m(), b("div", Wo, [
3498
- E(e.$slots, "hint")
3499
- ])) : Y("", !0)
3498
+ e.hasSlotHint ? (m(), T("div", Wo, [
3499
+ O(e.$slots, "hint")
3500
+ ])) : $("", !0)
3500
3501
  ]);
3501
3502
  }
3502
3503
  const Ds = /* @__PURE__ */ B(Yo, [["render", xo]]), Go = U({
3503
3504
  name: "JQNewValue",
3504
3505
  components: {
3505
- QSelect: tt,
3506
+ QSelect: nt,
3506
3507
  QIcon: le
3507
3508
  },
3508
3509
  props: {
@@ -3523,24 +3524,24 @@ const Ds = /* @__PURE__ */ B(Yo, [["render", xo]]), Go = U({
3523
3524
  "update:modelValue": (e) => !0
3524
3525
  },
3525
3526
  setup(e, { emit: t, expose: n, slots: l }) {
3526
- const r = h(e.modelValue ?? []), a = h(null), { t: i } = K(), o = h(""), s = N(() => Object.keys(l)), c = (p, D) => {
3527
- D(() => {
3527
+ const r = h(e.modelValue ?? []), s = h(null), { t: i } = K(), o = h(""), a = C(() => Object.keys(l)), c = (p, A) => {
3528
+ A(() => {
3528
3529
  });
3529
- }, u = (p, D) => {
3530
- var v, q, $;
3531
- const S = p.trim();
3532
- if (o.value = "", S.length > 0) {
3530
+ }, u = (p, A) => {
3531
+ var Q, q, E;
3532
+ const v = p.trim();
3533
+ if (o.value = "", v.length > 0) {
3533
3534
  if (e.maxlength > 0 && r.value && r.value.length >= e.maxlength) {
3534
- o.value = i("messages.formRules.maxLengthExceeded", { max: e.maxlength }), (v = a.value) == null || v.focus();
3535
+ o.value = i("messages.formRules.maxLengthExceeded", { max: e.maxlength }), (Q = s.value) == null || Q.focus();
3535
3536
  return;
3536
3537
  }
3537
- if (!e.allowDuplicates && r.value && r.value.includes(S)) {
3538
- o.value = i("messages.formRules.duplicateItemNotAllowed", { value: S }), (q = a.value) == null || q.focus();
3538
+ if (!e.allowDuplicates && r.value && r.value.includes(v)) {
3539
+ o.value = i("messages.formRules.duplicateItemNotAllowed", { value: v }), (q = s.value) == null || q.focus();
3539
3540
  return;
3540
3541
  }
3541
3542
  let j = !0;
3542
- const { name: w, args: O } = bn(e.addRulesName);
3543
- e.addRulesName && (j = Tn(w, S, O, i)), j === !0 && D(S, "add"), j !== !0 && (o.value = j, ($ = a.value) == null || $.focus());
3543
+ const { name: D, args: k } = bn(e.addRulesName);
3544
+ e.addRulesName && (j = Tn(D, v, k, i)), j === !0 && A(v, "add"), j !== !0 && (o.value = j, (E = s.value) == null || E.focus());
3544
3545
  }
3545
3546
  };
3546
3547
  G(
@@ -3552,8 +3553,8 @@ const Ds = /* @__PURE__ */ B(Yo, [["render", xo]]), Go = U({
3552
3553
  ), G(
3553
3554
  () => r.value,
3554
3555
  (p) => {
3555
- var D;
3556
- t("update:modelValue", p), o.value = "", e.rules && e.rules.length > 0 && ((D = a.value) == null || D.validate());
3556
+ var A;
3557
+ t("update:modelValue", p), o.value = "", e.rules && e.rules.length > 0 && ((A = s.value) == null || A.validate());
3557
3558
  }
3558
3559
  );
3559
3560
  const g = (p) => {
@@ -3566,29 +3567,29 @@ const Ds = /* @__PURE__ */ B(Yo, [["render", xo]]), Go = U({
3566
3567
  return n({
3567
3568
  validate: () => {
3568
3569
  var p;
3569
- return ((p = a.value) == null ? void 0 : p.validate()) ?? !1;
3570
+ return ((p = s.value) == null ? void 0 : p.validate()) ?? !1;
3570
3571
  },
3571
3572
  resetValidation: () => {
3572
3573
  var p;
3573
- return (p = a.value) == null ? void 0 : p.resetValidation();
3574
+ return (p = s.value) == null ? void 0 : p.resetValidation();
3574
3575
  }
3575
3576
  }), {
3576
3577
  t: i,
3577
3578
  newValueErrorMessage: o,
3578
3579
  innerModel: r,
3579
- qSelectRef: a,
3580
+ qSelectRef: s,
3580
3581
  filterFn: c,
3581
3582
  handleNewValue: u,
3582
3583
  handleUpdateModelValue: g,
3583
3584
  handleBlur: d,
3584
3585
  change: M,
3585
- slotNames: s
3586
+ slotNames: a
3586
3587
  };
3587
3588
  }
3588
3589
  }), Ho = { class: "select-selected-item" };
3589
- function Fo(e, t, n, l, r, a) {
3590
- const i = A("q-icon"), o = A("q-select");
3591
- return m(), V(o, {
3590
+ function Fo(e, t, n, l, r, s) {
3591
+ const i = N("q-icon"), o = N("q-select");
3592
+ return m(), Y(o, {
3592
3593
  class: "j-q-select-new-value",
3593
3594
  "model-value": e.innerModel,
3594
3595
  "onUpdate:modelValue": e.handleUpdateModelValue,
@@ -3617,21 +3618,21 @@ function Fo(e, t, n, l, r, a) {
3617
3618
  error: !!e.newValueErrorMessage,
3618
3619
  "error-message": e.newValueErrorMessage
3619
3620
  }, we({ _: 2 }, [
3620
- ne(e.slotNames, (s) => ({
3621
- name: s,
3621
+ ne(e.slotNames, (a) => ({
3622
+ name: a,
3622
3623
  fn: I((c) => [
3623
- E(e.$slots, s, ue(ge(c)))
3624
+ O(e.$slots, a, ue(ge(c)))
3624
3625
  ])
3625
3626
  })),
3626
3627
  e.useChips ? {
3627
3628
  name: "selected-item",
3628
- fn: I((s) => [
3629
+ fn: I((a) => [
3629
3630
  y("span", Ho, [
3630
- y("span", null, T(s.opt), 1),
3631
- C(i, {
3631
+ y("span", null, w(a.opt), 1),
3632
+ z(i, {
3632
3633
  name: "close",
3633
3634
  class: "cursor-pointer q-ml-xs",
3634
- onClick: _((c) => s.removeAtIndex(s.index), ["stop"]),
3635
+ onClick: _((c) => a.removeAtIndex(a.index), ["stop"]),
3635
3636
  color: "grey"
3636
3637
  }, null, 8, ["onClick"])
3637
3638
  ])
@@ -3676,7 +3677,7 @@ const As = /* @__PURE__ */ B(Go, [["render", Fo]]), Jo = U({
3676
3677
  },
3677
3678
  // q-option-group 不支持 slots 扩展,故省略 slots 定义
3678
3679
  setup(e, { emit: t }) {
3679
- const n = h(e.modelValue ?? null), l = N(() => e.options ? e.options.map((i) => ({
3680
+ const n = h(e.modelValue ?? null), l = C(() => e.options ? e.options.map((i) => ({
3680
3681
  ...i,
3681
3682
  ...{
3682
3683
  radio: {
@@ -3689,7 +3690,7 @@ const As = /* @__PURE__ */ B(Go, [["render", Fo]]), Jo = U({
3689
3690
  indeterminateIcon: "app:table-not-full-check"
3690
3691
  }
3691
3692
  }[e.type] || {}
3692
- })) : []), r = N(() => e.inline ? "" : `inline-span-${e.inlineSpanCount}`);
3693
+ })) : []), r = C(() => e.inline ? "" : `inline-span-${e.inlineSpanCount}`);
3693
3694
  return G(
3694
3695
  () => e.modelValue,
3695
3696
  (i) => {
@@ -3712,11 +3713,11 @@ const As = /* @__PURE__ */ B(Go, [["render", Fo]]), Jo = U({
3712
3713
  };
3713
3714
  }
3714
3715
  });
3715
- function Ko(e, t, n, l, r, a) {
3716
+ function Ko(e, t, n, l, r, s) {
3716
3717
  var u;
3717
- const i = A("q-tooltip"), o = A("q-icon"), s = A("q-option-group"), c = A("q-field");
3718
- return m(), V(c, {
3719
- class: Q(["j-q-option-group no-border-field", [{ "inline-block": e.inline, "q-mb-xs": !((u = e.rules) != null && u.length) }, e.filedClass]]),
3718
+ const i = N("q-tooltip"), o = N("q-icon"), a = N("q-option-group"), c = N("q-field");
3719
+ return m(), Y(c, {
3720
+ class: V(["j-q-option-group no-border-field", [{ "inline-block": e.inline, "q-mb-xs": !((u = e.rules) != null && u.length) }, e.filedClass]]),
3720
3721
  label: e.label,
3721
3722
  disable: e.disable,
3722
3723
  rules: e.rules,
@@ -3729,10 +3730,10 @@ function Ko(e, t, n, l, r, a) {
3729
3730
  "onUpdate:modelValue": t[1] || (t[1] = (g) => e.innerModel = g)
3730
3731
  }, {
3731
3732
  control: I(() => [
3732
- C(s, {
3733
+ z(a, {
3733
3734
  modelValue: e.innerModel,
3734
3735
  "onUpdate:modelValue": t[0] || (t[0] = (g) => e.innerModel = g),
3735
- class: Q(e.computedInlineSpanClass),
3736
+ class: V(e.computedInlineSpanClass),
3736
3737
  options: e.computedOptions,
3737
3738
  type: e.type,
3738
3739
  disable: e.disable,
@@ -3743,27 +3744,27 @@ function Ko(e, t, n, l, r, a) {
3743
3744
  dense: e.dense
3744
3745
  }, {
3745
3746
  label: I((g) => [
3746
- W(T(g.label) + " ", 1),
3747
- g.tip ? (m(), V(o, {
3747
+ W(w(g.label) + " ", 1),
3748
+ g.tip ? (m(), Y(o, {
3748
3749
  key: 0,
3749
3750
  name: "app:question",
3750
3751
  size: "14px",
3751
3752
  class: "q-ml-xs"
3752
3753
  }, {
3753
3754
  default: I(() => [
3754
- C(i, {
3755
+ z(i, {
3755
3756
  anchor: "top middle",
3756
3757
  self: "bottom middle",
3757
3758
  offset: [10, 10]
3758
3759
  }, {
3759
3760
  default: I(() => [
3760
- W(T(g.tip), 1)
3761
+ W(w(g.tip), 1)
3761
3762
  ]),
3762
3763
  _: 2
3763
3764
  }, 1024)
3764
3765
  ]),
3765
3766
  _: 2
3766
- }, 1024)) : Y("", !0)
3767
+ }, 1024)) : $("", !0)
3767
3768
  ]),
3768
3769
  _: 1
3769
3770
  }, 8, ["modelValue", "class", "options", "type", "disable", "inline", "size", "color", "onChange", "dense"])
@@ -3795,26 +3796,26 @@ const Ns = /* @__PURE__ */ B(Jo, [["render", Ko], ["__scopeId", "data-v-cd2d30aa
3795
3796
  },
3796
3797
  slots: Object,
3797
3798
  setup(e) {
3798
- const t = h(null), n = h(null), l = N(() => {
3799
+ const t = h(null), n = h(null), l = C(() => {
3799
3800
  let o = e.width;
3800
3801
  return typeof o == "number" && (o = `${o}px`), {
3801
3802
  minWidth: o
3802
3803
  };
3803
3804
  }), r = () => {
3804
3805
  e.trigger === "click" && t.value && t.value.toggle();
3805
- }, a = () => {
3806
+ }, s = () => {
3806
3807
  e.trigger === "hover" && t.value && t.value.show();
3807
3808
  }, i = () => {
3808
3809
  e.trigger === "hover" && t.value && t.value.hide();
3809
3810
  };
3810
3811
  return he(() => {
3811
- var s;
3812
- const o = ((s = n.value) == null ? void 0 : s.$el) || document.querySelector(".inline-block");
3813
- o && (e.trigger === "click" ? o.addEventListener("click", r) : e.trigger === "hover" && (o.addEventListener("mouseenter", a), o.addEventListener("mouseleave", i)));
3812
+ var a;
3813
+ const o = ((a = n.value) == null ? void 0 : a.$el) || document.querySelector(".inline-block");
3814
+ o && (e.trigger === "click" ? o.addEventListener("click", r) : e.trigger === "hover" && (o.addEventListener("mouseenter", s), o.addEventListener("mouseleave", i)));
3814
3815
  }), Ut(() => {
3815
- var s;
3816
- const o = ((s = n.value) == null ? void 0 : s.$el) || document.querySelector(".inline-block");
3817
- o && (e.trigger === "click" ? o.removeEventListener("click", r) : e.trigger === "hover" && (o.removeEventListener("mouseenter", a), o.removeEventListener("mouseleave", i)));
3816
+ var a;
3817
+ const o = ((a = n.value) == null ? void 0 : a.$el) || document.querySelector(".inline-block");
3818
+ o && (e.trigger === "click" ? o.removeEventListener("click", r) : e.trigger === "hover" && (o.removeEventListener("mouseenter", s), o.removeEventListener("mouseleave", i)));
3818
3819
  }), {
3819
3820
  popupRef: t,
3820
3821
  rootRef: n,
@@ -3822,25 +3823,25 @@ const Ns = /* @__PURE__ */ B(Jo, [["render", Ko], ["__scopeId", "data-v-cd2d30aa
3822
3823
  };
3823
3824
  }
3824
3825
  }), _o = { class: "inline-block" }, ea = { class: "text-body2 text-grey" };
3825
- function ta(e, t, n, l, r, a) {
3826
- const i = A("q-card-section"), o = A("q-card"), s = A("q-popup-proxy");
3827
- return m(), b("div", _o, [
3828
- E(e.$slots, "default", {}, void 0, !0),
3829
- C(s, {
3826
+ function ta(e, t, n, l, r, s) {
3827
+ const i = N("q-card-section"), o = N("q-card"), a = N("q-popup-proxy");
3828
+ return m(), T("div", _o, [
3829
+ O(e.$slots, "default", {}, void 0, !0),
3830
+ z(a, {
3830
3831
  ref: "popupRef",
3831
3832
  offset: [12, 12]
3832
3833
  }, {
3833
3834
  default: I(() => [
3834
- C(o, {
3835
+ z(o, {
3835
3836
  class: "j-q-popover",
3836
3837
  flat: "",
3837
3838
  style: H(e.popoverStyle)
3838
3839
  }, {
3839
3840
  default: I(() => [
3840
- C(i, { class: "q-pa-sm" }, {
3841
+ z(i, { class: "q-pa-sm" }, {
3841
3842
  default: I(() => [
3842
- E(e.$slots, "content", {}, () => [
3843
- y("span", ea, T(e.title), 1)
3843
+ O(e.$slots, "content", {}, () => [
3844
+ y("span", ea, w(e.title), 1)
3844
3845
  ], !0)
3845
3846
  ]),
3846
3847
  _: 3
@@ -3872,19 +3873,19 @@ const Cs = /* @__PURE__ */ B(Xo, [["render", ta], ["__scopeId", "data-v-8de7d551
3872
3873
  },
3873
3874
  slots: Object,
3874
3875
  setup(e, { emit: t, expose: n }) {
3875
- const { t: l } = K(), r = h(null), a = h({});
3876
+ const { t: l } = K(), r = h(null), s = h({});
3876
3877
  G(
3877
3878
  () => e.modelValue,
3878
- (s) => {
3879
- Object.keys(a.value).length === 0 && (a.value = JSON.parse(JSON.stringify(s)));
3879
+ (a) => {
3880
+ Object.keys(s.value).length === 0 && (s.value = JSON.parse(JSON.stringify(a)));
3880
3881
  },
3881
3882
  { deep: !0, immediate: !0 }
3882
3883
  );
3883
3884
  const i = () => {
3884
3885
  t("query");
3885
3886
  }, o = () => {
3886
- const s = JSON.parse(JSON.stringify(a.value));
3887
- t("update:modelValue", s), t("reset");
3887
+ const a = JSON.parse(JSON.stringify(s.value));
3888
+ t("update:modelValue", a), t("reset");
3888
3889
  };
3889
3890
  return n({ searchFormRef: r }), {
3890
3891
  t: l,
@@ -3900,16 +3901,16 @@ const Cs = /* @__PURE__ */ B(Xo, [["render", ta], ["__scopeId", "data-v-8de7d551
3900
3901
  key: 0,
3901
3902
  class: "default-operation-buttons"
3902
3903
  }, ra = { class: "search-bar-extra-operation" };
3903
- function ua(e, t, n, l, r, a) {
3904
- const i = A("q-btn");
3905
- return m(), b("div", null, [
3904
+ function ua(e, t, n, l, r, s) {
3905
+ const i = N("q-btn");
3906
+ return m(), T("div", null, [
3906
3907
  y("div", la, [
3907
3908
  y("div", oa, [
3908
3909
  y("div", aa, [
3909
3910
  y("div", sa, [
3910
- E(e.$slots, "default"),
3911
- e.operationVisible ? (m(), b("div", ia, [
3912
- C(i, {
3911
+ O(e.$slots, "default"),
3912
+ e.operationVisible ? (m(), T("div", ia, [
3913
+ z(i, {
3913
3914
  color: "primary",
3914
3915
  loading: e.queryLoading,
3915
3916
  "no-caps": "",
@@ -3918,11 +3919,11 @@ function ua(e, t, n, l, r, a) {
3918
3919
  onClick: e.handleClickQuery
3919
3920
  }, {
3920
3921
  default: I(() => [
3921
- W(T(e.t("action.query")), 1)
3922
+ W(w(e.t("action.query")), 1)
3922
3923
  ]),
3923
3924
  _: 1
3924
3925
  }, 8, ["loading", "onClick"]),
3925
- e.resetVisible ? (m(), V(i, {
3926
+ e.resetVisible ? (m(), Y(i, {
3926
3927
  key: 0,
3927
3928
  class: "operation-reset",
3928
3929
  loading: e.resetLoading,
@@ -3932,14 +3933,14 @@ function ua(e, t, n, l, r, a) {
3932
3933
  outline: ""
3933
3934
  }, {
3934
3935
  default: I(() => [
3935
- W(T(e.t("action.reset")), 1)
3936
+ W(w(e.t("action.reset")), 1)
3936
3937
  ]),
3937
3938
  _: 1
3938
- }, 8, ["loading", "onClick"])) : Y("", !0)
3939
- ])) : Y("", !0)
3939
+ }, 8, ["loading", "onClick"])) : $("", !0)
3940
+ ])) : $("", !0)
3940
3941
  ]),
3941
3942
  y("div", ra, [
3942
- E(e.$slots, "extra-operation")
3943
+ O(e.$slots, "extra-operation")
3943
3944
  ])
3944
3945
  ])
3945
3946
  ])
@@ -3949,10 +3950,10 @@ function ua(e, t, n, l, r, a) {
3949
3950
  const js = /* @__PURE__ */ B(na, [["render", ua]]), da = U({
3950
3951
  name: "JQSelect",
3951
3952
  components: {
3952
- QSelect: tt,
3953
+ QSelect: nt,
3953
3954
  QSpinner: Ft,
3954
- QItem: Nt,
3955
- QItemSection: At,
3955
+ QItem: jt,
3956
+ QItemSection: Ct,
3956
3957
  QIcon: le
3957
3958
  },
3958
3959
  props: {
@@ -3989,91 +3990,91 @@ const js = /* @__PURE__ */ B(na, [["render", ua]]), da = U({
3989
3990
  },
3990
3991
  slots: Object,
3991
3992
  setup(e, { emit: t, slots: n, expose: l }) {
3992
- const r = h(null), { t: a } = K(), i = h(!1), o = N({
3993
+ const r = h(null), { t: s } = K(), i = h(!1), o = C({
3993
3994
  get() {
3994
3995
  return e.multiple && (e.modelValue === null || e.modelValue === void 0) ? [] : e.modelValue;
3995
3996
  },
3996
3997
  set(j) {
3997
3998
  t("update:modelValue", j);
3998
3999
  }
3999
- }), s = h(e.options), c = h(""), u = h(void 0), g = N(() => !!e.optionValue), M = N(() => u.value ? u.value : c.value ? e.options.filter((j) => {
4000
- const w = (j == null ? void 0 : j[e.optionLabel]) ?? JSON.stringify(j);
4001
- return String(w).toLowerCase().includes(c.value.toLowerCase());
4002
- }) : e.options), d = N(() => {
4003
- const j = e.options, w = j.length;
4004
- let O = o.value;
4000
+ }), a = h(e.options), c = h(""), u = h(void 0), g = C(() => !!e.optionValue), M = C(() => u.value ? u.value : c.value ? e.options.filter((j) => {
4001
+ const D = (j == null ? void 0 : j[e.optionLabel]) ?? JSON.stringify(j);
4002
+ return String(D).toLowerCase().includes(c.value.toLowerCase());
4003
+ }) : e.options), d = C(() => {
4004
+ const j = e.options, D = j.length;
4005
+ let k = o.value;
4005
4006
  if (e.valueDisplayFn)
4006
- return e.valueDisplayFn(O);
4007
- if (O == null || Array.isArray(O) && O.length === 0)
4007
+ return e.valueDisplayFn(k);
4008
+ if (k == null || Array.isArray(k) && k.length === 0)
4008
4009
  return "";
4009
4010
  if (e.multiple)
4010
- return (Array.isArray(O) ? O : []).map((P) => {
4011
+ return (Array.isArray(k) ? k : []).map((P) => {
4011
4012
  if (g.value) {
4012
4013
  const J = j.find((te) => (te == null ? void 0 : te[e.optionValue]) === P);
4013
- return !J && w === 0 ? "" : (J == null ? void 0 : J[e.optionLabel]) ?? P;
4014
+ return !J && D === 0 ? "" : (J == null ? void 0 : J[e.optionLabel]) ?? P;
4014
4015
  }
4015
4016
  return (P == null ? void 0 : P[e.optionLabel]) ?? P;
4016
4017
  }).filter(Boolean).join(", ");
4017
4018
  if (g.value) {
4018
- const k = j.find((Z) => (Z == null ? void 0 : Z[e.optionValue]) === O);
4019
- return !k && w === 0 ? "" : (k == null ? void 0 : k[e.optionLabel]) ?? O;
4019
+ const S = j.find((Z) => (Z == null ? void 0 : Z[e.optionValue]) === k);
4020
+ return !S && D === 0 ? "" : (S == null ? void 0 : S[e.optionLabel]) ?? k;
4020
4021
  }
4021
- return (O == null ? void 0 : O[e.optionLabel]) ?? O;
4022
+ return (k == null ? void 0 : k[e.optionLabel]) ?? k;
4022
4023
  }), p = (j) => {
4023
- const w = o.value;
4024
- if (!Array.isArray(w)) return "";
4025
- const O = w[j], k = e.options.find((Z) => (Z == null ? void 0 : Z[e.optionValue]) === O);
4026
- return (k == null ? void 0 : k[e.optionLabel]) ?? O;
4027
- }, D = (j) => {
4028
- const w = o.value;
4029
- if (!Array.isArray(w)) return;
4030
- const O = w[j];
4031
- return g.value ? e.options.find((k) => (k == null ? void 0 : k[e.optionValue]) === O) : typeof O == "object" && O !== null ? O : void 0;
4032
- }, S = (j, w, O) => {
4033
- const k = j.trim().toLowerCase();
4024
+ const D = o.value;
4025
+ if (!Array.isArray(D)) return "";
4026
+ const k = D[j], S = e.options.find((Z) => (Z == null ? void 0 : Z[e.optionValue]) === k);
4027
+ return (S == null ? void 0 : S[e.optionLabel]) ?? k;
4028
+ }, A = (j) => {
4029
+ const D = o.value;
4030
+ if (!Array.isArray(D)) return;
4031
+ const k = D[j];
4032
+ return g.value ? e.options.find((S) => (S == null ? void 0 : S[e.optionValue]) === k) : typeof k == "object" && k !== null ? k : void 0;
4033
+ }, v = (j, D, k) => {
4034
+ const S = j.trim().toLowerCase();
4034
4035
  if (e.filterFn) {
4035
4036
  try {
4036
- e.filterFn(k, (Z) => {
4037
- w(Z);
4037
+ e.filterFn(S, (Z) => {
4038
+ D(Z);
4038
4039
  });
4039
4040
  } catch {
4040
- w([]);
4041
+ D([]);
4041
4042
  }
4042
- c.value = k, u.value = void 0;
4043
+ c.value = S, u.value = void 0;
4043
4044
  return;
4044
4045
  }
4045
- if (k) {
4046
+ if (S) {
4046
4047
  const Z = e.options.filter((P) => {
4047
4048
  const J = (P == null ? void 0 : P[e.optionLabel]) ?? JSON.stringify(P);
4048
- return String(J).toLowerCase().includes(k);
4049
+ return String(J).toLowerCase().includes(S);
4049
4050
  });
4050
- w(Z);
4051
+ D(Z);
4051
4052
  } else
4052
- w(e.options);
4053
- c.value = k, u.value = void 0;
4054
- }, v = N(() => {
4053
+ D(e.options);
4054
+ c.value = S, u.value = void 0;
4055
+ }, Q = C(() => {
4055
4056
  let j = "j-q-select-popup select-popup-content height1";
4056
4057
  return e.popupContentClass && (j += ` ${e.popupContentClass}`), j;
4057
4058
  }), q = () => {
4058
4059
  de(() => {
4059
4060
  if (r.value) {
4060
- const j = r.value.$el, w = j == null ? void 0 : j.querySelector(".q-field__native span");
4061
- w && (i.value = w.scrollWidth > w.clientWidth);
4061
+ const j = r.value.$el, D = j == null ? void 0 : j.querySelector(".q-field__native span");
4062
+ D && (i.value = D.scrollWidth > D.clientWidth);
4062
4063
  }
4063
4064
  });
4064
- }, $ = N(() => e.filterable && i.value ? !1 : e.filterable ?? e.useInput);
4065
+ }, E = C(() => e.filterable && i.value ? !1 : e.filterable ?? e.useInput);
4065
4066
  return G([o, d], () => {
4066
4067
  e.filterable && q();
4067
4068
  }), he(() => {
4068
4069
  e.filterable && q();
4069
4070
  }), G(
4070
4071
  o,
4071
- (j, w) => {
4072
- e.multiple && e.closeOnSelect && r.value && Array.isArray(j) && Array.isArray(w) && j.length !== w.length && r.value.hidePopup();
4072
+ (j, D) => {
4073
+ e.multiple && e.closeOnSelect && r.value && Array.isArray(j) && Array.isArray(D) && j.length !== D.length && r.value.hidePopup();
4073
4074
  },
4074
4075
  { deep: !0 }
4075
4076
  ), l({
4076
- copyOptions: s,
4077
+ copyOptions: a,
4077
4078
  validate: () => {
4078
4079
  var j;
4079
4080
  return ((j = r.value) == null ? void 0 : j.validate()) ?? !1;
@@ -4083,26 +4084,26 @@ const js = /* @__PURE__ */ B(na, [["render", ua]]), da = U({
4083
4084
  return (j = r.value) == null ? void 0 : j.resetValidation();
4084
4085
  }
4085
4086
  }), {
4086
- t: a,
4087
+ t: s,
4087
4088
  qSelectRef: r,
4088
4089
  innerValue: o,
4089
4090
  computedEmitValue: g,
4090
4091
  computedDisplayValue: d,
4091
- computedUseInput: $,
4092
+ computedUseInput: E,
4092
4093
  getSelectedItemLabelByIndex: p,
4093
- getSelectedItemOptionByIndex: D,
4094
- filter: S,
4095
- computedPopupContentClass: v,
4094
+ getSelectedItemOptionByIndex: A,
4095
+ filter: v,
4096
+ computedPopupContentClass: Q,
4096
4097
  computedOptions: M,
4097
4098
  slots: n
4098
4099
  };
4099
4100
  }
4100
4101
  }), ca = { class: "select-selected-item" };
4101
- function Ma(e, t, n, l, r, a) {
4102
- const i = A("q-spinner"), o = A("q-icon"), s = A("q-item-section"), c = A("q-item"), u = A("q-select");
4103
- return m(), V(u, {
4102
+ function Ma(e, t, n, l, r, s) {
4103
+ const i = N("q-spinner"), o = N("q-icon"), a = N("q-item-section"), c = N("q-item"), u = N("q-select");
4104
+ return m(), Y(u, {
4104
4105
  ref: "qSelectRef",
4105
- class: Q([{
4106
+ class: V([{
4106
4107
  "j-q-select--table": e.label,
4107
4108
  "j-q-select--form": !e.label && !e.smInput,
4108
4109
  "j-q-input--sm": e.smInput && !e.label
@@ -4139,14 +4140,14 @@ function Ma(e, t, n, l, r, a) {
4139
4140
  "hide-dropdown-icon": e.readonly
4140
4141
  }, we({
4141
4142
  loading: I(() => [
4142
- C(i, {
4143
+ z(i, {
4143
4144
  color: "primary",
4144
4145
  size: "14px",
4145
4146
  thickness: 2
4146
4147
  })
4147
4148
  ]),
4148
4149
  default: I(() => [
4149
- oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
4150
+ oe(y("div", { class: "float-placeholder" }, w(e.t("messages.pleaseSelect")), 513), [
4150
4151
  [ie, !e.filterable && !e.label && (e.innerValue === null || e.innerValue === "" || e.innerValue === void 0 || Array.isArray(e.innerValue) && e.innerValue.length === 0)]
4151
4152
  ])
4152
4153
  ]),
@@ -4155,7 +4156,7 @@ function Ma(e, t, n, l, r, a) {
4155
4156
  e.slots["value-display"] ? {
4156
4157
  name: "selected",
4157
4158
  fn: I(() => [
4158
- E(e.$slots, "value-display")
4159
+ O(e.$slots, "value-display")
4159
4160
  ]),
4160
4161
  key: "0"
4161
4162
  } : void 0,
@@ -4165,10 +4166,10 @@ function Ma(e, t, n, l, r, a) {
4165
4166
  var M;
4166
4167
  return [
4167
4168
  y("span", ca, [
4168
- E(e.$slots, "chip-value-display", ue(ge(g)), () => [
4169
- W(T(e.getSelectedItemLabelByIndex(g.index)), 1)
4169
+ O(e.$slots, "chip-value-display", ue(ge(g)), () => [
4170
+ W(w(e.getSelectedItemLabelByIndex(g.index)), 1)
4170
4171
  ]),
4171
- (M = e.getSelectedItemOptionByIndex(g.index)) != null && M.hideRemove ? Y("", !0) : (m(), V(o, {
4172
+ (M = e.getSelectedItemOptionByIndex(g.index)) != null && M.hideRemove ? $("", !0) : (m(), Y(o, {
4172
4173
  key: 0,
4173
4174
  name: "close",
4174
4175
  class: "cursor-pointer q-ml-xs",
@@ -4183,40 +4184,40 @@ function Ma(e, t, n, l, r, a) {
4183
4184
  e.slots.prepend ? {
4184
4185
  name: "prepend",
4185
4186
  fn: I(() => [
4186
- E(e.$slots, "prepend")
4187
+ O(e.$slots, "prepend")
4187
4188
  ]),
4188
4189
  key: "2"
4189
4190
  } : void 0,
4190
4191
  e.slots.append ? {
4191
4192
  name: "append",
4192
4193
  fn: I(() => [
4193
- E(e.$slots, "append")
4194
+ O(e.$slots, "append")
4194
4195
  ]),
4195
4196
  key: "3"
4196
4197
  } : void 0,
4197
4198
  e.slots.after ? {
4198
4199
  name: "after",
4199
4200
  fn: I(() => [
4200
- E(e.$slots, "after")
4201
+ O(e.$slots, "after")
4201
4202
  ]),
4202
4203
  key: "4"
4203
4204
  } : void 0,
4204
4205
  e.slots.hint ? {
4205
4206
  name: "hint",
4206
4207
  fn: I(() => [
4207
- E(e.$slots, "hint")
4208
+ O(e.$slots, "hint")
4208
4209
  ]),
4209
4210
  key: "5"
4210
4211
  } : void 0,
4211
4212
  e.slots["no-option"] || e.emptyOption ? {
4212
4213
  name: "no-option",
4213
4214
  fn: I(() => [
4214
- E(e.$slots, "no-option", {}, () => [
4215
- C(c, { dense: e.dense }, {
4215
+ O(e.$slots, "no-option", {}, () => [
4216
+ z(c, { dense: e.dense }, {
4216
4217
  default: I(() => [
4217
- C(s, { class: "text-grey text-caption" }, {
4218
+ z(a, { class: "text-grey text-caption" }, {
4218
4219
  default: I(() => [
4219
- W(T(e.t("messages.noData")), 1)
4220
+ W(w(e.t("messages.noData")), 1)
4220
4221
  ]),
4221
4222
  _: 1
4222
4223
  })
@@ -4230,40 +4231,40 @@ function Ma(e, t, n, l, r, a) {
4230
4231
  e.slots.option ? {
4231
4232
  name: "option",
4232
4233
  fn: I((g) => [
4233
- E(e.$slots, "option", ue(ge(g)))
4234
+ O(e.$slots, "option", ue(ge(g)))
4234
4235
  ]),
4235
4236
  key: "7"
4236
4237
  } : void 0
4237
4238
  ]), 1032, ["class", "modelValue", "clearable", "dense", "placeholder", "disable", "display-value", "dropdown-icon", "emit-value", "input-debounce", "label", "max-values", "multiple", "no-error-icon", "options", "option-label", "option-value", "options-dense", "outlined", "popup-content-class", "readonly", "rules", "title", "use-chips", "use-input", "loading", "onFilter", "hide-dropdown-icon"]);
4238
4239
  }
4239
- const zs = /* @__PURE__ */ B(da, [["render", Ma]]), it = 15, kt = [10, 15, 20, 30, 50];
4240
+ const zs = /* @__PURE__ */ B(da, [["render", Ma]]), dt = 15, kt = [10, 15, 20, 30, 50];
4240
4241
  function ga(e) {
4241
- const t = it, n = De({
4242
+ const t = dt, n = De({
4242
4243
  page: 1,
4243
4244
  rowsPerPage: t,
4244
4245
  rowsNumber: 0
4245
4246
  });
4246
- return { paginationInfo: n, getPaginationParam: () => n, getNum: () => n.page, setNum: (s) => {
4247
- n.page = s ?? 1;
4248
- }, setSize: (s) => {
4249
- n.rowsPerPage = s ?? t;
4250
- }, setTotal: (s) => {
4251
- n.rowsNumber = s ?? 0;
4247
+ return { paginationInfo: n, getPaginationParam: () => n, getNum: () => n.page, setNum: (a) => {
4248
+ n.page = a ?? 1;
4249
+ }, setSize: (a) => {
4250
+ n.rowsPerPage = a ?? t;
4251
+ }, setTotal: (a) => {
4252
+ n.rowsNumber = a ?? 0;
4252
4253
  } };
4253
4254
  }
4254
4255
  const ma = U({
4255
4256
  name: "MyPaginationComponent",
4256
4257
  components: {
4257
- QSelect: tt,
4258
+ QSelect: nt,
4258
4259
  QPagination: Jt,
4259
- QInput: Qe
4260
+ QInput: Pe
4260
4261
  },
4261
4262
  props: {
4262
4263
  paginationInfo: {
4263
4264
  type: Object,
4264
4265
  default: () => ({
4265
4266
  page: 1,
4266
- rowsPerPage: it,
4267
+ rowsPerPage: dt,
4267
4268
  rowsNumber: 0
4268
4269
  })
4269
4270
  }
@@ -4277,11 +4278,11 @@ const ma = U({
4277
4278
  totalPage: 0,
4278
4279
  // 初始化为 0,等计算
4279
4280
  currentPage: ""
4280
- }), r = kt, a = N(() => {
4281
+ }), r = kt, s = C(() => {
4281
4282
  const { rowsNumber: g, rowsPerPage: M } = l, d = Math.ceil(g / M);
4282
4283
  return d < 1 ? 1 : d;
4283
- }), i = N(() => `${l.page} / ${l.totalPage}`), o = N(() => {
4284
- const g = a.value.toString();
4284
+ }), i = C(() => `${l.page} / ${l.totalPage}`), o = C(() => {
4285
+ const g = s.value.toString();
4285
4286
  return Array(g.length).fill("#").join("");
4286
4287
  });
4287
4288
  G(
@@ -4291,13 +4292,13 @@ const ma = U({
4291
4292
  },
4292
4293
  { deep: !0, immediate: !0 }
4293
4294
  ), G(
4294
- a,
4295
+ s,
4295
4296
  (g) => {
4296
4297
  l.totalPage = g;
4297
4298
  },
4298
4299
  { immediate: !0 }
4299
4300
  );
4300
- const s = () => {
4301
+ const a = () => {
4301
4302
  const g = {
4302
4303
  page: l.page,
4303
4304
  rowsPerPage: l.rowsPerPage,
@@ -4305,13 +4306,13 @@ const ma = U({
4305
4306
  };
4306
4307
  t("pagination", g);
4307
4308
  }, c = () => {
4308
- l.page = 1, s();
4309
+ l.page = 1, a();
4309
4310
  }, u = () => {
4310
4311
  if (l.currentPage) {
4311
4312
  let g = Number(l.currentPage);
4312
- isNaN(g) || g < 1 ? g = 1 : g > a.value && (g = a.value), l.page = g, l.currentPage = "";
4313
+ isNaN(g) || g < 1 ? g = 1 : g > s.value && (g = s.value), l.page = g, l.currentPage = "";
4313
4314
  }
4314
- l.page < 1 && (l.page = 1), l.page > a.value && (l.page = a.value), s();
4315
+ l.page < 1 && (l.page = 1), l.page > s.value && (l.page = s.value), a();
4315
4316
  };
4316
4317
  return {
4317
4318
  t: n,
@@ -4319,7 +4320,7 @@ const ma = U({
4319
4320
  rowNumbersArr: r,
4320
4321
  currentPagePlaceholder: i,
4321
4322
  currentPageMask: o,
4322
- maxPage: a,
4323
+ maxPage: s,
4323
4324
  handleRowsPerPageChange: c,
4324
4325
  handlePageChange: u,
4325
4326
  paginationInput: u,
@@ -4327,14 +4328,14 @@ const ma = U({
4327
4328
  };
4328
4329
  }
4329
4330
  }), pa = { class: "row items-center justify-end" }, fa = { style: { "margin-top": "4px" } }, ya = { style: { "margin-top": "4px", "margin-right": "24px" } }, Ia = { style: { "margin-left": "24px" } };
4330
- function Da(e, t, n, l, r, a) {
4331
- const i = A("q-select"), o = A("q-pagination"), s = A("q-input");
4332
- return m(), b("div", null, [
4331
+ function Da(e, t, n, l, r, s) {
4332
+ const i = N("q-select"), o = N("q-pagination"), a = N("q-input");
4333
+ return m(), T("div", null, [
4333
4334
  y("div", pa, [
4334
4335
  y("div", fa, [
4335
- y("span", null, T(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
4336
+ y("span", null, w(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
4336
4337
  ]),
4337
- C(i, {
4338
+ z(i, {
4338
4339
  class: "my-pagination",
4339
4340
  modelValue: e.internalInfo.rowsPerPage,
4340
4341
  "onUpdate:modelValue": [
@@ -4351,9 +4352,9 @@ function Da(e, t, n, l, r, a) {
4351
4352
  "popup-content-class": "j-q-select-popup select-popup-content height1"
4352
4353
  }, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
4353
4354
  y("div", ya, [
4354
- y("span", null, T(e.t("messages.pagination.pieces_page")), 1)
4355
+ y("span", null, w(e.t("messages.pagination.pieces_page")), 1)
4355
4356
  ]),
4356
- C(o, {
4357
+ z(o, {
4357
4358
  modelValue: e.internalInfo.page,
4358
4359
  "onUpdate:modelValue": [
4359
4360
  t[1] || (t[1] = (c) => e.internalInfo.page = c),
@@ -4370,8 +4371,8 @@ function Da(e, t, n, l, r, a) {
4370
4371
  "active-text-color": "white",
4371
4372
  ripple: !1
4372
4373
  }, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
4373
- y("p", Ia, T(e.t("messages.pagination.goto")), 1),
4374
- C(s, {
4374
+ y("p", Ia, w(e.t("messages.pagination.goto")), 1),
4375
+ z(a, {
4375
4376
  autofocus: !1,
4376
4377
  modelValue: e.internalInfo.currentPage,
4377
4378
  "onUpdate:modelValue": t[2] || (t[2] = (c) => e.internalInfo.currentPage = c),
@@ -4396,7 +4397,7 @@ const Aa = /* @__PURE__ */ B(ma, [["render", Da]]), Na = U({
4396
4397
  QTable: _t,
4397
4398
  QTh: Xt,
4398
4399
  QTd: Kt,
4399
- QInnerLoading: It
4400
+ QInnerLoading: At
4400
4401
  },
4401
4402
  props: {
4402
4403
  autoHeight: { type: Boolean, default: !1 },
@@ -4420,161 +4421,161 @@ const Aa = /* @__PURE__ */ B(ma, [["render", Da]]), Na = U({
4420
4421
  },
4421
4422
  slots: Object,
4422
4423
  setup(e, { emit: t, expose: n, slots: l }) {
4423
- const { t: r } = K(), a = h(null), i = h([]), o = h(/* @__PURE__ */ new Map()), s = h(/* @__PURE__ */ new Map()), c = (f) => Reflect.has(l, f), u = N({
4424
+ const { t: r } = K(), s = h(null), i = h([]), o = h(/* @__PURE__ */ new Map()), a = h(/* @__PURE__ */ new Map()), c = (f) => Reflect.has(l, f), u = C({
4424
4425
  get() {
4425
4426
  return e.selected ?? i.value;
4426
4427
  },
4427
4428
  set(f) {
4428
4429
  t("update:selected", f), i.value = f;
4429
4430
  }
4430
- }), g = N(() => e.tableHeaderClass), M = N(() => {
4431
+ }), g = C(() => e.tableHeaderClass), M = C(() => {
4431
4432
  var f;
4432
- return ((f = e.columns) == null ? void 0 : f.filter((z) => Reflect.has(l, `header-cell-${z.name}`))) || [];
4433
- }), d = N(() => {
4433
+ return ((f = e.columns) == null ? void 0 : f.filter((b) => Reflect.has(l, `header-cell-${b.name}`))) || [];
4434
+ }), d = C(() => {
4434
4435
  var f;
4435
- return ((f = e.columns) == null ? void 0 : f.filter(({ name: z, onClick: x }) => Reflect.has(l, `body-cell-${z}`) && !x)) || [];
4436
- }), p = N(() => {
4436
+ return ((f = e.columns) == null ? void 0 : f.filter(({ name: b, onClick: x }) => Reflect.has(l, `body-cell-${b}`) && !x)) || [];
4437
+ }), p = C(() => {
4437
4438
  var f;
4438
- return ((f = e.columns) == null ? void 0 : f.filter(({ onClick: z }) => z)) || [];
4439
- }), D = N(() => {
4439
+ return ((f = e.columns) == null ? void 0 : f.filter(({ onClick: b }) => b)) || [];
4440
+ }), A = C(() => {
4440
4441
  var f;
4441
- return ((f = e.columns) == null ? void 0 : f.filter(({ whiteSpace: z, onClick: x, name: F }) => z && !x && !Reflect.has(l, `body-cell-${F}`))) || [];
4442
- }), S = N(() => {
4442
+ return ((f = e.columns) == null ? void 0 : f.filter(({ whiteSpace: b, onClick: x, name: F }) => b && !x && !Reflect.has(l, `body-cell-${F}`))) || [];
4443
+ }), v = C(() => {
4443
4444
  var f;
4444
- return ((f = e.columns) == null ? void 0 : f.filter(({ limitWidth: z, whiteSpace: x, onClick: F, name: X }) => z && !x && !F && !Reflect.has(l, `body-cell-${X}`))) || [];
4445
- }), { paginationInfo: v, getPaginationParam: q, getNum: $, setNum: j, setTotal: w, setSize: O } = ga(), k = N(() => ({
4445
+ return ((f = e.columns) == null ? void 0 : f.filter(({ limitWidth: b, whiteSpace: x, onClick: F, name: X }) => b && !x && !F && !Reflect.has(l, `body-cell-${X}`))) || [];
4446
+ }), { paginationInfo: Q, getPaginationParam: q, getNum: E, setNum: j, setTotal: D, setSize: k } = ga(), S = C(() => ({
4446
4447
  rowsPerPage: 0
4447
4448
  })), Z = () => {
4448
- t("changeNum", v), e.autoScrollOnChangePage && te();
4449
+ t("changeNum", Q), e.autoScrollOnChangePage && te();
4449
4450
  }, P = () => {
4450
- t("changeSize", v), e.autoScrollOnChangePage && te();
4451
+ t("changeSize", Q), e.autoScrollOnChangePage && te();
4451
4452
  }, J = (f) => {
4452
4453
  t("paginationChange", f), e.autoScrollOnChangePage && te();
4453
4454
  }, te = () => {
4454
- var z;
4455
- const f = (z = a.value) == null ? void 0 : z.$el;
4455
+ var b;
4456
+ const f = (b = s.value) == null ? void 0 : b.$el;
4456
4457
  f == null || f.scrollIntoView({ behavior: "smooth" });
4457
- }, me = (f, z) => f.format && typeof f.format == "function" ? f.format(z) : z, ce = (f, z) => {
4458
- f.onClick && typeof f.onClick == "function" && f.onClick(z);
4459
- }, Ne = (f, z, x) => f.clickable && typeof f.clickable == "function" ? f.clickable(z, x) : z != null, Ee = (f) => {
4460
- const z = window.innerWidth <= 1440;
4458
+ }, me = (f, b) => f.format && typeof f.format == "function" ? f.format(b) : b, ce = (f, b) => {
4459
+ f.onClick && typeof f.onClick == "function" && f.onClick(b);
4460
+ }, Ne = (f, b, x) => f.clickable && typeof f.clickable == "function" ? f.clickable(b, x) : b != null, Ee = (f) => {
4461
+ const b = window.innerWidth <= 1440;
4461
4462
  if (f) {
4462
- if (z && f.cellMaxWidthSmall !== void 0)
4463
+ if (b && f.cellMaxWidthSmall !== void 0)
4463
4464
  return f.cellMaxWidthSmall;
4464
- if (!z && f.cellMaxWidth !== void 0)
4465
+ if (!b && f.cellMaxWidth !== void 0)
4465
4466
  return f.cellMaxWidth;
4466
4467
  }
4467
- return z ? e.cellMaxWidthSmall : e.cellMaxWidth;
4468
- }, Pe = (f) => {
4468
+ return b ? e.cellMaxWidthSmall : e.cellMaxWidth;
4469
+ }, qe = (f) => {
4469
4470
  if (!f.whiteSpace) return {};
4470
- const z = Ee(f);
4471
+ const b = Ee(f);
4471
4472
  return {
4472
- width: `${z}px`,
4473
- maxWidth: `${z}px`,
4474
- minWidth: `${z}px`
4473
+ width: `${b}px`,
4474
+ maxWidth: `${b}px`,
4475
+ minWidth: `${b}px`
4475
4476
  };
4476
- }, qe = (f) => {
4477
- const z = window.innerWidth <= 1440;
4477
+ }, Ue = (f) => {
4478
+ const b = window.innerWidth <= 1440;
4478
4479
  if (f) {
4479
- if (z && f.cellMaxWidthSmall !== void 0)
4480
+ if (b && f.cellMaxWidthSmall !== void 0)
4480
4481
  return { "--cell-max-width-small": `${f.cellMaxWidthSmall}px` };
4481
- if (!z && f.cellMaxWidth !== void 0)
4482
+ if (!b && f.cellMaxWidth !== void 0)
4482
4483
  return { "--cell-max-width": `${f.cellMaxWidth}px` };
4483
4484
  }
4484
4485
  return {};
4485
- }, $e = (f) => f.whiteSpace ? `cell-ellipsis cell-ellipsis--${Math.min(Math.max(1, Number(f.whiteSpace) || 1), 3)}` : "", Ue = () => ({
4486
+ }, $e = (f) => f.whiteSpace ? `cell-ellipsis cell-ellipsis--${Math.min(Math.max(1, Number(f.whiteSpace) || 1), 3)}` : "", Be = () => ({
4486
4487
  whiteSpace: "normal",
4487
4488
  wordBreak: "break-word",
4488
4489
  overflowWrap: "break-word"
4489
- }), Be = (f) => Ee(f) <= 300 ? "j-tooltip--small" : "j-tooltip--large", Ze = (f, z) => {
4490
- f && (o.value.set(z, f), de(() => {
4491
- Ye(z);
4490
+ }), Ze = (f) => Ee(f) <= 300 ? "j-tooltip--small" : "j-tooltip--large", Re = (f, b) => {
4491
+ f && (o.value.set(b, f), de(() => {
4492
+ Ye(b);
4492
4493
  }));
4493
4494
  }, Ye = (f) => {
4494
- const z = o.value.get(f);
4495
- if (!z) {
4496
- s.value.set(f, !1);
4495
+ const b = o.value.get(f);
4496
+ if (!b) {
4497
+ a.value.set(f, !1);
4497
4498
  return;
4498
4499
  }
4499
- const x = z.scrollWidth > z.clientWidth || z.scrollHeight > z.clientHeight;
4500
- s.value.set(f, x);
4501
- }, Re = (f) => s.value.get(f) || !1, L = () => {
4500
+ const x = b.scrollWidth > b.clientWidth || b.scrollHeight > b.clientHeight;
4501
+ a.value.set(f, x);
4502
+ }, We = (f) => a.value.get(f) || !1, L = () => {
4502
4503
  de(() => {
4503
- o.value.forEach((f, z) => {
4504
- Ye(z);
4504
+ o.value.forEach((f, b) => {
4505
+ Ye(b);
4505
4506
  });
4506
4507
  });
4507
4508
  };
4508
4509
  return G(
4509
4510
  () => e.rows,
4510
4511
  () => {
4511
- o.value.clear(), s.value.clear(), L();
4512
+ o.value.clear(), a.value.clear(), L();
4512
4513
  },
4513
4514
  { deep: !0 }
4514
4515
  ), G(
4515
4516
  () => e.loading,
4516
- (f, z) => {
4517
- z && !f && L();
4517
+ (f, b) => {
4518
+ b && !f && L();
4518
4519
  }
4519
4520
  ), n({
4520
- JQTableRef: a,
4521
- paginationInfo: v,
4521
+ JQTableRef: s,
4522
+ paginationInfo: Q,
4522
4523
  getPaginationParam: q,
4523
- getNum: $,
4524
+ getNum: E,
4524
4525
  setNum: j,
4525
- setTotal: w,
4526
- setSize: O,
4526
+ setTotal: D,
4527
+ setSize: k,
4527
4528
  scrollTop: te,
4528
4529
  ROWS_PER_PAGE_OPTIONS: kt,
4529
- DEFAULT_ROWS_PER_PAGE: it
4530
+ DEFAULT_ROWS_PER_PAGE: dt
4530
4531
  }), {
4531
4532
  t: r,
4532
- JQTableRef: a,
4533
+ JQTableRef: s,
4533
4534
  computedSelected: u,
4534
4535
  hasSlot: c,
4535
4536
  computedTableHeaderClass: g,
4536
4537
  computedSlotHeaderCellColumns: M,
4537
4538
  computedSlotBodyCellColumns: d,
4538
4539
  computedClickableColumns: p,
4539
- computedWhiteSpaceColumns: D,
4540
- computedLimitWidthColumns: S,
4541
- paginationInfo: v,
4540
+ computedWhiteSpaceColumns: A,
4541
+ computedLimitWidthColumns: v,
4542
+ paginationInfo: Q,
4542
4543
  getPaginationParam: q,
4543
- getNum: $,
4544
+ getNum: E,
4544
4545
  setNum: j,
4545
- setTotal: w,
4546
- setSize: O,
4547
- clacPagination: k,
4546
+ setTotal: D,
4547
+ setSize: k,
4548
+ clacPagination: S,
4548
4549
  changeNum: Z,
4549
4550
  changeSize: P,
4550
4551
  onPaginationChange: J,
4551
4552
  formatColumnValue: me,
4552
4553
  handleColumnClick: ce,
4553
4554
  isClickable: Ne,
4554
- getCellStyle: Pe,
4555
+ getCellStyle: qe,
4555
4556
  getCellClass: $e,
4556
- getCellLimitWidthStyle: qe,
4557
- getTooltipStyle: Ue,
4558
- getTooltipClass: Be,
4559
- setEllipsisRef: Ze,
4560
- shouldShowTooltip: Re
4557
+ getCellLimitWidthStyle: Ue,
4558
+ getTooltipStyle: Be,
4559
+ getTooltipClass: Ze,
4560
+ setEllipsisRef: Re,
4561
+ shouldShowTooltip: We
4561
4562
  };
4562
4563
  }
4563
4564
  }), Ca = ["onClick"];
4564
- function ja(e, t, n, l, r, a) {
4565
- const i = A("q-th"), o = A("q-td"), s = A("q-tooltip"), c = A("q-inner-loading"), u = A("q-table"), g = A("Pagination");
4566
- return m(), b("div", {
4565
+ function ja(e, t, n, l, r, s) {
4566
+ const i = N("q-th"), o = N("q-td"), a = N("q-tooltip"), c = N("q-inner-loading"), u = N("q-table"), g = N("Pagination");
4567
+ return m(), T("div", {
4567
4568
  class: "j-q-table-container",
4568
4569
  style: H({
4569
4570
  "--cell-max-width": `${e.cellMaxWidth}px`,
4570
4571
  "--cell-max-width-small": `${e.cellMaxWidthSmall}px`
4571
4572
  })
4572
4573
  }, [
4573
- C(u, {
4574
+ z(u, {
4574
4575
  ref: "JQTableRef",
4575
4576
  selected: e.computedSelected,
4576
4577
  "onUpdate:selected": t[0] || (t[0] = (M) => e.computedSelected = M),
4577
- class: Q([e.tableClass, "j-q-table"]),
4578
+ class: V([e.tableClass, "j-q-table"]),
4578
4579
  columns: e.columns,
4579
4580
  dense: e.dense,
4580
4581
  flat: e.flat,
@@ -4587,7 +4588,7 @@ function ja(e, t, n, l, r, a) {
4587
4588
  "binary-state-sort": !1
4588
4589
  }, we({
4589
4590
  loading: I(() => [
4590
- C(c, {
4591
+ z(c, {
4591
4592
  showing: "",
4592
4593
  label: e.t("messages.loading"),
4593
4594
  color: "primary",
@@ -4596,37 +4597,37 @@ function ja(e, t, n, l, r, a) {
4596
4597
  }, null, 8, ["label"])
4597
4598
  ]),
4598
4599
  "no-data": I(() => [
4599
- W(T(e.t("messages.noData")), 1)
4600
+ W(w(e.t("messages.noData")), 1)
4600
4601
  ]),
4601
4602
  _: 2
4602
4603
  }, [
4603
4604
  e.hasSlot("top") ? {
4604
4605
  name: "top",
4605
4606
  fn: I(() => [
4606
- E(e.$slots, "top")
4607
+ O(e.$slots, "top")
4607
4608
  ]),
4608
4609
  key: "0"
4609
4610
  } : void 0,
4610
4611
  e.hasSlot("header") ? {
4611
4612
  name: "header",
4612
4613
  fn: I((M) => [
4613
- E(e.$slots, "header", ue(ge(M)))
4614
+ O(e.$slots, "header", ue(ge(M)))
4614
4615
  ]),
4615
4616
  key: "1"
4616
4617
  } : void 0,
4617
4618
  e.hasSlot("body") ? {
4618
4619
  name: "body",
4619
4620
  fn: I((M) => [
4620
- E(e.$slots, "body", ue(ge(M)))
4621
+ O(e.$slots, "body", ue(ge(M)))
4621
4622
  ]),
4622
4623
  key: "2"
4623
4624
  } : void 0,
4624
4625
  ne(e.computedSlotHeaderCellColumns, (M) => ({
4625
4626
  name: `header-cell-${M.name}`,
4626
4627
  fn: I((d) => [
4627
- C(i, { props: d }, {
4628
+ z(i, { props: d }, {
4628
4629
  default: I(() => [
4629
- E(e.$slots, `header-cell-${M.name}`, ue(ge(d)))
4630
+ O(e.$slots, `header-cell-${M.name}`, ue(ge(d)))
4630
4631
  ]),
4631
4632
  _: 2
4632
4633
  }, 1032, ["props"])
@@ -4635,15 +4636,15 @@ function ja(e, t, n, l, r, a) {
4635
4636
  ne(e.computedSlotBodyCellColumns, (M) => ({
4636
4637
  name: `body-cell-${M.name}`,
4637
4638
  fn: I((d) => [
4638
- C(o, { props: d }, {
4639
+ z(o, { props: d }, {
4639
4640
  default: I(() => [
4640
- M.limitWidth ? (m(), b("div", {
4641
+ M.limitWidth ? (m(), T("div", {
4641
4642
  key: 0,
4642
4643
  class: "cell-limit-width",
4643
4644
  style: H(e.getCellLimitWidthStyle(M))
4644
4645
  }, [
4645
- E(e.$slots, `body-cell-${M.name}`, ue(ge(d)))
4646
- ], 4)) : E(e.$slots, `body-cell-${M.name}`, ue(Te({ key: 1 }, d)))
4646
+ O(e.$slots, `body-cell-${M.name}`, ue(ge(d)))
4647
+ ], 4)) : O(e.$slots, `body-cell-${M.name}`, ue(Te({ key: 1 }, d)))
4647
4648
  ]),
4648
4649
  _: 2
4649
4650
  }, 1032, ["props"])
@@ -4652,12 +4653,12 @@ function ja(e, t, n, l, r, a) {
4652
4653
  ne(e.computedLimitWidthColumns, (M) => ({
4653
4654
  name: `body-cell-${M.name}`,
4654
4655
  fn: I((d) => [
4655
- C(o, { props: d }, {
4656
+ z(o, { props: d }, {
4656
4657
  default: I(() => [
4657
4658
  y("div", {
4658
4659
  class: "cell-limit-width",
4659
4660
  style: H(e.getCellLimitWidthStyle(M))
4660
- }, T(e.formatColumnValue(M, d.value)), 5)
4661
+ }, w(e.formatColumnValue(M, d.value)), 5)
4661
4662
  ]),
4662
4663
  _: 2
4663
4664
  }, 1032, ["props"])
@@ -4666,28 +4667,28 @@ function ja(e, t, n, l, r, a) {
4666
4667
  ne(e.computedWhiteSpaceColumns, (M) => ({
4667
4668
  name: `body-cell-${M.name}`,
4668
4669
  fn: I((d) => [
4669
- C(o, {
4670
+ z(o, {
4670
4671
  props: d,
4671
4672
  style: H(e.getCellStyle(M))
4672
4673
  }, {
4673
4674
  default: I(() => [
4674
4675
  y("div", {
4675
- class: Q(e.getCellClass(M)),
4676
+ class: V(e.getCellClass(M)),
4676
4677
  ref: (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`)
4677
- }, T(e.formatColumnValue(M, d.value)), 3),
4678
- e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), V(s, {
4678
+ }, w(e.formatColumnValue(M, d.value)), 3),
4679
+ e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(a, {
4679
4680
  key: 0,
4680
4681
  style: H(e.getTooltipStyle()),
4681
- class: Q(e.getTooltipClass()),
4682
+ class: V(e.getTooltipClass()),
4682
4683
  anchor: "top middle",
4683
4684
  self: "bottom middle",
4684
4685
  offset: [10, 10]
4685
4686
  }, {
4686
4687
  default: I(() => [
4687
- W(T(e.formatColumnValue(M, d.value)), 1)
4688
+ W(w(e.formatColumnValue(M, d.value)), 1)
4688
4689
  ]),
4689
4690
  _: 2
4690
- }, 1032, ["style", "class"])) : Y("", !0)
4691
+ }, 1032, ["style", "class"])) : $("", !0)
4691
4692
  ]),
4692
4693
  _: 2
4693
4694
  }, 1032, ["props", "style"])
@@ -4696,48 +4697,48 @@ function ja(e, t, n, l, r, a) {
4696
4697
  ne(e.computedClickableColumns, (M) => ({
4697
4698
  name: `body-cell-${M.name}`,
4698
4699
  fn: I((d) => [
4699
- C(o, {
4700
+ z(o, {
4700
4701
  props: d,
4701
4702
  style: H(e.getCellStyle(M))
4702
4703
  }, {
4703
4704
  default: I(() => [
4704
- e.isClickable(M, d.value, d.row) ? (m(), b(ee, { key: 0 }, [
4705
+ e.isClickable(M, d.value, d.row) ? (m(), T(ee, { key: 0 }, [
4705
4706
  y("div", {
4706
- class: Q(["link-type", e.getCellClass(M)]),
4707
+ class: V(["link-type", e.getCellClass(M)]),
4707
4708
  ref: M.whiteSpace ? (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`) : void 0,
4708
4709
  onClick: (p) => e.handleColumnClick(M, d.row)
4709
- }, T(e.formatColumnValue(M, d.value)), 11, Ca),
4710
- M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), V(s, {
4710
+ }, w(e.formatColumnValue(M, d.value)), 11, Ca),
4711
+ M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(a, {
4711
4712
  key: 0,
4712
4713
  style: H(e.getTooltipStyle()),
4713
- class: Q(e.getTooltipClass(M)),
4714
+ class: V(e.getTooltipClass(M)),
4714
4715
  anchor: "top middle",
4715
4716
  self: "bottom middle",
4716
4717
  offset: [10, 10]
4717
4718
  }, {
4718
4719
  default: I(() => [
4719
- W(T(e.formatColumnValue(M, d.value)), 1)
4720
+ W(w(e.formatColumnValue(M, d.value)), 1)
4720
4721
  ]),
4721
4722
  _: 2
4722
- }, 1032, ["style", "class"])) : Y("", !0)
4723
- ], 64)) : (m(), b(ee, { key: 1 }, [
4723
+ }, 1032, ["style", "class"])) : $("", !0)
4724
+ ], 64)) : (m(), T(ee, { key: 1 }, [
4724
4725
  y("div", {
4725
- class: Q(e.getCellClass(M)),
4726
+ class: V(e.getCellClass(M)),
4726
4727
  ref: M.whiteSpace ? (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`) : void 0
4727
- }, T(e.formatColumnValue(M, d.value)), 3),
4728
- M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), V(s, {
4728
+ }, w(e.formatColumnValue(M, d.value)), 3),
4729
+ M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(a, {
4729
4730
  key: 0,
4730
4731
  style: H(e.getTooltipStyle()),
4731
- class: Q(e.getTooltipClass(M)),
4732
+ class: V(e.getTooltipClass(M)),
4732
4733
  anchor: "top middle",
4733
4734
  self: "bottom middle",
4734
4735
  offset: [10, 10]
4735
4736
  }, {
4736
4737
  default: I(() => [
4737
- W(T(e.formatColumnValue(M, d.value)), 1)
4738
+ W(w(e.formatColumnValue(M, d.value)), 1)
4738
4739
  ]),
4739
4740
  _: 2
4740
- }, 1032, ["style", "class"])) : Y("", !0)
4741
+ }, 1032, ["style", "class"])) : $("", !0)
4741
4742
  ], 64))
4742
4743
  ]),
4743
4744
  _: 2
@@ -4745,49 +4746,52 @@ function ja(e, t, n, l, r, a) {
4745
4746
  ])
4746
4747
  }))
4747
4748
  ]), 1032, ["selected", "class", "columns", "dense", "flat", "loading", "pagination", "row-key", "rows", "table-header-class"]),
4748
- !e.hidePagination && e.paginationInfo.rowsNumber ? (m(), V(g, {
4749
+ !e.hidePagination && e.paginationInfo.rowsNumber ? (m(), Y(g, {
4749
4750
  key: 0,
4750
4751
  paginationInfo: e.paginationInfo,
4751
4752
  class: "q-pa-md",
4752
4753
  onPagination: e.onPaginationChange
4753
- }, null, 8, ["paginationInfo", "onPagination"])) : Y("", !0),
4754
- E(e.$slots, "append")
4754
+ }, null, 8, ["paginationInfo", "onPagination"])) : $("", !0),
4755
+ O(e.$slots, "append")
4755
4756
  ], 4);
4756
4757
  }
4757
4758
  const bs = /* @__PURE__ */ B(Na, [["render", ja]]), za = U({
4758
4759
  name: "dialogConfirmComponent",
4759
4760
  components: {
4760
- QDialog: Dt,
4761
+ QDialog: Nt,
4761
4762
  QCard: Se,
4762
4763
  QCardSection: ve,
4763
4764
  QBtn: re,
4764
4765
  QIcon: le
4765
4766
  },
4766
- emits: [...Mt.emits],
4767
+ emits: [...mt.emits],
4767
4768
  props: {
4768
4769
  title: { type: String, default: "" },
4769
4770
  content: { type: String, default: "" },
4770
4771
  confirmButtonText: { type: String, default: "" },
4771
4772
  cancelButtonText: { type: String, default: "" },
4772
- isDelete: { type: Boolean, default: !1 }
4773
+ cancel: { type: Boolean, default: !0 },
4774
+ isDelete: { type: Boolean, default: !1 },
4775
+ color: { type: String, default: "" }
4773
4776
  },
4774
4777
  setup(e) {
4775
- const { t } = K(), { dialogRef: n, onDialogHide: l, onDialogOK: r, onDialogCancel: a } = Mt(), i = N(() => e.confirmButtonText || t("action.confirm")), o = N(() => e.cancelButtonText || t("action.cancel"));
4778
+ const { t } = K(), { dialogRef: n, onDialogHide: l, onDialogOK: r, onDialogCancel: s } = mt(), i = C(() => e.confirmButtonText || t("action.confirm")), o = C(() => e.cancelButtonText || t("action.cancel")), a = C(() => e.color || (e.isDelete ? "negative" : "primary"));
4776
4779
  return {
4777
4780
  dialogRef: n,
4778
4781
  onDialogHide: l,
4779
4782
  onOKClick() {
4780
4783
  r();
4781
4784
  },
4782
- onCancelClick: a,
4785
+ onCancelClick: s,
4783
4786
  computedCancelText: o,
4784
- computedConfirmText: i
4787
+ computedConfirmText: i,
4788
+ computedButtonColor: a
4785
4789
  };
4786
4790
  }
4787
4791
  }), ba = { class: "title" };
4788
- function Ta(e, t, n, l, r, a) {
4789
- const i = A("q-icon"), o = A("q-card-section"), s = A("q-btn"), c = A("q-card"), u = A("q-dialog");
4790
- return m(), V(u, {
4792
+ function Ta(e, t, n, l, r, s) {
4793
+ const i = N("q-icon"), o = N("q-card-section"), a = N("q-btn"), c = N("q-card"), u = N("q-dialog");
4794
+ return m(), Y(u, {
4791
4795
  ref: "dialogRef",
4792
4796
  onHide: e.onDialogHide,
4793
4797
  "transition-show": "jump-up",
@@ -4795,38 +4799,39 @@ function Ta(e, t, n, l, r, a) {
4795
4799
  persistent: ""
4796
4800
  }, {
4797
4801
  default: I(() => [
4798
- C(c, { class: "q-dialog-plugin" }, {
4802
+ z(c, { class: "q-dialog-plugin" }, {
4799
4803
  default: I(() => [
4800
- C(o, { class: "row items-center no-wrap" }, {
4804
+ z(o, { class: "row items-center no-wrap" }, {
4801
4805
  default: I(() => [
4802
- e.isDelete ? (m(), V(i, {
4806
+ e.isDelete ? (m(), Y(i, {
4803
4807
  key: 0,
4804
4808
  name: "app:delete-confirm",
4805
4809
  class: "q-mr-sm",
4806
4810
  size: "24px"
4807
- })) : Y("", !0),
4808
- y("div", ba, T(e.title), 1)
4811
+ })) : $("", !0),
4812
+ y("div", ba, w(e.title), 1)
4809
4813
  ]),
4810
4814
  _: 1
4811
4815
  }),
4812
- C(o, { class: "q-pt-none content" }, {
4816
+ z(o, { class: "q-pt-none content" }, {
4813
4817
  default: I(() => [
4814
- W(T(e.content), 1)
4818
+ W(w(e.content), 1)
4815
4819
  ]),
4816
4820
  _: 1
4817
4821
  }),
4818
- C(o, { class: "row q-gutter-sm justify-end" }, {
4822
+ z(o, { class: "row q-gutter-sm justify-end" }, {
4819
4823
  default: I(() => [
4820
- C(s, {
4824
+ e.cancel ? (m(), Y(a, {
4825
+ key: 0,
4821
4826
  outline: "",
4822
4827
  label: e.computedCancelText,
4823
4828
  onClick: e.onCancelClick,
4824
4829
  "no-caps": "",
4825
4830
  ripple: !1,
4826
4831
  style: { "min-width": "80px" }
4827
- }, null, 8, ["label", "onClick"]),
4828
- C(s, {
4829
- color: e.isDelete ? "negative" : "primary",
4832
+ }, null, 8, ["label", "onClick"])) : $("", !0),
4833
+ z(a, {
4834
+ color: e.computedButtonColor,
4830
4835
  label: e.computedConfirmText,
4831
4836
  onClick: e.onOKClick,
4832
4837
  "no-caps": "",
@@ -4844,7 +4849,7 @@ function Ta(e, t, n, l, r, a) {
4844
4849
  _: 1
4845
4850
  }, 8, ["onHide"]);
4846
4851
  }
4847
- const ha = /* @__PURE__ */ B(za, [["render", Ta], ["__scopeId", "data-v-9658106e"]]);
4852
+ const ha = /* @__PURE__ */ B(za, [["render", Ta], ["__scopeId", "data-v-22401d59"]]);
4848
4853
  let ze = null;
4849
4854
  class wa {
4850
4855
  /**
@@ -4856,8 +4861,8 @@ class wa {
4856
4861
  /**
4857
4862
  * 弹出自定义确认对话框,返回一个 Promise,resolve(true) 表示确定,resolve(false) 表示取消/关闭。
4858
4863
  */
4859
- async show({ title: t, color: n, content: l, confirmButtonText: r, cancelButtonText: a, showCancelButton: i, isDelete: o }) {
4860
- return ze != null && ze.dialog ? new Promise((s) => {
4864
+ async show({ title: t, color: n, content: l, confirmButtonText: r, cancelButtonText: s, showCancelButton: i, isDelete: o }) {
4865
+ return ze != null && ze.dialog ? new Promise((a) => {
4861
4866
  ze.dialog({
4862
4867
  component: ha,
4863
4868
  cancel: i === void 0 ? !0 : i,
@@ -4866,14 +4871,14 @@ class wa {
4866
4871
  color: n,
4867
4872
  content: l,
4868
4873
  confirmButtonText: r,
4869
- cancelButtonText: a,
4874
+ cancelButtonText: s,
4870
4875
  cancel: i === void 0 ? !0 : i,
4871
4876
  isDelete: o
4872
4877
  }
4873
4878
  }).onOk(() => {
4874
- s(!0);
4879
+ a(!0);
4875
4880
  }).onCancel(() => {
4876
- s(!1);
4881
+ a(!1);
4877
4882
  }).onDismiss(() => {
4878
4883
  });
4879
4884
  }) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
@@ -4950,7 +4955,7 @@ const va = new wa(), Sa = U({
4950
4955
  click: (e) => !0
4951
4956
  },
4952
4957
  setup(e, { emit: t, expose: n, slots: l }) {
4953
- const r = h(null), a = N(() => ({ "j-q-button-label": (l.icon || e.icon) && (l.default || e.label) })), i = N(() => [
4958
+ const r = h(null), s = C(() => ({ "j-q-button-label": (l.icon || e.icon) && (l.default || e.label) })), i = C(() => [
4954
4959
  "primary",
4955
4960
  "secondary"
4956
4961
  /* SECONDARY */
@@ -4967,12 +4972,12 @@ const va = new wa(), Sa = U({
4967
4972
  } : {
4968
4973
  "j-q-button--text": e.type === "text"
4969
4974
  /* TEXT */
4970
- }), o = (s) => {
4971
- t("click", s);
4975
+ }), o = (a) => {
4976
+ t("click", a);
4972
4977
  };
4973
4978
  return n({}), {
4974
4979
  computedClass: i,
4975
- iconPadding: a,
4980
+ iconPadding: s,
4976
4981
  click: o,
4977
4982
  qBtnRef: r
4978
4983
  };
@@ -4981,9 +4986,9 @@ const va = new wa(), Sa = U({
4981
4986
  key: 0,
4982
4987
  class: "j-q-button-prefix-icon"
4983
4988
  };
4984
- function ka(e, t, n, l, r, a) {
4985
- const i = A("q-tooltip"), o = A("q-btn");
4986
- return m(), V(o, Te({
4989
+ function ka(e, t, n, l, r, s) {
4990
+ const i = N("q-tooltip"), o = N("q-btn");
4991
+ return m(), Y(o, Te({
4987
4992
  class: e.computedClass,
4988
4993
  loading: e.loading
4989
4994
  }, e.$attrs, {
@@ -4995,17 +5000,17 @@ function ka(e, t, n, l, r, a) {
4995
5000
  ref: "qBtnRef"
4996
5001
  }), we({
4997
5002
  default: I(() => [
4998
- !e.icon && e.$slots.icon ? (m(), b("span", La, [
4999
- E(e.$slots, "icon", {}, void 0, !0)
5000
- ])) : Y("", !0),
5003
+ !e.icon && e.$slots.icon ? (m(), T("span", La, [
5004
+ O(e.$slots, "icon", {}, void 0, !0)
5005
+ ])) : $("", !0),
5001
5006
  y("span", {
5002
- class: Q(e.iconPadding)
5007
+ class: V(e.iconPadding)
5003
5008
  }, [
5004
- E(e.$slots, "default", {}, () => [
5005
- W(T(e.label), 1)
5009
+ O(e.$slots, "default", {}, () => [
5010
+ W(w(e.label), 1)
5006
5011
  ], !0)
5007
5012
  ], 2),
5008
- e.tips ? (m(), V(i, {
5013
+ e.tips ? (m(), Y(i, {
5009
5014
  key: 1,
5010
5015
  class: "j-q-button-tooltip",
5011
5016
  anchor: "top middle",
@@ -5013,17 +5018,17 @@ function ka(e, t, n, l, r, a) {
5013
5018
  offset: [10, 6]
5014
5019
  }, {
5015
5020
  default: I(() => [
5016
- W(T(e.tips), 1)
5021
+ W(w(e.tips), 1)
5017
5022
  ]),
5018
5023
  _: 1
5019
- })) : Y("", !0)
5024
+ })) : $("", !0)
5020
5025
  ]),
5021
5026
  _: 2
5022
5027
  }, [
5023
5028
  e.$slots.loading ? {
5024
5029
  name: "loading",
5025
5030
  fn: I(() => [
5026
- E(e.$slots, "loading", {}, void 0, !0)
5031
+ O(e.$slots, "loading", {}, void 0, !0)
5027
5032
  ]),
5028
5033
  key: "0"
5029
5034
  } : void 0
@@ -5034,14 +5039,14 @@ function Ot(e, t = {}) {
5034
5039
  if (!Array.isArray(e))
5035
5040
  return [];
5036
5041
  const { optionLabel: n = "label", optionValue: l = "value", optionChildren: r = "children" } = t;
5037
- return e.map((a) => {
5038
- const i = String(a[n] ?? ""), o = a[l], s = {
5042
+ return e.map((s) => {
5043
+ const i = String(s[n] ?? ""), o = s[l], a = {
5039
5044
  label: i,
5040
5045
  value: o,
5041
- row: a
5046
+ row: s
5042
5047
  // 保留原始对象
5043
- }, c = a[r];
5044
- return Array.isArray(c) && c.length > 0 && (s.children = Ot(c, t)), s;
5048
+ }, c = s[r];
5049
+ return Array.isArray(c) && c.length > 0 && (a.children = Ot(c, t)), a;
5045
5050
  });
5046
5051
  }
5047
5052
  const Oa = (e, t) => {
@@ -5123,7 +5128,7 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5123
5128
  "grey-medium": "#aaaaaa",
5124
5129
  "grey-light": "#eeeeee",
5125
5130
  "grey-lighter": "#f5f6fa"
5126
- }, ft = {
5131
+ }, It = {
5127
5132
  "app:clear": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjIwcHgiIGhlaWdodD0iMjBweCIgdmlld0JveD0iMCAwIDIwIDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQoNCiAgICA8ZyBpZD0icXVhc2FyLWN1c3RvbS1zdmciIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iZVNJTS1Hcm91cC1BZGQtZmlyc3QtbGV2ZWwtZ3JvdXBzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzE5LjAwMDAwMCwgLTMwOS4wMDAwMDApIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtMTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDM2MS4wMDAwMDAsIDIwMy4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MC4wMDAwMDAsIDcyLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTflpIfku70tOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDI2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Iue8lue7hCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjY4LjAwMDAwMCwgOC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjwvcmVjdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkPSJNMTAsMS42NjY2NjY2NyBDNS40MDUsMS42NjY2NjY2NyAxLjY2NjY2NjY3LDUuNDA1IDEuNjY2NjY2NjcsMTAgQzEuNjY2NjY2NjcsMTQuNTk1IDUuNDA1LDE4LjMzMzMzMzMgMTAsMTguMzMzMzMzMyBDMTQuNTk1LDE4LjMzMzMzMzMgMTguMzMzMzMzMywxNC41OTUgMTguMzMzMzMzMywxMCBDMTguMzMzMzMzMyw1LjQwNSAxNC41OTUsMS42NjY2NjY2NyAxMCwxLjY2NjY2NjY3Ig0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD0iUGF0aCIgZmlsbD0iI0VCRUNGMCIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGgNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZD0iTTEyLjI1NTgzMzMsNy43NDQxNjY2NyBDMTEuOTMsNy40MTgzMzMzMyAxMS40MDMzMzMzLDcuNDE4MzMzMzMgMTEuMDc3NSw3Ljc0NDE2NjY3IEwxMCw4LjgyMTY2NjY3IEw4LjkyMjUsNy43NDQxNjY2NyBDOC41OTY2NjY2Nyw3LjQxODMzMzMzIDguMDcsNy40MTgzMzMzMyA3Ljc0NDE2NjY3LDcuNzQ0MTY2NjcgQzcuNDE4MzMzMzMsOC4wNyA3LjQxODMzMzMzLDguNTk2NjY2NjcgNy43NDQxNjY2Nyw4LjkyMjUgTDguODIxNjY2NjcsMTAgTDcuNzQ0MTY2NjcsMTEuMDc3NSBDNy40MTgzMzMzMywxMS40MDMzMzMzIDcuNDE4MzMzMzMsMTEuOTMgNy43NDQxNjY2NywxMi4yNTU4MzMzIEM3LjkwNjY2NjY3LDEyLjQxODMzMzMgOC4xMiwxMi41IDguMzMzMzMzMzMsMTIuNSBDOC41NDY2NjY2NywxMi41IDguNzYsMTIuNDE4MzMzMyA4LjkyMjUsMTIuMjU1ODMzMyBMMTAsMTEuMTc4MzMzMyBMMTEuMDc3NSwxMi4yNTU4MzMzIEMxMS4yNCwxMi40MTgzMzMzIDExLjQ1MzMzMzMsMTIuNSAxMS42NjY2NjY3LDEyLjUgQzExLjg4LDEyLjUgMTIuMDkzMzMzMywxMi40MTgzMzMzIDEyLjI1NTgzMzMsMTIuMjU1ODMzMyBDMTIuNTgxNjY2NywxMS45MyAxMi41ODE2NjY3LDExLjQwMzMzMzMgMTIuMjU1ODMzMywxMS4wNzc1IEwxMS4xNzgzMzMzLDEwIEwxMi4yNTU4MzMzLDguOTIyNSBDMTIuNTgxNjY2Nyw4LjU5NjY2NjY3IDEyLjU4MTY2NjcsOC4wNyAxMi4yNTU4MzMzLDcuNzQ0MTY2NjciDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPSJQYXRoIiBmaWxsPSIjOTk5REI0IiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==",
5128
5133
  "app:delete-confirm": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBmaWxsPSIjRTIxQTFBIiByPSIxMCIgY3k9IjEyIiBjeD0iMTIiLz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTUuMDQxIDcuODdhLjc1Ljc1IDAgMCAxIDEuMDYgMS4wNmwtMy4wNDEgMy4wNCAzLjA0MiAzLjA0M2EuNzUuNzUgMCAwIDEtMS4wNiAxLjA2bC0zLjA0My0zLjA0Mi0zLjA0IDMuMDQyYS43NS43NSAwIDAgMS0xLjA2MS0xLjA2bDMuMDQtMy4wNDItMy4wNC0zLjA0MWEuNzUuNzUgMCAwIDEgMS4wNi0xLjA2TDEyIDEwLjkxbDMuMDQyLTMuMDRaIi8+PC9zdmc+",
5129
5134
  "app:edit": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzVBNjA3RiIgZD0iTTE5Ljk5OCAyMC4yNWEuNzUuNzUgMCAwIDEgMCAxLjVoLTE2YS43NS43NSAwIDAgMSAwLTEuNWgxNlpNMTMuOSAzLjg4NWEyLjc1IDIuNzUgMCAwIDEgMy44OTEgMGwuODI0LjgyNWEyLjc1IDIuNzUgMCAwIDEgMCAzLjg4OEw5Ljk4IDE3LjIzN2ExLjc1MSAxLjc1MSAwIDAgMS0xLjIzOC41MTNINS40OThhLjc1Ljc1IDAgMCAxLS43NS0uNzV2LTMuMjI3YzAtLjQ2My4xODQtLjkwOC41MTItMS4yMzZsOC42NC04LjY1MlptMi44MyAxLjA2YTEuMjUgMS4yNSAwIDAgMC0xLjc2OCAwbC04LjY0IDguNjUxYS4yNTIuMjUyIDAgMCAwLS4wNzQuMTc3djIuNDc3aDIuNDk0YS4yNS4yNSAwIDAgMCAuMTc3LS4wNzRsOC42MzYtOC42MzhhMS4yNSAxLjI1IDAgMCAwIDAtMS43NjhsLS44MjUtLjgyNFoiIGRhdGEtZm9sbG93LWZpbGw9IiM1QTYwN0YiLz48L3N2Zz4=",
@@ -5144,9 +5149,9 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5144
5149
  n.push(r, r.toLowerCase());
5145
5150
  } else
5146
5151
  n.push(`app:${e}`, `app:${e.toLowerCase()}`);
5147
- const l = n.find((r) => ft[r] !== void 0);
5152
+ const l = n.find((r) => It[r] !== void 0);
5148
5153
  if (l)
5149
- return { icon: t + ft[l] };
5154
+ return { icon: t + It[l] };
5150
5155
  };
5151
5156
  function Ka(...e) {
5152
5157
  return (t) => {
@@ -5158,34 +5163,34 @@ function Ka(...e) {
5158
5163
  };
5159
5164
  }
5160
5165
  function hs(e) {
5161
- const { app: t, router: n, store: l, i18n: r, pagePermissionIds: a, pageActionPermissionIds: i, defaultLanguage: o, colors: s } = e;
5166
+ const { app: t, router: n, store: l, i18n: r, pagePermissionIds: s, pageActionPermissionIds: i, defaultLanguage: o, colors: a } = e;
5162
5167
  es(t);
5163
5168
  const c = t.config.globalProperties.$q;
5164
- c ? (pn(c), Ve.setQuasarInstance(c), va.setQuasarInstance(c), _a(c)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), o ? Ke(o).catch((g) => {
5169
+ c ? (pn(c), Qe.setQuasarInstance(c), va.setQuasarInstance(c), _a(c)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), o ? Xe(o).catch((g) => {
5165
5170
  console.error("[rtcpt] Failed to set default language:", g);
5166
- }) : Ke("zh-CN").catch((g) => {
5171
+ }) : Xe("zh-CN").catch((g) => {
5167
5172
  console.error("[rtcpt] Failed to load default locale:", g);
5168
5173
  });
5169
5174
  const u = Ja;
5170
- if (ot.configure({
5175
+ if (it.configure({
5171
5176
  router: n,
5172
5177
  store: l,
5173
5178
  i18n: r,
5174
5179
  iconMapFn: u
5175
- }), a) {
5176
- const g = ct(a) ? a : h(a);
5177
- console.log("[rtcpt] Permission IDs provided:", g.value), t.provide(zt, g);
5180
+ }), s) {
5181
+ const g = gt(s) ? s : h(s);
5182
+ console.log("[rtcpt] Permission IDs provided:", g.value), t.provide(ot, g);
5178
5183
  }
5179
5184
  if (i) {
5180
- const g = ct(i) ? i : h(i);
5181
- console.log("[rtcpt] Action Permission IDs provided:", g.value), t.provide(jt, g);
5185
+ const g = gt(i) ? i : h(i);
5186
+ console.log("[rtcpt] Action Permission IDs provided:", g.value), t.provide(lt, g);
5182
5187
  }
5183
- s && c && Xa(s), console.log("[rtcpt] Initialization started..."), c && (c.iconMapFn = Ka(c.iconMapFn, u)), console.log("[rtcpt] Initialization completed successfully.");
5188
+ a && c && Xa(a), console.log("[rtcpt] Initialization started..."), c && (c.iconMapFn = Ka(c.iconMapFn, u)), console.log("[rtcpt] Initialization completed successfully.");
5184
5189
  }
5185
5190
  function Xa(e, t) {
5186
5191
  const n = { ...Fa, ...e }, l = document.documentElement;
5187
- Object.entries(n).forEach(([r, a]) => {
5188
- l.style.setProperty(`--j-color-${r}`, a);
5192
+ Object.entries(n).forEach(([r, s]) => {
5193
+ l.style.setProperty(`--j-color-${r}`, s);
5189
5194
  }), n.primary && Ce("primary", n.primary), n.negative && Ce("negative", n.negative), n.green && Ce("positive", n.green), n.yellow && Ce("warning", n.yellow), n.dark && Ce("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
5190
5195
  }
5191
5196
  function _a(e) {
@@ -5197,7 +5202,7 @@ function _a(e) {
5197
5202
  function es(e) {
5198
5203
  var n;
5199
5204
  const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
5200
- t != null && t["close-popup"] || e.directive("close-popup", yt);
5205
+ t != null && t["close-popup"] || e.directive("close-popup", Dt);
5201
5206
  }
5202
5207
  const ws = {
5203
5208
  transformTreeUseLabelAndValue: Ot,
@@ -5208,7 +5213,7 @@ const ws = {
5208
5213
  formUtils: Pa
5209
5214
  };
5210
5215
  export {
5211
- ot as DialogProvider,
5216
+ it as DialogProvider,
5212
5217
  nn as JCCopy,
5213
5218
  os as JCDuoListEditor,
5214
5219
  as as JCEditableProxy,
@@ -5239,23 +5244,23 @@ export {
5239
5244
  Ds as JQFile,
5240
5245
  _n as JQFormLabel,
5241
5246
  wt as JQInput,
5242
- Ve as JQMessage,
5247
+ Qe as JQMessage,
5243
5248
  As as JQNewValue,
5244
5249
  Ns as JQOptionGroup,
5245
5250
  Cs as JQPopover,
5246
5251
  js as JQSearchForm,
5247
5252
  zs as JQSelect,
5248
5253
  bs as JQTable,
5249
- at as JQTooltip,
5250
- jt as PAGE_ACTION_PERMISSION_KEY,
5251
- zt as PAGE_PERMISSION_KEY,
5254
+ rt as JQTooltip,
5255
+ lt as PAGE_ACTION_PERMISSION_KEY,
5256
+ ot as PAGE_PERMISSION_KEY,
5252
5257
  Ka as composeIconMapFn,
5253
5258
  Pa as formUtils,
5254
5259
  ht as getLocale,
5255
5260
  ws as jqTool,
5256
5261
  Ja as rtcptIconMapFn,
5257
5262
  hs as rtcptInit,
5258
- Ke as setLocale,
5263
+ Xe as setLocale,
5259
5264
  Tt as t,
5260
5265
  K as useI18n
5261
5266
  };