@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
20 lines (19 loc) • 976 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { StringFilterCellComponent } from './string-filter-cell.component';
import { NumericFilterCellComponent } from './numeric-filter-cell.component';
import { BooleanFilterCellComponent } from './boolean-filter-cell.component';
import { DateFilterCellComponent } from "./date-filter-cell.component";
/**
* @hidden
*
* > List the following components in the GridModule as `entryComponents`.
*/
export const filterComponentFactory = (type) => ({
"boolean": BooleanFilterCellComponent,
"date": DateFilterCellComponent,
"numeric": NumericFilterCellComponent,
"text": StringFilterCellComponent
}[type]);