123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import type { ExtractPropTypes } from 'vue';
- export declare const buttonTypes: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
- export declare const buttonNativeTypes: readonly ["button", "submit", "reset"];
- export declare const buttonProps: {
- readonly size: {
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
- readonly required: false;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly disabled: BooleanConstructor;
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
- readonly icon: {
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
- readonly required: false;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "submit" | "reset", unknown, "button", boolean>;
- readonly loading: BooleanConstructor;
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
- readonly plain: BooleanConstructor;
- readonly text: BooleanConstructor;
- readonly link: BooleanConstructor;
- readonly bg: BooleanConstructor;
- readonly autofocus: BooleanConstructor;
- readonly round: BooleanConstructor;
- readonly circle: BooleanConstructor;
- readonly color: StringConstructor;
- readonly dark: BooleanConstructor;
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
- };
- export declare const buttonEmits: {
- click: (evt: MouseEvent) => boolean;
- };
- export declare type ButtonProps = ExtractPropTypes<typeof buttonProps>;
- export declare type ButtonEmits = typeof buttonEmits;
- export declare type ButtonType = ButtonProps['type'];
- export declare type ButtonNativeType = ButtonProps['nativeType'];
- export interface ButtonConfigContext {
- autoInsertSpace?: boolean;
- }
|