mortise-tenon-design 0.0.9 → 0.0.11
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,34 +1,78 @@
|
|
1
1
|
export declare const MtButton: {
|
2
|
-
new (...args: any[]): import('vue').
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
mode: {
|
4
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
5
|
+
};
|
6
|
+
time: {
|
7
|
+
type: import('vue').PropType<string>;
|
8
|
+
default: string;
|
9
|
+
};
|
10
|
+
disabled: {
|
11
|
+
type: import('vue').PropType<boolean>;
|
12
|
+
};
|
13
|
+
}>> & {
|
3
14
|
onClick?: ((...args: any[]) => any) | undefined;
|
4
|
-
}
|
15
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
16
|
click: (...args: any[]) => void;
|
6
|
-
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('
|
17
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
18
|
+
mode: {
|
19
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
20
|
+
};
|
21
|
+
time: {
|
22
|
+
type: import('vue').PropType<string>;
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
disabled: {
|
26
|
+
type: import('vue').PropType<boolean>;
|
27
|
+
};
|
28
|
+
}>> & {
|
7
29
|
onClick?: ((...args: any[]) => any) | undefined;
|
8
|
-
}
|
30
|
+
}, {
|
9
31
|
time: string;
|
10
|
-
},
|
32
|
+
}, true, {}, {}, {
|
11
33
|
P: {};
|
12
34
|
B: {};
|
13
35
|
D: {};
|
14
36
|
C: {};
|
15
37
|
M: {};
|
16
38
|
Defaults: {};
|
17
|
-
}, Readonly<import('
|
39
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
40
|
+
mode: {
|
41
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
42
|
+
};
|
43
|
+
time: {
|
44
|
+
type: import('vue').PropType<string>;
|
45
|
+
default: string;
|
46
|
+
};
|
47
|
+
disabled: {
|
48
|
+
type: import('vue').PropType<boolean>;
|
49
|
+
};
|
50
|
+
}>> & {
|
18
51
|
onClick?: ((...args: any[]) => any) | undefined;
|
19
|
-
}
|
52
|
+
}, {}, {}, {}, {}, {
|
20
53
|
time: string;
|
21
54
|
}>;
|
22
55
|
__isFragment?: never;
|
23
56
|
__isTeleport?: never;
|
24
57
|
__isSuspense?: never;
|
25
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
58
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
59
|
+
mode: {
|
60
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
61
|
+
};
|
62
|
+
time: {
|
63
|
+
type: import('vue').PropType<string>;
|
64
|
+
default: string;
|
65
|
+
};
|
66
|
+
disabled: {
|
67
|
+
type: import('vue').PropType<boolean>;
|
68
|
+
};
|
69
|
+
}>> & {
|
26
70
|
onClick?: ((...args: any[]) => any) | undefined;
|
27
|
-
}
|
71
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
28
72
|
click: (...args: any[]) => void;
|
29
73
|
}, string, {
|
30
74
|
time: string;
|
31
|
-
}, {}, string, {}
|
75
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
32
76
|
$slots: {
|
33
77
|
default?(_: {}): any;
|
34
78
|
};
|
@@ -9,17 +9,38 @@ declare function __VLS_template(): {
|
|
9
9
|
attrs: Partial<{}>;
|
10
10
|
};
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<ButtonProps
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
13
|
+
time: string;
|
14
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
15
|
click: (...args: any[]) => void;
|
14
|
-
}, string, import('vue').PublicProps, Readonly<ButtonProps
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
17
|
+
time: string;
|
18
|
+
}>>> & {
|
15
19
|
onClick?: ((...args: any[]) => any) | undefined;
|
16
|
-
}
|
20
|
+
}, {
|
17
21
|
time: string;
|
18
|
-
}, {}
|
22
|
+
}, {}>;
|
19
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
20
24
|
export default _default;
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
27
|
+
default: D[K];
|
28
|
+
}> : P[K];
|
29
|
+
};
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
34
|
+
} : {
|
35
|
+
type: import('vue').PropType<T[K]>;
|
36
|
+
required: true;
|
37
|
+
};
|
38
|
+
};
|
21
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
22
40
|
new (): {
|
23
41
|
$slots: S;
|
24
42
|
};
|
25
43
|
};
|
44
|
+
type __VLS_PrettifyLocal<T> = {
|
45
|
+
[K in keyof T]: T[K];
|
46
|
+
} & {};
|
@@ -1,34 +1,78 @@
|
|
1
1
|
export declare const MtButton: {
|
2
|
-
new (...args: any[]): import('vue').
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
mode: {
|
4
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
5
|
+
};
|
6
|
+
time: {
|
7
|
+
type: import('vue').PropType<string>;
|
8
|
+
default: string;
|
9
|
+
};
|
10
|
+
disabled: {
|
11
|
+
type: import('vue').PropType<boolean>;
|
12
|
+
};
|
13
|
+
}>> & {
|
3
14
|
onClick?: ((...args: any[]) => any) | undefined;
|
4
|
-
}
|
15
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
16
|
click: (...args: any[]) => void;
|
6
|
-
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('
|
17
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
18
|
+
mode: {
|
19
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
20
|
+
};
|
21
|
+
time: {
|
22
|
+
type: import('vue').PropType<string>;
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
disabled: {
|
26
|
+
type: import('vue').PropType<boolean>;
|
27
|
+
};
|
28
|
+
}>> & {
|
7
29
|
onClick?: ((...args: any[]) => any) | undefined;
|
8
|
-
}
|
30
|
+
}, {
|
9
31
|
time: string;
|
10
|
-
},
|
32
|
+
}, true, {}, {}, {
|
11
33
|
P: {};
|
12
34
|
B: {};
|
13
35
|
D: {};
|
14
36
|
C: {};
|
15
37
|
M: {};
|
16
38
|
Defaults: {};
|
17
|
-
}, Readonly<import('
|
39
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
40
|
+
mode: {
|
41
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
42
|
+
};
|
43
|
+
time: {
|
44
|
+
type: import('vue').PropType<string>;
|
45
|
+
default: string;
|
46
|
+
};
|
47
|
+
disabled: {
|
48
|
+
type: import('vue').PropType<boolean>;
|
49
|
+
};
|
50
|
+
}>> & {
|
18
51
|
onClick?: ((...args: any[]) => any) | undefined;
|
19
|
-
}
|
52
|
+
}, {}, {}, {}, {}, {
|
20
53
|
time: string;
|
21
54
|
}>;
|
22
55
|
__isFragment?: never;
|
23
56
|
__isTeleport?: never;
|
24
57
|
__isSuspense?: never;
|
25
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
58
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
59
|
+
mode: {
|
60
|
+
type: import('vue').PropType<"debounce" | "throttle">;
|
61
|
+
};
|
62
|
+
time: {
|
63
|
+
type: import('vue').PropType<string>;
|
64
|
+
default: string;
|
65
|
+
};
|
66
|
+
disabled: {
|
67
|
+
type: import('vue').PropType<boolean>;
|
68
|
+
};
|
69
|
+
}>> & {
|
26
70
|
onClick?: ((...args: any[]) => any) | undefined;
|
27
|
-
}
|
71
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
28
72
|
click: (...args: any[]) => void;
|
29
73
|
}, string, {
|
30
74
|
time: string;
|
31
|
-
}, {}, string, {}
|
75
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
32
76
|
$slots: {
|
33
77
|
default?(_: {}): any;
|
34
78
|
};
|
@@ -9,17 +9,38 @@ declare function __VLS_template(): {
|
|
9
9
|
attrs: Partial<{}>;
|
10
10
|
};
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<ButtonProps
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
13
|
+
time: string;
|
14
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
15
|
click: (...args: any[]) => void;
|
14
|
-
}, string, import('vue').PublicProps, Readonly<ButtonProps
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
17
|
+
time: string;
|
18
|
+
}>>> & {
|
15
19
|
onClick?: ((...args: any[]) => any) | undefined;
|
16
|
-
}
|
20
|
+
}, {
|
17
21
|
time: string;
|
18
|
-
}, {}
|
22
|
+
}, {}>;
|
19
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
20
24
|
export default _default;
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
27
|
+
default: D[K];
|
28
|
+
}> : P[K];
|
29
|
+
};
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
34
|
+
} : {
|
35
|
+
type: import('vue').PropType<T[K]>;
|
36
|
+
required: true;
|
37
|
+
};
|
38
|
+
};
|
21
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
22
40
|
new (): {
|
23
41
|
$slots: S;
|
24
42
|
};
|
25
43
|
};
|
44
|
+
type __VLS_PrettifyLocal<T> = {
|
45
|
+
[K in keyof T]: T[K];
|
46
|
+
} & {};
|