jk-vue-comps 0.2.2 → 0.2.4
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/chunks/index-CHtnAuFs.js +174 -0
- package/dist/components/GoogleAuth.d.ts +55 -71
- package/dist/components/GoogleAuth.js +41 -35
- package/dist/components/TelegramAuth.d.ts +47 -55
- package/dist/components/TelegramAuth.js +45 -40
- package/dist/index.d.ts +80 -102
- package/dist/index.js +52 -46
- package/dist/utils/index.js +54 -48
- package/dist/utils/math.d.ts +6 -0
- package/dist/utils/math.js +213 -206
- package/dist/utils/vuePropTypes.d.ts +9 -51
- package/dist/utils/vuePropTypes.js +23 -21
- package/package.json +15 -15
- package/dist/chunks/index-CAW2nf5W.js +0 -168
package/dist/utils/index.js
CHANGED
|
@@ -1,53 +1,57 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { is as t, isArray as r, isBoolean as
|
|
3
|
-
import { BigNumber as
|
|
4
|
-
import { propTypes as
|
|
5
|
-
import { timeZoneOptions as
|
|
6
|
-
import { withInstall as
|
|
7
|
-
import { d as
|
|
2
|
+
import { is as t, isArray as r, isBoolean as a, isClient as o, isDate as n, isDef as l, isEdgeBrowser as m, isElement as u, isEmail as p, isEmpty as g, isFunction as N, isHtmlStr as f, isInMobileBrowser as d, isIp as h, isMap as b, isNull as c, isNullAndUnDef as E, isNullOrUnDef as S, isNumber as T, isObject as x, isPromise as B, isPromiseLink as D, isRegExp as I, isServer as O, isString as P, isUnDef as U, isUrl as y, isValidPhoneNumber as w, isWindow as L, isZhLang as q } from "./is.js";
|
|
3
|
+
import { BigNumber as F, DOWN as R, UP as W, add as M, divide as j, eq as A, formatRate as G, gt as H, gte as V, helper as Z, isBigNum as k, isBool as z, isEqualTo as C, isGreaterThan as J, isGreaterThanOrEqualTo as K, isInt as Q, isLessThan as X, isLessThanOrEqualTo as Y, isNan as _, isNanValue as $, isNum as ee, lt as ie, lte as se, multiply as te, power as re, subtract as ae, toBigNum as oe, toDecimalPlaces as ne, toInt as le, toLocaleString as me, toNum as ue, toString as pe, unFormatRate as ge } from "./math.js";
|
|
4
|
+
import { propTypes as fe } from "./vuePropTypes.js";
|
|
5
|
+
import { timeZoneOptions as he } from "./timeZone.js";
|
|
6
|
+
import { withInstall as ce } from "./withInstall.js";
|
|
7
|
+
import { d as Se, h as Te, e as xe, f as Be, g as De, b as Ie, a as Oe, c as Pe, r as Ue, i as ye, t as we } from "../chunks/index-CHtnAuFs.js";
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
F as BigNumber,
|
|
10
|
+
R as DOWN,
|
|
11
|
+
W as UP,
|
|
12
12
|
M as add,
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
Se as deepMerge,
|
|
14
|
+
Te as desensitization,
|
|
15
15
|
j as divide,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
A as eq,
|
|
17
|
+
xe as evalPro,
|
|
18
|
+
Be as filterInputNum,
|
|
19
|
+
G as formatRate,
|
|
20
|
+
De as generateFilterInputNumFn,
|
|
21
|
+
Ie as getRouterParams,
|
|
22
|
+
Oe as getWebsiteUrl,
|
|
23
|
+
H as gt,
|
|
24
|
+
V as gte,
|
|
25
|
+
Z as helper,
|
|
23
26
|
t as is,
|
|
24
27
|
r as isArray,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
k as isBigNum,
|
|
29
|
+
z as isBool,
|
|
30
|
+
a as isBoolean,
|
|
31
|
+
o as isClient,
|
|
29
32
|
n as isDate,
|
|
30
33
|
l as isDef,
|
|
31
34
|
m as isEdgeBrowser,
|
|
32
35
|
u as isElement,
|
|
33
36
|
p as isEmail,
|
|
34
37
|
g as isEmpty,
|
|
35
|
-
|
|
38
|
+
C as isEqualTo,
|
|
36
39
|
N as isFunction,
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
J as isGreaterThan,
|
|
41
|
+
K as isGreaterThanOrEqualTo,
|
|
39
42
|
f as isHtmlStr,
|
|
40
43
|
d as isInMobileBrowser,
|
|
41
|
-
|
|
44
|
+
Q as isInt,
|
|
42
45
|
h as isIp,
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
X as isLessThan,
|
|
47
|
+
Y as isLessThanOrEqualTo,
|
|
45
48
|
b as isMap,
|
|
46
|
-
|
|
49
|
+
_ as isNan,
|
|
50
|
+
$ as isNanValue,
|
|
47
51
|
c as isNull,
|
|
48
52
|
E as isNullAndUnDef,
|
|
49
53
|
S as isNullOrUnDef,
|
|
50
|
-
|
|
54
|
+
ee as isNum,
|
|
51
55
|
T as isNumber,
|
|
52
56
|
x as isObject,
|
|
53
57
|
B as isPromise,
|
|
@@ -59,22 +63,24 @@ export {
|
|
|
59
63
|
y as isUrl,
|
|
60
64
|
w as isValidPhoneNumber,
|
|
61
65
|
L as isWindow,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
66
|
+
q as isZhLang,
|
|
67
|
+
ie as lt,
|
|
68
|
+
se as lte,
|
|
69
|
+
te as multiply,
|
|
70
|
+
re as power,
|
|
71
|
+
fe as propTypes,
|
|
72
|
+
Pe as removeWhitespace,
|
|
73
|
+
Ue as renderHtmlStr,
|
|
74
|
+
ae as subtract,
|
|
75
|
+
he as timeZoneOptions,
|
|
76
|
+
oe as toBigNum,
|
|
77
|
+
ne as toDecimalPlaces,
|
|
78
|
+
le as toInt,
|
|
79
|
+
me as toLocaleString,
|
|
80
|
+
ue as toNum,
|
|
81
|
+
pe as toString,
|
|
82
|
+
ye as toStyleObject,
|
|
83
|
+
we as toStyleUnit,
|
|
84
|
+
ge as unFormatRate,
|
|
85
|
+
ce as withInstall
|
|
80
86
|
};
|
package/dist/utils/math.d.ts
CHANGED
|
@@ -105,3 +105,9 @@ export declare function formatRate(val: BigNumValType, unit?: string): string;
|
|
|
105
105
|
* @example 22.22 => 0.2222
|
|
106
106
|
*/
|
|
107
107
|
export declare function unFormatRate(val: BigNumValType): number;
|
|
108
|
+
export declare const gt: typeof isGreaterThan;
|
|
109
|
+
export declare const gte: typeof isGreaterThanOrEqualTo;
|
|
110
|
+
export declare const lt: typeof isLessThan;
|
|
111
|
+
export declare const lte: typeof isLessThanOrEqualTo;
|
|
112
|
+
export declare const eq: typeof isEqualTo;
|
|
113
|
+
export declare const isNan: typeof isNanValue;
|