/**----------------------------------------------------------------------------------------- * Copyright © 2024 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgZone, Renderer2, OnDestroy, ChangeDetectorRef } from '@angular/core'; import { PopupService } from '@progress/kendo-angular-popup'; import { ColumnInfoService } from '../common/column-info.service'; import { LocalizationService } from "@progress/kendo-angular-l10n"; import { SVGIcon } from '@progress/kendo-svg-icons'; import { Button } from '@progress/kendo-angular-buttons'; import * as i0 from "@angular/core"; /** * Represents the component for selecting columns in the TreeList. To enable the user to show or hide columns, * add the component inside a [`ToolbarTemplate`]({% slug api_treelist_toolbartemplatedirective %}) directive. * * @example * ```html * * * * * * ``` */ export declare class ColumnChooserComponent implements OnDestroy { localization: LocalizationService; private columnInfoService; private popupService; private ngZone; private renderer; private changeDetector; /** * Specifies if the changes in the visibility of the column will be immediately applied. * @default false */ autoSync: boolean; /** * Specifies if all columns can be hidden. * @default true */ allowHideAll: boolean; get columns(): any[]; columnsIcon: SVGIcon; private popupRef; private closeClick; constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, popupService: PopupService, ngZone: NgZone, renderer: Renderer2, changeDetector: ChangeDetectorRef); ngOnDestroy(): void; /** * @hidden */ toggle(anchor: Button, template: any): void; /** * @hidden */ onApply(changed: any[]): void; /** * @hidden */ onChange(changed: any[]): void; private close; private detachClose; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }