jk-vue-comps 0.1.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,248 @@
1
+ import * as comps from './components';
2
+ import * as utils from './utils';
3
+ export * from './components';
4
+ export * from './utils';
5
+ declare const JKVUEComps: {
6
+ Utils: {
7
+ is: typeof import("./utils/is");
8
+ propTypes: typeof import("./utils/vuePropTypes");
9
+ timeZone: typeof import("./utils/timeZone");
10
+ withInstall: typeof import("./utils/withInstall");
11
+ };
12
+ Comps: typeof comps;
13
+ evalPro(str: string): any;
14
+ filterInputNum(e: string | number, type?: "int" | "float", maxDecimal?: number): string;
15
+ generateHandleInputFn<T extends object, K extends keyof T>(obj: T, key: K, fn?: (() => void) | undefined, type?: "int" | "float", maxDecimal?: number): (e: ChangeEvent) => void;
16
+ renderHtmlStr(html: string): string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ [key: string]: any;
18
+ }>;
19
+ getWebsiteUrl(): string;
20
+ getRouterParams(): Recordable<any> | undefined;
21
+ is(val: unknown, type: string): boolean;
22
+ isDef<T_1 = unknown>(val?: T_1 | undefined): val is T_1;
23
+ isUnDef<T_2 = unknown>(val?: T_2 | undefined): val is T_2;
24
+ isObject(val: any): val is Record<any, any>;
25
+ isDate(val: unknown): val is Date;
26
+ isNull(val: unknown): val is null;
27
+ isNullAndUnDef(val: unknown): val is null | undefined;
28
+ isNullOrUnDef(val: unknown): val is null | undefined;
29
+ isNumber(val: unknown): val is number;
30
+ isString(val: unknown): val is string;
31
+ isFunction(val: unknown): val is Function;
32
+ isBoolean(val: unknown): val is boolean;
33
+ isRegExp(val: unknown): val is RegExp;
34
+ isArray(val: any): val is any[];
35
+ isEmpty<T_3 = unknown>(val: T_3): val is T_3;
36
+ isPromise<T_4 = any>(val: unknown): val is Promise<T_4>;
37
+ isPromiseLink<T_5>(it: T_5 | PromiseLike<T_5>): it is PromiseLike<T_5>;
38
+ isWindow(val: any): val is Window;
39
+ isElement(val: unknown): val is Element;
40
+ isMap(val: unknown): val is Map<any, any>;
41
+ isUrl(path: string): boolean;
42
+ isValidPhoneNumber(phoneNumber: string): boolean;
43
+ isInMobileBrowser(): false | RegExpMatchArray | null;
44
+ isZhLang(lang: string): boolean;
45
+ isEdgeBrowser(): boolean;
46
+ isServer: boolean;
47
+ isClient: boolean;
48
+ isIp: (ip: string) => boolean;
49
+ isEmail: (email: string) => boolean;
50
+ isHtmlStr: (str: string) => boolean;
51
+ propTypes: typeof import("./utils/vuePropTypes").default;
52
+ timeZoneOptions: utils.TimeZoneItem[];
53
+ withInstall<T_6>(component: T_6, alias?: string | undefined): T_6 & import("vue").Plugin;
54
+ toGoogleAuth(clientId: string, redirectUri: string): void;
55
+ GoogleAuth: {
56
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
57
+ clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
58
+ default: string;
59
+ };
60
+ redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
61
+ default: string;
62
+ };
63
+ }>> & {
64
+ onCallback?: ((_data: {
65
+ code: string;
66
+ }) => any) | undefined;
67
+ onRejectCallback?: ((_data: any) => any) | undefined;
68
+ }, {
69
+ domId: string;
70
+ isHidden: import("vue").Ref<boolean>;
71
+ startCheck: () => void;
72
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ callback: (_data: {
74
+ code: string;
75
+ }) => true;
76
+ rejectCallback: (_data: any) => true;
77
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
78
+ clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
79
+ default: string;
80
+ };
81
+ redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
82
+ default: string;
83
+ };
84
+ }>> & {
85
+ onCallback?: ((_data: {
86
+ code: string;
87
+ }) => any) | undefined;
88
+ onRejectCallback?: ((_data: any) => any) | undefined;
89
+ }, {
90
+ clientId: string;
91
+ redirectUri: string;
92
+ }, true, {}, import("vue").SlotsType<{
93
+ default: {
94
+ startCheck: () => void;
95
+ };
96
+ }>, {
97
+ P: {};
98
+ B: {};
99
+ D: {};
100
+ C: {};
101
+ M: {};
102
+ Defaults: {};
103
+ }, Readonly<import("vue").ExtractPropTypes<{
104
+ clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
105
+ default: string;
106
+ };
107
+ redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
108
+ default: string;
109
+ };
110
+ }>> & {
111
+ onCallback?: ((_data: {
112
+ code: string;
113
+ }) => any) | undefined;
114
+ onRejectCallback?: ((_data: any) => any) | undefined;
115
+ }, {
116
+ domId: string;
117
+ isHidden: import("vue").Ref<boolean>;
118
+ startCheck: () => void;
119
+ }, {}, {}, {}, {
120
+ clientId: string;
121
+ redirectUri: string;
122
+ }>;
123
+ __isFragment?: undefined;
124
+ __isTeleport?: undefined;
125
+ __isSuspense?: undefined;
126
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
127
+ clientId: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
128
+ default: string;
129
+ };
130
+ redirectUri: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
131
+ default: string;
132
+ };
133
+ }>> & {
134
+ onCallback?: ((_data: {
135
+ code: string;
136
+ }) => any) | undefined;
137
+ onRejectCallback?: ((_data: any) => any) | undefined;
138
+ }, {
139
+ domId: string;
140
+ isHidden: import("vue").Ref<boolean>;
141
+ startCheck: () => void;
142
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
143
+ callback: (_data: {
144
+ code: string;
145
+ }) => true;
146
+ rejectCallback: (_data: any) => true;
147
+ }, string, {
148
+ clientId: string;
149
+ redirectUri: string;
150
+ }, {}, string, import("vue").SlotsType<{
151
+ default: {
152
+ startCheck: () => void;
153
+ };
154
+ }>> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ({
155
+ readonly toGoogleAuth: typeof comps.toGoogleAuth;
156
+ } & import("vue").Plugin)));
157
+ toTelegramAuth(botId: number, toPath: string): void;
158
+ getTelegramAuthUrlParams(): any;
159
+ TelegramAuth: {
160
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
161
+ botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/types").ValidatorFunction<number>> & {
162
+ default: number;
163
+ };
164
+ toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
165
+ default: string;
166
+ };
167
+ }>> & {
168
+ onCallback?: ((_user: comps.TgUserData) => any) | undefined;
169
+ onRejectCallback?: (() => any) | undefined;
170
+ }, {
171
+ domId: string;
172
+ startCheck: () => void;
173
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
174
+ callback: (_user: comps.TgUserData) => true;
175
+ rejectCallback: () => true;
176
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
177
+ botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/types").ValidatorFunction<number>> & {
178
+ default: number;
179
+ };
180
+ toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
181
+ default: string;
182
+ };
183
+ }>> & {
184
+ onCallback?: ((_user: comps.TgUserData) => any) | undefined;
185
+ onRejectCallback?: (() => any) | undefined;
186
+ }, {
187
+ botId: number;
188
+ toPath: string;
189
+ }, true, {}, import("vue").SlotsType<{
190
+ default: {
191
+ startCheck: () => void;
192
+ };
193
+ }>, {
194
+ P: {};
195
+ B: {};
196
+ D: {};
197
+ C: {};
198
+ M: {};
199
+ Defaults: {};
200
+ }, Readonly<import("vue").ExtractPropTypes<{
201
+ botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/types").ValidatorFunction<number>> & {
202
+ default: number;
203
+ };
204
+ toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
205
+ default: string;
206
+ };
207
+ }>> & {
208
+ onCallback?: ((_user: comps.TgUserData) => any) | undefined;
209
+ onRejectCallback?: (() => any) | undefined;
210
+ }, {
211
+ domId: string;
212
+ startCheck: () => void;
213
+ }, {}, {}, {}, {
214
+ botId: number;
215
+ toPath: string;
216
+ }>;
217
+ __isFragment?: undefined;
218
+ __isTeleport?: undefined;
219
+ __isSuspense?: undefined;
220
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
221
+ botId: import("vue-types").VueTypeValidableDef<number, import("node_modules/vue-types/dist/types").ValidatorFunction<number>> & {
222
+ default: number;
223
+ };
224
+ toPath: import("vue-types").VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
225
+ default: string;
226
+ };
227
+ }>> & {
228
+ onCallback?: ((_user: comps.TgUserData) => any) | undefined;
229
+ onRejectCallback?: (() => any) | undefined;
230
+ }, {
231
+ domId: string;
232
+ startCheck: () => void;
233
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
234
+ callback: (_user: comps.TgUserData) => true;
235
+ rejectCallback: () => true;
236
+ }, string, {
237
+ botId: number;
238
+ toPath: string;
239
+ }, {}, string, import("vue").SlotsType<{
240
+ default: {
241
+ startCheck: () => void;
242
+ };
243
+ }>> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ({
244
+ readonly toTelegramAuth: typeof comps.toTelegramAuth;
245
+ readonly getTelegramAuthUrlParams: typeof comps.getTelegramAuthUrlParams;
246
+ } & import("vue").Plugin)));
247
+ };
248
+ export default JKVUEComps;
@@ -0,0 +1,24 @@
1
+ import * as is from './is';
2
+ import * as propTypes from './vuePropTypes';
3
+ import * as timeZone from './timeZone';
4
+ import * as withInstall from './withInstall';
5
+ export * from './is';
6
+ export * from './vuePropTypes';
7
+ export * from './timeZone';
8
+ export * from './withInstall';
9
+ export declare const Utils: {
10
+ is: typeof is;
11
+ propTypes: typeof propTypes;
12
+ timeZone: typeof timeZone;
13
+ withInstall: typeof withInstall;
14
+ };
15
+ export declare function evalPro(str: string): any;
16
+ export declare function filterInputNum(e: string | number, type?: 'int' | 'float', maxDecimal?: number): string;
17
+ /** 生成输入数字过滤函数 */
18
+ export declare function generateHandleInputFn<T extends object, K extends keyof T>(obj: T, key: K, fn?: () => void, type?: 'float' | 'int', maxDecimal?: number): (e: ChangeEvent) => void;
19
+ /** 渲染Html字符串片段 */
20
+ export declare function renderHtmlStr(html: string): string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }>;
23
+ export declare function getWebsiteUrl(): string;
24
+ export declare function getRouterParams(): Recordable<any> | undefined;
@@ -0,0 +1,59 @@
1
+ export declare function is(val: unknown, type: string): boolean;
2
+ /** 是否undefined */
3
+ export declare function isDef<T = unknown>(val?: T): val is T;
4
+ /** 是否不是undefined */
5
+ export declare function isUnDef<T = unknown>(val?: T): val is T;
6
+ /** 是否对象 */
7
+ export declare function isObject(val: any): val is Record<any, any>;
8
+ /** 是否Date */
9
+ export declare function isDate(val: unknown): val is Date;
10
+ /** 是否null */
11
+ export declare function isNull(val: unknown): val is null;
12
+ /** 是否null && 不是undefined */
13
+ export declare function isNullAndUnDef(val: unknown): val is null | undefined;
14
+ /** 是否null || 不是undefined */
15
+ export declare function isNullOrUnDef(val: unknown): val is null | undefined;
16
+ /** 是否数字(NaN也是数字) */
17
+ export declare function isNumber(val: unknown): val is number;
18
+ /** 是否字符串 */
19
+ export declare function isString(val: unknown): val is string;
20
+ /** 是否函数 */
21
+ export declare function isFunction(val: unknown): val is Function;
22
+ /** 是否布尔 */
23
+ export declare function isBoolean(val: unknown): val is boolean;
24
+ /** 是否正则 */
25
+ export declare function isRegExp(val: unknown): val is RegExp;
26
+ /** 是否数组 */
27
+ export declare function isArray(val: any): val is Array<any>;
28
+ /** 是否空 */
29
+ export declare function isEmpty<T = unknown>(val: T): val is T;
30
+ /** 是否Promise */
31
+ export declare function isPromise<T = any>(val: unknown): val is Promise<T>;
32
+ /** 是否PromiseLink */
33
+ export declare function isPromiseLink<T>(it: T | PromiseLike<T>): it is PromiseLike<T>;
34
+ /** 是否Window */
35
+ export declare function isWindow(val: any): val is Window;
36
+ /** 是否Element */
37
+ export declare function isElement(val: unknown): val is Element;
38
+ /** 是否Map */
39
+ export declare function isMap(val: unknown): val is Map<any, any>;
40
+ /** 是否服务端渲染,没有window对象 */
41
+ export declare const isServer: boolean;
42
+ /** 是否客户端,window对象不为undefined */
43
+ export declare const isClient: boolean;
44
+ /** 是否url */
45
+ export declare function isUrl(path: string): boolean;
46
+ /** 是否Ip */
47
+ export declare const isIp: (ip: string) => boolean;
48
+ /** 是否邮箱 */
49
+ export declare const isEmail: (email: string) => boolean;
50
+ /** 是否号码 */
51
+ export declare function isValidPhoneNumber(phoneNumber: string): boolean;
52
+ /** 是否移动端浏览器 */
53
+ export declare function isInMobileBrowser(): false | RegExpMatchArray | null;
54
+ /** 是否中文 */
55
+ export declare function isZhLang(lang: string): boolean;
56
+ /** 是否Edge浏览器 */
57
+ export declare function isEdgeBrowser(): boolean;
58
+ /** 是否html字符串 */
59
+ export declare const isHtmlStr: (str: string) => boolean;
@@ -0,0 +1,9 @@
1
+ /** 时区项类型 */
2
+ export type TimeZoneItem = {
3
+ label: string;
4
+ enLabel: string;
5
+ value: string;
6
+ tzNum: number;
7
+ };
8
+ /** 时区列表 */
9
+ export declare const timeZoneOptions: TimeZoneItem[];
@@ -0,0 +1,65 @@
1
+ import type { CSSProperties, VNode, VNodeChild } from 'vue';
2
+ import * as VueTypes from 'vue-types';
3
+ declare const VuePropTypes_base: {
4
+ new (): {};
5
+ defaults: Partial<import("node_modules/vue-types/dist/types").VueTypesDefaults>;
6
+ sensibleDefaults: boolean | Partial<import("node_modules/vue-types/dist/types").VueTypesDefaults>;
7
+ config: import("node_modules/vue-types/dist/types").VueTypesConfig;
8
+ readonly any: VueTypes.VueTypeValidableDef<any, import("node_modules/vue-types/dist/types").ValidatorFunction<any>>;
9
+ readonly func: VueTypes.VueTypeValidableDef<(...args: any[]) => any, import("node_modules/vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
10
+ default: (...args: any[]) => any;
11
+ };
12
+ readonly bool: VueTypes.VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/types").ValidatorFunction<boolean>>;
13
+ readonly string: VueTypes.VueTypeValidableDef<string, import("node_modules/vue-types/dist/types").ValidatorFunction<string>> & {
14
+ default: string;
15
+ };
16
+ readonly number: VueTypes.VueTypeValidableDef<number, import("node_modules/vue-types/dist/types").ValidatorFunction<number>> & {
17
+ default: number;
18
+ };
19
+ readonly array: VueTypes.VueTypeValidableDef<unknown[], import("node_modules/vue-types/dist/types").ValidatorFunction<unknown[]>> & {
20
+ default: () => unknown[];
21
+ };
22
+ readonly object: VueTypes.VueTypeValidableDef<{
23
+ [key: string]: any;
24
+ }, import("node_modules/vue-types/dist/types").ValidatorFunction<{
25
+ [key: string]: any;
26
+ }>> & {
27
+ default: () => {
28
+ [key: string]: any;
29
+ };
30
+ };
31
+ readonly integer: VueTypes.VueTypeDef<number> & {
32
+ default: number;
33
+ };
34
+ readonly symbol: VueTypes.VueTypeDef<symbol>;
35
+ readonly nullable: import("node_modules/vue-types/dist/types").PropOptions<null, null>;
36
+ readonly custom: typeof VueTypes.custom;
37
+ readonly oneOf: typeof VueTypes.oneOf;
38
+ readonly instanceOf: typeof VueTypes.instanceOf;
39
+ readonly oneOfType: typeof VueTypes.oneOfType;
40
+ readonly arrayOf: typeof VueTypes.arrayOf;
41
+ readonly objectOf: typeof VueTypes.objectOf;
42
+ readonly shape: typeof VueTypes.shape;
43
+ extend<T = any>(props: import("node_modules/vue-types/dist/types").ExtendProps<any> | import("node_modules/vue-types/dist/types").ExtendProps<any>[]): T;
44
+ utils: {
45
+ validate<T_1, U>(value: T_1, type: U): boolean;
46
+ toType<T_2 = unknown>(name: string, obj: import("node_modules/vue-types/dist/types").PropOptions<T_2, T_2>, validable?: boolean | undefined): VueTypes.VueTypeDef<T_2> | VueTypes.VueTypeValidableDef<T_2, import("node_modules/vue-types/dist/types").ValidatorFunction<T_2>>;
47
+ };
48
+ };
49
+ declare class VuePropTypes extends VuePropTypes_base {
50
+ static vueTypes: typeof VueTypes;
51
+ static anyType: <T = any>() => VueTypes.VueTypeValidableDef<T, import("node_modules/vue-types/dist/types").ValidatorFunction<T>>;
52
+ static stringType: <T extends string = string>() => VueTypes.VueTypeValidableDef<T, import("node_modules/vue-types/dist/types").ValidatorFunction<T>>;
53
+ static boolType: () => VueTypes.VueTypeValidableDef<boolean, import("node_modules/vue-types/dist/types").ValidatorFunction<boolean>>;
54
+ static numberType: <T extends number = number>() => VueTypes.VueTypeValidableDef<T, import("node_modules/vue-types/dist/types").ValidatorFunction<T>>;
55
+ static funcType: <T extends (...args: any[]) => any>() => VueTypes.VueTypeValidableDef<T, import("node_modules/vue-types/dist/types").ValidatorFunction<T>>;
56
+ static get style(): VueTypes.VueTypeValidableDef<string | CSSProperties, import("node_modules/vue-types/dist/types").ValidatorFunction<string | CSSProperties>>;
57
+ static get vueNode(): VueTypes.VueTypeValidableDef<VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
+ [key: string]: any;
59
+ }> | VNodeChild, import("node_modules/vue-types/dist/types").ValidatorFunction<VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
+ [key: string]: any;
61
+ }> | VNodeChild>>;
62
+ }
63
+ /** vue-types类型工具 */
64
+ export declare const propTypes: typeof VuePropTypes;
65
+ export default VuePropTypes;
@@ -0,0 +1,3 @@
1
+ import type { Plugin } from 'vue';
2
+ /** 得到install方法 */
3
+ export declare function withInstall<T>(component: T, alias?: string): T & Plugin;
@@ -0,0 +1,48 @@
1
+ import "vue";
2
+ import { i as e, n as r, l as t, v as o, d as n, a as l, C as m, s as p, y as f, o as u, k as g, D as b, A as d, x, t as U, e as w, f as D, g as N, h as E, c as I, p as P, q as h, m as y, u as B, j as S, b as c, w as v, z as A, r as H, B as O } from "../chunks/is-bvgc5qxU.js";
3
+ import { p as k } from "../chunks/vuePropTypes-zy5Iwonj.js";
4
+ import { t as F } from "../chunks/timeZone-CYGfhbdm.js";
5
+ import { w as M } from "../chunks/withInstall-b5j1glXj.js";
6
+ import { U as W, e as Z, f as q, g as z, b as T, a as V, r as G } from "../chunks/index-CA5i_Cgq.js";
7
+ export {
8
+ W as Utils,
9
+ Z as evalPro,
10
+ q as filterInputNum,
11
+ z as generateHandleInputFn,
12
+ T as getRouterParams,
13
+ V as getWebsiteUrl,
14
+ e as is,
15
+ r as isArray,
16
+ t as isBoolean,
17
+ o as isClient,
18
+ n as isDate,
19
+ l as isDef,
20
+ m as isEdgeBrowser,
21
+ p as isElement,
22
+ f as isEmail,
23
+ u as isEmpty,
24
+ g as isFunction,
25
+ b as isHtmlStr,
26
+ d as isInMobileBrowser,
27
+ x as isIp,
28
+ U as isMap,
29
+ w as isNull,
30
+ D as isNullAndUnDef,
31
+ N as isNullOrUnDef,
32
+ E as isNumber,
33
+ I as isObject,
34
+ P as isPromise,
35
+ h as isPromiseLink,
36
+ y as isRegExp,
37
+ B as isServer,
38
+ S as isString,
39
+ c as isUnDef,
40
+ v as isUrl,
41
+ A as isValidPhoneNumber,
42
+ H as isWindow,
43
+ O as isZhLang,
44
+ k as propTypes,
45
+ G as renderHtmlStr,
46
+ F as timeZoneOptions,
47
+ M as withInstall
48
+ };
@@ -0,0 +1,33 @@
1
+ import { i as a, n as e, l as r, v as n, d as l, a as o, C as t, s as m, y as u, o as f, k as p, D, A as b, x as d, t as g, e as E, f as N, g as w, h as B, c as U, p as c, q as h, m as x, u as y, j as A, b as P, w as S, z as j, r as k, B as v } from "../chunks/is-bvgc5qxU.js";
2
+ export {
3
+ a as is,
4
+ e as isArray,
5
+ r as isBoolean,
6
+ n as isClient,
7
+ l as isDate,
8
+ o as isDef,
9
+ t as isEdgeBrowser,
10
+ m as isElement,
11
+ u as isEmail,
12
+ f as isEmpty,
13
+ p as isFunction,
14
+ D as isHtmlStr,
15
+ b as isInMobileBrowser,
16
+ d as isIp,
17
+ g as isMap,
18
+ E as isNull,
19
+ N as isNullAndUnDef,
20
+ w as isNullOrUnDef,
21
+ B as isNumber,
22
+ U as isObject,
23
+ c as isPromise,
24
+ h as isPromiseLink,
25
+ x as isRegExp,
26
+ y as isServer,
27
+ A as isString,
28
+ P as isUnDef,
29
+ S as isUrl,
30
+ j as isValidPhoneNumber,
31
+ k as isWindow,
32
+ v as isZhLang
33
+ };
@@ -0,0 +1,4 @@
1
+ import { t as e } from "../chunks/timeZone-CYGfhbdm.js";
2
+ export {
3
+ e as timeZoneOptions
4
+ };
@@ -0,0 +1,6 @@
1
+ import "vue-types";
2
+ import { V as a, p as e } from "../chunks/vuePropTypes-zy5Iwonj.js";
3
+ export {
4
+ a as default,
5
+ e as propTypes
6
+ };
@@ -0,0 +1,4 @@
1
+ import { w as l } from "../chunks/withInstall-b5j1glXj.js";
2
+ export {
3
+ l as withInstall
4
+ };
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "jk-vue-comps",
3
+ "version": "0.1.0",
4
+ "description": "jk-vue-comps",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.js",
8
+ "types": "dist/types/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.js"
16
+ },
17
+ "./components": {
18
+ "import": "./dist/components/index.js",
19
+ "require": "./dist/components/index.js"
20
+ },
21
+ "./components/GoogleAuth": {
22
+ "import": "./dist/components/GoogleAuth.js",
23
+ "require": "./dist/components/GoogleAuth.js"
24
+ },
25
+ "./components/TelegramAuth": {
26
+ "import": "./dist/components/TelegramAuth.js",
27
+ "require": "./dist/components/TelegramAuth.js"
28
+ },
29
+ "./utils": {
30
+ "import": "./dist/utils/index.js",
31
+ "require": "./dist/utils/index.js"
32
+ },
33
+ "./utils/is": {
34
+ "import": "./dist/utils/is.js",
35
+ "require": "./dist/utils/is.js"
36
+ },
37
+ "./utils/vuePropTypes": {
38
+ "import": "./dist/utils/vuePropTypes.js",
39
+ "require": "./dist/utils/vuePropTypes.js"
40
+ },
41
+ "./utils/timeZone": {
42
+ "import": "./dist/utils/timeZone.js",
43
+ "require": "./dist/utils/timeZone.js"
44
+ },
45
+ "./utils/withInstall": {
46
+ "import": "./dist/utils/withInstall.js",
47
+ "require": "./dist/utils/withInstall.js"
48
+ },
49
+ "./types": {
50
+ "import": "./dist/types/index.d.ts",
51
+ "require": "./dist/types/index.d.ts"
52
+ }
53
+ },
54
+ "keywords": [
55
+ "vite5",
56
+ "vue3",
57
+ "tsx",
58
+ "JK",
59
+ "TelegramAuth",
60
+ "GoogleAuth"
61
+ ],
62
+ "scripts": {
63
+ "dev": "vite",
64
+ "build": "vue-tsc && vite build",
65
+ "preview": "vite preview",
66
+ "format": "prettier --write .",
67
+ "lint": "eslint --ext .js,.ts,.tsx,.vue src",
68
+ "lint-fix": "eslint --fix --ext .js,.ts,.tsx,.vue src"
69
+ },
70
+ "devDependencies": {
71
+ "@rollup/plugin-typescript": "^11.1.6",
72
+ "@types/node": "^20.14.2",
73
+ "@typescript-eslint/eslint-plugin": "^7.12.0",
74
+ "@typescript-eslint/parser": "^7.12.0",
75
+ "@vitejs/plugin-vue": "^5.0.4",
76
+ "@vitejs/plugin-vue-jsx": "^3.1.0",
77
+ "eslint": "^8.56.0",
78
+ "eslint-config-airbnb-base": "^15.0.0",
79
+ "eslint-config-prettier": "^9.1.0",
80
+ "eslint-plugin-import": "^2.29.1",
81
+ "eslint-plugin-prettier": "^5.1.3",
82
+ "eslint-plugin-vue": "^9.20.0",
83
+ "prettier": "^3.1.1",
84
+ "tslib": "^2.6.2",
85
+ "typescript": "^5.2.2",
86
+ "vite": "^5.2.0",
87
+ "vue": "^3.4.21",
88
+ "vue-tsc": "^2.0.6",
89
+ "vue-types": "^5.1.2"
90
+ }
91
+ }