elcrm 0.6.3 → 0.6.4
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 +148 -148
- 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);
|
|
@@ -113,13 +113,13 @@ function Za(e) {
|
|
|
113
113
|
function Ga(e) {
|
|
114
114
|
Q.id = e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Va(e, t = !0) {
|
|
117
117
|
E.id = e, sessionStorage.setItem("f", D.enCode(E)), t && Q.id(e);
|
|
118
118
|
}
|
|
119
119
|
function Wa() {
|
|
120
120
|
return E.id;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Ka(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 re = {
|
|
|
245
245
|
setUser: vn,
|
|
246
246
|
getUser: ns,
|
|
247
247
|
getDefaultModules: Ra
|
|
248
|
-
}, Cn = "
|
|
248
|
+
}, Cn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57dHJ5e2xldCBzPWF3YWl0IGZldGNoKGAke2EuZGF0YS5ob3N0fSR7YS5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOmEuZGF0YS5zc2lkfSxib2R5OkpTT04uc3RyaW5naWZ5KGEuZGF0YS5kYXRhKX0pO3Bvc3RNZXNzYWdlKGF3YWl0IHMuanNvbigpKX1jYXRjaHtwb3N0TWVzc2FnZSh7c3RhdHVzOiJlcnJvciIsZGF0YToid29ya2VyIn0pfX19KSgpOwo=", 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 {
|
|
@@ -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 {
|
|
@@ -608,25 +608,25 @@ 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, V = Y.length - 1; A >= 1 && V >= 0 && T[A] !== Y[V]; )
|
|
612
|
+
V--;
|
|
613
|
+
for (; A >= 1 && V >= 0; A--, V--)
|
|
614
|
+
if (T[A] !== Y[V]) {
|
|
615
|
+
if (A !== 1 || V !== 1)
|
|
616
616
|
do
|
|
617
|
-
if (A--,
|
|
617
|
+
if (A--, V--, V < 0 || T[A] !== Y[V]) {
|
|
618
618
|
var te = `
|
|
619
619
|
` + T[A].replace(" at new ", " at ");
|
|
620
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 && V >= 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 ?
|
|
629
|
+
var Ce = o ? o.displayName || o.name : "", fe = Ce ? ze(Ce) : "";
|
|
630
630
|
return typeof o == "function" && Ge.set(o, fe), fe;
|
|
631
631
|
}
|
|
632
632
|
function Jn(o, f, v) {
|
|
@@ -636,42 +636,42 @@ function ps() {
|
|
|
636
636
|
var f = o.prototype;
|
|
637
637
|
return !!(f && f.isReactComponent);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function Ve(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 Ve(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 Ve(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 = {},
|
|
668
|
+
var Re = Object.prototype.hasOwnProperty, At = {}, Zt = y.ReactDebugCurrentFrame;
|
|
669
669
|
function We(o) {
|
|
670
670
|
if (o) {
|
|
671
|
-
var f = o._owner, v =
|
|
672
|
-
|
|
671
|
+
var f = o._owner, v = Ve(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
|
{
|
|
@@ -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
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
|
+
}, Vt, Wt, nt;
|
|
725
725
|
nt = {};
|
|
726
726
|
function sa(o) {
|
|
727
727
|
if (Re.call(o, "ref")) {
|
|
@@ -748,7 +748,7 @@ function ps() {
|
|
|
748
748
|
function oa(o, f) {
|
|
749
749
|
{
|
|
750
750
|
var v = function() {
|
|
751
|
-
|
|
751
|
+
Vt || (Vt = !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,
|
|
@@ -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 V = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
812
|
+
T && oa(I, V), Y && la(I, V);
|
|
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, Kt = y.ReactDebugCurrentFrame;
|
|
818
818
|
function ve(o) {
|
|
819
819
|
if (o) {
|
|
820
|
-
var f = o._owner, v =
|
|
821
|
-
|
|
820
|
+
var f = o._owner, v = Ve(o.type, o._source, f ? f.type : null);
|
|
821
|
+
Kt.setExtraStackFrame(v);
|
|
822
822
|
} else
|
|
823
|
-
|
|
823
|
+
Kt.setExtraStackFrame(null);
|
|
824
824
|
}
|
|
825
825
|
var st;
|
|
826
826
|
st = !1;
|
|
@@ -936,9 +936,9 @@ Check the top-level render call using <` + v + ">.");
|
|
|
936
936
|
var A;
|
|
937
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 V = da(o, f, v, M, F);
|
|
940
|
+
if (V == null)
|
|
941
|
+
return V;
|
|
942
942
|
if (I) {
|
|
943
943
|
var te = f.children;
|
|
944
944
|
if (te !== void 0)
|
|
@@ -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(V) : ma(V), V;
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
function ha(o, f, v) {
|
|
@@ -1120,18 +1120,18 @@ 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: Ka,
|
|
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:
|
|
1133
|
+
useId: za,
|
|
1134
|
+
setId: Va,
|
|
1135
1135
|
subId: Ga,
|
|
1136
1136
|
getId: Wa
|
|
1137
1137
|
};
|
|
@@ -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 Vs = (e, t) => {
|
|
1220
1220
|
switch (t.type) {
|
|
1221
1221
|
case "open":
|
|
1222
1222
|
return {
|
|
@@ -1271,7 +1271,7 @@ const Ks = (e, t) => {
|
|
|
1271
1271
|
function Ws(e) {
|
|
1272
1272
|
Ae.fn({ action: "add", data: e });
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function Ks(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(Vs, {
|
|
1285
1285
|
open: !1,
|
|
1286
1286
|
active: !1,
|
|
1287
1287
|
news: [],
|
|
@@ -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 ie = {},
|
|
1430
|
+
let ie = {}, K = {}, Ke = [
|
|
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
|
ie.laodData = (l) => {
|
|
1445
|
-
let _ =
|
|
1446
|
-
_ >= 0 &&
|
|
1445
|
+
let _ = Ke.indexOf(l);
|
|
1446
|
+
_ >= 0 && Ke.splice(_, 1), Ke.length === 0 && t(!0);
|
|
1447
1447
|
}, ie.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
|
+
}), Ke.length !== 0 && ie.laodData(_.type), K[_.type] && K[_.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
|
+
K.module = (e) => {
|
|
1465
1465
|
ie[e.listen] !== void 0 && (ie[e.listen](e), delete ie[e.listen]);
|
|
1466
1466
|
};
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1467
|
+
K.bell = Us;
|
|
1468
|
+
K.company = Qs;
|
|
1469
|
+
K.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
|
+
K.version = async (e) => {
|
|
1474
1474
|
yt.version.Server(e.data);
|
|
1475
1475
|
};
|
|
1476
|
-
|
|
1476
|
+
K.online = async (e) => {
|
|
1477
1477
|
};
|
|
1478
|
-
|
|
1478
|
+
K.offline = async (e) => {
|
|
1479
1479
|
};
|
|
1480
|
-
|
|
1480
|
+
K.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 @@ V.chat = (e) => {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
console.log(e);
|
|
1493
1493
|
};
|
|
1494
|
-
|
|
1494
|
+
K.users = (e) => {
|
|
1495
1495
|
console.log("users", e);
|
|
1496
1496
|
let t = {};
|
|
1497
1497
|
e.data.forEach((s) => {
|
|
@@ -1512,31 +1512,31 @@ V.users = (e) => {
|
|
|
1512
1512
|
let n = { ...Be(), user: t };
|
|
1513
1513
|
Pe(n);
|
|
1514
1514
|
};
|
|
1515
|
-
|
|
1515
|
+
K.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
|
+
K.delete = () => {
|
|
1522
1522
|
ee();
|
|
1523
1523
|
};
|
|
1524
|
-
|
|
1524
|
+
K.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
|
+
K.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
|
+
K.setting = (e) => {
|
|
1537
1537
|
Ua(e.data);
|
|
1538
1538
|
};
|
|
1539
|
-
|
|
1539
|
+
K.app = () => {
|
|
1540
1540
|
};
|
|
1541
1541
|
const nr = (e, t) => {
|
|
1542
1542
|
ie[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,
|
|
@@ -1964,7 +1964,7 @@ const Z = {
|
|
|
1964
1964
|
function pr({ children: e }) {
|
|
1965
1965
|
return /* @__PURE__ */ a.jsx("div", { className: "l", children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
|
|
1966
1966
|
}
|
|
1967
|
-
const vr = "_white_11p39_14", Cr = "_black_11p39_26", kr = "_shake_11p39_1", yr = "_modal_11p39_73", jr = "_o_11p39_83", br = "_w_11p39_14", wr = "_h_11p39_107", Sr = "_l_11p39_121", Er = "_t_11p39_159", Rr = "_m_11p39_73", Nr = "_x_11p39_167", Tr = "_s_11p39_177", Ir = "_c_11p39_182", Dr = "_f_11p39_187", Mr = "_btn_11p39_230", Fr = "_g_11p39_243", Lr = "_confirm_11p39_322", $r = "_cancel_11p39_327", Pr = "_disabled_11p39_332", Br = "_active_11p39_389", Or = "_coincidence_11p39_395", Ar = "_sa_11p39_431",
|
|
1967
|
+
const vr = "_white_11p39_14", Cr = "_black_11p39_26", kr = "_shake_11p39_1", yr = "_modal_11p39_73", jr = "_o_11p39_83", br = "_w_11p39_14", wr = "_h_11p39_107", Sr = "_l_11p39_121", Er = "_t_11p39_159", Rr = "_m_11p39_73", Nr = "_x_11p39_167", Tr = "_s_11p39_177", Ir = "_c_11p39_182", Dr = "_f_11p39_187", Mr = "_btn_11p39_230", Fr = "_g_11p39_243", Lr = "_confirm_11p39_322", $r = "_cancel_11p39_327", Pr = "_disabled_11p39_332", Br = "_active_11p39_389", Or = "_coincidence_11p39_395", Ar = "_sa_11p39_431", Zr = "_ss_11p39_435", zr = "_sm_11p39_439", Gr = "_sl_11p39_443", Vr = "_sx_11p39_447", Wr = "_sf_11p39_451", se = {
|
|
1968
1968
|
white: vr,
|
|
1969
1969
|
black: Cr,
|
|
1970
1970
|
shake: kr,
|
|
@@ -1994,13 +1994,13 @@ const vr = "_white_11p39_14", Cr = "_black_11p39_26", kr = "_shake_11p39_1", yr
|
|
|
1994
1994
|
active: Br,
|
|
1995
1995
|
coincidence: Or,
|
|
1996
1996
|
sa: Ar,
|
|
1997
|
-
ss:
|
|
1998
|
-
sm:
|
|
1997
|
+
ss: Zr,
|
|
1998
|
+
sm: zr,
|
|
1999
1999
|
sl: Gr,
|
|
2000
|
-
sx:
|
|
2000
|
+
sx: Vr,
|
|
2001
2001
|
sf: Wr
|
|
2002
2002
|
};
|
|
2003
|
-
function
|
|
2003
|
+
function Kr({ children: e }) {
|
|
2004
2004
|
return /* @__PURE__ */ a.jsx("div", { className: se.s, children: e });
|
|
2005
2005
|
}
|
|
2006
2006
|
function Ur({ children: e, className: t }) {
|
|
@@ -2138,7 +2138,7 @@ function ai({ type: e, name: t, params: n }) {
|
|
|
2138
2138
|
function si(e, t, n) {
|
|
2139
2139
|
ye.config(e, t, n);
|
|
2140
2140
|
}
|
|
2141
|
-
const bt = { List: pr, Scroll:
|
|
2141
|
+
const bt = { List: pr, Scroll: Kr, Main: Qr, Add: ei, Icon: ai, Open: si, Shake: ni, Form: Ur, Center: Yr };
|
|
2142
2142
|
function wn({ text: e, type: t, button: n }) {
|
|
2143
2143
|
let [s, r] = g.useState(!1), i = { active: t };
|
|
2144
2144
|
const c = () => {
|
|
@@ -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,7 +2854,7 @@ 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];
|
|
@@ -2862,8 +2862,8 @@ function Zi(e, t) {
|
|
|
2862
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: Gi, useEmitter:
|
|
2866
|
-
function
|
|
2865
|
+
const we = { setListener: Ai, useListener: Oi, setEmitter: Gi, useEmitter: Zi, subEmitter: zi };
|
|
2866
|
+
function Vi() {
|
|
2867
2867
|
let [e, t] = g.useState([]);
|
|
2868
2868
|
return we.useListener("form", (n) => {
|
|
2869
2869
|
t([n]);
|
|
@@ -2876,12 +2876,12 @@ const Wi = ({ children: e, config: t }) => (D.New(t.crypto), t.defaultModule &&
|
|
|
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(Vi, {}),
|
|
2880
2880
|
/* @__PURE__ */ a.jsx(Mi, {}),
|
|
2881
2881
|
/* @__PURE__ */ a.jsx(Ti, {}),
|
|
2882
2882
|
e
|
|
2883
2883
|
] })
|
|
2884
|
-
)),
|
|
2884
|
+
)), Ki = ({ 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,7 +2895,7 @@ 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(Ki, {}),
|
|
2899
2899
|
/* @__PURE__ */ a.jsx(Ui, {}),
|
|
2900
2900
|
/* @__PURE__ */ a.jsx(Wi, { config: { modal: {}, crypto: n } }),
|
|
2901
2901
|
e
|
|
@@ -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,10 +3229,10 @@ 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 });
|
|
@@ -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,8 +3669,8 @@ function $n(e) {
|
|
|
3669
3669
|
}
|
|
3670
3670
|
) });
|
|
3671
3671
|
}
|
|
3672
|
-
const
|
|
3673
|
-
o:
|
|
3672
|
+
const Vo = "_o_ff5dx_1", Wo = "_c_ff5dx_11", je = {
|
|
3673
|
+
o: Vo,
|
|
3674
3674
|
c: Wo
|
|
3675
3675
|
};
|
|
3676
3676
|
function St(e) {
|
|
@@ -3687,7 +3687,7 @@ function St(e) {
|
|
|
3687
3687
|
we.setListener(
|
|
3688
3688
|
"form",
|
|
3689
3689
|
/* @__PURE__ */ a.jsx(
|
|
3690
|
-
|
|
3690
|
+
Ko,
|
|
3691
3691
|
{
|
|
3692
3692
|
position: { x: k, y: w },
|
|
3693
3693
|
onValue: d,
|
|
@@ -3720,7 +3720,7 @@ function St(e) {
|
|
|
3720
3720
|
onClick: u,
|
|
3721
3721
|
...h,
|
|
3722
3722
|
"data-edit": (s && r) + "",
|
|
3723
|
-
children:
|
|
3723
|
+
children: z.Date(c, "dd.mm.yyyy")
|
|
3724
3724
|
}
|
|
3725
3725
|
),
|
|
3726
3726
|
n()
|
|
@@ -3728,7 +3728,7 @@ function St(e) {
|
|
|
3728
3728
|
}
|
|
3729
3729
|
) });
|
|
3730
3730
|
}
|
|
3731
|
-
const
|
|
3731
|
+
const Ko = (e) => {
|
|
3732
3732
|
let [t, n] = g.useState(!0), s = /* @__PURE__ */ new Date(), r = new Date(e.date), i = {
|
|
3733
3733
|
y: parseInt(s.getFullYear()),
|
|
3734
3734
|
d: parseInt(s.getDate()),
|
|
@@ -3753,7 +3753,7 @@ const Vo = (e) => {
|
|
|
3753
3753
|
j(l.m - 1, l.y);
|
|
3754
3754
|
}, y = (b) => {
|
|
3755
3755
|
e.onValue(
|
|
3756
|
-
l.y + "-" +
|
|
3756
|
+
l.y + "-" + z.Number(2, l.m) + "-" + z.Number(2, b)
|
|
3757
3757
|
), p();
|
|
3758
3758
|
}, j = (b, L) => {
|
|
3759
3759
|
L = b > 12 ? L + 1 : b < 1 ? L - 1 : L, b = b > 12 ? 1 : b < 1 ? 12 : b, _({ y: L, m: b });
|
|
@@ -3776,7 +3776,7 @@ const Vo = (e) => {
|
|
|
3776
3776
|
/* @__PURE__ */ a.jsxs("s", { children: [
|
|
3777
3777
|
/* @__PURE__ */ a.jsx("i", { "data-icon": "F021", onClick: () => w() }),
|
|
3778
3778
|
/* @__PURE__ */ a.jsxs("h2", { children: [
|
|
3779
|
-
|
|
3779
|
+
z.Month(l.m).name,
|
|
3780
3780
|
" ",
|
|
3781
3781
|
l.y
|
|
3782
3782
|
] }),
|
|
@@ -3846,7 +3846,7 @@ function Rt(e) {
|
|
|
3846
3846
|
m.target.textContent === "" && (m.target.textContent = 0), e.onValue({
|
|
3847
3847
|
value: n(m.target.textContent),
|
|
3848
3848
|
name: e.name
|
|
3849
|
-
}), m.target.textContent =
|
|
3849
|
+
}), m.target.textContent = z.Money(m.target.textContent);
|
|
3850
3850
|
}, c = (m) => {
|
|
3851
3851
|
m.target.textContent = n(m.target.textContent);
|
|
3852
3852
|
}, l = (m) => {
|
|
@@ -3875,7 +3875,7 @@ function Rt(e) {
|
|
|
3875
3875
|
contentEditable: !0,
|
|
3876
3876
|
suppressContentEditableWarning: !0,
|
|
3877
3877
|
"e-after": e.after,
|
|
3878
|
-
children:
|
|
3878
|
+
children: z.Money(t)
|
|
3879
3879
|
}
|
|
3880
3880
|
),
|
|
3881
3881
|
u()
|
|
@@ -3935,7 +3935,7 @@ function Pn({
|
|
|
3935
3935
|
{
|
|
3936
3936
|
onClick: x,
|
|
3937
3937
|
...p,
|
|
3938
|
-
children:
|
|
3938
|
+
children: z.Date(u, "mm.yyyy")
|
|
3939
3939
|
}
|
|
3940
3940
|
),
|
|
3941
3941
|
r && /* @__PURE__ */ a.jsx("em", { children: r })
|
|
@@ -3957,7 +3957,7 @@ const Uo = (e) => {
|
|
|
3957
3957
|
}, m = () => {
|
|
3958
3958
|
_(l - 1);
|
|
3959
3959
|
}, h = (y) => {
|
|
3960
|
-
e.onValue(l + "-" +
|
|
3960
|
+
e.onValue(l + "-" + z.Number(2, y)), d();
|
|
3961
3961
|
}, 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;
|
|
3962
3962
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
3963
3963
|
/* @__PURE__ */ a.jsx(
|
|
@@ -3989,7 +3989,7 @@ const Uo = (e) => {
|
|
|
3989
3989
|
h(y);
|
|
3990
3990
|
},
|
|
3991
3991
|
color: x(y),
|
|
3992
|
-
children: /* @__PURE__ */ a.jsx("b", { children:
|
|
3992
|
+
children: /* @__PURE__ */ a.jsx("b", { children: z.Month(y).abc })
|
|
3993
3993
|
},
|
|
3994
3994
|
j
|
|
3995
3995
|
))
|
|
@@ -5560,8 +5560,8 @@ function Tt({
|
|
|
5560
5560
|
let $ = 0, ae = "", G = W.replace(/\D/g, "");
|
|
5561
5561
|
G === "" && (k = !0);
|
|
5562
5562
|
let le = G.split(""), H = "";
|
|
5563
|
-
le.forEach((
|
|
5564
|
-
k && (H +=
|
|
5563
|
+
le.forEach((Ze) => {
|
|
5564
|
+
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(
|
|
5565
5565
|
new RegExp("[0-9]", "g"),
|
|
5566
5566
|
"_"
|
|
5567
5567
|
), ae = ""), w > ("" + H).length && (k = !0, p = `+${H}_(___) ___-__-__`.replace(
|
|
@@ -5966,7 +5966,7 @@ function pt({
|
|
|
5966
5966
|
);
|
|
5967
5967
|
}
|
|
5968
5968
|
}
|
|
5969
|
-
function
|
|
5969
|
+
function Zn(e) {
|
|
5970
5970
|
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) => {
|
|
5971
5971
|
e.onValue({ value: d.target.innerText, name: e.name });
|
|
5972
5972
|
}, l = (d) => {
|
|
@@ -6000,10 +6000,10 @@ function zn(e) {
|
|
|
6000
6000
|
}
|
|
6001
6001
|
);
|
|
6002
6002
|
}
|
|
6003
|
-
function
|
|
6003
|
+
function zn(e) {
|
|
6004
6004
|
let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "";
|
|
6005
6005
|
e.edit !== void 0 && e.edit, e.active !== void 0 && e.active;
|
|
6006
|
-
let s = e.placeholder !== void 0 ? e.placeholder : "", r =
|
|
6006
|
+
let s = e.placeholder !== void 0 ? e.placeholder : "", r = z.Date(
|
|
6007
6007
|
e.value === void 0 ? /* @__PURE__ */ new Date() : e.value,
|
|
6008
6008
|
"HH:MM"
|
|
6009
6009
|
), i = g.useRef(null), c = (u) => {
|
|
@@ -6054,8 +6054,8 @@ function Zn(e) {
|
|
|
6054
6054
|
}
|
|
6055
6055
|
const qo = (e) => {
|
|
6056
6056
|
let t = e.date.split(":"), n = {
|
|
6057
|
-
h:
|
|
6058
|
-
m:
|
|
6057
|
+
h: z.Number(2, t[0]),
|
|
6058
|
+
m: z.Number(2, t[1])
|
|
6059
6059
|
}, s = "hour", [r, i] = g.useState({}), c = !1, l = 0, _ = 0, d = {
|
|
6060
6060
|
body: g.useRef(null),
|
|
6061
6061
|
time: g.useRef(null),
|
|
@@ -6078,10 +6078,10 @@ const qo = (e) => {
|
|
|
6078
6078
|
) * (180 / Math.PI) * -1 + 180;
|
|
6079
6079
|
d[s].current.style.transform = "rotate(" + b + "deg)", s === "hour" ? (n = {
|
|
6080
6080
|
...n,
|
|
6081
|
-
h:
|
|
6081
|
+
h: z.Number(2, parseInt(String(b / 15), 10))
|
|
6082
6082
|
}, d.hourText.current.textContent = n.h) : (n = {
|
|
6083
6083
|
...n,
|
|
6084
|
-
m:
|
|
6084
|
+
m: z.Number(2, parseInt(String(b / 6), 10))
|
|
6085
6085
|
}, d.timeText.current.textContent = n.m), e.onValue(n.h + ":" + n.m);
|
|
6086
6086
|
}
|
|
6087
6087
|
}, x = (N) => {
|
|
@@ -6092,7 +6092,7 @@ const qo = (e) => {
|
|
|
6092
6092
|
if (_ !== R) {
|
|
6093
6093
|
_ = R;
|
|
6094
6094
|
let b = parseInt(n.h, 10) + 1;
|
|
6095
|
-
b = b > 23 ? 0 : b, n = { ...n, h:
|
|
6095
|
+
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)";
|
|
6096
6096
|
}
|
|
6097
6097
|
} else {
|
|
6098
6098
|
l -= N.deltaY;
|
|
@@ -6100,7 +6100,7 @@ const qo = (e) => {
|
|
|
6100
6100
|
if (_ !== R) {
|
|
6101
6101
|
_ = R;
|
|
6102
6102
|
let b = parseInt(n.h, 10) - 1;
|
|
6103
|
-
b = b < 0 ? 23 : b, n = { ...n, h:
|
|
6103
|
+
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)";
|
|
6104
6104
|
}
|
|
6105
6105
|
}
|
|
6106
6106
|
else if (N.deltaY > 0) {
|
|
@@ -6109,7 +6109,7 @@ const qo = (e) => {
|
|
|
6109
6109
|
if (_ !== R) {
|
|
6110
6110
|
_ = R;
|
|
6111
6111
|
let b = parseInt(n.m, 10) + 1;
|
|
6112
|
-
b = b > 59 ? 0 : b, n = { ...n, m:
|
|
6112
|
+
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)";
|
|
6113
6113
|
}
|
|
6114
6114
|
} else {
|
|
6115
6115
|
l -= N.deltaY;
|
|
@@ -6117,7 +6117,7 @@ const qo = (e) => {
|
|
|
6117
6117
|
if (_ !== R) {
|
|
6118
6118
|
_ = R;
|
|
6119
6119
|
let b = parseInt(n.m, 10) - 1;
|
|
6120
|
-
b = b < 0 ? 59 : b, n = { ...n, m:
|
|
6120
|
+
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)";
|
|
6121
6121
|
}
|
|
6122
6122
|
}
|
|
6123
6123
|
e.onValue(n.h + ":" + n.m);
|
|
@@ -6183,7 +6183,7 @@ function Xo(e) {
|
|
|
6183
6183
|
function Qo() {
|
|
6184
6184
|
be.r && be.r();
|
|
6185
6185
|
}
|
|
6186
|
-
const
|
|
6186
|
+
const zl = {
|
|
6187
6187
|
Color: $n,
|
|
6188
6188
|
Date: St,
|
|
6189
6189
|
Code: Ln,
|
|
@@ -6204,8 +6204,8 @@ const Zl = {
|
|
|
6204
6204
|
Search: An,
|
|
6205
6205
|
Select: It,
|
|
6206
6206
|
Set: pt,
|
|
6207
|
-
Textarea:
|
|
6208
|
-
Time:
|
|
6207
|
+
Textarea: Zn,
|
|
6208
|
+
Time: zn,
|
|
6209
6209
|
Users: Dt,
|
|
6210
6210
|
String: $e,
|
|
6211
6211
|
Form: pt,
|
|
@@ -6233,17 +6233,17 @@ const Zl = {
|
|
|
6233
6233
|
Search: An,
|
|
6234
6234
|
Select: It,
|
|
6235
6235
|
Set: pt,
|
|
6236
|
-
Textarea:
|
|
6237
|
-
Time:
|
|
6236
|
+
Textarea: Zn,
|
|
6237
|
+
Time: zn,
|
|
6238
6238
|
Users: Dt,
|
|
6239
6239
|
String: $e
|
|
6240
|
-
}, el = "_spinner_1ul0m_1", tl = "_l_1ul0m_75", nl = "_loadingB_1ul0m_1",
|
|
6240
|
+
}, el = "_spinner_1ul0m_1", tl = "_l_1ul0m_75", nl = "_loadingB_1ul0m_1", Vn = {
|
|
6241
6241
|
spinner: el,
|
|
6242
6242
|
l: tl,
|
|
6243
6243
|
loadingB: nl
|
|
6244
6244
|
};
|
|
6245
6245
|
function al() {
|
|
6246
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
6246
|
+
return /* @__PURE__ */ a.jsx("div", { className: Vn.spinner, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ a.jsx(
|
|
6247
6247
|
"path",
|
|
6248
6248
|
{
|
|
6249
6249
|
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",
|
|
@@ -6252,13 +6252,13 @@ function al() {
|
|
|
6252
6252
|
) }) });
|
|
6253
6253
|
}
|
|
6254
6254
|
function sl() {
|
|
6255
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
6255
|
+
return /* @__PURE__ */ a.jsxs("div", { className: Vn.l, children: [
|
|
6256
6256
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6257
6257
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6258
6258
|
/* @__PURE__ */ a.jsx("i", {})
|
|
6259
6259
|
] });
|
|
6260
6260
|
}
|
|
6261
|
-
const
|
|
6261
|
+
const Vl = { Spinner: al, Inline: sl }, rl = "_s_t9swc_1", il = {
|
|
6262
6262
|
s: rl
|
|
6263
6263
|
};
|
|
6264
6264
|
let Mt;
|
|
@@ -6380,7 +6380,7 @@ function fl() {
|
|
|
6380
6380
|
t({ type: "open", open: !0 });
|
|
6381
6381
|
},
|
|
6382
6382
|
children: [
|
|
6383
|
-
/* @__PURE__ */ a.jsx(
|
|
6383
|
+
/* @__PURE__ */ a.jsx(Zs, {}),
|
|
6384
6384
|
e.active && /* @__PURE__ */ a.jsxs("i", { children: [
|
|
6385
6385
|
e.size,
|
|
6386
6386
|
"1"
|
|
@@ -6500,7 +6500,7 @@ function Cl({ data: e, head: t, state: n, dispatch: s, type: r }) {
|
|
|
6500
6500
|
}
|
|
6501
6501
|
);
|
|
6502
6502
|
}
|
|
6503
|
-
const
|
|
6503
|
+
const Kl = { Button: fl, useValue: hl, Set: gl, Run: pl, Count: Wn, Reset: xl }, Ul = { Bell: Hs, Send: Ks, Add: Ws }, kl = "_p_djnh1_1", yl = "_l_djnh1_38", Kn = {
|
|
6504
6504
|
p: kl,
|
|
6505
6505
|
l: yl
|
|
6506
6506
|
};
|
|
@@ -6513,7 +6513,7 @@ function jl(e) {
|
|
|
6513
6513
|
for (let u = _; u < d; u++)
|
|
6514
6514
|
r.push({ page: u });
|
|
6515
6515
|
};
|
|
6516
|
-
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:
|
|
6516
|
+
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: Kn.p, children: [
|
|
6517
6517
|
/* @__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" }) }) }),
|
|
6518
6518
|
r.map((_, d) => {
|
|
6519
6519
|
console.log(_, e);
|
|
@@ -6565,7 +6565,7 @@ function Un({ load: e, list: t, item: n }) {
|
|
|
6565
6565
|
};
|
|
6566
6566
|
return g.useEffect(() => {
|
|
6567
6567
|
}, [r]), console.log(r), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
6568
|
-
/* @__PURE__ */ a.jsx("div", { className:
|
|
6568
|
+
/* @__PURE__ */ a.jsx("div", { className: Kn.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: [
|
|
6569
6569
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6570
6570
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
6571
6571
|
/* @__PURE__ */ a.jsx("i", {})
|
|
@@ -6649,16 +6649,16 @@ export {
|
|
|
6649
6649
|
_n as Component,
|
|
6650
6650
|
Bl as DataBase,
|
|
6651
6651
|
we as Event,
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6652
|
+
Zl as Files,
|
|
6653
|
+
Kl as Filter,
|
|
6654
|
+
zl as Form,
|
|
6655
|
+
z as Format,
|
|
6656
6656
|
Ol as HotKey,
|
|
6657
6657
|
Ll as Icon,
|
|
6658
6658
|
Wi as Init,
|
|
6659
6659
|
Gl as Input,
|
|
6660
6660
|
Hl as List,
|
|
6661
|
-
|
|
6661
|
+
Vl as Loading,
|
|
6662
6662
|
bt as Modal,
|
|
6663
6663
|
Le as Notice,
|
|
6664
6664
|
Ul as Notifications,
|