@dxtmisha/functional-basic 0.5.2 → 0.6.0

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.
@@ -0,0 +1,8 @@
1
+ import { GeoDate } from '../types/geoTypes';
2
+ /**
3
+ * Returns the current date in the specified format.
4
+ *
5
+ * Возвращает текущую дату в указанном формате.
6
+ * @param format type of date format for output/ тип формата даты вывода
7
+ */
8
+ export declare function getCurrentDate(format?: GeoDate): string;
package/dist/library.d.ts CHANGED
@@ -45,6 +45,7 @@ export * from './functions/frame';
45
45
  export * from './functions/getAttributes';
46
46
  export * from './functions/getClipboardData';
47
47
  export * from './functions/getColumn';
48
+ export * from './functions/getCurrentDate';
48
49
  export * from './functions/getElement';
49
50
  export * from './functions/getElementId';
50
51
  export * from './functions/getElementImage';
package/dist/library.js CHANGED
@@ -17,7 +17,7 @@ function g(i, t) {
17
17
  }
18
18
  return [];
19
19
  }
20
- function kt(i, t = "=", e = "&") {
20
+ function At(i, t = "=", e = "&") {
21
21
  return g(
22
22
  i,
23
23
  (s, n) => `${n}${t}${encodeURIComponent(String(s).trim())}`
@@ -26,7 +26,7 @@ function kt(i, t = "=", e = "&") {
26
26
  function q(i) {
27
27
  return i == null;
28
28
  }
29
- function D(i, t) {
29
+ function S(i, t) {
30
30
  if (i) {
31
31
  if (t && i === "0")
32
32
  return !0;
@@ -63,7 +63,7 @@ function j(i) {
63
63
  function l() {
64
64
  return typeof window != "undefined" && !!window.document;
65
65
  }
66
- function ct(i) {
66
+ function ut(i) {
67
67
  switch (typeof i) {
68
68
  case "number":
69
69
  return !0;
@@ -82,19 +82,19 @@ function C(i) {
82
82
  return t.match(/( [0-9]{3}[ ,.]|[0-9] [0-9])/ig) ? t = t.replace(/ /ig, "").replace(/,/ig, ".") : t.match(/,[0-9]{3}[,.]/ig) ? t = t.replace(/,/ig, "") : t.match(/[.][0-9]{3}[,.]/ig) ? t = t.replace(/[.]/ig, "").replace(/,/ig, ".") : t = t.replace(/,/ig, "."), parseFloat(t);
83
83
  }
84
84
  function st(i, t) {
85
- return q(i) ? !1 : Array.isArray(t) ? t.includes(i) : ct(i) && ct(t) ? C(i) === C(t) : i === t;
85
+ return q(i) ? !1 : Array.isArray(t) ? t.includes(i) : ut(i) && ut(t) ? C(i) === C(t) : i === t;
86
86
  }
87
- function At(i) {
87
+ function Nt(i) {
88
88
  return i instanceof Function || typeof i == "function";
89
89
  }
90
90
  function I(i) {
91
- return At(i) ? i() : i;
91
+ return Nt(i) ? i() : i;
92
92
  }
93
93
  function rt() {
94
94
  return location.href.startsWith("data:");
95
95
  }
96
96
  const G = {};
97
- let ut = "ui-storage";
97
+ let ht = "ui-storage";
98
98
  class T {
99
99
  /**
100
100
  * Constructor
@@ -117,7 +117,7 @@ class T {
117
117
  * @param newPrefix new prefix/ новый префикс
118
118
  */
119
119
  static setPrefix(t) {
120
- ut = t;
120
+ ht = t;
121
121
  }
122
122
  /**
123
123
  * Getting data from local storage.
@@ -189,7 +189,7 @@ class T {
189
189
  * Получение имени ключа в хранилище.
190
190
  */
191
191
  getIndex() {
192
- return `${ut}__${this.name}`;
192
+ return `${ht}__${this.name}`;
193
193
  }
194
194
  /**
195
195
  * Getting data from storage.
@@ -440,16 +440,16 @@ const jt = "geo-code", p = class p {
440
440
  };
441
441
  c(p, "storage", new T(jt)), c(p, "location"), c(p, "item"), c(p, "language"), c(p, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), p.location = p.findLocation(), p.language = p.findLanguage(p.location), p.item = p.getByCode(p.location);
442
442
  let w = p;
443
- function Nt(i) {
443
+ function It(i) {
444
444
  return l() && i === window;
445
445
  }
446
446
  function A(i) {
447
447
  var t;
448
448
  if (l())
449
- return Nt(i) ? document.body : R(i) ? (t = document.querySelector(i)) != null ? t : void 0 : i;
449
+ return It(i) ? document.body : R(i) ? (t = document.querySelector(i)) != null ? t : void 0 : i;
450
450
  }
451
- function ht(i) {
452
- return Nt(i) ? i : A(i);
451
+ function lt(i) {
452
+ return It(i) ? i : A(i);
453
453
  }
454
454
  function Ht(i) {
455
455
  var t;
@@ -458,7 +458,7 @@ function Ht(i) {
458
458
  function z(i) {
459
459
  return Array.isArray(i) ? i : [i];
460
460
  }
461
- class lt {
461
+ class dt {
462
462
  /**
463
463
  * Classes Constructor
464
464
  * @param elementSelector element/ элемент
@@ -509,7 +509,7 @@ class lt {
509
509
  */
510
510
  c(this, "activity", !1);
511
511
  c(this, "activityItems", []);
512
- this.listener = s, this.options = n, this.detail = o, this.element = ht(t), this.elementControl = A(t), this.type = z(e);
512
+ this.listener = s, this.options = n, this.detail = o, this.element = lt(t), this.elementControl = A(t), this.type = z(e);
513
513
  }
514
514
  /**
515
515
  * Checks whether event listening is currently enabled.
@@ -529,7 +529,7 @@ class lt {
529
529
  * @param elementSelector element/ элемент
530
530
  */
531
531
  setElement(t) {
532
- const e = ht(t);
532
+ const e = lt(t);
533
533
  return this.elementControlEdit || (this.elementControl = A(t)), this.element = e, this.reset(), this;
534
534
  }
535
535
  /**
@@ -694,7 +694,7 @@ class lt {
694
694
  return !1;
695
695
  }
696
696
  }
697
- const dt = "ui-loading", V = class V {
697
+ const gt = "ui-loading", V = class V {
698
698
  /**
699
699
  * Check if the loader is active now.
700
700
  *
@@ -729,7 +729,7 @@ const dt = "ui-loading", V = class V {
729
729
  * @param element element/ элемент
730
730
  */
731
731
  static registrationEvent(t, e) {
732
- l() && new lt(window, dt, t).setElementControl(e).start();
732
+ l() && new dt(window, gt, t).setElementControl(e).start();
733
733
  }
734
734
  /**
735
735
  * Calls the event listener.
@@ -741,7 +741,7 @@ const dt = "ui-loading", V = class V {
741
741
  (t = this.event) == null || t.dispatch({ loading: this.is() });
742
742
  }
743
743
  };
744
- c(V, "value", 0), c(V, "event"), l() && (V.event = new lt(window, dt));
744
+ c(V, "value", 0), c(V, "event"), l() && (V.event = new dt(window, gt));
745
745
  let x = V;
746
746
  class zt {
747
747
  constructor() {
@@ -761,7 +761,7 @@ class zt {
761
761
  this.headers,
762
762
  t
763
763
  );
764
- return D(e) && (s["Content-Type"] = e), s;
764
+ return S(e) && (s["Content-Type"] = e), s;
765
765
  }
766
766
  }
767
767
  /**
@@ -773,7 +773,7 @@ class zt {
773
773
  return k(t) && (this.headers = t), this;
774
774
  }
775
775
  }
776
- var S = /* @__PURE__ */ ((i) => (i.get = "GET", i.post = "POST", i.put = "PUT", i.delete = "DELETE", i))(S || {});
776
+ var D = /* @__PURE__ */ ((i) => (i.get = "GET", i.post = "POST", i.put = "PUT", i.delete = "DELETE", i))(D || {});
777
777
  class Zt {
778
778
  constructor() {
779
779
  /** Default request data/ Данные запроса по умолчанию */
@@ -955,7 +955,7 @@ async function Kt(i) {
955
955
  function Y(i, t) {
956
956
  return Math.floor(Math.random() * (t - i + 1) + i);
957
957
  }
958
- const gt = "d-response-loading";
958
+ const ft = "d-response-loading";
959
959
  class Yt {
960
960
  /**
961
961
  * Constructor
@@ -1017,8 +1017,8 @@ class Yt {
1017
1017
  async emulator(t) {
1018
1018
  const {
1019
1019
  path: e = "",
1020
- method: s = S.get,
1021
- global: n = s === S.get,
1020
+ method: s = D.get,
1021
+ global: n = s === D.get,
1022
1022
  devMode: o = !1
1023
1023
  } = t;
1024
1024
  if (n || this.isDevMode(o)) {
@@ -1076,7 +1076,7 @@ class Yt {
1076
1076
  */
1077
1077
  isResponse(t, e) {
1078
1078
  const s = this.requestDefault.request(t == null ? void 0 : t.request);
1079
- return e === s || s === "*any" || D(e) && D(s) && k(e) && k(s) && !(e instanceof FormData) && !(s instanceof FormData) && Object.values(e).length === Object.values(s).length && Object.entries(s).reduce(
1079
+ return e === s || s === "*any" || S(e) && S(s) && k(e) && k(s) && !(e instanceof FormData) && !(s instanceof FormData) && Object.values(e).length === Object.values(s).length && Object.entries(s).reduce(
1080
1080
  (n, [o, a]) => n && (a === (e == null ? void 0 : e[o]) || a === "*any"),
1081
1081
  !0
1082
1082
  );
@@ -1091,7 +1091,7 @@ class Yt {
1091
1091
  fetch(t, e) {
1092
1092
  return this.startResponseLoading(), new Promise((s) => {
1093
1093
  Kt(
1094
- At(t.response) ? t.response(e) : t.response
1094
+ Nt(t.response) ? t.response(e) : t.response
1095
1095
  ).then((n) => {
1096
1096
  t != null && t.lag ? (x.show(), setTimeout(() => {
1097
1097
  this.stopResponseLoading(), s(n), x.hide();
@@ -1105,7 +1105,7 @@ class Yt {
1105
1105
  * Включить загрузку для эмуляции запроса.
1106
1106
  */
1107
1107
  startResponseLoading() {
1108
- this.loading && clearTimeout(this.loading), l() && document.body.classList.add(gt);
1108
+ this.loading && clearTimeout(this.loading), l() && document.body.classList.add(ft);
1109
1109
  }
1110
1110
  /**
1111
1111
  * Disable loading for request emulation.
@@ -1114,7 +1114,7 @@ class Yt {
1114
1114
  */
1115
1115
  stopResponseLoading() {
1116
1116
  this.loading = setTimeout(() => {
1117
- this.loading = void 0, l() && document.body.classList.remove(gt);
1117
+ this.loading = void 0, l() && document.body.classList.remove(ft);
1118
1118
  }, 1200);
1119
1119
  }
1120
1120
  }
@@ -1231,10 +1231,10 @@ const b = class b {
1231
1231
  * @param request this request/ данный запрос
1232
1232
  * @param method method for request/ метод запрос
1233
1233
  */
1234
- static getBody(t = {}, e = S.get) {
1234
+ static getBody(t = {}, e = D.get) {
1235
1235
  if (t instanceof FormData)
1236
1236
  return t;
1237
- if (e !== S.get && D(t))
1237
+ if (e !== D.get && S(t))
1238
1238
  return R(t) ? t : JSON.stringify(t);
1239
1239
  }
1240
1240
  /**
@@ -1245,10 +1245,10 @@ const b = class b {
1245
1245
  * @param path path to request/ путь к запрос
1246
1246
  * @param method method for request/ метод запрос
1247
1247
  */
1248
- static getBodyForGet(t, e = "", s = S.get) {
1249
- if (s === S.get) {
1250
- const n = e.match(/\?/) ? "&" : "?", o = typeof t == "object" ? kt(t) : t;
1251
- if (D(o))
1248
+ static getBodyForGet(t, e = "", s = D.get) {
1249
+ if (s === D.get) {
1250
+ const n = e.match(/\?/) ? "&" : "?", o = typeof t == "object" ? At(t) : t;
1251
+ if (S(o))
1252
1252
  return `${n}${o}`;
1253
1253
  }
1254
1254
  return "";
@@ -1315,7 +1315,7 @@ const b = class b {
1315
1315
  */
1316
1316
  static get(t) {
1317
1317
  return this.request(L(t, {
1318
- method: S.get
1318
+ method: D.get
1319
1319
  }));
1320
1320
  }
1321
1321
  /**
@@ -1326,7 +1326,7 @@ const b = class b {
1326
1326
  */
1327
1327
  static post(t) {
1328
1328
  return this.request(L(t, {
1329
- method: S.post
1329
+ method: D.post
1330
1330
  }));
1331
1331
  }
1332
1332
  /**
@@ -1337,7 +1337,7 @@ const b = class b {
1337
1337
  */
1338
1338
  static put(t) {
1339
1339
  return this.request(L(t, {
1340
- method: S.put
1340
+ method: D.put
1341
1341
  }));
1342
1342
  }
1343
1343
  /**
@@ -1348,7 +1348,7 @@ const b = class b {
1348
1348
  */
1349
1349
  static delete(t) {
1350
1350
  return this.request(L(t, {
1351
- method: S.delete
1351
+ method: D.delete
1352
1352
  }));
1353
1353
  }
1354
1354
  /**
@@ -1410,7 +1410,7 @@ const b = class b {
1410
1410
  api: s = !0,
1411
1411
  path: n = "",
1412
1412
  pathFull: o = void 0,
1413
- method: a = S.get,
1413
+ method: a = D.get,
1414
1414
  headers: u = {},
1415
1415
  type: h = "application/json;charset=UTF-8",
1416
1416
  init: f = {}
@@ -1600,8 +1600,8 @@ const O = class O {
1600
1600
  }
1601
1601
  };
1602
1602
  c(O, "cache"), O.cache = new Mt();
1603
- let ft = O;
1604
- function It(i, t = !1) {
1603
+ let mt = O;
1604
+ function Et(i, t = !1) {
1605
1605
  if (typeof i == "string") {
1606
1606
  const e = i.trim();
1607
1607
  switch (e) {
@@ -1633,7 +1633,7 @@ function It(i, t = !1) {
1633
1633
  return i;
1634
1634
  }
1635
1635
  const Xt = "cookie-block";
1636
- class Et {
1636
+ class Bt {
1637
1637
  /**
1638
1638
  * Obtaining status.
1639
1639
  *
@@ -1653,8 +1653,8 @@ class Et {
1653
1653
  this.storage.set(t);
1654
1654
  }
1655
1655
  }
1656
- c(Et, "storage", new T(Xt));
1657
- const X = {}, at = class at {
1656
+ c(Bt, "storage", new T(Xt));
1657
+ const X = {}, ct = class ct {
1658
1658
  constructor(t) {
1659
1659
  c(this, "value");
1660
1660
  c(this, "options", {});
@@ -1706,7 +1706,7 @@ const X = {}, at = class at {
1706
1706
  */
1707
1707
  update() {
1708
1708
  var t, e, s, n, o;
1709
- if (l() && !rt() && !Et.get()) {
1709
+ if (l() && !rt() && !Bt.get()) {
1710
1710
  const a = String((t = this.value) != null ? t : "");
1711
1711
  document.cookie = [
1712
1712
  `${encodeURIComponent(this.name)}=${encodeURIComponent(a)}`,
@@ -1724,12 +1724,12 @@ const X = {}, at = class at {
1724
1724
  static updateData() {
1725
1725
  for (const t of document.cookie.split(";")) {
1726
1726
  const [e, s] = t.trim().split("=");
1727
- e && D(s) && (X[e] = It(s));
1727
+ e && S(s) && (X[e] = Et(s));
1728
1728
  }
1729
1729
  }
1730
1730
  };
1731
- l() && !rt() && at.updateData();
1732
- let mt = at;
1731
+ l() && !rt() && ct.updateData();
1732
+ let yt = ct;
1733
1733
  const tt = {};
1734
1734
  function B(i) {
1735
1735
  var n, o, a, u, h, f, d, E;
@@ -2255,7 +2255,7 @@ class J {
2255
2255
  }
2256
2256
  }
2257
2257
  const et = {};
2258
- class Bt {
2258
+ class ot {
2259
2259
  /**
2260
2260
  * Constructor
2261
2261
  * @param date date for processing/ дата для обработки
@@ -2479,7 +2479,7 @@ class Bt {
2479
2479
  * @param timeZone add time zone/ добавить временную зону
2480
2480
  */
2481
2481
  standard(t = !0) {
2482
- const e = new Bt(this.date, this.type, "en-GB"), s = [];
2482
+ const e = new ot(this.date, this.type, "en-GB"), s = [];
2483
2483
  let n;
2484
2484
  return e.setHour24(!0), this.type === "hour-minute" ? n = e.locale(this.type, {
2485
2485
  year: "numeric",
@@ -3271,7 +3271,7 @@ c(W, "flags", {
3271
3271
  ZM: `${r}-zm`,
3272
3272
  ZW: `${r}-zw`
3273
3273
  });
3274
- let yt = W;
3274
+ let $t = W;
3275
3275
  const U = class U {
3276
3276
  /**
3277
3277
  * Getting an object with information about the phone code and country.
@@ -3334,7 +3334,7 @@ const U = class U {
3334
3334
  * @param masks a mask to transform a phone number/ маска для преобразования номер телефон
3335
3335
  */
3336
3336
  static toMask(t, e) {
3337
- if (D(t) && Array.isArray(e) && e.length > 0) {
3337
+ if (S(t) && Array.isArray(e) && e.length > 0) {
3338
3338
  const s = this.removeZero(t), n = s.length;
3339
3339
  for (const o of e)
3340
3340
  if (this.getUnnecessaryLength(o) === n)
@@ -3452,7 +3452,7 @@ const U = class U {
3452
3452
  }
3453
3453
  };
3454
3454
  c(U, "list", []), c(U, "map", {}), U.makeList(), U.makeMap();
3455
- let $t = U, P;
3455
+ let pt = U, P;
3456
3456
  class ke {
3457
3457
  /**
3458
3458
  * Returns the value by its name.
@@ -3527,7 +3527,7 @@ const F = class F {
3527
3527
  const t = {};
3528
3528
  return location.hash.replace(
3529
3529
  /([\w-]+)[:=]([^;]+)/ig,
3530
- (...e) => (t[String(e[1])] = It(e[2]), "")
3530
+ (...e) => (t[String(e[1])] = Et(e[2]), "")
3531
3531
  ), t;
3532
3532
  }
3533
3533
  /**
@@ -3536,7 +3536,7 @@ const F = class F {
3536
3536
  * Обновление строки хэша в URL.
3537
3537
  */
3538
3538
  static update() {
3539
- this.block = !0, history.replaceState(null, "", `#${kt(this.hash, "=", ";")}`), requestAnimationFrame(() => {
3539
+ this.block = !0, history.replaceState(null, "", `#${At(this.hash, "=", ";")}`), requestAnimationFrame(() => {
3540
3540
  this.block = !1;
3541
3541
  });
3542
3542
  }
@@ -3554,8 +3554,8 @@ const F = class F {
3554
3554
  }
3555
3555
  };
3556
3556
  c(F, "hash", {}), c(F, "watch", {}), c(F, "block", !1), l() && (F.reload(), addEventListener("hashchange", () => F.reload()));
3557
- let pt = F;
3558
- const it = "__UI_ICON", wt = 320, bt = "--LOAD--", K = class K {
3557
+ let wt = F;
3558
+ const it = "__UI_ICON", bt = 320, vt = "--LOAD--", K = class K {
3559
3559
  /**
3560
3560
  * Checks if the given icon is in the list of connected icons.
3561
3561
  *
@@ -3578,7 +3578,7 @@ const it = "__UI_ICON", wt = 320, bt = "--LOAD--", K = class K {
3578
3578
  static async get(t, e = "", s = 1e3 * 60 * 3) {
3579
3579
  var o, a, u, h;
3580
3580
  const n = (h = (u = (o = this.icons) == null ? void 0 : o[this.getName(t)]) != null ? u : (a = this.icons) == null ? void 0 : a[t]) != null ? h : `${t.replace(/^@/, e != null ? e : this.url)}.svg`;
3581
- return typeof n == "string" ? n === bt && s > 0 ? (await this.wait(), this.get(t, e, s - wt)) : n : await n;
3581
+ return typeof n == "string" ? n === vt && s > 0 ? (await this.wait(), this.get(t, e, s - bt)) : n : await n;
3582
3582
  }
3583
3583
  /**
3584
3584
  * Returns a list of names of all registered icons.
@@ -3613,7 +3613,7 @@ const it = "__UI_ICON", wt = 320, bt = "--LOAD--", K = class K {
3613
3613
  * @param index icon name/ название иконки
3614
3614
  */
3615
3615
  static addLoad(t) {
3616
- this.icons[this.getName(t)] = bt;
3616
+ this.icons[this.getName(t)] = vt;
3617
3617
  }
3618
3618
  /**
3619
3619
  * Adding custom global icons.
@@ -3658,11 +3658,11 @@ const it = "__UI_ICON", wt = 320, bt = "--LOAD--", K = class K {
3658
3658
  * Задержка выполнения скрипта.
3659
3659
  */
3660
3660
  static wait() {
3661
- return new Promise((t) => setTimeout(() => t(), wt));
3661
+ return new Promise((t) => setTimeout(() => t(), bt));
3662
3662
  }
3663
3663
  };
3664
3664
  c(K, "icons", {}), c(K, "url", "/icons/"), l() && (it in window || (window[it] = {}), K.icons = window[it]);
3665
- let vt = K;
3665
+ let Dt = K;
3666
3666
  function Ot(i, t, e) {
3667
3667
  var s, n;
3668
3668
  return (n = (s = A(i)) == null ? void 0 : s[t]) != null ? n : e;
@@ -3693,7 +3693,7 @@ function _(i, t = "div", e, s) {
3693
3693
  function Gt(i) {
3694
3694
  return i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").trim();
3695
3695
  }
3696
- class ot {
3696
+ class at {
3697
3697
  /**
3698
3698
  * Creates an instance of MetaManager.
3699
3699
  *
@@ -3835,7 +3835,7 @@ class ot {
3835
3835
  }
3836
3836
  }
3837
3837
  var v = /* @__PURE__ */ ((i) => (i.description = "description", i.keywords = "keywords", i.canonical = "canonical", i.robots = "robots", i.author = "author", i))(v || {}), te = /* @__PURE__ */ ((i) => (i.indexFollow = "index, follow", i.noIndexFollow = "noindex, follow", i.indexNoFollow = "index, nofollow", i.noIndexNoFollow = "noindex, nofollow", i.noArchive = "noarchive", i.noSnippet = "nosnippet", i.noImageIndex = "noimageindex", i.images = "images", i.noTranslate = "notranslate", i.noPreview = "nopreview", i.textOnly = "textonly", i.noIndexSubpages = "noindex, noarchive", i.none = "none", i))(te || {}), y = /* @__PURE__ */ ((i) => (i.title = "og:title", i.type = "og:type", i.url = "og:url", i.image = "og:image", i.description = "og:description", i.locale = "og:locale", i.siteName = "og:site_name", i.localeAlternate = "og:locale:alternate", i.imageUrl = "og:image:url", i.imageSecureUrl = "og:image:secure_url", i.imageType = "og:image:type", i.imageWidth = "og:image:width", i.imageHeight = "og:image:height", i.imageAlt = "og:image:alt", i.video = "og:video", i.videoUrl = "og:video:url", i.videoSecureUrl = "og:video:secure_url", i.videoType = "og:video:type", i.videoWidth = "og:video:width", i.videoHeight = "og:video:height", i.audio = "og:audio", i.audioSecureUrl = "og:audio:secure_url", i.audioType = "og:audio:type", i.articlePublishedTime = "article:published_time", i.articleModifiedTime = "article:modified_time", i.articleExpirationTime = "article:expiration_time", i.articleAuthor = "article:author", i.articleSection = "article:section", i.articleTag = "article:tag", i.bookAuthor = "book:author", i.bookIsbn = "book:isbn", i.bookReleaseDate = "book:release_date", i.bookTag = "book:tag", i.musicDuration = "music:duration", i.musicAlbum = "music:album", i.musicAlbumDisc = "music:album:disc", i.musicAlbumTrack = "music:album:track", i.musicMusician = "music:musician", i.musicSong = "music:song", i.musicSongDisc = "music:song:disc", i.musicSongTrack = "music:song:track", i.musicReleaseDate = "music:release_date", i.musicCreator = "music:creator", i.videoActor = "video:actor", i.videoActorRole = "video:actor:role", i.videoDirector = "video:director", i.videoWriter = "video:writer", i.videoDuration = "video:duration", i.videoReleaseDate = "video:release_date", i.videoTag = "video:tag", i.videoSeries = "video:series", i.profileFirstName = "profile:first_name", i.profileLastName = "profile:last_name", i.profileUsername = "profile:username", i.profileGender = "profile:gender", i.productBrand = "product:brand", i.productAvailability = "product:availability", i.productCondition = "product:condition", i.productPriceAmount = "product:price:amount", i.productPriceCurrency = "product:price:currency", i.productRetailerItemId = "product:retailer_item_id", i.productCategory = "product:category", i.productEan = "product:ean", i.productIsbn = "product:isbn", i.productMfrPartNo = "product:mfr_part_no", i.productUpc = "product:upc", i.productWeightValue = "product:weight:value", i.productWeightUnits = "product:weight:units", i.productColor = "product:color", i.productMaterial = "product:material", i.productPattern = "product:pattern", i.productAgeGroup = "product:age_group", i.productGender = "product:gender", i))(y || {}), ee = /* @__PURE__ */ ((i) => (i.website = "website", i.article = "article", i.video = "video.other", i.videoTvShow = "video.tv_show", i.videoEpisode = "video.episode", i.videoMovie = "video.movie", i.musicAlbum = "music.album", i.musicPlaylist = "music.playlist", i.musicSong = "music.song", i.musicRadioStation = "music.radio_station", i.app = "app", i.product = "product", i.business = "business.business", i.place = "place", i.event = "event", i.profile = "profile", i.book = "book", i))(ee || {}), ie = /* @__PURE__ */ ((i) => (i.inStock = "in stock", i.outOfStock = "out of stock", i.preorder = "preorder", i.backorder = "backorder", i.discontinued = "discontinued", i.pending = "pending", i))(ie || {}), se = /* @__PURE__ */ ((i) => (i.new = "new", i.used = "used", i.refurbished = "refurbished", i))(se || {}), re = /* @__PURE__ */ ((i) => (i.newborn = "newborn", i.infant = "infant", i.toddler = "toddler", i.kids = "kids", i.adult = "adult", i))(re || {}), ne = /* @__PURE__ */ ((i) => (i.female = "female", i.male = "male", i.unisex = "unisex", i))(ne || {}), $ = /* @__PURE__ */ ((i) => (i.card = "twitter:card", i.site = "twitter:site", i.creator = "twitter:creator", i.url = "twitter:url", i.title = "twitter:title", i.description = "twitter:description", i.image = "twitter:image", i.imageAlt = "twitter:image:alt", i.imageSrc = "twitter:image:src", i.imageWidth = "twitter:image:width", i.imageHeight = "twitter:image:height", i.label1 = "twitter:label1", i.data1 = "twitter:data1", i.label2 = "twitter:label2", i.data2 = "twitter:data2", i.appNameIphone = "twitter:app:name:iphone", i.appIdIphone = "twitter:app:id:iphone", i.appUrlIphone = "twitter:app:url:iphone", i.appNameIpad = "twitter:app:name:ipad", i.appIdIpad = "twitter:app:id:ipad", i.appUrlIpad = "twitter:app:url:ipad", i.appNameGooglePlay = "twitter:app:name:googleplay", i.appIdGooglePlay = "twitter:app:id:googleplay", i.appUrlGooglePlay = "twitter:app:url:googleplay", i.player = "twitter:player", i.playerWidth = "twitter:player:width", i.playerHeight = "twitter:player:height", i.playerStream = "twitter:player:stream", i.playerStreamContentType = "twitter:player:stream:content_type", i))($ || {}), oe = /* @__PURE__ */ ((i) => (i.summary = "summary", i.summaryLargeImage = "summary_large_image", i.app = "app", i.player = "player", i.product = "product", i.gallery = "gallery", i.photo = "photo", i.leadGeneration = "lead_generation", i.audio = "audio", i.poll = "poll", i))(oe || {});
3838
- class ae extends ot {
3838
+ class ae extends at {
3839
3839
  constructor() {
3840
3840
  super(Object.values(y), !0);
3841
3841
  }
@@ -3959,7 +3959,7 @@ class ae extends ot {
3959
3959
  return this.set(y.siteName, t);
3960
3960
  }
3961
3961
  }
3962
- class ce extends ot {
3962
+ class ce extends at {
3963
3963
  constructor() {
3964
3964
  super(Object.values($));
3965
3965
  }
@@ -4083,7 +4083,7 @@ class ce extends ot {
4083
4083
  return this.set($.image, t), this;
4084
4084
  }
4085
4085
  }
4086
- class Ae extends ot {
4086
+ class Ae extends at {
4087
4087
  /**
4088
4088
  * Creates an instance of Meta with integrated Open Graph and Twitter Card support.
4089
4089
  *
@@ -4192,7 +4192,7 @@ class Ae extends ot {
4192
4192
  */
4193
4193
  setTitle(e) {
4194
4194
  if (l()) {
4195
- const s = D(e) ? `${e}${this.getSuffix()}` : this.suffix ? this.suffix : "";
4195
+ const s = S(e) ? `${e}${this.getSuffix()}` : this.suffix ? this.suffix : "";
4196
4196
  document.title = s, this.og.setTitle(s), this.twitter.setTitle(s);
4197
4197
  }
4198
4198
  return this;
@@ -4292,7 +4292,7 @@ class Ae extends ot {
4292
4292
  * Получает отформатированный суффикс с разделителем.
4293
4293
  */
4294
4294
  getSuffix() {
4295
- return D(this.suffix) ? ` - ${this.suffix}` : "";
4295
+ return S(this.suffix) ? ` - ${this.suffix}` : "";
4296
4296
  }
4297
4297
  }
4298
4298
  class nt {
@@ -4465,7 +4465,7 @@ const ue = [
4465
4465
  */
4466
4466
  static addSync(t) {
4467
4467
  g(t, (e, s) => {
4468
- R(e) && D(e) && (this.data[this.getName(s)] = e);
4468
+ R(e) && S(e) && (this.data[this.getName(s)] = e);
4469
4469
  });
4470
4470
  }
4471
4471
  /**
@@ -4475,7 +4475,7 @@ const ue = [
4475
4475
  * @param data list of texts in the form of key-value/ список текстов в виде ключ-значение
4476
4476
  */
4477
4477
  static async addNormalOrSync(t) {
4478
- if (D(t))
4478
+ if (S(t))
4479
4479
  if (H.isLocalhost())
4480
4480
  this.addSync(t);
4481
4481
  else {
@@ -4604,10 +4604,13 @@ async function Re(i) {
4604
4604
  var t, e;
4605
4605
  return (e = (t = i == null ? void 0 : i.clipboardData) == null ? void 0 : t.getData("text")) != null ? e : await navigator.clipboard.readText() || "";
4606
4606
  }
4607
- let Dt = Y(1e5, 9e5);
4608
- function Pe(i, t) {
4607
+ function Pe(i = "datetime") {
4608
+ return new ot(void 0, i).standard();
4609
+ }
4610
+ let Lt = Y(1e5, 9e5);
4611
+ function We(i, t) {
4609
4612
  const e = A(i);
4610
- return e ? (D(e.id) || e.setAttribute("id", `id-${Dt++}`), t ? `#${e.id}${t}`.trim() : e.id) : `id-${Dt++}`;
4613
+ return e ? (S(e.id) || e.setAttribute("id", `id-${Lt++}`), t ? `#${e.id}${t}`.trim() : e.id) : `id-${Lt++}`;
4611
4614
  }
4612
4615
  function ge(i) {
4613
4616
  return R(i) ? _(
@@ -4625,17 +4628,17 @@ function me(i, t) {
4625
4628
  const e = t.split(".", 2), s = e[0];
4626
4629
  return s && (i != null && i[s]) && k(i[s]) && (e != null && e[1]) ? me(i[s], e[1]) : (n = s && (i == null ? void 0 : i[s])) != null ? n : "";
4627
4630
  }
4628
- function We(i) {
4631
+ function Ue(i) {
4629
4632
  var t, e, s;
4630
4633
  return (s = (t = i == null ? void 0 : i.key) != null ? t : i == null ? void 0 : i.code) != null ? s : (e = i == null ? void 0 : i.keyCode) == null ? void 0 : e.toString();
4631
4634
  }
4632
4635
  function xt(i) {
4633
4636
  return g(i, (t) => t.length);
4634
4637
  }
4635
- function Ue(i) {
4638
+ function je(i) {
4636
4639
  return Math.max(...xt(i));
4637
4640
  }
4638
- function je(i) {
4641
+ function He(i) {
4639
4642
  return Math.min(...xt(i));
4640
4643
  }
4641
4644
  function ye(i) {
@@ -4646,54 +4649,54 @@ function $e(i) {
4646
4649
  var t, e, s, n;
4647
4650
  return (i == null ? void 0 : i.clientY) || ((e = (t = i == null ? void 0 : i.targetTouches) == null ? void 0 : t[0]) == null ? void 0 : e.clientY) || ((n = (s = i == null ? void 0 : i.touches) == null ? void 0 : s[0]) == null ? void 0 : n.clientY) || 0;
4648
4651
  }
4649
- function He(i) {
4652
+ function ze(i) {
4650
4653
  return {
4651
4654
  x: ye(i),
4652
4655
  y: $e(i)
4653
4656
  };
4654
4657
  }
4655
- function ze(i, t) {
4658
+ function Ze(i, t) {
4656
4659
  const e = {};
4657
4660
  return t.forEach((s) => {
4658
4661
  s in i && i[s] !== void 0 && (e[s] = i[s]);
4659
4662
  }), e;
4660
4663
  }
4661
- function Ze(i, t = void 0) {
4664
+ function Ve(i, t = void 0) {
4662
4665
  const e = {};
4663
4666
  return g(i, (s, n) => {
4664
4667
  s !== t && (e[n] = s);
4665
4668
  }), e;
4666
4669
  }
4667
- function Ve(i) {
4670
+ function Ke(i) {
4668
4671
  return k(i) ? i : {};
4669
4672
  }
4670
4673
  function pe(i, t) {
4671
4674
  return le(i, t).join("");
4672
4675
  }
4673
- function Ke(i, t, e = "#", s = 2, n = 12) {
4676
+ function Ye(i, t, e = "#", s = 2, n = 12) {
4674
4677
  const o = Y(i, t), a = [];
4675
4678
  for (let u = 0; u < o; u++)
4676
4679
  a.push(pe(e, Y(s, n)));
4677
4680
  return a.join(" ");
4678
4681
  }
4679
- function Ye(i, t) {
4682
+ function qe(i, t) {
4680
4683
  const e = i != null ? i : 0;
4681
4684
  return t > e ? 100 / (t - e) : 0;
4682
4685
  }
4683
- function qe(i, t) {
4686
+ function Je(i, t) {
4684
4687
  const e = i != null ? i : 0;
4685
4688
  return t > e ? (t - e) / 100 : 0;
4686
4689
  }
4687
- const Lt = 0;
4688
- function Je(i, t, e) {
4690
+ const Ct = 0;
4691
+ function Qe(i, t, e) {
4689
4692
  const s = t == null ? void 0 : t.closest(i);
4690
4693
  if (t && s && s.scrollHeight !== s.offsetHeight)
4691
4694
  if (e) {
4692
4695
  const n = e.getBoundingClientRect(), o = s.getBoundingClientRect(), a = t.getBoundingClientRect();
4693
4696
  s.scrollTop = t.offsetTop - (n.top - o.top) - (n.height / 2 - a.height / 2), s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight);
4694
- } else s.scrollTop > t.offsetTop ? s.scrollTop = t.offsetTop - Lt : s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight + Lt);
4697
+ } else s.scrollTop > t.offsetTop ? s.scrollTop = t.offsetTop - Ct : s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight + Ct);
4695
4698
  }
4696
- function Qe(i, t, e = 0) {
4699
+ function Me(i, t, e = 0) {
4697
4700
  if (!l())
4698
4701
  return;
4699
4702
  const s = (t == null ? void 0 : t.behavior) || "smooth";
@@ -4713,28 +4716,28 @@ function Qe(i, t, e = 0) {
4713
4716
  });
4714
4717
  }
4715
4718
  }
4716
- function Me(i, t) {
4719
+ function Xe(i, t) {
4717
4720
  return i.indexOf(t) !== -1;
4718
4721
  }
4719
- async function Xe() {
4722
+ async function _e() {
4720
4723
  if (l()) {
4721
4724
  const i = await nt.get();
4722
4725
  document.body.style.setProperty("--sys-scrollbar-offset", `${i}px`);
4723
4726
  }
4724
4727
  }
4725
- function _e(i, t) {
4728
+ function Oe(i, t) {
4726
4729
  const e = {};
4727
4730
  return m(i) && m(t) && g(i, (s, n) => {
4728
4731
  n in t && (e[n] = s);
4729
4732
  }), e;
4730
4733
  }
4731
- function Oe(i, t) {
4734
+ function Te(i, t) {
4732
4735
  let e = Object.keys(i).length !== Object.keys(t).length;
4733
4736
  return e || g(i, (s, n) => {
4734
4737
  s !== (t == null ? void 0 : t[n]) && (e = !0);
4735
4738
  }), e;
4736
4739
  }
4737
- function Te(i) {
4740
+ function Ge(i) {
4738
4741
  switch (typeof i) {
4739
4742
  case "number":
4740
4743
  return !0;
@@ -4744,14 +4747,14 @@ function Te(i) {
4744
4747
  return !1;
4745
4748
  }
4746
4749
  }
4747
- function Ge(i, t) {
4750
+ function ti(i, t) {
4748
4751
  const e = Math.floor(t);
4749
4752
  return i >= e && i < e + 1;
4750
4753
  }
4751
- function ti(i, t) {
4754
+ function ei(i, t) {
4752
4755
  return Array.isArray(i) ? i.every((e) => st(e, t)) : st(i, t);
4753
4756
  }
4754
- function ei(i, t) {
4757
+ function ii(i, t) {
4755
4758
  if (i.startsWith(t))
4756
4759
  return i.slice(t.length).trim();
4757
4760
  let e = 0;
@@ -4776,7 +4779,7 @@ function Z(i, t, e = !0) {
4776
4779
  }
4777
4780
  ), s;
4778
4781
  }
4779
- function ii(i, t) {
4782
+ function si(i, t) {
4780
4783
  let e = i;
4781
4784
  return g(t, (s, n) => {
4782
4785
  e = e.replace(fe(`[${n}]`), I(s));
@@ -4792,7 +4795,7 @@ function be(i, t = "auto") {
4792
4795
  return !1;
4793
4796
  }
4794
4797
  }
4795
- function si(i, t, e = "auto", s) {
4798
+ function ri(i, t, e = "auto", s) {
4796
4799
  var o;
4797
4800
  const n = ge(i);
4798
4801
  if (n && (n.naturalWidth > t && (e === "auto" || e === "width") || n.naturalHeight > t && (e === "auto" || e === "height"))) {
@@ -4801,7 +4804,7 @@ function si(i, t, e = "auto", s) {
4801
4804
  return u.canvas.width = a ? t : n.naturalWidth / n.naturalHeight * t, u.canvas.height = a ? n.naturalHeight / n.naturalWidth * t : t, u.drawImage(n, 0, 0, u.canvas.width, u.canvas.height), u.canvas.toDataURL(s);
4802
4805
  }
4803
4806
  }
4804
- function ri(i) {
4807
+ function ni(i) {
4805
4808
  const t = C(i);
4806
4809
  if (t > 0) {
4807
4810
  const e = String(Math.floor(t / 60)).padStart(2, "0"), s = String(t % 60).padStart(2, "0");
@@ -4809,7 +4812,7 @@ function ri(i) {
4809
4812
  }
4810
4813
  return "00:00";
4811
4814
  }
4812
- function ni(i, t, {
4815
+ function oi(i, t, {
4813
4816
  multiple: e = !1,
4814
4817
  maxlength: s = 0,
4815
4818
  alwaysChange: n = !0,
@@ -4824,7 +4827,7 @@ function ni(i, t, {
4824
4827
  }
4825
4828
  return n || i !== t ? t : i;
4826
4829
  }
4827
- function oi(i, t, e) {
4830
+ function ai(i, t, e) {
4828
4831
  if (m(i) && m(t)) {
4829
4832
  if (e) {
4830
4833
  let s = {}, n = !1;
@@ -4840,30 +4843,30 @@ function oi(i, t, e) {
4840
4843
  function ve(i) {
4841
4844
  return i.toString().trim().replace(/[^\w- ]+/g, "").replace(/ +/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (t) => `${t.toLowerCase()}`).replace(/-+([a-zA-Z0-9])/g, (...t) => `${String(t[1]).toUpperCase()}`).replace(/^([A-Z])/, (t) => `${t.toLowerCase()}`);
4842
4845
  }
4843
- function ai(i) {
4846
+ function ci(i) {
4844
4847
  return ve(i).replace(/^([a-z])/, (t) => `${t.toUpperCase()}`);
4845
4848
  }
4846
- function ci(i) {
4849
+ function ui(i) {
4847
4850
  return i.toString().trim().replace(/[^\w- ]+/g, "").replace(/ +/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (t) => `${t.toLowerCase()}`).replace(/^[A-Z]/, (t) => t.toLowerCase()).replace(/(?<=[\w ])[A-Z]/g, (t) => `-${t.toLowerCase()}`).replace(/[A-Z]/g, (t) => t.toLowerCase());
4848
4851
  }
4849
- function ui(i, t, e, s) {
4852
+ function hi(i, t, e, s) {
4850
4853
  const n = C(i), o = C(t);
4851
- return t && o < n ? `${Ct(o, e, s)}+` : Ct(n, e, s);
4854
+ return t && o < n ? `${kt(o, e, s)}+` : kt(n, e, s);
4852
4855
  }
4853
- const Ct = (i, t, e) => t ? new J(e).number(i) : i;
4854
- function Se(i, t) {
4856
+ const kt = (i, t, e) => t ? new J(e).number(i) : i;
4857
+ function De(i, t) {
4855
4858
  return 1 / i * t;
4856
4859
  }
4857
- function hi(i, t) {
4858
- return Se(i, t) * 100;
4860
+ function li(i, t) {
4861
+ return De(i, t) * 100;
4859
4862
  }
4860
- function li(i) {
4863
+ function di(i) {
4861
4864
  let t = "";
4862
4865
  for (const e of i)
4863
4866
  t += String.fromCharCode(e);
4864
4867
  return l() ? window.btoa(t) : globalThis && globalThis.Buffer ? globalThis == null ? void 0 : globalThis.Buffer.from(i).toString("base64") : "";
4865
4868
  }
4866
- async function di(i) {
4869
+ async function gi(i) {
4867
4870
  if (l())
4868
4871
  try {
4869
4872
  await navigator.clipboard.writeText(i);
@@ -4875,30 +4878,30 @@ export {
4875
4878
  H as Api,
4876
4879
  Zt as ApiDefault,
4877
4880
  zt as ApiHeaders,
4878
- S as ApiMethodItem,
4881
+ D as ApiMethodItem,
4879
4882
  qt as ApiPreparation,
4880
4883
  Yt as ApiResponse,
4881
4884
  Vt as ApiStatus,
4882
4885
  Ce as BroadcastMessage,
4883
4886
  Mt as Cache,
4884
4887
  Qt as CacheItem,
4885
- ft as CacheStatic,
4886
- mt as Cookie,
4887
- Et as CookieBlock,
4888
+ mt as CacheStatic,
4889
+ yt as Cookie,
4890
+ Bt as CookieBlock,
4888
4891
  T as DataStorage,
4889
- Bt as Datetime,
4890
- lt as EventItem,
4892
+ ot as Datetime,
4893
+ dt as EventItem,
4891
4894
  r as GEO_FLAG_ICON_NAME,
4892
4895
  w as Geo,
4893
- yt as GeoFlag,
4896
+ $t as GeoFlag,
4894
4897
  J as GeoIntl,
4895
- $t as GeoPhone,
4898
+ pt as GeoPhone,
4896
4899
  ke as Global,
4897
- pt as Hash,
4898
- vt as Icons,
4900
+ wt as Hash,
4901
+ Dt as Icons,
4899
4902
  x as Loading,
4900
4903
  Ae as Meta,
4901
- ot as MetaManager,
4904
+ at as MetaManager,
4902
4905
  ae as MetaOg,
4903
4906
  re as MetaOpenGraphAge,
4904
4907
  ie as MetaOpenGraphAvailability,
@@ -4931,70 +4934,71 @@ export {
4931
4934
  xe as getAttributes,
4932
4935
  Re as getClipboardData,
4933
4936
  _t as getColumn,
4937
+ Pe as getCurrentDate,
4934
4938
  A as getElement,
4935
- Pe as getElementId,
4939
+ We as getElementId,
4936
4940
  ge as getElementImage,
4937
4941
  Ot as getElementItem,
4938
- ht as getElementOrWindow,
4942
+ lt as getElementOrWindow,
4939
4943
  fe as getExp,
4940
4944
  me as getItemByPath,
4941
- We as getKey,
4945
+ Ue as getKey,
4942
4946
  xt as getLengthOfAllArray,
4943
- Ue as getMaxLengthAllArray,
4944
- je as getMinLengthAllArray,
4945
- He as getMouseClient,
4947
+ je as getMaxLengthAllArray,
4948
+ He as getMinLengthAllArray,
4949
+ ze as getMouseClient,
4946
4950
  ye as getMouseClientX,
4947
4951
  $e as getMouseClientY,
4948
- ze as getObjectByKeys,
4949
- Ze as getObjectNoUndefined,
4950
- Ve as getObjectOrNone,
4951
- Ke as getRandomText,
4952
- kt as getRequestString,
4953
- Ye as getStepPercent,
4954
- qe as getStepValue,
4955
- Je as goScroll,
4956
- Qe as goScrollSmooth,
4957
- Me as inArray,
4958
- Xe as initScrollbarOffset,
4959
- _e as intersectKey,
4952
+ Ze as getObjectByKeys,
4953
+ Ve as getObjectNoUndefined,
4954
+ Ke as getObjectOrNone,
4955
+ Ye as getRandomText,
4956
+ At as getRequestString,
4957
+ qe as getStepPercent,
4958
+ Je as getStepValue,
4959
+ Qe as goScroll,
4960
+ Me as goScrollSmooth,
4961
+ Xe as inArray,
4962
+ _e as initScrollbarOffset,
4963
+ Oe as intersectKey,
4960
4964
  Ft as isArray,
4961
- Oe as isDifferent,
4965
+ Te as isDifferent,
4962
4966
  rt as isDomData,
4963
4967
  l as isDomRuntime,
4964
- D as isFilled,
4965
- Te as isFloat,
4966
- At as isFunction,
4968
+ S as isFilled,
4969
+ Ge as isFloat,
4970
+ Nt as isFunction,
4967
4971
  Ht as isInDom,
4968
- Ge as isIntegerBetween,
4972
+ ti as isIntegerBetween,
4969
4973
  q as isNull,
4970
- ct as isNumber,
4974
+ ut as isNumber,
4971
4975
  m as isObject,
4972
4976
  k as isObjectNotArray,
4973
4977
  st as isSelected,
4974
- ti as isSelectedByList,
4978
+ ei as isSelectedByList,
4975
4979
  R as isString,
4976
- Nt as isWindow,
4980
+ It as isWindow,
4977
4981
  Y as random,
4978
- ei as removeCommonPrefix,
4982
+ ii as removeCommonPrefix,
4979
4983
  Z as replaceRecursive,
4980
- ii as replaceTemplate,
4981
- si as resizeImageByMax,
4982
- ri as secondToTime,
4984
+ si as replaceTemplate,
4985
+ ri as resizeImageByMax,
4986
+ ni as secondToTime,
4983
4987
  Tt as setElementItem,
4984
- ni as setValues,
4985
- oi as splice,
4988
+ oi as setValues,
4989
+ ai as splice,
4986
4990
  pe as strFill,
4987
4991
  z as toArray,
4988
4992
  ve as toCamelCase,
4989
- ai as toCamelCaseFirst,
4993
+ ci as toCamelCaseFirst,
4990
4994
  B as toDate,
4991
- ci as toKebabCase,
4995
+ ui as toKebabCase,
4992
4996
  C as toNumber,
4993
- ui as toNumberByMax,
4994
- Se as toPercent,
4995
- hi as toPercentBy100,
4996
- It as transformation,
4997
- li as uint8ArrayToBase64,
4997
+ hi as toNumberByMax,
4998
+ De as toPercent,
4999
+ li as toPercentBy100,
5000
+ Et as transformation,
5001
+ di as uint8ArrayToBase64,
4998
5002
  we as uniqueArray,
4999
- di as writeClipboardData
5003
+ gi as writeClipboardData
5000
5004
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/functional-basic",
3
3
  "private": false,
4
- "version": "0.5.2",
4
+ "version": "0.6.0",
5
5
  "type": "module",
6
6
  "description": "Core functional utility library for modern web development without framework dependencies",
7
7
  "keywords": [
@@ -36,6 +36,7 @@
36
36
  "preview": "vite preview",
37
37
  "test": "vitest",
38
38
  "library": "dxt-library",
39
+ "dxt-types": "dxt-types",
39
40
  "prepublishOnly": "npm run build"
40
41
  },
41
42
  "files": [
@@ -52,6 +53,7 @@
52
53
  "import": "./dist/library.js",
53
54
  "types": "./dist/library.d.ts"
54
55
  },
56
+ "./ai-types": "./ai-types.txt",
55
57
  "./style": "./dist/style.css",
56
58
  "./types/*": "./dist/*",
57
59
  "./types/**/*.d.ts": "./dist/**/*.d.ts"