import { Accordion, Comparator, Event, EventDelegator, EventHandler, Filter, FilterOrFunction, FilterResult, FilterSupport, Group, InitModelOf, KeyStrokeContext, ObjectOrChildModel, ObjectOrModel, PropertyChangeEvent, TextFilter, Tile, TileAccordionEventMap, TileAccordionLayout, TileAccordionModel, TileAccordionSelectionHandler, TileGrid, TileGridLayoutConfig } from '../../index'; export declare class TileAccordion extends Accordion implements TileAccordionModel { model: TileAccordionModel; eventMap: TileAccordionEventMap; self: TileAccordion; groups: Group>[]; gridColumnCount: number; multiSelect: boolean; selectable: boolean; takeTileFiltersFromGroup: boolean; tileComparator: Comparator; filters: Filter[]; tileGridLayoutConfig: TileGridLayoutConfig; tileGridSelectionHandler: TileAccordionSelectionHandler; withPlaceholders: boolean; virtual: boolean; textFilterEnabled: boolean; filterSupport: FilterSupport; createTextFilter: () => TextFilter; updateTextFilterText: string; $filterFieldContainer: JQuery; protected _selectionUpdateLocked: boolean; protected _tileGridPropertyChangeHandler: EventHandler; protected _groupBodyHeightChangeHandler: EventHandler>>>; constructor(); protected _render(): void; protected _createLayout(): TileAccordionLayout; protected _renderProperties(): void; protected _remove(): void; protected _init(model: InitModelOf): void; protected _createKeyStrokeContext(): KeyStrokeContext; protected _initGroup(group: Group> & { body: TileGrid & { __tileAccordionEventDelegator?: EventDelegator; }; }): void; protected _deleteGroup(group: Group> & { body: TileGrid & { __tileAccordionEventDelegator?: EventDelegator; }; }): void; setGroups(groups: Group>[]): void; /** @see TileAccordionModel.gridColumnCount */ setGridColumnCount(gridColumnCount: number): void; /** @see TileAccordionModel.tileGridLayoutConfig */ setTileGridLayoutConfig(layoutConfig: ObjectOrModel): void; protected _setTileGridLayoutConfig(layoutConfig: ObjectOrModel): void; /** @see TileAccordionModel.withPlaceholders */ setWithPlaceholders(withPlaceholders: boolean): void; /** @see TileAccordionModel.virtual */ setVirtual(virtual: boolean): void; /** @see TileAccordionModel.selectable */ setSelectable(selectable: boolean): void; /** @see TileAccordionModel.multiSelect */ setMultiSelect(multiSelect: boolean): void; getGroupById(id: string): Group>; getGroupByTile(tile: TTile): Group>; /** * Distribute the tiles to the corresponding groups and returns an object with group id as key and array of tiles as value. * Always returns all current groups even if the given tiles may not be distributed to all groups. */ protected _groupTiles(tiles: TTile[]): Record; deleteTile(tile: TTile): void; deleteTiles(tilesToDelete: TTile[] | TTile): void; deleteAllTiles(): void; /** * Distributes the given tiles to their corresponding groups. * * If the list contains new tiles not assigned to a group yet, an exception will be thrown. */ setTiles(tilesOrModels: ObjectOrChildModel | ObjectOrChildModel[]): void; getTiles(): TTile[]; getTileCount(): number; /** * @param filter The filters to add. * @param applyFilter Whether to apply the filters after modifying the filter list or not. Default is true. */ addFilter(filter: FilterOrFunction | FilterOrFunction[], applyFilter?: boolean): void; /** * @param filter The filters to remove. * @param applyFilter Whether to apply the filters after modifying the filter list or not. Default is true. */ removeFilter(filter: FilterOrFunction | FilterOrFunction[], applyFilter?: boolean): void; /** * @param filter The new filters. * @param applyFilter Whether to apply the filters after modifying the filter list or not. Default is true. */ setFilters(filters: FilterOrFunction | FilterOrFunction[], applyFilter?: boolean): void; protected _setFilters(filter: FilterOrFunction | FilterOrFunction[]): void; filter(): void; protected _filter(): FilterResult; protected _createFilterSupport(): FilterSupport; protected _createTextFilter(): TextFilter; protected _updateTextFilterText(filter: Filter, text: string): boolean; /** @see TileAccordionModel.textFilterEnabled */ setTextFilterEnabled(textFilterEnabled: boolean): void; isTextFilterFieldVisible(): boolean; protected _renderTextFilterEnabled(): void; getFilteredTiles(): TTile[]; getFilteredTileCount(): number; /** * Compared to {@link getFilteredTiles()}, this function considers the collapsed state of the group as well, meaning only filtered tiles of expanded groups are returned. */ getVisibleTiles(): TTile[]; /** * Compared to {@link getFilteredTiles()}, this function considers the collapsed state of the group as well, meaning only filtered tiles of expanded groups are counted. */ getVisibleTileCount(): number; findVisibleTileIndexAt(x: number, y: number, startIndex?: number, reverse?: boolean): number; /** * Selects the given tiles and deselects the previously selected ones. * * Tiles, that are currently invisible due to an active filter, are excluded and won't be selected. */ selectTiles(tiles: TTile[]): void; /** @see selectTiles */ selectTile(tile: TTile): void; /** * Selects all tiles. As for every selection operation: only considers filtered tiles and tiles of expanded groups */ selectAllTiles(): void; deselectTiles(tiles: TTile[]): void; deselectTile(tile: TTile): void; deselectAllTiles(): void; addTilesToSelection(tiles: TTile[]): void; addTileToSelection(tile: TTile): void; getSelectedTiles(): TTile[]; getSelectedTile(): TTile; getSelectedTileCount(): number; /** * Deselects every tile if all tiles are selected. Otherwise, selects all tiles. */ toggleSelection(): void; /** @see TileAccordionModel.tileComparator */ setTileComparator(comparator: Comparator): void; sortTiles(): void; setFocusedTile(tile: TTile): void; /** * @returns the focused tile of the group whose body has the focus. If no group body has the focus, the first focusedTile is returned. */ getFocusedTile(): TTile; getVisibleGridRowCount(): number; getVisibleGridX(tile: TTile): number; getVisibleGridY(tile: TTile): number; getGroupByVisibleRow(rowToFind: number): Group>; /** * @returns the index of the row where the group is located.

* Example: There are 3 rows and 2 groups. The first group contains 2 rows, the second 1 row. * The index of the first group is 0, the index of the second group is 2. */ getVisibleRowByGroup(groupToFind: Group>): number; expandedGroups(): Group>[]; protected _handleSelectionChanged(tileGrid: TileGrid): void; protected _onTileGridPropertyChange(event: PropertyChangeEvent>): void; protected _onGroupCollapsedChange(event: PropertyChangeEvent>>): void; protected _handleCollapsed(group: Group>): void; protected _onGroupBodyHeightChange(event: Event>>): void; protected _onGroupBodyHeightChangeDone(event: Event>>): void; /** * @returns the first fully visible tile at the scrollTop. */ tileAtScrollTop(scrollTop: number): TTile; } //# sourceMappingURL=TileAccordion.d.ts.map