rtcpts 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rtcpt.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as B, ref as z, computed as
|
|
1
|
+
import { defineComponent as B, ref as z, computed as v, resolveComponent as h, createBlock as V, openBlock as y, createElementBlock as w, createCommentVNode as E, Fragment as _, renderList as ee, normalizeClass as q, createElementVNode as C, renderSlot as Y, createVNode as b, inject as Pe, toDisplayString as O, watch as W, nextTick as se, onMounted as ze, onBeforeUnmount as dn, Teleport as el, Transition as ut, withCtx as D, normalizeStyle as G, createTextVNode as J, mergeProps as me, createSlots as Ye, getCurrentInstance as tl, resolveDirective as xe, withDirectives as oe, vShow as fe, Suspense as nl, resolveDynamicComponent as wt, toHandlers as ll, normalizeProps as ve, guardReactiveProps as Se, withModifiers as te, withKeys as Et, createApp as ol, onUnmounted as al, h as il, vModelText as rl, reactive as Te, isRef as ln } from "vue";
|
|
2
2
|
import { QIcon as le, copyToClipboard as sl, QBtn as Ie, QCardActions as ul, QCardSection as ke, QCard as Le, QPopupProxy as he, ClosePopup as ct, QInnerLoading as pn, QDialog as fn, QInput as dt, QItemSection as pt, QItem as Xe, QSpinner as cl, QSelect as Qe, QList as et, QMenu as Pt, QTooltip as dl, QTree as gn, QField as Ne, QItemLabel as pl, QBtnDropdown as fl, QDate as mn, date as x, QOptionGroup as gl, QPagination as yn, QTd as ml, QTh as yl, QTable as Ml, useDialogPluginComponent as on, setCssVar as We } from "quasar";
|
|
3
3
|
import { _ as Z } from "./charts-fA1hE3y8.js";
|
|
4
|
-
import { i as
|
|
4
|
+
import { i as Rf, a as Uf, b as Bf, c as Zf, d as Wf, e as Ff } from "./charts-fA1hE3y8.js";
|
|
5
5
|
const Il = B({
|
|
6
6
|
name: "JCCopy",
|
|
7
7
|
components: {
|
|
@@ -20,7 +20,7 @@ const Il = B({
|
|
|
20
20
|
setup(e) {
|
|
21
21
|
const t = z(!1);
|
|
22
22
|
let n = null;
|
|
23
|
-
const l =
|
|
23
|
+
const l = v(() => t.value ? "check" : "app:rt-copy"), o = v(() => t.value ? "grey" : void 0);
|
|
24
24
|
return {
|
|
25
25
|
copied: t,
|
|
26
26
|
iconName: l,
|
|
@@ -133,7 +133,7 @@ const jl = B({
|
|
|
133
133
|
emits: ["update:modelValue"],
|
|
134
134
|
slots: Object,
|
|
135
135
|
setup(e, { emit: t }) {
|
|
136
|
-
const { t: n } = X(), l =
|
|
136
|
+
const { t: n } = X(), l = v({
|
|
137
137
|
get: () => e.modelValue,
|
|
138
138
|
set: (s) => {
|
|
139
139
|
t("update:modelValue", s);
|
|
@@ -172,7 +172,7 @@ function zl(e, t, n, l, o, r) {
|
|
|
172
172
|
key: e.getKey(s, c),
|
|
173
173
|
class: q(["q-mb-md list-item-row relative-position", { "compact-item": e.actionMode === "compact" }])
|
|
174
174
|
}, [
|
|
175
|
-
|
|
175
|
+
C("div", wl, [
|
|
176
176
|
Y(e.$slots, "item-content", {
|
|
177
177
|
item: s,
|
|
178
178
|
index: c,
|
|
@@ -213,7 +213,7 @@ function zl(e, t, n, l, o, r) {
|
|
|
213
213
|
])) : E("", !0)
|
|
214
214
|
]);
|
|
215
215
|
}
|
|
216
|
-
const
|
|
216
|
+
const of = /* @__PURE__ */ Z(jl, [["render", zl]]), tt = Symbol("pageActionPermissionId"), nt = Symbol("pagePermissionId"), kl = B({
|
|
217
217
|
name: "JCPermission",
|
|
218
218
|
props: {
|
|
219
219
|
/**
|
|
@@ -255,10 +255,10 @@ const lf = /* @__PURE__ */ Z(jl, [["render", zl]]), tt = Symbol("pageActionPermi
|
|
|
255
255
|
},
|
|
256
256
|
slots: Object,
|
|
257
257
|
setup(e) {
|
|
258
|
-
const t = Pe(tt, z([])), n = Pe(nt, z([])), l =
|
|
258
|
+
const t = Pe(tt, z([])), n = Pe(nt, z([])), l = v(() => e.pagePermissionId && e.pagePermissionId.length > 0 ? e.pagePermissionId : n.value || []), o = v(() => e.pageActionPermissionId && e.pageActionPermissionId.length > 0 ? e.pageActionPermissionId : t.value || []), r = v(() => {
|
|
259
259
|
const i = e.code;
|
|
260
260
|
return i ? l.value.includes(i) || o.value.includes(i) : !0;
|
|
261
|
-
}), a =
|
|
261
|
+
}), a = v(() => !!(r.value || !e.rmDom));
|
|
262
262
|
return {
|
|
263
263
|
hasPermission: r,
|
|
264
264
|
canRender: a
|
|
@@ -322,7 +322,7 @@ const hn = /* @__PURE__ */ Z(kl, [["render", $l]]), Ol = B({
|
|
|
322
322
|
setup(e, { emit: t }) {
|
|
323
323
|
const n = z(), l = z(), o = z(!1), r = z(e.placement);
|
|
324
324
|
let a = null, i = null;
|
|
325
|
-
const s = z({}), c = z({}), u =
|
|
325
|
+
const s = z({}), c = z({}), u = v(() => e.modelValue !== void 0), d = () => {
|
|
326
326
|
if (!n.value || !l.value) return;
|
|
327
327
|
const M = n.value.getBoundingClientRect(), f = l.value.getBoundingClientRect(), g = e.offset;
|
|
328
328
|
let N = 0, k = 0, R = e.placement;
|
|
@@ -467,7 +467,7 @@ function El(e, t, n, l, o, r) {
|
|
|
467
467
|
onMouseenter: t[0] || (t[0] = (...a) => e.handlePopperMouseEnter && e.handlePopperMouseEnter(...a)),
|
|
468
468
|
onMouseleave: t[1] || (t[1] = (...a) => e.handlePopperMouseLeave && e.handlePopperMouseLeave(...a))
|
|
469
469
|
}, [
|
|
470
|
-
|
|
470
|
+
C("div", Vl, [
|
|
471
471
|
Y(e.$slots, "content", {}, () => [
|
|
472
472
|
J(O(e.content), 1)
|
|
473
473
|
])
|
|
@@ -568,7 +568,7 @@ const be = /* @__PURE__ */ Z(Ol, [["render", El]]), Fe = {
|
|
|
568
568
|
},
|
|
569
569
|
slots: Object,
|
|
570
570
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
571
|
-
const o = z(null), r =
|
|
571
|
+
const o = z(null), r = v(() => e.tips != null ? String(e.tips) : ""), a = v(() => ({ "j-q-button-label": (l.icon || e.icon) && (l.default || e.label) })), i = v(() => e.type === we.PRIMARY || e.type === we.SECONDARY ? {
|
|
572
572
|
[`j-q-button--${{
|
|
573
573
|
[Fe.LARGE]: "lg",
|
|
574
574
|
[Fe.NORMAL]: "md",
|
|
@@ -588,7 +588,7 @@ const be = /* @__PURE__ */ Z(Ol, [["render", El]]), Fe = {
|
|
|
588
588
|
closeDelay: 200,
|
|
589
589
|
maxWidth: "300px",
|
|
590
590
|
offset: 5
|
|
591
|
-
}, c =
|
|
591
|
+
}, c = v(() => ({
|
|
592
592
|
...s,
|
|
593
593
|
...e.tooltipConfig
|
|
594
594
|
})), u = (p) => {
|
|
@@ -647,7 +647,7 @@ function Ql(e, t, n, l, o, r) {
|
|
|
647
647
|
!e.icon && e.$slots.icon ? (y(), w("span", Yl, [
|
|
648
648
|
Y(e.$slots, "icon", {}, void 0, !0)
|
|
649
649
|
])) : E("", !0),
|
|
650
|
-
|
|
650
|
+
C("span", {
|
|
651
651
|
class: q(e.iconPadding)
|
|
652
652
|
}, [
|
|
653
653
|
Y(e.$slots, "default", {}, () => [
|
|
@@ -778,9 +778,9 @@ const qe = /* @__PURE__ */ Z(Pl, [["render", Ql], ["__scopeId", "data-v-e0ad42a1
|
|
|
778
778
|
function Bl(e, t, n, l, o, r) {
|
|
779
779
|
const a = h("q-card-section"), i = h("j-q-button"), s = h("q-card-actions"), c = h("q-card"), u = h("q-popup-proxy"), d = h("q-icon"), p = h("j-c-permission");
|
|
780
780
|
return y(), w("div", Rl, [
|
|
781
|
-
|
|
781
|
+
C("div", Ul, [
|
|
782
782
|
Y(e.$slots, "display", {}, () => [
|
|
783
|
-
|
|
783
|
+
C("span", null, O(e.modelValue), 1)
|
|
784
784
|
], !0)
|
|
785
785
|
]),
|
|
786
786
|
b(p, {
|
|
@@ -844,7 +844,7 @@ function Bl(e, t, n, l, o, r) {
|
|
|
844
844
|
}, 8, ["code"])
|
|
845
845
|
]);
|
|
846
846
|
}
|
|
847
|
-
const
|
|
847
|
+
const af = /* @__PURE__ */ Z(ql, [["render", Bl], ["__scopeId", "data-v-3d1377c9"]]), Zl = B({
|
|
848
848
|
name: "JCFallback",
|
|
849
849
|
props: {
|
|
850
850
|
/**
|
|
@@ -886,7 +886,7 @@ const of = /* @__PURE__ */ Z(ql, [["render", Bl], ["__scopeId", "data-v-3d1377c9
|
|
|
886
886
|
slots: Object,
|
|
887
887
|
setup(e) {
|
|
888
888
|
return {
|
|
889
|
-
hasValue:
|
|
889
|
+
hasValue: v(() => {
|
|
890
890
|
const n = e.value;
|
|
891
891
|
return e.zeroIsValid && (n === 0 || n === "0") || e.falseIsValid && n === !1 ? !0 : !!n;
|
|
892
892
|
})
|
|
@@ -898,7 +898,7 @@ function Fl(e, t, n, l, o, r) {
|
|
|
898
898
|
e.rmDom ? E("", !0) : (y(), w("span", Wl, O(e.defaultContent), 1))
|
|
899
899
|
], 64));
|
|
900
900
|
}
|
|
901
|
-
const
|
|
901
|
+
const rf = /* @__PURE__ */ Z(Zl, [["render", Fl]]);
|
|
902
902
|
function je(e, t) {
|
|
903
903
|
return (n) => {
|
|
904
904
|
const l = String(n || "").trim();
|
|
@@ -1404,7 +1404,7 @@ const co = B({
|
|
|
1404
1404
|
setup(e, { emit: t, expose: n }) {
|
|
1405
1405
|
const l = z(!1), o = z(!1), r = z(null), a = z(e.showConfirm), i = tl(), { t: s } = X();
|
|
1406
1406
|
let c = z(s("action.cancel")), u = z(s("action.confirm"));
|
|
1407
|
-
const d = Ft(s), p = uo, I =
|
|
1407
|
+
const d = Ft(s), p = uo, I = v(() => {
|
|
1408
1408
|
var k;
|
|
1409
1409
|
return {
|
|
1410
1410
|
...e.componentBind,
|
|
@@ -1420,10 +1420,10 @@ const co = B({
|
|
|
1420
1420
|
beforeFile: p
|
|
1421
1421
|
}
|
|
1422
1422
|
};
|
|
1423
|
-
}), j =
|
|
1423
|
+
}), j = v(() => e.maxWidth && e.position === "standard" ? {
|
|
1424
1424
|
"max-width": typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`,
|
|
1425
1425
|
width: typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`
|
|
1426
|
-
} : {}), A =
|
|
1426
|
+
} : {}), A = v(() => o.value), m = (k) => {
|
|
1427
1427
|
c.value = k;
|
|
1428
1428
|
}, T = (k) => {
|
|
1429
1429
|
u.value = k;
|
|
@@ -1487,7 +1487,7 @@ function yo(e, t, n, l, o, r) {
|
|
|
1487
1487
|
style: G(e.computedDialogWidth)
|
|
1488
1488
|
}, {
|
|
1489
1489
|
default: D(() => [
|
|
1490
|
-
oe(
|
|
1490
|
+
oe(C("div", po, [
|
|
1491
1491
|
b(a, {
|
|
1492
1492
|
showing: e.getDataLoading,
|
|
1493
1493
|
label: e.t("messages.loading"),
|
|
@@ -1503,12 +1503,12 @@ function yo(e, t, n, l, o, r) {
|
|
|
1503
1503
|
class: "dialog-header q-pa-none"
|
|
1504
1504
|
}, {
|
|
1505
1505
|
default: D(() => [
|
|
1506
|
-
|
|
1506
|
+
C("div", fo, [
|
|
1507
1507
|
Y(e.$slots, "title", {}, () => [
|
|
1508
1508
|
J(O(e.title), 1)
|
|
1509
1509
|
], !0)
|
|
1510
1510
|
]),
|
|
1511
|
-
|
|
1511
|
+
C("div", go, [
|
|
1512
1512
|
oe(b(i, {
|
|
1513
1513
|
name: "app:dialog-close",
|
|
1514
1514
|
class: "dialog-close",
|
|
@@ -1522,7 +1522,7 @@ function yo(e, t, n, l, o, r) {
|
|
|
1522
1522
|
})) : E("", !0),
|
|
1523
1523
|
(y(), V(nl, null, {
|
|
1524
1524
|
default: D(() => [
|
|
1525
|
-
|
|
1525
|
+
C("div", null, [
|
|
1526
1526
|
b(s, {
|
|
1527
1527
|
class: "dialog-body scroll",
|
|
1528
1528
|
style: G({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
|
|
@@ -1559,7 +1559,7 @@ function yo(e, t, n, l, o, r) {
|
|
|
1559
1559
|
fallback: D(() => [
|
|
1560
1560
|
b(s, null, {
|
|
1561
1561
|
default: D(() => [
|
|
1562
|
-
|
|
1562
|
+
C("div", mo, [
|
|
1563
1563
|
b(a, {
|
|
1564
1564
|
showing: !0,
|
|
1565
1565
|
label: e.t("action.loading"),
|
|
@@ -1612,7 +1612,7 @@ const Mo = /* @__PURE__ */ Z(co, [["render", yo], ["__scopeId", "data-v-ae72c3eb
|
|
|
1612
1612
|
},
|
|
1613
1613
|
slots: Object,
|
|
1614
1614
|
setup(e, { emit: t, slots: n, expose: l }) {
|
|
1615
|
-
const { t: o } = X(), r = z(e.modelValue ?? ""), a = z(null), i = z(e.customType !== "secret" && e.customType !== "password"), s =
|
|
1615
|
+
const { t: o } = X(), r = z(e.modelValue ?? ""), a = z(null), i = z(e.customType !== "secret" && e.customType !== "password"), s = v(() => {
|
|
1616
1616
|
const j = String(e.modelValue ?? "");
|
|
1617
1617
|
if (e.customType === "secret" && !i.value) {
|
|
1618
1618
|
if (j.length === 0)
|
|
@@ -1623,7 +1623,7 @@ const Mo = /* @__PURE__ */ Z(co, [["render", yo], ["__scopeId", "data-v-ae72c3eb
|
|
|
1623
1623
|
return `${A}***${m}`;
|
|
1624
1624
|
}
|
|
1625
1625
|
return j;
|
|
1626
|
-
}), c =
|
|
1626
|
+
}), c = v(() => e.customType === "secret" ? s.value : r.value), u = v(() => ({
|
|
1627
1627
|
"input-password": e.customType === "password" && !i.value,
|
|
1628
1628
|
"j-q-input--table": e.label,
|
|
1629
1629
|
"j-q-input--form": !e.label && e.type !== "textarea" && !e.smInput,
|
|
@@ -1637,7 +1637,7 @@ const Mo = /* @__PURE__ */ Z(co, [["render", yo], ["__scopeId", "data-v-ae72c3eb
|
|
|
1637
1637
|
},
|
|
1638
1638
|
{ immediate: !0 }
|
|
1639
1639
|
);
|
|
1640
|
-
const d =
|
|
1640
|
+
const d = v(() => {
|
|
1641
1641
|
const j = e.maxlength;
|
|
1642
1642
|
if (j == null || j === "")
|
|
1643
1643
|
return NaN;
|
|
@@ -1792,7 +1792,7 @@ const ft = /* @__PURE__ */ Z(Io, [["render", ho]]), Ao = B({
|
|
|
1792
1792
|
},
|
|
1793
1793
|
slots: Object,
|
|
1794
1794
|
setup(e, { emit: t, slots: n, expose: l }) {
|
|
1795
|
-
const o = z(null), { t: r } = X(), a = z(!1), i =
|
|
1795
|
+
const o = z(null), { t: r } = X(), a = z(!1), i = v({
|
|
1796
1796
|
get() {
|
|
1797
1797
|
return e.multiple && (e.modelValue === null || e.modelValue === void 0) ? [] : e.modelValue;
|
|
1798
1798
|
},
|
|
@@ -1801,10 +1801,10 @@ const ft = /* @__PURE__ */ Z(Io, [["render", ho]]), Ao = B({
|
|
|
1801
1801
|
}
|
|
1802
1802
|
}), s = (M) => {
|
|
1803
1803
|
t("manual-change", M);
|
|
1804
|
-
}, c = z(e.options), u = z(""), d = z(void 0), p =
|
|
1804
|
+
}, c = z(e.options), u = z(""), d = z(void 0), p = v(() => !!e.optionValue), I = v(() => d.value ? d.value : u.value ? e.options.filter((M) => {
|
|
1805
1805
|
const f = (M == null ? void 0 : M[e.optionLabel]) ?? JSON.stringify(M);
|
|
1806
1806
|
return String(f).toLowerCase().includes(u.value.toLowerCase());
|
|
1807
|
-
}) : e.options), j =
|
|
1807
|
+
}) : e.options), j = v(() => {
|
|
1808
1808
|
const M = e.options, f = M.length;
|
|
1809
1809
|
let g = i.value;
|
|
1810
1810
|
if (e.valueDisplayFn)
|
|
@@ -1856,7 +1856,7 @@ const ft = /* @__PURE__ */ Z(Io, [["render", ho]]), Ao = B({
|
|
|
1856
1856
|
} else
|
|
1857
1857
|
f(e.options);
|
|
1858
1858
|
u.value = N, d.value = void 0;
|
|
1859
|
-
}, L =
|
|
1859
|
+
}, L = v(() => {
|
|
1860
1860
|
let M = "j-q-select-popup select-popup-content height1";
|
|
1861
1861
|
return e.popupContentClass && (M += ` ${e.popupContentClass}`), M;
|
|
1862
1862
|
}), $ = () => {
|
|
@@ -1866,7 +1866,7 @@ const ft = /* @__PURE__ */ Z(Io, [["render", ho]]), Ao = B({
|
|
|
1866
1866
|
f && (a.value = f.scrollWidth > f.clientWidth);
|
|
1867
1867
|
}
|
|
1868
1868
|
});
|
|
1869
|
-
}, S =
|
|
1869
|
+
}, S = v(() => e.filterable && a.value ? !1 : e.filterable ?? e.useInput);
|
|
1870
1870
|
return W([i, j], () => {
|
|
1871
1871
|
e.filterable && $();
|
|
1872
1872
|
}), ze(() => {
|
|
@@ -1903,8 +1903,8 @@ const ft = /* @__PURE__ */ Z(Io, [["render", ho]]), Ao = B({
|
|
|
1903
1903
|
handleManualChange: s
|
|
1904
1904
|
};
|
|
1905
1905
|
}
|
|
1906
|
-
}), Do = { class: "select-selected-item" };
|
|
1907
|
-
function
|
|
1906
|
+
}), Do = { class: "select-selected-item" }, Co = { class: "select-selected-item__content" };
|
|
1907
|
+
function vo(e, t, n, l, o, r) {
|
|
1908
1908
|
const a = h("q-spinner"), i = h("q-icon"), s = h("q-item-section"), c = h("q-item"), u = h("q-select");
|
|
1909
1909
|
return y(), V(u, {
|
|
1910
1910
|
ref: "qSelectRef",
|
|
@@ -1957,7 +1957,7 @@ function Co(e, t, n, l, o, r) {
|
|
|
1957
1957
|
})
|
|
1958
1958
|
]),
|
|
1959
1959
|
default: D(() => [
|
|
1960
|
-
oe(
|
|
1960
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
1961
1961
|
[fe, !e.filterable && !e.label && (e.innerValue === null || e.innerValue === "" || e.innerValue === void 0 || Array.isArray(e.innerValue) && e.innerValue.length === 0)]
|
|
1962
1962
|
])
|
|
1963
1963
|
]),
|
|
@@ -1975,9 +1975,11 @@ function Co(e, t, n, l, o, r) {
|
|
|
1975
1975
|
fn: D((d) => {
|
|
1976
1976
|
var p;
|
|
1977
1977
|
return [
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1978
|
+
C("span", Do, [
|
|
1979
|
+
C("span", Co, [
|
|
1980
|
+
Y(e.$slots, "chip-value-display", ve(Se(d)), () => [
|
|
1981
|
+
J(O(e.getSelectedItemLabelByIndex(d.index)), 1)
|
|
1982
|
+
])
|
|
1981
1983
|
]),
|
|
1982
1984
|
(p = e.getSelectedItemOptionByIndex(d.index)) != null && p.hideRemove ? E("", !0) : (y(), V(i, {
|
|
1983
1985
|
key: 0,
|
|
@@ -2047,11 +2049,11 @@ function Co(e, t, n, l, o, r) {
|
|
|
2047
2049
|
} : void 0
|
|
2048
2050
|
]), 1032, ["class", "modelValue", "clearable", "dense", "placeholder", "disable", "display-value", "dropdown-icon", "emit-value", "input-debounce", "label", "max-values", "multiple", "no-error-icon", "options", "option-label", "option-value", "options-dense", "outlined", "popup-content-class", "readonly", "rules", "title", "use-chips", "use-input", "loading", "onFilter", "onUpdate:modelValue", "hide-dropdown-icon"]);
|
|
2049
2051
|
}
|
|
2050
|
-
const
|
|
2052
|
+
const No = /* @__PURE__ */ Z(Ao, [["render", vo]]), bo = B({
|
|
2051
2053
|
name: "JQDialogPromptContent",
|
|
2052
2054
|
components: {
|
|
2053
2055
|
JQInput: ft,
|
|
2054
|
-
JQSelect:
|
|
2056
|
+
JQSelect: No
|
|
2055
2057
|
},
|
|
2056
2058
|
props: {
|
|
2057
2059
|
/** 初始值 */
|
|
@@ -2151,10 +2153,10 @@ const vo = /* @__PURE__ */ Z(Ao, [["render", Co]]), No = B({
|
|
|
2151
2153
|
onEnterKey: a
|
|
2152
2154
|
};
|
|
2153
2155
|
}
|
|
2154
|
-
}),
|
|
2155
|
-
function
|
|
2156
|
+
}), jo = { class: "j-q-dialog-prompt-content" };
|
|
2157
|
+
function wo(e, t, n, l, o, r) {
|
|
2156
2158
|
const a = h("j-q-input"), i = h("j-q-select");
|
|
2157
|
-
return y(), w("div",
|
|
2159
|
+
return y(), w("div", jo, [
|
|
2158
2160
|
e.type === "text" || e.type === "textarea" ? (y(), V(a, me({
|
|
2159
2161
|
key: 0,
|
|
2160
2162
|
ref: "inputRef",
|
|
@@ -2180,7 +2182,7 @@ function jo(e, t, n, l, o, r) {
|
|
|
2180
2182
|
}, e.selectProps), null, 16, ["modelValue", "placeholder", "rules", "options", "option-label", "option-value", "multiple"])) : E("", !0)
|
|
2181
2183
|
]);
|
|
2182
2184
|
}
|
|
2183
|
-
const
|
|
2185
|
+
const So = /* @__PURE__ */ Z(bo, [["render", wo]]), an = {
|
|
2184
2186
|
"app:clear": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjIwcHgiIGhlaWdodD0iMjBweCIgdmlld0JveD0iMCAwIDIwIDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQoNCiAgICA8ZyBpZD0icXVhc2FyLWN1c3RvbS1zdmciIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iZVNJTS1Hcm91cC1BZGQtZmlyc3QtbGV2ZWwtZ3JvdXBzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzE5LjAwMDAwMCwgLTMwOS4wMDAwMDApIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtMTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDM2MS4wMDAwMDAsIDIwMy4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MC4wMDAwMDAsIDcyLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTflpIfku70tOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDI2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Iue8lue7hCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjY4LjAwMDAwMCwgOC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjwvcmVjdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkPSJNMTAsMS42NjY2NjY2NyBDNS40MDUsMS42NjY2NjY2NyAxLjY2NjY2NjY3LDUuNDA1IDEuNjY2NjY2NjcsMTAgQzEuNjY2NjY2NjcsMTQuNTk1IDUuNDA1LDE4LjMzMzMzMzMgMTAsMTguMzMzMzMzMyBDMTQuNTk1LDE4LjMzMzMzMzMgMTguMzMzMzMzMywxNC41OTUgMTguMzMzMzMzMywxMCBDMTguMzMzMzMzMyw1LjQwNSAxNC41OTUsMS42NjY2NjY2NyAxMCwxLjY2NjY2NjY3Ig0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD0iUGF0aCIgZmlsbD0iI0VCRUNGMCIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGgNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZD0iTTEyLjI1NTgzMzMsNy43NDQxNjY2NyBDMTEuOTMsNy40MTgzMzMzMyAxMS40MDMzMzMzLDcuNDE4MzMzMzMgMTEuMDc3NSw3Ljc0NDE2NjY3IEwxMCw4LjgyMTY2NjY3IEw4LjkyMjUsNy43NDQxNjY2NyBDOC41OTY2NjY2Nyw3LjQxODMzMzMzIDguMDcsNy40MTgzMzMzMyA3Ljc0NDE2NjY3LDcuNzQ0MTY2NjcgQzcuNDE4MzMzMzMsOC4wNyA3LjQxODMzMzMzLDguNTk2NjY2NjcgNy43NDQxNjY2Nyw4LjkyMjUgTDguODIxNjY2NjcsMTAgTDcuNzQ0MTY2NjcsMTEuMDc3NSBDNy40MTgzMzMzMywxMS40MDMzMzMzIDcuNDE4MzMzMzMsMTEuOTMgNy43NDQxNjY2NywxMi4yNTU4MzMzIEM3LjkwNjY2NjY3LDEyLjQxODMzMzMgOC4xMiwxMi41IDguMzMzMzMzMzMsMTIuNSBDOC41NDY2NjY2NywxMi41IDguNzYsMTIuNDE4MzMzMyA4LjkyMjUsMTIuMjU1ODMzMyBMMTAsMTEuMTc4MzMzMyBMMTEuMDc3NSwxMi4yNTU4MzMzIEMxMS4yNCwxMi40MTgzMzMzIDExLjQ1MzMzMzMsMTIuNSAxMS42NjY2NjY3LDEyLjUgQzExLjg4LDEyLjUgMTIuMDkzMzMzMywxMi40MTgzMzMzIDEyLjI1NTgzMzMsMTIuMjU1ODMzMyBDMTIuNTgxNjY2NywxMS45MyAxMi41ODE2NjY3LDExLjQwMzMzMzMgMTIuMjU1ODMzMywxMS4wNzc1IEwxMS4xNzgzMzMzLDEwIEwxMi4yNTU4MzMzLDguOTIyNSBDMTIuNTgxNjY2Nyw4LjU5NjY2NjY3IDEyLjU4MTY2NjcsOC4wNyAxMi4yNTU4MzMzLDcuNzQ0MTY2NjciDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPSJQYXRoIiBmaWxsPSIjOTk5REI0IiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==",
|
|
2185
2187
|
"app:delete-confirm": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBmaWxsPSIjRTIxQTFBIiByPSIxMCIgY3k9IjEyIiBjeD0iMTIiLz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTUuMDQxIDcuODdhLjc1Ljc1IDAgMCAxIDEuMDYgMS4wNmwtMy4wNDEgMy4wNCAzLjA0MiAzLjA0M2EuNzUuNzUgMCAwIDEtMS4wNiAxLjA2bC0zLjA0My0zLjA0Mi0zLjA0IDMuMDQyYS43NS43NSAwIDAgMS0xLjA2MS0xLjA2bDMuMDQtMy4wNDItMy4wNC0zLjA0MWEuNzUuNzUgMCAwIDEgMS4wNi0xLjA2TDEyIDEwLjkxbDMuMDQyLTMuMDRaIi8+PC9zdmc+",
|
|
2186
2188
|
"app:dialog-close": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJpY29uL2NvbW1vbi9jbG9zZSI+DQo8ZyBpZD0iR3JvdXAgMTAwMDAwNDc0OCI+DQo8cGF0aCBpZD0iVmVjdG9yIChTdHJva2UpIiBkPSJNMTQuMDAwMSAyLjgzNzM1TDguODM3MjIgNy45OTk0N0wxNC4wMDAxIDEzLjE2MjRMMTMuNTgxNiAxMy41ODE3TDEzLjE2MjIgMTQuMDAwMkw3Ljk5OTM1IDguODM3MzVMMi44MzcyMiAxNC4wMDAyTDIuMDAwMTIgMTMuMTYyNEw3LjE2MjI1IDcuOTk5NDdMMi4wMDAxMiAyLjgzNzM1TDIuODM3MjIgMi4wMDAyNEw3Ljk5OTM1IDcuMTYyMzdMMTMuMTYyMiAyLjAwMDI0TDE0LjAwMDEgMi44MzczNVoiIGZpbGw9IiM1QTYwN0YiLz4NCjwvZz4NCjwvZz4NCjwvc3ZnPg0K",
|
|
@@ -2200,7 +2202,7 @@ const wo = /* @__PURE__ */ Z(No, [["render", jo]]), an = {
|
|
|
2200
2202
|
"app:table-not-check": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJHcm91cCAxMjQ1MDIwIj4NCjxnIGlkPSJHcm91cCAxMjQ0OTc2Ij4NCjxnIGlkPSImIzIzMTsmIzE1OTsmIzE2OTsmIzIyOTsmIzE4OTsmIzE2MjsiPg0KPHBhdGggZD0iTTE5LjMzMzMgMkg0LjY2NjY3QzMuMTkzOTEgMiAyIDMuMTkzOTEgMiA0LjY2NjY3VjE5LjMzMzNDMiAyMC44MDYxIDMuMTkzOTEgMjIgNC42NjY2NyAyMkgxOS4zMzMzQzIwLjgwNjEgMjIgMjIgMjAuODA2MSAyMiAxOS4zMzMzVjQuNjY2NjdDMjIgMy4xOTM5MSAyMC44MDYxIDIgMTkuMzMzMyAyWiIgZmlsbD0id2hpdGUiLz4NCjxwYXRoIGQ9Ik00LjY2NjY3IDIuNjY2NjdIMTkuMzMzM0MyMC40Mzc5IDIuNjY2NjcgMjEuMzMzMyAzLjU2MjEgMjEuMzMzMyA0LjY2NjY3VjE5LjMzMzNDMjEuMzMzMyAyMC40Mzc5IDIwLjQzNzkgMjEuMzMzMyAxOS4zMzMzIDIxLjMzMzNINC42NjY2N0MzLjU2MjEgMjEuMzMzMyAyLjY2NjY3IDIwLjQzNzkgMi42NjY2NyAxOS4zMzMzVjQuNjY2NjdDMi42NjY2NyAzLjU2MjEgMy41NjIxIDIuNjY2NjcgNC42NjY2NyAyLjY2NjY3WiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLW9wYWNpdHk9IjAuMjUiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIvPg0KPC9nPg0KPC9nPg0KPC9nPg0KPC9zdmc+",
|
|
2201
2203
|
"app:table-not-full-check": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJHcm91cCAxMjQ1MDIxIj4NCjxnIGlkPSJHcm91cCAxMjQ0OTc1Ij4NCjxnIGlkPSImIzIzMDsmIzE1NjsmIzE3MDsmIzIyOTsmIzEzMzsmIzE2ODsmIzIzMzsmIzEyODsmIzEzNzsiPg0KPHBhdGggaWQ9IlJlY3RhbmdsZS02MS1Db3B5IiBkPSJNNC42NjY2NyAyLjY2NjY3SDE5LjMzMzNDMjAuNDM3OSAyLjY2NjY3IDIxLjMzMzMgMy41NjIxIDIxLjMzMzMgNC42NjY2N1YxOS4zMzMzQzIxLjMzMzMgMjAuNDM3OSAyMC40Mzc5IDIxLjMzMzMgMTkuMzMzMyAyMS4zMzMzSDQuNjY2NjdDMy41NjIxIDIxLjMzMzMgMi42NjY2NyAyMC40Mzc5IDIuNjY2NjcgMTkuMzMzM1Y0LjY2NjY3QzIuNjY2NjcgMy41NjIxIDMuNTYyMSAyLjY2NjY3IDQuNjY2NjcgMi42NjY2N1oiIGZpbGw9IndoaXRlIiBzdHJva2U9IiMwQjVDRkYiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIvPg0KPHBhdGggaWQ9IlJlY3RhbmdsZS03IiBkPSJNMTYuMzc1IDExLjM3NUg3LjYyNVYxMi42MjVIMTYuMzc1VjExLjM3NVoiIHN0cm9rZT0iIzBCNUNGRiIgc3Ryb2tlLXdpZHRoPSIxLjI1Ii8+DQo8L2c+DQo8L2c+DQo8L2c+DQo8L3N2Zz4=",
|
|
2202
2204
|
"app:upload": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfNDc1OF83NDc5KSI+DQogICAgICAgIDxwYXRoIGQ9Ik0xMi4wMDM5IDIwLjVMMTEuOTk5NyAxMS41IiBzdHJva2U9IiMwQjVDRkYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiDQogICAgICAgICAgICBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgICAgICA8cGF0aA0KICAgICAgICAgICAgZD0iTTIwLjI1ODkgMTcuMTU4MUMyMS45MDIyIDE2LjAwMjUgMjIuNjA2OCAxMy45MTUxIDIyIDEyQzIxLjM5MzMgMTAuMDg0OSAxOS41MzUyIDkuMDM1NyAxNy41MjYzIDkuMDM3MjVIMTYuMzY1OEMxNS42MDcyIDYuMDgwNjUgMTMuMTA0MSAzLjg5Nzg2IDEwLjA3MTcgMy41NDg2QzcuMDM5MzIgMy4xOTkzNCA0LjEwNTU3IDQuNzU1OSAyLjY5NDYyIDcuNDYyNjVDMS4yODM2NyAxMC4xNjk0IDEuNjg3NjkgMTMuNDY1OSAzLjcxMDU0IDE1Ljc1MTgiDQogICAgICAgICAgICBzdHJva2U9IiMwQjVDRkYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogICAgICAgIDxwYXRoIGQ9Ik0xNS4xODE5IDEzLjgxODJMMTEuOTk5OSAxMC42MzYyTDguODE3OSAxMy44MTgyIiBzdHJva2U9IiMwQjVDRkYiIHN0cm9rZS13aWR0aD0iMS41Ig0KICAgICAgICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgIDwvZz4NCiAgICA8ZGVmcz4NCiAgICAgICAgPGNsaXBQYXRoIGlkPSJjbGlwMF80NzU4Xzc0NzkiPg0KICAgICAgICAgICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgLz4NCiAgICAgICAgPC9jbGlwUGF0aD4NCiAgICA8L2RlZnM+DQo8L3N2Zz4="
|
|
2203
|
-
},
|
|
2205
|
+
}, To = (e) => {
|
|
2204
2206
|
const t = "img:", n = [e, e.toLowerCase()];
|
|
2205
2207
|
if (e.startsWith("app:")) {
|
|
2206
2208
|
const o = e.slice(4);
|
|
@@ -2220,11 +2222,11 @@ function kn(...e) {
|
|
|
2220
2222
|
}
|
|
2221
2223
|
};
|
|
2222
2224
|
}
|
|
2223
|
-
const
|
|
2225
|
+
const zo = {
|
|
2224
2226
|
"zh-CN": () => import("./zh-CN-BoRskSmh.js"),
|
|
2225
2227
|
"en-US": () => import("./en-US-Di49EX5C.js")
|
|
2226
2228
|
}, $e = /* @__PURE__ */ new Map();
|
|
2227
|
-
function
|
|
2229
|
+
function ko(e) {
|
|
2228
2230
|
return Ft(e || In);
|
|
2229
2231
|
}
|
|
2230
2232
|
let ce = {};
|
|
@@ -2252,7 +2254,7 @@ const Ht = {
|
|
|
2252
2254
|
maxWidth: e.maxWidth || (window.innerWidth <= 1440 ? "30vw" : "25vw"),
|
|
2253
2255
|
minHeight: e.minHeight || "auto",
|
|
2254
2256
|
// 使用 prompt-content 组件
|
|
2255
|
-
component:
|
|
2257
|
+
component: So,
|
|
2256
2258
|
componentBind: {
|
|
2257
2259
|
modelValue: a.modelValue || (e.dialogType === "select" ? null : ""),
|
|
2258
2260
|
placeholder: a.placeholder || "",
|
|
@@ -2296,7 +2298,7 @@ const Ht = {
|
|
|
2296
2298
|
});
|
|
2297
2299
|
const I = (L = s == null ? void 0 : s._context) == null ? void 0 : L.directives;
|
|
2298
2300
|
I != null && I["close-popup"] || s.directive("close-popup", ct);
|
|
2299
|
-
const j = Qt(), A =
|
|
2301
|
+
const j = Qt(), A = zo[j];
|
|
2300
2302
|
if (A)
|
|
2301
2303
|
try {
|
|
2302
2304
|
const $ = await A();
|
|
@@ -2329,7 +2331,7 @@ const Ht = {
|
|
|
2329
2331
|
}
|
|
2330
2332
|
}), $e.clear();
|
|
2331
2333
|
}
|
|
2332
|
-
},
|
|
2334
|
+
}, Lo = B({
|
|
2333
2335
|
name: "JCFoldableList",
|
|
2334
2336
|
props: {
|
|
2335
2337
|
maxHeight: {
|
|
@@ -2367,7 +2369,7 @@ const Ht = {
|
|
|
2367
2369
|
subtree: !0
|
|
2368
2370
|
});
|
|
2369
2371
|
}
|
|
2370
|
-
}, u =
|
|
2372
|
+
}, u = v(() => l.value > e.maxHeight), d = v(() => o.value && u.value ? {
|
|
2371
2373
|
maxHeight: `${e.maxHeight}px`,
|
|
2372
2374
|
overflow: "hidden"
|
|
2373
2375
|
} : {}), p = () => {
|
|
@@ -2407,22 +2409,22 @@ const Ht = {
|
|
|
2407
2409
|
}
|
|
2408
2410
|
};
|
|
2409
2411
|
}
|
|
2410
|
-
}),
|
|
2412
|
+
}), $o = { class: "jc-foldable-list" }, Oo = { class: "jc-wrapper-container" }, Vo = {
|
|
2411
2413
|
key: 0,
|
|
2412
2414
|
class: "jc-toggle-overlay"
|
|
2413
2415
|
};
|
|
2414
|
-
function
|
|
2415
|
-
return y(), w("div",
|
|
2416
|
-
|
|
2417
|
-
|
|
2416
|
+
function Eo(e, t, n, l, o, r) {
|
|
2417
|
+
return y(), w("div", $o, [
|
|
2418
|
+
C("div", Oo, [
|
|
2419
|
+
C("div", {
|
|
2418
2420
|
ref: "contentWrapperRef",
|
|
2419
2421
|
style: G(e.currentStyle),
|
|
2420
2422
|
class: q([{ "jc-content-transition": e.needsToggle }, "jc-content-wrapper"])
|
|
2421
2423
|
}, [
|
|
2422
2424
|
Y(e.$slots, "default", {}, void 0, !0)
|
|
2423
2425
|
], 6),
|
|
2424
|
-
e.needsToggle ? (y(), w("div",
|
|
2425
|
-
|
|
2426
|
+
e.needsToggle ? (y(), w("div", Vo, [
|
|
2427
|
+
C("span", {
|
|
2426
2428
|
class: "link-type",
|
|
2427
2429
|
onClick: t[0] || (t[0] = (...a) => e.toggleList && e.toggleList(...a))
|
|
2428
2430
|
}, [
|
|
@@ -2436,7 +2438,7 @@ function Vo(e, t, n, l, o, r) {
|
|
|
2436
2438
|
])
|
|
2437
2439
|
]);
|
|
2438
2440
|
}
|
|
2439
|
-
const
|
|
2441
|
+
const sf = /* @__PURE__ */ Z(Lo, [["render", Eo], ["__scopeId", "data-v-48376fdd"]]), Po = B({
|
|
2440
2442
|
name: "JCFormatLookup",
|
|
2441
2443
|
props: {
|
|
2442
2444
|
/**
|
|
@@ -2479,28 +2481,28 @@ const rf = /* @__PURE__ */ Z(ko, [["render", Vo], ["__scopeId", "data-v-48376fdd
|
|
|
2479
2481
|
},
|
|
2480
2482
|
slots: Object,
|
|
2481
2483
|
setup(e) {
|
|
2482
|
-
const t =
|
|
2484
|
+
const t = v(() => {
|
|
2483
2485
|
const o = e.value, r = e.options, a = e.matchKeys;
|
|
2484
2486
|
if (!(o === null || !r || r.length === 0))
|
|
2485
2487
|
return r.find((i) => a.some((s) => i[s] !== void 0 && i[s] === o));
|
|
2486
|
-
}), n =
|
|
2488
|
+
}), n = v(() => !!t.value), l = v(() => t.value ? t.value.label : e.defaultContent);
|
|
2487
2489
|
return {
|
|
2488
2490
|
hasMatch: n,
|
|
2489
2491
|
displayLabel: l
|
|
2490
2492
|
};
|
|
2491
2493
|
}
|
|
2492
|
-
}),
|
|
2493
|
-
function
|
|
2494
|
+
}), Yo = { key: 0 };
|
|
2495
|
+
function Qo(e, t, n, l, o, r) {
|
|
2494
2496
|
return e.hasMatch ? Y(e.$slots, "default", {
|
|
2495
2497
|
key: 0,
|
|
2496
2498
|
label: e.displayLabel
|
|
2497
2499
|
}, () => [
|
|
2498
|
-
|
|
2500
|
+
C("span", null, O(e.displayLabel), 1)
|
|
2499
2501
|
]) : (y(), w(_, { key: 1 }, [
|
|
2500
|
-
e.rmDom ? E("", !0) : (y(), w("span",
|
|
2502
|
+
e.rmDom ? E("", !0) : (y(), w("span", Yo, O(e.defaultContent), 1))
|
|
2501
2503
|
], 64));
|
|
2502
2504
|
}
|
|
2503
|
-
const
|
|
2505
|
+
const uf = /* @__PURE__ */ Z(Po, [["render", Qo]]), qo = B({
|
|
2504
2506
|
name: "JQFormLabel",
|
|
2505
2507
|
components: {
|
|
2506
2508
|
QIcon: le,
|
|
@@ -2517,18 +2519,18 @@ const sf = /* @__PURE__ */ Z(Eo, [["render", Yo]]), Qo = B({
|
|
|
2517
2519
|
},
|
|
2518
2520
|
slots: Object,
|
|
2519
2521
|
setup(e, { slots: t }) {
|
|
2520
|
-
const n =
|
|
2522
|
+
const n = v(() => {
|
|
2521
2523
|
const o = !!e.label || !!t.label;
|
|
2522
2524
|
return e.horizontal ? !0 : o;
|
|
2523
2525
|
});
|
|
2524
2526
|
return {
|
|
2525
|
-
directionClass:
|
|
2527
|
+
directionClass: v(() => e.vertical ? "form-label--vertical" : e.horizontal ? "form-label--horizontal" : "form-label--vertical"),
|
|
2526
2528
|
showLabel: n,
|
|
2527
2529
|
slots: t
|
|
2528
2530
|
};
|
|
2529
2531
|
}
|
|
2530
|
-
}),
|
|
2531
|
-
function
|
|
2532
|
+
}), Ro = { class: "row items-center" }, Uo = { class: "form-content" }, Bo = { class: "form-value__inner" }, Zo = { class: "form-item-detail-wrapper" };
|
|
2533
|
+
function Wo(e, t, n, l, o, r) {
|
|
2532
2534
|
const a = h("q-icon"), i = h("j-c-tooltip");
|
|
2533
2535
|
return y(), w("div", {
|
|
2534
2536
|
class: q(["j-q-form-label", [e.directionClass, { required: e.required }]])
|
|
@@ -2537,7 +2539,7 @@ function Zo(e, t, n, l, o, r) {
|
|
|
2537
2539
|
key: 0,
|
|
2538
2540
|
class: q(["form-label", [e.labelClass, { required: e.required }]])
|
|
2539
2541
|
}, [
|
|
2540
|
-
|
|
2542
|
+
C("div", Ro, [
|
|
2541
2543
|
J(O(e.label) + " ", 1),
|
|
2542
2544
|
e.tip ? (y(), V(i, {
|
|
2543
2545
|
key: 0,
|
|
@@ -2556,24 +2558,24 @@ function Zo(e, t, n, l, o, r) {
|
|
|
2556
2558
|
]),
|
|
2557
2559
|
Y(e.$slots, "label-hint")
|
|
2558
2560
|
], 2)) : E("", !0),
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
+
C("div", Uo, [
|
|
2562
|
+
C("div", {
|
|
2561
2563
|
class: q(["form-value", e.valueClass])
|
|
2562
2564
|
}, [
|
|
2563
|
-
|
|
2565
|
+
C("div", Bo, [
|
|
2564
2566
|
Y(e.$slots, "default")
|
|
2565
2567
|
])
|
|
2566
2568
|
], 2),
|
|
2567
|
-
|
|
2569
|
+
C("div", Zo, [
|
|
2568
2570
|
Y(e.$slots, "form-item-detail")
|
|
2569
2571
|
])
|
|
2570
2572
|
])
|
|
2571
2573
|
], 2);
|
|
2572
2574
|
}
|
|
2573
|
-
const
|
|
2575
|
+
const Fo = /* @__PURE__ */ Z(qo, [["render", Wo]]), Ho = B({
|
|
2574
2576
|
name: "jCListEditor",
|
|
2575
2577
|
components: {
|
|
2576
|
-
JQFormLabel:
|
|
2578
|
+
JQFormLabel: Fo,
|
|
2577
2579
|
JQInput: ft,
|
|
2578
2580
|
QBtn: Ie
|
|
2579
2581
|
},
|
|
@@ -2594,14 +2596,14 @@ const Wo = /* @__PURE__ */ Z(Qo, [["render", Zo]]), Fo = B({
|
|
|
2594
2596
|
emits: ["update:modelValue"],
|
|
2595
2597
|
slots: Object,
|
|
2596
2598
|
setup(e, { emit: t }) {
|
|
2597
|
-
const { t: n } = X(), l =
|
|
2599
|
+
const { t: n } = X(), l = v({
|
|
2598
2600
|
get: () => e.modelValue,
|
|
2599
2601
|
set: (s) => {
|
|
2600
2602
|
t("update:modelValue", s);
|
|
2601
2603
|
}
|
|
2602
2604
|
});
|
|
2603
2605
|
return {
|
|
2604
|
-
computedPlaceholder:
|
|
2606
|
+
computedPlaceholder: v(() => e.placeholder || n("messages.pleaseEnter")),
|
|
2605
2607
|
innerValue: l,
|
|
2606
2608
|
updateItem: (s, c) => {
|
|
2607
2609
|
const u = String(c ?? "");
|
|
@@ -2620,8 +2622,8 @@ const Wo = /* @__PURE__ */ Z(Qo, [["render", Zo]]), Fo = B({
|
|
|
2620
2622
|
}
|
|
2621
2623
|
};
|
|
2622
2624
|
}
|
|
2623
|
-
}),
|
|
2624
|
-
function
|
|
2625
|
+
}), Jo = { class: "col-6" }, Go = { style: { "margin-top": "4px" } };
|
|
2626
|
+
function _o(e, t, n, l, o, r) {
|
|
2625
2627
|
const a = h("j-q-input"), i = h("q-btn"), s = h("j-q-form-label");
|
|
2626
2628
|
return y(), w("div", null, [
|
|
2627
2629
|
b(s, {
|
|
@@ -2633,7 +2635,7 @@ function Go(e, t, n, l, o, r) {
|
|
|
2633
2635
|
key: u,
|
|
2634
2636
|
class: "row q-col-gutter-sm"
|
|
2635
2637
|
}, [
|
|
2636
|
-
|
|
2638
|
+
C("div", Jo, [
|
|
2637
2639
|
b(a, {
|
|
2638
2640
|
"model-value": c,
|
|
2639
2641
|
"onUpdate:modelValue": (d) => e.updateItem(u, d),
|
|
@@ -2647,7 +2649,7 @@ function Go(e, t, n, l, o, r) {
|
|
|
2647
2649
|
_: 3
|
|
2648
2650
|
}, 8, ["model-value", "onUpdate:modelValue", "rules", "readonly", "placeholder"])
|
|
2649
2651
|
]),
|
|
2650
|
-
|
|
2652
|
+
C("div", Go, [
|
|
2651
2653
|
e.innerValue.length > 1 ? (y(), V(i, {
|
|
2652
2654
|
key: 0,
|
|
2653
2655
|
icon: "remove_circle_outline",
|
|
@@ -2674,7 +2676,7 @@ function Go(e, t, n, l, o, r) {
|
|
|
2674
2676
|
}, 8, ["label", "required"])
|
|
2675
2677
|
]);
|
|
2676
2678
|
}
|
|
2677
|
-
const
|
|
2679
|
+
const cf = /* @__PURE__ */ Z(Ho, [["render", _o]]), Ko = B({
|
|
2678
2680
|
name: "JCMoreMenu",
|
|
2679
2681
|
components: {
|
|
2680
2682
|
QIcon: le,
|
|
@@ -2745,16 +2747,16 @@ const uf = /* @__PURE__ */ Z(Fo, [["render", Go]]), _o = B({
|
|
|
2745
2747
|
action: (e) => !0
|
|
2746
2748
|
},
|
|
2747
2749
|
setup(e, { emit: t, slots: n }) {
|
|
2748
|
-
const { t: l } = X(), o =
|
|
2750
|
+
const { t: l } = X(), o = v(() => e.translate ?? l), r = Pe(tt, z([])), a = Pe(nt, z([])), i = (g, N, k) => typeof g == "function" ? !!g(N) : typeof g == "boolean" ? g : k, s = (g) => i(g.visible, e.item, !0), c = (g) => i(g.disabled, e.item, !1), u = (g) => g ? a.value.includes(g) || r.value.includes(g) : !0, d = (g) => s(g) ? u(g.permissionCode) : !1, p = v(() => e.actions.some((g) => d(g))), I = v(() => typeof e.fit == "boolean" ? e.fit : e.size === "md"), j = v(() => {
|
|
2749
2751
|
if (e.size === "lg")
|
|
2750
2752
|
return e.offset ?? [5, 10];
|
|
2751
|
-
}), A =
|
|
2753
|
+
}), A = v(() => {
|
|
2752
2754
|
if (e.size === "lg")
|
|
2753
2755
|
return e.anchor ?? "bottom left";
|
|
2754
|
-
}), m =
|
|
2756
|
+
}), m = v(() => {
|
|
2755
2757
|
if (e.size === "lg")
|
|
2756
2758
|
return e.self ?? "top start";
|
|
2757
|
-
}), T =
|
|
2759
|
+
}), T = v(() => e.size !== "lg" ? void 0 : { minWidth: e.listMinWidth ?? "80px" }), L = v(() => e.menuClass ?? void 0), $ = v(() => ({ "action-menu-size": e.size })), S = (g) => typeof g.label == "function" ? g.label({ item: e.item, action: g }) : typeof g.label == "string" && g.label ? g.label : g.i18nKey ? o.value(g.i18nKey) : "", M = async (g) => {
|
|
2758
2760
|
t("action", { action: g, item: e.item }), g.onClick && await g.onClick(e.item);
|
|
2759
2761
|
}, f = (g) => g.id ? !!n[`menu-icon-${g.id}`] : !1;
|
|
2760
2762
|
return {
|
|
@@ -2762,8 +2764,8 @@ const uf = /* @__PURE__ */ Z(Fo, [["render", Go]]), _o = B({
|
|
|
2762
2764
|
isActionVisible: s,
|
|
2763
2765
|
isActionDisabled: c,
|
|
2764
2766
|
shouldShowAction: d,
|
|
2765
|
-
size:
|
|
2766
|
-
showEmptyPlaceholder:
|
|
2767
|
+
size: v(() => e.size),
|
|
2768
|
+
showEmptyPlaceholder: v(() => e.showEmptyPlaceholder),
|
|
2767
2769
|
computedFit: I,
|
|
2768
2770
|
computedOffset: j,
|
|
2769
2771
|
computedAnchor: A,
|
|
@@ -2776,17 +2778,17 @@ const uf = /* @__PURE__ */ Z(Fo, [["render", Go]]), _o = B({
|
|
|
2776
2778
|
hasMenuIconSlot: f
|
|
2777
2779
|
};
|
|
2778
2780
|
}
|
|
2779
|
-
}),
|
|
2781
|
+
}), xo = {
|
|
2780
2782
|
key: 0,
|
|
2781
2783
|
class: "jc-more-menu"
|
|
2782
|
-
},
|
|
2784
|
+
}, Xo = {
|
|
2783
2785
|
key: 0,
|
|
2784
2786
|
class: "jc-more-menu__icon"
|
|
2785
|
-
},
|
|
2786
|
-
function
|
|
2787
|
+
}, ea = { key: 1 };
|
|
2788
|
+
function ta(e, t, n, l, o, r) {
|
|
2787
2789
|
const a = h("q-icon"), i = h("q-item-section"), s = h("q-item"), c = h("j-c-permission"), u = h("q-list"), d = h("q-menu"), p = xe("close-popup");
|
|
2788
|
-
return e.hasVisibleActions || e.showEmptyPlaceholder ? (y(), w("div",
|
|
2789
|
-
e.hasVisibleActions ? (y(), w("div",
|
|
2790
|
+
return e.hasVisibleActions || e.showEmptyPlaceholder ? (y(), w("div", xo, [
|
|
2791
|
+
e.hasVisibleActions ? (y(), w("div", Xo, [
|
|
2790
2792
|
Y(e.$slots, "trigger", {}, () => [
|
|
2791
2793
|
b(a, {
|
|
2792
2794
|
class: "cursor-pointer",
|
|
@@ -2855,10 +2857,10 @@ function ea(e, t, n, l, o, r) {
|
|
|
2855
2857
|
]),
|
|
2856
2858
|
_: 3
|
|
2857
2859
|
}, 16, ["fit", "class", "offset", "anchor", "self"])
|
|
2858
|
-
])) : (y(), w("span",
|
|
2860
|
+
])) : (y(), w("span", ea, "-"))
|
|
2859
2861
|
])) : E("", !0);
|
|
2860
2862
|
}
|
|
2861
|
-
const
|
|
2863
|
+
const df = /* @__PURE__ */ Z(Ko, [["render", ta], ["__scopeId", "data-v-51a82f6e"]]), na = B({
|
|
2862
2864
|
name: "NestedMenuItem",
|
|
2863
2865
|
components: {
|
|
2864
2866
|
QItem: Xe,
|
|
@@ -2892,7 +2894,7 @@ const cf = /* @__PURE__ */ Z(_o, [["render", ea], ["__scopeId", "data-v-51a82f6e
|
|
|
2892
2894
|
select: (e) => !0
|
|
2893
2895
|
},
|
|
2894
2896
|
setup(e, { emit: t }) {
|
|
2895
|
-
const n =
|
|
2897
|
+
const n = v(() => e.option.children && e.option.children.length > 0), l = v(() => e.closeOnSelect ? (e.allowParent, !n.value) : !1);
|
|
2896
2898
|
return {
|
|
2897
2899
|
hasChildren: n,
|
|
2898
2900
|
handleClick: () => {
|
|
@@ -2905,7 +2907,7 @@ const cf = /* @__PURE__ */ Z(_o, [["render", ea], ["__scopeId", "data-v-51a82f6e
|
|
|
2905
2907
|
};
|
|
2906
2908
|
}
|
|
2907
2909
|
});
|
|
2908
|
-
function
|
|
2910
|
+
function la(e, t, n, l, o, r) {
|
|
2909
2911
|
const a = h("q-item-section"), i = h("q-icon"), s = h("nested-menu-item", !0), c = h("q-list"), u = h("q-menu"), d = h("q-item"), p = xe("close-popup");
|
|
2910
2912
|
return oe((y(), V(d, {
|
|
2911
2913
|
clickable: "",
|
|
@@ -2962,10 +2964,10 @@ function na(e, t, n, l, o, r) {
|
|
|
2962
2964
|
[p, e.shouldClosePopup]
|
|
2963
2965
|
]);
|
|
2964
2966
|
}
|
|
2965
|
-
const
|
|
2967
|
+
const oa = /* @__PURE__ */ Z(na, [["render", la]]), aa = B({
|
|
2966
2968
|
name: "JCNestedSelect",
|
|
2967
2969
|
components: {
|
|
2968
|
-
NestedMenuItem:
|
|
2970
|
+
NestedMenuItem: oa,
|
|
2969
2971
|
QSelect: Qe,
|
|
2970
2972
|
QMenu: Pt,
|
|
2971
2973
|
QList: et
|
|
@@ -3038,7 +3040,7 @@ const la = /* @__PURE__ */ Z(ta, [["render", na]]), oa = B({
|
|
|
3038
3040
|
change: (e) => !0
|
|
3039
3041
|
},
|
|
3040
3042
|
setup(e, { emit: t }) {
|
|
3041
|
-
const n = z(null), l =
|
|
3043
|
+
const n = z(null), l = v(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), o = v({
|
|
3042
3044
|
get() {
|
|
3043
3045
|
return e.modelValue ?? null;
|
|
3044
3046
|
},
|
|
@@ -3064,7 +3066,7 @@ const la = /* @__PURE__ */ Z(ta, [["render", na]]), oa = B({
|
|
|
3064
3066
|
for (; d; )
|
|
3065
3067
|
u.unshift(d.label), d = d.parent;
|
|
3066
3068
|
return u.length > 1 ? `${u.pop()} (${u.join(" > ")})` : u[0] || "";
|
|
3067
|
-
}, i =
|
|
3069
|
+
}, i = v(() => {
|
|
3068
3070
|
if (!o.value)
|
|
3069
3071
|
return "";
|
|
3070
3072
|
const c = e.optionsOrigin.length > 0 ? e.optionsOrigin : e.options;
|
|
@@ -3083,11 +3085,11 @@ const la = /* @__PURE__ */ Z(ta, [["render", na]]), oa = B({
|
|
|
3083
3085
|
qSelectRef: n
|
|
3084
3086
|
};
|
|
3085
3087
|
}
|
|
3086
|
-
}),
|
|
3088
|
+
}), ia = {
|
|
3087
3089
|
key: 0,
|
|
3088
3090
|
class: "q-field__native--text"
|
|
3089
|
-
},
|
|
3090
|
-
function
|
|
3091
|
+
}, ra = { key: 1 };
|
|
3092
|
+
function sa(e, t, n, l, o, r) {
|
|
3091
3093
|
const a = h("nested-menu-item"), i = h("q-list"), s = h("q-menu"), c = h("q-select");
|
|
3092
3094
|
return y(), V(c, {
|
|
3093
3095
|
ref: "qSelectRef",
|
|
@@ -3124,7 +3126,7 @@ function ra(e, t, n, l, o, r) {
|
|
|
3124
3126
|
title: e.ellipsis ? e.displayValue : void 0
|
|
3125
3127
|
}, {
|
|
3126
3128
|
selected: D(() => [
|
|
3127
|
-
e.ellipsis ? (y(), w("span",
|
|
3129
|
+
e.ellipsis ? (y(), w("span", ia, O(e.displayValue), 1)) : (y(), w("span", ra, O(e.displayValue), 1))
|
|
3128
3130
|
]),
|
|
3129
3131
|
option: D(() => [...t[1] || (t[1] = [])]),
|
|
3130
3132
|
default: D(() => [
|
|
@@ -3154,7 +3156,7 @@ function ra(e, t, n, l, o, r) {
|
|
|
3154
3156
|
_: 1
|
|
3155
3157
|
}, 8, ["class", "style", "modelValue", "options", "label", "clearable", "popup-content-class", "disable", "readonly", "title"]);
|
|
3156
3158
|
}
|
|
3157
|
-
const
|
|
3159
|
+
const pf = /* @__PURE__ */ Z(aa, [["render", sa]]), ua = B({
|
|
3158
3160
|
name: "JCTable",
|
|
3159
3161
|
components: {
|
|
3160
3162
|
JCCopy: Mn,
|
|
@@ -3326,17 +3328,17 @@ const df = /* @__PURE__ */ Z(oa, [["render", ra]]), sa = B({
|
|
|
3326
3328
|
getContainerStyle: M
|
|
3327
3329
|
};
|
|
3328
3330
|
}
|
|
3329
|
-
}),
|
|
3331
|
+
}), ca = { class: "j-c-table-wrapper" }, da = { class: "j-c-table" }, pa = { class: "j-c-table__header-content" }, fa = { class: "j-c-table__cell-wrapper" }, ga = ["onClick"], ma = ["onClick"], ya = {
|
|
3330
3332
|
key: 2,
|
|
3331
3333
|
class: "j-c-table__cell-suffix"
|
|
3332
|
-
},
|
|
3334
|
+
}, Ma = {
|
|
3333
3335
|
key: 0,
|
|
3334
3336
|
class: "j-c-table__empty"
|
|
3335
3337
|
};
|
|
3336
|
-
function
|
|
3338
|
+
function Ia(e, t, n, l, o, r) {
|
|
3337
3339
|
const a = h("j-c-tooltip"), i = h("j-c-copy");
|
|
3338
|
-
return y(), w("div",
|
|
3339
|
-
|
|
3340
|
+
return y(), w("div", ca, [
|
|
3341
|
+
C("div", {
|
|
3340
3342
|
class: q(["j-c-table-container", {
|
|
3341
3343
|
"j-c-table-container--empty": !e.rows || e.rows.length === 0,
|
|
3342
3344
|
"j-c-table-container--fixed-header": e.fixedHeader
|
|
@@ -3344,9 +3346,9 @@ function Ma(e, t, n, l, o, r) {
|
|
|
3344
3346
|
ref: "tableContainerRef",
|
|
3345
3347
|
style: G(e.getContainerStyle())
|
|
3346
3348
|
}, [
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3349
|
+
C("table", da, [
|
|
3350
|
+
C("thead", null, [
|
|
3351
|
+
C("tr", null, [
|
|
3350
3352
|
(y(!0), w(_, null, ee(e.columns, (s, c) => (y(), w("th", {
|
|
3351
3353
|
key: s.name || c,
|
|
3352
3354
|
class: q([
|
|
@@ -3362,12 +3364,12 @@ function Ma(e, t, n, l, o, r) {
|
|
|
3362
3364
|
column: s,
|
|
3363
3365
|
index: c
|
|
3364
3366
|
}, () => [
|
|
3365
|
-
|
|
3367
|
+
C("div", pa, O(s.label || s.name), 1)
|
|
3366
3368
|
], !0)
|
|
3367
3369
|
], 6))), 128))
|
|
3368
3370
|
])
|
|
3369
3371
|
]),
|
|
3370
|
-
|
|
3372
|
+
C("tbody", null, [
|
|
3371
3373
|
(y(!0), w(_, null, ee(e.rows, (s, c) => (y(), w("tr", {
|
|
3372
3374
|
key: e.getRowKey(s, c),
|
|
3373
3375
|
class: "j-c-table__body-row"
|
|
@@ -3390,28 +3392,28 @@ function Ma(e, t, n, l, o, r) {
|
|
|
3390
3392
|
rowIndex: c,
|
|
3391
3393
|
colIndex: d
|
|
3392
3394
|
}, () => [
|
|
3393
|
-
|
|
3395
|
+
C("div", fa, [
|
|
3394
3396
|
u.maxWidth || u.wrapCount ? (y(), V(a, {
|
|
3395
3397
|
key: 0,
|
|
3396
3398
|
content: e.formatCellValue(s, u),
|
|
3397
3399
|
disabled: !e.shouldShowTooltip(c, d, u)
|
|
3398
3400
|
}, {
|
|
3399
3401
|
default: D(() => [
|
|
3400
|
-
|
|
3402
|
+
C("div", {
|
|
3401
3403
|
ref_for: !0,
|
|
3402
3404
|
ref: (p) => e.setCellRef(p, c, d),
|
|
3403
3405
|
class: q(["j-c-table__cell-content", [e.getCellContentClass(u), { "j-c-table__cell-content--clickable": e.isClickable(u, s) }]]),
|
|
3404
3406
|
style: G(e.getCellContentStyle(u)),
|
|
3405
3407
|
onClick: (p) => e.handleCellClick(u, s)
|
|
3406
|
-
}, O(e.formatCellValue(s, u)), 15,
|
|
3408
|
+
}, O(e.formatCellValue(s, u)), 15, ga)
|
|
3407
3409
|
]),
|
|
3408
3410
|
_: 2
|
|
3409
3411
|
}, 1032, ["content", "disabled"])) : (y(), w("div", {
|
|
3410
3412
|
key: 1,
|
|
3411
3413
|
class: q(["j-c-table__cell-content", { "j-c-table__cell-content--clickable": e.isClickable(u, s) }]),
|
|
3412
3414
|
onClick: (p) => e.handleCellClick(u, s)
|
|
3413
|
-
}, O(e.formatCellValue(s, u)), 11,
|
|
3414
|
-
u.copy ? (y(), w("div",
|
|
3415
|
+
}, O(e.formatCellValue(s, u)), 11, ma)),
|
|
3416
|
+
u.copy ? (y(), w("div", ya, [
|
|
3415
3417
|
b(i, {
|
|
3416
3418
|
text: e.getCopyValue(s, u)
|
|
3417
3419
|
}, null, 8, ["text"])
|
|
@@ -3423,25 +3425,25 @@ function Ma(e, t, n, l, o, r) {
|
|
|
3423
3425
|
])
|
|
3424
3426
|
])
|
|
3425
3427
|
], 6),
|
|
3426
|
-
!e.rows || e.rows.length === 0 ? (y(), w("div",
|
|
3428
|
+
!e.rows || e.rows.length === 0 ? (y(), w("div", Ma, [
|
|
3427
3429
|
Y(e.$slots, "empty", {}, () => [
|
|
3428
3430
|
J(O(e.emptyText), 1)
|
|
3429
3431
|
], !0)
|
|
3430
3432
|
])) : E("", !0)
|
|
3431
3433
|
]);
|
|
3432
3434
|
}
|
|
3433
|
-
const
|
|
3435
|
+
const ff = /* @__PURE__ */ Z(ua, [["render", Ia], ["__scopeId", "data-v-4cfe7804"]]), kt = z("hide-tooltip"), ha = {
|
|
3434
3436
|
mounted(e, t) {
|
|
3435
3437
|
const n = t.arg === "lines" ? t.value : 1;
|
|
3436
3438
|
e.addEventListener("mouseenter", () => {
|
|
3437
|
-
|
|
3439
|
+
Aa(e, n) ? kt.value = "" : kt.value = "hide-tooltip";
|
|
3438
3440
|
});
|
|
3439
3441
|
}
|
|
3440
3442
|
};
|
|
3441
|
-
function
|
|
3443
|
+
function Aa(e, t) {
|
|
3442
3444
|
return t === 1 ? e.scrollWidth > e.clientWidth : e.scrollHeight > e.clientHeight;
|
|
3443
3445
|
}
|
|
3444
|
-
const
|
|
3446
|
+
const Da = B({
|
|
3445
3447
|
name: "jQTooltip",
|
|
3446
3448
|
components: {
|
|
3447
3449
|
QTooltip: dl
|
|
@@ -3462,10 +3464,10 @@ const Aa = B({
|
|
|
3462
3464
|
}
|
|
3463
3465
|
},
|
|
3464
3466
|
directives: {
|
|
3465
|
-
"j-q-tooltip":
|
|
3467
|
+
"j-q-tooltip": ha
|
|
3466
3468
|
},
|
|
3467
3469
|
setup(e) {
|
|
3468
|
-
const t =
|
|
3470
|
+
const t = v(() => kt.value), n = v(() => e.lines === 1 ? "ellipsis" : "ellipsis-multi"), l = v(() => {
|
|
3469
3471
|
const o = e.contentStyle;
|
|
3470
3472
|
return e.lines > 1 ? `${o}; -webkit-line-clamp: ${e.lines};` : o;
|
|
3471
3473
|
});
|
|
@@ -3476,7 +3478,7 @@ const Aa = B({
|
|
|
3476
3478
|
};
|
|
3477
3479
|
}
|
|
3478
3480
|
});
|
|
3479
|
-
function
|
|
3481
|
+
function Ca(e, t, n, l, o, r) {
|
|
3480
3482
|
const a = h("q-tooltip"), i = xe("j-q-tooltip");
|
|
3481
3483
|
return oe((y(), w("div", {
|
|
3482
3484
|
class: q(["block", e.ellipsisClass]),
|
|
@@ -3498,10 +3500,10 @@ function Da(e, t, n, l, o, r) {
|
|
|
3498
3500
|
[i, e.lines, "lines"]
|
|
3499
3501
|
]);
|
|
3500
3502
|
}
|
|
3501
|
-
const
|
|
3503
|
+
const va = /* @__PURE__ */ Z(Da, [["render", Ca]]), Na = B({
|
|
3502
3504
|
name: "JCTabs",
|
|
3503
3505
|
components: {
|
|
3504
|
-
JQTooltip:
|
|
3506
|
+
JQTooltip: va
|
|
3505
3507
|
},
|
|
3506
3508
|
props: {
|
|
3507
3509
|
// 绑定当前选中的值 (v-model)
|
|
@@ -3567,11 +3569,11 @@ const Ca = /* @__PURE__ */ Z(Aa, [["render", Da]]), va = B({
|
|
|
3567
3569
|
}
|
|
3568
3570
|
};
|
|
3569
3571
|
}
|
|
3570
|
-
}),
|
|
3571
|
-
function
|
|
3572
|
+
}), ba = ["onClick"];
|
|
3573
|
+
function ja(e, t, n, l, o, r) {
|
|
3572
3574
|
const a = h("JQTooltip");
|
|
3573
3575
|
return y(), w("div", null, [
|
|
3574
|
-
|
|
3576
|
+
C("ul", {
|
|
3575
3577
|
class: q(["j-c-tabs", {
|
|
3576
3578
|
"j-c-tabs--disabled": e.disable,
|
|
3577
3579
|
"j-c-tabs--flat": e.variant === "flat",
|
|
@@ -3607,12 +3609,12 @@ function ba(e, t, n, l, o, r) {
|
|
|
3607
3609
|
}, null, 8, ["content", "content-style"])
|
|
3608
3610
|
], !0)
|
|
3609
3611
|
], !0)
|
|
3610
|
-
], 10,
|
|
3612
|
+
], 10, ba))), 128))
|
|
3611
3613
|
], 2),
|
|
3612
3614
|
Y(e.$slots, "default", {}, void 0, !0)
|
|
3613
3615
|
]);
|
|
3614
3616
|
}
|
|
3615
|
-
const
|
|
3617
|
+
const gf = /* @__PURE__ */ Z(Na, [["render", ja], ["__scopeId", "data-v-cc043f30"]]), wa = B({
|
|
3616
3618
|
name: "JCTitleLine",
|
|
3617
3619
|
props: {
|
|
3618
3620
|
label: { type: String }
|
|
@@ -3623,23 +3625,23 @@ const ff = /* @__PURE__ */ Z(va, [["render", ba], ["__scopeId", "data-v-cc043f30
|
|
|
3623
3625
|
hasSlot: (l) => Reflect.has(t, l)
|
|
3624
3626
|
};
|
|
3625
3627
|
}
|
|
3626
|
-
}),
|
|
3628
|
+
}), Sa = { class: "title-line" }, Ta = {
|
|
3627
3629
|
key: 0,
|
|
3628
3630
|
class: "title-line__extra"
|
|
3629
3631
|
};
|
|
3630
|
-
function
|
|
3632
|
+
function za(e, t, n, l, o, r) {
|
|
3631
3633
|
return y(), w("div", null, [
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
+
C("div", Sa, [
|
|
3635
|
+
C("span", null, [
|
|
3634
3636
|
J(O(e.label) + " ", 1),
|
|
3635
|
-
e.hasSlot("default") ? (y(), w("span",
|
|
3637
|
+
e.hasSlot("default") ? (y(), w("span", Ta, [
|
|
3636
3638
|
Y(e.$slots, "default", {}, void 0, !0)
|
|
3637
3639
|
])) : E("", !0)
|
|
3638
3640
|
])
|
|
3639
3641
|
])
|
|
3640
3642
|
]);
|
|
3641
3643
|
}
|
|
3642
|
-
const
|
|
3644
|
+
const mf = /* @__PURE__ */ Z(wa, [["render", za], ["__scopeId", "data-v-634ec7db"]]), ka = B({
|
|
3643
3645
|
name: "JCTooltipEllipsis",
|
|
3644
3646
|
inheritAttrs: !1,
|
|
3645
3647
|
components: {
|
|
@@ -3677,10 +3679,10 @@ const gf = /* @__PURE__ */ Z(ja, [["render", Ta], ["__scopeId", "data-v-634ec7db
|
|
|
3677
3679
|
}
|
|
3678
3680
|
},
|
|
3679
3681
|
setup(e) {
|
|
3680
|
-
const t = z(!1), n = z(), l = z(!1), o = z(!1), r =
|
|
3682
|
+
const t = z(!1), n = z(), l = z(!1), o = z(!1), r = v(() => {
|
|
3681
3683
|
const u = e.contentStyle;
|
|
3682
3684
|
return e.lines > 1 ? `${u}; -webkit-line-clamp: ${e.lines};` : u;
|
|
3683
|
-
}), a =
|
|
3685
|
+
}), a = v(() => e.lines === 1 ? "ellipsis" : "ellipsis-multi"), i = (u) => e.lines === 1 ? u.scrollWidth > u.clientWidth : u.scrollHeight > u.clientHeight;
|
|
3684
3686
|
return {
|
|
3685
3687
|
canShowTooltip: t,
|
|
3686
3688
|
checkOverflow: i,
|
|
@@ -3703,7 +3705,7 @@ const gf = /* @__PURE__ */ Z(ja, [["render", Ta], ["__scopeId", "data-v-634ec7db
|
|
|
3703
3705
|
};
|
|
3704
3706
|
}
|
|
3705
3707
|
});
|
|
3706
|
-
function
|
|
3708
|
+
function La(e, t, n, l, o, r) {
|
|
3707
3709
|
const a = h("j-c-tooltip");
|
|
3708
3710
|
return y(), V(a, {
|
|
3709
3711
|
class: "j-c-tooltip-ellipsis-wrapper",
|
|
@@ -3717,7 +3719,7 @@ function ka(e, t, n, l, o, r) {
|
|
|
3717
3719
|
"onUpdate:modelValue": t[2] || (t[2] = (i) => e.tooltipVisible = i)
|
|
3718
3720
|
}, {
|
|
3719
3721
|
default: D(() => [
|
|
3720
|
-
|
|
3722
|
+
C("div", {
|
|
3721
3723
|
ref: "contentRef",
|
|
3722
3724
|
class: q(["j-c-tooltip-ellipsis__content", [e.ellipsisClass, e.$attrs.class]]),
|
|
3723
3725
|
style: G(e.computedStyle),
|
|
@@ -3732,7 +3734,7 @@ function ka(e, t, n, l, o, r) {
|
|
|
3732
3734
|
_: 3
|
|
3733
3735
|
}, 8, ["content", "placement", "effect", "max-width", "offset", "disabled", "modelValue"]);
|
|
3734
3736
|
}
|
|
3735
|
-
const gt = /* @__PURE__ */ Z(
|
|
3737
|
+
const gt = /* @__PURE__ */ Z(ka, [["render", La], ["__scopeId", "data-v-d2df8539"]]), $a = B({
|
|
3736
3738
|
name: "JCTree",
|
|
3737
3739
|
components: {
|
|
3738
3740
|
JCTooltipEllipsis: gt,
|
|
@@ -3749,14 +3751,14 @@ const gt = /* @__PURE__ */ Z(za, [["render", ka], ["__scopeId", "data-v-d2df8539
|
|
|
3749
3751
|
},
|
|
3750
3752
|
emits: ["update:modelValue"],
|
|
3751
3753
|
setup(e, { emit: t, expose: n }) {
|
|
3752
|
-
const l = z(null), { t: o } = X(), r = z(e.modelValue ?? []), a =
|
|
3754
|
+
const l = z(null), { t: o } = X(), r = z(e.modelValue ?? []), a = v(() => e.tickStrategy === "strict" && !e.multiple), i = v(() => {
|
|
3753
3755
|
if (!e.leafOnly) return e.options;
|
|
3754
3756
|
const c = (u) => u.map((d) => {
|
|
3755
3757
|
const p = { ...d };
|
|
3756
3758
|
return d.children && d.children.length > 0 && (p.noTick = !0, p.children = c(d.children)), p;
|
|
3757
3759
|
});
|
|
3758
3760
|
return c(e.options);
|
|
3759
|
-
}), s =
|
|
3761
|
+
}), s = v({
|
|
3760
3762
|
get() {
|
|
3761
3763
|
return e.modelValue ?? r.value;
|
|
3762
3764
|
},
|
|
@@ -3784,7 +3786,7 @@ const gt = /* @__PURE__ */ Z(za, [["render", ka], ["__scopeId", "data-v-d2df8539
|
|
|
3784
3786
|
};
|
|
3785
3787
|
}
|
|
3786
3788
|
});
|
|
3787
|
-
function
|
|
3789
|
+
function Oa(e, t, n, l, o, r) {
|
|
3788
3790
|
const a = h("j-c-tooltip-ellipsis"), i = h("q-tree");
|
|
3789
3791
|
return y(), V(i, {
|
|
3790
3792
|
ref: "main",
|
|
@@ -3806,11 +3808,11 @@ function $a(e, t, n, l, o, r) {
|
|
|
3806
3808
|
_: 1
|
|
3807
3809
|
}, 8, ["ticked", "label-key", "node-key", "nodes", "tick-strategy", "no-nodes-label"]);
|
|
3808
3810
|
}
|
|
3809
|
-
const
|
|
3811
|
+
const Va = /* @__PURE__ */ Z($a, [["render", Oa]]), Ea = B({
|
|
3810
3812
|
name: "JCTreeSelect",
|
|
3811
3813
|
components: {
|
|
3812
3814
|
JQInput: ft,
|
|
3813
|
-
JCTree:
|
|
3815
|
+
JCTree: Va,
|
|
3814
3816
|
QField: Ne,
|
|
3815
3817
|
QIcon: le,
|
|
3816
3818
|
QPopupProxy: he
|
|
@@ -3839,7 +3841,7 @@ const Oa = /* @__PURE__ */ Z(La, [["render", $a]]), Va = B({
|
|
|
3839
3841
|
},
|
|
3840
3842
|
slots: Object,
|
|
3841
3843
|
setup(e, { emit: t, expose: n }) {
|
|
3842
|
-
const l = z(null), { t: o } = X(), r = z(!1), a = z(""), i = z([]), s = z(e.modelValue ?? []), c =
|
|
3844
|
+
const l = z(null), { t: o } = X(), r = z(!1), a = z(""), i = z([]), s = z(e.modelValue ?? []), c = v(() => e.tickStrategy === "strict" && !e.multiple), u = v({
|
|
3843
3845
|
get() {
|
|
3844
3846
|
return e.modelValue || s.value;
|
|
3845
3847
|
},
|
|
@@ -3847,7 +3849,7 @@ const Oa = /* @__PURE__ */ Z(La, [["render", $a]]), Va = B({
|
|
|
3847
3849
|
let S = $;
|
|
3848
3850
|
s.value = S, t("update:modelValue", S), c.value && S != null && S.length && (r.value = !1);
|
|
3849
3851
|
}
|
|
3850
|
-
}), d =
|
|
3852
|
+
}), d = v({
|
|
3851
3853
|
get() {
|
|
3852
3854
|
return e.disable || e.readonly ? !1 : r.value;
|
|
3853
3855
|
},
|
|
@@ -3871,13 +3873,13 @@ const Oa = /* @__PURE__ */ Z(La, [["render", $a]]), Va = B({
|
|
|
3871
3873
|
(N = g.children) != null && N.length && g.children.forEach(S), (k = u.value) != null && k.includes(g[e.optionValue]) && $.push(g);
|
|
3872
3874
|
};
|
|
3873
3875
|
return (e.options || []).forEach(S), $;
|
|
3874
|
-
}, I =
|
|
3876
|
+
}, I = v(() => {
|
|
3875
3877
|
var S;
|
|
3876
3878
|
if (!((S = u.value) != null && S.length)) return;
|
|
3877
3879
|
if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options || []);
|
|
3878
3880
|
const $ = p();
|
|
3879
3881
|
return $ == null ? void 0 : $.map((M) => M[e.optionLabel]).toString();
|
|
3880
|
-
}), j =
|
|
3882
|
+
}), j = v(() => e.options || []), A = v(() => a.value ? i.value : j.value), m = ($) => {
|
|
3881
3883
|
if (i.value = [], !$) return;
|
|
3882
3884
|
let S;
|
|
3883
3885
|
try {
|
|
@@ -3919,11 +3921,11 @@ const Oa = /* @__PURE__ */ Z(La, [["render", $a]]), Va = B({
|
|
|
3919
3921
|
getFullValue: p
|
|
3920
3922
|
};
|
|
3921
3923
|
}
|
|
3922
|
-
}),
|
|
3924
|
+
}), Pa = { class: "j-c-tree-select-value-display" }, Ya = { class: "j-c-tree-select-popup" }, Qa = {
|
|
3923
3925
|
key: 0,
|
|
3924
3926
|
class: "j-c-tree-select-popup__header"
|
|
3925
|
-
},
|
|
3926
|
-
function
|
|
3927
|
+
}, qa = { class: "j-c-tree-select-popup__main" };
|
|
3928
|
+
function Ra(e, t, n, l, o, r) {
|
|
3927
3929
|
const a = h("q-icon"), i = h("j-q-input"), s = h("j-c-tree"), c = h("q-popup-proxy"), u = h("q-field");
|
|
3928
3930
|
return y(), V(u, {
|
|
3929
3931
|
class: q(["j-c-tree-select", {
|
|
@@ -3942,7 +3944,7 @@ function qa(e, t, n, l, o, r) {
|
|
|
3942
3944
|
onClear: e.handleClear
|
|
3943
3945
|
}, {
|
|
3944
3946
|
control: D(() => [
|
|
3945
|
-
|
|
3947
|
+
C("div", Pa, [
|
|
3946
3948
|
Y(e.$slots, "value-display", {}, () => [
|
|
3947
3949
|
J(O(e.computedValueDisplay), 1)
|
|
3948
3950
|
])
|
|
@@ -3966,7 +3968,7 @@ function qa(e, t, n, l, o, r) {
|
|
|
3966
3968
|
];
|
|
3967
3969
|
}),
|
|
3968
3970
|
default: D(() => [
|
|
3969
|
-
oe(
|
|
3971
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
3970
3972
|
[fe, !e.label && (e.computedValue === null || e.computedValue === void 0 || Array.isArray(e.computedValue) && e.computedValue.length === 0)]
|
|
3971
3973
|
]),
|
|
3972
3974
|
b(c, {
|
|
@@ -3975,8 +3977,8 @@ function qa(e, t, n, l, o, r) {
|
|
|
3975
3977
|
style: { "border-top-left-radius": "4px", "border-top-right-radius": "4px" }
|
|
3976
3978
|
}, {
|
|
3977
3979
|
default: D(() => [
|
|
3978
|
-
|
|
3979
|
-
e.filterable ? (y(), w("div",
|
|
3980
|
+
C("div", Ya, [
|
|
3981
|
+
e.filterable ? (y(), w("div", Qa, [
|
|
3980
3982
|
b(i, {
|
|
3981
3983
|
modelValue: e.inputValue,
|
|
3982
3984
|
"onUpdate:modelValue": [
|
|
@@ -3990,7 +3992,7 @@ function qa(e, t, n, l, o, r) {
|
|
|
3990
3992
|
"sm-input": ""
|
|
3991
3993
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "readonly", "disable"])
|
|
3992
3994
|
])) : E("", !0),
|
|
3993
|
-
|
|
3995
|
+
C("div", qa, [
|
|
3994
3996
|
b(s, {
|
|
3995
3997
|
ref: "treeRef",
|
|
3996
3998
|
modelValue: e.computedValue,
|
|
@@ -4013,7 +4015,7 @@ function qa(e, t, n, l, o, r) {
|
|
|
4013
4015
|
_: 3
|
|
4014
4016
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
4015
4017
|
}
|
|
4016
|
-
const
|
|
4018
|
+
const yf = /* @__PURE__ */ Z(Ea, [["render", Ra]]), Ua = B({
|
|
4017
4019
|
name: "JCOrgSelect",
|
|
4018
4020
|
components: {
|
|
4019
4021
|
JCTooltipEllipsis: gt,
|
|
@@ -4043,7 +4045,7 @@ const mf = /* @__PURE__ */ Z(Va, [["render", qa]]), Ra = B({
|
|
|
4043
4045
|
},
|
|
4044
4046
|
slots: Object,
|
|
4045
4047
|
setup(e, { emit: t, expose: n }) {
|
|
4046
|
-
const l = z(null), o = z(null), { t: r } = X(), a = z(!1), i = z(""), s = z([]), c = z(e.modelValue ?? []), u =
|
|
4048
|
+
const l = z(null), o = z(null), { t: r } = X(), a = z(!1), i = z(""), s = z([]), c = z(e.modelValue ?? []), u = v({
|
|
4047
4049
|
get() {
|
|
4048
4050
|
return e.modelValue || c.value;
|
|
4049
4051
|
},
|
|
@@ -4051,7 +4053,7 @@ const mf = /* @__PURE__ */ Z(Va, [["render", qa]]), Ra = B({
|
|
|
4051
4053
|
let f = M;
|
|
4052
4054
|
c.value = f, t("update:modelValue", f), f != null && f.length && (a.value = !1);
|
|
4053
4055
|
}
|
|
4054
|
-
}), d =
|
|
4056
|
+
}), d = v({
|
|
4055
4057
|
get() {
|
|
4056
4058
|
var M;
|
|
4057
4059
|
return (M = u.value) != null && M.length ? u.value[0] : null;
|
|
@@ -4059,7 +4061,7 @@ const mf = /* @__PURE__ */ Z(Va, [["render", qa]]), Ra = B({
|
|
|
4059
4061
|
set(M) {
|
|
4060
4062
|
M != null && (u.value = [M]);
|
|
4061
4063
|
}
|
|
4062
|
-
}), p =
|
|
4064
|
+
}), p = v({
|
|
4063
4065
|
get() {
|
|
4064
4066
|
return e.disable || e.readonly ? !1 : a.value;
|
|
4065
4067
|
},
|
|
@@ -4090,13 +4092,13 @@ const mf = /* @__PURE__ */ Z(Va, [["render", qa]]), Ra = B({
|
|
|
4090
4092
|
(R = k.children) != null && R.length && k.children.forEach(f), (F = u.value) != null && F.includes(k[e.optionValue]) && M.push(k);
|
|
4091
4093
|
};
|
|
4092
4094
|
return (e.options || []).forEach(f), M;
|
|
4093
|
-
}, A =
|
|
4095
|
+
}, A = v(() => {
|
|
4094
4096
|
var f;
|
|
4095
4097
|
if (!((f = u.value) != null && f.length)) return;
|
|
4096
4098
|
if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options);
|
|
4097
4099
|
const M = j();
|
|
4098
4100
|
return M == null ? void 0 : M.map((g) => g[e.optionLabel]).toString();
|
|
4099
|
-
}), m =
|
|
4101
|
+
}), m = v(() => e.options), T = v(() => i.value ? s.value : m.value), L = (M) => {
|
|
4100
4102
|
if (s.value = [], !M) return;
|
|
4101
4103
|
let f;
|
|
4102
4104
|
try {
|
|
@@ -4140,11 +4142,11 @@ const mf = /* @__PURE__ */ Z(Va, [["render", qa]]), Ra = B({
|
|
|
4140
4142
|
getFullValue: j
|
|
4141
4143
|
};
|
|
4142
4144
|
}
|
|
4143
|
-
}),
|
|
4145
|
+
}), Ba = ["placeholder"], Za = {
|
|
4144
4146
|
key: 1,
|
|
4145
4147
|
class: "j-c-org-select-value-display"
|
|
4146
|
-
},
|
|
4147
|
-
function
|
|
4148
|
+
}, Wa = { class: "j-c-org-select-popup" }, Fa = { class: "j-c-org-select-popup__main" };
|
|
4149
|
+
function Ha(e, t, n, l, o, r) {
|
|
4148
4150
|
const a = h("q-icon"), i = h("j-c-tooltip-ellipsis"), s = h("q-tree"), c = h("q-popup-proxy"), u = h("q-field");
|
|
4149
4151
|
return y(), V(u, {
|
|
4150
4152
|
class: q(["j-c-org-select", {
|
|
@@ -4173,9 +4175,9 @@ function Fa(e, t, n, l, o, r) {
|
|
|
4173
4175
|
}, ["stop"])),
|
|
4174
4176
|
onMousedown: t[2] || (t[2] = te(() => {
|
|
4175
4177
|
}, ["stop"]))
|
|
4176
|
-
}, null, 40,
|
|
4178
|
+
}, null, 40, Ba)), [
|
|
4177
4179
|
[rl, e.inputValue]
|
|
4178
|
-
]) : (y(), w("div",
|
|
4180
|
+
]) : (y(), w("div", Za, [
|
|
4179
4181
|
Y(e.$slots, "value-display", {}, () => [
|
|
4180
4182
|
J(O(e.computedValueDisplay), 1)
|
|
4181
4183
|
])
|
|
@@ -4199,7 +4201,7 @@ function Fa(e, t, n, l, o, r) {
|
|
|
4199
4201
|
];
|
|
4200
4202
|
}),
|
|
4201
4203
|
default: D(() => [
|
|
4202
|
-
oe(
|
|
4204
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
4203
4205
|
[fe, !e.label && (!e.computedValue || e.computedValue.length === 0) && !e.popupVisible]
|
|
4204
4206
|
]),
|
|
4205
4207
|
b(c, {
|
|
@@ -4211,8 +4213,8 @@ function Fa(e, t, n, l, o, r) {
|
|
|
4211
4213
|
onShow: e.onPopupShow
|
|
4212
4214
|
}, {
|
|
4213
4215
|
default: D(() => [
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
+
C("div", Wa, [
|
|
4217
|
+
C("div", Fa, [
|
|
4216
4218
|
b(s, {
|
|
4217
4219
|
ref: "treeRef",
|
|
4218
4220
|
selected: e.treeSelected,
|
|
@@ -4240,7 +4242,7 @@ function Fa(e, t, n, l, o, r) {
|
|
|
4240
4242
|
_: 3
|
|
4241
4243
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
4242
4244
|
}
|
|
4243
|
-
const
|
|
4245
|
+
const Mf = /* @__PURE__ */ Z(Ua, [["render", Ha]]), Ke = [
|
|
4244
4246
|
{
|
|
4245
4247
|
platform: "EIM",
|
|
4246
4248
|
path: "/orchestration/",
|
|
@@ -4347,26 +4349,26 @@ function Jt() {
|
|
|
4347
4349
|
const e = ((t = document.querySelector('meta[name="host"]')) == null ? void 0 : t.getAttribute("content")) || "";
|
|
4348
4350
|
return ["auto.redteamobile.com", "iot.redteaready.com", "eim-eu.esim.plus"].includes(e) ? Dt.iot : ["sunmi.redteaready.com", "esim.sunmi.com"].includes(e) ? Dt.sunmi : Dt.simlessly;
|
|
4349
4351
|
}
|
|
4350
|
-
function
|
|
4352
|
+
function Ja() {
|
|
4351
4353
|
const e = Jt();
|
|
4352
4354
|
document.title = e.title;
|
|
4353
4355
|
const t = document.getElementById("favicon-link");
|
|
4354
4356
|
t.href = e.logo;
|
|
4355
4357
|
}
|
|
4356
|
-
function
|
|
4358
|
+
function Ga(e) {
|
|
4357
4359
|
const t = Jt();
|
|
4358
4360
|
return e === "zh-CN" ? t.titleZh : t.titleEn;
|
|
4359
4361
|
}
|
|
4360
|
-
function
|
|
4362
|
+
function _a() {
|
|
4361
4363
|
return Jt().navLogo;
|
|
4362
4364
|
}
|
|
4363
|
-
const
|
|
4364
|
-
"nav-cmp":
|
|
4365
|
-
"nav-data-ops":
|
|
4366
|
-
"nav-eim":
|
|
4367
|
-
"nav-eum":
|
|
4368
|
-
"nav-resource":
|
|
4369
|
-
},
|
|
4365
|
+
const Ka = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M16.336 3a3 3 0 0 1 2.209.97l2.664 2.9a3 3 0 0 1 .79 2.03V18a3 3 0 0 1-3 3H12.28a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h4.056Zm-3.113 9a1.5 1.5 0 0 0-1.5 1.5v3.838a1.5 1.5 0 0 0 1.5 1.5h4.833a1.5 1.5 0 0 0 1.5-1.5V13.5a1.5 1.5 0 0 0-1.5-1.5h-4.833Z"/><path stroke-width="1.3" stroke="currentColor" d="M16.984 11.507v7.912M14.404 20v-4.497a1 1 0 0 0-1-1h-1.816"/><mask fill="#fff" id="a"><path d="M8.19 8.573v10.845h7.958-10.29v-.04c-2.133-.012-3.859-1.783-3.859-3.967 0-1.783 1.151-3.292 2.734-3.792.161-1.712 1.571-3.052 3.288-3.052.056 0 .112.003.168.006Z"/></mask><path fill="currentColor" d="M8.19 8.573v10.845h7.958-10.29v-.04c-2.133-.012-3.859-1.783-3.859-3.967 0-1.783 1.151-3.292 2.734-3.792.161-1.712 1.571-3.052 3.288-3.052.056 0 .112.003.168.006Z"/><path mask="url(#a)" fill="currentColor" d="M8.19 8.573h1v-.95l-.95-.049-.05 1Zm0 10.845h-1v1h1v-1Zm7.958 0h1v-1h-1v1Zm0 0v1h1v-1h-1Zm-10.29 0h-1v1h1v-1Zm0-.04h1v-.995l-.995-.005-.006 1ZM1.998 15.41h-1 1Zm2.734-3.792.301.954.633-.2.062-.66-.996-.094Zm3.288-3.052v-1 1Zm.168.006h-1v10.845h2V8.573h-1Zm0 10.845v1h7.96v-2h-7.96v1Zm7.96 0h-1 2-1Zm0 0v-1H5.856v2h10.291v-1Zm-10.292 0h1v-.04h-2v.04h1Zm0-.04.006-1c-1.562-.009-2.864-1.313-2.864-2.967h-2c0 2.714 2.15 4.952 4.853 4.967l.005-1ZM2 15.41h1c0-1.347.868-2.47 2.035-2.838l-.3-.954-.302-.954C2.432 11.296 1 13.191 1 15.411h1Zm2.734-3.792.996.093c.115-1.222 1.115-2.145 2.292-2.145v-2c-2.256 0-4.077 1.756-4.283 3.959l.995.093Zm3.288-3.052v1c.026 0 .056.002.117.005l.051-.999.052-.999c-.05-.002-.133-.007-.22-.007v1Z"/></svg>', xa = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M16.4 10.766a5.835 5.835 0 1 1-.001 11.67 5.835 5.835 0 0 1 0-11.67ZM12 2.067c-1.684 0-3.125 2.585-3.715 6.244C4.602 8.897 2 10.327 2 12l.013.204c.202 1.584 2.74 2.923 6.272 3.486.286 1.772.771 3.293 1.388 4.39a7.357 7.357 0 0 0 1.337 1.802C5.952 21.388 2 17.154 2 12c0-5.486 4.477-9.933 10-9.933Zm5.726 11.78a.65.65 0 0 0-.648.65v4.51c0 .773.98 1.105 1.451.493l.971-1.26a.649.649 0 0 0-1.028-.789l-.097.125v-3.08a.65.65 0 0 0-.65-.65Zm-2.012.658c0-.773-.98-1.106-1.451-.493l-.97 1.26a.649.649 0 0 0 1.028.79l.097-.127v3.08c0 .358.29.65.648.65a.65.65 0 0 0 .648-.65v-4.51Zm-7.621-4.64a24.349 24.349 0 0 0 0 4.269c-.995-.182-1.878-.428-2.61-.719-.801-.318-1.349-.66-1.67-.962a1.316 1.316 0 0 1-.276-.34A.258.258 0 0 1 3.5 12c0-.01.002-.046.037-.114.04-.076.12-.193.276-.34.322-.303.869-.644 1.67-.962.732-.291 1.615-.537 2.61-.719ZM12 9.526c.731 0 1.438.035 2.111.097a7.353 7.353 0 0 0-4.562 3.87 23.169 23.169 0 0 1 .071-3.846 23.11 23.11 0 0 1 2.38-.12Zm.515-7.446C17.798 2.346 22 6.686 22 12c0 .072-.004.143-.006.214l-.008-.009h.001L22 12c0-1.673-2.603-3.104-6.286-3.69C15.148 4.8 13.8 2.28 12.206 2.08L12 2.067l.515.013ZM12 3.567c.012 0 .171 0 .47.315.305.32.647.862.966 1.655.292.725.54 1.599.722 2.583a24.55 24.55 0 0 0-1.643-.089L12 8.026c-.741 0-1.464.033-2.16.094.184-.984.43-1.858.723-2.583.319-.793.662-1.336.966-1.655.3-.316.46-.315.471-.315Z"/></svg>', Xa = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M7.023 5.454a2 2 0 0 1 1.938-1.506h8.032a2 2 0 0 1 1.938 1.506l1.619 6.343a1 1 0 0 1-.97 1.247H6.374a1 1 0 0 1-.969-1.248l1.62-6.342ZM7.523 13.64c1.477 0 2.673 1.224 2.673 2.734 0 .1-.006.197-.016.294.52.306.872.879.872 1.537 0 .98-.777 1.774-1.735 1.775-.021 0-.043-.004-.065-.004V20H3.978v-.021C2.884 19.973 2 19.064 2 17.945c0-.914.59-1.688 1.401-1.944.083-.878.805-1.563 1.685-1.564.169 0 .332.026.485.073a2.637 2.637 0 0 1 1.952-.87ZM18.835 14.185a2.592 2.592 0 1 1 0 5.183h-6.75c.171-.385.266-.81.266-1.254l-.01-.26a3.077 3.077 0 0 0-1.352-2.301 3.574 3.574 0 0 0-.635-1.368h8.48Z"/><circle fill="#fff" r=".808" cy="16.82" cx="18.644"/></svg>', ei = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="m17.482 12.034 4.498 1.315c.16.046.27.193.27.359v2.695A6.954 6.954 0 0 1 17.494 23a.376.376 0 0 1-.237 0 6.955 6.955 0 0 1-4.757-6.599v-2.693c0-.166.11-.313.27-.36l4.503-1.314.051-.01a.375.375 0 0 1 .158.01ZM12.436 2a3 3 0 0 1 2.157.915l3.311 3.426a3 3 0 0 1 .843 2.085v2.726l-.928-.27a1.58 1.58 0 0 0-.739-.033l-.052.01-.091.023-2.255.657a1.99 1.99 0 0 0-.841-.187h-.55v.593l-.857.251-.002.001c-.16.047-.309.119-.442.21v-1.055H8.906a2 2 0 0 0-2 2v.284h2.211c.911 0 1.65.739 1.65 1.65v3.75h.971a8.165 8.165 0 0 0 1.637 2.799H7a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h5.435Zm7.374 13.727a.4.4 0 0 0-.565.02l-2.197 2.352-.951-1.02a.4.4 0 0 0-.585.546l1.244 1.333a.4.4 0 0 0 .585 0l2.488-2.666a.4.4 0 0 0-.02-.565ZM6.906 17.035a2 2 0 0 0 2 2h.562v-3.749a.35.35 0 0 0-.35-.35H6.905v2.1Z"/></svg>', ti = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke-linejoin="round" stroke-linecap="round" stroke-width="1.427" stroke="currentColor" d="M19.857 15.824a4.38 4.38 0 0 0 1.656-4.906C20.936 9.097 19.168 8.1 17.258 8.1h-1.104a7.008 7.008 0 1 0-12.036 6.387"/><path fill="currentColor" d="M18.658 18.5a2 2 0 0 0-2-2H7.5a2 2 0 0 0-2 2V20a2 2 0 0 0 2 2h9.158a2 2 0 0 0 2-2v-1.5Z"/><path fill="#fff" d="M8.832 19.334a.666.666 0 1 1-1.332 0 .666.666 0 0 1 1.332 0ZM11.5 19.334a.666.666 0 1 1-1.332 0 .666.666 0 0 1 1.332 0Z"/><path fill="currentColor" d="M18.658 12a2 2 0 0 0-2-2H7.5a2 2 0 0 0-2 2v1.5a2 2 0 0 0 2 2h9.158a2 2 0 0 0 2-2V12Z"/><path fill="#fff" d="M8.832 12.834a.666.666 0 1 1-1.332 0 .666.666 0 0 1 1.332 0ZM11.5 12.834a.666.666 0 1 1-1.332 0 .666.666 0 0 1 1.332 0Z"/></svg>', ni = {
|
|
4366
|
+
"nav-cmp": Ka,
|
|
4367
|
+
"nav-data-ops": xa,
|
|
4368
|
+
"nav-eim": Xa,
|
|
4369
|
+
"nav-eum": ei,
|
|
4370
|
+
"nav-resource": ti
|
|
4371
|
+
}, li = B({
|
|
4370
4372
|
name: "JCPlatform",
|
|
4371
4373
|
components: {
|
|
4372
4374
|
QList: et,
|
|
@@ -4389,9 +4391,9 @@ const _a = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24
|
|
|
4389
4391
|
}
|
|
4390
4392
|
},
|
|
4391
4393
|
setup(e) {
|
|
4392
|
-
const { t, locale: n } = X(), l = (i) => i.platform === e.platformName, o = (i) =>
|
|
4394
|
+
const { t, locale: n } = X(), l = (i) => i.platform === e.platformName, o = (i) => ni[i.icon] || "", r = (i) => {
|
|
4393
4395
|
window.location.href = i.path;
|
|
4394
|
-
}, a =
|
|
4396
|
+
}, a = v(() => Ke.filter((i) => ((e == null ? void 0 : e.userRoleList) ?? []).some((s) => s.platform === i.platform)));
|
|
4395
4397
|
return {
|
|
4396
4398
|
handleClickPlatform: r,
|
|
4397
4399
|
platformList: Ke,
|
|
@@ -4402,8 +4404,8 @@ const _a = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24
|
|
|
4402
4404
|
displayPlatformList: a
|
|
4403
4405
|
};
|
|
4404
4406
|
}
|
|
4405
|
-
}),
|
|
4406
|
-
function
|
|
4407
|
+
}), oi = ["onClick"], ai = ["innerHTML"];
|
|
4408
|
+
function ii(e, t, n, l, o, r) {
|
|
4407
4409
|
const a = h("q-item"), i = h("q-list");
|
|
4408
4410
|
return y(!0), w(_, null, ee(e.displayPlatformList, (s, c) => (y(), w("div", {
|
|
4409
4411
|
class: "left-menu",
|
|
@@ -4411,7 +4413,7 @@ function ai(e, t, n, l, o, r) {
|
|
|
4411
4413
|
}, [
|
|
4412
4414
|
b(i, null, {
|
|
4413
4415
|
default: D(() => [
|
|
4414
|
-
|
|
4416
|
+
C("div", {
|
|
4415
4417
|
onClick: (u) => e.handleClickPlatform(s),
|
|
4416
4418
|
class: "q-mr-md"
|
|
4417
4419
|
}, [
|
|
@@ -4421,27 +4423,27 @@ function ai(e, t, n, l, o, r) {
|
|
|
4421
4423
|
class: "q-px-sm"
|
|
4422
4424
|
}, {
|
|
4423
4425
|
default: D(() => [
|
|
4424
|
-
|
|
4426
|
+
C("div", {
|
|
4425
4427
|
class: q(["left-menu-item", { active: e.isActive(s), "zh-CN": e.locale === "zh-CN" }])
|
|
4426
4428
|
}, [
|
|
4427
|
-
|
|
4429
|
+
C("span", {
|
|
4428
4430
|
class: "platform-icon q-mr-sm",
|
|
4429
4431
|
innerHTML: e.getPlatformIconSvg(s)
|
|
4430
|
-
}, null, 8,
|
|
4432
|
+
}, null, 8, ai),
|
|
4431
4433
|
J(" " + O(e.t(`platform.${s.platform}`)), 1)
|
|
4432
4434
|
], 2)
|
|
4433
4435
|
]),
|
|
4434
4436
|
_: 2
|
|
4435
4437
|
}, 1024)
|
|
4436
|
-
], 8,
|
|
4438
|
+
], 8, oi)
|
|
4437
4439
|
]),
|
|
4438
4440
|
_: 2
|
|
4439
4441
|
}, 1024)
|
|
4440
4442
|
]))), 128);
|
|
4441
4443
|
}
|
|
4442
|
-
const
|
|
4444
|
+
const If = /* @__PURE__ */ Z(li, [["render", ii], ["__scopeId", "data-v-c6725588"]]), Ct = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", rn = (e) => {
|
|
4443
4445
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
4444
|
-
},
|
|
4446
|
+
}, ri = B({
|
|
4445
4447
|
name: "JQAutocomplete",
|
|
4446
4448
|
components: {
|
|
4447
4449
|
JCTooltip: be,
|
|
@@ -4463,7 +4465,7 @@ const Mf = /* @__PURE__ */ Z(ni, [["render", ai], ["__scopeId", "data-v-c6725588
|
|
|
4463
4465
|
list: [],
|
|
4464
4466
|
uniqueKey: `search_history_${e.searchKey}`,
|
|
4465
4467
|
visible: !1
|
|
4466
|
-
}), r =
|
|
4468
|
+
}), r = v(() => e.deletable ? 25 : 15), a = v(() => `search_history_${e.searchKey}`);
|
|
4467
4469
|
ze(() => {
|
|
4468
4470
|
i();
|
|
4469
4471
|
}), W(
|
|
@@ -4530,10 +4532,10 @@ const Mf = /* @__PURE__ */ Z(ni, [["render", ai], ["__scopeId", "data-v-c6725588
|
|
|
4530
4532
|
uniqueKey: a
|
|
4531
4533
|
};
|
|
4532
4534
|
}
|
|
4533
|
-
}),
|
|
4534
|
-
function
|
|
4535
|
+
}), si = { class: "j-q-autocomplete" }, ui = { class: "j-q-autocomplete-list-container" }, ci = ["onMousedown"], di = { class: "value" };
|
|
4536
|
+
function pi(e, t, n, l, o, r) {
|
|
4535
4537
|
const a = h("q-input"), i = h("j-c-tooltip"), s = h("q-icon");
|
|
4536
|
-
return y(), w("div",
|
|
4538
|
+
return y(), w("div", si, [
|
|
4537
4539
|
b(a, me({
|
|
4538
4540
|
class: {
|
|
4539
4541
|
"j-q-input--table": e.label,
|
|
@@ -4557,12 +4559,12 @@ function di(e, t, n, l, o, r) {
|
|
|
4557
4559
|
outlined: "",
|
|
4558
4560
|
ref: "inputRef"
|
|
4559
4561
|
}), null, 16, ["class", "label", "model-value", "onUpdate:modelValue", "onFocus", "onBlur", "onClear"]),
|
|
4560
|
-
oe(
|
|
4561
|
-
|
|
4562
|
+
oe(C("div", ui, [
|
|
4563
|
+
C("ul", null, [
|
|
4562
4564
|
(y(!0), w(_, null, ee(e.historyParams.filterList, (c) => (y(), w("li", {
|
|
4563
4565
|
key: c.id
|
|
4564
4566
|
}, [
|
|
4565
|
-
|
|
4567
|
+
C("div", {
|
|
4566
4568
|
class: "list-item-content",
|
|
4567
4569
|
onMousedown: (u) => e.onSelectItem(c)
|
|
4568
4570
|
}, [
|
|
@@ -4573,11 +4575,11 @@ function di(e, t, n, l, o, r) {
|
|
|
4573
4575
|
offset: e.tooltipOffset
|
|
4574
4576
|
}, {
|
|
4575
4577
|
default: D(() => [
|
|
4576
|
-
|
|
4578
|
+
C("span", di, O(c.value), 1)
|
|
4577
4579
|
]),
|
|
4578
4580
|
_: 2
|
|
4579
4581
|
}, 1032, ["content", "disabled", "offset"])
|
|
4580
|
-
], 40,
|
|
4582
|
+
], 40, ci),
|
|
4581
4583
|
e.deletable ? (y(), V(s, {
|
|
4582
4584
|
key: 0,
|
|
4583
4585
|
name: "app:clear",
|
|
@@ -4591,14 +4593,14 @@ function di(e, t, n, l, o, r) {
|
|
|
4591
4593
|
])
|
|
4592
4594
|
]);
|
|
4593
4595
|
}
|
|
4594
|
-
const
|
|
4596
|
+
const hf = /* @__PURE__ */ Z(ri, [["render", pi], ["__scopeId", "data-v-f7d0b6f1"]]), Je = {
|
|
4595
4597
|
LARGE: "large",
|
|
4596
4598
|
NORMAL: "normal",
|
|
4597
4599
|
SMALL: "small"
|
|
4598
4600
|
}, vt = {
|
|
4599
4601
|
PRIMARY: "primary",
|
|
4600
4602
|
SECONDARY: "secondary"
|
|
4601
|
-
},
|
|
4603
|
+
}, fi = B({
|
|
4602
4604
|
name: "JQButtonDropdown",
|
|
4603
4605
|
components: {
|
|
4604
4606
|
QBtnDropdown: fl,
|
|
@@ -4626,6 +4628,14 @@ const If = /* @__PURE__ */ Z(ii, [["render", di], ["__scopeId", "data-v-f7d0b6f1
|
|
|
4626
4628
|
type: Array,
|
|
4627
4629
|
default: () => []
|
|
4628
4630
|
},
|
|
4631
|
+
/**
|
|
4632
|
+
* 传递给菜单项 onClick 的业务数据
|
|
4633
|
+
* @default null
|
|
4634
|
+
*/
|
|
4635
|
+
item: {
|
|
4636
|
+
type: null,
|
|
4637
|
+
default: null
|
|
4638
|
+
},
|
|
4629
4639
|
/**
|
|
4630
4640
|
* 按钮大小
|
|
4631
4641
|
* @default 'large'
|
|
@@ -4652,6 +4662,14 @@ const If = /* @__PURE__ */ Z(ii, [["render", di], ["__scopeId", "data-v-f7d0b6f1
|
|
|
4652
4662
|
type: String,
|
|
4653
4663
|
default: null
|
|
4654
4664
|
},
|
|
4665
|
+
/**
|
|
4666
|
+
* 是否隐藏下拉箭头
|
|
4667
|
+
* @default false
|
|
4668
|
+
*/
|
|
4669
|
+
hideDropdownArrow: {
|
|
4670
|
+
type: Boolean,
|
|
4671
|
+
default: !1
|
|
4672
|
+
},
|
|
4655
4673
|
/**
|
|
4656
4674
|
* 是否禁用
|
|
4657
4675
|
* @default false
|
|
@@ -4694,16 +4712,17 @@ const If = /* @__PURE__ */ Z(ii, [["render", di], ["__scopeId", "data-v-f7d0b6f1
|
|
|
4694
4712
|
},
|
|
4695
4713
|
slots: Object,
|
|
4696
4714
|
setup(e, { emit: t, expose: n }) {
|
|
4697
|
-
const l = z(null), o = Pe(nt, z([])), r = Pe(tt, z([])), a =
|
|
4715
|
+
const l = z(null), o = Pe(nt, z([])), r = Pe(tt, z([])), a = v(() => e.items.filter((d) => d.code ? o.value.includes(d.code) || r.value.includes(d.code) : !0)), i = v(() => e.dropdownIcon || e.type === vt.SECONDARY ? "app:dropdown-btn" : "app:dropdown-btn-white"), s = v(() => ({
|
|
4698
4716
|
"j-q-button-dropdown": !0,
|
|
4699
4717
|
[`j-q-button-dropdown--${{
|
|
4700
4718
|
[Je.LARGE]: "lg",
|
|
4701
4719
|
[Je.NORMAL]: "md",
|
|
4702
4720
|
[Je.SMALL]: "sm"
|
|
4703
4721
|
}[e.size]}`]: !0,
|
|
4704
|
-
[`j-q-button-dropdown--${e.type}`]: !0
|
|
4722
|
+
[`j-q-button-dropdown--${e.type}`]: !0,
|
|
4723
|
+
"j-q-button-dropdown--hide-arrow": e.hideDropdownArrow
|
|
4705
4724
|
})), c = (d) => {
|
|
4706
|
-
t("select", d), d.onClick && d.onClick();
|
|
4725
|
+
t("select", d), d.onClick && d.onClick(e.item);
|
|
4707
4726
|
};
|
|
4708
4727
|
return n({
|
|
4709
4728
|
get $el() {
|
|
@@ -4730,8 +4749,8 @@ const If = /* @__PURE__ */ Z(ii, [["render", di], ["__scopeId", "data-v-f7d0b6f1
|
|
|
4730
4749
|
handleItemClick: c
|
|
4731
4750
|
};
|
|
4732
4751
|
}
|
|
4733
|
-
}),
|
|
4734
|
-
function
|
|
4752
|
+
}), gi = { class: "j-q-button-dropdown-list" };
|
|
4753
|
+
function mi(e, t, n, l, o, r) {
|
|
4735
4754
|
const a = h("q-icon"), i = h("q-item-section"), s = h("q-item-label"), c = h("q-item"), u = h("q-list"), d = h("q-btn-dropdown"), p = xe("close-popup");
|
|
4736
4755
|
return e.filteredItems.length > 0 || e.$slots.default ? (y(), V(d, me({
|
|
4737
4756
|
key: 0,
|
|
@@ -4751,7 +4770,7 @@ function gi(e, t, n, l, o, r) {
|
|
|
4751
4770
|
"menu-offset": e.menuOffset
|
|
4752
4771
|
}, e.$attrs), Ye({
|
|
4753
4772
|
default: D(() => [
|
|
4754
|
-
|
|
4773
|
+
C("div", gi, [
|
|
4755
4774
|
Y(e.$slots, "default", {}, () => [
|
|
4756
4775
|
b(u, null, {
|
|
4757
4776
|
default: D(() => [
|
|
@@ -4806,7 +4825,7 @@ function gi(e, t, n, l, o, r) {
|
|
|
4806
4825
|
} : void 0
|
|
4807
4826
|
]), 1040, ["class", "dropdown-icon", "label", "disable", "menu-anchor", "menu-self", "menu-offset"])) : E("", !0);
|
|
4808
4827
|
}
|
|
4809
|
-
const
|
|
4828
|
+
const Af = /* @__PURE__ */ Z(fi, [["render", mi], ["__scopeId", "data-v-16a9113b"]]), yi = B({
|
|
4810
4829
|
name: "JQConfirm",
|
|
4811
4830
|
components: {
|
|
4812
4831
|
QPopupProxy: he,
|
|
@@ -4831,7 +4850,7 @@ const hf = /* @__PURE__ */ Z(pi, [["render", gi], ["__scopeId", "data-v-cb8acc10
|
|
|
4831
4850
|
emits: ["confirm"],
|
|
4832
4851
|
slots: Object,
|
|
4833
4852
|
setup(e, { emit: t }) {
|
|
4834
|
-
const { t: n } = X(), l = z(null), o =
|
|
4853
|
+
const { t: n } = X(), l = z(null), o = v(() => e.confirmText || n("action.confirm")), r = v(() => e.cancelText || n("action.cancel"));
|
|
4835
4854
|
return {
|
|
4836
4855
|
popupRef: l,
|
|
4837
4856
|
handleCancel: () => {
|
|
@@ -4844,10 +4863,10 @@ const hf = /* @__PURE__ */ Z(pi, [["render", gi], ["__scopeId", "data-v-cb8acc10
|
|
|
4844
4863
|
computedCancelText: r
|
|
4845
4864
|
};
|
|
4846
4865
|
}
|
|
4847
|
-
}),
|
|
4848
|
-
function
|
|
4866
|
+
}), Mi = { class: "inline-block" }, Ii = { class: "title" }, hi = { class: "j-q-confirm-actions" };
|
|
4867
|
+
function Ai(e, t, n, l, o, r) {
|
|
4849
4868
|
const a = h("q-card-section"), i = h("j-q-button"), s = h("q-card"), c = h("q-popup-proxy");
|
|
4850
|
-
return y(), w("div",
|
|
4869
|
+
return y(), w("div", Mi, [
|
|
4851
4870
|
Y(e.$slots, "default", {}, void 0, !0),
|
|
4852
4871
|
b(c, { ref: "popupRef" }, {
|
|
4853
4872
|
default: D(() => [
|
|
@@ -4858,11 +4877,11 @@ function hi(e, t, n, l, o, r) {
|
|
|
4858
4877
|
default: D(() => [
|
|
4859
4878
|
b(a, { class: "row items-center q-pa-none" }, {
|
|
4860
4879
|
default: D(() => [
|
|
4861
|
-
|
|
4880
|
+
C("span", Ii, O(e.title), 1)
|
|
4862
4881
|
]),
|
|
4863
4882
|
_: 1
|
|
4864
4883
|
}),
|
|
4865
|
-
|
|
4884
|
+
C("div", hi, [
|
|
4866
4885
|
b(i, {
|
|
4867
4886
|
class: "j-q-confirm-btn",
|
|
4868
4887
|
label: e.computedCancelText,
|
|
@@ -4886,14 +4905,14 @@ function hi(e, t, n, l, o, r) {
|
|
|
4886
4905
|
}, 512)
|
|
4887
4906
|
]);
|
|
4888
4907
|
}
|
|
4889
|
-
const
|
|
4908
|
+
const Df = /* @__PURE__ */ Z(yi, [["render", Ai], ["__scopeId", "data-v-e5c79a0f"]]), Ve = "YYYY-MM-DD HH:mm:ss", Nt = (e) => {
|
|
4890
4909
|
if (e === null || typeof e > "u" || e === "") return null;
|
|
4891
4910
|
if (typeof e == "number") return new Date(e);
|
|
4892
4911
|
if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
|
|
4893
4912
|
if (e instanceof Date) return e;
|
|
4894
4913
|
let t = x.extractDate(e, "YYYY-MM-DD");
|
|
4895
4914
|
return isNaN(t.getTime()) && (t = x.extractDate(e, Ve)), isNaN(t.getTime()) ? null : t;
|
|
4896
|
-
},
|
|
4915
|
+
}, Di = B({
|
|
4897
4916
|
name: "JQDate",
|
|
4898
4917
|
components: {
|
|
4899
4918
|
QField: Ne,
|
|
@@ -4925,7 +4944,7 @@ const Af = /* @__PURE__ */ Z(mi, [["render", hi], ["__scopeId", "data-v-e5c79a0f
|
|
|
4925
4944
|
},
|
|
4926
4945
|
slots: Object,
|
|
4927
4946
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
4928
|
-
const o = z(!1), r = z(null), { t: a } = X(), i =
|
|
4947
|
+
const o = z(!1), r = z(null), { t: a } = X(), i = v({
|
|
4929
4948
|
get() {
|
|
4930
4949
|
const m = e.modelValue;
|
|
4931
4950
|
if (m == null || m === "")
|
|
@@ -4968,7 +4987,7 @@ const Af = /* @__PURE__ */ Z(mi, [["render", hi], ["__scopeId", "data-v-e5c79a0f
|
|
|
4968
4987
|
}
|
|
4969
4988
|
t("update:modelValue", T), m && (e.range || (o.value = !1));
|
|
4970
4989
|
}
|
|
4971
|
-
}), s =
|
|
4990
|
+
}), s = v(() => {
|
|
4972
4991
|
if (e.valueDisplayFn)
|
|
4973
4992
|
return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
4974
4993
|
const m = i.value;
|
|
@@ -4981,7 +5000,7 @@ const Af = /* @__PURE__ */ Z(mi, [["render", hi], ["__scopeId", "data-v-e5c79a0f
|
|
|
4981
5000
|
return typeof m == "string" ? `${m} - ${m}` : "";
|
|
4982
5001
|
}
|
|
4983
5002
|
return String(m);
|
|
4984
|
-
}), c =
|
|
5003
|
+
}), c = v(() => !!l["popup-prepend"]), u = (m) => {
|
|
4985
5004
|
t("rangeStart", m);
|
|
4986
5005
|
}, d = (m) => {
|
|
4987
5006
|
t("rangeEnd", m);
|
|
@@ -5009,11 +5028,11 @@ const Af = /* @__PURE__ */ Z(mi, [["render", hi], ["__scopeId", "data-v-e5c79a0f
|
|
|
5009
5028
|
slots: l
|
|
5010
5029
|
};
|
|
5011
5030
|
}
|
|
5012
|
-
}),
|
|
5031
|
+
}), Ci = { class: "date-value-display" }, vi = {
|
|
5013
5032
|
key: 0,
|
|
5014
5033
|
class: "date-popup-prepend"
|
|
5015
5034
|
};
|
|
5016
|
-
function
|
|
5035
|
+
function Ni(e, t, n, l, o, r) {
|
|
5017
5036
|
const a = h("q-date"), i = h("q-popup-proxy"), s = h("q-icon"), c = h("q-field");
|
|
5018
5037
|
return y(), V(c, {
|
|
5019
5038
|
ref: "fieldRef",
|
|
@@ -5035,7 +5054,7 @@ function vi(e, t, n, l, o, r) {
|
|
|
5035
5054
|
onClear: e.handleClear
|
|
5036
5055
|
}, {
|
|
5037
5056
|
control: D(() => [
|
|
5038
|
-
|
|
5057
|
+
C("div", Ci, O(e.computedValueDisplay), 1)
|
|
5039
5058
|
]),
|
|
5040
5059
|
append: D(() => [
|
|
5041
5060
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (y(), V(s, {
|
|
@@ -5048,7 +5067,7 @@ function vi(e, t, n, l, o, r) {
|
|
|
5048
5067
|
}, null, 8, ["onClick"])) : E("", !0)
|
|
5049
5068
|
]),
|
|
5050
5069
|
default: D(() => [
|
|
5051
|
-
oe(
|
|
5070
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
5052
5071
|
[fe, !e.computedValueDisplay && !e.label]
|
|
5053
5072
|
]),
|
|
5054
5073
|
b(i, {
|
|
@@ -5057,11 +5076,11 @@ function vi(e, t, n, l, o, r) {
|
|
|
5057
5076
|
onHide: e.onHidePopup
|
|
5058
5077
|
}, {
|
|
5059
5078
|
default: D(() => [
|
|
5060
|
-
|
|
5079
|
+
C("div", {
|
|
5061
5080
|
class: "date-popup__inner",
|
|
5062
5081
|
style: G(e.popupInnerStyle)
|
|
5063
5082
|
}, [
|
|
5064
|
-
e.slots["popup-prepend"] ? (y(), w("div",
|
|
5083
|
+
e.slots["popup-prepend"] ? (y(), w("div", vi, [
|
|
5065
5084
|
Y(e.$slots, "popup-prepend")
|
|
5066
5085
|
])) : E("", !0),
|
|
5067
5086
|
b(a, {
|
|
@@ -5082,9 +5101,9 @@ function vi(e, t, n, l, o, r) {
|
|
|
5082
5101
|
_: 3
|
|
5083
5102
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
|
|
5084
5103
|
}
|
|
5085
|
-
const
|
|
5104
|
+
const Cf = /* @__PURE__ */ Z(Di, [["render", Ni]]), bi = "rtcpt", Ln = `${bi}_third_component_state`, sn = () => localStorage.getItem(Ln), un = (e) => {
|
|
5086
5105
|
localStorage.setItem(Ln, e);
|
|
5087
|
-
}, Ee = "YYYY-MM-DD HH:mm:ss", bt = "YYYY/MM/DD",
|
|
5106
|
+
}, Ee = "YYYY-MM-DD HH:mm:ss", bt = "YYYY/MM/DD", ji = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), wi = (e, t) => {
|
|
5088
5107
|
const n = t + 1;
|
|
5089
5108
|
let l = e % n;
|
|
5090
5109
|
return l < 0 ? l + n : l;
|
|
@@ -5102,7 +5121,7 @@ const Df = /* @__PURE__ */ Z(Ai, [["render", vi]]), Ni = "rtcpt", Ln = `${Ni}_th
|
|
|
5102
5121
|
if (!e) return null;
|
|
5103
5122
|
const n = e.replace(/\//g, "-"), l = `${String(t.h).padStart(2, "0")}:${String(t.m).padStart(2, "0")}:${String(t.s).padStart(2, "0")}`;
|
|
5104
5123
|
return `${n} ${l}`;
|
|
5105
|
-
},
|
|
5124
|
+
}, Si = B({
|
|
5106
5125
|
name: "JQDateTime",
|
|
5107
5126
|
components: {
|
|
5108
5127
|
QField: Ne,
|
|
@@ -5160,7 +5179,7 @@ const Df = /* @__PURE__ */ Z(Ai, [["render", vi]]), Ni = "rtcpt", Ln = `${Ni}_th
|
|
|
5160
5179
|
} catch {
|
|
5161
5180
|
un(JSON.stringify({ datetimeTooltipVisible: !1 }));
|
|
5162
5181
|
}
|
|
5163
|
-
}, T = z({ from: null, to: null }), L = z(""), $ = Te(Oe(null)), S = Te(Oe(null)), M = z(null), f = z(""), g = Te(Oe(null)), N =
|
|
5182
|
+
}, T = z({ from: null, to: null }), L = z(""), $ = Te(Oe(null)), S = Te(Oe(null)), M = z(null), f = z(""), g = Te(Oe(null)), N = v({
|
|
5164
5183
|
get: () => typeof e.modelValue == "string" && e.modelValue === "" ? null : e.modelValue,
|
|
5165
5184
|
set: (Q) => t("update:modelValue", Q)
|
|
5166
5185
|
}), k = () => {
|
|
@@ -5230,11 +5249,11 @@ const Df = /* @__PURE__ */ Z(Ai, [["render", vi]]), Ni = "rtcpt", Ln = `${Ni}_th
|
|
|
5230
5249
|
), W(M, (Q) => {
|
|
5231
5250
|
e.range || p.value || (N.value = Q);
|
|
5232
5251
|
});
|
|
5233
|
-
const F = (Q, H, K, ne) =>
|
|
5252
|
+
const F = (Q, H, K, ne) => v({
|
|
5234
5253
|
get: () => String(Q[H]).padStart(2, "0"),
|
|
5235
5254
|
set: (ae) => {
|
|
5236
5255
|
let re = parseInt(ae, 10);
|
|
5237
|
-
isNaN(re) && (re = 0), Q[H] =
|
|
5256
|
+
isNaN(re) && (re = 0), Q[H] = ji(re, K), R(ne);
|
|
5238
5257
|
}
|
|
5239
5258
|
}), ie = F($, "h", 23, "from"), pe = F($, "m", 59, "from"), de = F($, "s", 59, "from"), Me = F(S, "h", 23, "to"), Ue = F(S, "m", 59, "to"), mt = F(S, "s", 59, "to"), yt = F(g, "h", 23, "single"), Mt = F(g, "m", 59, "single"), ot = F(g, "s", 59, "single"), It = () => r.value = !1, Be = () => {
|
|
5240
5259
|
var Q;
|
|
@@ -5244,8 +5263,8 @@ const Df = /* @__PURE__ */ Z(Ai, [["render", vi]]), Ni = "rtcpt", Ln = `${Ni}_th
|
|
|
5244
5263
|
}, U = (Q, H, K, ne, ae) => {
|
|
5245
5264
|
Q.preventDefault();
|
|
5246
5265
|
const re = Q.deltaY > 0 ? -1 : 1;
|
|
5247
|
-
H[K] =
|
|
5248
|
-
}, ue =
|
|
5266
|
+
H[K] = wi(H[K] + re, ne), R(ae);
|
|
5267
|
+
}, ue = v(() => {
|
|
5249
5268
|
if (e.valueDisplayFn) return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
5250
5269
|
if (e.range) {
|
|
5251
5270
|
const Q = e.modelValue;
|
|
@@ -5302,14 +5321,14 @@ const Df = /* @__PURE__ */ Z(Ai, [["render", vi]]), Ni = "rtcpt", Ln = `${Ni}_th
|
|
|
5302
5321
|
closeTooltip: m
|
|
5303
5322
|
};
|
|
5304
5323
|
}
|
|
5305
|
-
}),
|
|
5324
|
+
}), Ti = { class: "date-value-display" }, zi = { class: "date-popup__inner date-datetime-range-popup" }, ki = {
|
|
5306
5325
|
key: 0,
|
|
5307
5326
|
class: "date-popup-prepend"
|
|
5308
|
-
},
|
|
5327
|
+
}, Li = { class: "row no-wrap items-stretch" }, $i = { class: "column items-stretch justify-center date-time-control" }, Oi = {
|
|
5309
5328
|
key: 0,
|
|
5310
5329
|
class: "datetime-scroll-tooltip"
|
|
5311
|
-
},
|
|
5312
|
-
function
|
|
5330
|
+
}, Vi = { class: "tooltip-content" }, Ei = { class: "row column q-mb-sm q-mt-auto" }, Pi = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, Yi = { class: "row q-gutter-x-xs items-center" }, Qi = { class: "row column q-mb-md" }, qi = { class: "fs-12 text-grey h-30 row items-center" }, Ri = { class: "row q-gutter-x-xs items-center" }, Ui = { class: "row column q-mb-sm q-mt-auto" }, Bi = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, Zi = { class: "row q-gutter-x-xs items-center" };
|
|
5331
|
+
function Wi(e, t, n, l, o, r) {
|
|
5313
5332
|
const a = h("q-date"), i = h("q-icon"), s = h("q-select"), c = h("q-btn"), u = h("q-popup-proxy"), d = h("q-field");
|
|
5314
5333
|
return y(), V(d, {
|
|
5315
5334
|
ref: "fieldRef",
|
|
@@ -5331,7 +5350,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5331
5350
|
onClick: e.handleFieldClick
|
|
5332
5351
|
}, {
|
|
5333
5352
|
control: D(() => [
|
|
5334
|
-
|
|
5353
|
+
C("div", Ti, O(e.computedValueDisplay), 1)
|
|
5335
5354
|
]),
|
|
5336
5355
|
append: D(() => [
|
|
5337
5356
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (y(), V(i, {
|
|
@@ -5344,7 +5363,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5344
5363
|
}, null, 8, ["onClick"])) : E("", !0)
|
|
5345
5364
|
]),
|
|
5346
5365
|
default: D(() => [
|
|
5347
|
-
oe(
|
|
5366
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
5348
5367
|
[fe, !e.computedValueDisplay && !e.label]
|
|
5349
5368
|
]),
|
|
5350
5369
|
b(u, {
|
|
@@ -5354,11 +5373,11 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5354
5373
|
onHide: e.onHidePopup
|
|
5355
5374
|
}, {
|
|
5356
5375
|
default: D(() => [
|
|
5357
|
-
|
|
5358
|
-
e.slots["popup-prepend"] ? (y(), w("div",
|
|
5376
|
+
C("div", zi, [
|
|
5377
|
+
e.slots["popup-prepend"] ? (y(), w("div", ki, [
|
|
5359
5378
|
Y(e.$slots, "popup-prepend")
|
|
5360
5379
|
])) : E("", !0),
|
|
5361
|
-
|
|
5380
|
+
C("div", Li, [
|
|
5362
5381
|
b(a, {
|
|
5363
5382
|
"model-value": e.range ? e.currentRangeDate : e.currentSingleDate,
|
|
5364
5383
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => e.range ? e.currentRangeDate = p : e.currentSingleDate = p),
|
|
@@ -5366,11 +5385,11 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5366
5385
|
options: e.options,
|
|
5367
5386
|
range: e.range
|
|
5368
5387
|
}, null, 8, ["model-value", "options", "range"]),
|
|
5369
|
-
|
|
5388
|
+
C("div", $i, [
|
|
5370
5389
|
b(ut, { name: "tooltip-fade" }, {
|
|
5371
5390
|
default: D(() => [
|
|
5372
|
-
e.showScrollTooltip ? (y(), w("div",
|
|
5373
|
-
|
|
5391
|
+
e.showScrollTooltip ? (y(), w("div", Oi, [
|
|
5392
|
+
C("div", Vi, [
|
|
5374
5393
|
J(O(e.t("messages.date.scrollTooltip")) + " ", 1),
|
|
5375
5394
|
b(i, {
|
|
5376
5395
|
name: "close",
|
|
@@ -5379,15 +5398,15 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5379
5398
|
onClick: e.closeTooltip
|
|
5380
5399
|
}, null, 8, ["onClick"])
|
|
5381
5400
|
]),
|
|
5382
|
-
t[20] || (t[20] =
|
|
5401
|
+
t[20] || (t[20] = C("div", { class: "tooltip-arrow" }, null, -1))
|
|
5383
5402
|
])) : E("", !0)
|
|
5384
5403
|
]),
|
|
5385
5404
|
_: 1
|
|
5386
5405
|
}),
|
|
5387
5406
|
e.range ? (y(), w(_, { key: 0 }, [
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5407
|
+
C("div", Ei, [
|
|
5408
|
+
C("div", Pi, O(e.t("messages.date.start")), 1),
|
|
5409
|
+
C("div", Yi, [
|
|
5391
5410
|
b(s, {
|
|
5392
5411
|
key: "fromH",
|
|
5393
5412
|
modelValue: e.fromH,
|
|
@@ -5400,7 +5419,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5400
5419
|
style: { width: "80px" },
|
|
5401
5420
|
onWheel: t[2] || (t[2] = te((p) => e.handleTimeWheel(p, e.fromTimeParts, "h", 23, "from"), ["prevent"]))
|
|
5402
5421
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"]),
|
|
5403
|
-
t[21] || (t[21] =
|
|
5422
|
+
t[21] || (t[21] = C("div", { class: "text-caption" }, ":", -1)),
|
|
5404
5423
|
b(s, {
|
|
5405
5424
|
key: "fromM",
|
|
5406
5425
|
modelValue: e.fromM,
|
|
@@ -5413,7 +5432,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5413
5432
|
style: { width: "80px" },
|
|
5414
5433
|
onWheel: t[4] || (t[4] = te((p) => e.handleTimeWheel(p, e.fromTimeParts, "m", 59, "from"), ["prevent"]))
|
|
5415
5434
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"]),
|
|
5416
|
-
t[22] || (t[22] =
|
|
5435
|
+
t[22] || (t[22] = C("div", { class: "text-caption" }, ":", -1)),
|
|
5417
5436
|
b(s, {
|
|
5418
5437
|
key: "fromS",
|
|
5419
5438
|
modelValue: e.fromS,
|
|
@@ -5428,9 +5447,9 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5428
5447
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"])
|
|
5429
5448
|
])
|
|
5430
5449
|
]),
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5450
|
+
C("div", Qi, [
|
|
5451
|
+
C("div", qi, O(e.t("messages.date.end")), 1),
|
|
5452
|
+
C("div", Ri, [
|
|
5434
5453
|
b(s, {
|
|
5435
5454
|
key: "toH",
|
|
5436
5455
|
modelValue: e.toH,
|
|
@@ -5443,7 +5462,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5443
5462
|
style: { width: "80px" },
|
|
5444
5463
|
onWheel: t[8] || (t[8] = te((p) => e.handleTimeWheel(p, e.toTimeParts, "h", 23, "to"), ["prevent"]))
|
|
5445
5464
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"]),
|
|
5446
|
-
t[23] || (t[23] =
|
|
5465
|
+
t[23] || (t[23] = C("div", { class: "text-caption" }, ":", -1)),
|
|
5447
5466
|
b(s, {
|
|
5448
5467
|
key: "toM",
|
|
5449
5468
|
modelValue: e.toM,
|
|
@@ -5456,7 +5475,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5456
5475
|
style: { width: "80px" },
|
|
5457
5476
|
onWheel: t[10] || (t[10] = te((p) => e.handleTimeWheel(p, e.toTimeParts, "m", 59, "to"), ["prevent"]))
|
|
5458
5477
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"]),
|
|
5459
|
-
t[24] || (t[24] =
|
|
5478
|
+
t[24] || (t[24] = C("div", { class: "text-caption" }, ":", -1)),
|
|
5460
5479
|
b(s, {
|
|
5461
5480
|
key: "toS",
|
|
5462
5481
|
modelValue: e.toS,
|
|
@@ -5472,9 +5491,9 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5472
5491
|
])
|
|
5473
5492
|
])
|
|
5474
5493
|
], 64)) : (y(), w(_, { key: 1 }, [
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5494
|
+
C("div", Ui, [
|
|
5495
|
+
C("div", Bi, O(e.t("messages.date.hour")) + "/" + O(e.t("messages.date.minute")) + "/" + O(e.t("messages.date.second")), 1),
|
|
5496
|
+
C("div", Zi, [
|
|
5478
5497
|
b(s, {
|
|
5479
5498
|
key: "singleH",
|
|
5480
5499
|
modelValue: e.singleH,
|
|
@@ -5487,7 +5506,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5487
5506
|
style: { width: "80px" },
|
|
5488
5507
|
onWheel: t[14] || (t[14] = te((p) => e.handleTimeWheel(p, e.singleTimeParts, "h", 23, "single"), ["prevent"]))
|
|
5489
5508
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"]),
|
|
5490
|
-
t[25] || (t[25] =
|
|
5509
|
+
t[25] || (t[25] = C("div", { class: "text-caption" }, ":", -1)),
|
|
5491
5510
|
b(s, {
|
|
5492
5511
|
key: "singleM",
|
|
5493
5512
|
modelValue: e.singleM,
|
|
@@ -5500,7 +5519,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5500
5519
|
style: { width: "80px" },
|
|
5501
5520
|
onWheel: t[16] || (t[16] = te((p) => e.handleTimeWheel(p, e.singleTimeParts, "m", 59, "single"), ["prevent"]))
|
|
5502
5521
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"]),
|
|
5503
|
-
t[26] || (t[26] =
|
|
5522
|
+
t[26] || (t[26] = C("div", { class: "text-caption" }, ":", -1)),
|
|
5504
5523
|
b(s, {
|
|
5505
5524
|
key: "singleS",
|
|
5506
5525
|
modelValue: e.singleS,
|
|
@@ -5515,9 +5534,9 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5515
5534
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"])
|
|
5516
5535
|
])
|
|
5517
5536
|
]),
|
|
5518
|
-
t[27] || (t[27] =
|
|
5519
|
-
|
|
5520
|
-
|
|
5537
|
+
t[27] || (t[27] = C("div", { class: "row column" }, [
|
|
5538
|
+
C("div", { class: "fs-12 text-grey h-30 row items-center" }, " "),
|
|
5539
|
+
C("div", { class: "row q-gutter-x-xs items-center" })
|
|
5521
5540
|
], -1))
|
|
5522
5541
|
], 64)),
|
|
5523
5542
|
b(c, {
|
|
@@ -5538,7 +5557,7 @@ function Zi(e, t, n, l, o, r) {
|
|
|
5538
5557
|
_: 3
|
|
5539
5558
|
}, 8, ["class", "model-value", "dense", "disable", "readonly", "label", "outlined", "rules", "title", "onClick"]);
|
|
5540
5559
|
}
|
|
5541
|
-
const
|
|
5560
|
+
const vf = /* @__PURE__ */ Z(Si, [["render", Wi]]), Fi = B({
|
|
5542
5561
|
name: "JQMonthList",
|
|
5543
5562
|
components: { QBtn: Ie },
|
|
5544
5563
|
props: {
|
|
@@ -5553,10 +5572,10 @@ const Cf = /* @__PURE__ */ Z(wi, [["render", Zi]]), Wi = B({
|
|
|
5553
5572
|
pick: (e) => !0
|
|
5554
5573
|
},
|
|
5555
5574
|
setup(e, { emit: t }) {
|
|
5556
|
-
const { locale: n } = X(), l =
|
|
5575
|
+
const { locale: n } = X(), l = v(() => new Array(12).fill(0).map((S, M) => ({ YYYY: e.year, MI: M }))), o = v(() => {
|
|
5557
5576
|
const S = e.locale || n.value;
|
|
5558
5577
|
return new Intl.DateTimeFormat(S, { month: "short" });
|
|
5559
|
-
}), r = z(void 0), a =
|
|
5578
|
+
}), r = z(void 0), a = v(() => {
|
|
5560
5579
|
if (!(!e.range || !e.rangeStartValue || !r.value))
|
|
5561
5580
|
return { from: Math.min(e.rangeStartValue, r.value), to: Math.max(e.rangeStartValue, r.value) };
|
|
5562
5581
|
}), i = (S, M) => {
|
|
@@ -5616,10 +5635,10 @@ const Cf = /* @__PURE__ */ Z(wi, [["render", Zi]]), Wi = B({
|
|
|
5616
5635
|
}
|
|
5617
5636
|
};
|
|
5618
5637
|
}
|
|
5619
|
-
}),
|
|
5620
|
-
function
|
|
5638
|
+
}), Hi = { class: "j-q-month-list" }, Ji = ["onMouseenter"];
|
|
5639
|
+
function Gi(e, t, n, l, o, r) {
|
|
5621
5640
|
const a = h("q-btn");
|
|
5622
|
-
return y(), w("ul",
|
|
5641
|
+
return y(), w("ul", Hi, [
|
|
5623
5642
|
(y(!0), w(_, null, ee(e.computedMonthItems, (i) => (y(), w("li", {
|
|
5624
5643
|
key: `${i.YYYY}-${i.MI}`,
|
|
5625
5644
|
class: q(["month-item", {
|
|
@@ -5647,10 +5666,10 @@ function Ji(e, t, n, l, o, r) {
|
|
|
5647
5666
|
]),
|
|
5648
5667
|
_: 2
|
|
5649
5668
|
}, 1032, ["color", "disable", "flat", "onClick"])
|
|
5650
|
-
], 42,
|
|
5669
|
+
], 42, Ji))), 128))
|
|
5651
5670
|
]);
|
|
5652
5671
|
}
|
|
5653
|
-
const
|
|
5672
|
+
const _i = /* @__PURE__ */ Z(Fi, [["render", Gi]]), Ki = (e) => {
|
|
5654
5673
|
if (e === null || typeof e > "u") return null;
|
|
5655
5674
|
if (e instanceof Date) return e;
|
|
5656
5675
|
if (typeof e == "number") return new Date(e);
|
|
@@ -5659,7 +5678,7 @@ const Gi = /* @__PURE__ */ Z(Wi, [["render", Ji]]), _i = (e) => {
|
|
|
5659
5678
|
return isNaN(t.getTime()) ? null : t;
|
|
5660
5679
|
}
|
|
5661
5680
|
return null;
|
|
5662
|
-
},
|
|
5681
|
+
}, xi = B({
|
|
5663
5682
|
name: "JQYearList",
|
|
5664
5683
|
components: { QBtn: Ie },
|
|
5665
5684
|
props: {
|
|
@@ -5670,13 +5689,13 @@ const Gi = /* @__PURE__ */ Z(Wi, [["render", Ji]]), _i = (e) => {
|
|
|
5670
5689
|
"update:modelValue": (e) => !0
|
|
5671
5690
|
},
|
|
5672
5691
|
setup(e, { emit: t }) {
|
|
5673
|
-
const n =
|
|
5692
|
+
const n = v(() => new Array(20).fill(0).map((i, s) => e.intervalStartYear + s)), l = (/* @__PURE__ */ new Date()).getFullYear();
|
|
5674
5693
|
return {
|
|
5675
5694
|
computedYearItems: n,
|
|
5676
5695
|
isCurrentYear: (i) => i === l,
|
|
5677
5696
|
isItemActive: (i) => {
|
|
5678
5697
|
if (!e.modelValue) return !1;
|
|
5679
|
-
const s =
|
|
5698
|
+
const s = Ki(e.modelValue);
|
|
5680
5699
|
return (s == null ? void 0 : s.getFullYear()) === i;
|
|
5681
5700
|
},
|
|
5682
5701
|
pickItem: (i) => {
|
|
@@ -5684,10 +5703,10 @@ const Gi = /* @__PURE__ */ Z(Wi, [["render", Ji]]), _i = (e) => {
|
|
|
5684
5703
|
}
|
|
5685
5704
|
};
|
|
5686
5705
|
}
|
|
5687
|
-
}),
|
|
5688
|
-
function
|
|
5706
|
+
}), Xi = { class: "j-q-year-list" };
|
|
5707
|
+
function er(e, t, n, l, o, r) {
|
|
5689
5708
|
const a = h("q-btn");
|
|
5690
|
-
return y(), w("ul",
|
|
5709
|
+
return y(), w("ul", Xi, [
|
|
5691
5710
|
(y(!0), w(_, null, ee(e.computedYearItems, (i) => (y(), w("li", {
|
|
5692
5711
|
key: i,
|
|
5693
5712
|
class: q(["year-item", {
|
|
@@ -5710,7 +5729,7 @@ function Xi(e, t, n, l, o, r) {
|
|
|
5710
5729
|
], 2))), 128))
|
|
5711
5730
|
]);
|
|
5712
5731
|
}
|
|
5713
|
-
const
|
|
5732
|
+
const tr = /* @__PURE__ */ Z(xi, [["render", er]]), at = 1900, cn = 275740, jt = 20, nr = (e) => {
|
|
5714
5733
|
if (e === null || typeof e > "u") return null;
|
|
5715
5734
|
if (e instanceof Date) return e;
|
|
5716
5735
|
if (typeof e == "number") return new Date(e);
|
|
@@ -5719,9 +5738,9 @@ const er = /* @__PURE__ */ Z(Ki, [["render", Xi]]), at = 1900, cn = 275740, jt =
|
|
|
5719
5738
|
return isNaN(t.getTime()) ? null : t;
|
|
5720
5739
|
}
|
|
5721
5740
|
return null;
|
|
5722
|
-
},
|
|
5741
|
+
}, lr = B({
|
|
5723
5742
|
name: "JQYearSelector",
|
|
5724
|
-
components: { QBtn: Ie, QCard: Le, QCardSection: ke, JQYearList:
|
|
5743
|
+
components: { QBtn: Ie, QCard: Le, QCardSection: ke, JQYearList: tr },
|
|
5725
5744
|
props: {
|
|
5726
5745
|
modelValue: { type: [String, Number, Object, Array, Date] }
|
|
5727
5746
|
},
|
|
@@ -5729,7 +5748,7 @@ const er = /* @__PURE__ */ Z(Ki, [["render", Xi]]), at = 1900, cn = 275740, jt =
|
|
|
5729
5748
|
"update:modelValue": (e) => !0
|
|
5730
5749
|
},
|
|
5731
5750
|
setup(e, { emit: t }) {
|
|
5732
|
-
const n = /* @__PURE__ */ new Date(), l = z(void 0), o =
|
|
5751
|
+
const n = /* @__PURE__ */ new Date(), l = z(void 0), o = v({
|
|
5733
5752
|
get() {
|
|
5734
5753
|
return e.modelValue ?? l.value;
|
|
5735
5754
|
},
|
|
@@ -5743,10 +5762,10 @@ const er = /* @__PURE__ */ Z(Ki, [["render", Xi]]), at = 1900, cn = 275740, jt =
|
|
|
5743
5762
|
l.value = d;
|
|
5744
5763
|
}
|
|
5745
5764
|
);
|
|
5746
|
-
const r =
|
|
5747
|
-
const d =
|
|
5765
|
+
const r = v(() => {
|
|
5766
|
+
const d = nr(o.value);
|
|
5748
5767
|
return d == null ? void 0 : d.getFullYear();
|
|
5749
|
-
}), a = z(at + jt * (((r.value ?? n.getFullYear()) - at) / jt | 0)), i =
|
|
5768
|
+
}), a = z(at + jt * (((r.value ?? n.getFullYear()) - at) / jt | 0)), i = v({
|
|
5750
5769
|
get() {
|
|
5751
5770
|
return Math.min(Math.max(at, a.value), cn);
|
|
5752
5771
|
},
|
|
@@ -5755,7 +5774,7 @@ const er = /* @__PURE__ */ Z(Ki, [["render", Xi]]), at = 1900, cn = 275740, jt =
|
|
|
5755
5774
|
}
|
|
5756
5775
|
}), s = z(void 0), c = (d) => {
|
|
5757
5776
|
a.value < d ? s.value = "l" : d < a.value && (s.value = "r"), a.value = d;
|
|
5758
|
-
}, u =
|
|
5777
|
+
}, u = v(() => s.value ? `year-container-${s.value}` : "year-container");
|
|
5759
5778
|
return {
|
|
5760
5779
|
MIN_INTERVAL_START: at,
|
|
5761
5780
|
MAX_INTERVAL_START: cn,
|
|
@@ -5767,8 +5786,8 @@ const er = /* @__PURE__ */ Z(Ki, [["render", Xi]]), at = 1900, cn = 275740, jt =
|
|
|
5767
5786
|
setInterval: c
|
|
5768
5787
|
};
|
|
5769
5788
|
}
|
|
5770
|
-
}),
|
|
5771
|
-
function
|
|
5789
|
+
}), or = { class: "year-nav" }, ar = { class: "year-year-container" };
|
|
5790
|
+
function ir(e, t, n, l, o, r) {
|
|
5772
5791
|
const a = h("q-btn"), i = h("j-q-year-list"), s = h("q-card-section"), c = h("q-card");
|
|
5773
5792
|
return y(), V(c, {
|
|
5774
5793
|
class: "j-q-year-selector",
|
|
@@ -5777,7 +5796,7 @@ function ar(e, t, n, l, o, r) {
|
|
|
5777
5796
|
default: D(() => [
|
|
5778
5797
|
b(s, { class: "year-selector__inner" }, {
|
|
5779
5798
|
default: D(() => [
|
|
5780
|
-
|
|
5799
|
+
C("div", or, [
|
|
5781
5800
|
b(a, {
|
|
5782
5801
|
dense: "",
|
|
5783
5802
|
disable: e.intervalStart <= e.MIN_INTERVAL_START,
|
|
@@ -5786,7 +5805,7 @@ function ar(e, t, n, l, o, r) {
|
|
|
5786
5805
|
round: "",
|
|
5787
5806
|
onClick: t[0] || (t[0] = (u) => e.setInterval(e.intervalStart - e.INTERVAL_DELTA))
|
|
5788
5807
|
}, null, 8, ["disable"]),
|
|
5789
|
-
|
|
5808
|
+
C("div", ar, [
|
|
5790
5809
|
b(ut, { name: e.computedYearContainerTransitionName }, {
|
|
5791
5810
|
default: D(() => [
|
|
5792
5811
|
(y(), V(i, {
|
|
@@ -5815,9 +5834,9 @@ function ar(e, t, n, l, o, r) {
|
|
|
5815
5834
|
_: 1
|
|
5816
5835
|
});
|
|
5817
5836
|
}
|
|
5818
|
-
const $n = /* @__PURE__ */ Z(
|
|
5837
|
+
const $n = /* @__PURE__ */ Z(lr, [["render", ir]]), rr = B({
|
|
5819
5838
|
name: "JQMonthSelector",
|
|
5820
|
-
components: { QBtn: Ie, QCard: Le, QCardSection: ke, JQMonthList:
|
|
5839
|
+
components: { QBtn: Ie, QCard: Le, QCardSection: ke, JQMonthList: _i, JQYearSelector: $n },
|
|
5821
5840
|
props: {
|
|
5822
5841
|
modelValue: { type: [String, Number, Object] },
|
|
5823
5842
|
locale: { type: [String, Array] },
|
|
@@ -5828,7 +5847,7 @@ const $n = /* @__PURE__ */ Z(nr, [["render", ar]]), ir = B({
|
|
|
5828
5847
|
"update:modelValue": (e) => !0
|
|
5829
5848
|
},
|
|
5830
5849
|
setup(e, { emit: t }) {
|
|
5831
|
-
const n = /* @__PURE__ */ new Date(), l = z(void 0), o =
|
|
5850
|
+
const n = /* @__PURE__ */ new Date(), l = z(void 0), o = v({
|
|
5832
5851
|
get() {
|
|
5833
5852
|
return e.modelValue ?? l.value;
|
|
5834
5853
|
},
|
|
@@ -5842,7 +5861,7 @@ const $n = /* @__PURE__ */ Z(nr, [["render", ar]]), ir = B({
|
|
|
5842
5861
|
l.value = m;
|
|
5843
5862
|
}
|
|
5844
5863
|
);
|
|
5845
|
-
const r = z(n.getFullYear()), a = z(void 0), i = z(!1), s =
|
|
5864
|
+
const r = z(n.getFullYear()), a = z(void 0), i = z(!1), s = v(() => new Date(r.value, 0)), c = (m) => {
|
|
5846
5865
|
r.value < m ? a.value = "l" : m < r.value && (a.value = "r"), r.value = m, p();
|
|
5847
5866
|
}, u = (m) => {
|
|
5848
5867
|
c(new Date(m).getFullYear());
|
|
@@ -5860,7 +5879,7 @@ const $n = /* @__PURE__ */ Z(nr, [["render", ar]]), ir = B({
|
|
|
5860
5879
|
}
|
|
5861
5880
|
r.value = new Date(m).getFullYear() || n.getFullYear();
|
|
5862
5881
|
})();
|
|
5863
|
-
const I =
|
|
5882
|
+
const I = v(() => a.value ? `options-container-${a.value}` : "options-container"), j = z(void 0);
|
|
5864
5883
|
return {
|
|
5865
5884
|
computedValue: o,
|
|
5866
5885
|
year: r,
|
|
@@ -5885,11 +5904,11 @@ const $n = /* @__PURE__ */ Z(nr, [["render", ar]]), ir = B({
|
|
|
5885
5904
|
}
|
|
5886
5905
|
};
|
|
5887
5906
|
}
|
|
5888
|
-
}),
|
|
5907
|
+
}), sr = { class: "month-year-nav" }, ur = {
|
|
5889
5908
|
key: 0,
|
|
5890
5909
|
class: "month-year-popup"
|
|
5891
|
-
},
|
|
5892
|
-
function
|
|
5910
|
+
}, cr = { class: "month-options-container" };
|
|
5911
|
+
function dr(e, t, n, l, o, r) {
|
|
5893
5912
|
const a = h("q-btn"), i = h("j-q-year-selector"), s = h("j-q-month-list"), c = h("q-card-section"), u = h("q-card");
|
|
5894
5913
|
return y(), V(u, {
|
|
5895
5914
|
class: "j-q-month-selector",
|
|
@@ -5901,7 +5920,7 @@ function cr(e, t, n, l, o, r) {
|
|
|
5901
5920
|
style: G({ minWidth: e.yearPopupVisible ? "395px" : "320px", minHeight: e.yearPopupVisible ? "250px" : "290px", paddingBottom: e.yearPopupVisible ? "0px" : "16px" })
|
|
5902
5921
|
}, {
|
|
5903
5922
|
default: D(() => [
|
|
5904
|
-
|
|
5923
|
+
C("div", sr, [
|
|
5905
5924
|
b(a, {
|
|
5906
5925
|
dense: "",
|
|
5907
5926
|
flat: "",
|
|
@@ -5925,13 +5944,13 @@ function cr(e, t, n, l, o, r) {
|
|
|
5925
5944
|
onClick: t[1] || (t[1] = (d) => e.setYear(e.year + 1))
|
|
5926
5945
|
})
|
|
5927
5946
|
]),
|
|
5928
|
-
e.yearPopupVisible ? (y(), w("div",
|
|
5947
|
+
e.yearPopupVisible ? (y(), w("div", ur, [
|
|
5929
5948
|
b(i, {
|
|
5930
5949
|
"model-value": e.yearDate,
|
|
5931
5950
|
"onUpdate:modelValue": e.handleYearUpdate
|
|
5932
5951
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
5933
5952
|
])) : E("", !0),
|
|
5934
|
-
|
|
5953
|
+
C("div", cr, [
|
|
5935
5954
|
b(ut, { name: e.computedOptionsContainerName }, {
|
|
5936
5955
|
default: D(() => [
|
|
5937
5956
|
(y(), V(s, {
|
|
@@ -5955,9 +5974,9 @@ function cr(e, t, n, l, o, r) {
|
|
|
5955
5974
|
_: 1
|
|
5956
5975
|
});
|
|
5957
5976
|
}
|
|
5958
|
-
const
|
|
5977
|
+
const pr = /* @__PURE__ */ Z(rr, [["render", dr]]), fr = B({
|
|
5959
5978
|
name: "JQDateMonth",
|
|
5960
|
-
components: { QField: Ne, QIcon: le, QPopupProxy: he, JQMonthSelector:
|
|
5979
|
+
components: { QField: Ne, QIcon: le, QPopupProxy: he, JQMonthSelector: pr },
|
|
5961
5980
|
props: {
|
|
5962
5981
|
modelValue: { type: [String, Number, Object] },
|
|
5963
5982
|
clearable: { type: Boolean, default: !0 },
|
|
@@ -5975,7 +5994,7 @@ const dr = /* @__PURE__ */ Z(ir, [["render", cr]]), pr = B({
|
|
|
5975
5994
|
"update:modelValue": (e) => !0
|
|
5976
5995
|
},
|
|
5977
5996
|
setup(e, { emit: t }) {
|
|
5978
|
-
const { t: n, locale: l } = X(), o = z(void 0), r =
|
|
5997
|
+
const { t: n, locale: l } = X(), o = z(void 0), r = v({
|
|
5979
5998
|
get() {
|
|
5980
5999
|
return e.modelValue ?? o.value;
|
|
5981
6000
|
},
|
|
@@ -5989,10 +6008,10 @@ const dr = /* @__PURE__ */ Z(ir, [["render", cr]]), pr = B({
|
|
|
5989
6008
|
o.value = d;
|
|
5990
6009
|
}
|
|
5991
6010
|
);
|
|
5992
|
-
const a =
|
|
6011
|
+
const a = v(() => e.disable), i = v(() => {
|
|
5993
6012
|
const d = e.locale || l.value;
|
|
5994
6013
|
return new Intl.DateTimeFormat(d, { year: "numeric", month: "numeric" });
|
|
5995
|
-
}), s =
|
|
6014
|
+
}), s = v(() => {
|
|
5996
6015
|
if (e.valueDisplayFn) return e.valueDisplayFn(r.value);
|
|
5997
6016
|
if (!r.value) return r.value;
|
|
5998
6017
|
try {
|
|
@@ -6004,7 +6023,7 @@ const dr = /* @__PURE__ */ Z(ir, [["render", cr]]), pr = B({
|
|
|
6004
6023
|
} catch {
|
|
6005
6024
|
return r.value;
|
|
6006
6025
|
}
|
|
6007
|
-
}), c = z(!1), u =
|
|
6026
|
+
}), c = z(!1), u = v(() => ({
|
|
6008
6027
|
locale: e.locale,
|
|
6009
6028
|
optionDisabledFn: e.optionDisabledFn,
|
|
6010
6029
|
range: e.range
|
|
@@ -6018,8 +6037,8 @@ const dr = /* @__PURE__ */ Z(ir, [["render", cr]]), pr = B({
|
|
|
6018
6037
|
monthProps: u
|
|
6019
6038
|
};
|
|
6020
6039
|
}
|
|
6021
|
-
}),
|
|
6022
|
-
function
|
|
6040
|
+
}), gr = { class: "month-picker-value-display" };
|
|
6041
|
+
function mr(e, t, n, l, o, r) {
|
|
6023
6042
|
const a = h("q-icon"), i = h("j-q-month-selector"), s = h("q-popup-proxy"), c = h("q-field");
|
|
6024
6043
|
return y(), V(c, {
|
|
6025
6044
|
class: q(["j-q-date-month", {
|
|
@@ -6036,7 +6055,7 @@ function gr(e, t, n, l, o, r) {
|
|
|
6036
6055
|
title: e.computedValueDisplay
|
|
6037
6056
|
}, {
|
|
6038
6057
|
control: D(() => [
|
|
6039
|
-
|
|
6058
|
+
C("div", gr, [
|
|
6040
6059
|
Y(e.$slots, "value-display", {}, () => [
|
|
6041
6060
|
J(O(e.computedValueDisplay), 1)
|
|
6042
6061
|
])
|
|
@@ -6052,7 +6071,7 @@ function gr(e, t, n, l, o, r) {
|
|
|
6052
6071
|
})) : E("", !0)
|
|
6053
6072
|
]),
|
|
6054
6073
|
default: D(() => [
|
|
6055
|
-
oe(
|
|
6074
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
6056
6075
|
[fe, !e.computedValueDisplay && !e.label]
|
|
6057
6076
|
]),
|
|
6058
6077
|
b(s, {
|
|
@@ -6071,7 +6090,7 @@ function gr(e, t, n, l, o, r) {
|
|
|
6071
6090
|
_: 3
|
|
6072
6091
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
|
|
6073
6092
|
}
|
|
6074
|
-
const
|
|
6093
|
+
const Nf = /* @__PURE__ */ Z(fr, [["render", mr]]), yr = (e) => {
|
|
6075
6094
|
if (e === null || typeof e > "u") return null;
|
|
6076
6095
|
if (e instanceof Date) return e;
|
|
6077
6096
|
if (typeof e == "number") return new Date(e);
|
|
@@ -6080,7 +6099,7 @@ const vf = /* @__PURE__ */ Z(pr, [["render", gr]]), mr = (e) => {
|
|
|
6080
6099
|
return isNaN(t.getTime()) ? null : t;
|
|
6081
6100
|
}
|
|
6082
6101
|
return null;
|
|
6083
|
-
},
|
|
6102
|
+
}, Mr = B({
|
|
6084
6103
|
name: "JQDateYear",
|
|
6085
6104
|
components: { QField: Ne, QIcon: le, QPopupProxy: he, JQYearSelector: $n },
|
|
6086
6105
|
props: {
|
|
@@ -6097,7 +6116,7 @@ const vf = /* @__PURE__ */ Z(pr, [["render", gr]]), mr = (e) => {
|
|
|
6097
6116
|
"update:modelValue": (e) => !0
|
|
6098
6117
|
},
|
|
6099
6118
|
setup(e, { emit: t }) {
|
|
6100
|
-
const { t: n } = X(), l = z(void 0), o =
|
|
6119
|
+
const { t: n } = X(), l = z(void 0), o = v({
|
|
6101
6120
|
get() {
|
|
6102
6121
|
return e.modelValue ?? l.value;
|
|
6103
6122
|
},
|
|
@@ -6111,16 +6130,16 @@ const vf = /* @__PURE__ */ Z(pr, [["render", gr]]), mr = (e) => {
|
|
|
6111
6130
|
l.value = c;
|
|
6112
6131
|
}
|
|
6113
6132
|
);
|
|
6114
|
-
const r =
|
|
6133
|
+
const r = v(() => e.disable), a = v(() => {
|
|
6115
6134
|
if (e.valueDisplayFn) return e.valueDisplayFn(o.value);
|
|
6116
6135
|
if (!o.value) return o.value;
|
|
6117
6136
|
try {
|
|
6118
|
-
const c =
|
|
6137
|
+
const c = yr(o.value);
|
|
6119
6138
|
return c ? c.getFullYear().toString() : o.value;
|
|
6120
6139
|
} catch {
|
|
6121
6140
|
return o.value;
|
|
6122
6141
|
}
|
|
6123
|
-
}), i = z(!1), s =
|
|
6142
|
+
}), i = z(!1), s = v(() => ({}));
|
|
6124
6143
|
return {
|
|
6125
6144
|
t: n,
|
|
6126
6145
|
computedValue: o,
|
|
@@ -6130,8 +6149,8 @@ const vf = /* @__PURE__ */ Z(pr, [["render", gr]]), mr = (e) => {
|
|
|
6130
6149
|
yearProps: s
|
|
6131
6150
|
};
|
|
6132
6151
|
}
|
|
6133
|
-
}),
|
|
6134
|
-
function
|
|
6152
|
+
}), Ir = { class: "year-picker-value-display" };
|
|
6153
|
+
function hr(e, t, n, l, o, r) {
|
|
6135
6154
|
const a = h("q-icon"), i = h("j-q-year-selector"), s = h("q-popup-proxy"), c = h("q-field");
|
|
6136
6155
|
return y(), V(c, {
|
|
6137
6156
|
class: q(["j-q-date-year", {
|
|
@@ -6148,7 +6167,7 @@ function Ir(e, t, n, l, o, r) {
|
|
|
6148
6167
|
title: e.computedValueDisplay
|
|
6149
6168
|
}, {
|
|
6150
6169
|
control: D(() => [
|
|
6151
|
-
|
|
6170
|
+
C("div", Ir, [
|
|
6152
6171
|
Y(e.$slots, "value-display", {}, () => [
|
|
6153
6172
|
J(O(e.computedValueDisplay), 1)
|
|
6154
6173
|
])
|
|
@@ -6165,7 +6184,7 @@ function Ir(e, t, n, l, o, r) {
|
|
|
6165
6184
|
})) : E("", !0)
|
|
6166
6185
|
]),
|
|
6167
6186
|
default: D(() => [
|
|
6168
|
-
oe(
|
|
6187
|
+
oe(C("div", { class: "float-placeholder" }, O(e.t("messages.pleaseSelect")), 513), [
|
|
6169
6188
|
[fe, !e.computedValueDisplay && !e.label]
|
|
6170
6189
|
]),
|
|
6171
6190
|
b(s, {
|
|
@@ -6184,14 +6203,14 @@ function Ir(e, t, n, l, o, r) {
|
|
|
6184
6203
|
_: 3
|
|
6185
6204
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
|
|
6186
6205
|
}
|
|
6187
|
-
const
|
|
6206
|
+
const bf = /* @__PURE__ */ Z(Mr, [["render", hr]]), Ae = "ngiot__management__frontend__storge__", Ar = `${Ae}_username`, Dr = () => localStorage.removeItem(Ar), Cr = `${Ae}_userinfo`, vr = () => localStorage.removeItem(Cr), Nr = `${Ae}cmp_userinfo`, br = () => localStorage.removeItem(Nr), jr = `${Ae}_currentOrg`, wr = () => localStorage.removeItem(jr), Sr = `${Ae}_pagePermissionID`, Tr = () => localStorage.removeItem(Sr), zr = `${Ae}_pageActionPermissionID`, kr = () => localStorage.removeItem(zr), Lr = `${Ae}_token`, $r = () => localStorage.removeItem(Lr), Or = () => {
|
|
6188
6207
|
for (let e of Ke)
|
|
6189
6208
|
localStorage.removeItem(`${Ae}_${e.platform}_sidebarStatus`);
|
|
6190
|
-
},
|
|
6209
|
+
}, Vr = () => {
|
|
6191
6210
|
for (let e of Ke)
|
|
6192
6211
|
localStorage.removeItem(`${Ae}_${e.platform}_tagsView`);
|
|
6193
|
-
},
|
|
6194
|
-
|
|
6212
|
+
}, Er = () => {
|
|
6213
|
+
Or(), Vr(), Dr(), vr(), br(), wr(), Tr(), kr(), $r();
|
|
6195
6214
|
};
|
|
6196
6215
|
function Lt(e) {
|
|
6197
6216
|
return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "-";
|
|
@@ -6230,7 +6249,7 @@ function _e(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
|
6230
6249
|
const n = Vn(e);
|
|
6231
6250
|
return Lt(n ? x.formatDate(n, t) : e);
|
|
6232
6251
|
}
|
|
6233
|
-
function
|
|
6252
|
+
function Pr(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
6234
6253
|
return (n, l) => {
|
|
6235
6254
|
if (n === 0 || n === "0")
|
|
6236
6255
|
return String(n);
|
|
@@ -6245,7 +6264,7 @@ function Er(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
|
6245
6264
|
}
|
|
6246
6265
|
};
|
|
6247
6266
|
}
|
|
6248
|
-
function
|
|
6267
|
+
function Yr(e = "-", t) {
|
|
6249
6268
|
return Gt((l) => {
|
|
6250
6269
|
const o = typeof l == "string" ? Number(l) : l;
|
|
6251
6270
|
return Number.isFinite(o) ? On({
|
|
@@ -6258,7 +6277,7 @@ function Pr(e = "-", t) {
|
|
|
6258
6277
|
}) : l;
|
|
6259
6278
|
}, e);
|
|
6260
6279
|
}
|
|
6261
|
-
function
|
|
6280
|
+
function Qr(e = "-", t) {
|
|
6262
6281
|
return Gt((l) => {
|
|
6263
6282
|
const o = ["B", "KB", "MB", "GB", "TB"];
|
|
6264
6283
|
let r = typeof l == "string" ? Number(l) : l, a = (t == null ? void 0 : t.unit) || "B";
|
|
@@ -6271,7 +6290,7 @@ function Yr(e = "-", t) {
|
|
|
6271
6290
|
return `${r.toFixed(i)} ${a}`;
|
|
6272
6291
|
}, e);
|
|
6273
6292
|
}
|
|
6274
|
-
function
|
|
6293
|
+
function qr(e, t, n, l) {
|
|
6275
6294
|
const o = ["B", "KB", "MB", "GB", "TB"], r = (l == null ? void 0 : l.digits) ?? 2, a = (l == null ? void 0 : l.showUnit) ?? !0, i = typeof e == "string" ? Number(e) : e;
|
|
6276
6295
|
if (!Number.isFinite(i))
|
|
6277
6296
|
return e;
|
|
@@ -6281,23 +6300,23 @@ function Qr(e, t, n, l) {
|
|
|
6281
6300
|
const u = s - c, p = (i * Math.pow(1024, u)).toFixed(r);
|
|
6282
6301
|
return a ? `${p} ${n}` : Number(p);
|
|
6283
6302
|
}
|
|
6284
|
-
const
|
|
6303
|
+
const Rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6285
6304
|
__proto__: null,
|
|
6286
|
-
convertDataUnit:
|
|
6287
|
-
defaultAutoDataFormat:
|
|
6288
|
-
defaultDataFormat:
|
|
6289
|
-
defaultDateFormat:
|
|
6305
|
+
convertDataUnit: qr,
|
|
6306
|
+
defaultAutoDataFormat: Qr,
|
|
6307
|
+
defaultDataFormat: Yr,
|
|
6308
|
+
defaultDateFormat: Pr,
|
|
6290
6309
|
defaultFill: Lt,
|
|
6291
6310
|
defaultFormat: Gt,
|
|
6292
6311
|
formatDate: _e,
|
|
6293
6312
|
formatSize: On,
|
|
6294
|
-
getNavLogo:
|
|
6295
|
-
getTitle:
|
|
6313
|
+
getNavLogo: _a,
|
|
6314
|
+
getTitle: Ga,
|
|
6296
6315
|
getUpperSize: lt,
|
|
6297
6316
|
platformList: Ke,
|
|
6298
|
-
resetVariables:
|
|
6299
|
-
setTitleAndLogo:
|
|
6300
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6317
|
+
resetVariables: Er,
|
|
6318
|
+
setTitleAndLogo: Ja
|
|
6319
|
+
}, Symbol.toStringTag, { value: "Module" })), Ur = B({
|
|
6301
6320
|
name: "JQDetailList",
|
|
6302
6321
|
components: {
|
|
6303
6322
|
JCTooltipEllipsis: gt,
|
|
@@ -6329,9 +6348,9 @@ const qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6329
6348
|
},
|
|
6330
6349
|
slots: Object,
|
|
6331
6350
|
setup(e, { slots: t }) {
|
|
6332
|
-
const { t: n } = X(), l = (A) => A.visible === void 0 || A.visible === null ? !0 : typeof A.visible == "boolean" ? A.visible : typeof A.visible == "function" ? A.visible(e.data) : !0, o =
|
|
6351
|
+
const { t: n } = X(), l = (A) => A.visible === void 0 || A.visible === null ? !0 : typeof A.visible == "boolean" ? A.visible : typeof A.visible == "function" ? A.visible(e.data) : !0, o = v(() => e.items.filter((A) => l(A))), r = v(() => e.layout === "horizontal-left" ? {
|
|
6333
6352
|
"--label-width": e.labelWidth
|
|
6334
|
-
} : {}), a =
|
|
6353
|
+
} : {}), a = v(() => e.items.filter((A) => Reflect.has(t, `item-value-${A.name}`))), i = (A, m) => {
|
|
6335
6354
|
const { options: T, findByKey: L, displayKey: $ = "label" } = A;
|
|
6336
6355
|
if (!T || !L)
|
|
6337
6356
|
return m;
|
|
@@ -6396,17 +6415,17 @@ const qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6396
6415
|
}
|
|
6397
6416
|
};
|
|
6398
6417
|
}
|
|
6399
|
-
}),
|
|
6418
|
+
}), Br = { class: "q-mb-xs text-grey text-caption row items-center" }, Zr = ["onClick"], Wr = ["innerHTML"], Fr = {
|
|
6400
6419
|
key: 0,
|
|
6401
6420
|
class: "detail-value-suffix q-ml-xs"
|
|
6402
|
-
},
|
|
6421
|
+
}, Hr = ["onClick"], Jr = { class: "item item-between" }, Gr = { class: "label row items-center" }, _r = { class: "value-wrapper row items-center no-wrap" }, Kr = ["onClick"], xr = ["innerHTML"], Xr = {
|
|
6403
6422
|
key: 0,
|
|
6404
6423
|
class: "value-suffix q-ml-xs"
|
|
6405
|
-
},
|
|
6424
|
+
}, es = ["onClick"], ts = { class: "item item-left" }, ns = { class: "label row items-center" }, ls = { class: "value-wrapper row items-center no-wrap" }, os = ["onClick"], as = ["innerHTML"], is = {
|
|
6406
6425
|
key: 0,
|
|
6407
6426
|
class: "value-suffix q-ml-xs"
|
|
6408
|
-
},
|
|
6409
|
-
function
|
|
6427
|
+
}, rs = ["onClick"];
|
|
6428
|
+
function ss(e, t, n, l, o, r) {
|
|
6410
6429
|
const a = h("q-icon"), i = h("j-c-tooltip"), s = h("j-c-tooltip-ellipsis"), c = h("j-c-copy");
|
|
6411
6430
|
return e.layout === "vertical" ? (y(), w("div", {
|
|
6412
6431
|
key: 0,
|
|
@@ -6416,7 +6435,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6416
6435
|
key: u.name,
|
|
6417
6436
|
class: q([[`col-${u.span || 6}`], "detail-item-container"])
|
|
6418
6437
|
}, [
|
|
6419
|
-
|
|
6438
|
+
C("div", Br, [
|
|
6420
6439
|
J(O(u.label) + " ", 1),
|
|
6421
6440
|
u.tip ? (y(), V(i, {
|
|
6422
6441
|
key: 0,
|
|
@@ -6433,10 +6452,10 @@ function rs(e, t, n, l, o, r) {
|
|
|
6433
6452
|
_: 1
|
|
6434
6453
|
}, 8, ["content"])) : E("", !0)
|
|
6435
6454
|
]),
|
|
6436
|
-
|
|
6455
|
+
C("div", {
|
|
6437
6456
|
class: q(["detail-value-wrapper row items-center no-wrap", `text-${u.align || "left"}`])
|
|
6438
6457
|
}, [
|
|
6439
|
-
|
|
6458
|
+
C("div", {
|
|
6440
6459
|
class: q(["detail-value text-body2", { clickable: e.isClickable(u), "text-ellipsis": u.detail }]),
|
|
6441
6460
|
onClick: (d) => e.handleClick(u)
|
|
6442
6461
|
}, [
|
|
@@ -6451,7 +6470,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6451
6470
|
innerHTML: e.getDefaultValue(u),
|
|
6452
6471
|
class: q([e.getOptionClass(u), "html-content"]),
|
|
6453
6472
|
style: G(e.getHtmlStyle(u))
|
|
6454
|
-
}, null, 14,
|
|
6473
|
+
}, null, 14, Wr)) : u.detail ? (y(), w("span", {
|
|
6455
6474
|
key: 2,
|
|
6456
6475
|
class: q(e.getOptionClass(u))
|
|
6457
6476
|
}, O(e.getDefaultValue(u)), 3)) : (y(), V(s, {
|
|
@@ -6460,8 +6479,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6460
6479
|
lines: u.whiteSpace || 1,
|
|
6461
6480
|
class: q(e.getOptionClass(u))
|
|
6462
6481
|
}, null, 8, ["content", "lines", "class"]))
|
|
6463
|
-
], 10,
|
|
6464
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), w("div",
|
|
6482
|
+
], 10, Zr),
|
|
6483
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), w("div", Fr, [
|
|
6465
6484
|
e.slots[`item-suffix-${u.name}`] ? Y(e.$slots, `item-suffix-${u.name}`, {
|
|
6466
6485
|
key: 0,
|
|
6467
6486
|
value: e.data[u.name],
|
|
@@ -6477,7 +6496,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6477
6496
|
key: 1,
|
|
6478
6497
|
class: "link-type q-ml-xs",
|
|
6479
6498
|
onClick: (d) => e.handleDetailClick(u)
|
|
6480
|
-
}, O(e.t("action.detail")), 9,
|
|
6499
|
+
}, O(e.t("action.detail")), 9, Hr)) : E("", !0)
|
|
6481
6500
|
], 64))
|
|
6482
6501
|
])) : E("", !0)
|
|
6483
6502
|
], 2)
|
|
@@ -6490,8 +6509,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6490
6509
|
key: u.name,
|
|
6491
6510
|
class: q([`col-${u.span || 6}`])
|
|
6492
6511
|
}, [
|
|
6493
|
-
|
|
6494
|
-
|
|
6512
|
+
C("div", Jr, [
|
|
6513
|
+
C("div", Gr, [
|
|
6495
6514
|
J(O(u.label) + " ", 1),
|
|
6496
6515
|
u.tip ? (y(), V(i, {
|
|
6497
6516
|
key: 0,
|
|
@@ -6508,8 +6527,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6508
6527
|
_: 1
|
|
6509
6528
|
}, 8, ["content"])) : E("", !0)
|
|
6510
6529
|
]),
|
|
6511
|
-
|
|
6512
|
-
|
|
6530
|
+
C("div", _r, [
|
|
6531
|
+
C("div", {
|
|
6513
6532
|
class: q(["value", { clickable: e.isClickable(u), "text-ellipsis": u.detail }]),
|
|
6514
6533
|
onClick: (d) => e.handleClick(u)
|
|
6515
6534
|
}, [
|
|
@@ -6524,7 +6543,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6524
6543
|
innerHTML: e.getDefaultValue(u),
|
|
6525
6544
|
class: q([e.getOptionClass(u), "html-content"]),
|
|
6526
6545
|
style: G(e.getHtmlStyle(u))
|
|
6527
|
-
}, null, 14,
|
|
6546
|
+
}, null, 14, xr)) : u.detail ? (y(), w("span", {
|
|
6528
6547
|
key: 2,
|
|
6529
6548
|
class: q(e.getOptionClass(u))
|
|
6530
6549
|
}, O(e.getDefaultValue(u)), 3)) : (y(), V(s, {
|
|
@@ -6533,8 +6552,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6533
6552
|
lines: u.whiteSpace || 1,
|
|
6534
6553
|
class: q(e.getOptionClass(u))
|
|
6535
6554
|
}, null, 8, ["content", "lines", "class"]))
|
|
6536
|
-
], 10,
|
|
6537
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), w("div",
|
|
6555
|
+
], 10, Kr),
|
|
6556
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), w("div", Xr, [
|
|
6538
6557
|
e.slots[`item-suffix-${u.name}`] ? Y(e.$slots, `item-suffix-${u.name}`, {
|
|
6539
6558
|
key: 0,
|
|
6540
6559
|
value: e.data[u.name],
|
|
@@ -6550,7 +6569,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6550
6569
|
key: 1,
|
|
6551
6570
|
class: "link-type q-ml-xs",
|
|
6552
6571
|
onClick: (d) => e.handleDetailClick(u)
|
|
6553
|
-
}, O(e.t("action.detail")), 9,
|
|
6572
|
+
}, O(e.t("action.detail")), 9, es)) : E("", !0)
|
|
6554
6573
|
], 64))
|
|
6555
6574
|
])) : E("", !0)
|
|
6556
6575
|
])
|
|
@@ -6565,8 +6584,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6565
6584
|
key: u.name,
|
|
6566
6585
|
class: q([`col-${u.span || 6}`])
|
|
6567
6586
|
}, [
|
|
6568
|
-
|
|
6569
|
-
|
|
6587
|
+
C("div", ts, [
|
|
6588
|
+
C("div", ns, [
|
|
6570
6589
|
J(O(u.label) + " ", 1),
|
|
6571
6590
|
u.tip ? (y(), V(i, {
|
|
6572
6591
|
key: 0,
|
|
@@ -6583,8 +6602,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6583
6602
|
_: 1
|
|
6584
6603
|
}, 8, ["content"])) : E("", !0)
|
|
6585
6604
|
]),
|
|
6586
|
-
|
|
6587
|
-
|
|
6605
|
+
C("div", ls, [
|
|
6606
|
+
C("div", {
|
|
6588
6607
|
class: q(["value", { clickable: e.isClickable(u), "text-ellipsis": u.detail }]),
|
|
6589
6608
|
onClick: (d) => e.handleClick(u)
|
|
6590
6609
|
}, [
|
|
@@ -6599,7 +6618,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6599
6618
|
innerHTML: e.getDefaultValue(u),
|
|
6600
6619
|
class: q([e.getOptionClass(u), "html-content"]),
|
|
6601
6620
|
style: G(e.getHtmlStyle(u))
|
|
6602
|
-
}, null, 14,
|
|
6621
|
+
}, null, 14, as)) : u.detail ? (y(), w("span", {
|
|
6603
6622
|
key: 2,
|
|
6604
6623
|
class: q(e.getOptionClass(u))
|
|
6605
6624
|
}, O(e.getDefaultValue(u)), 3)) : (y(), V(s, {
|
|
@@ -6608,8 +6627,8 @@ function rs(e, t, n, l, o, r) {
|
|
|
6608
6627
|
lines: u.whiteSpace || 1,
|
|
6609
6628
|
class: q(e.getOptionClass(u))
|
|
6610
6629
|
}, null, 8, ["content", "lines", "class"]))
|
|
6611
|
-
], 10,
|
|
6612
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), w("div",
|
|
6630
|
+
], 10, os),
|
|
6631
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), w("div", is, [
|
|
6613
6632
|
e.slots[`item-suffix-${u.name}`] ? Y(e.$slots, `item-suffix-${u.name}`, {
|
|
6614
6633
|
key: 0,
|
|
6615
6634
|
value: e.data[u.name],
|
|
@@ -6625,7 +6644,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6625
6644
|
key: 1,
|
|
6626
6645
|
class: "link-type q-ml-xs",
|
|
6627
6646
|
onClick: (d) => e.handleDetailClick(u)
|
|
6628
|
-
}, O(e.t("action.detail")), 9,
|
|
6647
|
+
}, O(e.t("action.detail")), 9, rs)) : E("", !0)
|
|
6629
6648
|
], 64))
|
|
6630
6649
|
])) : E("", !0)
|
|
6631
6650
|
])
|
|
@@ -6633,7 +6652,7 @@ function rs(e, t, n, l, o, r) {
|
|
|
6633
6652
|
], 2))), 128))
|
|
6634
6653
|
], 6)) : E("", !0);
|
|
6635
6654
|
}
|
|
6636
|
-
const
|
|
6655
|
+
const jf = /* @__PURE__ */ Z(Ur, [["render", ss], ["__scopeId", "data-v-100bb9c9"]]), us = B({
|
|
6637
6656
|
name: "JQFile",
|
|
6638
6657
|
components: {
|
|
6639
6658
|
QField: Ne,
|
|
@@ -6657,14 +6676,14 @@ const bf = /* @__PURE__ */ Z(Rr, [["render", rs], ["__scopeId", "data-v-100bb9c9
|
|
|
6657
6676
|
},
|
|
6658
6677
|
slots: Object,
|
|
6659
6678
|
setup(e, { emit: t, slots: n }) {
|
|
6660
|
-
const { t: l } = X(), o = z(null), r = z(e.modelValue ?? []), a =
|
|
6679
|
+
const { t: l } = X(), o = z(null), r = z(e.modelValue ?? []), a = v({
|
|
6661
6680
|
get() {
|
|
6662
6681
|
return e.modelValue ?? r.value ?? [];
|
|
6663
6682
|
},
|
|
6664
6683
|
set(g) {
|
|
6665
6684
|
t("update:modelValue", g), r.value = g;
|
|
6666
6685
|
}
|
|
6667
|
-
}), i = z(!1), s =
|
|
6686
|
+
}), i = z(!1), s = v(() => Number(e.maxlength) || 0), c = v(() => s.value > 0 && s.value <= a.value.length), u = (g) => g != null && g.length ? Array.from(g) : [], d = async (g) => {
|
|
6668
6687
|
const N = a.value.length, k = s.value - N;
|
|
6669
6688
|
let R = [...g];
|
|
6670
6689
|
if (s.value > 0 && k <= 0) {
|
|
@@ -6707,7 +6726,7 @@ const bf = /* @__PURE__ */ Z(Rr, [["render", rs], ["__scopeId", "data-v-100bb9c9
|
|
|
6707
6726
|
}, M = (g, N) => {
|
|
6708
6727
|
const k = [...a.value];
|
|
6709
6728
|
k.splice(N, 1), a.value = k;
|
|
6710
|
-
}, f =
|
|
6729
|
+
}, f = v(() => Reflect.has(n, "hint"));
|
|
6711
6730
|
return {
|
|
6712
6731
|
t: l,
|
|
6713
6732
|
fileInputRef: o,
|
|
@@ -6728,31 +6747,31 @@ const bf = /* @__PURE__ */ Z(Rr, [["render", rs], ["__scopeId", "data-v-100bb9c9
|
|
|
6728
6747
|
hasSlotHint: f
|
|
6729
6748
|
};
|
|
6730
6749
|
}
|
|
6731
|
-
}),
|
|
6750
|
+
}), cs = { class: "j-q-file" }, ds = { class: "fs-14 q-mt-sm" }, ps = { class: "text-grey fs-12 q-mt-xs" }, fs = {
|
|
6732
6751
|
key: 0,
|
|
6733
6752
|
class: "single-file"
|
|
6734
|
-
},
|
|
6753
|
+
}, gs = { class: "single-file-content" }, ms = { class: "single-file-name" }, ys = {
|
|
6735
6754
|
key: 0,
|
|
6736
6755
|
class: "single-file-size"
|
|
6737
|
-
},
|
|
6756
|
+
}, Ms = { class: "single-file-actions" }, Is = {
|
|
6738
6757
|
key: 1,
|
|
6739
6758
|
class: "file-filers"
|
|
6740
|
-
},
|
|
6759
|
+
}, hs = { class: "filer-content" }, As = ["title"], Ds = {
|
|
6741
6760
|
key: 0,
|
|
6742
6761
|
class: "filer-size"
|
|
6743
|
-
},
|
|
6762
|
+
}, Cs = ["accept", "multiple"], vs = {
|
|
6744
6763
|
key: 0,
|
|
6745
6764
|
class: "download-template"
|
|
6746
|
-
},
|
|
6765
|
+
}, Ns = ["onClick"], bs = { class: "download-template-name" }, js = {
|
|
6747
6766
|
key: 0,
|
|
6748
6767
|
class: "download-template-sep"
|
|
6749
|
-
},
|
|
6768
|
+
}, ws = {
|
|
6750
6769
|
key: 1,
|
|
6751
6770
|
class: "file-hint"
|
|
6752
6771
|
};
|
|
6753
|
-
function
|
|
6772
|
+
function Ss(e, t, n, l, o, r) {
|
|
6754
6773
|
const a = h("q-icon"), i = h("j-c-tooltip-ellipsis"), s = h("j-q-button"), c = h("q-btn"), u = h("q-field");
|
|
6755
|
-
return y(), w("div",
|
|
6774
|
+
return y(), w("div", cs, [
|
|
6756
6775
|
b(u, {
|
|
6757
6776
|
modelValue: e.computedValue,
|
|
6758
6777
|
"onUpdate:modelValue": t[7] || (t[7] = (d) => e.computedValue = d),
|
|
@@ -6764,7 +6783,7 @@ function ws(e, t, n, l, o, r) {
|
|
|
6764
6783
|
"hide-bottom-space": ""
|
|
6765
6784
|
}, {
|
|
6766
6785
|
prepend: D(() => [
|
|
6767
|
-
oe(
|
|
6786
|
+
oe(C("div", {
|
|
6768
6787
|
class: q(["file-action", { "file-action--dragging": e.isDragging }]),
|
|
6769
6788
|
onDragenter: t[0] || (t[0] = te((...d) => e.dragenter && e.dragenter(...d), ["prevent"])),
|
|
6770
6789
|
onDragover: t[1] || (t[1] = te((...d) => e.dragover && e.dragover(...d), ["prevent"])),
|
|
@@ -6777,29 +6796,29 @@ function ws(e, t, n, l, o, r) {
|
|
|
6777
6796
|
name: "app:upload",
|
|
6778
6797
|
size: "24px"
|
|
6779
6798
|
}),
|
|
6780
|
-
|
|
6781
|
-
|
|
6799
|
+
C("p", ds, O(e.t("messages.jQFile.click_or_drag_file")), 1),
|
|
6800
|
+
C("p", ps, O(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + O(e.t("messages.jQFile.max_file_size", {
|
|
6782
6801
|
size: e.maxFileSize
|
|
6783
6802
|
})), 1)
|
|
6784
6803
|
], 34), [
|
|
6785
6804
|
[fe, e.computedValue.length !== Number(e.maxlength)]
|
|
6786
6805
|
]),
|
|
6787
6806
|
e.computedValue.length ? (y(), w(_, { key: 0 }, [
|
|
6788
|
-
e.computedMaxlength === 1 ? (y(), w("div",
|
|
6789
|
-
|
|
6807
|
+
e.computedMaxlength === 1 ? (y(), w("div", fs, [
|
|
6808
|
+
C("div", gs, [
|
|
6790
6809
|
b(a, {
|
|
6791
6810
|
name: "app:success",
|
|
6792
6811
|
class: "q-mr-sm",
|
|
6793
6812
|
size: "20px"
|
|
6794
6813
|
}),
|
|
6795
|
-
|
|
6814
|
+
C("span", ms, [
|
|
6796
6815
|
b(i, {
|
|
6797
6816
|
content: e.computedValue[0].name
|
|
6798
6817
|
}, null, 8, ["content"])
|
|
6799
6818
|
]),
|
|
6800
|
-
e.computedValue[0].size ? (y(), w("div",
|
|
6819
|
+
e.computedValue[0].size ? (y(), w("div", ys, "(" + O(e.getFileSizeDisplay(e.computedValue[0])) + ")", 1)) : E("", !0)
|
|
6801
6820
|
]),
|
|
6802
|
-
|
|
6821
|
+
C("div", Ms, [
|
|
6803
6822
|
oe(b(s, {
|
|
6804
6823
|
type: "secondary",
|
|
6805
6824
|
size: "small"
|
|
@@ -6827,17 +6846,17 @@ function ws(e, t, n, l, o, r) {
|
|
|
6827
6846
|
_: 1
|
|
6828
6847
|
})
|
|
6829
6848
|
])
|
|
6830
|
-
])) : e.computedMaxlength > 1 ? (y(), w("ul",
|
|
6849
|
+
])) : e.computedMaxlength > 1 ? (y(), w("ul", Is, [
|
|
6831
6850
|
(y(!0), w(_, null, ee(e.computedValue, (d, p) => (y(), w("li", {
|
|
6832
6851
|
key: p,
|
|
6833
6852
|
class: "filer-item"
|
|
6834
6853
|
}, [
|
|
6835
|
-
|
|
6836
|
-
|
|
6854
|
+
C("div", hs, [
|
|
6855
|
+
C("div", {
|
|
6837
6856
|
class: "filer-name text-black",
|
|
6838
6857
|
title: d.name
|
|
6839
|
-
}, O(d.name), 9,
|
|
6840
|
-
d.size ? (y(), w("div",
|
|
6858
|
+
}, O(d.name), 9, As),
|
|
6859
|
+
d.size ? (y(), w("div", Ds, O(e.getFileSizeDisplay(d)), 1)) : E("", !0)
|
|
6841
6860
|
]),
|
|
6842
6861
|
b(c, {
|
|
6843
6862
|
class: "filer-remove",
|
|
@@ -6853,19 +6872,19 @@ function ws(e, t, n, l, o, r) {
|
|
|
6853
6872
|
], 64)) : E("", !0)
|
|
6854
6873
|
]),
|
|
6855
6874
|
default: D(() => [
|
|
6856
|
-
oe(
|
|
6875
|
+
oe(C("input", {
|
|
6857
6876
|
ref: "fileInputRef",
|
|
6858
6877
|
accept: e.accept,
|
|
6859
6878
|
multiple: !e.computedMaxlength || 1 < e.computedMaxlength - e.computedValue.length,
|
|
6860
6879
|
type: "file",
|
|
6861
6880
|
onChange: t[6] || (t[6] = (...d) => e.inputFile && e.inputFile(...d))
|
|
6862
|
-
}, null, 40,
|
|
6881
|
+
}, null, 40, Cs), [
|
|
6863
6882
|
[fe, !1]
|
|
6864
6883
|
])
|
|
6865
6884
|
]),
|
|
6866
6885
|
_: 1
|
|
6867
6886
|
}, 8, ["modelValue", "disable", "rules"]),
|
|
6868
|
-
e.templateFiles.length ? (y(), w("div",
|
|
6887
|
+
e.templateFiles.length ? (y(), w("div", vs, [
|
|
6869
6888
|
(y(!0), w(_, null, ee(e.templateFiles, (d, p) => (y(), w("span", {
|
|
6870
6889
|
key: p,
|
|
6871
6890
|
class: "download-template-item",
|
|
@@ -6876,17 +6895,17 @@ function ws(e, t, n, l, o, r) {
|
|
|
6876
6895
|
size: "16px",
|
|
6877
6896
|
class: "download-template-icon"
|
|
6878
6897
|
}),
|
|
6879
|
-
|
|
6880
|
-
p < e.templateFiles.length - 1 ? (y(), w("span",
|
|
6881
|
-
], 8,
|
|
6898
|
+
C("span", bs, O(d.name), 1),
|
|
6899
|
+
p < e.templateFiles.length - 1 ? (y(), w("span", js, "|")) : E("", !0)
|
|
6900
|
+
], 8, Ns))), 128))
|
|
6882
6901
|
])) : E("", !0),
|
|
6883
|
-
e.hasSlotHint ? (y(), w("div",
|
|
6902
|
+
e.hasSlotHint ? (y(), w("div", ws, [
|
|
6884
6903
|
Y(e.$slots, "hint")
|
|
6885
6904
|
])) : E("", !0)
|
|
6886
6905
|
]);
|
|
6887
6906
|
}
|
|
6888
|
-
const
|
|
6889
|
-
function
|
|
6907
|
+
const wf = /* @__PURE__ */ Z(us, [["render", Ss]]);
|
|
6908
|
+
function Ts(e, t) {
|
|
6890
6909
|
let n = null;
|
|
6891
6910
|
return ((...l) => {
|
|
6892
6911
|
n && clearTimeout(n), n = setTimeout(() => {
|
|
@@ -6894,7 +6913,7 @@ function Ss(e, t) {
|
|
|
6894
6913
|
}, t);
|
|
6895
6914
|
});
|
|
6896
6915
|
}
|
|
6897
|
-
const
|
|
6916
|
+
const zs = B({
|
|
6898
6917
|
name: "JQInputRecognize",
|
|
6899
6918
|
components: {
|
|
6900
6919
|
JQInput: ft
|
|
@@ -7011,7 +7030,7 @@ const Ts = B({
|
|
|
7011
7030
|
m !== r.value && (r.value = m);
|
|
7012
7031
|
}
|
|
7013
7032
|
);
|
|
7014
|
-
const p =
|
|
7033
|
+
const p = Ts((m) => {
|
|
7015
7034
|
t("update:recognizedItems", m);
|
|
7016
7035
|
}, 300);
|
|
7017
7036
|
W(
|
|
@@ -7023,7 +7042,7 @@ const Ts = B({
|
|
|
7023
7042
|
);
|
|
7024
7043
|
const I = (m) => {
|
|
7025
7044
|
t("change", m, a.value);
|
|
7026
|
-
}, j =
|
|
7045
|
+
}, j = v(() => e.inputRules.some((m) => m("") !== !0)), A = v(() => {
|
|
7027
7046
|
const m = [];
|
|
7028
7047
|
e.inputRules.length > 0 && m.push(...e.inputRules), j.value && m.push((L) => L && L.trim() && a.value.length === 0 ? l("messages.inputRecognize.noValidItems") : !0);
|
|
7029
7048
|
const T = e.max;
|
|
@@ -7043,7 +7062,7 @@ const Ts = B({
|
|
|
7043
7062
|
const m = o.value;
|
|
7044
7063
|
(T = m == null ? void 0 : m.resetValidation) == null || T.call(m);
|
|
7045
7064
|
},
|
|
7046
|
-
recognizedItems:
|
|
7065
|
+
recognizedItems: v(() => a.value)
|
|
7047
7066
|
}), {
|
|
7048
7067
|
t: l,
|
|
7049
7068
|
inputRef: o,
|
|
@@ -7053,13 +7072,13 @@ const Ts = B({
|
|
|
7053
7072
|
handleChange: I
|
|
7054
7073
|
};
|
|
7055
7074
|
}
|
|
7056
|
-
}),
|
|
7075
|
+
}), ks = { class: "j-q-input-recognize" }, Ls = {
|
|
7057
7076
|
key: 0,
|
|
7058
7077
|
class: "recognized-section"
|
|
7059
|
-
},
|
|
7060
|
-
function
|
|
7078
|
+
}, $s = { class: "recognized-label" }, Os = { class: "recognized-items" };
|
|
7079
|
+
function Vs(e, t, n, l, o, r) {
|
|
7061
7080
|
const a = h("j-q-input");
|
|
7062
|
-
return y(), w("div",
|
|
7081
|
+
return y(), w("div", ks, [
|
|
7063
7082
|
b(a, {
|
|
7064
7083
|
ref: "inputRef",
|
|
7065
7084
|
modelValue: e.inputValue,
|
|
@@ -7073,9 +7092,9 @@ function Os(e, t, n, l, o, r) {
|
|
|
7073
7092
|
maxlength: e.maxlength,
|
|
7074
7093
|
onChange: e.handleChange
|
|
7075
7094
|
}, null, 8, ["modelValue", "rules", "dense", "outlined", "disable", "readonly", "maxlength", "onChange"]),
|
|
7076
|
-
e.recognizedItems.length > 0 ? (y(), w("div",
|
|
7077
|
-
|
|
7078
|
-
|
|
7095
|
+
e.recognizedItems.length > 0 ? (y(), w("div", Ls, [
|
|
7096
|
+
C("div", $s, O(e.t("messages.inputRecognize.recognized")), 1),
|
|
7097
|
+
C("div", Os, [
|
|
7079
7098
|
(y(!0), w(_, null, ee(e.recognizedItems, (i, s) => (y(), w("span", {
|
|
7080
7099
|
key: s,
|
|
7081
7100
|
class: "my-label black"
|
|
@@ -7084,7 +7103,7 @@ function Os(e, t, n, l, o, r) {
|
|
|
7084
7103
|
])) : E("", !0)
|
|
7085
7104
|
]);
|
|
7086
7105
|
}
|
|
7087
|
-
const
|
|
7106
|
+
const Sf = /* @__PURE__ */ Z(zs, [["render", Vs], ["__scopeId", "data-v-16499563"]]), Es = B({
|
|
7088
7107
|
name: "JQNewValue",
|
|
7089
7108
|
components: {
|
|
7090
7109
|
QSelect: Qe,
|
|
@@ -7108,7 +7127,7 @@ const wf = /* @__PURE__ */ Z(Ts, [["render", Os], ["__scopeId", "data-v-16499563
|
|
|
7108
7127
|
"update:modelValue": (e) => !0
|
|
7109
7128
|
},
|
|
7110
7129
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
7111
|
-
const o = z(e.modelValue ?? []), r = z(null), { t: a } = X(), i = z(""), s =
|
|
7130
|
+
const o = z(e.modelValue ?? []), r = z(null), { t: a } = X(), i = z(""), s = v(() => Object.keys(l)), c = (j, A) => {
|
|
7112
7131
|
A(() => {
|
|
7113
7132
|
});
|
|
7114
7133
|
}, u = (j, A) => {
|
|
@@ -7170,8 +7189,8 @@ const wf = /* @__PURE__ */ Z(Ts, [["render", Os], ["__scopeId", "data-v-16499563
|
|
|
7170
7189
|
slotNames: s
|
|
7171
7190
|
};
|
|
7172
7191
|
}
|
|
7173
|
-
}),
|
|
7174
|
-
function
|
|
7192
|
+
}), Ps = { class: "select-selected-item" };
|
|
7193
|
+
function Ys(e, t, n, l, o, r) {
|
|
7175
7194
|
const a = h("q-icon"), i = h("q-select");
|
|
7176
7195
|
return y(), V(i, {
|
|
7177
7196
|
class: "j-q-select-new-value",
|
|
@@ -7211,8 +7230,8 @@ function Ps(e, t, n, l, o, r) {
|
|
|
7211
7230
|
e.useChips ? {
|
|
7212
7231
|
name: "selected-item",
|
|
7213
7232
|
fn: D((s) => [
|
|
7214
|
-
|
|
7215
|
-
|
|
7233
|
+
C("span", Ps, [
|
|
7234
|
+
C("span", null, O(s.opt), 1),
|
|
7216
7235
|
b(a, {
|
|
7217
7236
|
name: "close",
|
|
7218
7237
|
class: "cursor-pointer q-ml-xs",
|
|
@@ -7225,7 +7244,7 @@ function Ps(e, t, n, l, o, r) {
|
|
|
7225
7244
|
} : void 0
|
|
7226
7245
|
]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
|
|
7227
7246
|
}
|
|
7228
|
-
const
|
|
7247
|
+
const Tf = /* @__PURE__ */ Z(Es, [["render", Ys]]), Qs = B({
|
|
7229
7248
|
name: "JQOptionGroup",
|
|
7230
7249
|
components: {
|
|
7231
7250
|
QField: Ne,
|
|
@@ -7261,7 +7280,7 @@ const Sf = /* @__PURE__ */ Z(Vs, [["render", Ps]]), Ys = B({
|
|
|
7261
7280
|
},
|
|
7262
7281
|
// q-option-group 不支持 slots 扩展,故省略 slots 定义
|
|
7263
7282
|
setup(e, { emit: t }) {
|
|
7264
|
-
const n = z(e.modelValue ?? null), l =
|
|
7283
|
+
const n = z(e.modelValue ?? null), l = v(() => e.options ? e.options.map((a) => ({
|
|
7265
7284
|
...a,
|
|
7266
7285
|
...{
|
|
7267
7286
|
radio: {
|
|
@@ -7274,7 +7293,7 @@ const Sf = /* @__PURE__ */ Z(Vs, [["render", Ps]]), Ys = B({
|
|
|
7274
7293
|
indeterminateIcon: "app:table-not-full-check"
|
|
7275
7294
|
}
|
|
7276
7295
|
}[e.type] || {}
|
|
7277
|
-
})) : []), o =
|
|
7296
|
+
})) : []), o = v(() => e.inline ? "" : `inline-span-${e.inlineSpanCount}`);
|
|
7278
7297
|
return W(
|
|
7279
7298
|
() => e.modelValue,
|
|
7280
7299
|
(a) => {
|
|
@@ -7297,7 +7316,7 @@ const Sf = /* @__PURE__ */ Z(Vs, [["render", Ps]]), Ys = B({
|
|
|
7297
7316
|
};
|
|
7298
7317
|
}
|
|
7299
7318
|
});
|
|
7300
|
-
function
|
|
7319
|
+
function qs(e, t, n, l, o, r) {
|
|
7301
7320
|
var u;
|
|
7302
7321
|
const a = h("q-icon"), i = h("j-c-tooltip"), s = h("q-option-group"), c = h("q-field");
|
|
7303
7322
|
return y(), V(c, {
|
|
@@ -7350,7 +7369,7 @@ function Qs(e, t, n, l, o, r) {
|
|
|
7350
7369
|
_: 1
|
|
7351
7370
|
}, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
|
|
7352
7371
|
}
|
|
7353
|
-
const
|
|
7372
|
+
const zf = /* @__PURE__ */ Z(Qs, [["render", qs], ["__scopeId", "data-v-f0ca5e31"]]), Rs = B({
|
|
7354
7373
|
name: "JQPopover",
|
|
7355
7374
|
components: {
|
|
7356
7375
|
QPopupProxy: he,
|
|
@@ -7374,7 +7393,7 @@ const Tf = /* @__PURE__ */ Z(Ys, [["render", Qs], ["__scopeId", "data-v-f0ca5e31
|
|
|
7374
7393
|
},
|
|
7375
7394
|
slots: Object,
|
|
7376
7395
|
setup(e) {
|
|
7377
|
-
const t = z(null), n = z(null), l =
|
|
7396
|
+
const t = z(null), n = z(null), l = v(() => {
|
|
7378
7397
|
let i = e.width;
|
|
7379
7398
|
return typeof i == "number" && (i = `${i}px`), {
|
|
7380
7399
|
minWidth: i
|
|
@@ -7400,10 +7419,10 @@ const Tf = /* @__PURE__ */ Z(Ys, [["render", Qs], ["__scopeId", "data-v-f0ca5e31
|
|
|
7400
7419
|
popoverStyle: l
|
|
7401
7420
|
};
|
|
7402
7421
|
}
|
|
7403
|
-
}),
|
|
7404
|
-
function
|
|
7422
|
+
}), Us = { class: "inline-block" }, Bs = { class: "text-body2 text-grey" };
|
|
7423
|
+
function Zs(e, t, n, l, o, r) {
|
|
7405
7424
|
const a = h("q-card-section"), i = h("q-card"), s = h("q-popup-proxy");
|
|
7406
|
-
return y(), w("div",
|
|
7425
|
+
return y(), w("div", Us, [
|
|
7407
7426
|
Y(e.$slots, "default", {}, void 0, !0),
|
|
7408
7427
|
b(s, {
|
|
7409
7428
|
ref: "popupRef",
|
|
@@ -7419,7 +7438,7 @@ function Bs(e, t, n, l, o, r) {
|
|
|
7419
7438
|
b(a, { class: "q-pa-sm" }, {
|
|
7420
7439
|
default: D(() => [
|
|
7421
7440
|
Y(e.$slots, "content", {}, () => [
|
|
7422
|
-
|
|
7441
|
+
C("span", Bs, O(e.title), 1)
|
|
7423
7442
|
], !0)
|
|
7424
7443
|
]),
|
|
7425
7444
|
_: 3
|
|
@@ -7432,7 +7451,7 @@ function Bs(e, t, n, l, o, r) {
|
|
|
7432
7451
|
}, 512)
|
|
7433
7452
|
]);
|
|
7434
7453
|
}
|
|
7435
|
-
const
|
|
7454
|
+
const kf = /* @__PURE__ */ Z(Rs, [["render", Zs], ["__scopeId", "data-v-8de7d551"]]), Ws = B({
|
|
7436
7455
|
name: "jQSearchForm",
|
|
7437
7456
|
components: {
|
|
7438
7457
|
JQButton: qe
|
|
@@ -7472,22 +7491,22 @@ const zf = /* @__PURE__ */ Z(qs, [["render", Bs], ["__scopeId", "data-v-8de7d551
|
|
|
7472
7491
|
handleClickReset: i
|
|
7473
7492
|
};
|
|
7474
7493
|
}
|
|
7475
|
-
}),
|
|
7494
|
+
}), Fs = {
|
|
7476
7495
|
ref: "searchFormRef",
|
|
7477
7496
|
class: "j-q-search-bar"
|
|
7478
|
-
},
|
|
7497
|
+
}, Hs = { class: "search-bar-container" }, Js = { class: "search--bar-items-wrapper" }, Gs = { class: "search--bar-items" }, _s = {
|
|
7479
7498
|
key: 0,
|
|
7480
7499
|
class: "default-operation-buttons"
|
|
7481
|
-
},
|
|
7482
|
-
function
|
|
7500
|
+
}, Ks = { class: "search-bar-extra-operation" };
|
|
7501
|
+
function xs(e, t, n, l, o, r) {
|
|
7483
7502
|
const a = h("j-q-button");
|
|
7484
7503
|
return y(), w("div", null, [
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7504
|
+
C("div", Fs, [
|
|
7505
|
+
C("div", Hs, [
|
|
7506
|
+
C("div", Js, [
|
|
7507
|
+
C("div", Gs, [
|
|
7489
7508
|
Y(e.$slots, "default"),
|
|
7490
|
-
e.operationVisible ? (y(), w("div",
|
|
7509
|
+
e.operationVisible ? (y(), w("div", _s, [
|
|
7491
7510
|
b(a, {
|
|
7492
7511
|
loading: e.queryLoading,
|
|
7493
7512
|
onClick: e.handleClickQuery
|
|
@@ -7510,7 +7529,7 @@ function Ks(e, t, n, l, o, r) {
|
|
|
7510
7529
|
_: 1
|
|
7511
7530
|
}, 8, ["loading", "onClick"])) : E("", !0)
|
|
7512
7531
|
])) : E("", !0),
|
|
7513
|
-
|
|
7532
|
+
C("div", Ks, [
|
|
7514
7533
|
Y(e.$slots, "extra-operation")
|
|
7515
7534
|
])
|
|
7516
7535
|
])
|
|
@@ -7519,8 +7538,8 @@ function Ks(e, t, n, l, o, r) {
|
|
|
7519
7538
|
], 512)
|
|
7520
7539
|
]);
|
|
7521
7540
|
}
|
|
7522
|
-
const
|
|
7523
|
-
function
|
|
7541
|
+
const Lf = /* @__PURE__ */ Z(Ws, [["render", xs]]), _t = 15, En = [10, 15, 20, 30, 50];
|
|
7542
|
+
function Xs(e) {
|
|
7524
7543
|
const t = _t, n = Te({
|
|
7525
7544
|
page: 1,
|
|
7526
7545
|
rowsPerPage: t,
|
|
@@ -7534,7 +7553,7 @@ function xs(e) {
|
|
|
7534
7553
|
n.rowsNumber = s ?? 0;
|
|
7535
7554
|
} };
|
|
7536
7555
|
}
|
|
7537
|
-
const
|
|
7556
|
+
const eu = B({
|
|
7538
7557
|
name: "MyPaginationComponent",
|
|
7539
7558
|
components: {
|
|
7540
7559
|
QSelect: Qe,
|
|
@@ -7560,10 +7579,10 @@ const Xs = B({
|
|
|
7560
7579
|
totalPage: 0,
|
|
7561
7580
|
// 初始化为 0,等计算
|
|
7562
7581
|
currentPage: ""
|
|
7563
|
-
}), o = En, r =
|
|
7582
|
+
}), o = En, r = v(() => {
|
|
7564
7583
|
const { rowsNumber: d, rowsPerPage: p } = l, I = Math.ceil(d / p);
|
|
7565
7584
|
return I < 1 ? 1 : I;
|
|
7566
|
-
}), a =
|
|
7585
|
+
}), a = v(() => `${l.page} / ${l.totalPage}`), i = v(() => {
|
|
7567
7586
|
const d = r.value.toString();
|
|
7568
7587
|
return Array(d.length).fill("#").join("");
|
|
7569
7588
|
});
|
|
@@ -7609,13 +7628,13 @@ const Xs = B({
|
|
|
7609
7628
|
selectChange: c
|
|
7610
7629
|
};
|
|
7611
7630
|
}
|
|
7612
|
-
}),
|
|
7613
|
-
function
|
|
7631
|
+
}), tu = { class: "row items-center justify-end" }, nu = { style: { "margin-top": "4px" } }, lu = { style: { "margin-top": "4px", "margin-right": "24px" } }, ou = { style: { "margin-left": "24px" } };
|
|
7632
|
+
function au(e, t, n, l, o, r) {
|
|
7614
7633
|
const a = h("q-select"), i = h("q-pagination"), s = h("q-input");
|
|
7615
7634
|
return y(), w("div", null, [
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7635
|
+
C("div", tu, [
|
|
7636
|
+
C("div", nu, [
|
|
7637
|
+
C("span", null, O(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
|
|
7619
7638
|
]),
|
|
7620
7639
|
b(a, {
|
|
7621
7640
|
class: "my-pagination",
|
|
@@ -7633,8 +7652,8 @@ function ou(e, t, n, l, o, r) {
|
|
|
7633
7652
|
autocomplete: "false",
|
|
7634
7653
|
"popup-content-class": "j-q-select-popup select-popup-content height1"
|
|
7635
7654
|
}, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
|
|
7636
|
-
|
|
7637
|
-
|
|
7655
|
+
C("div", lu, [
|
|
7656
|
+
C("span", null, O(e.t("messages.pagination.pieces_page")), 1)
|
|
7638
7657
|
]),
|
|
7639
7658
|
b(i, {
|
|
7640
7659
|
modelValue: e.internalInfo.page,
|
|
@@ -7653,7 +7672,7 @@ function ou(e, t, n, l, o, r) {
|
|
|
7653
7672
|
"active-text-color": "white",
|
|
7654
7673
|
ripple: !1
|
|
7655
7674
|
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
|
|
7656
|
-
|
|
7675
|
+
C("p", ou, O(e.t("messages.pagination.goto")), 1),
|
|
7657
7676
|
b(s, {
|
|
7658
7677
|
autofocus: !1,
|
|
7659
7678
|
modelValue: e.internalInfo.currentPage,
|
|
@@ -7672,10 +7691,10 @@ function ou(e, t, n, l, o, r) {
|
|
|
7672
7691
|
])
|
|
7673
7692
|
]);
|
|
7674
7693
|
}
|
|
7675
|
-
const
|
|
7694
|
+
const iu = /* @__PURE__ */ Z(eu, [["render", au]]), ru = B({
|
|
7676
7695
|
name: "JQTableComponent",
|
|
7677
7696
|
components: {
|
|
7678
|
-
Pagination:
|
|
7697
|
+
Pagination: iu,
|
|
7679
7698
|
QTable: Ml,
|
|
7680
7699
|
QTh: yl,
|
|
7681
7700
|
QTd: ml,
|
|
@@ -7704,29 +7723,29 @@ const au = /* @__PURE__ */ Z(Xs, [["render", ou]]), iu = B({
|
|
|
7704
7723
|
},
|
|
7705
7724
|
slots: Object,
|
|
7706
7725
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
7707
|
-
const { t: o } = X(), r = z(null), a = z([]), i = z(/* @__PURE__ */ new Map()), s = z(/* @__PURE__ */ new Map()), c = (P) => Reflect.has(l, P), u =
|
|
7726
|
+
const { t: o } = X(), r = z(null), a = z([]), i = z(/* @__PURE__ */ new Map()), s = z(/* @__PURE__ */ new Map()), c = (P) => Reflect.has(l, P), u = v({
|
|
7708
7727
|
get() {
|
|
7709
7728
|
return e.selected ?? a.value;
|
|
7710
7729
|
},
|
|
7711
7730
|
set(P) {
|
|
7712
7731
|
t("update:selected", P), a.value = P;
|
|
7713
7732
|
}
|
|
7714
|
-
}), d =
|
|
7733
|
+
}), d = v(() => e.tableHeaderClass), p = v(() => {
|
|
7715
7734
|
var P;
|
|
7716
7735
|
return ((P = e.columns) == null ? void 0 : P.filter((U) => Reflect.has(l, `header-cell-${U.name}`))) || [];
|
|
7717
|
-
}), I =
|
|
7736
|
+
}), I = v(() => {
|
|
7718
7737
|
var P;
|
|
7719
7738
|
return ((P = e.columns) == null ? void 0 : P.filter(({ name: U, onClick: ue }) => Reflect.has(l, `body-cell-${U}`) && !ue)) || [];
|
|
7720
|
-
}), j =
|
|
7739
|
+
}), j = v(() => {
|
|
7721
7740
|
var P;
|
|
7722
7741
|
return ((P = e.columns) == null ? void 0 : P.filter(({ onClick: U }) => U)) || [];
|
|
7723
|
-
}), A =
|
|
7742
|
+
}), A = v(() => {
|
|
7724
7743
|
var P;
|
|
7725
7744
|
return ((P = e.columns) == null ? void 0 : P.filter(({ whiteSpace: U, onClick: ue, name: Ze }) => U && !ue && !Reflect.has(l, `body-cell-${Ze}`))) || [];
|
|
7726
|
-
}), m =
|
|
7745
|
+
}), m = v(() => {
|
|
7727
7746
|
var P;
|
|
7728
7747
|
return ((P = e.columns) == null ? void 0 : P.filter(({ limitWidth: U, whiteSpace: ue, onClick: Ze, name: ht }) => U && !ue && !Ze && !Reflect.has(l, `body-cell-${ht}`))) || [];
|
|
7729
|
-
}), { paginationInfo: T, getPaginationParam: L, getNum: $, setNum: S, setTotal: M, setSize: f } =
|
|
7748
|
+
}), { paginationInfo: T, getPaginationParam: L, getNum: $, setNum: S, setTotal: M, setSize: f } = Xs(), g = v(() => ({
|
|
7730
7749
|
rowsPerPage: 0
|
|
7731
7750
|
})), N = () => {
|
|
7732
7751
|
t("changeNum", T), e.autoScrollOnChangePage && F();
|
|
@@ -7843,8 +7862,8 @@ const au = /* @__PURE__ */ Z(Xs, [["render", ou]]), iu = B({
|
|
|
7843
7862
|
shouldShowTooltip: It
|
|
7844
7863
|
};
|
|
7845
7864
|
}
|
|
7846
|
-
}),
|
|
7847
|
-
function
|
|
7865
|
+
}), su = ["onClick"];
|
|
7866
|
+
function uu(e, t, n, l, o, r) {
|
|
7848
7867
|
const a = h("q-th"), i = h("q-td"), s = h("j-c-tooltip"), c = h("q-inner-loading"), u = h("q-table"), d = h("Pagination");
|
|
7849
7868
|
return y(), w("div", {
|
|
7850
7869
|
class: "j-q-table-container",
|
|
@@ -7945,7 +7964,7 @@ function su(e, t, n, l, o, r) {
|
|
|
7945
7964
|
class: "cell-limit-width"
|
|
7946
7965
|
}, {
|
|
7947
7966
|
default: D(() => [
|
|
7948
|
-
|
|
7967
|
+
C("div", {
|
|
7949
7968
|
class: "cell-limit-width q-mr-lg",
|
|
7950
7969
|
style: G(e.getCellLimitWidthStyle(p))
|
|
7951
7970
|
}, O(e.formatColumnValue(p, I.value)), 5)
|
|
@@ -7969,7 +7988,7 @@ function su(e, t, n, l, o, r) {
|
|
|
7969
7988
|
class: "q-pr-lg"
|
|
7970
7989
|
}, {
|
|
7971
7990
|
default: D(() => [
|
|
7972
|
-
|
|
7991
|
+
C("div", {
|
|
7973
7992
|
class: q(e.getCellClass(p)),
|
|
7974
7993
|
ref: (j) => e.setEllipsisRef(j, `${p.name}-${I.row[e.rowKey]}`)
|
|
7975
7994
|
}, O(e.formatColumnValue(p, I.value)), 3)
|
|
@@ -7997,11 +8016,11 @@ function su(e, t, n, l, o, r) {
|
|
|
7997
8016
|
class: "q-pr-lg"
|
|
7998
8017
|
}, {
|
|
7999
8018
|
default: D(() => [
|
|
8000
|
-
|
|
8019
|
+
C("div", {
|
|
8001
8020
|
class: q(["link-type", e.getCellClass(p)]),
|
|
8002
8021
|
ref: p.whiteSpace ? (j) => e.setEllipsisRef(j, `${p.name}-${I.row[e.rowKey]}`) : void 0,
|
|
8003
8022
|
onClick: (j) => e.handleColumnClick(p, I.row)
|
|
8004
|
-
}, O(e.formatColumnValue(p, I.value)), 11,
|
|
8023
|
+
}, O(e.formatColumnValue(p, I.value)), 11, su)
|
|
8005
8024
|
]),
|
|
8006
8025
|
_: 2
|
|
8007
8026
|
}, 1032, ["content", "style", "disabled"])) : (y(), V(s, {
|
|
@@ -8012,7 +8031,7 @@ function su(e, t, n, l, o, r) {
|
|
|
8012
8031
|
class: "q-pr-lg"
|
|
8013
8032
|
}, {
|
|
8014
8033
|
default: D(() => [
|
|
8015
|
-
|
|
8034
|
+
C("div", {
|
|
8016
8035
|
class: q(e.getCellClass(p)),
|
|
8017
8036
|
ref: p.whiteSpace ? (j) => e.setEllipsisRef(j, `${p.name}-${I.row[e.rowKey]}`) : void 0
|
|
8018
8037
|
}, O(e.formatColumnValue(p, I.value)), 3)
|
|
@@ -8034,7 +8053,7 @@ function su(e, t, n, l, o, r) {
|
|
|
8034
8053
|
Y(e.$slots, "append")
|
|
8035
8054
|
], 4);
|
|
8036
8055
|
}
|
|
8037
|
-
const
|
|
8056
|
+
const $f = /* @__PURE__ */ Z(ru, [["render", uu]]), cu = B({
|
|
8038
8057
|
name: "dialogConfirmComponent",
|
|
8039
8058
|
components: {
|
|
8040
8059
|
QDialog: fn,
|
|
@@ -8056,7 +8075,7 @@ const Lf = /* @__PURE__ */ Z(iu, [["render", su]]), uu = B({
|
|
|
8056
8075
|
showClose: { type: Boolean, default: !0 }
|
|
8057
8076
|
},
|
|
8058
8077
|
setup(e) {
|
|
8059
|
-
const { t } = X(), { dialogRef: n, onDialogHide: l, onDialogOK: o, onDialogCancel: r } = on(), a =
|
|
8078
|
+
const { t } = X(), { dialogRef: n, onDialogHide: l, onDialogOK: o, onDialogCancel: r } = on(), a = v(() => e.confirmButtonText || t("action.confirm")), i = v(() => e.cancelButtonText || t("action.cancel")), s = v(() => e.color || (e.isDelete ? "negative" : "primary")), c = v(() => typeof e.icon == "string");
|
|
8060
8079
|
return {
|
|
8061
8080
|
dialogRef: n,
|
|
8062
8081
|
onDialogHide: l,
|
|
@@ -8073,11 +8092,11 @@ const Lf = /* @__PURE__ */ Z(iu, [["render", su]]), uu = B({
|
|
|
8073
8092
|
}
|
|
8074
8093
|
};
|
|
8075
8094
|
}
|
|
8076
|
-
}),
|
|
8095
|
+
}), du = { class: "title" }, pu = {
|
|
8077
8096
|
key: 2,
|
|
8078
8097
|
class: "close"
|
|
8079
8098
|
};
|
|
8080
|
-
function
|
|
8099
|
+
function fu(e, t, n, l, o, r) {
|
|
8081
8100
|
const a = h("q-icon"), i = h("q-card-section"), s = h("j-q-button"), c = h("q-card"), u = h("q-dialog");
|
|
8082
8101
|
return y(), V(u, {
|
|
8083
8102
|
ref: "dialogRef",
|
|
@@ -8107,8 +8126,8 @@ function pu(e, t, n, l, o, r) {
|
|
|
8107
8126
|
class: "q-mr-sm",
|
|
8108
8127
|
size: "24px"
|
|
8109
8128
|
})) : E("", !0),
|
|
8110
|
-
|
|
8111
|
-
e.showClose ? (y(), w("div",
|
|
8129
|
+
C("div", du, O(e.title), 1),
|
|
8130
|
+
e.showClose ? (y(), w("div", pu, [
|
|
8112
8131
|
b(a, {
|
|
8113
8132
|
name: "app:dialog-close",
|
|
8114
8133
|
size: "16px",
|
|
@@ -8149,9 +8168,9 @@ function pu(e, t, n, l, o, r) {
|
|
|
8149
8168
|
_: 1
|
|
8150
8169
|
}, 8, ["onHide"]);
|
|
8151
8170
|
}
|
|
8152
|
-
const
|
|
8171
|
+
const gu = /* @__PURE__ */ Z(cu, [["render", fu]]);
|
|
8153
8172
|
let Ge = null;
|
|
8154
|
-
class
|
|
8173
|
+
class mu {
|
|
8155
8174
|
/**
|
|
8156
8175
|
* 设置 Quasar 实例(在 rtcptInit 中调用)
|
|
8157
8176
|
*/
|
|
@@ -8164,7 +8183,7 @@ class gu {
|
|
|
8164
8183
|
async show({ title: t, color: n, content: l, confirmButtonText: o, cancelButtonText: r, showCancelButton: a, isDelete: i, icon: s, showClose: c }) {
|
|
8165
8184
|
return Ge != null && Ge.dialog ? new Promise((u) => {
|
|
8166
8185
|
Ge.dialog({
|
|
8167
|
-
component:
|
|
8186
|
+
component: gu,
|
|
8168
8187
|
cancel: a === void 0 ? !0 : a,
|
|
8169
8188
|
componentProps: {
|
|
8170
8189
|
title: t,
|
|
@@ -8186,7 +8205,7 @@ class gu {
|
|
|
8186
8205
|
}) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
|
|
8187
8206
|
}
|
|
8188
8207
|
}
|
|
8189
|
-
const
|
|
8208
|
+
const yu = new mu(), Mu = 15, Iu = [10, 15, 20, 30, 50], hu = B({
|
|
8190
8209
|
name: "JQPagination",
|
|
8191
8210
|
components: {
|
|
8192
8211
|
QSelect: Qe,
|
|
@@ -8202,7 +8221,7 @@ const mu = new gu(), yu = 15, Mu = [10, 15, 20, 30, 50], Iu = B({
|
|
|
8202
8221
|
// 每页显示数量
|
|
8203
8222
|
pageSize: {
|
|
8204
8223
|
type: Number,
|
|
8205
|
-
default:
|
|
8224
|
+
default: Mu
|
|
8206
8225
|
},
|
|
8207
8226
|
// 总条数
|
|
8208
8227
|
total: {
|
|
@@ -8212,7 +8231,7 @@ const mu = new gu(), yu = 15, Mu = [10, 15, 20, 30, 50], Iu = B({
|
|
|
8212
8231
|
// 每页显示数量选项
|
|
8213
8232
|
pageSizeOptions: {
|
|
8214
8233
|
type: Array,
|
|
8215
|
-
default: () =>
|
|
8234
|
+
default: () => Iu
|
|
8216
8235
|
}
|
|
8217
8236
|
},
|
|
8218
8237
|
emits: ["update:currentPage", "update:pageSize", "change"],
|
|
@@ -8222,10 +8241,10 @@ const mu = new gu(), yu = 15, Mu = [10, 15, 20, 30, 50], Iu = B({
|
|
|
8222
8241
|
pageSize: e.pageSize,
|
|
8223
8242
|
total: e.total,
|
|
8224
8243
|
inputPage: ""
|
|
8225
|
-
}), o =
|
|
8244
|
+
}), o = v(() => {
|
|
8226
8245
|
const { total: d, pageSize: p } = l, I = Math.ceil(d / p);
|
|
8227
8246
|
return I < 1 ? 1 : I;
|
|
8228
|
-
}), r =
|
|
8247
|
+
}), r = v(() => `${l.currentPage} / ${o.value}`), a = v(() => {
|
|
8229
8248
|
const d = o.value.toString();
|
|
8230
8249
|
return Array(d.length).fill("#").join("");
|
|
8231
8250
|
});
|
|
@@ -8273,13 +8292,13 @@ const mu = new gu(), yu = 15, Mu = [10, 15, 20, 30, 50], Iu = B({
|
|
|
8273
8292
|
}
|
|
8274
8293
|
};
|
|
8275
8294
|
}
|
|
8276
|
-
}),
|
|
8277
|
-
function
|
|
8295
|
+
}), Au = { class: "j-q-pagination" }, Du = { class: "row items-center justify-end" }, Cu = { class: "pagination-total" }, vu = { class: "pagination-suffix" }, Nu = { class: "pagination-goto-text" };
|
|
8296
|
+
function bu(e, t, n, l, o, r) {
|
|
8278
8297
|
const a = h("q-select"), i = h("q-pagination"), s = h("q-input");
|
|
8279
|
-
return y(), w("div",
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8298
|
+
return y(), w("div", Au, [
|
|
8299
|
+
C("div", Du, [
|
|
8300
|
+
C("div", Cu, [
|
|
8301
|
+
C("span", null, O(e.t("messages.pagination.total", { total: e.internalInfo.total })), 1)
|
|
8283
8302
|
]),
|
|
8284
8303
|
b(a, {
|
|
8285
8304
|
class: "pagination-size-select",
|
|
@@ -8296,8 +8315,8 @@ function Nu(e, t, n, l, o, r) {
|
|
|
8296
8315
|
autocomplete: "false",
|
|
8297
8316
|
"popup-content-class": "j-q-select-popup select-popup-content height1"
|
|
8298
8317
|
}, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
|
|
8299
|
-
|
|
8300
|
-
|
|
8318
|
+
C("div", vu, [
|
|
8319
|
+
C("span", null, O(e.t("messages.pagination.pieces_page")), 1)
|
|
8301
8320
|
]),
|
|
8302
8321
|
b(i, {
|
|
8303
8322
|
modelValue: e.internalInfo.currentPage,
|
|
@@ -8316,7 +8335,7 @@ function Nu(e, t, n, l, o, r) {
|
|
|
8316
8335
|
"active-text-color": "white",
|
|
8317
8336
|
ripple: !1
|
|
8318
8337
|
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
|
|
8319
|
-
|
|
8338
|
+
C("p", Nu, O(e.t("messages.pagination.goto")), 1),
|
|
8320
8339
|
b(s, {
|
|
8321
8340
|
autofocus: !1,
|
|
8322
8341
|
modelValue: e.internalInfo.inputPage,
|
|
@@ -8335,7 +8354,7 @@ function Nu(e, t, n, l, o, r) {
|
|
|
8335
8354
|
])
|
|
8336
8355
|
]);
|
|
8337
8356
|
}
|
|
8338
|
-
const
|
|
8357
|
+
const Of = /* @__PURE__ */ Z(hu, [["render", bu]]);
|
|
8339
8358
|
function Kt(e, t = {}) {
|
|
8340
8359
|
if (!Array.isArray(e))
|
|
8341
8360
|
return [];
|
|
@@ -8349,7 +8368,7 @@ function Kt(e, t = {}) {
|
|
|
8349
8368
|
return Array.isArray(c) && c.length > 0 && (s.children = Kt(c, t)), s;
|
|
8350
8369
|
});
|
|
8351
8370
|
}
|
|
8352
|
-
function
|
|
8371
|
+
function ju(e) {
|
|
8353
8372
|
let { data: t, key: n, idKey: l, rootId: o, isMapOption: r, labelValue: a } = e;
|
|
8354
8373
|
t = t || [], n = n || "parentId", l = l || "id", r = r !== !1, a = a || { label: "name", value: "id" }, o = o || "1";
|
|
8355
8374
|
const i = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set();
|
|
@@ -8385,11 +8404,11 @@ function bu(e) {
|
|
|
8385
8404
|
flatData: JSON.parse(JSON.stringify(d))
|
|
8386
8405
|
};
|
|
8387
8406
|
}
|
|
8388
|
-
function
|
|
8407
|
+
function wu(e) {
|
|
8389
8408
|
const { data: t, parentKey: n = "parentId", idKey: l = "id", rootId: o, childrenKey: r = "children" } = e, a = (i, s) => i.reduce((c, u) => u[n] === s ? (u[r] = a(i, u[l]), c.concat(u)) : c, []);
|
|
8390
8409
|
return a(t, o);
|
|
8391
8410
|
}
|
|
8392
|
-
function
|
|
8411
|
+
function Su(e) {
|
|
8393
8412
|
const {
|
|
8394
8413
|
targetIds: t,
|
|
8395
8414
|
allData: n,
|
|
@@ -8409,7 +8428,7 @@ function wu(e) {
|
|
|
8409
8428
|
s(c);
|
|
8410
8429
|
}), Array.from(i);
|
|
8411
8430
|
}
|
|
8412
|
-
function
|
|
8431
|
+
function Tu(e) {
|
|
8413
8432
|
const { treeData: t, idList: n, idKey: l = "id", childrenKey: o = "children" } = e, r = /* @__PURE__ */ new Set(), a = (i) => {
|
|
8414
8433
|
i.forEach((s) => {
|
|
8415
8434
|
const c = s[o];
|
|
@@ -8418,20 +8437,20 @@ function Su(e) {
|
|
|
8418
8437
|
};
|
|
8419
8438
|
return a(t), n.filter((i) => !r.has(i));
|
|
8420
8439
|
}
|
|
8421
|
-
const
|
|
8440
|
+
const zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8422
8441
|
__proto__: null,
|
|
8423
|
-
arrayToTree:
|
|
8424
|
-
buildTree:
|
|
8425
|
-
filterLeafIds:
|
|
8426
|
-
findParentIds:
|
|
8442
|
+
arrayToTree: wu,
|
|
8443
|
+
buildTree: ju,
|
|
8444
|
+
filterLeafIds: Tu,
|
|
8445
|
+
findParentIds: Su,
|
|
8427
8446
|
transformTreeUseLabelAndValue: Kt
|
|
8428
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8447
|
+
}, Symbol.toStringTag, { value: "Module" })), ku = (e, t) => {
|
|
8429
8448
|
const n = window.decodeURI(t), l = new Blob([e]);
|
|
8430
8449
|
if ("download" in document.createElement("a")) {
|
|
8431
8450
|
const o = document.createElement("a");
|
|
8432
8451
|
o.download = n, o.style.display = "none", o.href = window.URL.createObjectURL(l), document.body.appendChild(o), o.click(), window.URL.revokeObjectURL(o.href), document.body.removeChild(o);
|
|
8433
8452
|
}
|
|
8434
|
-
},
|
|
8453
|
+
}, Lu = (e, t) => {
|
|
8435
8454
|
const n = /* @__PURE__ */ new Date(), l = [
|
|
8436
8455
|
n.getFullYear(),
|
|
8437
8456
|
String(n.getMonth() + 1).padStart(2, "0"),
|
|
@@ -8442,7 +8461,7 @@ const Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8442
8461
|
].join("");
|
|
8443
8462
|
return `${e}_${l}.${t.toLowerCase()}`;
|
|
8444
8463
|
};
|
|
8445
|
-
function
|
|
8464
|
+
function $u(e) {
|
|
8446
8465
|
var t;
|
|
8447
8466
|
if (e === null || typeof e > "u")
|
|
8448
8467
|
return "";
|
|
@@ -8457,13 +8476,13 @@ function Lu(e) {
|
|
|
8457
8476
|
}
|
|
8458
8477
|
return e;
|
|
8459
8478
|
}
|
|
8460
|
-
function
|
|
8479
|
+
function Ou(e) {
|
|
8461
8480
|
return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
|
|
8462
8481
|
}
|
|
8463
|
-
function
|
|
8482
|
+
function Vu(e, t, n = "TB") {
|
|
8464
8483
|
return e = Number(e) || 0, lt({ size: e, unit: t }, { maxUnit: n });
|
|
8465
8484
|
}
|
|
8466
|
-
function
|
|
8485
|
+
function Eu(e, t) {
|
|
8467
8486
|
if (e === null || typeof e > "u")
|
|
8468
8487
|
return [];
|
|
8469
8488
|
let n;
|
|
@@ -8479,17 +8498,17 @@ function Vu(e, t) {
|
|
|
8479
8498
|
return [];
|
|
8480
8499
|
return Array.isArray(n) ? n.map((l) => l && typeof l == "object" && l[t] && typeof l[t] == "string" ? l[t] : null).filter((l) => l !== null) : [];
|
|
8481
8500
|
}
|
|
8482
|
-
const
|
|
8501
|
+
const Pu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8483
8502
|
__proto__: null,
|
|
8484
|
-
dataCvSize:
|
|
8485
|
-
obj2Arr:
|
|
8486
|
-
val2Str:
|
|
8487
|
-
valSplit:
|
|
8503
|
+
dataCvSize: Vu,
|
|
8504
|
+
obj2Arr: Eu,
|
|
8505
|
+
val2Str: $u,
|
|
8506
|
+
valSplit: Ou
|
|
8488
8507
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8489
|
-
function
|
|
8508
|
+
function Yu(e) {
|
|
8490
8509
|
return Array.isArray(e) ? [...new Set(e)] : e;
|
|
8491
8510
|
}
|
|
8492
|
-
function
|
|
8511
|
+
function Qu(e, t) {
|
|
8493
8512
|
if (!Array.isArray(e)) return e;
|
|
8494
8513
|
const n = /* @__PURE__ */ new Map();
|
|
8495
8514
|
return e.filter((l) => {
|
|
@@ -8497,7 +8516,7 @@ function Yu(e, t) {
|
|
|
8497
8516
|
return n.has(o) ? !1 : (n.set(o, !0), !0);
|
|
8498
8517
|
});
|
|
8499
8518
|
}
|
|
8500
|
-
function
|
|
8519
|
+
function qu(e, t) {
|
|
8501
8520
|
if (!Array.isArray(e)) return e;
|
|
8502
8521
|
const n = /* @__PURE__ */ new Set();
|
|
8503
8522
|
return e.filter((l) => {
|
|
@@ -8505,7 +8524,7 @@ function Qu(e, t) {
|
|
|
8505
8524
|
return n.has(o) ? !1 : (n.add(o), !0);
|
|
8506
8525
|
});
|
|
8507
8526
|
}
|
|
8508
|
-
function
|
|
8527
|
+
function Ru(e, t) {
|
|
8509
8528
|
if (!Array.isArray(e)) return e;
|
|
8510
8529
|
const {
|
|
8511
8530
|
idKey: n = "id",
|
|
@@ -8527,7 +8546,7 @@ function qu(e, t) {
|
|
|
8527
8546
|
}
|
|
8528
8547
|
}), i;
|
|
8529
8548
|
}
|
|
8530
|
-
function
|
|
8549
|
+
function Uu(e, t = "children") {
|
|
8531
8550
|
if (!Array.isArray(e)) return e;
|
|
8532
8551
|
const n = [], l = (o) => {
|
|
8533
8552
|
o.forEach((r) => {
|
|
@@ -8548,7 +8567,7 @@ function Pn(e, t, n = "children") {
|
|
|
8548
8567
|
}
|
|
8549
8568
|
return null;
|
|
8550
8569
|
}
|
|
8551
|
-
function
|
|
8570
|
+
function Bu(e, t, n = "children") {
|
|
8552
8571
|
if (!Array.isArray(e)) return;
|
|
8553
8572
|
const l = (o, r, a) => {
|
|
8554
8573
|
o.forEach((i) => {
|
|
@@ -8557,25 +8576,25 @@ function Uu(e, t, n = "children") {
|
|
|
8557
8576
|
};
|
|
8558
8577
|
l(e, null, 0);
|
|
8559
8578
|
}
|
|
8560
|
-
function
|
|
8579
|
+
function Zu(e, t) {
|
|
8561
8580
|
return Array.isArray(e) ? e.reduce((n, l) => {
|
|
8562
8581
|
const o = String(l[t]);
|
|
8563
8582
|
return n[o] || (n[o] = []), n[o].push(l), n;
|
|
8564
8583
|
}, {}) : {};
|
|
8565
8584
|
}
|
|
8566
|
-
function
|
|
8585
|
+
function Wu(e, t) {
|
|
8567
8586
|
return Array.isArray(e) ? e.reduce((n, l) => {
|
|
8568
8587
|
const o = t(l);
|
|
8569
8588
|
return n[o] || (n[o] = []), n[o].push(l), n;
|
|
8570
8589
|
}, {}) : {};
|
|
8571
8590
|
}
|
|
8572
|
-
function
|
|
8591
|
+
function Fu(e, t, n = "asc") {
|
|
8573
8592
|
return Array.isArray(e) ? [...e].sort((l, o) => {
|
|
8574
8593
|
const r = l[t], a = o[t];
|
|
8575
8594
|
return r < a ? n === "asc" ? -1 : 1 : r > a ? n === "asc" ? 1 : -1 : 0;
|
|
8576
8595
|
}) : e;
|
|
8577
8596
|
}
|
|
8578
|
-
function
|
|
8597
|
+
function Hu(e, t) {
|
|
8579
8598
|
return Array.isArray(e) ? [...e].sort((n, l) => {
|
|
8580
8599
|
for (const { key: o, order: r = "asc" } of t) {
|
|
8581
8600
|
const a = n[o], i = l[o];
|
|
@@ -8591,10 +8610,10 @@ function Yn(e, t) {
|
|
|
8591
8610
|
return n + (Number(o) || 0);
|
|
8592
8611
|
}, 0) : 0;
|
|
8593
8612
|
}
|
|
8594
|
-
function
|
|
8613
|
+
function Ju(e, t) {
|
|
8595
8614
|
return !Array.isArray(e) || e.length === 0 ? 0 : Yn(e, t) / e.length;
|
|
8596
8615
|
}
|
|
8597
|
-
function
|
|
8616
|
+
function Gu(e, t) {
|
|
8598
8617
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
8599
8618
|
const n = e.map((l) => {
|
|
8600
8619
|
const o = t ? l[t] : l;
|
|
@@ -8602,7 +8621,7 @@ function Ju(e, t) {
|
|
|
8602
8621
|
});
|
|
8603
8622
|
return Math.max(...n);
|
|
8604
8623
|
}
|
|
8605
|
-
function
|
|
8624
|
+
function _u(e, t) {
|
|
8606
8625
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
8607
8626
|
const n = e.map((l) => {
|
|
8608
8627
|
const o = t ? l[t] : l;
|
|
@@ -8610,22 +8629,22 @@ function Gu(e, t) {
|
|
|
8610
8629
|
});
|
|
8611
8630
|
return Math.min(...n);
|
|
8612
8631
|
}
|
|
8613
|
-
function
|
|
8632
|
+
function Ku(e, t) {
|
|
8614
8633
|
if (!Array.isArray(e) || t <= 0) return [e];
|
|
8615
8634
|
const n = [];
|
|
8616
8635
|
for (let l = 0; l < e.length; l += t)
|
|
8617
8636
|
n.push(e.slice(l, l + t));
|
|
8618
8637
|
return n;
|
|
8619
8638
|
}
|
|
8620
|
-
function
|
|
8639
|
+
function xu(e, t) {
|
|
8621
8640
|
if (!Array.isArray(e) || !Array.isArray(t)) return [];
|
|
8622
8641
|
const n = new Set(t);
|
|
8623
8642
|
return e.filter((l) => n.has(l));
|
|
8624
8643
|
}
|
|
8625
|
-
function
|
|
8644
|
+
function Xu(e, t) {
|
|
8626
8645
|
return Array.isArray(e) ? Array.isArray(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : e || [] : t || [];
|
|
8627
8646
|
}
|
|
8628
|
-
function
|
|
8647
|
+
function ec(e, t) {
|
|
8629
8648
|
if (!Array.isArray(e)) return [];
|
|
8630
8649
|
if (!Array.isArray(t)) return e;
|
|
8631
8650
|
const n = new Set(t);
|
|
@@ -8640,13 +8659,13 @@ function Qn(e) {
|
|
|
8640
8659
|
}
|
|
8641
8660
|
return t;
|
|
8642
8661
|
}
|
|
8643
|
-
function
|
|
8662
|
+
function tc(e, t = 1) {
|
|
8644
8663
|
return !Array.isArray(e) || t <= 0 ? [] : Qn(e).slice(0, Math.min(t, e.length));
|
|
8645
8664
|
}
|
|
8646
8665
|
function qn(e, t = 1 / 0) {
|
|
8647
8666
|
return !Array.isArray(e) || t <= 0 ? e : e.reduce((n, l) => (Array.isArray(l) ? n.push(...qn(l, t - 1)) : n.push(l), n), []);
|
|
8648
8667
|
}
|
|
8649
|
-
function
|
|
8668
|
+
function nc(e, t, n) {
|
|
8650
8669
|
if (!Array.isArray(e))
|
|
8651
8670
|
return { data: [], page: t, pageSize: n, total: 0, totalPages: 0 };
|
|
8652
8671
|
const l = e.length, o = Math.ceil(l / n), r = (t - 1) * n, a = r + n;
|
|
@@ -8658,43 +8677,43 @@ function tc(e, t, n) {
|
|
|
8658
8677
|
totalPages: o
|
|
8659
8678
|
};
|
|
8660
8679
|
}
|
|
8661
|
-
function
|
|
8680
|
+
function lc(e, t, n) {
|
|
8662
8681
|
if (!Array.isArray(e) || t < 0 || t >= e.length || n < 0 || n >= e.length) return e;
|
|
8663
8682
|
const l = [...e], [o] = l.splice(t, 1);
|
|
8664
8683
|
return l.splice(n, 0, o), l;
|
|
8665
8684
|
}
|
|
8666
|
-
function
|
|
8685
|
+
function oc(e) {
|
|
8667
8686
|
return Array.isArray(e) ? e.reduce((t, n) => (t[n] = (t[n] || 0) + 1, t), {}) : {};
|
|
8668
8687
|
}
|
|
8669
|
-
const
|
|
8688
|
+
const ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8670
8689
|
__proto__: null,
|
|
8671
|
-
arrayToTree:
|
|
8672
|
-
average:
|
|
8673
|
-
chunkArray:
|
|
8674
|
-
countBy:
|
|
8675
|
-
difference:
|
|
8690
|
+
arrayToTree: Ru,
|
|
8691
|
+
average: Ju,
|
|
8692
|
+
chunkArray: Ku,
|
|
8693
|
+
countBy: oc,
|
|
8694
|
+
difference: ec,
|
|
8676
8695
|
findNodeInTree: Pn,
|
|
8677
8696
|
flatten: qn,
|
|
8678
|
-
forEachTree:
|
|
8679
|
-
groupBy:
|
|
8680
|
-
groupByFn:
|
|
8681
|
-
intersection:
|
|
8682
|
-
max:
|
|
8683
|
-
min:
|
|
8684
|
-
move:
|
|
8685
|
-
paginate:
|
|
8686
|
-
sample:
|
|
8697
|
+
forEachTree: Bu,
|
|
8698
|
+
groupBy: Zu,
|
|
8699
|
+
groupByFn: Wu,
|
|
8700
|
+
intersection: xu,
|
|
8701
|
+
max: Gu,
|
|
8702
|
+
min: _u,
|
|
8703
|
+
move: lc,
|
|
8704
|
+
paginate: nc,
|
|
8705
|
+
sample: tc,
|
|
8687
8706
|
shuffle: Qn,
|
|
8688
|
-
sortBy:
|
|
8689
|
-
sortByMultiple:
|
|
8707
|
+
sortBy: Fu,
|
|
8708
|
+
sortByMultiple: Hu,
|
|
8690
8709
|
sum: Yn,
|
|
8691
|
-
treeToArray:
|
|
8692
|
-
union:
|
|
8693
|
-
uniqueArray:
|
|
8694
|
-
uniqueArrayByKey:
|
|
8695
|
-
uniqueArrayByKeys:
|
|
8710
|
+
treeToArray: Uu,
|
|
8711
|
+
union: Xu,
|
|
8712
|
+
uniqueArray: Yu,
|
|
8713
|
+
uniqueArrayByKey: Qu,
|
|
8714
|
+
uniqueArrayByKeys: qu
|
|
8696
8715
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8697
|
-
async function
|
|
8716
|
+
async function ic(e) {
|
|
8698
8717
|
if (!e) return !1;
|
|
8699
8718
|
if (navigator.clipboard && window.isSecureContext)
|
|
8700
8719
|
try {
|
|
@@ -8711,7 +8730,7 @@ async function ac(e) {
|
|
|
8711
8730
|
return console.error("复制失败:", t), !1;
|
|
8712
8731
|
}
|
|
8713
8732
|
}
|
|
8714
|
-
async function
|
|
8733
|
+
async function rc() {
|
|
8715
8734
|
if (navigator.clipboard && window.isSecureContext)
|
|
8716
8735
|
try {
|
|
8717
8736
|
return await navigator.clipboard.readText();
|
|
@@ -8724,18 +8743,18 @@ function xt(e, t) {
|
|
|
8724
8743
|
const n = document.createElement("a");
|
|
8725
8744
|
typeof e == "string" ? n.href = e : n.href = URL.createObjectURL(e), n.download = t, n.style.display = "none", document.body.appendChild(n), n.click(), document.body.removeChild(n), typeof e != "string" && setTimeout(() => URL.revokeObjectURL(n.href), 100);
|
|
8726
8745
|
}
|
|
8727
|
-
function
|
|
8746
|
+
function sc(e, t) {
|
|
8728
8747
|
const n = JSON.stringify(e, null, 2), l = new Blob([n], { type: "application/json" });
|
|
8729
8748
|
xt(l, t);
|
|
8730
8749
|
}
|
|
8731
|
-
function
|
|
8750
|
+
function uc(e, t) {
|
|
8732
8751
|
const n = new Blob([e], { type: "text/plain" });
|
|
8733
8752
|
xt(n, t);
|
|
8734
8753
|
}
|
|
8735
8754
|
function Xt(e) {
|
|
8736
8755
|
window.scrollTo(e);
|
|
8737
8756
|
}
|
|
8738
|
-
function
|
|
8757
|
+
function cc(e, t) {
|
|
8739
8758
|
const n = typeof e == "string" ? document.querySelector(e) : e;
|
|
8740
8759
|
n && n.scrollIntoView({
|
|
8741
8760
|
behavior: "smooth",
|
|
@@ -8743,13 +8762,13 @@ function uc(e, t) {
|
|
|
8743
8762
|
...t
|
|
8744
8763
|
});
|
|
8745
8764
|
}
|
|
8746
|
-
function
|
|
8765
|
+
function dc(e = !0) {
|
|
8747
8766
|
Xt({
|
|
8748
8767
|
top: 0,
|
|
8749
8768
|
behavior: e ? "smooth" : "auto"
|
|
8750
8769
|
});
|
|
8751
8770
|
}
|
|
8752
|
-
function
|
|
8771
|
+
function pc(e = !0) {
|
|
8753
8772
|
Xt({
|
|
8754
8773
|
top: document.documentElement.scrollHeight,
|
|
8755
8774
|
behavior: e ? "smooth" : "auto"
|
|
@@ -8761,89 +8780,89 @@ function Rn() {
|
|
|
8761
8780
|
y: window.pageYOffset || document.documentElement.scrollTop
|
|
8762
8781
|
};
|
|
8763
8782
|
}
|
|
8764
|
-
function
|
|
8783
|
+
function fc(e) {
|
|
8765
8784
|
let t = 0;
|
|
8766
8785
|
for (; e; )
|
|
8767
8786
|
t += e.offsetTop, e = e.offsetParent;
|
|
8768
8787
|
return t;
|
|
8769
8788
|
}
|
|
8770
|
-
function
|
|
8789
|
+
function gc(e, t = 0) {
|
|
8771
8790
|
if (!e) return !1;
|
|
8772
8791
|
const n = e.getBoundingClientRect(), l = window.innerHeight || document.documentElement.clientHeight, o = window.innerWidth || document.documentElement.clientWidth;
|
|
8773
8792
|
return n.top >= 0 - t && n.left >= 0 - t && n.bottom <= l + t && n.right <= o + t;
|
|
8774
8793
|
}
|
|
8775
|
-
function
|
|
8794
|
+
function mc(e) {
|
|
8776
8795
|
if (!e) return !1;
|
|
8777
8796
|
const t = e.getBoundingClientRect(), n = window.innerHeight || document.documentElement.clientHeight, l = window.innerWidth || document.documentElement.clientWidth, o = t.top <= n && t.top + t.height >= 0, r = t.left <= l && t.left + t.width >= 0;
|
|
8778
8797
|
return o && r;
|
|
8779
8798
|
}
|
|
8780
|
-
function
|
|
8799
|
+
function yc(e = document.documentElement) {
|
|
8781
8800
|
document.fullscreenElement ? document.exitFullscreen() : e.requestFullscreen().catch((t) => {
|
|
8782
8801
|
console.error("进入全屏失败:", t);
|
|
8783
8802
|
});
|
|
8784
8803
|
}
|
|
8785
|
-
function
|
|
8804
|
+
function Mc(e = document.documentElement) {
|
|
8786
8805
|
document.fullscreenElement || e.requestFullscreen().catch((t) => {
|
|
8787
8806
|
console.error("进入全屏失败:", t);
|
|
8788
8807
|
});
|
|
8789
8808
|
}
|
|
8790
|
-
function
|
|
8809
|
+
function Ic() {
|
|
8791
8810
|
document.fullscreenElement && document.exitFullscreen();
|
|
8792
8811
|
}
|
|
8793
|
-
function
|
|
8812
|
+
function hc() {
|
|
8794
8813
|
return !!document.fullscreenElement;
|
|
8795
8814
|
}
|
|
8796
|
-
function
|
|
8815
|
+
function Ac(e, t) {
|
|
8797
8816
|
e && e.classList.add(t);
|
|
8798
8817
|
}
|
|
8799
|
-
function
|
|
8818
|
+
function Dc(e, t) {
|
|
8800
8819
|
e && e.classList.remove(t);
|
|
8801
8820
|
}
|
|
8802
|
-
function
|
|
8821
|
+
function Cc(e, t) {
|
|
8803
8822
|
e && e.classList.toggle(t);
|
|
8804
8823
|
}
|
|
8805
|
-
function
|
|
8824
|
+
function vc(e, t) {
|
|
8806
8825
|
return e ? e.classList.contains(t) : !1;
|
|
8807
8826
|
}
|
|
8808
|
-
function
|
|
8827
|
+
function Nc(e) {
|
|
8809
8828
|
return e ? Array.from(e.classList) : [];
|
|
8810
8829
|
}
|
|
8811
|
-
function
|
|
8830
|
+
function bc(e) {
|
|
8812
8831
|
return e ? e.getBoundingClientRect() : null;
|
|
8813
8832
|
}
|
|
8814
|
-
function
|
|
8833
|
+
function jc(e) {
|
|
8815
8834
|
return e ? e.offsetWidth : 0;
|
|
8816
8835
|
}
|
|
8817
|
-
function
|
|
8836
|
+
function wc(e) {
|
|
8818
8837
|
return e ? e.offsetHeight : 0;
|
|
8819
8838
|
}
|
|
8820
|
-
function
|
|
8839
|
+
function Sc(e, t = document) {
|
|
8821
8840
|
return t.querySelector(e);
|
|
8822
8841
|
}
|
|
8823
|
-
function
|
|
8842
|
+
function Tc(e, t = document) {
|
|
8824
8843
|
return Array.from(t.querySelectorAll(e));
|
|
8825
8844
|
}
|
|
8826
|
-
function
|
|
8845
|
+
function zc(e, t) {
|
|
8827
8846
|
return e ? e.getAttribute(t) : null;
|
|
8828
8847
|
}
|
|
8829
|
-
function
|
|
8848
|
+
function kc(e, t, n) {
|
|
8830
8849
|
e && e.setAttribute(t, n);
|
|
8831
8850
|
}
|
|
8832
|
-
function
|
|
8851
|
+
function Lc(e, t) {
|
|
8833
8852
|
e && e.removeAttribute(t);
|
|
8834
8853
|
}
|
|
8835
|
-
function
|
|
8854
|
+
function $c(e, t) {
|
|
8836
8855
|
return e ? e.hasAttribute(t) : !1;
|
|
8837
8856
|
}
|
|
8838
|
-
function
|
|
8857
|
+
function Oc(e, t) {
|
|
8839
8858
|
return e && window.getComputedStyle(e)[t] || "";
|
|
8840
8859
|
}
|
|
8841
|
-
function
|
|
8860
|
+
function Vc(e, t) {
|
|
8842
8861
|
e && Object.keys(t).forEach((n) => {
|
|
8843
8862
|
e.style[n] = t[n];
|
|
8844
8863
|
});
|
|
8845
8864
|
}
|
|
8846
|
-
function
|
|
8865
|
+
function Ec() {
|
|
8847
8866
|
return {
|
|
8848
8867
|
width: window.innerWidth || document.documentElement.clientWidth,
|
|
8849
8868
|
height: window.innerHeight || document.documentElement.clientHeight
|
|
@@ -8859,7 +8878,7 @@ function Un() {
|
|
|
8859
8878
|
document.documentElement.clientHeight
|
|
8860
8879
|
);
|
|
8861
8880
|
}
|
|
8862
|
-
function
|
|
8881
|
+
function Pc() {
|
|
8863
8882
|
return Math.max(
|
|
8864
8883
|
document.body.scrollWidth,
|
|
8865
8884
|
document.documentElement.scrollWidth,
|
|
@@ -8869,58 +8888,58 @@ function Ec() {
|
|
|
8869
8888
|
document.documentElement.clientWidth
|
|
8870
8889
|
);
|
|
8871
8890
|
}
|
|
8872
|
-
function
|
|
8891
|
+
function Yc(e = 0) {
|
|
8873
8892
|
const { y: t } = Rn(), n = window.innerHeight || document.documentElement.clientHeight, l = Un();
|
|
8874
8893
|
return t + n >= l - e;
|
|
8875
8894
|
}
|
|
8876
|
-
const
|
|
8895
|
+
const Qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8877
8896
|
__proto__: null,
|
|
8878
|
-
addClass:
|
|
8879
|
-
copyToClipboard:
|
|
8897
|
+
addClass: Ac,
|
|
8898
|
+
copyToClipboard: ic,
|
|
8880
8899
|
downloadFile: xt,
|
|
8881
|
-
downloadJSON:
|
|
8882
|
-
downloadText:
|
|
8883
|
-
enterFullscreen:
|
|
8884
|
-
exitFullscreen:
|
|
8885
|
-
getAttribute:
|
|
8886
|
-
getClasses:
|
|
8887
|
-
getElementHeight:
|
|
8888
|
-
getElementRect:
|
|
8889
|
-
getElementWidth:
|
|
8890
|
-
getOffsetTop:
|
|
8900
|
+
downloadJSON: sc,
|
|
8901
|
+
downloadText: uc,
|
|
8902
|
+
enterFullscreen: Mc,
|
|
8903
|
+
exitFullscreen: Ic,
|
|
8904
|
+
getAttribute: zc,
|
|
8905
|
+
getClasses: Nc,
|
|
8906
|
+
getElementHeight: wc,
|
|
8907
|
+
getElementRect: bc,
|
|
8908
|
+
getElementWidth: jc,
|
|
8909
|
+
getOffsetTop: fc,
|
|
8891
8910
|
getPageHeight: Un,
|
|
8892
|
-
getPageWidth:
|
|
8911
|
+
getPageWidth: Pc,
|
|
8893
8912
|
getScrollPosition: Rn,
|
|
8894
|
-
getStyle:
|
|
8895
|
-
getWindowSize:
|
|
8896
|
-
hasAttribute:
|
|
8897
|
-
hasClass:
|
|
8898
|
-
isFullscreen:
|
|
8899
|
-
isInViewport:
|
|
8900
|
-
isPartiallyVisible:
|
|
8901
|
-
isScrolledToBottom:
|
|
8902
|
-
querySelector:
|
|
8903
|
-
querySelectorAll:
|
|
8904
|
-
readFromClipboard:
|
|
8905
|
-
removeAttribute:
|
|
8906
|
-
removeClass:
|
|
8913
|
+
getStyle: Oc,
|
|
8914
|
+
getWindowSize: Ec,
|
|
8915
|
+
hasAttribute: $c,
|
|
8916
|
+
hasClass: vc,
|
|
8917
|
+
isFullscreen: hc,
|
|
8918
|
+
isInViewport: gc,
|
|
8919
|
+
isPartiallyVisible: mc,
|
|
8920
|
+
isScrolledToBottom: Yc,
|
|
8921
|
+
querySelector: Sc,
|
|
8922
|
+
querySelectorAll: Tc,
|
|
8923
|
+
readFromClipboard: rc,
|
|
8924
|
+
removeAttribute: Lc,
|
|
8925
|
+
removeClass: Dc,
|
|
8907
8926
|
scrollTo: Xt,
|
|
8908
|
-
scrollToBottom:
|
|
8909
|
-
scrollToElement:
|
|
8910
|
-
scrollToTop:
|
|
8911
|
-
setAttribute:
|
|
8912
|
-
setStyle:
|
|
8913
|
-
toggleClass:
|
|
8914
|
-
toggleFullscreen:
|
|
8927
|
+
scrollToBottom: pc,
|
|
8928
|
+
scrollToElement: cc,
|
|
8929
|
+
scrollToTop: dc,
|
|
8930
|
+
setAttribute: kc,
|
|
8931
|
+
setStyle: Vc,
|
|
8932
|
+
toggleClass: Cc,
|
|
8933
|
+
toggleFullscreen: yc
|
|
8915
8934
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8916
|
-
function
|
|
8935
|
+
function qc(e, t) {
|
|
8917
8936
|
return Math.floor(Math.random() * (t - e + 1)) + e;
|
|
8918
8937
|
}
|
|
8919
|
-
function
|
|
8938
|
+
function Rc(e, t, n = 2) {
|
|
8920
8939
|
const l = Math.random() * (t - e) + e;
|
|
8921
8940
|
return Number(l.toFixed(n));
|
|
8922
8941
|
}
|
|
8923
|
-
function
|
|
8942
|
+
function Uc(e, t, n = 1) {
|
|
8924
8943
|
const l = [];
|
|
8925
8944
|
if (n === 0) return l;
|
|
8926
8945
|
if (n > 0)
|
|
@@ -8931,22 +8950,22 @@ function Rc(e, t, n = 1) {
|
|
|
8931
8950
|
l.push(o);
|
|
8932
8951
|
return l;
|
|
8933
8952
|
}
|
|
8934
|
-
function
|
|
8953
|
+
function Bc(e, t, n) {
|
|
8935
8954
|
return Math.min(Math.max(e, t), n);
|
|
8936
8955
|
}
|
|
8937
|
-
function
|
|
8956
|
+
function Zc(e, t) {
|
|
8938
8957
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length, o = Math.pow(10, Math.max(n, l));
|
|
8939
8958
|
return (e * o + t * o) / o;
|
|
8940
8959
|
}
|
|
8941
|
-
function
|
|
8960
|
+
function Wc(e, t) {
|
|
8942
8961
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length, o = Math.pow(10, Math.max(n, l));
|
|
8943
8962
|
return (e * o - t * o) / o;
|
|
8944
8963
|
}
|
|
8945
|
-
function
|
|
8964
|
+
function Fc(e, t) {
|
|
8946
8965
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length, o = Math.pow(10, n + l);
|
|
8947
8966
|
return e * Math.pow(10, n) * t * Math.pow(10, l) / o;
|
|
8948
8967
|
}
|
|
8949
|
-
function
|
|
8968
|
+
function Hc(e, t) {
|
|
8950
8969
|
if (t === 0)
|
|
8951
8970
|
return console.warn("Division by zero"), 1 / 0;
|
|
8952
8971
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length;
|
|
@@ -8955,28 +8974,28 @@ function Fc(e, t) {
|
|
|
8955
8974
|
function en(e, t = 0) {
|
|
8956
8975
|
return Math.round(e * Math.pow(10, t)) / Math.pow(10, t);
|
|
8957
8976
|
}
|
|
8958
|
-
function
|
|
8977
|
+
function Jc(e, t = 0) {
|
|
8959
8978
|
return Math.ceil(e * Math.pow(10, t)) / Math.pow(10, t);
|
|
8960
8979
|
}
|
|
8961
|
-
function
|
|
8980
|
+
function Gc(e, t = 0) {
|
|
8962
8981
|
return Math.floor(e * Math.pow(10, t)) / Math.pow(10, t);
|
|
8963
8982
|
}
|
|
8964
|
-
function
|
|
8983
|
+
function _c(e, t = 0) {
|
|
8965
8984
|
return en(e, t).toFixed(t);
|
|
8966
8985
|
}
|
|
8967
|
-
function
|
|
8986
|
+
function Kc(e, t, n = 2) {
|
|
8968
8987
|
return t === 0 ? 0 : en(e / t * 100, n);
|
|
8969
8988
|
}
|
|
8970
|
-
function
|
|
8989
|
+
function xc(e) {
|
|
8971
8990
|
return e / 100;
|
|
8972
8991
|
}
|
|
8973
|
-
function
|
|
8992
|
+
function Xc(e) {
|
|
8974
8993
|
return e * 100;
|
|
8975
8994
|
}
|
|
8976
|
-
function
|
|
8995
|
+
function ed(e, t = 2) {
|
|
8977
8996
|
return String(e).padStart(t, "0");
|
|
8978
8997
|
}
|
|
8979
|
-
function
|
|
8998
|
+
function td(e) {
|
|
8980
8999
|
const t = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九"], n = ["", "十", "百", "千", "万"];
|
|
8981
9000
|
if (e === 0) return "零";
|
|
8982
9001
|
if (e < 0 || e > 99999) return String(e);
|
|
@@ -8988,7 +9007,7 @@ function ed(e) {
|
|
|
8988
9007
|
}
|
|
8989
9008
|
return e >= 10 && e < 20 && (o = o.replace("一十", "十")), o;
|
|
8990
9009
|
}
|
|
8991
|
-
function
|
|
9010
|
+
function nd(e) {
|
|
8992
9011
|
const t = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], n = ["", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿"], l = ["角", "分"];
|
|
8993
9012
|
if (e === 0) return "零元整";
|
|
8994
9013
|
const [o, r = ""] = e.toFixed(2).split(".");
|
|
@@ -9006,13 +9025,13 @@ function td(e) {
|
|
|
9006
9025
|
a += "整";
|
|
9007
9026
|
return a;
|
|
9008
9027
|
}
|
|
9009
|
-
function
|
|
9028
|
+
function ld(e) {
|
|
9010
9029
|
return e % 2 === 0;
|
|
9011
9030
|
}
|
|
9012
|
-
function
|
|
9031
|
+
function od(e) {
|
|
9013
9032
|
return e % 2 !== 0;
|
|
9014
9033
|
}
|
|
9015
|
-
function
|
|
9034
|
+
function ad(e) {
|
|
9016
9035
|
if (e < 2) return !1;
|
|
9017
9036
|
if (e === 2) return !0;
|
|
9018
9037
|
if (e % 2 === 0) return !1;
|
|
@@ -9020,16 +9039,16 @@ function od(e) {
|
|
|
9020
9039
|
if (e % t === 0) return !1;
|
|
9021
9040
|
return !0;
|
|
9022
9041
|
}
|
|
9023
|
-
function
|
|
9042
|
+
function id(e, t, n) {
|
|
9024
9043
|
return e >= t && e <= n;
|
|
9025
9044
|
}
|
|
9026
|
-
function
|
|
9045
|
+
function rd(e) {
|
|
9027
9046
|
return Math.abs(e);
|
|
9028
9047
|
}
|
|
9029
|
-
function
|
|
9048
|
+
function sd(e) {
|
|
9030
9049
|
return Math.sqrt(e);
|
|
9031
9050
|
}
|
|
9032
|
-
function
|
|
9051
|
+
function ud(e, t) {
|
|
9033
9052
|
return Math.pow(e, t);
|
|
9034
9053
|
}
|
|
9035
9054
|
function Bn(e) {
|
|
@@ -9038,39 +9057,39 @@ function Bn(e) {
|
|
|
9038
9057
|
function tn(e, t) {
|
|
9039
9058
|
return t === 0 ? e : tn(t, e % t);
|
|
9040
9059
|
}
|
|
9041
|
-
function
|
|
9060
|
+
function cd(e, t) {
|
|
9042
9061
|
return e * t / tn(e, t);
|
|
9043
9062
|
}
|
|
9044
|
-
const
|
|
9063
|
+
const dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9045
9064
|
__proto__: null,
|
|
9046
|
-
abs:
|
|
9047
|
-
add:
|
|
9048
|
-
ceil:
|
|
9049
|
-
clamp:
|
|
9050
|
-
decimalToPercent:
|
|
9051
|
-
divide:
|
|
9065
|
+
abs: rd,
|
|
9066
|
+
add: Zc,
|
|
9067
|
+
ceil: Jc,
|
|
9068
|
+
clamp: Bc,
|
|
9069
|
+
decimalToPercent: Xc,
|
|
9070
|
+
divide: Hc,
|
|
9052
9071
|
factorial: Bn,
|
|
9053
|
-
floor:
|
|
9072
|
+
floor: Gc,
|
|
9054
9073
|
gcd: tn,
|
|
9055
|
-
inRange:
|
|
9056
|
-
isEven:
|
|
9057
|
-
isOdd:
|
|
9058
|
-
isPrime:
|
|
9059
|
-
lcm:
|
|
9060
|
-
multiply:
|
|
9061
|
-
padZero:
|
|
9062
|
-
percentToDecimal:
|
|
9063
|
-
percentage:
|
|
9064
|
-
pow:
|
|
9065
|
-
random:
|
|
9066
|
-
randomFloat:
|
|
9067
|
-
range:
|
|
9074
|
+
inRange: id,
|
|
9075
|
+
isEven: ld,
|
|
9076
|
+
isOdd: od,
|
|
9077
|
+
isPrime: ad,
|
|
9078
|
+
lcm: cd,
|
|
9079
|
+
multiply: Fc,
|
|
9080
|
+
padZero: ed,
|
|
9081
|
+
percentToDecimal: xc,
|
|
9082
|
+
percentage: Kc,
|
|
9083
|
+
pow: ud,
|
|
9084
|
+
random: qc,
|
|
9085
|
+
randomFloat: Rc,
|
|
9086
|
+
range: Uc,
|
|
9068
9087
|
round: en,
|
|
9069
|
-
sqrt:
|
|
9070
|
-
subtract:
|
|
9071
|
-
toChineseMoney:
|
|
9072
|
-
toChineseNumber:
|
|
9073
|
-
toFixed:
|
|
9088
|
+
sqrt: sd,
|
|
9089
|
+
subtract: Wc,
|
|
9090
|
+
toChineseMoney: nd,
|
|
9091
|
+
toChineseNumber: td,
|
|
9092
|
+
toFixed: _c
|
|
9074
9093
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9075
9094
|
function st(e) {
|
|
9076
9095
|
if (e === null || typeof e != "object") return e;
|
|
@@ -9085,7 +9104,7 @@ function st(e) {
|
|
|
9085
9104
|
Object.prototype.hasOwnProperty.call(e, n) && (t[n] = st(e[n]));
|
|
9086
9105
|
return t;
|
|
9087
9106
|
}
|
|
9088
|
-
function
|
|
9107
|
+
function pd(e) {
|
|
9089
9108
|
return e === null || typeof e != "object" ? e : Array.isArray(e) ? [...e] : { ...e };
|
|
9090
9109
|
}
|
|
9091
9110
|
function Zn(...e) {
|
|
@@ -9099,24 +9118,24 @@ function Zn(...e) {
|
|
|
9099
9118
|
});
|
|
9100
9119
|
}), t;
|
|
9101
9120
|
}
|
|
9102
|
-
function
|
|
9121
|
+
function fd(...e) {
|
|
9103
9122
|
return Object.assign({}, ...e);
|
|
9104
9123
|
}
|
|
9105
|
-
function
|
|
9124
|
+
function gd(e, t) {
|
|
9106
9125
|
if (!e || typeof e != "object") return {};
|
|
9107
9126
|
const n = {};
|
|
9108
9127
|
return t.forEach((l) => {
|
|
9109
9128
|
l in e && (n[l] = e[l]);
|
|
9110
9129
|
}), n;
|
|
9111
9130
|
}
|
|
9112
|
-
function
|
|
9131
|
+
function md(e, t) {
|
|
9113
9132
|
if (!e || typeof e != "object") return {};
|
|
9114
9133
|
const n = { ...e };
|
|
9115
9134
|
return t.forEach((l) => {
|
|
9116
9135
|
delete n[l];
|
|
9117
9136
|
}), n;
|
|
9118
9137
|
}
|
|
9119
|
-
function
|
|
9138
|
+
function yd(e, t, n) {
|
|
9120
9139
|
if (!e || typeof e != "object") return n;
|
|
9121
9140
|
const l = t.split(".");
|
|
9122
9141
|
let o = e;
|
|
@@ -9136,7 +9155,7 @@ function Wn(e, t, n) {
|
|
|
9136
9155
|
(!(a in r) || typeof r[a] != "object") && (r[a] = {}), r = r[a];
|
|
9137
9156
|
r[o] = n;
|
|
9138
9157
|
}
|
|
9139
|
-
function
|
|
9158
|
+
function Md(e, t) {
|
|
9140
9159
|
if (!e || typeof e != "object") return !1;
|
|
9141
9160
|
const n = t.split(".");
|
|
9142
9161
|
let l = e;
|
|
@@ -9147,10 +9166,10 @@ function yd(e, t) {
|
|
|
9147
9166
|
return !1;
|
|
9148
9167
|
return !0;
|
|
9149
9168
|
}
|
|
9150
|
-
function
|
|
9169
|
+
function Id(e) {
|
|
9151
9170
|
return e == null ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
|
|
9152
9171
|
}
|
|
9153
|
-
function
|
|
9172
|
+
function hd(e) {
|
|
9154
9173
|
if (typeof e != "object" || e === null) return !1;
|
|
9155
9174
|
const t = Object.getPrototypeOf(e);
|
|
9156
9175
|
return t === Object.prototype || t === null;
|
|
@@ -9188,13 +9207,13 @@ function Vt(e) {
|
|
|
9188
9207
|
t[l] = typeof o == "object" ? Vt(o) : o;
|
|
9189
9208
|
}), t;
|
|
9190
9209
|
}
|
|
9191
|
-
function
|
|
9210
|
+
function Ad(e) {
|
|
9192
9211
|
return !e || typeof e != "object" ? "" : Object.keys(e).filter((t) => e[t] !== void 0 && e[t] !== null).map((t) => {
|
|
9193
9212
|
const n = e[t];
|
|
9194
9213
|
return Array.isArray(n) ? n.map((l) => `${encodeURIComponent(t)}=${encodeURIComponent(l)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
|
|
9195
9214
|
}).join("&");
|
|
9196
9215
|
}
|
|
9197
|
-
function
|
|
9216
|
+
function Dd(e) {
|
|
9198
9217
|
if (!e) return {};
|
|
9199
9218
|
const t = e.startsWith("?") ? e.slice(1) : e, n = {};
|
|
9200
9219
|
return t.split("&").forEach((l) => {
|
|
@@ -9209,7 +9228,7 @@ function Fn(e, t) {
|
|
|
9209
9228
|
t(e[l], l) && (n[l] = e[l]);
|
|
9210
9229
|
}), n;
|
|
9211
9230
|
}
|
|
9212
|
-
function
|
|
9231
|
+
function Cd(e, t = !0) {
|
|
9213
9232
|
return Fn(e, (n) => !(n == null || t && n === ""));
|
|
9214
9233
|
}
|
|
9215
9234
|
function Hn(e, t = "") {
|
|
@@ -9220,14 +9239,14 @@ function Hn(e, t = "") {
|
|
|
9220
9239
|
r && typeof r == "object" && !Array.isArray(r) ? Object.assign(n, Hn(r, o)) : n[o] = r;
|
|
9221
9240
|
}), n;
|
|
9222
9241
|
}
|
|
9223
|
-
function
|
|
9242
|
+
function vd(e) {
|
|
9224
9243
|
if (!e || typeof e != "object") return {};
|
|
9225
9244
|
const t = {};
|
|
9226
9245
|
return Object.keys(e).forEach((n) => {
|
|
9227
9246
|
Wn(t, n, e[n]);
|
|
9228
9247
|
}), t;
|
|
9229
9248
|
}
|
|
9230
|
-
function
|
|
9249
|
+
function Nd(e) {
|
|
9231
9250
|
if (!e || typeof e != "object") return {};
|
|
9232
9251
|
const t = {};
|
|
9233
9252
|
return Object.keys(e).forEach((n) => {
|
|
@@ -9235,43 +9254,43 @@ function vd(e) {
|
|
|
9235
9254
|
t[String(l)] = n;
|
|
9236
9255
|
}), t;
|
|
9237
9256
|
}
|
|
9238
|
-
function
|
|
9257
|
+
function bd(e) {
|
|
9239
9258
|
return !e || typeof e != "object" ? [] : Object.values(e);
|
|
9240
9259
|
}
|
|
9241
|
-
function
|
|
9260
|
+
function jd(e) {
|
|
9242
9261
|
return !e || typeof e != "object" ? [] : Object.keys(e);
|
|
9243
9262
|
}
|
|
9244
|
-
function
|
|
9263
|
+
function wd(e) {
|
|
9245
9264
|
return !e || typeof e != "object" ? [] : Object.entries(e);
|
|
9246
9265
|
}
|
|
9247
|
-
const
|
|
9266
|
+
const Sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9248
9267
|
__proto__: null,
|
|
9249
9268
|
deepClone: st,
|
|
9250
9269
|
deepMerge: Zn,
|
|
9251
|
-
entries:
|
|
9270
|
+
entries: wd,
|
|
9252
9271
|
filterValues: Fn,
|
|
9253
9272
|
flattenObject: Hn,
|
|
9254
|
-
fromQueryString:
|
|
9255
|
-
get:
|
|
9256
|
-
has:
|
|
9257
|
-
invert:
|
|
9258
|
-
isEmpty:
|
|
9273
|
+
fromQueryString: Dd,
|
|
9274
|
+
get: yd,
|
|
9275
|
+
has: Md,
|
|
9276
|
+
invert: Nd,
|
|
9277
|
+
isEmpty: Id,
|
|
9259
9278
|
isEqual: $t,
|
|
9260
|
-
isPlainObject:
|
|
9261
|
-
keys:
|
|
9279
|
+
isPlainObject: hd,
|
|
9280
|
+
keys: jd,
|
|
9262
9281
|
keysToCamelCase: Ot,
|
|
9263
9282
|
keysToUnderlineCase: Vt,
|
|
9264
|
-
omit:
|
|
9265
|
-
pick:
|
|
9266
|
-
removeEmpty:
|
|
9283
|
+
omit: md,
|
|
9284
|
+
pick: gd,
|
|
9285
|
+
removeEmpty: Cd,
|
|
9267
9286
|
set: Wn,
|
|
9268
|
-
shallowClone:
|
|
9269
|
-
shallowMerge:
|
|
9270
|
-
toQueryString:
|
|
9271
|
-
unflattenObject:
|
|
9272
|
-
values:
|
|
9287
|
+
shallowClone: pd,
|
|
9288
|
+
shallowMerge: fd,
|
|
9289
|
+
toQueryString: Ad,
|
|
9290
|
+
unflattenObject: vd,
|
|
9291
|
+
values: bd
|
|
9273
9292
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9274
|
-
function
|
|
9293
|
+
function Td(e, t = 300, n = !1) {
|
|
9275
9294
|
let l = null, o = !1;
|
|
9276
9295
|
const r = function(...a) {
|
|
9277
9296
|
l && clearTimeout(l), n && !o ? (e.apply(this, a), o = !0) : l = setTimeout(() => {
|
|
@@ -9282,7 +9301,7 @@ function Sd(e, t = 300, n = !1) {
|
|
|
9282
9301
|
l && (clearTimeout(l), l = null), o = !1;
|
|
9283
9302
|
}, r;
|
|
9284
9303
|
}
|
|
9285
|
-
function
|
|
9304
|
+
function zd(e, t = 300, n) {
|
|
9286
9305
|
const { leading: l = !0, trailing: o = !0 } = n || {};
|
|
9287
9306
|
let r = null, a = 0, i = null;
|
|
9288
9307
|
const s = function(...c) {
|
|
@@ -9297,7 +9316,7 @@ function Td(e, t = 300, n) {
|
|
|
9297
9316
|
r && (clearTimeout(r), r = null), a = 0, i = null;
|
|
9298
9317
|
}, s;
|
|
9299
9318
|
}
|
|
9300
|
-
function
|
|
9319
|
+
function kd(e) {
|
|
9301
9320
|
let t = !1, n;
|
|
9302
9321
|
return function(...l) {
|
|
9303
9322
|
return t || (t = !0, n = e.apply(this, l)), n;
|
|
@@ -9309,7 +9328,7 @@ function Jn(e) {
|
|
|
9309
9328
|
function Gn(e) {
|
|
9310
9329
|
return Jn(e);
|
|
9311
9330
|
}
|
|
9312
|
-
async function
|
|
9331
|
+
async function Ld(e, t) {
|
|
9313
9332
|
const { times: n = 3, delay: l = 1e3, onRetry: o } = t || {};
|
|
9314
9333
|
let r;
|
|
9315
9334
|
for (let a = 0; a < n; a++)
|
|
@@ -9320,7 +9339,7 @@ async function kd(e, t) {
|
|
|
9320
9339
|
}
|
|
9321
9340
|
throw r;
|
|
9322
9341
|
}
|
|
9323
|
-
function
|
|
9342
|
+
function $d(e, t) {
|
|
9324
9343
|
return Promise.race([
|
|
9325
9344
|
e,
|
|
9326
9345
|
new Promise(
|
|
@@ -9328,7 +9347,7 @@ function Ld(e, t) {
|
|
|
9328
9347
|
)
|
|
9329
9348
|
]);
|
|
9330
9349
|
}
|
|
9331
|
-
function
|
|
9350
|
+
function Od(e, t) {
|
|
9332
9351
|
const n = /* @__PURE__ */ new Map(), l = function(...o) {
|
|
9333
9352
|
const r = t ? t(...o) : JSON.stringify(o);
|
|
9334
9353
|
if (n.has(r))
|
|
@@ -9338,10 +9357,10 @@ function $d(e, t) {
|
|
|
9338
9357
|
};
|
|
9339
9358
|
return l.cache = n, l;
|
|
9340
9359
|
}
|
|
9341
|
-
function
|
|
9360
|
+
function Vd(e) {
|
|
9342
9361
|
e.cache && e.cache.clear();
|
|
9343
9362
|
}
|
|
9344
|
-
function
|
|
9363
|
+
function Ed(e, t = 100) {
|
|
9345
9364
|
let n = [], l = null;
|
|
9346
9365
|
return function(o) {
|
|
9347
9366
|
n.push(o), l && clearTimeout(l), l = setTimeout(() => {
|
|
@@ -9349,7 +9368,7 @@ function Vd(e, t = 100) {
|
|
|
9349
9368
|
}, t);
|
|
9350
9369
|
};
|
|
9351
9370
|
}
|
|
9352
|
-
async function
|
|
9371
|
+
async function Pd(e, t) {
|
|
9353
9372
|
const n = [], l = [];
|
|
9354
9373
|
for (const o of e) {
|
|
9355
9374
|
const r = o().then((a) => {
|
|
@@ -9359,7 +9378,7 @@ async function Ed(e, t) {
|
|
|
9359
9378
|
}
|
|
9360
9379
|
return await Promise.all(l), n;
|
|
9361
9380
|
}
|
|
9362
|
-
async function
|
|
9381
|
+
async function Yd(e) {
|
|
9363
9382
|
const t = [];
|
|
9364
9383
|
for (const n of e) {
|
|
9365
9384
|
const l = await n();
|
|
@@ -9367,19 +9386,19 @@ async function Pd(e) {
|
|
|
9367
9386
|
}
|
|
9368
9387
|
return t;
|
|
9369
9388
|
}
|
|
9370
|
-
function
|
|
9389
|
+
function Qd(e, t) {
|
|
9371
9390
|
return function(...n) {
|
|
9372
9391
|
const l = performance.now(), o = e.apply(this, n), a = (performance.now() - l).toFixed(2);
|
|
9373
9392
|
return console.log(`${t || e.name || "Function"}: ${a}ms`), o;
|
|
9374
9393
|
};
|
|
9375
9394
|
}
|
|
9376
|
-
function
|
|
9395
|
+
function qd(e, t) {
|
|
9377
9396
|
return async function(...n) {
|
|
9378
9397
|
const l = performance.now(), o = await e.apply(this, n), a = (performance.now() - l).toFixed(2);
|
|
9379
9398
|
return console.log(`${t || e.name || "Function"}: ${a}ms`), o;
|
|
9380
9399
|
};
|
|
9381
9400
|
}
|
|
9382
|
-
function
|
|
9401
|
+
function Rd(e) {
|
|
9383
9402
|
const t = /* @__PURE__ */ new Map();
|
|
9384
9403
|
return async function(...n) {
|
|
9385
9404
|
const l = JSON.stringify(n);
|
|
@@ -9391,7 +9410,7 @@ function qd(e) {
|
|
|
9391
9410
|
return t.set(l, o), o;
|
|
9392
9411
|
};
|
|
9393
9412
|
}
|
|
9394
|
-
function
|
|
9413
|
+
function Ud(e) {
|
|
9395
9414
|
let t = null;
|
|
9396
9415
|
const n = function(...l) {
|
|
9397
9416
|
t === null && (t = requestAnimationFrame(() => {
|
|
@@ -9402,70 +9421,70 @@ function Rd(e) {
|
|
|
9402
9421
|
t !== null && (cancelAnimationFrame(t), t = null);
|
|
9403
9422
|
}, n;
|
|
9404
9423
|
}
|
|
9405
|
-
const
|
|
9424
|
+
const Bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9406
9425
|
__proto__: null,
|
|
9407
|
-
batch:
|
|
9408
|
-
clearCache:
|
|
9409
|
-
debounce:
|
|
9410
|
-
dedupe:
|
|
9426
|
+
batch: Ed,
|
|
9427
|
+
clearCache: Vd,
|
|
9428
|
+
debounce: Td,
|
|
9429
|
+
dedupe: Rd,
|
|
9411
9430
|
delay: Jn,
|
|
9412
|
-
measureTime:
|
|
9413
|
-
measureTimeAsync:
|
|
9414
|
-
memoize:
|
|
9415
|
-
once:
|
|
9416
|
-
promiseLimit:
|
|
9417
|
-
promiseSerial:
|
|
9418
|
-
rafThrottle:
|
|
9419
|
-
retry:
|
|
9431
|
+
measureTime: Qd,
|
|
9432
|
+
measureTimeAsync: qd,
|
|
9433
|
+
memoize: Od,
|
|
9434
|
+
once: kd,
|
|
9435
|
+
promiseLimit: Pd,
|
|
9436
|
+
promiseSerial: Yd,
|
|
9437
|
+
rafThrottle: Ud,
|
|
9438
|
+
retry: Ld,
|
|
9420
9439
|
sleep: Gn,
|
|
9421
|
-
throttle:
|
|
9422
|
-
withTimeout:
|
|
9440
|
+
throttle: zd,
|
|
9441
|
+
withTimeout: $d
|
|
9423
9442
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9424
|
-
function
|
|
9443
|
+
function Zd(e) {
|
|
9425
9444
|
return !e || e.length !== 11 ? e : e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
|
|
9426
9445
|
}
|
|
9427
|
-
function
|
|
9446
|
+
function Wd(e) {
|
|
9428
9447
|
if (!e || e.length < 8) return e;
|
|
9429
9448
|
const t = e.length;
|
|
9430
9449
|
return e.substring(0, 3) + "*".repeat(t - 7) + e.substring(t - 4);
|
|
9431
9450
|
}
|
|
9432
|
-
function
|
|
9451
|
+
function Fd(e) {
|
|
9433
9452
|
return !e || e.length === 0 || e.length === 1 ? e : e.length === 2 ? e[0] + "*" : e.substring(0, e.length - 1) + "*";
|
|
9434
9453
|
}
|
|
9435
|
-
function
|
|
9454
|
+
function Hd(e) {
|
|
9436
9455
|
if (!e || e.length < 8) return e;
|
|
9437
9456
|
const t = e.length, n = e.substring(0, 4), l = e.substring(t - 4);
|
|
9438
9457
|
return `${n} **** **** ${l}`;
|
|
9439
9458
|
}
|
|
9440
|
-
function
|
|
9459
|
+
function Jd(e) {
|
|
9441
9460
|
if (!e || !e.includes("@")) return e;
|
|
9442
9461
|
const [t, n] = e.split("@");
|
|
9443
9462
|
return t.length <= 1 ? e : t[0] + "***@" + n;
|
|
9444
9463
|
}
|
|
9445
|
-
function
|
|
9464
|
+
function Gd(e, t = 6) {
|
|
9446
9465
|
return !e || e.length <= t ? e : e.substring(0, t) + "***";
|
|
9447
9466
|
}
|
|
9448
|
-
function
|
|
9467
|
+
function _d(e) {
|
|
9449
9468
|
return e && e.charAt(0).toUpperCase() + e.slice(1);
|
|
9450
9469
|
}
|
|
9451
|
-
function
|
|
9470
|
+
function Kd(e) {
|
|
9452
9471
|
return e && e.replace(/\b\w/g, (t) => t.toUpperCase());
|
|
9453
9472
|
}
|
|
9454
|
-
function
|
|
9473
|
+
function xd(e) {
|
|
9455
9474
|
return e && e.replace(/_([a-z])/g, (t, n) => n.toUpperCase());
|
|
9456
9475
|
}
|
|
9457
|
-
function
|
|
9476
|
+
function Xd(e) {
|
|
9458
9477
|
return e && e.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
9459
9478
|
}
|
|
9460
|
-
function
|
|
9479
|
+
function ep(e) {
|
|
9461
9480
|
return e && e.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
9462
9481
|
}
|
|
9463
|
-
function
|
|
9482
|
+
function tp(e) {
|
|
9464
9483
|
if (e == null || e === "") return "";
|
|
9465
9484
|
const n = String(e).split(".");
|
|
9466
9485
|
return n[0] = n[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), n.join(".");
|
|
9467
9486
|
}
|
|
9468
|
-
function
|
|
9487
|
+
function np(e, t) {
|
|
9469
9488
|
const {
|
|
9470
9489
|
currency: n = "¥",
|
|
9471
9490
|
decimals: l = 2,
|
|
@@ -9477,19 +9496,19 @@ function tp(e, t) {
|
|
|
9477
9496
|
let d = s.replace(/\B(?=(\d{3})+(?!\d))/g, o);
|
|
9478
9497
|
return l > 0 && c && (d += r + c), n + d;
|
|
9479
9498
|
}
|
|
9480
|
-
function
|
|
9499
|
+
function lp(e, t = 2) {
|
|
9481
9500
|
if (e === 0) return "0 B";
|
|
9482
9501
|
if (!e) return "";
|
|
9483
9502
|
const n = 1024, l = ["B", "KB", "MB", "GB", "TB"], o = Math.floor(Math.log(e) / Math.log(n));
|
|
9484
9503
|
return parseFloat((e / Math.pow(n, o)).toFixed(t)) + " " + l[o];
|
|
9485
9504
|
}
|
|
9486
|
-
function
|
|
9505
|
+
function op(e) {
|
|
9487
9506
|
return e && e.replace(/\s/g, "").replace(/(\d{4})(?=\d)/g, "$1 ");
|
|
9488
9507
|
}
|
|
9489
|
-
function
|
|
9508
|
+
function ap(e) {
|
|
9490
9509
|
return e && e.replace(/\s/g, "").replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3");
|
|
9491
9510
|
}
|
|
9492
|
-
function
|
|
9511
|
+
function ip(e = 8, t = "alphanumeric") {
|
|
9493
9512
|
const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", l = "0123456789";
|
|
9494
9513
|
let r = n + l;
|
|
9495
9514
|
t === "alpha" && (r = n), t === "number" && (r = l);
|
|
@@ -9498,17 +9517,17 @@ function ap(e = 8, t = "alphanumeric") {
|
|
|
9498
9517
|
a += r.charAt(Math.floor(Math.random() * r.length));
|
|
9499
9518
|
return a;
|
|
9500
9519
|
}
|
|
9501
|
-
function
|
|
9520
|
+
function rp(e) {
|
|
9502
9521
|
const t = Date.now(), n = Math.random().toString(36).substring(2, 8);
|
|
9503
9522
|
return e ? `${e}_${t}_${n}` : `${t}_${n}`;
|
|
9504
9523
|
}
|
|
9505
|
-
function
|
|
9524
|
+
function sp(e, t, n = "...") {
|
|
9506
9525
|
return !e || e.length <= t ? e : e.substring(0, t) + n;
|
|
9507
9526
|
}
|
|
9508
|
-
function
|
|
9527
|
+
function up(e) {
|
|
9509
9528
|
return e && e.replace(/<[^>]*>/g, "");
|
|
9510
9529
|
}
|
|
9511
|
-
function
|
|
9530
|
+
function cp(e) {
|
|
9512
9531
|
if (!e) return e;
|
|
9513
9532
|
const t = {
|
|
9514
9533
|
"&": "&",
|
|
@@ -9520,7 +9539,7 @@ function up(e) {
|
|
|
9520
9539
|
};
|
|
9521
9540
|
return e.replace(/[&<>"'/]/g, (n) => t[n]);
|
|
9522
9541
|
}
|
|
9523
|
-
function
|
|
9542
|
+
function dp(e) {
|
|
9524
9543
|
if (!e) return e;
|
|
9525
9544
|
const t = {
|
|
9526
9545
|
"&": "&",
|
|
@@ -9532,50 +9551,50 @@ function cp(e) {
|
|
|
9532
9551
|
};
|
|
9533
9552
|
return e.replace(/&(amp|lt|gt|quot|#x27|#x2F);/g, (n) => t[n]);
|
|
9534
9553
|
}
|
|
9535
|
-
function
|
|
9554
|
+
function pp(e) {
|
|
9536
9555
|
return e == null || e.trim() === "";
|
|
9537
9556
|
}
|
|
9538
|
-
function
|
|
9557
|
+
function fp(e) {
|
|
9539
9558
|
return e && e.split("").reverse().join("");
|
|
9540
9559
|
}
|
|
9541
|
-
function
|
|
9560
|
+
function gp(e, t) {
|
|
9542
9561
|
return !e || t <= 0 ? "" : e.repeat(t);
|
|
9543
9562
|
}
|
|
9544
|
-
function
|
|
9563
|
+
function mp(e, t, n = " ") {
|
|
9545
9564
|
return e || (e = ""), e.padStart(t, n);
|
|
9546
9565
|
}
|
|
9547
|
-
function
|
|
9566
|
+
function yp(e, t, n = " ") {
|
|
9548
9567
|
return e || (e = ""), e.padEnd(t, n);
|
|
9549
9568
|
}
|
|
9550
|
-
const
|
|
9569
|
+
const Mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9551
9570
|
__proto__: null,
|
|
9552
|
-
addressDesensitize:
|
|
9553
|
-
bankCardDesensitize:
|
|
9554
|
-
capitalize:
|
|
9555
|
-
capitalizeWords:
|
|
9556
|
-
emailDesensitize:
|
|
9557
|
-
escapeHtml:
|
|
9558
|
-
formatBankCard:
|
|
9559
|
-
formatFileSize:
|
|
9560
|
-
formatMoney:
|
|
9561
|
-
formatNumber:
|
|
9562
|
-
formatPhone:
|
|
9563
|
-
generateUUID:
|
|
9564
|
-
idCardDesensitize:
|
|
9565
|
-
isEmpty:
|
|
9566
|
-
nameDesensitize:
|
|
9567
|
-
padEnd:
|
|
9568
|
-
padStart:
|
|
9569
|
-
phoneDesensitize:
|
|
9570
|
-
randomString:
|
|
9571
|
-
removeHtmlTags:
|
|
9572
|
-
repeat:
|
|
9573
|
-
reverse:
|
|
9574
|
-
toCamelCase:
|
|
9575
|
-
toKebabCase:
|
|
9576
|
-
toUnderlineCase:
|
|
9577
|
-
truncate:
|
|
9578
|
-
unescapeHtml:
|
|
9571
|
+
addressDesensitize: Gd,
|
|
9572
|
+
bankCardDesensitize: Hd,
|
|
9573
|
+
capitalize: _d,
|
|
9574
|
+
capitalizeWords: Kd,
|
|
9575
|
+
emailDesensitize: Jd,
|
|
9576
|
+
escapeHtml: cp,
|
|
9577
|
+
formatBankCard: op,
|
|
9578
|
+
formatFileSize: lp,
|
|
9579
|
+
formatMoney: np,
|
|
9580
|
+
formatNumber: tp,
|
|
9581
|
+
formatPhone: ap,
|
|
9582
|
+
generateUUID: rp,
|
|
9583
|
+
idCardDesensitize: Wd,
|
|
9584
|
+
isEmpty: pp,
|
|
9585
|
+
nameDesensitize: Fd,
|
|
9586
|
+
padEnd: yp,
|
|
9587
|
+
padStart: mp,
|
|
9588
|
+
phoneDesensitize: Zd,
|
|
9589
|
+
randomString: ip,
|
|
9590
|
+
removeHtmlTags: up,
|
|
9591
|
+
repeat: gp,
|
|
9592
|
+
reverse: fp,
|
|
9593
|
+
toCamelCase: xd,
|
|
9594
|
+
toKebabCase: ep,
|
|
9595
|
+
toUnderlineCase: Xd,
|
|
9596
|
+
truncate: sp,
|
|
9597
|
+
unescapeHtml: dp
|
|
9579
9598
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9580
9599
|
function ye(e) {
|
|
9581
9600
|
const t = e || (typeof window < "u" ? window.location.href : "");
|
|
@@ -9595,15 +9614,15 @@ function Re(e) {
|
|
|
9595
9614
|
return Array.isArray(n) ? n.map((l) => `${encodeURIComponent(t)}=${encodeURIComponent(l)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
|
|
9596
9615
|
}).join("&");
|
|
9597
9616
|
}
|
|
9598
|
-
function
|
|
9617
|
+
function Ip(e, t) {
|
|
9599
9618
|
const l = ye(t)[e];
|
|
9600
9619
|
return l === void 0 ? null : Array.isArray(l) ? l[0] || null : l;
|
|
9601
9620
|
}
|
|
9602
|
-
function
|
|
9621
|
+
function hp(e, t) {
|
|
9603
9622
|
const l = ye(t)[e];
|
|
9604
9623
|
return l === void 0 ? [] : Array.isArray(l) ? l : [l];
|
|
9605
9624
|
}
|
|
9606
|
-
function
|
|
9625
|
+
function Ap(e, t = "push") {
|
|
9607
9626
|
if (typeof window > "u" || !window.history) return;
|
|
9608
9627
|
const l = { ...ye(), ...e };
|
|
9609
9628
|
Object.keys(l).forEach((a) => {
|
|
@@ -9612,7 +9631,7 @@ function hp(e, t = "push") {
|
|
|
9612
9631
|
const o = Re(l), r = o ? `${window.location.pathname}?${o}` : window.location.pathname;
|
|
9613
9632
|
t === "push" ? window.history.pushState(null, "", r) : window.history.replaceState(null, "", r);
|
|
9614
9633
|
}
|
|
9615
|
-
function
|
|
9634
|
+
function Dp(e, t = "push") {
|
|
9616
9635
|
if (typeof window > "u" || !window.history) return;
|
|
9617
9636
|
const n = ye();
|
|
9618
9637
|
e.forEach((r) => {
|
|
@@ -9621,15 +9640,15 @@ function Ap(e, t = "push") {
|
|
|
9621
9640
|
const l = Re(n), o = l ? `${window.location.pathname}?${l}` : window.location.pathname;
|
|
9622
9641
|
t === "push" ? window.history.pushState(null, "", o) : window.history.replaceState(null, "", o);
|
|
9623
9642
|
}
|
|
9624
|
-
function
|
|
9643
|
+
function Cp(e = "push") {
|
|
9625
9644
|
if (typeof window > "u" || !window.history) return;
|
|
9626
9645
|
const t = window.location.pathname;
|
|
9627
9646
|
e === "push" ? window.history.pushState(null, "", t) : window.history.replaceState(null, "", t);
|
|
9628
9647
|
}
|
|
9629
|
-
function
|
|
9648
|
+
function vp(...e) {
|
|
9630
9649
|
return e.length === 0 ? "" : e.map((t, n) => n === 0 ? t.replace(/\/+$/, "") : n === e.length - 1 ? t.replace(/^\/+/, "") : t.replace(/^\/+|\/+$/g, "")).filter(Boolean).join("/");
|
|
9631
9650
|
}
|
|
9632
|
-
function
|
|
9651
|
+
function Np(e) {
|
|
9633
9652
|
if (!e)
|
|
9634
9653
|
return {
|
|
9635
9654
|
protocol: "",
|
|
@@ -9678,7 +9697,7 @@ function vp(e) {
|
|
|
9678
9697
|
};
|
|
9679
9698
|
}
|
|
9680
9699
|
}
|
|
9681
|
-
function
|
|
9700
|
+
function bp(e) {
|
|
9682
9701
|
const {
|
|
9683
9702
|
protocol: t = "https",
|
|
9684
9703
|
hostname: n = "",
|
|
@@ -9693,13 +9712,13 @@ function Np(e) {
|
|
|
9693
9712
|
const s = Re(r);
|
|
9694
9713
|
return s && (i += `?${s}`), a && (i += a.startsWith("#") ? a : `#${a}`), i;
|
|
9695
9714
|
}
|
|
9696
|
-
function
|
|
9715
|
+
function jp(e) {
|
|
9697
9716
|
return e ? /^(https?:)?\/\//.test(e) : !1;
|
|
9698
9717
|
}
|
|
9699
|
-
function
|
|
9718
|
+
function wp(e) {
|
|
9700
9719
|
return e ? e.startsWith("/") : !1;
|
|
9701
9720
|
}
|
|
9702
|
-
function
|
|
9721
|
+
function Sp(e, t) {
|
|
9703
9722
|
try {
|
|
9704
9723
|
const n = new URL(e), l = new URL(t);
|
|
9705
9724
|
return n.origin === l.origin;
|
|
@@ -9707,17 +9726,17 @@ function wp(e, t) {
|
|
|
9707
9726
|
return !1;
|
|
9708
9727
|
}
|
|
9709
9728
|
}
|
|
9710
|
-
function
|
|
9729
|
+
function Tp(e) {
|
|
9711
9730
|
return encodeURIComponent(e);
|
|
9712
9731
|
}
|
|
9713
|
-
function
|
|
9732
|
+
function zp(e) {
|
|
9714
9733
|
try {
|
|
9715
9734
|
return decodeURIComponent(e);
|
|
9716
9735
|
} catch {
|
|
9717
9736
|
return e;
|
|
9718
9737
|
}
|
|
9719
9738
|
}
|
|
9720
|
-
function
|
|
9739
|
+
function kp(e) {
|
|
9721
9740
|
if (!e) return "";
|
|
9722
9741
|
try {
|
|
9723
9742
|
return encodeURI(decodeURI(e));
|
|
@@ -9725,7 +9744,7 @@ function zp(e) {
|
|
|
9725
9744
|
return encodeURI(e);
|
|
9726
9745
|
}
|
|
9727
9746
|
}
|
|
9728
|
-
function
|
|
9747
|
+
function Lp(e) {
|
|
9729
9748
|
if (!e) return "";
|
|
9730
9749
|
try {
|
|
9731
9750
|
return decodeURI(e);
|
|
@@ -9733,14 +9752,14 @@ function kp(e) {
|
|
|
9733
9752
|
return e;
|
|
9734
9753
|
}
|
|
9735
9754
|
}
|
|
9736
|
-
function
|
|
9755
|
+
function $p(e, t) {
|
|
9737
9756
|
if (!e) return "";
|
|
9738
9757
|
if (!t || Object.keys(t).length === 0) return e;
|
|
9739
9758
|
const [n, l] = e.split("#"), [o, r] = n.split("?"), i = { ...r ? ye("?" + r) : {}, ...t }, s = Re(i);
|
|
9740
9759
|
let c = o;
|
|
9741
9760
|
return s && (c += `?${s}`), l && (c += `#${l}`), c;
|
|
9742
9761
|
}
|
|
9743
|
-
function
|
|
9762
|
+
function Op(e, t) {
|
|
9744
9763
|
if (!e) return "";
|
|
9745
9764
|
if (!t || t.length === 0) return e;
|
|
9746
9765
|
const [n, l] = e.split("#"), [o, r] = n.split("?");
|
|
@@ -9760,61 +9779,61 @@ function _n(e) {
|
|
|
9760
9779
|
return "";
|
|
9761
9780
|
}
|
|
9762
9781
|
}
|
|
9763
|
-
function
|
|
9782
|
+
function Vp(e) {
|
|
9764
9783
|
const t = _n(e);
|
|
9765
9784
|
if (!t) return "";
|
|
9766
9785
|
const n = t.split(".");
|
|
9767
9786
|
return n.length <= 2 ? t : n.slice(-2).join(".");
|
|
9768
9787
|
}
|
|
9769
|
-
function
|
|
9788
|
+
function Ep() {
|
|
9770
9789
|
return typeof window > "u" ? "" : window.location.href;
|
|
9771
9790
|
}
|
|
9772
|
-
function
|
|
9791
|
+
function Pp() {
|
|
9773
9792
|
return typeof window > "u" ? "" : window.location.pathname;
|
|
9774
9793
|
}
|
|
9775
|
-
function
|
|
9794
|
+
function Yp() {
|
|
9776
9795
|
return typeof window > "u" ? {} : ye(window.location.search);
|
|
9777
9796
|
}
|
|
9778
|
-
function
|
|
9797
|
+
function Qp() {
|
|
9779
9798
|
return typeof window > "u" ? "" : window.location.hash.replace(/^#/, "");
|
|
9780
9799
|
}
|
|
9781
|
-
const
|
|
9800
|
+
const qp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9782
9801
|
__proto__: null,
|
|
9783
|
-
addQueryParams:
|
|
9784
|
-
buildUrl:
|
|
9785
|
-
clearQueryParams:
|
|
9786
|
-
decodeParam:
|
|
9787
|
-
encodeParam:
|
|
9788
|
-
getCurrentHash:
|
|
9789
|
-
getCurrentPath:
|
|
9790
|
-
getCurrentQuery:
|
|
9791
|
-
getCurrentUrl:
|
|
9802
|
+
addQueryParams: $p,
|
|
9803
|
+
buildUrl: bp,
|
|
9804
|
+
clearQueryParams: Cp,
|
|
9805
|
+
decodeParam: zp,
|
|
9806
|
+
encodeParam: Tp,
|
|
9807
|
+
getCurrentHash: Qp,
|
|
9808
|
+
getCurrentPath: Pp,
|
|
9809
|
+
getCurrentQuery: Yp,
|
|
9810
|
+
getCurrentUrl: Ep,
|
|
9792
9811
|
getDomain: _n,
|
|
9793
|
-
getQueryParam:
|
|
9794
|
-
getQueryParams:
|
|
9795
|
-
getRootDomain:
|
|
9796
|
-
isAbsolutePath:
|
|
9797
|
-
isExternalLink:
|
|
9798
|
-
isSameOrigin:
|
|
9799
|
-
joinUrl:
|
|
9812
|
+
getQueryParam: Ip,
|
|
9813
|
+
getQueryParams: hp,
|
|
9814
|
+
getRootDomain: Vp,
|
|
9815
|
+
isAbsolutePath: wp,
|
|
9816
|
+
isExternalLink: jp,
|
|
9817
|
+
isSameOrigin: Sp,
|
|
9818
|
+
joinUrl: vp,
|
|
9800
9819
|
parseQuery: ye,
|
|
9801
|
-
parseUrl:
|
|
9802
|
-
removeQueryParams:
|
|
9803
|
-
removeQueryParamsFromUrl:
|
|
9804
|
-
safeDecodeUrl:
|
|
9805
|
-
safeEncodeUrl:
|
|
9820
|
+
parseUrl: Np,
|
|
9821
|
+
removeQueryParams: Dp,
|
|
9822
|
+
removeQueryParamsFromUrl: Op,
|
|
9823
|
+
safeDecodeUrl: Lp,
|
|
9824
|
+
safeEncodeUrl: kp,
|
|
9806
9825
|
stringifyQuery: Re,
|
|
9807
|
-
updateQueryParams:
|
|
9808
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9809
|
-
primary:
|
|
9810
|
-
blue:
|
|
9811
|
-
dark:
|
|
9812
|
-
green:
|
|
9813
|
-
red:
|
|
9814
|
-
negative:
|
|
9815
|
-
yellow:
|
|
9816
|
-
grey:
|
|
9817
|
-
white:
|
|
9826
|
+
updateQueryParams: Ap
|
|
9827
|
+
}, Symbol.toStringTag, { value: "Module" })), Rp = "#0B5CFF", Up = "#0B5CFF", Bp = "#323232", Zp = "#2da641", Wp = "#E93030", Fp = "#E93030", Hp = "#f2c037", Jp = "#969799", Gp = "#ffffff", _p = {
|
|
9828
|
+
primary: Rp,
|
|
9829
|
+
blue: Up,
|
|
9830
|
+
dark: Bp,
|
|
9831
|
+
green: Zp,
|
|
9832
|
+
red: Wp,
|
|
9833
|
+
negative: Fp,
|
|
9834
|
+
yellow: Hp,
|
|
9835
|
+
grey: Jp,
|
|
9836
|
+
white: Gp,
|
|
9818
9837
|
"blue-light": "#f0f4ff",
|
|
9819
9838
|
"dark-lighter": "#f7f7f7",
|
|
9820
9839
|
"green-light": "#c0e4c6",
|
|
@@ -9826,18 +9845,18 @@ const Qp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9826
9845
|
"grey-lighter": "#f5f6fa",
|
|
9827
9846
|
"dark-strong": "#131523"
|
|
9828
9847
|
};
|
|
9829
|
-
function
|
|
9848
|
+
function Vf(e) {
|
|
9830
9849
|
const { app: t, router: n, store: l, i18n: o, pagePermissionIds: r, pageActionPermissionIds: a, defaultLanguage: i, colors: s, disableBFCache: c } = e;
|
|
9831
9850
|
c && window.addEventListener("pageshow", (j) => {
|
|
9832
9851
|
j.persisted && window.location.reload();
|
|
9833
|
-
}),
|
|
9852
|
+
}), Xp(t);
|
|
9834
9853
|
const u = t.config.globalProperties.$q;
|
|
9835
|
-
u ? (vl(u), rt.setQuasarInstance(u),
|
|
9854
|
+
u ? (vl(u), rt.setQuasarInstance(u), yu.setQuasarInstance(u), xp(u)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), i ? zt(i).catch((j) => {
|
|
9836
9855
|
console.error("[rtcpt] Failed to set default language:", j);
|
|
9837
9856
|
}) : zt("zh-CN").catch((j) => {
|
|
9838
9857
|
console.error("[rtcpt] Failed to load default locale:", j);
|
|
9839
9858
|
});
|
|
9840
|
-
const d =
|
|
9859
|
+
const d = To, p = r ? ln(r) ? r : z(r) : void 0, I = a ? ln(a) ? a : z(a) : void 0;
|
|
9841
9860
|
Ht.configure({
|
|
9842
9861
|
router: n,
|
|
9843
9862
|
store: l,
|
|
@@ -9845,21 +9864,21 @@ function Of(e) {
|
|
|
9845
9864
|
iconMapFn: d,
|
|
9846
9865
|
pagePermissionIds: p,
|
|
9847
9866
|
pageActionPermissionIds: I
|
|
9848
|
-
}), p && t.provide(nt, p), I && t.provide(tt, I), s && u &&
|
|
9867
|
+
}), p && t.provide(nt, p), I && t.provide(tt, I), s && u && Kp(s), u && (u.iconMapFn = kn(u.iconMapFn, d));
|
|
9849
9868
|
}
|
|
9850
|
-
function
|
|
9851
|
-
const n = { ...
|
|
9869
|
+
function Kp(e, t) {
|
|
9870
|
+
const n = { ..._p, ...e }, l = document.documentElement;
|
|
9852
9871
|
Object.entries(n).forEach(([o, r]) => {
|
|
9853
9872
|
l.style.setProperty(`--j-color-${o}`, r);
|
|
9854
9873
|
}), n.primary && We("primary", n.primary), n.negative && We("negative", n.negative), n.green && We("positive", n.green), n.yellow && We("warning", n.yellow), n.dark && We("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
|
|
9855
9874
|
}
|
|
9856
|
-
function
|
|
9875
|
+
function xp(e) {
|
|
9857
9876
|
const t = ["notify", "dialog"], n = [];
|
|
9858
9877
|
t.forEach((l) => {
|
|
9859
9878
|
e[l] || n.push(l);
|
|
9860
9879
|
}), n.length > 0 && console.warn(`[rtcpt] Missing required Quasar plugins: ${n.join(", ")}. Please register them in your main app with app.use(Quasar, { plugins: { Notify, Dialog } })`);
|
|
9861
9880
|
}
|
|
9862
|
-
function
|
|
9881
|
+
function Xp(e) {
|
|
9863
9882
|
var n;
|
|
9864
9883
|
const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
|
|
9865
9884
|
t != null && t["close-popup"] || e.directive("close-popup", ct);
|
|
@@ -9897,92 +9916,92 @@ function Kn(e, t, n = (o) => JSON.stringify(o), l = (o) => JSON.parse(o)) {
|
|
|
9897
9916
|
return window.addEventListener("storage", i), a;
|
|
9898
9917
|
}
|
|
9899
9918
|
const xn = (e) => e.join(","), Xn = (e) => e ? e.split(",").filter(Boolean) : [];
|
|
9900
|
-
function
|
|
9919
|
+
function Ef(e) {
|
|
9901
9920
|
return Kn(e, [], xn, Xn);
|
|
9902
9921
|
}
|
|
9903
|
-
function
|
|
9922
|
+
function Pf(e) {
|
|
9904
9923
|
return Kn(e, [], xn, Xn);
|
|
9905
9924
|
}
|
|
9906
|
-
const
|
|
9925
|
+
const Yf = {
|
|
9907
9926
|
transformTreeUseLabelAndValue: Kt,
|
|
9908
|
-
JQDownloadFile:
|
|
9909
|
-
generateDownloadFileName:
|
|
9910
|
-
...
|
|
9911
|
-
formRules:
|
|
9912
|
-
array:
|
|
9913
|
-
dom:
|
|
9914
|
-
formUtils:
|
|
9915
|
-
number:
|
|
9916
|
-
object:
|
|
9917
|
-
perf:
|
|
9927
|
+
JQDownloadFile: ku,
|
|
9928
|
+
generateDownloadFileName: Lu,
|
|
9929
|
+
...Rr,
|
|
9930
|
+
formRules: ko,
|
|
9931
|
+
array: ac,
|
|
9932
|
+
dom: Qc,
|
|
9933
|
+
formUtils: Pu,
|
|
9934
|
+
number: dd,
|
|
9935
|
+
object: Sd,
|
|
9936
|
+
perf: Bd,
|
|
9918
9937
|
regex: oo,
|
|
9919
|
-
string:
|
|
9920
|
-
treeUtils:
|
|
9921
|
-
url:
|
|
9938
|
+
string: Mp,
|
|
9939
|
+
treeUtils: zu,
|
|
9940
|
+
url: qp
|
|
9922
9941
|
};
|
|
9923
9942
|
export {
|
|
9924
9943
|
Ht as DialogProvider,
|
|
9925
9944
|
Mn as JCCopy,
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9945
|
+
of as JCDuoListEditor,
|
|
9946
|
+
af as JCEditableProxy,
|
|
9947
|
+
rf as JCFallback,
|
|
9948
|
+
sf as JCFoldableList,
|
|
9949
|
+
uf as JCFormatLookup,
|
|
9950
|
+
cf as JCListEditor,
|
|
9951
|
+
df as JCMoreMenu,
|
|
9952
|
+
pf as JCNestedSelect,
|
|
9953
|
+
Mf as JCOrgSelect,
|
|
9935
9954
|
hn as JCPermission,
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9955
|
+
If as JCPlatform,
|
|
9956
|
+
ff as JCTable,
|
|
9957
|
+
gf as JCTabs,
|
|
9958
|
+
mf as JCTitleLine,
|
|
9940
9959
|
be as JCTooltip,
|
|
9941
9960
|
gt as JCTooltipEllipsis,
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9961
|
+
Va as JCTree,
|
|
9962
|
+
yf as JCTreeSelect,
|
|
9963
|
+
Rf as JChBar,
|
|
9964
|
+
Uf as JChBarLine,
|
|
9965
|
+
Bf as JChBubble,
|
|
9966
|
+
Zf as JChLine,
|
|
9967
|
+
Wf as JChPieDoughnut,
|
|
9968
|
+
Ff as JChRadar,
|
|
9969
|
+
hf as JQAutocomplete,
|
|
9951
9970
|
qe as JQButton,
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9971
|
+
Af as JQButtonDropdown,
|
|
9972
|
+
Df as JQConfirm,
|
|
9973
|
+
yu as JQConfirmDialog,
|
|
9974
|
+
Cf as JQDate,
|
|
9975
|
+
Nf as JQDateMonth,
|
|
9976
|
+
bf as JQDateYear,
|
|
9977
|
+
vf as JQDatetime,
|
|
9978
|
+
jf as JQDetailList,
|
|
9960
9979
|
Mo as JQDialog,
|
|
9961
|
-
|
|
9962
|
-
|
|
9980
|
+
wf as JQFile,
|
|
9981
|
+
Fo as JQFormLabel,
|
|
9963
9982
|
ft as JQInput,
|
|
9964
|
-
|
|
9983
|
+
Sf as JQInputRecognize,
|
|
9965
9984
|
rt as JQMessage,
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9985
|
+
Tf as JQNewValue,
|
|
9986
|
+
zf as JQOptionGroup,
|
|
9987
|
+
Of as JQPagination,
|
|
9988
|
+
kf as JQPopover,
|
|
9989
|
+
Lf as JQSearchForm,
|
|
9990
|
+
No as JQSelect,
|
|
9991
|
+
$f as JQTable,
|
|
9992
|
+
va as JQTooltip,
|
|
9974
9993
|
tt as PAGE_ACTION_PERMISSION_KEY,
|
|
9975
9994
|
nt as PAGE_PERMISSION_KEY,
|
|
9976
9995
|
kn as composeIconMapFn,
|
|
9977
|
-
|
|
9996
|
+
Pu as formUtils,
|
|
9978
9997
|
Qt as getLocale,
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9998
|
+
Yf as jqTool,
|
|
9999
|
+
To as rtcptIconMapFn,
|
|
10000
|
+
Vf as rtcptInit,
|
|
9982
10001
|
zt as setLocale,
|
|
9983
10002
|
In as t,
|
|
9984
|
-
|
|
10003
|
+
zu as treeUtils,
|
|
9985
10004
|
X as useI18n,
|
|
9986
|
-
|
|
9987
|
-
|
|
10005
|
+
Pf as usePageActionPermissionSync,
|
|
10006
|
+
Ef as usePagePermissionSync
|
|
9988
10007
|
};
|