jk-vue-comps 0.2.21 → 0.2.22

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.
@@ -1,4 +1,4 @@
1
- //#region node_modules/.pnpm/bignumber.js@11.1.1/node_modules/bignumber.js/dist/bignumber.mjs
1
+ //#region node_modules/.pnpm/bignumber.js@11.1.2/node_modules/bignumber.js/dist/bignumber.mjs
2
2
  var e = d(), t = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, n = Math.ceil, r = Math.floor, i = "[BigNumber Error] ", a = 0x5af3107a4000, o = 14, s = 9007199254740991, c = [
3
3
  1,
4
4
  10,
@@ -490,25 +490,25 @@ function d(e) {
490
490
  }, T.toFixed = function(e, t) {
491
491
  return H(this, e == null ? e : h(e, -u, u) + this.e + 1, t);
492
492
  }, T.toFormat = function(e, t, n) {
493
- var r, a, o, s = this;
493
+ var r, a, o, s, c = this;
494
494
  if (n == null) n = L, e != null && (t == null ? typeof e == "object" && !g(e) && (n = K(e), e = t = null) : typeof t == "object" && (n = K(t), t = null));
495
495
  else if (typeof n != "object") throw Error(i + "Argument not an object: " + n);
496
496
  else n = K(n);
497
497
  if (e != null) if (g(e) && e.length <= 2) {
498
- if (r = e[0], a = e[1], e = s.dp(), a != null && e > h(a, 0, u) && (e = a), r != null && h(r, 0, u) !== 0) {
499
- if (a != null && r > a) throw Error(i + "Minimum must not exceed maximum");
500
- e < r && (e = r);
498
+ if (a = e[0], o = e[1], e = c.dp(), o != null && e > h(o, 0, u) && (e = o), a != null && h(a, 0, u) !== 0) {
499
+ if (o != null && a > o) throw Error(i + "Minimum must not exceed maximum");
500
+ e < a && (e = a);
501
501
  }
502
502
  } else h(e, -u, u);
503
- if (o = s.toFixed(e, t), s.s < 0 && (o = o.slice(1)), s.c) {
504
- var c, l = o.split("."), d = +n.groupSize, f = +n.secondaryGroupSize, p = n.groupSeparator || "", m = l[0], _ = l[1], v = m.length;
505
- if (f && (c = d, d = f, f = c, v -= c), d > 0 && v > 0) {
506
- for (c = v % d || d, o = m.substr(0, c); c < v; c += d) o += p + m.substr(c, d);
507
- f > 0 && (o += p + m.slice(c));
503
+ if (s = c.toFixed(e, t), r = s.charCodeAt(0) === 45, r && (s = s.slice(1)), c.c) {
504
+ var l, d = s.split("."), f = +n.groupSize, p = +n.secondaryGroupSize, m = n.groupSeparator || "", _ = d[0], v = d[1], y = _.length;
505
+ if (p && (l = f, f = p, p = l, y -= l), f > 0 && y > 0) {
506
+ for (l = y % f || f, s = _.substr(0, l); l < y; l += f) s += m + _.substr(l, f);
507
+ p > 0 && (s += m + _.slice(l));
508
508
  }
509
- _ && (c = +n.fractionGroupSize, c && (_ = _.replace(RegExp("\\d{" + c + "}\\B", "g"), "$&" + (n.fractionGroupSeparator || ""))), o += (n.decimalSeparator || "") + _);
509
+ v && (l = +n.fractionGroupSize, l && (v = v.replace(RegExp("\\d{" + l + "}\\B", "g"), "$&" + (n.fractionGroupSeparator || ""))), s += (n.decimalSeparator || "") + v);
510
510
  }
511
- return (n.prefix || "") + (s.s < 0 ? n.negativeSign || "" : s.s > 0 && n.positiveSign || "") + o + (n.suffix || "");
511
+ return (n.prefix || "") + (r ? n.negativeSign || "" : c.s > 0 && n.positiveSign || "") + s + (n.suffix || "");
512
512
  }, T.toFraction = function(e) {
513
513
  var t, n, r, a, s, l, u, d, f, m, h, g, _ = this, v = _.c;
514
514
  if (e != null && (u = new z(e), !u.isInteger() && (u.c || u.s !== 1) || u.lt(E))) throw Error(i + "Argument " + (u.isInteger() ? "out of range: " : "not an integer: ") + J(u));
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/chunk-cBPL4W67.js";
1
+ import { t as e } from "../chunks/chunk-Dy4uBu1J.js";
2
2
  import { GoogleAuth as t, toGoogleAuth as n } from "./GoogleAuth.js";
3
3
  import { TelegramAuth as r, getTelegramAuthUrlParams as i, toTelegramAuth as a } from "./TelegramAuth.js";
4
4
  //#region src/components/index.ts
@@ -1,4 +1,4 @@
1
- //#region node_modules/.pnpm/oxlint@1.65.0/node_modules/oxlint/dist/index.js
1
+ //#region node_modules/.pnpm/oxlint@1.68.0/node_modules/oxlint/dist/index.js
2
2
  function e(e) {
3
3
  return e;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/chunk-cBPL4W67.js";
1
+ import { t as e } from "../chunks/chunk-Dy4uBu1J.js";
2
2
  import { copyTextToClipboard as t, useCopyToClipboard as n } from "./useCopyToClipboard.js";
3
3
  import { useFormKeypressEnter as r } from "./useFormKeypressEnter.js";
4
4
  import { useMemo as i } from "./useMemo.js";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/chunk-cBPL4W67.js";
1
+ import { t as e } from "../chunks/chunk-Dy4uBu1J.js";
2
2
  import { is as t, isArray as n, isBoolean as r, isClient as i, isDate as a, isDef as o, isEdgeBrowser as s, isElement as c, isEmail as l, isEmpty as u, isFunction as d, isHtmlStr as f, isInMobileBrowser as ee, isIp as te, isMap as ne, isNull as re, isNullAndUnDef as p, isNullOrUnDef as m, isNumber as h, isObject as g, isPromise as _, isPromiseLink as v, isRegExp as y, isServer as b, isString as x, isUnDef as S, isUrl as C, isValidPhoneNumber as w, isWindow as T, isZhLang as E } from "./is.js";
3
3
  import { BigNumber as D, DOWN as O, UP as k, add as A, divide as j, eq as M, formatRate as N, gt as P, gte as F, helper as I, isBigNum as L, isBool as R, isEqualTo as z, isGreaterThan as B, isGreaterThanOrEqualTo as V, isInt as H, isLessThan as U, isLessThanOrEqualTo as W, isNan as G, isNanValue as K, isNum as q, lt as J, lte as ie, multiply as Y, power as ae, subtract as oe, toBigNum as se, toDecimalPlaces as ce, toInt as le, toLocaleString as ue, toNum as X, toString as de, unFormatRate as fe } from "./math.js";
4
4
  import { propTypes as pe } from "./vuePropTypes.js";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/bignumber-CC1ajqLP.js";
1
+ import { t as e } from "../chunks/bignumber-B4Qn97r4.js";
2
2
  //#region src/utils/lodash.ts
3
3
  function t(e) {
4
4
  if (typeof e != "object" || !e) return e;
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/bignumber-CC1ajqLP.js";
1
+ import { t as e } from "../chunks/bignumber-B4Qn97r4.js";
2
2
  //#region src/utils/math.ts
3
3
  var t = e.ROUND_DOWN, n = e.ROUND_UP, r = e;
4
4
  function i(t) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jk-vue-comps",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "jk-vue-comps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -30,20 +30,20 @@
30
30
  "lint:all": "pnpm lint:fmt && pnpm lint:ox"
31
31
  },
32
32
  "dependencies": {
33
- "bignumber.js": "11.1.1",
34
- "vue": "3.5.34",
33
+ "bignumber.js": "11.1.2",
34
+ "vue": "3.5.35",
35
35
  "vue-types": "6.0.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "22.18.0",
39
39
  "@vitejs/plugin-vue": "6.0.7",
40
40
  "@vitejs/plugin-vue-jsx": "5.1.5",
41
- "oxfmt": "^0.50.0",
42
- "oxlint": "^1.65.0",
41
+ "oxfmt": "^0.53.0",
42
+ "oxlint": "^1.68.0",
43
43
  "typescript": "6.0.3",
44
- "vite": "8.0.13",
45
- "vite-plugin-dts": "^5.0.0",
44
+ "vite": "8.0.16",
45
+ "vite-plugin-dts": "^5.0.2",
46
46
  "rimraf": "^6.1.3",
47
- "vue-tsc": "^3.2.9"
47
+ "vue-tsc": "^3.3.3"
48
48
  }
49
49
  }