elcrm 0.8.45 → 0.8.46
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/index.es.js +233 -233
- package/dist/index.umd.js +6 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import x, { createElement as Ea } from "react";
|
|
|
5
5
|
let wt = {};
|
|
6
6
|
const Ra = (e) => {
|
|
7
7
|
wt = e;
|
|
8
|
-
}, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {},
|
|
8
|
+
}, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {}, V = {}, we = {}, mn = {}, ce = {};
|
|
9
9
|
let St = "M06";
|
|
10
10
|
function Ta(e) {
|
|
11
11
|
St = e;
|
|
@@ -38,7 +38,7 @@ function Fa(e) {
|
|
|
38
38
|
id: b.id,
|
|
39
39
|
time: (/* @__PURE__ */ new Date()).getTime()
|
|
40
40
|
})
|
|
41
|
-
),
|
|
41
|
+
), V.page(b.page);
|
|
42
42
|
}
|
|
43
43
|
function La(e) {
|
|
44
44
|
return localStorage.setItem("d", e);
|
|
@@ -69,28 +69,28 @@ function Aa() {
|
|
|
69
69
|
const [e, t] = x.useState(hn()), a = (r) => {
|
|
70
70
|
t(r);
|
|
71
71
|
};
|
|
72
|
-
return
|
|
72
|
+
return V.page = a, [e];
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
b.page = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
74
|
+
function Ga(e, t = !0) {
|
|
75
|
+
b.page = e, sessionStorage.setItem("f", F.enCode(b)), t && V.page(e);
|
|
76
76
|
}
|
|
77
77
|
function hn() {
|
|
78
78
|
return b.page;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Za(e) {
|
|
81
81
|
return b.page === e;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function za(e) {
|
|
84
84
|
if (typeof e != "function") {
|
|
85
85
|
const [t, a] = x.useState(e || xn()), r = (s) => {
|
|
86
86
|
a(s);
|
|
87
87
|
};
|
|
88
|
-
return
|
|
88
|
+
return V.module = r, [t];
|
|
89
89
|
} else
|
|
90
|
-
|
|
90
|
+
V.module = e;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
b.module = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
92
|
+
function Wa(e, t = !0) {
|
|
93
|
+
b.module = e, sessionStorage.setItem("f", F.enCode(b)), t && V.module(e);
|
|
94
94
|
}
|
|
95
95
|
function xn() {
|
|
96
96
|
return b.module;
|
|
@@ -98,24 +98,24 @@ function xn() {
|
|
|
98
98
|
function Ka(e) {
|
|
99
99
|
return b.module === e;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Ua(e) {
|
|
102
102
|
if (typeof e != "function") {
|
|
103
103
|
const [t, a] = x.useState(e || Je());
|
|
104
|
-
return
|
|
104
|
+
return V.tabs = a, [t];
|
|
105
105
|
} else
|
|
106
|
-
|
|
106
|
+
V.tabs = e;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Va(e, t = !0) {
|
|
109
109
|
if (b.tab = e, sessionStorage.setItem("f", F.enCode(b)), !!t)
|
|
110
|
-
if (
|
|
111
|
-
|
|
110
|
+
if (V.tabs)
|
|
111
|
+
V.tabs(e);
|
|
112
112
|
else
|
|
113
113
|
throw new Error("useTabs not found");
|
|
114
114
|
}
|
|
115
115
|
function Je() {
|
|
116
116
|
return b.tab;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Ya(e) {
|
|
119
119
|
return b.tab === e;
|
|
120
120
|
}
|
|
121
121
|
function Ha(e) {
|
|
@@ -123,15 +123,15 @@ function Ha(e) {
|
|
|
123
123
|
const [t, a] = x.useState(e || pn()), r = (s) => {
|
|
124
124
|
a(s);
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return V.id = r, [t];
|
|
127
127
|
} else
|
|
128
|
-
|
|
128
|
+
V.id = e;
|
|
129
129
|
}
|
|
130
130
|
function qa(e) {
|
|
131
|
-
|
|
131
|
+
V.id = e;
|
|
132
132
|
}
|
|
133
133
|
function Ja(e, t = !0) {
|
|
134
|
-
b.id = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
134
|
+
b.id = e, sessionStorage.setItem("f", F.enCode(b)), t && V.id(e);
|
|
135
135
|
}
|
|
136
136
|
function pn() {
|
|
137
137
|
return b.id;
|
|
@@ -140,7 +140,7 @@ function Xa(e) {
|
|
|
140
140
|
return Number(b.id) === e;
|
|
141
141
|
}
|
|
142
142
|
function Qa(e, t, a) {
|
|
143
|
-
b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)),
|
|
143
|
+
b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)), V.module(e), V.tabs(t);
|
|
144
144
|
}
|
|
145
145
|
function er(e) {
|
|
146
146
|
we.data = e[0], delete we.data.id, document.body.dataset.theme = we.data.s15, localStorage.setItem("s", F.enCode(we.data));
|
|
@@ -171,7 +171,7 @@ function ar() {
|
|
|
171
171
|
return te(), !1;
|
|
172
172
|
}
|
|
173
173
|
function rr(e) {
|
|
174
|
-
|
|
174
|
+
V.sort = e;
|
|
175
175
|
}
|
|
176
176
|
function vn(e) {
|
|
177
177
|
let t = localStorage.getItem("b");
|
|
@@ -300,7 +300,7 @@ const ie = {
|
|
|
300
300
|
setBase: mr,
|
|
301
301
|
editBase: hr,
|
|
302
302
|
loadBase: ur
|
|
303
|
-
}, yn = "
|
|
303
|
+
}, yn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0P3t9OnsiQ29udGVudC10eXBlIjoiYXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04In07dHJ5e2xldCB0PWF3YWl0IGZldGNoKGAke2EuZGF0YS5ob3N0fSR7YS5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOmEuZGF0YS5zc2lkLC4uLnN9LGJvZHk6YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT9hLmRhdGEuZGF0YTpKU09OLnN0cmluZ2lmeShhLmRhdGEuZGF0YSl9KTtwb3N0TWVzc2FnZShhd2FpdCB0Lmpzb24oKSl9Y2F0Y2godCl7cG9zdE1lc3NhZ2Uoe3N0YXR1czoiZXJyb3IiLGRhdGE6IndvcmtlciIsbWVzc2FnZTp0fSl9fX0pKCk7Cg==", xr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), tn = typeof window < "u" && window.Blob && new Blob([xr(yn)], { type: "text/javascript;charset=utf-8" });
|
|
304
304
|
function bn(e) {
|
|
305
305
|
let t;
|
|
306
306
|
try {
|
|
@@ -493,7 +493,7 @@ function Tr() {
|
|
|
493
493
|
var $ = p.displayName || p.name || "";
|
|
494
494
|
return $ !== "" ? k + "(" + $ + ")" : k;
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function Z(c) {
|
|
497
497
|
return c.displayName || "Context";
|
|
498
498
|
}
|
|
499
499
|
function B(c) {
|
|
@@ -521,10 +521,10 @@ function Tr() {
|
|
|
521
521
|
switch (c.$$typeof) {
|
|
522
522
|
case l:
|
|
523
523
|
var p = c;
|
|
524
|
-
return
|
|
524
|
+
return Z(p) + ".Consumer";
|
|
525
525
|
case o:
|
|
526
526
|
var k = c;
|
|
527
|
-
return
|
|
527
|
+
return Z(k._context) + ".Provider";
|
|
528
528
|
case _:
|
|
529
529
|
return le(c, c.render, "ForwardRef");
|
|
530
530
|
case f:
|
|
@@ -541,14 +541,14 @@ function Tr() {
|
|
|
541
541
|
}
|
|
542
542
|
return null;
|
|
543
543
|
}
|
|
544
|
-
var H = Object.assign, q = 0,
|
|
544
|
+
var H = Object.assign, q = 0, Ze, re, Ne, tt, ze, $t, Pt;
|
|
545
545
|
function Ot() {
|
|
546
546
|
}
|
|
547
547
|
Ot.__reactDisabledLog = !0;
|
|
548
548
|
function Xn() {
|
|
549
549
|
{
|
|
550
550
|
if (q === 0) {
|
|
551
|
-
|
|
551
|
+
Ze = console.log, re = console.info, Ne = console.warn, tt = console.error, ze = console.group, $t = console.groupCollapsed, Pt = console.groupEnd;
|
|
552
552
|
var c = {
|
|
553
553
|
configurable: !0,
|
|
554
554
|
enumerable: !0,
|
|
@@ -578,7 +578,7 @@ function Tr() {
|
|
|
578
578
|
};
|
|
579
579
|
Object.defineProperties(console, {
|
|
580
580
|
log: H({}, c, {
|
|
581
|
-
value:
|
|
581
|
+
value: Ze
|
|
582
582
|
}),
|
|
583
583
|
info: H({}, c, {
|
|
584
584
|
value: re
|
|
@@ -590,7 +590,7 @@ function Tr() {
|
|
|
590
590
|
value: tt
|
|
591
591
|
}),
|
|
592
592
|
group: H({}, c, {
|
|
593
|
-
value:
|
|
593
|
+
value: ze
|
|
594
594
|
}),
|
|
595
595
|
groupCollapsed: H({}, c, {
|
|
596
596
|
value: $t
|
|
@@ -604,7 +604,7 @@ function Tr() {
|
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
606
|
var nt = j.ReactCurrentDispatcher, at;
|
|
607
|
-
function
|
|
607
|
+
function We(c, p, k) {
|
|
608
608
|
{
|
|
609
609
|
if (at === void 0)
|
|
610
610
|
try {
|
|
@@ -672,25 +672,25 @@ function Tr() {
|
|
|
672
672
|
if (Q && I && typeof Q.stack == "string") {
|
|
673
673
|
for (var M = Q.stack.split(`
|
|
674
674
|
`), J = I.stack.split(`
|
|
675
|
-
`),
|
|
676
|
-
|
|
677
|
-
for (;
|
|
678
|
-
if (M[
|
|
679
|
-
if (
|
|
675
|
+
`), z = M.length - 1, U = J.length - 1; z >= 1 && U >= 0 && M[z] !== J[U]; )
|
|
676
|
+
U--;
|
|
677
|
+
for (; z >= 1 && U >= 0; z--, U--)
|
|
678
|
+
if (M[z] !== J[U]) {
|
|
679
|
+
if (z !== 1 || U !== 1)
|
|
680
680
|
do
|
|
681
|
-
if (
|
|
681
|
+
if (z--, U--, U < 0 || M[z] !== J[U]) {
|
|
682
682
|
var ne = `
|
|
683
|
-
` + M[
|
|
683
|
+
` + M[z].replace(" at new ", " at ");
|
|
684
684
|
return c.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", c.displayName)), typeof c == "function" && Ke.set(c, ne), ne;
|
|
685
685
|
}
|
|
686
|
-
while (
|
|
686
|
+
while (z >= 1 && U >= 0);
|
|
687
687
|
break;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
} finally {
|
|
691
691
|
rt = !1, nt.current = P, Qn(), Error.prepareStackTrace = $;
|
|
692
692
|
}
|
|
693
|
-
var be = c ? c.displayName || c.name : "", ge = be ?
|
|
693
|
+
var be = c ? c.displayName || c.name : "", ge = be ? We(be) : "";
|
|
694
694
|
return typeof c == "function" && Ke.set(c, ge), ge;
|
|
695
695
|
}
|
|
696
696
|
function ta(c, p, k) {
|
|
@@ -700,42 +700,42 @@ function Tr() {
|
|
|
700
700
|
var p = c.prototype;
|
|
701
701
|
return !!(p && p.isReactComponent);
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Ue(c, p, k) {
|
|
704
704
|
if (c == null)
|
|
705
705
|
return "";
|
|
706
706
|
if (typeof c == "function")
|
|
707
707
|
return At(c, na(c));
|
|
708
708
|
if (typeof c == "string")
|
|
709
|
-
return
|
|
709
|
+
return We(c);
|
|
710
710
|
switch (c) {
|
|
711
711
|
case d:
|
|
712
|
-
return
|
|
712
|
+
return We("Suspense");
|
|
713
713
|
case u:
|
|
714
|
-
return
|
|
714
|
+
return We("SuspenseList");
|
|
715
715
|
}
|
|
716
716
|
if (typeof c == "object")
|
|
717
717
|
switch (c.$$typeof) {
|
|
718
718
|
case _:
|
|
719
719
|
return ta(c.render);
|
|
720
720
|
case f:
|
|
721
|
-
return
|
|
721
|
+
return Ue(c.type, p, k);
|
|
722
722
|
case m: {
|
|
723
723
|
var I = c, $ = I._payload, P = I._init;
|
|
724
724
|
try {
|
|
725
|
-
return
|
|
725
|
+
return Ue(P($), p, k);
|
|
726
726
|
} catch {
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
return "";
|
|
731
731
|
}
|
|
732
|
-
var Ie = Object.prototype.hasOwnProperty,
|
|
733
|
-
function
|
|
732
|
+
var Ie = Object.prototype.hasOwnProperty, Gt = {}, Zt = j.ReactDebugCurrentFrame;
|
|
733
|
+
function Ve(c) {
|
|
734
734
|
if (c) {
|
|
735
|
-
var p = c._owner, k =
|
|
736
|
-
|
|
735
|
+
var p = c._owner, k = Ue(c.type, c._source, p ? p.type : null);
|
|
736
|
+
Zt.setExtraStackFrame(k);
|
|
737
737
|
} else
|
|
738
|
-
|
|
738
|
+
Zt.setExtraStackFrame(null);
|
|
739
739
|
}
|
|
740
740
|
function aa(c, p, k, I, $) {
|
|
741
741
|
{
|
|
@@ -749,10 +749,10 @@ function Tr() {
|
|
|
749
749
|
throw J.name = "Invariant Violation", J;
|
|
750
750
|
}
|
|
751
751
|
M = c[L](p, L, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
752
|
-
} catch (
|
|
753
|
-
M =
|
|
752
|
+
} catch (z) {
|
|
753
|
+
M = z;
|
|
754
754
|
}
|
|
755
|
-
M && !(M instanceof Error) && (
|
|
755
|
+
M && !(M instanceof Error) && (Ve($), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", k, L, typeof M), Ve(null)), M instanceof Error && !(M.message in Gt) && (Gt[M.message] = !0, Ve($), S("Failed %s type: %s", k, M.message), Ve(null));
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
}
|
|
@@ -768,24 +768,24 @@ function Tr() {
|
|
|
768
768
|
}
|
|
769
769
|
function ia(c) {
|
|
770
770
|
try {
|
|
771
|
-
return
|
|
771
|
+
return zt(c), !1;
|
|
772
772
|
} catch {
|
|
773
773
|
return !0;
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function zt(c) {
|
|
777
777
|
return "" + c;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Wt(c) {
|
|
780
780
|
if (ia(c))
|
|
781
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)),
|
|
781
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)), zt(c);
|
|
782
782
|
}
|
|
783
783
|
var Te = j.ReactCurrentOwner, oa = {
|
|
784
784
|
key: !0,
|
|
785
785
|
ref: !0,
|
|
786
786
|
__self: !0,
|
|
787
787
|
__source: !0
|
|
788
|
-
}, Kt,
|
|
788
|
+
}, Kt, Ut, it;
|
|
789
789
|
it = {};
|
|
790
790
|
function la(c) {
|
|
791
791
|
if (Ie.call(c, "ref")) {
|
|
@@ -823,7 +823,7 @@ function Tr() {
|
|
|
823
823
|
function ua(c, p) {
|
|
824
824
|
{
|
|
825
825
|
var k = function() {
|
|
826
|
-
|
|
826
|
+
Ut || (Ut = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
|
|
827
827
|
};
|
|
828
828
|
k.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
829
829
|
get: k,
|
|
@@ -863,35 +863,35 @@ function Tr() {
|
|
|
863
863
|
function ma(c, p, k, I, $) {
|
|
864
864
|
{
|
|
865
865
|
var P, L = {}, M = null, J = null;
|
|
866
|
-
k !== void 0 && (
|
|
866
|
+
k !== void 0 && (Wt(k), M = "" + k), ca(p) && (Wt(p.key), M = "" + p.key), la(p) && (J = p.ref, da(p, $));
|
|
867
867
|
for (P in p)
|
|
868
868
|
Ie.call(p, P) && !oa.hasOwnProperty(P) && (L[P] = p[P]);
|
|
869
869
|
if (c && c.defaultProps) {
|
|
870
|
-
var
|
|
871
|
-
for (P in
|
|
872
|
-
L[P] === void 0 && (L[P] =
|
|
870
|
+
var z = c.defaultProps;
|
|
871
|
+
for (P in z)
|
|
872
|
+
L[P] === void 0 && (L[P] = z[P]);
|
|
873
873
|
}
|
|
874
874
|
if (M || J) {
|
|
875
|
-
var
|
|
876
|
-
M && _a(L,
|
|
875
|
+
var U = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
876
|
+
M && _a(L, U), J && ua(L, U);
|
|
877
877
|
}
|
|
878
878
|
return fa(c, M, J, $, I, Te.current, L);
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
|
-
var ot = j.ReactCurrentOwner,
|
|
881
|
+
var ot = j.ReactCurrentOwner, Vt = j.ReactDebugCurrentFrame;
|
|
882
882
|
function ye(c) {
|
|
883
883
|
if (c) {
|
|
884
|
-
var p = c._owner, k =
|
|
885
|
-
|
|
884
|
+
var p = c._owner, k = Ue(c.type, c._source, p ? p.type : null);
|
|
885
|
+
Vt.setExtraStackFrame(k);
|
|
886
886
|
} else
|
|
887
|
-
|
|
887
|
+
Vt.setExtraStackFrame(null);
|
|
888
888
|
}
|
|
889
889
|
var lt;
|
|
890
890
|
lt = !1;
|
|
891
891
|
function ct(c) {
|
|
892
892
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Yt() {
|
|
895
895
|
{
|
|
896
896
|
if (ot.current) {
|
|
897
897
|
var c = B(ot.current.type);
|
|
@@ -909,7 +909,7 @@ Check the render method of \`` + c + "`.";
|
|
|
909
909
|
var Ht = {};
|
|
910
910
|
function xa(c) {
|
|
911
911
|
{
|
|
912
|
-
var p =
|
|
912
|
+
var p = Yt();
|
|
913
913
|
if (!p) {
|
|
914
914
|
var k = typeof c == "string" ? c : c.displayName || c.name;
|
|
915
915
|
k && (p = `
|
|
@@ -996,13 +996,13 @@ Check the top-level render call using <` + k + ">.");
|
|
|
996
996
|
var M = "";
|
|
997
997
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
998
998
|
var J = ha();
|
|
999
|
-
J ? M += J : M +=
|
|
1000
|
-
var
|
|
1001
|
-
c === null ?
|
|
999
|
+
J ? M += J : M += Yt();
|
|
1000
|
+
var z;
|
|
1001
|
+
c === null ? z = "null" : st(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + (B(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, M);
|
|
1002
1002
|
}
|
|
1003
|
-
var
|
|
1004
|
-
if (
|
|
1005
|
-
return
|
|
1003
|
+
var U = ma(c, p, k, $, P);
|
|
1004
|
+
if (U == null)
|
|
1005
|
+
return U;
|
|
1006
1006
|
if (L) {
|
|
1007
1007
|
var ne = p.children;
|
|
1008
1008
|
if (ne !== void 0)
|
|
@@ -1030,7 +1030,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1030
1030
|
<%s key={someKey} {...props} />`, dt, ge, ya, ge), Xt[ge + dt] = !0;
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
|
-
return c === r ? ga(
|
|
1033
|
+
return c === r ? ga(U) : pa(U), U;
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
1036
|
function va(c, p, k) {
|
|
@@ -1104,15 +1104,15 @@ function Ar(e) {
|
|
|
1104
1104
|
let t = Date.now(), a = { key: t, text: e, type: "error" };
|
|
1105
1105
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function Gr(e) {
|
|
1108
1108
|
let t = Date.now(), a = { key: t, text: e, type: "success" };
|
|
1109
1109
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Zr(e) {
|
|
1112
1112
|
let t = Date.now(), a = { key: t, text: e, type: "remark" };
|
|
1113
1113
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function zr(e) {
|
|
1116
1116
|
let t = Date.now(), a = { key: t, text: e, type: "copy" };
|
|
1117
1117
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1118
1118
|
}
|
|
@@ -1149,14 +1149,14 @@ ve.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
1151
1151
|
] });
|
|
1152
|
-
const
|
|
1153
|
-
alerts:
|
|
1152
|
+
const Wr = "_alerts_1pds5_1", Kr = "_menuAnimation_1pds5_1", Ur = "_menuItemAnimation_1pds5_1", Vr = "_allert_1pds5_111", Yr = "_al_1pds5_1", pt = {
|
|
1153
|
+
alerts: Wr,
|
|
1154
1154
|
menuAnimation: Kr,
|
|
1155
|
-
menuItemAnimation:
|
|
1155
|
+
menuItemAnimation: Ur,
|
|
1156
1156
|
"--body": "_--body_1pds5_103",
|
|
1157
|
-
allert:
|
|
1157
|
+
allert: Vr,
|
|
1158
1158
|
"--form": "_--form_1pds5_111",
|
|
1159
|
-
al:
|
|
1159
|
+
al: Yr
|
|
1160
1160
|
};
|
|
1161
1161
|
let Be = {};
|
|
1162
1162
|
function Hr() {
|
|
@@ -1183,20 +1183,20 @@ const qr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "По
|
|
|
1183
1183
|
function Jr(e, t) {
|
|
1184
1184
|
Be.set(/* @__PURE__ */ n.jsx(qr, { data: e, callback: t }));
|
|
1185
1185
|
}
|
|
1186
|
-
const $e = { Send: Or, Error: Ar, Remark:
|
|
1186
|
+
const $e = { Send: Or, Error: Ar, Remark: Zr, Success: Gr, Copy: zr }, He = {
|
|
1187
1187
|
Path: Qa,
|
|
1188
|
-
setPage:
|
|
1188
|
+
setPage: Ga,
|
|
1189
1189
|
getPage: hn,
|
|
1190
1190
|
usePage: Aa,
|
|
1191
|
-
isPage:
|
|
1192
|
-
setModule:
|
|
1191
|
+
isPage: Za,
|
|
1192
|
+
setModule: Wa,
|
|
1193
1193
|
getModule: xn,
|
|
1194
|
-
useModule:
|
|
1194
|
+
useModule: za,
|
|
1195
1195
|
isModule: Ka,
|
|
1196
|
-
setTabs:
|
|
1196
|
+
setTabs: Va,
|
|
1197
1197
|
getTabs: Je,
|
|
1198
|
-
useTabs:
|
|
1199
|
-
isTabs:
|
|
1198
|
+
useTabs: Ua,
|
|
1199
|
+
isTabs: Ya,
|
|
1200
1200
|
useId: Ha,
|
|
1201
1201
|
setId: Ja,
|
|
1202
1202
|
subId: qa,
|
|
@@ -1283,7 +1283,7 @@ function es() {
|
|
|
1283
1283
|
const ts = "_n_euuvm_1", ns = {
|
|
1284
1284
|
n: ts
|
|
1285
1285
|
};
|
|
1286
|
-
let
|
|
1286
|
+
let Ge = {}, Fe = [];
|
|
1287
1287
|
const as = (e, t) => {
|
|
1288
1288
|
switch (t.type) {
|
|
1289
1289
|
case "open":
|
|
@@ -1325,7 +1325,7 @@ const as = (e, t) => {
|
|
|
1325
1325
|
r = { ...e.take, ...r }, e.active = !1;
|
|
1326
1326
|
for (let s in r)
|
|
1327
1327
|
r[s] !== "999" && (e.active = !0);
|
|
1328
|
-
return
|
|
1328
|
+
return Ge.get(r, e.active), {
|
|
1329
1329
|
...e,
|
|
1330
1330
|
take: r,
|
|
1331
1331
|
active: e.active
|
|
@@ -1337,16 +1337,16 @@ const as = (e, t) => {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
};
|
|
1339
1339
|
function rs(e) {
|
|
1340
|
-
|
|
1340
|
+
Ge.fn({ action: "add", data: e });
|
|
1341
1341
|
}
|
|
1342
1342
|
function ss(e) {
|
|
1343
|
-
|
|
1343
|
+
Ge.fn({ action: "add", data: e });
|
|
1344
1344
|
}
|
|
1345
1345
|
function is(e) {
|
|
1346
|
-
|
|
1346
|
+
Ge.fn({ action: "new", data: e });
|
|
1347
1347
|
}
|
|
1348
1348
|
function os(e) {
|
|
1349
|
-
|
|
1349
|
+
Ge.fn = e;
|
|
1350
1350
|
}
|
|
1351
1351
|
function ls() {
|
|
1352
1352
|
const [e, t] = x.useReducer(as, {
|
|
@@ -1491,7 +1491,7 @@ function fs() {
|
|
|
1491
1491
|
t[e[a].id] = {}, t[e[a].id].name = e[a].a;
|
|
1492
1492
|
}), t;
|
|
1493
1493
|
}
|
|
1494
|
-
let oe = {},
|
|
1494
|
+
let oe = {}, Y = {}, Ye = [
|
|
1495
1495
|
"filter",
|
|
1496
1496
|
"online",
|
|
1497
1497
|
"users",
|
|
@@ -1506,8 +1506,8 @@ function ms() {
|
|
|
1506
1506
|
function s(i) {
|
|
1507
1507
|
const o = new _s();
|
|
1508
1508
|
oe.laodData = (l) => {
|
|
1509
|
-
let _ =
|
|
1510
|
-
_ >= 0 &&
|
|
1509
|
+
let _ = Ye.indexOf(l);
|
|
1510
|
+
_ >= 0 && Ye.splice(_, 1), Ye.length === 0 && t(!0);
|
|
1511
1511
|
}, oe.send = (l) => {
|
|
1512
1512
|
o.port.postMessage({ type: "send", json: l });
|
|
1513
1513
|
}, o.port.onmessage = (l) => {
|
|
@@ -1516,7 +1516,7 @@ function ms() {
|
|
|
1516
1516
|
type: "connect",
|
|
1517
1517
|
ukey: i,
|
|
1518
1518
|
lk: mt()
|
|
1519
|
-
}),
|
|
1519
|
+
}), Ye.length !== 0 && oe.laodData(_.type), Y[_.type] && Y[_.type](_);
|
|
1520
1520
|
}, o.port.postMessage({
|
|
1521
1521
|
type: "connect",
|
|
1522
1522
|
ukey: i,
|
|
@@ -1525,23 +1525,23 @@ function ms() {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
return [s, e, a];
|
|
1527
1527
|
}
|
|
1528
|
-
|
|
1528
|
+
Y.module = (e) => {
|
|
1529
1529
|
oe[e.listen] !== void 0 && (oe[e.listen](e), delete oe[e.listen]);
|
|
1530
1530
|
};
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1531
|
+
Y.bell = is;
|
|
1532
|
+
Y.company = us;
|
|
1533
|
+
Y.info = (e) => {
|
|
1534
1534
|
let t = {};
|
|
1535
1535
|
t.db = e.db, t.id = e.data.id, t.job = e.data.job, t.login = e.data.login, t.name = e.data.p02, t.patronymic = e.data.p03, t.surname = e.data.p01, t.email = e.data.email, t.admin = e.data.menu.includes("99"), jn(t), gn(e.data.menu);
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1537
|
+
Y.version = async (e) => {
|
|
1538
1538
|
Et.version.Server(e.data);
|
|
1539
1539
|
};
|
|
1540
|
-
|
|
1540
|
+
Y.online = async (e) => {
|
|
1541
1541
|
};
|
|
1542
|
-
|
|
1542
|
+
Y.offline = async (e) => {
|
|
1543
1543
|
};
|
|
1544
|
-
|
|
1544
|
+
Y.chat = (e) => {
|
|
1545
1545
|
switch (e.data.action) {
|
|
1546
1546
|
case "new_message":
|
|
1547
1547
|
He.getModule();
|
|
@@ -1554,7 +1554,7 @@ V.chat = (e) => {
|
|
|
1554
1554
|
break;
|
|
1555
1555
|
}
|
|
1556
1556
|
};
|
|
1557
|
-
|
|
1557
|
+
Y.users = (e) => {
|
|
1558
1558
|
let t = {};
|
|
1559
1559
|
e.data.forEach((r) => {
|
|
1560
1560
|
let s = r.p01 + " " + r.p02 + " " + r.p03, i = r.p01 + " " + r.p02.substring(0, 1) + "." + r.p03.substring(0, 1) + ".", o = r.p01.substring(0, 1) + "" + r.p02.substring(0, 1) + r.p03.substring(0, 1);
|
|
@@ -1574,31 +1574,31 @@ V.users = (e) => {
|
|
|
1574
1574
|
let a = { ...je(), user: t };
|
|
1575
1575
|
Oe(a);
|
|
1576
1576
|
};
|
|
1577
|
-
|
|
1577
|
+
Y.api = (e) => {
|
|
1578
1578
|
let t = {};
|
|
1579
1579
|
e.data.forEach((a) => {
|
|
1580
1580
|
t[a.api] = { key: a.key, p01: a.p01, p02: a.p02 };
|
|
1581
1581
|
});
|
|
1582
1582
|
};
|
|
1583
|
-
|
|
1583
|
+
Y.delete = () => {
|
|
1584
1584
|
te();
|
|
1585
1585
|
};
|
|
1586
|
-
|
|
1586
|
+
Y.select = (e) => {
|
|
1587
1587
|
let t = { ...je() };
|
|
1588
1588
|
e.data.forEach((a) => {
|
|
1589
1589
|
t[a.n] = JSON.parse(a.s);
|
|
1590
1590
|
}), Oe(t);
|
|
1591
1591
|
};
|
|
1592
|
-
|
|
1592
|
+
Y.job = (e) => {
|
|
1593
1593
|
let t = { ...je() }, a = {};
|
|
1594
1594
|
Object.keys(e.data).forEach((r) => {
|
|
1595
1595
|
a[r] = { s: 1, n: e.data[r] };
|
|
1596
1596
|
}), t[1] = a, Oe(t);
|
|
1597
1597
|
};
|
|
1598
|
-
|
|
1598
|
+
Y.setting = (e) => {
|
|
1599
1599
|
er(e.data);
|
|
1600
1600
|
};
|
|
1601
|
-
|
|
1601
|
+
Y.app = () => {
|
|
1602
1602
|
};
|
|
1603
1603
|
const hs = (e, t) => {
|
|
1604
1604
|
oe[e] = t;
|
|
@@ -2057,21 +2057,21 @@ const K = {
|
|
|
2057
2057
|
function Fs({ children: e }) {
|
|
2058
2058
|
return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
|
|
2059
2059
|
}
|
|
2060
|
-
const Ls = "_white_11p39_14", Bs = "_black_11p39_26", $s = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14",
|
|
2060
|
+
const Ls = "_white_11p39_14", Bs = "_black_11p39_26", $s = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14", Gs = "_h_11p39_107", Zs = "_l_11p39_121", zs = "_t_11p39_159", Ws = "_m_11p39_73", Ks = "_x_11p39_167", Us = "_s_11p39_177", Vs = "_c_11p39_182", Ys = "_f_11p39_187", Hs = "_btn_11p39_230", qs = "_g_11p39_243", Js = "_confirm_11p39_322", Xs = "_cancel_11p39_327", Qs = "_disabled_11p39_332", ei = "_active_11p39_389", ti = "_coincidence_11p39_395", ni = "_sa_11p39_431", ai = "_ss_11p39_435", ri = "_sm_11p39_439", si = "_sl_11p39_443", ii = "_sx_11p39_447", oi = "_sf_11p39_451", se = {
|
|
2061
2061
|
white: Ls,
|
|
2062
2062
|
black: Bs,
|
|
2063
2063
|
shake: $s,
|
|
2064
2064
|
modal: Ps,
|
|
2065
2065
|
o: Os,
|
|
2066
2066
|
w: As,
|
|
2067
|
-
h:
|
|
2068
|
-
l:
|
|
2069
|
-
t:
|
|
2070
|
-
m:
|
|
2067
|
+
h: Gs,
|
|
2068
|
+
l: Zs,
|
|
2069
|
+
t: zs,
|
|
2070
|
+
m: Ws,
|
|
2071
2071
|
x: Ks,
|
|
2072
|
-
s:
|
|
2073
|
-
c:
|
|
2074
|
-
f:
|
|
2072
|
+
s: Us,
|
|
2073
|
+
c: Vs,
|
|
2074
|
+
f: Ys,
|
|
2075
2075
|
btn: Hs,
|
|
2076
2076
|
g: qs,
|
|
2077
2077
|
"size-a": "_size-a_11p39_296",
|
|
@@ -2328,7 +2328,7 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2328
2328
|
H: on,
|
|
2329
2329
|
M: Ai,
|
|
2330
2330
|
F: dn
|
|
2331
|
-
},
|
|
2331
|
+
}, Gi = (e, t) => {
|
|
2332
2332
|
switch (t.type) {
|
|
2333
2333
|
case "load":
|
|
2334
2334
|
return {
|
|
@@ -2389,14 +2389,14 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2389
2389
|
default:
|
|
2390
2390
|
return e;
|
|
2391
2391
|
}
|
|
2392
|
-
},
|
|
2392
|
+
}, Zi = () => ({
|
|
2393
2393
|
load: !0,
|
|
2394
2394
|
list: [],
|
|
2395
2395
|
name: "Файлы",
|
|
2396
2396
|
add: !1,
|
|
2397
2397
|
search: !1,
|
|
2398
2398
|
revers: !0
|
|
2399
|
-
}),
|
|
2399
|
+
}), zi = () => {
|
|
2400
2400
|
let [e, t] = x.useState([]);
|
|
2401
2401
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsxs("div", { className: "upload view", children: [
|
|
2402
2402
|
/* @__PURE__ */ n.jsxs("div", { className: "--head", children: [
|
|
@@ -2412,14 +2412,14 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2412
2412
|
] }),
|
|
2413
2413
|
/* @__PURE__ */ n.jsx("div", { className: "--list", children: e.map((a) => a) })
|
|
2414
2414
|
] }) : "" });
|
|
2415
|
-
},
|
|
2415
|
+
}, Wi = ({
|
|
2416
2416
|
id: e,
|
|
2417
2417
|
name: t,
|
|
2418
2418
|
listen: a,
|
|
2419
2419
|
dir: r
|
|
2420
2420
|
}) => {
|
|
2421
2421
|
t = t || "Файлы";
|
|
2422
|
-
const [s, i] = x.useReducer(
|
|
2422
|
+
const [s, i] = x.useReducer(Gi, {}, Zi), o = () => {
|
|
2423
2423
|
Qe.Add(
|
|
2424
2424
|
/* @__PURE__ */ n.jsx(
|
|
2425
2425
|
Ki,
|
|
@@ -2471,7 +2471,7 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2471
2471
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
2472
2472
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
2473
2473
|
/* @__PURE__ */ n.jsx("i", {})
|
|
2474
|
-
] }) : s.list.length === 0 ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : s.list.map((l, _) => /* @__PURE__ */ n.jsx(
|
|
2474
|
+
] }) : s.list.length === 0 ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : s.list.map((l, _) => /* @__PURE__ */ n.jsx(Ui, { dispatch: i, data: l }, _)) })
|
|
2475
2475
|
] });
|
|
2476
2476
|
}, Ki = ({ id: e, dir: t, dispatch: a }) => {
|
|
2477
2477
|
let [r, s] = x.useState(!0), i = x.useRef(null), o = (d) => {
|
|
@@ -2522,7 +2522,7 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2522
2522
|
},
|
|
2523
2523
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2524
2524
|
) }) : "" });
|
|
2525
|
-
},
|
|
2525
|
+
}, Ui = ({ data: e, dispatch: t }) => {
|
|
2526
2526
|
let a = async () => {
|
|
2527
2527
|
let i = await (await fetch(nn.url().files + "/yandex/data/" + e.id, {
|
|
2528
2528
|
headers: {
|
|
@@ -2571,15 +2571,15 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2571
2571
|
/* @__PURE__ */ n.jsx("div", { className: "f080", children: K.Size(e.size) })
|
|
2572
2572
|
] });
|
|
2573
2573
|
}, Rt = { setSetting: tr, getSetting: nr };
|
|
2574
|
-
let
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
const
|
|
2574
|
+
let G = {};
|
|
2575
|
+
G.list = _r();
|
|
2576
|
+
G.active = null;
|
|
2577
|
+
const Vi = () => {
|
|
2578
2578
|
var s;
|
|
2579
2579
|
let [e, t] = x.useState([]), [a, r] = x.useState(Rt.getSetting("s03"));
|
|
2580
2580
|
return x.useEffect(() => {
|
|
2581
2581
|
(async () => {
|
|
2582
|
-
let i = Object.keys(
|
|
2582
|
+
let i = Object.keys(G.list);
|
|
2583
2583
|
if (i.length !== 0) {
|
|
2584
2584
|
let o = [];
|
|
2585
2585
|
i.forEach((l, _) => {
|
|
@@ -2587,24 +2587,24 @@ const Ui = () => {
|
|
|
2587
2587
|
item: /* @__PURE__ */ n.jsx(
|
|
2588
2588
|
gt,
|
|
2589
2589
|
{
|
|
2590
|
-
data:
|
|
2590
|
+
data: G.list[l]
|
|
2591
2591
|
},
|
|
2592
|
-
|
|
2592
|
+
G.list[l].id
|
|
2593
2593
|
),
|
|
2594
|
-
link:
|
|
2594
|
+
link: G.list[l].link
|
|
2595
2595
|
});
|
|
2596
2596
|
}), t(o);
|
|
2597
2597
|
}
|
|
2598
2598
|
})();
|
|
2599
|
-
}, []),
|
|
2599
|
+
}, []), G.active = (i) => {
|
|
2600
2600
|
var o;
|
|
2601
2601
|
r(i), (o = document.querySelector("app-body")) == null || o.setAttribute("bookmarks", i === 1 ? "bottom" : "");
|
|
2602
|
-
},
|
|
2602
|
+
}, G.set = (i) => {
|
|
2603
2603
|
t([
|
|
2604
2604
|
...e,
|
|
2605
2605
|
{ item: /* @__PURE__ */ n.jsx(gt, { data: i }, i.id), link: i.link }
|
|
2606
2606
|
]);
|
|
2607
|
-
},
|
|
2607
|
+
}, G.del = (i) => {
|
|
2608
2608
|
e.forEach((o, l) => {
|
|
2609
2609
|
o.link === i && e.splice(l, 1);
|
|
2610
2610
|
}), t([...e]);
|
|
@@ -2612,15 +2612,15 @@ const Ui = () => {
|
|
|
2612
2612
|
"bookmarks",
|
|
2613
2613
|
a === 1 && e.length !== 0 ? "bottom" : ""
|
|
2614
2614
|
), a !== 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsx("div", { className: "bookmarks", children: e.map((i) => i.item) }) : "" }) : "";
|
|
2615
|
-
},
|
|
2615
|
+
}, Yi = ({ id: e, type: t, name: a }) => {
|
|
2616
2616
|
let r = t + "-" + e, [s, i] = x.useState(
|
|
2617
|
-
|
|
2617
|
+
G.list[r] !== void 0
|
|
2618
2618
|
);
|
|
2619
2619
|
x.useEffect(() => {
|
|
2620
|
-
i(
|
|
2620
|
+
i(G.list[r] !== void 0);
|
|
2621
2621
|
}, [r]);
|
|
2622
2622
|
let o = () => {
|
|
2623
|
-
|
|
2623
|
+
G.list[r] !== void 0 ? (G.del(r), delete G.list[r], en(G.list), i(!1), $e.Send({ type: "success", text: "Запись удален из закладок" })) : (G.list[r] = { id: e, name: a, type: t, link: r }, G.set(G.list[r]), en(G.list), i(!0), $e.Send({
|
|
2624
2624
|
type: "success",
|
|
2625
2625
|
text: "Запись добавлен в закладки"
|
|
2626
2626
|
}));
|
|
@@ -2635,13 +2635,13 @@ const Ui = () => {
|
|
|
2635
2635
|
) : "" });
|
|
2636
2636
|
}, gt = ({ data: e }) => {
|
|
2637
2637
|
let t = (r) => {
|
|
2638
|
-
r.preventDefault(), delete
|
|
2638
|
+
r.preventDefault(), delete G.list[e.link], G.del(e.link);
|
|
2639
2639
|
}, a = () => {
|
|
2640
2640
|
He.setId(e.id);
|
|
2641
2641
|
};
|
|
2642
2642
|
return /* @__PURE__ */ n.jsx("span", { onContextMenu: t, onClick: a, children: e.name });
|
|
2643
2643
|
}, Hi = (e) => {
|
|
2644
|
-
|
|
2644
|
+
G.active(e);
|
|
2645
2645
|
}, O = {}, vt = {}, y = {};
|
|
2646
2646
|
y.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
|
|
2647
2647
|
y.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
|
|
@@ -2972,11 +2972,11 @@ const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule &&
|
|
|
2972
2972
|
/* @__PURE__ */ n.jsx(mi, { config: t.modal }),
|
|
2973
2973
|
/* @__PURE__ */ n.jsx(Pr, {}),
|
|
2974
2974
|
/* @__PURE__ */ n.jsx(Hr, {}),
|
|
2975
|
-
/* @__PURE__ */ n.jsx(
|
|
2975
|
+
/* @__PURE__ */ n.jsx(zi, {}),
|
|
2976
2976
|
/* @__PURE__ */ n.jsx(to, {}),
|
|
2977
2977
|
/* @__PURE__ */ n.jsx(oo, {}),
|
|
2978
2978
|
/* @__PURE__ */ n.jsx(qi, {}),
|
|
2979
|
-
/* @__PURE__ */ n.jsx(
|
|
2979
|
+
/* @__PURE__ */ n.jsx(Vi, {}),
|
|
2980
2980
|
e
|
|
2981
2981
|
] })
|
|
2982
2982
|
)), co = ({ children: e, ...t }) => /* @__PURE__ */ n.jsx("menu", { children: e }), _o = ({ children: e, ...t }) => /* @__PURE__ */ n.jsxs("header", { children: [
|
|
@@ -3082,7 +3082,7 @@ function Rn({ list: e, onClick: t, active: a, size: r, view: s }) {
|
|
|
3082
3082
|
}
|
|
3083
3083
|
const To = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
|
|
3084
3084
|
Rn.defaultProps = { size: "M", view: "H" };
|
|
3085
|
-
const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon:
|
|
3085
|
+
const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon: Yi, Item: gt, Active: Hi }, Ql = { Send: Jr, Line: En };
|
|
3086
3086
|
function Do() {
|
|
3087
3087
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
3088
3088
|
"path",
|
|
@@ -3170,7 +3170,7 @@ function Ao(e) {
|
|
|
3170
3170
|
et.count(e);
|
|
3171
3171
|
}
|
|
3172
3172
|
const tc = { Init: Bo, useValue: $o, Set: Po, Run: Oo, Count: Ao }, qe = {}, Nn = {};
|
|
3173
|
-
function
|
|
3173
|
+
function Go(e) {
|
|
3174
3174
|
const [t, a] = x.useState({}), r = async (s) => {
|
|
3175
3175
|
a(
|
|
3176
3176
|
Object.keys(qe).reduce((i, o) => (i ? i[o] = qe[o].all : i = {}, i), {})
|
|
@@ -3180,15 +3180,15 @@ function Zo(e) {
|
|
|
3180
3180
|
e.forEach((s) => qe[s] = { all: 0 }), Nn.menu = r, r();
|
|
3181
3181
|
}, [e]), t;
|
|
3182
3182
|
}
|
|
3183
|
-
function
|
|
3183
|
+
function Zo(e, t) {
|
|
3184
3184
|
switch (typeof t) {
|
|
3185
3185
|
case "number":
|
|
3186
3186
|
qe[e].all += t, Nn.menu();
|
|
3187
3187
|
break;
|
|
3188
3188
|
}
|
|
3189
3189
|
}
|
|
3190
|
-
const nc = { useMenu:
|
|
3191
|
-
class
|
|
3190
|
+
const nc = { useMenu: Go, setUpdate: Zo };
|
|
3191
|
+
class zo {
|
|
3192
3192
|
constructor(t = "el", a = "db") {
|
|
3193
3193
|
_t(this, "storeName");
|
|
3194
3194
|
_t(this, "_dbp");
|
|
@@ -3208,21 +3208,21 @@ class Wo {
|
|
|
3208
3208
|
);
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
|
-
let ut,
|
|
3212
|
-
const Re = () => (ut || (ut = new
|
|
3213
|
-
|
|
3214
|
-
}), de = (e, t = Re()) =>
|
|
3211
|
+
let ut, W = {};
|
|
3212
|
+
const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withIDBStore("readwrite", (r) => {
|
|
3213
|
+
W[e] = t, r.put(F.enCode(t), e);
|
|
3214
|
+
}), de = (e, t = Re()) => W[e] === void 0 ? new Promise((a, r) => {
|
|
3215
3215
|
let s;
|
|
3216
3216
|
t._withIDBStore("readonly", (i) => {
|
|
3217
3217
|
s = i.get(e);
|
|
3218
3218
|
}).then(() => {
|
|
3219
3219
|
if (s.result !== void 0) {
|
|
3220
3220
|
let i = F.deCode(s.result);
|
|
3221
|
-
|
|
3221
|
+
W[e] = i, a(i);
|
|
3222
3222
|
} else
|
|
3223
3223
|
a({});
|
|
3224
3224
|
});
|
|
3225
|
-
}) :
|
|
3225
|
+
}) : W[e], Wo = (e, t = Re()) => t._withIDBStore("readwrite", (a) => {
|
|
3226
3226
|
a.delete(e);
|
|
3227
3227
|
}), jt = (e = Re()) => e._withIDBStore("readwrite", (t) => {
|
|
3228
3228
|
t.clear();
|
|
@@ -3233,7 +3233,7 @@ const Re = () => (ut || (ut = new Wo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3233
3233
|
this.result && (t.push(this.result.key), this.result.continue());
|
|
3234
3234
|
};
|
|
3235
3235
|
}).then(() => t);
|
|
3236
|
-
},
|
|
3236
|
+
}, Uo = (e, t, a = [], r = {}) => {
|
|
3237
3237
|
let s = a.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, _ = Object.keys(r), d = Object.keys(e), u = [], f = (h) => {
|
|
3238
3238
|
let C = "";
|
|
3239
3239
|
if (a.forEach((v) => {
|
|
@@ -3255,8 +3255,8 @@ const Re = () => (ut || (ut = new Wo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3255
3255
|
}), u.forEach((h) => {
|
|
3256
3256
|
h === void 0 ? (jt(), location.reload()) : (s && f(h.id), l && m(h.id));
|
|
3257
3257
|
}), { list: u, search: i, filter: r };
|
|
3258
|
-
},
|
|
3259
|
-
if (
|
|
3258
|
+
}, Vo = (e, t, a, r = Re()) => {
|
|
3259
|
+
if (W[e] === void 0)
|
|
3260
3260
|
return new Promise((s, i) => {
|
|
3261
3261
|
let o;
|
|
3262
3262
|
r._withIDBStore("readonly", (l) => {
|
|
@@ -3264,19 +3264,19 @@ const Re = () => (ut || (ut = new Wo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3264
3264
|
}).then(() => {
|
|
3265
3265
|
if (o.result !== void 0) {
|
|
3266
3266
|
let l = F.deCode(o.result);
|
|
3267
|
-
|
|
3268
|
-
...
|
|
3267
|
+
W[e] = l, W[e][t.id] = {
|
|
3268
|
+
...W[e][t.id],
|
|
3269
3269
|
...t.data
|
|
3270
|
-
}, r.put(F.enCode(
|
|
3270
|
+
}, r.put(F.enCode(W[e]), e), s({});
|
|
3271
3271
|
} else
|
|
3272
3272
|
s({});
|
|
3273
3273
|
});
|
|
3274
3274
|
});
|
|
3275
|
-
if (
|
|
3276
|
-
return
|
|
3277
|
-
s.put(F.enCode(
|
|
3275
|
+
if (W[e][t.id] !== void 0)
|
|
3276
|
+
return W[e][t.id] = { ...W[e][t.id], ...t.data }, a !== void 0 && W[a] !== void 0 ? W[a][t.id] !== void 0 && (W[a][t.id] = t.data.eDate) : W[a] = [], delete W[e][t.id].$_item, delete W[e][t.id].$_send, r._withIDBStore("readwrite", (s) => {
|
|
3277
|
+
s.put(F.enCode(W[e]), e), a !== void 0 && s.put(F.enCode(W[a]), a);
|
|
3278
3278
|
});
|
|
3279
|
-
},
|
|
3279
|
+
}, Yo = async (e, t, a, r) => {
|
|
3280
3280
|
let s, i;
|
|
3281
3281
|
i = await de(a), i[e.id] = e, await pe(a, i), s !== null && (s = await de(t), s[e.id] = e.eDate, await pe(t, s)), r !== void 0 && r({ type: "load", page: s, base: i });
|
|
3282
3282
|
}, Ho = async (e, t, a, r) => {
|
|
@@ -3299,16 +3299,16 @@ const Re = () => (ut || (ut = new Wo()), ut), pe = (e, t, a = Re()) => a._withID
|
|
|
3299
3299
|
a({ type: "load", base: r });
|
|
3300
3300
|
else
|
|
3301
3301
|
return r[e];
|
|
3302
|
-
}, el = (e) =>
|
|
3302
|
+
}, el = (e) => W[e], ac = {
|
|
3303
3303
|
id: Qo,
|
|
3304
3304
|
get: de,
|
|
3305
3305
|
set: pe,
|
|
3306
|
-
add:
|
|
3307
|
-
del:
|
|
3308
|
-
upd:
|
|
3306
|
+
add: Yo,
|
|
3307
|
+
del: Wo,
|
|
3308
|
+
upd: Vo,
|
|
3309
3309
|
key: Ko,
|
|
3310
3310
|
load: el,
|
|
3311
|
-
split:
|
|
3311
|
+
split: Uo,
|
|
3312
3312
|
clear: jt,
|
|
3313
3313
|
updAll: Ho,
|
|
3314
3314
|
delAll: qo,
|
|
@@ -3400,7 +3400,7 @@ function ol({
|
|
|
3400
3400
|
}
|
|
3401
3401
|
);
|
|
3402
3402
|
}
|
|
3403
|
-
const sc = { Widget:
|
|
3403
|
+
const sc = { Widget: Wi }, Tn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
|
|
3404
3404
|
"div",
|
|
3405
3405
|
{
|
|
3406
3406
|
role: "switch",
|
|
@@ -5671,20 +5671,20 @@ function Mt({
|
|
|
5671
5671
|
className: h = ""
|
|
5672
5672
|
}) {
|
|
5673
5673
|
_ = _ !== void 0 ? _ : !0, d = d !== void 0 ? d : !0, l = !!(l && (e === "" || e === void 0)) && !(_ && d), x.useRef(null);
|
|
5674
|
-
let v = "+_(___) ___-__-__", g = !0, j = 0, S = (
|
|
5674
|
+
let v = "+_(___) ___-__-__", g = !0, j = 0, S = (Z, B) => {
|
|
5675
5675
|
let H = document.createRange(), q = window.getSelection();
|
|
5676
|
-
H.setStart(B.childNodes[0],
|
|
5677
|
-
}, T = (
|
|
5678
|
-
|
|
5676
|
+
H.setStart(B.childNodes[0], Z), H.collapse(!0), q.removeAllRanges(), q.addRange(H), B.focus();
|
|
5677
|
+
}, T = (Z) => {
|
|
5678
|
+
Z.preventDefault(), navigator.clipboard.readText().then((B) => {
|
|
5679
5679
|
window.document.execCommand("insertText", !1, B);
|
|
5680
5680
|
}).catch((B) => {
|
|
5681
5681
|
});
|
|
5682
|
-
}, D = (
|
|
5683
|
-
let B = 0, H = "", q =
|
|
5682
|
+
}, D = (Z) => {
|
|
5683
|
+
let B = 0, H = "", q = Z.replace(/\D/g, "");
|
|
5684
5684
|
q === "" && (g = !0);
|
|
5685
|
-
let
|
|
5686
|
-
|
|
5687
|
-
g && (re +=
|
|
5685
|
+
let Ze = q.split(""), re = "";
|
|
5686
|
+
Ze.forEach((ze) => {
|
|
5687
|
+
g && (re += ze, ft[re] !== void 0 && g ? (g = !1, v = ft[re].mask.replace(new RegExp("[0-9]", "g"), "_"), H = ft[re].code) : (g && (j = ("" + re).length, v = `+${re}_(___) ___-__-__`.replace(
|
|
5688
5688
|
new RegExp("[0-9]", "g"),
|
|
5689
5689
|
"_"
|
|
5690
5690
|
), H = ""), j > ("" + re).length && (g = !0, v = `+${re}_(___) ___-__-__`.replace(
|
|
@@ -5696,23 +5696,23 @@ function Mt({
|
|
|
5696
5696
|
return Ne.length >= q.length && (q = Ne), { q: v.replace(/[_\d]/g, function() {
|
|
5697
5697
|
return q.charAt(B++) || "_";
|
|
5698
5698
|
}), i: B, v: q, f: H };
|
|
5699
|
-
}, w = (
|
|
5700
|
-
|
|
5699
|
+
}, w = (Z) => {
|
|
5700
|
+
Z.preventDefault(), navigator.clipboard.writeText(Z.target.textContent.replace(/\D/g, "")).then(
|
|
5701
5701
|
function() {
|
|
5702
5702
|
$e.Copy("Данные в буфер обмене");
|
|
5703
5703
|
},
|
|
5704
5704
|
function(B) {
|
|
5705
5705
|
}
|
|
5706
5706
|
);
|
|
5707
|
-
}, R = D(e), E = (
|
|
5708
|
-
let B = D(
|
|
5709
|
-
|
|
5710
|
-
}, N = (
|
|
5711
|
-
|
|
5707
|
+
}, R = D(e), E = (Z) => {
|
|
5708
|
+
let B = D(Z.target.textContent);
|
|
5709
|
+
Z.target.textContent = B.q, B.i = B.q.lastIndexOf(B.v.substr(-1)), B.i < B.q.length && B.q !== v ? B.i++ : B.i = B.q.indexOf("_"), S(B.i, Z.target), t && t({ value: B.q.replace(/\D/g, ""), name: r });
|
|
5710
|
+
}, N = (Z) => {
|
|
5711
|
+
Z.key === "Enter" && Z.preventDefault();
|
|
5712
5712
|
};
|
|
5713
|
-
const A = (
|
|
5714
|
-
ue.Blur(
|
|
5715
|
-
value:
|
|
5713
|
+
const A = (Z) => {
|
|
5714
|
+
ue.Blur(Z), a && a({
|
|
5715
|
+
value: Z.target.textContent.replace(/\D/g, ""),
|
|
5716
5716
|
name: r
|
|
5717
5717
|
});
|
|
5718
5718
|
}, X = {};
|
|
@@ -5736,7 +5736,7 @@ function Mt({
|
|
|
5736
5736
|
o && /* @__PURE__ */ n.jsx("em", { children: o })
|
|
5737
5737
|
] });
|
|
5738
5738
|
}
|
|
5739
|
-
const
|
|
5739
|
+
const Gn = (e) => {
|
|
5740
5740
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, s = e.placeholder !== void 0 ? e.placeholder : "", i = 0, o = () => {
|
|
5741
5741
|
clearTimeout(i), i = setTimeout(() => {
|
|
5742
5742
|
}, 1e3);
|
|
@@ -6097,7 +6097,7 @@ function yt({
|
|
|
6097
6097
|
);
|
|
6098
6098
|
}
|
|
6099
6099
|
}
|
|
6100
|
-
function
|
|
6100
|
+
function Zn({
|
|
6101
6101
|
value: e,
|
|
6102
6102
|
onValue: t,
|
|
6103
6103
|
name: a,
|
|
@@ -6145,7 +6145,7 @@ function Gn({
|
|
|
6145
6145
|
i ?? /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6146
6146
|
] });
|
|
6147
6147
|
}
|
|
6148
|
-
function
|
|
6148
|
+
function zn({
|
|
6149
6149
|
value: e,
|
|
6150
6150
|
onValue: t,
|
|
6151
6151
|
name: a,
|
|
@@ -6307,7 +6307,7 @@ const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6307
6307
|
)
|
|
6308
6308
|
] }) : "" });
|
|
6309
6309
|
};
|
|
6310
|
-
function
|
|
6310
|
+
function Wn({
|
|
6311
6311
|
onValue: e,
|
|
6312
6312
|
label: t,
|
|
6313
6313
|
value: a,
|
|
@@ -6362,7 +6362,7 @@ const hl = ({ label: e, onValue: t, value: a, name: r, item: s }) => {
|
|
|
6362
6362
|
}
|
|
6363
6363
|
);
|
|
6364
6364
|
};
|
|
6365
|
-
function
|
|
6365
|
+
function Un({
|
|
6366
6366
|
value: e,
|
|
6367
6367
|
onValue: t,
|
|
6368
6368
|
name: a,
|
|
@@ -6468,7 +6468,7 @@ function Yn({
|
|
|
6468
6468
|
] });
|
|
6469
6469
|
}
|
|
6470
6470
|
const xl = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, a) => (t[a] = !0, t), {}));
|
|
6471
|
-
function
|
|
6471
|
+
function Vn({
|
|
6472
6472
|
value: e,
|
|
6473
6473
|
onValue: t,
|
|
6474
6474
|
name: a,
|
|
@@ -6560,7 +6560,7 @@ const ic = {
|
|
|
6560
6560
|
Color: $n,
|
|
6561
6561
|
Date: Nt,
|
|
6562
6562
|
Code: Bn,
|
|
6563
|
-
Check:
|
|
6563
|
+
Check: Wn,
|
|
6564
6564
|
Switch: Tn,
|
|
6565
6565
|
Input: Pe,
|
|
6566
6566
|
Button: Dn,
|
|
@@ -6574,11 +6574,11 @@ const ic = {
|
|
|
6574
6574
|
Number: Dt,
|
|
6575
6575
|
Password: An,
|
|
6576
6576
|
Phone: Mt,
|
|
6577
|
-
Search:
|
|
6577
|
+
Search: Gn,
|
|
6578
6578
|
Select: Ft,
|
|
6579
6579
|
Set: yt,
|
|
6580
|
-
Textarea:
|
|
6581
|
-
Time:
|
|
6580
|
+
Textarea: Zn,
|
|
6581
|
+
Time: zn,
|
|
6582
6582
|
Users: Lt,
|
|
6583
6583
|
String: Pe,
|
|
6584
6584
|
Form: yt,
|
|
@@ -6587,13 +6587,13 @@ const ic = {
|
|
|
6587
6587
|
setValue: gl,
|
|
6588
6588
|
Palette: hl,
|
|
6589
6589
|
Toogle: Kn,
|
|
6590
|
-
Group:
|
|
6591
|
-
Options:
|
|
6590
|
+
Group: Un,
|
|
6591
|
+
Options: Vn
|
|
6592
6592
|
}, oc = {
|
|
6593
6593
|
Color: $n,
|
|
6594
6594
|
Date: Nt,
|
|
6595
6595
|
Code: Bn,
|
|
6596
|
-
Check:
|
|
6596
|
+
Check: Wn,
|
|
6597
6597
|
Switch: Tn,
|
|
6598
6598
|
Input: Pe,
|
|
6599
6599
|
Button: Dn,
|
|
@@ -6607,23 +6607,23 @@ const ic = {
|
|
|
6607
6607
|
Number: Dt,
|
|
6608
6608
|
Password: An,
|
|
6609
6609
|
Phone: Mt,
|
|
6610
|
-
Search:
|
|
6610
|
+
Search: Gn,
|
|
6611
6611
|
Select: Ft,
|
|
6612
6612
|
Set: yt,
|
|
6613
|
-
Textarea:
|
|
6614
|
-
Time:
|
|
6613
|
+
Textarea: Zn,
|
|
6614
|
+
Time: zn,
|
|
6615
6615
|
Users: Lt,
|
|
6616
6616
|
String: Pe,
|
|
6617
6617
|
Toogle: Kn,
|
|
6618
|
-
Group:
|
|
6619
|
-
Options:
|
|
6620
|
-
}, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1",
|
|
6618
|
+
Group: Un,
|
|
6619
|
+
Options: Vn
|
|
6620
|
+
}, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1", Yn = {
|
|
6621
6621
|
spinner: Cl,
|
|
6622
6622
|
l: kl,
|
|
6623
6623
|
loadingB: jl
|
|
6624
6624
|
};
|
|
6625
6625
|
function yl() {
|
|
6626
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
6626
|
+
return /* @__PURE__ */ n.jsx("div", { className: Yn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
|
|
6627
6627
|
"path",
|
|
6628
6628
|
{
|
|
6629
6629
|
d: "M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",
|
|
@@ -6632,7 +6632,7 @@ function yl() {
|
|
|
6632
6632
|
) }) });
|
|
6633
6633
|
}
|
|
6634
6634
|
function bl() {
|
|
6635
|
-
return /* @__PURE__ */ n.jsxs("div", { className:
|
|
6635
|
+
return /* @__PURE__ */ n.jsxs("div", { className: Yn.l, children: [
|
|
6636
6636
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6637
6637
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6638
6638
|
/* @__PURE__ */ n.jsx("i", {})
|
|
@@ -6878,11 +6878,11 @@ function Ol({ data: e, head: t, state: a, dispatch: r, type: s }) {
|
|
|
6878
6878
|
}
|
|
6879
6879
|
);
|
|
6880
6880
|
}
|
|
6881
|
-
const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: $l, Count: Hn, Reset: Bl }, _c = { Bell: ls, Send: ss, Add: rs }, Al = "_p_djnh1_1",
|
|
6881
|
+
const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: $l, Count: Hn, Reset: Bl }, _c = { Bell: ls, Send: ss, Add: rs }, Al = "_p_djnh1_1", Gl = "_l_djnh1_38", qn = {
|
|
6882
6882
|
p: Al,
|
|
6883
|
-
l:
|
|
6883
|
+
l: Gl
|
|
6884
6884
|
};
|
|
6885
|
-
function
|
|
6885
|
+
function Zl(e) {
|
|
6886
6886
|
let t = 3, a = e.page, r = e.count, s = [], i = () => {
|
|
6887
6887
|
s.push({ page: 1 }), s.push({ text: "..." });
|
|
6888
6888
|
}, o = () => {
|
|
@@ -6900,7 +6900,7 @@ function Gl(e) {
|
|
|
6900
6900
|
/* @__PURE__ */ n.jsx("i", { onClick: () => e.onChangePage(a + 1), children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ n.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) })
|
|
6901
6901
|
] });
|
|
6902
6902
|
}
|
|
6903
|
-
function
|
|
6903
|
+
function zl(e, t) {
|
|
6904
6904
|
switch (t.type) {
|
|
6905
6905
|
case "load":
|
|
6906
6906
|
return {
|
|
@@ -6922,7 +6922,7 @@ function Wl(e, t) {
|
|
|
6922
6922
|
}
|
|
6923
6923
|
}
|
|
6924
6924
|
function Jn({ load: e, list: t, item: a }) {
|
|
6925
|
-
const r = x.useRef(null), [s, i] = x.useReducer(
|
|
6925
|
+
const r = x.useRef(null), [s, i] = x.useReducer(zl, {
|
|
6926
6926
|
load: !1,
|
|
6927
6927
|
list: [],
|
|
6928
6928
|
data: {},
|
|
@@ -6948,7 +6948,7 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
6948
6948
|
/* @__PURE__ */ n.jsx("i", {})
|
|
6949
6949
|
] }) }) }),
|
|
6950
6950
|
s.load && s.list !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
6951
|
-
|
|
6951
|
+
Zl,
|
|
6952
6952
|
{
|
|
6953
6953
|
page: s.page,
|
|
6954
6954
|
count: s.size,
|
|
@@ -6958,7 +6958,7 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
6958
6958
|
] });
|
|
6959
6959
|
}
|
|
6960
6960
|
const uc = { Pagination: Jn };
|
|
6961
|
-
function
|
|
6961
|
+
function Wl({ head: e, load: t, list: a, item: r }) {
|
|
6962
6962
|
const s = e;
|
|
6963
6963
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
6964
6964
|
/* @__PURE__ */ n.jsx(s, {}),
|
|
@@ -7007,13 +7007,13 @@ function Kl(e, t) {
|
|
|
7007
7007
|
}
|
|
7008
7008
|
}
|
|
7009
7009
|
const bt = {};
|
|
7010
|
-
function
|
|
7010
|
+
function Ul(e) {
|
|
7011
7011
|
bt.get = e;
|
|
7012
7012
|
}
|
|
7013
|
-
function
|
|
7013
|
+
function Vl(e) {
|
|
7014
7014
|
bt.get && bt.get(e);
|
|
7015
7015
|
}
|
|
7016
|
-
const fc = { View:
|
|
7016
|
+
const fc = { View: Wl, Reducer: Kl, useValue: Ul, setValue: Vl }, mc = { Get: fs }, hc = { Open: Ji };
|
|
7017
7017
|
function xc({ active: e, onActive: t, id: a, name: r }) {
|
|
7018
7018
|
const [s, i] = x.useState(!!e);
|
|
7019
7019
|
x.useEffect(() => {
|