UNPKG

@progress/kendo-angular-pivotgrid

Version:
54 lines (53 loc) 2.32 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { MenuTabbingService } from './menu-tabbing.service'; import { OnInit, OnDestroy } from '@angular/core'; import { FilterDescriptor } from '@progress/kendo-data-query'; import { PivotLocalizationService } from '../../../localization/pivot-localization.service'; import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms'; import { ConfiguratorService } from '../../configurator.service'; import * as i0 from "@angular/core"; type ChangeCallbackFn<T> = (value: T) => void; type TouchCallbackFn = () => void; /** * @hidden */ export declare const localizeOperators: (operators: any) => (localization: any) => { text: any; value: any; }[]; /** * @hidden * * Represents a string-filter menu component. */ export declare class StringFilterMenuComponent implements OnInit, OnDestroy, ControlValueAccessor { private localization; private configuratorService; private fb; /** * The field with which the filter is associated. */ chip: any; menuTabbingService: MenuTabbingService; operators: Array<{ text: string; value: string; }>; filterFormGroup: FormGroup; get currentFilter(): FilterDescriptor; private subscription; constructor(localization: PivotLocalizationService, configuratorService: ConfiguratorService, fb: FormBuilder); onTouched: () => void; registerOnChange(fn: ChangeCallbackFn<object>): void; registerOnTouched(fn: TouchCallbackFn): void; writeValue(val: any): void; get filterMenuDropDownLabel(): string; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterMenuComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<StringFilterMenuComponent, "kendo-pivot-string-filter-menu", never, { "chip": { "alias": "chip"; "required": false; }; "menuTabbingService": { "alias": "menuTabbingService"; "required": false; }; }, {}, never, never, true, never>; } export {};