go-captcha-vue 1.0.1 → 2.0.0-beta.2
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/README.md +5 -1
- package/dist/assets/icons/arrows-icon.vue.d.ts +3 -1
- package/dist/assets/icons/btn-default-icon.vue.d.ts +3 -1
- package/dist/assets/icons/btn-error-icon.vue.d.ts +3 -1
- package/dist/assets/icons/btn-success-icon.vue.d.ts +3 -1
- package/dist/assets/icons/btn-warn-icon.vue.d.ts +3 -1
- package/dist/assets/icons/close-icon.vue.d.ts +3 -1
- package/dist/assets/icons/loading-icon.vue.d.ts +3 -1
- package/dist/assets/icons/refresh-icon.vue.d.ts +3 -1
- package/dist/components/button/index.vue.d.ts +17 -15
- package/dist/components/click/index.vue.d.ts +14 -13
- package/dist/components/rotate/index.vue.d.ts +13 -13
- package/dist/components/slide/index.vue.d.ts +13 -13
- package/dist/components/slide-region/index.vue.d.ts +13 -13
- package/dist/go-captcha-vue.es.js +808 -1300
- package/dist/go-captcha-vue.umd.js +8 -8
- package/dist/index.d.ts +2 -4
- package/dist/style.css +1 -1
- package/package.json +14 -28
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Go Captcha Vue Package
|
|
2
2
|
|
|
3
|
+
<p> ⭐️ If it helps you, please give a star.</p>
|
|
4
|
+
<img src="http://47.104.180.148/go-captcha/go-captcha-v2.jpg" alt="Poster">
|
|
5
|
+
|
|
6
|
+
|
|
3
7
|
<br/>
|
|
4
8
|
|
|
5
9
|
| Vue Version | Go Captcha Version |
|
|
@@ -219,7 +223,7 @@ export interface ButtonConfig {
|
|
|
219
223
|
|
|
220
224
|
<br/>
|
|
221
225
|
|
|
222
|
-
## 🍹 Buy me a coffee
|
|
226
|
+
## 🍹 Buy me a coffee
|
|
223
227
|
<div>
|
|
224
228
|
<a href="http://witkeycode.com/sponsor" target="_blank"><img src="http://47.104.180.148/payment-code/wxpay.png" alt="Buy Me A Coffee" style="width: 217px !important;" ></a>
|
|
225
229
|
<a href="http://witkeycode.com/sponsor" target="_blank"><img src="http://47.104.180.148/payment-code/alipay.png" alt="Buy Me A Coffee" style="width: 217px !important;" ></a>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
click: (...args: any[]) => void;
|
|
3
|
-
}, string, Readonly<import("vue").ExtractPropTypes<{}
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonConfig } from "./meta/config";
|
|
2
2
|
import { ButtonType } from "@/components/button/meta/types";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
4
|
config?: ButtonConfig | undefined;
|
|
5
5
|
clickEvent?: (() => void) | undefined;
|
|
6
6
|
disabled?: boolean | undefined;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
type: string;
|
|
13
13
|
title: string;
|
|
14
|
-
}>, {},
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
"click-event": (...args: any[]) => void;
|
|
16
|
-
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
17
17
|
config?: ButtonConfig | undefined;
|
|
18
18
|
clickEvent?: (() => void) | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
@@ -24,15 +24,25 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
type: string;
|
|
26
26
|
title: string;
|
|
27
|
-
}
|
|
27
|
+
}>>> & {
|
|
28
|
+
"onClick-event"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {
|
|
28
30
|
title: string;
|
|
29
31
|
config: ButtonConfig;
|
|
30
32
|
type: ButtonType;
|
|
31
33
|
disabled: boolean;
|
|
32
|
-
}>;
|
|
34
|
+
}, {}>;
|
|
33
35
|
export default _default;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_Prettify<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
46
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
47
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
48
|
} : {
|
|
@@ -40,11 +50,3 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
40
50
|
required: true;
|
|
41
51
|
};
|
|
42
52
|
};
|
|
43
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
declare type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClickConfig } from "./meta/config";
|
|
2
2
|
import { ClickData } from "./meta/data";
|
|
3
3
|
import { ClickEvent } from "./meta/event";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
5
|
config?: ClickConfig | undefined;
|
|
6
6
|
events?: ClickEvent | undefined;
|
|
7
7
|
data: ClickData;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
config: () => ClickConfig;
|
|
10
10
|
events: () => ClickEvent;
|
|
11
11
|
data: () => ClickData;
|
|
12
|
-
}>, {},
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
13
|
config?: ClickConfig | undefined;
|
|
14
14
|
events?: ClickEvent | undefined;
|
|
15
15
|
data: ClickData;
|
|
@@ -21,10 +21,19 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
data: ClickData;
|
|
22
22
|
config: ClickConfig;
|
|
23
23
|
events: ClickEvent;
|
|
24
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
25
|
export default _default;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
37
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
38
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
39
|
} : {
|
|
@@ -32,11 +41,3 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
32
41
|
required: true;
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
|
-
declare type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RotateConfig } from "./meta/config";
|
|
2
2
|
import { RotateData } from "./meta/data";
|
|
3
3
|
import { RotateEvent } from "./meta/event";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
5
|
config?: RotateConfig | undefined;
|
|
6
6
|
events?: RotateEvent | undefined;
|
|
7
7
|
data: RotateData;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
config: () => RotateConfig;
|
|
10
10
|
events: () => RotateEvent;
|
|
11
11
|
data: () => RotateData;
|
|
12
|
-
}>, {},
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
13
|
config?: RotateConfig | undefined;
|
|
14
14
|
events?: RotateEvent | undefined;
|
|
15
15
|
data: RotateData;
|
|
@@ -21,10 +21,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
data: RotateData;
|
|
22
22
|
config: RotateConfig;
|
|
23
23
|
events: RotateEvent;
|
|
24
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
25
|
export default _default;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
36
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
37
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
38
|
} : {
|
|
@@ -32,11 +40,3 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
32
40
|
required: true;
|
|
33
41
|
};
|
|
34
42
|
};
|
|
35
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
|
-
declare type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SlideConfig } from "./meta/config";
|
|
2
2
|
import { SlideData } from "./meta/data";
|
|
3
3
|
import { SlideEvent } from "./meta/event";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
5
|
config?: SlideConfig | undefined;
|
|
6
6
|
events?: SlideEvent | undefined;
|
|
7
7
|
data: SlideData;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
config: () => SlideConfig;
|
|
10
10
|
events: () => SlideEvent;
|
|
11
11
|
data: () => SlideData;
|
|
12
|
-
}>, {},
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
13
|
config?: SlideConfig | undefined;
|
|
14
14
|
events?: SlideEvent | undefined;
|
|
15
15
|
data: SlideData;
|
|
@@ -21,10 +21,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
data: SlideData;
|
|
22
22
|
config: SlideConfig;
|
|
23
23
|
events: SlideEvent;
|
|
24
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
25
|
export default _default;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
36
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
37
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
38
|
} : {
|
|
@@ -32,11 +40,3 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
32
40
|
required: true;
|
|
33
41
|
};
|
|
34
42
|
};
|
|
35
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
|
-
declare type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SlideRegionConfig } from "./meta/config";
|
|
2
2
|
import { SlideRegionData } from "./meta/data";
|
|
3
3
|
import { SlideRegionEvent } from "./meta/event";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
5
|
config?: SlideRegionConfig | undefined;
|
|
6
6
|
events?: SlideRegionEvent | undefined;
|
|
7
7
|
data: SlideRegionData;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
config: () => SlideRegionConfig;
|
|
10
10
|
events: () => SlideRegionEvent;
|
|
11
11
|
data: () => SlideRegionData;
|
|
12
|
-
}>, {},
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
13
|
config?: SlideRegionConfig | undefined;
|
|
14
14
|
events?: SlideRegionEvent | undefined;
|
|
15
15
|
data: SlideRegionData;
|
|
@@ -21,10 +21,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
data: SlideRegionData;
|
|
22
22
|
config: SlideRegionConfig;
|
|
23
23
|
events: SlideRegionEvent;
|
|
24
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
25
|
export default _default;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
36
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
37
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
38
|
} : {
|
|
@@ -32,11 +40,3 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
32
40
|
required: true;
|
|
33
41
|
};
|
|
34
42
|
};
|
|
35
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
|
-
declare type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|