@progress/kendo-angular-pivotgrid
Version:
PivotGrid package for Angular
37 lines (36 loc) • 1.82 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Renderer2 } from '@angular/core';
import { ChipMenuItemBase } from './chip-menu-item-base';
import { ConfiguratorService } from '../configurator.service';
import { AxisDescriptor } from '@progress/kendo-pivotgrid-common';
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
import { SVGIcon } from '@progress/kendo-svg-icons';
import * as i0 from "@angular/core";
/**
* @hidden
*
* Represents a chip-menu item for sorting PivotGrid fields.
* Allows the user to sort the PivotGrid.
*/
export declare class ChipMenuSortComponent extends ChipMenuItemBase {
localization: PivotLocalizationService;
protected renderer: Renderer2;
protected configuratorService: ConfiguratorService;
chip: AxisDescriptor;
sortAscSVGIcon: SVGIcon;
sortDescSVGIcon: SVGIcon;
constructor(localization: PivotLocalizationService, renderer: Renderer2, configuratorService: ConfiguratorService);
get sortedAsc(): boolean;
get sortedDesc(): boolean;
/**
* Returns the localized message for a given token
*/
messageFor(localizationToken: string): string;
toggleSort(dir: 'asc' | 'desc'): void;
private get descriptor();
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuSortComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuSortComponent, "kendo-pivot-chipmenu-sort", never, { "chip": { "alias": "chip"; "required": false; }; }, {}, never, never, true, never>;
}