import { FunctionN } from 'fp-ts/lib/function'; import { PropType, VNode, ExtractPropTypes } from 'vue'; import { Classes } from '../../utils/mergeClasses'; import { PaginationPosition, PaginationSize, PaginationVerticalPosition } from '../pagination/BPagination'; import { BTableColumn, BTableRow } from './shared'; export interface BTablePaginationInput { page?: number; 'onUpdate:page'?: FunctionN<[number], void>; perPage?: number; size?: PaginationSize; isSimple?: boolean; isRounded?: boolean; horizontalPosition?: PaginationPosition; verticalPosition?: PaginationVerticalPosition; } export declare const BTablePropsDefinition: { useMobileCards: { type: PropType; default: boolean; }; rows: { type: PropType; required: true; }; sortBy: { type: PropType | BTableColumn[]>; }; 'onUpdate:sortBy': { type: PropType | BTableColumn[]], void>>; }; sortType: { type: PropType; default: "Descending"; }; 'onUpdate:sortType': { type: PropType>; }; isSelectable: { type: PropType; default: boolean; }; selectedRows: { type: PropType; default: import("fp-ts/lib/function").Lazy; }; 'onUpdate:selectedRows': { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onSelectRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onUnselectRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; isDraggable: { type: BooleanConstructor; default: boolean; }; dropEffect: { type: PropType<"copy" | "link" | "none" | "move">; default: "move"; }; onDragstart: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragenter: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragover: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragleave: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragend: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDrop: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; isCheckable: { type: PropType; default: boolean; }; checkedRows: { type: PropType; default: never[]; }; 'onUpdate:checkedRows': { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; checkboxVariant: { type: PropType; default: "is-primary"; }; canCheckAllRows: { type: PropType; default: boolean; }; onCheckRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onUncheckRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; isBordered: { type: PropType; default: boolean; }; isStriped: { type: PropType; default: boolean; }; isNarrow: { type: PropType; default: boolean; }; isFullwidth: { type: PropType; default: boolean; }; size: { type: PropType; }; isHoverable: { type: PropType; default: boolean; }; isLoading: { type: PropType; default: boolean; }; isScrollable: { type: PropType; default: boolean; }; themeMap: { type: PropType; required: boolean; default: import("fp-ts/lib/function").Lazy; }; isThemeable: { type: PropType; required: boolean; default: boolean; }; columns: { type: PropType[]>; required: true; }; isFocusable: { type: PropType; default: boolean; }; mobileSortPlaceholder: { type: PropType; }; headerClasses: { type: PropType; default: undefined; }; onRowClick: { type: PropType>; required: boolean; }; pagination: { type: PropType; required: boolean; }; }; export interface BTableProps extends ExtractPropTypes { } declare const _default: import("vue").DefineComponent<{ useMobileCards: { type: PropType; default: boolean; }; rows: { type: PropType; required: true; }; sortBy: { type: PropType | BTableColumn[]>; }; 'onUpdate:sortBy': { type: PropType | BTableColumn[]], void>>; }; sortType: { type: PropType; default: "Descending"; }; 'onUpdate:sortType': { type: PropType>; }; isSelectable: { type: PropType; default: boolean; }; selectedRows: { type: PropType; default: import("fp-ts/lib/function").Lazy; }; 'onUpdate:selectedRows': { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onSelectRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onUnselectRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; isDraggable: { type: BooleanConstructor; default: boolean; }; dropEffect: { type: PropType<"copy" | "link" | "none" | "move">; default: "move"; }; onDragstart: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragenter: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragover: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragleave: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDragend: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onDrop: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; isCheckable: { type: PropType; default: boolean; }; checkedRows: { type: PropType; default: never[]; }; 'onUpdate:checkedRows': { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; checkboxVariant: { type: PropType; default: "is-primary"; }; canCheckAllRows: { type: PropType; default: boolean; }; onCheckRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; onUncheckRow: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; isBordered: { type: PropType; default: boolean; }; isStriped: { type: PropType; default: boolean; }; isNarrow: { type: PropType; default: boolean; }; isFullwidth: { type: PropType; default: boolean; }; size: { type: PropType; }; isHoverable: { type: PropType; default: boolean; }; isLoading: { type: PropType; default: boolean; }; isScrollable: { type: PropType; default: boolean; }; themeMap: { type: PropType; required: boolean; default: import("fp-ts/lib/function").Lazy; }; isThemeable: { type: PropType; required: boolean; default: boolean; }; columns: { type: PropType[]>; required: true; }; isFocusable: { type: PropType; default: boolean; }; mobileSortPlaceholder: { type: PropType; }; headerClasses: { type: PropType; default: undefined; }; onRowClick: { type: PropType>; required: boolean; }; pagination: { type: PropType; required: boolean; }; }, () => VNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ isThemeable: boolean; themeMap: import("../..").ThemeColorMap; columns: BTableColumn[]; isLoading: boolean; isFullwidth: boolean; isHoverable: boolean; isBordered: boolean; isSelectable: boolean; isStriped: boolean; isNarrow: boolean; isScrollable: boolean; useMobileCards: boolean; rows: BTableRow[]; sortType: import("./shared").SortType; isDraggable: boolean; isCheckable: boolean; checkedRows: BTableRow[]; "onUpdate:checkedRows": FunctionN<[BTableRow[]], void>; checkboxVariant: import("../..").ColorVariant; canCheckAllRows: boolean; onCheckRow: FunctionN<[BTableRow], void>; onUncheckRow: FunctionN<[BTableRow], void>; dropEffect: "copy" | "link" | "none" | "move"; onDragstart: FunctionN<[BTableRow, DragEvent, number], void>; onDragenter: FunctionN<[BTableRow, DragEvent, number], void>; onDragover: FunctionN<[BTableRow, DragEvent, number], void>; onDragleave: FunctionN<[BTableRow, DragEvent, number], void>; onDragend: FunctionN<[BTableRow, DragEvent, number], void>; onDrop: FunctionN<[BTableRow, DragEvent, number], void>; selectedRows: BTableRow[]; "onUpdate:selectedRows": FunctionN<[BTableRow[]], void>; onSelectRow: FunctionN<[BTableRow], void>; onUnselectRow: FunctionN<[BTableRow], void>; isFocusable: boolean; headerClasses: Classes; } & { size?: "" | "is-small" | "is-medium" | "is-large" | undefined; pagination?: boolean | BTablePaginationInput | undefined; sortBy?: BTableColumn | BTableColumn[] | undefined; "onUpdate:sortBy"?: FunctionN<[BTableColumn | BTableColumn[]], void> | undefined; "onUpdate:sortType"?: FunctionN<[import("./shared").SortType], void> | undefined; onRowClick?: FunctionN<[BTableRow, MouseEvent], void> | undefined; mobileSortPlaceholder?: string | undefined; }>, { isThemeable: boolean; themeMap: import("../..").ThemeColorMap; isLoading: boolean; isFullwidth: boolean; isHoverable: boolean; isBordered: boolean; isSelectable: boolean; isStriped: boolean; isNarrow: boolean; isScrollable: boolean; useMobileCards: boolean; sortType: import("./shared").SortType; isDraggable: boolean; isCheckable: boolean; checkedRows: BTableRow[]; "onUpdate:checkedRows": FunctionN<[BTableRow[]], void>; checkboxVariant: import("../..").ColorVariant; canCheckAllRows: boolean; onCheckRow: FunctionN<[BTableRow], void>; onUncheckRow: FunctionN<[BTableRow], void>; dropEffect: "copy" | "link" | "none" | "move"; onDragstart: FunctionN<[BTableRow, DragEvent, number], void>; onDragenter: FunctionN<[BTableRow, DragEvent, number], void>; onDragover: FunctionN<[BTableRow, DragEvent, number], void>; onDragleave: FunctionN<[BTableRow, DragEvent, number], void>; onDragend: FunctionN<[BTableRow, DragEvent, number], void>; onDrop: FunctionN<[BTableRow, DragEvent, number], void>; selectedRows: BTableRow[]; "onUpdate:selectedRows": FunctionN<[BTableRow[]], void>; onSelectRow: FunctionN<[BTableRow], void>; onUnselectRow: FunctionN<[BTableRow], void>; isFocusable: boolean; headerClasses: Classes; }>; export default _default;