elcrm 0.9.113 → 0.9.115

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
@@ -71,10 +71,10 @@ function ar() {
71
71
  W.unshift("Warning: " + C), Function.prototype.apply.call(console[d], console, W);
72
72
  }
73
73
  }
74
- var $ = !1, D = !1, N = !1, E = !1, R = !1, B;
74
+ var $ = !1, R = !1, N = !1, E = !1, D = !1, B;
75
75
  B = Symbol.for("react.module.reference");
76
76
  function M(d) {
77
- return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || R || d === s || d === _ || d === u || E || d === m || $ || D || N || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === x || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
77
+ return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || D || d === s || d === _ || d === u || E || d === m || $ || R || N || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === x || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
78
78
  // types supported by any Flight configuration anywhere since
79
79
  // we don't know which Flight build this will end up being used
80
80
  // with.
@@ -1350,15 +1350,15 @@ function $s(e) {
1350
1350
  }
1351
1351
  const Bs = (e) => {
1352
1352
  function t(T, $) {
1353
- var D, E, N;
1353
+ var R, E, N;
1354
1354
  T = T ?? "", $ = $ ?? 1;
1355
- for (var D = [], N = 0, E = T.length; N < E; )
1356
- D.push(T.slice(N, N += $));
1357
- return D;
1355
+ for (var R = [], N = 0, E = T.length; N < E; )
1356
+ R.push(T.slice(N, N += $));
1357
+ return R;
1358
1358
  }
1359
1359
  function n(T, $) {
1360
- var D = [2, 0, 1, 1, 1, 2];
1361
- return $[T > 4 && T < 20 ? 2 : D[Math.min(T, 5)]];
1360
+ var R = [2, 0, 1, 1, 1, 2];
1361
+ return $[T > 4 && T < 20 ? 2 : R[Math.min(T, 5)]];
1362
1362
  }
1363
1363
  var r = {
1364
1364
  null: "ноль",
@@ -4096,7 +4096,7 @@ function He({
4096
4096
  isCopy: b = !0,
4097
4097
  isReload: T = !1
4098
4098
  }) {
4099
- let $ = !!(l && (t === "" || t === void 0)), D = (j) => {
4099
+ let $ = !!(l && (t === "" || t === void 0)), R = (j) => {
4100
4100
  n && n({
4101
4101
  value: j.target.textContent.trim(),
4102
4102
  name: r,
@@ -4112,7 +4112,7 @@ function He({
4112
4112
  function(y) {
4113
4113
  }
4114
4114
  ));
4115
- }, R = (j) => {
4115
+ }, D = (j) => {
4116
4116
  m && (j.preventDefault(), navigator.clipboard.readText().then((y) => {
4117
4117
  y = y.slice(0, m), window.document.execCommand(
4118
4118
  "insertText",
@@ -4136,8 +4136,8 @@ function He({
4136
4136
  /* @__PURE__ */ a.jsx(
4137
4137
  "dd",
4138
4138
  {
4139
- onPaste: R,
4140
- onInput: D,
4139
+ onPaste: D,
4140
+ onInput: R,
4141
4141
  onBlur: L,
4142
4142
  onKeyDown: N,
4143
4143
  onContextMenu: E,
@@ -4452,8 +4452,8 @@ function la({
4452
4452
  className: g = ""
4453
4453
  }) {
4454
4454
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
4455
- let [v, b] = h.useState(t), T = (D) => {
4456
- b(D), n == null || n({ value: D, name: r }), p == null || p({ value: D, name: r });
4455
+ let [v, b] = h.useState(t), T = (R) => {
4456
+ b(R), n == null || n({ value: R, name: r }), p == null || p({ value: R, name: r });
4457
4457
  };
4458
4458
  const $ = {};
4459
4459
  return $.field = "color", g && ($.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: m === "icon" ? /* @__PURE__ */ a.jsx(
@@ -4463,21 +4463,21 @@ function la({
4463
4463
  }
4464
4464
  ) : /* @__PURE__ */ a.jsxs("dl", { ...$, children: [
4465
4465
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
4466
- /* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map((D) => /* @__PURE__ */ a.jsx(
4466
+ /* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map((R) => /* @__PURE__ */ a.jsx(
4467
4467
  "s",
4468
4468
  {
4469
- active: (Number(D) === Number(v)) + "",
4470
- onClick: () => T(D),
4469
+ active: (Number(R) === Number(v)) + "",
4470
+ onClick: () => T(R),
4471
4471
  style: {
4472
- backgroundColor: `var(--color-${D})`
4472
+ backgroundColor: `var(--color-${R})`
4473
4473
  }
4474
4474
  },
4475
- D
4475
+ R
4476
4476
  )) }),
4477
4477
  o && /* @__PURE__ */ a.jsx("em", { children: o })
4478
4478
  ] }) });
4479
4479
  }
4480
- const Lc = "_o_7oi3k_1", Mc = "_c_7oi3k_11", $c = "__active_7oi3k_41", Bc = "_as_7oi3k_94", Fc = "_ap_7oi3k_97", fe = {
4480
+ const Lc = "_o_76l23_1", Mc = "_c_76l23_11", $c = "__active_76l23_41", Bc = "_as_76l23_94", Fc = "_ap_76l23_97", fe = {
4481
4481
  o: Lc,
4482
4482
  c: Mc,
4483
4483
  _active: $c,
@@ -4508,13 +4508,13 @@ function Zt({
4508
4508
  let g = ($) => {
4509
4509
  k($), _ == null || _({ value: $, name: u });
4510
4510
  }, v = ($) => {
4511
- const D = $.target.getBoundingClientRect(), N = D.left, E = D.bottom, R = D.top;
4511
+ const R = $.target.getBoundingClientRect(), N = R.left, E = R.bottom, D = R.top;
4512
4512
  ge.setListener(
4513
4513
  "form",
4514
4514
  /* @__PURE__ */ a.jsx(
4515
4515
  Pc,
4516
4516
  {
4517
- position: { x: N, y: R, b: E },
4517
+ position: { x: N, y: D, b: E },
4518
4518
  onValue: g,
4519
4519
  date: m,
4520
4520
  max: o,
@@ -4574,7 +4574,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4574
4574
  l(!1);
4575
4575
  }, $ = () => {
4576
4576
  E(f.m + 1, f.y);
4577
- }, D = () => {
4577
+ }, R = () => {
4578
4578
  E(f.m - 1, f.y);
4579
4579
  }, N = (j) => {
4580
4580
  t(
@@ -4583,10 +4583,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4583
4583
  }, E = (j, y) => {
4584
4584
  y = j > 12 ? y + 1 : j < 1 ? y - 1 : y, j = j > 12 ? 1 : j < 1 ? 12 : j, m({ y, m: j });
4585
4585
  };
4586
- const R = (j) => {
4587
- const y = { className: "_active" };
4588
- return y.style = u.y === f.y && u.m === f.m && u.d === j ? { className: "_active" } : {}, y;
4589
- }, B = (j) => {
4586
+ const D = (j) => u.y === f.y && u.m === f.m && u.d === j ? { className: "_active" } : {}, B = (j) => {
4590
4587
  let y = !0;
4591
4588
  if (r) {
4592
4589
  let P = r.getTime(), z = new Date(f.y, f.m - 1, j).getTime();
@@ -4618,7 +4615,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4618
4615
  style: { top: M + "px", left: L + "px" },
4619
4616
  children: [
4620
4617
  /* @__PURE__ */ a.jsxs("s", { children: [
4621
- /* @__PURE__ */ a.jsx("i", { onClick: D, children: /* @__PURE__ */ a.jsx(
4618
+ /* @__PURE__ */ a.jsx("i", { onClick: R, children: /* @__PURE__ */ a.jsx(
4622
4619
  "svg",
4623
4620
  {
4624
4621
  width: "16",
@@ -4651,11 +4648,11 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4651
4648
  b.map((j, y) => /* @__PURE__ */ a.jsx("span", { children: j !== 0 && B(j) ? /* @__PURE__ */ a.jsx(
4652
4649
  "b",
4653
4650
  {
4654
- ...R(j),
4651
+ ...D(j),
4655
4652
  onClick: () => N(j),
4656
4653
  children: j
4657
4654
  }
4658
- ) : /* @__PURE__ */ a.jsx("p", { children: j !== 0 ? j : "" }) }, y))
4655
+ ) : /* @__PURE__ */ a.jsx("p", { ...D(j), children: j !== 0 ? j : "" }) }, y))
4659
4656
  ] })
4660
4657
  ]
4661
4658
  }
@@ -4680,7 +4677,7 @@ function zt({
4680
4677
  options: k,
4681
4678
  className: p
4682
4679
  }) {
4683
- let [g, v] = h.useState(e), b = (D) => {
4680
+ let [g, v] = h.useState(e), b = (R) => {
4684
4681
  if (!(l && _) || !f) return;
4685
4682
  let N = f.split(".");
4686
4683
  _t.Open(N[0], N[1], {
@@ -4740,7 +4737,7 @@ function Wt({
4740
4737
  value: b(M.target.textContent) * x,
4741
4738
  name: n
4742
4739
  }), M.target.textContent = b(M.target.textContent), M.target.textContent.length > 0 && T(M.target.textContent.length, M.target);
4743
- }, D = (M) => {
4740
+ }, R = (M) => {
4744
4741
  K.Blur(M), M.target.textContent === "" && (M.target.textContent = 0), p == null || p({ value: b(M.target.textContent) * x, name: n }), t == null || t({
4745
4742
  value: b(M.target.textContent) * x,
4746
4743
  name: n
@@ -4749,7 +4746,7 @@ function Wt({
4749
4746
  M.target.textContent = b(M.target.textContent);
4750
4747
  }, E = (M) => {
4751
4748
  M.key === "Enter" && M.preventDefault();
4752
- }, R = (M) => {
4749
+ }, D = (M) => {
4753
4750
  M.preventDefault(), navigator.clipboard.readText().then((L) => {
4754
4751
  L = L.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, L);
4755
4752
  }).catch((L) => {
@@ -4763,8 +4760,8 @@ function Wt({
4763
4760
  "dd",
4764
4761
  {
4765
4762
  onInput: $,
4766
- onPaste: R,
4767
- onBlur: D,
4763
+ onPaste: D,
4764
+ onBlur: R,
4768
4765
  onKeyDown: E,
4769
4766
  onFocus: N,
4770
4767
  contentEditable: l && c ? K.ContentEditable : "false",
@@ -4921,7 +4918,7 @@ function da({
4921
4918
  b = c ? !0 : b;
4922
4919
  let $ = (L) => {
4923
4920
  n == null || n({ value: L.target.innerText, name: r });
4924
- }, D = (L) => {
4921
+ }, R = (L) => {
4925
4922
  f && L.target.textContent.trim().length >= f && L.key !== "Backspace" && L.preventDefault(), L.key === "Enter" && L.preventDefault();
4926
4923
  }, N = (L) => {
4927
4924
  v && (L.preventDefault(), navigator.clipboard.writeText(L.target.textContent.trim()).then(
@@ -4943,14 +4940,14 @@ function da({
4943
4940
  };
4944
4941
  if (l) return /* @__PURE__ */ a.jsx(a.Fragment, {});
4945
4942
  if (!(c && _) && !x) return "";
4946
- const R = {};
4947
- R.field = "notes", g && (R.className = g);
4943
+ const D = {};
4944
+ D.field = "notes", g && (D.className = g);
4948
4945
  const B = {};
4949
4946
  s && (B.placeholder = s), c && _ && (B.edit = ""), b && (B.open = "");
4950
4947
  const M = (L) => {
4951
4948
  K.Blur(L), p == null || p({ value: L.target.textContent.trim(), name: r });
4952
4949
  };
4953
- return /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
4950
+ return /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
4954
4951
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
4955
4952
  /* @__PURE__ */ a.jsx(
4956
4953
  "dd",
@@ -4958,7 +4955,7 @@ function da({
4958
4955
  onPaste: E,
4959
4956
  onInput: $,
4960
4957
  onBlur: M,
4961
- onKeyDown: D,
4958
+ onKeyDown: R,
4962
4959
  onContextMenu: N,
4963
4960
  contentEditable: c && _ ? K.ContentEditable : "false",
4964
4961
  suppressContentEditableWarning: !0,
@@ -4998,7 +4995,7 @@ function Kt({
4998
4995
  }
4999
4996
  }, $ = (B) => {
5000
4997
  if (B.which === 17 || B.which === 91) return v = !1;
5001
- }, D = (B) => {
4998
+ }, R = (B) => {
5002
4999
  B.preventDefault(), navigator.clipboard.readText().then((M) => {
5003
5000
  M = M.replace(/\D/g, ""), window.document.execCommand(
5004
5001
  "insertText",
@@ -5012,15 +5009,15 @@ function Kt({
5012
5009
  K.Blur(B), t == null || t({ value: B.target.textContent, name: f });
5013
5010
  }, E = {};
5014
5011
  E.field = "input", x && (E.className = x);
5015
- let R = {};
5016
- return s && n ? (R.edit = "true", R.contentEditable = K.ContentEditable) : R.contentEditable = "false", R.inputMode = "decimal", u && (R.placeholder = u), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
5012
+ let D = {};
5013
+ return s && n ? (D.edit = "true", D.contentEditable = K.ContentEditable) : D.contentEditable = "false", D.inputMode = "decimal", u && (D.placeholder = u), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
5017
5014
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
5018
5015
  k,
5019
5016
  /* @__PURE__ */ a.jsx(
5020
5017
  "dd",
5021
5018
  {
5022
- ...R,
5023
- onPaste: D,
5019
+ ...D,
5020
+ onPaste: R,
5024
5021
  onInput: b,
5025
5022
  onBlur: N,
5026
5023
  onKeyDown: T,
@@ -5060,21 +5057,21 @@ function _a({
5060
5057
  }, b = (E) => {
5061
5058
  E.key === "Enter" && E.preventDefault();
5062
5059
  }, T = (E) => {
5063
- E.preventDefault(), navigator.clipboard.readText().then((R) => {
5060
+ E.preventDefault(), navigator.clipboard.readText().then((D) => {
5064
5061
  window.document.execCommand(
5065
5062
  "insertText",
5066
5063
  !1,
5067
- R.replace(/(\r\n|\n|\r)/gm, " ")
5064
+ D.replace(/(\r\n|\n|\r)/gm, " ")
5068
5065
  );
5069
- }).catch((R) => {
5066
+ }).catch((D) => {
5070
5067
  });
5071
5068
  }, $ = (E) => {
5072
5069
  K.Blur(E), n == null || n({ value: E.target.textContent.trim(), name: r });
5073
5070
  };
5074
- const D = {};
5075
- D.field = "password", p && (D.show = ""), i && (D.className = i);
5071
+ const R = {};
5072
+ R.field = "password", p && (R.show = ""), i && (R.className = i);
5076
5073
  const N = {};
5077
- return s && (N.placeholder = s), x ? "" : /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
5074
+ return s && (N.placeholder = s), x ? "" : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
5078
5075
  o ? /* @__PURE__ */ a.jsx("dt", { children: o }) : "",
5079
5076
  /* @__PURE__ */ a.jsx(
5080
5077
  "dd",
@@ -6518,7 +6515,7 @@ function Ht({
6518
6515
  return ve.length >= z.length && (z = ve), { q: p.replace(/[_\d]/g, function() {
6519
6516
  return z.charAt(y++) || "_";
6520
6517
  }), i: y, v: z, f: P };
6521
- }, D = (j) => {
6518
+ }, R = (j) => {
6522
6519
  j.preventDefault(), navigator.clipboard.writeText(j.target.textContent.replace(/\D/g, "")).then(
6523
6520
  function() {
6524
6521
  je.Copy("Данные в буфер обмене");
@@ -6529,7 +6526,7 @@ function Ht({
6529
6526
  }, N = $(e), E = (j) => {
6530
6527
  let y = $(j.target.textContent);
6531
6528
  j.target.textContent = y.q, y.i = y.q.lastIndexOf(y.v.substr(-1)), y.i < y.q.length && y.q !== p ? y.i++ : y.i = y.q.indexOf("_"), b(y.i, j.target), t && t({ value: y.q.replace(/\D/g, ""), name: r });
6532
- }, R = (j) => {
6529
+ }, D = (j) => {
6533
6530
  j.key === "Enter" && j.preventDefault();
6534
6531
  };
6535
6532
  const B = (j) => {
@@ -6548,8 +6545,8 @@ function Ht({
6548
6545
  ...L,
6549
6546
  onPaste: T,
6550
6547
  onInput: E,
6551
- onKeyDown: R,
6552
- onContextMenu: D,
6548
+ onKeyDown: D,
6549
+ onContextMenu: R,
6553
6550
  onBlur: B,
6554
6551
  suppressContentEditableWarning: !0,
6555
6552
  children: N.q
@@ -6615,7 +6612,7 @@ function Yt({
6615
6612
  h.useEffect(() => {
6616
6613
  v(i), T(l);
6617
6614
  }, [i, l]), s = !!(s && (i === "" || ((B = b[i]) == null ? void 0 : B.n) === void 0)) && !(n && r);
6618
- let D = (L) => {
6615
+ let R = (L) => {
6619
6616
  v(L), o && o({ value: L, name: u, reload: k });
6620
6617
  }, N = (L) => {
6621
6618
  if (Object.keys(l).length === 0 || !(n && r)) return;
@@ -6626,7 +6623,7 @@ function Yt({
6626
6623
  Ac,
6627
6624
  {
6628
6625
  parent: j,
6629
- onValue: D,
6626
+ onValue: R,
6630
6627
  view: f,
6631
6628
  className: _,
6632
6629
  options: b,
@@ -6635,10 +6632,10 @@ function Yt({
6635
6632
  (/* @__PURE__ */ new Date()).getTime()
6636
6633
  )
6637
6634
  );
6638
- }, E = { field: "select", className: _ }, R = { onClick: N };
6639
- return c && (R.placeholder = c), x && (R.after = x), n && r && (R.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
6635
+ }, E = { field: "select", className: _ }, D = { onClick: N };
6636
+ return c && (D.placeholder = c), x && (D.after = x), n && r && (D.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
6640
6637
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
6641
- /* @__PURE__ */ a.jsx("dd", { ...R, ref: p, children: (M = b[g]) == null ? void 0 : M.n }),
6638
+ /* @__PURE__ */ a.jsx("dd", { ...D, ref: p, children: (M = b[g]) == null ? void 0 : M.n }),
6642
6639
  Object.keys(b).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
6643
6640
  "svg",
6644
6641
  {
@@ -6976,12 +6973,12 @@ function fa({
6976
6973
  }) {
6977
6974
  let p = !!(o && (e === "" || e === void 0));
6978
6975
  if (!(l && c) && !u || !(l && c) && p) return "";
6979
- let g = (D) => {
6980
- t && t({ value: D.target.innerText, name: n });
6981
- }, v = (D) => {
6982
- m && m({ value: D.target.innerText, name: n });
6983
- }, b = (D) => {
6984
- D.preventDefault(), navigator.clipboard.readText().then((N) => {
6976
+ let g = (R) => {
6977
+ t && t({ value: R.target.innerText, name: n });
6978
+ }, v = (R) => {
6979
+ m && m({ value: R.target.innerText, name: n });
6980
+ }, b = (R) => {
6981
+ R.preventDefault(), navigator.clipboard.readText().then((N) => {
6985
6982
  window.document.execCommand("insertText", !1, N);
6986
6983
  }).catch((N) => {
6987
6984
  });
@@ -7030,7 +7027,7 @@ function ma({
7030
7027
  }, T = (E) => {
7031
7028
  m && m({ value: E, name: n });
7032
7029
  }, $ = (E) => {
7033
- const R = E.target.getBoundingClientRect(), B = R.left, M = R.top;
7030
+ const D = E.target.getBoundingClientRect(), B = D.left, M = D.top;
7034
7031
  ge.setListener(
7035
7032
  "form",
7036
7033
  /* @__PURE__ */ a.jsx(
@@ -7045,8 +7042,8 @@ function ma({
7045
7042
  )
7046
7043
  );
7047
7044
  };
7048
- const D = {};
7049
- D.field = "input", k && (D.className = k);
7045
+ const R = {};
7046
+ R.field = "input", k && (R.className = k);
7050
7047
  const N = {};
7051
7048
  return r && (N.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: x === "icon" ? /* @__PURE__ */ a.jsx(
7052
7049
  "i",
@@ -7054,7 +7051,7 @@ function ma({
7054
7051
  "data-icon": "F043",
7055
7052
  onClick: $
7056
7053
  }
7057
- ) : /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
7054
+ ) : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
7058
7055
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
7059
7056
  /* @__PURE__ */ a.jsx("dd", { onClick: $, ref: v, ...N, children: g }),
7060
7057
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
@@ -7080,16 +7077,16 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7080
7077
  _ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
7081
7078
  }, p = (N) => {
7082
7079
  if (_) {
7083
- let R = Math.atan2(
7080
+ let D = Math.atan2(
7084
7081
  N.pageX - (l.x + 78),
7085
7082
  N.pageY - (l.y + 78)
7086
7083
  ) * (180 / Math.PI) * -1 + 180;
7087
- f[o].current.style.transform = "rotate(" + R + "deg)", o === "hour" ? (i = {
7084
+ f[o].current.style.transform = "rotate(" + D + "deg)", o === "hour" ? (i = {
7088
7085
  ...i,
7089
- h: H.Number(2, parseInt(String(R / 15), 10))
7086
+ h: H.Number(2, parseInt(String(D / 15), 10))
7090
7087
  }, f.hourText.current.textContent = i.h) : (i = {
7091
7088
  ...i,
7092
- m: H.Number(2, parseInt(String(R / 6), 10))
7089
+ m: H.Number(2, parseInt(String(D / 6), 10))
7093
7090
  }, f.timeText.current.textContent = i.m), n(i.h + ":" + i.m);
7094
7091
  }
7095
7092
  }, g = (N) => {
@@ -7099,16 +7096,16 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7099
7096
  let E = parseInt(String(u / 50));
7100
7097
  if (x !== E) {
7101
7098
  x = E;
7102
- let R = parseInt(i.h, 10) + 1;
7103
- R = R > 23 ? 0 : R, i = { ...i, h: H.Number(2, R) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7099
+ let D = parseInt(i.h, 10) + 1;
7100
+ D = D > 23 ? 0 : D, i = { ...i, h: H.Number(2, D) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7104
7101
  }
7105
7102
  } else {
7106
7103
  u -= N.deltaY;
7107
7104
  let E = parseInt(String(u / 50));
7108
7105
  if (x !== E) {
7109
7106
  x = E;
7110
- let R = parseInt(i.h, 10) - 1;
7111
- R = R < 0 ? 23 : R, i = { ...i, h: H.Number(2, R) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7107
+ let D = parseInt(i.h, 10) - 1;
7108
+ D = D < 0 ? 23 : D, i = { ...i, h: H.Number(2, D) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7112
7109
  }
7113
7110
  }
7114
7111
  else if (N.deltaY > 0) {
@@ -7116,22 +7113,22 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7116
7113
  let E = parseInt(String(u / 50));
7117
7114
  if (x !== E) {
7118
7115
  x = E;
7119
- let R = parseInt(i.m, 10) + 1;
7120
- R = R > 59 ? 0 : R, i = { ...i, m: H.Number(2, R) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7116
+ let D = parseInt(i.m, 10) + 1;
7117
+ D = D > 59 ? 0 : D, i = { ...i, m: H.Number(2, D) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7121
7118
  }
7122
7119
  } else {
7123
7120
  u -= N.deltaY;
7124
7121
  let E = parseInt(String(u / 50));
7125
7122
  if (x !== E) {
7126
7123
  x = E;
7127
- let R = parseInt(i.m, 10) - 1;
7128
- R = R < 0 ? 59 : R, i = { ...i, m: H.Number(2, R) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7124
+ let D = parseInt(i.m, 10) - 1;
7125
+ D = D < 0 ? 59 : D, i = { ...i, m: H.Number(2, D) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7129
7126
  }
7130
7127
  }
7131
7128
  n(i.h + ":" + i.m);
7132
7129
  }, [v, b] = h.useState(!0), T = () => {
7133
7130
  b(!1), t(i.h + ":" + i.m);
7134
- }, $ = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, D = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7131
+ }, $ = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, R = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7135
7132
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: v ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7136
7133
  /* @__PURE__ */ a.jsx(
7137
7134
  "div",
@@ -7150,7 +7147,7 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7150
7147
  onMouseMove: p,
7151
7148
  onWheel: g,
7152
7149
  ref: f.body,
7153
- style: { top: $ + "px", left: D + "px" },
7150
+ style: { top: $ + "px", left: R + "px" },
7154
7151
  children: [
7155
7152
  /* @__PURE__ */ a.jsx("div", { className: "b" }),
7156
7153
  /* @__PURE__ */ a.jsxs("div", { className: "s", children: [
@@ -7285,7 +7282,7 @@ function pa({
7285
7282
  v([...g, ""]);
7286
7283
  }, T = (L) => {
7287
7284
  g.splice(L, 1), g.length === 0 && g.push(""), v([...g]), m !== void 0 && m({ value: g.join(p), name: n });
7288
- }, $ = !!(o && (e === "" || e === void 0)), D = (L) => {
7285
+ }, $ = !!(o && (e === "" || e === void 0)), R = (L) => {
7289
7286
  };
7290
7287
  if (!(l && c) && !u || !(l && c) && $) return "";
7291
7288
  const N = {};
@@ -7293,7 +7290,7 @@ function pa({
7293
7290
  const E = (L, j) => {
7294
7291
  K.Blur(L), g[j] = L.target.textContent, m && m({ value: g.join(p), name: n });
7295
7292
  };
7296
- let R = (L, j) => {
7293
+ let D = (L, j) => {
7297
7294
  g[j] = L.target.textContent, t && t({ value: g.join(p), name: n });
7298
7295
  }, B = (L) => {
7299
7296
  L.key === "Enter" && L.preventDefault();
@@ -7323,11 +7320,11 @@ function pa({
7323
7320
  /* @__PURE__ */ a.jsx(
7324
7321
  "span",
7325
7322
  {
7326
- onInput: (y) => R(y, j),
7323
+ onInput: (y) => D(y, j),
7327
7324
  edit: "true",
7328
7325
  name: n,
7329
7326
  placeholder: r,
7330
- onPaste: D,
7327
+ onPaste: R,
7331
7328
  contentEditable: l && c ? K.ContentEditable : "false",
7332
7329
  onKeyDown: B,
7333
7330
  onBlur: (y) => E(y, j),
@@ -7382,7 +7379,7 @@ function xa({
7382
7379
  options: k,
7383
7380
  className: p
7384
7381
  }) {
7385
- const [g, v] = h.useState(Wc(e)), b = (D) => {
7382
+ const [g, v] = h.useState(Wc(e)), b = (R) => {
7386
7383
  if (!(l && _) || !f) return;
7387
7384
  let N = f.split(".");
7388
7385
  _t.Open(N[0], N[1], {
@@ -7425,9 +7422,9 @@ function xa({
7425
7422
  onClick: open,
7426
7423
  edit: (l && _) + "",
7427
7424
  "data-after": u,
7428
- children: Object.keys(g).map((D) => {
7425
+ children: Object.keys(g).map((R) => {
7429
7426
  var N;
7430
- return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (N = k[D]) == null ? void 0 : N.label }, D);
7427
+ return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (N = k[R]) == null ? void 0 : N.label }, R);
7431
7428
  })
7432
7429
  }
7433
7430
  ),
@@ -7456,10 +7453,10 @@ function Sn({
7456
7453
  const v = h.useId();
7457
7454
  let b = !!(l && (e === "" || e === void 0)), [T, $] = h.useState(i);
7458
7455
  if (!(c && _) && !x || !(c && _) && b) return "";
7459
- const D = async (E) => {
7456
+ const R = async (E) => {
7460
7457
  if (f) {
7461
- let R = Hc(E, f, e || "default");
7462
- t == null || t({ name: n, value: R }), $(URL.createObjectURL(R));
7458
+ let D = Hc(E, f, e || "default");
7459
+ t == null || t({ name: n, value: D }), $(URL.createObjectURL(D));
7463
7460
  } else
7464
7461
  t == null || t({ name: n, value: E }), $(URL.createObjectURL(E));
7465
7462
  }, N = {};
@@ -7468,7 +7465,7 @@ function Sn({
7468
7465
  s,
7469
7466
  " "
7470
7467
  ] }),
7471
- /* @__PURE__ */ a.jsxs(Kc, { onFiles: D, children: [
7468
+ /* @__PURE__ */ a.jsxs(Kc, { onFiles: R, children: [
7472
7469
  /* @__PURE__ */ a.jsx(
7473
7470
  "input",
7474
7471
  {
@@ -7476,7 +7473,7 @@ function Sn({
7476
7473
  type: "file",
7477
7474
  multiple: !0,
7478
7475
  onChange: (E) => {
7479
- E.target.files[0] && D(E.target.files[0]);
7476
+ E.target.files[0] && R(E.target.files[0]);
7480
7477
  }
7481
7478
  }
7482
7479
  ),
@@ -7629,7 +7626,7 @@ function Qc({
7629
7626
  window.document.execCommand("insertText", !1, P);
7630
7627
  }).catch((P) => {
7631
7628
  });
7632
- }, D = (y) => {
7629
+ }, R = (y) => {
7633
7630
  let P = 0, z = "", ae = y.replace(/\D/g, "");
7634
7631
  ae === "" && (v = !0);
7635
7632
  let oe = ae.split(""), ve = "";
@@ -7648,8 +7645,8 @@ function Qc({
7648
7645
  function(P) {
7649
7646
  }
7650
7647
  );
7651
- }, E = D(e), R = (y) => {
7652
- let P = D(y.target.textContent);
7648
+ }, E = R(e), D = (y) => {
7649
+ let P = R(y.target.textContent);
7653
7650
  y.target.textContent = P.q, P.i = P.q.lastIndexOf(P.v.substr(-1)), P.i < P.q.length && P.q !== g ? P.i++ : P.i = P.q.indexOf("_"), T(P.i, y.target), t && t({ value: P.q.replace(/\D/g, ""), name: r });
7654
7651
  }, B = (y) => {
7655
7652
  y.key === "Enter" && y.preventDefault();
@@ -7669,7 +7666,7 @@ function Qc({
7669
7666
  {
7670
7667
  ...j,
7671
7668
  onPaste: $,
7672
- onInput: R,
7669
+ onInput: D,
7673
7670
  onKeyDown: B,
7674
7671
  onContextMenu: N,
7675
7672
  onBlur: M,