rtcpts 0.0.57 → 0.0.58
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/components/j-q-confirm-dialog/index.d.ts +16 -11
- package/dist/rtcpt-styles.css +1 -1
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +626 -624
- package/package.json +1 -1
package/dist/rtcpt.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as U, ref as T, computed as C, resolveComponent as A, createBlock as O, openBlock as y, createElementBlock as j, createCommentVNode as E, Fragment as G, renderList as ee, normalizeClass as q, createElementVNode as v, renderSlot as Q, createVNode as N, inject as Ee, toDisplayString as V, watch as W, nextTick as se, onMounted as Te, onBeforeUnmount as sn, Teleport as Kn, Transition as ut, withCtx as D, normalizeStyle as J, createTextVNode as H, mergeProps as ge, createSlots as Pe, getCurrentInstance as xn, resolveDirective as Je, withDirectives as oe, vShow as pe, Suspense as Xn, resolveDynamicComponent as Nt, toHandlers as el, normalizeProps as
|
|
2
|
-
import { QIcon as le, copyToClipboard as al, QBtn as Me, QCardActions as il, QCardSection as ze, QCard as ke, QPopupProxy as Ie, ClosePopup as ct, QInnerLoading as un, QDialog as cn, QInput as Ge, QItemSection as dt, QItem as _e, QSpinner as rl, QSelect as Ke, QList as xe, QMenu as Vt, QTooltip as sl, QTree as dn, QField as
|
|
1
|
+
import { defineComponent as U, ref as T, computed as C, resolveComponent as A, createBlock as O, openBlock as y, createElementBlock as j, createCommentVNode as E, Fragment as G, renderList as ee, normalizeClass as q, createElementVNode as v, renderSlot as Q, createVNode as N, inject as Ee, toDisplayString as V, watch as W, nextTick as se, onMounted as Te, onBeforeUnmount as sn, Teleport as Kn, Transition as ut, withCtx as D, normalizeStyle as J, createTextVNode as H, mergeProps as ge, createSlots as Pe, getCurrentInstance as xn, resolveDirective as Je, withDirectives as oe, vShow as pe, Suspense as Xn, resolveDynamicComponent as Nt, toHandlers as el, normalizeProps as Ce, guardReactiveProps as we, withModifiers as te, withKeys as $t, createApp as tl, onUnmounted as nl, h as ll, vModelText as ol, reactive as Se, isRef as en } from "vue";
|
|
2
|
+
import { QIcon as le, copyToClipboard as al, QBtn as Me, QCardActions as il, QCardSection as ze, QCard as ke, QPopupProxy as Ie, ClosePopup as ct, QInnerLoading as un, QDialog as cn, QInput as Ge, QItemSection as dt, QItem as _e, QSpinner as rl, QSelect as Ke, QList as xe, QMenu as Vt, QTooltip as sl, QTree as dn, QField as ve, QItemLabel as ul, QBtnDropdown as cl, QDate as pn, date as x, QOptionGroup as dl, QPagination as fn, QTd as pl, QTh as fl, QTable as gl, useDialogPluginComponent as tn, setCssVar as Re } from "quasar";
|
|
3
3
|
import { _ as B } from "./charts-fA1hE3y8.js";
|
|
4
|
-
import { i as
|
|
4
|
+
import { i as Ef, a as Pf, b as Yf, c as Qf, d as qf, e as Rf } from "./charts-fA1hE3y8.js";
|
|
5
5
|
const ml = U({
|
|
6
6
|
name: "JCCopy",
|
|
7
7
|
components: {
|
|
@@ -213,7 +213,7 @@ function wl(e, t, n, l, o, r) {
|
|
|
213
213
|
])) : E("", !0)
|
|
214
214
|
]);
|
|
215
215
|
}
|
|
216
|
-
const
|
|
216
|
+
const Xp = /* @__PURE__ */ B(vl, [["render", wl]]), Xe = Symbol("pageActionPermissionId"), et = Symbol("pagePermissionId"), Sl = U({
|
|
217
217
|
name: "JCPermission",
|
|
218
218
|
props: {
|
|
219
219
|
/**
|
|
@@ -484,7 +484,7 @@ function $l(e, t, n, l, o, r) {
|
|
|
484
484
|
]))
|
|
485
485
|
], 544);
|
|
486
486
|
}
|
|
487
|
-
const
|
|
487
|
+
const Ne = /* @__PURE__ */ B(kl, [["render", $l]]), Ue = {
|
|
488
488
|
LARGE: "large",
|
|
489
489
|
NORMAL: "normal",
|
|
490
490
|
SMALL: "small"
|
|
@@ -496,7 +496,7 @@ const ve = /* @__PURE__ */ B(kl, [["render", $l]]), Ue = {
|
|
|
496
496
|
name: "JQButton",
|
|
497
497
|
components: {
|
|
498
498
|
QBtn: Me,
|
|
499
|
-
JCTooltip:
|
|
499
|
+
JCTooltip: Ne
|
|
500
500
|
},
|
|
501
501
|
inheritAttrs: !1,
|
|
502
502
|
props: {
|
|
@@ -844,7 +844,7 @@ function ql(e, t, n, l, o, r) {
|
|
|
844
844
|
}, 8, ["code"])
|
|
845
845
|
]);
|
|
846
846
|
}
|
|
847
|
-
const
|
|
847
|
+
const ef = /* @__PURE__ */ B(Pl, [["render", ql], ["__scopeId", "data-v-3d1377c9"]]), Rl = U({
|
|
848
848
|
name: "JCFallback",
|
|
849
849
|
props: {
|
|
850
850
|
/**
|
|
@@ -898,8 +898,8 @@ function Bl(e, t, n, l, o, r) {
|
|
|
898
898
|
e.rmDom ? E("", !0) : (y(), j("span", Ul, V(e.defaultContent), 1))
|
|
899
899
|
], 64));
|
|
900
900
|
}
|
|
901
|
-
const
|
|
902
|
-
function
|
|
901
|
+
const tf = /* @__PURE__ */ B(Rl, [["render", Bl]]);
|
|
902
|
+
function be(e, t) {
|
|
903
903
|
return (n) => {
|
|
904
904
|
const l = String(n || "").trim();
|
|
905
905
|
return !l || e(l) ? !0 : typeof t == "function" ? t() : t;
|
|
@@ -974,31 +974,31 @@ function wn(e) {
|
|
|
974
974
|
return e ? /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e) : !1;
|
|
975
975
|
}
|
|
976
976
|
function Jl(e = "请输入有效的手机号") {
|
|
977
|
-
return
|
|
977
|
+
return be(Pt, e);
|
|
978
978
|
}
|
|
979
979
|
function Gl(e = "请输入有效的邮箱地址") {
|
|
980
|
-
return
|
|
980
|
+
return be(Yt, e);
|
|
981
981
|
}
|
|
982
982
|
function _l(e = "请输入有效的身份证号") {
|
|
983
|
-
return
|
|
983
|
+
return be(Qt, e);
|
|
984
984
|
}
|
|
985
985
|
function Kl(e = "请输入有效的银行卡号") {
|
|
986
|
-
return
|
|
986
|
+
return be(qt, e);
|
|
987
987
|
}
|
|
988
988
|
function xl(e = "请输入有效的车牌号") {
|
|
989
|
-
return
|
|
989
|
+
return be(Rt, e);
|
|
990
990
|
}
|
|
991
991
|
function Xl(e = "请输入有效的 URL 地址") {
|
|
992
|
-
return
|
|
992
|
+
return be(Ut, e);
|
|
993
993
|
}
|
|
994
994
|
function eo(e = "请输入有效的 IP 地址") {
|
|
995
|
-
return
|
|
995
|
+
return be(it, e);
|
|
996
996
|
}
|
|
997
997
|
const to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
998
998
|
__proto__: null,
|
|
999
999
|
bankCardRule: Kl,
|
|
1000
1000
|
carNumberRule: xl,
|
|
1001
|
-
createFormRule:
|
|
1001
|
+
createFormRule: be,
|
|
1002
1002
|
emailRule: Gl,
|
|
1003
1003
|
hasChinese: In,
|
|
1004
1004
|
idCardRule: _l,
|
|
@@ -1911,7 +1911,9 @@ function ho(e, t, n, l, o, r) {
|
|
|
1911
1911
|
class: q([{
|
|
1912
1912
|
"j-q-select--table": e.label,
|
|
1913
1913
|
"j-q-select--form": !e.label && !e.smInput,
|
|
1914
|
-
"j-q-input--sm": e.smInput && !e.label
|
|
1914
|
+
"j-q-input--sm": e.smInput && !e.label,
|
|
1915
|
+
"j-q-select--with-input": e.computedUseInput,
|
|
1916
|
+
"j-q-select--without-input": !e.computedUseInput
|
|
1915
1917
|
}, "j-q-select"]),
|
|
1916
1918
|
autocomplete: "off",
|
|
1917
1919
|
modelValue: e.innerValue,
|
|
@@ -1974,7 +1976,7 @@ function ho(e, t, n, l, o, r) {
|
|
|
1974
1976
|
var p;
|
|
1975
1977
|
return [
|
|
1976
1978
|
v("span", Io, [
|
|
1977
|
-
Q(e.$slots, "chip-value-display",
|
|
1979
|
+
Q(e.$slots, "chip-value-display", Ce(we(d)), () => [
|
|
1978
1980
|
H(V(e.getSelectedItemLabelByIndex(d.index)), 1)
|
|
1979
1981
|
]),
|
|
1980
1982
|
(p = e.getSelectedItemOptionByIndex(d.index)) != null && p.hideRemove ? E("", !0) : (y(), O(i, {
|
|
@@ -2039,7 +2041,7 @@ function ho(e, t, n, l, o, r) {
|
|
|
2039
2041
|
e.slots.option ? {
|
|
2040
2042
|
name: "option",
|
|
2041
2043
|
fn: D((d) => [
|
|
2042
|
-
Q(e.$slots, "option",
|
|
2044
|
+
Q(e.$slots, "option", Ce(we(d)))
|
|
2043
2045
|
]),
|
|
2044
2046
|
key: "7"
|
|
2045
2047
|
} : void 0
|
|
@@ -2434,7 +2436,7 @@ function Lo(e, t, n, l, o, r) {
|
|
|
2434
2436
|
])
|
|
2435
2437
|
]);
|
|
2436
2438
|
}
|
|
2437
|
-
const
|
|
2439
|
+
const nf = /* @__PURE__ */ B(So, [["render", Lo], ["__scopeId", "data-v-48376fdd"]]), $o = U({
|
|
2438
2440
|
name: "JCFormatLookup",
|
|
2439
2441
|
props: {
|
|
2440
2442
|
/**
|
|
@@ -2498,11 +2500,11 @@ function Oo(e, t, n, l, o, r) {
|
|
|
2498
2500
|
e.rmDom ? E("", !0) : (y(), j("span", Vo, V(e.defaultContent), 1))
|
|
2499
2501
|
], 64));
|
|
2500
2502
|
}
|
|
2501
|
-
const
|
|
2503
|
+
const lf = /* @__PURE__ */ B($o, [["render", Oo]]), Eo = U({
|
|
2502
2504
|
name: "JQFormLabel",
|
|
2503
2505
|
components: {
|
|
2504
2506
|
QIcon: le,
|
|
2505
|
-
JCTooltip:
|
|
2507
|
+
JCTooltip: Ne
|
|
2506
2508
|
},
|
|
2507
2509
|
props: {
|
|
2508
2510
|
label: { type: String },
|
|
@@ -2672,7 +2674,7 @@ function Fo(e, t, n, l, o, r) {
|
|
|
2672
2674
|
}, 8, ["label", "required"])
|
|
2673
2675
|
]);
|
|
2674
2676
|
}
|
|
2675
|
-
const
|
|
2677
|
+
const of = /* @__PURE__ */ B(Bo, [["render", Fo]]), Ho = U({
|
|
2676
2678
|
name: "JCMoreMenu",
|
|
2677
2679
|
components: {
|
|
2678
2680
|
QIcon: le,
|
|
@@ -2856,7 +2858,7 @@ function Ko(e, t, n, l, o, r) {
|
|
|
2856
2858
|
])) : (y(), j("span", _o, "-"))
|
|
2857
2859
|
])) : E("", !0);
|
|
2858
2860
|
}
|
|
2859
|
-
const
|
|
2861
|
+
const af = /* @__PURE__ */ B(Ho, [["render", Ko], ["__scopeId", "data-v-51a82f6e"]]), xo = U({
|
|
2860
2862
|
name: "NestedMenuItem",
|
|
2861
2863
|
components: {
|
|
2862
2864
|
QItem: _e,
|
|
@@ -3152,11 +3154,11 @@ function oa(e, t, n, l, o, r) {
|
|
|
3152
3154
|
_: 1
|
|
3153
3155
|
}, 8, ["class", "style", "modelValue", "options", "label", "clearable", "popup-content-class", "disable", "readonly", "title"]);
|
|
3154
3156
|
}
|
|
3155
|
-
const
|
|
3157
|
+
const rf = /* @__PURE__ */ B(ta, [["render", oa]]), aa = U({
|
|
3156
3158
|
name: "JCTable",
|
|
3157
3159
|
components: {
|
|
3158
3160
|
JCCopy: gn,
|
|
3159
|
-
JCTooltip:
|
|
3161
|
+
JCTooltip: Ne
|
|
3160
3162
|
},
|
|
3161
3163
|
props: {
|
|
3162
3164
|
/** 列配置 */
|
|
@@ -3428,7 +3430,7 @@ function ga(e, t, n, l, o, r) {
|
|
|
3428
3430
|
])) : E("", !0)
|
|
3429
3431
|
]);
|
|
3430
3432
|
}
|
|
3431
|
-
const
|
|
3433
|
+
const sf = /* @__PURE__ */ B(aa, [["render", ga], ["__scopeId", "data-v-4cfe7804"]]), St = T("hide-tooltip"), ma = {
|
|
3432
3434
|
mounted(e, t) {
|
|
3433
3435
|
const n = t.arg === "lines" ? t.value : 1;
|
|
3434
3436
|
e.addEventListener("mouseenter", () => {
|
|
@@ -3610,7 +3612,7 @@ function Ca(e, t, n, l, o, r) {
|
|
|
3610
3612
|
Q(e.$slots, "default", {}, void 0, !0)
|
|
3611
3613
|
]);
|
|
3612
3614
|
}
|
|
3613
|
-
const
|
|
3615
|
+
const uf = /* @__PURE__ */ B(Aa, [["render", Ca], ["__scopeId", "data-v-cc043f30"]]), va = U({
|
|
3614
3616
|
name: "JCTitleLine",
|
|
3615
3617
|
props: {
|
|
3616
3618
|
label: { type: String }
|
|
@@ -3637,11 +3639,11 @@ function ja(e, t, n, l, o, r) {
|
|
|
3637
3639
|
])
|
|
3638
3640
|
]);
|
|
3639
3641
|
}
|
|
3640
|
-
const
|
|
3642
|
+
const cf = /* @__PURE__ */ B(va, [["render", ja], ["__scopeId", "data-v-634ec7db"]]), wa = U({
|
|
3641
3643
|
name: "JCTooltipEllipsis",
|
|
3642
3644
|
inheritAttrs: !1,
|
|
3643
3645
|
components: {
|
|
3644
|
-
JCTooltip:
|
|
3646
|
+
JCTooltip: Ne
|
|
3645
3647
|
},
|
|
3646
3648
|
props: {
|
|
3647
3649
|
content: {
|
|
@@ -3809,7 +3811,7 @@ const ka = /* @__PURE__ */ B(Ta, [["render", za]]), La = U({
|
|
|
3809
3811
|
components: {
|
|
3810
3812
|
JQInput: pt,
|
|
3811
3813
|
JCTree: ka,
|
|
3812
|
-
QField:
|
|
3814
|
+
QField: ve,
|
|
3813
3815
|
QIcon: le,
|
|
3814
3816
|
QPopupProxy: Ie
|
|
3815
3817
|
},
|
|
@@ -4011,11 +4013,11 @@ function Pa(e, t, n, l, o, r) {
|
|
|
4011
4013
|
_: 3
|
|
4012
4014
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
4013
4015
|
}
|
|
4014
|
-
const
|
|
4016
|
+
const df = /* @__PURE__ */ B(La, [["render", Pa]]), Ya = U({
|
|
4015
4017
|
name: "JCOrgSelect",
|
|
4016
4018
|
components: {
|
|
4017
4019
|
JCTooltipEllipsis: ft,
|
|
4018
|
-
QField:
|
|
4020
|
+
QField: ve,
|
|
4019
4021
|
QIcon: le,
|
|
4020
4022
|
QPopupProxy: Ie,
|
|
4021
4023
|
QTree: dn
|
|
@@ -4238,7 +4240,7 @@ function Ba(e, t, n, l, o, r) {
|
|
|
4238
4240
|
_: 3
|
|
4239
4241
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
4240
4242
|
}
|
|
4241
|
-
const
|
|
4243
|
+
const pf = /* @__PURE__ */ B(Ya, [["render", Ba]]), He = [
|
|
4242
4244
|
{
|
|
4243
4245
|
platform: "EIM",
|
|
4244
4246
|
path: "/orchestration/",
|
|
@@ -4437,12 +4439,12 @@ function ni(e, t, n, l, o, r) {
|
|
|
4437
4439
|
}, 1024)
|
|
4438
4440
|
]))), 128);
|
|
4439
4441
|
}
|
|
4440
|
-
const
|
|
4442
|
+
const ff = /* @__PURE__ */ B(Xa, [["render", ni], ["__scopeId", "data-v-c6725588"]]), ht = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", ln = (e) => {
|
|
4441
4443
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
4442
4444
|
}, li = U({
|
|
4443
4445
|
name: "JQAutocomplete",
|
|
4444
4446
|
components: {
|
|
4445
|
-
JCTooltip:
|
|
4447
|
+
JCTooltip: Ne,
|
|
4446
4448
|
QIcon: le,
|
|
4447
4449
|
QInput: Ge
|
|
4448
4450
|
},
|
|
@@ -4589,7 +4591,7 @@ function si(e, t, n, l, o, r) {
|
|
|
4589
4591
|
])
|
|
4590
4592
|
]);
|
|
4591
4593
|
}
|
|
4592
|
-
const
|
|
4594
|
+
const gf = /* @__PURE__ */ B(li, [["render", si], ["__scopeId", "data-v-f7d0b6f1"]]), Ze = {
|
|
4593
4595
|
LARGE: "large",
|
|
4594
4596
|
NORMAL: "normal",
|
|
4595
4597
|
SMALL: "small"
|
|
@@ -4804,7 +4806,7 @@ function di(e, t, n, l, o, r) {
|
|
|
4804
4806
|
} : void 0
|
|
4805
4807
|
]), 1040, ["class", "dropdown-icon", "label", "disable", "menu-anchor", "menu-self", "menu-offset"])) : E("", !0);
|
|
4806
4808
|
}
|
|
4807
|
-
const
|
|
4809
|
+
const mf = /* @__PURE__ */ B(ui, [["render", di], ["__scopeId", "data-v-cb8acc10"]]), pi = U({
|
|
4808
4810
|
name: "JQConfirm",
|
|
4809
4811
|
components: {
|
|
4810
4812
|
QPopupProxy: Ie,
|
|
@@ -4884,7 +4886,7 @@ function yi(e, t, n, l, o, r) {
|
|
|
4884
4886
|
}, 512)
|
|
4885
4887
|
]);
|
|
4886
4888
|
}
|
|
4887
|
-
const
|
|
4889
|
+
const yf = /* @__PURE__ */ B(pi, [["render", yi], ["__scopeId", "data-v-e5c79a0f"]]), Ve = "YYYY-MM-DD HH:mm:ss", Dt = (e) => {
|
|
4888
4890
|
if (e === null || typeof e > "u" || e === "") return null;
|
|
4889
4891
|
if (typeof e == "number") return new Date(e);
|
|
4890
4892
|
if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
|
|
@@ -4894,7 +4896,7 @@ const gf = /* @__PURE__ */ B(pi, [["render", yi], ["__scopeId", "data-v-e5c79a0f
|
|
|
4894
4896
|
}, Mi = U({
|
|
4895
4897
|
name: "JQDate",
|
|
4896
4898
|
components: {
|
|
4897
|
-
QField:
|
|
4899
|
+
QField: ve,
|
|
4898
4900
|
QPopupProxy: Ie,
|
|
4899
4901
|
QDate: pn,
|
|
4900
4902
|
QIcon: le
|
|
@@ -5080,7 +5082,7 @@ function Ai(e, t, n, l, o, r) {
|
|
|
5080
5082
|
_: 3
|
|
5081
5083
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
|
|
5082
5084
|
}
|
|
5083
|
-
const
|
|
5085
|
+
const Mf = /* @__PURE__ */ B(Mi, [["render", Ai]]), Di = "rtcpt", Tn = `${Di}_third_component_state`, on = () => localStorage.getItem(Tn), an = (e) => {
|
|
5084
5086
|
localStorage.setItem(Tn, e);
|
|
5085
5087
|
}, Oe = "YYYY-MM-DD HH:mm:ss", Ct = "YYYY/MM/DD", Ci = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), vi = (e, t) => {
|
|
5086
5088
|
const n = t + 1;
|
|
@@ -5096,14 +5098,14 @@ const mf = /* @__PURE__ */ B(Mi, [["render", Ai]]), Di = "rtcpt", Tn = `${Di}_th
|
|
|
5096
5098
|
}, $e = (e) => {
|
|
5097
5099
|
const t = fe(e);
|
|
5098
5100
|
return t ? { h: t.getHours(), m: t.getMinutes(), s: t.getSeconds() } : { h: 0, m: 0, s: 0 };
|
|
5099
|
-
},
|
|
5101
|
+
}, De = (e, t) => {
|
|
5100
5102
|
if (!e) return null;
|
|
5101
5103
|
const n = e.replace(/\//g, "-"), l = `${String(t.h).padStart(2, "0")}:${String(t.m).padStart(2, "0")}:${String(t.s).padStart(2, "0")}`;
|
|
5102
5104
|
return `${n} ${l}`;
|
|
5103
5105
|
}, Ni = U({
|
|
5104
5106
|
name: "JQDateTime",
|
|
5105
5107
|
components: {
|
|
5106
|
-
QField:
|
|
5108
|
+
QField: ve,
|
|
5107
5109
|
QPopupProxy: Ie,
|
|
5108
5110
|
QDate: pn,
|
|
5109
5111
|
QInput: Ge,
|
|
@@ -5170,11 +5172,11 @@ const mf = /* @__PURE__ */ B(Mi, [["render", Ai]]), Di = "rtcpt", Tn = `${Di}_th
|
|
|
5170
5172
|
Object.assign(h, $e(F.from));
|
|
5171
5173
|
const ne = K ? x.formatDate(K, Ct) : "", ae = fe(F.to), re = $e(F.to);
|
|
5172
5174
|
re.h === 0 && re.m === 0 && re.s === 0 && ae ? Object.assign(f, c()) : Object.assign(f, re);
|
|
5173
|
-
const
|
|
5175
|
+
const Ae = ae ? x.formatDate(ae, Ct) : "";
|
|
5174
5176
|
I.value = {
|
|
5175
5177
|
from: K ? x.formatDate(K, Oe) : null,
|
|
5176
|
-
to: ae ? Ae
|
|
5177
|
-
}, ne &&
|
|
5178
|
+
to: ae ? De(Ae, f) : null
|
|
5179
|
+
}, ne && Ae && ne === Ae ? b.value = ne : b.value = ne && Ae ? { from: ne, to: Ae } : "";
|
|
5178
5180
|
} else {
|
|
5179
5181
|
const F = fe(P);
|
|
5180
5182
|
Object.assign(L, $e(P)), z.value = F ? x.formatDate(F, Oe) : null, $.value = F ? x.formatDate(F, Ct) : "";
|
|
@@ -5190,30 +5192,30 @@ const mf = /* @__PURE__ */ B(Mi, [["render", Ai]]), Di = "rtcpt", Tn = `${Di}_th
|
|
|
5190
5192
|
if (typeof P == "object" && P !== null) {
|
|
5191
5193
|
const K = P.from, ne = P.to;
|
|
5192
5194
|
if (F && typeof F == "object" && F !== null ? (K !== F.from && Object.assign(h, { h: 0, m: 0, s: 0 }), ne !== F.to && Object.assign(f, c())) : (Object.assign(h, { h: 0, m: 0, s: 0 }), Object.assign(f, c())), K && ne) {
|
|
5193
|
-
const ae =
|
|
5195
|
+
const ae = De(K, h), re = De(ne, f);
|
|
5194
5196
|
if (I.value.from = ae, I.value.to = re, ae && re) {
|
|
5195
|
-
const
|
|
5196
|
-
|
|
5197
|
+
const Ae = fe(ae), Xt = fe(re);
|
|
5198
|
+
Ae && Xt && Ae.getTime() > Xt.getTime() ? S.value = { from: re, to: ae } : S.value = { from: ae, to: re };
|
|
5197
5199
|
}
|
|
5198
5200
|
}
|
|
5199
5201
|
} else if (typeof P == "string" && P) {
|
|
5200
5202
|
Object.assign(h, { h: 0, m: 0, s: 0 }), Object.assign(f, c());
|
|
5201
|
-
const K =
|
|
5203
|
+
const K = De(P, h), ne = De(P, f);
|
|
5202
5204
|
I.value.from = K, I.value.to = ne, K && ne && (S.value = { from: K, to: ne });
|
|
5203
5205
|
}
|
|
5204
5206
|
}
|
|
5205
5207
|
},
|
|
5206
5208
|
{ deep: !0 }
|
|
5207
5209
|
), W($, (P, F) => {
|
|
5208
|
-
e.range || i.value || s.value || (P !== F && Object.assign(L, { h: 0, m: 0, s: 0 }), z.value =
|
|
5210
|
+
e.range || i.value || s.value || (P !== F && Object.assign(L, { h: 0, m: 0, s: 0 }), z.value = De(P, L));
|
|
5209
5211
|
});
|
|
5210
5212
|
const m = (P) => {
|
|
5211
5213
|
if (P === "single")
|
|
5212
|
-
z.value =
|
|
5214
|
+
z.value = De($.value, L);
|
|
5213
5215
|
else {
|
|
5214
5216
|
const F = P === "from" ? h : f;
|
|
5215
5217
|
let K = "";
|
|
5216
|
-
typeof b.value == "object" && b.value !== null ? K = P === "from" ? b.value.from : b.value.to : typeof b.value == "string" && (K = b.value), K && (I.value[P] =
|
|
5218
|
+
typeof b.value == "object" && b.value !== null ? K = P === "from" ? b.value.from : b.value.to : typeof b.value == "string" && (K = b.value), K && (I.value[P] = De(K, F));
|
|
5217
5219
|
}
|
|
5218
5220
|
};
|
|
5219
5221
|
W(
|
|
@@ -5524,7 +5526,7 @@ function Ri(e, t, n, l, o, r) {
|
|
|
5524
5526
|
_: 3
|
|
5525
5527
|
}, 8, ["class", "model-value", "dense", "disable", "readonly", "label", "outlined", "rules", "title", "onClick"]);
|
|
5526
5528
|
}
|
|
5527
|
-
const
|
|
5529
|
+
const If = /* @__PURE__ */ B(Ni, [["render", Ri]]), Ui = U({
|
|
5528
5530
|
name: "JQMonthList",
|
|
5529
5531
|
components: { QBtn: Me },
|
|
5530
5532
|
props: {
|
|
@@ -5943,7 +5945,7 @@ function rr(e, t, n, l, o, r) {
|
|
|
5943
5945
|
}
|
|
5944
5946
|
const sr = /* @__PURE__ */ B(lr, [["render", rr]]), ur = U({
|
|
5945
5947
|
name: "JQDateMonth",
|
|
5946
|
-
components: { QField:
|
|
5948
|
+
components: { QField: ve, QIcon: le, QPopupProxy: Ie, JQMonthSelector: sr },
|
|
5947
5949
|
props: {
|
|
5948
5950
|
modelValue: { type: [String, Number, Object] },
|
|
5949
5951
|
clearable: { type: Boolean, default: !0 },
|
|
@@ -6057,7 +6059,7 @@ function dr(e, t, n, l, o, r) {
|
|
|
6057
6059
|
_: 3
|
|
6058
6060
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
|
|
6059
6061
|
}
|
|
6060
|
-
const
|
|
6062
|
+
const hf = /* @__PURE__ */ B(ur, [["render", dr]]), pr = (e) => {
|
|
6061
6063
|
if (e === null || typeof e > "u") return null;
|
|
6062
6064
|
if (e instanceof Date) return e;
|
|
6063
6065
|
if (typeof e == "number") return new Date(e);
|
|
@@ -6068,7 +6070,7 @@ const Mf = /* @__PURE__ */ B(ur, [["render", dr]]), pr = (e) => {
|
|
|
6068
6070
|
return null;
|
|
6069
6071
|
}, fr = U({
|
|
6070
6072
|
name: "JQDateYear",
|
|
6071
|
-
components: { QField:
|
|
6073
|
+
components: { QField: ve, QIcon: le, QPopupProxy: Ie, JQYearSelector: zn },
|
|
6072
6074
|
props: {
|
|
6073
6075
|
modelValue: { type: [String, Number, Object, Date] },
|
|
6074
6076
|
clearable: { type: Boolean, default: !0 },
|
|
@@ -6170,14 +6172,14 @@ function mr(e, t, n, l, o, r) {
|
|
|
6170
6172
|
_: 3
|
|
6171
6173
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title"]);
|
|
6172
6174
|
}
|
|
6173
|
-
const
|
|
6175
|
+
const Af = /* @__PURE__ */ B(fr, [["render", mr]]), he = "ngiot__management__frontend__storge__", yr = `${he}_username`, Mr = () => localStorage.removeItem(yr), Ir = `${he}_userinfo`, hr = () => localStorage.removeItem(Ir), Ar = `${he}cmp_userinfo`, Dr = () => localStorage.removeItem(Ar), Cr = `${he}_currentOrg`, vr = () => localStorage.removeItem(Cr), Nr = `${he}_pagePermissionID`, br = () => localStorage.removeItem(Nr), jr = `${he}_pageActionPermissionID`, wr = () => localStorage.removeItem(jr), Sr = `${he}_token`, Tr = () => localStorage.removeItem(Sr), zr = () => {
|
|
6174
6176
|
for (let e of He)
|
|
6175
|
-
localStorage.removeItem(`${
|
|
6176
|
-
},
|
|
6177
|
+
localStorage.removeItem(`${he}_${e.platform}_sidebarStatus`);
|
|
6178
|
+
}, kr = () => {
|
|
6177
6179
|
for (let e of He)
|
|
6178
|
-
localStorage.removeItem(`${
|
|
6179
|
-
},
|
|
6180
|
-
|
|
6180
|
+
localStorage.removeItem(`${he}_${e.platform}_tagsView`);
|
|
6181
|
+
}, Lr = () => {
|
|
6182
|
+
zr(), kr(), Mr(), hr(), Dr(), vr(), br(), wr(), Tr();
|
|
6181
6183
|
};
|
|
6182
6184
|
function Tt(e) {
|
|
6183
6185
|
return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "-";
|
|
@@ -6216,7 +6218,7 @@ function Fe(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
|
6216
6218
|
const n = Ln(e);
|
|
6217
6219
|
return Tt(n ? x.formatDate(n, t) : e);
|
|
6218
6220
|
}
|
|
6219
|
-
function
|
|
6221
|
+
function $r(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
6220
6222
|
return (n, l) => {
|
|
6221
6223
|
if (n === 0 || n === "0")
|
|
6222
6224
|
return String(n);
|
|
@@ -6231,7 +6233,7 @@ function kr(e = "YYYY-MM-DD HH:mm:ss", t = "-") {
|
|
|
6231
6233
|
}
|
|
6232
6234
|
};
|
|
6233
6235
|
}
|
|
6234
|
-
function
|
|
6236
|
+
function Vr(e = "-", t) {
|
|
6235
6237
|
return Ft((l) => {
|
|
6236
6238
|
const o = typeof l == "string" ? Number(l) : l;
|
|
6237
6239
|
return Number.isFinite(o) ? kn({
|
|
@@ -6244,7 +6246,7 @@ function Lr(e = "-", t) {
|
|
|
6244
6246
|
}) : l;
|
|
6245
6247
|
}, e);
|
|
6246
6248
|
}
|
|
6247
|
-
function
|
|
6249
|
+
function Or(e = "-", t) {
|
|
6248
6250
|
return Ft((l) => {
|
|
6249
6251
|
const o = ["B", "KB", "MB", "GB", "TB"];
|
|
6250
6252
|
let r = typeof l == "string" ? Number(l) : l, a = (t == null ? void 0 : t.unit) || "B";
|
|
@@ -6257,7 +6259,7 @@ function $r(e = "-", t) {
|
|
|
6257
6259
|
return `${r.toFixed(i)} ${a}`;
|
|
6258
6260
|
}, e);
|
|
6259
6261
|
}
|
|
6260
|
-
function
|
|
6262
|
+
function Er(e, t, n, l) {
|
|
6261
6263
|
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;
|
|
6262
6264
|
if (!Number.isFinite(i))
|
|
6263
6265
|
return e;
|
|
@@ -6267,12 +6269,12 @@ function Vr(e, t, n, l) {
|
|
|
6267
6269
|
const u = s - c, p = (i * Math.pow(1024, u)).toFixed(r);
|
|
6268
6270
|
return a ? `${p} ${n}` : Number(p);
|
|
6269
6271
|
}
|
|
6270
|
-
const
|
|
6272
|
+
const Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6271
6273
|
__proto__: null,
|
|
6272
|
-
convertDataUnit:
|
|
6273
|
-
defaultAutoDataFormat:
|
|
6274
|
-
defaultDataFormat:
|
|
6275
|
-
defaultDateFormat:
|
|
6274
|
+
convertDataUnit: Er,
|
|
6275
|
+
defaultAutoDataFormat: Or,
|
|
6276
|
+
defaultDataFormat: Vr,
|
|
6277
|
+
defaultDateFormat: $r,
|
|
6276
6278
|
defaultFill: Tt,
|
|
6277
6279
|
defaultFormat: Ft,
|
|
6278
6280
|
formatDate: Fe,
|
|
@@ -6281,15 +6283,15 @@ const Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6281
6283
|
getTitle: Wa,
|
|
6282
6284
|
getUpperSize: tt,
|
|
6283
6285
|
platformList: He,
|
|
6284
|
-
resetVariables:
|
|
6286
|
+
resetVariables: Lr,
|
|
6285
6287
|
setTitleAndLogo: Za
|
|
6286
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6288
|
+
}, Symbol.toStringTag, { value: "Module" })), Yr = U({
|
|
6287
6289
|
name: "JQDetailList",
|
|
6288
6290
|
components: {
|
|
6289
6291
|
JCTooltipEllipsis: ft,
|
|
6290
6292
|
JCCopy: gn,
|
|
6291
6293
|
QIcon: le,
|
|
6292
|
-
JCTooltip:
|
|
6294
|
+
JCTooltip: Ne
|
|
6293
6295
|
},
|
|
6294
6296
|
props: {
|
|
6295
6297
|
items: {
|
|
@@ -6382,17 +6384,17 @@ const Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6382
6384
|
}
|
|
6383
6385
|
};
|
|
6384
6386
|
}
|
|
6385
|
-
}),
|
|
6387
|
+
}), Qr = { class: "q-mb-xs text-grey text-caption row items-center" }, qr = ["onClick"], Rr = ["innerHTML"], Ur = {
|
|
6386
6388
|
key: 0,
|
|
6387
6389
|
class: "detail-value-suffix q-ml-xs"
|
|
6388
|
-
},
|
|
6390
|
+
}, Br = ["onClick"], Zr = { class: "item item-between" }, Wr = { class: "label row items-center" }, Fr = { class: "value-wrapper row items-center no-wrap" }, Hr = ["onClick"], Jr = ["innerHTML"], Gr = {
|
|
6389
6391
|
key: 0,
|
|
6390
6392
|
class: "value-suffix q-ml-xs"
|
|
6391
|
-
},
|
|
6393
|
+
}, _r = ["onClick"], Kr = { class: "item item-left" }, xr = { class: "label row items-center" }, Xr = { class: "value-wrapper row items-center no-wrap" }, es = ["onClick"], ts = ["innerHTML"], ns = {
|
|
6392
6394
|
key: 0,
|
|
6393
6395
|
class: "value-suffix q-ml-xs"
|
|
6394
|
-
},
|
|
6395
|
-
function
|
|
6396
|
+
}, ls = ["onClick"];
|
|
6397
|
+
function os(e, t, n, l, o, r) {
|
|
6396
6398
|
const a = A("q-icon"), i = A("j-c-tooltip"), s = A("j-c-tooltip-ellipsis"), c = A("j-c-copy");
|
|
6397
6399
|
return e.layout === "vertical" ? (y(), j("div", {
|
|
6398
6400
|
key: 0,
|
|
@@ -6402,7 +6404,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6402
6404
|
key: u.name,
|
|
6403
6405
|
class: q([[`col-${u.span || 6}`], "detail-item-container"])
|
|
6404
6406
|
}, [
|
|
6405
|
-
v("div",
|
|
6407
|
+
v("div", Qr, [
|
|
6406
6408
|
H(V(u.label) + " ", 1),
|
|
6407
6409
|
u.tip ? (y(), O(i, {
|
|
6408
6410
|
key: 0,
|
|
@@ -6437,7 +6439,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6437
6439
|
innerHTML: e.getDefaultValue(u),
|
|
6438
6440
|
class: q([e.getOptionClass(u), "html-content"]),
|
|
6439
6441
|
style: J(e.getHtmlStyle(u))
|
|
6440
|
-
}, null, 14,
|
|
6442
|
+
}, null, 14, Rr)) : u.detail ? (y(), j("span", {
|
|
6441
6443
|
key: 2,
|
|
6442
6444
|
class: q(e.getOptionClass(u))
|
|
6443
6445
|
}, V(e.getDefaultValue(u)), 3)) : (y(), O(s, {
|
|
@@ -6446,8 +6448,8 @@ function ns(e, t, n, l, o, r) {
|
|
|
6446
6448
|
lines: u.whiteSpace || 1,
|
|
6447
6449
|
class: q(e.getOptionClass(u))
|
|
6448
6450
|
}, null, 8, ["content", "lines", "class"]))
|
|
6449
|
-
], 10,
|
|
6450
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), j("div",
|
|
6451
|
+
], 10, qr),
|
|
6452
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), j("div", Ur, [
|
|
6451
6453
|
e.slots[`item-suffix-${u.name}`] ? Q(e.$slots, `item-suffix-${u.name}`, {
|
|
6452
6454
|
key: 0,
|
|
6453
6455
|
value: e.data[u.name],
|
|
@@ -6463,7 +6465,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6463
6465
|
key: 1,
|
|
6464
6466
|
class: "link-type q-ml-xs",
|
|
6465
6467
|
onClick: (d) => e.handleDetailClick(u)
|
|
6466
|
-
}, V(e.t("action.detail")), 9,
|
|
6468
|
+
}, V(e.t("action.detail")), 9, Br)) : E("", !0)
|
|
6467
6469
|
], 64))
|
|
6468
6470
|
])) : E("", !0)
|
|
6469
6471
|
], 2)
|
|
@@ -6476,8 +6478,8 @@ function ns(e, t, n, l, o, r) {
|
|
|
6476
6478
|
key: u.name,
|
|
6477
6479
|
class: q([`col-${u.span || 6}`])
|
|
6478
6480
|
}, [
|
|
6479
|
-
v("div",
|
|
6480
|
-
v("div",
|
|
6481
|
+
v("div", Zr, [
|
|
6482
|
+
v("div", Wr, [
|
|
6481
6483
|
H(V(u.label) + " ", 1),
|
|
6482
6484
|
u.tip ? (y(), O(i, {
|
|
6483
6485
|
key: 0,
|
|
@@ -6494,7 +6496,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6494
6496
|
_: 1
|
|
6495
6497
|
}, 8, ["content"])) : E("", !0)
|
|
6496
6498
|
]),
|
|
6497
|
-
v("div",
|
|
6499
|
+
v("div", Fr, [
|
|
6498
6500
|
v("div", {
|
|
6499
6501
|
class: q(["value", { clickable: e.isClickable(u), "text-ellipsis": u.detail }]),
|
|
6500
6502
|
onClick: (d) => e.handleClick(u)
|
|
@@ -6510,7 +6512,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6510
6512
|
innerHTML: e.getDefaultValue(u),
|
|
6511
6513
|
class: q([e.getOptionClass(u), "html-content"]),
|
|
6512
6514
|
style: J(e.getHtmlStyle(u))
|
|
6513
|
-
}, null, 14,
|
|
6515
|
+
}, null, 14, Jr)) : u.detail ? (y(), j("span", {
|
|
6514
6516
|
key: 2,
|
|
6515
6517
|
class: q(e.getOptionClass(u))
|
|
6516
6518
|
}, V(e.getDefaultValue(u)), 3)) : (y(), O(s, {
|
|
@@ -6519,8 +6521,8 @@ function ns(e, t, n, l, o, r) {
|
|
|
6519
6521
|
lines: u.whiteSpace || 1,
|
|
6520
6522
|
class: q(e.getOptionClass(u))
|
|
6521
6523
|
}, null, 8, ["content", "lines", "class"]))
|
|
6522
|
-
], 10,
|
|
6523
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), j("div",
|
|
6524
|
+
], 10, Hr),
|
|
6525
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), j("div", Gr, [
|
|
6524
6526
|
e.slots[`item-suffix-${u.name}`] ? Q(e.$slots, `item-suffix-${u.name}`, {
|
|
6525
6527
|
key: 0,
|
|
6526
6528
|
value: e.data[u.name],
|
|
@@ -6536,7 +6538,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6536
6538
|
key: 1,
|
|
6537
6539
|
class: "link-type q-ml-xs",
|
|
6538
6540
|
onClick: (d) => e.handleDetailClick(u)
|
|
6539
|
-
}, V(e.t("action.detail")), 9,
|
|
6541
|
+
}, V(e.t("action.detail")), 9, _r)) : E("", !0)
|
|
6540
6542
|
], 64))
|
|
6541
6543
|
])) : E("", !0)
|
|
6542
6544
|
])
|
|
@@ -6551,8 +6553,8 @@ function ns(e, t, n, l, o, r) {
|
|
|
6551
6553
|
key: u.name,
|
|
6552
6554
|
class: q([`col-${u.span || 6}`])
|
|
6553
6555
|
}, [
|
|
6554
|
-
v("div",
|
|
6555
|
-
v("div",
|
|
6556
|
+
v("div", Kr, [
|
|
6557
|
+
v("div", xr, [
|
|
6556
6558
|
H(V(u.label) + " ", 1),
|
|
6557
6559
|
u.tip ? (y(), O(i, {
|
|
6558
6560
|
key: 0,
|
|
@@ -6569,7 +6571,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6569
6571
|
_: 1
|
|
6570
6572
|
}, 8, ["content"])) : E("", !0)
|
|
6571
6573
|
]),
|
|
6572
|
-
v("div",
|
|
6574
|
+
v("div", Xr, [
|
|
6573
6575
|
v("div", {
|
|
6574
6576
|
class: q(["value", { clickable: e.isClickable(u), "text-ellipsis": u.detail }]),
|
|
6575
6577
|
onClick: (d) => e.handleClick(u)
|
|
@@ -6585,7 +6587,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6585
6587
|
innerHTML: e.getDefaultValue(u),
|
|
6586
6588
|
class: q([e.getOptionClass(u), "html-content"]),
|
|
6587
6589
|
style: J(e.getHtmlStyle(u))
|
|
6588
|
-
}, null, 14,
|
|
6590
|
+
}, null, 14, ts)) : u.detail ? (y(), j("span", {
|
|
6589
6591
|
key: 2,
|
|
6590
6592
|
class: q(e.getOptionClass(u))
|
|
6591
6593
|
}, V(e.getDefaultValue(u)), 3)) : (y(), O(s, {
|
|
@@ -6594,8 +6596,8 @@ function ns(e, t, n, l, o, r) {
|
|
|
6594
6596
|
lines: u.whiteSpace || 1,
|
|
6595
6597
|
class: q(e.getOptionClass(u))
|
|
6596
6598
|
}, null, 8, ["content", "lines", "class"]))
|
|
6597
|
-
], 10,
|
|
6598
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), j("div",
|
|
6599
|
+
], 10, es),
|
|
6600
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), j("div", ns, [
|
|
6599
6601
|
e.slots[`item-suffix-${u.name}`] ? Q(e.$slots, `item-suffix-${u.name}`, {
|
|
6600
6602
|
key: 0,
|
|
6601
6603
|
value: e.data[u.name],
|
|
@@ -6611,7 +6613,7 @@ function ns(e, t, n, l, o, r) {
|
|
|
6611
6613
|
key: 1,
|
|
6612
6614
|
class: "link-type q-ml-xs",
|
|
6613
6615
|
onClick: (d) => e.handleDetailClick(u)
|
|
6614
|
-
}, V(e.t("action.detail")), 9,
|
|
6616
|
+
}, V(e.t("action.detail")), 9, ls)) : E("", !0)
|
|
6615
6617
|
], 64))
|
|
6616
6618
|
])) : E("", !0)
|
|
6617
6619
|
])
|
|
@@ -6619,10 +6621,10 @@ function ns(e, t, n, l, o, r) {
|
|
|
6619
6621
|
], 2))), 128))
|
|
6620
6622
|
], 6)) : E("", !0);
|
|
6621
6623
|
}
|
|
6622
|
-
const
|
|
6624
|
+
const Df = /* @__PURE__ */ B(Yr, [["render", os], ["__scopeId", "data-v-100bb9c9"]]), as = U({
|
|
6623
6625
|
name: "JQFile",
|
|
6624
6626
|
components: {
|
|
6625
|
-
QField:
|
|
6627
|
+
QField: ve,
|
|
6626
6628
|
QIcon: le,
|
|
6627
6629
|
QBtn: Me,
|
|
6628
6630
|
JQButton: Ye,
|
|
@@ -6714,31 +6716,31 @@ const hf = /* @__PURE__ */ B(Er, [["render", ns], ["__scopeId", "data-v-100bb9c9
|
|
|
6714
6716
|
hasSlotHint: m
|
|
6715
6717
|
};
|
|
6716
6718
|
}
|
|
6717
|
-
}),
|
|
6719
|
+
}), is = { class: "j-q-file" }, rs = { class: "fs-14 q-mt-sm" }, ss = { class: "text-grey fs-12 q-mt-xs" }, us = {
|
|
6718
6720
|
key: 0,
|
|
6719
6721
|
class: "single-file"
|
|
6720
|
-
},
|
|
6722
|
+
}, cs = { class: "single-file-content" }, ds = { class: "single-file-name" }, ps = {
|
|
6721
6723
|
key: 0,
|
|
6722
6724
|
class: "single-file-size"
|
|
6723
|
-
},
|
|
6725
|
+
}, fs = { class: "single-file-actions" }, gs = {
|
|
6724
6726
|
key: 1,
|
|
6725
6727
|
class: "file-filers"
|
|
6726
|
-
},
|
|
6728
|
+
}, ms = { class: "filer-content" }, ys = ["title"], Ms = {
|
|
6727
6729
|
key: 0,
|
|
6728
6730
|
class: "filer-size"
|
|
6729
|
-
},
|
|
6731
|
+
}, Is = ["accept", "multiple"], hs = {
|
|
6730
6732
|
key: 0,
|
|
6731
6733
|
class: "download-template"
|
|
6732
|
-
},
|
|
6734
|
+
}, As = ["onClick"], Ds = { class: "download-template-name" }, Cs = {
|
|
6733
6735
|
key: 0,
|
|
6734
6736
|
class: "download-template-sep"
|
|
6735
|
-
},
|
|
6737
|
+
}, vs = {
|
|
6736
6738
|
key: 1,
|
|
6737
6739
|
class: "file-hint"
|
|
6738
6740
|
};
|
|
6739
|
-
function
|
|
6741
|
+
function Ns(e, t, n, l, o, r) {
|
|
6740
6742
|
const a = A("q-icon"), i = A("j-c-tooltip-ellipsis"), s = A("j-q-button"), c = A("q-btn"), u = A("q-field");
|
|
6741
|
-
return y(), j("div",
|
|
6743
|
+
return y(), j("div", is, [
|
|
6742
6744
|
N(u, {
|
|
6743
6745
|
modelValue: e.computedValue,
|
|
6744
6746
|
"onUpdate:modelValue": t[7] || (t[7] = (d) => e.computedValue = d),
|
|
@@ -6763,29 +6765,29 @@ function Cs(e, t, n, l, o, r) {
|
|
|
6763
6765
|
name: "app:upload",
|
|
6764
6766
|
size: "24px"
|
|
6765
6767
|
}),
|
|
6766
|
-
v("p",
|
|
6767
|
-
v("p",
|
|
6768
|
+
v("p", rs, V(e.t("messages.jQFile.click_or_drag_file")), 1),
|
|
6769
|
+
v("p", ss, V(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + V(e.t("messages.jQFile.max_file_size", {
|
|
6768
6770
|
size: e.maxFileSize
|
|
6769
6771
|
})), 1)
|
|
6770
6772
|
], 34), [
|
|
6771
6773
|
[pe, e.computedValue.length !== Number(e.maxlength)]
|
|
6772
6774
|
]),
|
|
6773
6775
|
e.computedValue.length ? (y(), j(G, { key: 0 }, [
|
|
6774
|
-
e.computedMaxlength === 1 ? (y(), j("div",
|
|
6775
|
-
v("div",
|
|
6776
|
+
e.computedMaxlength === 1 ? (y(), j("div", us, [
|
|
6777
|
+
v("div", cs, [
|
|
6776
6778
|
N(a, {
|
|
6777
6779
|
name: "app:success",
|
|
6778
6780
|
class: "q-mr-sm",
|
|
6779
6781
|
size: "20px"
|
|
6780
6782
|
}),
|
|
6781
|
-
v("span",
|
|
6783
|
+
v("span", ds, [
|
|
6782
6784
|
N(i, {
|
|
6783
6785
|
content: e.computedValue[0].name
|
|
6784
6786
|
}, null, 8, ["content"])
|
|
6785
6787
|
]),
|
|
6786
|
-
e.computedValue[0].size ? (y(), j("div",
|
|
6788
|
+
e.computedValue[0].size ? (y(), j("div", ps, "(" + V(e.getFileSizeDisplay(e.computedValue[0])) + ")", 1)) : E("", !0)
|
|
6787
6789
|
]),
|
|
6788
|
-
v("div",
|
|
6790
|
+
v("div", fs, [
|
|
6789
6791
|
oe(N(s, {
|
|
6790
6792
|
type: "secondary",
|
|
6791
6793
|
size: "small"
|
|
@@ -6813,17 +6815,17 @@ function Cs(e, t, n, l, o, r) {
|
|
|
6813
6815
|
_: 1
|
|
6814
6816
|
})
|
|
6815
6817
|
])
|
|
6816
|
-
])) : e.computedMaxlength > 1 ? (y(), j("ul",
|
|
6818
|
+
])) : e.computedMaxlength > 1 ? (y(), j("ul", gs, [
|
|
6817
6819
|
(y(!0), j(G, null, ee(e.computedValue, (d, p) => (y(), j("li", {
|
|
6818
6820
|
key: p,
|
|
6819
6821
|
class: "filer-item"
|
|
6820
6822
|
}, [
|
|
6821
|
-
v("div",
|
|
6823
|
+
v("div", ms, [
|
|
6822
6824
|
v("div", {
|
|
6823
6825
|
class: "filer-name text-black",
|
|
6824
6826
|
title: d.name
|
|
6825
|
-
}, V(d.name), 9,
|
|
6826
|
-
d.size ? (y(), j("div",
|
|
6827
|
+
}, V(d.name), 9, ys),
|
|
6828
|
+
d.size ? (y(), j("div", Ms, V(e.getFileSizeDisplay(d)), 1)) : E("", !0)
|
|
6827
6829
|
]),
|
|
6828
6830
|
N(c, {
|
|
6829
6831
|
class: "filer-remove",
|
|
@@ -6845,13 +6847,13 @@ function Cs(e, t, n, l, o, r) {
|
|
|
6845
6847
|
multiple: !e.computedMaxlength || 1 < e.computedMaxlength - e.computedValue.length,
|
|
6846
6848
|
type: "file",
|
|
6847
6849
|
onChange: t[6] || (t[6] = (...d) => e.inputFile && e.inputFile(...d))
|
|
6848
|
-
}, null, 40,
|
|
6850
|
+
}, null, 40, Is), [
|
|
6849
6851
|
[pe, !1]
|
|
6850
6852
|
])
|
|
6851
6853
|
]),
|
|
6852
6854
|
_: 1
|
|
6853
6855
|
}, 8, ["modelValue", "disable", "rules"]),
|
|
6854
|
-
e.templateFiles.length ? (y(), j("div",
|
|
6856
|
+
e.templateFiles.length ? (y(), j("div", hs, [
|
|
6855
6857
|
(y(!0), j(G, null, ee(e.templateFiles, (d, p) => (y(), j("span", {
|
|
6856
6858
|
key: p,
|
|
6857
6859
|
class: "download-template-item",
|
|
@@ -6862,17 +6864,17 @@ function Cs(e, t, n, l, o, r) {
|
|
|
6862
6864
|
size: "16px",
|
|
6863
6865
|
class: "download-template-icon"
|
|
6864
6866
|
}),
|
|
6865
|
-
v("span",
|
|
6866
|
-
p < e.templateFiles.length - 1 ? (y(), j("span",
|
|
6867
|
-
], 8,
|
|
6867
|
+
v("span", Ds, V(d.name), 1),
|
|
6868
|
+
p < e.templateFiles.length - 1 ? (y(), j("span", Cs, "|")) : E("", !0)
|
|
6869
|
+
], 8, As))), 128))
|
|
6868
6870
|
])) : E("", !0),
|
|
6869
|
-
e.hasSlotHint ? (y(), j("div",
|
|
6871
|
+
e.hasSlotHint ? (y(), j("div", vs, [
|
|
6870
6872
|
Q(e.$slots, "hint")
|
|
6871
6873
|
])) : E("", !0)
|
|
6872
6874
|
]);
|
|
6873
6875
|
}
|
|
6874
|
-
const
|
|
6875
|
-
function
|
|
6876
|
+
const Cf = /* @__PURE__ */ B(as, [["render", Ns]]);
|
|
6877
|
+
function bs(e, t) {
|
|
6876
6878
|
let n = null;
|
|
6877
6879
|
return ((...l) => {
|
|
6878
6880
|
n && clearTimeout(n), n = setTimeout(() => {
|
|
@@ -6880,7 +6882,7 @@ function vs(e, t) {
|
|
|
6880
6882
|
}, t);
|
|
6881
6883
|
});
|
|
6882
6884
|
}
|
|
6883
|
-
const
|
|
6885
|
+
const js = U({
|
|
6884
6886
|
name: "JQInputRecognize",
|
|
6885
6887
|
components: {
|
|
6886
6888
|
JQInput: pt
|
|
@@ -6997,7 +6999,7 @@ const Ns = U({
|
|
|
6997
6999
|
f !== r.value && (r.value = f);
|
|
6998
7000
|
}
|
|
6999
7001
|
);
|
|
7000
|
-
const p =
|
|
7002
|
+
const p = bs((f) => {
|
|
7001
7003
|
t("update:recognizedItems", f);
|
|
7002
7004
|
}, 300);
|
|
7003
7005
|
W(
|
|
@@ -7039,13 +7041,13 @@ const Ns = U({
|
|
|
7039
7041
|
handleChange: I
|
|
7040
7042
|
};
|
|
7041
7043
|
}
|
|
7042
|
-
}),
|
|
7044
|
+
}), ws = { class: "j-q-input-recognize" }, Ss = {
|
|
7043
7045
|
key: 0,
|
|
7044
7046
|
class: "recognized-section"
|
|
7045
|
-
},
|
|
7046
|
-
function
|
|
7047
|
+
}, Ts = { class: "recognized-label" }, zs = { class: "recognized-items" };
|
|
7048
|
+
function ks(e, t, n, l, o, r) {
|
|
7047
7049
|
const a = A("j-q-input");
|
|
7048
|
-
return y(), j("div",
|
|
7050
|
+
return y(), j("div", ws, [
|
|
7049
7051
|
N(a, {
|
|
7050
7052
|
ref: "inputRef",
|
|
7051
7053
|
modelValue: e.inputValue,
|
|
@@ -7059,9 +7061,9 @@ function Ts(e, t, n, l, o, r) {
|
|
|
7059
7061
|
maxlength: e.maxlength,
|
|
7060
7062
|
onChange: e.handleChange
|
|
7061
7063
|
}, null, 8, ["modelValue", "rules", "dense", "outlined", "disable", "readonly", "maxlength", "onChange"]),
|
|
7062
|
-
e.recognizedItems.length > 0 ? (y(), j("div",
|
|
7063
|
-
v("div",
|
|
7064
|
-
v("div",
|
|
7064
|
+
e.recognizedItems.length > 0 ? (y(), j("div", Ss, [
|
|
7065
|
+
v("div", Ts, V(e.t("messages.inputRecognize.recognized")), 1),
|
|
7066
|
+
v("div", zs, [
|
|
7065
7067
|
(y(!0), j(G, null, ee(e.recognizedItems, (i, s) => (y(), j("span", {
|
|
7066
7068
|
key: s,
|
|
7067
7069
|
class: "my-label black"
|
|
@@ -7070,7 +7072,7 @@ function Ts(e, t, n, l, o, r) {
|
|
|
7070
7072
|
])) : E("", !0)
|
|
7071
7073
|
]);
|
|
7072
7074
|
}
|
|
7073
|
-
const
|
|
7075
|
+
const vf = /* @__PURE__ */ B(js, [["render", ks], ["__scopeId", "data-v-16499563"]]), Ls = U({
|
|
7074
7076
|
name: "JQNewValue",
|
|
7075
7077
|
components: {
|
|
7076
7078
|
QSelect: Ke,
|
|
@@ -7156,8 +7158,8 @@ const Df = /* @__PURE__ */ B(Ns, [["render", Ts], ["__scopeId", "data-v-16499563
|
|
|
7156
7158
|
slotNames: s
|
|
7157
7159
|
};
|
|
7158
7160
|
}
|
|
7159
|
-
}),
|
|
7160
|
-
function
|
|
7161
|
+
}), $s = { class: "select-selected-item" };
|
|
7162
|
+
function Vs(e, t, n, l, o, r) {
|
|
7161
7163
|
const a = A("q-icon"), i = A("q-select");
|
|
7162
7164
|
return y(), O(i, {
|
|
7163
7165
|
class: "j-q-select-new-value",
|
|
@@ -7191,13 +7193,13 @@ function Ls(e, t, n, l, o, r) {
|
|
|
7191
7193
|
ee(e.slotNames, (s) => ({
|
|
7192
7194
|
name: s,
|
|
7193
7195
|
fn: D((c) => [
|
|
7194
|
-
Q(e.$slots, s,
|
|
7196
|
+
Q(e.$slots, s, Ce(we(c)))
|
|
7195
7197
|
])
|
|
7196
7198
|
})),
|
|
7197
7199
|
e.useChips ? {
|
|
7198
7200
|
name: "selected-item",
|
|
7199
7201
|
fn: D((s) => [
|
|
7200
|
-
v("span",
|
|
7202
|
+
v("span", $s, [
|
|
7201
7203
|
v("span", null, V(s.opt), 1),
|
|
7202
7204
|
N(a, {
|
|
7203
7205
|
name: "close",
|
|
@@ -7211,13 +7213,13 @@ function Ls(e, t, n, l, o, r) {
|
|
|
7211
7213
|
} : void 0
|
|
7212
7214
|
]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
|
|
7213
7215
|
}
|
|
7214
|
-
const
|
|
7216
|
+
const Nf = /* @__PURE__ */ B(Ls, [["render", Vs]]), Os = U({
|
|
7215
7217
|
name: "JQOptionGroup",
|
|
7216
7218
|
components: {
|
|
7217
|
-
QField:
|
|
7219
|
+
QField: ve,
|
|
7218
7220
|
QOptionGroup: dl,
|
|
7219
7221
|
QIcon: le,
|
|
7220
|
-
JCTooltip:
|
|
7222
|
+
JCTooltip: Ne
|
|
7221
7223
|
},
|
|
7222
7224
|
props: {
|
|
7223
7225
|
modelValue: {
|
|
@@ -7283,7 +7285,7 @@ const Cf = /* @__PURE__ */ B(zs, [["render", Ls]]), $s = U({
|
|
|
7283
7285
|
};
|
|
7284
7286
|
}
|
|
7285
7287
|
});
|
|
7286
|
-
function
|
|
7288
|
+
function Es(e, t, n, l, o, r) {
|
|
7287
7289
|
var u;
|
|
7288
7290
|
const a = A("q-icon"), i = A("j-c-tooltip"), s = A("q-option-group"), c = A("q-field");
|
|
7289
7291
|
return y(), O(c, {
|
|
@@ -7336,7 +7338,7 @@ function Vs(e, t, n, l, o, r) {
|
|
|
7336
7338
|
_: 1
|
|
7337
7339
|
}, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
|
|
7338
7340
|
}
|
|
7339
|
-
const
|
|
7341
|
+
const bf = /* @__PURE__ */ B(Os, [["render", Es], ["__scopeId", "data-v-f0ca5e31"]]), Ps = U({
|
|
7340
7342
|
name: "JQPopover",
|
|
7341
7343
|
components: {
|
|
7342
7344
|
QPopupProxy: Ie,
|
|
@@ -7386,10 +7388,10 @@ const vf = /* @__PURE__ */ B($s, [["render", Vs], ["__scopeId", "data-v-f0ca5e31
|
|
|
7386
7388
|
popoverStyle: l
|
|
7387
7389
|
};
|
|
7388
7390
|
}
|
|
7389
|
-
}),
|
|
7390
|
-
function
|
|
7391
|
+
}), Ys = { class: "inline-block" }, Qs = { class: "text-body2 text-grey" };
|
|
7392
|
+
function qs(e, t, n, l, o, r) {
|
|
7391
7393
|
const a = A("q-card-section"), i = A("q-card"), s = A("q-popup-proxy");
|
|
7392
|
-
return y(), j("div",
|
|
7394
|
+
return y(), j("div", Ys, [
|
|
7393
7395
|
Q(e.$slots, "default", {}, void 0, !0),
|
|
7394
7396
|
N(s, {
|
|
7395
7397
|
ref: "popupRef",
|
|
@@ -7405,7 +7407,7 @@ function Ys(e, t, n, l, o, r) {
|
|
|
7405
7407
|
N(a, { class: "q-pa-sm" }, {
|
|
7406
7408
|
default: D(() => [
|
|
7407
7409
|
Q(e.$slots, "content", {}, () => [
|
|
7408
|
-
v("span",
|
|
7410
|
+
v("span", Qs, V(e.title), 1)
|
|
7409
7411
|
], !0)
|
|
7410
7412
|
]),
|
|
7411
7413
|
_: 3
|
|
@@ -7418,7 +7420,7 @@ function Ys(e, t, n, l, o, r) {
|
|
|
7418
7420
|
}, 512)
|
|
7419
7421
|
]);
|
|
7420
7422
|
}
|
|
7421
|
-
const
|
|
7423
|
+
const jf = /* @__PURE__ */ B(Ps, [["render", qs], ["__scopeId", "data-v-8de7d551"]]), Rs = U({
|
|
7422
7424
|
name: "jQSearchForm",
|
|
7423
7425
|
components: {
|
|
7424
7426
|
JQButton: Ye
|
|
@@ -7458,22 +7460,22 @@ const Nf = /* @__PURE__ */ B(Os, [["render", Ys], ["__scopeId", "data-v-8de7d551
|
|
|
7458
7460
|
handleClickReset: i
|
|
7459
7461
|
};
|
|
7460
7462
|
}
|
|
7461
|
-
}),
|
|
7463
|
+
}), Us = {
|
|
7462
7464
|
ref: "searchFormRef",
|
|
7463
7465
|
class: "j-q-search-bar"
|
|
7464
|
-
},
|
|
7466
|
+
}, Bs = { class: "search-bar-container" }, Zs = { class: "search--bar-items-wrapper" }, Ws = { class: "search--bar-items" }, Fs = {
|
|
7465
7467
|
key: 0,
|
|
7466
7468
|
class: "default-operation-buttons"
|
|
7467
|
-
},
|
|
7468
|
-
function
|
|
7469
|
+
}, Hs = { class: "search-bar-extra-operation" };
|
|
7470
|
+
function Js(e, t, n, l, o, r) {
|
|
7469
7471
|
const a = A("j-q-button");
|
|
7470
7472
|
return y(), j("div", null, [
|
|
7471
|
-
v("div",
|
|
7472
|
-
v("div",
|
|
7473
|
-
v("div",
|
|
7474
|
-
v("div",
|
|
7473
|
+
v("div", Us, [
|
|
7474
|
+
v("div", Bs, [
|
|
7475
|
+
v("div", Zs, [
|
|
7476
|
+
v("div", Ws, [
|
|
7475
7477
|
Q(e.$slots, "default"),
|
|
7476
|
-
e.operationVisible ? (y(), j("div",
|
|
7478
|
+
e.operationVisible ? (y(), j("div", Fs, [
|
|
7477
7479
|
N(a, {
|
|
7478
7480
|
loading: e.queryLoading,
|
|
7479
7481
|
onClick: e.handleClickQuery
|
|
@@ -7496,7 +7498,7 @@ function Fs(e, t, n, l, o, r) {
|
|
|
7496
7498
|
_: 1
|
|
7497
7499
|
}, 8, ["loading", "onClick"])) : E("", !0)
|
|
7498
7500
|
])) : E("", !0),
|
|
7499
|
-
v("div",
|
|
7501
|
+
v("div", Hs, [
|
|
7500
7502
|
Q(e.$slots, "extra-operation")
|
|
7501
7503
|
])
|
|
7502
7504
|
])
|
|
@@ -7505,8 +7507,8 @@ function Fs(e, t, n, l, o, r) {
|
|
|
7505
7507
|
], 512)
|
|
7506
7508
|
]);
|
|
7507
7509
|
}
|
|
7508
|
-
const
|
|
7509
|
-
function
|
|
7510
|
+
const wf = /* @__PURE__ */ B(Rs, [["render", Js]]), Ht = 15, $n = [10, 15, 20, 30, 50];
|
|
7511
|
+
function Gs(e) {
|
|
7510
7512
|
const t = Ht, n = Se({
|
|
7511
7513
|
page: 1,
|
|
7512
7514
|
rowsPerPage: t,
|
|
@@ -7520,7 +7522,7 @@ function Hs(e) {
|
|
|
7520
7522
|
n.rowsNumber = s ?? 0;
|
|
7521
7523
|
} };
|
|
7522
7524
|
}
|
|
7523
|
-
const
|
|
7525
|
+
const _s = U({
|
|
7524
7526
|
name: "MyPaginationComponent",
|
|
7525
7527
|
components: {
|
|
7526
7528
|
QSelect: Ke,
|
|
@@ -7595,12 +7597,12 @@ const Js = U({
|
|
|
7595
7597
|
selectChange: c
|
|
7596
7598
|
};
|
|
7597
7599
|
}
|
|
7598
|
-
}),
|
|
7599
|
-
function
|
|
7600
|
+
}), Ks = { class: "row items-center justify-end" }, xs = { style: { "margin-top": "4px" } }, Xs = { style: { "margin-top": "4px", "margin-right": "24px" } }, eu = { style: { "margin-left": "24px" } };
|
|
7601
|
+
function tu(e, t, n, l, o, r) {
|
|
7600
7602
|
const a = A("q-select"), i = A("q-pagination"), s = A("q-input");
|
|
7601
7603
|
return y(), j("div", null, [
|
|
7602
|
-
v("div",
|
|
7603
|
-
v("div",
|
|
7604
|
+
v("div", Ks, [
|
|
7605
|
+
v("div", xs, [
|
|
7604
7606
|
v("span", null, V(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
|
|
7605
7607
|
]),
|
|
7606
7608
|
N(a, {
|
|
@@ -7619,7 +7621,7 @@ function Xs(e, t, n, l, o, r) {
|
|
|
7619
7621
|
autocomplete: "false",
|
|
7620
7622
|
"popup-content-class": "j-q-select-popup select-popup-content height1"
|
|
7621
7623
|
}, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
|
|
7622
|
-
v("div",
|
|
7624
|
+
v("div", Xs, [
|
|
7623
7625
|
v("span", null, V(e.t("messages.pagination.pieces_page")), 1)
|
|
7624
7626
|
]),
|
|
7625
7627
|
N(i, {
|
|
@@ -7639,7 +7641,7 @@ function Xs(e, t, n, l, o, r) {
|
|
|
7639
7641
|
"active-text-color": "white",
|
|
7640
7642
|
ripple: !1
|
|
7641
7643
|
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
|
|
7642
|
-
v("p",
|
|
7644
|
+
v("p", eu, V(e.t("messages.pagination.goto")), 1),
|
|
7643
7645
|
N(s, {
|
|
7644
7646
|
autofocus: !1,
|
|
7645
7647
|
modelValue: e.internalInfo.currentPage,
|
|
@@ -7658,15 +7660,15 @@ function Xs(e, t, n, l, o, r) {
|
|
|
7658
7660
|
])
|
|
7659
7661
|
]);
|
|
7660
7662
|
}
|
|
7661
|
-
const
|
|
7663
|
+
const nu = /* @__PURE__ */ B(_s, [["render", tu]]), lu = U({
|
|
7662
7664
|
name: "JQTableComponent",
|
|
7663
7665
|
components: {
|
|
7664
|
-
Pagination:
|
|
7666
|
+
Pagination: nu,
|
|
7665
7667
|
QTable: gl,
|
|
7666
7668
|
QTh: fl,
|
|
7667
7669
|
QTd: pl,
|
|
7668
7670
|
QInnerLoading: un,
|
|
7669
|
-
JCTooltip:
|
|
7671
|
+
JCTooltip: Ne
|
|
7670
7672
|
},
|
|
7671
7673
|
props: {
|
|
7672
7674
|
autoHeight: { type: Boolean, default: !1 },
|
|
@@ -7712,7 +7714,7 @@ const eu = /* @__PURE__ */ B(Js, [["render", Xs]]), tu = U({
|
|
|
7712
7714
|
}), f = C(() => {
|
|
7713
7715
|
var Y;
|
|
7714
7716
|
return ((Y = e.columns) == null ? void 0 : Y.filter(({ limitWidth: Z, whiteSpace: P, onClick: F, name: K }) => Z && !P && !F && !Reflect.has(l, `body-cell-${K}`))) || [];
|
|
7715
|
-
}), { paginationInfo: z, getPaginationParam: $, getNum: L, setNum: S, setTotal: M, setSize: m } =
|
|
7717
|
+
}), { paginationInfo: z, getPaginationParam: $, getNum: L, setNum: S, setTotal: M, setSize: m } = Gs(), g = C(() => ({
|
|
7716
7718
|
rowsPerPage: 0
|
|
7717
7719
|
})), w = () => {
|
|
7718
7720
|
t("changeNum", z), e.autoScrollOnChangePage && _();
|
|
@@ -7829,8 +7831,8 @@ const eu = /* @__PURE__ */ B(Js, [["render", Xs]]), tu = U({
|
|
|
7829
7831
|
shouldShowTooltip: yt
|
|
7830
7832
|
};
|
|
7831
7833
|
}
|
|
7832
|
-
}),
|
|
7833
|
-
function
|
|
7834
|
+
}), ou = ["onClick"];
|
|
7835
|
+
function au(e, t, n, l, o, r) {
|
|
7834
7836
|
const a = A("q-th"), i = A("q-td"), s = A("j-c-tooltip"), c = A("q-inner-loading"), u = A("q-table"), d = A("Pagination");
|
|
7835
7837
|
return y(), j("div", {
|
|
7836
7838
|
class: "j-q-table-container",
|
|
@@ -7879,14 +7881,14 @@ function lu(e, t, n, l, o, r) {
|
|
|
7879
7881
|
e.hasSlot("header") ? {
|
|
7880
7882
|
name: "header",
|
|
7881
7883
|
fn: D((p) => [
|
|
7882
|
-
Q(e.$slots, "header",
|
|
7884
|
+
Q(e.$slots, "header", Ce(we(p)))
|
|
7883
7885
|
]),
|
|
7884
7886
|
key: "1"
|
|
7885
7887
|
} : void 0,
|
|
7886
7888
|
e.hasSlot("body") ? {
|
|
7887
7889
|
name: "body",
|
|
7888
7890
|
fn: D((p) => [
|
|
7889
|
-
Q(e.$slots, "body",
|
|
7891
|
+
Q(e.$slots, "body", Ce(we(p)))
|
|
7890
7892
|
]),
|
|
7891
7893
|
key: "2"
|
|
7892
7894
|
} : void 0,
|
|
@@ -7895,7 +7897,7 @@ function lu(e, t, n, l, o, r) {
|
|
|
7895
7897
|
fn: D((I) => [
|
|
7896
7898
|
N(a, { props: I }, {
|
|
7897
7899
|
default: D(() => [
|
|
7898
|
-
Q(e.$slots, `header-cell-${p.name}`,
|
|
7900
|
+
Q(e.$slots, `header-cell-${p.name}`, Ce(we(I)))
|
|
7899
7901
|
]),
|
|
7900
7902
|
_: 2
|
|
7901
7903
|
}, 1032, ["props"])
|
|
@@ -7915,8 +7917,8 @@ function lu(e, t, n, l, o, r) {
|
|
|
7915
7917
|
class: "cell-limit-width q-mr-lg",
|
|
7916
7918
|
style: J(e.getCellLimitWidthStyle(p))
|
|
7917
7919
|
}, [
|
|
7918
|
-
Q(e.$slots, `body-cell-${p.name}`,
|
|
7919
|
-
], 4)) : Q(e.$slots, `body-cell-${p.name}`,
|
|
7920
|
+
Q(e.$slots, `body-cell-${p.name}`, Ce(we(I)))
|
|
7921
|
+
], 4)) : Q(e.$slots, `body-cell-${p.name}`, Ce(ge({ key: 1 }, I)))
|
|
7920
7922
|
]),
|
|
7921
7923
|
_: 2
|
|
7922
7924
|
}, 1032, ["props", "style", "class"])
|
|
@@ -7987,7 +7989,7 @@ function lu(e, t, n, l, o, r) {
|
|
|
7987
7989
|
class: q(["link-type", e.getCellClass(p)]),
|
|
7988
7990
|
ref: p.whiteSpace ? (b) => e.setEllipsisRef(b, `${p.name}-${I.row[e.rowKey]}`) : void 0,
|
|
7989
7991
|
onClick: (b) => e.handleColumnClick(p, I.row)
|
|
7990
|
-
}, V(e.formatColumnValue(p, I.value)), 11,
|
|
7992
|
+
}, V(e.formatColumnValue(p, I.value)), 11, ou)
|
|
7991
7993
|
]),
|
|
7992
7994
|
_: 2
|
|
7993
7995
|
}, 1032, ["content", "style", "disabled"])) : (y(), O(s, {
|
|
@@ -8020,7 +8022,7 @@ function lu(e, t, n, l, o, r) {
|
|
|
8020
8022
|
Q(e.$slots, "append")
|
|
8021
8023
|
], 4);
|
|
8022
8024
|
}
|
|
8023
|
-
const
|
|
8025
|
+
const Sf = /* @__PURE__ */ B(lu, [["render", au]]), iu = U({
|
|
8024
8026
|
name: "dialogConfirmComponent",
|
|
8025
8027
|
components: {
|
|
8026
8028
|
QDialog: cn,
|
|
@@ -8059,11 +8061,11 @@ const jf = /* @__PURE__ */ B(tu, [["render", lu]]), ou = U({
|
|
|
8059
8061
|
}
|
|
8060
8062
|
};
|
|
8061
8063
|
}
|
|
8062
|
-
}),
|
|
8064
|
+
}), ru = { class: "title" }, su = {
|
|
8063
8065
|
key: 2,
|
|
8064
8066
|
class: "close"
|
|
8065
8067
|
};
|
|
8066
|
-
function
|
|
8068
|
+
function uu(e, t, n, l, o, r) {
|
|
8067
8069
|
const a = A("q-icon"), i = A("q-card-section"), s = A("j-q-button"), c = A("q-card"), u = A("q-dialog");
|
|
8068
8070
|
return y(), O(u, {
|
|
8069
8071
|
ref: "dialogRef",
|
|
@@ -8093,8 +8095,8 @@ function ru(e, t, n, l, o, r) {
|
|
|
8093
8095
|
class: "q-mr-sm",
|
|
8094
8096
|
size: "24px"
|
|
8095
8097
|
})) : E("", !0),
|
|
8096
|
-
v("div",
|
|
8097
|
-
e.showClose ? (y(), j("div",
|
|
8098
|
+
v("div", ru, V(e.title), 1),
|
|
8099
|
+
e.showClose ? (y(), j("div", su, [
|
|
8098
8100
|
N(a, {
|
|
8099
8101
|
name: "app:dialog-close",
|
|
8100
8102
|
size: "16px",
|
|
@@ -8135,9 +8137,9 @@ function ru(e, t, n, l, o, r) {
|
|
|
8135
8137
|
_: 1
|
|
8136
8138
|
}, 8, ["onHide"]);
|
|
8137
8139
|
}
|
|
8138
|
-
const
|
|
8140
|
+
const cu = /* @__PURE__ */ B(iu, [["render", uu]]);
|
|
8139
8141
|
let We = null;
|
|
8140
|
-
class
|
|
8142
|
+
class du {
|
|
8141
8143
|
/**
|
|
8142
8144
|
* 设置 Quasar 实例(在 rtcptInit 中调用)
|
|
8143
8145
|
*/
|
|
@@ -8150,7 +8152,7 @@ class uu {
|
|
|
8150
8152
|
async show({ title: t, color: n, content: l, confirmButtonText: o, cancelButtonText: r, showCancelButton: a, isDelete: i, icon: s, showClose: c }) {
|
|
8151
8153
|
return We != null && We.dialog ? new Promise((u) => {
|
|
8152
8154
|
We.dialog({
|
|
8153
|
-
component:
|
|
8155
|
+
component: cu,
|
|
8154
8156
|
cancel: a === void 0 ? !0 : a,
|
|
8155
8157
|
componentProps: {
|
|
8156
8158
|
title: t,
|
|
@@ -8172,7 +8174,7 @@ class uu {
|
|
|
8172
8174
|
}) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
|
|
8173
8175
|
}
|
|
8174
8176
|
}
|
|
8175
|
-
const
|
|
8177
|
+
const pu = new du(), fu = 15, gu = [10, 15, 20, 30, 50], mu = U({
|
|
8176
8178
|
name: "JQPagination",
|
|
8177
8179
|
components: {
|
|
8178
8180
|
QSelect: Ke,
|
|
@@ -8188,7 +8190,7 @@ const cu = new uu(), du = 15, pu = [10, 15, 20, 30, 50], fu = U({
|
|
|
8188
8190
|
// 每页显示数量
|
|
8189
8191
|
pageSize: {
|
|
8190
8192
|
type: Number,
|
|
8191
|
-
default:
|
|
8193
|
+
default: fu
|
|
8192
8194
|
},
|
|
8193
8195
|
// 总条数
|
|
8194
8196
|
total: {
|
|
@@ -8198,7 +8200,7 @@ const cu = new uu(), du = 15, pu = [10, 15, 20, 30, 50], fu = U({
|
|
|
8198
8200
|
// 每页显示数量选项
|
|
8199
8201
|
pageSizeOptions: {
|
|
8200
8202
|
type: Array,
|
|
8201
|
-
default: () =>
|
|
8203
|
+
default: () => gu
|
|
8202
8204
|
}
|
|
8203
8205
|
},
|
|
8204
8206
|
emits: ["update:currentPage", "update:pageSize", "change"],
|
|
@@ -8259,12 +8261,12 @@ const cu = new uu(), du = 15, pu = [10, 15, 20, 30, 50], fu = U({
|
|
|
8259
8261
|
}
|
|
8260
8262
|
};
|
|
8261
8263
|
}
|
|
8262
|
-
}),
|
|
8263
|
-
function
|
|
8264
|
+
}), yu = { class: "j-q-pagination" }, Mu = { class: "row items-center justify-end" }, Iu = { class: "pagination-total" }, hu = { class: "pagination-suffix" }, Au = { class: "pagination-goto-text" };
|
|
8265
|
+
function Du(e, t, n, l, o, r) {
|
|
8264
8266
|
const a = A("q-select"), i = A("q-pagination"), s = A("q-input");
|
|
8265
|
-
return y(), j("div",
|
|
8266
|
-
v("div",
|
|
8267
|
-
v("div",
|
|
8267
|
+
return y(), j("div", yu, [
|
|
8268
|
+
v("div", Mu, [
|
|
8269
|
+
v("div", Iu, [
|
|
8268
8270
|
v("span", null, V(e.t("messages.pagination.total", { total: e.internalInfo.total })), 1)
|
|
8269
8271
|
]),
|
|
8270
8272
|
N(a, {
|
|
@@ -8282,7 +8284,7 @@ function hu(e, t, n, l, o, r) {
|
|
|
8282
8284
|
autocomplete: "false",
|
|
8283
8285
|
"popup-content-class": "j-q-select-popup select-popup-content height1"
|
|
8284
8286
|
}, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
|
|
8285
|
-
v("div",
|
|
8287
|
+
v("div", hu, [
|
|
8286
8288
|
v("span", null, V(e.t("messages.pagination.pieces_page")), 1)
|
|
8287
8289
|
]),
|
|
8288
8290
|
N(i, {
|
|
@@ -8302,7 +8304,7 @@ function hu(e, t, n, l, o, r) {
|
|
|
8302
8304
|
"active-text-color": "white",
|
|
8303
8305
|
ripple: !1
|
|
8304
8306
|
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
|
|
8305
|
-
v("p",
|
|
8307
|
+
v("p", Au, V(e.t("messages.pagination.goto")), 1),
|
|
8306
8308
|
N(s, {
|
|
8307
8309
|
autofocus: !1,
|
|
8308
8310
|
modelValue: e.internalInfo.inputPage,
|
|
@@ -8321,7 +8323,7 @@ function hu(e, t, n, l, o, r) {
|
|
|
8321
8323
|
])
|
|
8322
8324
|
]);
|
|
8323
8325
|
}
|
|
8324
|
-
const
|
|
8326
|
+
const Tf = /* @__PURE__ */ B(mu, [["render", Du]]);
|
|
8325
8327
|
function Jt(e, t = {}) {
|
|
8326
8328
|
if (!Array.isArray(e))
|
|
8327
8329
|
return [];
|
|
@@ -8335,7 +8337,7 @@ function Jt(e, t = {}) {
|
|
|
8335
8337
|
return Array.isArray(c) && c.length > 0 && (s.children = Jt(c, t)), s;
|
|
8336
8338
|
});
|
|
8337
8339
|
}
|
|
8338
|
-
function
|
|
8340
|
+
function Cu(e) {
|
|
8339
8341
|
let { data: t, key: n, idKey: l, rootId: o, isMapOption: r, labelValue: a } = e;
|
|
8340
8342
|
t = t || [], n = n || "parentId", l = l || "id", r = r !== !1, a = a || { label: "name", value: "id" }, o = o || "1";
|
|
8341
8343
|
const i = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set();
|
|
@@ -8371,11 +8373,11 @@ function Au(e) {
|
|
|
8371
8373
|
flatData: JSON.parse(JSON.stringify(d))
|
|
8372
8374
|
};
|
|
8373
8375
|
}
|
|
8374
|
-
function
|
|
8376
|
+
function vu(e) {
|
|
8375
8377
|
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, []);
|
|
8376
8378
|
return a(t, o);
|
|
8377
8379
|
}
|
|
8378
|
-
function
|
|
8380
|
+
function Nu(e) {
|
|
8379
8381
|
const {
|
|
8380
8382
|
targetIds: t,
|
|
8381
8383
|
allData: n,
|
|
@@ -8395,7 +8397,7 @@ function Cu(e) {
|
|
|
8395
8397
|
s(c);
|
|
8396
8398
|
}), Array.from(i);
|
|
8397
8399
|
}
|
|
8398
|
-
function
|
|
8400
|
+
function bu(e) {
|
|
8399
8401
|
const { treeData: t, idList: n, idKey: l = "id", childrenKey: o = "children" } = e, r = /* @__PURE__ */ new Set(), a = (i) => {
|
|
8400
8402
|
i.forEach((s) => {
|
|
8401
8403
|
const c = s[o];
|
|
@@ -8404,20 +8406,20 @@ function vu(e) {
|
|
|
8404
8406
|
};
|
|
8405
8407
|
return a(t), n.filter((i) => !r.has(i));
|
|
8406
8408
|
}
|
|
8407
|
-
const
|
|
8409
|
+
const ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8408
8410
|
__proto__: null,
|
|
8409
|
-
arrayToTree:
|
|
8410
|
-
buildTree:
|
|
8411
|
-
filterLeafIds:
|
|
8412
|
-
findParentIds:
|
|
8411
|
+
arrayToTree: vu,
|
|
8412
|
+
buildTree: Cu,
|
|
8413
|
+
filterLeafIds: bu,
|
|
8414
|
+
findParentIds: Nu,
|
|
8413
8415
|
transformTreeUseLabelAndValue: Jt
|
|
8414
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8416
|
+
}, Symbol.toStringTag, { value: "Module" })), wu = (e, t) => {
|
|
8415
8417
|
const n = window.decodeURI(t), l = new Blob([e]);
|
|
8416
8418
|
if ("download" in document.createElement("a")) {
|
|
8417
8419
|
const o = document.createElement("a");
|
|
8418
8420
|
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);
|
|
8419
8421
|
}
|
|
8420
|
-
},
|
|
8422
|
+
}, Su = (e, t) => {
|
|
8421
8423
|
const n = /* @__PURE__ */ new Date(), l = [
|
|
8422
8424
|
n.getFullYear(),
|
|
8423
8425
|
String(n.getMonth() + 1).padStart(2, "0"),
|
|
@@ -8428,7 +8430,7 @@ const Nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8428
8430
|
].join("");
|
|
8429
8431
|
return `${e}_${l}.${t.toLowerCase()}`;
|
|
8430
8432
|
};
|
|
8431
|
-
function
|
|
8433
|
+
function Tu(e) {
|
|
8432
8434
|
var t;
|
|
8433
8435
|
if (e === null || typeof e > "u")
|
|
8434
8436
|
return "";
|
|
@@ -8443,13 +8445,13 @@ function wu(e) {
|
|
|
8443
8445
|
}
|
|
8444
8446
|
return e;
|
|
8445
8447
|
}
|
|
8446
|
-
function
|
|
8448
|
+
function zu(e) {
|
|
8447
8449
|
return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
|
|
8448
8450
|
}
|
|
8449
|
-
function
|
|
8451
|
+
function ku(e, t, n = "TB") {
|
|
8450
8452
|
return e = Number(e) || 0, tt({ size: e, unit: t }, { maxUnit: n });
|
|
8451
8453
|
}
|
|
8452
|
-
function
|
|
8454
|
+
function Lu(e, t) {
|
|
8453
8455
|
if (e === null || typeof e > "u")
|
|
8454
8456
|
return [];
|
|
8455
8457
|
let n;
|
|
@@ -8465,17 +8467,17 @@ function zu(e, t) {
|
|
|
8465
8467
|
return [];
|
|
8466
8468
|
return Array.isArray(n) ? n.map((l) => l && typeof l == "object" && l[t] && typeof l[t] == "string" ? l[t] : null).filter((l) => l !== null) : [];
|
|
8467
8469
|
}
|
|
8468
|
-
const
|
|
8470
|
+
const $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8469
8471
|
__proto__: null,
|
|
8470
|
-
dataCvSize:
|
|
8471
|
-
obj2Arr:
|
|
8472
|
-
val2Str:
|
|
8473
|
-
valSplit:
|
|
8472
|
+
dataCvSize: ku,
|
|
8473
|
+
obj2Arr: Lu,
|
|
8474
|
+
val2Str: Tu,
|
|
8475
|
+
valSplit: zu
|
|
8474
8476
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8475
|
-
function
|
|
8477
|
+
function Vu(e) {
|
|
8476
8478
|
return Array.isArray(e) ? [...new Set(e)] : e;
|
|
8477
8479
|
}
|
|
8478
|
-
function
|
|
8480
|
+
function Ou(e, t) {
|
|
8479
8481
|
if (!Array.isArray(e)) return e;
|
|
8480
8482
|
const n = /* @__PURE__ */ new Map();
|
|
8481
8483
|
return e.filter((l) => {
|
|
@@ -8483,7 +8485,7 @@ function $u(e, t) {
|
|
|
8483
8485
|
return n.has(o) ? !1 : (n.set(o, !0), !0);
|
|
8484
8486
|
});
|
|
8485
8487
|
}
|
|
8486
|
-
function
|
|
8488
|
+
function Eu(e, t) {
|
|
8487
8489
|
if (!Array.isArray(e)) return e;
|
|
8488
8490
|
const n = /* @__PURE__ */ new Set();
|
|
8489
8491
|
return e.filter((l) => {
|
|
@@ -8491,7 +8493,7 @@ function Vu(e, t) {
|
|
|
8491
8493
|
return n.has(o) ? !1 : (n.add(o), !0);
|
|
8492
8494
|
});
|
|
8493
8495
|
}
|
|
8494
|
-
function
|
|
8496
|
+
function Pu(e, t) {
|
|
8495
8497
|
if (!Array.isArray(e)) return e;
|
|
8496
8498
|
const {
|
|
8497
8499
|
idKey: n = "id",
|
|
@@ -8513,7 +8515,7 @@ function Ou(e, t) {
|
|
|
8513
8515
|
}
|
|
8514
8516
|
}), i;
|
|
8515
8517
|
}
|
|
8516
|
-
function
|
|
8518
|
+
function Yu(e, t = "children") {
|
|
8517
8519
|
if (!Array.isArray(e)) return e;
|
|
8518
8520
|
const n = [], l = (o) => {
|
|
8519
8521
|
o.forEach((r) => {
|
|
@@ -8534,7 +8536,7 @@ function Vn(e, t, n = "children") {
|
|
|
8534
8536
|
}
|
|
8535
8537
|
return null;
|
|
8536
8538
|
}
|
|
8537
|
-
function
|
|
8539
|
+
function Qu(e, t, n = "children") {
|
|
8538
8540
|
if (!Array.isArray(e)) return;
|
|
8539
8541
|
const l = (o, r, a) => {
|
|
8540
8542
|
o.forEach((i) => {
|
|
@@ -8543,25 +8545,25 @@ function Pu(e, t, n = "children") {
|
|
|
8543
8545
|
};
|
|
8544
8546
|
l(e, null, 0);
|
|
8545
8547
|
}
|
|
8546
|
-
function
|
|
8548
|
+
function qu(e, t) {
|
|
8547
8549
|
return Array.isArray(e) ? e.reduce((n, l) => {
|
|
8548
8550
|
const o = String(l[t]);
|
|
8549
8551
|
return n[o] || (n[o] = []), n[o].push(l), n;
|
|
8550
8552
|
}, {}) : {};
|
|
8551
8553
|
}
|
|
8552
|
-
function
|
|
8554
|
+
function Ru(e, t) {
|
|
8553
8555
|
return Array.isArray(e) ? e.reduce((n, l) => {
|
|
8554
8556
|
const o = t(l);
|
|
8555
8557
|
return n[o] || (n[o] = []), n[o].push(l), n;
|
|
8556
8558
|
}, {}) : {};
|
|
8557
8559
|
}
|
|
8558
|
-
function
|
|
8560
|
+
function Uu(e, t, n = "asc") {
|
|
8559
8561
|
return Array.isArray(e) ? [...e].sort((l, o) => {
|
|
8560
8562
|
const r = l[t], a = o[t];
|
|
8561
8563
|
return r < a ? n === "asc" ? -1 : 1 : r > a ? n === "asc" ? 1 : -1 : 0;
|
|
8562
8564
|
}) : e;
|
|
8563
8565
|
}
|
|
8564
|
-
function
|
|
8566
|
+
function Bu(e, t) {
|
|
8565
8567
|
return Array.isArray(e) ? [...e].sort((n, l) => {
|
|
8566
8568
|
for (const { key: o, order: r = "asc" } of t) {
|
|
8567
8569
|
const a = n[o], i = l[o];
|
|
@@ -8577,10 +8579,10 @@ function On(e, t) {
|
|
|
8577
8579
|
return n + (Number(o) || 0);
|
|
8578
8580
|
}, 0) : 0;
|
|
8579
8581
|
}
|
|
8580
|
-
function
|
|
8582
|
+
function Zu(e, t) {
|
|
8581
8583
|
return !Array.isArray(e) || e.length === 0 ? 0 : On(e, t) / e.length;
|
|
8582
8584
|
}
|
|
8583
|
-
function
|
|
8585
|
+
function Wu(e, t) {
|
|
8584
8586
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
8585
8587
|
const n = e.map((l) => {
|
|
8586
8588
|
const o = t ? l[t] : l;
|
|
@@ -8588,7 +8590,7 @@ function Bu(e, t) {
|
|
|
8588
8590
|
});
|
|
8589
8591
|
return Math.max(...n);
|
|
8590
8592
|
}
|
|
8591
|
-
function
|
|
8593
|
+
function Fu(e, t) {
|
|
8592
8594
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
8593
8595
|
const n = e.map((l) => {
|
|
8594
8596
|
const o = t ? l[t] : l;
|
|
@@ -8596,22 +8598,22 @@ function Zu(e, t) {
|
|
|
8596
8598
|
});
|
|
8597
8599
|
return Math.min(...n);
|
|
8598
8600
|
}
|
|
8599
|
-
function
|
|
8601
|
+
function Hu(e, t) {
|
|
8600
8602
|
if (!Array.isArray(e) || t <= 0) return [e];
|
|
8601
8603
|
const n = [];
|
|
8602
8604
|
for (let l = 0; l < e.length; l += t)
|
|
8603
8605
|
n.push(e.slice(l, l + t));
|
|
8604
8606
|
return n;
|
|
8605
8607
|
}
|
|
8606
|
-
function
|
|
8608
|
+
function Ju(e, t) {
|
|
8607
8609
|
if (!Array.isArray(e) || !Array.isArray(t)) return [];
|
|
8608
8610
|
const n = new Set(t);
|
|
8609
8611
|
return e.filter((l) => n.has(l));
|
|
8610
8612
|
}
|
|
8611
|
-
function
|
|
8613
|
+
function Gu(e, t) {
|
|
8612
8614
|
return Array.isArray(e) ? Array.isArray(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : e || [] : t || [];
|
|
8613
8615
|
}
|
|
8614
|
-
function
|
|
8616
|
+
function _u(e, t) {
|
|
8615
8617
|
if (!Array.isArray(e)) return [];
|
|
8616
8618
|
if (!Array.isArray(t)) return e;
|
|
8617
8619
|
const n = new Set(t);
|
|
@@ -8626,13 +8628,13 @@ function En(e) {
|
|
|
8626
8628
|
}
|
|
8627
8629
|
return t;
|
|
8628
8630
|
}
|
|
8629
|
-
function
|
|
8631
|
+
function Ku(e, t = 1) {
|
|
8630
8632
|
return !Array.isArray(e) || t <= 0 ? [] : En(e).slice(0, Math.min(t, e.length));
|
|
8631
8633
|
}
|
|
8632
8634
|
function Pn(e, t = 1 / 0) {
|
|
8633
8635
|
return !Array.isArray(e) || t <= 0 ? e : e.reduce((n, l) => (Array.isArray(l) ? n.push(...Pn(l, t - 1)) : n.push(l), n), []);
|
|
8634
8636
|
}
|
|
8635
|
-
function
|
|
8637
|
+
function xu(e, t, n) {
|
|
8636
8638
|
if (!Array.isArray(e))
|
|
8637
8639
|
return { data: [], page: t, pageSize: n, total: 0, totalPages: 0 };
|
|
8638
8640
|
const l = e.length, o = Math.ceil(l / n), r = (t - 1) * n, a = r + n;
|
|
@@ -8644,43 +8646,43 @@ function _u(e, t, n) {
|
|
|
8644
8646
|
totalPages: o
|
|
8645
8647
|
};
|
|
8646
8648
|
}
|
|
8647
|
-
function
|
|
8649
|
+
function Xu(e, t, n) {
|
|
8648
8650
|
if (!Array.isArray(e) || t < 0 || t >= e.length || n < 0 || n >= e.length) return e;
|
|
8649
8651
|
const l = [...e], [o] = l.splice(t, 1);
|
|
8650
8652
|
return l.splice(n, 0, o), l;
|
|
8651
8653
|
}
|
|
8652
|
-
function
|
|
8654
|
+
function ec(e) {
|
|
8653
8655
|
return Array.isArray(e) ? e.reduce((t, n) => (t[n] = (t[n] || 0) + 1, t), {}) : {};
|
|
8654
8656
|
}
|
|
8655
|
-
const
|
|
8657
|
+
const tc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8656
8658
|
__proto__: null,
|
|
8657
|
-
arrayToTree:
|
|
8658
|
-
average:
|
|
8659
|
-
chunkArray:
|
|
8660
|
-
countBy:
|
|
8661
|
-
difference:
|
|
8659
|
+
arrayToTree: Pu,
|
|
8660
|
+
average: Zu,
|
|
8661
|
+
chunkArray: Hu,
|
|
8662
|
+
countBy: ec,
|
|
8663
|
+
difference: _u,
|
|
8662
8664
|
findNodeInTree: Vn,
|
|
8663
8665
|
flatten: Pn,
|
|
8664
|
-
forEachTree:
|
|
8665
|
-
groupBy:
|
|
8666
|
-
groupByFn:
|
|
8667
|
-
intersection:
|
|
8668
|
-
max:
|
|
8669
|
-
min:
|
|
8670
|
-
move:
|
|
8671
|
-
paginate:
|
|
8672
|
-
sample:
|
|
8666
|
+
forEachTree: Qu,
|
|
8667
|
+
groupBy: qu,
|
|
8668
|
+
groupByFn: Ru,
|
|
8669
|
+
intersection: Ju,
|
|
8670
|
+
max: Wu,
|
|
8671
|
+
min: Fu,
|
|
8672
|
+
move: Xu,
|
|
8673
|
+
paginate: xu,
|
|
8674
|
+
sample: Ku,
|
|
8673
8675
|
shuffle: En,
|
|
8674
|
-
sortBy:
|
|
8675
|
-
sortByMultiple:
|
|
8676
|
+
sortBy: Uu,
|
|
8677
|
+
sortByMultiple: Bu,
|
|
8676
8678
|
sum: On,
|
|
8677
|
-
treeToArray:
|
|
8678
|
-
union:
|
|
8679
|
-
uniqueArray:
|
|
8680
|
-
uniqueArrayByKey:
|
|
8681
|
-
uniqueArrayByKeys:
|
|
8679
|
+
treeToArray: Yu,
|
|
8680
|
+
union: Gu,
|
|
8681
|
+
uniqueArray: Vu,
|
|
8682
|
+
uniqueArrayByKey: Ou,
|
|
8683
|
+
uniqueArrayByKeys: Eu
|
|
8682
8684
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8683
|
-
async function
|
|
8685
|
+
async function nc(e) {
|
|
8684
8686
|
if (!e) return !1;
|
|
8685
8687
|
if (navigator.clipboard && window.isSecureContext)
|
|
8686
8688
|
try {
|
|
@@ -8697,7 +8699,7 @@ async function ec(e) {
|
|
|
8697
8699
|
return console.error("复制失败:", t), !1;
|
|
8698
8700
|
}
|
|
8699
8701
|
}
|
|
8700
|
-
async function
|
|
8702
|
+
async function lc() {
|
|
8701
8703
|
if (navigator.clipboard && window.isSecureContext)
|
|
8702
8704
|
try {
|
|
8703
8705
|
return await navigator.clipboard.readText();
|
|
@@ -8710,18 +8712,18 @@ function Gt(e, t) {
|
|
|
8710
8712
|
const n = document.createElement("a");
|
|
8711
8713
|
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);
|
|
8712
8714
|
}
|
|
8713
|
-
function
|
|
8715
|
+
function oc(e, t) {
|
|
8714
8716
|
const n = JSON.stringify(e, null, 2), l = new Blob([n], { type: "application/json" });
|
|
8715
8717
|
Gt(l, t);
|
|
8716
8718
|
}
|
|
8717
|
-
function
|
|
8719
|
+
function ac(e, t) {
|
|
8718
8720
|
const n = new Blob([e], { type: "text/plain" });
|
|
8719
8721
|
Gt(n, t);
|
|
8720
8722
|
}
|
|
8721
8723
|
function _t(e) {
|
|
8722
8724
|
window.scrollTo(e);
|
|
8723
8725
|
}
|
|
8724
|
-
function
|
|
8726
|
+
function ic(e, t) {
|
|
8725
8727
|
const n = typeof e == "string" ? document.querySelector(e) : e;
|
|
8726
8728
|
n && n.scrollIntoView({
|
|
8727
8729
|
behavior: "smooth",
|
|
@@ -8729,13 +8731,13 @@ function oc(e, t) {
|
|
|
8729
8731
|
...t
|
|
8730
8732
|
});
|
|
8731
8733
|
}
|
|
8732
|
-
function
|
|
8734
|
+
function rc(e = !0) {
|
|
8733
8735
|
_t({
|
|
8734
8736
|
top: 0,
|
|
8735
8737
|
behavior: e ? "smooth" : "auto"
|
|
8736
8738
|
});
|
|
8737
8739
|
}
|
|
8738
|
-
function
|
|
8740
|
+
function sc(e = !0) {
|
|
8739
8741
|
_t({
|
|
8740
8742
|
top: document.documentElement.scrollHeight,
|
|
8741
8743
|
behavior: e ? "smooth" : "auto"
|
|
@@ -8747,89 +8749,89 @@ function Yn() {
|
|
|
8747
8749
|
y: window.pageYOffset || document.documentElement.scrollTop
|
|
8748
8750
|
};
|
|
8749
8751
|
}
|
|
8750
|
-
function
|
|
8752
|
+
function uc(e) {
|
|
8751
8753
|
let t = 0;
|
|
8752
8754
|
for (; e; )
|
|
8753
8755
|
t += e.offsetTop, e = e.offsetParent;
|
|
8754
8756
|
return t;
|
|
8755
8757
|
}
|
|
8756
|
-
function
|
|
8758
|
+
function cc(e, t = 0) {
|
|
8757
8759
|
if (!e) return !1;
|
|
8758
8760
|
const n = e.getBoundingClientRect(), l = window.innerHeight || document.documentElement.clientHeight, o = window.innerWidth || document.documentElement.clientWidth;
|
|
8759
8761
|
return n.top >= 0 - t && n.left >= 0 - t && n.bottom <= l + t && n.right <= o + t;
|
|
8760
8762
|
}
|
|
8761
|
-
function
|
|
8763
|
+
function dc(e) {
|
|
8762
8764
|
if (!e) return !1;
|
|
8763
8765
|
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;
|
|
8764
8766
|
return o && r;
|
|
8765
8767
|
}
|
|
8766
|
-
function
|
|
8768
|
+
function pc(e = document.documentElement) {
|
|
8767
8769
|
document.fullscreenElement ? document.exitFullscreen() : e.requestFullscreen().catch((t) => {
|
|
8768
8770
|
console.error("进入全屏失败:", t);
|
|
8769
8771
|
});
|
|
8770
8772
|
}
|
|
8771
|
-
function
|
|
8773
|
+
function fc(e = document.documentElement) {
|
|
8772
8774
|
document.fullscreenElement || e.requestFullscreen().catch((t) => {
|
|
8773
8775
|
console.error("进入全屏失败:", t);
|
|
8774
8776
|
});
|
|
8775
8777
|
}
|
|
8776
|
-
function
|
|
8778
|
+
function gc() {
|
|
8777
8779
|
document.fullscreenElement && document.exitFullscreen();
|
|
8778
8780
|
}
|
|
8779
|
-
function
|
|
8781
|
+
function mc() {
|
|
8780
8782
|
return !!document.fullscreenElement;
|
|
8781
8783
|
}
|
|
8782
|
-
function
|
|
8784
|
+
function yc(e, t) {
|
|
8783
8785
|
e && e.classList.add(t);
|
|
8784
8786
|
}
|
|
8785
|
-
function
|
|
8787
|
+
function Mc(e, t) {
|
|
8786
8788
|
e && e.classList.remove(t);
|
|
8787
8789
|
}
|
|
8788
|
-
function
|
|
8790
|
+
function Ic(e, t) {
|
|
8789
8791
|
e && e.classList.toggle(t);
|
|
8790
8792
|
}
|
|
8791
|
-
function
|
|
8793
|
+
function hc(e, t) {
|
|
8792
8794
|
return e ? e.classList.contains(t) : !1;
|
|
8793
8795
|
}
|
|
8794
|
-
function
|
|
8796
|
+
function Ac(e) {
|
|
8795
8797
|
return e ? Array.from(e.classList) : [];
|
|
8796
8798
|
}
|
|
8797
|
-
function
|
|
8799
|
+
function Dc(e) {
|
|
8798
8800
|
return e ? e.getBoundingClientRect() : null;
|
|
8799
8801
|
}
|
|
8800
|
-
function
|
|
8802
|
+
function Cc(e) {
|
|
8801
8803
|
return e ? e.offsetWidth : 0;
|
|
8802
8804
|
}
|
|
8803
|
-
function
|
|
8805
|
+
function vc(e) {
|
|
8804
8806
|
return e ? e.offsetHeight : 0;
|
|
8805
8807
|
}
|
|
8806
|
-
function
|
|
8808
|
+
function Nc(e, t = document) {
|
|
8807
8809
|
return t.querySelector(e);
|
|
8808
8810
|
}
|
|
8809
|
-
function
|
|
8811
|
+
function bc(e, t = document) {
|
|
8810
8812
|
return Array.from(t.querySelectorAll(e));
|
|
8811
8813
|
}
|
|
8812
|
-
function
|
|
8814
|
+
function jc(e, t) {
|
|
8813
8815
|
return e ? e.getAttribute(t) : null;
|
|
8814
8816
|
}
|
|
8815
|
-
function
|
|
8817
|
+
function wc(e, t, n) {
|
|
8816
8818
|
e && e.setAttribute(t, n);
|
|
8817
8819
|
}
|
|
8818
|
-
function
|
|
8820
|
+
function Sc(e, t) {
|
|
8819
8821
|
e && e.removeAttribute(t);
|
|
8820
8822
|
}
|
|
8821
|
-
function
|
|
8823
|
+
function Tc(e, t) {
|
|
8822
8824
|
return e ? e.hasAttribute(t) : !1;
|
|
8823
8825
|
}
|
|
8824
|
-
function
|
|
8826
|
+
function zc(e, t) {
|
|
8825
8827
|
return e && window.getComputedStyle(e)[t] || "";
|
|
8826
8828
|
}
|
|
8827
|
-
function
|
|
8829
|
+
function kc(e, t) {
|
|
8828
8830
|
e && Object.keys(t).forEach((n) => {
|
|
8829
8831
|
e.style[n] = t[n];
|
|
8830
8832
|
});
|
|
8831
8833
|
}
|
|
8832
|
-
function
|
|
8834
|
+
function Lc() {
|
|
8833
8835
|
return {
|
|
8834
8836
|
width: window.innerWidth || document.documentElement.clientWidth,
|
|
8835
8837
|
height: window.innerHeight || document.documentElement.clientHeight
|
|
@@ -8845,7 +8847,7 @@ function Qn() {
|
|
|
8845
8847
|
document.documentElement.clientHeight
|
|
8846
8848
|
);
|
|
8847
8849
|
}
|
|
8848
|
-
function
|
|
8850
|
+
function $c() {
|
|
8849
8851
|
return Math.max(
|
|
8850
8852
|
document.body.scrollWidth,
|
|
8851
8853
|
document.documentElement.scrollWidth,
|
|
@@ -8855,58 +8857,58 @@ function kc() {
|
|
|
8855
8857
|
document.documentElement.clientWidth
|
|
8856
8858
|
);
|
|
8857
8859
|
}
|
|
8858
|
-
function
|
|
8860
|
+
function Vc(e = 0) {
|
|
8859
8861
|
const { y: t } = Yn(), n = window.innerHeight || document.documentElement.clientHeight, l = Qn();
|
|
8860
8862
|
return t + n >= l - e;
|
|
8861
8863
|
}
|
|
8862
|
-
const
|
|
8864
|
+
const Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8863
8865
|
__proto__: null,
|
|
8864
|
-
addClass:
|
|
8865
|
-
copyToClipboard:
|
|
8866
|
+
addClass: yc,
|
|
8867
|
+
copyToClipboard: nc,
|
|
8866
8868
|
downloadFile: Gt,
|
|
8867
|
-
downloadJSON:
|
|
8868
|
-
downloadText:
|
|
8869
|
-
enterFullscreen:
|
|
8870
|
-
exitFullscreen:
|
|
8871
|
-
getAttribute:
|
|
8872
|
-
getClasses:
|
|
8873
|
-
getElementHeight:
|
|
8874
|
-
getElementRect:
|
|
8875
|
-
getElementWidth:
|
|
8876
|
-
getOffsetTop:
|
|
8869
|
+
downloadJSON: oc,
|
|
8870
|
+
downloadText: ac,
|
|
8871
|
+
enterFullscreen: fc,
|
|
8872
|
+
exitFullscreen: gc,
|
|
8873
|
+
getAttribute: jc,
|
|
8874
|
+
getClasses: Ac,
|
|
8875
|
+
getElementHeight: vc,
|
|
8876
|
+
getElementRect: Dc,
|
|
8877
|
+
getElementWidth: Cc,
|
|
8878
|
+
getOffsetTop: uc,
|
|
8877
8879
|
getPageHeight: Qn,
|
|
8878
|
-
getPageWidth:
|
|
8880
|
+
getPageWidth: $c,
|
|
8879
8881
|
getScrollPosition: Yn,
|
|
8880
|
-
getStyle:
|
|
8881
|
-
getWindowSize:
|
|
8882
|
-
hasAttribute:
|
|
8883
|
-
hasClass:
|
|
8884
|
-
isFullscreen:
|
|
8885
|
-
isInViewport:
|
|
8886
|
-
isPartiallyVisible:
|
|
8887
|
-
isScrolledToBottom:
|
|
8888
|
-
querySelector:
|
|
8889
|
-
querySelectorAll:
|
|
8890
|
-
readFromClipboard:
|
|
8891
|
-
removeAttribute:
|
|
8892
|
-
removeClass:
|
|
8882
|
+
getStyle: zc,
|
|
8883
|
+
getWindowSize: Lc,
|
|
8884
|
+
hasAttribute: Tc,
|
|
8885
|
+
hasClass: hc,
|
|
8886
|
+
isFullscreen: mc,
|
|
8887
|
+
isInViewport: cc,
|
|
8888
|
+
isPartiallyVisible: dc,
|
|
8889
|
+
isScrolledToBottom: Vc,
|
|
8890
|
+
querySelector: Nc,
|
|
8891
|
+
querySelectorAll: bc,
|
|
8892
|
+
readFromClipboard: lc,
|
|
8893
|
+
removeAttribute: Sc,
|
|
8894
|
+
removeClass: Mc,
|
|
8893
8895
|
scrollTo: _t,
|
|
8894
|
-
scrollToBottom:
|
|
8895
|
-
scrollToElement:
|
|
8896
|
-
scrollToTop:
|
|
8897
|
-
setAttribute:
|
|
8898
|
-
setStyle:
|
|
8899
|
-
toggleClass:
|
|
8900
|
-
toggleFullscreen:
|
|
8896
|
+
scrollToBottom: sc,
|
|
8897
|
+
scrollToElement: ic,
|
|
8898
|
+
scrollToTop: rc,
|
|
8899
|
+
setAttribute: wc,
|
|
8900
|
+
setStyle: kc,
|
|
8901
|
+
toggleClass: Ic,
|
|
8902
|
+
toggleFullscreen: pc
|
|
8901
8903
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8902
|
-
function
|
|
8904
|
+
function Ec(e, t) {
|
|
8903
8905
|
return Math.floor(Math.random() * (t - e + 1)) + e;
|
|
8904
8906
|
}
|
|
8905
|
-
function
|
|
8907
|
+
function Pc(e, t, n = 2) {
|
|
8906
8908
|
const l = Math.random() * (t - e) + e;
|
|
8907
8909
|
return Number(l.toFixed(n));
|
|
8908
8910
|
}
|
|
8909
|
-
function
|
|
8911
|
+
function Yc(e, t, n = 1) {
|
|
8910
8912
|
const l = [];
|
|
8911
8913
|
if (n === 0) return l;
|
|
8912
8914
|
if (n > 0)
|
|
@@ -8917,22 +8919,22 @@ function Ec(e, t, n = 1) {
|
|
|
8917
8919
|
l.push(o);
|
|
8918
8920
|
return l;
|
|
8919
8921
|
}
|
|
8920
|
-
function
|
|
8922
|
+
function Qc(e, t, n) {
|
|
8921
8923
|
return Math.min(Math.max(e, t), n);
|
|
8922
8924
|
}
|
|
8923
|
-
function
|
|
8925
|
+
function qc(e, t) {
|
|
8924
8926
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length, o = Math.pow(10, Math.max(n, l));
|
|
8925
8927
|
return (e * o + t * o) / o;
|
|
8926
8928
|
}
|
|
8927
|
-
function
|
|
8929
|
+
function Rc(e, t) {
|
|
8928
8930
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length, o = Math.pow(10, Math.max(n, l));
|
|
8929
8931
|
return (e * o - t * o) / o;
|
|
8930
8932
|
}
|
|
8931
|
-
function
|
|
8933
|
+
function Uc(e, t) {
|
|
8932
8934
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length, o = Math.pow(10, n + l);
|
|
8933
8935
|
return e * Math.pow(10, n) * t * Math.pow(10, l) / o;
|
|
8934
8936
|
}
|
|
8935
|
-
function
|
|
8937
|
+
function Bc(e, t) {
|
|
8936
8938
|
if (t === 0)
|
|
8937
8939
|
return console.warn("Division by zero"), 1 / 0;
|
|
8938
8940
|
const n = (e.toString().split(".")[1] || "").length, l = (t.toString().split(".")[1] || "").length;
|
|
@@ -8941,28 +8943,28 @@ function Rc(e, t) {
|
|
|
8941
8943
|
function Kt(e, t = 0) {
|
|
8942
8944
|
return Math.round(e * Math.pow(10, t)) / Math.pow(10, t);
|
|
8943
8945
|
}
|
|
8944
|
-
function
|
|
8946
|
+
function Zc(e, t = 0) {
|
|
8945
8947
|
return Math.ceil(e * Math.pow(10, t)) / Math.pow(10, t);
|
|
8946
8948
|
}
|
|
8947
|
-
function
|
|
8949
|
+
function Wc(e, t = 0) {
|
|
8948
8950
|
return Math.floor(e * Math.pow(10, t)) / Math.pow(10, t);
|
|
8949
8951
|
}
|
|
8950
|
-
function
|
|
8952
|
+
function Fc(e, t = 0) {
|
|
8951
8953
|
return Kt(e, t).toFixed(t);
|
|
8952
8954
|
}
|
|
8953
|
-
function
|
|
8955
|
+
function Hc(e, t, n = 2) {
|
|
8954
8956
|
return t === 0 ? 0 : Kt(e / t * 100, n);
|
|
8955
8957
|
}
|
|
8956
|
-
function
|
|
8958
|
+
function Jc(e) {
|
|
8957
8959
|
return e / 100;
|
|
8958
8960
|
}
|
|
8959
|
-
function
|
|
8961
|
+
function Gc(e) {
|
|
8960
8962
|
return e * 100;
|
|
8961
8963
|
}
|
|
8962
|
-
function
|
|
8964
|
+
function _c(e, t = 2) {
|
|
8963
8965
|
return String(e).padStart(t, "0");
|
|
8964
8966
|
}
|
|
8965
|
-
function
|
|
8967
|
+
function Kc(e) {
|
|
8966
8968
|
const t = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九"], n = ["", "十", "百", "千", "万"];
|
|
8967
8969
|
if (e === 0) return "零";
|
|
8968
8970
|
if (e < 0 || e > 99999) return String(e);
|
|
@@ -8974,7 +8976,7 @@ function Gc(e) {
|
|
|
8974
8976
|
}
|
|
8975
8977
|
return e >= 10 && e < 20 && (o = o.replace("一十", "十")), o;
|
|
8976
8978
|
}
|
|
8977
|
-
function
|
|
8979
|
+
function xc(e) {
|
|
8978
8980
|
const t = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], n = ["", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿"], l = ["角", "分"];
|
|
8979
8981
|
if (e === 0) return "零元整";
|
|
8980
8982
|
const [o, r = ""] = e.toFixed(2).split(".");
|
|
@@ -8992,13 +8994,13 @@ function _c(e) {
|
|
|
8992
8994
|
a += "整";
|
|
8993
8995
|
return a;
|
|
8994
8996
|
}
|
|
8995
|
-
function
|
|
8997
|
+
function Xc(e) {
|
|
8996
8998
|
return e % 2 === 0;
|
|
8997
8999
|
}
|
|
8998
|
-
function
|
|
9000
|
+
function ed(e) {
|
|
8999
9001
|
return e % 2 !== 0;
|
|
9000
9002
|
}
|
|
9001
|
-
function
|
|
9003
|
+
function td(e) {
|
|
9002
9004
|
if (e < 2) return !1;
|
|
9003
9005
|
if (e === 2) return !0;
|
|
9004
9006
|
if (e % 2 === 0) return !1;
|
|
@@ -9006,16 +9008,16 @@ function Xc(e) {
|
|
|
9006
9008
|
if (e % t === 0) return !1;
|
|
9007
9009
|
return !0;
|
|
9008
9010
|
}
|
|
9009
|
-
function
|
|
9011
|
+
function nd(e, t, n) {
|
|
9010
9012
|
return e >= t && e <= n;
|
|
9011
9013
|
}
|
|
9012
|
-
function
|
|
9014
|
+
function ld(e) {
|
|
9013
9015
|
return Math.abs(e);
|
|
9014
9016
|
}
|
|
9015
|
-
function
|
|
9017
|
+
function od(e) {
|
|
9016
9018
|
return Math.sqrt(e);
|
|
9017
9019
|
}
|
|
9018
|
-
function
|
|
9020
|
+
function ad(e, t) {
|
|
9019
9021
|
return Math.pow(e, t);
|
|
9020
9022
|
}
|
|
9021
9023
|
function qn(e) {
|
|
@@ -9024,39 +9026,39 @@ function qn(e) {
|
|
|
9024
9026
|
function xt(e, t) {
|
|
9025
9027
|
return t === 0 ? e : xt(t, e % t);
|
|
9026
9028
|
}
|
|
9027
|
-
function
|
|
9029
|
+
function id(e, t) {
|
|
9028
9030
|
return e * t / xt(e, t);
|
|
9029
9031
|
}
|
|
9030
|
-
const
|
|
9032
|
+
const rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9031
9033
|
__proto__: null,
|
|
9032
|
-
abs:
|
|
9033
|
-
add:
|
|
9034
|
-
ceil:
|
|
9035
|
-
clamp:
|
|
9036
|
-
decimalToPercent:
|
|
9037
|
-
divide:
|
|
9034
|
+
abs: ld,
|
|
9035
|
+
add: qc,
|
|
9036
|
+
ceil: Zc,
|
|
9037
|
+
clamp: Qc,
|
|
9038
|
+
decimalToPercent: Gc,
|
|
9039
|
+
divide: Bc,
|
|
9038
9040
|
factorial: qn,
|
|
9039
|
-
floor:
|
|
9041
|
+
floor: Wc,
|
|
9040
9042
|
gcd: xt,
|
|
9041
|
-
inRange:
|
|
9042
|
-
isEven:
|
|
9043
|
-
isOdd:
|
|
9044
|
-
isPrime:
|
|
9045
|
-
lcm:
|
|
9046
|
-
multiply:
|
|
9047
|
-
padZero:
|
|
9048
|
-
percentToDecimal:
|
|
9049
|
-
percentage:
|
|
9050
|
-
pow:
|
|
9051
|
-
random:
|
|
9052
|
-
randomFloat:
|
|
9053
|
-
range:
|
|
9043
|
+
inRange: nd,
|
|
9044
|
+
isEven: Xc,
|
|
9045
|
+
isOdd: ed,
|
|
9046
|
+
isPrime: td,
|
|
9047
|
+
lcm: id,
|
|
9048
|
+
multiply: Uc,
|
|
9049
|
+
padZero: _c,
|
|
9050
|
+
percentToDecimal: Jc,
|
|
9051
|
+
percentage: Hc,
|
|
9052
|
+
pow: ad,
|
|
9053
|
+
random: Ec,
|
|
9054
|
+
randomFloat: Pc,
|
|
9055
|
+
range: Yc,
|
|
9054
9056
|
round: Kt,
|
|
9055
|
-
sqrt:
|
|
9056
|
-
subtract:
|
|
9057
|
-
toChineseMoney:
|
|
9058
|
-
toChineseNumber:
|
|
9059
|
-
toFixed:
|
|
9057
|
+
sqrt: od,
|
|
9058
|
+
subtract: Rc,
|
|
9059
|
+
toChineseMoney: xc,
|
|
9060
|
+
toChineseNumber: Kc,
|
|
9061
|
+
toFixed: Fc
|
|
9060
9062
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9061
9063
|
function st(e) {
|
|
9062
9064
|
if (e === null || typeof e != "object") return e;
|
|
@@ -9071,7 +9073,7 @@ function st(e) {
|
|
|
9071
9073
|
Object.prototype.hasOwnProperty.call(e, n) && (t[n] = st(e[n]));
|
|
9072
9074
|
return t;
|
|
9073
9075
|
}
|
|
9074
|
-
function
|
|
9076
|
+
function sd(e) {
|
|
9075
9077
|
return e === null || typeof e != "object" ? e : Array.isArray(e) ? [...e] : { ...e };
|
|
9076
9078
|
}
|
|
9077
9079
|
function Rn(...e) {
|
|
@@ -9085,24 +9087,24 @@ function Rn(...e) {
|
|
|
9085
9087
|
});
|
|
9086
9088
|
}), t;
|
|
9087
9089
|
}
|
|
9088
|
-
function
|
|
9090
|
+
function ud(...e) {
|
|
9089
9091
|
return Object.assign({}, ...e);
|
|
9090
9092
|
}
|
|
9091
|
-
function
|
|
9093
|
+
function cd(e, t) {
|
|
9092
9094
|
if (!e || typeof e != "object") return {};
|
|
9093
9095
|
const n = {};
|
|
9094
9096
|
return t.forEach((l) => {
|
|
9095
9097
|
l in e && (n[l] = e[l]);
|
|
9096
9098
|
}), n;
|
|
9097
9099
|
}
|
|
9098
|
-
function
|
|
9100
|
+
function dd(e, t) {
|
|
9099
9101
|
if (!e || typeof e != "object") return {};
|
|
9100
9102
|
const n = { ...e };
|
|
9101
9103
|
return t.forEach((l) => {
|
|
9102
9104
|
delete n[l];
|
|
9103
9105
|
}), n;
|
|
9104
9106
|
}
|
|
9105
|
-
function
|
|
9107
|
+
function pd(e, t, n) {
|
|
9106
9108
|
if (!e || typeof e != "object") return n;
|
|
9107
9109
|
const l = t.split(".");
|
|
9108
9110
|
let o = e;
|
|
@@ -9122,7 +9124,7 @@ function Un(e, t, n) {
|
|
|
9122
9124
|
(!(a in r) || typeof r[a] != "object") && (r[a] = {}), r = r[a];
|
|
9123
9125
|
r[o] = n;
|
|
9124
9126
|
}
|
|
9125
|
-
function
|
|
9127
|
+
function fd(e, t) {
|
|
9126
9128
|
if (!e || typeof e != "object") return !1;
|
|
9127
9129
|
const n = t.split(".");
|
|
9128
9130
|
let l = e;
|
|
@@ -9133,10 +9135,10 @@ function dd(e, t) {
|
|
|
9133
9135
|
return !1;
|
|
9134
9136
|
return !0;
|
|
9135
9137
|
}
|
|
9136
|
-
function
|
|
9138
|
+
function gd(e) {
|
|
9137
9139
|
return e == null ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
|
|
9138
9140
|
}
|
|
9139
|
-
function
|
|
9141
|
+
function md(e) {
|
|
9140
9142
|
if (typeof e != "object" || e === null) return !1;
|
|
9141
9143
|
const t = Object.getPrototypeOf(e);
|
|
9142
9144
|
return t === Object.prototype || t === null;
|
|
@@ -9174,13 +9176,13 @@ function Lt(e) {
|
|
|
9174
9176
|
t[l] = typeof o == "object" ? Lt(o) : o;
|
|
9175
9177
|
}), t;
|
|
9176
9178
|
}
|
|
9177
|
-
function
|
|
9179
|
+
function yd(e) {
|
|
9178
9180
|
return !e || typeof e != "object" ? "" : Object.keys(e).filter((t) => e[t] !== void 0 && e[t] !== null).map((t) => {
|
|
9179
9181
|
const n = e[t];
|
|
9180
9182
|
return Array.isArray(n) ? n.map((l) => `${encodeURIComponent(t)}=${encodeURIComponent(l)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
|
|
9181
9183
|
}).join("&");
|
|
9182
9184
|
}
|
|
9183
|
-
function
|
|
9185
|
+
function Md(e) {
|
|
9184
9186
|
if (!e) return {};
|
|
9185
9187
|
const t = e.startsWith("?") ? e.slice(1) : e, n = {};
|
|
9186
9188
|
return t.split("&").forEach((l) => {
|
|
@@ -9195,7 +9197,7 @@ function Bn(e, t) {
|
|
|
9195
9197
|
t(e[l], l) && (n[l] = e[l]);
|
|
9196
9198
|
}), n;
|
|
9197
9199
|
}
|
|
9198
|
-
function
|
|
9200
|
+
function Id(e, t = !0) {
|
|
9199
9201
|
return Bn(e, (n) => !(n == null || t && n === ""));
|
|
9200
9202
|
}
|
|
9201
9203
|
function Zn(e, t = "") {
|
|
@@ -9206,14 +9208,14 @@ function Zn(e, t = "") {
|
|
|
9206
9208
|
r && typeof r == "object" && !Array.isArray(r) ? Object.assign(n, Zn(r, o)) : n[o] = r;
|
|
9207
9209
|
}), n;
|
|
9208
9210
|
}
|
|
9209
|
-
function
|
|
9211
|
+
function hd(e) {
|
|
9210
9212
|
if (!e || typeof e != "object") return {};
|
|
9211
9213
|
const t = {};
|
|
9212
9214
|
return Object.keys(e).forEach((n) => {
|
|
9213
9215
|
Un(t, n, e[n]);
|
|
9214
9216
|
}), t;
|
|
9215
9217
|
}
|
|
9216
|
-
function
|
|
9218
|
+
function Ad(e) {
|
|
9217
9219
|
if (!e || typeof e != "object") return {};
|
|
9218
9220
|
const t = {};
|
|
9219
9221
|
return Object.keys(e).forEach((n) => {
|
|
@@ -9221,43 +9223,43 @@ function Id(e) {
|
|
|
9221
9223
|
t[String(l)] = n;
|
|
9222
9224
|
}), t;
|
|
9223
9225
|
}
|
|
9224
|
-
function
|
|
9226
|
+
function Dd(e) {
|
|
9225
9227
|
return !e || typeof e != "object" ? [] : Object.values(e);
|
|
9226
9228
|
}
|
|
9227
|
-
function
|
|
9229
|
+
function Cd(e) {
|
|
9228
9230
|
return !e || typeof e != "object" ? [] : Object.keys(e);
|
|
9229
9231
|
}
|
|
9230
|
-
function
|
|
9232
|
+
function vd(e) {
|
|
9231
9233
|
return !e || typeof e != "object" ? [] : Object.entries(e);
|
|
9232
9234
|
}
|
|
9233
|
-
const
|
|
9235
|
+
const Nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9234
9236
|
__proto__: null,
|
|
9235
9237
|
deepClone: st,
|
|
9236
9238
|
deepMerge: Rn,
|
|
9237
|
-
entries:
|
|
9239
|
+
entries: vd,
|
|
9238
9240
|
filterValues: Bn,
|
|
9239
9241
|
flattenObject: Zn,
|
|
9240
|
-
fromQueryString:
|
|
9241
|
-
get:
|
|
9242
|
-
has:
|
|
9243
|
-
invert:
|
|
9244
|
-
isEmpty:
|
|
9242
|
+
fromQueryString: Md,
|
|
9243
|
+
get: pd,
|
|
9244
|
+
has: fd,
|
|
9245
|
+
invert: Ad,
|
|
9246
|
+
isEmpty: gd,
|
|
9245
9247
|
isEqual: zt,
|
|
9246
|
-
isPlainObject:
|
|
9247
|
-
keys:
|
|
9248
|
+
isPlainObject: md,
|
|
9249
|
+
keys: Cd,
|
|
9248
9250
|
keysToCamelCase: kt,
|
|
9249
9251
|
keysToUnderlineCase: Lt,
|
|
9250
|
-
omit:
|
|
9251
|
-
pick:
|
|
9252
|
-
removeEmpty:
|
|
9252
|
+
omit: dd,
|
|
9253
|
+
pick: cd,
|
|
9254
|
+
removeEmpty: Id,
|
|
9253
9255
|
set: Un,
|
|
9254
|
-
shallowClone:
|
|
9255
|
-
shallowMerge:
|
|
9256
|
-
toQueryString:
|
|
9257
|
-
unflattenObject:
|
|
9258
|
-
values:
|
|
9256
|
+
shallowClone: sd,
|
|
9257
|
+
shallowMerge: ud,
|
|
9258
|
+
toQueryString: yd,
|
|
9259
|
+
unflattenObject: hd,
|
|
9260
|
+
values: Dd
|
|
9259
9261
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9260
|
-
function
|
|
9262
|
+
function bd(e, t = 300, n = !1) {
|
|
9261
9263
|
let l = null, o = !1;
|
|
9262
9264
|
const r = function(...a) {
|
|
9263
9265
|
l && clearTimeout(l), n && !o ? (e.apply(this, a), o = !0) : l = setTimeout(() => {
|
|
@@ -9268,7 +9270,7 @@ function vd(e, t = 300, n = !1) {
|
|
|
9268
9270
|
l && (clearTimeout(l), l = null), o = !1;
|
|
9269
9271
|
}, r;
|
|
9270
9272
|
}
|
|
9271
|
-
function
|
|
9273
|
+
function jd(e, t = 300, n) {
|
|
9272
9274
|
const { leading: l = !0, trailing: o = !0 } = n || {};
|
|
9273
9275
|
let r = null, a = 0, i = null;
|
|
9274
9276
|
const s = function(...c) {
|
|
@@ -9283,7 +9285,7 @@ function Nd(e, t = 300, n) {
|
|
|
9283
9285
|
r && (clearTimeout(r), r = null), a = 0, i = null;
|
|
9284
9286
|
}, s;
|
|
9285
9287
|
}
|
|
9286
|
-
function
|
|
9288
|
+
function wd(e) {
|
|
9287
9289
|
let t = !1, n;
|
|
9288
9290
|
return function(...l) {
|
|
9289
9291
|
return t || (t = !0, n = e.apply(this, l)), n;
|
|
@@ -9295,7 +9297,7 @@ function Wn(e) {
|
|
|
9295
9297
|
function Fn(e) {
|
|
9296
9298
|
return Wn(e);
|
|
9297
9299
|
}
|
|
9298
|
-
async function
|
|
9300
|
+
async function Sd(e, t) {
|
|
9299
9301
|
const { times: n = 3, delay: l = 1e3, onRetry: o } = t || {};
|
|
9300
9302
|
let r;
|
|
9301
9303
|
for (let a = 0; a < n; a++)
|
|
@@ -9306,7 +9308,7 @@ async function jd(e, t) {
|
|
|
9306
9308
|
}
|
|
9307
9309
|
throw r;
|
|
9308
9310
|
}
|
|
9309
|
-
function
|
|
9311
|
+
function Td(e, t) {
|
|
9310
9312
|
return Promise.race([
|
|
9311
9313
|
e,
|
|
9312
9314
|
new Promise(
|
|
@@ -9314,7 +9316,7 @@ function wd(e, t) {
|
|
|
9314
9316
|
)
|
|
9315
9317
|
]);
|
|
9316
9318
|
}
|
|
9317
|
-
function
|
|
9319
|
+
function zd(e, t) {
|
|
9318
9320
|
const n = /* @__PURE__ */ new Map(), l = function(...o) {
|
|
9319
9321
|
const r = t ? t(...o) : JSON.stringify(o);
|
|
9320
9322
|
if (n.has(r))
|
|
@@ -9324,10 +9326,10 @@ function Sd(e, t) {
|
|
|
9324
9326
|
};
|
|
9325
9327
|
return l.cache = n, l;
|
|
9326
9328
|
}
|
|
9327
|
-
function
|
|
9329
|
+
function kd(e) {
|
|
9328
9330
|
e.cache && e.cache.clear();
|
|
9329
9331
|
}
|
|
9330
|
-
function
|
|
9332
|
+
function Ld(e, t = 100) {
|
|
9331
9333
|
let n = [], l = null;
|
|
9332
9334
|
return function(o) {
|
|
9333
9335
|
n.push(o), l && clearTimeout(l), l = setTimeout(() => {
|
|
@@ -9335,7 +9337,7 @@ function zd(e, t = 100) {
|
|
|
9335
9337
|
}, t);
|
|
9336
9338
|
};
|
|
9337
9339
|
}
|
|
9338
|
-
async function
|
|
9340
|
+
async function $d(e, t) {
|
|
9339
9341
|
const n = [], l = [];
|
|
9340
9342
|
for (const o of e) {
|
|
9341
9343
|
const r = o().then((a) => {
|
|
@@ -9345,7 +9347,7 @@ async function kd(e, t) {
|
|
|
9345
9347
|
}
|
|
9346
9348
|
return await Promise.all(l), n;
|
|
9347
9349
|
}
|
|
9348
|
-
async function
|
|
9350
|
+
async function Vd(e) {
|
|
9349
9351
|
const t = [];
|
|
9350
9352
|
for (const n of e) {
|
|
9351
9353
|
const l = await n();
|
|
@@ -9353,19 +9355,19 @@ async function Ld(e) {
|
|
|
9353
9355
|
}
|
|
9354
9356
|
return t;
|
|
9355
9357
|
}
|
|
9356
|
-
function
|
|
9358
|
+
function Od(e, t) {
|
|
9357
9359
|
return function(...n) {
|
|
9358
9360
|
const l = performance.now(), o = e.apply(this, n), a = (performance.now() - l).toFixed(2);
|
|
9359
9361
|
return console.log(`${t || e.name || "Function"}: ${a}ms`), o;
|
|
9360
9362
|
};
|
|
9361
9363
|
}
|
|
9362
|
-
function
|
|
9364
|
+
function Ed(e, t) {
|
|
9363
9365
|
return async function(...n) {
|
|
9364
9366
|
const l = performance.now(), o = await e.apply(this, n), a = (performance.now() - l).toFixed(2);
|
|
9365
9367
|
return console.log(`${t || e.name || "Function"}: ${a}ms`), o;
|
|
9366
9368
|
};
|
|
9367
9369
|
}
|
|
9368
|
-
function
|
|
9370
|
+
function Pd(e) {
|
|
9369
9371
|
const t = /* @__PURE__ */ new Map();
|
|
9370
9372
|
return async function(...n) {
|
|
9371
9373
|
const l = JSON.stringify(n);
|
|
@@ -9377,7 +9379,7 @@ function Od(e) {
|
|
|
9377
9379
|
return t.set(l, o), o;
|
|
9378
9380
|
};
|
|
9379
9381
|
}
|
|
9380
|
-
function
|
|
9382
|
+
function Yd(e) {
|
|
9381
9383
|
let t = null;
|
|
9382
9384
|
const n = function(...l) {
|
|
9383
9385
|
t === null && (t = requestAnimationFrame(() => {
|
|
@@ -9388,70 +9390,70 @@ function Ed(e) {
|
|
|
9388
9390
|
t !== null && (cancelAnimationFrame(t), t = null);
|
|
9389
9391
|
}, n;
|
|
9390
9392
|
}
|
|
9391
|
-
const
|
|
9393
|
+
const Qd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9392
9394
|
__proto__: null,
|
|
9393
|
-
batch:
|
|
9394
|
-
clearCache:
|
|
9395
|
-
debounce:
|
|
9396
|
-
dedupe:
|
|
9395
|
+
batch: Ld,
|
|
9396
|
+
clearCache: kd,
|
|
9397
|
+
debounce: bd,
|
|
9398
|
+
dedupe: Pd,
|
|
9397
9399
|
delay: Wn,
|
|
9398
|
-
measureTime:
|
|
9399
|
-
measureTimeAsync:
|
|
9400
|
-
memoize:
|
|
9401
|
-
once:
|
|
9402
|
-
promiseLimit:
|
|
9403
|
-
promiseSerial:
|
|
9404
|
-
rafThrottle:
|
|
9405
|
-
retry:
|
|
9400
|
+
measureTime: Od,
|
|
9401
|
+
measureTimeAsync: Ed,
|
|
9402
|
+
memoize: zd,
|
|
9403
|
+
once: wd,
|
|
9404
|
+
promiseLimit: $d,
|
|
9405
|
+
promiseSerial: Vd,
|
|
9406
|
+
rafThrottle: Yd,
|
|
9407
|
+
retry: Sd,
|
|
9406
9408
|
sleep: Fn,
|
|
9407
|
-
throttle:
|
|
9408
|
-
withTimeout:
|
|
9409
|
+
throttle: jd,
|
|
9410
|
+
withTimeout: Td
|
|
9409
9411
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9410
|
-
function
|
|
9412
|
+
function qd(e) {
|
|
9411
9413
|
return !e || e.length !== 11 ? e : e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
|
|
9412
9414
|
}
|
|
9413
|
-
function
|
|
9415
|
+
function Rd(e) {
|
|
9414
9416
|
if (!e || e.length < 8) return e;
|
|
9415
9417
|
const t = e.length;
|
|
9416
9418
|
return e.substring(0, 3) + "*".repeat(t - 7) + e.substring(t - 4);
|
|
9417
9419
|
}
|
|
9418
|
-
function
|
|
9420
|
+
function Ud(e) {
|
|
9419
9421
|
return !e || e.length === 0 || e.length === 1 ? e : e.length === 2 ? e[0] + "*" : e.substring(0, e.length - 1) + "*";
|
|
9420
9422
|
}
|
|
9421
|
-
function
|
|
9423
|
+
function Bd(e) {
|
|
9422
9424
|
if (!e || e.length < 8) return e;
|
|
9423
9425
|
const t = e.length, n = e.substring(0, 4), l = e.substring(t - 4);
|
|
9424
9426
|
return `${n} **** **** ${l}`;
|
|
9425
9427
|
}
|
|
9426
|
-
function
|
|
9428
|
+
function Zd(e) {
|
|
9427
9429
|
if (!e || !e.includes("@")) return e;
|
|
9428
9430
|
const [t, n] = e.split("@");
|
|
9429
9431
|
return t.length <= 1 ? e : t[0] + "***@" + n;
|
|
9430
9432
|
}
|
|
9431
|
-
function
|
|
9433
|
+
function Wd(e, t = 6) {
|
|
9432
9434
|
return !e || e.length <= t ? e : e.substring(0, t) + "***";
|
|
9433
9435
|
}
|
|
9434
|
-
function
|
|
9436
|
+
function Fd(e) {
|
|
9435
9437
|
return e && e.charAt(0).toUpperCase() + e.slice(1);
|
|
9436
9438
|
}
|
|
9437
|
-
function
|
|
9439
|
+
function Hd(e) {
|
|
9438
9440
|
return e && e.replace(/\b\w/g, (t) => t.toUpperCase());
|
|
9439
9441
|
}
|
|
9440
|
-
function
|
|
9442
|
+
function Jd(e) {
|
|
9441
9443
|
return e && e.replace(/_([a-z])/g, (t, n) => n.toUpperCase());
|
|
9442
9444
|
}
|
|
9443
|
-
function
|
|
9445
|
+
function Gd(e) {
|
|
9444
9446
|
return e && e.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
9445
9447
|
}
|
|
9446
|
-
function
|
|
9448
|
+
function _d(e) {
|
|
9447
9449
|
return e && e.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
9448
9450
|
}
|
|
9449
|
-
function
|
|
9451
|
+
function Kd(e) {
|
|
9450
9452
|
if (e == null || e === "") return "";
|
|
9451
9453
|
const n = String(e).split(".");
|
|
9452
9454
|
return n[0] = n[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), n.join(".");
|
|
9453
9455
|
}
|
|
9454
|
-
function
|
|
9456
|
+
function xd(e, t) {
|
|
9455
9457
|
const {
|
|
9456
9458
|
currency: n = "¥",
|
|
9457
9459
|
decimals: l = 2,
|
|
@@ -9463,19 +9465,19 @@ function _d(e, t) {
|
|
|
9463
9465
|
let d = s.replace(/\B(?=(\d{3})+(?!\d))/g, o);
|
|
9464
9466
|
return l > 0 && c && (d += r + c), n + d;
|
|
9465
9467
|
}
|
|
9466
|
-
function
|
|
9468
|
+
function Xd(e, t = 2) {
|
|
9467
9469
|
if (e === 0) return "0 B";
|
|
9468
9470
|
if (!e) return "";
|
|
9469
9471
|
const n = 1024, l = ["B", "KB", "MB", "GB", "TB"], o = Math.floor(Math.log(e) / Math.log(n));
|
|
9470
9472
|
return parseFloat((e / Math.pow(n, o)).toFixed(t)) + " " + l[o];
|
|
9471
9473
|
}
|
|
9472
|
-
function
|
|
9474
|
+
function ep(e) {
|
|
9473
9475
|
return e && e.replace(/\s/g, "").replace(/(\d{4})(?=\d)/g, "$1 ");
|
|
9474
9476
|
}
|
|
9475
|
-
function
|
|
9477
|
+
function tp(e) {
|
|
9476
9478
|
return e && e.replace(/\s/g, "").replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3");
|
|
9477
9479
|
}
|
|
9478
|
-
function
|
|
9480
|
+
function np(e = 8, t = "alphanumeric") {
|
|
9479
9481
|
const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", l = "0123456789";
|
|
9480
9482
|
let r = n + l;
|
|
9481
9483
|
t === "alpha" && (r = n), t === "number" && (r = l);
|
|
@@ -9484,17 +9486,17 @@ function ep(e = 8, t = "alphanumeric") {
|
|
|
9484
9486
|
a += r.charAt(Math.floor(Math.random() * r.length));
|
|
9485
9487
|
return a;
|
|
9486
9488
|
}
|
|
9487
|
-
function
|
|
9489
|
+
function lp(e) {
|
|
9488
9490
|
const t = Date.now(), n = Math.random().toString(36).substring(2, 8);
|
|
9489
9491
|
return e ? `${e}_${t}_${n}` : `${t}_${n}`;
|
|
9490
9492
|
}
|
|
9491
|
-
function
|
|
9493
|
+
function op(e, t, n = "...") {
|
|
9492
9494
|
return !e || e.length <= t ? e : e.substring(0, t) + n;
|
|
9493
9495
|
}
|
|
9494
|
-
function
|
|
9496
|
+
function ap(e) {
|
|
9495
9497
|
return e && e.replace(/<[^>]*>/g, "");
|
|
9496
9498
|
}
|
|
9497
|
-
function
|
|
9499
|
+
function ip(e) {
|
|
9498
9500
|
if (!e) return e;
|
|
9499
9501
|
const t = {
|
|
9500
9502
|
"&": "&",
|
|
@@ -9506,7 +9508,7 @@ function op(e) {
|
|
|
9506
9508
|
};
|
|
9507
9509
|
return e.replace(/[&<>"'/]/g, (n) => t[n]);
|
|
9508
9510
|
}
|
|
9509
|
-
function
|
|
9511
|
+
function rp(e) {
|
|
9510
9512
|
if (!e) return e;
|
|
9511
9513
|
const t = {
|
|
9512
9514
|
"&": "&",
|
|
@@ -9518,50 +9520,50 @@ function ap(e) {
|
|
|
9518
9520
|
};
|
|
9519
9521
|
return e.replace(/&(amp|lt|gt|quot|#x27|#x2F);/g, (n) => t[n]);
|
|
9520
9522
|
}
|
|
9521
|
-
function
|
|
9523
|
+
function sp(e) {
|
|
9522
9524
|
return e == null || e.trim() === "";
|
|
9523
9525
|
}
|
|
9524
|
-
function
|
|
9526
|
+
function up(e) {
|
|
9525
9527
|
return e && e.split("").reverse().join("");
|
|
9526
9528
|
}
|
|
9527
|
-
function
|
|
9529
|
+
function cp(e, t) {
|
|
9528
9530
|
return !e || t <= 0 ? "" : e.repeat(t);
|
|
9529
9531
|
}
|
|
9530
|
-
function
|
|
9532
|
+
function dp(e, t, n = " ") {
|
|
9531
9533
|
return e || (e = ""), e.padStart(t, n);
|
|
9532
9534
|
}
|
|
9533
|
-
function
|
|
9535
|
+
function pp(e, t, n = " ") {
|
|
9534
9536
|
return e || (e = ""), e.padEnd(t, n);
|
|
9535
9537
|
}
|
|
9536
|
-
const
|
|
9538
|
+
const fp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9537
9539
|
__proto__: null,
|
|
9538
|
-
addressDesensitize:
|
|
9539
|
-
bankCardDesensitize:
|
|
9540
|
-
capitalize:
|
|
9541
|
-
capitalizeWords:
|
|
9542
|
-
emailDesensitize:
|
|
9543
|
-
escapeHtml:
|
|
9544
|
-
formatBankCard:
|
|
9545
|
-
formatFileSize:
|
|
9546
|
-
formatMoney:
|
|
9547
|
-
formatNumber:
|
|
9548
|
-
formatPhone:
|
|
9549
|
-
generateUUID:
|
|
9550
|
-
idCardDesensitize:
|
|
9551
|
-
isEmpty:
|
|
9552
|
-
nameDesensitize:
|
|
9553
|
-
padEnd:
|
|
9554
|
-
padStart:
|
|
9555
|
-
phoneDesensitize:
|
|
9556
|
-
randomString:
|
|
9557
|
-
removeHtmlTags:
|
|
9558
|
-
repeat:
|
|
9559
|
-
reverse:
|
|
9560
|
-
toCamelCase:
|
|
9561
|
-
toKebabCase:
|
|
9562
|
-
toUnderlineCase:
|
|
9563
|
-
truncate:
|
|
9564
|
-
unescapeHtml:
|
|
9540
|
+
addressDesensitize: Wd,
|
|
9541
|
+
bankCardDesensitize: Bd,
|
|
9542
|
+
capitalize: Fd,
|
|
9543
|
+
capitalizeWords: Hd,
|
|
9544
|
+
emailDesensitize: Zd,
|
|
9545
|
+
escapeHtml: ip,
|
|
9546
|
+
formatBankCard: ep,
|
|
9547
|
+
formatFileSize: Xd,
|
|
9548
|
+
formatMoney: xd,
|
|
9549
|
+
formatNumber: Kd,
|
|
9550
|
+
formatPhone: tp,
|
|
9551
|
+
generateUUID: lp,
|
|
9552
|
+
idCardDesensitize: Rd,
|
|
9553
|
+
isEmpty: sp,
|
|
9554
|
+
nameDesensitize: Ud,
|
|
9555
|
+
padEnd: pp,
|
|
9556
|
+
padStart: dp,
|
|
9557
|
+
phoneDesensitize: qd,
|
|
9558
|
+
randomString: np,
|
|
9559
|
+
removeHtmlTags: ap,
|
|
9560
|
+
repeat: cp,
|
|
9561
|
+
reverse: up,
|
|
9562
|
+
toCamelCase: Jd,
|
|
9563
|
+
toKebabCase: _d,
|
|
9564
|
+
toUnderlineCase: Gd,
|
|
9565
|
+
truncate: op,
|
|
9566
|
+
unescapeHtml: rp
|
|
9565
9567
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9566
9568
|
function me(e) {
|
|
9567
9569
|
const t = e || (typeof window < "u" ? window.location.href : "");
|
|
@@ -9581,15 +9583,15 @@ function Qe(e) {
|
|
|
9581
9583
|
return Array.isArray(n) ? n.map((l) => `${encodeURIComponent(t)}=${encodeURIComponent(l)}`).join("&") : `${encodeURIComponent(t)}=${encodeURIComponent(n)}`;
|
|
9582
9584
|
}).join("&");
|
|
9583
9585
|
}
|
|
9584
|
-
function
|
|
9586
|
+
function gp(e, t) {
|
|
9585
9587
|
const l = me(t)[e];
|
|
9586
9588
|
return l === void 0 ? null : Array.isArray(l) ? l[0] || null : l;
|
|
9587
9589
|
}
|
|
9588
|
-
function
|
|
9590
|
+
function mp(e, t) {
|
|
9589
9591
|
const l = me(t)[e];
|
|
9590
9592
|
return l === void 0 ? [] : Array.isArray(l) ? l : [l];
|
|
9591
9593
|
}
|
|
9592
|
-
function
|
|
9594
|
+
function yp(e, t = "push") {
|
|
9593
9595
|
if (typeof window > "u" || !window.history) return;
|
|
9594
9596
|
const l = { ...me(), ...e };
|
|
9595
9597
|
Object.keys(l).forEach((a) => {
|
|
@@ -9598,7 +9600,7 @@ function gp(e, t = "push") {
|
|
|
9598
9600
|
const o = Qe(l), r = o ? `${window.location.pathname}?${o}` : window.location.pathname;
|
|
9599
9601
|
t === "push" ? window.history.pushState(null, "", r) : window.history.replaceState(null, "", r);
|
|
9600
9602
|
}
|
|
9601
|
-
function
|
|
9603
|
+
function Mp(e, t = "push") {
|
|
9602
9604
|
if (typeof window > "u" || !window.history) return;
|
|
9603
9605
|
const n = me();
|
|
9604
9606
|
e.forEach((r) => {
|
|
@@ -9607,15 +9609,15 @@ function mp(e, t = "push") {
|
|
|
9607
9609
|
const l = Qe(n), o = l ? `${window.location.pathname}?${l}` : window.location.pathname;
|
|
9608
9610
|
t === "push" ? window.history.pushState(null, "", o) : window.history.replaceState(null, "", o);
|
|
9609
9611
|
}
|
|
9610
|
-
function
|
|
9612
|
+
function Ip(e = "push") {
|
|
9611
9613
|
if (typeof window > "u" || !window.history) return;
|
|
9612
9614
|
const t = window.location.pathname;
|
|
9613
9615
|
e === "push" ? window.history.pushState(null, "", t) : window.history.replaceState(null, "", t);
|
|
9614
9616
|
}
|
|
9615
|
-
function
|
|
9617
|
+
function hp(...e) {
|
|
9616
9618
|
return e.length === 0 ? "" : e.map((t, n) => n === 0 ? t.replace(/\/+$/, "") : n === e.length - 1 ? t.replace(/^\/+/, "") : t.replace(/^\/+|\/+$/g, "")).filter(Boolean).join("/");
|
|
9617
9619
|
}
|
|
9618
|
-
function
|
|
9620
|
+
function Ap(e) {
|
|
9619
9621
|
if (!e)
|
|
9620
9622
|
return {
|
|
9621
9623
|
protocol: "",
|
|
@@ -9664,7 +9666,7 @@ function Ip(e) {
|
|
|
9664
9666
|
};
|
|
9665
9667
|
}
|
|
9666
9668
|
}
|
|
9667
|
-
function
|
|
9669
|
+
function Dp(e) {
|
|
9668
9670
|
const {
|
|
9669
9671
|
protocol: t = "https",
|
|
9670
9672
|
hostname: n = "",
|
|
@@ -9679,13 +9681,13 @@ function hp(e) {
|
|
|
9679
9681
|
const s = Qe(r);
|
|
9680
9682
|
return s && (i += `?${s}`), a && (i += a.startsWith("#") ? a : `#${a}`), i;
|
|
9681
9683
|
}
|
|
9682
|
-
function
|
|
9684
|
+
function Cp(e) {
|
|
9683
9685
|
return e ? /^(https?:)?\/\//.test(e) : !1;
|
|
9684
9686
|
}
|
|
9685
|
-
function
|
|
9687
|
+
function vp(e) {
|
|
9686
9688
|
return e ? e.startsWith("/") : !1;
|
|
9687
9689
|
}
|
|
9688
|
-
function
|
|
9690
|
+
function Np(e, t) {
|
|
9689
9691
|
try {
|
|
9690
9692
|
const n = new URL(e), l = new URL(t);
|
|
9691
9693
|
return n.origin === l.origin;
|
|
@@ -9693,17 +9695,17 @@ function Cp(e, t) {
|
|
|
9693
9695
|
return !1;
|
|
9694
9696
|
}
|
|
9695
9697
|
}
|
|
9696
|
-
function
|
|
9698
|
+
function bp(e) {
|
|
9697
9699
|
return encodeURIComponent(e);
|
|
9698
9700
|
}
|
|
9699
|
-
function
|
|
9701
|
+
function jp(e) {
|
|
9700
9702
|
try {
|
|
9701
9703
|
return decodeURIComponent(e);
|
|
9702
9704
|
} catch {
|
|
9703
9705
|
return e;
|
|
9704
9706
|
}
|
|
9705
9707
|
}
|
|
9706
|
-
function
|
|
9708
|
+
function wp(e) {
|
|
9707
9709
|
if (!e) return "";
|
|
9708
9710
|
try {
|
|
9709
9711
|
return encodeURI(decodeURI(e));
|
|
@@ -9711,7 +9713,7 @@ function bp(e) {
|
|
|
9711
9713
|
return encodeURI(e);
|
|
9712
9714
|
}
|
|
9713
9715
|
}
|
|
9714
|
-
function
|
|
9716
|
+
function Sp(e) {
|
|
9715
9717
|
if (!e) return "";
|
|
9716
9718
|
try {
|
|
9717
9719
|
return decodeURI(e);
|
|
@@ -9719,14 +9721,14 @@ function jp(e) {
|
|
|
9719
9721
|
return e;
|
|
9720
9722
|
}
|
|
9721
9723
|
}
|
|
9722
|
-
function
|
|
9724
|
+
function Tp(e, t) {
|
|
9723
9725
|
if (!e) return "";
|
|
9724
9726
|
if (!t || Object.keys(t).length === 0) return e;
|
|
9725
9727
|
const [n, l] = e.split("#"), [o, r] = n.split("?"), i = { ...r ? me("?" + r) : {}, ...t }, s = Qe(i);
|
|
9726
9728
|
let c = o;
|
|
9727
9729
|
return s && (c += `?${s}`), l && (c += `#${l}`), c;
|
|
9728
9730
|
}
|
|
9729
|
-
function
|
|
9731
|
+
function zp(e, t) {
|
|
9730
9732
|
if (!e) return "";
|
|
9731
9733
|
if (!t || t.length === 0) return e;
|
|
9732
9734
|
const [n, l] = e.split("#"), [o, r] = n.split("?");
|
|
@@ -9746,61 +9748,61 @@ function Hn(e) {
|
|
|
9746
9748
|
return "";
|
|
9747
9749
|
}
|
|
9748
9750
|
}
|
|
9749
|
-
function
|
|
9751
|
+
function kp(e) {
|
|
9750
9752
|
const t = Hn(e);
|
|
9751
9753
|
if (!t) return "";
|
|
9752
9754
|
const n = t.split(".");
|
|
9753
9755
|
return n.length <= 2 ? t : n.slice(-2).join(".");
|
|
9754
9756
|
}
|
|
9755
|
-
function
|
|
9757
|
+
function Lp() {
|
|
9756
9758
|
return typeof window > "u" ? "" : window.location.href;
|
|
9757
9759
|
}
|
|
9758
|
-
function
|
|
9760
|
+
function $p() {
|
|
9759
9761
|
return typeof window > "u" ? "" : window.location.pathname;
|
|
9760
9762
|
}
|
|
9761
|
-
function
|
|
9763
|
+
function Vp() {
|
|
9762
9764
|
return typeof window > "u" ? {} : me(window.location.search);
|
|
9763
9765
|
}
|
|
9764
|
-
function
|
|
9766
|
+
function Op() {
|
|
9765
9767
|
return typeof window > "u" ? "" : window.location.hash.replace(/^#/, "");
|
|
9766
9768
|
}
|
|
9767
|
-
const
|
|
9769
|
+
const Ep = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9768
9770
|
__proto__: null,
|
|
9769
|
-
addQueryParams:
|
|
9770
|
-
buildUrl:
|
|
9771
|
-
clearQueryParams:
|
|
9772
|
-
decodeParam:
|
|
9773
|
-
encodeParam:
|
|
9774
|
-
getCurrentHash:
|
|
9775
|
-
getCurrentPath:
|
|
9776
|
-
getCurrentQuery:
|
|
9777
|
-
getCurrentUrl:
|
|
9771
|
+
addQueryParams: Tp,
|
|
9772
|
+
buildUrl: Dp,
|
|
9773
|
+
clearQueryParams: Ip,
|
|
9774
|
+
decodeParam: jp,
|
|
9775
|
+
encodeParam: bp,
|
|
9776
|
+
getCurrentHash: Op,
|
|
9777
|
+
getCurrentPath: $p,
|
|
9778
|
+
getCurrentQuery: Vp,
|
|
9779
|
+
getCurrentUrl: Lp,
|
|
9778
9780
|
getDomain: Hn,
|
|
9779
|
-
getQueryParam:
|
|
9780
|
-
getQueryParams:
|
|
9781
|
-
getRootDomain:
|
|
9782
|
-
isAbsolutePath:
|
|
9783
|
-
isExternalLink:
|
|
9784
|
-
isSameOrigin:
|
|
9785
|
-
joinUrl:
|
|
9781
|
+
getQueryParam: gp,
|
|
9782
|
+
getQueryParams: mp,
|
|
9783
|
+
getRootDomain: kp,
|
|
9784
|
+
isAbsolutePath: vp,
|
|
9785
|
+
isExternalLink: Cp,
|
|
9786
|
+
isSameOrigin: Np,
|
|
9787
|
+
joinUrl: hp,
|
|
9786
9788
|
parseQuery: me,
|
|
9787
|
-
parseUrl:
|
|
9788
|
-
removeQueryParams:
|
|
9789
|
-
removeQueryParamsFromUrl:
|
|
9790
|
-
safeDecodeUrl:
|
|
9791
|
-
safeEncodeUrl:
|
|
9789
|
+
parseUrl: Ap,
|
|
9790
|
+
removeQueryParams: Mp,
|
|
9791
|
+
removeQueryParamsFromUrl: zp,
|
|
9792
|
+
safeDecodeUrl: Sp,
|
|
9793
|
+
safeEncodeUrl: wp,
|
|
9792
9794
|
stringifyQuery: Qe,
|
|
9793
|
-
updateQueryParams:
|
|
9794
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9795
|
-
primary:
|
|
9796
|
-
blue:
|
|
9797
|
-
dark:
|
|
9798
|
-
green:
|
|
9799
|
-
red:
|
|
9800
|
-
negative:
|
|
9801
|
-
yellow:
|
|
9802
|
-
grey:
|
|
9803
|
-
white:
|
|
9795
|
+
updateQueryParams: yp
|
|
9796
|
+
}, Symbol.toStringTag, { value: "Module" })), Pp = "#0B5CFF", Yp = "#0B5CFF", Qp = "#323232", qp = "#2da641", Rp = "#E93030", Up = "#E93030", Bp = "#f2c037", Zp = "#969799", Wp = "#ffffff", Fp = {
|
|
9797
|
+
primary: Pp,
|
|
9798
|
+
blue: Yp,
|
|
9799
|
+
dark: Qp,
|
|
9800
|
+
green: qp,
|
|
9801
|
+
red: Rp,
|
|
9802
|
+
negative: Up,
|
|
9803
|
+
yellow: Bp,
|
|
9804
|
+
grey: Zp,
|
|
9805
|
+
white: Wp,
|
|
9804
9806
|
"blue-light": "#f0f4ff",
|
|
9805
9807
|
"dark-lighter": "#f7f7f7",
|
|
9806
9808
|
"green-light": "#c0e4c6",
|
|
@@ -9812,13 +9814,13 @@ const Vp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9812
9814
|
"grey-lighter": "#f5f6fa",
|
|
9813
9815
|
"dark-strong": "#131523"
|
|
9814
9816
|
};
|
|
9815
|
-
function
|
|
9817
|
+
function zf(e) {
|
|
9816
9818
|
const { app: t, router: n, store: l, i18n: o, pagePermissionIds: r, pageActionPermissionIds: a, defaultLanguage: i, colors: s, disableBFCache: c } = e;
|
|
9817
9819
|
c && window.addEventListener("pageshow", (b) => {
|
|
9818
9820
|
b.persisted && window.location.reload();
|
|
9819
|
-
}),
|
|
9821
|
+
}), Gp(t);
|
|
9820
9822
|
const u = t.config.globalProperties.$q;
|
|
9821
|
-
u ? (Al(u), rt.setQuasarInstance(u),
|
|
9823
|
+
u ? (Al(u), rt.setQuasarInstance(u), pu.setQuasarInstance(u), Jp(u)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), i ? wt(i).catch((b) => {
|
|
9822
9824
|
console.error("[rtcpt] Failed to set default language:", b);
|
|
9823
9825
|
}) : wt("zh-CN").catch((b) => {
|
|
9824
9826
|
console.error("[rtcpt] Failed to load default locale:", b);
|
|
@@ -9831,21 +9833,21 @@ function Sf(e) {
|
|
|
9831
9833
|
iconMapFn: d,
|
|
9832
9834
|
pagePermissionIds: p,
|
|
9833
9835
|
pageActionPermissionIds: I
|
|
9834
|
-
}), p && t.provide(et, p), I && t.provide(Xe, I), s && u &&
|
|
9836
|
+
}), p && t.provide(et, p), I && t.provide(Xe, I), s && u && Hp(s), u && (u.iconMapFn = Sn(u.iconMapFn, d));
|
|
9835
9837
|
}
|
|
9836
|
-
function
|
|
9837
|
-
const n = { ...
|
|
9838
|
+
function Hp(e, t) {
|
|
9839
|
+
const n = { ...Fp, ...e }, l = document.documentElement;
|
|
9838
9840
|
Object.entries(n).forEach(([o, r]) => {
|
|
9839
9841
|
l.style.setProperty(`--j-color-${o}`, r);
|
|
9840
9842
|
}), n.primary && Re("primary", n.primary), n.negative && Re("negative", n.negative), n.green && Re("positive", n.green), n.yellow && Re("warning", n.yellow), n.dark && Re("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
|
|
9841
9843
|
}
|
|
9842
|
-
function
|
|
9844
|
+
function Jp(e) {
|
|
9843
9845
|
const t = ["notify", "dialog"], n = [];
|
|
9844
9846
|
t.forEach((l) => {
|
|
9845
9847
|
e[l] || n.push(l);
|
|
9846
9848
|
}), 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 } })`);
|
|
9847
9849
|
}
|
|
9848
|
-
function
|
|
9850
|
+
function Gp(e) {
|
|
9849
9851
|
var n;
|
|
9850
9852
|
const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
|
|
9851
9853
|
t != null && t["close-popup"] || e.directive("close-popup", ct);
|
|
@@ -9883,92 +9885,92 @@ function Jn(e, t, n = (o) => JSON.stringify(o), l = (o) => JSON.parse(o)) {
|
|
|
9883
9885
|
return window.addEventListener("storage", i), a;
|
|
9884
9886
|
}
|
|
9885
9887
|
const Gn = (e) => e.join(","), _n = (e) => e ? e.split(",").filter(Boolean) : [];
|
|
9886
|
-
function
|
|
9888
|
+
function kf(e) {
|
|
9887
9889
|
return Jn(e, [], Gn, _n);
|
|
9888
9890
|
}
|
|
9889
|
-
function
|
|
9891
|
+
function Lf(e) {
|
|
9890
9892
|
return Jn(e, [], Gn, _n);
|
|
9891
9893
|
}
|
|
9892
|
-
const
|
|
9894
|
+
const $f = {
|
|
9893
9895
|
transformTreeUseLabelAndValue: Jt,
|
|
9894
|
-
JQDownloadFile:
|
|
9895
|
-
generateDownloadFileName:
|
|
9896
|
-
...
|
|
9896
|
+
JQDownloadFile: wu,
|
|
9897
|
+
generateDownloadFileName: Su,
|
|
9898
|
+
...Pr,
|
|
9897
9899
|
formRules: wo,
|
|
9898
|
-
array:
|
|
9899
|
-
dom:
|
|
9900
|
-
formUtils:
|
|
9901
|
-
number:
|
|
9902
|
-
object:
|
|
9903
|
-
perf:
|
|
9900
|
+
array: tc,
|
|
9901
|
+
dom: Oc,
|
|
9902
|
+
formUtils: $u,
|
|
9903
|
+
number: rd,
|
|
9904
|
+
object: Nd,
|
|
9905
|
+
perf: Qd,
|
|
9904
9906
|
regex: to,
|
|
9905
|
-
string:
|
|
9906
|
-
treeUtils:
|
|
9907
|
-
url:
|
|
9907
|
+
string: fp,
|
|
9908
|
+
treeUtils: ju,
|
|
9909
|
+
url: Ep
|
|
9908
9910
|
};
|
|
9909
9911
|
export {
|
|
9910
9912
|
Zt as DialogProvider,
|
|
9911
9913
|
gn as JCCopy,
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
|
|
9914
|
+
Xp as JCDuoListEditor,
|
|
9915
|
+
ef as JCEditableProxy,
|
|
9916
|
+
tf as JCFallback,
|
|
9917
|
+
nf as JCFoldableList,
|
|
9918
|
+
lf as JCFormatLookup,
|
|
9919
|
+
of as JCListEditor,
|
|
9920
|
+
af as JCMoreMenu,
|
|
9921
|
+
rf as JCNestedSelect,
|
|
9922
|
+
pf as JCOrgSelect,
|
|
9921
9923
|
yn as JCPermission,
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
|
|
9925
|
-
|
|
9926
|
-
|
|
9924
|
+
ff as JCPlatform,
|
|
9925
|
+
sf as JCTable,
|
|
9926
|
+
uf as JCTabs,
|
|
9927
|
+
cf as JCTitleLine,
|
|
9928
|
+
Ne as JCTooltip,
|
|
9927
9929
|
ft as JCTooltipEllipsis,
|
|
9928
9930
|
ka as JCTree,
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9931
|
+
df as JCTreeSelect,
|
|
9932
|
+
Ef as JChBar,
|
|
9933
|
+
Pf as JChBarLine,
|
|
9934
|
+
Yf as JChBubble,
|
|
9935
|
+
Qf as JChLine,
|
|
9936
|
+
qf as JChPieDoughnut,
|
|
9937
|
+
Rf as JChRadar,
|
|
9938
|
+
gf as JQAutocomplete,
|
|
9937
9939
|
Ye as JQButton,
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9940
|
+
mf as JQButtonDropdown,
|
|
9941
|
+
yf as JQConfirm,
|
|
9942
|
+
pu as JQConfirmDialog,
|
|
9943
|
+
Mf as JQDate,
|
|
9944
|
+
hf as JQDateMonth,
|
|
9945
|
+
Af as JQDateYear,
|
|
9946
|
+
If as JQDatetime,
|
|
9947
|
+
Df as JQDetailList,
|
|
9946
9948
|
go as JQDialog,
|
|
9947
|
-
|
|
9949
|
+
Cf as JQFile,
|
|
9948
9950
|
Uo as JQFormLabel,
|
|
9949
9951
|
pt as JQInput,
|
|
9950
|
-
|
|
9952
|
+
vf as JQInputRecognize,
|
|
9951
9953
|
rt as JQMessage,
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9954
|
+
Nf as JQNewValue,
|
|
9955
|
+
bf as JQOptionGroup,
|
|
9956
|
+
Tf as JQPagination,
|
|
9957
|
+
jf as JQPopover,
|
|
9958
|
+
wf as JQSearchForm,
|
|
9957
9959
|
Ao as JQSelect,
|
|
9958
|
-
|
|
9960
|
+
Sf as JQTable,
|
|
9959
9961
|
ha as JQTooltip,
|
|
9960
9962
|
Xe as PAGE_ACTION_PERMISSION_KEY,
|
|
9961
9963
|
et as PAGE_PERMISSION_KEY,
|
|
9962
9964
|
Sn as composeIconMapFn,
|
|
9963
|
-
|
|
9965
|
+
$u as formUtils,
|
|
9964
9966
|
Et as getLocale,
|
|
9965
|
-
|
|
9967
|
+
$f as jqTool,
|
|
9966
9968
|
bo as rtcptIconMapFn,
|
|
9967
|
-
|
|
9969
|
+
zf as rtcptInit,
|
|
9968
9970
|
wt as setLocale,
|
|
9969
9971
|
mn as t,
|
|
9970
|
-
|
|
9972
|
+
ju as treeUtils,
|
|
9971
9973
|
X as useI18n,
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
+
Lf as usePageActionPermissionSync,
|
|
9975
|
+
kf as usePagePermissionSync
|
|
9974
9976
|
};
|