@elcrm/telegram 0.0.24 → 0.0.26

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
@@ -92,13 +92,13 @@ function Ea(e) {
92
92
  } else
93
93
  U.module = e;
94
94
  }
95
- function Ta(e, t = !0) {
95
+ function Ba(e, t = !0) {
96
96
  j.module = e, sessionStorage.setItem("f", N.enCode(j)), t && U.module(e);
97
97
  }
98
98
  function rn() {
99
99
  return j.module;
100
100
  }
101
- function Ba(e) {
101
+ function Ta(e) {
102
102
  return j.module === e;
103
103
  }
104
104
  function Ra(e) {
@@ -454,10 +454,10 @@ function hr() {
454
454
  {
455
455
  for (var h = arguments.length, k = new Array(h > 1 ? h - 1 : 0), w = 1; w < h; w++)
456
456
  k[w - 1] = arguments[w];
457
- T("error", s, k);
457
+ B("error", s, k);
458
458
  }
459
459
  }
460
- function T(s, h, k) {
460
+ function B(s, h, k) {
461
461
  {
462
462
  var w = C.ReactDebugCurrentFrame, D = w.getStackAddendum();
463
463
  D !== "" && (h += "%s", k = k.concat([D]));
@@ -467,10 +467,10 @@ function hr() {
467
467
  F.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, F);
468
468
  }
469
469
  }
470
- var B = !1, P = !1, O = !1, K = !1, oe = !1, z;
470
+ var T = !1, P = !1, O = !1, K = !1, oe = !1, z;
471
471
  z = Symbol.for("react.module.reference");
472
472
  function I(s) {
473
- return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || oe || s === i || s === _ || s === u || K || s === m || B || P || O || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === f || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
473
+ return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || oe || s === i || s === _ || s === u || K || s === m || T || P || O || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === f || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
474
474
  // types supported by any Flight configuration anywhere since
475
475
  // we don't know which Flight build this will end up being used
476
476
  // with.
@@ -531,14 +531,14 @@ function hr() {
531
531
  }
532
532
  return null;
533
533
  }
534
- var Z = Object.assign, Y = 0, $e, te, Ee, Ve, Le, Tt, Bt;
534
+ var Z = Object.assign, Y = 0, $e, te, Ee, Ve, Le, Bt, Tt;
535
535
  function Rt() {
536
536
  }
537
537
  Rt.__reactDisabledLog = !0;
538
538
  function $n() {
539
539
  {
540
540
  if (Y === 0) {
541
- $e = console.log, te = console.info, Ee = console.warn, Ve = console.error, Le = console.group, Tt = console.groupCollapsed, Bt = console.groupEnd;
541
+ $e = console.log, te = console.info, Ee = console.warn, Ve = console.error, Le = console.group, Bt = console.groupCollapsed, Tt = console.groupEnd;
542
542
  var s = {
543
543
  configurable: !0,
544
544
  enumerable: !0,
@@ -583,10 +583,10 @@ function hr() {
583
583
  value: Le
584
584
  }),
585
585
  groupCollapsed: Z({}, s, {
586
- value: Tt
586
+ value: Bt
587
587
  }),
588
588
  groupEnd: Z({}, s, {
589
- value: Bt
589
+ value: Tt
590
590
  })
591
591
  });
592
592
  }
@@ -719,7 +719,7 @@ function hr() {
719
719
  }
720
720
  return "";
721
721
  }
722
- var Te = Object.prototype.hasOwnProperty, Mt = {}, Nt = C.ReactDebugCurrentFrame;
722
+ var Be = Object.prototype.hasOwnProperty, Mt = {}, Nt = C.ReactDebugCurrentFrame;
723
723
  function ze(s) {
724
724
  if (s) {
725
725
  var h = s._owner, k = Ge(s.type, s._source, h ? h.type : null);
@@ -729,7 +729,7 @@ function hr() {
729
729
  }
730
730
  function zn(s, h, k, w, D) {
731
731
  {
732
- var F = Function.call.bind(Te);
732
+ var F = Function.call.bind(Be);
733
733
  for (var M in s)
734
734
  if (F(s, M)) {
735
735
  var R = void 0;
@@ -770,7 +770,7 @@ function hr() {
770
770
  if (Zn(s))
771
771
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kn(s)), Dt(s);
772
772
  }
773
- var Be = C.ReactCurrentOwner, Un = {
773
+ var Te = C.ReactCurrentOwner, Un = {
774
774
  key: !0,
775
775
  ref: !0,
776
776
  __self: !0,
@@ -778,7 +778,7 @@ function hr() {
778
778
  }, Ft, $t, et;
779
779
  et = {};
780
780
  function Hn(s) {
781
- if (Te.call(s, "ref")) {
781
+ if (Be.call(s, "ref")) {
782
782
  var h = Object.getOwnPropertyDescriptor(s, "ref").get;
783
783
  if (h && h.isReactWarning)
784
784
  return !1;
@@ -786,7 +786,7 @@ function hr() {
786
786
  return s.ref !== void 0;
787
787
  }
788
788
  function Yn(s) {
789
- if (Te.call(s, "key")) {
789
+ if (Be.call(s, "key")) {
790
790
  var h = Object.getOwnPropertyDescriptor(s, "key").get;
791
791
  if (h && h.isReactWarning)
792
792
  return !1;
@@ -794,9 +794,9 @@ function hr() {
794
794
  return s.key !== void 0;
795
795
  }
796
796
  function Vn(s, h) {
797
- if (typeof s.ref == "string" && Be.current && h && Be.current.stateNode !== h) {
798
- var k = E(Be.current.type);
799
- et[k] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(Be.current.type), s.ref), et[k] = !0);
797
+ if (typeof s.ref == "string" && Te.current && h && Te.current.stateNode !== h) {
798
+ var k = E(Te.current.type);
799
+ et[k] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(Te.current.type), s.ref), et[k] = !0);
800
800
  }
801
801
  }
802
802
  function qn(s, h) {
@@ -855,7 +855,7 @@ function hr() {
855
855
  var F, M = {}, R = null, V = null;
856
856
  k !== void 0 && (Pt(k), R = "" + k), Yn(h) && (Pt(h.key), R = "" + h.key), Hn(h) && (V = h.ref, Vn(h, D));
857
857
  for (F in h)
858
- Te.call(h, F) && !Un.hasOwnProperty(F) && (M[F] = h[F]);
858
+ Be.call(h, F) && !Un.hasOwnProperty(F) && (M[F] = h[F]);
859
859
  if (s && s.defaultProps) {
860
860
  var L = s.defaultProps;
861
861
  for (F in L)
@@ -865,7 +865,7 @@ function hr() {
865
865
  var G = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
866
866
  R && qn(M, G), V && Jn(M, G);
867
867
  }
868
- return Xn(s, R, V, D, w, Be.current, M);
868
+ return Xn(s, R, V, D, w, Te.current, M);
869
869
  }
870
870
  }
871
871
  var tt = C.ReactCurrentOwner, Lt = C.ReactDebugCurrentFrame;
@@ -1006,7 +1006,7 @@ Check the top-level render call using <` + k + ">.");
1006
1006
  else
1007
1007
  zt(Q, s);
1008
1008
  }
1009
- if (Te.call(h, "key")) {
1009
+ if (Be.call(h, "key")) {
1010
1010
  var me = E(s), q = Object.keys(h).filter(function(ca) {
1011
1011
  return ca !== "key";
1012
1012
  }), rt = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
@@ -1139,9 +1139,9 @@ ge.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
1139
1139
  }
1140
1140
  )
1141
1141
  ] });
1142
- const Tr = "_alerts_1pds5_1", Br = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1", Ir = "_allert_1pds5_111", Mr = "_al_1pds5_1", dt = {
1143
- alerts: Tr,
1144
- menuAnimation: Br,
1142
+ const Br = "_alerts_1pds5_1", Tr = "_menuAnimation_1pds5_1", Rr = "_menuItemAnimation_1pds5_1", Ir = "_allert_1pds5_111", Mr = "_al_1pds5_1", dt = {
1143
+ alerts: Br,
1144
+ menuAnimation: Tr,
1145
1145
  menuItemAnimation: Rr,
1146
1146
  "--body": "_--body_1pds5_103",
1147
1147
  allert: Ir,
@@ -1380,10 +1380,10 @@ const ce = {
1380
1380
  getPage: an,
1381
1381
  usePage: ya,
1382
1382
  isPage: Sa,
1383
- setModule: Ta,
1383
+ setModule: Ba,
1384
1384
  getModule: rn,
1385
1385
  useModule: Ea,
1386
- isModule: Ba,
1386
+ isModule: Ta,
1387
1387
  setTabs: Ia,
1388
1388
  getTabs: Ze,
1389
1389
  useTabs: Ra,
@@ -1750,11 +1750,11 @@ function Si({ children: e }) {
1750
1750
  function Ei({ children: e }) {
1751
1751
  return /* @__PURE__ */ n.jsx("div", { className: ne.s, children: e });
1752
1752
  }
1753
- function Ti({ children: e, className: t }) {
1753
+ function Bi({ children: e, className: t }) {
1754
1754
  let a = {};
1755
1755
  return t && (a.className = t), /* @__PURE__ */ n.jsx("div", { "data-form": "outline", ...a, children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
1756
1756
  }
1757
- function Bi({ children: e }) {
1757
+ function Ti({ children: e }) {
1758
1758
  return /* @__PURE__ */ n.jsx("div", { className: ne.c, children: e });
1759
1759
  }
1760
1760
  const Cn = {
@@ -1765,8 +1765,8 @@ const Cn = {
1765
1765
  Icon: pi,
1766
1766
  Open: xi,
1767
1767
  Shake: gi,
1768
- Form: Ti,
1769
- Center: Bi,
1768
+ Form: Bi,
1769
+ Center: Ti,
1770
1770
  Close: vi
1771
1771
  };
1772
1772
  function kt({
@@ -1801,15 +1801,15 @@ function kt({
1801
1801
  value: e
1802
1802
  });
1803
1803
  };
1804
- const T = {};
1805
- T.field = "input", v && (T.className = v);
1806
1804
  const B = {};
1807
- return r && (B.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
1805
+ B.field = "input", v && (B.className = v);
1806
+ const T = {};
1807
+ return r && (T.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...B, children: [
1808
1808
  i && /* @__PURE__ */ n.jsx("dt", { children: i }),
1809
1809
  /* @__PURE__ */ n.jsx(
1810
1810
  "dd",
1811
1811
  {
1812
- ...B,
1812
+ ...T,
1813
1813
  onClick: y,
1814
1814
  edit: (c && _) + "",
1815
1815
  "data-after": u,
@@ -1857,16 +1857,16 @@ function Ii(e) {
1857
1857
  };
1858
1858
  }
1859
1859
  const Mi = (e) => {
1860
- function t(T, B) {
1860
+ function t(B, T) {
1861
1861
  var P, K, O;
1862
- T = T ?? "", B = B ?? 1;
1863
- for (var P = [], O = 0, K = T.length; O < K; )
1864
- P.push(T.slice(O, O += B));
1862
+ B = B ?? "", T = T ?? 1;
1863
+ for (var P = [], O = 0, K = B.length; O < K; )
1864
+ P.push(B.slice(O, O += T));
1865
1865
  return P;
1866
1866
  }
1867
- function a(T, B) {
1867
+ function a(B, T) {
1868
1868
  var P = [2, 0, 1, 1, 1, 2];
1869
- return B[T > 4 && T < 20 ? 2 : P[Math.min(T, 5)]];
1869
+ return T[B > 4 && B < 20 ? 2 : P[Math.min(B, 5)]];
1870
1870
  }
1871
1871
  var r = {
1872
1872
  null: "ноль",
@@ -3955,12 +3955,12 @@ function jt({
3955
3955
  let v = "+_(___) ___-__-__", p = !0, C = 0, y = ($, E) => {
3956
3956
  let Z = document.createRange(), Y = window.getSelection();
3957
3957
  Z.setStart(E.childNodes[0], $), Z.collapse(!0), Y.removeAllRanges(), Y.addRange(Z), E.focus();
3958
- }, T = ($) => {
3958
+ }, B = ($) => {
3959
3959
  $.preventDefault(), navigator.clipboard.readText().then((E) => {
3960
3960
  window.document.execCommand("insertText", !1, E);
3961
3961
  }).catch((E) => {
3962
3962
  });
3963
- }, B = ($) => {
3963
+ }, T = ($) => {
3964
3964
  let E = 0, Z = "", Y = $.replace(/\D/g, "");
3965
3965
  Y === "" && (p = !0);
3966
3966
  let $e = Y.split(""), te = "";
@@ -3985,8 +3985,8 @@ function jt({
3985
3985
  function(E) {
3986
3986
  }
3987
3987
  );
3988
- }, O = B(e), K = ($) => {
3989
- let E = B($.target.textContent);
3988
+ }, O = T(e), K = ($) => {
3989
+ let E = T($.target.textContent);
3990
3990
  $.target.textContent = E.q, E.i = E.q.lastIndexOf(E.v.substr(-1)), E.i < E.q.length && E.q !== v ? E.i++ : E.i = E.q.indexOf("_"), y(E.i, $.target), t && t({ value: E.q.replace(/\D/g, ""), name: r });
3991
3991
  }, oe = ($) => {
3992
3992
  $.key === "Enter" && $.preventDefault();
@@ -4005,7 +4005,7 @@ function jt({
4005
4005
  "dd",
4006
4006
  {
4007
4007
  ...W,
4008
- onPaste: T,
4008
+ onPaste: B,
4009
4009
  onInput: K,
4010
4010
  onKeyDown: oe,
4011
4011
  onContextMenu: P,
@@ -4068,18 +4068,18 @@ function yt({
4068
4068
  }) {
4069
4069
  const x = b.useRef();
4070
4070
  i = !!(i && (o === "" || c[o].n === void 0)) && !(a && r);
4071
- let g = o !== void 0 && o !== "" ? c[o].n : o, v = (T) => {
4072
- x.current.textContent = c[T].n, l && l({ value: T, name: _ });
4073
- }, p = (T) => {
4071
+ let g = o !== void 0 && o !== "" ? c[o].n : o, v = (B) => {
4072
+ x.current.textContent = c[B].n, l && l({ value: B, name: _ });
4073
+ }, p = (B) => {
4074
4074
  if (!(a && r))
4075
4075
  return;
4076
- const B = T.target.getBoundingClientRect();
4076
+ const T = B.target.getBoundingClientRect();
4077
4077
  He.setListener(
4078
4078
  "form",
4079
4079
  /* @__PURE__ */ n.jsx(
4080
4080
  Vi,
4081
4081
  {
4082
- parent: B,
4082
+ parent: T,
4083
4083
  onValue: v,
4084
4084
  view: f,
4085
4085
  options: c
@@ -4151,10 +4151,10 @@ function wt({
4151
4151
  onSave: m,
4152
4152
  className: g = ""
4153
4153
  }) {
4154
- let v = !!(l && (e === "" || e === void 0)), p = (B) => {
4155
- t == null || t({ value: B.target.value, name: a });
4156
- }, C = (B) => {
4157
- B.preventDefault(), navigator.clipboard.readText().then((P) => {
4154
+ let v = !!(l && (e === "" || e === void 0)), p = (T) => {
4155
+ t == null || t({ value: T.target.value, name: a });
4156
+ }, C = (T) => {
4157
+ T.preventDefault(), navigator.clipboard.readText().then((P) => {
4158
4158
  window.document.execCommand(
4159
4159
  "insertText",
4160
4160
  !1,
@@ -4162,8 +4162,8 @@ function wt({
4162
4162
  );
4163
4163
  }).catch((P) => {
4164
4164
  });
4165
- }, y = (B) => {
4166
- B.preventDefault(), navigator.clipboard.writeText(B.target.value).then(
4165
+ }, y = (T) => {
4166
+ T.preventDefault(), navigator.clipboard.writeText(T.target.value).then(
4167
4167
  function() {
4168
4168
  Ke.Copy("Данные в буфер обмене");
4169
4169
  },
@@ -4173,8 +4173,8 @@ function wt({
4173
4173
  };
4174
4174
  if (!(c && d) && !u || !(c && d) && v)
4175
4175
  return "";
4176
- const T = {};
4177
- return T.field = "input", g && (T.className = g), /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
4176
+ const B = {};
4177
+ return B.field = "input", g && (B.className = g), /* @__PURE__ */ n.jsxs("dl", { ...B, children: [
4178
4178
  i ? /* @__PURE__ */ n.jsx("dt", { children: i }) : "",
4179
4179
  /* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(
4180
4180
  "input",
@@ -4455,18 +4455,18 @@ function En({
4455
4455
  let v = !!(l && (e === "" || e === void 0));
4456
4456
  if (!(c && d) && !u || !(c && d) && v)
4457
4457
  return "";
4458
- let p = (B) => {
4459
- t && t({ value: B.target.innerText, name: a });
4460
- }, C = (B) => {
4461
- m && m({ value: B.target.innerText, name: a });
4462
- }, y = (B) => {
4463
- B.preventDefault(), navigator.clipboard.readText().then((P) => {
4458
+ let p = (T) => {
4459
+ t && t({ value: T.target.innerText, name: a });
4460
+ }, C = (T) => {
4461
+ m && m({ value: T.target.innerText, name: a });
4462
+ }, y = (T) => {
4463
+ T.preventDefault(), navigator.clipboard.readText().then((P) => {
4464
4464
  window.document.execCommand("insertText", !1, P);
4465
4465
  }).catch((P) => {
4466
4466
  });
4467
4467
  };
4468
- const T = {};
4469
- return r && (T.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
4468
+ const B = {};
4469
+ return r && (B.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
4470
4470
  i ?? /* @__PURE__ */ n.jsx("dt", { children: i }),
4471
4471
  /* @__PURE__ */ n.jsx(
4472
4472
  "dd",
@@ -4475,7 +4475,7 @@ function En({
4475
4475
  onBlur: C,
4476
4476
  onInput: p,
4477
4477
  contentEditable: c && d ? "plaintext-only" : "false",
4478
- ...T,
4478
+ ...B,
4479
4479
  suppressContentEditableWarning: !0,
4480
4480
  children: e
4481
4481
  }
@@ -4483,7 +4483,7 @@ function En({
4483
4483
  o ?? /* @__PURE__ */ n.jsx("em", { children: o })
4484
4484
  ] });
4485
4485
  }
4486
- function Tn({
4486
+ function Bn({
4487
4487
  value: e,
4488
4488
  onValue: t,
4489
4489
  name: a,
@@ -4503,14 +4503,14 @@ function Tn({
4503
4503
  let v = !!(l && (e === "" || e === void 0));
4504
4504
  if (ye.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), b.useRef(null), !(c && d) && !u || !(c && d) && v)
4505
4505
  return "";
4506
- const p = "__:__", C = new Set("_"), y = ((I) => Array.from(p, (W, $) => C.has(W) ? I = $ + 1 : I))(0), T = [...p].findIndex((I) => C.has(I)), B = new RegExp("\\d", "g"), P = (I) => (I = I.match(B) || [], Array.from(
4506
+ const p = "__:__", C = new Set("_"), y = ((I) => Array.from(p, (W, $) => C.has(W) ? I = $ + 1 : I))(0), B = [...p].findIndex((I) => C.has(I)), T = new RegExp("\\d", "g"), P = (I) => (I = I.match(T) || [], Array.from(
4507
4507
  p,
4508
4508
  (W) => (I[0] === W || C.has(W)) && I.shift() || W
4509
4509
  )), O = (I) => {
4510
4510
  const [W, $] = [I.target.selectionStart, I.target.selectionEnd].map(
4511
4511
  (E) => (E = P(I.target.value.slice(0, E)).findIndex(
4512
4512
  (Z) => C.has(Z)
4513
- ), E < 0 ? y[y.length - 1] : z ? y[E - 1] || T : E)
4513
+ ), E < 0 ? y[y.length - 1] : z ? y[E - 1] || B : E)
4514
4514
  );
4515
4515
  I.target.value = P(I.target.value).join(""), I.target.setSelectionRange(W, $), t == null || t({ name: a, value: I.target.value });
4516
4516
  }, K = {};
@@ -4535,7 +4535,7 @@ function Tn({
4535
4535
  o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
4536
4536
  ] }) });
4537
4537
  }
4538
- function Bn({
4538
+ function Tn({
4539
4539
  onValue: e,
4540
4540
  label: t,
4541
4541
  value: a,
@@ -4600,9 +4600,9 @@ function In({
4600
4600
  p([...v, ""]);
4601
4601
  }, y = (z) => {
4602
4602
  v.splice(z, 1), v.length === 0 && v.push(""), p([...v]), x !== void 0 && x({ value: v.join(","), name: a });
4603
- }, T = !!(l && (e === "" || e === void 0)), B = (z) => {
4603
+ }, B = !!(l && (e === "" || e === void 0)), T = (z) => {
4604
4604
  };
4605
- if (!(c && d) && !u || !(c && d) && T)
4605
+ if (!(c && d) && !u || !(c && d) && B)
4606
4606
  return "";
4607
4607
  const P = {};
4608
4608
  P.field = "group", g && (P.className = g);
@@ -4642,7 +4642,7 @@ function In({
4642
4642
  edit: "true",
4643
4643
  name: a,
4644
4644
  placeholder: r,
4645
- onPaste: B,
4645
+ onPaste: T,
4646
4646
  contentEditable: !0,
4647
4647
  onKeyDown: oe,
4648
4648
  onBlur: O,
@@ -4710,10 +4710,10 @@ function Mn({
4710
4710
  name: a,
4711
4711
  value: p
4712
4712
  });
4713
- }, T = {};
4714
- T.field = "group", v && (T.className = v);
4715
- const B = {};
4716
- return r && (B.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
4713
+ }, B = {};
4714
+ B.field = "group", v && (B.className = v);
4715
+ const T = {};
4716
+ return r && (T.placeholder = r), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...B, children: [
4717
4717
  /* @__PURE__ */ n.jsxs("dt", { children: [
4718
4718
  i,
4719
4719
  /* @__PURE__ */ n.jsx("i", { onClick: y, children: /* @__PURE__ */ n.jsxs(
@@ -4737,7 +4737,7 @@ function Mn({
4737
4737
  /* @__PURE__ */ n.jsx(
4738
4738
  "dd",
4739
4739
  {
4740
- ...B,
4740
+ ...T,
4741
4741
  onClick: open,
4742
4742
  edit: (c && _) + "",
4743
4743
  "data-after": u,
@@ -4754,7 +4754,7 @@ const Xi = {
4754
4754
  Color: bn,
4755
4755
  Date: vt,
4756
4756
  Code: kn,
4757
- Check: Bn,
4757
+ Check: Tn,
4758
4758
  Switch: hn,
4759
4759
  Button: gn,
4760
4760
  Message: pn,
@@ -4771,7 +4771,7 @@ const Xi = {
4771
4771
  Select: yt,
4772
4772
  Set: ft,
4773
4773
  Textarea: En,
4774
- Time: Tn,
4774
+ Time: Bn,
4775
4775
  Users: St,
4776
4776
  String: wt,
4777
4777
  Toogle: Rn,
@@ -4826,13 +4826,15 @@ S.getUser = () => {
4826
4826
  };
4827
4827
  S.MainButton.callback = null;
4828
4828
  S.MainButton.set = (e) => {
4829
- ve.is ? ve.MainButton.set(e) : typeof e == "boolean" ? S.MainButton.isVisible = !1 : (S.MainButton.text = e.text, e.color && (S.MainButton.color = e.color), e.textColor && (S.MainButton.textColor = e.textColor), S.MainButton.isVisible = !0, S.MainButton.isActive = e.isActive === void 0 ? !0 : e.isActive, e.page === void 0 ? S.MainButton.callback = () => {
4830
- var t;
4831
- return (t = e.callback) == null ? void 0 : t.call(e);
4832
- } : S.MainButton.callback = () => ce.setPage(e.page), S.WebApp.onEvent(
4829
+ ve.is ? ve.MainButton.set(e) : typeof e == "boolean" ? S.MainButton.isVisible = !1 : (S.offClick(
4833
4830
  "mainButtonClicked",
4834
4831
  S.MainButton.callback
4835
- ));
4832
+ ), S.MainButton.text = e.text, e.color && (S.MainButton.color = e.color), e.textColor && (S.MainButton.textColor = e.textColor), S.MainButton.isVisible = !0, S.MainButton.isActive = e.isActive === void 0 ? !0 : e.isActive, e.page === void 0 ? S.MainButton.callback = () => {
4833
+ var t;
4834
+ (t = e.callback) == null || t.call(e);
4835
+ } : S.MainButton.callback = () => {
4836
+ ce.setPage(e.page);
4837
+ }, S.onEvent("mainButtonClicked", S.MainButton.callback));
4836
4838
  };
4837
4839
  S.BackButton.state = [!1];
4838
4840
  S.BackButton.listen = [];
@@ -5076,13 +5078,13 @@ function Dn({ text: e, type: t, button: a }) {
5076
5078
  a && /* @__PURE__ */ n.jsx("button", { onClick: l, children: a.label })
5077
5079
  ] });
5078
5080
  }
5079
- const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", To = "_t_1usnu_40", Bo = "_s_1usnu_60", Ro = "_u_1usnu_69", Io = "_o_1usnu_76", Mo = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128", Po = "_loadingB_1usnu_1", Fo = "_m_1usnu_180", $o = "_ul_1usnu_196", Lo = "_f_1usnu_226", J = {
5081
+ const yo = "_h_1usnu_1", wo = "_g_1usnu_11", So = "_hr_1usnu_16", Eo = "_hl_1usnu_28", Bo = "_t_1usnu_40", To = "_s_1usnu_60", Ro = "_u_1usnu_69", Io = "_o_1usnu_76", Mo = "_l_1usnu_105", No = "_hh_1usnu_115", Do = "_c_1usnu_128", Po = "_loadingB_1usnu_1", Fo = "_m_1usnu_180", $o = "_ul_1usnu_196", Lo = "_f_1usnu_226", J = {
5080
5082
  h: yo,
5081
5083
  g: wo,
5082
5084
  hr: So,
5083
5085
  hl: Eo,
5084
- t: To,
5085
- s: Bo,
5086
+ t: Bo,
5087
+ s: To,
5086
5088
  u: Ro,
5087
5089
  o: Io,
5088
5090
  l: Mo,
@@ -5677,10 +5679,10 @@ const Se = () => (st || (st = new us()), st), ue = (e, t, a = Se()) => a._withID
5677
5679
  loadingB: ws,
5678
5680
  ul: Ss
5679
5681
  };
5680
- function Ts({ children: e }) {
5682
+ function Bs({ children: e }) {
5681
5683
  return /* @__PURE__ */ n.jsx("ul", { className: J.ul, children: e });
5682
5684
  }
5683
- function Bs(e, t) {
5685
+ function Ts(e, t) {
5684
5686
  switch (t.type) {
5685
5687
  case "load":
5686
5688
  return {
@@ -5719,7 +5721,7 @@ function xl({
5719
5721
  className: a,
5720
5722
  ...r
5721
5723
  }) {
5722
- const i = b.useRef(null), [o, l] = b.useReducer(Bs, {
5724
+ const i = b.useRef(null), [o, l] = b.useReducer(Ts, {
5723
5725
  load: !1,
5724
5726
  list: [],
5725
5727
  data: {},
@@ -5739,7 +5741,7 @@ function xl({
5739
5741
  className: [Es.s, a].join(" "),
5740
5742
  ref: i,
5741
5743
  onScroll: c,
5742
- children: /* @__PURE__ */ n.jsx(Ts, { "el-empty": "Данные не найдены", children: o.load && o.list !== void 0 ? o.list.map((d) => /* @__PURE__ */ n.jsx(r.item, { data: d }, d.id)) : /* @__PURE__ */ n.jsxs("div", { "data-load": "load", children: [
5744
+ children: /* @__PURE__ */ n.jsx(Bs, { "el-empty": "Данные не найдены", children: o.load && o.list !== void 0 ? o.list.map((d) => /* @__PURE__ */ n.jsx(r.item, { data: d }, d.id)) : /* @__PURE__ */ n.jsxs("div", { "data-load": "load", children: [
5743
5745
  /* @__PURE__ */ n.jsx("i", {}),
5744
5746
  /* @__PURE__ */ n.jsx("i", {}),
5745
5747
  /* @__PURE__ */ n.jsx("i", {})
@@ -5783,7 +5785,7 @@ const vl = {
5783
5785
  Color: bn,
5784
5786
  Date: vt,
5785
5787
  Code: kn,
5786
- Check: Bn,
5788
+ Check: Tn,
5787
5789
  Switch: hn,
5788
5790
  Button: gn,
5789
5791
  Message: pn,
@@ -5800,7 +5802,7 @@ const vl = {
5800
5802
  Select: yt,
5801
5803
  Set: ft,
5802
5804
  Textarea: En,
5803
- Time: Tn,
5805
+ Time: Bn,
5804
5806
  Users: St,
5805
5807
  String: wt,
5806
5808
  Form: ft,