elcrm 0.9.94 → 0.9.95
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 +210 -211
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import './index.css';var Ha = Object.defineProperty;
|
|
2
2
|
var Ya = (e, t, n) => t in e ? Ha(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var jt = (e, t, n) => Ya(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import h, { createContext as
|
|
5
|
-
let
|
|
4
|
+
import h, { createContext as En, useContext as qa, createElement as Dn } from "react";
|
|
5
|
+
let Pt = {
|
|
6
6
|
enCode: (e) => e,
|
|
7
7
|
deCode: (e) => e
|
|
8
8
|
};
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
}, Ja = (e) =>
|
|
9
|
+
const In = (e) => {
|
|
10
|
+
Pt = e;
|
|
11
|
+
}, Ja = (e) => Pt.enCode(e), Va = (e) => Pt.deCode(e), O = { enCode: Ja, deCode: Va, New: In };
|
|
12
12
|
var yt = { exports: {} }, Ae = {};
|
|
13
13
|
/**
|
|
14
14
|
* @license React
|
|
@@ -19,10 +19,10 @@ var yt = { exports: {} }, Ae = {};
|
|
|
19
19
|
* This source code is licensed under the MIT license found in the
|
|
20
20
|
* LICENSE file in the root directory of this source tree.
|
|
21
21
|
*/
|
|
22
|
-
var
|
|
22
|
+
var un;
|
|
23
23
|
function Xa() {
|
|
24
|
-
if (
|
|
25
|
-
|
|
24
|
+
if (un) return Ae;
|
|
25
|
+
un = 1;
|
|
26
26
|
var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
27
27
|
function o(l, c, _) {
|
|
28
28
|
var u, x = {}, m = null, f = null;
|
|
@@ -43,9 +43,9 @@ var Ge = {};
|
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
45
|
*/
|
|
46
|
-
var
|
|
46
|
+
var fn;
|
|
47
47
|
function Qa() {
|
|
48
|
-
return
|
|
48
|
+
return fn || (fn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
49
|
var e = h, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), j = Symbol.iterator, g = "@@iterator";
|
|
50
50
|
function p(d) {
|
|
51
51
|
if (d === null || typeof d != "object")
|
|
@@ -135,18 +135,18 @@ function Qa() {
|
|
|
135
135
|
}
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
|
-
var P = Object.assign, K = 0, ne, ie, ve, Ie, Fe, Ve,
|
|
139
|
-
function
|
|
138
|
+
var P = Object.assign, K = 0, ne, ie, ve, Ie, Fe, Ve, qt;
|
|
139
|
+
function Jt() {
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
Jt.__reactDisabledLog = !0;
|
|
142
142
|
function ja() {
|
|
143
143
|
{
|
|
144
144
|
if (K === 0) {
|
|
145
|
-
ne = console.log, ie = console.info, ve = console.warn, Ie = console.error, Fe = console.group, Ve = console.groupCollapsed,
|
|
145
|
+
ne = console.log, ie = console.info, ve = console.warn, Ie = console.error, Fe = console.group, Ve = console.groupCollapsed, qt = console.groupEnd;
|
|
146
146
|
var d = {
|
|
147
147
|
configurable: !0,
|
|
148
148
|
enumerable: !0,
|
|
149
|
-
value:
|
|
149
|
+
value: Jt,
|
|
150
150
|
writable: !0
|
|
151
151
|
};
|
|
152
152
|
Object.defineProperties(console, {
|
|
@@ -190,7 +190,7 @@ function Qa() {
|
|
|
190
190
|
value: Ve
|
|
191
191
|
}),
|
|
192
192
|
groupEnd: P({}, d, {
|
|
193
|
-
value:
|
|
193
|
+
value: qt
|
|
194
194
|
})
|
|
195
195
|
});
|
|
196
196
|
}
|
|
@@ -216,7 +216,7 @@ function Qa() {
|
|
|
216
216
|
var ka = typeof WeakMap == "function" ? WeakMap : Map;
|
|
217
217
|
Qe = new ka();
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Vt(d, v) {
|
|
220
220
|
if (!d || ft)
|
|
221
221
|
return "";
|
|
222
222
|
{
|
|
@@ -288,7 +288,7 @@ function Qa() {
|
|
|
288
288
|
return typeof d == "function" && Qe.set(d, Se), Se;
|
|
289
289
|
}
|
|
290
290
|
function ya(d, v, w) {
|
|
291
|
-
return
|
|
291
|
+
return Vt(d, !1);
|
|
292
292
|
}
|
|
293
293
|
function ba(d) {
|
|
294
294
|
var v = d.prototype;
|
|
@@ -298,7 +298,7 @@ function Qa() {
|
|
|
298
298
|
if (d == null)
|
|
299
299
|
return "";
|
|
300
300
|
if (typeof d == "function")
|
|
301
|
-
return
|
|
301
|
+
return Vt(d, ba(d));
|
|
302
302
|
if (typeof d == "string")
|
|
303
303
|
return Xe(d);
|
|
304
304
|
switch (d) {
|
|
@@ -323,13 +323,13 @@ function Qa() {
|
|
|
323
323
|
}
|
|
324
324
|
return "";
|
|
325
325
|
}
|
|
326
|
-
var Pe = Object.prototype.hasOwnProperty,
|
|
326
|
+
var Pe = Object.prototype.hasOwnProperty, Xt = {}, Qt = C.ReactDebugCurrentFrame;
|
|
327
327
|
function tt(d) {
|
|
328
328
|
if (d) {
|
|
329
329
|
var v = d._owner, w = et(d.type, d._source, v ? v.type : null);
|
|
330
|
-
|
|
330
|
+
Qt.setExtraStackFrame(w);
|
|
331
331
|
} else
|
|
332
|
-
|
|
332
|
+
Qt.setExtraStackFrame(null);
|
|
333
333
|
}
|
|
334
334
|
function wa(d, v, w, F, Z) {
|
|
335
335
|
{
|
|
@@ -346,7 +346,7 @@ function Qa() {
|
|
|
346
346
|
} catch (Y) {
|
|
347
347
|
A = Y;
|
|
348
348
|
}
|
|
349
|
-
A && !(A instanceof Error) && (tt(Z), k("%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).", F || "React class", w, G, typeof A), tt(null)), A instanceof Error && !(A.message in
|
|
349
|
+
A && !(A instanceof Error) && (tt(Z), k("%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).", F || "React class", w, G, typeof A), tt(null)), A instanceof Error && !(A.message in Xt) && (Xt[A.message] = !0, tt(Z), k("Failed %s type: %s", w, A.message), tt(null));
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -362,24 +362,24 @@ function Qa() {
|
|
|
362
362
|
}
|
|
363
363
|
function Da(d) {
|
|
364
364
|
try {
|
|
365
|
-
return
|
|
365
|
+
return en(d), !1;
|
|
366
366
|
} catch {
|
|
367
367
|
return !0;
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function en(d) {
|
|
371
371
|
return "" + d;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function tn(d) {
|
|
374
374
|
if (Da(d))
|
|
375
|
-
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ea(d)),
|
|
375
|
+
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ea(d)), en(d);
|
|
376
376
|
}
|
|
377
377
|
var Oe = C.ReactCurrentOwner, Ia = {
|
|
378
378
|
key: !0,
|
|
379
379
|
ref: !0,
|
|
380
380
|
__self: !0,
|
|
381
381
|
__source: !0
|
|
382
|
-
},
|
|
382
|
+
}, nn, an, ht;
|
|
383
383
|
ht = {};
|
|
384
384
|
function Ra(d) {
|
|
385
385
|
if (Pe.call(d, "ref")) {
|
|
@@ -406,7 +406,7 @@ function Qa() {
|
|
|
406
406
|
function Ma(d, v) {
|
|
407
407
|
{
|
|
408
408
|
var w = function() {
|
|
409
|
-
|
|
409
|
+
nn || (nn = !0, k("%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)", v));
|
|
410
410
|
};
|
|
411
411
|
w.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
412
412
|
get: w,
|
|
@@ -417,7 +417,7 @@ function Qa() {
|
|
|
417
417
|
function La(d, v) {
|
|
418
418
|
{
|
|
419
419
|
var w = function() {
|
|
420
|
-
|
|
420
|
+
an || (an = !0, k("%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)", v));
|
|
421
421
|
};
|
|
422
422
|
w.isReactWarning = !0, Object.defineProperty(d, "ref", {
|
|
423
423
|
get: w,
|
|
@@ -457,7 +457,7 @@ function Qa() {
|
|
|
457
457
|
function Ba(d, v, w, F, Z) {
|
|
458
458
|
{
|
|
459
459
|
var U, G = {}, A = null, ee = null;
|
|
460
|
-
w !== void 0 && (
|
|
460
|
+
w !== void 0 && (tn(w), A = "" + w), Na(v) && (tn(v.key), A = "" + v.key), Ra(v) && (ee = v.ref, Ta(v, Z));
|
|
461
461
|
for (U in v)
|
|
462
462
|
Pe.call(v, U) && !Ia.hasOwnProperty(U) && (G[U] = v[U]);
|
|
463
463
|
if (d && d.defaultProps) {
|
|
@@ -472,20 +472,20 @@ function Qa() {
|
|
|
472
472
|
return $a(d, A, ee, Z, F, Oe.current, G);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
var pt = C.ReactCurrentOwner,
|
|
475
|
+
var pt = C.ReactCurrentOwner, sn = C.ReactDebugCurrentFrame;
|
|
476
476
|
function Re(d) {
|
|
477
477
|
if (d) {
|
|
478
478
|
var v = d._owner, w = et(d.type, d._source, v ? v.type : null);
|
|
479
|
-
|
|
479
|
+
sn.setExtraStackFrame(w);
|
|
480
480
|
} else
|
|
481
|
-
|
|
481
|
+
sn.setExtraStackFrame(null);
|
|
482
482
|
}
|
|
483
483
|
var gt;
|
|
484
484
|
gt = !1;
|
|
485
485
|
function xt(d) {
|
|
486
486
|
return typeof d == "object" && d !== null && d.$$typeof === t;
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function rn() {
|
|
489
489
|
{
|
|
490
490
|
if (pt.current) {
|
|
491
491
|
var d = I(pt.current.type);
|
|
@@ -500,10 +500,10 @@ Check the render method of \`` + d + "`.";
|
|
|
500
500
|
function Fa(d) {
|
|
501
501
|
return "";
|
|
502
502
|
}
|
|
503
|
-
var
|
|
503
|
+
var on = {};
|
|
504
504
|
function Pa(d) {
|
|
505
505
|
{
|
|
506
|
-
var v =
|
|
506
|
+
var v = rn();
|
|
507
507
|
if (!v) {
|
|
508
508
|
var w = typeof d == "string" ? d : d.displayName || d.name;
|
|
509
509
|
w && (v = `
|
|
@@ -513,27 +513,27 @@ Check the top-level render call using <` + w + ">.");
|
|
|
513
513
|
return v;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function ln(d, v) {
|
|
517
517
|
{
|
|
518
518
|
if (!d._store || d._store.validated || d.key != null)
|
|
519
519
|
return;
|
|
520
520
|
d._store.validated = !0;
|
|
521
521
|
var w = Pa(v);
|
|
522
|
-
if (
|
|
522
|
+
if (on[w])
|
|
523
523
|
return;
|
|
524
|
-
|
|
524
|
+
on[w] = !0;
|
|
525
525
|
var F = "";
|
|
526
526
|
d && d._owner && d._owner !== pt.current && (F = " It was passed a child from " + I(d._owner.type) + "."), Re(d), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, F), Re(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function cn(d, v) {
|
|
530
530
|
{
|
|
531
531
|
if (typeof d != "object")
|
|
532
532
|
return;
|
|
533
533
|
if (mt(d))
|
|
534
534
|
for (var w = 0; w < d.length; w++) {
|
|
535
535
|
var F = d[w];
|
|
536
|
-
xt(F) &&
|
|
536
|
+
xt(F) && ln(F, v);
|
|
537
537
|
}
|
|
538
538
|
else if (xt(d))
|
|
539
539
|
d._store && (d._store.validated = !0);
|
|
@@ -541,7 +541,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
541
541
|
var Z = p(d);
|
|
542
542
|
if (typeof Z == "function" && Z !== d.entries)
|
|
543
543
|
for (var U = Z.call(d), G; !(G = U.next()).done; )
|
|
544
|
-
xt(G.value) &&
|
|
544
|
+
xt(G.value) && ln(G.value, v);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
@@ -582,15 +582,15 @@ Check the top-level render call using <` + w + ">.");
|
|
|
582
582
|
d.ref !== null && (Re(d), k("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
var
|
|
586
|
-
function
|
|
585
|
+
var dn = {};
|
|
586
|
+
function _n(d, v, w, F, Z, U) {
|
|
587
587
|
{
|
|
588
588
|
var G = L(d);
|
|
589
589
|
if (!G) {
|
|
590
590
|
var A = "";
|
|
591
591
|
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
592
|
var ee = Fa();
|
|
593
|
-
ee ? A += ee : A +=
|
|
593
|
+
ee ? A += ee : A += rn();
|
|
594
594
|
var Y;
|
|
595
595
|
d === null ? Y = "null" : mt(d) ? Y = "array" : d !== void 0 && d.$$typeof === t ? (Y = "<" + (I(d.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof d, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, A);
|
|
596
596
|
}
|
|
@@ -603,35 +603,35 @@ Check the top-level render call using <` + w + ">.");
|
|
|
603
603
|
if (F)
|
|
604
604
|
if (mt(le)) {
|
|
605
605
|
for (var Ne = 0; Ne < le.length; Ne++)
|
|
606
|
-
|
|
606
|
+
cn(le[Ne], d);
|
|
607
607
|
Object.freeze && Object.freeze(le);
|
|
608
608
|
} else
|
|
609
609
|
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
610
610
|
else
|
|
611
|
-
|
|
611
|
+
cn(le, d);
|
|
612
612
|
}
|
|
613
613
|
if (Pe.call(v, "key")) {
|
|
614
614
|
var Se = I(d), ae = Object.keys(v).filter(function(Ka) {
|
|
615
615
|
return Ka !== "key";
|
|
616
616
|
}), vt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
|
-
if (!
|
|
617
|
+
if (!dn[Se + vt]) {
|
|
618
618
|
var Wa = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
k(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
622
622
|
React keys must be passed directly to JSX without using spread:
|
|
623
623
|
let props = %s;
|
|
624
|
-
<%s key={someKey} {...props} />`, vt, Se, Wa, Se),
|
|
624
|
+
<%s key={someKey} {...props} />`, vt, Se, Wa, Se), dn[Se + vt] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
return d === s ? Aa(J) : Oa(J), J;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
function Ga(d, v, w) {
|
|
631
|
-
return
|
|
631
|
+
return _n(d, v, w, !0);
|
|
632
632
|
}
|
|
633
633
|
function Za(d, v, w) {
|
|
634
|
-
return
|
|
634
|
+
return _n(d, v, w, !1);
|
|
635
635
|
}
|
|
636
636
|
var Ua = Za, za = Ga;
|
|
637
637
|
Ge.Fragment = s, Ge.jsx = Ua, Ge.jsxs = za;
|
|
@@ -757,7 +757,7 @@ Ee.success = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
757
757
|
}
|
|
758
758
|
)
|
|
759
759
|
] });
|
|
760
|
-
const je = { Send: cs, Error: ds, Remark: us, Success: _s, Copy: fs, Custom: ls }, S = {}, X = {}, Te = {},
|
|
760
|
+
const je = { Send: cs, Error: ds, Remark: us, Success: _s, Copy: fs, Custom: ls }, S = {}, X = {}, Te = {}, Rn = {}, ye = {}, me = {};
|
|
761
761
|
let it = "M06";
|
|
762
762
|
function ms(e) {
|
|
763
763
|
it = e;
|
|
@@ -818,7 +818,7 @@ function bt() {
|
|
|
818
818
|
return te(), !1;
|
|
819
819
|
}
|
|
820
820
|
function ys() {
|
|
821
|
-
const [e, t] = h.useState(
|
|
821
|
+
const [e, t] = h.useState(Nn()), n = (s) => {
|
|
822
822
|
t(s);
|
|
823
823
|
};
|
|
824
824
|
return X.page = n, [e];
|
|
@@ -826,7 +826,7 @@ function ys() {
|
|
|
826
826
|
function bs(e, t = !0) {
|
|
827
827
|
S.page = e, sessionStorage.setItem("f", O.enCode(S)), t && X.page(e);
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Nn() {
|
|
830
830
|
return S.page;
|
|
831
831
|
}
|
|
832
832
|
function ws(e) {
|
|
@@ -834,7 +834,7 @@ function ws(e) {
|
|
|
834
834
|
}
|
|
835
835
|
function Ss(e) {
|
|
836
836
|
if (typeof e != "function") {
|
|
837
|
-
const [t, n] = h.useState(e ||
|
|
837
|
+
const [t, n] = h.useState(e || Tn()), s = (r) => {
|
|
838
838
|
n(r);
|
|
839
839
|
};
|
|
840
840
|
return X.module = s, [t];
|
|
@@ -844,20 +844,20 @@ function Ss(e) {
|
|
|
844
844
|
function Es(e, t = !0) {
|
|
845
845
|
S.module = e, sessionStorage.setItem("f", O.enCode(S)), t && X.module(e);
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function Tn() {
|
|
848
848
|
return S.module;
|
|
849
849
|
}
|
|
850
850
|
function Ds(e) {
|
|
851
851
|
return S.module === e;
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function Mn(e) {
|
|
854
854
|
if (typeof e != "function") {
|
|
855
855
|
const [t, n] = h.useState(e || Me());
|
|
856
856
|
return X.tabs = n, [t];
|
|
857
857
|
} else
|
|
858
858
|
X.tabs = e;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function Ln(e, t = !0) {
|
|
861
861
|
if (S.tab = e, sessionStorage.setItem("f", O.enCode(S)), !!t)
|
|
862
862
|
if (X.tabs)
|
|
863
863
|
X.tabs(e);
|
|
@@ -872,7 +872,7 @@ function Is(e) {
|
|
|
872
872
|
}
|
|
873
873
|
function Rs(e) {
|
|
874
874
|
if (typeof e != "function") {
|
|
875
|
-
const [t, n] = h.useState(e ||
|
|
875
|
+
const [t, n] = h.useState(e || $n()), s = (r) => {
|
|
876
876
|
n(r);
|
|
877
877
|
};
|
|
878
878
|
return X.id = s, [t];
|
|
@@ -885,7 +885,7 @@ function Ns(e) {
|
|
|
885
885
|
function Ts(e, t = !0) {
|
|
886
886
|
S.id = e, sessionStorage.setItem("f", O.enCode(S)), t && X.id(e);
|
|
887
887
|
}
|
|
888
|
-
function
|
|
888
|
+
function $n() {
|
|
889
889
|
return S.id;
|
|
890
890
|
}
|
|
891
891
|
function Ms(e) {
|
|
@@ -915,7 +915,7 @@ function Ps(e) {
|
|
|
915
915
|
let t = localStorage.getItem("s");
|
|
916
916
|
return t === null ? {} : (t = O.deCode(t), t ? e !== void 0 ? t[e] : t : te());
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function Bn(e) {
|
|
919
919
|
localStorage.setItem("m", O.enCode({ data: e }));
|
|
920
920
|
}
|
|
921
921
|
function Os() {
|
|
@@ -935,7 +935,7 @@ function Os() {
|
|
|
935
935
|
function As(e) {
|
|
936
936
|
X.sort = e;
|
|
937
937
|
}
|
|
938
|
-
function
|
|
938
|
+
function Fn(e) {
|
|
939
939
|
let t = localStorage.getItem("b");
|
|
940
940
|
t = t === null ? {} : O.deCode(t), t[Me()] = e, localStorage.setItem("b", O.enCode(t));
|
|
941
941
|
}
|
|
@@ -943,10 +943,10 @@ function wt() {
|
|
|
943
943
|
let e = localStorage.getItem("b");
|
|
944
944
|
return e === null ? {} : (e = O.deCode(e), e = e[Me()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Pn(e) {
|
|
947
947
|
localStorage.setItem("c", O.enCode(e));
|
|
948
948
|
}
|
|
949
|
-
function
|
|
949
|
+
function On(e, t) {
|
|
950
950
|
var s;
|
|
951
951
|
let n = localStorage.getItem("c");
|
|
952
952
|
if (n !== "" && n !== "undefined" && n !== null) {
|
|
@@ -969,10 +969,10 @@ function Ce(e, t) {
|
|
|
969
969
|
return e === void 0 && t === void 0 ? me.data : e !== void 0 && t === void 0 ? me.data[e] : me.data[e][t];
|
|
970
970
|
}
|
|
971
971
|
function Zs(e) {
|
|
972
|
-
|
|
972
|
+
Rn.data = e;
|
|
973
973
|
}
|
|
974
974
|
function Us(e) {
|
|
975
|
-
return
|
|
975
|
+
return Rn.data[e];
|
|
976
976
|
}
|
|
977
977
|
function zs(e) {
|
|
978
978
|
S.payment = e;
|
|
@@ -980,7 +980,7 @@ function zs(e) {
|
|
|
980
980
|
function Ws() {
|
|
981
981
|
return S.payment;
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function An(e) {
|
|
984
984
|
localStorage.setItem("u", O.enCode(e));
|
|
985
985
|
}
|
|
986
986
|
function Ks(e) {
|
|
@@ -995,7 +995,7 @@ function Hs() {
|
|
|
995
995
|
let e = localStorage.getItem("u");
|
|
996
996
|
return e !== "" && e !== "undefined" && e !== null ? O.deCode(e) : !1;
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function mn(e) {
|
|
999
999
|
localStorage.setItem("e", O.enCode(e));
|
|
1000
1000
|
}
|
|
1001
1001
|
function Ys() {
|
|
@@ -1070,13 +1070,13 @@ const V = {
|
|
|
1070
1070
|
getAUTH: Cs,
|
|
1071
1071
|
Logaut: te,
|
|
1072
1072
|
Start: gs,
|
|
1073
|
-
setMenu:
|
|
1073
|
+
setMenu: Bn,
|
|
1074
1074
|
getMenu: Os,
|
|
1075
1075
|
useSort: As,
|
|
1076
|
-
setSort:
|
|
1076
|
+
setSort: Fn,
|
|
1077
1077
|
getSort: wt,
|
|
1078
|
-
setCompany:
|
|
1079
|
-
getCompany:
|
|
1078
|
+
setCompany: Pn,
|
|
1079
|
+
getCompany: On,
|
|
1080
1080
|
setSelect: He,
|
|
1081
1081
|
addSelect: Gs,
|
|
1082
1082
|
getSelect: Ce,
|
|
@@ -1084,7 +1084,7 @@ const V = {
|
|
|
1084
1084
|
getApi: Us,
|
|
1085
1085
|
setPayment: zs,
|
|
1086
1086
|
getPayment: Ws,
|
|
1087
|
-
setUser:
|
|
1087
|
+
setUser: An,
|
|
1088
1088
|
isUser: Hs,
|
|
1089
1089
|
getUser: Ks,
|
|
1090
1090
|
getDefaultModules: hs,
|
|
@@ -1095,11 +1095,11 @@ const V = {
|
|
|
1095
1095
|
editBase: er,
|
|
1096
1096
|
loadBase: qs,
|
|
1097
1097
|
devMod: tr
|
|
1098
|
-
},
|
|
1099
|
-
function
|
|
1098
|
+
}, Gn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", nr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), hn = typeof self < "u" && self.Blob && new Blob([nr(Gn)], { type: "text/javascript;charset=utf-8" });
|
|
1099
|
+
function Zn(e) {
|
|
1100
1100
|
let t;
|
|
1101
1101
|
try {
|
|
1102
|
-
if (t =
|
|
1102
|
+
if (t = hn && (self.URL || self.webkitURL).createObjectURL(hn), !t) throw "";
|
|
1103
1103
|
const n = new Worker(t, {
|
|
1104
1104
|
name: e == null ? void 0 : e.name
|
|
1105
1105
|
});
|
|
@@ -1108,7 +1108,7 @@ function Un(e) {
|
|
|
1108
1108
|
}), n;
|
|
1109
1109
|
} catch {
|
|
1110
1110
|
return new Worker(
|
|
1111
|
-
"data:text/javascript;base64," +
|
|
1111
|
+
"data:text/javascript;base64," + Gn,
|
|
1112
1112
|
{
|
|
1113
1113
|
name: e == null ? void 0 : e.name
|
|
1114
1114
|
}
|
|
@@ -1137,19 +1137,18 @@ function lt(e) {
|
|
|
1137
1137
|
return ue.i(e);
|
|
1138
1138
|
}
|
|
1139
1139
|
function lr(e) {
|
|
1140
|
-
|
|
1140
|
+
In(e);
|
|
1141
1141
|
}
|
|
1142
1142
|
const cr = "_i_it11s_1", dr = {
|
|
1143
1143
|
i: cr
|
|
1144
1144
|
};
|
|
1145
|
-
let
|
|
1145
|
+
let Un = "/assets/";
|
|
1146
1146
|
function _r(e) {
|
|
1147
|
-
|
|
1147
|
+
Un = e;
|
|
1148
1148
|
}
|
|
1149
1149
|
function ur({ name: e, size: t = 16, onClick: n, hover: s }) {
|
|
1150
1150
|
const r = {
|
|
1151
|
-
|
|
1152
|
-
WebkitMaskImage: `url(${St}${e}.svg)`
|
|
1151
|
+
WebkitMaskImage: `url(${Un}${e}.svg)`
|
|
1153
1152
|
}, i = {};
|
|
1154
1153
|
return n && (i.onClick = n, i.pointer = ""), s && (i.hover = s), /* @__PURE__ */ a.jsx(
|
|
1155
1154
|
"i",
|
|
@@ -1191,7 +1190,7 @@ function vr(e) {
|
|
|
1191
1190
|
}
|
|
1192
1191
|
function qe(e, t = {}, n = Le ? V.getSSID() : V.getAUTH()) {
|
|
1193
1192
|
return new Promise((s) => {
|
|
1194
|
-
const r = new
|
|
1193
|
+
const r = new Zn();
|
|
1195
1194
|
r.onmessage = (i) => {
|
|
1196
1195
|
var o, l, c;
|
|
1197
1196
|
if (Le && ((o = i.data) != null && o.ssid) && V.setSSID(i.data.ssid), ((l = i.data) == null ? void 0 : l.status) === "logaut" || ((c = i.data) == null ? void 0 : c.status) === "logout")
|
|
@@ -1220,7 +1219,7 @@ async function jr(e, t = {}, n = Le ? V.getSSID() : V.getAUTH()) {
|
|
|
1220
1219
|
}
|
|
1221
1220
|
function Cr(e, t = {}, n = Le ? V.getSSID() : V.getAUTH()) {
|
|
1222
1221
|
return new Promise((s) => {
|
|
1223
|
-
const r = new
|
|
1222
|
+
const r = new Zn();
|
|
1224
1223
|
r.onmessage = (i) => {
|
|
1225
1224
|
s(i.data), r.terminate();
|
|
1226
1225
|
}, r.postMessage({
|
|
@@ -1276,7 +1275,7 @@ async function Sr(e, t = {}) {
|
|
|
1276
1275
|
setTimeout(() => n(t), e);
|
|
1277
1276
|
});
|
|
1278
1277
|
}
|
|
1279
|
-
const
|
|
1278
|
+
const St = {
|
|
1280
1279
|
audio: gr,
|
|
1281
1280
|
image: xr,
|
|
1282
1281
|
fetch: qe,
|
|
@@ -1877,7 +1876,7 @@ const z = {
|
|
|
1877
1876
|
r.s = !1, clearInterval(r.i);
|
|
1878
1877
|
};
|
|
1879
1878
|
}, [t, n]), /* @__PURE__ */ a.jsx("span", { ref: r });
|
|
1880
|
-
}, Dd = { Counter: ei }, ti = "_alerts_ita6j_1", ni = "_menuAnimation_ita6j_1", ai = "_menuItemAnimation_ita6j_1", si = "_allert_ita6j_111", ri = "_al_ita6j_1",
|
|
1879
|
+
}, Dd = { Counter: ei }, ti = "_alerts_ita6j_1", ni = "_menuAnimation_ita6j_1", ai = "_menuItemAnimation_ita6j_1", si = "_allert_ita6j_111", ri = "_al_ita6j_1", Et = {
|
|
1881
1880
|
alerts: ti,
|
|
1882
1881
|
menuAnimation: ni,
|
|
1883
1882
|
menuItemAnimation: ai,
|
|
@@ -1891,7 +1890,7 @@ function ii() {
|
|
|
1891
1890
|
let [e, t] = h.useState("");
|
|
1892
1891
|
return ze.set = (n) => t(n), ze.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
|
|
1893
1892
|
}
|
|
1894
|
-
const oi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className:
|
|
1893
|
+
const oi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: Et.alerts, children: [
|
|
1895
1894
|
/* @__PURE__ */ a.jsxs("dl", { children: [
|
|
1896
1895
|
/* @__PURE__ */ a.jsx("dt", { children: e.title }),
|
|
1897
1896
|
/* @__PURE__ */ a.jsx("dd", { children: e.text }),
|
|
@@ -1909,7 +1908,7 @@ const oi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
|
|
|
1909
1908
|
/* @__PURE__ */ a.jsx(
|
|
1910
1909
|
"div",
|
|
1911
1910
|
{
|
|
1912
|
-
className:
|
|
1911
|
+
className: Et["--body"],
|
|
1913
1912
|
onClick: () => {
|
|
1914
1913
|
n == null || n(), ze.del();
|
|
1915
1914
|
}
|
|
@@ -1925,21 +1924,21 @@ const he = {
|
|
|
1925
1924
|
Path: Ls,
|
|
1926
1925
|
Push: $s,
|
|
1927
1926
|
setPage: bs,
|
|
1928
|
-
getPage:
|
|
1927
|
+
getPage: Nn,
|
|
1929
1928
|
usePage: ys,
|
|
1930
1929
|
isPage: ws,
|
|
1931
1930
|
setModule: Es,
|
|
1932
|
-
getModule:
|
|
1931
|
+
getModule: Tn,
|
|
1933
1932
|
useModule: Ss,
|
|
1934
1933
|
isModule: Ds,
|
|
1935
|
-
setTabs:
|
|
1934
|
+
setTabs: Ln,
|
|
1936
1935
|
getTabs: Me,
|
|
1937
|
-
useTabs:
|
|
1936
|
+
useTabs: Mn,
|
|
1938
1937
|
isTabs: Is,
|
|
1939
1938
|
useId: Rs,
|
|
1940
1939
|
setId: Ts,
|
|
1941
1940
|
subId: Ns,
|
|
1942
|
-
getId:
|
|
1941
|
+
getId: $n,
|
|
1943
1942
|
isId: Ms
|
|
1944
1943
|
};
|
|
1945
1944
|
function ci() {
|
|
@@ -2222,10 +2221,10 @@ function yi(e) {
|
|
|
2222
2221
|
t[r.id] = { s: r.v, n: r.a }, n[r.id] = r;
|
|
2223
2222
|
});
|
|
2224
2223
|
let s = { ...Ce(), 901: t };
|
|
2225
|
-
|
|
2224
|
+
Pn(n), He(s);
|
|
2226
2225
|
}
|
|
2227
2226
|
function bi() {
|
|
2228
|
-
let e =
|
|
2227
|
+
let e = On(), t = {};
|
|
2229
2228
|
return Object.keys(e).forEach((n) => {
|
|
2230
2229
|
t[e[n].id] = {}, t[e[n].id].name = e[n].a;
|
|
2231
2230
|
}), t;
|
|
@@ -2271,7 +2270,7 @@ Q.bell = gi;
|
|
|
2271
2270
|
Q.company = yi;
|
|
2272
2271
|
Q.info = (e) => {
|
|
2273
2272
|
let t = {};
|
|
2274
|
-
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"),
|
|
2273
|
+
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"), An(t), Bn(e.data.menu);
|
|
2275
2274
|
};
|
|
2276
2275
|
Q.version = async (e) => {
|
|
2277
2276
|
$e.version.Server(e.data);
|
|
@@ -2605,7 +2604,7 @@ function Wn({ text: e, type: t, button: n }) {
|
|
|
2605
2604
|
return s ? void 0 : (r(!0), n.onSend(r));
|
|
2606
2605
|
}
|
|
2607
2606
|
};
|
|
2608
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
2607
|
+
return /* @__PURE__ */ a.jsxs("div", { className: Et.al, ...i, children: [
|
|
2609
2608
|
/* @__PURE__ */ a.jsx(
|
|
2610
2609
|
"svg",
|
|
2611
2610
|
{
|
|
@@ -2643,37 +2642,37 @@ const yo = "_h_1usnu_1", bo = "_g_1usnu_11", wo = "_hr_1usnu_16", So = "_hl_1usn
|
|
|
2643
2642
|
m: $o,
|
|
2644
2643
|
ul: Bo,
|
|
2645
2644
|
f: Fo
|
|
2646
|
-
},
|
|
2645
|
+
}, pn = ({ title: e, left: t, right: n, children: s }) => /* @__PURE__ */ a.jsxs("div", { className: re.h, children: [
|
|
2647
2646
|
/* @__PURE__ */ a.jsx("div", { className: re.t, children: e }),
|
|
2648
2647
|
t && /* @__PURE__ */ a.jsx("div", { className: re.hl, children: t }),
|
|
2649
2648
|
n && /* @__PURE__ */ a.jsx("div", { className: re.hr, children: n }),
|
|
2650
2649
|
s
|
|
2651
|
-
] }),
|
|
2650
|
+
] }), gn = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: re.l, children: e }), xn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.s, children: e }), vn = ({ children: e, edit: t }) => {
|
|
2652
2651
|
const n = {};
|
|
2653
2652
|
return t && (n.edit = ""), /* @__PURE__ */ a.jsx("div", { ...n, className: re.f, children: e });
|
|
2654
2653
|
};
|
|
2655
|
-
function
|
|
2654
|
+
function jn({ children: e }) {
|
|
2656
2655
|
return /* @__PURE__ */ a.jsx("div", { className: re.g, children: e });
|
|
2657
2656
|
}
|
|
2658
2657
|
const Po = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("div", { className: [re.o, t].join(" "), children: [
|
|
2659
2658
|
n && /* @__PURE__ */ a.jsx("div", { className: re.hh, children: n }),
|
|
2660
2659
|
e
|
|
2661
|
-
] }), Oo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.u, children: e }), Ao = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.c, children: e }), Go = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.m, children: e }),
|
|
2662
|
-
Header:
|
|
2663
|
-
Section:
|
|
2664
|
-
Group:
|
|
2665
|
-
Form:
|
|
2666
|
-
List:
|
|
2660
|
+
] }), Oo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.u, children: e }), Ao = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.c, children: e }), Go = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: re.m, children: e }), Cn = {
|
|
2661
|
+
Header: pn,
|
|
2662
|
+
Section: xn,
|
|
2663
|
+
Group: jn,
|
|
2664
|
+
Form: vn,
|
|
2665
|
+
List: gn,
|
|
2667
2666
|
A: Wn,
|
|
2668
2667
|
U: Oo,
|
|
2669
|
-
G:
|
|
2668
|
+
G: jn,
|
|
2670
2669
|
C: Ao,
|
|
2671
|
-
L:
|
|
2670
|
+
L: gn,
|
|
2672
2671
|
O: Po,
|
|
2673
|
-
S:
|
|
2674
|
-
H:
|
|
2672
|
+
S: xn,
|
|
2673
|
+
H: pn,
|
|
2675
2674
|
M: Go,
|
|
2676
|
-
F:
|
|
2675
|
+
F: vn
|
|
2677
2676
|
}, Zo = (e, t) => {
|
|
2678
2677
|
switch (t.type) {
|
|
2679
2678
|
case "load":
|
|
@@ -2788,10 +2787,10 @@ const Po = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2788
2787
|
});
|
|
2789
2788
|
i({ type: "load", list: l });
|
|
2790
2789
|
})();
|
|
2791
|
-
}, [e, s]), /* @__PURE__ */ a.jsxs(
|
|
2790
|
+
}, [e, s]), /* @__PURE__ */ a.jsxs(Cn.O, { children: [
|
|
2792
2791
|
" ",
|
|
2793
2792
|
/* @__PURE__ */ a.jsx(
|
|
2794
|
-
|
|
2793
|
+
Cn.H,
|
|
2795
2794
|
{
|
|
2796
2795
|
title: t,
|
|
2797
2796
|
right: /* @__PURE__ */ a.jsx(
|
|
@@ -2870,7 +2869,7 @@ const Po = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2870
2869
|
) }) : "" });
|
|
2871
2870
|
}, Ho = ({ data: e, dispatch: t }) => {
|
|
2872
2871
|
let n = async () => {
|
|
2873
|
-
let i = await (await fetch(
|
|
2872
|
+
let i = await (await fetch(St.url().files + "/yandex/data/" + e.id, {
|
|
2874
2873
|
headers: {
|
|
2875
2874
|
"Content-type": "application/json;charset=utf-8",
|
|
2876
2875
|
SSID: V.getSSID() || ""
|
|
@@ -2883,7 +2882,7 @@ const Po = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2883
2882
|
l.setAttribute("href", o), l.setAttribute("download", e.name), l.click();
|
|
2884
2883
|
}
|
|
2885
2884
|
}, s = async () => {
|
|
2886
|
-
(await (await fetch(
|
|
2885
|
+
(await (await fetch(St.url().files + "/yandex/delete/" + e.id, {
|
|
2887
2886
|
headers: {
|
|
2888
2887
|
"Content-type": "application/json;charset=utf-8",
|
|
2889
2888
|
SSID: V.getSSID() || ""
|
|
@@ -2916,13 +2915,13 @@ const Po = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2916
2915
|
] }),
|
|
2917
2916
|
/* @__PURE__ */ a.jsx("div", { className: "f080", children: z.Size(e.size) })
|
|
2918
2917
|
] });
|
|
2919
|
-
},
|
|
2918
|
+
}, Ot = { setSetting: Fs, getSetting: Ps };
|
|
2920
2919
|
let H = {};
|
|
2921
2920
|
H.list = Ys();
|
|
2922
2921
|
H.active = null;
|
|
2923
2922
|
const Yo = () => {
|
|
2924
2923
|
var r;
|
|
2925
|
-
let [e, t] = h.useState([]), [n, s] = h.useState(
|
|
2924
|
+
let [e, t] = h.useState([]), [n, s] = h.useState(Ot.getSetting("s03"));
|
|
2926
2925
|
return h.useEffect(() => {
|
|
2927
2926
|
(async () => {
|
|
2928
2927
|
let i = Object.keys(H.list);
|
|
@@ -2931,7 +2930,7 @@ const Yo = () => {
|
|
|
2931
2930
|
i.forEach((l, c) => {
|
|
2932
2931
|
o.push({
|
|
2933
2932
|
item: /* @__PURE__ */ a.jsx(
|
|
2934
|
-
|
|
2933
|
+
Dt,
|
|
2935
2934
|
{
|
|
2936
2935
|
data: H.list[l]
|
|
2937
2936
|
},
|
|
@@ -2948,7 +2947,7 @@ const Yo = () => {
|
|
|
2948
2947
|
}, H.set = (i) => {
|
|
2949
2948
|
t([
|
|
2950
2949
|
...e,
|
|
2951
|
-
{ item: /* @__PURE__ */ a.jsx(
|
|
2950
|
+
{ item: /* @__PURE__ */ a.jsx(Dt, { data: i }, i.id), link: i.link }
|
|
2952
2951
|
]);
|
|
2953
2952
|
}, H.del = (i) => {
|
|
2954
2953
|
e.forEach((o, l) => {
|
|
@@ -2966,12 +2965,12 @@ const Yo = () => {
|
|
|
2966
2965
|
i(H.list[s] !== void 0);
|
|
2967
2966
|
}, [s]);
|
|
2968
2967
|
let o = () => {
|
|
2969
|
-
H.list[s] !== void 0 ? (H.del(s), delete H.list[s],
|
|
2968
|
+
H.list[s] !== void 0 ? (H.del(s), delete H.list[s], mn(H.list), i(!1), je.Send({ type: "success", text: "Запись удален из закладок" })) : (H.list[s] = { id: e, name: n, type: t, link: s }, H.set(H.list[s]), mn(H.list), i(!0), je.Send({
|
|
2970
2969
|
type: "success",
|
|
2971
2970
|
text: "Запись добавлен в закладки"
|
|
2972
2971
|
}));
|
|
2973
2972
|
};
|
|
2974
|
-
return /* @__PURE__ */ a.jsx(a.Fragment, { children:
|
|
2973
|
+
return /* @__PURE__ */ a.jsx(a.Fragment, { children: Ot.getSetting("s03") !== 0 ? /* @__PURE__ */ a.jsx(
|
|
2975
2974
|
"i",
|
|
2976
2975
|
{
|
|
2977
2976
|
"data-icon": "C018",
|
|
@@ -2979,7 +2978,7 @@ const Yo = () => {
|
|
|
2979
2978
|
onClick: o
|
|
2980
2979
|
}
|
|
2981
2980
|
) : "" });
|
|
2982
|
-
},
|
|
2981
|
+
}, Dt = ({ data: e }) => {
|
|
2983
2982
|
let t = (s) => {
|
|
2984
2983
|
s.preventDefault(), delete H.list[e.link], H.del(e.link);
|
|
2985
2984
|
}, n = () => {
|
|
@@ -2988,7 +2987,7 @@ const Yo = () => {
|
|
|
2988
2987
|
return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
|
|
2989
2988
|
}, Jo = (e) => {
|
|
2990
2989
|
H.active(e);
|
|
2991
|
-
}, W = {},
|
|
2990
|
+
}, W = {}, It = {}, R = {};
|
|
2992
2991
|
R.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
|
|
2993
2992
|
R.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
|
|
2994
2993
|
R.other = [];
|
|
@@ -3042,10 +3041,10 @@ W.start = async (e) => {
|
|
|
3042
3041
|
}, e();
|
|
3043
3042
|
};
|
|
3044
3043
|
W.useListener = (e) => {
|
|
3045
|
-
|
|
3044
|
+
It.rtc = e;
|
|
3046
3045
|
};
|
|
3047
3046
|
W.setListener = (e) => {
|
|
3048
|
-
|
|
3047
|
+
It.rtc && It.rtc(e);
|
|
3049
3048
|
};
|
|
3050
3049
|
W.callTo = async (e) => {
|
|
3051
3050
|
W.start(async () => {
|
|
@@ -3254,18 +3253,18 @@ function Qo({ id: e, type: t }) {
|
|
|
3254
3253
|
/* @__PURE__ */ a.jsx("div", { className: "b", children: o() })
|
|
3255
3254
|
] }) });
|
|
3256
3255
|
}
|
|
3257
|
-
const
|
|
3256
|
+
const Rt = {};
|
|
3258
3257
|
function el(e) {
|
|
3259
|
-
|
|
3258
|
+
Rt.add(e);
|
|
3260
3259
|
}
|
|
3261
3260
|
function tl({ color: e, size: t, name: n }) {
|
|
3262
3261
|
return /* @__PURE__ */ a.jsx("svg", { width: t, height: t, color: e, children: /* @__PURE__ */ a.jsx("use", { href: `#${n}` }) });
|
|
3263
3262
|
}
|
|
3264
3263
|
function nl() {
|
|
3265
3264
|
let [e, t] = h.useState([]);
|
|
3266
|
-
if (
|
|
3265
|
+
if (Rt.x = () => {
|
|
3267
3266
|
t([]);
|
|
3268
|
-
},
|
|
3267
|
+
}, Rt.add = (s) => {
|
|
3269
3268
|
t(s);
|
|
3270
3269
|
}, e.length === 0) return "";
|
|
3271
3270
|
const n = { sprite: "" };
|
|
@@ -3281,31 +3280,31 @@ function nl() {
|
|
|
3281
3280
|
r
|
|
3282
3281
|
)) });
|
|
3283
3282
|
}
|
|
3284
|
-
let st = {},
|
|
3283
|
+
let st = {}, Nt = {}, Tt = "ru";
|
|
3285
3284
|
const al = (e, t) => {
|
|
3286
|
-
|
|
3287
|
-
}, Kn =
|
|
3285
|
+
Nt = e, t ? Tt = t : Tt = Object.keys(e)[0];
|
|
3286
|
+
}, Kn = En(
|
|
3288
3287
|
localStorage.getItem("lang") || navigator.language
|
|
3289
3288
|
), sl = ({ children: e }) => {
|
|
3290
3289
|
const [t, n] = h.useState(
|
|
3291
3290
|
localStorage.getItem("lang") || navigator.language
|
|
3292
3291
|
);
|
|
3293
|
-
return st.update = n, /* @__PURE__ */ a.jsx(Kn.Provider, { value:
|
|
3292
|
+
return st.update = n, /* @__PURE__ */ a.jsx(Kn.Provider, { value: Nt[t] || Nt[Tt], children: e });
|
|
3294
3293
|
}, rl = (e) => {
|
|
3295
3294
|
var t;
|
|
3296
3295
|
localStorage.setItem("lang", e), (t = st.update) == null || t.call(st, e);
|
|
3297
3296
|
}, il = () => qa(Kn), ol = () => localStorage.getItem("lang") || navigator.language;
|
|
3298
|
-
|
|
3297
|
+
En({
|
|
3299
3298
|
tab: "",
|
|
3300
3299
|
setTabs: (e) => {
|
|
3301
3300
|
}
|
|
3302
3301
|
});
|
|
3303
|
-
const
|
|
3304
|
-
function
|
|
3305
|
-
|
|
3302
|
+
const Mt = {};
|
|
3303
|
+
function At(e, t) {
|
|
3304
|
+
Mt[e] = t;
|
|
3306
3305
|
}
|
|
3307
3306
|
function ll(e, t) {
|
|
3308
|
-
|
|
3307
|
+
Mt[e] !== void 0 && Mt[e](t);
|
|
3309
3308
|
}
|
|
3310
3309
|
const be = {};
|
|
3311
3310
|
function cl(e, t) {
|
|
@@ -3322,7 +3321,7 @@ function dl(e, t) {
|
|
|
3322
3321
|
function _l(e, t) {
|
|
3323
3322
|
be[e] && be[e].forEach((n) => n(t));
|
|
3324
3323
|
}
|
|
3325
|
-
const pe = { setListener: ll, useListener:
|
|
3324
|
+
const pe = { setListener: ll, useListener: At, setEmitter: _l, useEmitter: cl, subEmitter: dl };
|
|
3326
3325
|
function ul() {
|
|
3327
3326
|
let [e, t] = h.useState([]);
|
|
3328
3327
|
return pe.useListener("form", (n) => {
|
|
@@ -3366,15 +3365,15 @@ const Id = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3366
3365
|
link: i.link
|
|
3367
3366
|
},
|
|
3368
3367
|
i.link
|
|
3369
|
-
)) }) }), jl = ({ onClick: e, label: t, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: t }), Cl = "_tabs_1i88v_1", kl = "_tab_1i88v_1",
|
|
3368
|
+
)) }) }), jl = ({ onClick: e, label: t, link: n, active: s }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: t }), Cl = "_tabs_1i88v_1", kl = "_tab_1i88v_1", kn = {
|
|
3370
3369
|
tabs: Cl,
|
|
3371
3370
|
tab: kl
|
|
3372
|
-
}, Hn = ({ list: e = [], active: t, onTab: n }) => /* @__PURE__ */ a.jsx("nav", { className: [
|
|
3371
|
+
}, Hn = ({ list: e = [], active: t, onTab: n }) => /* @__PURE__ */ a.jsx("nav", { className: [kn.tabs, "tabs"].join(" "), children: e.map((s) => /* @__PURE__ */ Dn(
|
|
3373
3372
|
"div",
|
|
3374
3373
|
{
|
|
3375
|
-
onClick: () => n && n(s.id) ||
|
|
3374
|
+
onClick: () => n && n(s.id) || Ln(s.id),
|
|
3376
3375
|
active: (t === s.id).toString(),
|
|
3377
|
-
className:
|
|
3376
|
+
className: kn.tab,
|
|
3378
3377
|
key: s.id
|
|
3379
3378
|
},
|
|
3380
3379
|
s.label
|
|
@@ -3531,7 +3530,7 @@ function Al({ value: e, background: t, gradient: n }) {
|
|
|
3531
3530
|
}
|
|
3532
3531
|
const Td = {
|
|
3533
3532
|
Circle: Al
|
|
3534
|
-
}, Md = { Icon: qo, Item:
|
|
3533
|
+
}, Md = { Icon: qo, Item: Dt, Active: Jo }, Gl = { Send: li, Line: Wn };
|
|
3535
3534
|
function Zl() {
|
|
3536
3535
|
return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
|
|
3537
3536
|
"path",
|
|
@@ -3541,16 +3540,16 @@ function Zl() {
|
|
|
3541
3540
|
}
|
|
3542
3541
|
) });
|
|
3543
3542
|
}
|
|
3544
|
-
let
|
|
3543
|
+
let Lt = {};
|
|
3545
3544
|
function Ul(e) {
|
|
3546
|
-
|
|
3545
|
+
Lt = { ...Lt, ...e };
|
|
3547
3546
|
}
|
|
3548
|
-
function
|
|
3549
|
-
return
|
|
3547
|
+
function yn() {
|
|
3548
|
+
return Lt;
|
|
3550
3549
|
}
|
|
3551
3550
|
function zl({ name: e, hover: t, onClick: n }) {
|
|
3552
3551
|
const s = {};
|
|
3553
|
-
return n && (s.onClick = n, s.pointer = ""), t && (s.hover = t),
|
|
3552
|
+
return n && (s.onClick = n, s.pointer = ""), t && (s.hover = t), yn()[e] ? /* @__PURE__ */ a.jsx("i", { role: "icon", ...s, children: yn()[e]() }) : "";
|
|
3554
3553
|
}
|
|
3555
3554
|
const Ld = { Logo: Zl, Sprite: el, set: Ul, Symbol: tl, Default: zl, Assets: ur };
|
|
3556
3555
|
let Wl = {};
|
|
@@ -3625,7 +3624,7 @@ function qn({
|
|
|
3625
3624
|
...i
|
|
3626
3625
|
}) {
|
|
3627
3626
|
const [o, l] = h.useState([]), [c, _] = h.useState([]), [u, x] = h.useState(!1), m = async () => {
|
|
3628
|
-
let f = await
|
|
3627
|
+
let f = await St.fetch(e, t);
|
|
3629
3628
|
f.data && f.data.length > 0 && (l(f.data), _(f.data)), x(!0);
|
|
3630
3629
|
};
|
|
3631
3630
|
return pe.useListener("list_children", (f) => {
|
|
@@ -3655,7 +3654,7 @@ function Vl(e, t) {
|
|
|
3655
3654
|
switch (t.type) {
|
|
3656
3655
|
case "active":
|
|
3657
3656
|
let n = "<";
|
|
3658
|
-
return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), dt.get({ active: t.data, sort: n }, !1),
|
|
3657
|
+
return e.active === t.data && (n = e.sort === "<" ? ">" : "<"), dt.get({ active: t.data, sort: n }, !1), Fn({ active: t.data, sort: n }), {
|
|
3659
3658
|
...e,
|
|
3660
3659
|
active: t.data,
|
|
3661
3660
|
sort: n
|
|
@@ -3779,7 +3778,7 @@ const Be = () => (Ct || (Ct = new rc()), Ct), we = (e, t, n = Be()) => n._withID
|
|
|
3779
3778
|
});
|
|
3780
3779
|
}) : q[e], ic = (e, t = Be()) => t._withIDBStore("readwrite", (n) => {
|
|
3781
3780
|
n.delete(e);
|
|
3782
|
-
}),
|
|
3781
|
+
}), $t = (e = Be()) => e._withIDBStore("readwrite", (t) => {
|
|
3783
3782
|
t.clear();
|
|
3784
3783
|
}), oc = (e = Be()) => {
|
|
3785
3784
|
const t = [];
|
|
@@ -3799,7 +3798,7 @@ const Be = () => (Ct || (Ct = new rc()), Ct), we = (e, t, n = Be()) => n._withID
|
|
|
3799
3798
|
g[p] = t[f][p];
|
|
3800
3799
|
});
|
|
3801
3800
|
for (let p in o)
|
|
3802
|
-
t[f][o[p]] === void 0 && (
|
|
3801
|
+
t[f][o[p]] === void 0 && ($t(), location.reload()), p === "s1" && (g[p] = new Date(t[f][o[p]]).getTime()), p === "s2" && (g[p] = t[f][o[p]]), p === "s3" && (g[p] = t[f][o[p]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
|
|
3803
3802
|
i.push({ id: f, text: j, ...g });
|
|
3804
3803
|
} else
|
|
3805
3804
|
i.push({ id: f, text: j });
|
|
@@ -3808,7 +3807,7 @@ const Be = () => (Ct || (Ct = new rc()), Ct), we = (e, t, n = Be()) => n._withID
|
|
|
3808
3807
|
return _.forEach((f) => {
|
|
3809
3808
|
u.push(t[f]);
|
|
3810
3809
|
}), u.forEach((f) => {
|
|
3811
|
-
f === void 0 ? (
|
|
3810
|
+
f === void 0 ? ($t(), location.reload()) : (r && x(f.id), l && m(f.id));
|
|
3812
3811
|
}), { list: u, search: i, filter: s };
|
|
3813
3812
|
}, cc = (e, t, n, s = Be()) => {
|
|
3814
3813
|
if (q[e] === void 0)
|
|
@@ -3864,7 +3863,7 @@ const Be = () => (Ct || (Ct = new rc()), Ct), we = (e, t, n = Be()) => n._withID
|
|
|
3864
3863
|
key: oc,
|
|
3865
3864
|
load: pc,
|
|
3866
3865
|
split: lc,
|
|
3867
|
-
clear:
|
|
3866
|
+
clear: $t,
|
|
3868
3867
|
updAll: _c,
|
|
3869
3868
|
delAll: uc,
|
|
3870
3869
|
delList: fc,
|
|
@@ -4387,7 +4386,7 @@ const bc = "_o_oow80_1", wc = "_c_oow80_11", Sc = "_as_oow80_87", Ec = "_ap_oow8
|
|
|
4387
4386
|
as: Sc,
|
|
4388
4387
|
ap: Ec
|
|
4389
4388
|
};
|
|
4390
|
-
function
|
|
4389
|
+
function Gt({
|
|
4391
4390
|
title: e,
|
|
4392
4391
|
error: t,
|
|
4393
4392
|
edit: n = !0,
|
|
@@ -4545,7 +4544,7 @@ const Dc = (e) => {
|
|
|
4545
4544
|
)
|
|
4546
4545
|
] }) : "" });
|
|
4547
4546
|
};
|
|
4548
|
-
function
|
|
4547
|
+
function Zt({
|
|
4549
4548
|
value: e,
|
|
4550
4549
|
onValue: t,
|
|
4551
4550
|
name: n,
|
|
@@ -4594,7 +4593,7 @@ function Ut({
|
|
|
4594
4593
|
i && /* @__PURE__ */ a.jsx("em", { children: i })
|
|
4595
4594
|
] });
|
|
4596
4595
|
}
|
|
4597
|
-
function
|
|
4596
|
+
function Ut({
|
|
4598
4597
|
value: e,
|
|
4599
4598
|
onValue: t,
|
|
4600
4599
|
name: n,
|
|
@@ -4853,7 +4852,7 @@ function ia({
|
|
|
4853
4852
|
o ? /* @__PURE__ */ a.jsx("em", { children: o }) : ""
|
|
4854
4853
|
] });
|
|
4855
4854
|
}
|
|
4856
|
-
function
|
|
4855
|
+
function zt({
|
|
4857
4856
|
onValue: e,
|
|
4858
4857
|
onSave: t,
|
|
4859
4858
|
active: n,
|
|
@@ -6359,7 +6358,7 @@ const kt = {
|
|
|
6359
6358
|
mask: "+1939(___) ___-__-__"
|
|
6360
6359
|
}
|
|
6361
6360
|
};
|
|
6362
|
-
function
|
|
6361
|
+
function Wt({
|
|
6363
6362
|
value: e,
|
|
6364
6363
|
onValue: t,
|
|
6365
6364
|
onSave: n,
|
|
@@ -6476,7 +6475,7 @@ const la = (e) => {
|
|
|
6476
6475
|
}
|
|
6477
6476
|
);
|
|
6478
6477
|
};
|
|
6479
|
-
function
|
|
6478
|
+
function Kt({
|
|
6480
6479
|
title: e,
|
|
6481
6480
|
error: t,
|
|
6482
6481
|
edit: n = !0,
|
|
@@ -6597,7 +6596,7 @@ const Rc = ({
|
|
|
6597
6596
|
r
|
|
6598
6597
|
) : ""
|
|
6599
6598
|
) });
|
|
6600
|
-
function
|
|
6599
|
+
function Ht(e) {
|
|
6601
6600
|
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, o = !!(e.hide && (e.default === "" || e.options[e.default] === void 0)) && !(s && r), l = e.placeholder !== void 0 ? e.placeholder : "", c = (f) => {
|
|
6602
6601
|
u(e.options[f]), e.onValue({ value: f, name: e.name });
|
|
6603
6602
|
}, [_, u] = h.useState(
|
|
@@ -6678,7 +6677,7 @@ const Tc = ({ onValue: e, parent: t, view: n, options: s }) => {
|
|
|
6678
6677
|
)
|
|
6679
6678
|
] }) : "" });
|
|
6680
6679
|
};
|
|
6681
|
-
function
|
|
6680
|
+
function Bt({
|
|
6682
6681
|
set: e,
|
|
6683
6682
|
value: t,
|
|
6684
6683
|
onValue: n,
|
|
@@ -6717,7 +6716,7 @@ function Ft({
|
|
|
6717
6716
|
);
|
|
6718
6717
|
case "Select":
|
|
6719
6718
|
return j && (p = V.getSelect(parseInt(j)) ? V.getSelect(parseInt(j)) : { 0: { s: "1", n: "не известно" } }), /* @__PURE__ */ a.jsx(
|
|
6720
|
-
|
|
6719
|
+
Kt,
|
|
6721
6720
|
{
|
|
6722
6721
|
title: i,
|
|
6723
6722
|
show: _,
|
|
@@ -6735,7 +6734,7 @@ function Ft({
|
|
|
6735
6734
|
);
|
|
6736
6735
|
case "Users":
|
|
6737
6736
|
return V.getSelect("user"), /* @__PURE__ */ a.jsx(
|
|
6738
|
-
|
|
6737
|
+
Ht,
|
|
6739
6738
|
{
|
|
6740
6739
|
title: i,
|
|
6741
6740
|
show: _,
|
|
@@ -6753,7 +6752,7 @@ function Ft({
|
|
|
6753
6752
|
);
|
|
6754
6753
|
case "Date":
|
|
6755
6754
|
return /* @__PURE__ */ a.jsx(
|
|
6756
|
-
|
|
6755
|
+
Gt,
|
|
6757
6756
|
{
|
|
6758
6757
|
title: i,
|
|
6759
6758
|
show: _,
|
|
@@ -6770,7 +6769,7 @@ function Ft({
|
|
|
6770
6769
|
);
|
|
6771
6770
|
case "Phone":
|
|
6772
6771
|
return /* @__PURE__ */ a.jsx(
|
|
6773
|
-
|
|
6772
|
+
Wt,
|
|
6774
6773
|
{
|
|
6775
6774
|
title: i,
|
|
6776
6775
|
show: _,
|
|
@@ -6787,7 +6786,7 @@ function Ft({
|
|
|
6787
6786
|
);
|
|
6788
6787
|
case "Number":
|
|
6789
6788
|
return /* @__PURE__ */ a.jsx(
|
|
6790
|
-
|
|
6789
|
+
zt,
|
|
6791
6790
|
{
|
|
6792
6791
|
title: i,
|
|
6793
6792
|
show: _,
|
|
@@ -6804,7 +6803,7 @@ function Ft({
|
|
|
6804
6803
|
);
|
|
6805
6804
|
case "Money":
|
|
6806
6805
|
return /* @__PURE__ */ a.jsx(
|
|
6807
|
-
|
|
6806
|
+
Ut,
|
|
6808
6807
|
{
|
|
6809
6808
|
title: i,
|
|
6810
6809
|
show: _,
|
|
@@ -6821,7 +6820,7 @@ function Ft({
|
|
|
6821
6820
|
);
|
|
6822
6821
|
case "Modal":
|
|
6823
6822
|
return /* @__PURE__ */ a.jsx(
|
|
6824
|
-
|
|
6823
|
+
Zt,
|
|
6825
6824
|
{
|
|
6826
6825
|
title: i,
|
|
6827
6826
|
show: _,
|
|
@@ -7317,7 +7316,7 @@ function ma({
|
|
|
7317
7316
|
i && /* @__PURE__ */ a.jsx("em", { children: i })
|
|
7318
7317
|
] });
|
|
7319
7318
|
}
|
|
7320
|
-
function
|
|
7319
|
+
function bn({
|
|
7321
7320
|
value: e,
|
|
7322
7321
|
onValue: t,
|
|
7323
7322
|
name: n,
|
|
@@ -7450,9 +7449,9 @@ function Zc(e) {
|
|
|
7450
7449
|
}
|
|
7451
7450
|
const Gd = {
|
|
7452
7451
|
Color: sa,
|
|
7453
|
-
Date:
|
|
7454
|
-
Mask:
|
|
7455
|
-
Image:
|
|
7452
|
+
Date: Gt,
|
|
7453
|
+
Mask: bn,
|
|
7454
|
+
Image: bn,
|
|
7456
7455
|
Code: aa,
|
|
7457
7456
|
Check: _a,
|
|
7458
7457
|
Switch: Xn,
|
|
@@ -7461,21 +7460,21 @@ const Gd = {
|
|
|
7461
7460
|
Message: ea,
|
|
7462
7461
|
Generator: ta,
|
|
7463
7462
|
Captcha: na,
|
|
7464
|
-
Modal:
|
|
7465
|
-
Money:
|
|
7463
|
+
Modal: Zt,
|
|
7464
|
+
Money: Ut,
|
|
7466
7465
|
Month: ra,
|
|
7467
7466
|
Notes: ia,
|
|
7468
|
-
Number:
|
|
7467
|
+
Number: zt,
|
|
7469
7468
|
Password: oa,
|
|
7470
|
-
Phone:
|
|
7469
|
+
Phone: Wt,
|
|
7471
7470
|
Search: la,
|
|
7472
|
-
Select:
|
|
7473
|
-
Set:
|
|
7471
|
+
Select: Kt,
|
|
7472
|
+
Set: Bt,
|
|
7474
7473
|
Textarea: ca,
|
|
7475
7474
|
Time: da,
|
|
7476
|
-
Users:
|
|
7475
|
+
Users: Ht,
|
|
7477
7476
|
String: We,
|
|
7478
|
-
Form:
|
|
7477
|
+
Form: Bt,
|
|
7479
7478
|
runReload: Gc,
|
|
7480
7479
|
useData: Oc,
|
|
7481
7480
|
setValue: Ac,
|
|
@@ -7565,7 +7564,7 @@ function Uc({
|
|
|
7565
7564
|
}
|
|
7566
7565
|
const Zd = {
|
|
7567
7566
|
Color: sa,
|
|
7568
|
-
Date:
|
|
7567
|
+
Date: Gt,
|
|
7569
7568
|
Code: aa,
|
|
7570
7569
|
Check: _a,
|
|
7571
7570
|
Switch: Xn,
|
|
@@ -7574,20 +7573,20 @@ const Zd = {
|
|
|
7574
7573
|
Message: ea,
|
|
7575
7574
|
Generator: ta,
|
|
7576
7575
|
Captcha: na,
|
|
7577
|
-
Modal:
|
|
7578
|
-
Money:
|
|
7576
|
+
Modal: Zt,
|
|
7577
|
+
Money: Ut,
|
|
7579
7578
|
Mask: Uc,
|
|
7580
7579
|
Month: ra,
|
|
7581
7580
|
Notes: ia,
|
|
7582
|
-
Number:
|
|
7581
|
+
Number: zt,
|
|
7583
7582
|
Password: oa,
|
|
7584
|
-
Phone:
|
|
7583
|
+
Phone: Wt,
|
|
7585
7584
|
Search: la,
|
|
7586
|
-
Select:
|
|
7587
|
-
Set:
|
|
7585
|
+
Select: Kt,
|
|
7586
|
+
Set: Bt,
|
|
7588
7587
|
Textarea: ca,
|
|
7589
7588
|
Time: da,
|
|
7590
|
-
Users:
|
|
7589
|
+
Users: Ht,
|
|
7591
7590
|
String: We,
|
|
7592
7591
|
Toogle: ua,
|
|
7593
7592
|
Group: fa,
|
|
@@ -7614,7 +7613,7 @@ function Yc() {
|
|
|
7614
7613
|
/* @__PURE__ */ a.jsx("i", {})
|
|
7615
7614
|
] });
|
|
7616
7615
|
}
|
|
7617
|
-
const Ud = { Spinner: Hc, Inline: Yc }, qc = "_ph_1wjxu_1", Jc = "_e_1wjxu_5",
|
|
7616
|
+
const Ud = { Spinner: Hc, Inline: Yc }, qc = "_ph_1wjxu_1", Jc = "_e_1wjxu_5", wn = {
|
|
7618
7617
|
ph: qc,
|
|
7619
7618
|
e: Jc
|
|
7620
7619
|
}, Vc = ({
|
|
@@ -7628,15 +7627,15 @@ const Ud = { Spinner: Hc, Inline: Yc }, qc = "_ph_1wjxu_1", Jc = "_e_1wjxu_5", S
|
|
|
7628
7627
|
modules: l,
|
|
7629
7628
|
loading: c
|
|
7630
7629
|
}) => {
|
|
7631
|
-
const [_] =
|
|
7630
|
+
const [_] = Mn(
|
|
7632
7631
|
i.map((m) => m.id).includes(Me()) ? Me() : r
|
|
7633
7632
|
), [u, x] = h.useState(!1);
|
|
7634
7633
|
return h.useEffect(() => {
|
|
7635
7634
|
x(!0);
|
|
7636
7635
|
}, []), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7637
|
-
/* @__PURE__ */ a.jsxs("div", { className: [
|
|
7636
|
+
/* @__PURE__ */ a.jsxs("div", { className: [wn.ph, o].join(" "), children: [
|
|
7638
7637
|
/* @__PURE__ */ a.jsx(ed, { title: e, affter: t }),
|
|
7639
|
-
/* @__PURE__ */ a.jsx("div", { className:
|
|
7638
|
+
/* @__PURE__ */ a.jsx("div", { className: wn.e }),
|
|
7640
7639
|
/* @__PURE__ */ a.jsx(Qc, { button: s })
|
|
7641
7640
|
] }),
|
|
7642
7641
|
i.length > 0 && /* @__PURE__ */ a.jsx(Hn, { list: i, active: _ }),
|
|
@@ -7649,7 +7648,7 @@ let Xc = ({ m: e, t, loading: n }) => {
|
|
|
7649
7648
|
return /* @__PURE__ */ a.jsx(h.Suspense, { fallback: n, children: /* @__PURE__ */ a.jsx(s, {}) });
|
|
7650
7649
|
}, Qc = ({ button: e }) => {
|
|
7651
7650
|
const [t, n] = h.useState(e);
|
|
7652
|
-
return
|
|
7651
|
+
return At("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7653
7652
|
" ",
|
|
7654
7653
|
t
|
|
7655
7654
|
] });
|
|
@@ -7661,17 +7660,17 @@ let Xc = ({ m: e, t, loading: n }) => {
|
|
|
7661
7660
|
t
|
|
7662
7661
|
] })
|
|
7663
7662
|
);
|
|
7664
|
-
return
|
|
7663
|
+
return At("title", s), /* @__PURE__ */ a.jsx("h2", { children: n });
|
|
7665
7664
|
};
|
|
7666
7665
|
const zd = {
|
|
7667
7666
|
Lite: Vc
|
|
7668
|
-
}, td = "_s_t9swc_1",
|
|
7667
|
+
}, td = "_s_t9swc_1", Sn = {
|
|
7669
7668
|
s: td
|
|
7670
7669
|
};
|
|
7671
|
-
let
|
|
7670
|
+
let Yt;
|
|
7672
7671
|
function nd({ className: e, placeholder: t }) {
|
|
7673
7672
|
let n = (o) => {
|
|
7674
|
-
|
|
7673
|
+
Yt(o.target.textContent);
|
|
7675
7674
|
}, s = (o) => {
|
|
7676
7675
|
o.key === "Enter" && o.preventDefault();
|
|
7677
7676
|
}, r = (o) => {
|
|
@@ -7681,7 +7680,7 @@ function nd({ className: e, placeholder: t }) {
|
|
|
7681
7680
|
});
|
|
7682
7681
|
};
|
|
7683
7682
|
const i = {};
|
|
7684
|
-
return t && (i.placeholder = t), i.className = e ? [
|
|
7683
|
+
return t && (i.placeholder = t), i.className = e ? [Sn.s, e].join(" ") : Sn.s, /* @__PURE__ */ a.jsx(
|
|
7685
7684
|
"div",
|
|
7686
7685
|
{
|
|
7687
7686
|
onPaste: r,
|
|
@@ -7702,10 +7701,10 @@ function ad(e, t, n) {
|
|
|
7702
7701
|
}), o;
|
|
7703
7702
|
}
|
|
7704
7703
|
function sd(e) {
|
|
7705
|
-
|
|
7704
|
+
Yt = e;
|
|
7706
7705
|
}
|
|
7707
7706
|
function rd(e) {
|
|
7708
|
-
|
|
7707
|
+
Yt = e;
|
|
7709
7708
|
}
|
|
7710
7709
|
const Wd = { Field: nd, Run: ad, Get: sd, useValue: rd }, id = "_f_q3r0i_1", od = {
|
|
7711
7710
|
f: id
|
|
@@ -7921,7 +7920,7 @@ function xd(e) {
|
|
|
7921
7920
|
/* @__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" }) }) }),
|
|
7922
7921
|
r.map((c, _) => {
|
|
7923
7922
|
const u = {};
|
|
7924
|
-
return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */
|
|
7923
|
+
return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Dn("span", { ...u, key: _ }, c.page || c.text);
|
|
7925
7924
|
}),
|
|
7926
7925
|
/* @__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" }) }) })
|
|
7927
7926
|
] });
|
|
@@ -7986,7 +7985,7 @@ function jd({ head: e, load: t, list: n, item: s }) {
|
|
|
7986
7985
|
const r = e;
|
|
7987
7986
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7988
7987
|
/* @__PURE__ */ a.jsx(r, {}),
|
|
7989
|
-
|
|
7988
|
+
Ot.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(va, { list: n, load: t, item: s }) : /* @__PURE__ */ a.jsx(yc, { list: n, load: t, item: s })
|
|
7990
7989
|
] });
|
|
7991
7990
|
}
|
|
7992
7991
|
function Cd(e, t) {
|
|
@@ -8030,12 +8029,12 @@ function Cd(e, t) {
|
|
|
8030
8029
|
throw new Error();
|
|
8031
8030
|
}
|
|
8032
8031
|
}
|
|
8033
|
-
const
|
|
8032
|
+
const Ft = {};
|
|
8034
8033
|
function kd(e) {
|
|
8035
|
-
|
|
8034
|
+
Ft.get = e;
|
|
8036
8035
|
}
|
|
8037
8036
|
function yd(e) {
|
|
8038
|
-
|
|
8037
|
+
Ft.get && Ft.get(e);
|
|
8039
8038
|
}
|
|
8040
8039
|
const qd = { View: jd, Reducer: Cd, useValue: kd, Lite: qn, setValue: yd }, Jd = {
|
|
8041
8040
|
addDictionary: al,
|
|
@@ -8103,14 +8102,14 @@ export {
|
|
|
8103
8102
|
Tl as Action,
|
|
8104
8103
|
Gl as Alert,
|
|
8105
8104
|
Dd as Animation,
|
|
8106
|
-
|
|
8105
|
+
St as Api,
|
|
8107
8106
|
Fd as Badge,
|
|
8108
8107
|
Md as Bookmarks,
|
|
8109
8108
|
Id as Browser,
|
|
8110
8109
|
mo as Button,
|
|
8111
8110
|
Td as Chart,
|
|
8112
8111
|
Vd as Company,
|
|
8113
|
-
|
|
8112
|
+
Cn as Component,
|
|
8114
8113
|
Pd as DataBase,
|
|
8115
8114
|
pe as Event,
|
|
8116
8115
|
pe as Events,
|
|
@@ -8144,6 +8143,6 @@ export {
|
|
|
8144
8143
|
Rd as Tabs,
|
|
8145
8144
|
Xd as Test,
|
|
8146
8145
|
Bd as Triage,
|
|
8147
|
-
|
|
8146
|
+
Ot as User,
|
|
8148
8147
|
W as WebRTC
|
|
8149
8148
|
};
|