UNPKG

@progress/kendo-angular-spreadsheet

Version:

A Spreadsheet Component for Angular

84 lines (83 loc) 3.02 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { EventEmitter, AfterViewInit, NgZone, ElementRef } from '@angular/core'; import { SVGIcon } from '@progress/kendo-svg-icons'; import { FilterMenuItemContentTemplateDirective } from './filter-menu-item-content-template.directive'; import { FilterMenuItem } from '../models'; import * as i0 from "@angular/core"; /** * Represents an item that you can place inside the Spreadsheet filter menu. * * @hidden */ export declare class SpreadsheetFilterMenuItemComponent implements AfterViewInit { private ngZone; element: ElementRef; contentTemplate: FilterMenuItemContentTemplateDirective; hostClass: boolean; /** * Specifies the item text. */ text: string; /** * Specifies the items. */ innerMenuItems: FilterMenuItem[]; /** * Specifies the item icon. */ icon: string; /** * Specifies the item icon. */ expanderClass: string; /** * Specifies the item icon. */ expandable: boolean; /** * Specifies the item svgIcon. */ svgIcon: SVGIcon; /** * Specifies if the item is expanded. */ set expanded(value: boolean); get expanded(): boolean; /** * Fires when the item is clicked. */ itemClick: EventEmitter<FilterMenuItem>; /** * Fires when the content expands. */ expand: EventEmitter<any>; /** * Fires when the content collapses. */ collapse: EventEmitter<any>; constructor(ngZone: NgZone, element: ElementRef); ngAfterViewInit(): void; /** * @hidden */ get expandedIcon(): string; /** * @hidden */ get expandedSvgIcon(): SVGIcon; contentState: string; contentId: string; chevronUpIcon: SVGIcon; chevronDownIcon: SVGIcon; private _expanded; /** * @hidden */ onClick(e: any, item: FilterMenuItem): void; private updateContentState; static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFilterMenuItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetFilterMenuItemComponent, "kendo-spreadsheet-filtermenu-item", never, { "text": { "alias": "text"; "required": false; }; "innerMenuItems": { "alias": "innerMenuItems"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "expanderClass": { "alias": "expanderClass"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never, true, never>; }