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.
@@ -1,14 +1,13 @@
1
- import { defineComponent as p, computed as g, onMounted as h, createVNode as b } from "vue";
2
- import { a as w } from "../chunks/index-CAW2nf5W.js";
3
- import { propTypes as l } from "../utils/vuePropTypes.js";
4
- import { withInstall as C } from "../utils/withInstall.js";
5
- import { isInMobileBrowser as i } from "../utils/is.js";
6
- function s(t, a) {
1
+ import { defineComponent as f, computed as p, onMounted as g, createVNode as h } from "vue";
2
+ import { a as w } from "../chunks/index-CHtnAuFs.js";
3
+ import { withInstall as b } from "../utils/withInstall.js";
4
+ import { isInMobileBrowser as l } from "../utils/is.js";
5
+ function u(t, a) {
7
6
  if (!t || !a) return;
8
7
  const c = encodeURIComponent(w()), r = encodeURIComponent(a), n = `https://oauth.telegram.org/auth?bot_id=${t}&origin=${c}&embed=1&request_access=write&return_to=${c}${r}`;
9
8
  window.location.href = n;
10
9
  }
11
- function _() {
10
+ function C() {
12
11
  const t = /[#\?\&]tgAuthResult=([A-Za-z0-9\-_=]*)$/;
13
12
  try {
14
13
  const a = window.location.hash.toString(), c = a.match(t);
@@ -22,83 +21,89 @@ function _() {
22
21
  return null;
23
22
  }
24
23
  }
25
- const T = {
26
- botId: l.number,
27
- toPath: l.string,
28
- defaultLoad: l.bool,
29
- getPopupContainer: l.funcType(),
30
- onCallback: l.funcType(),
31
- onRejectCallback: l.funcType()
32
- }, y = /* @__PURE__ */ p({
24
+ const _ = {
25
+ botId: Number,
26
+ toPath: String,
27
+ defaultLoad: Boolean,
28
+ getPopupContainer: {
29
+ type: Function
30
+ },
31
+ onCallback: {
32
+ type: Function
33
+ },
34
+ onRejectCallback: {
35
+ type: Function
36
+ }
37
+ }, y = /* @__PURE__ */ f({
33
38
  name: "TelegramAuth",
34
- toTelegramAuth: s,
35
- getTelegramAuthUrlParams: _,
36
- props: T,
39
+ toTelegramAuth: u,
40
+ getTelegramAuthUrlParams: C,
41
+ props: _,
37
42
  slots: Object,
38
43
  setup(t, {
39
44
  slots: a,
40
45
  expose: c
41
46
  }) {
42
- const r = g(() => ({
47
+ const r = p(() => ({
43
48
  id: t.botId,
44
49
  path: t.toPath
45
50
  }));
46
51
  function n() {
47
52
  return window?.Telegram?.Login?.auth;
48
53
  }
49
- function d() {
54
+ function m() {
50
55
  return t.getPopupContainer?.() || document.body;
51
56
  }
52
- function m() {
57
+ function s() {
53
58
  return new Promise((o) => {
54
59
  if (!document) {
55
60
  o(!1);
56
61
  return;
57
62
  }
58
- if (i() || n()) {
63
+ if (l() || n()) {
59
64
  o(!0);
60
65
  return;
61
66
  }
62
67
  const e = document.createElement("script");
63
- e.async = !0, e.defer = !0, e.src = "https://telegram.org/js/telegram-widget.js", d()?.appendChild?.(e), e.onload = () => {
68
+ e.async = !0, e.defer = !0, e.src = "https://telegram.org/js/telegram-widget.js", m()?.appendChild?.(e), e.onload = () => {
64
69
  o(!!n());
65
70
  }, e.onerror = () => {
66
71
  e.remove(), o(!1);
67
72
  };
68
73
  });
69
74
  }
70
- async function f() {
75
+ async function d() {
71
76
  const {
72
77
  id: o,
73
78
  path: e
74
79
  } = r.value;
75
- if (!i() && !await m()) {
76
- s(o || 0, e || "");
80
+ if (!l() && !await s()) {
81
+ u(o || 0, e || "");
77
82
  return;
78
83
  }
79
- if (i() || !n()) {
80
- s(o || 0, e || "");
84
+ if (l() || !n()) {
85
+ u(o || 0, e || "");
81
86
  return;
82
87
  }
83
88
  n()?.({
84
89
  bot_id: o,
85
90
  request_access: !0
86
- }, (u) => {
87
- u ? t.onCallback?.(u) : t.onRejectCallback?.();
91
+ }, (i) => {
92
+ i ? t.onCallback?.(i) : t.onRejectCallback?.();
88
93
  });
89
94
  }
90
- return h(() => {
91
- t.defaultLoad && m();
95
+ return g(() => {
96
+ t.defaultLoad && s();
92
97
  }), c({
93
- startCheck: f
94
- }), () => b("div", null, [a.default?.({
95
- startCheck: f
98
+ startCheck: d
99
+ }), () => h("div", null, [a.default?.({
100
+ startCheck: d
96
101
  })]);
97
102
  }
98
- }), I = C(y);
103
+ }), U = b(y);
99
104
  export {
100
- I as TelegramAuth,
101
- I as default,
102
- _ as getTelegramAuthUrlParams,
103
- s as toTelegramAuth
105
+ U as TelegramAuth,
106
+ U as default,
107
+ C as getTelegramAuthUrlParams,
108
+ u as toTelegramAuth
104
109
  };
package/dist/index.d.ts CHANGED
@@ -82,6 +82,12 @@ declare const JKVUEComps: {
82
82
  DOWN: 1;
83
83
  UP: 0;
84
84
  BigNumber: typeof BigNumber;
85
+ gt: typeof Utils.isGreaterThan;
86
+ gte: typeof Utils.isGreaterThanOrEqualTo;
87
+ lt: typeof Utils.isLessThan;
88
+ lte: typeof Utils.isLessThanOrEqualTo;
89
+ eq: typeof Utils.isEqualTo;
90
+ isNan: typeof Utils.isNanValue;
85
91
  propTypes: typeof import("./utils/vuePropTypes").default;
86
92
  timeZoneOptions: Utils.TimeZoneItem[];
87
93
  withInstall<T>(component: T, alias?: string): T & import("vue").Plugin;
@@ -97,147 +103,119 @@ declare const JKVUEComps: {
97
103
  useMemo<T>(getValue: () => T, condition: (import("vue").WatchSource<unknown> | object)[], shouldUpdate?: (prev: any[], next: any[]) => boolean): import("vue").Ref<T, T>;
98
104
  toGoogleAuth(clientId: string, redirectUri: string): void;
99
105
  GoogleAuth: {
100
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
101
- clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
102
- default: string;
106
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Partial<import("vue").ExtractPropTypes<{
107
+ clientId: StringConstructor;
108
+ redirectUri: StringConstructor;
109
+ defaultLoad: BooleanConstructor;
110
+ getPopupContainer: {
111
+ type: import("vue").PropType<() => HTMLElement | Element>;
103
112
  };
104
- redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
105
- default: string;
113
+ onCallback: {
114
+ type: import("vue").PropType<(data: {
115
+ code: string;
116
+ }) => void>;
106
117
  };
107
- defaultLoad: import("vue-types").VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<boolean>>;
108
- getPopupContainer: import("vue-types").VueTypeValidableDef<() => HTMLElement | Element, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => HTMLElement | Element>>;
109
- onCallback: import("vue-types").VueTypeValidableDef<(data: {
110
- code: string;
111
- }) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(data: {
112
- code: string;
113
- }) => void>>;
114
- onRejectCallback: import("vue-types").VueTypeValidableDef<(error: any) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(error: any) => void>>;
115
- }>> & Readonly<{}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
116
- clientId: string;
117
- redirectUri: string;
118
- }, true, {}, import("vue").SlotsType<{
119
- default: {
120
- startCheck: () => void;
118
+ onRejectCallback: {
119
+ type: import("vue").PropType<(error: any) => void>;
121
120
  };
122
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
121
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
123
122
  P: {};
124
123
  B: {};
125
124
  D: {};
126
125
  C: {};
127
126
  M: {};
128
127
  Defaults: {};
129
- }, Readonly<import("vue").ExtractPropTypes<{
130
- clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
131
- default: string;
128
+ }, Readonly<Partial<import("vue").ExtractPropTypes<{
129
+ clientId: StringConstructor;
130
+ redirectUri: StringConstructor;
131
+ defaultLoad: BooleanConstructor;
132
+ getPopupContainer: {
133
+ type: import("vue").PropType<() => HTMLElement | Element>;
132
134
  };
133
- redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
134
- default: string;
135
+ onCallback: {
136
+ type: import("vue").PropType<(data: {
137
+ code: string;
138
+ }) => void>;
135
139
  };
136
- defaultLoad: import("vue-types").VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<boolean>>;
137
- getPopupContainer: import("vue-types").VueTypeValidableDef<() => HTMLElement | Element, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => HTMLElement | Element>>;
138
- onCallback: import("vue-types").VueTypeValidableDef<(data: {
139
- code: string;
140
- }) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(data: {
141
- code: string;
142
- }) => void>>;
143
- onRejectCallback: import("vue-types").VueTypeValidableDef<(error: any) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(error: any) => void>>;
144
- }>> & Readonly<{}>, () => JSX.Element, {}, {}, {}, {
145
- clientId: string;
146
- redirectUri: string;
147
- }>;
140
+ onRejectCallback: {
141
+ type: import("vue").PropType<(error: any) => void>;
142
+ };
143
+ }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
148
144
  __isFragment?: never;
149
145
  __isTeleport?: never;
150
146
  __isSuspense?: never;
151
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
152
- clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
153
- default: string;
147
+ } & import("vue").ComponentOptionsBase<Readonly<Partial<import("vue").ExtractPropTypes<{
148
+ clientId: StringConstructor;
149
+ redirectUri: StringConstructor;
150
+ defaultLoad: BooleanConstructor;
151
+ getPopupContainer: {
152
+ type: import("vue").PropType<() => HTMLElement | Element>;
154
153
  };
155
- redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
156
- default: string;
154
+ onCallback: {
155
+ type: import("vue").PropType<(data: {
156
+ code: string;
157
+ }) => void>;
157
158
  };
158
- defaultLoad: import("vue-types").VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<boolean>>;
159
- getPopupContainer: import("vue-types").VueTypeValidableDef<() => HTMLElement | Element, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => HTMLElement | Element>>;
160
- onCallback: import("vue-types").VueTypeValidableDef<(data: {
161
- code: string;
162
- }) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(data: {
163
- code: string;
164
- }) => void>>;
165
- onRejectCallback: import("vue-types").VueTypeValidableDef<(error: any) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(error: any) => void>>;
166
- }>> & Readonly<{}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
167
- clientId: string;
168
- redirectUri: string;
169
- }, {}, string, import("vue").SlotsType<{
170
- default: {
171
- startCheck: () => void;
159
+ onRejectCallback: {
160
+ type: import("vue").PropType<(error: any) => void>;
172
161
  };
173
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
162
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
174
163
  readonly toGoogleAuth: typeof Comps.toGoogleAuth;
175
164
  } & import("vue").Plugin;
176
165
  toTelegramAuth(botId: number, toPath: string): void;
177
166
  getTelegramAuthUrlParams(): Comps.TgUserData | null;
178
167
  TelegramAuth: {
179
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
180
- botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<number>> & {
181
- default: number;
168
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Partial<import("vue").ExtractPropTypes<{
169
+ botId: NumberConstructor;
170
+ toPath: StringConstructor;
171
+ defaultLoad: BooleanConstructor;
172
+ getPopupContainer: {
173
+ type: import("vue").PropType<() => HTMLElement | Element>;
182
174
  };
183
- toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
184
- default: string;
175
+ onCallback: {
176
+ type: import("vue").PropType<(user: Comps.TgUserData) => void>;
185
177
  };
186
- defaultLoad: import("vue-types").VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<boolean>>;
187
- getPopupContainer: import("vue-types").VueTypeValidableDef<() => HTMLElement | Element, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => HTMLElement | Element>>;
188
- onCallback: import("vue-types").VueTypeValidableDef<(user: Comps.TgUserData) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(user: Comps.TgUserData) => void>>;
189
- onRejectCallback: import("vue-types").VueTypeValidableDef<() => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => void>>;
190
- }>> & Readonly<{}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
191
- botId: number;
192
- toPath: string;
193
- }, true, {}, import("vue").SlotsType<{
194
- default: {
195
- startCheck: () => void;
178
+ onRejectCallback: {
179
+ type: import("vue").PropType<() => void>;
196
180
  };
197
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
181
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
198
182
  P: {};
199
183
  B: {};
200
184
  D: {};
201
185
  C: {};
202
186
  M: {};
203
187
  Defaults: {};
204
- }, Readonly<import("vue").ExtractPropTypes<{
205
- botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<number>> & {
206
- default: number;
188
+ }, Readonly<Partial<import("vue").ExtractPropTypes<{
189
+ botId: NumberConstructor;
190
+ toPath: StringConstructor;
191
+ defaultLoad: BooleanConstructor;
192
+ getPopupContainer: {
193
+ type: import("vue").PropType<() => HTMLElement | Element>;
194
+ };
195
+ onCallback: {
196
+ type: import("vue").PropType<(user: Comps.TgUserData) => void>;
207
197
  };
208
- toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
209
- default: string;
198
+ onRejectCallback: {
199
+ type: import("vue").PropType<() => void>;
210
200
  };
211
- defaultLoad: import("vue-types").VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<boolean>>;
212
- getPopupContainer: import("vue-types").VueTypeValidableDef<() => HTMLElement | Element, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => HTMLElement | Element>>;
213
- onCallback: import("vue-types").VueTypeValidableDef<(user: Comps.TgUserData) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(user: Comps.TgUserData) => void>>;
214
- onRejectCallback: import("vue-types").VueTypeValidableDef<() => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => void>>;
215
- }>> & Readonly<{}>, () => JSX.Element, {}, {}, {}, {
216
- botId: number;
217
- toPath: string;
218
- }>;
201
+ }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
219
202
  __isFragment?: never;
220
203
  __isTeleport?: never;
221
204
  __isSuspense?: never;
222
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
223
- botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<number>> & {
224
- default: number;
205
+ } & import("vue").ComponentOptionsBase<Readonly<Partial<import("vue").ExtractPropTypes<{
206
+ botId: NumberConstructor;
207
+ toPath: StringConstructor;
208
+ defaultLoad: BooleanConstructor;
209
+ getPopupContainer: {
210
+ type: import("vue").PropType<() => HTMLElement | Element>;
225
211
  };
226
- toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<string>> & {
227
- default: string;
212
+ onCallback: {
213
+ type: import("vue").PropType<(user: Comps.TgUserData) => void>;
228
214
  };
229
- defaultLoad: import("vue-types").VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<boolean>>;
230
- getPopupContainer: import("vue-types").VueTypeValidableDef<() => HTMLElement | Element, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => HTMLElement | Element>>;
231
- onCallback: import("vue-types").VueTypeValidableDef<(user: Comps.TgUserData) => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<(user: Comps.TgUserData) => void>>;
232
- onRejectCallback: import("vue-types").VueTypeValidableDef<() => void, import("node_modules/vue-types/dist/shared/vue-types.d8e57a80.mjs").b<() => void>>;
233
- }>> & Readonly<{}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
234
- botId: number;
235
- toPath: string;
236
- }, {}, string, import("vue").SlotsType<{
237
- default: {
238
- startCheck: () => void;
215
+ onRejectCallback: {
216
+ type: import("vue").PropType<() => void>;
239
217
  };
240
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
218
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
241
219
  readonly toTelegramAuth: typeof Comps.toTelegramAuth;
242
220
  readonly getTelegramAuthUrlParams: typeof Comps.getTelegramAuthUrlParams;
243
221
  } & import("vue").Plugin;
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { C as e } from "./chunks/index-DyiqKziC.js";
2
2
  import { H as s } from "./chunks/index-BXoUaF-m.js";
3
- import { U as r } from "./chunks/index-CAW2nf5W.js";
4
- import { d as n, h as p, e as u, f, g, b as d, a as h, c as x, r as N, i as T, t as b } from "./chunks/index-CAW2nf5W.js";
3
+ import { U as t } from "./chunks/index-CHtnAuFs.js";
4
+ import { d as n, h as p, e as u, f, g, b as d, a as h, c as N, r as x, i as T, t as b } from "./chunks/index-CHtnAuFs.js";
5
5
  import { GoogleAuth as U, toGoogleAuth as E } from "./components/GoogleAuth.js";
6
6
  import { TelegramAuth as P, getTelegramAuthUrlParams as S, toTelegramAuth as A } from "./components/TelegramAuth.js";
7
7
  import { copyTextToClipboard as C, useCopyToClipboard as D } from "./hooks/useCopyToClipboard.js";
8
8
  import { useFormKeypressEnter as O } from "./hooks/useFormKeypressEnter.js";
9
9
  import { useMemo as F } from "./hooks/useMemo.js";
10
- import { is as v, isArray as G, isBoolean as H, isClient as M, isDate as R, isDef as W, isEdgeBrowser as q, isElement as V, isEmail as j, isEmpty as k, isFunction as K, isHtmlStr as Z, isInMobileBrowser as z, isIp as J, isMap as Q, isNull as X, isNullAndUnDef as Y, isNullOrUnDef as _, isNumber as $, isObject as ee, isPromise as se, isPromiseLink as re, isRegExp as oe, isServer as te, isString as ie, isUnDef as ae, isUrl as me, isValidPhoneNumber as le, isWindow as ne, isZhLang as pe } from "./utils/is.js";
11
- import { BigNumber as fe, DOWN as ge, UP as de, add as he, divide as xe, formatRate as Ne, helper as Te, isBigNum as be, isBool as ce, isEqualTo as Ue, isGreaterThan as Ee, isGreaterThanOrEqualTo as ye, isInt as Pe, isLessThan as Se, isLessThanOrEqualTo as Ae, isNanValue as Be, isNum as Ce, multiply as De, power as Ie, subtract as Oe, toBigNum as we, toDecimalPlaces as Fe, toInt as Le, toLocaleString as ve, toNum as Ge, toString as He, unFormatRate as Me } from "./utils/math.js";
12
- import { propTypes as We } from "./utils/vuePropTypes.js";
13
- import { timeZoneOptions as Ve } from "./utils/timeZone.js";
14
- import { withInstall as ke } from "./utils/withInstall.js";
15
- const a = { ...e, ...s, ...r, Comps: e, Hooks: s, Utils: r };
10
+ import { is as q, isArray as v, isBoolean as G, isClient as H, isDate as M, isDef as R, isEdgeBrowser as W, isElement as V, isEmail as j, isEmpty as k, isFunction as K, isHtmlStr as Z, isInMobileBrowser as z, isIp as J, isMap as Q, isNull as X, isNullAndUnDef as Y, isNullOrUnDef as _, isNumber as $, isObject as ee, isPromise as se, isPromiseLink as te, isRegExp as re, isServer as oe, isString as ie, isUnDef as ae, isUrl as me, isValidPhoneNumber as le, isWindow as ne, isZhLang as pe } from "./utils/is.js";
11
+ import { BigNumber as fe, DOWN as ge, UP as de, add as he, divide as Ne, eq as xe, formatRate as Te, gt as be, gte as ce, helper as Ue, isBigNum as Ee, isBool as ye, isEqualTo as Pe, isGreaterThan as Se, isGreaterThanOrEqualTo as Ae, isInt as Be, isLessThan as Ce, isLessThanOrEqualTo as De, isNan as Ie, isNanValue as Oe, isNum as we, lt as Fe, lte as Le, multiply as qe, power as ve, subtract as Ge, toBigNum as He, toDecimalPlaces as Me, toInt as Re, toLocaleString as We, toNum as Ve, toString as je, unFormatRate as ke } from "./utils/math.js";
12
+ import { propTypes as Ze } from "./utils/vuePropTypes.js";
13
+ import { timeZoneOptions as Je } from "./utils/timeZone.js";
14
+ import { withInstall as Xe } from "./utils/withInstall.js";
15
+ const a = { ...e, ...s, ...t, Comps: e, Hooks: s, Utils: t };
16
16
  export {
17
17
  fe as BigNumber,
18
18
  ge as DOWN,
@@ -24,75 +24,81 @@ export {
24
24
  n as deepMerge,
25
25
  a as default,
26
26
  p as desensitization,
27
- xe as divide,
27
+ Ne as divide,
28
+ xe as eq,
28
29
  u as evalPro,
29
30
  f as filterInputNum,
30
- Ne as formatRate,
31
+ Te as formatRate,
31
32
  g as generateFilterInputNumFn,
32
33
  d as getRouterParams,
33
34
  S as getTelegramAuthUrlParams,
34
35
  h as getWebsiteUrl,
35
- Te as helper,
36
- v as is,
37
- G as isArray,
38
- be as isBigNum,
39
- ce as isBool,
40
- H as isBoolean,
41
- M as isClient,
42
- R as isDate,
43
- W as isDef,
44
- q as isEdgeBrowser,
36
+ be as gt,
37
+ ce as gte,
38
+ Ue as helper,
39
+ q as is,
40
+ v as isArray,
41
+ Ee as isBigNum,
42
+ ye as isBool,
43
+ G as isBoolean,
44
+ H as isClient,
45
+ M as isDate,
46
+ R as isDef,
47
+ W as isEdgeBrowser,
45
48
  V as isElement,
46
49
  j as isEmail,
47
50
  k as isEmpty,
48
- Ue as isEqualTo,
51
+ Pe as isEqualTo,
49
52
  K as isFunction,
50
- Ee as isGreaterThan,
51
- ye as isGreaterThanOrEqualTo,
53
+ Se as isGreaterThan,
54
+ Ae as isGreaterThanOrEqualTo,
52
55
  Z as isHtmlStr,
53
56
  z as isInMobileBrowser,
54
- Pe as isInt,
57
+ Be as isInt,
55
58
  J as isIp,
56
- Se as isLessThan,
57
- Ae as isLessThanOrEqualTo,
59
+ Ce as isLessThan,
60
+ De as isLessThanOrEqualTo,
58
61
  Q as isMap,
59
- Be as isNanValue,
62
+ Ie as isNan,
63
+ Oe as isNanValue,
60
64
  X as isNull,
61
65
  Y as isNullAndUnDef,
62
66
  _ as isNullOrUnDef,
63
- Ce as isNum,
67
+ we as isNum,
64
68
  $ as isNumber,
65
69
  ee as isObject,
66
70
  se as isPromise,
67
- re as isPromiseLink,
68
- oe as isRegExp,
69
- te as isServer,
71
+ te as isPromiseLink,
72
+ re as isRegExp,
73
+ oe as isServer,
70
74
  ie as isString,
71
75
  ae as isUnDef,
72
76
  me as isUrl,
73
77
  le as isValidPhoneNumber,
74
78
  ne as isWindow,
75
79
  pe as isZhLang,
76
- De as multiply,
77
- Ie as power,
78
- We as propTypes,
79
- x as removeWhitespace,
80
- N as renderHtmlStr,
81
- Oe as subtract,
82
- Ve as timeZoneOptions,
83
- we as toBigNum,
84
- Fe as toDecimalPlaces,
80
+ Fe as lt,
81
+ Le as lte,
82
+ qe as multiply,
83
+ ve as power,
84
+ Ze as propTypes,
85
+ N as removeWhitespace,
86
+ x as renderHtmlStr,
87
+ Ge as subtract,
88
+ Je as timeZoneOptions,
89
+ He as toBigNum,
90
+ Me as toDecimalPlaces,
85
91
  E as toGoogleAuth,
86
- Le as toInt,
87
- ve as toLocaleString,
88
- Ge as toNum,
89
- He as toString,
92
+ Re as toInt,
93
+ We as toLocaleString,
94
+ Ve as toNum,
95
+ je as toString,
90
96
  T as toStyleObject,
91
97
  b as toStyleUnit,
92
98
  A as toTelegramAuth,
93
- Me as unFormatRate,
99
+ ke as unFormatRate,
94
100
  D as useCopyToClipboard,
95
101
  O as useFormKeypressEnter,
96
102
  F as useMemo,
97
- ke as withInstall
103
+ Xe as withInstall
98
104
  };