element-plus
Version:
A Component Library for Vue 3
83 lines (82 loc) • 7.06 kB
TypeScript
export declare const ElProgress: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "line", unknown, "circle" | "line" | "dashboard", unknown>;
readonly percentage: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 0, unknown, unknown, unknown>;
readonly status: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "success" | "warning" | "exception", unknown>;
readonly indeterminate: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
readonly duration: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 3, unknown, unknown, unknown>;
readonly strokeWidth: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 6, unknown, unknown, unknown>;
readonly strokeLinecap: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<"round" | "inherit" | "butt" | "square">, "round", unknown, unknown, unknown>;
readonly textInside: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
readonly width: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 126, unknown, unknown, unknown>;
readonly showText: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
readonly color: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | ((percentage: number) => string) | {
color: string;
percentage: number;
}[]>, "", unknown, unknown, unknown>;
readonly format: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<(percentage: number) => string>, (percentage: number) => string, unknown, unknown, unknown>;
}, {
ns: {
namespace: import("vue").ComputedRef<string>;
b: (blockSuffix?: string) => string;
e: (element?: string | undefined) => string;
m: (modifier?: string | undefined) => string;
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
em: (element?: string | undefined, modifier?: string | undefined) => string;
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
is: {
(name: string, state: boolean | undefined): string;
(name: string): string;
};
};
barStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
relativeStrokeWidth: import("vue").ComputedRef<string>;
radius: import("vue").ComputedRef<number>;
trackPath: import("vue").ComputedRef<string>;
perimeter: import("vue").ComputedRef<number>;
rate: import("vue").ComputedRef<1 | 0.75>;
strokeDashoffset: import("vue").ComputedRef<string>;
trailPathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
circlePathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
stroke: import("vue").ComputedRef<string>;
statusIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
progressTextSize: import("vue").ComputedRef<number>;
content: import("vue").ComputedRef<string>;
slotData: import("vue").ComputedRef<{
percentage: number;
}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "line", unknown, "circle" | "line" | "dashboard", unknown>;
readonly percentage: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 0, unknown, unknown, unknown>;
readonly status: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "success" | "warning" | "exception", unknown>;
readonly indeterminate: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
readonly duration: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 3, unknown, unknown, unknown>;
readonly strokeWidth: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 6, unknown, unknown, unknown>;
readonly strokeLinecap: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<"round" | "inherit" | "butt" | "square">, "round", unknown, unknown, unknown>;
readonly textInside: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
readonly width: import("element-plus/es/utils").BuildPropReturn<NumberConstructor, 126, unknown, unknown, unknown>;
readonly showText: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
readonly color: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | ((percentage: number) => string) | {
color: string;
percentage: number;
}[]>, "", unknown, unknown, unknown>;
readonly format: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<(percentage: number) => string>, (percentage: number) => string, unknown, unknown, unknown>;
}>>, {
type: import("element-plus/es/utils").BuildPropType<StringConstructor, "circle" | "line" | "dashboard", unknown>;
color: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | ((percentage: number) => string) | {
color: string;
percentage: number;
}[]>, unknown, unknown>;
width: number;
strokeLinecap: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<"round" | "inherit" | "butt" | "square">, unknown, unknown>;
strokeWidth: number;
indeterminate: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
format: (percentage: number) => string;
percentage: number;
status: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "success" | "warning" | "exception", unknown>;
duration: number;
textInside: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
showText: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
}>> & Record<string, any>;
export default ElProgress;
export * from './src/progress';