y-design-ssr
Version:
SSR component library of YUI with Vue3
170 lines (169 loc) • 4.49 kB
TypeScript
import createDialog from './src/create';
declare const Dialog: import("../utils/withInstall").WithInstall<import("vue").DefineComponent<{
modelValue: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
title: {
type: StringConstructor;
default: string;
};
titleAlign: {
type: import("vue").PropType<import("../utils").Horizontal>;
default: string;
};
message: {
type: StringConstructor;
default: string;
};
messageAlign: {
type: import("vue").PropType<import("../utils").Horizontal>;
default: string;
};
isCloseOnClickMask: {
type: BooleanConstructor;
default: boolean;
};
showCloseIcon: {
type: BooleanConstructor;
default: boolean;
};
showCancelBtn: {
type: BooleanConstructor;
default: boolean;
};
cancelButtonText: {
type: StringConstructor;
default: string;
};
showConfirmBtn: {
type: BooleanConstructor;
default: boolean;
};
confirmButtonText: {
type: StringConstructor;
default: string;
};
beforeClose: {
type: import("vue").PropType<(...args: string[]) => boolean | Promise<boolean>>;
default: null;
};
callback: {
type: import("vue").PropType<(actionType: string) => void>;
default: null;
};
imgSrc: {
type: StringConstructor;
default: null;
};
circleImg: {
type: BooleanConstructor;
default: boolean;
};
teleport: {
type: StringConstructor;
default: string;
};
duration: {
type: NumberConstructor;
default: number;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "update:modelValue" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
title: {
type: StringConstructor;
default: string;
};
titleAlign: {
type: import("vue").PropType<import("../utils").Horizontal>;
default: string;
};
message: {
type: StringConstructor;
default: string;
};
messageAlign: {
type: import("vue").PropType<import("../utils").Horizontal>;
default: string;
};
isCloseOnClickMask: {
type: BooleanConstructor;
default: boolean;
};
showCloseIcon: {
type: BooleanConstructor;
default: boolean;
};
showCancelBtn: {
type: BooleanConstructor;
default: boolean;
};
cancelButtonText: {
type: StringConstructor;
default: string;
};
showConfirmBtn: {
type: BooleanConstructor;
default: boolean;
};
confirmButtonText: {
type: StringConstructor;
default: string;
};
beforeClose: {
type: import("vue").PropType<(...args: string[]) => boolean | Promise<boolean>>;
default: null;
};
callback: {
type: import("vue").PropType<(actionType: string) => void>;
default: null;
};
imgSrc: {
type: StringConstructor;
default: null;
};
circleImg: {
type: BooleanConstructor;
default: boolean;
};
teleport: {
type: StringConstructor;
default: string;
};
duration: {
type: NumberConstructor;
default: number;
};
}>>, {
title: string;
duration: number;
modelValue: boolean;
message: string;
teleport: string;
isCloseOnClickMask: boolean;
width: string | number;
titleAlign: import("../utils").Horizontal;
messageAlign: import("../utils").Horizontal;
showCloseIcon: boolean;
showCancelBtn: boolean;
cancelButtonText: string;
showConfirmBtn: boolean;
confirmButtonText: string;
beforeClose: (...args: string[]) => boolean | Promise<boolean>;
callback: (actionType: string) => void;
imgSrc: string;
circleImg: boolean;
}>>;
export default Dialog;
export { createDialog };