@minto-ai/mt-ui
Version:
UI组件库
110 lines (109 loc) • 3.27 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
default: any;
}> & {
default: any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
type: {
type: import('vue').PropType<"circle" | "line" | "dashboard">;
default: "line";
values: readonly ["line", "circle", "dashboard"];
};
percentage: {
type: NumberConstructor;
default: number;
validator: (value: number) => boolean;
};
status: {
type: import('vue').PropType<"default" | "success" | "exception" | "warning">;
default: "default";
values: readonly ["default", "success", "exception", "warning"];
};
strokeWidth: {
type: NumberConstructor;
default: number;
};
showText: {
type: BooleanConstructor;
default: boolean;
};
textInside: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: NumberConstructor;
default: number;
};
strokeLinecap: {
type: import('vue').PropType<import('vue').SVGAttributes["stroke-linecap"]>;
default: string;
};
color: {
type: StringConstructor;
default: string;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
type: {
type: import('vue').PropType<"circle" | "line" | "dashboard">;
default: "line";
values: readonly ["line", "circle", "dashboard"];
};
percentage: {
type: NumberConstructor;
default: number;
validator: (value: number) => boolean;
};
status: {
type: import('vue').PropType<"default" | "success" | "exception" | "warning">;
default: "default";
values: readonly ["default", "success", "exception", "warning"];
};
strokeWidth: {
type: NumberConstructor;
default: number;
};
showText: {
type: BooleanConstructor;
default: boolean;
};
textInside: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: NumberConstructor;
default: number;
};
strokeLinecap: {
type: import('vue').PropType<import('vue').SVGAttributes["stroke-linecap"]>;
default: string;
};
color: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{}>, {
color: string;
type: "circle" | "line" | "dashboard";
width: number;
percentage: number;
status: "default" | "success" | "exception" | "warning";
strokeWidth: number;
showText: boolean;
textInside: boolean;
strokeLinecap: "inherit" | "round" | "square" | "butt" | undefined;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};