elcrm 0.6.2 → 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 CHANGED
@@ -96,13 +96,13 @@ function Aa(e) {
96
96
  };
97
97
  return Q.tabs = s, [t];
98
98
  }
99
- function za(e, t) {
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 Za(e) {
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 Ka(e, t = !0) {
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 Va(e, t, n) {
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 = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBzPT57dHJ5e2xldCBhPWF3YWl0IGZldGNoKGAke3MuZGF0YS5ob3N0fSR7cy5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOnMuZGF0YS5zc2lkfSxib2R5OkpTT04uc3RyaW5naWZ5KHMuZGF0YS5kYXRhKX0pO3Bvc3RNZXNzYWdlKGF3YWl0IGEuanNvbigpKX1jYXRjaHtwb3N0TWVzc2FnZSh7c3RhdHVzOiJlcnJvciJ9KX19fSkoKTsK", ss = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), en = typeof window < "u" && window.Blob && new Blob([ss(Cn)], { type: "text/javascript;charset=utf-8" });
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, ze, Ft, Lt, $t, Pt;
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, ze = console.warn, Ft = console.error, Lt = console.group, $t = console.groupCollapsed, Pt = console.groupEnd;
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: ze
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 Ze(o, f, v) {
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, K = Y.length - 1; A >= 1 && K >= 0 && T[A] !== Y[K]; )
612
- K--;
613
- for (; A >= 1 && K >= 0; A--, K--)
614
- if (T[A] !== Y[K]) {
615
- if (A !== 1 || K !== 1)
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--, K--, K < 0 || T[A] !== Y[K]) {
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 && K >= 0);
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 ? Ze(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 Ke(o, f, v) {
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 Ze(o);
645
+ return ze(o);
646
646
  switch (o) {
647
647
  case d:
648
- return Ze("Suspense");
648
+ return ze("Suspense");
649
649
  case u:
650
- return Ze("SuspenseList");
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 Ke(o.type, f, v);
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 Ke(F(M), f, v);
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 = {}, zt = y.ReactDebugCurrentFrame;
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 = Ke(o.type, o._source, f ? f.type : null);
672
- zt.setExtraStackFrame(v);
671
+ var f = o._owner, v = Ve(o.type, o._source, f ? f.type : null);
672
+ Zt.setExtraStackFrame(v);
673
673
  } else
674
- zt.setExtraStackFrame(null);
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 Zt(o), !1;
707
+ return zt(o), !1;
708
708
  } catch {
709
709
  return !0;
710
710
  }
711
711
  }
712
- function Zt(o) {
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)), Zt(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
- }, Kt, Wt, nt;
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
- Kt || (Kt = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", f));
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 K = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
812
- T && oa(I, K), Y && la(I, K);
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, Vt = y.ReactDebugCurrentFrame;
817
+ var at = y.ReactCurrentOwner, Kt = y.ReactDebugCurrentFrame;
818
818
  function ve(o) {
819
819
  if (o) {
820
- var f = o._owner, v = Ke(o.type, o._source, f ? f.type : null);
821
- Vt.setExtraStackFrame(v);
820
+ var f = o._owner, v = Ve(o.type, o._source, f ? f.type : null);
821
+ Kt.setExtraStackFrame(v);
822
822
  } else
823
- Vt.setExtraStackFrame(null);
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 K = da(o, f, v, M, F);
940
- if (K == null)
941
- return K;
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(K) : ma(K), K;
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: Va,
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: za,
1130
+ setTabs: Za,
1131
1131
  getTabs: He,
1132
1132
  useTabs: Aa,
1133
- useId: Za,
1134
- setId: Ka,
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 zs() {
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 Zs = "_n_euuvm_1", Gs = {
1216
- n: Zs
1215
+ const zs = "_n_euuvm_1", Gs = {
1216
+ n: zs
1217
1217
  };
1218
1218
  let Ae = {}, De = [];
1219
- const Ks = (e, t) => {
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 Vs(e) {
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(Ks, {
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 = {}, V = {}, Ve = [
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 _ = Ve.indexOf(l);
1446
- _ >= 0 && Ve.splice(_, 1), Ve.length === 0 && t(!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
- }), Ve.length !== 0 && ie.laodData(_.type), V[_.type] && V[_.type](_);
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
- V.module = (e) => {
1464
+ K.module = (e) => {
1465
1465
  ie[e.listen] !== void 0 && (ie[e.listen](e), delete ie[e.listen]);
1466
1466
  };
1467
- V.bell = Us;
1468
- V.company = Qs;
1469
- V.info = (e) => {
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
- V.version = async (e) => {
1473
+ K.version = async (e) => {
1474
1474
  yt.version.Server(e.data);
1475
1475
  };
1476
- V.online = async (e) => {
1476
+ K.online = async (e) => {
1477
1477
  };
1478
- V.offline = async (e) => {
1478
+ K.offline = async (e) => {
1479
1479
  };
1480
- V.chat = (e) => {
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
- V.users = (e) => {
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
- V.api = (e) => {
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
- V.delete = () => {
1521
+ K.delete = () => {
1522
1522
  ee();
1523
1523
  };
1524
- V.select = (e) => {
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
- V.job = (e) => {
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
- V.setting = (e) => {
1536
+ K.setting = (e) => {
1537
1537
  Ua(e.data);
1538
1538
  };
1539
- V.app = () => {
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 Z = {
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", zr = "_ss_11p39_435", Zr = "_sm_11p39_439", Gr = "_sl_11p39_443", Kr = "_sx_11p39_447", Wr = "_sf_11p39_451", se = {
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: zr,
1998
- sm: Zr,
1997
+ ss: Zr,
1998
+ sm: zr,
1999
1999
  sl: Gr,
2000
- sx: Kr,
2000
+ sx: Vr,
2001
2001
  sf: Wr
2002
2002
  };
2003
- function Vr({ children: e }) {
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: Vr, Main: Qr, Add: ei, Icon: ai, Open: si, Shake: ni, Form: Ur, Center: Yr };
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: Z.TypeFiles(e.type) }),
2441
- /* @__PURE__ */ a.jsx("div", { className: "f100", children: Z.Date(e.uDate, "dd.mm.yy") }),
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: Z.Size(e.size) })
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 zi(e, t) {
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 Zi(e, t) {
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: zi, subEmitter: Zi };
2866
- function Ki() {
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(Ki, {}),
2879
+ /* @__PURE__ */ a.jsx(Vi, {}),
2880
2880
  /* @__PURE__ */ a.jsx(Mi, {}),
2881
2881
  /* @__PURE__ */ a.jsx(Ti, {}),
2882
2882
  e
2883
2883
  ] })
2884
- )), Vi = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("menu", { children: e }), Ui = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("header", { children: [
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(Vi, {}),
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, z = {};
3113
+ let lt, Z = {};
3114
3114
  const Se = () => (lt || (lt = new So()), lt), me = (e, t, n = Se()) => n._withIDBStore("readwrite", (s) => {
3115
- z[e] = t, s.put(D.enCode(t), e);
3116
- }), oe = (e, t = Se()) => z[e] === void 0 ? new Promise((n, s) => {
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
- z[e] = i, n(i);
3123
+ Z[e] = i, n(i);
3124
3124
  } else
3125
3125
  n({});
3126
3126
  });
3127
- }) : z[e], Eo = (e, t = Se()) => t._withIDBStore("readwrite", (n) => {
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 (z[e] === void 0)
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
- z[e] = l, z[e][t.id] = {
3172
- ...z[e][t.id],
3171
+ Z[e] = l, Z[e][t.id] = {
3172
+ ...Z[e][t.id],
3173
3173
  ...t.data
3174
- }, s.put(D.enCode(z[e]), e), r({});
3174
+ }, s.put(D.enCode(Z[e]), e), r({});
3175
3175
  } else
3176
3176
  r({});
3177
3177
  });
3178
3178
  });
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);
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) => z[e], Bl = {
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", zo = "_ul_18bde_31", Zo = {
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: zo
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: 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: [
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 }, zl = { Widget: Ei }, Tn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ a.jsx(
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 Ko = "_o_ff5dx_1", Wo = "_c_ff5dx_11", je = {
3673
- o: Ko,
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) {
@@ -3680,16 +3680,16 @@ function St(e) {
3680
3680
  g.useEffect(() => {
3681
3681
  l(e.value === void 0 ? /* @__PURE__ */ new Date() : e.value);
3682
3682
  }, [e.value]);
3683
- let d = (h) => {
3684
- l(h), e.onValue({ value: h, name: e.name });
3685
- }, u = (h) => {
3686
- const x = h.target.getBoundingClientRect(), p = x.left, k = x.top;
3683
+ let d = (x) => {
3684
+ l(x), e.onValue({ value: x, name: e.name });
3685
+ }, u = (x) => {
3686
+ const p = x.target.getBoundingClientRect(), k = p.left, w = p.top;
3687
3687
  we.setListener(
3688
3688
  "form",
3689
3689
  /* @__PURE__ */ a.jsx(
3690
- Vo,
3690
+ Ko,
3691
3691
  {
3692
- position: { x: p, y: k },
3692
+ position: { x: k, y: w },
3693
3693
  onValue: d,
3694
3694
  date: c
3695
3695
  },
@@ -3698,7 +3698,9 @@ function St(e) {
3698
3698
  );
3699
3699
  };
3700
3700
  const m = {};
3701
- return i && (m.placeholder = i), _ ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e.view === "icon" ? /* @__PURE__ */ a.jsx(
3701
+ m.field = "input";
3702
+ const h = {};
3703
+ return i && (h.placeholder = i), _ ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e.view === "icon" ? /* @__PURE__ */ a.jsx(
3702
3704
  "i",
3703
3705
  {
3704
3706
  "data-icon": "F043",
@@ -3709,15 +3711,16 @@ function St(e) {
3709
3711
  ) : /* @__PURE__ */ a.jsxs(
3710
3712
  "dl",
3711
3713
  {
3714
+ ...m,
3712
3715
  children: [
3713
3716
  t(),
3714
3717
  /* @__PURE__ */ a.jsx(
3715
3718
  "dd",
3716
3719
  {
3717
3720
  onClick: u,
3718
- ...m,
3721
+ ...h,
3719
3722
  "data-edit": (s && r) + "",
3720
- children: Z.Date(c, "dd.mm.yyyy")
3723
+ children: z.Date(c, "dd.mm.yyyy")
3721
3724
  }
3722
3725
  ),
3723
3726
  n()
@@ -3725,7 +3728,7 @@ function St(e) {
3725
3728
  }
3726
3729
  ) });
3727
3730
  }
3728
- const Vo = (e) => {
3731
+ const Ko = (e) => {
3729
3732
  let [t, n] = g.useState(!0), s = /* @__PURE__ */ new Date(), r = new Date(e.date), i = {
3730
3733
  y: parseInt(s.getFullYear()),
3731
3734
  d: parseInt(s.getDate()),
@@ -3750,7 +3753,7 @@ const Vo = (e) => {
3750
3753
  j(l.m - 1, l.y);
3751
3754
  }, y = (b) => {
3752
3755
  e.onValue(
3753
- l.y + "-" + Z.Number(2, l.m) + "-" + Z.Number(2, b)
3756
+ l.y + "-" + z.Number(2, l.m) + "-" + z.Number(2, b)
3754
3757
  ), p();
3755
3758
  }, j = (b, L) => {
3756
3759
  L = b > 12 ? L + 1 : b < 1 ? L - 1 : L, b = b > 12 ? 1 : b < 1 ? 12 : b, _({ y: L, m: b });
@@ -3773,7 +3776,7 @@ const Vo = (e) => {
3773
3776
  /* @__PURE__ */ a.jsxs("s", { children: [
3774
3777
  /* @__PURE__ */ a.jsx("i", { "data-icon": "F021", onClick: () => w() }),
3775
3778
  /* @__PURE__ */ a.jsxs("h2", { children: [
3776
- Z.Month(l.m).name,
3779
+ z.Month(l.m).name,
3777
3780
  " ",
3778
3781
  l.y
3779
3782
  ] }),
@@ -3843,7 +3846,7 @@ function Rt(e) {
3843
3846
  m.target.textContent === "" && (m.target.textContent = 0), e.onValue({
3844
3847
  value: n(m.target.textContent),
3845
3848
  name: e.name
3846
- }), m.target.textContent = Z.Money(m.target.textContent);
3849
+ }), m.target.textContent = z.Money(m.target.textContent);
3847
3850
  }, c = (m) => {
3848
3851
  m.target.textContent = n(m.target.textContent);
3849
3852
  }, l = (m) => {
@@ -3872,7 +3875,7 @@ function Rt(e) {
3872
3875
  contentEditable: !0,
3873
3876
  suppressContentEditableWarning: !0,
3874
3877
  "e-after": e.after,
3875
- children: Z.Money(t)
3878
+ children: z.Money(t)
3876
3879
  }
3877
3880
  ),
3878
3881
  u()
@@ -3932,7 +3935,7 @@ function Pn({
3932
3935
  {
3933
3936
  onClick: x,
3934
3937
  ...p,
3935
- children: Z.Date(u, "mm.yyyy")
3938
+ children: z.Date(u, "mm.yyyy")
3936
3939
  }
3937
3940
  ),
3938
3941
  r && /* @__PURE__ */ a.jsx("em", { children: r })
@@ -3954,7 +3957,7 @@ const Uo = (e) => {
3954
3957
  }, m = () => {
3955
3958
  _(l - 1);
3956
3959
  }, h = (y) => {
3957
- e.onValue(l + "-" + Z.Number(2, y)), d();
3960
+ e.onValue(l + "-" + z.Number(2, y)), d();
3958
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;
3959
3962
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3960
3963
  /* @__PURE__ */ a.jsx(
@@ -3986,7 +3989,7 @@ const Uo = (e) => {
3986
3989
  h(y);
3987
3990
  },
3988
3991
  color: x(y),
3989
- children: /* @__PURE__ */ a.jsx("b", { children: Z.Month(y).abc })
3992
+ children: /* @__PURE__ */ a.jsx("b", { children: z.Month(y).abc })
3990
3993
  },
3991
3994
  j
3992
3995
  ))
@@ -5557,8 +5560,8 @@ function Tt({
5557
5560
  let $ = 0, ae = "", G = W.replace(/\D/g, "");
5558
5561
  G === "" && (k = !0);
5559
5562
  let le = G.split(""), H = "";
5560
- le.forEach((ze) => {
5561
- k && (H += ze, ct[H] !== void 0 && k ? (k = !1, p = ct[H].mask.replace(new RegExp("[0-9]", "g"), "_"), ae = ct[H].code) : (k && (w = ("" + H).length, p = `+${H}_(___) ___-__-__`.replace(
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(
5562
5565
  new RegExp("[0-9]", "g"),
5563
5566
  "_"
5564
5567
  ), ae = ""), w > ("" + H).length && (k = !0, p = `+${H}_(___) ___-__-__`.replace(
@@ -5963,7 +5966,7 @@ function pt({
5963
5966
  );
5964
5967
  }
5965
5968
  }
5966
- function zn(e) {
5969
+ function Zn(e) {
5967
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) => {
5968
5971
  e.onValue({ value: d.target.innerText, name: e.name });
5969
5972
  }, l = (d) => {
@@ -5997,10 +6000,10 @@ function zn(e) {
5997
6000
  }
5998
6001
  );
5999
6002
  }
6000
- function Zn(e) {
6003
+ function zn(e) {
6001
6004
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "";
6002
6005
  e.edit !== void 0 && e.edit, e.active !== void 0 && e.active;
6003
- let s = e.placeholder !== void 0 ? e.placeholder : "", r = Z.Date(
6006
+ let s = e.placeholder !== void 0 ? e.placeholder : "", r = z.Date(
6004
6007
  e.value === void 0 ? /* @__PURE__ */ new Date() : e.value,
6005
6008
  "HH:MM"
6006
6009
  ), i = g.useRef(null), c = (u) => {
@@ -6051,8 +6054,8 @@ function Zn(e) {
6051
6054
  }
6052
6055
  const qo = (e) => {
6053
6056
  let t = e.date.split(":"), n = {
6054
- h: Z.Number(2, t[0]),
6055
- m: Z.Number(2, t[1])
6057
+ h: z.Number(2, t[0]),
6058
+ m: z.Number(2, t[1])
6056
6059
  }, s = "hour", [r, i] = g.useState({}), c = !1, l = 0, _ = 0, d = {
6057
6060
  body: g.useRef(null),
6058
6061
  time: g.useRef(null),
@@ -6075,10 +6078,10 @@ const qo = (e) => {
6075
6078
  ) * (180 / Math.PI) * -1 + 180;
6076
6079
  d[s].current.style.transform = "rotate(" + b + "deg)", s === "hour" ? (n = {
6077
6080
  ...n,
6078
- h: Z.Number(2, parseInt(String(b / 15), 10))
6081
+ h: z.Number(2, parseInt(String(b / 15), 10))
6079
6082
  }, d.hourText.current.textContent = n.h) : (n = {
6080
6083
  ...n,
6081
- m: Z.Number(2, parseInt(String(b / 6), 10))
6084
+ m: z.Number(2, parseInt(String(b / 6), 10))
6082
6085
  }, d.timeText.current.textContent = n.m), e.onValue(n.h + ":" + n.m);
6083
6086
  }
6084
6087
  }, x = (N) => {
@@ -6089,7 +6092,7 @@ const qo = (e) => {
6089
6092
  if (_ !== R) {
6090
6093
  _ = R;
6091
6094
  let b = parseInt(n.h, 10) + 1;
6092
- b = b > 23 ? 0 : b, n = { ...n, h: Z.Number(2, b) }, d.hourText.current.textContent = n.h, d[s].current.style.transform = "rotate(" + n.h * 15 + "deg)";
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)";
6093
6096
  }
6094
6097
  } else {
6095
6098
  l -= N.deltaY;
@@ -6097,7 +6100,7 @@ const qo = (e) => {
6097
6100
  if (_ !== R) {
6098
6101
  _ = R;
6099
6102
  let b = parseInt(n.h, 10) - 1;
6100
- b = b < 0 ? 23 : b, n = { ...n, h: Z.Number(2, b) }, d.hourText.current.textContent = n.h, d[s].current.style.transform = "rotate(" + n.h * 15 + "deg)";
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)";
6101
6104
  }
6102
6105
  }
6103
6106
  else if (N.deltaY > 0) {
@@ -6106,7 +6109,7 @@ const qo = (e) => {
6106
6109
  if (_ !== R) {
6107
6110
  _ = R;
6108
6111
  let b = parseInt(n.m, 10) + 1;
6109
- b = b > 59 ? 0 : b, n = { ...n, m: Z.Number(2, b) }, d.timeText.current.textContent = n.m, d[s].current.style.transform = "rotate(" + n.m * 6 + "deg)";
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)";
6110
6113
  }
6111
6114
  } else {
6112
6115
  l -= N.deltaY;
@@ -6114,7 +6117,7 @@ const qo = (e) => {
6114
6117
  if (_ !== R) {
6115
6118
  _ = R;
6116
6119
  let b = parseInt(n.m, 10) - 1;
6117
- b = b < 0 ? 59 : b, n = { ...n, m: Z.Number(2, b) }, d.timeText.current.textContent = n.m, d[s].current.style.transform = "rotate(" + n.m * 6 + "deg)";
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)";
6118
6121
  }
6119
6122
  }
6120
6123
  e.onValue(n.h + ":" + n.m);
@@ -6180,7 +6183,7 @@ function Xo(e) {
6180
6183
  function Qo() {
6181
6184
  be.r && be.r();
6182
6185
  }
6183
- const Zl = {
6186
+ const zl = {
6184
6187
  Color: $n,
6185
6188
  Date: St,
6186
6189
  Code: Ln,
@@ -6201,8 +6204,8 @@ const Zl = {
6201
6204
  Search: An,
6202
6205
  Select: It,
6203
6206
  Set: pt,
6204
- Textarea: zn,
6205
- Time: Zn,
6207
+ Textarea: Zn,
6208
+ Time: zn,
6206
6209
  Users: Dt,
6207
6210
  String: $e,
6208
6211
  Form: pt,
@@ -6230,17 +6233,17 @@ const Zl = {
6230
6233
  Search: An,
6231
6234
  Select: It,
6232
6235
  Set: pt,
6233
- Textarea: zn,
6234
- Time: Zn,
6236
+ Textarea: Zn,
6237
+ Time: zn,
6235
6238
  Users: Dt,
6236
6239
  String: $e
6237
- }, el = "_spinner_1ul0m_1", tl = "_l_1ul0m_75", nl = "_loadingB_1ul0m_1", Kn = {
6240
+ }, el = "_spinner_1ul0m_1", tl = "_l_1ul0m_75", nl = "_loadingB_1ul0m_1", Vn = {
6238
6241
  spinner: el,
6239
6242
  l: tl,
6240
6243
  loadingB: nl
6241
6244
  };
6242
6245
  function al() {
6243
- return /* @__PURE__ */ a.jsx("div", { className: Kn.spinner, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ a.jsx(
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(
6244
6247
  "path",
6245
6248
  {
6246
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",
@@ -6249,13 +6252,13 @@ function al() {
6249
6252
  ) }) });
6250
6253
  }
6251
6254
  function sl() {
6252
- return /* @__PURE__ */ a.jsxs("div", { className: Kn.l, children: [
6255
+ return /* @__PURE__ */ a.jsxs("div", { className: Vn.l, children: [
6253
6256
  /* @__PURE__ */ a.jsx("i", {}),
6254
6257
  /* @__PURE__ */ a.jsx("i", {}),
6255
6258
  /* @__PURE__ */ a.jsx("i", {})
6256
6259
  ] });
6257
6260
  }
6258
- const Kl = { Spinner: al, Inline: sl }, rl = "_s_t9swc_1", il = {
6261
+ const Vl = { Spinner: al, Inline: sl }, rl = "_s_t9swc_1", il = {
6259
6262
  s: rl
6260
6263
  };
6261
6264
  let Mt;
@@ -6377,7 +6380,7 @@ function fl() {
6377
6380
  t({ type: "open", open: !0 });
6378
6381
  },
6379
6382
  children: [
6380
- /* @__PURE__ */ a.jsx(zs, {}),
6383
+ /* @__PURE__ */ a.jsx(Zs, {}),
6381
6384
  e.active && /* @__PURE__ */ a.jsxs("i", { children: [
6382
6385
  e.size,
6383
6386
  "1"
@@ -6497,7 +6500,7 @@ function Cl({ data: e, head: t, state: n, dispatch: s, type: r }) {
6497
6500
  }
6498
6501
  );
6499
6502
  }
6500
- const Vl = { Button: fl, useValue: hl, Set: gl, Run: pl, Count: Wn, Reset: xl }, Ul = { Bell: Hs, Send: Vs, Add: Ws }, kl = "_p_djnh1_1", yl = "_l_djnh1_38", Vn = {
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 = {
6501
6504
  p: kl,
6502
6505
  l: yl
6503
6506
  };
@@ -6510,7 +6513,7 @@ function jl(e) {
6510
6513
  for (let u = _; u < d; u++)
6511
6514
  r.push({ page: u });
6512
6515
  };
6513
- return s < t * 2 + 6 ? l(1, s + 1) : n < t * 2 + 1 ? (l(1, t * 2 + 4), c()) : n > s - t * 2 ? (t = s > 1e4 ? 1 : t, i(), l(s - t * 2 - 2, s + 1)) : (t = s > 1e4 ? 1 : t, i(), l(n - t, n + t + 1), c()), r.length === 1 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("div", { className: Vn.p, children: [
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: [
6514
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" }) }) }),
6515
6518
  r.map((_, d) => {
6516
6519
  console.log(_, e);
@@ -6562,7 +6565,7 @@ function Un({ load: e, list: t, item: n }) {
6562
6565
  };
6563
6566
  return g.useEffect(() => {
6564
6567
  }, [r]), console.log(r), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6565
- /* @__PURE__ */ a.jsx("div", { className: Vn.l, ref: s, children: /* @__PURE__ */ a.jsx(Rn, { "el-empty": "Данные не найдены", children: r.load && r.list !== void 0 ? r.list.map((l) => /* @__PURE__ */ a.jsx(r.item, { data: l }, l.id)) : /* @__PURE__ */ a.jsxs("div", { "type-data": "load", children: [
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: [
6566
6569
  /* @__PURE__ */ a.jsx("i", {}),
6567
6570
  /* @__PURE__ */ a.jsx("i", {}),
6568
6571
  /* @__PURE__ */ a.jsx("i", {})
@@ -6646,16 +6649,16 @@ export {
6646
6649
  _n as Component,
6647
6650
  Bl as DataBase,
6648
6651
  we as Event,
6649
- zl as Files,
6650
- Vl as Filter,
6651
- Zl as Form,
6652
- Z as Format,
6652
+ Zl as Files,
6653
+ Kl as Filter,
6654
+ zl as Form,
6655
+ z as Format,
6653
6656
  Ol as HotKey,
6654
6657
  Ll as Icon,
6655
6658
  Wi as Init,
6656
6659
  Gl as Input,
6657
6660
  Hl as List,
6658
- Kl as Loading,
6661
+ Vl as Loading,
6659
6662
  bt as Modal,
6660
6663
  Le as Notice,
6661
6664
  Ul as Notifications,