Comparing version 8.8.1 to 8.9.0
{ | ||
"name": "ka-table", | ||
"version": "8.8.1", | ||
"version": "8.9.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table", |
@@ -8,2 +8,3 @@ import { ChildAttributesItem, DispatchFunc } from '../types'; | ||
export declare function mergeProps<T = HTMLElement>(childElementAttributes: AllHTMLAttributes<T>, childProps: any, childCustomAttributes: ChildAttributesItem<any>, dispatch: DispatchFunc): React.AllHTMLAttributes<T>; | ||
export declare const getFilteredData: (props: ITableProps) => any[]; | ||
export declare const areAllFilteredRowsSelected: (props: ITableProps) => boolean; | ||
@@ -10,0 +11,0 @@ export declare const areAllVisibleRowsSelected: (props: ITableProps) => boolean; |
@@ -23,3 +23,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getDraggableProps = exports.groupPanelOnDrop = exports.prepareTableOptions = exports.getPagesCountByProps = exports.getSortedColumns = exports.getSelectedData = exports.isValid = exports.getData = exports.areAllVisibleRowsSelected = exports.areAllFilteredRowsSelected = exports.mergeProps = exports.extendProps = void 0; | ||
exports.getDraggableProps = exports.groupPanelOnDrop = exports.prepareTableOptions = exports.getPagesCountByProps = exports.getSortedColumns = exports.getSelectedData = exports.isValid = exports.getData = exports.areAllVisibleRowsSelected = exports.areAllFilteredRowsSelected = exports.getFilteredData = exports.mergeProps = exports.extendProps = void 0; | ||
var PagingUtils_1 = require("./PagingUtils"); | ||
@@ -73,2 +73,6 @@ var SortUtils_1 = require("./SortUtils"); | ||
; | ||
var getFilteredData = function (props) { | ||
return (0, FilterUtils_1.filterAndSearchData)(props); | ||
}; | ||
exports.getFilteredData = getFilteredData; | ||
var areAllFilteredRowsSelected = function (props) { | ||
@@ -75,0 +79,0 @@ var _a = props.selectedRows, selectedRows = _a === void 0 ? [] : _a, rowKeyField = props.rowKeyField; |
392310
8054