@datametria/vue-components
Version:
DATAMETRIA Vue.js 3 Component Library with Multi-Brand Theming - 51 components + 10 composables with theming support, WCAG 2.2 AA, dark mode, responsive system
38 lines (37 loc) • 1.26 kB
TypeScript
type ProgressType = 'line' | 'circle' | 'dashboard';
type ProgressStatus = 'success' | 'warning' | 'error' | '';
interface Props {
percentage?: number;
type?: ProgressType;
status?: ProgressStatus;
strokeWidth?: number;
showText?: boolean;
textInside?: boolean;
width?: number;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
type: ProgressType;
status: ProgressStatus;
width: number;
strokeWidth: number;
percentage: number;
showText: boolean;
textInside: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};