@minto-ai/mt-ui
Version:
UI组件库
119 lines (118 loc) • 4.94 kB
TypeScript
export declare const MtTag: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
readonly validator: (value: string) => boolean;
readonly default: "default";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly size: {
type: import('vue').PropType<"normal" | "small" | "large">;
default: string;
validator: (value: "normal" | "small" | "large") => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly effect: {
readonly type: import('vue').PropType<"dark" | "light" | "plain">;
readonly validator: (value: string) => boolean;
readonly default: "light";
};
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
}, import('vue').PublicProps, {
readonly round: boolean;
readonly size: "normal" | "small" | "large";
readonly type: "default" | "error" | "primary" | "success" | "warning";
readonly effect: "dark" | "light" | "plain";
readonly closable: boolean;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
readonly validator: (value: string) => boolean;
readonly default: "default";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly size: {
type: import('vue').PropType<"normal" | "small" | "large">;
default: string;
validator: (value: "normal" | "small" | "large") => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly effect: {
readonly type: import('vue').PropType<"dark" | "light" | "plain">;
readonly validator: (value: string) => boolean;
readonly default: "light";
};
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, {
readonly round: boolean;
readonly size: "normal" | "small" | "large";
readonly type: "default" | "error" | "primary" | "success" | "warning";
readonly effect: "dark" | "light" | "plain";
readonly closable: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
readonly validator: (value: string) => boolean;
readonly default: "default";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly size: {
type: import('vue').PropType<"normal" | "small" | "large">;
default: string;
validator: (value: "normal" | "small" | "large") => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly effect: {
readonly type: import('vue').PropType<"dark" | "light" | "plain">;
readonly validator: (value: string) => boolean;
readonly default: "light";
};
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
}, string, {
readonly round: boolean;
readonly size: "normal" | "small" | "large";
readonly type: "default" | "error" | "primary" | "success" | "warning";
readonly effect: "dark" | "light" | "plain";
readonly closable: boolean;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: {
default?(_: {}): any;
};
}) & import('vue').Plugin;
export default MtTag;