t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
130 lines (129 loc) • 4.06 kB
TypeScript
import type { UtilsSizeChangeInterface } from '../../_interface';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, CSSProperties, ComputedRef, Ref } from 'vue';
import type { ProgressType, ProgressTIsShowPercentageInterface as a } from './interface';
declare const _sfc_main: DefineComponent<{
readonly percentage: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly type: {
readonly type: PropType<ProgressType>;
readonly default: () => ProgressType;
readonly validator: (val: ProgressType) => boolean;
};
readonly square: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly linear: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly showText: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly textColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly width: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly height: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly stripe: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly textInside: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
}, {
prop: {
readonly percentage?: unknown;
readonly type?: unknown;
readonly square?: unknown;
readonly linear?: unknown;
readonly showText?: unknown;
readonly textColor?: unknown;
readonly color?: unknown;
readonly background?: unknown;
readonly width?: unknown;
readonly height?: unknown;
readonly stripe?: unknown;
readonly textInside?: unknown;
} & {
type: ProgressType;
background: string;
color: string;
width: string | number;
textColor: string;
height: string | number;
percentage: number;
square: boolean;
linear: boolean;
showText: boolean;
stripe: boolean;
textInside: boolean;
} & {};
isShow: Ref<boolean>;
fillRef: Ref<HTMLDivElement>;
progressStyle: ComputedRef<CSSProperties>;
progressFillStyle: ComputedRef<CSSProperties>;
isShowPercentage: a;
sizeChange: UtilsSizeChangeInterface;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly percentage?: unknown;
readonly type?: unknown;
readonly square?: unknown;
readonly linear?: unknown;
readonly showText?: unknown;
readonly textColor?: unknown;
readonly color?: unknown;
readonly background?: unknown;
readonly width?: unknown;
readonly height?: unknown;
readonly stripe?: unknown;
readonly textInside?: unknown;
} & {
type: ProgressType;
background: string;
color: string;
width: string | number;
textColor: string;
height: string | number;
percentage: number;
square: boolean;
linear: boolean;
showText: boolean;
stripe: boolean;
textInside: boolean;
} & {}>, {
type: ProgressType;
background: string;
color: string;
width: string | number;
textColor: string;
height: string | number;
percentage: number;
square: boolean;
linear: boolean;
showText: boolean;
stripe: boolean;
textInside: boolean;
}>;
export default _sfc_main;