Comparing version 8.4.2 to 8.5.0
@@ -67,4 +67,4 @@ "use strict"; | ||
column.sortDirection && sortingEnabled && (React.createElement(SortIcon_1.default, { column: column, dispatch: dispatch, childComponents: childComponents })), | ||
(filteringMode === enums_1.FilteringMode.HeaderFilter) && column.isFilterable !== false && (React.createElement(HeaderFilterButton_1.default, { column: column, dispatch: dispatch, childComponents: childComponents })))); | ||
(filteringMode === enums_1.FilteringMode.HeaderFilter || filteringMode === enums_1.FilteringMode.FilterRowAndHeaderFilter) && column.isFilterable !== false && (React.createElement(HeaderFilterButton_1.default, { column: column, dispatch: dispatch, childComponents: childComponents })))); | ||
}; | ||
exports.default = HeadCellContent; |
@@ -55,5 +55,5 @@ "use strict"; | ||
groupedColumns.length ? React.createElement(GroupedColumnsRow_1.GroupedColumnsRow, __assign({}, props)) : (React.createElement(HeadRow_1.default, { areAllRowsSelected: areAllRowsSelected, childComponents: childComponents, columnReordering: columnReordering, columnResizing: columnResizing, columns: columns, dispatch: dispatch, groupColumnsCount: groupColumnsCount, groupPanel: groupPanel, sortingMode: sortingMode, filteringMode: filteringMode })), | ||
filteringMode === enums_1.FilteringMode.FilterRow && | ||
(filteringMode === enums_1.FilteringMode.FilterRow || filteringMode === enums_1.FilteringMode.FilterRowAndHeaderFilter) && | ||
(React.createElement(FilterRow_1.default, __assign({}, props, { dispatch: dispatch }))))))); | ||
}; | ||
exports.TableHead = TableHead; |
@@ -104,3 +104,4 @@ export declare enum PagingPosition { | ||
FilterRow = "filterRow", | ||
HeaderFilter = "headerFilter" | ||
HeaderFilter = "headerFilter", | ||
FilterRowAndHeaderFilter = "filterRowAndHeaderFilter" | ||
} | ||
@@ -107,0 +108,0 @@ export declare enum FilterOperatorName { |
21
enums.js
@@ -9,3 +9,3 @@ "use strict"; | ||
PagingPosition["TopAndBottom"] = "topAndBottom"; | ||
})(PagingPosition || (exports.PagingPosition = PagingPosition = {})); | ||
})(PagingPosition = exports.PagingPosition || (exports.PagingPosition = {})); | ||
var DataType; | ||
@@ -21,3 +21,3 @@ (function (DataType) { | ||
DataType["String"] = "string"; | ||
})(DataType || (exports.DataType = DataType = {})); | ||
})(DataType = exports.DataType || (exports.DataType = {})); | ||
var EditingMode; | ||
@@ -27,3 +27,3 @@ (function (EditingMode) { | ||
EditingMode["Cell"] = "cell"; | ||
})(EditingMode || (exports.EditingMode = EditingMode = {})); | ||
})(EditingMode = exports.EditingMode || (exports.EditingMode = {})); | ||
var ActionType; | ||
@@ -96,3 +96,3 @@ (function (ActionType) { | ||
ActionType["Validate"] = "Validate"; | ||
})(ActionType || (exports.ActionType = ActionType = {})); | ||
})(ActionType = exports.ActionType || (exports.ActionType = {})); | ||
var KeyboardEnum; | ||
@@ -102,3 +102,3 @@ (function (KeyboardEnum) { | ||
KeyboardEnum[KeyboardEnum["Enter"] = 13] = "Enter"; | ||
})(KeyboardEnum || (exports.KeyboardEnum = KeyboardEnum = {})); | ||
})(KeyboardEnum = exports.KeyboardEnum || (exports.KeyboardEnum = {})); | ||
var SortDirection; | ||
@@ -108,3 +108,3 @@ (function (SortDirection) { | ||
SortDirection["Descend"] = "descend"; | ||
})(SortDirection || (exports.SortDirection = SortDirection = {})); | ||
})(SortDirection = exports.SortDirection || (exports.SortDirection = {})); | ||
var SortingMode; | ||
@@ -119,3 +119,3 @@ (function (SortingMode) { | ||
SortingMode["MultipleTripleStateRemote"] = "multipleTripleStateRemote"; | ||
})(SortingMode || (exports.SortingMode = SortingMode = {})); | ||
})(SortingMode = exports.SortingMode || (exports.SortingMode = {})); | ||
var FilteringMode; | ||
@@ -126,3 +126,4 @@ (function (FilteringMode) { | ||
FilteringMode["HeaderFilter"] = "headerFilter"; | ||
})(FilteringMode || (exports.FilteringMode = FilteringMode = {})); | ||
FilteringMode["FilterRowAndHeaderFilter"] = "filterRowAndHeaderFilter"; | ||
})(FilteringMode = exports.FilteringMode || (exports.FilteringMode = {})); | ||
var FilterOperatorName; | ||
@@ -138,3 +139,3 @@ (function (FilterOperatorName) { | ||
FilterOperatorName["IsNotEmpty"] = "IsNotEmpty"; | ||
})(FilterOperatorName || (exports.FilterOperatorName = FilterOperatorName = {})); | ||
})(FilterOperatorName = exports.FilterOperatorName || (exports.FilterOperatorName = {})); | ||
var InsertRowPosition; | ||
@@ -144,2 +145,2 @@ (function (InsertRowPosition) { | ||
InsertRowPosition["after"] = "after"; | ||
})(InsertRowPosition || (exports.InsertRowPosition = InsertRowPosition = {})); | ||
})(InsertRowPosition = exports.InsertRowPosition || (exports.InsertRowPosition = {})); |
{ | ||
"name": "ka-table", | ||
"version": "8.4.2", | ||
"version": "8.5.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table", |
387255
7949