forked from fdzcxy212206413/gsl_grs
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.
71 lines
4.4 KiB
71 lines
4.4 KiB
import type { ExtractPropTypes } from 'vue';
|
|
import type Dialog from './dialog.vue';
|
|
declare type DoneFn = (cancel?: boolean) => void;
|
|
export declare type DialogBeforeCloseFn = (done: DoneFn) => void;
|
|
export declare const dialogProps: {
|
|
readonly appendToBody: BooleanConstructor;
|
|
readonly appendTo: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown, "body", boolean>;
|
|
readonly beforeClose: {
|
|
readonly type: import("vue").PropType<DialogBeforeCloseFn>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
readonly destroyOnClose: BooleanConstructor;
|
|
readonly closeOnClickModal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
readonly closeOnPressEscape: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
readonly lockScroll: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
readonly modal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
readonly openDelay: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
readonly closeDelay: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
readonly top: {
|
|
readonly type: import("vue").PropType<string>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
readonly modelValue: BooleanConstructor;
|
|
readonly modalClass: StringConstructor;
|
|
readonly width: {
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
readonly zIndex: {
|
|
readonly type: import("vue").PropType<number>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
readonly trapFocus: BooleanConstructor;
|
|
readonly headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
readonly center: BooleanConstructor;
|
|
readonly alignCenter: BooleanConstructor;
|
|
readonly closeIcon: {
|
|
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 draggable: BooleanConstructor;
|
|
readonly overflow: BooleanConstructor;
|
|
readonly fullscreen: BooleanConstructor;
|
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
readonly ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
};
|
|
export declare type DialogProps = ExtractPropTypes<typeof dialogProps>;
|
|
export declare const dialogEmits: {
|
|
open: () => boolean;
|
|
opened: () => boolean;
|
|
close: () => boolean;
|
|
closed: () => boolean;
|
|
"update:modelValue": (value: boolean) => boolean;
|
|
openAutoFocus: () => boolean;
|
|
closeAutoFocus: () => boolean;
|
|
};
|
|
export declare type DialogEmits = typeof dialogEmits;
|
|
export declare type DialogInstance = InstanceType<typeof Dialog>;
|
|
export {};
|