UNPKG

@progress/kendo-angular-grid

Version:

Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.

28 lines (27 loc) 1.34 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { CompositeFilterDescriptor, FilterDescriptor } from "@progress/kendo-data-query"; import { HighlightItem } from "../../../../highlight/highlight-item"; import { CompositeHighlightDescriptor } from "./models"; /** * @hidden * Converts date strings in a filter to Date objects. */ export declare const convertDateStringsInFilter: (filter: CompositeFilterDescriptor | FilterDescriptor) => any; /** * @hidden */ export declare const isDateOperator: (operator: string) => boolean; /** * @hidden * Highlights items in a grid based on the provided filters and columns. * @param data - The data to be highlighted. * @param filters - The composite highlight descriptors containing the filters and logic. * @param columns - The columns of the grid. * @returns An array of HighlightItem objects representing the highlighted items. */ export declare const highlightBy: (data: any[], filters: CompositeHighlightDescriptor[], columns: { field: string; }[]) => HighlightItem[];