@dxtmisha/functional-basic 0.12.8 → 0.13.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.
package/dist/library.d.ts CHANGED
@@ -3739,6 +3739,13 @@ export declare function getColumn<T, K extends keyof T>(array: ObjectOrArray<T>,
3739
3739
  */
3740
3740
  export declare function getCurrentDate(format?: GeoDate): string;
3741
3741
 
3742
+ /**
3743
+ * Returns the current time in milliseconds.
3744
+ *
3745
+ * Возвращает текущее время в миллисекундах.
3746
+ */
3747
+ export declare function getCurrentTime(): number;
3748
+
3742
3749
  /**
3743
3750
  * Returns the first Element in the document that matches the specified selector or the element.
3744
3751
  *
package/dist/library.js CHANGED
@@ -131,7 +131,7 @@ function b() {
131
131
  return location.href.startsWith("data:");
132
132
  }
133
133
  //#endregion
134
- //#region \0@oxc-project+runtime@0.122.0/helpers/typeof.js
134
+ //#region \0@oxc-project+runtime@0.123.0/helpers/typeof.js
135
135
  function x(e) {
136
136
  "@babel/helpers - typeof";
137
137
  return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -141,7 +141,7 @@ function x(e) {
141
141
  }, x(e);
142
142
  }
143
143
  //#endregion
144
- //#region \0@oxc-project+runtime@0.122.0/helpers/toPrimitive.js
144
+ //#region \0@oxc-project+runtime@0.123.0/helpers/toPrimitive.js
145
145
  function ee(e, t) {
146
146
  if (x(e) != "object" || !e) return e;
147
147
  var n = e[Symbol.toPrimitive];
@@ -153,13 +153,13 @@ function ee(e, t) {
153
153
  return (t === "string" ? String : Number)(e);
154
154
  }
155
155
  //#endregion
156
- //#region \0@oxc-project+runtime@0.122.0/helpers/toPropertyKey.js
156
+ //#region \0@oxc-project+runtime@0.123.0/helpers/toPropertyKey.js
157
157
  function te(e) {
158
158
  var t = ee(e, "string");
159
159
  return x(t) == "symbol" ? t : t + "";
160
160
  }
161
161
  //#endregion
162
- //#region \0@oxc-project+runtime@0.122.0/helpers/defineProperty.js
162
+ //#region \0@oxc-project+runtime@0.123.0/helpers/defineProperty.js
163
163
  function S(e, t, n) {
164
164
  return (t = te(t)) in e ? Object.defineProperty(e, t, {
165
165
  value: n,
@@ -3327,56 +3327,61 @@ function Nt(e = "datetime") {
3327
3327
  return new Pe(void 0, e).standard();
3328
3328
  }
3329
3329
  //#endregion
3330
+ //#region src/functions/getCurrentTime.ts
3331
+ function Pt() {
3332
+ return (/* @__PURE__ */ new Date()).getTime();
3333
+ }
3334
+ //#endregion
3330
3335
  //#region src/functions/getElementId.ts
3331
- var Pt = d(1e5, 9e5);
3332
- function Ft(e, t) {
3336
+ var Ft = d(1e5, 9e5);
3337
+ function It(e, t) {
3333
3338
  let n = D(e);
3334
- return n ? (c(n.id) || n.setAttribute("id", `id-${Pt++}`), t ? `#${n.id}${t}`.trim() : n.id) : `id-${Pt++}`;
3339
+ return n ? (c(n.id) || n.setAttribute("id", `id-${Ft++}`), t ? `#${n.id}${t}`.trim() : n.id) : `id-${Ft++}`;
3335
3340
  }
3336
3341
  //#endregion
3337
3342
  //#region src/functions/getKey.ts
3338
- function It(e) {
3343
+ function Lt(e) {
3339
3344
  var t, n, r;
3340
3345
  return (t = (n = e == null ? void 0 : e.key) == null ? e == null ? void 0 : e.code : n) == null ? e == null || (r = e.keyCode) == null ? void 0 : r.toString() : t;
3341
3346
  }
3342
3347
  //#endregion
3343
3348
  //#region src/functions/getLengthOfAllArray.ts
3344
- function Lt(e) {
3349
+ function Rt(e) {
3345
3350
  return i(e, (e) => e.length);
3346
3351
  }
3347
3352
  //#endregion
3348
3353
  //#region src/functions/getMaxLengthAllArray.ts
3349
- function Rt(e) {
3350
- return Math.max(...Lt(e));
3354
+ function zt(e) {
3355
+ return Math.max(...Rt(e));
3351
3356
  }
3352
3357
  //#endregion
3353
3358
  //#region src/functions/getMinLengthAllArray.ts
3354
- function zt(e) {
3355
- return Math.min(...Lt(e));
3359
+ function Bt(e) {
3360
+ return Math.min(...Rt(e));
3356
3361
  }
3357
3362
  //#endregion
3358
3363
  //#region src/functions/getMouseClientX.ts
3359
- function Bt(e) {
3364
+ function Vt(e) {
3360
3365
  var t, n;
3361
3366
  return (e == null ? void 0 : e.clientX) || (e == null || (t = e.targetTouches) == null || (t = t[0]) == null ? void 0 : t.clientX) || (e == null || (n = e.touches) == null || (n = n[0]) == null ? void 0 : n.clientX) || 0;
3362
3367
  }
3363
3368
  //#endregion
3364
3369
  //#region src/functions/getMouseClientY.ts
3365
- function Vt(e) {
3370
+ function Ht(e) {
3366
3371
  var t, n;
3367
3372
  return (e == null ? void 0 : e.clientY) || (e == null || (t = e.targetTouches) == null || (t = t[0]) == null ? void 0 : t.clientY) || (e == null || (n = e.touches) == null || (n = n[0]) == null ? void 0 : n.clientY) || 0;
3368
3373
  }
3369
3374
  //#endregion
3370
3375
  //#region src/functions/getMouseClient.ts
3371
- function Ht(e) {
3376
+ function Ut(e) {
3372
3377
  return {
3373
- x: Bt(e),
3374
- y: Vt(e)
3378
+ x: Vt(e),
3379
+ y: Ht(e)
3375
3380
  };
3376
3381
  }
3377
3382
  //#endregion
3378
3383
  //#region src/functions/getObjectByKeys.ts
3379
- function Ut(e, t) {
3384
+ function Wt(e, t) {
3380
3385
  let n = {};
3381
3386
  return t.forEach((t) => {
3382
3387
  t in e && e[t] !== void 0 && (n[t] = e[t]);
@@ -3384,7 +3389,7 @@ function Ut(e, t) {
3384
3389
  }
3385
3390
  //#endregion
3386
3391
  //#region src/functions/getObjectNoUndefined.ts
3387
- function Wt(e, t = void 0) {
3392
+ function Gt(e, t = void 0) {
3388
3393
  let n = {};
3389
3394
  return i(e, (e, r) => {
3390
3395
  e !== t && (n[r] = e);
@@ -3392,49 +3397,49 @@ function Wt(e, t = void 0) {
3392
3397
  }
3393
3398
  //#endregion
3394
3399
  //#region src/functions/getObjectOrNone.ts
3395
- function Gt(e) {
3400
+ function Kt(e) {
3396
3401
  return n(e) ? e : {};
3397
3402
  }
3398
3403
  //#endregion
3399
3404
  //#region src/functions/strFill.ts
3400
- function Kt(e, t) {
3405
+ function qt(e, t) {
3401
3406
  return bt(e, t).join("");
3402
3407
  }
3403
3408
  //#endregion
3404
3409
  //#region src/functions/getRandomText.ts
3405
- function qt(e, t, n = "#", r = 2, i = 12) {
3410
+ function Jt(e, t, n = "#", r = 2, i = 12) {
3406
3411
  let a = d(e, t), o = [];
3407
- for (let e = 0; e < a; e++) o.push(Kt(n, d(r, i)));
3412
+ for (let e = 0; e < a; e++) o.push(qt(n, d(r, i)));
3408
3413
  return o.join(" ");
3409
3414
  }
3410
3415
  //#endregion
3411
3416
  //#region src/functions/getStepPercent.ts
3412
- function Jt(e, t) {
3417
+ function Yt(e, t) {
3413
3418
  let n = e == null ? 0 : e;
3414
3419
  return t > n ? 100 / (t - n) : 0;
3415
3420
  }
3416
3421
  //#endregion
3417
3422
  //#region src/functions/getStepValue.ts
3418
- function Yt(e, t) {
3423
+ function Xt(e, t) {
3419
3424
  let n = e == null ? 0 : e;
3420
3425
  return t > n ? (t - n) / 100 : 0;
3421
3426
  }
3422
3427
  //#endregion
3423
3428
  //#region src/functions/goScroll.ts
3424
- var Xt = 0;
3425
- function Zt(e, t, n) {
3429
+ var Zt = 0;
3430
+ function Qt(e, t, n) {
3426
3431
  let r = t == null ? void 0 : t.closest(e);
3427
3432
  if (t && r && r.scrollHeight !== r.offsetHeight) {
3428
3433
  let e = r.getBoundingClientRect(), i = t.getBoundingClientRect();
3429
3434
  if (n) {
3430
3435
  let a = n.getBoundingClientRect();
3431
3436
  r.scrollTop = t.offsetTop - (a.top - e.top) - (a.height / 2 - i.height / 2), r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = t.offsetTop + t.offsetHeight - r.offsetHeight);
3432
- } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - Xt : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + Xt);
3437
+ } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - Zt : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + Zt);
3433
3438
  }
3434
3439
  }
3435
3440
  //#endregion
3436
3441
  //#region src/functions/goScrollSmooth.ts
3437
- function Qt(e, t, n = 0) {
3442
+ function $t(e, t, n = 0) {
3438
3443
  if (!m()) return;
3439
3444
  let r = (t == null ? void 0 : t.behavior) || "smooth";
3440
3445
  if ("scrollIntoView" in e && !n) {
@@ -3456,7 +3461,7 @@ function Qt(e, t, n = 0) {
3456
3461
  }
3457
3462
  //#endregion
3458
3463
  //#region src/functions/goScrollTo.ts
3459
- function $t(e, t, n = "smooth") {
3464
+ function en(e, t, n = "smooth") {
3460
3465
  if (!m() || !e || !t) return;
3461
3466
  let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
3462
3467
  e.scrollBy({
@@ -3467,13 +3472,13 @@ function $t(e, t, n = "smooth") {
3467
3472
  }
3468
3473
  //#endregion
3469
3474
  //#region src/functions/isShare.ts
3470
- function en() {
3475
+ function tn() {
3471
3476
  return m() && typeof navigator < "u" && !!navigator.share;
3472
3477
  }
3473
3478
  //#endregion
3474
3479
  //#region src/functions/handleShare.ts
3475
- async function tn(e) {
3476
- if (en() && navigator.canShare && navigator.canShare(e)) try {
3480
+ async function nn(e) {
3481
+ if (tn() && navigator.canShare && navigator.canShare(e)) try {
3477
3482
  return await navigator.share(e), !0;
3478
3483
  } catch (e) {
3479
3484
  console.error("handleShare error:", e);
@@ -3482,12 +3487,12 @@ async function tn(e) {
3482
3487
  }
3483
3488
  //#endregion
3484
3489
  //#region src/functions/inArray.ts
3485
- function nn(e, t) {
3490
+ function rn(e, t) {
3486
3491
  return e.indexOf(t) !== -1;
3487
3492
  }
3488
3493
  //#endregion
3489
3494
  //#region src/functions/initScrollbarOffset.ts
3490
- async function rn() {
3495
+ async function an() {
3491
3496
  if (m()) {
3492
3497
  let e = await Z.get();
3493
3498
  document.body.style.setProperty("--sys-scrollbar-offset", `${e}px`);
@@ -3495,7 +3500,7 @@ async function rn() {
3495
3500
  }
3496
3501
  //#endregion
3497
3502
  //#region src/functions/intersectKey.ts
3498
- function an(e, n) {
3503
+ function on(e, n) {
3499
3504
  let r = {};
3500
3505
  return t(e) && t(n) && i(e, (e, t) => {
3501
3506
  t in n && (r[t] = e);
@@ -3503,13 +3508,13 @@ function an(e, n) {
3503
3508
  }
3504
3509
  //#endregion
3505
3510
  //#region src/functions/isApiSuccess.ts
3506
- var on = (e) => {
3511
+ var sn = (e) => {
3507
3512
  var t;
3508
3513
  return o(e) ? !0 : !!(e && n(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || !(e == null || (t = e.statusObject) == null) && t.status && String(e.statusObject.status).match(/^2/) || !("status" in e) && !("success" in e) && !("statusObject" in e) && String(N.getStatus().getStatus()).match(/^2/)));
3509
3514
  };
3510
3515
  //#endregion
3511
3516
  //#region src/functions/isDifferent.ts
3512
- function sn(e, t) {
3517
+ function cn(e, t) {
3513
3518
  let n = Object.keys(e).length !== Object.keys(t).length;
3514
3519
  return n || i(e, (e, r) => {
3515
3520
  e !== (t == null ? void 0 : t[r]) && (n = !0);
@@ -3517,7 +3522,7 @@ function sn(e, t) {
3517
3522
  }
3518
3523
  //#endregion
3519
3524
  //#region src/functions/isElementVisible.ts
3520
- function cn(e) {
3525
+ function ln(e) {
3521
3526
  if (!m()) return !1;
3522
3527
  let t = D(e);
3523
3528
  if (!t || "isConnected" in t && t.isConnected === !1) return !1;
@@ -3526,16 +3531,16 @@ function cn(e) {
3526
3531
  }
3527
3532
  //#endregion
3528
3533
  //#region src/functions/isInput.ts
3529
- var ln = (e) => {
3534
+ var un = (e) => {
3530
3535
  if (e instanceof HTMLElement) {
3531
3536
  let t = e.tagName.toLowerCase();
3532
3537
  return !!(t === "input" || t === "textarea" || t === "select" || e.isContentEditable || e.getAttribute("contenteditable") === "true");
3533
3538
  }
3534
3539
  return !1;
3535
- }, un = (e, t) => e.code === "Space" || e.code === "Enter" || e.key === " " || e.key === "Spacebar" || e.key === "Enter" || e.keyCode === 13 || e.keyCode === 32 ? t === void 0 ? !ln(e.target) : !t : !1;
3540
+ }, dn = (e, t) => e.code === "Space" || e.code === "Enter" || e.key === " " || e.key === "Spacebar" || e.key === "Enter" || e.keyCode === 13 || e.keyCode === 32 ? t === void 0 ? !un(e.target) : !t : !1;
3536
3541
  //#endregion
3537
3542
  //#region src/functions/isFloat.ts
3538
- function dn(e) {
3543
+ function fn(e) {
3539
3544
  switch (typeof e) {
3540
3545
  case "number": return !0;
3541
3546
  case "string": return !!e.match(/^([0-9]+|[0-9]+\.[0-9]+)$/);
@@ -3544,18 +3549,18 @@ function dn(e) {
3544
3549
  }
3545
3550
  //#endregion
3546
3551
  //#region src/functions/isIntegerBetween.ts
3547
- function fn(e, t) {
3552
+ function pn(e, t) {
3548
3553
  let n = Math.floor(t);
3549
3554
  return e >= n && e < n + 1;
3550
3555
  }
3551
3556
  //#endregion
3552
3557
  //#region src/functions/isSelectedByList.ts
3553
- function pn(e, t) {
3558
+ function mn(e, t) {
3554
3559
  return Array.isArray(e) ? e.every((e) => _(e, t)) : _(e, t);
3555
3560
  }
3556
3561
  //#endregion
3557
3562
  //#region src/functions/removeCommonPrefix.ts
3558
- function mn(e, t) {
3563
+ function hn(e, t) {
3559
3564
  if (e.startsWith(t)) return e.slice(t.length).trim();
3560
3565
  let n = 0;
3561
3566
  for (; e[n] === t[n] && n < e.length && n < t.length;) n++;
@@ -3563,13 +3568,13 @@ function mn(e, t) {
3563
3568
  }
3564
3569
  //#endregion
3565
3570
  //#region src/functions/replaceComponentName.ts
3566
- var hn = (e, t, n) => {
3571
+ var gn = (e, t, n) => {
3567
3572
  var r;
3568
3573
  return e == null || (r = e.replace(RegExp(`<${t}`, "ig"), `<${n}`)) == null || (r = r.replace(RegExp(`</${t}`, "ig"), `</${n}`)) == null ? void 0 : r.trim();
3569
3574
  };
3570
3575
  //#endregion
3571
3576
  //#region src/functions/uniqueArray.ts
3572
- function gn(e) {
3577
+ function _n(e) {
3573
3578
  return [...new Set(e)];
3574
3579
  }
3575
3580
  //#endregion
@@ -3578,12 +3583,12 @@ function $(e, n, r = !0) {
3578
3583
  let a = p(e);
3579
3584
  return t(e) && t(n) && i(n, (n, i) => {
3580
3585
  let o = e == null ? void 0 : e[i];
3581
- t(o) && t(n) ? r && Array.isArray(o) && Array.isArray(n) ? a[i] = p(gn([...o, ...n])) : a[i] = $(Array.isArray(o) ? { ...o } : o, n, r) : a[i] = t(n) ? p(n) : n;
3586
+ t(o) && t(n) ? r && Array.isArray(o) && Array.isArray(n) ? a[i] = p(_n([...o, ...n])) : a[i] = $(Array.isArray(o) ? { ...o } : o, n, r) : a[i] = t(n) ? p(n) : n;
3582
3587
  }), a;
3583
3588
  }
3584
3589
  //#endregion
3585
3590
  //#region src/functions/replaceTemplate.ts
3586
- function _n(e, t) {
3591
+ function vn(e, t) {
3587
3592
  let n = e;
3588
3593
  return i(t, (e, t) => {
3589
3594
  n = n.replace(st(`[${t}]`), y(e));
@@ -3591,13 +3596,13 @@ function _n(e, t) {
3591
3596
  }
3592
3597
  //#endregion
3593
3598
  //#region src/functions/secondToTime.ts
3594
- function vn(e) {
3599
+ function yn(e) {
3595
3600
  let t = g(e);
3596
3601
  return t > 0 ? `${String(Math.floor(t / 60)).padStart(2, "0")}:${String(t % 60).padStart(2, "0")}` : "00:00";
3597
3602
  }
3598
3603
  //#endregion
3599
3604
  //#region src/functions/setValues.ts
3600
- function yn(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, notEmpty: a = !1 }) {
3605
+ function bn(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, notEmpty: a = !1 }) {
3601
3606
  if (n) {
3602
3607
  if (o(e)) {
3603
3608
  let n = e.indexOf(t), i = [...e];
@@ -3609,7 +3614,7 @@ function yn(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, no
3609
3614
  }
3610
3615
  //#endregion
3611
3616
  //#region src/functions/splice.ts
3612
- function bn(e, n, r) {
3617
+ function xn(e, n, r) {
3613
3618
  if (t(e) && t(n)) {
3614
3619
  if (r) {
3615
3620
  let a = {}, o = !1;
@@ -3623,34 +3628,34 @@ function bn(e, n, r) {
3623
3628
  }
3624
3629
  //#endregion
3625
3630
  //#region src/functions/toCamelCaseFirst.ts
3626
- function xn(e) {
3631
+ function Sn(e) {
3627
3632
  return z(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
3628
3633
  }
3629
3634
  //#endregion
3630
3635
  //#region src/functions/toKebabCase.ts
3631
- function Sn(e) {
3636
+ function Cn(e) {
3632
3637
  return e.toString().trim().replace(/[^\w-. ]+/g, "").replace(/[ .]+/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (e) => `${e.toLowerCase()}`).replace(/^[A-Z]/, (e) => e.toLowerCase()).replace(/(?<=[\w ])[A-Z]/g, (e) => `-${e.toLowerCase()}`).replace(/[A-Z]/g, (e) => e.toLowerCase());
3633
3638
  }
3634
3639
  //#endregion
3635
3640
  //#region src/functions/toNumberByMax.ts
3636
- function Cn(e, t, n, r) {
3641
+ function wn(e, t, n, r) {
3637
3642
  let i = g(e), a = g(t);
3638
- return t && a < i ? `${wn(a, n, r)}+` : wn(i, n, r);
3643
+ return t && a < i ? `${Tn(a, n, r)}+` : Tn(i, n, r);
3639
3644
  }
3640
- var wn = (e, t, n) => t ? new F(n).number(e) : e;
3645
+ var Tn = (e, t, n) => t ? new F(n).number(e) : e;
3641
3646
  //#endregion
3642
3647
  //#region src/functions/toPercent.ts
3643
- function Tn(e, t) {
3648
+ function En(e, t) {
3644
3649
  return 1 / e * t;
3645
3650
  }
3646
3651
  //#endregion
3647
3652
  //#region src/functions/toPercentBy100.ts
3648
- function En(e, t) {
3649
- return Tn(e, t) * 100;
3653
+ function Dn(e, t) {
3654
+ return En(e, t) * 100;
3650
3655
  }
3651
3656
  //#endregion
3652
3657
  //#region src/functions/uint8ArrayToBase64.ts
3653
- function Dn(e) {
3658
+ function On(e) {
3654
3659
  let t = "";
3655
3660
  for (let n of e) t += String.fromCharCode(n);
3656
3661
  if (m()) return window.btoa(t);
@@ -3662,7 +3667,7 @@ function Dn(e) {
3662
3667
  }
3663
3668
  //#endregion
3664
3669
  //#region src/functions/writeClipboardData.ts
3665
- async function On(e) {
3670
+ async function kn(e) {
3666
3671
  if (m()) try {
3667
3672
  await navigator.clipboard.writeText(e);
3668
3673
  } catch (n) {
@@ -3671,4 +3676,4 @@ async function On(e) {
3671
3676
  }
3672
3677
  }
3673
3678
  //#endregion
3674
- export { N as Api, pe as ApiDefault, fe as ApiHeaders, ye as ApiInstance, M as ApiMethodItem, ve as ApiPreparation, _e as ApiResponse, me as ApiStatus, be as BroadcastMessage, Ce as Cache, Se as CacheItem, Te as CacheStatic, je as Cookie, Oe as CookieBlock, w as DataStorage, Pe as Datetime, C as ErrorCenter, ne as ErrorCenterHandler, re as ErrorCenterInstance, A as EventItem, Ie as Formatters, B as FormattersType, Le as GEO_FLAG_ICON_NAME, E as Geo, Re as GeoFlag, F as GeoIntl, V as GeoPhone, ze as Global, W as Hash, G as Icons, j as Loading, de as LoadingInstance, nt as Meta, q as MetaManager, et as MetaOg, Ze as MetaOpenGraphAge, Ye as MetaOpenGraphAvailability, Xe as MetaOpenGraphCondition, Qe as MetaOpenGraphGender, Y as MetaOpenGraphTag, Je as MetaOpenGraphType, qe as MetaRobots, J as MetaTag, tt as MetaTwitter, $e as MetaTwitterCard, X as MetaTwitterTag, Z as ScrollbarWidth, ft as SearchList, at as SearchListData, ot as SearchListItem, ut as SearchListMatcher, dt as SearchListOptions, ht as TRANSLATE_GLOBAL_PREFIX, gt as TRANSLATE_TIME_OUT, yt as Translate, _t as TranslateFile, vt as TranslateInstance, it as addTagHighlightMatch, L as anyToString, mt as applyTemplate, bt as arrFill, xt as blobToBase64, St as capitalize, p as copyObject, r as copyObjectLite, K as createElement, Ct as domQuerySelector, wt as domQuerySelectorAll, Ke as encodeAttribute, Ot as ensureMaxSize, Q as escapeExp, kt as eventStopPropagation, y as executeFunction, he as executePromise, i as forEach, At as frame, jt as getAttributes, Mt as getClipboardData, Ne as getColumn, Nt as getCurrentDate, D as getElement, Ft as getElementId, Tt as getElementImage, We as getElementItem, O as getElementOrWindow, ct as getExactSearchExp, st as getExp, R as getItemByPath, It as getKey, Lt as getLengthOfAllArray, Rt as getMaxLengthAllArray, zt as getMinLengthAllArray, Ht as getMouseClient, Bt as getMouseClientX, Vt as getMouseClientY, Ut as getObjectByKeys, Wt as getObjectNoUndefined, Gt as getObjectOrNone, qt as getRandomText, a as getRequestString, lt as getSearchExp, rt as getSeparatingSearchExp, Jt as getStepPercent, Yt as getStepValue, Zt as goScroll, Qt as goScrollSmooth, $t as goScrollTo, tn as handleShare, nn as inArray, rn as initScrollbarOffset, an as intersectKey, on as isApiSuccess, o as isArray, sn as isDifferent, b as isDomData, m as isDomRuntime, cn as isElementVisible, un as isEnter, c as isFilled, dn as isFloat, v as isFunction, le as isInDom, ln as isInput, fn as isIntegerBetween, s as isNull, h as isNumber, t as isObject, n as isObjectNotArray, l as isOnLine, _ as isSelected, pn as isSelectedByList, en as isShare, u as isString, ce as isWindow, d as random, mn as removeCommonPrefix, hn as replaceComponentName, $ as replaceRecursive, _n as replaceTemplate, Dt as resizeImageByMax, vn as secondToTime, Ge as setElementItem, yn as setValues, f as sleep, bn as splice, Kt as strFill, Fe as strSplit, k as toArray, z as toCamelCase, xn as toCamelCaseFirst, P as toDate, Sn as toKebabCase, g as toNumber, Cn as toNumberByMax, Tn as toPercent, En as toPercentBy100, Ee as transformation, Dn as uint8ArrayToBase64, gn as uniqueArray, On as writeClipboardData };
3679
+ export { N as Api, pe as ApiDefault, fe as ApiHeaders, ye as ApiInstance, M as ApiMethodItem, ve as ApiPreparation, _e as ApiResponse, me as ApiStatus, be as BroadcastMessage, Ce as Cache, Se as CacheItem, Te as CacheStatic, je as Cookie, Oe as CookieBlock, w as DataStorage, Pe as Datetime, C as ErrorCenter, ne as ErrorCenterHandler, re as ErrorCenterInstance, A as EventItem, Ie as Formatters, B as FormattersType, Le as GEO_FLAG_ICON_NAME, E as Geo, Re as GeoFlag, F as GeoIntl, V as GeoPhone, ze as Global, W as Hash, G as Icons, j as Loading, de as LoadingInstance, nt as Meta, q as MetaManager, et as MetaOg, Ze as MetaOpenGraphAge, Ye as MetaOpenGraphAvailability, Xe as MetaOpenGraphCondition, Qe as MetaOpenGraphGender, Y as MetaOpenGraphTag, Je as MetaOpenGraphType, qe as MetaRobots, J as MetaTag, tt as MetaTwitter, $e as MetaTwitterCard, X as MetaTwitterTag, Z as ScrollbarWidth, ft as SearchList, at as SearchListData, ot as SearchListItem, ut as SearchListMatcher, dt as SearchListOptions, ht as TRANSLATE_GLOBAL_PREFIX, gt as TRANSLATE_TIME_OUT, yt as Translate, _t as TranslateFile, vt as TranslateInstance, it as addTagHighlightMatch, L as anyToString, mt as applyTemplate, bt as arrFill, xt as blobToBase64, St as capitalize, p as copyObject, r as copyObjectLite, K as createElement, Ct as domQuerySelector, wt as domQuerySelectorAll, Ke as encodeAttribute, Ot as ensureMaxSize, Q as escapeExp, kt as eventStopPropagation, y as executeFunction, he as executePromise, i as forEach, At as frame, jt as getAttributes, Mt as getClipboardData, Ne as getColumn, Nt as getCurrentDate, Pt as getCurrentTime, D as getElement, It as getElementId, Tt as getElementImage, We as getElementItem, O as getElementOrWindow, ct as getExactSearchExp, st as getExp, R as getItemByPath, Lt as getKey, Rt as getLengthOfAllArray, zt as getMaxLengthAllArray, Bt as getMinLengthAllArray, Ut as getMouseClient, Vt as getMouseClientX, Ht as getMouseClientY, Wt as getObjectByKeys, Gt as getObjectNoUndefined, Kt as getObjectOrNone, Jt as getRandomText, a as getRequestString, lt as getSearchExp, rt as getSeparatingSearchExp, Yt as getStepPercent, Xt as getStepValue, Qt as goScroll, $t as goScrollSmooth, en as goScrollTo, nn as handleShare, rn as inArray, an as initScrollbarOffset, on as intersectKey, sn as isApiSuccess, o as isArray, cn as isDifferent, b as isDomData, m as isDomRuntime, ln as isElementVisible, dn as isEnter, c as isFilled, fn as isFloat, v as isFunction, le as isInDom, un as isInput, pn as isIntegerBetween, s as isNull, h as isNumber, t as isObject, n as isObjectNotArray, l as isOnLine, _ as isSelected, mn as isSelectedByList, tn as isShare, u as isString, ce as isWindow, d as random, hn as removeCommonPrefix, gn as replaceComponentName, $ as replaceRecursive, vn as replaceTemplate, Dt as resizeImageByMax, yn as secondToTime, Ge as setElementItem, bn as setValues, f as sleep, xn as splice, qt as strFill, Fe as strSplit, k as toArray, z as toCamelCase, Sn as toCamelCaseFirst, P as toDate, Cn as toKebabCase, g as toNumber, wn as toNumberByMax, En as toPercent, Dn as toPercentBy100, Ee as transformation, On as uint8ArrayToBase64, _n as uniqueArray, kn as writeClipboardData };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/functional-basic",
3
3
  "private": false,
4
- "version": "0.12.8",
4
+ "version": "0.13.0",
5
5
  "type": "module",
6
6
  "description": "Foundational utility library for modern web development — HTTP client, geolocation, i18n, SEO meta tags, caching, storage, DOM utilities, and more. Framework-agnostic, zero dependencies, TypeScript-first.",
7
7
  "keywords": [