tass-ui
Version:
A high quality UI Toolkit built on Vue.js3+.
81 lines (80 loc) • 2.08 kB
TypeScript
import { AlertType } from './interface';
interface IiconMaps {
[key: string]: string;
}
declare const _sfc_main: import("vue").DefineComponent<{
type: {
type: StringConstructor;
default: () => string;
validator: (val: AlertType) => boolean;
};
title: {
type: StringConstructor;
default: string;
};
showIcon: {
type: BooleanConstructor;
default: boolean;
};
closeable: {
type: BooleanConstructor;
default: boolean;
};
content: {
type: StringConstructor;
default: string;
};
center: {
type: BooleanConstructor;
default: boolean;
};
}, {
isShow: import("vue").Ref<boolean>;
props: any;
emit: (event: "close", ...args: any[]) => void;
alertClassNames: import("vue").ComputedRef<({
[x: string]: string;
'is-center'?: undefined;
} | {
'is-center': boolean;
})[]>;
iconMaps: IiconMaps;
iconName: import("vue").ComputedRef<string>;
handltaslose: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
type: {
type: StringConstructor;
default: () => string;
validator: (val: AlertType) => boolean;
};
title: {
type: StringConstructor;
default: string;
};
showIcon: {
type: BooleanConstructor;
default: boolean;
};
closeable: {
type: BooleanConstructor;
default: boolean;
};
content: {
type: StringConstructor;
default: string;
};
center: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
onClose?: ((...args: any[]) => any) | undefined;
}, {
type: string;
title: string;
showIcon: boolean;
closeable: boolean;
content: string;
center: boolean;
}>;
export default _sfc_main;