@bprogress/vue
Version:
Utility to create your own NProgress bar like with Vue
34 lines (33 loc) • 1.76 kB
TypeScript
import { ComputedRef, CSSProperties } from 'vue';
import { default as Bar } from './bar.vue';
import { default as Peg } from './peg.vue';
import { default as Spinner } from './spinner.vue';
import { default as SpinnerIcon } from './spinner-icon.vue';
import { ProgressProps } from '../types';
declare const attrs: {
[x: string]: unknown;
};
declare const computedClass: ComputedRef<string>;
declare const computedStyle: ComputedRef<CSSProperties | string>;
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_6: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
default?: (props: typeof __VLS_6) => any;
}>;
declare const __VLS_self: import('vue').DefineComponent<ProgressProps, {
Bar: typeof Bar;
Peg: typeof Peg;
Spinner: typeof Spinner;
SpinnerIcon: typeof SpinnerIcon;
attrs: typeof attrs;
computedClass: typeof computedClass;
computedStyle: typeof computedStyle;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const __VLS_component: import('vue').DefineComponent<ProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};