You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
2.8 KiB
30 lines
2.8 KiB
|
2 years ago
|
import type { ExtractPropTypes } from 'vue';
|
||
|
|
import type Popconfirm from './popconfirm.vue';
|
||
|
|
export declare const popconfirmProps: {
|
||
|
|
readonly title: StringConstructor;
|
||
|
|
readonly confirmButtonText: StringConstructor;
|
||
|
|
readonly cancelButtonText: StringConstructor;
|
||
|
|
readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "primary", boolean>;
|
||
|
|
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "text", boolean>;
|
||
|
|
readonly icon: 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 iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
|
||
|
|
readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
||
|
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
||
|
|
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
||
|
|
readonly persistent: BooleanConstructor;
|
||
|
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
||
|
|
};
|
||
|
|
export declare const popconfirmEmits: {
|
||
|
|
/**
|
||
|
|
* @description triggers when click confirm button
|
||
|
|
*/
|
||
|
|
confirm: (e: MouseEvent) => boolean;
|
||
|
|
/**
|
||
|
|
* @description triggers when click cancel button
|
||
|
|
*/
|
||
|
|
cancel: (e: MouseEvent) => boolean;
|
||
|
|
};
|
||
|
|
export declare type PopconfirmEmits = typeof popconfirmEmits;
|
||
|
|
export declare type PopconfirmProps = ExtractPropTypes<typeof popconfirmProps>;
|
||
|
|
export declare type PopconfirmInstance = InstanceType<typeof Popconfirm>;
|