/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { FilterCellProps } from './FilterCellProps'; /** * The props that will be passed to the UI of the ColumnMenu filter component. */ export interface ColumnMenuFilterUIProps { /** * The options of the first filter. */ firstFilterProps: FilterCellProps; /** * The options of the second filter. */ secondFilterProps: FilterCellProps; /** * The current value of the filter logic. */ logicValue?: { text: string; operator: any; }; /** * The list of the filter logic options. */ logicData: { text: string; operator: any; }[]; /** * The method that will be called to notify the parent about a change in the filter logic. */ onLogicchange?: (e: any) => void; /** * The method that will be called to notify the parent about a change in the filter. */ onChange?: (e: any, filterIndex: number) => void; /** * The trigger focus event. */ onFocus?: (e: any) => void; /** * Indicates if the second filter will be hidden. */ hideSecondFilter?: boolean; /** * The list of the default operators for the current filter type. */ operators: Array<{ text: string; operator: any; }>; /** * The method for rendering the cell. */ render?: any; }