Comparing version 8.9.0 to 8.10.0
@@ -31,2 +31,5 @@ import { ActionType, InsertRowPosition } from './enums'; | ||
}; | ||
export declare const clearAllFilters: () => { | ||
type: ActionType; | ||
}; | ||
export declare const updateEditorValue: (rowKeyValue: any, columnKey: string, value: any) => { | ||
@@ -33,0 +36,0 @@ columnKey: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.clearSingleAction = exports.loadData = exports.hideColumn = exports.showColumn = exports.moveColumnToIndex = exports.insertColumn = exports.moveColumnBefore = exports.reorderColumns = exports.reorderRows = exports.resizeColumn = exports.updatePagesCount = exports.updatePageSize = exports.updatePageIndex = exports.updateRow = exports.saveRowEditors = exports.closeRowEditors = exports.openRowEditors = exports.saveNewRow = exports.hideDetailsRow = exports.showDetailsRow = exports.hideNewRow = exports.showNewRow = exports.hideLoading = exports.showLoading = exports.updateData = exports.updateGroupsExpanded = exports.selectRowsRange = exports.selectRows = exports.selectRow = exports.selectSingleRow = exports.selectAllVisibleRows = exports.selectAllFilteredRows = exports.selectAllRows = exports.search = exports.openEditor = exports.deselectRows = exports.deselectRow = exports.deselectAllVisibleRows = exports.deselectAllFilteredRows = exports.deselectAllRows = exports.deleteRow = exports.closeEditor = exports.updateSortDirection = exports.updateCellValue = exports.updateEditorValue = exports.updateFilterRowOperator = exports.updateFilterRowValue = exports.updateHeaderFilterPopupState = exports.updatePopupPosition = exports.updateHeaderFilterValues = void 0; | ||
exports.ungroupColumn = exports.groupColumn = exports.insertRow = exports.saveAllEditors = exports.openAllEditors = exports.validate = exports.updateTreeGroupsExpanded = exports.moveFocusedDown = exports.moveFocusedUp = exports.moveFocusedLeft = exports.moveFocusedRight = exports.setFocused = exports.clearFocused = exports.setSingleAction = void 0; | ||
exports.loadData = exports.hideColumn = exports.showColumn = exports.moveColumnToIndex = exports.insertColumn = exports.moveColumnBefore = exports.reorderColumns = exports.reorderRows = exports.resizeColumn = exports.updatePagesCount = exports.updatePageSize = exports.updatePageIndex = exports.updateRow = exports.saveRowEditors = exports.closeRowEditors = exports.openRowEditors = exports.saveNewRow = exports.hideDetailsRow = exports.showDetailsRow = exports.hideNewRow = exports.showNewRow = exports.hideLoading = exports.showLoading = exports.updateData = exports.updateGroupsExpanded = exports.selectRowsRange = exports.selectRows = exports.selectRow = exports.selectSingleRow = exports.selectAllVisibleRows = exports.selectAllFilteredRows = exports.selectAllRows = exports.search = exports.openEditor = exports.deselectRows = exports.deselectRow = exports.deselectAllVisibleRows = exports.deselectAllFilteredRows = exports.deselectAllRows = exports.deleteRow = exports.closeEditor = exports.updateSortDirection = exports.updateCellValue = exports.updateEditorValue = exports.clearAllFilters = exports.updateFilterRowOperator = exports.updateFilterRowValue = exports.updateHeaderFilterPopupState = exports.updatePopupPosition = exports.updateHeaderFilterValues = void 0; | ||
exports.ungroupColumn = exports.groupColumn = exports.insertRow = exports.saveAllEditors = exports.openAllEditors = exports.validate = exports.updateTreeGroupsExpanded = exports.moveFocusedDown = exports.moveFocusedUp = exports.moveFocusedLeft = exports.moveFocusedRight = exports.setFocused = exports.clearFocused = exports.setSingleAction = exports.clearSingleAction = void 0; | ||
var enums_1 = require("./enums"); | ||
@@ -36,2 +36,6 @@ var updateHeaderFilterValues = function (columnKey, item, checked) { return ({ | ||
exports.updateFilterRowOperator = updateFilterRowOperator; | ||
var clearAllFilters = function () { return ({ | ||
type: enums_1.ActionType.ClearAllFilters, | ||
}); }; | ||
exports.clearAllFilters = clearAllFilters; | ||
var updateEditorValue = function (rowKeyValue, columnKey, value) { return ({ | ||
@@ -38,0 +42,0 @@ columnKey: columnKey, |
@@ -18,2 +18,3 @@ export declare enum PagingPosition { | ||
export declare enum ActionType { | ||
ClearAllFilters = "ClearAllFilters", | ||
ClearFocused = "ClearFocused", | ||
@@ -20,0 +21,0 @@ ClearSingleAction = "ClearSingleAction", |
@@ -28,2 +28,3 @@ "use strict"; | ||
(function (ActionType) { | ||
ActionType["ClearAllFilters"] = "ClearAllFilters"; | ||
ActionType["ClearFocused"] = "ClearFocused"; | ||
@@ -30,0 +31,0 @@ ActionType["ClearSingleAction"] = "ClearSingleAction"; |
{ | ||
"name": "ka-table", | ||
"version": "8.9.0", | ||
"version": "8.10.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table", |
@@ -78,2 +78,5 @@ "use strict"; | ||
} | ||
case enums_1.ActionType.ClearAllFilters: { | ||
return __assign(__assign({}, props), { columns: columns.map(function (c) { return (__assign(__assign({}, c), { filterRowValue: undefined, headerFilterValues: undefined })); }) }); | ||
} | ||
case enums_1.ActionType.UpdatePopupPosition: { | ||
@@ -80,0 +83,0 @@ var newColumns = columns.map(function (c) { return (__assign(__assign({}, c), { headerFilterPopupPosition: action.popupPosition })); }); |
392899
8066