elcrm 0.5.9 → 0.6.0
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 +213 -213
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -96,13 +96,13 @@ function Aa(e) {
|
|
|
96
96
|
};
|
|
97
97
|
return Q.tabs = s, [t];
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function za(e, t) {
|
|
100
100
|
E.tab = e, sessionStorage.setItem("f", D.enCode(E)), t !== "false" && Q.tabs(e);
|
|
101
101
|
}
|
|
102
102
|
function He() {
|
|
103
103
|
return E.tab;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Za(e) {
|
|
106
106
|
const [t, n] = g.useState(E.id), s = (r) => {
|
|
107
107
|
if (e)
|
|
108
108
|
return e(r);
|
|
@@ -110,16 +110,16 @@ function Ga(e) {
|
|
|
110
110
|
};
|
|
111
111
|
return Q.id = s, [t];
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Ga(e) {
|
|
114
114
|
Q.id = e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Ka(e, t = !0) {
|
|
117
117
|
E.id = e, sessionStorage.setItem("f", D.enCode(E)), t && Q.id(e);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Wa() {
|
|
120
120
|
return E.id;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Va(e, t, n) {
|
|
123
123
|
E.module = e, E.id = n, E.tab = t, sessionStorage.setItem("f", D.enCode(E)), Q.module(e), Q.tabs(t);
|
|
124
124
|
}
|
|
125
125
|
function Ua(e) {
|
|
@@ -245,7 +245,7 @@ const se = {
|
|
|
245
245
|
setUser: vn,
|
|
246
246
|
getUser: ns,
|
|
247
247
|
getDefaultModules: Ra
|
|
248
|
-
}, Cn = "
|
|
248
|
+
}, Cn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBzPT57dHJ5e2xldCBhPWF3YWl0IGZldGNoKGAke3MuZGF0YS5ob3N0fSR7cy5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOnMuZGF0YS5zc2lkfSxib2R5OkpTT04uc3RyaW5naWZ5KHMuZGF0YS5kYXRhKX0pO3Bvc3RNZXNzYWdlKGF3YWl0IGEuanNvbigpKX1jYXRjaHtwb3N0TWVzc2FnZSh7c3RhdHVzOiJlcnJvciJ9KX19fSkoKTsK", ss = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), en = typeof window < "u" && window.Blob && new Blob([ss(Cn)], { type: "text/javascript;charset=utf-8" });
|
|
249
249
|
function kn(e) {
|
|
250
250
|
let t;
|
|
251
251
|
try {
|
|
@@ -415,7 +415,7 @@ function ps() {
|
|
|
415
415
|
}
|
|
416
416
|
var R = !1, b = !1, L = !1, X = !1, B = !1, U;
|
|
417
417
|
U = Symbol.for("react.module.reference");
|
|
418
|
-
function
|
|
418
|
+
function W(o) {
|
|
419
419
|
return !!(typeof o == "string" || typeof o == "function" || o === s || o === i || B || o === r || o === d || o === u || X || o === x || R || b || L || typeof o == "object" && o !== null && (o.$$typeof === h || o.$$typeof === m || o.$$typeof === c || o.$$typeof === l || o.$$typeof === _ || // This needs to include all possible module reference object
|
|
420
420
|
// types supported by any Flight configuration anywhere since
|
|
421
421
|
// we don't know which Flight build this will end up being used
|
|
@@ -432,7 +432,7 @@ function ps() {
|
|
|
432
432
|
function ae(o) {
|
|
433
433
|
return o.displayName || "Context";
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function G(o) {
|
|
436
436
|
if (o == null)
|
|
437
437
|
return null;
|
|
438
438
|
if (typeof o.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
@@ -465,11 +465,11 @@ function ps() {
|
|
|
465
465
|
return $(o, o.render, "ForwardRef");
|
|
466
466
|
case m:
|
|
467
467
|
var S = o.displayName || null;
|
|
468
|
-
return S !== null ? S :
|
|
468
|
+
return S !== null ? S : G(o.type) || "Memo";
|
|
469
469
|
case h: {
|
|
470
470
|
var M = o, F = M._payload, I = M._init;
|
|
471
471
|
try {
|
|
472
|
-
return
|
|
472
|
+
return G(I(F));
|
|
473
473
|
} catch {
|
|
474
474
|
return null;
|
|
475
475
|
}
|
|
@@ -477,14 +477,14 @@ function ps() {
|
|
|
477
477
|
}
|
|
478
478
|
return null;
|
|
479
479
|
}
|
|
480
|
-
var le = Object.assign, H = 0, Ee, Je,
|
|
480
|
+
var le = Object.assign, H = 0, Ee, Je, ze, Ft, Lt, $t, Pt;
|
|
481
481
|
function Bt() {
|
|
482
482
|
}
|
|
483
483
|
Bt.__reactDisabledLog = !0;
|
|
484
484
|
function Yn() {
|
|
485
485
|
{
|
|
486
486
|
if (H === 0) {
|
|
487
|
-
Ee = console.log, Je = console.info,
|
|
487
|
+
Ee = console.log, Je = console.info, ze = console.warn, Ft = console.error, Lt = console.group, $t = console.groupCollapsed, Pt = console.groupEnd;
|
|
488
488
|
var o = {
|
|
489
489
|
configurable: !0,
|
|
490
490
|
enumerable: !0,
|
|
@@ -520,7 +520,7 @@ function ps() {
|
|
|
520
520
|
value: Je
|
|
521
521
|
}),
|
|
522
522
|
warn: le({}, o, {
|
|
523
|
-
value:
|
|
523
|
+
value: ze
|
|
524
524
|
}),
|
|
525
525
|
error: le({}, o, {
|
|
526
526
|
value: Ft
|
|
@@ -540,7 +540,7 @@ function ps() {
|
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
var Xe = y.ReactCurrentDispatcher, Qe;
|
|
543
|
-
function
|
|
543
|
+
function Ze(o, f, v) {
|
|
544
544
|
{
|
|
545
545
|
if (Qe === void 0)
|
|
546
546
|
try {
|
|
@@ -553,16 +553,16 @@ function ps() {
|
|
|
553
553
|
` + Qe + o;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
var et = !1,
|
|
556
|
+
var et = !1, Ge;
|
|
557
557
|
{
|
|
558
558
|
var qn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
559
|
-
|
|
559
|
+
Ge = new qn();
|
|
560
560
|
}
|
|
561
561
|
function Ot(o, f) {
|
|
562
562
|
if (!o || et)
|
|
563
563
|
return "";
|
|
564
564
|
{
|
|
565
|
-
var v =
|
|
565
|
+
var v = Ge.get(o);
|
|
566
566
|
if (v !== void 0)
|
|
567
567
|
return v;
|
|
568
568
|
}
|
|
@@ -608,26 +608,26 @@ function ps() {
|
|
|
608
608
|
if (q && S && typeof q.stack == "string") {
|
|
609
609
|
for (var T = q.stack.split(`
|
|
610
610
|
`), Y = S.stack.split(`
|
|
611
|
-
`), A = T.length - 1,
|
|
612
|
-
|
|
613
|
-
for (; A >= 1 &&
|
|
614
|
-
if (T[A] !== Y[
|
|
615
|
-
if (A !== 1 ||
|
|
611
|
+
`), A = T.length - 1, K = Y.length - 1; A >= 1 && K >= 0 && T[A] !== Y[K]; )
|
|
612
|
+
K--;
|
|
613
|
+
for (; A >= 1 && K >= 0; A--, K--)
|
|
614
|
+
if (T[A] !== Y[K]) {
|
|
615
|
+
if (A !== 1 || K !== 1)
|
|
616
616
|
do
|
|
617
|
-
if (A--,
|
|
617
|
+
if (A--, K--, K < 0 || T[A] !== Y[K]) {
|
|
618
618
|
var te = `
|
|
619
619
|
` + T[A].replace(" at new ", " at ");
|
|
620
|
-
return o.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
620
|
+
return o.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", o.displayName)), typeof o == "function" && Ge.set(o, te), te;
|
|
621
621
|
}
|
|
622
|
-
while (A >= 1 &&
|
|
622
|
+
while (A >= 1 && K >= 0);
|
|
623
623
|
break;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} finally {
|
|
627
627
|
et = !1, Xe.current = F, Hn(), Error.prepareStackTrace = M;
|
|
628
628
|
}
|
|
629
|
-
var Ce = o ? o.displayName || o.name : "", fe = Ce ?
|
|
630
|
-
return typeof o == "function" &&
|
|
629
|
+
var Ce = o ? o.displayName || o.name : "", fe = Ce ? Ze(Ce) : "";
|
|
630
|
+
return typeof o == "function" && Ge.set(o, fe), fe;
|
|
631
631
|
}
|
|
632
632
|
function Jn(o, f, v) {
|
|
633
633
|
return Ot(o, !1);
|
|
@@ -636,42 +636,42 @@ function ps() {
|
|
|
636
636
|
var f = o.prototype;
|
|
637
637
|
return !!(f && f.isReactComponent);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function Ke(o, f, v) {
|
|
640
640
|
if (o == null)
|
|
641
641
|
return "";
|
|
642
642
|
if (typeof o == "function")
|
|
643
643
|
return Ot(o, Xn(o));
|
|
644
644
|
if (typeof o == "string")
|
|
645
|
-
return
|
|
645
|
+
return Ze(o);
|
|
646
646
|
switch (o) {
|
|
647
647
|
case d:
|
|
648
|
-
return
|
|
648
|
+
return Ze("Suspense");
|
|
649
649
|
case u:
|
|
650
|
-
return
|
|
650
|
+
return Ze("SuspenseList");
|
|
651
651
|
}
|
|
652
652
|
if (typeof o == "object")
|
|
653
653
|
switch (o.$$typeof) {
|
|
654
654
|
case _:
|
|
655
655
|
return Jn(o.render);
|
|
656
656
|
case m:
|
|
657
|
-
return
|
|
657
|
+
return Ke(o.type, f, v);
|
|
658
658
|
case h: {
|
|
659
659
|
var S = o, M = S._payload, F = S._init;
|
|
660
660
|
try {
|
|
661
|
-
return
|
|
661
|
+
return Ke(F(M), f, v);
|
|
662
662
|
} catch {
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
return "";
|
|
667
667
|
}
|
|
668
|
-
var Re = Object.prototype.hasOwnProperty, At = {},
|
|
669
|
-
function
|
|
668
|
+
var Re = Object.prototype.hasOwnProperty, At = {}, zt = y.ReactDebugCurrentFrame;
|
|
669
|
+
function We(o) {
|
|
670
670
|
if (o) {
|
|
671
|
-
var f = o._owner, v =
|
|
672
|
-
|
|
671
|
+
var f = o._owner, v = Ke(o.type, o._source, f ? f.type : null);
|
|
672
|
+
zt.setExtraStackFrame(v);
|
|
673
673
|
} else
|
|
674
|
-
|
|
674
|
+
zt.setExtraStackFrame(null);
|
|
675
675
|
}
|
|
676
676
|
function Qn(o, f, v, S, M) {
|
|
677
677
|
{
|
|
@@ -688,7 +688,7 @@ function ps() {
|
|
|
688
688
|
} catch (A) {
|
|
689
689
|
T = A;
|
|
690
690
|
}
|
|
691
|
-
T && !(T instanceof Error) && (
|
|
691
|
+
T && !(T instanceof Error) && (We(M), j("%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).", S || "React class", v, I, typeof T), We(null)), T instanceof Error && !(T.message in At) && (At[T.message] = !0, We(M), j("Failed %s type: %s", v, T.message), We(null));
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}
|
|
@@ -704,24 +704,24 @@ function ps() {
|
|
|
704
704
|
}
|
|
705
705
|
function na(o) {
|
|
706
706
|
try {
|
|
707
|
-
return
|
|
707
|
+
return Zt(o), !1;
|
|
708
708
|
} catch {
|
|
709
709
|
return !0;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Zt(o) {
|
|
713
713
|
return "" + o;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Gt(o) {
|
|
716
716
|
if (na(o))
|
|
717
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ta(o)),
|
|
717
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ta(o)), Zt(o);
|
|
718
718
|
}
|
|
719
719
|
var Ne = y.ReactCurrentOwner, aa = {
|
|
720
720
|
key: !0,
|
|
721
721
|
ref: !0,
|
|
722
722
|
__self: !0,
|
|
723
723
|
__source: !0
|
|
724
|
-
},
|
|
724
|
+
}, Kt, Wt, nt;
|
|
725
725
|
nt = {};
|
|
726
726
|
function sa(o) {
|
|
727
727
|
if (Re.call(o, "ref")) {
|
|
@@ -741,14 +741,14 @@ function ps() {
|
|
|
741
741
|
}
|
|
742
742
|
function ia(o, f) {
|
|
743
743
|
if (typeof o.ref == "string" && Ne.current && f && Ne.current.stateNode !== f) {
|
|
744
|
-
var v =
|
|
745
|
-
nt[v] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
744
|
+
var v = G(Ne.current.type);
|
|
745
|
+
nt[v] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Ne.current.type), o.ref), nt[v] = !0);
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
function oa(o, f) {
|
|
749
749
|
{
|
|
750
750
|
var v = function() {
|
|
751
|
-
|
|
751
|
+
Kt || (Kt = !0, j("%s: `key` 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)", f));
|
|
752
752
|
};
|
|
753
753
|
v.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
754
754
|
get: v,
|
|
@@ -759,7 +759,7 @@ function ps() {
|
|
|
759
759
|
function la(o, f) {
|
|
760
760
|
{
|
|
761
761
|
var v = function() {
|
|
762
|
-
|
|
762
|
+
Wt || (Wt = !0, j("%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)", f));
|
|
763
763
|
};
|
|
764
764
|
v.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
765
765
|
get: v,
|
|
@@ -799,7 +799,7 @@ function ps() {
|
|
|
799
799
|
function da(o, f, v, S, M) {
|
|
800
800
|
{
|
|
801
801
|
var F, I = {}, T = null, Y = null;
|
|
802
|
-
v !== void 0 && (
|
|
802
|
+
v !== void 0 && (Gt(v), T = "" + v), ra(f) && (Gt(f.key), T = "" + f.key), sa(f) && (Y = f.ref, ia(f, M));
|
|
803
803
|
for (F in f)
|
|
804
804
|
Re.call(f, F) && !aa.hasOwnProperty(F) && (I[F] = f[F]);
|
|
805
805
|
if (o && o.defaultProps) {
|
|
@@ -808,19 +808,19 @@ function ps() {
|
|
|
808
808
|
I[F] === void 0 && (I[F] = A[F]);
|
|
809
809
|
}
|
|
810
810
|
if (T || Y) {
|
|
811
|
-
var
|
|
812
|
-
T && oa(I,
|
|
811
|
+
var K = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
812
|
+
T && oa(I, K), Y && la(I, K);
|
|
813
813
|
}
|
|
814
814
|
return ca(o, T, Y, M, S, Ne.current, I);
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
|
-
var at = y.ReactCurrentOwner,
|
|
817
|
+
var at = y.ReactCurrentOwner, Vt = y.ReactDebugCurrentFrame;
|
|
818
818
|
function ve(o) {
|
|
819
819
|
if (o) {
|
|
820
|
-
var f = o._owner, v =
|
|
821
|
-
|
|
820
|
+
var f = o._owner, v = Ke(o.type, o._source, f ? f.type : null);
|
|
821
|
+
Vt.setExtraStackFrame(v);
|
|
822
822
|
} else
|
|
823
|
-
|
|
823
|
+
Vt.setExtraStackFrame(null);
|
|
824
824
|
}
|
|
825
825
|
var st;
|
|
826
826
|
st = !1;
|
|
@@ -830,7 +830,7 @@ function ps() {
|
|
|
830
830
|
function Ut() {
|
|
831
831
|
{
|
|
832
832
|
if (at.current) {
|
|
833
|
-
var o =
|
|
833
|
+
var o = G(at.current.type);
|
|
834
834
|
if (o)
|
|
835
835
|
return `
|
|
836
836
|
|
|
@@ -865,7 +865,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
865
865
|
return;
|
|
866
866
|
Yt[v] = !0;
|
|
867
867
|
var S = "";
|
|
868
|
-
o && o._owner && o._owner !== at.current && (S = " It was passed a child from " +
|
|
868
|
+
o && o._owner && o._owner !== at.current && (S = " It was passed a child from " + G(o._owner.type) + "."), ve(o), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, S), ve(null);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
function qt(o, f) {
|
|
@@ -902,11 +902,11 @@ Check the top-level render call using <` + v + ">.");
|
|
|
902
902
|
else
|
|
903
903
|
return;
|
|
904
904
|
if (v) {
|
|
905
|
-
var S =
|
|
905
|
+
var S = G(f);
|
|
906
906
|
Qn(v, o.props, "prop", S, o);
|
|
907
907
|
} else if (f.PropTypes !== void 0 && !st) {
|
|
908
908
|
st = !0;
|
|
909
|
-
var M =
|
|
909
|
+
var M = G(f);
|
|
910
910
|
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", M || "Unknown");
|
|
911
911
|
}
|
|
912
912
|
typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -927,18 +927,18 @@ Check the top-level render call using <` + v + ">.");
|
|
|
927
927
|
var Jt = {};
|
|
928
928
|
function Xt(o, f, v, S, M, F) {
|
|
929
929
|
{
|
|
930
|
-
var I =
|
|
930
|
+
var I = W(o);
|
|
931
931
|
if (!I) {
|
|
932
932
|
var T = "";
|
|
933
933
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
934
934
|
var Y = _a();
|
|
935
935
|
Y ? T += Y : T += Ut();
|
|
936
936
|
var A;
|
|
937
|
-
o === null ? A = "null" : tt(o) ? A = "array" : o !== void 0 && o.$$typeof === t ? (A = "<" + (
|
|
937
|
+
o === null ? A = "null" : tt(o) ? A = "array" : o !== void 0 && o.$$typeof === t ? (A = "<" + (G(o.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : A = typeof o, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, T);
|
|
938
938
|
}
|
|
939
|
-
var
|
|
940
|
-
if (
|
|
941
|
-
return
|
|
939
|
+
var K = da(o, f, v, M, F);
|
|
940
|
+
if (K == null)
|
|
941
|
+
return K;
|
|
942
942
|
if (I) {
|
|
943
943
|
var te = f.children;
|
|
944
944
|
if (te !== void 0)
|
|
@@ -953,7 +953,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
953
953
|
qt(te, o);
|
|
954
954
|
}
|
|
955
955
|
if (Re.call(f, "key")) {
|
|
956
|
-
var fe =
|
|
956
|
+
var fe = G(o), q = Object.keys(f).filter(function(Ca) {
|
|
957
957
|
return Ca !== "key";
|
|
958
958
|
}), it = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
959
959
|
if (!Jt[fe + it]) {
|
|
@@ -966,7 +966,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
966
966
|
<%s key={someKey} {...props} />`, it, fe, va, fe), Jt[fe + it] = !0;
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
return o === s ? fa(
|
|
969
|
+
return o === s ? fa(K) : ma(K), K;
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
function ha(o, f, v) {
|
|
@@ -1120,20 +1120,20 @@ function Bs(e, t) {
|
|
|
1120
1120
|
Fe.set(/* @__PURE__ */ a.jsx(Ps, { data: e, callback: t }));
|
|
1121
1121
|
}
|
|
1122
1122
|
const Le = { Send: Ss, Error: Es, Remark: Ns, Success: Rs, Copy: Ts }, Ue = {
|
|
1123
|
-
Path:
|
|
1123
|
+
Path: Va,
|
|
1124
1124
|
setPage: Pa,
|
|
1125
1125
|
getPage: mn,
|
|
1126
1126
|
usePage: $a,
|
|
1127
1127
|
setModule: Oa,
|
|
1128
1128
|
getModule: fn,
|
|
1129
1129
|
useModule: Ba,
|
|
1130
|
-
setTabs:
|
|
1130
|
+
setTabs: za,
|
|
1131
1131
|
getTabs: He,
|
|
1132
1132
|
useTabs: Aa,
|
|
1133
|
-
useId:
|
|
1134
|
-
setId:
|
|
1135
|
-
subId:
|
|
1136
|
-
getId:
|
|
1133
|
+
useId: Za,
|
|
1134
|
+
setId: Ka,
|
|
1135
|
+
subId: Ga,
|
|
1136
|
+
getId: Wa
|
|
1137
1137
|
};
|
|
1138
1138
|
function Os() {
|
|
1139
1139
|
return /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -1199,7 +1199,7 @@ function As() {
|
|
|
1199
1199
|
)
|
|
1200
1200
|
] });
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function zs() {
|
|
1203
1203
|
return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ a.jsx(
|
|
1204
1204
|
"path",
|
|
1205
1205
|
{
|
|
@@ -1212,11 +1212,11 @@ function Zs() {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
) });
|
|
1214
1214
|
}
|
|
1215
|
-
const
|
|
1216
|
-
n:
|
|
1215
|
+
const Zs = "_n_euuvm_1", Gs = {
|
|
1216
|
+
n: Zs
|
|
1217
1217
|
};
|
|
1218
1218
|
let Ae = {}, De = [];
|
|
1219
|
-
const
|
|
1219
|
+
const Ks = (e, t) => {
|
|
1220
1220
|
switch (t.type) {
|
|
1221
1221
|
case "open":
|
|
1222
1222
|
return {
|
|
@@ -1268,10 +1268,10 @@ const Vs = (e, t) => {
|
|
|
1268
1268
|
throw new Error();
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
|
-
function
|
|
1271
|
+
function Ws(e) {
|
|
1272
1272
|
Ae.fn({ action: "add", data: e });
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function Vs(e) {
|
|
1275
1275
|
Ae.fn({ action: "add", data: e });
|
|
1276
1276
|
}
|
|
1277
1277
|
function Us(e) {
|
|
@@ -1281,7 +1281,7 @@ function Ys(e) {
|
|
|
1281
1281
|
Ae.fn = e;
|
|
1282
1282
|
}
|
|
1283
1283
|
function Hs() {
|
|
1284
|
-
const [e, t] = g.useReducer(
|
|
1284
|
+
const [e, t] = g.useReducer(Ks, {
|
|
1285
1285
|
open: !1,
|
|
1286
1286
|
active: !1,
|
|
1287
1287
|
news: [],
|
|
@@ -1354,7 +1354,7 @@ function Hs() {
|
|
|
1354
1354
|
/* @__PURE__ */ a.jsx(
|
|
1355
1355
|
"div",
|
|
1356
1356
|
{
|
|
1357
|
-
className:
|
|
1357
|
+
className: Gs.n,
|
|
1358
1358
|
onClick: () => {
|
|
1359
1359
|
t({ type: "open", open: !0 });
|
|
1360
1360
|
},
|
|
@@ -1427,7 +1427,7 @@ function er() {
|
|
|
1427
1427
|
t[e[n].id] = {}, t[e[n].id].name = e[n].a;
|
|
1428
1428
|
}), t;
|
|
1429
1429
|
}
|
|
1430
|
-
let re = {},
|
|
1430
|
+
let re = {}, V = {}, Ve = [
|
|
1431
1431
|
"filter",
|
|
1432
1432
|
"online",
|
|
1433
1433
|
"users",
|
|
@@ -1442,8 +1442,8 @@ function tr() {
|
|
|
1442
1442
|
function r(i) {
|
|
1443
1443
|
const c = new Xs();
|
|
1444
1444
|
re.laodData = (l) => {
|
|
1445
|
-
let _ =
|
|
1446
|
-
_ >= 0 &&
|
|
1445
|
+
let _ = Ve.indexOf(l);
|
|
1446
|
+
_ >= 0 && Ve.splice(_, 1), Ve.length === 0 && t(!0);
|
|
1447
1447
|
}, re.send = (l) => {
|
|
1448
1448
|
c.port.postMessage({ type: "send", json: l });
|
|
1449
1449
|
}, c.port.onmessage = (l) => {
|
|
@@ -1452,7 +1452,7 @@ function tr() {
|
|
|
1452
1452
|
type: "connect",
|
|
1453
1453
|
ukey: i,
|
|
1454
1454
|
lk: dt()
|
|
1455
|
-
}),
|
|
1455
|
+
}), Ve.length !== 0 && re.laodData(_.type), V[_.type] && V[_.type](_);
|
|
1456
1456
|
}, c.port.postMessage({
|
|
1457
1457
|
type: "connect",
|
|
1458
1458
|
ukey: i,
|
|
@@ -1461,23 +1461,23 @@ function tr() {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
return [r, e, n];
|
|
1463
1463
|
}
|
|
1464
|
-
|
|
1464
|
+
V.module = (e) => {
|
|
1465
1465
|
re[e.listen] !== void 0 && (re[e.listen](e), delete re[e.listen]);
|
|
1466
1466
|
};
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1467
|
+
V.bell = Us;
|
|
1468
|
+
V.company = Qs;
|
|
1469
|
+
V.info = (e) => {
|
|
1470
1470
|
let t = {};
|
|
1471
1471
|
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"), vn(t), hn(e.data.menu);
|
|
1472
1472
|
};
|
|
1473
|
-
|
|
1473
|
+
V.version = async (e) => {
|
|
1474
1474
|
yt.version.Server(e.data);
|
|
1475
1475
|
};
|
|
1476
|
-
|
|
1476
|
+
V.online = async (e) => {
|
|
1477
1477
|
};
|
|
1478
|
-
|
|
1478
|
+
V.offline = async (e) => {
|
|
1479
1479
|
};
|
|
1480
|
-
|
|
1480
|
+
V.chat = (e) => {
|
|
1481
1481
|
switch (console.log(e.data.action), e.data.action) {
|
|
1482
1482
|
case "new_message":
|
|
1483
1483
|
Ue.getModule();
|
|
@@ -1491,7 +1491,7 @@ W.chat = (e) => {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
console.log(e);
|
|
1493
1493
|
};
|
|
1494
|
-
|
|
1494
|
+
V.users = (e) => {
|
|
1495
1495
|
console.log("users", e);
|
|
1496
1496
|
let t = {};
|
|
1497
1497
|
e.data.forEach((s) => {
|
|
@@ -1512,31 +1512,31 @@ W.users = (e) => {
|
|
|
1512
1512
|
let n = { ...Be(), user: t };
|
|
1513
1513
|
Pe(n);
|
|
1514
1514
|
};
|
|
1515
|
-
|
|
1515
|
+
V.api = (e) => {
|
|
1516
1516
|
let t = {};
|
|
1517
1517
|
e.data.forEach((n) => {
|
|
1518
1518
|
t[n.api] = { key: n.key, p01: n.p01, p02: n.p02 };
|
|
1519
1519
|
});
|
|
1520
1520
|
};
|
|
1521
|
-
|
|
1521
|
+
V.delete = () => {
|
|
1522
1522
|
ee();
|
|
1523
1523
|
};
|
|
1524
|
-
|
|
1524
|
+
V.select = (e) => {
|
|
1525
1525
|
let t = { ...Be() };
|
|
1526
1526
|
e.data.forEach((n) => {
|
|
1527
1527
|
t[n.n] = JSON.parse(n.s);
|
|
1528
1528
|
}), Pe(t);
|
|
1529
1529
|
};
|
|
1530
|
-
|
|
1530
|
+
V.job = (e) => {
|
|
1531
1531
|
let t = { ...Be() }, n = {};
|
|
1532
1532
|
Object.keys(e.data).forEach((s) => {
|
|
1533
1533
|
n[s] = { s: 1, n: e.data[s] };
|
|
1534
1534
|
}), t[1] = n, Pe(t);
|
|
1535
1535
|
};
|
|
1536
|
-
|
|
1536
|
+
V.setting = (e) => {
|
|
1537
1537
|
Ua(e.data);
|
|
1538
1538
|
};
|
|
1539
|
-
|
|
1539
|
+
V.app = () => {
|
|
1540
1540
|
};
|
|
1541
1541
|
const nr = (e, t) => {
|
|
1542
1542
|
re[e] = t;
|
|
@@ -1946,7 +1946,7 @@ function xr(e, t) {
|
|
|
1946
1946
|
let n = e % 10;
|
|
1947
1947
|
return e > 10 && e < 20 ? t[2] : n > 1 && n < 5 ? t[1] : n === 1 ? t[0] : t[2];
|
|
1948
1948
|
}
|
|
1949
|
-
const
|
|
1949
|
+
const Z = {
|
|
1950
1950
|
Date: rr,
|
|
1951
1951
|
MoneyString: or,
|
|
1952
1952
|
DateSort: ir,
|
|
@@ -1971,7 +1971,7 @@ function Cr({ children: e, className: t }) {
|
|
|
1971
1971
|
let n = {};
|
|
1972
1972
|
return t && (n.className = t), /* @__PURE__ */ a.jsx("div", { "data-form": "outline", ...n, children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
|
|
1973
1973
|
}
|
|
1974
|
-
const kr = "_white_11p39_14", yr = "_black_11p39_26", jr = "_shake_11p39_1", br = "_modal_11p39_73", wr = "_o_11p39_83", Sr = "_w_11p39_14", Er = "_h_11p39_107", Rr = "_l_11p39_121", Nr = "_t_11p39_159", Tr = "_m_11p39_73", Ir = "_x_11p39_167", Dr = "_s_11p39_177", Mr = "_c_11p39_182", Fr = "_f_11p39_187", Lr = "_btn_11p39_230", $r = "_g_11p39_243", Pr = "_confirm_11p39_322", Br = "_cancel_11p39_327", Or = "_disabled_11p39_332", Ar = "_active_11p39_389",
|
|
1974
|
+
const kr = "_white_11p39_14", yr = "_black_11p39_26", jr = "_shake_11p39_1", br = "_modal_11p39_73", wr = "_o_11p39_83", Sr = "_w_11p39_14", Er = "_h_11p39_107", Rr = "_l_11p39_121", Nr = "_t_11p39_159", Tr = "_m_11p39_73", Ir = "_x_11p39_167", Dr = "_s_11p39_177", Mr = "_c_11p39_182", Fr = "_f_11p39_187", Lr = "_btn_11p39_230", $r = "_g_11p39_243", Pr = "_confirm_11p39_322", Br = "_cancel_11p39_327", Or = "_disabled_11p39_332", Ar = "_active_11p39_389", zr = "_coincidence_11p39_395", Zr = "_sa_11p39_431", Gr = "_ss_11p39_435", Kr = "_sm_11p39_439", Wr = "_sl_11p39_443", Vr = "_sx_11p39_447", Ur = "_sf_11p39_451", ie = {
|
|
1975
1975
|
white: kr,
|
|
1976
1976
|
black: yr,
|
|
1977
1977
|
shake: jr,
|
|
@@ -1999,12 +1999,12 @@ const kr = "_white_11p39_14", yr = "_black_11p39_26", jr = "_shake_11p39_1", br
|
|
|
1999
1999
|
disabled: Or,
|
|
2000
2000
|
await: "_await_11p39_339",
|
|
2001
2001
|
active: Ar,
|
|
2002
|
-
coincidence:
|
|
2003
|
-
sa:
|
|
2004
|
-
ss:
|
|
2005
|
-
sm:
|
|
2006
|
-
sl:
|
|
2007
|
-
sx:
|
|
2002
|
+
coincidence: zr,
|
|
2003
|
+
sa: Zr,
|
|
2004
|
+
ss: Gr,
|
|
2005
|
+
sm: Kr,
|
|
2006
|
+
sl: Wr,
|
|
2007
|
+
sx: Vr,
|
|
2008
2008
|
sf: Ur
|
|
2009
2009
|
};
|
|
2010
2010
|
function Yr({ children: e }) {
|
|
@@ -2437,8 +2437,8 @@ const Ci = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2437
2437
|
})).json()).status === "success" && (t({ type: "delete", id: e.id }), Le.Send({ type: "success", text: "Файл успешно удалён" }));
|
|
2438
2438
|
};
|
|
2439
2439
|
return /* @__PURE__ */ a.jsxs("li", { children: [
|
|
2440
|
-
/* @__PURE__ */ a.jsx("div", { className: "f035", children:
|
|
2441
|
-
/* @__PURE__ */ a.jsx("div", { className: "f100", children:
|
|
2440
|
+
/* @__PURE__ */ a.jsx("div", { className: "f035", children: Z.TypeFiles(e.type) }),
|
|
2441
|
+
/* @__PURE__ */ a.jsx("div", { className: "f100", children: Z.Date(e.uDate, "dd.mm.yy") }),
|
|
2442
2442
|
/* @__PURE__ */ a.jsx("div", { className: "f000", children: e.name }),
|
|
2443
2443
|
/* @__PURE__ */ a.jsxs("div", { className: "f050 flex button", children: [
|
|
2444
2444
|
/* @__PURE__ */ a.jsx(
|
|
@@ -2460,7 +2460,7 @@ const Ci = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2460
2460
|
}
|
|
2461
2461
|
)
|
|
2462
2462
|
] }),
|
|
2463
|
-
/* @__PURE__ */ a.jsx("div", { className: "f080", children:
|
|
2463
|
+
/* @__PURE__ */ a.jsx("div", { className: "f080", children: Z.Size(e.size) })
|
|
2464
2464
|
] });
|
|
2465
2465
|
}, wt = { setSetting: Ya, getSetting: Ha };
|
|
2466
2466
|
let O = {};
|
|
@@ -2846,7 +2846,7 @@ function Ai(e, t) {
|
|
|
2846
2846
|
gt[e] !== void 0 && gt[e](t);
|
|
2847
2847
|
}
|
|
2848
2848
|
const de = {};
|
|
2849
|
-
function
|
|
2849
|
+
function zi(e, t) {
|
|
2850
2850
|
const [n, s] = g.useState(t);
|
|
2851
2851
|
return g.useEffect(() => {
|
|
2852
2852
|
if (de[e])
|
|
@@ -2854,34 +2854,34 @@ function Zi(e, t) {
|
|
|
2854
2854
|
de[e] = [s];
|
|
2855
2855
|
}, []), [n];
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2857
|
+
function Zi(e, t) {
|
|
2858
2858
|
if (de[e])
|
|
2859
2859
|
return de[e].push(t);
|
|
2860
2860
|
de[e] = [t];
|
|
2861
2861
|
}
|
|
2862
|
-
function
|
|
2862
|
+
function Gi(e, t) {
|
|
2863
2863
|
de[e] && de[e].forEach((n) => n(t));
|
|
2864
2864
|
}
|
|
2865
|
-
const we = { setListener: Ai, useListener: Oi, setEmitter:
|
|
2866
|
-
function
|
|
2865
|
+
const we = { setListener: Ai, useListener: Oi, setEmitter: Gi, useEmitter: zi, subEmitter: Zi };
|
|
2866
|
+
function Ki() {
|
|
2867
2867
|
let [e, t] = g.useState([]);
|
|
2868
2868
|
return we.useListener("form", (n) => {
|
|
2869
2869
|
t([n]);
|
|
2870
2870
|
}), /* @__PURE__ */ a.jsx(a.Fragment, { children: e.map((n) => n) });
|
|
2871
2871
|
}
|
|
2872
|
-
const
|
|
2872
|
+
const Wi = ({ children: e, config: t }) => (D.New(t.crypto), t.defaultModule && Ea(t.defaultModule), Na(
|
|
2873
2873
|
/* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
2874
2874
|
/* @__PURE__ */ a.jsx(Xr, { config: t.modal }),
|
|
2875
2875
|
/* @__PURE__ */ a.jsx(ws, {}),
|
|
2876
2876
|
/* @__PURE__ */ a.jsx($s, {}),
|
|
2877
2877
|
/* @__PURE__ */ a.jsx(Si, {}),
|
|
2878
2878
|
/* @__PURE__ */ a.jsx(Bi, {}),
|
|
2879
|
-
/* @__PURE__ */ a.jsx(
|
|
2879
|
+
/* @__PURE__ */ a.jsx(Ki, {}),
|
|
2880
2880
|
/* @__PURE__ */ a.jsx(Mi, {}),
|
|
2881
2881
|
/* @__PURE__ */ a.jsx(Ti, {}),
|
|
2882
2882
|
e
|
|
2883
2883
|
] })
|
|
2884
|
-
)),
|
|
2884
|
+
)), Vi = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("menu", { children: e }), Ui = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("header", { children: [
|
|
2885
2885
|
"xz",
|
|
2886
2886
|
e
|
|
2887
2887
|
] }), Yi = "_payment_1lxfv_1", Hi = {
|
|
@@ -2895,9 +2895,9 @@ const Il = ({ children: e, ...t }) => {
|
|
|
2895
2895
|
let n = {};
|
|
2896
2896
|
return n.enCode = (s) => JSON.stringify(s).toString(), n.deCode = (s) => JSON.parse(s), /* @__PURE__ */ a.jsxs("div", { className: "app", children: [
|
|
2897
2897
|
/* @__PURE__ */ a.jsx(qi, {}),
|
|
2898
|
-
/* @__PURE__ */ a.jsx(
|
|
2898
|
+
/* @__PURE__ */ a.jsx(Vi, {}),
|
|
2899
2899
|
/* @__PURE__ */ a.jsx(Ui, {}),
|
|
2900
|
-
/* @__PURE__ */ a.jsx(
|
|
2900
|
+
/* @__PURE__ */ a.jsx(Wi, { config: { modal: {}, crypto: n } }),
|
|
2901
2901
|
e
|
|
2902
2902
|
] });
|
|
2903
2903
|
}, Ji = ({ list: e, onClick: t, active: n, size: s, view: r }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [s, r].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
|
|
@@ -3110,21 +3110,21 @@ class So {
|
|
|
3110
3110
|
);
|
|
3111
3111
|
}
|
|
3112
3112
|
}
|
|
3113
|
-
let lt,
|
|
3113
|
+
let lt, z = {};
|
|
3114
3114
|
const Se = () => (lt || (lt = new So()), lt), me = (e, t, n = Se()) => n._withIDBStore("readwrite", (s) => {
|
|
3115
|
-
|
|
3116
|
-
}), oe = (e, t = Se()) =>
|
|
3115
|
+
z[e] = t, s.put(D.enCode(t), e);
|
|
3116
|
+
}), oe = (e, t = Se()) => z[e] === void 0 ? new Promise((n, s) => {
|
|
3117
3117
|
let r;
|
|
3118
3118
|
t._withIDBStore("readonly", (i) => {
|
|
3119
3119
|
r = i.get(e);
|
|
3120
3120
|
}).then(() => {
|
|
3121
3121
|
if (r.result !== void 0) {
|
|
3122
3122
|
let i = D.deCode(r.result);
|
|
3123
|
-
|
|
3123
|
+
z[e] = i, n(i);
|
|
3124
3124
|
} else
|
|
3125
3125
|
n({});
|
|
3126
3126
|
});
|
|
3127
|
-
}) :
|
|
3127
|
+
}) : z[e], Eo = (e, t = Se()) => t._withIDBStore("readwrite", (n) => {
|
|
3128
3128
|
n.delete(e);
|
|
3129
3129
|
}), xt = (e = Se()) => e._withIDBStore("readwrite", (t) => {
|
|
3130
3130
|
t.clear();
|
|
@@ -3160,7 +3160,7 @@ const Se = () => (lt || (lt = new So()), lt), me = (e, t, n = Se()) => n._withID
|
|
|
3160
3160
|
k === void 0 ? (xt(), location.reload()) : (r && x(k.id), l && p(k.id));
|
|
3161
3161
|
}), { list: h, search: i, filter: s };
|
|
3162
3162
|
}, To = (e, t, n, s = Se()) => {
|
|
3163
|
-
if (
|
|
3163
|
+
if (z[e] === void 0)
|
|
3164
3164
|
return new Promise((r, i) => {
|
|
3165
3165
|
let c;
|
|
3166
3166
|
s._withIDBStore("readonly", (l) => {
|
|
@@ -3168,17 +3168,17 @@ const Se = () => (lt || (lt = new So()), lt), me = (e, t, n = Se()) => n._withID
|
|
|
3168
3168
|
}).then(() => {
|
|
3169
3169
|
if (c.result !== void 0) {
|
|
3170
3170
|
let l = D.deCode(c.result);
|
|
3171
|
-
|
|
3172
|
-
...
|
|
3171
|
+
z[e] = l, z[e][t.id] = {
|
|
3172
|
+
...z[e][t.id],
|
|
3173
3173
|
...t.data
|
|
3174
|
-
}, s.put(D.enCode(
|
|
3174
|
+
}, s.put(D.enCode(z[e]), e), r({});
|
|
3175
3175
|
} else
|
|
3176
3176
|
r({});
|
|
3177
3177
|
});
|
|
3178
3178
|
});
|
|
3179
|
-
if (
|
|
3180
|
-
return
|
|
3181
|
-
r.put(D.enCode(
|
|
3179
|
+
if (z[e][t.id] !== void 0)
|
|
3180
|
+
return z[e][t.id] = { ...z[e][t.id], ...t.data }, n !== void 0 && z[n] !== void 0 ? z[n][t.id] !== void 0 && (z[n][t.id] = t.data.eDate) : z[n] = [], delete z[e][t.id].$_item, delete z[e][t.id].$_send, s._withIDBStore("readwrite", (r) => {
|
|
3181
|
+
r.put(D.enCode(z[e]), e), n !== void 0 && r.put(D.enCode(z[n]), n);
|
|
3182
3182
|
});
|
|
3183
3183
|
}, Io = async (e, t, n, s) => {
|
|
3184
3184
|
let r, i;
|
|
@@ -3203,7 +3203,7 @@ const Se = () => (lt || (lt = new So()), lt), me = (e, t, n = Se()) => n._withID
|
|
|
3203
3203
|
n({ type: "load", base: s });
|
|
3204
3204
|
else
|
|
3205
3205
|
return s[e];
|
|
3206
|
-
}, Po = (e) =>
|
|
3206
|
+
}, Po = (e) => z[e], Bl = {
|
|
3207
3207
|
id: $o,
|
|
3208
3208
|
get: oe,
|
|
3209
3209
|
set: me,
|
|
@@ -3229,15 +3229,15 @@ const Se = () => (lt || (lt = new So()), lt), me = (e, t, n = Se()) => n._withID
|
|
|
3229
3229
|
}, document.onkeyup = function(s) {
|
|
3230
3230
|
n.length = 0;
|
|
3231
3231
|
};
|
|
3232
|
-
}, Ol = { useKey: Bo }, Oo = "_s_18bde_1", Ao = "_loadingB_18bde_1",
|
|
3232
|
+
}, Ol = { useKey: Bo }, Oo = "_s_18bde_1", Ao = "_loadingB_18bde_1", zo = "_ul_18bde_31", Zo = {
|
|
3233
3233
|
s: Oo,
|
|
3234
3234
|
loadingB: Ao,
|
|
3235
|
-
ul:
|
|
3235
|
+
ul: zo
|
|
3236
3236
|
};
|
|
3237
3237
|
function Rn({ children: e }) {
|
|
3238
3238
|
return /* @__PURE__ */ a.jsx("ul", { className: J.ul, children: e });
|
|
3239
3239
|
}
|
|
3240
|
-
function
|
|
3240
|
+
function Go(e, t) {
|
|
3241
3241
|
switch (t.type) {
|
|
3242
3242
|
case "load":
|
|
3243
3243
|
return {
|
|
@@ -3271,7 +3271,7 @@ function zo(e, t) {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
}
|
|
3273
3273
|
function Nn(e) {
|
|
3274
|
-
const t = g.useRef(null), [n, s] = g.useReducer(
|
|
3274
|
+
const t = g.useRef(null), [n, s] = g.useReducer(Go, {
|
|
3275
3275
|
load: !1,
|
|
3276
3276
|
list: [],
|
|
3277
3277
|
data: {},
|
|
@@ -3286,13 +3286,13 @@ function Nn(e) {
|
|
|
3286
3286
|
let r = () => {
|
|
3287
3287
|
t.current.scrollHeight - t.current.scrollTop - 300 <= t.current.clientHeight && !n.wait && s({ type: "update" });
|
|
3288
3288
|
};
|
|
3289
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
3289
|
+
return /* @__PURE__ */ a.jsx("div", { className: Zo.s, ref: t, onScroll: r, children: /* @__PURE__ */ a.jsx(Rn, { "el-empty": "Данные не найдены", children: n.load && n.list !== void 0 ? n.list.map((i) => /* @__PURE__ */ a.jsx(e.item, { data: i }, i.id)) : /* @__PURE__ */ a.jsxs("div", { "data-load": "load", children: [
|
|
3290
3290
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
3291
3291
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
3292
3292
|
/* @__PURE__ */ a.jsx("i", {})
|
|
3293
3293
|
] }) }) });
|
|
3294
3294
|
}
|
|
3295
|
-
const Al = { Scrolling: Nn },
|
|
3295
|
+
const Al = { Scrolling: Nn }, zl = { Widget: Ei }, Tn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ a.jsx(
|
|
3296
3296
|
"div",
|
|
3297
3297
|
{
|
|
3298
3298
|
role: "switch",
|
|
@@ -3669,9 +3669,9 @@ function $n(e) {
|
|
|
3669
3669
|
}
|
|
3670
3670
|
) });
|
|
3671
3671
|
}
|
|
3672
|
-
const
|
|
3673
|
-
o:
|
|
3674
|
-
c:
|
|
3672
|
+
const Ko = "_o_ff5dx_1", Wo = "_c_ff5dx_11", je = {
|
|
3673
|
+
o: Ko,
|
|
3674
|
+
c: Wo
|
|
3675
3675
|
};
|
|
3676
3676
|
function St(e) {
|
|
3677
3677
|
let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", s = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, i = e.placeholder !== void 0 ? e.placeholder : "", [c, l] = g.useState(
|
|
@@ -3687,7 +3687,7 @@ function St(e) {
|
|
|
3687
3687
|
we.setListener(
|
|
3688
3688
|
"form",
|
|
3689
3689
|
/* @__PURE__ */ a.jsx(
|
|
3690
|
-
|
|
3690
|
+
Vo,
|
|
3691
3691
|
{
|
|
3692
3692
|
position: { x: p, y: k },
|
|
3693
3693
|
onValue: d,
|
|
@@ -3717,7 +3717,7 @@ function St(e) {
|
|
|
3717
3717
|
onClick: u,
|
|
3718
3718
|
...m,
|
|
3719
3719
|
"data-edit": (s && r) + "",
|
|
3720
|
-
children:
|
|
3720
|
+
children: Z.Date(c, "dd.mm.yyyy")
|
|
3721
3721
|
}
|
|
3722
3722
|
),
|
|
3723
3723
|
n()
|
|
@@ -3725,7 +3725,7 @@ function St(e) {
|
|
|
3725
3725
|
}
|
|
3726
3726
|
) });
|
|
3727
3727
|
}
|
|
3728
|
-
const
|
|
3728
|
+
const Vo = (e) => {
|
|
3729
3729
|
let [t, n] = g.useState(!0), s = /* @__PURE__ */ new Date(), r = new Date(e.date), i = {
|
|
3730
3730
|
y: parseInt(s.getFullYear()),
|
|
3731
3731
|
d: parseInt(s.getDate()),
|
|
@@ -3750,7 +3750,7 @@ const Wo = (e) => {
|
|
|
3750
3750
|
j(l.m - 1, l.y);
|
|
3751
3751
|
}, y = (b) => {
|
|
3752
3752
|
e.onValue(
|
|
3753
|
-
l.y + "-" +
|
|
3753
|
+
l.y + "-" + Z.Number(2, l.m) + "-" + Z.Number(2, b)
|
|
3754
3754
|
), p();
|
|
3755
3755
|
}, j = (b, L) => {
|
|
3756
3756
|
L = b > 12 ? L + 1 : b < 1 ? L - 1 : L, b = b > 12 ? 1 : b < 1 ? 12 : b, _({ y: L, m: b });
|
|
@@ -3773,7 +3773,7 @@ const Wo = (e) => {
|
|
|
3773
3773
|
/* @__PURE__ */ a.jsxs("s", { children: [
|
|
3774
3774
|
/* @__PURE__ */ a.jsx("i", { "data-icon": "F021", onClick: () => w() }),
|
|
3775
3775
|
/* @__PURE__ */ a.jsxs("h2", { children: [
|
|
3776
|
-
|
|
3776
|
+
Z.Month(l.m).name,
|
|
3777
3777
|
" ",
|
|
3778
3778
|
l.y
|
|
3779
3779
|
] }),
|
|
@@ -3843,7 +3843,7 @@ function Rt(e) {
|
|
|
3843
3843
|
m.target.textContent === "" && (m.target.textContent = 0), e.onValue({
|
|
3844
3844
|
value: n(m.target.textContent),
|
|
3845
3845
|
name: e.name
|
|
3846
|
-
}), m.target.textContent =
|
|
3846
|
+
}), m.target.textContent = Z.Money(m.target.textContent);
|
|
3847
3847
|
}, c = (m) => {
|
|
3848
3848
|
m.target.textContent = n(m.target.textContent);
|
|
3849
3849
|
}, l = (m) => {
|
|
@@ -3872,7 +3872,7 @@ function Rt(e) {
|
|
|
3872
3872
|
contentEditable: !0,
|
|
3873
3873
|
suppressContentEditableWarning: !0,
|
|
3874
3874
|
"e-after": e.after,
|
|
3875
|
-
children:
|
|
3875
|
+
children: Z.Money(t)
|
|
3876
3876
|
}
|
|
3877
3877
|
),
|
|
3878
3878
|
u()
|
|
@@ -3932,7 +3932,7 @@ function Pn({
|
|
|
3932
3932
|
{
|
|
3933
3933
|
onClick: x,
|
|
3934
3934
|
...p,
|
|
3935
|
-
children:
|
|
3935
|
+
children: Z.Date(u, "mm.yyyy")
|
|
3936
3936
|
}
|
|
3937
3937
|
),
|
|
3938
3938
|
r && /* @__PURE__ */ a.jsx("em", { children: r })
|
|
@@ -3954,7 +3954,7 @@ const Uo = (e) => {
|
|
|
3954
3954
|
}, m = () => {
|
|
3955
3955
|
_(l - 1);
|
|
3956
3956
|
}, h = (y) => {
|
|
3957
|
-
e.onValue(l + "-" +
|
|
3957
|
+
e.onValue(l + "-" + Z.Number(2, y)), d();
|
|
3958
3958
|
}, x = (y) => i.y === c.y && i.m === y ? "_FFEB3B" : "", p = Array(12).fill("").map((y, j) => j + 1), k = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, w = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
3959
3959
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
3960
3960
|
/* @__PURE__ */ a.jsx(
|
|
@@ -3986,7 +3986,7 @@ const Uo = (e) => {
|
|
|
3986
3986
|
h(y);
|
|
3987
3987
|
},
|
|
3988
3988
|
color: x(y),
|
|
3989
|
-
children: /* @__PURE__ */ a.jsx("b", { children:
|
|
3989
|
+
children: /* @__PURE__ */ a.jsx("b", { children: Z.Month(y).abc })
|
|
3990
3990
|
},
|
|
3991
3991
|
j
|
|
3992
3992
|
))
|
|
@@ -5544,21 +5544,21 @@ function Tt({
|
|
|
5544
5544
|
className: h = ""
|
|
5545
5545
|
}) {
|
|
5546
5546
|
l = l !== void 0 ? l : !0, _ = _ !== void 0 ? _ : !0, c = !!(c && (e === "" || e === void 0)) && !(l && _), g.useRef(null);
|
|
5547
|
-
let p = "+_(___) ___-__-__", k = !0, w = 0, y = (
|
|
5548
|
-
let ae = document.createRange(),
|
|
5549
|
-
ae.setStart($.childNodes[0],
|
|
5550
|
-
}, j = (
|
|
5551
|
-
|
|
5547
|
+
let p = "+_(___) ___-__-__", k = !0, w = 0, y = (W, $) => {
|
|
5548
|
+
let ae = document.createRange(), G = window.getSelection();
|
|
5549
|
+
ae.setStart($.childNodes[0], W), ae.collapse(!0), G.removeAllRanges(), G.addRange(ae), $.focus();
|
|
5550
|
+
}, j = (W) => {
|
|
5551
|
+
W.preventDefault(), navigator.clipboard.readText().then(($) => {
|
|
5552
5552
|
window.document.execCommand("insertText", !1, $);
|
|
5553
5553
|
}).catch(($) => {
|
|
5554
5554
|
console.log("Something went wrong", $);
|
|
5555
5555
|
});
|
|
5556
|
-
}, N = (
|
|
5557
|
-
let $ = 0, ae = "",
|
|
5558
|
-
|
|
5559
|
-
let le =
|
|
5560
|
-
le.forEach((
|
|
5561
|
-
k && (H +=
|
|
5556
|
+
}, N = (W) => {
|
|
5557
|
+
let $ = 0, ae = "", G = W.replace(/\D/g, "");
|
|
5558
|
+
G === "" && (k = !0);
|
|
5559
|
+
let le = G.split(""), H = "";
|
|
5560
|
+
le.forEach((ze) => {
|
|
5561
|
+
k && (H += ze, ct[H] !== void 0 && k ? (k = !1, p = ct[H].mask.replace(new RegExp("[0-9]", "g"), "_"), ae = ct[H].code) : (k && (w = ("" + H).length, p = `+${H}_(___) ___-__-__`.replace(
|
|
5562
5562
|
new RegExp("[0-9]", "g"),
|
|
5563
5563
|
"_"
|
|
5564
5564
|
), ae = ""), w > ("" + H).length && (k = !0, p = `+${H}_(___) ___-__-__`.replace(
|
|
@@ -5567,11 +5567,11 @@ function Tt({
|
|
|
5567
5567
|
), ae = "")));
|
|
5568
5568
|
});
|
|
5569
5569
|
let Ee = p.replace(/\D/g, "");
|
|
5570
|
-
return Ee.length >=
|
|
5571
|
-
return
|
|
5572
|
-
}), i: $, v:
|
|
5573
|
-
}, R = (
|
|
5574
|
-
|
|
5570
|
+
return Ee.length >= G.length && (G = Ee), { q: p.replace(/[_\d]/g, function() {
|
|
5571
|
+
return G.charAt($++) || "_";
|
|
5572
|
+
}), i: $, v: G, f: ae };
|
|
5573
|
+
}, R = (W) => {
|
|
5574
|
+
W.preventDefault(), navigator.clipboard.writeText(W.target.textContent.replace(/\D/g, "")).then(
|
|
5575
5575
|
function() {
|
|
5576
5576
|
Le.Copy("Данные в буфер обмене");
|
|
5577
5577
|
},
|
|
@@ -5579,11 +5579,11 @@ function Tt({
|
|
|
5579
5579
|
console.error("Async: Could not copy text: ", $);
|
|
5580
5580
|
}
|
|
5581
5581
|
);
|
|
5582
|
-
}, b = N(e), L = (
|
|
5583
|
-
let $ = N(
|
|
5584
|
-
|
|
5585
|
-
}, X = (
|
|
5586
|
-
|
|
5582
|
+
}, b = N(e), L = (W) => {
|
|
5583
|
+
let $ = N(W.target.textContent);
|
|
5584
|
+
W.target.textContent = $.q, $.i = $.q.lastIndexOf($.v.substr(-1)), $.i < $.q.length && $.q !== p ? $.i++ : $.i = $.q.indexOf("_"), y($.i, W.target), t && t({ value: $.q.replace(/\D/g, ""), name: n });
|
|
5585
|
+
}, X = (W) => {
|
|
5586
|
+
W.key === "Enter" && W.preventDefault();
|
|
5587
5587
|
};
|
|
5588
5588
|
const B = {};
|
|
5589
5589
|
B.field = "input", h && (B.className = h);
|
|
@@ -5963,7 +5963,7 @@ function pt({
|
|
|
5963
5963
|
);
|
|
5964
5964
|
}
|
|
5965
5965
|
}
|
|
5966
|
-
function
|
|
5966
|
+
function zn(e) {
|
|
5967
5967
|
let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", s = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, i = e.placeholder !== void 0 ? e.placeholder : "", c = (d) => {
|
|
5968
5968
|
e.onValue({ value: d.target.innerText, name: e.name });
|
|
5969
5969
|
}, l = (d) => {
|
|
@@ -5997,10 +5997,10 @@ function Zn(e) {
|
|
|
5997
5997
|
}
|
|
5998
5998
|
);
|
|
5999
5999
|
}
|
|
6000
|
-
function
|
|
6000
|
+
function Zn(e) {
|
|
6001
6001
|
let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "";
|
|
6002
6002
|
e.edit !== void 0 && e.edit, e.active !== void 0 && e.active;
|
|
6003
|
-
let s = e.placeholder !== void 0 ? e.placeholder : "", r =
|
|
6003
|
+
let s = e.placeholder !== void 0 ? e.placeholder : "", r = Z.Date(
|
|
6004
6004
|
e.value === void 0 ? /* @__PURE__ */ new Date() : e.value,
|
|
6005
6005
|
"HH:MM"
|
|
6006
6006
|
), i = g.useRef(null), c = (u) => {
|
|
@@ -6051,8 +6051,8 @@ function Gn(e) {
|
|
|
6051
6051
|
}
|
|
6052
6052
|
const qo = (e) => {
|
|
6053
6053
|
let t = e.date.split(":"), n = {
|
|
6054
|
-
h:
|
|
6055
|
-
m:
|
|
6054
|
+
h: Z.Number(2, t[0]),
|
|
6055
|
+
m: Z.Number(2, t[1])
|
|
6056
6056
|
}, s = "hour", [r, i] = g.useState({}), c = !1, l = 0, _ = 0, d = {
|
|
6057
6057
|
body: g.useRef(null),
|
|
6058
6058
|
time: g.useRef(null),
|
|
@@ -6075,10 +6075,10 @@ const qo = (e) => {
|
|
|
6075
6075
|
) * (180 / Math.PI) * -1 + 180;
|
|
6076
6076
|
d[s].current.style.transform = "rotate(" + b + "deg)", s === "hour" ? (n = {
|
|
6077
6077
|
...n,
|
|
6078
|
-
h:
|
|
6078
|
+
h: Z.Number(2, parseInt(String(b / 15), 10))
|
|
6079
6079
|
}, d.hourText.current.textContent = n.h) : (n = {
|
|
6080
6080
|
...n,
|
|
6081
|
-
m:
|
|
6081
|
+
m: Z.Number(2, parseInt(String(b / 6), 10))
|
|
6082
6082
|
}, d.timeText.current.textContent = n.m), e.onValue(n.h + ":" + n.m);
|
|
6083
6083
|
}
|
|
6084
6084
|
}, x = (N) => {
|
|
@@ -6089,7 +6089,7 @@ const qo = (e) => {
|
|
|
6089
6089
|
if (_ !== R) {
|
|
6090
6090
|
_ = R;
|
|
6091
6091
|
let b = parseInt(n.h, 10) + 1;
|
|
6092
|
-
b = b > 23 ? 0 : b, n = { ...n, h:
|
|
6092
|
+
b = b > 23 ? 0 : b, n = { ...n, h: Z.Number(2, b) }, d.hourText.current.textContent = n.h, d[s].current.style.transform = "rotate(" + n.h * 15 + "deg)";
|
|
6093
6093
|
}
|
|
6094
6094
|
} else {
|
|
6095
6095
|
l -= N.deltaY;
|
|
@@ -6097,7 +6097,7 @@ const qo = (e) => {
|
|
|
6097
6097
|
if (_ !== R) {
|
|
6098
6098
|
_ = R;
|
|
6099
6099
|
let b = parseInt(n.h, 10) - 1;
|
|
6100
|
-
b = b < 0 ? 23 : b, n = { ...n, h:
|
|
6100
|
+
b = b < 0 ? 23 : b, n = { ...n, h: Z.Number(2, b) }, d.hourText.current.textContent = n.h, d[s].current.style.transform = "rotate(" + n.h * 15 + "deg)";
|
|
6101
6101
|
}
|
|
6102
6102
|
}
|
|
6103
6103
|
else if (N.deltaY > 0) {
|
|
@@ -6106,7 +6106,7 @@ const qo = (e) => {
|
|
|
6106
6106
|
if (_ !== R) {
|
|
6107
6107
|
_ = R;
|
|
6108
6108
|
let b = parseInt(n.m, 10) + 1;
|
|
6109
|
-
b = b > 59 ? 0 : b, n = { ...n, m:
|
|
6109
|
+
b = b > 59 ? 0 : b, n = { ...n, m: Z.Number(2, b) }, d.timeText.current.textContent = n.m, d[s].current.style.transform = "rotate(" + n.m * 6 + "deg)";
|
|
6110
6110
|
}
|
|
6111
6111
|
} else {
|
|
6112
6112
|
l -= N.deltaY;
|
|
@@ -6114,7 +6114,7 @@ const qo = (e) => {
|
|
|
6114
6114
|
if (_ !== R) {
|
|
6115
6115
|
_ = R;
|
|
6116
6116
|
let b = parseInt(n.m, 10) - 1;
|
|
6117
|
-
b = b < 0 ? 59 : b, n = { ...n, m:
|
|
6117
|
+
b = b < 0 ? 59 : b, n = { ...n, m: Z.Number(2, b) }, d.timeText.current.textContent = n.m, d[s].current.style.transform = "rotate(" + n.m * 6 + "deg)";
|
|
6118
6118
|
}
|
|
6119
6119
|
}
|
|
6120
6120
|
e.onValue(n.h + ":" + n.m);
|
|
@@ -6145,7 +6145,7 @@ const qo = (e) => {
|
|
|
6145
6145
|
)
|
|
6146
6146
|
] }) : "" });
|
|
6147
6147
|
};
|
|
6148
|
-
function
|
|
6148
|
+
function Gn({
|
|
6149
6149
|
onValue: e,
|
|
6150
6150
|
label: t,
|
|
6151
6151
|
value: n,
|
|
@@ -6180,11 +6180,11 @@ function Xo(e) {
|
|
|
6180
6180
|
function Qo() {
|
|
6181
6181
|
be.r && be.r();
|
|
6182
6182
|
}
|
|
6183
|
-
const
|
|
6183
|
+
const Zl = {
|
|
6184
6184
|
Color: $n,
|
|
6185
6185
|
Date: St,
|
|
6186
6186
|
Code: Ln,
|
|
6187
|
-
Check:
|
|
6187
|
+
Check: Gn,
|
|
6188
6188
|
Switch: Tn,
|
|
6189
6189
|
Input: $e,
|
|
6190
6190
|
Button: In,
|
|
@@ -6201,19 +6201,19 @@ const Gl = {
|
|
|
6201
6201
|
Search: An,
|
|
6202
6202
|
Select: It,
|
|
6203
6203
|
Set: pt,
|
|
6204
|
-
Textarea:
|
|
6205
|
-
Time:
|
|
6204
|
+
Textarea: zn,
|
|
6205
|
+
Time: Zn,
|
|
6206
6206
|
Users: Dt,
|
|
6207
6207
|
String: $e,
|
|
6208
6208
|
Form: pt,
|
|
6209
6209
|
runReload: Qo,
|
|
6210
6210
|
useData: Jo,
|
|
6211
6211
|
setValue: Xo
|
|
6212
|
-
},
|
|
6212
|
+
}, Gl = {
|
|
6213
6213
|
Color: $n,
|
|
6214
6214
|
Date: St,
|
|
6215
6215
|
Code: Ln,
|
|
6216
|
-
Check:
|
|
6216
|
+
Check: Gn,
|
|
6217
6217
|
Switch: Tn,
|
|
6218
6218
|
Input: $e,
|
|
6219
6219
|
Button: In,
|
|
@@ -6230,17 +6230,17 @@ const Gl = {
|
|
|
6230
6230
|
Search: An,
|
|
6231
6231
|
Select: It,
|
|
6232
6232
|
Set: pt,
|
|
6233
|
-
Textarea:
|
|
6234
|
-
Time:
|
|
6233
|
+
Textarea: zn,
|
|
6234
|
+
Time: Zn,
|
|
6235
6235
|
Users: Dt,
|
|
6236
6236
|
String: $e
|
|
6237
|
-
}, el = "_spinner_1ul0m_1", tl = "_l_1ul0m_75", nl = "_loadingB_1ul0m_1",
|
|
6237
|
+
}, el = "_spinner_1ul0m_1", tl = "_l_1ul0m_75", nl = "_loadingB_1ul0m_1", Kn = {
|
|
6238
6238
|
spinner: el,
|
|
6239
6239
|
l: tl,
|
|
6240
6240
|
loadingB: nl
|
|
6241
6241
|
};
|
|
6242
6242
|
function al() {
|
|
6243
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
6243
|
+
return /* @__PURE__ */ a.jsx("div", { className: Kn.spinner, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ a.jsx(
|
|
6244
6244
|
"path",
|
|
6245
6245
|
{
|
|
6246
6246
|
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",
|
|
@@ -6249,13 +6249,13 @@ function al() {
|
|
|
6249
6249
|
) }) });
|
|
6250
6250
|
}
|
|
6251
6251
|
function sl() {
|
|
6252
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
6252
|
+
return /* @__PURE__ */ a.jsxs("div", { className: Kn.l, children: [
|
|
6253
6253
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6254
6254
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6255
6255
|
/* @__PURE__ */ a.jsx("i", {})
|
|
6256
6256
|
] });
|
|
6257
6257
|
}
|
|
6258
|
-
const
|
|
6258
|
+
const Kl = { Spinner: al, Inline: sl }, rl = "_s_t9swc_1", il = {
|
|
6259
6259
|
s: rl
|
|
6260
6260
|
};
|
|
6261
6261
|
let Mt;
|
|
@@ -6299,7 +6299,7 @@ function cl(e) {
|
|
|
6299
6299
|
function dl(e) {
|
|
6300
6300
|
Mt = e;
|
|
6301
6301
|
}
|
|
6302
|
-
const
|
|
6302
|
+
const Wl = { Field: ol, Run: ll, Get: cl, useValue: dl }, _l = "_f_q3r0i_1", ul = {
|
|
6303
6303
|
f: _l
|
|
6304
6304
|
};
|
|
6305
6305
|
let ne = {};
|
|
@@ -6377,7 +6377,7 @@ function fl() {
|
|
|
6377
6377
|
t({ type: "open", open: !0 });
|
|
6378
6378
|
},
|
|
6379
6379
|
children: [
|
|
6380
|
-
/* @__PURE__ */ a.jsx(
|
|
6380
|
+
/* @__PURE__ */ a.jsx(zs, {}),
|
|
6381
6381
|
e.active && /* @__PURE__ */ a.jsxs("i", { children: [
|
|
6382
6382
|
e.size,
|
|
6383
6383
|
"1"
|
|
@@ -6434,13 +6434,13 @@ function pl(e, t, n, s) {
|
|
|
6434
6434
|
Number.parseInt(t[d]) !== 999 && (e = e.filter(
|
|
6435
6435
|
(u) => Number.parseInt(u[d]) === Number.parseInt(t[d])
|
|
6436
6436
|
));
|
|
6437
|
-
}),
|
|
6437
|
+
}), Wn(e.length)), e.forEach((d) => {
|
|
6438
6438
|
r.push(d.id);
|
|
6439
6439
|
}), r.forEach((d) => {
|
|
6440
6440
|
c++, c <= _ || (i++, c = 1, l[i] = []), l[i].push(n[d]);
|
|
6441
6441
|
}), l;
|
|
6442
6442
|
}
|
|
6443
|
-
function
|
|
6443
|
+
function Wn(e) {
|
|
6444
6444
|
ne.count(e);
|
|
6445
6445
|
}
|
|
6446
6446
|
function vl({ data: e, state: t, dispatch: n }) {
|
|
@@ -6497,7 +6497,7 @@ function Cl({ data: e, head: t, state: n, dispatch: s, type: r }) {
|
|
|
6497
6497
|
}
|
|
6498
6498
|
);
|
|
6499
6499
|
}
|
|
6500
|
-
const
|
|
6500
|
+
const Vl = { Button: fl, useValue: hl, Set: gl, Run: pl, Count: Wn, Reset: xl }, Ul = { Bell: Hs, Send: Vs, Add: Ws }, kl = "_p_djnh1_1", yl = "_l_djnh1_38", Vn = {
|
|
6501
6501
|
p: kl,
|
|
6502
6502
|
l: yl
|
|
6503
6503
|
};
|
|
@@ -6510,7 +6510,7 @@ function jl(e) {
|
|
|
6510
6510
|
for (let u = _; u < d; u++)
|
|
6511
6511
|
r.push({ page: u });
|
|
6512
6512
|
};
|
|
6513
|
-
return s < t * 2 + 6 ? l(1, s + 1) : n < t * 2 + 1 ? (l(1, t * 2 + 4), c()) : n > s - t * 2 ? (t = s > 1e4 ? 1 : t, i(), l(s - t * 2 - 2, s + 1)) : (t = s > 1e4 ? 1 : t, i(), l(n - t, n + t + 1), c()), r.length === 1 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("div", { className:
|
|
6513
|
+
return s < t * 2 + 6 ? l(1, s + 1) : n < t * 2 + 1 ? (l(1, t * 2 + 4), c()) : n > s - t * 2 ? (t = s > 1e4 ? 1 : t, i(), l(s - t * 2 - 2, s + 1)) : (t = s > 1e4 ? 1 : t, i(), l(n - t, n + t + 1), c()), r.length === 1 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("div", { className: Vn.p, children: [
|
|
6514
6514
|
/* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n - 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.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" }) }) }),
|
|
6515
6515
|
r.map((_, d) => {
|
|
6516
6516
|
console.log(_, e);
|
|
@@ -6562,7 +6562,7 @@ function Un({ load: e, list: t, item: n }) {
|
|
|
6562
6562
|
};
|
|
6563
6563
|
return g.useEffect(() => {
|
|
6564
6564
|
}, [r]), console.log(r), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
6565
|
-
/* @__PURE__ */ a.jsx("div", { className:
|
|
6565
|
+
/* @__PURE__ */ a.jsx("div", { className: Vn.l, ref: s, children: /* @__PURE__ */ a.jsx(Rn, { "el-empty": "Данные не найдены", children: r.load && r.list !== void 0 ? r.list.map((l) => /* @__PURE__ */ a.jsx(r.item, { data: l }, l.id)) : /* @__PURE__ */ a.jsxs("div", { "type-data": "load", children: [
|
|
6566
6566
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6567
6567
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6568
6568
|
/* @__PURE__ */ a.jsx("i", {})
|
|
@@ -6646,16 +6646,16 @@ export {
|
|
|
6646
6646
|
_n as Component,
|
|
6647
6647
|
Bl as DataBase,
|
|
6648
6648
|
we as Event,
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6649
|
+
zl as Files,
|
|
6650
|
+
Vl as Filter,
|
|
6651
|
+
Zl as Form,
|
|
6652
|
+
Z as Format,
|
|
6653
6653
|
Ol as HotKey,
|
|
6654
6654
|
Ll as Icon,
|
|
6655
|
-
|
|
6656
|
-
|
|
6655
|
+
Wi as Init,
|
|
6656
|
+
Gl as Input,
|
|
6657
6657
|
Hl as List,
|
|
6658
|
-
|
|
6658
|
+
Kl as Loading,
|
|
6659
6659
|
bt as Modal,
|
|
6660
6660
|
Le as Notice,
|
|
6661
6661
|
Ul as Notifications,
|
|
@@ -6663,7 +6663,7 @@ export {
|
|
|
6663
6663
|
Jl as Phone,
|
|
6664
6664
|
Ue as Router,
|
|
6665
6665
|
Al as Scrolling,
|
|
6666
|
-
|
|
6666
|
+
Wl as Search,
|
|
6667
6667
|
Dl as Setting,
|
|
6668
6668
|
yt as Sistym,
|
|
6669
6669
|
ce as Socket,
|