/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { PopupProps } from '@progress/kendo-react-popup'; import { FilterDescriptor } from './filterDescriptor.js'; /** * Represents the `skip` and `take` configurations which are wrapped in the `page` object. */ export interface Page { /** * The number of records to skip. */ skip: number; /** * The number of records to take. */ take: number; } /** * The virtualization settings. */ export interface VirtualizationSettings { /** * The number of the requested records. */ pageSize: number; /** * The number of records to skip. */ skip: number; /** * The number of all records. */ total: number; } /** * The settings of the popup container. */ export interface DropDownsPopupSettings extends PopupProps { /** * Specifies a list of CSS classes that are used for styling the popup inner element. */ popupClass?: string; /** * Sets the width of the popup container. By default, the width of the host element is used. */ width?: string | number; /** * Sets the height of the DOM element inside the DropDowns' popup that contains the data items of each component. This height doesn't include the header and footer. */ height?: string | number; /** * Defines the container to which the Popup will be appended. * Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body). * * If set to `null` the Popup will be rendered without React Portal. */ appendTo?: HTMLElement | null; } /** * @hidden */ export interface EventData { type?: string; filter?: FilterDescriptor; page?: Page; suggestion?: Suggestion; } /** * Represents the `Suggestion` object of the AutoComplete. */ export interface Suggestion { /** * Represents the typed text of the user. */ readonly userInput: string; /** * Represents the suggested text without the user input. */ readonly value: string; } /** * @hidden */ export interface InternalState { data: DropDownStateBase; events: Array; syntheticEvent: React.MouseEvent | React.FocusEvent | React.ChangeEvent | React.FormEvent | React.KeyboardEvent | undefined; } /** * @hidden */ export interface DropDownStateBase { /** * Input element text of the Component. */ text?: string; value?: any; focused?: boolean; opened?: boolean; group?: string; } /** * @hidden */ export declare enum ActiveDescendant { PopupList = 0, TagsList = 1 }