t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
454 lines (453 loc) • 16.8 kB
TypeScript
import type { PopupDirectionType, PopupCallbackInterface } from '../../popup';
import type { DialogCallBackInterface } from './interface';
import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, Component, ComputedOptions, MethodOptions, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, EmitsOptions, Ref } from 'vue';
import type { InstallType, HandleEventInterface, ClassListInterface, UtilsSizeChangeInterface, OrdinaryFunctionInterface as a } from '../../_interface';
declare const _sfc_main: DefineComponent<{
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;
};
}, {
prop: {
readonly visible?: unknown;
readonly title?: unknown;
readonly appendToBody?: unknown;
readonly width?: unknown;
readonly fullscreen?: unknown;
readonly showMask?: unknown;
readonly maskClose?: unknown;
readonly maskBlur?: unknown;
readonly showCloseIcon?: unknown;
readonly closeIcon?: unknown;
readonly zIndex?: unknown;
readonly open?: unknown;
readonly openEnd?: unknown;
readonly close?: unknown;
readonly closeEnd?: unknown;
} & {
close: DialogCallBackInterface;
title: string;
closeIcon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
closeEnd: DialogCallBackInterface;
width: string | number;
zIndex: number;
visible: boolean;
appendToBody: boolean;
fullscreen: boolean;
showMask: boolean;
maskClose: boolean;
maskBlur: boolean;
showCloseIcon: boolean;
open: DialogCallBackInterface;
openEnd: DialogCallBackInterface;
} & {};
emit: (event: "update:visible", visible: boolean) => void;
isVisible: Ref<boolean>;
closeDialog: a;
FCloseBtn: InstallType<DefineComponent<{
readonly size: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly icon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly click: {
readonly type: PropType<HandleEventInterface>;
readonly default: () => null;
};
}, {
prop: {
readonly size?: unknown;
readonly round?: unknown;
readonly disabled?: unknown;
readonly color?: unknown;
readonly icon?: unknown;
readonly click?: unknown;
} & {
round: boolean;
color: string;
size: string | number;
disabled: boolean;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
} & {};
handleClick: HandleEventInterface;
classList: ComputedRef<ClassListInterface>;
FSvgIcon: InstallType<DefineComponent<{
readonly icon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly size: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly click: {
readonly type: PropType<HandleEventInterface>;
readonly default: () => null;
};
}, {
prop: {
readonly icon?: unknown;
readonly color?: unknown;
readonly size?: unknown;
readonly click?: unknown;
} & {
color: string;
size: string | number;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
} & {};
handleClick: HandleEventInterface;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly icon?: unknown;
readonly color?: unknown;
readonly size?: unknown;
readonly click?: unknown;
} & {
color: string;
size: string | number;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
} & {}>, {
color: string;
size: string | number;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
}>>;
FIconCrossVue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly size?: unknown;
readonly round?: unknown;
readonly disabled?: unknown;
readonly color?: unknown;
readonly icon?: unknown;
readonly click?: unknown;
} & {
round: boolean;
color: string;
size: string | number;
disabled: boolean;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
} & {}>, {
round: boolean;
color: string;
size: string | number;
disabled: boolean;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
}>>;
FPopup: InstallType<DefineComponent<{
readonly visible: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
readonly required: true;
};
readonly appendToBody: {
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 zIndex: {
readonly type: NumberConstructor;
readonly default: () => Number;
readonly validator: (val: number) => boolean;
};
readonly maskBackground: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly maskOpacity: {
readonly type: NumberConstructor;
readonly default: () => null;
readonly validator: (val: number) => boolean;
};
readonly direction: {
readonly type: PropType<PopupDirectionType>;
readonly default: () => PopupDirectionType;
readonly validator: (val: PopupDirectionType) => boolean;
};
readonly popupSize: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly padding: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly open: {
readonly type: PropType<PopupCallbackInterface>;
readonly default: () => null;
};
readonly close: {
readonly type: PropType<PopupCallbackInterface>;
readonly default: () => null;
};
readonly openEnd: {
readonly type: PropType<PopupCallbackInterface>;
readonly default: () => null;
};
readonly closeEnd: {
readonly type: PropType<PopupCallbackInterface>;
readonly default: () => null;
};
}, {
prop: {
readonly visible?: unknown;
readonly appendToBody?: unknown;
readonly showMask?: unknown;
readonly maskClose?: unknown;
readonly maskBlur?: unknown;
readonly zIndex?: unknown;
readonly maskBackground?: unknown;
readonly maskOpacity?: unknown;
readonly direction?: unknown;
readonly popupSize?: unknown;
readonly padding?: unknown;
readonly open?: unknown;
readonly close?: unknown;
readonly openEnd?: unknown;
readonly closeEnd?: unknown;
} & {
close: PopupCallbackInterface;
closeEnd: PopupCallbackInterface;
padding: string | number;
zIndex: number;
visible: boolean;
appendToBody: boolean;
showMask: boolean;
maskClose: boolean;
maskBlur: boolean;
open: PopupCallbackInterface;
openEnd: PopupCallbackInterface;
maskBackground: string;
maskOpacity: number;
direction: PopupDirectionType;
popupSize: string | number;
} & {};
emit: (event: "update:visible", visible: boolean) => void;
closePopup: a;
handleOpen: PopupCallbackInterface;
handleOpenEnd: PopupCallbackInterface;
handleClose: PopupCallbackInterface;
handleCloseEnd: PopupCallbackInterface;
wrapperStyleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
readonly 'update:visible': (visible: boolean) => boolean;
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly visible?: unknown;
readonly appendToBody?: unknown;
readonly showMask?: unknown;
readonly maskClose?: unknown;
readonly maskBlur?: unknown;
readonly zIndex?: unknown;
readonly maskBackground?: unknown;
readonly maskOpacity?: unknown;
readonly direction?: unknown;
readonly popupSize?: unknown;
readonly padding?: unknown;
readonly open?: unknown;
readonly close?: unknown;
readonly openEnd?: unknown;
readonly closeEnd?: unknown;
} & {
close: PopupCallbackInterface;
closeEnd: PopupCallbackInterface;
padding: string | number;
zIndex: number;
visible: boolean;
appendToBody: boolean;
showMask: boolean;
maskClose: boolean;
maskBlur: boolean;
open: PopupCallbackInterface;
openEnd: PopupCallbackInterface;
maskBackground: string;
maskOpacity: number;
direction: PopupDirectionType;
popupSize: string | number;
} & {}> & {
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
}, {
close: PopupCallbackInterface;
closeEnd: PopupCallbackInterface;
padding: string | number;
zIndex: number;
appendToBody: boolean;
showMask: boolean;
maskClose: boolean;
maskBlur: boolean;
open: PopupCallbackInterface;
openEnd: PopupCallbackInterface;
maskBackground: string;
maskOpacity: number;
direction: PopupDirectionType;
popupSize: string | number;
}>>;
sizeChange: UtilsSizeChangeInterface;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
readonly 'update:visible': (visible: boolean) => boolean;
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly visible?: unknown;
readonly title?: unknown;
readonly appendToBody?: unknown;
readonly width?: unknown;
readonly fullscreen?: unknown;
readonly showMask?: unknown;
readonly maskClose?: unknown;
readonly maskBlur?: unknown;
readonly showCloseIcon?: unknown;
readonly closeIcon?: unknown;
readonly zIndex?: unknown;
readonly open?: unknown;
readonly openEnd?: unknown;
readonly close?: unknown;
readonly closeEnd?: unknown;
} & {
close: DialogCallBackInterface;
title: string;
closeIcon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
closeEnd: DialogCallBackInterface;
width: string | number;
zIndex: number;
visible: boolean;
appendToBody: boolean;
fullscreen: boolean;
showMask: boolean;
maskClose: boolean;
maskBlur: boolean;
showCloseIcon: boolean;
open: DialogCallBackInterface;
openEnd: DialogCallBackInterface;
} & {}> & {
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
}, {
close: DialogCallBackInterface;
title: string;
closeIcon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
closeEnd: DialogCallBackInterface;
width: string | number;
zIndex: number;
appendToBody: boolean;
fullscreen: boolean;
showMask: boolean;
maskClose: boolean;
maskBlur: boolean;
showCloseIcon: boolean;
open: DialogCallBackInterface;
openEnd: DialogCallBackInterface;
}>;
export default _sfc_main;