rtcpts 0.0.75 → 0.0.77
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/component-types.d.ts +8 -0
- package/dist/components/j-c-copy/types.d.ts +5 -6
- package/dist/components/j-c-duo-list-editor/types.d.ts +6 -5
- package/dist/components/j-c-editable-proxy/index.d.ts +7 -6
- package/dist/components/j-c-editable-proxy/types.d.ts +5 -4
- package/dist/components/j-c-fallback/types.d.ts +5 -6
- package/dist/components/j-c-foldable-list/types.d.ts +5 -6
- package/dist/components/j-c-format-lookup/types.d.ts +5 -6
- package/dist/components/j-c-list-editor/types.d.ts +5 -4
- package/dist/components/j-c-more-menu/index.d.ts +7 -6
- package/dist/components/j-c-more-menu/types.d.ts +7 -4
- package/dist/components/j-c-nested-select/types.d.ts +24 -2
- package/dist/components/j-c-org-select/types.d.ts +5 -4
- package/dist/components/j-c-permission/index.d.ts +2 -3
- package/dist/components/j-c-permission/types.d.ts +11 -11
- package/dist/components/j-c-platform/types.d.ts +5 -6
- package/dist/components/j-c-table/types.d.ts +5 -6
- package/dist/components/j-c-tabs/types.d.ts +5 -4
- package/dist/components/j-c-title-line/types.d.ts +5 -6
- package/dist/components/j-c-tooltip/types.d.ts +5 -3
- package/dist/components/j-c-tooltip-ellipsis/types.d.ts +5 -3
- package/dist/components/j-c-tree/component.d.ts +277 -0
- package/dist/components/j-c-tree/types.d.ts +6 -4
- package/dist/components/j-c-tree-select/types.d.ts +5 -4
- package/dist/components/j-ch-bar/types.d.ts +6 -6
- package/dist/components/j-ch-bar-line/types.d.ts +6 -3
- package/dist/components/j-ch-bubble/types.d.ts +6 -3
- package/dist/components/j-ch-line/types.d.ts +11 -3
- package/dist/components/j-ch-pie-doughnut/types.d.ts +6 -3
- package/dist/components/j-ch-radar/types.d.ts +6 -3
- package/dist/components/j-q-autocomplete/types.d.ts +6 -4
- package/dist/components/j-q-button/types.d.ts +6 -4
- package/dist/components/j-q-button-dropdown/types.d.ts +6 -4
- package/dist/components/j-q-checkbox/types.d.ts +6 -4
- package/dist/components/j-q-confirm/types.d.ts +6 -4
- package/dist/components/j-q-confirm-dialog/component.d.ts +335 -0
- package/dist/components/j-q-confirm-dialog/index.d.ts +0 -321
- package/dist/components/j-q-confirm-dialog/types.d.ts +79 -1
- package/dist/components/j-q-date/types.d.ts +7 -4
- package/dist/components/j-q-date-month/types.d.ts +6 -4
- package/dist/components/j-q-date-year/types.d.ts +6 -4
- package/dist/components/j-q-datetime/types.d.ts +7 -7
- package/dist/components/j-q-detail-list/types.d.ts +6 -3
- package/dist/components/j-q-dialog/component.d.ts +409 -0
- package/dist/components/j-q-dialog/types.d.ts +4 -3
- package/dist/components/j-q-file/types.d.ts +3 -3
- package/dist/components/j-q-form-label/types.d.ts +6 -4
- package/dist/components/j-q-input/types.d.ts +6 -4
- package/dist/components/j-q-input-recognize/types.d.ts +6 -4
- package/dist/components/j-q-new-value/types.d.ts +6 -4
- package/dist/components/j-q-option-group/types.d.ts +6 -4
- package/dist/components/j-q-pagination/component.d.ts +92 -0
- package/dist/components/j-q-pagination/types.d.ts +6 -4
- package/dist/components/j-q-popover/types.d.ts +6 -4
- package/dist/components/j-q-search-form/types.d.ts +6 -4
- package/dist/components/j-q-select/types.d.ts +6 -4
- package/dist/components/j-q-table/index.d.ts +5 -2
- package/dist/components/j-q-table/types.d.ts +6 -4
- package/dist/components/j-q-tooltip/types.d.ts +6 -4
- package/dist/global.d.ts +115 -190
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -8
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.mjs +72 -25
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +332 -327
- package/dist/utils/generated-component-names.d.ts +9 -0
- package/dist/utils/resolver.d.ts +3 -3
- package/dist/vue-shim.d.ts +6 -0
- package/package.json +9 -5
package/dist/rtcpt.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as F, ref as $, computed as N, resolveComponent as D, createBlock as Y, openBlock as M, createElementBlock as z, createCommentVNode as q, Fragment as K, renderList as ie, normalizeClass as U, createElementVNode as j, renderSlot as R, createVNode as S, inject as at, toDisplayString as V, normalizeStyle as X, createTextVNode as ee, useSlots as
|
|
2
|
-
import { QIcon as se, copyToClipboard as
|
|
1
|
+
import { defineComponent as F, ref as $, computed as N, resolveComponent as D, createBlock as Y, openBlock as M, createElementBlock as z, createCommentVNode as q, Fragment as K, renderList as ie, normalizeClass as U, createElementVNode as j, renderSlot as R, createVNode as S, inject as at, toDisplayString as V, normalizeStyle as X, createTextVNode as ee, useSlots as dl, useAttrs as fl, getCurrentInstance as co, watch as H, nextTick as ye, onBeforeUnmount as Cn, Text as pl, cloneVNode as ml, h as Yt, Teleport as gl, Transition as Wt, Comment as yl, withCtx as A, mergeProps as Ae, createSlots as Ge, resolveDirective as Ct, withDirectives as ge, vShow as Ie, Suspense as Ml, resolveDynamicComponent as fn, toHandlers as hl, onMounted as st, normalizeProps as qe, guardReactiveProps as Fe, withModifiers as re, withKeys as fo, createApp as Il, onUnmounted as vl, vModelText as bl, reactive as ot, toRef as _n, isRef as xn } from "vue";
|
|
2
|
+
import { QIcon as se, copyToClipboard as Dl, QBtn as Se, QCardActions as Al, QCardSection as _e, QCard as xe, QPopupProxy as ke, ClosePopup as Ht, QInnerLoading as Nn, QDialog as po, QInput as wn, QItemSection as Jt, QItem as Nt, QSpinner as Cl, QSelect as wt, QList as jt, QMenu as jn, QTooltip as Nl, QTree as mo, QField as Le, QItemLabel as wl, QBtnDropdown as jl, QCheckbox as go, QDate as yo, date as te, QOptionGroup as Sl, QPagination as Tl, QTd as zl, QTh as kl, QTable as Ll, useDialogPluginComponent as $l, setCssVar as yt } from "quasar";
|
|
3
3
|
import { _ as W } from "./charts-DKkEg_xR.js";
|
|
4
|
-
import { i as Wg, a as Hg, b as Jg, c as Gg, d as
|
|
4
|
+
import { i as Wg, a as Hg, b as Jg, c as Gg, d as _g, e as xg } from "./charts-DKkEg_xR.js";
|
|
5
5
|
const Ol = F({
|
|
6
6
|
name: "JCCopy",
|
|
7
7
|
components: {
|
|
@@ -28,7 +28,7 @@ const Ol = F({
|
|
|
28
28
|
handleCopy: async () => {
|
|
29
29
|
if (!t.value)
|
|
30
30
|
try {
|
|
31
|
-
await
|
|
31
|
+
await Dl(e.text), t.value = !0, n && clearTimeout(n), n = setTimeout(() => {
|
|
32
32
|
t.value = !1, n = null;
|
|
33
33
|
}, e.revertDelay);
|
|
34
34
|
} catch (a) {
|
|
@@ -48,7 +48,7 @@ function El(e, t, n, o, l, i) {
|
|
|
48
48
|
class: "cursor-pointer"
|
|
49
49
|
}, null, 8, ["name", "color", "onClick"]);
|
|
50
50
|
}
|
|
51
|
-
const
|
|
51
|
+
const Mo = /* @__PURE__ */ W(Ol, [["render", El]]), Vl = async (e) => (await {
|
|
52
52
|
"zh-CN": () => import("./index-y_G1gdGr.js"),
|
|
53
53
|
"en-US": () => import("./index-C18LBTar.js")
|
|
54
54
|
}[e]()).default, nn = {}, Pl = async (e) => (nn[e] || (nn[e] = await Vl(e)), nn[e]), ql = {
|
|
@@ -72,7 +72,7 @@ function Rl(e, t) {
|
|
|
72
72
|
function Ql(e, t) {
|
|
73
73
|
return t ? e.replace(/\{(\w+)\}/g, (n, o) => t[o] !== void 0 ? String(t[o]) : n) : e;
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function ho(e, t) {
|
|
76
76
|
if (!pn.value)
|
|
77
77
|
return console.warn("[rtcpt] i18n messages not loaded yet, please call setLocale first"), e;
|
|
78
78
|
const n = Rl(pn.value, e);
|
|
@@ -97,7 +97,7 @@ function Tn() {
|
|
|
97
97
|
}
|
|
98
98
|
function ae() {
|
|
99
99
|
return {
|
|
100
|
-
t:
|
|
100
|
+
t: ho,
|
|
101
101
|
locale: Sn,
|
|
102
102
|
setLocale: gn,
|
|
103
103
|
getLocale: Tn
|
|
@@ -270,10 +270,10 @@ function Gl(e, t, n, o, l, i) {
|
|
|
270
270
|
e.rmDom ? q("", !0) : (M(), z("span", Jl, V(e.defaultContent), 1))
|
|
271
271
|
], 64));
|
|
272
272
|
}
|
|
273
|
-
const
|
|
273
|
+
const Io = /* @__PURE__ */ W(Hl, [["render", Gl]]), it = Math.min, We = Math.max, Rt = Math.round, Vt = Math.floor, we = (e) => ({
|
|
274
274
|
x: e,
|
|
275
275
|
y: e
|
|
276
|
-
}),
|
|
276
|
+
}), _l = {
|
|
277
277
|
left: "right",
|
|
278
278
|
right: "left",
|
|
279
279
|
bottom: "top",
|
|
@@ -291,7 +291,7 @@ function He(e) {
|
|
|
291
291
|
function kt(e) {
|
|
292
292
|
return e.split("-")[1];
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function vo(e) {
|
|
295
295
|
return e === "x" ? "y" : "x";
|
|
296
296
|
}
|
|
297
297
|
function zn(e) {
|
|
@@ -302,9 +302,9 @@ function Ye(e) {
|
|
|
302
302
|
return t === "t" || t === "b" ? "y" : "x";
|
|
303
303
|
}
|
|
304
304
|
function kn(e) {
|
|
305
|
-
return
|
|
305
|
+
return vo(Ye(e));
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function xl(e, t, n) {
|
|
308
308
|
n === void 0 && (n = !1);
|
|
309
309
|
const o = kt(e), l = kn(e), i = zn(l);
|
|
310
310
|
let a = l === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
@@ -317,12 +317,12 @@ function Kl(e) {
|
|
|
317
317
|
function Mn(e) {
|
|
318
318
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
319
319
|
}
|
|
320
|
-
const
|
|
320
|
+
const Kn = ["left", "right"], Xn = ["right", "left"], Xl = ["top", "bottom"], ea = ["bottom", "top"];
|
|
321
321
|
function ta(e, t, n) {
|
|
322
322
|
switch (e) {
|
|
323
323
|
case "top":
|
|
324
324
|
case "bottom":
|
|
325
|
-
return n ? t ?
|
|
325
|
+
return n ? t ? Xn : Kn : t ? Kn : Xn;
|
|
326
326
|
case "left":
|
|
327
327
|
case "right":
|
|
328
328
|
return t ? Xl : ea;
|
|
@@ -337,7 +337,7 @@ function na(e, t, n, o) {
|
|
|
337
337
|
}
|
|
338
338
|
function Qt(e) {
|
|
339
339
|
const t = He(e);
|
|
340
|
-
return
|
|
340
|
+
return _l[t] + e.slice(t.length);
|
|
341
341
|
}
|
|
342
342
|
function oa(e) {
|
|
343
343
|
return {
|
|
@@ -348,7 +348,7 @@ function oa(e) {
|
|
|
348
348
|
...e
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function bo(e) {
|
|
352
352
|
return typeof e != "number" ? oa(e) : {
|
|
353
353
|
top: e,
|
|
354
354
|
right: e,
|
|
@@ -374,7 +374,7 @@ function Ut(e) {
|
|
|
374
374
|
y: n
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function eo(e, t, n) {
|
|
378
378
|
let {
|
|
379
379
|
reference: o,
|
|
380
380
|
floating: l
|
|
@@ -438,7 +438,7 @@ async function la(e, t) {
|
|
|
438
438
|
elementContext: d = "floating",
|
|
439
439
|
altBoundary: f = !1,
|
|
440
440
|
padding: p = 0
|
|
441
|
-
} = zt(t, e), m =
|
|
441
|
+
} = zt(t, e), m = bo(p), g = r[f ? d === "floating" ? "reference" : "floating" : d], C = Ut(await i.getClippingRect({
|
|
442
442
|
element: (n = await (i.isElement == null ? void 0 : i.isElement(g))) == null || n ? g : g.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(r.floating)),
|
|
443
443
|
boundary: c,
|
|
444
444
|
rootBoundary: u,
|
|
@@ -484,7 +484,7 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
484
484
|
}), {
|
|
485
485
|
x: u,
|
|
486
486
|
y: d
|
|
487
|
-
} =
|
|
487
|
+
} = eo(c, o, s), f = o, p = 0;
|
|
488
488
|
const m = {};
|
|
489
489
|
for (let y = 0; y < i.length; y++) {
|
|
490
490
|
const g = i[y];
|
|
@@ -522,7 +522,7 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
522
522
|
}) : h.rects), {
|
|
523
523
|
x: u,
|
|
524
524
|
y: d
|
|
525
|
-
} =
|
|
525
|
+
} = eo(c, f, s)), y = -1);
|
|
526
526
|
}
|
|
527
527
|
return {
|
|
528
528
|
x: u,
|
|
@@ -549,7 +549,7 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
549
549
|
} = zt(e, t) || {};
|
|
550
550
|
if (c == null)
|
|
551
551
|
return {};
|
|
552
|
-
const d =
|
|
552
|
+
const d = bo(u), f = {
|
|
553
553
|
x: n,
|
|
554
554
|
y: o
|
|
555
555
|
}, p = kn(l), m = zn(p), y = await a.getDimensions(c), g = p === "y", C = g ? "top" : "left", T = g ? "bottom" : "right", k = g ? "clientHeight" : "clientWidth", w = i.reference[m] + i.reference[p] - f[p] - i.floating[m], v = f[p] - i.reference[p], h = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
|
@@ -597,7 +597,7 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
597
597
|
const I = [r, ...v], b = await s.detectOverflow(t, g), O = [];
|
|
598
598
|
let B = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
599
599
|
if (u && O.push(b[C]), d) {
|
|
600
|
-
const ne =
|
|
600
|
+
const ne = xl(l, a, w);
|
|
601
601
|
O.push(b[ne[0]], b[ne[1]]);
|
|
602
602
|
}
|
|
603
603
|
if (B = [...B, {
|
|
@@ -728,7 +728,7 @@ const da = function(e) {
|
|
|
728
728
|
} = zt(e, t), u = {
|
|
729
729
|
x: n,
|
|
730
730
|
y: o
|
|
731
|
-
}, d = await i.detectOverflow(t, c), f = Ye(He(l)), p =
|
|
731
|
+
}, d = await i.detectOverflow(t, c), f = Ye(He(l)), p = vo(f);
|
|
732
732
|
let m = u[p], y = u[f];
|
|
733
733
|
if (a) {
|
|
734
734
|
const C = p === "y" ? "top" : "left", T = p === "y" ? "bottom" : "right", k = m + d[C], w = m - d[T];
|
|
@@ -761,7 +761,7 @@ function Gt() {
|
|
|
761
761
|
return typeof window < "u";
|
|
762
762
|
}
|
|
763
763
|
function ut(e) {
|
|
764
|
-
return
|
|
764
|
+
return Do(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
765
765
|
}
|
|
766
766
|
function he(e) {
|
|
767
767
|
var t;
|
|
@@ -769,9 +769,9 @@ function he(e) {
|
|
|
769
769
|
}
|
|
770
770
|
function Te(e) {
|
|
771
771
|
var t;
|
|
772
|
-
return (t = (
|
|
772
|
+
return (t = (Do(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function Do(e) {
|
|
775
775
|
return Gt() ? e instanceof Node || e instanceof he(e).Node : !1;
|
|
776
776
|
}
|
|
777
777
|
function Ce(e) {
|
|
@@ -780,7 +780,7 @@ function Ce(e) {
|
|
|
780
780
|
function $e(e) {
|
|
781
781
|
return Gt() ? e instanceof HTMLElement || e instanceof he(e).HTMLElement : !1;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function to(e) {
|
|
784
784
|
return !Gt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof he(e).ShadowRoot;
|
|
785
785
|
}
|
|
786
786
|
function Lt(e) {
|
|
@@ -795,7 +795,7 @@ function Lt(e) {
|
|
|
795
795
|
function pa(e) {
|
|
796
796
|
return /^(table|td|th)$/.test(ut(e));
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function _t(e) {
|
|
799
799
|
try {
|
|
800
800
|
if (e.matches(":popover-open"))
|
|
801
801
|
return !0;
|
|
@@ -818,7 +818,7 @@ function ya(e) {
|
|
|
818
818
|
for (; $e(t) && !rt(t); ) {
|
|
819
819
|
if (Ln(t))
|
|
820
820
|
return t;
|
|
821
|
-
if (
|
|
821
|
+
if (_t(t))
|
|
822
822
|
return null;
|
|
823
823
|
t = Re(t);
|
|
824
824
|
}
|
|
@@ -833,7 +833,7 @@ function rt(e) {
|
|
|
833
833
|
function Ne(e) {
|
|
834
834
|
return he(e).getComputedStyle(e);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function xt(e) {
|
|
837
837
|
return Ce(e) ? {
|
|
838
838
|
scrollLeft: e.scrollLeft,
|
|
839
839
|
scrollTop: e.scrollTop
|
|
@@ -849,19 +849,19 @@ function Re(e) {
|
|
|
849
849
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
850
850
|
e.assignedSlot || // DOM Element detected.
|
|
851
851
|
e.parentNode || // ShadowRoot detected.
|
|
852
|
-
|
|
852
|
+
to(e) && e.host || // Fallback.
|
|
853
853
|
Te(e)
|
|
854
854
|
);
|
|
855
|
-
return
|
|
855
|
+
return to(t) ? t.host : t;
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function Ao(e) {
|
|
858
858
|
const t = Re(e);
|
|
859
|
-
return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : $e(t) && Lt(t) ? t :
|
|
859
|
+
return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : $e(t) && Lt(t) ? t : Ao(t);
|
|
860
860
|
}
|
|
861
861
|
function Dt(e, t, n) {
|
|
862
862
|
var o;
|
|
863
863
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
864
|
-
const l =
|
|
864
|
+
const l = Ao(e), i = l === ((o = e.ownerDocument) == null ? void 0 : o.body), a = he(l);
|
|
865
865
|
if (i) {
|
|
866
866
|
const r = hn(a);
|
|
867
867
|
return t.concat(a, a.visualViewport || [], Lt(l) ? l : [], r && n ? Dt(r) : []);
|
|
@@ -871,7 +871,7 @@ function Dt(e, t, n) {
|
|
|
871
871
|
function hn(e) {
|
|
872
872
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function Co(e) {
|
|
875
875
|
const t = Ne(e);
|
|
876
876
|
let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
|
|
877
877
|
const l = $e(e), i = l ? e.offsetWidth : n, a = l ? e.offsetHeight : o, r = Rt(n) !== i || Rt(o) !== a;
|
|
@@ -892,7 +892,7 @@ function lt(e) {
|
|
|
892
892
|
width: o,
|
|
893
893
|
height: l,
|
|
894
894
|
$: i
|
|
895
|
-
} =
|
|
895
|
+
} = Co(t);
|
|
896
896
|
let a = (i ? Rt(n.width) : n.width) / o, r = (i ? Rt(n.height) : n.height) / l;
|
|
897
897
|
return (!a || !Number.isFinite(a)) && (a = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
898
898
|
x: a,
|
|
@@ -900,7 +900,7 @@ function lt(e) {
|
|
|
900
900
|
};
|
|
901
901
|
}
|
|
902
902
|
const Ma = /* @__PURE__ */ we(0);
|
|
903
|
-
function
|
|
903
|
+
function No(e) {
|
|
904
904
|
const t = he(e);
|
|
905
905
|
return !$n() || !t.visualViewport ? Ma : {
|
|
906
906
|
x: t.visualViewport.offsetLeft,
|
|
@@ -915,7 +915,7 @@ function Je(e, t, n, o) {
|
|
|
915
915
|
const l = e.getBoundingClientRect(), i = On(e);
|
|
916
916
|
let a = we(1);
|
|
917
917
|
t && (o ? Ce(o) && (a = lt(o)) : a = lt(e));
|
|
918
|
-
const r = ha(i, n, o) ?
|
|
918
|
+
const r = ha(i, n, o) ? No(i) : we(0);
|
|
919
919
|
let s = (l.left + r.x) / a.x, c = (l.top + r.y) / a.y, u = l.width / a.x, d = l.height / a.y;
|
|
920
920
|
if (i) {
|
|
921
921
|
const f = he(i), p = o && Ce(o) ? he(o) : o;
|
|
@@ -933,10 +933,10 @@ function Je(e, t, n, o) {
|
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
function Kt(e, t) {
|
|
936
|
-
const n =
|
|
936
|
+
const n = xt(e).scrollLeft;
|
|
937
937
|
return t ? t.left + n : Je(Te(e)).left + n;
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function wo(e, t) {
|
|
940
940
|
const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - Kt(e, n), l = n.top + t.scrollTop;
|
|
941
941
|
return {
|
|
942
942
|
x: o,
|
|
@@ -950,7 +950,7 @@ function Ia(e) {
|
|
|
950
950
|
offsetParent: o,
|
|
951
951
|
strategy: l
|
|
952
952
|
} = e;
|
|
953
|
-
const i = l === "fixed", a = Te(o), r = t ?
|
|
953
|
+
const i = l === "fixed", a = Te(o), r = t ? _t(t.floating) : !1;
|
|
954
954
|
if (o === a || r && i)
|
|
955
955
|
return n;
|
|
956
956
|
let s = {
|
|
@@ -958,11 +958,11 @@ function Ia(e) {
|
|
|
958
958
|
scrollTop: 0
|
|
959
959
|
}, c = we(1);
|
|
960
960
|
const u = we(0), d = $e(o);
|
|
961
|
-
if ((d || !d && !i) && ((ut(o) !== "body" || Lt(a)) && (s =
|
|
961
|
+
if ((d || !d && !i) && ((ut(o) !== "body" || Lt(a)) && (s = xt(o)), d)) {
|
|
962
962
|
const p = Je(o);
|
|
963
963
|
c = lt(o), u.x = p.x + o.clientLeft, u.y = p.y + o.clientTop;
|
|
964
964
|
}
|
|
965
|
-
const f = a && !d && !i ?
|
|
965
|
+
const f = a && !d && !i ? wo(a, s) : we(0);
|
|
966
966
|
return {
|
|
967
967
|
width: n.width * c.x,
|
|
968
968
|
height: n.height * c.y,
|
|
@@ -974,7 +974,7 @@ function va(e) {
|
|
|
974
974
|
return Array.from(e.getClientRects());
|
|
975
975
|
}
|
|
976
976
|
function ba(e) {
|
|
977
|
-
const t = Te(e), n =
|
|
977
|
+
const t = Te(e), n = xt(e), o = e.ownerDocument.body, l = We(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), i = We(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
|
|
978
978
|
let a = -n.scrollLeft + Kt(e);
|
|
979
979
|
const r = -n.scrollTop;
|
|
980
980
|
return Ne(o).direction === "rtl" && (a += We(t.clientWidth, o.clientWidth) - l), {
|
|
@@ -984,7 +984,7 @@ function ba(e) {
|
|
|
984
984
|
y: r
|
|
985
985
|
};
|
|
986
986
|
}
|
|
987
|
-
const
|
|
987
|
+
const no = 25;
|
|
988
988
|
function Da(e, t) {
|
|
989
989
|
const n = he(e), o = Te(e), l = n.visualViewport;
|
|
990
990
|
let i = o.clientWidth, a = o.clientHeight, r = 0, s = 0;
|
|
@@ -996,8 +996,8 @@ function Da(e, t) {
|
|
|
996
996
|
const c = Kt(o);
|
|
997
997
|
if (c <= 0) {
|
|
998
998
|
const u = o.ownerDocument, d = u.body, f = getComputedStyle(d), p = u.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, m = Math.abs(o.clientWidth - d.clientWidth - p);
|
|
999
|
-
m <=
|
|
1000
|
-
} else c <=
|
|
999
|
+
m <= no && (i -= m);
|
|
1000
|
+
} else c <= no && (i += c);
|
|
1001
1001
|
return {
|
|
1002
1002
|
width: i,
|
|
1003
1003
|
height: a,
|
|
@@ -1014,7 +1014,7 @@ function Aa(e, t) {
|
|
|
1014
1014
|
y: c
|
|
1015
1015
|
};
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function oo(e, t, n) {
|
|
1018
1018
|
let o;
|
|
1019
1019
|
if (t === "viewport")
|
|
1020
1020
|
o = Da(e, n);
|
|
@@ -1023,7 +1023,7 @@ function lo(e, t, n) {
|
|
|
1023
1023
|
else if (Ce(t))
|
|
1024
1024
|
o = Aa(t, n);
|
|
1025
1025
|
else {
|
|
1026
|
-
const l =
|
|
1026
|
+
const l = No(e);
|
|
1027
1027
|
o = {
|
|
1028
1028
|
x: t.x - l.x,
|
|
1029
1029
|
y: t.y - l.y,
|
|
@@ -1033,9 +1033,9 @@ function lo(e, t, n) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return Ut(o);
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function jo(e, t) {
|
|
1037
1037
|
const n = Re(e);
|
|
1038
|
-
return n === t || !Ce(n) || rt(n) ? !1 : Ne(n).position === "fixed" ||
|
|
1038
|
+
return n === t || !Ce(n) || rt(n) ? !1 : Ne(n).position === "fixed" || jo(n, t);
|
|
1039
1039
|
}
|
|
1040
1040
|
function Ca(e, t) {
|
|
1041
1041
|
const n = t.get(e);
|
|
@@ -1046,7 +1046,7 @@ function Ca(e, t) {
|
|
|
1046
1046
|
let a = i ? Re(e) : e;
|
|
1047
1047
|
for (; Ce(a) && !rt(a); ) {
|
|
1048
1048
|
const r = Ne(a), s = Ln(a);
|
|
1049
|
-
!s && r.position === "fixed" && (l = null), (i ? !s && !l : !s && r.position === "static" && !!l && (l.position === "absolute" || l.position === "fixed") || Lt(a) && !s &&
|
|
1049
|
+
!s && r.position === "fixed" && (l = null), (i ? !s && !l : !s && r.position === "static" && !!l && (l.position === "absolute" || l.position === "fixed") || Lt(a) && !s && jo(e, a)) ? o = o.filter((u) => u !== a) : l = r, a = Re(a);
|
|
1050
1050
|
}
|
|
1051
1051
|
return t.set(e, o), o;
|
|
1052
1052
|
}
|
|
@@ -1057,10 +1057,10 @@ function Na(e) {
|
|
|
1057
1057
|
rootBoundary: o,
|
|
1058
1058
|
strategy: l
|
|
1059
1059
|
} = e;
|
|
1060
|
-
const a = [...n === "clippingAncestors" ?
|
|
1060
|
+
const a = [...n === "clippingAncestors" ? _t(t) ? [] : Ca(t, this._c) : [].concat(n), o], r = oo(t, a[0], l);
|
|
1061
1061
|
let s = r.top, c = r.right, u = r.bottom, d = r.left;
|
|
1062
1062
|
for (let f = 1; f < a.length; f++) {
|
|
1063
|
-
const p =
|
|
1063
|
+
const p = oo(t, a[f], l);
|
|
1064
1064
|
s = We(p.top, s), c = it(p.right, c), u = it(p.bottom, u), d = We(p.left, d);
|
|
1065
1065
|
}
|
|
1066
1066
|
return {
|
|
@@ -1074,7 +1074,7 @@ function wa(e) {
|
|
|
1074
1074
|
const {
|
|
1075
1075
|
width: t,
|
|
1076
1076
|
height: n
|
|
1077
|
-
} =
|
|
1077
|
+
} = Co(e);
|
|
1078
1078
|
return {
|
|
1079
1079
|
width: t,
|
|
1080
1080
|
height: n
|
|
@@ -1091,12 +1091,12 @@ function ja(e, t, n) {
|
|
|
1091
1091
|
s.x = Kt(l);
|
|
1092
1092
|
}
|
|
1093
1093
|
if (o || !o && !i)
|
|
1094
|
-
if ((ut(t) !== "body" || Lt(l)) && (r =
|
|
1094
|
+
if ((ut(t) !== "body" || Lt(l)) && (r = xt(t)), o) {
|
|
1095
1095
|
const p = Je(t, !0, i, t);
|
|
1096
1096
|
s.x = p.x + t.clientLeft, s.y = p.y + t.clientTop;
|
|
1097
1097
|
} else l && c();
|
|
1098
1098
|
i && !o && l && c();
|
|
1099
|
-
const u = l && !o && !i ?
|
|
1099
|
+
const u = l && !o && !i ? wo(l, r) : we(0), d = a.left + r.scrollLeft - s.x - u.x, f = a.top + r.scrollTop - s.y - u.y;
|
|
1100
1100
|
return {
|
|
1101
1101
|
x: d,
|
|
1102
1102
|
y: f,
|
|
@@ -1107,7 +1107,7 @@ function ja(e, t, n) {
|
|
|
1107
1107
|
function ln(e) {
|
|
1108
1108
|
return Ne(e).position === "static";
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function lo(e, t) {
|
|
1111
1111
|
if (!$e(e) || Ne(e).position === "fixed")
|
|
1112
1112
|
return null;
|
|
1113
1113
|
if (t)
|
|
@@ -1115,9 +1115,9 @@ function ao(e, t) {
|
|
|
1115
1115
|
let n = e.offsetParent;
|
|
1116
1116
|
return Te(e) === n && (n = n.ownerDocument.body), n;
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function So(e, t) {
|
|
1119
1119
|
const n = he(e);
|
|
1120
|
-
if (
|
|
1120
|
+
if (_t(e))
|
|
1121
1121
|
return n;
|
|
1122
1122
|
if (!$e(e)) {
|
|
1123
1123
|
let l = Re(e);
|
|
@@ -1128,13 +1128,13 @@ function To(e, t) {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
return n;
|
|
1130
1130
|
}
|
|
1131
|
-
let o =
|
|
1131
|
+
let o = lo(e, t);
|
|
1132
1132
|
for (; o && pa(o) && ln(o); )
|
|
1133
|
-
o =
|
|
1133
|
+
o = lo(o, t);
|
|
1134
1134
|
return o && rt(o) && ln(o) && !Ln(o) ? n : o || ya(e) || n;
|
|
1135
1135
|
}
|
|
1136
1136
|
const Sa = async function(e) {
|
|
1137
|
-
const t = this.getOffsetParent ||
|
|
1137
|
+
const t = this.getOffsetParent || So, n = this.getDimensions, o = await n(e.floating);
|
|
1138
1138
|
return {
|
|
1139
1139
|
reference: ja(e.reference, await t(e.floating), e.strategy),
|
|
1140
1140
|
floating: {
|
|
@@ -1152,7 +1152,7 @@ const za = {
|
|
|
1152
1152
|
convertOffsetParentRelativeRectToViewportRelativeRect: Ia,
|
|
1153
1153
|
getDocumentElement: Te,
|
|
1154
1154
|
getClippingRect: Na,
|
|
1155
|
-
getOffsetParent:
|
|
1155
|
+
getOffsetParent: So,
|
|
1156
1156
|
getElementRects: Sa,
|
|
1157
1157
|
getClientRects: va,
|
|
1158
1158
|
getDimensions: wa,
|
|
@@ -1160,7 +1160,7 @@ const za = {
|
|
|
1160
1160
|
isElement: Ce,
|
|
1161
1161
|
isRTL: Ta
|
|
1162
1162
|
};
|
|
1163
|
-
function
|
|
1163
|
+
function To(e, t) {
|
|
1164
1164
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1165
1165
|
}
|
|
1166
1166
|
function ka(e, t) {
|
|
@@ -1194,7 +1194,7 @@ function ka(e, t) {
|
|
|
1194
1194
|
a(!1, 1e-7);
|
|
1195
1195
|
}, 1e3);
|
|
1196
1196
|
}
|
|
1197
|
-
I === 1 && !
|
|
1197
|
+
I === 1 && !To(c, e.getBoundingClientRect()) && a(), w = !1;
|
|
1198
1198
|
}
|
|
1199
1199
|
try {
|
|
1200
1200
|
n = new IntersectionObserver(v, {
|
|
@@ -1236,7 +1236,7 @@ function La(e, t, n, o) {
|
|
|
1236
1236
|
s && g();
|
|
1237
1237
|
function g() {
|
|
1238
1238
|
const C = Je(e);
|
|
1239
|
-
y && !
|
|
1239
|
+
y && !To(y, C) && n(), y = C, m = requestAnimationFrame(g);
|
|
1240
1240
|
}
|
|
1241
1241
|
return n(), () => {
|
|
1242
1242
|
var C;
|
|
@@ -1303,10 +1303,10 @@ function Qa(e, t, n, o, l, i) {
|
|
|
1303
1303
|
], 46, Ya);
|
|
1304
1304
|
}
|
|
1305
1305
|
const Ua = /* @__PURE__ */ W(qa, [["render", Qa]]), an = 8;
|
|
1306
|
-
function
|
|
1306
|
+
function zo(e) {
|
|
1307
1307
|
const t = [];
|
|
1308
1308
|
for (const n of e)
|
|
1309
|
-
n.type !==
|
|
1309
|
+
n.type !== yl && (n.type === K && Array.isArray(n.children) ? t.push(...zo(n.children)) : t.push(n));
|
|
1310
1310
|
return t;
|
|
1311
1311
|
}
|
|
1312
1312
|
const Oe = F({
|
|
@@ -1364,7 +1364,7 @@ const Oe = F({
|
|
|
1364
1364
|
},
|
|
1365
1365
|
emits: ["update:modelValue"],
|
|
1366
1366
|
setup(e, { emit: t, expose: n }) {
|
|
1367
|
-
const o =
|
|
1367
|
+
const o = dl(), l = fl(), i = co(), a = `j-c-tooltip-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 6)}`, r = $(), s = $(), c = () => {
|
|
1368
1368
|
var P;
|
|
1369
1369
|
return (P = s.value) == null ? void 0 : P.popperRef;
|
|
1370
1370
|
}, u = () => {
|
|
@@ -1381,8 +1381,8 @@ const Oe = F({
|
|
|
1381
1381
|
r.value = P;
|
|
1382
1382
|
return;
|
|
1383
1383
|
}
|
|
1384
|
-
const
|
|
1385
|
-
r.value = typeof Element < "u" &&
|
|
1384
|
+
const _ = P.$el;
|
|
1385
|
+
r.value = typeof Element < "u" && _ instanceof Element ? _ : void 0;
|
|
1386
1386
|
}, w = N(() => e.modelValue !== void 0), v = N(() => !e.disabled && (w.value ? e.modelValue === !0 : d.value)), h = () => {
|
|
1387
1387
|
y && (clearTimeout(y), y = null);
|
|
1388
1388
|
}, I = () => {
|
|
@@ -1398,24 +1398,24 @@ const Oe = F({
|
|
|
1398
1398
|
}, oe = async () => {
|
|
1399
1399
|
const P = r.value, Z = c();
|
|
1400
1400
|
if (!P || !Z || !v.value) return;
|
|
1401
|
-
const
|
|
1401
|
+
const _ = e.showArrow ? u() : void 0, { x: L, y: E, placement: x, middlewareData: le } = await Pa(P, Z, {
|
|
1402
1402
|
placement: e.placement,
|
|
1403
1403
|
middleware: [
|
|
1404
1404
|
$a(e.offset),
|
|
1405
1405
|
Ea({ padding: an }),
|
|
1406
1406
|
Oa({ padding: an }),
|
|
1407
|
-
...
|
|
1407
|
+
..._ ? [Va({ element: _, padding: an })] : []
|
|
1408
1408
|
]
|
|
1409
1409
|
});
|
|
1410
1410
|
if (!v.value) return;
|
|
1411
|
-
if (f.value =
|
|
1411
|
+
if (f.value = x, p.value = {
|
|
1412
1412
|
top: `${E}px`,
|
|
1413
1413
|
left: `${L}px`
|
|
1414
|
-
}, !
|
|
1414
|
+
}, !_) {
|
|
1415
1415
|
m.value = {};
|
|
1416
1416
|
return;
|
|
1417
1417
|
}
|
|
1418
|
-
const { x: ve, y: be } = le.arrow ?? {}, tn =
|
|
1418
|
+
const { x: ve, y: be } = le.arrow ?? {}, tn = x.split("-")[0], Et = {
|
|
1419
1419
|
top: "bottom",
|
|
1420
1420
|
right: "left",
|
|
1421
1421
|
bottom: "top",
|
|
@@ -1438,10 +1438,10 @@ const Oe = F({
|
|
|
1438
1438
|
document.removeEventListener("click", Q, !0), document.removeEventListener("keydown", G, !0);
|
|
1439
1439
|
});
|
|
1440
1440
|
}, fe = (P) => [Array.isArray(P) ? P.join(" ") : P == null ? "" : String(P), a].filter(Boolean).join(" "), pe = (P) => {
|
|
1441
|
-
const Z = i == null ? void 0 : i.vnode,
|
|
1442
|
-
if (!Z || !(
|
|
1441
|
+
const Z = i == null ? void 0 : i.vnode, _ = Z == null ? void 0 : Z.dirs;
|
|
1442
|
+
if (!Z || !(_ != null && _.length)) return P;
|
|
1443
1443
|
const L = P;
|
|
1444
|
-
return L.dirs = [...L.dirs ?? [], ...
|
|
1444
|
+
return L.dirs = [...L.dirs ?? [], ..._], Z.dirs = null, L;
|
|
1445
1445
|
}, ce = () => {
|
|
1446
1446
|
e.disabled || (I(), h(), e.openDelay > 0 ? y = setTimeout(() => {
|
|
1447
1447
|
y = null, O(!0);
|
|
@@ -1476,8 +1476,8 @@ const Oe = F({
|
|
|
1476
1476
|
}, Q = (P) => {
|
|
1477
1477
|
var L;
|
|
1478
1478
|
if (e.trigger !== "click" || !v.value) return;
|
|
1479
|
-
const Z = P.target,
|
|
1480
|
-
(L = r.value) != null && L.contains(Z) ||
|
|
1479
|
+
const Z = P.target, _ = c();
|
|
1480
|
+
(L = r.value) != null && L.contains(Z) || _ != null && _.contains(Z) || me();
|
|
1481
1481
|
}, G = (P) => {
|
|
1482
1482
|
P.key === "Escape" && v.value && e.trigger !== "manual" && B();
|
|
1483
1483
|
};
|
|
@@ -1514,13 +1514,13 @@ const Oe = F({
|
|
|
1514
1514
|
return f.value;
|
|
1515
1515
|
}
|
|
1516
1516
|
}), () => {
|
|
1517
|
-
var
|
|
1518
|
-
const P = ((
|
|
1519
|
-
let
|
|
1520
|
-
if (Z.length === 0 ? console.warn("[JCTooltip] default slot 为空,已退化为直通渲染(无 tooltip 行为)") : Z.length > 1 ? console.warn("[JCTooltip] default slot 必须只有一个根元素,已退化为直通渲染(无 tooltip 行为)") : Z[0].type ===
|
|
1517
|
+
var x;
|
|
1518
|
+
const P = ((x = o.default) == null ? void 0 : x.call(o)) ?? [], Z = zo(P);
|
|
1519
|
+
let _ = null;
|
|
1520
|
+
if (Z.length === 0 ? console.warn("[JCTooltip] default slot 为空,已退化为直通渲染(无 tooltip 行为)") : Z.length > 1 ? console.warn("[JCTooltip] default slot 必须只有一个根元素,已退化为直通渲染(无 tooltip 行为)") : Z[0].type === pl ? console.warn("[JCTooltip] default slot 根节点不能是纯文本,请用元素包裹,已退化为直通渲染(无 tooltip 行为)") : _ = Z[0], !_)
|
|
1521
1521
|
return P.length > 0 ? P : null;
|
|
1522
|
-
const L =
|
|
1523
|
-
|
|
1522
|
+
const L = ml(
|
|
1523
|
+
_,
|
|
1524
1524
|
{
|
|
1525
1525
|
...l,
|
|
1526
1526
|
ref: k,
|
|
@@ -1533,7 +1533,7 @@ const Oe = F({
|
|
|
1533
1533
|
onKeydown: Ke
|
|
1534
1534
|
},
|
|
1535
1535
|
!0
|
|
1536
|
-
), E = Yt(
|
|
1536
|
+
), E = Yt(gl, { to: "body" }, [
|
|
1537
1537
|
Yt(
|
|
1538
1538
|
Wt,
|
|
1539
1539
|
{ name: "j-c-tooltip-fade" },
|
|
@@ -1749,12 +1749,12 @@ function Fa(e, t, n, o, l, i) {
|
|
|
1749
1749
|
const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-673a38dd"]]), Wa = F({
|
|
1750
1750
|
name: "JCEditableProxy",
|
|
1751
1751
|
components: {
|
|
1752
|
-
JCPermission:
|
|
1752
|
+
JCPermission: Io,
|
|
1753
1753
|
QPopupProxy: ke,
|
|
1754
1754
|
QIcon: se,
|
|
1755
|
-
QCard:
|
|
1756
|
-
QCardSection:
|
|
1757
|
-
QCardActions:
|
|
1755
|
+
QCard: xe,
|
|
1756
|
+
QCardSection: _e,
|
|
1757
|
+
QCardActions: Al,
|
|
1758
1758
|
JQButton: ct
|
|
1759
1759
|
},
|
|
1760
1760
|
inheritAttrs: !1,
|
|
@@ -1921,7 +1921,7 @@ function Ga(e, t, n, o, l, i) {
|
|
|
1921
1921
|
}, 8, ["code"])
|
|
1922
1922
|
]);
|
|
1923
1923
|
}
|
|
1924
|
-
const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-76fb4824"]]),
|
|
1924
|
+
const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-76fb4824"]]), _a = F({
|
|
1925
1925
|
name: "JCFallback",
|
|
1926
1926
|
props: {
|
|
1927
1927
|
/**
|
|
@@ -1969,13 +1969,13 @@ const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-76fb4824
|
|
|
1969
1969
|
})
|
|
1970
1970
|
};
|
|
1971
1971
|
}
|
|
1972
|
-
}),
|
|
1972
|
+
}), xa = { key: 0 };
|
|
1973
1973
|
function Ka(e, t, n, o, l, i) {
|
|
1974
1974
|
return e.hasValue ? R(e.$slots, "default", { key: 0 }) : (M(), z(K, { key: 1 }, [
|
|
1975
|
-
e.rmDom ? q("", !0) : (M(), z("span",
|
|
1975
|
+
e.rmDom ? q("", !0) : (M(), z("span", xa, V(e.defaultContent), 1))
|
|
1976
1976
|
], 64));
|
|
1977
1977
|
}
|
|
1978
|
-
const fg = /* @__PURE__ */ W(
|
|
1978
|
+
const fg = /* @__PURE__ */ W(_a, [["render", Ka]]);
|
|
1979
1979
|
function Qe(e, t) {
|
|
1980
1980
|
return (n) => {
|
|
1981
1981
|
const o = String(n || "").trim();
|
|
@@ -2003,16 +2003,16 @@ function Rn(e) {
|
|
|
2003
2003
|
function Bt(e) {
|
|
2004
2004
|
return e ? /^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$/.test(e) : !1;
|
|
2005
2005
|
}
|
|
2006
|
-
function
|
|
2006
|
+
function ko(e) {
|
|
2007
2007
|
return e ? /^[\u4e00-\u9fa5]+$/.test(e) : !1;
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function Lo(e) {
|
|
2010
2010
|
return e ? /[\u4e00-\u9fa5]/.test(e) : !1;
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function $o(e) {
|
|
2013
2013
|
return e ? /^\d+$/.test(e) : !1;
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function Oo(e) {
|
|
2016
2016
|
return e ? /^-?\d+\.?\d*$/.test(e) : !1;
|
|
2017
2017
|
}
|
|
2018
2018
|
function Xa(e) {
|
|
@@ -2021,13 +2021,13 @@ function Xa(e) {
|
|
|
2021
2021
|
function ei(e) {
|
|
2022
2022
|
return !e && e !== "0" ? !1 : /^(0|[1-9]\d*)$/.test(e);
|
|
2023
2023
|
}
|
|
2024
|
-
function
|
|
2024
|
+
function Eo(e) {
|
|
2025
2025
|
return e ? /^[1-9]\d{4,10}$/.test(e) : !1;
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function Vo(e) {
|
|
2028
2028
|
return e ? /^[a-zA-Z][a-zA-Z0-9_-]{5,19}$/.test(e) : !1;
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2030
|
+
function Po(e) {
|
|
2031
2031
|
return e ? /^[1-9]\d{5}$/.test(e) : !1;
|
|
2032
2032
|
}
|
|
2033
2033
|
function ti(e) {
|
|
@@ -2036,18 +2036,18 @@ function ti(e) {
|
|
|
2036
2036
|
function ni(e) {
|
|
2037
2037
|
return e ? /^(?=.*[a-zA-Z])(?=.*\d)[a-zA-Z\d@$!%*?&]{6,}$/.test(e) : !1;
|
|
2038
2038
|
}
|
|
2039
|
-
function
|
|
2039
|
+
function qo(e) {
|
|
2040
2040
|
return e ? /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/.test(e) : !1;
|
|
2041
2041
|
}
|
|
2042
|
-
function
|
|
2042
|
+
function Yo(e) {
|
|
2043
2043
|
if (!e) return !1;
|
|
2044
2044
|
const t = Number(e);
|
|
2045
2045
|
return /^\d+$/.test(e) && t >= 1 && t <= 65535;
|
|
2046
2046
|
}
|
|
2047
|
-
function
|
|
2047
|
+
function Ro(e) {
|
|
2048
2048
|
return e ? /^([\da-fA-F]{1,4}:){7}[\da-fA-F]{1,4}$|^::$|^([\da-fA-F]{1,4}:){1,6}:$|^:((:[\da-fA-F]{1,4}){1,6})$/.test(e) : !1;
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2050
|
+
function Qo(e) {
|
|
2051
2051
|
return e ? /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e) : !1;
|
|
2052
2052
|
}
|
|
2053
2053
|
function oi(e = "请输入有效的手机号") {
|
|
@@ -2077,30 +2077,30 @@ const ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2077
2077
|
carNumberRule: ri,
|
|
2078
2078
|
createFormRule: Qe,
|
|
2079
2079
|
emailRule: li,
|
|
2080
|
-
hasChinese:
|
|
2080
|
+
hasChinese: Lo,
|
|
2081
2081
|
idCardRule: ai,
|
|
2082
2082
|
ipRule: ui,
|
|
2083
2083
|
isBankCard: qn,
|
|
2084
2084
|
isCarNumber: Yn,
|
|
2085
|
-
isChinese:
|
|
2085
|
+
isChinese: ko,
|
|
2086
2086
|
isEmail: Vn,
|
|
2087
|
-
isHexColor:
|
|
2087
|
+
isHexColor: Qo,
|
|
2088
2088
|
isIP: Bt,
|
|
2089
|
-
isIPv6:
|
|
2089
|
+
isIPv6: Ro,
|
|
2090
2090
|
isIdCard: Pn,
|
|
2091
|
-
isMac:
|
|
2091
|
+
isMac: qo,
|
|
2092
2092
|
isMediumPassword: ni,
|
|
2093
2093
|
isNonNegativeInteger: ei,
|
|
2094
|
-
isNumber:
|
|
2095
|
-
isNumeric:
|
|
2094
|
+
isNumber: $o,
|
|
2095
|
+
isNumeric: Oo,
|
|
2096
2096
|
isPhone: En,
|
|
2097
|
-
isPort:
|
|
2097
|
+
isPort: Yo,
|
|
2098
2098
|
isPositiveInteger: Xa,
|
|
2099
|
-
isPostcode:
|
|
2100
|
-
isQQ:
|
|
2099
|
+
isPostcode: Po,
|
|
2100
|
+
isQQ: Eo,
|
|
2101
2101
|
isStrongPassword: ti,
|
|
2102
2102
|
isUrl: Rn,
|
|
2103
|
-
isWechat:
|
|
2103
|
+
isWechat: Vo,
|
|
2104
2104
|
phoneRule: oi,
|
|
2105
2105
|
urlRule: si
|
|
2106
2106
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -2250,7 +2250,7 @@ function Qn(e) {
|
|
|
2250
2250
|
port: [
|
|
2251
2251
|
(t) => {
|
|
2252
2252
|
const n = String(t || "").trim();
|
|
2253
|
-
return n ?
|
|
2253
|
+
return n ? Yo(n) || e("messages.formRules.invalidPort") : !0;
|
|
2254
2254
|
}
|
|
2255
2255
|
],
|
|
2256
2256
|
rangeInt(t, n) {
|
|
@@ -2315,61 +2315,61 @@ function Qn(e) {
|
|
|
2315
2315
|
ipv6: [
|
|
2316
2316
|
(t) => {
|
|
2317
2317
|
const n = String(t || "").trim();
|
|
2318
|
-
return n ?
|
|
2318
|
+
return n ? Ro(n) || e("messages.formRules.ipv6Invalid") : !0;
|
|
2319
2319
|
}
|
|
2320
2320
|
],
|
|
2321
2321
|
qq: [
|
|
2322
2322
|
(t) => {
|
|
2323
2323
|
const n = String(t || "").trim();
|
|
2324
|
-
return n ?
|
|
2324
|
+
return n ? Eo(n) || e("messages.formRules.qqInvalid") : !0;
|
|
2325
2325
|
}
|
|
2326
2326
|
],
|
|
2327
2327
|
wechat: [
|
|
2328
2328
|
(t) => {
|
|
2329
2329
|
const n = String(t || "").trim();
|
|
2330
|
-
return n ?
|
|
2330
|
+
return n ? Vo(n) || e("messages.formRules.wechatInvalid") : !0;
|
|
2331
2331
|
}
|
|
2332
2332
|
],
|
|
2333
2333
|
postcode: [
|
|
2334
2334
|
(t) => {
|
|
2335
2335
|
const n = String(t || "").trim();
|
|
2336
|
-
return n ?
|
|
2336
|
+
return n ? Po(n) || e("messages.formRules.postcodeInvalid") : !0;
|
|
2337
2337
|
}
|
|
2338
2338
|
],
|
|
2339
2339
|
chinese: [
|
|
2340
2340
|
(t) => {
|
|
2341
2341
|
const n = String(t || "").trim();
|
|
2342
|
-
return n ?
|
|
2342
|
+
return n ? ko(n) || e("messages.formRules.chineseOnly") : !0;
|
|
2343
2343
|
}
|
|
2344
2344
|
],
|
|
2345
2345
|
containsChinese: [
|
|
2346
2346
|
(t) => {
|
|
2347
2347
|
const n = String(t || "").trim();
|
|
2348
|
-
return n ?
|
|
2348
|
+
return n ? Lo(n) || e("messages.formRules.mustContainChinese") : !0;
|
|
2349
2349
|
}
|
|
2350
2350
|
],
|
|
2351
2351
|
number: [
|
|
2352
2352
|
(t) => {
|
|
2353
2353
|
const n = String(t || "").trim();
|
|
2354
|
-
return n ?
|
|
2354
|
+
return n ? $o(n) || e("messages.formRules.numberOnly") : !0;
|
|
2355
2355
|
}
|
|
2356
2356
|
],
|
|
2357
2357
|
numeric: [
|
|
2358
2358
|
(t) => {
|
|
2359
2359
|
const n = String(t || "").trim();
|
|
2360
|
-
return n ?
|
|
2360
|
+
return n ? Oo(n) || e("messages.formRules.numericOnly") : !0;
|
|
2361
2361
|
}
|
|
2362
2362
|
],
|
|
2363
2363
|
mac: [
|
|
2364
2364
|
(t) => {
|
|
2365
2365
|
const n = String(t || "").trim();
|
|
2366
|
-
return n ?
|
|
2366
|
+
return n ? qo(n) || e("messages.formRules.macInvalid") : !0;
|
|
2367
2367
|
}
|
|
2368
2368
|
],
|
|
2369
2369
|
hexColor: [
|
|
2370
2370
|
(t) => {
|
|
2371
2371
|
const n = String(t || "").trim();
|
|
2372
|
-
return n ?
|
|
2372
|
+
return n ? Qo(n) || e("messages.formRules.hexColorInvalid") : !0;
|
|
2373
2373
|
}
|
|
2374
2374
|
]
|
|
2375
2375
|
};
|
|
@@ -2443,9 +2443,9 @@ function gi(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
|
|
|
2443
2443
|
const yi = F({
|
|
2444
2444
|
name: "jQDialog",
|
|
2445
2445
|
components: {
|
|
2446
|
-
QDialog:
|
|
2447
|
-
QCard:
|
|
2448
|
-
QCardSection:
|
|
2446
|
+
QDialog: po,
|
|
2447
|
+
QCard: xe,
|
|
2448
|
+
QCardSection: _e,
|
|
2449
2449
|
QInnerLoading: Nn,
|
|
2450
2450
|
QIcon: se,
|
|
2451
2451
|
JQButton: ct
|
|
@@ -2479,7 +2479,7 @@ const yi = F({
|
|
|
2479
2479
|
mounted() {
|
|
2480
2480
|
},
|
|
2481
2481
|
setup(e, { emit: t, expose: n }) {
|
|
2482
|
-
const o = $(!1), l = $(!1), i = $(null), a = $(e.showConfirm), r =
|
|
2482
|
+
const o = $(!1), l = $(!1), i = $(null), a = $(e.showConfirm), r = co(), { t: s } = ae();
|
|
2483
2483
|
let c = $(s("action.cancel")), u = $(s("action.confirm"));
|
|
2484
2484
|
const d = Qn(s), f = gi, p = N(() => {
|
|
2485
2485
|
var O;
|
|
@@ -2618,7 +2618,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2618
2618
|
]),
|
|
2619
2619
|
_: 3
|
|
2620
2620
|
})) : q("", !0),
|
|
2621
|
-
(M(), Y(
|
|
2621
|
+
(M(), Y(Ml, null, {
|
|
2622
2622
|
default: A(() => [
|
|
2623
2623
|
j("div", null, [
|
|
2624
2624
|
S(s, {
|
|
@@ -2626,7 +2626,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2626
2626
|
style: X({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
|
|
2627
2627
|
}, {
|
|
2628
2628
|
default: A(() => [
|
|
2629
|
-
e.component ? (M(), Y(fn(e.component), Ae({ key: 0 }, e.computedComponentBind,
|
|
2629
|
+
e.component ? (M(), Y(fn(e.component), Ae({ key: 0 }, e.computedComponentBind, hl(e.componentOn || {}), { ref: "dynamicCompRef" }), null, 16)) : e.content ? (M(), Y(fn(e.content), { key: 1 })) : q("", !0),
|
|
2630
2630
|
R(e.$slots, "default", {}, void 0, !0)
|
|
2631
2631
|
]),
|
|
2632
2632
|
_: 3
|
|
@@ -2679,7 +2679,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2679
2679
|
_: 3
|
|
2680
2680
|
}, 8, ["class", "modelValue", "allow-focus-outside", "no-backdrop-dismiss", "no-esc-dismiss", "position", "onHide", "persistent", "full-height", "transition-show", "transition-hide"]);
|
|
2681
2681
|
}
|
|
2682
|
-
const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-
|
|
2682
|
+
const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-2dacab32"]]), Ai = F({
|
|
2683
2683
|
name: "JQInput",
|
|
2684
2684
|
components: {
|
|
2685
2685
|
QInput: wn
|
|
@@ -2850,7 +2850,7 @@ const Xt = /* @__PURE__ */ W(Ai, [["render", Ci]]), Ni = F({
|
|
|
2850
2850
|
name: "JQSelect",
|
|
2851
2851
|
components: {
|
|
2852
2852
|
QSelect: wt,
|
|
2853
|
-
QSpinner:
|
|
2853
|
+
QSpinner: Cl,
|
|
2854
2854
|
QItem: Nt,
|
|
2855
2855
|
QItemSection: Jt,
|
|
2856
2856
|
QIcon: se
|
|
@@ -3265,7 +3265,7 @@ function Li(e, t, n, o, l, i) {
|
|
|
3265
3265
|
rules: e.rules,
|
|
3266
3266
|
maxlength: e.maxlength
|
|
3267
3267
|
}, e.inputProps, {
|
|
3268
|
-
onKeyup:
|
|
3268
|
+
onKeyup: fo(e.onEnterKey, ["enter"])
|
|
3269
3269
|
}), null, 16, ["modelValue", "placeholder", "type", "rules", "maxlength", "onKeyup"])) : e.type === "select" ? (M(), Y(r, Ae({
|
|
3270
3270
|
key: 1,
|
|
3271
3271
|
ref: "selectRef",
|
|
@@ -3280,7 +3280,7 @@ function Li(e, t, n, o, l, i) {
|
|
|
3280
3280
|
}, e.selectProps), null, 16, ["modelValue", "placeholder", "rules", "options", "option-label", "option-value", "multiple"])) : q("", !0)
|
|
3281
3281
|
]);
|
|
3282
3282
|
}
|
|
3283
|
-
const $i = /* @__PURE__ */ W(zi, [["render", Li]]),
|
|
3283
|
+
const $i = /* @__PURE__ */ W(zi, [["render", Li]]), ao = {
|
|
3284
3284
|
"app:clear": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGL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QtMy4wNDItMy4wNC0zLjA0MWEuNzUuNzUgMCAwIDEgMS4wNi0xLjA2TDEyIDEwLjkxbDMuMDQyLTMuMDRaIi8+PC9zdmc+",
|
|
3286
3286
|
"app:dialog-close": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Imljb24vY29tbW9uL2Nsb3NlIj4KPGcgaWQ9Ikdyb3VwIDEwMDAwMDQ3NDgiPgo8cGF0aCBpZD0iVmVjdG9yIChTdHJva2UpIiBkPSJNMTQuMDAwMSAyLjgzNzM1TDguODM3MjIgNy45OTk0N0wxNC4wMDAxIDEzLjE2MjRMMTMuNTgxNiAxMy41ODE3TDEzLjE2MjIgMTQuMDAwMkw3Ljk5OTM1IDguODM3MzVMMi44MzcyMiAxNC4wMDAyTDIuMDAwMTIgMTMuMTYyNEw3LjE2MjI1IDcuOTk5NDdMMi4wMDAxMiAyLjgzNzM1TDIuODM3MjIgMi4wMDAyNEw3Ljk5OTM1IDcuMTYyMzdMMTMuMTYyMiAyLjAwMDI0TDE0LjAwMDEgMi44MzczNVoiIGZpbGw9IiM1QTYwN0YiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",
|
|
@@ -3288,7 +3288,7 @@ const $i = /* @__PURE__ */ W(zi, [["render", Li]]), io = {
|
|
|
3288
3288
|
"app:dropdown-btn-white": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGlkPSJHcm91cCAxMjQ1MDAwIj4KICAgICAgICA8ZyBpZD0iY2hldnJvbi1kb3duIj4KICAgICAgICAgICAgPHBhd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QuNTA3NDYgMTIuMDM1OCA0LjMxOTU4TDEwLjMxNjEgMi42MjEzNEMxMC4xMjkgMi40MzY3OCA5Ljg3Njc1IDIuMzMzMjcgOS42MTM5MiAyLjMzMzI1SDQuNjY2NjZaIgogICAgZmlsbD0iIzMzMzc1MiIgLz4KICA8cGF0aCBkPSJNOCA5LjMzMzI1SDUiIHN0cm9rZT0iIzMzMzc1MiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPgogIDxwYXRoIGQ9Ik05IDExLjMzMzNINSIgc3Ryb2tlPSIjMzMzNzUyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+Cjwvc3ZnPg==",
|
|
3291
|
-
"app:more-horizontal": "data:image/svg+xml;base64,
|
|
3291
|
+
"app:more-horizontal": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPHBhdGggZmlsbD0iIzRENTA1MCIKICAgIGQ9Ik02IDEzLjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaTTEyIDEzLjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaTTE4IDEzLjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaIgogICAgZGF0YS1mb2xsb3ctZmlsbD0iIzRENTA1MCIgLz4KPC9zdmc+Cg==",
|
|
3292
3292
|
"app:navigation-arrow-left": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGlkPSJHcm91cCAxMjQ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0iVmVjdG9yXzMiIGQ9Ik0xMi4wMDEzIDE2LjEyQzExLjc3NTkgMTYuMTIgMTEuNTU1NSAxNi4xODY5IDExLjM2OCAxNi4zMTIyQzExLjE4MDUgMTYuNDM3NCAxMS4wMzQ0IDE2LjYxNTUgMTAuOTQ4MSAxNi44MjM4QzEwLjg2MTggMTcuMDMyMSAxMC44MzkyIDE3LjI2MTMgMTAuODgzMiAxNy40ODI0QzEwLjkyNzIgMTcuNzAzNiAxMS4wMzU4IDE3LjkwNjcgMTEuMTk1MiAxOC4wNjYxQzExLjM1NDcgMTguMjI1NiAxMS41NTc4IDE4LjMzNDEgMTEuNzc4OSAxOC4zNzgxQzEyLjAwMDEgMTguNDIyMSAxMi4yMjkzIDE4LjM5OTUgMTIuNDM3NiAxOC4zMTMzQzEyLjY0NTkgMTguMjI3IDEyLjgyMzkgMTguMDgwOSAxMi45NDkyIDE3Ljg5MzRDMTMuMDc0NSAxNy43MDU5IDEzLjE0MTMgMTcuNDg1NSAxMy4xNDEzIDE3LjI2QzEzLjE0MjcgMTcuMTEgMTMuMTE0MSAxNi45NjExIDEzLjA1NzMgMTYuODIyMkMxMy4wMDA1IDE2LjY4MzMgMTIuOTE2NSAxNi41NTcxIDEyLjgxMDQgMTYuNDUxQzEyLjcwNDMgMTYuMzQ0OCAxMi41NzgxIDE2LjI2MDkgMTIuNDM5MiAxNi4yMDQxQzEyLjMwMDIgMTYuMTQ3MyAxMi4xNTE0IDE2LjExODcgMTIuMDAxMyAxNi4xMloiIGZpbGw9IiM3RTg0QTMiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg==",
|
|
@@ -3307,11 +3307,11 @@ const $i = /* @__PURE__ */ W(zi, [["render", Li]]), io = {
|
|
|
3307
3307
|
n.push(l, l.toLowerCase());
|
|
3308
3308
|
} else
|
|
3309
3309
|
n.push(`app:${e}`, `app:${e.toLowerCase()}`);
|
|
3310
|
-
const o = n.find((l) =>
|
|
3310
|
+
const o = n.find((l) => ao[l] !== void 0);
|
|
3311
3311
|
if (o)
|
|
3312
|
-
return { icon: t +
|
|
3312
|
+
return { icon: t + ao[o] };
|
|
3313
3313
|
};
|
|
3314
|
-
function
|
|
3314
|
+
function Uo(...e) {
|
|
3315
3315
|
return (t) => {
|
|
3316
3316
|
for (const n of e) {
|
|
3317
3317
|
if (!n) continue;
|
|
@@ -3325,7 +3325,7 @@ const Ei = {
|
|
|
3325
3325
|
"en-US": () => import("./en-US-Di49EX5C.js")
|
|
3326
3326
|
}, Xe = /* @__PURE__ */ new Map();
|
|
3327
3327
|
function Vi(e) {
|
|
3328
|
-
return Qn(e ||
|
|
3328
|
+
return Qn(e || ho);
|
|
3329
3329
|
}
|
|
3330
3330
|
let Me = {};
|
|
3331
3331
|
const Un = {
|
|
@@ -3383,7 +3383,7 @@ const Un = {
|
|
|
3383
3383
|
},
|
|
3384
3384
|
componentOn: {}
|
|
3385
3385
|
// 提供空对象避免 v-on 警告
|
|
3386
|
-
} : { ...e, dialogId: t }, s =
|
|
3386
|
+
} : { ...e, dialogId: t }, s = Il(Di, r);
|
|
3387
3387
|
Me.router && s.use(Me.router), Me.store && s.use(Me.store), Me.i18n && s.use(Me.i18n), Me.plugins && Me.plugins.forEach((k) => s.use(k));
|
|
3388
3388
|
const { Quasar: c, Notify: u, Dialog: d, Loading: f } = await import("quasar");
|
|
3389
3389
|
s.use(c, {
|
|
@@ -3406,7 +3406,7 @@ const Un = {
|
|
|
3406
3406
|
}
|
|
3407
3407
|
if (Me.iconMapFn) {
|
|
3408
3408
|
const k = s.config.globalProperties.$q;
|
|
3409
|
-
k.iconMapFn =
|
|
3409
|
+
k.iconMapFn = Uo(k.iconMapFn, Me.iconMapFn);
|
|
3410
3410
|
}
|
|
3411
3411
|
Me.pagePermissionIds && s.provide(Tt, Me.pagePermissionIds), Me.pageActionPermissionIds && s.provide(St, Me.pageActionPermissionIds);
|
|
3412
3412
|
const g = document.createElement("div");
|
|
@@ -3493,7 +3493,7 @@ const Un = {
|
|
|
3493
3493
|
subtree: !0
|
|
3494
3494
|
}));
|
|
3495
3495
|
});
|
|
3496
|
-
}),
|
|
3496
|
+
}), vl(() => {
|
|
3497
3497
|
i && (i.disconnect(), i = null);
|
|
3498
3498
|
}), {
|
|
3499
3499
|
t: s,
|
|
@@ -3628,7 +3628,7 @@ const mg = /* @__PURE__ */ W(Ui, [["render", Zi]]), Fi = F({
|
|
|
3628
3628
|
};
|
|
3629
3629
|
}
|
|
3630
3630
|
}), Wi = { class: "row items-center" }, Hi = { class: "form-content" }, Ji = { class: "form-value__inner" }, Gi = { class: "form-item-detail-wrapper" };
|
|
3631
|
-
function
|
|
3631
|
+
function _i(e, t, n, o, l, i) {
|
|
3632
3632
|
const a = D("q-icon"), r = D("j-c-tooltip");
|
|
3633
3633
|
return M(), z("div", {
|
|
3634
3634
|
class: U(["j-q-form-label", [e.directionClass, { required: e.required }]])
|
|
@@ -3670,10 +3670,10 @@ function xi(e, t, n, o, l, i) {
|
|
|
3670
3670
|
])
|
|
3671
3671
|
], 2);
|
|
3672
3672
|
}
|
|
3673
|
-
const
|
|
3673
|
+
const xi = /* @__PURE__ */ W(Fi, [["render", _i]]), Ki = F({
|
|
3674
3674
|
name: "jCListEditor",
|
|
3675
3675
|
components: {
|
|
3676
|
-
JQFormLabel:
|
|
3676
|
+
JQFormLabel: xi,
|
|
3677
3677
|
JQInput: Xt,
|
|
3678
3678
|
QBtn: Se
|
|
3679
3679
|
},
|
|
@@ -3783,7 +3783,7 @@ const gg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
|
|
|
3783
3783
|
QItem: Nt,
|
|
3784
3784
|
QItemSection: Jt,
|
|
3785
3785
|
QBtn: Se,
|
|
3786
|
-
JCPermission:
|
|
3786
|
+
JCPermission: Io
|
|
3787
3787
|
},
|
|
3788
3788
|
props: {
|
|
3789
3789
|
item: {
|
|
@@ -4275,7 +4275,7 @@ function fr(e, t, n, o, l, i) {
|
|
|
4275
4275
|
const Mg = /* @__PURE__ */ W(ur, [["render", fr]]), pr = F({
|
|
4276
4276
|
name: "JCTable",
|
|
4277
4277
|
components: {
|
|
4278
|
-
JCCopy:
|
|
4278
|
+
JCCopy: Mo,
|
|
4279
4279
|
JCTooltip: Oe
|
|
4280
4280
|
},
|
|
4281
4281
|
props: {
|
|
@@ -4562,7 +4562,7 @@ function Cr(e, t) {
|
|
|
4562
4562
|
const Nr = F({
|
|
4563
4563
|
name: "jQTooltip",
|
|
4564
4564
|
components: {
|
|
4565
|
-
QTooltip:
|
|
4565
|
+
QTooltip: Nl
|
|
4566
4566
|
},
|
|
4567
4567
|
props: {
|
|
4568
4568
|
content: {
|
|
@@ -4853,7 +4853,7 @@ const en = /* @__PURE__ */ W(Er, [["render", Vr], ["__scopeId", "data-v-a12d0eef
|
|
|
4853
4853
|
name: "JCTree",
|
|
4854
4854
|
components: {
|
|
4855
4855
|
JCTooltipEllipsis: en,
|
|
4856
|
-
QTree:
|
|
4856
|
+
QTree: mo
|
|
4857
4857
|
},
|
|
4858
4858
|
props: {
|
|
4859
4859
|
modelValue: { type: Array },
|
|
@@ -5137,7 +5137,7 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5137
5137
|
QField: Le,
|
|
5138
5138
|
QIcon: se,
|
|
5139
5139
|
QPopupProxy: ke,
|
|
5140
|
-
QTree:
|
|
5140
|
+
QTree: mo
|
|
5141
5141
|
},
|
|
5142
5142
|
props: {
|
|
5143
5143
|
modelValue: { type: Array },
|
|
@@ -5260,8 +5260,8 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5260
5260
|
}), Hr = ["placeholder"], Jr = {
|
|
5261
5261
|
key: 1,
|
|
5262
5262
|
class: "j-c-org-select-value-display"
|
|
5263
|
-
}, Gr = { class: "j-c-org-select-popup" },
|
|
5264
|
-
function
|
|
5263
|
+
}, Gr = { class: "j-c-org-select-popup" }, _r = { class: "j-c-org-select-popup__main" };
|
|
5264
|
+
function xr(e, t, n, o, l, i) {
|
|
5265
5265
|
const a = D("q-icon"), r = D("j-c-tooltip-ellipsis"), s = D("q-tree"), c = D("q-popup-proxy"), u = D("q-field");
|
|
5266
5266
|
return M(), Y(u, {
|
|
5267
5267
|
class: U(["j-c-org-select", {
|
|
@@ -5291,7 +5291,7 @@ function _r(e, t, n, o, l, i) {
|
|
|
5291
5291
|
onMousedown: t[2] || (t[2] = re(() => {
|
|
5292
5292
|
}, ["stop"]))
|
|
5293
5293
|
}, null, 40, Hr)), [
|
|
5294
|
-
[
|
|
5294
|
+
[bl, e.inputValue]
|
|
5295
5295
|
]) : (M(), z("div", Jr, [
|
|
5296
5296
|
R(e.$slots, "value-display", {}, () => [
|
|
5297
5297
|
ee(V(e.computedValueDisplay), 1)
|
|
@@ -5329,7 +5329,7 @@ function _r(e, t, n, o, l, i) {
|
|
|
5329
5329
|
}, {
|
|
5330
5330
|
default: A(() => [
|
|
5331
5331
|
j("div", Gr, [
|
|
5332
|
-
j("div",
|
|
5332
|
+
j("div", _r, [
|
|
5333
5333
|
S(s, {
|
|
5334
5334
|
ref: "treeRef",
|
|
5335
5335
|
selected: e.treeSelected,
|
|
@@ -5357,7 +5357,7 @@ function _r(e, t, n, o, l, i) {
|
|
|
5357
5357
|
_: 3
|
|
5358
5358
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
5359
5359
|
}
|
|
5360
|
-
const Dg = /* @__PURE__ */ W(Wr, [["render",
|
|
5360
|
+
const Dg = /* @__PURE__ */ W(Wr, [["render", xr]]), At = [
|
|
5361
5361
|
{
|
|
5362
5362
|
platform: "EIM",
|
|
5363
5363
|
path: "/orchestration/",
|
|
@@ -5579,7 +5579,7 @@ function cs(e, t, n, o, l, i) {
|
|
|
5579
5579
|
}, 1024)
|
|
5580
5580
|
]))), 128);
|
|
5581
5581
|
}
|
|
5582
|
-
const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3"]]), rn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}",
|
|
5582
|
+
const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3"]]), rn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", io = (e) => {
|
|
5583
5583
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
5584
5584
|
}, ds = F({
|
|
5585
5585
|
name: "JQAutocomplete",
|
|
@@ -5638,7 +5638,7 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5638
5638
|
} catch {
|
|
5639
5639
|
T = {};
|
|
5640
5640
|
}
|
|
5641
|
-
T[a.value] = l.list,
|
|
5641
|
+
T[a.value] = l.list, io(JSON.stringify(T));
|
|
5642
5642
|
}, f = (y) => {
|
|
5643
5643
|
const g = String(y ?? "").trim();
|
|
5644
5644
|
t("update:model-value", g), l.filterList = l.list.filter((C) => C.value.includes(g));
|
|
@@ -5654,7 +5654,7 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5654
5654
|
} catch {
|
|
5655
5655
|
C = {};
|
|
5656
5656
|
}
|
|
5657
|
-
C[a.value] = l.list,
|
|
5657
|
+
C[a.value] = l.list, io(JSON.stringify(C));
|
|
5658
5658
|
};
|
|
5659
5659
|
return n({ saveHistory: m }), {
|
|
5660
5660
|
historyParams: l,
|
|
@@ -5741,11 +5741,11 @@ const Cg = /* @__PURE__ */ W(ds, [["render", ys], ["__scopeId", "data-v-e75e4468
|
|
|
5741
5741
|
}, Ms = F({
|
|
5742
5742
|
name: "JQButtonDropdown",
|
|
5743
5743
|
components: {
|
|
5744
|
-
QBtnDropdown:
|
|
5744
|
+
QBtnDropdown: jl,
|
|
5745
5745
|
QList: jt,
|
|
5746
5746
|
QItem: Nt,
|
|
5747
5747
|
QItemSection: Jt,
|
|
5748
|
-
QItemLabel:
|
|
5748
|
+
QItemLabel: wl,
|
|
5749
5749
|
QIcon: se
|
|
5750
5750
|
},
|
|
5751
5751
|
inheritAttrs: !1,
|
|
@@ -5982,7 +5982,7 @@ const Ng = /* @__PURE__ */ W(Ms, [["render", hs], ["__scopeId", "data-v-1feac3fa
|
|
|
5982
5982
|
name: "JQCheckbox",
|
|
5983
5983
|
components: {
|
|
5984
5984
|
QField: Le,
|
|
5985
|
-
QCheckbox:
|
|
5985
|
+
QCheckbox: go,
|
|
5986
5986
|
QIcon: se,
|
|
5987
5987
|
JCTooltip: Oe
|
|
5988
5988
|
},
|
|
@@ -6106,8 +6106,8 @@ const wg = /* @__PURE__ */ W(Is, [["render", bs], ["__scopeId", "data-v-54d7a8fb
|
|
|
6106
6106
|
name: "JQConfirm",
|
|
6107
6107
|
components: {
|
|
6108
6108
|
QPopupProxy: ke,
|
|
6109
|
-
QCard:
|
|
6110
|
-
QCardSection:
|
|
6109
|
+
QCard: xe,
|
|
6110
|
+
QCardSection: _e,
|
|
6111
6111
|
JQButton: ct
|
|
6112
6112
|
},
|
|
6113
6113
|
props: {
|
|
@@ -6194,7 +6194,7 @@ const jg = /* @__PURE__ */ W(Ds, [["render", ws], ["__scopeId", "data-v-32169bee
|
|
|
6194
6194
|
components: {
|
|
6195
6195
|
QField: Le,
|
|
6196
6196
|
QPopupProxy: ke,
|
|
6197
|
-
QDate:
|
|
6197
|
+
QDate: yo,
|
|
6198
6198
|
QIcon: se
|
|
6199
6199
|
},
|
|
6200
6200
|
props: {
|
|
@@ -6379,8 +6379,8 @@ function zs(e, t, n, o, l, i) {
|
|
|
6379
6379
|
_: 3
|
|
6380
6380
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
|
|
6381
6381
|
}
|
|
6382
|
-
const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt",
|
|
6383
|
-
localStorage.setItem(
|
|
6382
|
+
const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Bo = `${ks}_third_component_state`, ro = () => localStorage.getItem(Bo), so = (e) => {
|
|
6383
|
+
localStorage.setItem(Bo, e);
|
|
6384
6384
|
}, nt = "YYYY-MM-DD HH:mm:ss", cn = "YYYY/MM/DD", Ls = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), $s = (e, t) => {
|
|
6385
6385
|
const n = t + 1;
|
|
6386
6386
|
let o = e % n;
|
|
@@ -6404,7 +6404,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6404
6404
|
components: {
|
|
6405
6405
|
QField: Le,
|
|
6406
6406
|
QPopupProxy: ke,
|
|
6407
|
-
QDate:
|
|
6407
|
+
QDate: yo,
|
|
6408
6408
|
QSelect: wt,
|
|
6409
6409
|
QIcon: se,
|
|
6410
6410
|
QBtn: Se
|
|
@@ -6436,7 +6436,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6436
6436
|
st(() => {
|
|
6437
6437
|
if (e.showTooltip)
|
|
6438
6438
|
try {
|
|
6439
|
-
const Q =
|
|
6439
|
+
const Q = ro();
|
|
6440
6440
|
if (Q) {
|
|
6441
6441
|
const G = JSON.parse(Q);
|
|
6442
6442
|
m.value = G.datetimeTooltipVisible !== !1;
|
|
@@ -6451,11 +6451,11 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6451
6451
|
const g = () => {
|
|
6452
6452
|
m.value = !1, y && (clearTimeout(y), y = null);
|
|
6453
6453
|
try {
|
|
6454
|
-
const Q =
|
|
6454
|
+
const Q = ro();
|
|
6455
6455
|
let G = Q ? JSON.parse(Q) : {};
|
|
6456
|
-
G.datetimeTooltipVisible = !1,
|
|
6456
|
+
G.datetimeTooltipVisible = !1, so(JSON.stringify(G));
|
|
6457
6457
|
} catch {
|
|
6458
|
-
|
|
6458
|
+
so(JSON.stringify({ datetimeTooltipVisible: !1 }));
|
|
6459
6459
|
}
|
|
6460
6460
|
}, C = $({ from: null, to: null }), T = $(""), k = ot(et(null)), w = ot(et(null)), v = $(null), h = $(""), I = ot(et(null)), b = N({
|
|
6461
6461
|
get: () => typeof e.modelValue == "string" && e.modelValue === "" ? null : e.modelValue,
|
|
@@ -6467,12 +6467,12 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6467
6467
|
if (e.range) {
|
|
6468
6468
|
const G = Q || { from: null, to: null }, P = De(G.from);
|
|
6469
6469
|
Object.assign(k, et(G.from));
|
|
6470
|
-
const Z = P ? te.formatDate(P, cn) : "",
|
|
6471
|
-
L.h === 0 && L.m === 0 && L.s === 0 &&
|
|
6472
|
-
const E =
|
|
6470
|
+
const Z = P ? te.formatDate(P, cn) : "", _ = De(G.to), L = et(G.to);
|
|
6471
|
+
L.h === 0 && L.m === 0 && L.s === 0 && _ ? Object.assign(w, p()) : Object.assign(w, L);
|
|
6472
|
+
const E = _ ? te.formatDate(_, cn) : "";
|
|
6473
6473
|
C.value = {
|
|
6474
6474
|
from: P ? te.formatDate(P, nt) : null,
|
|
6475
|
-
to:
|
|
6475
|
+
to: _ ? Pe(E, w) : null
|
|
6476
6476
|
}, Z && E && Z === E ? T.value = Z : T.value = Z && E ? { from: Z, to: E } : "";
|
|
6477
6477
|
} else {
|
|
6478
6478
|
const G = De(Q);
|
|
@@ -6489,10 +6489,10 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6489
6489
|
if (typeof Q == "object" && Q !== null) {
|
|
6490
6490
|
const P = Q.from, Z = Q.to;
|
|
6491
6491
|
if (G && typeof G == "object" && G !== null ? (P !== G.from && Object.assign(k, { h: 0, m: 0, s: 0 }), Z !== G.to && Object.assign(w, p())) : (Object.assign(k, { h: 0, m: 0, s: 0 }), Object.assign(w, p())), P && Z) {
|
|
6492
|
-
const
|
|
6493
|
-
if (C.value.from =
|
|
6494
|
-
const E = De(
|
|
6495
|
-
E &&
|
|
6492
|
+
const _ = Pe(P, k), L = Pe(Z, w);
|
|
6493
|
+
if (C.value.from = _, C.value.to = L, _ && L) {
|
|
6494
|
+
const E = De(_), x = De(L);
|
|
6495
|
+
E && x && E.getTime() > x.getTime() ? b.value = { from: L, to: _ } : b.value = { from: _, to: L };
|
|
6496
6496
|
}
|
|
6497
6497
|
}
|
|
6498
6498
|
} else if (typeof Q == "string" && Q) {
|
|
@@ -6529,8 +6529,8 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6529
6529
|
});
|
|
6530
6530
|
const J = (Q, G, P, Z) => N({
|
|
6531
6531
|
get: () => String(Q[G]).padStart(2, "0"),
|
|
6532
|
-
set: (
|
|
6533
|
-
let L = parseInt(
|
|
6532
|
+
set: (_) => {
|
|
6533
|
+
let L = parseInt(_, 10);
|
|
6534
6534
|
isNaN(L) && (L = 0), Q[G] = Ls(L, P), B(Z);
|
|
6535
6535
|
}
|
|
6536
6536
|
}), oe = J(k, "h", 23, "from"), de = J(k, "m", 59, "from"), ne = J(k, "s", 59, "from"), ue = J(w, "h", 23, "to"), fe = J(w, "m", 59, "to"), pe = J(w, "s", 59, "to"), ce = J(I, "h", 23, "single"), me = J(I, "m", 59, "single"), Ve = J(I, "s", 59, "single"), ft = () => i.value = !1, ze = () => {
|
|
@@ -6538,10 +6538,10 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6538
6538
|
r.value = !0, e.range ? (C.value = { from: null, to: null }, Object.assign(k, { h: 0, m: 0, s: 0 }), Object.assign(w, p()), T.value = { from: "", to: "" }) : (v.value = null, Object.assign(I, { h: 0, m: 0, s: 0 }), h.value = ""), b.value = null, (Q = a.value) == null || Q.blur(), i.value = !1, setTimeout(() => r.value = !1, 0);
|
|
6539
6539
|
}, pt = () => {
|
|
6540
6540
|
ze();
|
|
6541
|
-
}, mt = (Q, G, P, Z,
|
|
6541
|
+
}, mt = (Q, G, P, Z, _) => {
|
|
6542
6542
|
Q.preventDefault();
|
|
6543
6543
|
const L = Q.deltaY > 0 ? -1 : 1;
|
|
6544
|
-
G[P] = $s(G[P] + L, Z), B(
|
|
6544
|
+
G[P] = $s(G[P] + L, Z), B(_);
|
|
6545
6545
|
}, gt = N(() => {
|
|
6546
6546
|
if (e.valueDisplayFn) return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
6547
6547
|
if (e.range) {
|
|
@@ -6549,8 +6549,8 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6549
6549
|
if (!Q) return "";
|
|
6550
6550
|
const { from: G, to: P } = Q;
|
|
6551
6551
|
if (!G || !P) return "";
|
|
6552
|
-
const Z = De(G),
|
|
6553
|
-
if (Z &&
|
|
6552
|
+
const Z = De(G), _ = De(P);
|
|
6553
|
+
if (Z && _) return `${te.formatDate(Z, nt)} - ${te.formatDate(_, nt)}`;
|
|
6554
6554
|
} else {
|
|
6555
6555
|
const Q = De(e.modelValue);
|
|
6556
6556
|
if (Q) return te.formatDate(Q, nt);
|
|
@@ -6605,8 +6605,8 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6605
6605
|
}, qs = { class: "row no-wrap items-stretch" }, Ys = { class: "column items-stretch justify-center date-time-control" }, Rs = {
|
|
6606
6606
|
key: 0,
|
|
6607
6607
|
class: "datetime-scroll-tooltip"
|
|
6608
|
-
}, Qs = { class: "tooltip-content" }, Us = { class: "row column q-mb-sm q-mt-auto" }, Bs = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, Zs = { class: "row q-gutter-x-xs items-center" }, Fs = { class: "row column q-mb-md" }, Ws = { class: "fs-12 text-grey h-30 row items-center" }, Hs = { class: "row q-gutter-x-xs items-center" }, Js = { class: "row column q-mb-sm q-mt-auto" }, Gs = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" },
|
|
6609
|
-
function
|
|
6608
|
+
}, Qs = { class: "tooltip-content" }, Us = { class: "row column q-mb-sm q-mt-auto" }, Bs = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, Zs = { class: "row q-gutter-x-xs items-center" }, Fs = { class: "row column q-mb-md" }, Ws = { class: "fs-12 text-grey h-30 row items-center" }, Hs = { class: "row q-gutter-x-xs items-center" }, Js = { class: "row column q-mb-sm q-mt-auto" }, Gs = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, _s = { class: "row q-gutter-x-xs items-center" };
|
|
6609
|
+
function xs(e, t, n, o, l, i) {
|
|
6610
6610
|
const a = D("q-date"), r = D("q-icon"), s = D("q-select"), c = D("q-btn"), u = D("q-popup-proxy"), d = D("q-field");
|
|
6611
6611
|
return M(), Y(d, {
|
|
6612
6612
|
ref: "fieldRef",
|
|
@@ -6628,9 +6628,12 @@ function _s(e, t, n, o, l, i) {
|
|
|
6628
6628
|
onClick: e.handleFieldClick
|
|
6629
6629
|
}, {
|
|
6630
6630
|
control: A(() => [
|
|
6631
|
-
|
|
6631
|
+
R(e.$slots, "control", {}, () => [
|
|
6632
|
+
j("div", Es, V(e.computedValueDisplay), 1)
|
|
6633
|
+
])
|
|
6632
6634
|
]),
|
|
6633
6635
|
append: A(() => [
|
|
6636
|
+
R(e.$slots, "append"),
|
|
6634
6637
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (M(), Y(r, {
|
|
6635
6638
|
key: 0,
|
|
6636
6639
|
name: "app:clear",
|
|
@@ -6772,7 +6775,7 @@ function _s(e, t, n, o, l, i) {
|
|
|
6772
6775
|
], 64)) : (M(), z(K, { key: 1 }, [
|
|
6773
6776
|
j("div", Js, [
|
|
6774
6777
|
j("div", Gs, V(e.t("messages.date.hour")) + "/" + V(e.t("messages.date.minute")) + "/" + V(e.t("messages.date.second")), 1),
|
|
6775
|
-
j("div",
|
|
6778
|
+
j("div", _s, [
|
|
6776
6779
|
S(s, {
|
|
6777
6780
|
key: "singleH",
|
|
6778
6781
|
modelValue: e.singleH,
|
|
@@ -6836,7 +6839,7 @@ function _s(e, t, n, o, l, i) {
|
|
|
6836
6839
|
_: 3
|
|
6837
6840
|
}, 8, ["class", "model-value", "dense", "disable", "readonly", "label", "outlined", "rules", "title", "onClick"]);
|
|
6838
6841
|
}
|
|
6839
|
-
const Tg = /* @__PURE__ */ W(Os, [["render",
|
|
6842
|
+
const Tg = /* @__PURE__ */ W(Os, [["render", xs]]), Ks = F({
|
|
6840
6843
|
name: "JQMonthList",
|
|
6841
6844
|
components: { QBtn: Se },
|
|
6842
6845
|
props: {
|
|
@@ -7008,7 +7011,7 @@ function iu(e, t, n, o, l, i) {
|
|
|
7008
7011
|
], 2))), 128))
|
|
7009
7012
|
]);
|
|
7010
7013
|
}
|
|
7011
|
-
const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900,
|
|
7014
|
+
const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, uo = 275740, dn = 20, su = (e) => {
|
|
7012
7015
|
if (e === null || typeof e > "u") return null;
|
|
7013
7016
|
if (e instanceof Date) return e;
|
|
7014
7017
|
if (typeof e == "number") return new Date(e);
|
|
@@ -7019,7 +7022,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, co = 275740, dn =
|
|
|
7019
7022
|
return null;
|
|
7020
7023
|
}, uu = F({
|
|
7021
7024
|
name: "JQYearSelector",
|
|
7022
|
-
components: { QBtn: Se, QCard:
|
|
7025
|
+
components: { QBtn: Se, QCard: xe, QCardSection: _e, JQYearList: ru },
|
|
7023
7026
|
props: {
|
|
7024
7027
|
modelValue: { type: [String, Number, Object, Array, Date] }
|
|
7025
7028
|
},
|
|
@@ -7046,7 +7049,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, co = 275740, dn =
|
|
|
7046
7049
|
return d == null ? void 0 : d.getFullYear();
|
|
7047
7050
|
}), a = $(qt + dn * (((i.value ?? n.getFullYear()) - qt) / dn | 0)), r = N({
|
|
7048
7051
|
get() {
|
|
7049
|
-
return Math.min(Math.max(qt, a.value),
|
|
7052
|
+
return Math.min(Math.max(qt, a.value), uo);
|
|
7050
7053
|
},
|
|
7051
7054
|
set(d) {
|
|
7052
7055
|
a.value = d;
|
|
@@ -7056,7 +7059,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, co = 275740, dn =
|
|
|
7056
7059
|
}, u = N(() => s.value ? `year-container-${s.value}` : "year-container");
|
|
7057
7060
|
return {
|
|
7058
7061
|
MIN_INTERVAL_START: qt,
|
|
7059
|
-
MAX_INTERVAL_START:
|
|
7062
|
+
MAX_INTERVAL_START: uo,
|
|
7060
7063
|
INTERVAL_DELTA: dn,
|
|
7061
7064
|
computedValue: l,
|
|
7062
7065
|
intervalStart: a,
|
|
@@ -7113,9 +7116,9 @@ function fu(e, t, n, o, l, i) {
|
|
|
7113
7116
|
_: 1
|
|
7114
7117
|
});
|
|
7115
7118
|
}
|
|
7116
|
-
const
|
|
7119
|
+
const Zo = /* @__PURE__ */ W(uu, [["render", fu]]), pu = F({
|
|
7117
7120
|
name: "JQMonthSelector",
|
|
7118
|
-
components: { QBtn: Se, QCard:
|
|
7121
|
+
components: { QBtn: Se, QCard: xe, QCardSection: _e, JQMonthList: nu, JQYearSelector: Zo },
|
|
7119
7122
|
props: {
|
|
7120
7123
|
modelValue: { type: [String, Number, Object] },
|
|
7121
7124
|
locale: { type: [String, Array] },
|
|
@@ -7381,7 +7384,7 @@ const zg = /* @__PURE__ */ W(Iu, [["render", bu]]), Du = (e) => {
|
|
|
7381
7384
|
return null;
|
|
7382
7385
|
}, Au = F({
|
|
7383
7386
|
name: "JQDateYear",
|
|
7384
|
-
components: { QField: Le, QIcon: se, QPopupProxy: ke, JQYearSelector:
|
|
7387
|
+
components: { QField: Le, QIcon: se, QPopupProxy: ke, JQYearSelector: Zo },
|
|
7385
7388
|
props: {
|
|
7386
7389
|
modelValue: { type: [String, Number, Object, Date] },
|
|
7387
7390
|
clearable: { type: Boolean, default: !0 },
|
|
@@ -7496,7 +7499,7 @@ const kg = /* @__PURE__ */ W(Au, [["render", Nu]]), Ee = "ngiot__management__fro
|
|
|
7496
7499
|
function vn(e) {
|
|
7497
7500
|
return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "-";
|
|
7498
7501
|
}
|
|
7499
|
-
function
|
|
7502
|
+
function Fo(e) {
|
|
7500
7503
|
const { size: t, unit: n = "B", maxUnit: o, numberFormatOptions: l } = e, { size: i, unit: a } = $t({ size: t, unit: n }, { maxUnit: o });
|
|
7501
7504
|
return `${i.toLocaleString(void 0, l)} ${a}`;
|
|
7502
7505
|
}
|
|
@@ -7509,7 +7512,7 @@ function $t(e, t) {
|
|
|
7509
7512
|
function Zn(e, t = "-") {
|
|
7510
7513
|
return (n, o) => n === 0 || n === "0" ? e ? e(n, o) : n : n ? e ? e(n, o) : n.toString() : t;
|
|
7511
7514
|
}
|
|
7512
|
-
function
|
|
7515
|
+
function Wo(e) {
|
|
7513
7516
|
if (e == null)
|
|
7514
7517
|
return null;
|
|
7515
7518
|
if (e instanceof Date)
|
|
@@ -7527,14 +7530,14 @@ function Ho(e) {
|
|
|
7527
7530
|
return e;
|
|
7528
7531
|
}
|
|
7529
7532
|
function bt(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
7530
|
-
const n =
|
|
7533
|
+
const n = Wo(e);
|
|
7531
7534
|
return vn(n ? te.formatDate(n, t) : e);
|
|
7532
7535
|
}
|
|
7533
7536
|
function Bu(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
7534
7537
|
return (n, o) => {
|
|
7535
7538
|
if (n === 0 || n === "0")
|
|
7536
7539
|
return String(n);
|
|
7537
|
-
const l =
|
|
7540
|
+
const l = Wo(n);
|
|
7538
7541
|
if (!n || n === "Invalid Date")
|
|
7539
7542
|
return t;
|
|
7540
7543
|
try {
|
|
@@ -7548,7 +7551,7 @@ function Bu(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
|
7548
7551
|
function Zu(e = "-", t) {
|
|
7549
7552
|
return Zn((o) => {
|
|
7550
7553
|
const l = typeof o == "string" ? Number(o) : o;
|
|
7551
|
-
return Number.isFinite(l) ?
|
|
7554
|
+
return Number.isFinite(l) ? Fo({
|
|
7552
7555
|
size: l,
|
|
7553
7556
|
unit: (t == null ? void 0 : t.unit) || "B",
|
|
7554
7557
|
numberFormatOptions: {
|
|
@@ -7590,7 +7593,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7590
7593
|
defaultFill: vn,
|
|
7591
7594
|
defaultFormat: Zn,
|
|
7592
7595
|
formatDate: bt,
|
|
7593
|
-
formatSize:
|
|
7596
|
+
formatSize: Fo,
|
|
7594
7597
|
getNavLogo: es,
|
|
7595
7598
|
getTitle: Xr,
|
|
7596
7599
|
getUpperSize: $t,
|
|
@@ -7601,7 +7604,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7601
7604
|
name: "JQDetailList",
|
|
7602
7605
|
components: {
|
|
7603
7606
|
JCTooltipEllipsis: en,
|
|
7604
|
-
JCCopy:
|
|
7607
|
+
JCCopy: Mo,
|
|
7605
7608
|
QIcon: se,
|
|
7606
7609
|
JCTooltip: Oe
|
|
7607
7610
|
},
|
|
@@ -7696,7 +7699,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7696
7699
|
}
|
|
7697
7700
|
};
|
|
7698
7701
|
}
|
|
7699
|
-
}), Gu = { class: "q-mb-xs text-grey text-caption row items-center" },
|
|
7702
|
+
}), Gu = { class: "q-mb-xs text-grey text-caption row items-center" }, _u = ["onClick"], xu = ["innerHTML"], Ku = {
|
|
7700
7703
|
key: 0,
|
|
7701
7704
|
class: "detail-value-suffix q-ml-xs"
|
|
7702
7705
|
}, Xu = ["onClick"], ec = { class: "item item-between" }, tc = { class: "label row items-center" }, nc = { class: "value-wrapper row items-center no-wrap" }, oc = ["onClick"], lc = ["innerHTML"], ac = {
|
|
@@ -7751,7 +7754,7 @@ function mc(e, t, n, o, l, i) {
|
|
|
7751
7754
|
innerHTML: e.getDefaultValue(u),
|
|
7752
7755
|
class: U([e.getOptionClass(u), "html-content"]),
|
|
7753
7756
|
style: X(e.getHtmlStyle(u))
|
|
7754
|
-
}, null, 14,
|
|
7757
|
+
}, null, 14, xu)) : u.detail ? (M(), z("span", {
|
|
7755
7758
|
key: 2,
|
|
7756
7759
|
class: U(e.getOptionClass(u))
|
|
7757
7760
|
}, V(e.getDefaultValue(u)), 3)) : (M(), Y(s, {
|
|
@@ -7760,7 +7763,7 @@ function mc(e, t, n, o, l, i) {
|
|
|
7760
7763
|
lines: u.whiteSpace || 1,
|
|
7761
7764
|
class: U(e.getOptionClass(u))
|
|
7762
7765
|
}, null, 8, ["content", "lines", "class"]))
|
|
7763
|
-
], 10,
|
|
7766
|
+
], 10, _u),
|
|
7764
7767
|
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (M(), z("div", Ku, [
|
|
7765
7768
|
e.slots[`item-suffix-${u.name}`] ? R(e.$slots, `item-suffix-${u.name}`, {
|
|
7766
7769
|
key: 0,
|
|
@@ -8529,7 +8532,7 @@ const Eg = /* @__PURE__ */ W(Uc, [["render", Zc]]), Fc = F({
|
|
|
8529
8532
|
name: "JQOptionGroup",
|
|
8530
8533
|
components: {
|
|
8531
8534
|
QField: Le,
|
|
8532
|
-
QOptionGroup:
|
|
8535
|
+
QOptionGroup: Sl,
|
|
8533
8536
|
QIcon: se,
|
|
8534
8537
|
JCTooltip: Oe
|
|
8535
8538
|
},
|
|
@@ -8654,8 +8657,8 @@ const Vg = /* @__PURE__ */ W(Fc, [["render", Wc], ["__scopeId", "data-v-ba71bb49
|
|
|
8654
8657
|
name: "JQPopover",
|
|
8655
8658
|
components: {
|
|
8656
8659
|
QPopupProxy: ke,
|
|
8657
|
-
QCard:
|
|
8658
|
-
QCardSection:
|
|
8660
|
+
QCard: xe,
|
|
8661
|
+
QCardSection: _e
|
|
8659
8662
|
},
|
|
8660
8663
|
props: {
|
|
8661
8664
|
title: {
|
|
@@ -8770,7 +8773,7 @@ function Gc(e, t, n, o, l, i) {
|
|
|
8770
8773
|
}, 8, ["offset"])
|
|
8771
8774
|
], 544);
|
|
8772
8775
|
}
|
|
8773
|
-
const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3"]]),
|
|
8776
|
+
const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3"]]), _c = F({
|
|
8774
8777
|
name: "jQSearchForm",
|
|
8775
8778
|
components: {
|
|
8776
8779
|
JQButton: ct
|
|
@@ -8810,7 +8813,7 @@ const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3
|
|
|
8810
8813
|
handleClickReset: r
|
|
8811
8814
|
};
|
|
8812
8815
|
}
|
|
8813
|
-
}),
|
|
8816
|
+
}), xc = {
|
|
8814
8817
|
ref: "searchFormRef",
|
|
8815
8818
|
class: "j-q-search-bar"
|
|
8816
8819
|
}, Kc = { class: "search-bar-container" }, Xc = { class: "search--bar-items-wrapper" }, ed = { class: "search--bar-items" }, td = {
|
|
@@ -8820,7 +8823,7 @@ const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3
|
|
|
8820
8823
|
function od(e, t, n, o, l, i) {
|
|
8821
8824
|
const a = D("j-q-button");
|
|
8822
8825
|
return M(), z("div", null, [
|
|
8823
|
-
j("div",
|
|
8826
|
+
j("div", xc, [
|
|
8824
8827
|
j("div", Kc, [
|
|
8825
8828
|
j("div", Xc, [
|
|
8826
8829
|
j("div", ed, [
|
|
@@ -8857,9 +8860,9 @@ function od(e, t, n, o, l, i) {
|
|
|
8857
8860
|
], 512)
|
|
8858
8861
|
]);
|
|
8859
8862
|
}
|
|
8860
|
-
const qg = /* @__PURE__ */ W(
|
|
8863
|
+
const qg = /* @__PURE__ */ W(_c, [["render", od]]), Ho = 15, ld = [10, 15, 20, 30, 50];
|
|
8861
8864
|
function ad(e) {
|
|
8862
|
-
const t =
|
|
8865
|
+
const t = Ho, n = ot({
|
|
8863
8866
|
page: 1,
|
|
8864
8867
|
rowsPerPage: t,
|
|
8865
8868
|
rowsNumber: 0
|
|
@@ -8877,7 +8880,7 @@ const id = 15, rd = [10, 15, 20, 30, 50], sd = F({
|
|
|
8877
8880
|
components: {
|
|
8878
8881
|
QInnerLoading: Nn,
|
|
8879
8882
|
QSelect: wt,
|
|
8880
|
-
QPagination:
|
|
8883
|
+
QPagination: Tl,
|
|
8881
8884
|
QInput: wn
|
|
8882
8885
|
},
|
|
8883
8886
|
props: {
|
|
@@ -8965,8 +8968,8 @@ const id = 15, rd = [10, 15, 20, 30, 50], sd = F({
|
|
|
8965
8968
|
return {
|
|
8966
8969
|
t: n,
|
|
8967
8970
|
internalInfo: o,
|
|
8968
|
-
loading:
|
|
8969
|
-
mini:
|
|
8971
|
+
loading: _n(e, "loading"),
|
|
8972
|
+
mini: _n(e, "mini"),
|
|
8970
8973
|
maxPages: r,
|
|
8971
8974
|
totalPages: i,
|
|
8972
8975
|
pagePlaceholder: a,
|
|
@@ -9036,7 +9039,7 @@ function gd(e, t, n, o, l, i) {
|
|
|
9036
9039
|
modelValue: e.internalInfo.inputPage,
|
|
9037
9040
|
"onUpdate:modelValue": t[2] || (t[2] = (u) => e.internalInfo.inputPage = u),
|
|
9038
9041
|
modelModifiers: { trim: !0 },
|
|
9039
|
-
onKeyup:
|
|
9042
|
+
onKeyup: fo(e.handleJumpToPage, ["enter"]),
|
|
9040
9043
|
autocapitalize: "off",
|
|
9041
9044
|
autocomplete: "off",
|
|
9042
9045
|
autocorrect: "off",
|
|
@@ -9058,11 +9061,11 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9058
9061
|
inheritAttrs: !1,
|
|
9059
9062
|
components: {
|
|
9060
9063
|
JQPagination: yd,
|
|
9061
|
-
QTable:
|
|
9062
|
-
QTh:
|
|
9063
|
-
QTd:
|
|
9064
|
+
QTable: Ll,
|
|
9065
|
+
QTh: kl,
|
|
9066
|
+
QTd: zl,
|
|
9064
9067
|
QInnerLoading: Nn,
|
|
9065
|
-
QCheckbox:
|
|
9068
|
+
QCheckbox: go,
|
|
9066
9069
|
JCTooltip: Oe
|
|
9067
9070
|
},
|
|
9068
9071
|
props: {
|
|
@@ -9088,6 +9091,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9088
9091
|
default: null
|
|
9089
9092
|
}
|
|
9090
9093
|
},
|
|
9094
|
+
emits: ["update:selected", "paginationChange"],
|
|
9091
9095
|
slots: Object,
|
|
9092
9096
|
setup(e, { emit: t, expose: n, slots: o }) {
|
|
9093
9097
|
const { t: l } = ae(), i = $(null), a = $([]), r = $(/* @__PURE__ */ new Map()), s = $(/* @__PURE__ */ new Map()), c = $(/* @__PURE__ */ new Map());
|
|
@@ -9097,9 +9101,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9097
9101
|
return e.selected ?? a.value;
|
|
9098
9102
|
},
|
|
9099
9103
|
set(L) {
|
|
9100
|
-
var
|
|
9104
|
+
var x;
|
|
9101
9105
|
let E = L;
|
|
9102
|
-
if (e.selection && ((
|
|
9106
|
+
if (e.selection && ((x = e.selectionConditions) != null && x.itemSelectDisable)) {
|
|
9103
9107
|
const le = e.rows, ve = new Set(
|
|
9104
9108
|
le.filter((be) => e.selectionConditions.itemSelectDisable(be)).map((be) => be[e.rowKey])
|
|
9105
9109
|
);
|
|
@@ -9112,16 +9116,16 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9112
9116
|
return ((L = e.columns) == null ? void 0 : L.filter((E) => Reflect.has(o, `header-cell-${E.name}`))) || [];
|
|
9113
9117
|
}), C = N(() => {
|
|
9114
9118
|
var L;
|
|
9115
|
-
return ((L = e.columns) == null ? void 0 : L.filter(({ name: E, onClick:
|
|
9119
|
+
return ((L = e.columns) == null ? void 0 : L.filter(({ name: E, onClick: x }) => Reflect.has(o, `body-cell-${E}`) && !x)) || [];
|
|
9116
9120
|
}), T = N(() => {
|
|
9117
9121
|
var L;
|
|
9118
9122
|
return ((L = e.columns) == null ? void 0 : L.filter(({ onClick: E }) => E)) || [];
|
|
9119
9123
|
}), k = N(() => {
|
|
9120
9124
|
var L;
|
|
9121
|
-
return ((L = e.columns) == null ? void 0 : L.filter(({ whiteSpace: E, onClick:
|
|
9125
|
+
return ((L = e.columns) == null ? void 0 : L.filter(({ whiteSpace: E, onClick: x, name: le }) => E && !x && !Reflect.has(o, `body-cell-${le}`))) || [];
|
|
9122
9126
|
}), w = N(() => {
|
|
9123
9127
|
var L;
|
|
9124
|
-
return ((L = e.columns) == null ? void 0 : L.filter(({ limitWidth: E, whiteSpace:
|
|
9128
|
+
return ((L = e.columns) == null ? void 0 : L.filter(({ limitWidth: E, whiteSpace: x, onClick: le, name: ve }) => E && !x && !le && !Reflect.has(o, `body-cell-${ve}`))) || [];
|
|
9125
9129
|
}), v = (L) => {
|
|
9126
9130
|
var E;
|
|
9127
9131
|
return !e.selection || !((E = e.selectionConditions) != null && E.itemSelectDisable) ? "" : e.selectionConditions.itemSelectDisable(L) ? "j-q-table--selection-disabled" : "";
|
|
@@ -9134,10 +9138,10 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9134
9138
|
if (!L.length) return !1;
|
|
9135
9139
|
const E = e.rows;
|
|
9136
9140
|
if (!E.length) return !1;
|
|
9137
|
-
let
|
|
9138
|
-
return (le = e.selectionConditions) != null && le.itemSelectDisable && (
|
|
9141
|
+
let x = E.length;
|
|
9142
|
+
return (le = e.selectionConditions) != null && le.itemSelectDisable && (x = E.filter(
|
|
9139
9143
|
(ve) => !e.selectionConditions.itemSelectDisable(ve)
|
|
9140
|
-
).length),
|
|
9144
|
+
).length), x > 0 && L.length < x;
|
|
9141
9145
|
}), { paginationInfo: b, getPaginationParam: O, getNum: B, setNum: J, setTotal: oe, setSize: de } = ad(), ne = N(() => ({
|
|
9142
9146
|
rowsPerPage: 0
|
|
9143
9147
|
})), ue = (L) => {
|
|
@@ -9152,13 +9156,13 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9152
9156
|
L == null || L.scrollIntoView({ behavior: "smooth" });
|
|
9153
9157
|
}, pe = (L, E) => {
|
|
9154
9158
|
if (L.format && typeof L.format == "function") {
|
|
9155
|
-
const
|
|
9156
|
-
return
|
|
9159
|
+
const x = L.format(E);
|
|
9160
|
+
return x == null ? "" : String(x);
|
|
9157
9161
|
}
|
|
9158
9162
|
return E == null ? "" : String(E);
|
|
9159
9163
|
}, ce = (L, E) => {
|
|
9160
9164
|
L.onClick && typeof L.onClick == "function" && L.onClick(E);
|
|
9161
|
-
}, me = (L, E,
|
|
9165
|
+
}, me = (L, E, x) => L.clickable && typeof L.clickable == "function" ? L.clickable(E, x) : E != null, Ve = (L) => {
|
|
9162
9166
|
const E = window.innerWidth <= 1440;
|
|
9163
9167
|
if (L) {
|
|
9164
9168
|
if (E && L.cellMaxWidthSmall !== void 0)
|
|
@@ -9188,9 +9192,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9188
9192
|
var L, E;
|
|
9189
9193
|
if (typeof document > "u") return null;
|
|
9190
9194
|
if (u || (u = document.createElement("span"), u.style.cssText = "position:absolute;visibility:hidden;white-space:nowrap;pointer-events:none;", document.body.appendChild(u)), !d) {
|
|
9191
|
-
const
|
|
9192
|
-
if (
|
|
9193
|
-
const le = window.getComputedStyle(
|
|
9195
|
+
const x = (E = (L = i.value) == null ? void 0 : L.$el) == null ? void 0 : E.querySelector("td");
|
|
9196
|
+
if (x) {
|
|
9197
|
+
const le = window.getComputedStyle(x);
|
|
9194
9198
|
d = `${le.fontWeight} ${le.fontSize} ${le.fontFamily}`;
|
|
9195
9199
|
}
|
|
9196
9200
|
}
|
|
@@ -9199,7 +9203,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9199
9203
|
const E = mt();
|
|
9200
9204
|
return E ? (E.textContent = L, E.offsetWidth) : 0;
|
|
9201
9205
|
}, Ke = N(() => {
|
|
9202
|
-
const L = k.value, E = T.value.filter((
|
|
9206
|
+
const L = k.value, E = T.value.filter((x) => x.whiteSpace);
|
|
9203
9207
|
return [...L, ...E];
|
|
9204
9208
|
});
|
|
9205
9209
|
H(
|
|
@@ -9208,16 +9212,16 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9208
9212
|
const E = c.value;
|
|
9209
9213
|
for (const le of L)
|
|
9210
9214
|
E.has(le.name) || E.set(le.name, !0);
|
|
9211
|
-
const
|
|
9215
|
+
const x = new Set(L.map((le) => le.name));
|
|
9212
9216
|
for (const le of E.keys())
|
|
9213
|
-
|
|
9217
|
+
x.has(le) || E.delete(le);
|
|
9214
9218
|
},
|
|
9215
9219
|
{ immediate: !0 }
|
|
9216
9220
|
);
|
|
9217
9221
|
const Ue = () => {
|
|
9218
9222
|
const L = Ke.value;
|
|
9219
9223
|
if (!L.length) return;
|
|
9220
|
-
const E = e.rows,
|
|
9224
|
+
const E = e.rows, x = /* @__PURE__ */ new Map();
|
|
9221
9225
|
for (const le of L) {
|
|
9222
9226
|
const ve = Ve(le);
|
|
9223
9227
|
let be = !1;
|
|
@@ -9229,9 +9233,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9229
9233
|
break;
|
|
9230
9234
|
}
|
|
9231
9235
|
}
|
|
9232
|
-
|
|
9236
|
+
x.set(le.name, be);
|
|
9233
9237
|
}
|
|
9234
|
-
c.value =
|
|
9238
|
+
c.value = x;
|
|
9235
9239
|
}, Ot = (L, E) => {
|
|
9236
9240
|
L && (r.value.set(E, L), ye(() => {
|
|
9237
9241
|
Q(E);
|
|
@@ -9242,8 +9246,8 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9242
9246
|
s.value.set(L, !1);
|
|
9243
9247
|
return;
|
|
9244
9248
|
}
|
|
9245
|
-
const
|
|
9246
|
-
s.value.set(L,
|
|
9249
|
+
const x = E.scrollWidth > E.clientWidth || E.scrollHeight > E.clientHeight;
|
|
9250
|
+
s.value.set(L, x);
|
|
9247
9251
|
}, G = (L) => s.value.get(L) || !1, P = () => {
|
|
9248
9252
|
ye(() => {
|
|
9249
9253
|
Ue(), r.value.forEach((L, E) => {
|
|
@@ -9266,7 +9270,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9266
9270
|
e.loading || Ue();
|
|
9267
9271
|
});
|
|
9268
9272
|
let Z = null;
|
|
9269
|
-
const
|
|
9273
|
+
const _ = () => {
|
|
9270
9274
|
Z && clearTimeout(Z), Z = setTimeout(() => {
|
|
9271
9275
|
d = null, Ue(), ye(() => {
|
|
9272
9276
|
r.value.forEach((L, E) => {
|
|
@@ -9276,9 +9280,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9276
9280
|
}, 200);
|
|
9277
9281
|
};
|
|
9278
9282
|
return st(() => {
|
|
9279
|
-
window.addEventListener("resize",
|
|
9283
|
+
window.addEventListener("resize", _);
|
|
9280
9284
|
}), Cn(() => {
|
|
9281
|
-
if (Z && clearTimeout(Z), window.removeEventListener("resize",
|
|
9285
|
+
if (Z && clearTimeout(Z), window.removeEventListener("resize", _), u) {
|
|
9282
9286
|
try {
|
|
9283
9287
|
document.body.removeChild(u);
|
|
9284
9288
|
} catch {
|
|
@@ -9295,7 +9299,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9295
9299
|
setSize: de,
|
|
9296
9300
|
scrollTop: fe,
|
|
9297
9301
|
ROWS_PER_PAGE_OPTIONS: ld,
|
|
9298
|
-
DEFAULT_ROWS_PER_PAGE:
|
|
9302
|
+
DEFAULT_ROWS_PER_PAGE: Ho
|
|
9299
9303
|
}), {
|
|
9300
9304
|
t: l,
|
|
9301
9305
|
JQTableRef: i,
|
|
@@ -9562,13 +9566,13 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9562
9566
|
const Yg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
|
|
9563
9567
|
name: "dialogConfirmComponent",
|
|
9564
9568
|
components: {
|
|
9565
|
-
QDialog:
|
|
9566
|
-
QCard:
|
|
9567
|
-
QCardSection:
|
|
9569
|
+
QDialog: po,
|
|
9570
|
+
QCard: xe,
|
|
9571
|
+
QCardSection: _e,
|
|
9568
9572
|
QIcon: se,
|
|
9569
9573
|
JQButton: ct
|
|
9570
9574
|
},
|
|
9571
|
-
emits: [
|
|
9575
|
+
emits: ["ok", "hide"],
|
|
9572
9576
|
props: {
|
|
9573
9577
|
title: { type: String, default: "" },
|
|
9574
9578
|
content: { type: String, default: "" },
|
|
@@ -9581,7 +9585,7 @@ const Yg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
|
|
|
9581
9585
|
showClose: { type: Boolean, default: !0 }
|
|
9582
9586
|
},
|
|
9583
9587
|
setup(e) {
|
|
9584
|
-
const { t } = ae(), { dialogRef: n, onDialogHide: o, onDialogOK: l, onDialogCancel: i } =
|
|
9588
|
+
const { t } = ae(), { dialogRef: n, onDialogHide: o, onDialogOK: l, onDialogCancel: i } = $l(), a = N(() => e.confirmButtonText || t("action.confirm")), r = N(() => e.cancelButtonText || t("action.cancel")), s = N(() => e.color || (e.isDelete ? "negative" : "primary")), c = N(() => typeof e.icon == "string");
|
|
9585
9589
|
return {
|
|
9586
9590
|
dialogRef: n,
|
|
9587
9591
|
onDialogHide: o,
|
|
@@ -9913,12 +9917,12 @@ function Hd(e, t = "children") {
|
|
|
9913
9917
|
};
|
|
9914
9918
|
return o(e), n;
|
|
9915
9919
|
}
|
|
9916
|
-
function
|
|
9920
|
+
function Jo(e, t, n = "children") {
|
|
9917
9921
|
if (!Array.isArray(e)) return null;
|
|
9918
9922
|
for (const o of e) {
|
|
9919
9923
|
if (t(o)) return o;
|
|
9920
9924
|
if (Array.isArray(o[n]) && o[n].length > 0) {
|
|
9921
|
-
const l =
|
|
9925
|
+
const l = Jo(o[n], t, n);
|
|
9922
9926
|
if (l) return l;
|
|
9923
9927
|
}
|
|
9924
9928
|
}
|
|
@@ -9939,13 +9943,13 @@ function Gd(e, t) {
|
|
|
9939
9943
|
return n[l] || (n[l] = []), n[l].push(o), n;
|
|
9940
9944
|
}, {}) : {};
|
|
9941
9945
|
}
|
|
9942
|
-
function
|
|
9946
|
+
function _d(e, t) {
|
|
9943
9947
|
return Array.isArray(e) ? e.reduce((n, o) => {
|
|
9944
9948
|
const l = t(o);
|
|
9945
9949
|
return n[l] || (n[l] = []), n[l].push(o), n;
|
|
9946
9950
|
}, {}) : {};
|
|
9947
9951
|
}
|
|
9948
|
-
function
|
|
9952
|
+
function xd(e, t, n = "asc") {
|
|
9949
9953
|
return Array.isArray(e) ? [...e].sort((o, l) => {
|
|
9950
9954
|
const i = o[t], a = l[t];
|
|
9951
9955
|
return i < a ? n === "asc" ? -1 : 1 : i > a ? n === "asc" ? 1 : -1 : 0;
|
|
@@ -9961,14 +9965,14 @@ function Kd(e, t) {
|
|
|
9961
9965
|
return 0;
|
|
9962
9966
|
}) : e;
|
|
9963
9967
|
}
|
|
9964
|
-
function
|
|
9968
|
+
function Go(e, t) {
|
|
9965
9969
|
return Array.isArray(e) ? e.reduce((n, o) => {
|
|
9966
9970
|
const l = t ? o[t] : o;
|
|
9967
9971
|
return n + (Number(l) || 0);
|
|
9968
9972
|
}, 0) : 0;
|
|
9969
9973
|
}
|
|
9970
9974
|
function Xd(e, t) {
|
|
9971
|
-
return !Array.isArray(e) || e.length === 0 ? 0 :
|
|
9975
|
+
return !Array.isArray(e) || e.length === 0 ? 0 : Go(e, t) / e.length;
|
|
9972
9976
|
}
|
|
9973
9977
|
function ef(e, t) {
|
|
9974
9978
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
@@ -10019,8 +10023,8 @@ function _o(e) {
|
|
|
10019
10023
|
function rf(e, t = 1) {
|
|
10020
10024
|
return !Array.isArray(e) || t <= 0 ? [] : _o(e).slice(0, Math.min(t, e.length));
|
|
10021
10025
|
}
|
|
10022
|
-
function
|
|
10023
|
-
return !Array.isArray(e) || t <= 0 ? e : e.reduce((n, o) => (Array.isArray(o) ? n.push(...
|
|
10026
|
+
function xo(e, t = 1 / 0) {
|
|
10027
|
+
return !Array.isArray(e) || t <= 0 ? e : e.reduce((n, o) => (Array.isArray(o) ? n.push(...xo(o, t - 1)) : n.push(o), n), []);
|
|
10024
10028
|
}
|
|
10025
10029
|
function sf(e, t, n) {
|
|
10026
10030
|
if (!Array.isArray(e))
|
|
@@ -10049,11 +10053,11 @@ const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10049
10053
|
chunkArray: nf,
|
|
10050
10054
|
countBy: cf,
|
|
10051
10055
|
difference: af,
|
|
10052
|
-
findNodeInTree:
|
|
10053
|
-
flatten:
|
|
10056
|
+
findNodeInTree: Jo,
|
|
10057
|
+
flatten: xo,
|
|
10054
10058
|
forEachTree: Jd,
|
|
10055
10059
|
groupBy: Gd,
|
|
10056
|
-
groupByFn:
|
|
10060
|
+
groupByFn: _d,
|
|
10057
10061
|
intersection: of,
|
|
10058
10062
|
max: ef,
|
|
10059
10063
|
min: tf,
|
|
@@ -10061,9 +10065,9 @@ const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10061
10065
|
paginate: sf,
|
|
10062
10066
|
sample: rf,
|
|
10063
10067
|
shuffle: _o,
|
|
10064
|
-
sortBy:
|
|
10068
|
+
sortBy: xd,
|
|
10065
10069
|
sortByMultiple: Kd,
|
|
10066
|
-
sum:
|
|
10070
|
+
sum: Go,
|
|
10067
10071
|
treeToArray: Hd,
|
|
10068
10072
|
union: lf,
|
|
10069
10073
|
uniqueArray: Bd,
|
|
@@ -10131,7 +10135,7 @@ function hf(e = !0) {
|
|
|
10131
10135
|
behavior: e ? "smooth" : "auto"
|
|
10132
10136
|
});
|
|
10133
10137
|
}
|
|
10134
|
-
function
|
|
10138
|
+
function Ko() {
|
|
10135
10139
|
return {
|
|
10136
10140
|
x: window.pageXOffset || document.documentElement.scrollLeft,
|
|
10137
10141
|
y: window.pageYOffset || document.documentElement.scrollTop
|
|
@@ -10225,7 +10229,7 @@ function Uf() {
|
|
|
10225
10229
|
height: window.innerHeight || document.documentElement.clientHeight
|
|
10226
10230
|
};
|
|
10227
10231
|
}
|
|
10228
|
-
function
|
|
10232
|
+
function Xo() {
|
|
10229
10233
|
return Math.max(
|
|
10230
10234
|
document.body.scrollHeight,
|
|
10231
10235
|
document.documentElement.scrollHeight,
|
|
@@ -10246,7 +10250,7 @@ function Bf() {
|
|
|
10246
10250
|
);
|
|
10247
10251
|
}
|
|
10248
10252
|
function Zf(e = 0) {
|
|
10249
|
-
const { y: t } =
|
|
10253
|
+
const { y: t } = Ko(), n = window.innerHeight || document.documentElement.clientHeight, o = Xo();
|
|
10250
10254
|
return t + n >= o - e;
|
|
10251
10255
|
}
|
|
10252
10256
|
const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -10264,9 +10268,9 @@ const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10264
10268
|
getElementRect: kf,
|
|
10265
10269
|
getElementWidth: Lf,
|
|
10266
10270
|
getOffsetTop: If,
|
|
10267
|
-
getPageHeight:
|
|
10271
|
+
getPageHeight: Xo,
|
|
10268
10272
|
getPageWidth: Bf,
|
|
10269
|
-
getScrollPosition:
|
|
10273
|
+
getScrollPosition: Ko,
|
|
10270
10274
|
getStyle: Rf,
|
|
10271
10275
|
getWindowSize: Uf,
|
|
10272
10276
|
hasAttribute: Yf,
|
|
@@ -10310,11 +10314,11 @@ function Jf(e, t, n = 1) {
|
|
|
10310
10314
|
function Gf(e, t, n) {
|
|
10311
10315
|
return Math.min(Math.max(e, t), n);
|
|
10312
10316
|
}
|
|
10313
|
-
function
|
|
10317
|
+
function _f(e, t) {
|
|
10314
10318
|
const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
|
|
10315
10319
|
return (e * l + t * l) / l;
|
|
10316
10320
|
}
|
|
10317
|
-
function
|
|
10321
|
+
function xf(e, t) {
|
|
10318
10322
|
const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
|
|
10319
10323
|
return (e * l - t * l) / l;
|
|
10320
10324
|
}
|
|
@@ -10408,8 +10412,8 @@ function mp(e) {
|
|
|
10408
10412
|
function gp(e, t) {
|
|
10409
10413
|
return Math.pow(e, t);
|
|
10410
10414
|
}
|
|
10411
|
-
function
|
|
10412
|
-
return e < 0 ? NaN : e === 0 || e === 1 ? 1 : e *
|
|
10415
|
+
function el(e) {
|
|
10416
|
+
return e < 0 ? NaN : e === 0 || e === 1 ? 1 : e * el(e - 1);
|
|
10413
10417
|
}
|
|
10414
10418
|
function Gn(e, t) {
|
|
10415
10419
|
return t === 0 ? e : Gn(t, e % t);
|
|
@@ -10420,12 +10424,12 @@ function yp(e, t) {
|
|
|
10420
10424
|
const Mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10421
10425
|
__proto__: null,
|
|
10422
10426
|
abs: pp,
|
|
10423
|
-
add:
|
|
10427
|
+
add: _f,
|
|
10424
10428
|
ceil: ep,
|
|
10425
10429
|
clamp: Gf,
|
|
10426
10430
|
decimalToPercent: ap,
|
|
10427
10431
|
divide: Xf,
|
|
10428
|
-
factorial:
|
|
10432
|
+
factorial: el,
|
|
10429
10433
|
floor: tp,
|
|
10430
10434
|
gcd: Gn,
|
|
10431
10435
|
inRange: fp,
|
|
@@ -10443,7 +10447,7 @@ const Mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10443
10447
|
range: Jf,
|
|
10444
10448
|
round: Jn,
|
|
10445
10449
|
sqrt: mp,
|
|
10446
|
-
subtract:
|
|
10450
|
+
subtract: xf,
|
|
10447
10451
|
toChineseMoney: sp,
|
|
10448
10452
|
toChineseNumber: rp,
|
|
10449
10453
|
toFixed: np
|
|
@@ -10464,14 +10468,14 @@ function Ft(e) {
|
|
|
10464
10468
|
function hp(e) {
|
|
10465
10469
|
return e === null || typeof e != "object" ? e : Array.isArray(e) ? [...e] : { ...e };
|
|
10466
10470
|
}
|
|
10467
|
-
function
|
|
10471
|
+
function tl(...e) {
|
|
10468
10472
|
if (e.length === 0) return {};
|
|
10469
10473
|
if (e.length === 1) return e[0];
|
|
10470
10474
|
const t = {};
|
|
10471
10475
|
return e.forEach((n) => {
|
|
10472
10476
|
!n || typeof n != "object" || Object.keys(n).forEach((o) => {
|
|
10473
10477
|
const l = n[o], i = t[o];
|
|
10474
|
-
l && typeof l == "object" && !Array.isArray(l) && i && typeof i == "object" && !Array.isArray(i) ? t[o] =
|
|
10478
|
+
l && typeof l == "object" && !Array.isArray(l) && i && typeof i == "object" && !Array.isArray(i) ? t[o] = tl(i, l) : t[o] = Ft(l);
|
|
10475
10479
|
});
|
|
10476
10480
|
}), t;
|
|
10477
10481
|
}
|
|
@@ -10503,7 +10507,7 @@ function Dp(e, t, n) {
|
|
|
10503
10507
|
return n;
|
|
10504
10508
|
return l !== void 0 ? l : n;
|
|
10505
10509
|
}
|
|
10506
|
-
function
|
|
10510
|
+
function nl(e, t, n) {
|
|
10507
10511
|
if (!e || typeof e != "object") return;
|
|
10508
10512
|
const o = t.split("."), l = o.pop();
|
|
10509
10513
|
if (!l) return;
|
|
@@ -10578,7 +10582,7 @@ function jp(e) {
|
|
|
10578
10582
|
l && (l in n ? Array.isArray(n[l]) ? n[l].push(i) : n[l] = [n[l], i] : n[l] = i);
|
|
10579
10583
|
}), n;
|
|
10580
10584
|
}
|
|
10581
|
-
function
|
|
10585
|
+
function ol(e, t) {
|
|
10582
10586
|
if (!e || typeof e != "object") return {};
|
|
10583
10587
|
const n = {};
|
|
10584
10588
|
return Object.keys(e).forEach((o) => {
|
|
@@ -10586,21 +10590,21 @@ function ll(e, t) {
|
|
|
10586
10590
|
}), n;
|
|
10587
10591
|
}
|
|
10588
10592
|
function Sp(e, t = !0) {
|
|
10589
|
-
return
|
|
10593
|
+
return ol(e, (n) => !(n == null || t && n === ""));
|
|
10590
10594
|
}
|
|
10591
|
-
function
|
|
10595
|
+
function ll(e, t = "") {
|
|
10592
10596
|
if (!e || typeof e != "object") return {};
|
|
10593
10597
|
const n = {};
|
|
10594
10598
|
return Object.keys(e).forEach((o) => {
|
|
10595
10599
|
const l = t ? `${t}.${o}` : o, i = e[o];
|
|
10596
|
-
i && typeof i == "object" && !Array.isArray(i) ? Object.assign(n,
|
|
10600
|
+
i && typeof i == "object" && !Array.isArray(i) ? Object.assign(n, ll(i, l)) : n[l] = i;
|
|
10597
10601
|
}), n;
|
|
10598
10602
|
}
|
|
10599
10603
|
function Tp(e) {
|
|
10600
10604
|
if (!e || typeof e != "object") return {};
|
|
10601
10605
|
const t = {};
|
|
10602
10606
|
return Object.keys(e).forEach((n) => {
|
|
10603
|
-
|
|
10607
|
+
nl(t, n, e[n]);
|
|
10604
10608
|
}), t;
|
|
10605
10609
|
}
|
|
10606
10610
|
function zp(e) {
|
|
@@ -10623,10 +10627,10 @@ function $p(e) {
|
|
|
10623
10627
|
const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10624
10628
|
__proto__: null,
|
|
10625
10629
|
deepClone: Ft,
|
|
10626
|
-
deepMerge:
|
|
10630
|
+
deepMerge: tl,
|
|
10627
10631
|
entries: $p,
|
|
10628
|
-
filterValues:
|
|
10629
|
-
flattenObject:
|
|
10632
|
+
filterValues: ol,
|
|
10633
|
+
flattenObject: ll,
|
|
10630
10634
|
fromQueryString: jp,
|
|
10631
10635
|
get: Dp,
|
|
10632
10636
|
has: Ap,
|
|
@@ -10640,7 +10644,7 @@ const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10640
10644
|
omit: bp,
|
|
10641
10645
|
pick: vp,
|
|
10642
10646
|
removeEmpty: Sp,
|
|
10643
|
-
set:
|
|
10647
|
+
set: nl,
|
|
10644
10648
|
shallowClone: hp,
|
|
10645
10649
|
shallowMerge: Ip,
|
|
10646
10650
|
toQueryString: wp,
|
|
@@ -10679,11 +10683,11 @@ function Pp(e) {
|
|
|
10679
10683
|
return t || (t = !0, n = e.apply(this, o)), n;
|
|
10680
10684
|
};
|
|
10681
10685
|
}
|
|
10682
|
-
function
|
|
10686
|
+
function al(e) {
|
|
10683
10687
|
return new Promise((t) => setTimeout(t, e));
|
|
10684
10688
|
}
|
|
10685
|
-
function
|
|
10686
|
-
return
|
|
10689
|
+
function il(e) {
|
|
10690
|
+
return al(e);
|
|
10687
10691
|
}
|
|
10688
10692
|
async function qp(e, t) {
|
|
10689
10693
|
const { times: n = 3, delay: o = 1e3, onRetry: l } = t || {};
|
|
@@ -10692,7 +10696,7 @@ async function qp(e, t) {
|
|
|
10692
10696
|
try {
|
|
10693
10697
|
return await e();
|
|
10694
10698
|
} catch (r) {
|
|
10695
|
-
i = r, l && l(r, a + 1), a < n - 1 && await
|
|
10699
|
+
i = r, l && l(r, a + 1), a < n - 1 && await il(o);
|
|
10696
10700
|
}
|
|
10697
10701
|
throw i;
|
|
10698
10702
|
}
|
|
@@ -10784,7 +10788,7 @@ const Gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10784
10788
|
clearCache: Qp,
|
|
10785
10789
|
debounce: Ep,
|
|
10786
10790
|
dedupe: Hp,
|
|
10787
|
-
delay:
|
|
10791
|
+
delay: al,
|
|
10788
10792
|
measureTime: Fp,
|
|
10789
10793
|
measureTimeAsync: Wp,
|
|
10790
10794
|
memoize: Rp,
|
|
@@ -10793,14 +10797,14 @@ const Gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10793
10797
|
promiseSerial: Zp,
|
|
10794
10798
|
rafThrottle: Jp,
|
|
10795
10799
|
retry: qp,
|
|
10796
|
-
sleep:
|
|
10800
|
+
sleep: il,
|
|
10797
10801
|
throttle: Vp,
|
|
10798
10802
|
withTimeout: Yp
|
|
10799
10803
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10800
|
-
function
|
|
10804
|
+
function _p(e) {
|
|
10801
10805
|
return !e || e.length !== 11 ? e : e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
|
|
10802
10806
|
}
|
|
10803
|
-
function
|
|
10807
|
+
function xp(e) {
|
|
10804
10808
|
if (!e || e.length < 8) return e;
|
|
10805
10809
|
const t = e.length;
|
|
10806
10810
|
return e.substring(0, 3) + "*".repeat(t - 7) + e.substring(t - 4);
|
|
@@ -10937,12 +10941,12 @@ const Am = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10937
10941
|
formatNumber: rm,
|
|
10938
10942
|
formatPhone: dm,
|
|
10939
10943
|
generateUUID: pm,
|
|
10940
|
-
idCardDesensitize:
|
|
10944
|
+
idCardDesensitize: xp,
|
|
10941
10945
|
isEmpty: hm,
|
|
10942
10946
|
nameDesensitize: Kp,
|
|
10943
10947
|
padEnd: Dm,
|
|
10944
10948
|
padStart: bm,
|
|
10945
|
-
phoneDesensitize:
|
|
10949
|
+
phoneDesensitize: _p,
|
|
10946
10950
|
randomString: fm,
|
|
10947
10951
|
removeHtmlTags: gm,
|
|
10948
10952
|
repeat: vm,
|
|
@@ -11129,7 +11133,7 @@ function Rm(e, t) {
|
|
|
11129
11133
|
let s = l;
|
|
11130
11134
|
return r && (s += `?${r}`), o && (s += `#${o}`), s;
|
|
11131
11135
|
}
|
|
11132
|
-
function
|
|
11136
|
+
function rl(e) {
|
|
11133
11137
|
try {
|
|
11134
11138
|
return new URL(e).hostname;
|
|
11135
11139
|
} catch {
|
|
@@ -11137,7 +11141,7 @@ function sl(e) {
|
|
|
11137
11141
|
}
|
|
11138
11142
|
}
|
|
11139
11143
|
function Qm(e) {
|
|
11140
|
-
const t =
|
|
11144
|
+
const t = rl(e);
|
|
11141
11145
|
if (!t) return "";
|
|
11142
11146
|
const n = t.split(".");
|
|
11143
11147
|
return n.length <= 2 ? t : n.slice(-2).join(".");
|
|
@@ -11165,7 +11169,7 @@ const Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11165
11169
|
getCurrentPath: Bm,
|
|
11166
11170
|
getCurrentQuery: Zm,
|
|
11167
11171
|
getCurrentUrl: Um,
|
|
11168
|
-
getDomain:
|
|
11172
|
+
getDomain: rl,
|
|
11169
11173
|
getQueryParam: Cm,
|
|
11170
11174
|
getQueryParams: Nm,
|
|
11171
11175
|
getRootDomain: Qm,
|
|
@@ -11181,12 +11185,12 @@ const Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11181
11185
|
safeEncodeUrl: Pm,
|
|
11182
11186
|
stringifyQuery: dt,
|
|
11183
11187
|
updateQueryParams: wm
|
|
11184
|
-
}, Symbol.toStringTag, { value: "Module" })), Hm = "#0B5CFF", Jm = "#0B5CFF", Gm = "#323232",
|
|
11188
|
+
}, Symbol.toStringTag, { value: "Module" })), Hm = "#0B5CFF", Jm = "#0B5CFF", Gm = "#323232", _m = "#2da641", xm = "#E93030", Km = "#E93030", Xm = "#f2c037", eg = "#969799", tg = "#ffffff", ng = {
|
|
11185
11189
|
primary: Hm,
|
|
11186
11190
|
blue: Jm,
|
|
11187
11191
|
dark: Gm,
|
|
11188
|
-
green:
|
|
11189
|
-
red:
|
|
11192
|
+
green: _m,
|
|
11193
|
+
red: xm,
|
|
11190
11194
|
negative: Km,
|
|
11191
11195
|
yellow: Xm,
|
|
11192
11196
|
grey: eg,
|
|
@@ -11213,7 +11217,7 @@ function Rg(e) {
|
|
|
11213
11217
|
}) : gn("zh-CN").catch((m) => {
|
|
11214
11218
|
console.error("[rtcpt] Failed to load default locale:", m);
|
|
11215
11219
|
});
|
|
11216
|
-
const d = Oi, f = i ?
|
|
11220
|
+
const d = Oi, f = i ? xn(i) ? i : $(i) : void 0, p = a ? xn(a) ? a : $(a) : void 0;
|
|
11217
11221
|
Un.configure({
|
|
11218
11222
|
router: n,
|
|
11219
11223
|
store: o,
|
|
@@ -11221,7 +11225,7 @@ function Rg(e) {
|
|
|
11221
11225
|
iconMapFn: d,
|
|
11222
11226
|
pagePermissionIds: f,
|
|
11223
11227
|
pageActionPermissionIds: p
|
|
11224
|
-
}), f && t.provide(Tt, f), p && t.provide(St, p), s && u && og(s), u && (u.iconMapFn =
|
|
11228
|
+
}), f && t.provide(Tt, f), p && t.provide(St, p), s && u && og(s), u && (u.iconMapFn = Uo(u.iconMapFn, d));
|
|
11225
11229
|
}
|
|
11226
11230
|
function og(e, t) {
|
|
11227
11231
|
const n = { ...ng, ...e }, o = document.documentElement;
|
|
@@ -11240,7 +11244,7 @@ function ag(e) {
|
|
|
11240
11244
|
const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
|
|
11241
11245
|
t != null && t["close-popup"] || e.directive("close-popup", Ht);
|
|
11242
11246
|
}
|
|
11243
|
-
function
|
|
11247
|
+
function sl(e, t, n = (l) => JSON.stringify(l), o = (l) => JSON.parse(l)) {
|
|
11244
11248
|
const l = e, a = $((() => {
|
|
11245
11249
|
try {
|
|
11246
11250
|
const s = localStorage.getItem(l);
|
|
@@ -11272,12 +11276,12 @@ function ul(e, t, n = (l) => JSON.stringify(l), o = (l) => JSON.parse(l)) {
|
|
|
11272
11276
|
};
|
|
11273
11277
|
return window.addEventListener("storage", r), a;
|
|
11274
11278
|
}
|
|
11275
|
-
const
|
|
11279
|
+
const ul = (e) => e.join(","), cl = (e) => e ? e.split(",").filter(Boolean) : [];
|
|
11276
11280
|
function Qg(e) {
|
|
11277
|
-
return
|
|
11281
|
+
return sl(e, [], ul, cl);
|
|
11278
11282
|
}
|
|
11279
11283
|
function Ug(e) {
|
|
11280
|
-
return
|
|
11284
|
+
return sl(e, [], ul, cl);
|
|
11281
11285
|
}
|
|
11282
11286
|
const Bg = {
|
|
11283
11287
|
transformTreeUseLabelAndValue: Fn,
|
|
@@ -11298,7 +11302,7 @@ const Bg = {
|
|
|
11298
11302
|
};
|
|
11299
11303
|
export {
|
|
11300
11304
|
Un as DialogProvider,
|
|
11301
|
-
|
|
11305
|
+
Mo as JCCopy,
|
|
11302
11306
|
cg as JCDuoListEditor,
|
|
11303
11307
|
dg as JCEditableProxy,
|
|
11304
11308
|
fg as JCFallback,
|
|
@@ -11308,7 +11312,7 @@ export {
|
|
|
11308
11312
|
yg as JCMoreMenu,
|
|
11309
11313
|
Mg as JCNestedSelect,
|
|
11310
11314
|
Dg as JCOrgSelect,
|
|
11311
|
-
|
|
11315
|
+
Io as JCPermission,
|
|
11312
11316
|
Ag as JCPlatform,
|
|
11313
11317
|
hg as JCTable,
|
|
11314
11318
|
Ig as JCTabs,
|
|
@@ -11321,8 +11325,8 @@ export {
|
|
|
11321
11325
|
Hg as JChBarLine,
|
|
11322
11326
|
Jg as JChBubble,
|
|
11323
11327
|
Gg as JChLine,
|
|
11324
|
-
|
|
11325
|
-
|
|
11328
|
+
_g as JChPieDoughnut,
|
|
11329
|
+
xg as JChRadar,
|
|
11326
11330
|
Cg as JQAutocomplete,
|
|
11327
11331
|
ct as JQButton,
|
|
11328
11332
|
Ng as JQButtonDropdown,
|
|
@@ -11331,12 +11335,13 @@ export {
|
|
|
11331
11335
|
zd as JQConfirmDialog,
|
|
11332
11336
|
Sg as JQDate,
|
|
11333
11337
|
zg as JQDateMonth,
|
|
11338
|
+
Tg as JQDateTime,
|
|
11334
11339
|
kg as JQDateYear,
|
|
11335
11340
|
Tg as JQDatetime,
|
|
11336
11341
|
Lg as JQDetailList,
|
|
11337
11342
|
Di as JQDialog,
|
|
11338
11343
|
$g as JQFile,
|
|
11339
|
-
|
|
11344
|
+
xi as JQFormLabel,
|
|
11340
11345
|
Xt as JQInput,
|
|
11341
11346
|
Og as JQInputRecognize,
|
|
11342
11347
|
Zt as JQMessage,
|
|
@@ -11350,14 +11355,14 @@ export {
|
|
|
11350
11355
|
jr as JQTooltip,
|
|
11351
11356
|
St as PAGE_ACTION_PERMISSION_KEY,
|
|
11352
11357
|
Tt as PAGE_PERMISSION_KEY,
|
|
11353
|
-
|
|
11358
|
+
Uo as composeIconMapFn,
|
|
11354
11359
|
Ud as formUtils,
|
|
11355
11360
|
Tn as getLocale,
|
|
11356
11361
|
Bg as jqTool,
|
|
11357
11362
|
Oi as rtcptIconMapFn,
|
|
11358
11363
|
Rg as rtcptInit,
|
|
11359
11364
|
gn as setLocale,
|
|
11360
|
-
|
|
11365
|
+
ho as t,
|
|
11361
11366
|
Ed as treeUtils,
|
|
11362
11367
|
ae as useI18n,
|
|
11363
11368
|
Ug as usePageActionPermissionSync,
|