import { PropType, SetupContext } from '@vue/composition-api'; import { CreateElement } from 'vue'; import { ScopedSlotReturnValue } from 'vue/types/vnode'; import { RowAndColFixedPosition } from './interface'; import { SkipSpansValue } from './hooks/useRowspanAndColspan'; import { PaginationProps } from '../pagination'; import { VirtualScrollConfig } from '../hooks/useVirtualScrollNew'; import { BaseTableCellParams, TableRowData, RowspanColspan, TdPrimaryTableProps, TdBaseTableProps } from './type'; import { AttachNode } from '../common'; export interface RenderTdExtra { rowAndColFixedPosition: RowAndColFixedPosition; columnLength: number; dataLength: number; cellSpans: RowspanColspan; cellEmptyContent: TdBaseTableProps['cellEmptyContent']; } export interface RenderEllipsisCellParams { cellNode: any; } export declare type TrCommonProps = Pick; export declare const TABLE_PROPS: readonly ["rowKey", "rowClassName", "columns", "fixedRows", "footData", "rowAttributes", "rowspanAndColspan", "scroll", "cellEmptyContent", "pagination", "attach", "onCellClick", "onRowClick", "onRowDblclick", "onRowMouseover", "onRowMousedown", "onRowMouseenter", "onRowMouseleave", "onRowMouseup"]; export declare type TrPropsKeys = (typeof TABLE_PROPS)[number]; export interface TrProps extends TrCommonProps { row: TableRowData; rowIndex: number; ellipsisOverlayClassName?: string; classPrefix?: string; dataLength?: number; rowAndColFixedPosition?: RowAndColFixedPosition; skipSpansMap?: Map; tableElm?: HTMLDivElement; scrollType?: string; isVirtual?: boolean; rowHeight?: number; trs?: Map; bufferSize?: number; tableContentElm?: HTMLDivElement; cellEmptyContent?: TdBaseTableProps['cellEmptyContent']; virtualConfig: VirtualScrollConfig; attach?: AttachNode; } export declare const ROW_LISTENERS: string[]; export declare function renderCell(params: BaseTableCellParams, slots: SetupContext['slots'], extra?: { cellEmptyContent?: TdBaseTableProps['cellEmptyContent']; pagination?: PaginationProps; }): any; declare const _default: import("vue").ComponentOptions; classes: import("@vue/composition-api").ComputedRef; trAttributes: import("@vue/composition-api").ComputedRef; tRowHeight: import("@vue/composition-api").ComputedRef; hasLazyLoadHolder: import("@vue/composition-api").ComputedRef; getTrListeners: (row: TableRowData, rowIndex: number) => { [eventName: string]: (e: MouseEvent) => void; }; }> & import("@vue/composition-api").Data, { renderEllipsisCell(h: CreateElement, cellParams: BaseTableCellParams, params: RenderEllipsisCellParams): JSX.Element; renderTd(h: CreateElement, params: BaseTableCellParams, extra: RenderTdExtra): JSX.Element; }, {}, { tableElm: {}; tableContentElm: {}; columns: { type: import("vue").PropType[]>; default: () => import("./type").BaseTableCol[]; }; scroll: { type: import("vue").PropType; }; pagination: { type: import("vue").PropType; }; attach: { type: import("vue").PropType; }; onCellClick: import("vue").PropType<(context: import("./type").BaseTableCellEventContext) => void>; cellEmptyContent: { type: import("vue").PropType) => ScopedSlotReturnValue)>; }; fixedRows: { type: import("vue").PropType; }; footData: { type: import("vue").PropType; default: () => TableRowData[]; }; rowAttributes: { type: import("vue").PropType>; }; rowClassName: { type: import("vue").PropType) => import("../common").ClassName)>; }; rowKey: { type: StringConstructor; default: string; required: boolean; }; rowspanAndColspan: { type: import("vue").PropType>; }; onRowClick: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowDblclick: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMousedown: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseenter: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseleave: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseover: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseup: import("vue").PropType<(context: import("./type").RowEventContext) => void>; row: PropType; rowIndex: NumberConstructor; ellipsisOverlayClassName: StringConstructor; classPrefix: StringConstructor; dataLength: NumberConstructor; rowAndColFixedPosition: PropType; skipSpansMap: PropType>; virtualConfig: PropType<{ visibleData: import("@vue/composition-api").Ref; translateY: import("@vue/composition-api").Ref; scrollHeight: import("@vue/composition-api").Ref; isVirtualScroll: import("@vue/composition-api").ComputedRef; handleScroll: () => void; handleRowMounted: (rowData: any) => void; scrollToElement: (p: import("../hooks/useVirtualScrollNew").ScrollToElementParams) => void; }>; }, import("@vue/composition-api").ExtractPropTypes<{ tableElm: {}; tableContentElm: {}; columns: { type: import("vue").PropType[]>; default: () => import("./type").BaseTableCol[]; }; scroll: { type: import("vue").PropType; }; pagination: { type: import("vue").PropType; }; attach: { type: import("vue").PropType; }; onCellClick: import("vue").PropType<(context: import("./type").BaseTableCellEventContext) => void>; cellEmptyContent: { type: import("vue").PropType) => ScopedSlotReturnValue)>; }; fixedRows: { type: import("vue").PropType; }; footData: { type: import("vue").PropType; default: () => TableRowData[]; }; rowAttributes: { type: import("vue").PropType>; }; rowClassName: { type: import("vue").PropType) => import("../common").ClassName)>; }; rowKey: { type: StringConstructor; default: string; required: boolean; }; rowspanAndColspan: { type: import("vue").PropType>; }; onRowClick: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowDblclick: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMousedown: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseenter: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseleave: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseover: import("vue").PropType<(context: import("./type").RowEventContext) => void>; onRowMouseup: import("vue").PropType<(context: import("./type").RowEventContext) => void>; row: PropType; rowIndex: NumberConstructor; ellipsisOverlayClassName: StringConstructor; classPrefix: StringConstructor; dataLength: NumberConstructor; rowAndColFixedPosition: PropType; skipSpansMap: PropType>; virtualConfig: PropType<{ visibleData: import("@vue/composition-api").Ref; translateY: import("@vue/composition-api").Ref; scrollHeight: import("@vue/composition-api").Ref; isVirtualScroll: import("@vue/composition-api").ComputedRef; handleScroll: () => void; handleRowMounted: (rowData: any) => void; scrollToElement: (p: import("../hooks/useVirtualScrollNew").ScrollToElementParams) => void; }>; }>> & Omit, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ columns: import("./type").BaseTableCol[]; footData: TableRowData[]; rowKey: string; } & { scroll?: import("../common").TScroll; classPrefix?: string; pagination?: unknown; attach?: AttachNode; rowIndex?: number; onCellClick?: (context: import("./type").BaseTableCellEventContext) => void; row?: unknown; virtualConfig?: { visibleData: import("@vue/composition-api").Ref; translateY: import("@vue/composition-api").Ref; scrollHeight: import("@vue/composition-api").Ref; isVirtualScroll: import("@vue/composition-api").ComputedRef; handleScroll: () => void; handleRowMounted: (rowData: any) => void; scrollToElement: (p: import("../hooks/useVirtualScrollNew").ScrollToElementParams) => void; }; cellEmptyContent?: string | ((h: CreateElement, props: BaseTableCellParams) => ScopedSlotReturnValue); fixedRows?: number[]; rowAttributes?: import("./type").TableRowAttributes; rowClassName?: unknown; rowspanAndColspan?: import("./type").TableRowspanAndColspanFunc; onRowClick?: (context: import("./type").RowEventContext) => void; onRowDblclick?: (context: import("./type").RowEventContext) => void; onRowMousedown?: (context: import("./type").RowEventContext) => void; onRowMouseenter?: (context: import("./type").RowEventContext) => void; onRowMouseleave?: (context: import("./type").RowEventContext) => void; onRowMouseover?: (context: import("./type").RowEventContext) => void; onRowMouseup?: (context: import("./type").RowEventContext) => void; skipSpansMap?: Map; ellipsisOverlayClassName?: string; dataLength?: number; tableElm?: unknown; tableContentElm?: unknown; rowAndColFixedPosition?: RowAndColFixedPosition; }, import("@vue/composition-api").ShallowUnwrapRef<{ trRef: any; tableColFixedClasses: { left: string; right: string; lastLeft: string; firstRight: string; leftShadow: string; rightShadow: string; }; tableDraggableClasses: { rowDraggable: string; rowHandlerDraggable: string; colDraggable: string; handle: string; ghost: string; chosen: string; dragging: string; dragSortTh: string; }; tdEllipsisClass: string; tableBaseClass: { table: (string | { [x: string]: boolean; })[]; columnResizableTable: string; overflowVisible: string; body: string; content: string; topContent: string; bottomContent: string; paginationWrap: string; tdLastRow: string; tdFirstCol: string; thCellInner: string; tableRowEdit: string; cellEditable: string; cellEditWrap: string; bordered: string; striped: string; hover: string; loading: string; rowspanAndColspan: string; empty: string; emptyRow: string; headerFixed: string; columnFixed: string; widthOverflow: string; multipleHeader: string; footerAffixed: string; horizontalBarAffixed: string; affixedHeader: string; affixedHeaderElm: string; affixedFooterElm: string; affixedFooterWrap: string; scrollbarDivider: string; fullHeight: string; resizeLine: string; obviousScrollbar: string; affixedHeaderWrap: string; }; tdAlignClasses: { left: string; right: string; center: string; }; trStyles: import("@vue/composition-api").ComputedRef<{ style: import("../common").Styles; classes: import("../common").ClassName; }>; classes: import("@vue/composition-api").ComputedRef; trAttributes: import("@vue/composition-api").ComputedRef; tRowHeight: import("@vue/composition-api").ComputedRef; hasLazyLoadHolder: import("@vue/composition-api").ComputedRef; getTrListeners: (row: TableRowData, rowIndex: number) => { [eventName: string]: (e: MouseEvent) => void; }; }>, import("@vue/composition-api").Data, {}, { renderEllipsisCell(h: CreateElement, cellParams: BaseTableCellParams, params: RenderEllipsisCellParams): JSX.Element; renderTd(h: CreateElement, params: BaseTableCellParams, extra: RenderTdExtra): JSX.Element; }, {}, {}, {}, { columns: import("./type").BaseTableCol[]; footData: TableRowData[]; rowKey: string; } & { scroll?: import("../common").TScroll; classPrefix?: string; pagination?: unknown; attach?: AttachNode; rowIndex?: number; onCellClick?: (context: import("./type").BaseTableCellEventContext) => void; row?: unknown; virtualConfig?: { visibleData: import("@vue/composition-api").Ref; translateY: import("@vue/composition-api").Ref; scrollHeight: import("@vue/composition-api").Ref; isVirtualScroll: import("@vue/composition-api").ComputedRef; handleScroll: () => void; handleRowMounted: (rowData: any) => void; scrollToElement: (p: import("../hooks/useVirtualScrollNew").ScrollToElementParams) => void; }; cellEmptyContent?: string | ((h: CreateElement, props: BaseTableCellParams) => ScopedSlotReturnValue); fixedRows?: number[]; rowAttributes?: import("./type").TableRowAttributes; rowClassName?: unknown; rowspanAndColspan?: import("./type").TableRowspanAndColspanFunc; onRowClick?: (context: import("./type").RowEventContext) => void; onRowDblclick?: (context: import("./type").RowEventContext) => void; onRowMousedown?: (context: import("./type").RowEventContext) => void; onRowMouseenter?: (context: import("./type").RowEventContext) => void; onRowMouseleave?: (context: import("./type").RowEventContext) => void; onRowMouseover?: (context: import("./type").RowEventContext) => void; onRowMouseup?: (context: import("./type").RowEventContext) => void; skipSpansMap?: Map; ellipsisOverlayClassName?: string; dataLength?: number; tableElm?: unknown; tableContentElm?: unknown; rowAndColFixedPosition?: RowAndColFixedPosition; }, { columns: import("./type").BaseTableCol[]; footData: TableRowData[]; rowKey: string; }, true>); export default _default;