rtcpts 0.0.74 → 0.0.76
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 +2 -5
- package/dist/components/j-c-duo-list-editor/types.d.ts +2 -3
- package/dist/components/j-c-editable-proxy/index.d.ts +7 -6
- package/dist/components/j-c-editable-proxy/types.d.ts +2 -3
- package/dist/components/j-c-fallback/types.d.ts +2 -5
- package/dist/components/j-c-foldable-list/types.d.ts +2 -5
- package/dist/components/j-c-format-lookup/types.d.ts +2 -5
- package/dist/components/j-c-list-editor/types.d.ts +2 -3
- package/dist/components/j-c-more-menu/index.d.ts +7 -6
- package/dist/components/j-c-more-menu/types.d.ts +4 -3
- package/dist/components/j-c-nested-select/types.d.ts +21 -1
- package/dist/components/j-c-org-select/types.d.ts +2 -3
- package/dist/components/j-c-permission/index.d.ts +2 -3
- package/dist/components/j-c-permission/types.d.ts +8 -10
- package/dist/components/j-c-platform/types.d.ts +2 -5
- package/dist/components/j-c-table/types.d.ts +2 -5
- package/dist/components/j-c-tabs/types.d.ts +2 -3
- package/dist/components/j-c-title-line/types.d.ts +2 -5
- package/dist/components/j-c-tooltip/types.d.ts +2 -2
- package/dist/components/j-c-tooltip-ellipsis/types.d.ts +2 -2
- package/dist/components/j-c-tree/component.d.ts +277 -0
- package/dist/components/j-c-tree/types.d.ts +3 -3
- package/dist/components/j-c-tree-select/types.d.ts +2 -3
- package/dist/components/j-ch-bar/types.d.ts +2 -5
- package/dist/components/j-ch-bar-line/types.d.ts +2 -2
- package/dist/components/j-ch-bubble/types.d.ts +2 -2
- package/dist/components/j-ch-line/types.d.ts +7 -2
- package/dist/components/j-ch-pie-doughnut/types.d.ts +2 -2
- package/dist/components/j-ch-radar/types.d.ts +2 -2
- package/dist/components/j-q-autocomplete/types.d.ts +2 -3
- package/dist/components/j-q-button/types.d.ts +2 -3
- package/dist/components/j-q-button-dropdown/types.d.ts +2 -3
- package/dist/components/j-q-checkbox/types.d.ts +2 -3
- package/dist/components/j-q-confirm/types.d.ts +2 -3
- 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 +3 -3
- package/dist/components/j-q-date-month/types.d.ts +2 -3
- package/dist/components/j-q-date-year/types.d.ts +2 -3
- package/dist/components/j-q-datetime/types.d.ts +3 -6
- package/dist/components/j-q-detail-list/types.d.ts +2 -2
- package/dist/components/j-q-dialog/component.d.ts +409 -0
- package/dist/components/j-q-dialog/types.d.ts +2 -2
- package/dist/components/j-q-file/types.d.ts +2 -3
- package/dist/components/j-q-form-label/types.d.ts +2 -3
- package/dist/components/j-q-input/types.d.ts +2 -3
- package/dist/components/j-q-input-recognize/types.d.ts +2 -3
- package/dist/components/j-q-new-value/types.d.ts +2 -3
- package/dist/components/j-q-option-group/types.d.ts +2 -3
- package/dist/components/j-q-pagination/component.d.ts +92 -0
- package/dist/components/j-q-pagination/types.d.ts +2 -3
- package/dist/components/j-q-popover/types.d.ts +2 -3
- package/dist/components/j-q-search-form/types.d.ts +2 -3
- package/dist/components/j-q-select/types.d.ts +2 -3
- package/dist/components/j-q-table/index.d.ts +5 -2
- package/dist/components/j-q-table/types.d.ts +2 -3
- package/dist/components/j-q-tooltip/types.d.ts +2 -3
- package/dist/global.d.ts +17 -7
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +357 -332
- package/dist/vue-shim.d.ts +6 -0
- package/package.json +6 -4
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;
|
|
@@ -2497,10 +2497,31 @@ const yi = F({
|
|
|
2497
2497
|
beforeFile: f
|
|
2498
2498
|
}
|
|
2499
2499
|
};
|
|
2500
|
-
}), m = N(() =>
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2500
|
+
}), m = N(() => {
|
|
2501
|
+
let O = {};
|
|
2502
|
+
switch (e.position) {
|
|
2503
|
+
case "right":
|
|
2504
|
+
O.borderRadius = "var(--j-q-dialog-border-radius) 0 0 var(--j-q-dialog-border-radius) !important";
|
|
2505
|
+
break;
|
|
2506
|
+
case "standard":
|
|
2507
|
+
O.borderRadius = "var(--j-q-dialog-border-radius) !important";
|
|
2508
|
+
break;
|
|
2509
|
+
case "top":
|
|
2510
|
+
O.borderRadius = "0 0 var(--j-q-dialog-border-radius) var(--j-q-dialog-border-radius) !important";
|
|
2511
|
+
break;
|
|
2512
|
+
case "bottom":
|
|
2513
|
+
O.borderRadius = "var(--j-q-dialog-border-radius) var(--j-q-dialog-border-radius) 0 0 !important";
|
|
2514
|
+
break;
|
|
2515
|
+
case "left":
|
|
2516
|
+
O.borderRadius = "0 var(--j-q-dialog-border-radius) var(--j-q-dialog-border-radius) 0 !important";
|
|
2517
|
+
break;
|
|
2518
|
+
}
|
|
2519
|
+
return e.maxWidth && e.position === "standard" ? {
|
|
2520
|
+
...O,
|
|
2521
|
+
"max-width": typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`,
|
|
2522
|
+
width: typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`
|
|
2523
|
+
} : O;
|
|
2524
|
+
}), y = N(() => l.value), g = (O) => {
|
|
2504
2525
|
c.value = O;
|
|
2505
2526
|
}, C = (O) => {
|
|
2506
2527
|
u.value = O;
|
|
@@ -2561,7 +2582,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2561
2582
|
default: A(() => [
|
|
2562
2583
|
S(u, {
|
|
2563
2584
|
class: "dialog-main",
|
|
2564
|
-
style: X(
|
|
2585
|
+
style: X(e.computedDialogWidth)
|
|
2565
2586
|
}, {
|
|
2566
2587
|
default: A(() => [
|
|
2567
2588
|
ge(j("div", Mi, [
|
|
@@ -2597,7 +2618,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2597
2618
|
]),
|
|
2598
2619
|
_: 3
|
|
2599
2620
|
})) : q("", !0),
|
|
2600
|
-
(M(), Y(
|
|
2621
|
+
(M(), Y(Ml, null, {
|
|
2601
2622
|
default: A(() => [
|
|
2602
2623
|
j("div", null, [
|
|
2603
2624
|
S(s, {
|
|
@@ -2605,7 +2626,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2605
2626
|
style: X({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
|
|
2606
2627
|
}, {
|
|
2607
2628
|
default: A(() => [
|
|
2608
|
-
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),
|
|
2609
2630
|
R(e.$slots, "default", {}, void 0, !0)
|
|
2610
2631
|
]),
|
|
2611
2632
|
_: 3
|
|
@@ -2658,7 +2679,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2658
2679
|
_: 3
|
|
2659
2680
|
}, 8, ["class", "modelValue", "allow-focus-outside", "no-backdrop-dismiss", "no-esc-dismiss", "position", "onHide", "persistent", "full-height", "transition-show", "transition-hide"]);
|
|
2660
2681
|
}
|
|
2661
|
-
const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-
|
|
2682
|
+
const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-2dacab32"]]), Ai = F({
|
|
2662
2683
|
name: "JQInput",
|
|
2663
2684
|
components: {
|
|
2664
2685
|
QInput: wn
|
|
@@ -2829,7 +2850,7 @@ const Xt = /* @__PURE__ */ W(Ai, [["render", Ci]]), Ni = F({
|
|
|
2829
2850
|
name: "JQSelect",
|
|
2830
2851
|
components: {
|
|
2831
2852
|
QSelect: wt,
|
|
2832
|
-
QSpinner:
|
|
2853
|
+
QSpinner: Cl,
|
|
2833
2854
|
QItem: Nt,
|
|
2834
2855
|
QItemSection: Jt,
|
|
2835
2856
|
QIcon: se
|
|
@@ -3244,7 +3265,7 @@ function Li(e, t, n, o, l, i) {
|
|
|
3244
3265
|
rules: e.rules,
|
|
3245
3266
|
maxlength: e.maxlength
|
|
3246
3267
|
}, e.inputProps, {
|
|
3247
|
-
onKeyup:
|
|
3268
|
+
onKeyup: fo(e.onEnterKey, ["enter"])
|
|
3248
3269
|
}), null, 16, ["modelValue", "placeholder", "type", "rules", "maxlength", "onKeyup"])) : e.type === "select" ? (M(), Y(r, Ae({
|
|
3249
3270
|
key: 1,
|
|
3250
3271
|
ref: "selectRef",
|
|
@@ -3259,7 +3280,7 @@ function Li(e, t, n, o, l, i) {
|
|
|
3259
3280
|
}, e.selectProps), null, 16, ["modelValue", "placeholder", "rules", "options", "option-label", "option-value", "multiple"])) : q("", !0)
|
|
3260
3281
|
]);
|
|
3261
3282
|
}
|
|
3262
|
-
const $i = /* @__PURE__ */ W(zi, [["render", Li]]),
|
|
3283
|
+
const $i = /* @__PURE__ */ W(zi, [["render", Li]]), ao = {
|
|
3263
3284
|
"app:clear": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4K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DItMy4wNC0zLjA0MWEuNzUuNzUgMCAwIDEgMS4wNi0xLjA2TDEyIDEwLjkxbDMuMDQyLTMuMDRaIi8+PC9zdmc+",
|
|
3265
3286
|
"app:dialog-close": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Imljb24vY29tbW9uL2Nsb3NlIj4KPGcgaWQ9Ikdyb3VwIDEwMDAwMDQ3NDgiPgo8cGF0aCBpZD0iVmVjdG9yIChTdHJva2UpIiBkPSJNMTQuMDAwMSAyLjgzNzM1TDguODM3MjIgNy45OTk0N0wxNC4wMDAxIDEzLjE2MjRMMTMuNTgxNiAxMy41ODE3TDEzLjE2MjIgMTQuMDAwMkw3Ljk5OTM1IDguODM3MzVMMi44MzcyMiAxNC4wMDAyTDIuMDAwMTIgMTMuMTYyNEw3LjE2MjI1IDcuOTk5NDdMMi4wMDAxMiAyLjgzNzM1TDIuODM3MjIgMi4wMDAyNEw3Ljk5OTM1IDcuMTYyMzdMMTMuMTYyMiAyLjAwMDI0TDE0LjAwMDEgMi44MzczNVoiIGZpbGw9IiM1QTYwN0YiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",
|
|
@@ -3267,7 +3288,7 @@ const $i = /* @__PURE__ */ W(zi, [["render", Li]]), io = {
|
|
|
3267
3288
|
"app:dropdown-btn-white": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGlkPSJHcm91cCAxMjQ1MDAwIj4KICAgICAgICA8ZyBpZD0iY2hldnJvbi1kb3duIj4KICAgICAgICAgICAgPHBhdGggaWQ9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DYgMTIuMDM1OCA0LjMxOTU4TDEwLjMxNjEgMi42MjEzNEMxMC4xMjkgMi40MzY3OCA5Ljg3Njc1IDIuMzMzMjcgOS42MTM5MiAyLjMzMzI1SDQuNjY2NjZaIgogICAgZmlsbD0iIzMzMzc1MiIgLz4KICA8cGF0aCBkPSJNOCA5LjMzMzI1SDUiIHN0cm9rZT0iIzMzMzc1MiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPgogIDxwYXRoIGQ9Ik05IDExLjMzMzNINSIgc3Ryb2tlPSIjMzMzNzUyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+Cjwvc3ZnPg==",
|
|
3270
|
-
"app:more-horizontal": "data:image/svg+xml;base64,
|
|
3291
|
+
"app:more-horizontal": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPHBhdGggZmlsbD0iIzRENTA1MCIKICAgIGQ9Ik02IDEzLjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaTTEyIDEzLjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaTTE4IDEzLjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaIgogICAgZGF0YS1mb2xsb3ctZmlsbD0iIzRENTA1MCIgLz4KPC9zdmc+Cg==",
|
|
3271
3292
|
"app:navigation-arrow-left": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGlkPSJHcm91cCAxMjQ1MDAyI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G9yXzMiIGQ9Ik0xMi4wMDEzIDE2LjEyQzExLjc3NTkgMTYuMTIgMTEuNTU1NSAxNi4xODY5IDExLjM2OCAxNi4zMTIyQzExLjE4MDUgMTYuNDM3NCAxMS4wMzQ0IDE2LjYxNTUgMTAuOTQ4MSAxNi44MjM4QzEwLjg2MTggMTcuMDMyMSAxMC44MzkyIDE3LjI2MTMgMTAuODgzMiAxNy40ODI0QzEwLjkyNzIgMTcuNzAzNiAxMS4wMzU4IDE3LjkwNjcgMTEuMTk1MiAxOC4wNjYxQzExLjM1NDcgMTguMjI1NiAxMS41NTc4IDE4LjMzNDEgMTEuNzc4OSAxOC4zNzgxQzEyLjAwMDEgMTguNDIyMSAxMi4yMjkzIDE4LjM5OTUgMTIuNDM3NiAxOC4zMTMzQzEyLjY0NTkgMTguMjI3IDEyLjgyMzkgMTguMDgwOSAxMi45NDkyIDE3Ljg5MzRDMTMuMDc0NSAxNy43MDU5IDEzLjE0MTMgMTcuNDg1NSAxMy4xNDEzIDE3LjI2QzEzLjE0MjcgMTcuMTEgMTMuMTE0MSAxNi45NjExIDEzLjA1NzMgMTYuODIyMkMxMy4wMDA1IDE2LjY4MzMgMTIuOTE2NSAxNi41NTcxIDEyLjgxMDQgMTYuNDUxQzEyLjcwNDMgMTYuMzQ0OCAxMi41NzgxIDE2LjI2MDkgMTIuNDM5MiAxNi4yMDQxQzEyLjMwMDIgMTYuMTQ3MyAxMi4xNTE0IDE2LjExODcgMTIuMDAxMyAxNi4xMloiIGZpbGw9IiM3RTg0QTMiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg==",
|
|
@@ -3286,11 +3307,11 @@ const $i = /* @__PURE__ */ W(zi, [["render", Li]]), io = {
|
|
|
3286
3307
|
n.push(l, l.toLowerCase());
|
|
3287
3308
|
} else
|
|
3288
3309
|
n.push(`app:${e}`, `app:${e.toLowerCase()}`);
|
|
3289
|
-
const o = n.find((l) =>
|
|
3310
|
+
const o = n.find((l) => ao[l] !== void 0);
|
|
3290
3311
|
if (o)
|
|
3291
|
-
return { icon: t +
|
|
3312
|
+
return { icon: t + ao[o] };
|
|
3292
3313
|
};
|
|
3293
|
-
function
|
|
3314
|
+
function Uo(...e) {
|
|
3294
3315
|
return (t) => {
|
|
3295
3316
|
for (const n of e) {
|
|
3296
3317
|
if (!n) continue;
|
|
@@ -3304,7 +3325,7 @@ const Ei = {
|
|
|
3304
3325
|
"en-US": () => import("./en-US-Di49EX5C.js")
|
|
3305
3326
|
}, Xe = /* @__PURE__ */ new Map();
|
|
3306
3327
|
function Vi(e) {
|
|
3307
|
-
return Qn(e ||
|
|
3328
|
+
return Qn(e || ho);
|
|
3308
3329
|
}
|
|
3309
3330
|
let Me = {};
|
|
3310
3331
|
const Un = {
|
|
@@ -3362,7 +3383,7 @@ const Un = {
|
|
|
3362
3383
|
},
|
|
3363
3384
|
componentOn: {}
|
|
3364
3385
|
// 提供空对象避免 v-on 警告
|
|
3365
|
-
} : { ...e, dialogId: t }, s =
|
|
3386
|
+
} : { ...e, dialogId: t }, s = Il(Di, r);
|
|
3366
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));
|
|
3367
3388
|
const { Quasar: c, Notify: u, Dialog: d, Loading: f } = await import("quasar");
|
|
3368
3389
|
s.use(c, {
|
|
@@ -3385,7 +3406,7 @@ const Un = {
|
|
|
3385
3406
|
}
|
|
3386
3407
|
if (Me.iconMapFn) {
|
|
3387
3408
|
const k = s.config.globalProperties.$q;
|
|
3388
|
-
k.iconMapFn =
|
|
3409
|
+
k.iconMapFn = Uo(k.iconMapFn, Me.iconMapFn);
|
|
3389
3410
|
}
|
|
3390
3411
|
Me.pagePermissionIds && s.provide(Tt, Me.pagePermissionIds), Me.pageActionPermissionIds && s.provide(St, Me.pageActionPermissionIds);
|
|
3391
3412
|
const g = document.createElement("div");
|
|
@@ -3472,7 +3493,7 @@ const Un = {
|
|
|
3472
3493
|
subtree: !0
|
|
3473
3494
|
}));
|
|
3474
3495
|
});
|
|
3475
|
-
}),
|
|
3496
|
+
}), vl(() => {
|
|
3476
3497
|
i && (i.disconnect(), i = null);
|
|
3477
3498
|
}), {
|
|
3478
3499
|
t: s,
|
|
@@ -3607,7 +3628,7 @@ const mg = /* @__PURE__ */ W(Ui, [["render", Zi]]), Fi = F({
|
|
|
3607
3628
|
};
|
|
3608
3629
|
}
|
|
3609
3630
|
}), Wi = { class: "row items-center" }, Hi = { class: "form-content" }, Ji = { class: "form-value__inner" }, Gi = { class: "form-item-detail-wrapper" };
|
|
3610
|
-
function
|
|
3631
|
+
function _i(e, t, n, o, l, i) {
|
|
3611
3632
|
const a = D("q-icon"), r = D("j-c-tooltip");
|
|
3612
3633
|
return M(), z("div", {
|
|
3613
3634
|
class: U(["j-q-form-label", [e.directionClass, { required: e.required }]])
|
|
@@ -3649,10 +3670,10 @@ function xi(e, t, n, o, l, i) {
|
|
|
3649
3670
|
])
|
|
3650
3671
|
], 2);
|
|
3651
3672
|
}
|
|
3652
|
-
const
|
|
3673
|
+
const xi = /* @__PURE__ */ W(Fi, [["render", _i]]), Ki = F({
|
|
3653
3674
|
name: "jCListEditor",
|
|
3654
3675
|
components: {
|
|
3655
|
-
JQFormLabel:
|
|
3676
|
+
JQFormLabel: xi,
|
|
3656
3677
|
JQInput: Xt,
|
|
3657
3678
|
QBtn: Se
|
|
3658
3679
|
},
|
|
@@ -3762,7 +3783,7 @@ const gg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
|
|
|
3762
3783
|
QItem: Nt,
|
|
3763
3784
|
QItemSection: Jt,
|
|
3764
3785
|
QBtn: Se,
|
|
3765
|
-
JCPermission:
|
|
3786
|
+
JCPermission: Io
|
|
3766
3787
|
},
|
|
3767
3788
|
props: {
|
|
3768
3789
|
item: {
|
|
@@ -4254,7 +4275,7 @@ function fr(e, t, n, o, l, i) {
|
|
|
4254
4275
|
const Mg = /* @__PURE__ */ W(ur, [["render", fr]]), pr = F({
|
|
4255
4276
|
name: "JCTable",
|
|
4256
4277
|
components: {
|
|
4257
|
-
JCCopy:
|
|
4278
|
+
JCCopy: Mo,
|
|
4258
4279
|
JCTooltip: Oe
|
|
4259
4280
|
},
|
|
4260
4281
|
props: {
|
|
@@ -4541,7 +4562,7 @@ function Cr(e, t) {
|
|
|
4541
4562
|
const Nr = F({
|
|
4542
4563
|
name: "jQTooltip",
|
|
4543
4564
|
components: {
|
|
4544
|
-
QTooltip:
|
|
4565
|
+
QTooltip: Nl
|
|
4545
4566
|
},
|
|
4546
4567
|
props: {
|
|
4547
4568
|
content: {
|
|
@@ -4832,7 +4853,7 @@ const en = /* @__PURE__ */ W(Er, [["render", Vr], ["__scopeId", "data-v-a12d0eef
|
|
|
4832
4853
|
name: "JCTree",
|
|
4833
4854
|
components: {
|
|
4834
4855
|
JCTooltipEllipsis: en,
|
|
4835
|
-
QTree:
|
|
4856
|
+
QTree: mo
|
|
4836
4857
|
},
|
|
4837
4858
|
props: {
|
|
4838
4859
|
modelValue: { type: Array },
|
|
@@ -5116,7 +5137,7 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5116
5137
|
QField: Le,
|
|
5117
5138
|
QIcon: se,
|
|
5118
5139
|
QPopupProxy: ke,
|
|
5119
|
-
QTree:
|
|
5140
|
+
QTree: mo
|
|
5120
5141
|
},
|
|
5121
5142
|
props: {
|
|
5122
5143
|
modelValue: { type: Array },
|
|
@@ -5239,8 +5260,8 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5239
5260
|
}), Hr = ["placeholder"], Jr = {
|
|
5240
5261
|
key: 1,
|
|
5241
5262
|
class: "j-c-org-select-value-display"
|
|
5242
|
-
}, Gr = { class: "j-c-org-select-popup" },
|
|
5243
|
-
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) {
|
|
5244
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");
|
|
5245
5266
|
return M(), Y(u, {
|
|
5246
5267
|
class: U(["j-c-org-select", {
|
|
@@ -5270,7 +5291,7 @@ function _r(e, t, n, o, l, i) {
|
|
|
5270
5291
|
onMousedown: t[2] || (t[2] = re(() => {
|
|
5271
5292
|
}, ["stop"]))
|
|
5272
5293
|
}, null, 40, Hr)), [
|
|
5273
|
-
[
|
|
5294
|
+
[bl, e.inputValue]
|
|
5274
5295
|
]) : (M(), z("div", Jr, [
|
|
5275
5296
|
R(e.$slots, "value-display", {}, () => [
|
|
5276
5297
|
ee(V(e.computedValueDisplay), 1)
|
|
@@ -5308,7 +5329,7 @@ function _r(e, t, n, o, l, i) {
|
|
|
5308
5329
|
}, {
|
|
5309
5330
|
default: A(() => [
|
|
5310
5331
|
j("div", Gr, [
|
|
5311
|
-
j("div",
|
|
5332
|
+
j("div", _r, [
|
|
5312
5333
|
S(s, {
|
|
5313
5334
|
ref: "treeRef",
|
|
5314
5335
|
selected: e.treeSelected,
|
|
@@ -5336,7 +5357,7 @@ function _r(e, t, n, o, l, i) {
|
|
|
5336
5357
|
_: 3
|
|
5337
5358
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
5338
5359
|
}
|
|
5339
|
-
const Dg = /* @__PURE__ */ W(Wr, [["render",
|
|
5360
|
+
const Dg = /* @__PURE__ */ W(Wr, [["render", xr]]), At = [
|
|
5340
5361
|
{
|
|
5341
5362
|
platform: "EIM",
|
|
5342
5363
|
path: "/orchestration/",
|
|
@@ -5558,7 +5579,7 @@ function cs(e, t, n, o, l, i) {
|
|
|
5558
5579
|
}, 1024)
|
|
5559
5580
|
]))), 128);
|
|
5560
5581
|
}
|
|
5561
|
-
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) => {
|
|
5562
5583
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
5563
5584
|
}, ds = F({
|
|
5564
5585
|
name: "JQAutocomplete",
|
|
@@ -5617,7 +5638,7 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5617
5638
|
} catch {
|
|
5618
5639
|
T = {};
|
|
5619
5640
|
}
|
|
5620
|
-
T[a.value] = l.list,
|
|
5641
|
+
T[a.value] = l.list, io(JSON.stringify(T));
|
|
5621
5642
|
}, f = (y) => {
|
|
5622
5643
|
const g = String(y ?? "").trim();
|
|
5623
5644
|
t("update:model-value", g), l.filterList = l.list.filter((C) => C.value.includes(g));
|
|
@@ -5633,7 +5654,7 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5633
5654
|
} catch {
|
|
5634
5655
|
C = {};
|
|
5635
5656
|
}
|
|
5636
|
-
C[a.value] = l.list,
|
|
5657
|
+
C[a.value] = l.list, io(JSON.stringify(C));
|
|
5637
5658
|
};
|
|
5638
5659
|
return n({ saveHistory: m }), {
|
|
5639
5660
|
historyParams: l,
|
|
@@ -5720,11 +5741,11 @@ const Cg = /* @__PURE__ */ W(ds, [["render", ys], ["__scopeId", "data-v-e75e4468
|
|
|
5720
5741
|
}, Ms = F({
|
|
5721
5742
|
name: "JQButtonDropdown",
|
|
5722
5743
|
components: {
|
|
5723
|
-
QBtnDropdown:
|
|
5744
|
+
QBtnDropdown: jl,
|
|
5724
5745
|
QList: jt,
|
|
5725
5746
|
QItem: Nt,
|
|
5726
5747
|
QItemSection: Jt,
|
|
5727
|
-
QItemLabel:
|
|
5748
|
+
QItemLabel: wl,
|
|
5728
5749
|
QIcon: se
|
|
5729
5750
|
},
|
|
5730
5751
|
inheritAttrs: !1,
|
|
@@ -5961,7 +5982,7 @@ const Ng = /* @__PURE__ */ W(Ms, [["render", hs], ["__scopeId", "data-v-1feac3fa
|
|
|
5961
5982
|
name: "JQCheckbox",
|
|
5962
5983
|
components: {
|
|
5963
5984
|
QField: Le,
|
|
5964
|
-
QCheckbox:
|
|
5985
|
+
QCheckbox: go,
|
|
5965
5986
|
QIcon: se,
|
|
5966
5987
|
JCTooltip: Oe
|
|
5967
5988
|
},
|
|
@@ -6085,8 +6106,8 @@ const wg = /* @__PURE__ */ W(Is, [["render", bs], ["__scopeId", "data-v-54d7a8fb
|
|
|
6085
6106
|
name: "JQConfirm",
|
|
6086
6107
|
components: {
|
|
6087
6108
|
QPopupProxy: ke,
|
|
6088
|
-
QCard:
|
|
6089
|
-
QCardSection:
|
|
6109
|
+
QCard: xe,
|
|
6110
|
+
QCardSection: _e,
|
|
6090
6111
|
JQButton: ct
|
|
6091
6112
|
},
|
|
6092
6113
|
props: {
|
|
@@ -6173,7 +6194,7 @@ const jg = /* @__PURE__ */ W(Ds, [["render", ws], ["__scopeId", "data-v-32169bee
|
|
|
6173
6194
|
components: {
|
|
6174
6195
|
QField: Le,
|
|
6175
6196
|
QPopupProxy: ke,
|
|
6176
|
-
QDate:
|
|
6197
|
+
QDate: yo,
|
|
6177
6198
|
QIcon: se
|
|
6178
6199
|
},
|
|
6179
6200
|
props: {
|
|
@@ -6358,8 +6379,8 @@ function zs(e, t, n, o, l, i) {
|
|
|
6358
6379
|
_: 3
|
|
6359
6380
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
|
|
6360
6381
|
}
|
|
6361
|
-
const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt",
|
|
6362
|
-
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);
|
|
6363
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) => {
|
|
6364
6385
|
const n = t + 1;
|
|
6365
6386
|
let o = e % n;
|
|
@@ -6383,7 +6404,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6383
6404
|
components: {
|
|
6384
6405
|
QField: Le,
|
|
6385
6406
|
QPopupProxy: ke,
|
|
6386
|
-
QDate:
|
|
6407
|
+
QDate: yo,
|
|
6387
6408
|
QSelect: wt,
|
|
6388
6409
|
QIcon: se,
|
|
6389
6410
|
QBtn: Se
|
|
@@ -6415,7 +6436,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6415
6436
|
st(() => {
|
|
6416
6437
|
if (e.showTooltip)
|
|
6417
6438
|
try {
|
|
6418
|
-
const Q =
|
|
6439
|
+
const Q = ro();
|
|
6419
6440
|
if (Q) {
|
|
6420
6441
|
const G = JSON.parse(Q);
|
|
6421
6442
|
m.value = G.datetimeTooltipVisible !== !1;
|
|
@@ -6430,11 +6451,11 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6430
6451
|
const g = () => {
|
|
6431
6452
|
m.value = !1, y && (clearTimeout(y), y = null);
|
|
6432
6453
|
try {
|
|
6433
|
-
const Q =
|
|
6454
|
+
const Q = ro();
|
|
6434
6455
|
let G = Q ? JSON.parse(Q) : {};
|
|
6435
|
-
G.datetimeTooltipVisible = !1,
|
|
6456
|
+
G.datetimeTooltipVisible = !1, so(JSON.stringify(G));
|
|
6436
6457
|
} catch {
|
|
6437
|
-
|
|
6458
|
+
so(JSON.stringify({ datetimeTooltipVisible: !1 }));
|
|
6438
6459
|
}
|
|
6439
6460
|
}, C = $({ from: null, to: null }), T = $(""), k = ot(et(null)), w = ot(et(null)), v = $(null), h = $(""), I = ot(et(null)), b = N({
|
|
6440
6461
|
get: () => typeof e.modelValue == "string" && e.modelValue === "" ? null : e.modelValue,
|
|
@@ -6446,12 +6467,12 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6446
6467
|
if (e.range) {
|
|
6447
6468
|
const G = Q || { from: null, to: null }, P = De(G.from);
|
|
6448
6469
|
Object.assign(k, et(G.from));
|
|
6449
|
-
const Z = P ? te.formatDate(P, cn) : "",
|
|
6450
|
-
L.h === 0 && L.m === 0 && L.s === 0 &&
|
|
6451
|
-
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) : "";
|
|
6452
6473
|
C.value = {
|
|
6453
6474
|
from: P ? te.formatDate(P, nt) : null,
|
|
6454
|
-
to:
|
|
6475
|
+
to: _ ? Pe(E, w) : null
|
|
6455
6476
|
}, Z && E && Z === E ? T.value = Z : T.value = Z && E ? { from: Z, to: E } : "";
|
|
6456
6477
|
} else {
|
|
6457
6478
|
const G = De(Q);
|
|
@@ -6468,10 +6489,10 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6468
6489
|
if (typeof Q == "object" && Q !== null) {
|
|
6469
6490
|
const P = Q.from, Z = Q.to;
|
|
6470
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) {
|
|
6471
|
-
const
|
|
6472
|
-
if (C.value.from =
|
|
6473
|
-
const E = De(
|
|
6474
|
-
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 };
|
|
6475
6496
|
}
|
|
6476
6497
|
}
|
|
6477
6498
|
} else if (typeof Q == "string" && Q) {
|
|
@@ -6508,8 +6529,8 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6508
6529
|
});
|
|
6509
6530
|
const J = (Q, G, P, Z) => N({
|
|
6510
6531
|
get: () => String(Q[G]).padStart(2, "0"),
|
|
6511
|
-
set: (
|
|
6512
|
-
let L = parseInt(
|
|
6532
|
+
set: (_) => {
|
|
6533
|
+
let L = parseInt(_, 10);
|
|
6513
6534
|
isNaN(L) && (L = 0), Q[G] = Ls(L, P), B(Z);
|
|
6514
6535
|
}
|
|
6515
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 = () => {
|
|
@@ -6517,10 +6538,10 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6517
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);
|
|
6518
6539
|
}, pt = () => {
|
|
6519
6540
|
ze();
|
|
6520
|
-
}, mt = (Q, G, P, Z,
|
|
6541
|
+
}, mt = (Q, G, P, Z, _) => {
|
|
6521
6542
|
Q.preventDefault();
|
|
6522
6543
|
const L = Q.deltaY > 0 ? -1 : 1;
|
|
6523
|
-
G[P] = $s(G[P] + L, Z), B(
|
|
6544
|
+
G[P] = $s(G[P] + L, Z), B(_);
|
|
6524
6545
|
}, gt = N(() => {
|
|
6525
6546
|
if (e.valueDisplayFn) return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
6526
6547
|
if (e.range) {
|
|
@@ -6528,8 +6549,8 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6528
6549
|
if (!Q) return "";
|
|
6529
6550
|
const { from: G, to: P } = Q;
|
|
6530
6551
|
if (!G || !P) return "";
|
|
6531
|
-
const Z = De(G),
|
|
6532
|
-
if (Z &&
|
|
6552
|
+
const Z = De(G), _ = De(P);
|
|
6553
|
+
if (Z && _) return `${te.formatDate(Z, nt)} - ${te.formatDate(_, nt)}`;
|
|
6533
6554
|
} else {
|
|
6534
6555
|
const Q = De(e.modelValue);
|
|
6535
6556
|
if (Q) return te.formatDate(Q, nt);
|
|
@@ -6584,8 +6605,8 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Zo = `${ks}_th
|
|
|
6584
6605
|
}, qs = { class: "row no-wrap items-stretch" }, Ys = { class: "column items-stretch justify-center date-time-control" }, Rs = {
|
|
6585
6606
|
key: 0,
|
|
6586
6607
|
class: "datetime-scroll-tooltip"
|
|
6587
|
-
}, 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" },
|
|
6588
|
-
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) {
|
|
6589
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");
|
|
6590
6611
|
return M(), Y(d, {
|
|
6591
6612
|
ref: "fieldRef",
|
|
@@ -6607,9 +6628,12 @@ function _s(e, t, n, o, l, i) {
|
|
|
6607
6628
|
onClick: e.handleFieldClick
|
|
6608
6629
|
}, {
|
|
6609
6630
|
control: A(() => [
|
|
6610
|
-
|
|
6631
|
+
R(e.$slots, "control", {}, () => [
|
|
6632
|
+
j("div", Es, V(e.computedValueDisplay), 1)
|
|
6633
|
+
])
|
|
6611
6634
|
]),
|
|
6612
6635
|
append: A(() => [
|
|
6636
|
+
R(e.$slots, "append"),
|
|
6613
6637
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (M(), Y(r, {
|
|
6614
6638
|
key: 0,
|
|
6615
6639
|
name: "app:clear",
|
|
@@ -6751,7 +6775,7 @@ function _s(e, t, n, o, l, i) {
|
|
|
6751
6775
|
], 64)) : (M(), z(K, { key: 1 }, [
|
|
6752
6776
|
j("div", Js, [
|
|
6753
6777
|
j("div", Gs, V(e.t("messages.date.hour")) + "/" + V(e.t("messages.date.minute")) + "/" + V(e.t("messages.date.second")), 1),
|
|
6754
|
-
j("div",
|
|
6778
|
+
j("div", _s, [
|
|
6755
6779
|
S(s, {
|
|
6756
6780
|
key: "singleH",
|
|
6757
6781
|
modelValue: e.singleH,
|
|
@@ -6815,7 +6839,7 @@ function _s(e, t, n, o, l, i) {
|
|
|
6815
6839
|
_: 3
|
|
6816
6840
|
}, 8, ["class", "model-value", "dense", "disable", "readonly", "label", "outlined", "rules", "title", "onClick"]);
|
|
6817
6841
|
}
|
|
6818
|
-
const Tg = /* @__PURE__ */ W(Os, [["render",
|
|
6842
|
+
const Tg = /* @__PURE__ */ W(Os, [["render", xs]]), Ks = F({
|
|
6819
6843
|
name: "JQMonthList",
|
|
6820
6844
|
components: { QBtn: Se },
|
|
6821
6845
|
props: {
|
|
@@ -6987,7 +7011,7 @@ function iu(e, t, n, o, l, i) {
|
|
|
6987
7011
|
], 2))), 128))
|
|
6988
7012
|
]);
|
|
6989
7013
|
}
|
|
6990
|
-
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) => {
|
|
6991
7015
|
if (e === null || typeof e > "u") return null;
|
|
6992
7016
|
if (e instanceof Date) return e;
|
|
6993
7017
|
if (typeof e == "number") return new Date(e);
|
|
@@ -6998,7 +7022,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, co = 275740, dn =
|
|
|
6998
7022
|
return null;
|
|
6999
7023
|
}, uu = F({
|
|
7000
7024
|
name: "JQYearSelector",
|
|
7001
|
-
components: { QBtn: Se, QCard:
|
|
7025
|
+
components: { QBtn: Se, QCard: xe, QCardSection: _e, JQYearList: ru },
|
|
7002
7026
|
props: {
|
|
7003
7027
|
modelValue: { type: [String, Number, Object, Array, Date] }
|
|
7004
7028
|
},
|
|
@@ -7025,7 +7049,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, co = 275740, dn =
|
|
|
7025
7049
|
return d == null ? void 0 : d.getFullYear();
|
|
7026
7050
|
}), a = $(qt + dn * (((i.value ?? n.getFullYear()) - qt) / dn | 0)), r = N({
|
|
7027
7051
|
get() {
|
|
7028
|
-
return Math.min(Math.max(qt, a.value),
|
|
7052
|
+
return Math.min(Math.max(qt, a.value), uo);
|
|
7029
7053
|
},
|
|
7030
7054
|
set(d) {
|
|
7031
7055
|
a.value = d;
|
|
@@ -7035,7 +7059,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, co = 275740, dn =
|
|
|
7035
7059
|
}, u = N(() => s.value ? `year-container-${s.value}` : "year-container");
|
|
7036
7060
|
return {
|
|
7037
7061
|
MIN_INTERVAL_START: qt,
|
|
7038
|
-
MAX_INTERVAL_START:
|
|
7062
|
+
MAX_INTERVAL_START: uo,
|
|
7039
7063
|
INTERVAL_DELTA: dn,
|
|
7040
7064
|
computedValue: l,
|
|
7041
7065
|
intervalStart: a,
|
|
@@ -7092,9 +7116,9 @@ function fu(e, t, n, o, l, i) {
|
|
|
7092
7116
|
_: 1
|
|
7093
7117
|
});
|
|
7094
7118
|
}
|
|
7095
|
-
const
|
|
7119
|
+
const Zo = /* @__PURE__ */ W(uu, [["render", fu]]), pu = F({
|
|
7096
7120
|
name: "JQMonthSelector",
|
|
7097
|
-
components: { QBtn: Se, QCard:
|
|
7121
|
+
components: { QBtn: Se, QCard: xe, QCardSection: _e, JQMonthList: nu, JQYearSelector: Zo },
|
|
7098
7122
|
props: {
|
|
7099
7123
|
modelValue: { type: [String, Number, Object] },
|
|
7100
7124
|
locale: { type: [String, Array] },
|
|
@@ -7360,7 +7384,7 @@ const zg = /* @__PURE__ */ W(Iu, [["render", bu]]), Du = (e) => {
|
|
|
7360
7384
|
return null;
|
|
7361
7385
|
}, Au = F({
|
|
7362
7386
|
name: "JQDateYear",
|
|
7363
|
-
components: { QField: Le, QIcon: se, QPopupProxy: ke, JQYearSelector:
|
|
7387
|
+
components: { QField: Le, QIcon: se, QPopupProxy: ke, JQYearSelector: Zo },
|
|
7364
7388
|
props: {
|
|
7365
7389
|
modelValue: { type: [String, Number, Object, Date] },
|
|
7366
7390
|
clearable: { type: Boolean, default: !0 },
|
|
@@ -7475,7 +7499,7 @@ const kg = /* @__PURE__ */ W(Au, [["render", Nu]]), Ee = "ngiot__management__fro
|
|
|
7475
7499
|
function vn(e) {
|
|
7476
7500
|
return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "-";
|
|
7477
7501
|
}
|
|
7478
|
-
function
|
|
7502
|
+
function Fo(e) {
|
|
7479
7503
|
const { size: t, unit: n = "B", maxUnit: o, numberFormatOptions: l } = e, { size: i, unit: a } = $t({ size: t, unit: n }, { maxUnit: o });
|
|
7480
7504
|
return `${i.toLocaleString(void 0, l)} ${a}`;
|
|
7481
7505
|
}
|
|
@@ -7488,7 +7512,7 @@ function $t(e, t) {
|
|
|
7488
7512
|
function Zn(e, t = "-") {
|
|
7489
7513
|
return (n, o) => n === 0 || n === "0" ? e ? e(n, o) : n : n ? e ? e(n, o) : n.toString() : t;
|
|
7490
7514
|
}
|
|
7491
|
-
function
|
|
7515
|
+
function Wo(e) {
|
|
7492
7516
|
if (e == null)
|
|
7493
7517
|
return null;
|
|
7494
7518
|
if (e instanceof Date)
|
|
@@ -7506,14 +7530,14 @@ function Ho(e) {
|
|
|
7506
7530
|
return e;
|
|
7507
7531
|
}
|
|
7508
7532
|
function bt(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
7509
|
-
const n =
|
|
7533
|
+
const n = Wo(e);
|
|
7510
7534
|
return vn(n ? te.formatDate(n, t) : e);
|
|
7511
7535
|
}
|
|
7512
7536
|
function Bu(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
7513
7537
|
return (n, o) => {
|
|
7514
7538
|
if (n === 0 || n === "0")
|
|
7515
7539
|
return String(n);
|
|
7516
|
-
const l =
|
|
7540
|
+
const l = Wo(n);
|
|
7517
7541
|
if (!n || n === "Invalid Date")
|
|
7518
7542
|
return t;
|
|
7519
7543
|
try {
|
|
@@ -7527,7 +7551,7 @@ function Bu(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
|
7527
7551
|
function Zu(e = "-", t) {
|
|
7528
7552
|
return Zn((o) => {
|
|
7529
7553
|
const l = typeof o == "string" ? Number(o) : o;
|
|
7530
|
-
return Number.isFinite(l) ?
|
|
7554
|
+
return Number.isFinite(l) ? Fo({
|
|
7531
7555
|
size: l,
|
|
7532
7556
|
unit: (t == null ? void 0 : t.unit) || "B",
|
|
7533
7557
|
numberFormatOptions: {
|
|
@@ -7569,7 +7593,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7569
7593
|
defaultFill: vn,
|
|
7570
7594
|
defaultFormat: Zn,
|
|
7571
7595
|
formatDate: bt,
|
|
7572
|
-
formatSize:
|
|
7596
|
+
formatSize: Fo,
|
|
7573
7597
|
getNavLogo: es,
|
|
7574
7598
|
getTitle: Xr,
|
|
7575
7599
|
getUpperSize: $t,
|
|
@@ -7580,7 +7604,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7580
7604
|
name: "JQDetailList",
|
|
7581
7605
|
components: {
|
|
7582
7606
|
JCTooltipEllipsis: en,
|
|
7583
|
-
JCCopy:
|
|
7607
|
+
JCCopy: Mo,
|
|
7584
7608
|
QIcon: se,
|
|
7585
7609
|
JCTooltip: Oe
|
|
7586
7610
|
},
|
|
@@ -7675,7 +7699,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7675
7699
|
}
|
|
7676
7700
|
};
|
|
7677
7701
|
}
|
|
7678
|
-
}), 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 = {
|
|
7679
7703
|
key: 0,
|
|
7680
7704
|
class: "detail-value-suffix q-ml-xs"
|
|
7681
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 = {
|
|
@@ -7730,7 +7754,7 @@ function mc(e, t, n, o, l, i) {
|
|
|
7730
7754
|
innerHTML: e.getDefaultValue(u),
|
|
7731
7755
|
class: U([e.getOptionClass(u), "html-content"]),
|
|
7732
7756
|
style: X(e.getHtmlStyle(u))
|
|
7733
|
-
}, null, 14,
|
|
7757
|
+
}, null, 14, xu)) : u.detail ? (M(), z("span", {
|
|
7734
7758
|
key: 2,
|
|
7735
7759
|
class: U(e.getOptionClass(u))
|
|
7736
7760
|
}, V(e.getDefaultValue(u)), 3)) : (M(), Y(s, {
|
|
@@ -7739,7 +7763,7 @@ function mc(e, t, n, o, l, i) {
|
|
|
7739
7763
|
lines: u.whiteSpace || 1,
|
|
7740
7764
|
class: U(e.getOptionClass(u))
|
|
7741
7765
|
}, null, 8, ["content", "lines", "class"]))
|
|
7742
|
-
], 10,
|
|
7766
|
+
], 10, _u),
|
|
7743
7767
|
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (M(), z("div", Ku, [
|
|
7744
7768
|
e.slots[`item-suffix-${u.name}`] ? R(e.$slots, `item-suffix-${u.name}`, {
|
|
7745
7769
|
key: 0,
|
|
@@ -8508,7 +8532,7 @@ const Eg = /* @__PURE__ */ W(Uc, [["render", Zc]]), Fc = F({
|
|
|
8508
8532
|
name: "JQOptionGroup",
|
|
8509
8533
|
components: {
|
|
8510
8534
|
QField: Le,
|
|
8511
|
-
QOptionGroup:
|
|
8535
|
+
QOptionGroup: Sl,
|
|
8512
8536
|
QIcon: se,
|
|
8513
8537
|
JCTooltip: Oe
|
|
8514
8538
|
},
|
|
@@ -8633,8 +8657,8 @@ const Vg = /* @__PURE__ */ W(Fc, [["render", Wc], ["__scopeId", "data-v-ba71bb49
|
|
|
8633
8657
|
name: "JQPopover",
|
|
8634
8658
|
components: {
|
|
8635
8659
|
QPopupProxy: ke,
|
|
8636
|
-
QCard:
|
|
8637
|
-
QCardSection:
|
|
8660
|
+
QCard: xe,
|
|
8661
|
+
QCardSection: _e
|
|
8638
8662
|
},
|
|
8639
8663
|
props: {
|
|
8640
8664
|
title: {
|
|
@@ -8749,7 +8773,7 @@ function Gc(e, t, n, o, l, i) {
|
|
|
8749
8773
|
}, 8, ["offset"])
|
|
8750
8774
|
], 544);
|
|
8751
8775
|
}
|
|
8752
|
-
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({
|
|
8753
8777
|
name: "jQSearchForm",
|
|
8754
8778
|
components: {
|
|
8755
8779
|
JQButton: ct
|
|
@@ -8789,7 +8813,7 @@ const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3
|
|
|
8789
8813
|
handleClickReset: r
|
|
8790
8814
|
};
|
|
8791
8815
|
}
|
|
8792
|
-
}),
|
|
8816
|
+
}), xc = {
|
|
8793
8817
|
ref: "searchFormRef",
|
|
8794
8818
|
class: "j-q-search-bar"
|
|
8795
8819
|
}, Kc = { class: "search-bar-container" }, Xc = { class: "search--bar-items-wrapper" }, ed = { class: "search--bar-items" }, td = {
|
|
@@ -8799,7 +8823,7 @@ const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3
|
|
|
8799
8823
|
function od(e, t, n, o, l, i) {
|
|
8800
8824
|
const a = D("j-q-button");
|
|
8801
8825
|
return M(), z("div", null, [
|
|
8802
|
-
j("div",
|
|
8826
|
+
j("div", xc, [
|
|
8803
8827
|
j("div", Kc, [
|
|
8804
8828
|
j("div", Xc, [
|
|
8805
8829
|
j("div", ed, [
|
|
@@ -8836,9 +8860,9 @@ function od(e, t, n, o, l, i) {
|
|
|
8836
8860
|
], 512)
|
|
8837
8861
|
]);
|
|
8838
8862
|
}
|
|
8839
|
-
const qg = /* @__PURE__ */ W(
|
|
8863
|
+
const qg = /* @__PURE__ */ W(_c, [["render", od]]), Ho = 15, ld = [10, 15, 20, 30, 50];
|
|
8840
8864
|
function ad(e) {
|
|
8841
|
-
const t =
|
|
8865
|
+
const t = Ho, n = ot({
|
|
8842
8866
|
page: 1,
|
|
8843
8867
|
rowsPerPage: t,
|
|
8844
8868
|
rowsNumber: 0
|
|
@@ -8856,7 +8880,7 @@ const id = 15, rd = [10, 15, 20, 30, 50], sd = F({
|
|
|
8856
8880
|
components: {
|
|
8857
8881
|
QInnerLoading: Nn,
|
|
8858
8882
|
QSelect: wt,
|
|
8859
|
-
QPagination:
|
|
8883
|
+
QPagination: Tl,
|
|
8860
8884
|
QInput: wn
|
|
8861
8885
|
},
|
|
8862
8886
|
props: {
|
|
@@ -8944,8 +8968,8 @@ const id = 15, rd = [10, 15, 20, 30, 50], sd = F({
|
|
|
8944
8968
|
return {
|
|
8945
8969
|
t: n,
|
|
8946
8970
|
internalInfo: o,
|
|
8947
|
-
loading:
|
|
8948
|
-
mini:
|
|
8971
|
+
loading: _n(e, "loading"),
|
|
8972
|
+
mini: _n(e, "mini"),
|
|
8949
8973
|
maxPages: r,
|
|
8950
8974
|
totalPages: i,
|
|
8951
8975
|
pagePlaceholder: a,
|
|
@@ -9015,7 +9039,7 @@ function gd(e, t, n, o, l, i) {
|
|
|
9015
9039
|
modelValue: e.internalInfo.inputPage,
|
|
9016
9040
|
"onUpdate:modelValue": t[2] || (t[2] = (u) => e.internalInfo.inputPage = u),
|
|
9017
9041
|
modelModifiers: { trim: !0 },
|
|
9018
|
-
onKeyup:
|
|
9042
|
+
onKeyup: fo(e.handleJumpToPage, ["enter"]),
|
|
9019
9043
|
autocapitalize: "off",
|
|
9020
9044
|
autocomplete: "off",
|
|
9021
9045
|
autocorrect: "off",
|
|
@@ -9037,11 +9061,11 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9037
9061
|
inheritAttrs: !1,
|
|
9038
9062
|
components: {
|
|
9039
9063
|
JQPagination: yd,
|
|
9040
|
-
QTable:
|
|
9041
|
-
QTh:
|
|
9042
|
-
QTd:
|
|
9064
|
+
QTable: Ll,
|
|
9065
|
+
QTh: kl,
|
|
9066
|
+
QTd: zl,
|
|
9043
9067
|
QInnerLoading: Nn,
|
|
9044
|
-
QCheckbox:
|
|
9068
|
+
QCheckbox: go,
|
|
9045
9069
|
JCTooltip: Oe
|
|
9046
9070
|
},
|
|
9047
9071
|
props: {
|
|
@@ -9067,6 +9091,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9067
9091
|
default: null
|
|
9068
9092
|
}
|
|
9069
9093
|
},
|
|
9094
|
+
emits: ["update:selected", "paginationChange"],
|
|
9070
9095
|
slots: Object,
|
|
9071
9096
|
setup(e, { emit: t, expose: n, slots: o }) {
|
|
9072
9097
|
const { t: l } = ae(), i = $(null), a = $([]), r = $(/* @__PURE__ */ new Map()), s = $(/* @__PURE__ */ new Map()), c = $(/* @__PURE__ */ new Map());
|
|
@@ -9076,9 +9101,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9076
9101
|
return e.selected ?? a.value;
|
|
9077
9102
|
},
|
|
9078
9103
|
set(L) {
|
|
9079
|
-
var
|
|
9104
|
+
var x;
|
|
9080
9105
|
let E = L;
|
|
9081
|
-
if (e.selection && ((
|
|
9106
|
+
if (e.selection && ((x = e.selectionConditions) != null && x.itemSelectDisable)) {
|
|
9082
9107
|
const le = e.rows, ve = new Set(
|
|
9083
9108
|
le.filter((be) => e.selectionConditions.itemSelectDisable(be)).map((be) => be[e.rowKey])
|
|
9084
9109
|
);
|
|
@@ -9091,16 +9116,16 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9091
9116
|
return ((L = e.columns) == null ? void 0 : L.filter((E) => Reflect.has(o, `header-cell-${E.name}`))) || [];
|
|
9092
9117
|
}), C = N(() => {
|
|
9093
9118
|
var L;
|
|
9094
|
-
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)) || [];
|
|
9095
9120
|
}), T = N(() => {
|
|
9096
9121
|
var L;
|
|
9097
9122
|
return ((L = e.columns) == null ? void 0 : L.filter(({ onClick: E }) => E)) || [];
|
|
9098
9123
|
}), k = N(() => {
|
|
9099
9124
|
var L;
|
|
9100
|
-
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}`))) || [];
|
|
9101
9126
|
}), w = N(() => {
|
|
9102
9127
|
var L;
|
|
9103
|
-
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}`))) || [];
|
|
9104
9129
|
}), v = (L) => {
|
|
9105
9130
|
var E;
|
|
9106
9131
|
return !e.selection || !((E = e.selectionConditions) != null && E.itemSelectDisable) ? "" : e.selectionConditions.itemSelectDisable(L) ? "j-q-table--selection-disabled" : "";
|
|
@@ -9113,10 +9138,10 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9113
9138
|
if (!L.length) return !1;
|
|
9114
9139
|
const E = e.rows;
|
|
9115
9140
|
if (!E.length) return !1;
|
|
9116
|
-
let
|
|
9117
|
-
return (le = e.selectionConditions) != null && le.itemSelectDisable && (
|
|
9141
|
+
let x = E.length;
|
|
9142
|
+
return (le = e.selectionConditions) != null && le.itemSelectDisable && (x = E.filter(
|
|
9118
9143
|
(ve) => !e.selectionConditions.itemSelectDisable(ve)
|
|
9119
|
-
).length),
|
|
9144
|
+
).length), x > 0 && L.length < x;
|
|
9120
9145
|
}), { paginationInfo: b, getPaginationParam: O, getNum: B, setNum: J, setTotal: oe, setSize: de } = ad(), ne = N(() => ({
|
|
9121
9146
|
rowsPerPage: 0
|
|
9122
9147
|
})), ue = (L) => {
|
|
@@ -9131,13 +9156,13 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9131
9156
|
L == null || L.scrollIntoView({ behavior: "smooth" });
|
|
9132
9157
|
}, pe = (L, E) => {
|
|
9133
9158
|
if (L.format && typeof L.format == "function") {
|
|
9134
|
-
const
|
|
9135
|
-
return
|
|
9159
|
+
const x = L.format(E);
|
|
9160
|
+
return x == null ? "" : String(x);
|
|
9136
9161
|
}
|
|
9137
9162
|
return E == null ? "" : String(E);
|
|
9138
9163
|
}, ce = (L, E) => {
|
|
9139
9164
|
L.onClick && typeof L.onClick == "function" && L.onClick(E);
|
|
9140
|
-
}, me = (L, E,
|
|
9165
|
+
}, me = (L, E, x) => L.clickable && typeof L.clickable == "function" ? L.clickable(E, x) : E != null, Ve = (L) => {
|
|
9141
9166
|
const E = window.innerWidth <= 1440;
|
|
9142
9167
|
if (L) {
|
|
9143
9168
|
if (E && L.cellMaxWidthSmall !== void 0)
|
|
@@ -9167,9 +9192,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9167
9192
|
var L, E;
|
|
9168
9193
|
if (typeof document > "u") return null;
|
|
9169
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) {
|
|
9170
|
-
const
|
|
9171
|
-
if (
|
|
9172
|
-
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);
|
|
9173
9198
|
d = `${le.fontWeight} ${le.fontSize} ${le.fontFamily}`;
|
|
9174
9199
|
}
|
|
9175
9200
|
}
|
|
@@ -9178,7 +9203,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9178
9203
|
const E = mt();
|
|
9179
9204
|
return E ? (E.textContent = L, E.offsetWidth) : 0;
|
|
9180
9205
|
}, Ke = N(() => {
|
|
9181
|
-
const L = k.value, E = T.value.filter((
|
|
9206
|
+
const L = k.value, E = T.value.filter((x) => x.whiteSpace);
|
|
9182
9207
|
return [...L, ...E];
|
|
9183
9208
|
});
|
|
9184
9209
|
H(
|
|
@@ -9187,16 +9212,16 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9187
9212
|
const E = c.value;
|
|
9188
9213
|
for (const le of L)
|
|
9189
9214
|
E.has(le.name) || E.set(le.name, !0);
|
|
9190
|
-
const
|
|
9215
|
+
const x = new Set(L.map((le) => le.name));
|
|
9191
9216
|
for (const le of E.keys())
|
|
9192
|
-
|
|
9217
|
+
x.has(le) || E.delete(le);
|
|
9193
9218
|
},
|
|
9194
9219
|
{ immediate: !0 }
|
|
9195
9220
|
);
|
|
9196
9221
|
const Ue = () => {
|
|
9197
9222
|
const L = Ke.value;
|
|
9198
9223
|
if (!L.length) return;
|
|
9199
|
-
const E = e.rows,
|
|
9224
|
+
const E = e.rows, x = /* @__PURE__ */ new Map();
|
|
9200
9225
|
for (const le of L) {
|
|
9201
9226
|
const ve = Ve(le);
|
|
9202
9227
|
let be = !1;
|
|
@@ -9208,9 +9233,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9208
9233
|
break;
|
|
9209
9234
|
}
|
|
9210
9235
|
}
|
|
9211
|
-
|
|
9236
|
+
x.set(le.name, be);
|
|
9212
9237
|
}
|
|
9213
|
-
c.value =
|
|
9238
|
+
c.value = x;
|
|
9214
9239
|
}, Ot = (L, E) => {
|
|
9215
9240
|
L && (r.value.set(E, L), ye(() => {
|
|
9216
9241
|
Q(E);
|
|
@@ -9221,8 +9246,8 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9221
9246
|
s.value.set(L, !1);
|
|
9222
9247
|
return;
|
|
9223
9248
|
}
|
|
9224
|
-
const
|
|
9225
|
-
s.value.set(L,
|
|
9249
|
+
const x = E.scrollWidth > E.clientWidth || E.scrollHeight > E.clientHeight;
|
|
9250
|
+
s.value.set(L, x);
|
|
9226
9251
|
}, G = (L) => s.value.get(L) || !1, P = () => {
|
|
9227
9252
|
ye(() => {
|
|
9228
9253
|
Ue(), r.value.forEach((L, E) => {
|
|
@@ -9245,7 +9270,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9245
9270
|
e.loading || Ue();
|
|
9246
9271
|
});
|
|
9247
9272
|
let Z = null;
|
|
9248
|
-
const
|
|
9273
|
+
const _ = () => {
|
|
9249
9274
|
Z && clearTimeout(Z), Z = setTimeout(() => {
|
|
9250
9275
|
d = null, Ue(), ye(() => {
|
|
9251
9276
|
r.value.forEach((L, E) => {
|
|
@@ -9255,9 +9280,9 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9255
9280
|
}, 200);
|
|
9256
9281
|
};
|
|
9257
9282
|
return st(() => {
|
|
9258
|
-
window.addEventListener("resize",
|
|
9283
|
+
window.addEventListener("resize", _);
|
|
9259
9284
|
}), Cn(() => {
|
|
9260
|
-
if (Z && clearTimeout(Z), window.removeEventListener("resize",
|
|
9285
|
+
if (Z && clearTimeout(Z), window.removeEventListener("resize", _), u) {
|
|
9261
9286
|
try {
|
|
9262
9287
|
document.body.removeChild(u);
|
|
9263
9288
|
} catch {
|
|
@@ -9274,7 +9299,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9274
9299
|
setSize: de,
|
|
9275
9300
|
scrollTop: fe,
|
|
9276
9301
|
ROWS_PER_PAGE_OPTIONS: ld,
|
|
9277
|
-
DEFAULT_ROWS_PER_PAGE:
|
|
9302
|
+
DEFAULT_ROWS_PER_PAGE: Ho
|
|
9278
9303
|
}), {
|
|
9279
9304
|
t: l,
|
|
9280
9305
|
JQTableRef: i,
|
|
@@ -9541,13 +9566,13 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9541
9566
|
const Yg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
|
|
9542
9567
|
name: "dialogConfirmComponent",
|
|
9543
9568
|
components: {
|
|
9544
|
-
QDialog:
|
|
9545
|
-
QCard:
|
|
9546
|
-
QCardSection:
|
|
9569
|
+
QDialog: po,
|
|
9570
|
+
QCard: xe,
|
|
9571
|
+
QCardSection: _e,
|
|
9547
9572
|
QIcon: se,
|
|
9548
9573
|
JQButton: ct
|
|
9549
9574
|
},
|
|
9550
|
-
emits: [
|
|
9575
|
+
emits: ["ok", "hide"],
|
|
9551
9576
|
props: {
|
|
9552
9577
|
title: { type: String, default: "" },
|
|
9553
9578
|
content: { type: String, default: "" },
|
|
@@ -9560,7 +9585,7 @@ const Yg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
|
|
|
9560
9585
|
showClose: { type: Boolean, default: !0 }
|
|
9561
9586
|
},
|
|
9562
9587
|
setup(e) {
|
|
9563
|
-
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");
|
|
9564
9589
|
return {
|
|
9565
9590
|
dialogRef: n,
|
|
9566
9591
|
onDialogHide: o,
|
|
@@ -9892,12 +9917,12 @@ function Hd(e, t = "children") {
|
|
|
9892
9917
|
};
|
|
9893
9918
|
return o(e), n;
|
|
9894
9919
|
}
|
|
9895
|
-
function
|
|
9920
|
+
function Jo(e, t, n = "children") {
|
|
9896
9921
|
if (!Array.isArray(e)) return null;
|
|
9897
9922
|
for (const o of e) {
|
|
9898
9923
|
if (t(o)) return o;
|
|
9899
9924
|
if (Array.isArray(o[n]) && o[n].length > 0) {
|
|
9900
|
-
const l =
|
|
9925
|
+
const l = Jo(o[n], t, n);
|
|
9901
9926
|
if (l) return l;
|
|
9902
9927
|
}
|
|
9903
9928
|
}
|
|
@@ -9918,13 +9943,13 @@ function Gd(e, t) {
|
|
|
9918
9943
|
return n[l] || (n[l] = []), n[l].push(o), n;
|
|
9919
9944
|
}, {}) : {};
|
|
9920
9945
|
}
|
|
9921
|
-
function
|
|
9946
|
+
function _d(e, t) {
|
|
9922
9947
|
return Array.isArray(e) ? e.reduce((n, o) => {
|
|
9923
9948
|
const l = t(o);
|
|
9924
9949
|
return n[l] || (n[l] = []), n[l].push(o), n;
|
|
9925
9950
|
}, {}) : {};
|
|
9926
9951
|
}
|
|
9927
|
-
function
|
|
9952
|
+
function xd(e, t, n = "asc") {
|
|
9928
9953
|
return Array.isArray(e) ? [...e].sort((o, l) => {
|
|
9929
9954
|
const i = o[t], a = l[t];
|
|
9930
9955
|
return i < a ? n === "asc" ? -1 : 1 : i > a ? n === "asc" ? 1 : -1 : 0;
|
|
@@ -9940,14 +9965,14 @@ function Kd(e, t) {
|
|
|
9940
9965
|
return 0;
|
|
9941
9966
|
}) : e;
|
|
9942
9967
|
}
|
|
9943
|
-
function
|
|
9968
|
+
function Go(e, t) {
|
|
9944
9969
|
return Array.isArray(e) ? e.reduce((n, o) => {
|
|
9945
9970
|
const l = t ? o[t] : o;
|
|
9946
9971
|
return n + (Number(l) || 0);
|
|
9947
9972
|
}, 0) : 0;
|
|
9948
9973
|
}
|
|
9949
9974
|
function Xd(e, t) {
|
|
9950
|
-
return !Array.isArray(e) || e.length === 0 ? 0 :
|
|
9975
|
+
return !Array.isArray(e) || e.length === 0 ? 0 : Go(e, t) / e.length;
|
|
9951
9976
|
}
|
|
9952
9977
|
function ef(e, t) {
|
|
9953
9978
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
@@ -9998,8 +10023,8 @@ function _o(e) {
|
|
|
9998
10023
|
function rf(e, t = 1) {
|
|
9999
10024
|
return !Array.isArray(e) || t <= 0 ? [] : _o(e).slice(0, Math.min(t, e.length));
|
|
10000
10025
|
}
|
|
10001
|
-
function
|
|
10002
|
-
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), []);
|
|
10003
10028
|
}
|
|
10004
10029
|
function sf(e, t, n) {
|
|
10005
10030
|
if (!Array.isArray(e))
|
|
@@ -10028,11 +10053,11 @@ const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10028
10053
|
chunkArray: nf,
|
|
10029
10054
|
countBy: cf,
|
|
10030
10055
|
difference: af,
|
|
10031
|
-
findNodeInTree:
|
|
10032
|
-
flatten:
|
|
10056
|
+
findNodeInTree: Jo,
|
|
10057
|
+
flatten: xo,
|
|
10033
10058
|
forEachTree: Jd,
|
|
10034
10059
|
groupBy: Gd,
|
|
10035
|
-
groupByFn:
|
|
10060
|
+
groupByFn: _d,
|
|
10036
10061
|
intersection: of,
|
|
10037
10062
|
max: ef,
|
|
10038
10063
|
min: tf,
|
|
@@ -10040,9 +10065,9 @@ const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10040
10065
|
paginate: sf,
|
|
10041
10066
|
sample: rf,
|
|
10042
10067
|
shuffle: _o,
|
|
10043
|
-
sortBy:
|
|
10068
|
+
sortBy: xd,
|
|
10044
10069
|
sortByMultiple: Kd,
|
|
10045
|
-
sum:
|
|
10070
|
+
sum: Go,
|
|
10046
10071
|
treeToArray: Hd,
|
|
10047
10072
|
union: lf,
|
|
10048
10073
|
uniqueArray: Bd,
|
|
@@ -10110,7 +10135,7 @@ function hf(e = !0) {
|
|
|
10110
10135
|
behavior: e ? "smooth" : "auto"
|
|
10111
10136
|
});
|
|
10112
10137
|
}
|
|
10113
|
-
function
|
|
10138
|
+
function Ko() {
|
|
10114
10139
|
return {
|
|
10115
10140
|
x: window.pageXOffset || document.documentElement.scrollLeft,
|
|
10116
10141
|
y: window.pageYOffset || document.documentElement.scrollTop
|
|
@@ -10204,7 +10229,7 @@ function Uf() {
|
|
|
10204
10229
|
height: window.innerHeight || document.documentElement.clientHeight
|
|
10205
10230
|
};
|
|
10206
10231
|
}
|
|
10207
|
-
function
|
|
10232
|
+
function Xo() {
|
|
10208
10233
|
return Math.max(
|
|
10209
10234
|
document.body.scrollHeight,
|
|
10210
10235
|
document.documentElement.scrollHeight,
|
|
@@ -10225,7 +10250,7 @@ function Bf() {
|
|
|
10225
10250
|
);
|
|
10226
10251
|
}
|
|
10227
10252
|
function Zf(e = 0) {
|
|
10228
|
-
const { y: t } =
|
|
10253
|
+
const { y: t } = Ko(), n = window.innerHeight || document.documentElement.clientHeight, o = Xo();
|
|
10229
10254
|
return t + n >= o - e;
|
|
10230
10255
|
}
|
|
10231
10256
|
const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -10243,9 +10268,9 @@ const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10243
10268
|
getElementRect: kf,
|
|
10244
10269
|
getElementWidth: Lf,
|
|
10245
10270
|
getOffsetTop: If,
|
|
10246
|
-
getPageHeight:
|
|
10271
|
+
getPageHeight: Xo,
|
|
10247
10272
|
getPageWidth: Bf,
|
|
10248
|
-
getScrollPosition:
|
|
10273
|
+
getScrollPosition: Ko,
|
|
10249
10274
|
getStyle: Rf,
|
|
10250
10275
|
getWindowSize: Uf,
|
|
10251
10276
|
hasAttribute: Yf,
|
|
@@ -10289,11 +10314,11 @@ function Jf(e, t, n = 1) {
|
|
|
10289
10314
|
function Gf(e, t, n) {
|
|
10290
10315
|
return Math.min(Math.max(e, t), n);
|
|
10291
10316
|
}
|
|
10292
|
-
function
|
|
10317
|
+
function _f(e, t) {
|
|
10293
10318
|
const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
|
|
10294
10319
|
return (e * l + t * l) / l;
|
|
10295
10320
|
}
|
|
10296
|
-
function
|
|
10321
|
+
function xf(e, t) {
|
|
10297
10322
|
const n = (e.toString().split(".")[1] || "").length, o = (t.toString().split(".")[1] || "").length, l = Math.pow(10, Math.max(n, o));
|
|
10298
10323
|
return (e * l - t * l) / l;
|
|
10299
10324
|
}
|
|
@@ -10387,8 +10412,8 @@ function mp(e) {
|
|
|
10387
10412
|
function gp(e, t) {
|
|
10388
10413
|
return Math.pow(e, t);
|
|
10389
10414
|
}
|
|
10390
|
-
function
|
|
10391
|
-
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);
|
|
10392
10417
|
}
|
|
10393
10418
|
function Gn(e, t) {
|
|
10394
10419
|
return t === 0 ? e : Gn(t, e % t);
|
|
@@ -10399,12 +10424,12 @@ function yp(e, t) {
|
|
|
10399
10424
|
const Mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10400
10425
|
__proto__: null,
|
|
10401
10426
|
abs: pp,
|
|
10402
|
-
add:
|
|
10427
|
+
add: _f,
|
|
10403
10428
|
ceil: ep,
|
|
10404
10429
|
clamp: Gf,
|
|
10405
10430
|
decimalToPercent: ap,
|
|
10406
10431
|
divide: Xf,
|
|
10407
|
-
factorial:
|
|
10432
|
+
factorial: el,
|
|
10408
10433
|
floor: tp,
|
|
10409
10434
|
gcd: Gn,
|
|
10410
10435
|
inRange: fp,
|
|
@@ -10422,7 +10447,7 @@ const Mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10422
10447
|
range: Jf,
|
|
10423
10448
|
round: Jn,
|
|
10424
10449
|
sqrt: mp,
|
|
10425
|
-
subtract:
|
|
10450
|
+
subtract: xf,
|
|
10426
10451
|
toChineseMoney: sp,
|
|
10427
10452
|
toChineseNumber: rp,
|
|
10428
10453
|
toFixed: np
|
|
@@ -10443,14 +10468,14 @@ function Ft(e) {
|
|
|
10443
10468
|
function hp(e) {
|
|
10444
10469
|
return e === null || typeof e != "object" ? e : Array.isArray(e) ? [...e] : { ...e };
|
|
10445
10470
|
}
|
|
10446
|
-
function
|
|
10471
|
+
function tl(...e) {
|
|
10447
10472
|
if (e.length === 0) return {};
|
|
10448
10473
|
if (e.length === 1) return e[0];
|
|
10449
10474
|
const t = {};
|
|
10450
10475
|
return e.forEach((n) => {
|
|
10451
10476
|
!n || typeof n != "object" || Object.keys(n).forEach((o) => {
|
|
10452
10477
|
const l = n[o], i = t[o];
|
|
10453
|
-
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);
|
|
10454
10479
|
});
|
|
10455
10480
|
}), t;
|
|
10456
10481
|
}
|
|
@@ -10482,7 +10507,7 @@ function Dp(e, t, n) {
|
|
|
10482
10507
|
return n;
|
|
10483
10508
|
return l !== void 0 ? l : n;
|
|
10484
10509
|
}
|
|
10485
|
-
function
|
|
10510
|
+
function nl(e, t, n) {
|
|
10486
10511
|
if (!e || typeof e != "object") return;
|
|
10487
10512
|
const o = t.split("."), l = o.pop();
|
|
10488
10513
|
if (!l) return;
|
|
@@ -10557,7 +10582,7 @@ function jp(e) {
|
|
|
10557
10582
|
l && (l in n ? Array.isArray(n[l]) ? n[l].push(i) : n[l] = [n[l], i] : n[l] = i);
|
|
10558
10583
|
}), n;
|
|
10559
10584
|
}
|
|
10560
|
-
function
|
|
10585
|
+
function ol(e, t) {
|
|
10561
10586
|
if (!e || typeof e != "object") return {};
|
|
10562
10587
|
const n = {};
|
|
10563
10588
|
return Object.keys(e).forEach((o) => {
|
|
@@ -10565,21 +10590,21 @@ function ll(e, t) {
|
|
|
10565
10590
|
}), n;
|
|
10566
10591
|
}
|
|
10567
10592
|
function Sp(e, t = !0) {
|
|
10568
|
-
return
|
|
10593
|
+
return ol(e, (n) => !(n == null || t && n === ""));
|
|
10569
10594
|
}
|
|
10570
|
-
function
|
|
10595
|
+
function ll(e, t = "") {
|
|
10571
10596
|
if (!e || typeof e != "object") return {};
|
|
10572
10597
|
const n = {};
|
|
10573
10598
|
return Object.keys(e).forEach((o) => {
|
|
10574
10599
|
const l = t ? `${t}.${o}` : o, i = e[o];
|
|
10575
|
-
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;
|
|
10576
10601
|
}), n;
|
|
10577
10602
|
}
|
|
10578
10603
|
function Tp(e) {
|
|
10579
10604
|
if (!e || typeof e != "object") return {};
|
|
10580
10605
|
const t = {};
|
|
10581
10606
|
return Object.keys(e).forEach((n) => {
|
|
10582
|
-
|
|
10607
|
+
nl(t, n, e[n]);
|
|
10583
10608
|
}), t;
|
|
10584
10609
|
}
|
|
10585
10610
|
function zp(e) {
|
|
@@ -10602,10 +10627,10 @@ function $p(e) {
|
|
|
10602
10627
|
const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10603
10628
|
__proto__: null,
|
|
10604
10629
|
deepClone: Ft,
|
|
10605
|
-
deepMerge:
|
|
10630
|
+
deepMerge: tl,
|
|
10606
10631
|
entries: $p,
|
|
10607
|
-
filterValues:
|
|
10608
|
-
flattenObject:
|
|
10632
|
+
filterValues: ol,
|
|
10633
|
+
flattenObject: ll,
|
|
10609
10634
|
fromQueryString: jp,
|
|
10610
10635
|
get: Dp,
|
|
10611
10636
|
has: Ap,
|
|
@@ -10619,7 +10644,7 @@ const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10619
10644
|
omit: bp,
|
|
10620
10645
|
pick: vp,
|
|
10621
10646
|
removeEmpty: Sp,
|
|
10622
|
-
set:
|
|
10647
|
+
set: nl,
|
|
10623
10648
|
shallowClone: hp,
|
|
10624
10649
|
shallowMerge: Ip,
|
|
10625
10650
|
toQueryString: wp,
|
|
@@ -10658,11 +10683,11 @@ function Pp(e) {
|
|
|
10658
10683
|
return t || (t = !0, n = e.apply(this, o)), n;
|
|
10659
10684
|
};
|
|
10660
10685
|
}
|
|
10661
|
-
function
|
|
10686
|
+
function al(e) {
|
|
10662
10687
|
return new Promise((t) => setTimeout(t, e));
|
|
10663
10688
|
}
|
|
10664
|
-
function
|
|
10665
|
-
return
|
|
10689
|
+
function il(e) {
|
|
10690
|
+
return al(e);
|
|
10666
10691
|
}
|
|
10667
10692
|
async function qp(e, t) {
|
|
10668
10693
|
const { times: n = 3, delay: o = 1e3, onRetry: l } = t || {};
|
|
@@ -10671,7 +10696,7 @@ async function qp(e, t) {
|
|
|
10671
10696
|
try {
|
|
10672
10697
|
return await e();
|
|
10673
10698
|
} catch (r) {
|
|
10674
|
-
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);
|
|
10675
10700
|
}
|
|
10676
10701
|
throw i;
|
|
10677
10702
|
}
|
|
@@ -10763,7 +10788,7 @@ const Gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10763
10788
|
clearCache: Qp,
|
|
10764
10789
|
debounce: Ep,
|
|
10765
10790
|
dedupe: Hp,
|
|
10766
|
-
delay:
|
|
10791
|
+
delay: al,
|
|
10767
10792
|
measureTime: Fp,
|
|
10768
10793
|
measureTimeAsync: Wp,
|
|
10769
10794
|
memoize: Rp,
|
|
@@ -10772,14 +10797,14 @@ const Gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10772
10797
|
promiseSerial: Zp,
|
|
10773
10798
|
rafThrottle: Jp,
|
|
10774
10799
|
retry: qp,
|
|
10775
|
-
sleep:
|
|
10800
|
+
sleep: il,
|
|
10776
10801
|
throttle: Vp,
|
|
10777
10802
|
withTimeout: Yp
|
|
10778
10803
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10779
|
-
function
|
|
10804
|
+
function _p(e) {
|
|
10780
10805
|
return !e || e.length !== 11 ? e : e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
|
|
10781
10806
|
}
|
|
10782
|
-
function
|
|
10807
|
+
function xp(e) {
|
|
10783
10808
|
if (!e || e.length < 8) return e;
|
|
10784
10809
|
const t = e.length;
|
|
10785
10810
|
return e.substring(0, 3) + "*".repeat(t - 7) + e.substring(t - 4);
|
|
@@ -10916,12 +10941,12 @@ const Am = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10916
10941
|
formatNumber: rm,
|
|
10917
10942
|
formatPhone: dm,
|
|
10918
10943
|
generateUUID: pm,
|
|
10919
|
-
idCardDesensitize:
|
|
10944
|
+
idCardDesensitize: xp,
|
|
10920
10945
|
isEmpty: hm,
|
|
10921
10946
|
nameDesensitize: Kp,
|
|
10922
10947
|
padEnd: Dm,
|
|
10923
10948
|
padStart: bm,
|
|
10924
|
-
phoneDesensitize:
|
|
10949
|
+
phoneDesensitize: _p,
|
|
10925
10950
|
randomString: fm,
|
|
10926
10951
|
removeHtmlTags: gm,
|
|
10927
10952
|
repeat: vm,
|
|
@@ -11108,7 +11133,7 @@ function Rm(e, t) {
|
|
|
11108
11133
|
let s = l;
|
|
11109
11134
|
return r && (s += `?${r}`), o && (s += `#${o}`), s;
|
|
11110
11135
|
}
|
|
11111
|
-
function
|
|
11136
|
+
function rl(e) {
|
|
11112
11137
|
try {
|
|
11113
11138
|
return new URL(e).hostname;
|
|
11114
11139
|
} catch {
|
|
@@ -11116,7 +11141,7 @@ function sl(e) {
|
|
|
11116
11141
|
}
|
|
11117
11142
|
}
|
|
11118
11143
|
function Qm(e) {
|
|
11119
|
-
const t =
|
|
11144
|
+
const t = rl(e);
|
|
11120
11145
|
if (!t) return "";
|
|
11121
11146
|
const n = t.split(".");
|
|
11122
11147
|
return n.length <= 2 ? t : n.slice(-2).join(".");
|
|
@@ -11144,7 +11169,7 @@ const Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11144
11169
|
getCurrentPath: Bm,
|
|
11145
11170
|
getCurrentQuery: Zm,
|
|
11146
11171
|
getCurrentUrl: Um,
|
|
11147
|
-
getDomain:
|
|
11172
|
+
getDomain: rl,
|
|
11148
11173
|
getQueryParam: Cm,
|
|
11149
11174
|
getQueryParams: Nm,
|
|
11150
11175
|
getRootDomain: Qm,
|
|
@@ -11160,12 +11185,12 @@ const Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11160
11185
|
safeEncodeUrl: Pm,
|
|
11161
11186
|
stringifyQuery: dt,
|
|
11162
11187
|
updateQueryParams: wm
|
|
11163
|
-
}, 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 = {
|
|
11164
11189
|
primary: Hm,
|
|
11165
11190
|
blue: Jm,
|
|
11166
11191
|
dark: Gm,
|
|
11167
|
-
green:
|
|
11168
|
-
red:
|
|
11192
|
+
green: _m,
|
|
11193
|
+
red: xm,
|
|
11169
11194
|
negative: Km,
|
|
11170
11195
|
yellow: Xm,
|
|
11171
11196
|
grey: eg,
|
|
@@ -11192,7 +11217,7 @@ function Rg(e) {
|
|
|
11192
11217
|
}) : gn("zh-CN").catch((m) => {
|
|
11193
11218
|
console.error("[rtcpt] Failed to load default locale:", m);
|
|
11194
11219
|
});
|
|
11195
|
-
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;
|
|
11196
11221
|
Un.configure({
|
|
11197
11222
|
router: n,
|
|
11198
11223
|
store: o,
|
|
@@ -11200,7 +11225,7 @@ function Rg(e) {
|
|
|
11200
11225
|
iconMapFn: d,
|
|
11201
11226
|
pagePermissionIds: f,
|
|
11202
11227
|
pageActionPermissionIds: p
|
|
11203
|
-
}), 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));
|
|
11204
11229
|
}
|
|
11205
11230
|
function og(e, t) {
|
|
11206
11231
|
const n = { ...ng, ...e }, o = document.documentElement;
|
|
@@ -11219,7 +11244,7 @@ function ag(e) {
|
|
|
11219
11244
|
const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
|
|
11220
11245
|
t != null && t["close-popup"] || e.directive("close-popup", Ht);
|
|
11221
11246
|
}
|
|
11222
|
-
function
|
|
11247
|
+
function sl(e, t, n = (l) => JSON.stringify(l), o = (l) => JSON.parse(l)) {
|
|
11223
11248
|
const l = e, a = $((() => {
|
|
11224
11249
|
try {
|
|
11225
11250
|
const s = localStorage.getItem(l);
|
|
@@ -11251,12 +11276,12 @@ function ul(e, t, n = (l) => JSON.stringify(l), o = (l) => JSON.parse(l)) {
|
|
|
11251
11276
|
};
|
|
11252
11277
|
return window.addEventListener("storage", r), a;
|
|
11253
11278
|
}
|
|
11254
|
-
const
|
|
11279
|
+
const ul = (e) => e.join(","), cl = (e) => e ? e.split(",").filter(Boolean) : [];
|
|
11255
11280
|
function Qg(e) {
|
|
11256
|
-
return
|
|
11281
|
+
return sl(e, [], ul, cl);
|
|
11257
11282
|
}
|
|
11258
11283
|
function Ug(e) {
|
|
11259
|
-
return
|
|
11284
|
+
return sl(e, [], ul, cl);
|
|
11260
11285
|
}
|
|
11261
11286
|
const Bg = {
|
|
11262
11287
|
transformTreeUseLabelAndValue: Fn,
|
|
@@ -11277,7 +11302,7 @@ const Bg = {
|
|
|
11277
11302
|
};
|
|
11278
11303
|
export {
|
|
11279
11304
|
Un as DialogProvider,
|
|
11280
|
-
|
|
11305
|
+
Mo as JCCopy,
|
|
11281
11306
|
cg as JCDuoListEditor,
|
|
11282
11307
|
dg as JCEditableProxy,
|
|
11283
11308
|
fg as JCFallback,
|
|
@@ -11287,7 +11312,7 @@ export {
|
|
|
11287
11312
|
yg as JCMoreMenu,
|
|
11288
11313
|
Mg as JCNestedSelect,
|
|
11289
11314
|
Dg as JCOrgSelect,
|
|
11290
|
-
|
|
11315
|
+
Io as JCPermission,
|
|
11291
11316
|
Ag as JCPlatform,
|
|
11292
11317
|
hg as JCTable,
|
|
11293
11318
|
Ig as JCTabs,
|
|
@@ -11300,8 +11325,8 @@ export {
|
|
|
11300
11325
|
Hg as JChBarLine,
|
|
11301
11326
|
Jg as JChBubble,
|
|
11302
11327
|
Gg as JChLine,
|
|
11303
|
-
|
|
11304
|
-
|
|
11328
|
+
_g as JChPieDoughnut,
|
|
11329
|
+
xg as JChRadar,
|
|
11305
11330
|
Cg as JQAutocomplete,
|
|
11306
11331
|
ct as JQButton,
|
|
11307
11332
|
Ng as JQButtonDropdown,
|
|
@@ -11315,7 +11340,7 @@ export {
|
|
|
11315
11340
|
Lg as JQDetailList,
|
|
11316
11341
|
Di as JQDialog,
|
|
11317
11342
|
$g as JQFile,
|
|
11318
|
-
|
|
11343
|
+
xi as JQFormLabel,
|
|
11319
11344
|
Xt as JQInput,
|
|
11320
11345
|
Og as JQInputRecognize,
|
|
11321
11346
|
Zt as JQMessage,
|
|
@@ -11329,14 +11354,14 @@ export {
|
|
|
11329
11354
|
jr as JQTooltip,
|
|
11330
11355
|
St as PAGE_ACTION_PERMISSION_KEY,
|
|
11331
11356
|
Tt as PAGE_PERMISSION_KEY,
|
|
11332
|
-
|
|
11357
|
+
Uo as composeIconMapFn,
|
|
11333
11358
|
Ud as formUtils,
|
|
11334
11359
|
Tn as getLocale,
|
|
11335
11360
|
Bg as jqTool,
|
|
11336
11361
|
Oi as rtcptIconMapFn,
|
|
11337
11362
|
Rg as rtcptInit,
|
|
11338
11363
|
gn as setLocale,
|
|
11339
|
-
|
|
11364
|
+
ho as t,
|
|
11340
11365
|
Ed as treeUtils,
|
|
11341
11366
|
ae as useI18n,
|
|
11342
11367
|
Ug as usePageActionPermissionSync,
|