UNPKG

2.23 kBTypeScriptView Raw
1import { ExtractPropTypes } from 'vue';
2declare const ActionButtonProps: {
3 type: import("vue-types").VueTypeDef<"default" | "link" | "dashed" | "primary" | "ghost" | "danger">;
4 actionFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
5 default: (...args: any[]) => any;
6 };
7 closeModal: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
8 default: (...args: any[]) => any;
9 };
10 autofocus: import("vue-types").VueTypeValidableDef<boolean>;
11 buttonProps: import("vue-types").VueTypeValidableDef<{
12 [key: string]: any;
13 }> & {
14 default: () => {
15 [key: string]: any;
16 };
17 };
18};
19export declare type IActionButtonProps = ExtractPropTypes<typeof ActionButtonProps>;
20declare const _default: import("vue").DefineComponent<{
21 type: import("vue-types").VueTypeDef<"default" | "link" | "dashed" | "primary" | "ghost" | "danger">;
22 actionFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
23 default: (...args: any[]) => any;
24 };
25 closeModal: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
26 default: (...args: any[]) => any;
27 };
28 autofocus: import("vue-types").VueTypeValidableDef<boolean>;
29 buttonProps: import("vue-types").VueTypeValidableDef<{
30 [key: string]: any;
31 }> & {
32 default: () => {
33 [key: string]: any;
34 };
35 };
36}, {
37 timeoutId: any;
38}, {
39 loading: boolean;
40}, {}, {
41 onClick(): void;
42}, {
43 methods: {
44 setState(state: {}, callback: any): void;
45 __emit(...args: any[]): void;
46 };
47}, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
48 actionFn: (...args: any[]) => any;
49 closeModal: (...args: any[]) => any;
50 buttonProps: {
51 [key: string]: any;
52 };
53} & {
54 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
55 autofocus?: boolean;
56}>, {
57 actionFn: (...args: any[]) => any;
58 closeModal: (...args: any[]) => any;
59 buttonProps: {
60 [key: string]: any;
61 };
62}>;
63export default _default;