UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

73 lines (72 loc) 2.4 kB
import type { RendererNode, RendererElement, ComputedOptions, MethodOptions, ExtractPropTypes, PropType, VNode, Component } from 'vue'; import type { DialogCallBackInterface } from './interface'; export declare const Props: { readonly visible: { readonly type: BooleanConstructor; readonly default: () => boolean; readonly required: true; }; readonly title: { readonly type: StringConstructor; readonly default: () => string; }; readonly appendToBody: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly width: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly fullscreen: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly showMask: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly maskClose: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly maskBlur: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly showCloseIcon: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly closeIcon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: () => Number; readonly validator: (val: number) => boolean; }; readonly open: { readonly type: PropType<DialogCallBackInterface>; readonly default: () => null; }; readonly openEnd: { readonly type: PropType<DialogCallBackInterface>; readonly default: () => null; }; readonly close: { readonly type: PropType<DialogCallBackInterface>; readonly default: () => null; }; readonly closeEnd: { readonly type: PropType<DialogCallBackInterface>; readonly default: () => null; }; }; export declare const Emits: { readonly 'update:visible': (visible: boolean) => boolean; }; export declare type DialogPropsType = ExtractPropTypes<typeof Props>;