UNPKG

@aplus-frontend/ui

Version:

45 lines (44 loc) 1.91 kB
import { VxeTableSlots } from 'vxe-table'; import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface'; import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue'; declare const _default: <RecordType>(__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> & ApGridProps<RecordType> & Partial<{}>> & PublicProps; expose(exposed: ShallowUnwrapRef<ApGridExpose>): void; attrs: any; slots: Readonly<VxeTableSlots<RecordType> & { /** * 自定义查询表单额外的区域 */ searchFormExtra?: any; /** * 自定义表格上部查询表单下部分区域的渲染 */ title?: (params: { selectedRows: RecordType[]; selectedRowKeys: (string | number)[]; shownColumns: ApGridColumnType<RecordType>[]; clearAll: () => void; }) => any; }> & VxeTableSlots<RecordType> & { /** * 自定义查询表单额外的区域 */ searchFormExtra?: any; /** * 自定义表格上部查询表单下部分区域的渲染 */ title?: (params: { selectedRows: RecordType[]; selectedRowKeys: (string | number)[]; shownColumns: ApGridColumnType<RecordType>[]; clearAll: () => void; }) => any; }; emit: {}; }>) => VNode & { __ctx?: Awaited<typeof __VLS_setup>; }; export default _default; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {};