@lekseek/ui
Version:
Vue 3 components library
101 lines (100 loc) • 2.78 kB
TypeScript
import { PropType } from 'vue';
declare const _default: import("vue").DefineComponent<{
identifier: {
type: PropType<number>;
default: number;
};
state: {
type: PropType<"error" | "loading" | "loaded" | "complete">;
required: true;
};
loadingText: {
type: PropType<string>;
default: string;
};
errorText: {
type: PropType<string>;
default: string;
};
completeText: {
type: PropType<string>;
default: string;
};
iconsSize: {
type: PropType<"lg" | "xs" | "sm" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x" | null>;
default: string;
};
completeIcon: {
type: PropType<string | null>;
default: null;
};
errorIcon: {
type: PropType<string | null>;
default: null;
};
tolerance: {
type: PropType<number>;
default: number;
};
}, unknown, unknown, {
isLoading(): boolean;
isComplete(): boolean;
isError(): boolean;
textOnLoading(): string;
textOnComplete(): string;
textOnError(): string;
}, {
handleScroll(): void;
reset(): void;
setIdentifierReset(): void;
setObserver(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scroll-to-end"[], "scroll-to-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
identifier: {
type: PropType<number>;
default: number;
};
state: {
type: PropType<"error" | "loading" | "loaded" | "complete">;
required: true;
};
loadingText: {
type: PropType<string>;
default: string;
};
errorText: {
type: PropType<string>;
default: string;
};
completeText: {
type: PropType<string>;
default: string;
};
iconsSize: {
type: PropType<"lg" | "xs" | "sm" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x" | null>;
default: string;
};
completeIcon: {
type: PropType<string | null>;
default: null;
};
errorIcon: {
type: PropType<string | null>;
default: null;
};
tolerance: {
type: PropType<number>;
default: number;
};
}>> & {
"onScroll-to-end"?: ((...args: any[]) => any) | undefined;
}, {
loadingText: string;
errorText: string;
identifier: number;
completeText: string;
iconsSize: "lg" | "xs" | "sm" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x" | null;
completeIcon: string | null;
errorIcon: string | null;
tolerance: number;
}>;
export default _default;