UNPKG

@minto-ai/mt-ui

Version:

UI组件库

198 lines (197 loc) 6.24 kB
declare function endError(): void; declare function endSuccess(data: Array<any>, totalSize: number): Promise<void>; declare function resetUpScroll(): Promise<void>; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ default: any; empty: any; }> & { default: any; empty: any; }; refs: { containerRef: HTMLDivElement; contentRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly modelValue: { readonly type: ArrayConstructor; readonly default: () => never[]; }; readonly height: { readonly type: import('vue').PropType<number | string>; readonly validator: (value: number | string) => boolean; readonly default: "100%"; }; readonly upScrollPageNum: { readonly type: NumberConstructor; readonly default: 1; }; readonly upScrollPageSize: { readonly type: NumberConstructor; readonly default: 10; }; readonly upScrollEnabled: { readonly type: BooleanConstructor; readonly default: true; }; readonly upScrollImmediate: { readonly type: BooleanConstructor; readonly default: true; }; readonly scrollEventDelay: { readonly type: NumberConstructor; readonly default: 30; }; readonly upScrollDistance: { readonly type: NumberConstructor; readonly default: 75; }; readonly hideNoMoreByLimit: { readonly type: NumberConstructor; readonly default: 5; }; readonly loadingMoreLoadingText: { readonly type: StringConstructor; readonly default: "加载中..."; }; readonly loadingMoreNoMoreText: { readonly type: StringConstructor; readonly default: "没有更多了"; }; readonly emptyText: { readonly type: StringConstructor; readonly default: "没有数据哦~"; }; readonly emptyImg: { readonly type: StringConstructor; readonly default: ""; }; readonly emptyImageWidth: { readonly type: import('vue').PropType<number | string>; readonly validator: (value: number | string) => boolean; readonly default: 200; }; readonly queryMinDelay: { readonly type: NumberConstructor; readonly default: 0; }; readonly showBacktop: { readonly type: BooleanConstructor; readonly default: false; }; }>, { endSuccess: typeof endSuccess; endError: typeof endError; resetUpScroll: typeof resetUpScroll; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (args_0: any[]) => any; query: (args_0: { pageNum: number; pageSize: number; }) => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly modelValue: { readonly type: ArrayConstructor; readonly default: () => never[]; }; readonly height: { readonly type: import('vue').PropType<number | string>; readonly validator: (value: number | string) => boolean; readonly default: "100%"; }; readonly upScrollPageNum: { readonly type: NumberConstructor; readonly default: 1; }; readonly upScrollPageSize: { readonly type: NumberConstructor; readonly default: 10; }; readonly upScrollEnabled: { readonly type: BooleanConstructor; readonly default: true; }; readonly upScrollImmediate: { readonly type: BooleanConstructor; readonly default: true; }; readonly scrollEventDelay: { readonly type: NumberConstructor; readonly default: 30; }; readonly upScrollDistance: { readonly type: NumberConstructor; readonly default: 75; }; readonly hideNoMoreByLimit: { readonly type: NumberConstructor; readonly default: 5; }; readonly loadingMoreLoadingText: { readonly type: StringConstructor; readonly default: "加载中..."; }; readonly loadingMoreNoMoreText: { readonly type: StringConstructor; readonly default: "没有更多了"; }; readonly emptyText: { readonly type: StringConstructor; readonly default: "没有数据哦~"; }; readonly emptyImg: { readonly type: StringConstructor; readonly default: ""; }; readonly emptyImageWidth: { readonly type: import('vue').PropType<number | string>; readonly validator: (value: number | string) => boolean; readonly default: 200; }; readonly queryMinDelay: { readonly type: NumberConstructor; readonly default: 0; }; readonly showBacktop: { readonly type: BooleanConstructor; readonly default: false; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((args_0: any[]) => any) | undefined; onQuery?: ((args_0: { pageNum: number; pageSize: number; }) => any) | undefined; }>, { readonly height: string | number; readonly modelValue: unknown[]; readonly upScrollPageNum: number; readonly upScrollPageSize: number; readonly upScrollEnabled: boolean; readonly upScrollImmediate: boolean; readonly scrollEventDelay: number; readonly upScrollDistance: number; readonly hideNoMoreByLimit: number; readonly loadingMoreLoadingText: string; readonly loadingMoreNoMoreText: string; readonly emptyText: string; readonly emptyImg: string; readonly emptyImageWidth: string | number; readonly queryMinDelay: number; readonly showBacktop: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { containerRef: HTMLDivElement; contentRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };