@aplus-frontend/ui
Version:
44 lines (43 loc) • 1.72 kB
TypeScript
import { ApListExpose, ApListProps } from './interface';
import { Recordable } from '../type';
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
import { ApFormSearchFormExpose } from '..';
declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
expose(exposed: ShallowUnwrapRef<ApListExpose>): void;
attrs: any;
slots: {
header?(_: {
formIns: {
form: Ref< ApFormSearchFormExpose | undefined, ApFormSearchFormExpose | undefined>;
};
submit: () => void;
reset: () => void;
}): any;
empty?(_: {
loading: boolean;
}): any;
renderItem?(_: {
item: RecordType;
index: number;
}): any;
renderItem?(_: {
item: RecordType;
index: number;
}): any;
renderItem?(_: {
item: RecordType;
index: number;
}): any;
renderContent?(_: {
dataSource: RecordType[];
}): any;
};
emit: {};
}>) => VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};