| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476 |
- /*!
- * devextreme-angular
- * Version: 19.1.16
- * Build date: Tue Oct 18 2022
- *
- * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
- *
- * This software may be modified and distributed under the terms
- * of the MIT license. See the LICENSE file in the root of the project for details.
- *
- * https://github.com/DevExpress/devextreme-angular
- */
- import { TransferState } from '@angular/platform-browser';
- import { ElementRef, NgZone, OnDestroy, EventEmitter, OnChanges, DoCheck, SimpleChanges } from '@angular/core';
- import DevExpress from 'devextreme/bundles/dx.all';
- import DxPivotGrid from 'devextreme/ui/pivot_grid';
- import { DxComponent } from '../core/component';
- import { DxTemplateHost } from '../core/template-host';
- import { NestedOptionHost } from '../core/nested-option';
- import { WatcherHelper } from '../core/watcher-helper';
- import { IterableDifferHelper } from '../core/iterable-differ-helper';
- /**
- * The PivotGrid is a widget that allows you to display and analyze multi-dimensional data from a local storage or an OLAP cube.
- */
- export declare class DxPivotGridComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck {
- private _watcherHelper;
- private _idh;
- instance: DxPivotGrid;
- /**
- * Allows an end-user to expand/collapse all header items within a header level.
- */
- allowExpandAll: boolean;
- /**
- * Allows a user to filter fields by selecting or deselecting values in the popup menu.
- */
- allowFiltering: boolean;
- /**
- * Allows an end-user to change sorting options.
- */
- allowSorting: boolean;
- /**
- * Allows an end-user to sort columns by summary values.
- */
- allowSortingBySummary: boolean;
- /**
- * Specifies the area to which data field headers must belong.
- */
- dataFieldArea: string;
- /**
- * Binds the widget to data.
- */
- dataSource: DevExpress.data.PivotGridDataSource | DevExpress.data.PivotGridDataSourceOptions | Array<any>;
- /**
- * Specifies whether the widget responds to user interaction.
- */
- disabled: boolean;
- /**
- * Specifies the attributes to be attached to the widget's root element.
- */
- elementAttr: any;
- /**
- * Configures client-side exporting.
- */
- export: {
- enabled?: boolean;
- fileName?: string;
- ignoreExcelErrors?: boolean;
- proxyUrl?: string;
- };
- /**
- * The Field Chooser configuration options.
- */
- fieldChooser: {
- allowSearch?: boolean;
- applyChangesMode?: string;
- enabled?: boolean;
- height?: number;
- layout?: number | string;
- searchTimeout?: number;
- texts?: {
- allFields?: string;
- columnFields?: string;
- dataFields?: string;
- filterFields?: string;
- rowFields?: string;
- };
- title?: string;
- width?: number;
- };
- /**
- * Configures the field panel.
- */
- fieldPanel: {
- allowFieldDragging?: boolean;
- showColumnFields?: boolean;
- showDataFields?: boolean;
- showFilterFields?: boolean;
- showRowFields?: boolean;
- texts?: {
- columnFieldArea?: string;
- dataFieldArea?: string;
- filterFieldArea?: string;
- rowFieldArea?: string;
- };
- visible?: boolean;
- };
- /**
- * Configures the header filter feature.
- */
- headerFilter: {
- allowSearch?: boolean;
- height?: number;
- searchTimeout?: number;
- showRelevantValues?: boolean;
- texts?: {
- cancel?: string;
- emptyValue?: string;
- ok?: string;
- };
- width?: number;
- };
- /**
- * Specifies the widget's height.
- */
- height: number | Function | string;
- /**
- * Specifies whether or not to hide rows and columns with no data.
- */
- hideEmptySummaryCells: boolean;
- /**
- * Specifies text for a hint that appears when a user pauses on the widget.
- */
- hint: string;
- /**
- * Specifies options configuring the load panel.
- */
- loadPanel: {
- enabled?: boolean;
- height?: number;
- indicatorSrc?: string;
- showIndicator?: boolean;
- showPane?: boolean;
- text?: string;
- width?: number;
- };
- /**
- * Specifies the layout of items in the row header.
- */
- rowHeaderLayout: string;
- /**
- * Switches the widget to a right-to-left representation.
- */
- rtlEnabled: boolean;
- /**
- * A configuration object specifying scrolling options.
- */
- scrolling: {
- mode?: string;
- useNative?: boolean;
- };
- /**
- * Specifies whether the outer borders of the grid are visible or not.
- */
- showBorders: boolean;
- /**
- * Specifies whether to display the Grand Total column.
- */
- showColumnGrandTotals: boolean;
- /**
- * Specifies whether to display the Total columns.
- */
- showColumnTotals: boolean;
- /**
- * Specifies whether to display the Grand Total row.
- */
- showRowGrandTotals: boolean;
- /**
- * Specifies whether to display the Total rows. Applies only if rowHeaderLayout is "standard".
- */
- showRowTotals: boolean;
- /**
- * Specifies where to show the total rows or columns. Applies only if rowHeaderLayout is "standard".
- */
- showTotalsPrior: string;
- /**
- * A configuration object specifying options related to state storing.
- */
- stateStoring: {
- customLoad?: Function;
- customSave?: Function;
- enabled?: boolean;
- savingTimeout?: number;
- storageKey?: string;
- type?: string;
- };
- /**
- * Specifies the number of the element when the Tab key is used for navigating.
- */
- tabIndex: number;
- /**
- * Strings that can be changed or localized in the PivotGrid widget.
- */
- texts: {
- collapseAll?: string;
- dataNotAvailable?: string;
- expandAll?: string;
- exportToExcel?: string;
- grandTotal?: string;
- noData?: string;
- removeAllSorting?: string;
- showFieldChooser?: string;
- sortColumnBySummary?: string;
- sortRowBySummary?: string;
- total?: string;
- };
- /**
- * Specifies whether the widget is visible.
- */
- visible: boolean;
- /**
- * Specifies the widget's width.
- */
- width: number | Function | string;
- /**
- * Specifies whether long text in header items should be wrapped.
- */
- wordWrapEnabled: boolean;
- /**
- * A function that is executed when a pivot grid cell is clicked or tapped.
- */
- onCellClick: EventEmitter<any>;
- /**
- * A function that is executed after a pivot grid cell is created.
- */
- onCellPrepared: EventEmitter<any>;
- /**
- * A function that is executed when the widget's content is ready and each time the content is changed.
- */
- onContentReady: EventEmitter<any>;
- /**
- * A function that is executed before the context menu is rendered.
- */
- onContextMenuPreparing: EventEmitter<any>;
- /**
- * A function that is executed before the widget is disposed of.
- */
- onDisposing: EventEmitter<any>;
- /**
- * A function that is executed after data is exported.
- */
- onExported: EventEmitter<any>;
- /**
- * A function that is executed before data is exported.
- */
- onExporting: EventEmitter<any>;
- /**
- * A function that is executed before a file with exported data is saved to the user's local storage.
- */
- onFileSaving: EventEmitter<any>;
- /**
- * A function used in JavaScript frameworks to save the widget instance.
- */
- onInitialized: EventEmitter<any>;
- /**
- * A function that is executed after a widget option is changed.
- */
- onOptionChanged: EventEmitter<any>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- allowExpandAllChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- allowFilteringChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- allowSortingChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- allowSortingBySummaryChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- dataFieldAreaChange: EventEmitter<string>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- dataSourceChange: EventEmitter<DevExpress.data.PivotGridDataSource | DevExpress.data.PivotGridDataSourceOptions | Array<any>>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- disabledChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- elementAttrChange: EventEmitter<any>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- exportChange: EventEmitter<{
- enabled?: boolean;
- fileName?: string;
- ignoreExcelErrors?: boolean;
- proxyUrl?: string;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- fieldChooserChange: EventEmitter<{
- allowSearch?: boolean;
- applyChangesMode?: string;
- enabled?: boolean;
- height?: number;
- layout?: number | string;
- searchTimeout?: number;
- texts?: {
- allFields?: string;
- columnFields?: string;
- dataFields?: string;
- filterFields?: string;
- rowFields?: string;
- };
- title?: string;
- width?: number;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- fieldPanelChange: EventEmitter<{
- allowFieldDragging?: boolean;
- showColumnFields?: boolean;
- showDataFields?: boolean;
- showFilterFields?: boolean;
- showRowFields?: boolean;
- texts?: {
- columnFieldArea?: string;
- dataFieldArea?: string;
- filterFieldArea?: string;
- rowFieldArea?: string;
- };
- visible?: boolean;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- headerFilterChange: EventEmitter<{
- allowSearch?: boolean;
- height?: number;
- searchTimeout?: number;
- showRelevantValues?: boolean;
- texts?: {
- cancel?: string;
- emptyValue?: string;
- ok?: string;
- };
- width?: number;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- heightChange: EventEmitter<number | Function | string>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- hideEmptySummaryCellsChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- hintChange: EventEmitter<string>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- loadPanelChange: EventEmitter<{
- enabled?: boolean;
- height?: number;
- indicatorSrc?: string;
- showIndicator?: boolean;
- showPane?: boolean;
- text?: string;
- width?: number;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- rowHeaderLayoutChange: EventEmitter<string>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- rtlEnabledChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- scrollingChange: EventEmitter<{
- mode?: string;
- useNative?: boolean;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- showBordersChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- showColumnGrandTotalsChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- showColumnTotalsChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- showRowGrandTotalsChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- showRowTotalsChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- showTotalsPriorChange: EventEmitter<string>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- stateStoringChange: EventEmitter<{
- customLoad?: Function;
- customSave?: Function;
- enabled?: boolean;
- savingTimeout?: number;
- storageKey?: string;
- type?: string;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- tabIndexChange: EventEmitter<number>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- textsChange: EventEmitter<{
- collapseAll?: string;
- dataNotAvailable?: string;
- expandAll?: string;
- exportToExcel?: string;
- grandTotal?: string;
- noData?: string;
- removeAllSorting?: string;
- showFieldChooser?: string;
- sortColumnBySummary?: string;
- sortRowBySummary?: string;
- total?: string;
- }>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- visibleChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- widthChange: EventEmitter<number | Function | string>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- wordWrapEnabledChange: EventEmitter<boolean>;
- constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
- protected _createInstance(element: any, options: any): DxPivotGrid;
- ngOnDestroy(): void;
- ngOnChanges(changes: SimpleChanges): void;
- setupChanges(prop: string, changes: SimpleChanges): void;
- ngDoCheck(): void;
- _setOption(name: string, value: any): void;
- }
- export declare class DxPivotGridModule {
- }
|